@everymatrix/bonus-powerups-ingame-entrance 0.0.39 → 0.0.41

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,3 @@
1
1
  import{r as e,c as t,h as i,H as n,g as r}from"./index-891aaafd.js";import{P as a,h as s,a as o,s as l,b as h,c as d,M as c,d as u}from"./bonus-powerups-ingame-entrance-2c7ee767.js";export{B as bonus_powerups_ingame_entrance}from"./bonus-powerups-ingame-entrance-2c7ee767.js";const p={en:{powerups:"Power-ups",activate:"Activate",expiresIn:"Expires in - ",inProgress:"In Progress",endsIn:"Ends in - ",xp:"XP",coins:"Coins",minutes:"min",rounds:"Rounds",days:"Days",round:"Round",day:"Day",gotoShop:"Go to the shop to check power-ups availability.",nothingHere:"Nothing here -- yet!",noPowerUpsNow:"No power-ups at the moment. ",poweringTooltip:"Power-ups are currently unavailable as you have already activated one power-up. Only one power-up can be active at a time.",later:"Later",activateNow:"Activate Now",activeTitle:"Activate power-up?",activeContent:"In case of activation the countdown starts immediately.\n Are you sure you want to activate?",activeSuccess:"Activated a power-up",activeError:"Failed to activate power-up."}},m=e=>new Promise((t=>{fetch(e).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{p[t]||(p[t]={});for(let i in e[t])p[t][i]=e[t][i]})),t(!0)}))})),f=(e,t,i)=>{let n=p[void 0!==t&&t in p?t:"en"][e];if(void 0!==i)for(const[e,t]of Object.entries(i.values)){const i=new RegExp(`{${e}}`,"g");n=n.replace(i,t)}return n},g='<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M1.75 12.2505L12.25 1.75049" stroke="white" stroke-width="0.952264" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>\n<path d="M1.75 1.75049L12.25 12.2505" stroke="white" stroke-width="0.952264" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>\n</svg>\n',w=class{constructor(i){e(this,i),this.activePowerupEvent=t(this,"activePowerupEvent",7),this.pid=void 0,this.language="en",this.isOpen=void 0}activeNow(){this.closeModal(this.pid)}closeModal(e){this.isOpen=!1,this.activePowerupEvent.emit({id:e})}render(){return i("div",{key:"a3d27838533a9da9c6096958d20ba7c223582888",class:"ModalContainer "+(this.isOpen?"Shown":"Hidden")},i("div",{key:"e6d9adedf1b882312ae795ee3098af622976e6ac",class:"TopBar"},i("div",{key:"e15e7ba1f6eccc5c15b5c83e06766e525d6f9713",class:"IconBtn CircleLinearBorder",onClick:()=>this.closeModal(),innerHTML:g})),i("div",{key:"1a48351e00dd01eb285f516a6b9ddf3619dd9d3a",class:"Title"},f("activeTitle",this.language)),i("div",{key:"4b4981016359af3500c0578d2ebe04fa8a62677d",class:"ActivePowerupContent"},f("activeContent",this.language)),i("div",{key:"a843ef0088b2674a7b32bc2a04c74abfde8b980b",class:"Btns"},i("div",{key:"61289f8630beebd7316fe7966ce5f3de28bde096",class:"LaterBtn PowupBtn",onClick:()=>this.closeModal()}," ",f("later",this.language)," "),i("div",{key:"3765062d5adebf082f134412cc41b11edc9e999c",class:"Active PowupBtn",onClick:()=>this.activeNow()}," ",f("activateNow",this.language)," ")))}};w.style=".ModalContainer{position:absolute;top:calc(50% - 200px);left:0;width:calc(100% - 120px);margin:40px;max-width:400px;height:260px;text-align:center;padding:20px;display:flex;gap:30px;flex-direction:column;border:1px solid var(--emw--ingame-color-white10, rgba(255, 255, 255, 0.0784313725));transition:opacity 200ms ease-in-out;opacity:1;background:var(--emw--ingame-color-black40, rgba(9, 9, 9, 0.5019607843));border-radius:20px;backdrop-filter:blur(22.9411773682px);justify-content:flex-start}.ModalContainer.Hidden{opacity:0 !important}.ModalContainer.Shown .TopBar{justify-content:flex-end;padding:0px}.ModalContainer .Title{font-weight:bold;font-size:1.2rem}.ModalContainer .Btns{display:flex;justify-content:space-evenly}.ModalContainer .PowupBtn{background:linear-gradient(49deg, var(--emw--ingame-color-white10, rgba(255, 255, 255, 0.1019607843)) 33.61%, var(--emw--ingame-color-white50, rgba(255, 255, 255, 0.1019607843)) 89.19%);border:1px solid rgba(70, 69, 69, 0.5);border-radius:10px;padding:5px 15px;color:var(--emw--color-powup-light-green, #00FA5A);font-weight:bold;cursor:pointer}.ModalContainer .PowupBtn.Active{background:var(--emw--color-powup-light-green, #00FA5A);box-shadow:0px 0px 6px 10px var(--emw--ingame-color-white10, rgba(255, 255, 255, 0.1019607843));color:#0A0A17}";const v={en:{playNow:"Play Now",history:"History",available:"Available",duration:"Duration",multiplier:"Multiplier",endDate:"End date",endsIn:"Ends in",days:"Days",xp:"XP",coins:"Coins",minutes:"min",rounds:"rounds",round:"round",termsAndConditions:"Terms & Conditions ",playResponsibly:"Terms & Conditions apply. 18+. Play responsibly.",seeAll:"See All",games:"Games",poweringTooltip:"Power-up is currently unavailable as you have already activated other power-up.",activateTips:"In case of activation the countdown starts immediately.",activate:"Activate",activeSuccess:"Activated a power-up",activeError:"Failed to activate power-up."}},b=e=>new Promise((t=>{fetch(e).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{v[t]||(v[t]={});for(let i in e[t])v[t][i]=e[t][i]})),t(!0)}))})),C=(e,t,i)=>{let n=v[void 0!==t&&t in v?t:"en"][e];if(void 0!==i)for(const[e,t]of Object.entries(i.values)){const i=new RegExp(`{${e}}`,"g");n=n.replace(i,t)}return n},y={expand:"games",fields:"id,powerUpID,displayName,termsUrl,description,status,multiplier,boostingPeriod,usedNumberOfRounds,currentTime,activatedAt,expireTime,games(id,gameId,name,slug,thumbnail)",status:`${a.ACTIVE},${a.ACTIVATED}`},x={expand:"games",fields:"id,powerUpID,games(id,gameId,slug,name,thumbnail)"},k='<svg width="10" height="10" viewBox="0 0 10 10" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path fill-rule="evenodd" clip-rule="evenodd" d="M2.87935 2.15646e-07L4 4.54064e-07C4.27614 4.54064e-07 4.5 0.223858 4.5 0.5C4.5 0.776143 4.27614 1 4 1H2.9C2.47171 1 2.18056 1.00039 1.95552 1.01878C1.73631 1.03669 1.62421 1.06915 1.54601 1.10899C1.35785 1.20487 1.20487 1.35785 1.10899 1.54601C1.06915 1.62421 1.03669 1.73631 1.01878 1.95552C1.00039 2.18056 1 2.47171 1 2.9V7.1C1 7.52829 1.00039 7.81944 1.01878 8.04448C1.03669 8.26369 1.06915 8.37579 1.10899 8.45399C1.20487 8.64215 1.35785 8.79513 1.54601 8.89101C1.62421 8.93085 1.73631 8.96331 1.95552 8.98122C2.18056 8.99961 2.47171 9 2.9 9H7.1C7.52829 9 7.81944 8.99961 8.04448 8.98122C8.26369 8.96331 8.37579 8.93085 8.45399 8.89101C8.64215 8.79513 8.79513 8.64215 8.89101 8.45399C8.93085 8.37579 8.96331 8.26369 8.98122 8.04448C8.99961 7.81944 9 7.52829 9 7.1V6C9 5.72386 9.22386 5.5 9.5 5.5C9.77614 5.5 10 5.72386 10 6V7.12066C10 7.52314 10 7.85532 9.9779 8.12591C9.95494 8.40696 9.90566 8.66531 9.78201 8.90798C9.59027 9.28431 9.28431 9.59027 8.90798 9.78201C8.66531 9.90566 8.40696 9.95494 8.12591 9.9779C7.85532 10 7.52314 10 7.12066 10H2.87934C2.47686 10 2.14468 10 1.87409 9.9779C1.59304 9.95494 1.33469 9.90566 1.09202 9.78201C0.715696 9.59027 0.409734 9.28431 0.217988 8.90798C0.094342 8.66531 0.0450599 8.40696 0.0220973 8.12591C-1.14068e-05 7.85532 -6.16205e-06 7.52314 2.15646e-07 7.12065V2.87935C-6.16205e-06 2.47687 -1.14068e-05 2.14469 0.0220973 1.87409C0.0450599 1.59304 0.094342 1.33469 0.217987 1.09202C0.409734 0.715695 0.715695 0.409734 1.09202 0.217987C1.33469 0.094342 1.59304 0.0450599 1.87409 0.0220973C2.14469 -1.14068e-05 2.47687 -6.16205e-06 2.87935 2.15646e-07ZM5.99999 0.500005C5.99999 0.223863 6.22385 5.22244e-06 6.49999 5.22244e-06H9.49999C9.77613 5.22244e-06 9.99999 0.223863 9.99999 0.500005L9.99999 3.5C9.99999 3.77615 9.77613 4 9.49999 4.00001C9.22385 4.00001 8.99999 3.77615 8.99999 3.50001L8.99999 1.70711L5.35355 5.35355C5.15829 5.54882 4.84171 5.54882 4.64645 5.35355C4.45119 5.15829 4.45118 4.84171 4.64645 4.64645L8.29288 1.00001H6.49999C6.22385 1.00001 5.99999 0.776148 5.99999 0.500005Z" fill="#00B541"/>\n</svg>\n';"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;var D,M={exports:{}};(D=M).exports=function(){var e,t;function i(){return e.apply(null,arguments)}function n(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function r(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function a(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function s(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(a(e,t))return!1;return!0}function o(e){return void 0===e}function l(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function h(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function d(e,t){var i,n=[],r=e.length;for(i=0;i<r;++i)n.push(t(e[i],i));return n}function c(e,t){for(var i in t)a(t,i)&&(e[i]=t[i]);return a(t,"toString")&&(e.toString=t.toString),a(t,"valueOf")&&(e.valueOf=t.valueOf),e}function u(e,t,i,n){return Lt(e,t,i,n,!0).utc()}function p(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function m(e){if(null==e._isValid){var i=p(e),n=t.call(i.parsedDateParts,(function(e){return null!=e})),r=!isNaN(e._d.getTime())&&i.overflow<0&&!i.empty&&!i.invalidEra&&!i.invalidMonth&&!i.invalidWeekday&&!i.weekdayMismatch&&!i.nullInput&&!i.invalidFormat&&!i.userInvalidated&&(!i.meridiem||i.meridiem&&n);if(e._strict&&(r=r&&0===i.charsLeftOver&&0===i.unusedTokens.length&&void 0===i.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return r;e._isValid=r}return e._isValid}function f(e){var t=u(NaN);return null!=e?c(p(t),e):p(t).userInvalidated=!0,t}t=Array.prototype.some?Array.prototype.some:function(e){var t,i=Object(this),n=i.length>>>0;for(t=0;t<n;t++)if(t in i&&e.call(this,i[t],t,i))return!0;return!1};var g=i.momentProperties=[],w=!1;function v(e,t){var i,n,r,a=g.length;if(o(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),o(t._i)||(e._i=t._i),o(t._f)||(e._f=t._f),o(t._l)||(e._l=t._l),o(t._strict)||(e._strict=t._strict),o(t._tzm)||(e._tzm=t._tzm),o(t._isUTC)||(e._isUTC=t._isUTC),o(t._offset)||(e._offset=t._offset),o(t._pf)||(e._pf=p(t)),o(t._locale)||(e._locale=t._locale),a>0)for(i=0;i<a;i++)o(r=t[n=g[i]])||(e[n]=r);return e}function b(e){v(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===w&&(w=!0,i.updateOffset(this),w=!1)}function C(e){return e instanceof b||null!=e&&null!=e._isAMomentObject}function y(e){!1===i.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function x(e,t){var n=!0;return c((function(){if(null!=i.deprecationHandler&&i.deprecationHandler(null,e),n){var r,s,o,l=[],h=arguments.length;for(s=0;s<h;s++){if(r="","object"==typeof arguments[s]){for(o in r+="\n["+s+"] ",arguments[0])a(arguments[0],o)&&(r+=o+": "+arguments[0][o]+", ");r=r.slice(0,-2)}else r=arguments[s];l.push(r)}y(e+"\nArguments: "+Array.prototype.slice.call(l).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var k,M={};function I(e,t){null!=i.deprecationHandler&&i.deprecationHandler(e,t),M[e]||(y(t),M[e]=!0)}function S(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function P(e,t){var i,n=c({},e);for(i in t)a(t,i)&&(r(e[i])&&r(t[i])?(n[i]={},c(n[i],e[i]),c(n[i],t[i])):null!=t[i]?n[i]=t[i]:delete n[i]);for(i in e)a(e,i)&&!a(t,i)&&r(e[i])&&(n[i]=c({},n[i]));return n}function T(e){null!=e&&this.set(e)}i.suppressDeprecationWarnings=!1,i.deprecationHandler=null,k=Object.keys?Object.keys:function(e){var t,i=[];for(t in e)a(e,t)&&i.push(t);return i};function U(e,t,i){var n=""+Math.abs(e);return(e>=0?i?"+":"":"-")+Math.pow(10,Math.max(0,t-n.length)).toString().substr(1)+n}var Y=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,G=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,L={},N={};function H(e,t,i,n){var r=n;"string"==typeof n&&(r=function(){return this[n]()}),e&&(N[e]=r),t&&(N[t[0]]=function(){return U(r.apply(this,arguments),t[1],t[2])}),i&&(N[i]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)})}function F(e,t){return e.isValid()?(t=B(t,e.localeData()),L[t]=L[t]||function(e){var t,i,n,r=e.match(Y);for(t=0,i=r.length;t<i;t++)r[t]=N[r[t]]?N[r[t]]:(n=r[t]).match(/\[[\s\S]/)?n.replace(/^\[|\]$/g,""):n.replace(/\\/g,"");return function(t){var n,a="";for(n=0;n<i;n++)a+=S(r[n])?r[n].call(t,e):r[n];return a}}(t),L[t](e)):e.localeData().invalidDate()}function B(e,t){var i=5;function n(e){return t.longDateFormat(e)||e}for(G.lastIndex=0;i>=0&&G.test(e);)e=e.replace(G,n),G.lastIndex=0,i-=1;return e}var A={};function E(e,t){var i=e.toLowerCase();A[i]=A[i+"s"]=A[t]=e}function R(e){return"string"==typeof e?A[e]||A[e.toLowerCase()]:void 0}function W(e){var t,i,n={};for(i in e)a(e,i)&&(t=R(i))&&(n[t]=e[i]);return n}var _={};function j(e,t){_[e]=t}function O(e){return e%4==0&&e%100!=0||e%400==0}function $(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function Z(e){var t=+e,i=0;return 0!==t&&isFinite(t)&&(i=$(t)),i}function z(e,t){return function(n){return null!=n?(V(this,e,n),i.updateOffset(this,t),this):X(this,e)}}function X(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function V(e,t,i){e.isValid()&&!isNaN(i)&&("FullYear"===t&&O(e.year())&&1===e.month()&&29===e.date()?(i=Z(i),e._d["set"+(e._isUTC?"UTC":"")+t](i,e.month(),Ue(i,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](i))}var J,K=/\d/,q=/\d\d/,Q=/\d{3}/,ee=/\d{4}/,te=/[+-]?\d{6}/,ie=/\d\d?/,ne=/\d\d\d\d?/,re=/\d\d\d\d\d\d?/,ae=/\d{1,3}/,se=/\d{1,4}/,oe=/[+-]?\d{1,6}/,le=/\d+/,he=/[+-]?\d+/,de=/Z|[+-]\d\d:?\d\d/gi,ce=/Z|[+-]\d\d(?::?\d\d)?/gi,ue=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function pe(e,t,i){J[e]=S(t)?t:function(e){return e&&i?i:t}}function me(e,t){return a(J,e)?J[e](t._strict,t._locale):new RegExp(fe(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,i,n,r){return t||i||n||r}))))}function fe(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}J={};var ge={};function we(e,t){var i,n,r=t;for("string"==typeof e&&(e=[e]),l(t)&&(r=function(e,i){i[t]=Z(e)}),n=e.length,i=0;i<n;i++)ge[e[i]]=r}function ve(e,t){we(e,(function(e,i,n,r){n._w=n._w||{},t(e,n._w,n,r)}))}function be(e,t,i){null!=t&&a(ge,e)&&ge[e](t,i._a,i,e)}var Ce,ye=0,xe=1,ke=2,De=3,Me=4,Ie=5,Se=6,Pe=7,Te=8;function Ue(e,t){if(isNaN(e)||isNaN(t))return NaN;var i,n=(t%(i=12)+i)%i;return e+=(t-n)/12,1===n?O(e)?29:28:31-n%7%2}Ce=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},H("M",["MM",2],"Mo",(function(){return this.month()+1})),H("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),H("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),E("month","M"),j("month",8),pe("M",ie),pe("MM",ie,q),pe("MMM",(function(e,t){return t.monthsShortRegex(e)})),pe("MMMM",(function(e,t){return t.monthsRegex(e)})),we(["M","MM"],(function(e,t){t[xe]=Z(e)-1})),we(["MMM","MMMM"],(function(e,t,i,n){var r=i._locale.monthsParse(e,n,i._strict);null!=r?t[xe]=r:p(i).invalidMonth=e}));var Ye="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Ge="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Le=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Ne=ue,He=ue;function Fe(e,t,i){var n,r,a,s=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],n=0;n<12;++n)a=u([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(a,"").toLocaleLowerCase();return i?"MMM"===t?-1!==(r=Ce.call(this._shortMonthsParse,s))?r:null:-1!==(r=Ce.call(this._longMonthsParse,s))?r:null:"MMM"===t?-1!==(r=Ce.call(this._shortMonthsParse,s))||-1!==(r=Ce.call(this._longMonthsParse,s))?r:null:-1!==(r=Ce.call(this._longMonthsParse,s))||-1!==(r=Ce.call(this._shortMonthsParse,s))?r:null}function Be(e,t){var i;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=Z(t);else if(!l(t=e.localeData().monthsParse(t)))return e;return i=Math.min(e.date(),Ue(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,i),e}function Ae(e){return null!=e?(Be(this,e),i.updateOffset(this,!0),this):X(this,"Month")}function Ee(){function e(e,t){return t.length-e.length}var t,i,n=[],r=[],a=[];for(t=0;t<12;t++)i=u([2e3,t]),n.push(this.monthsShort(i,"")),r.push(this.months(i,"")),a.push(this.months(i,"")),a.push(this.monthsShort(i,""));for(n.sort(e),r.sort(e),a.sort(e),t=0;t<12;t++)n[t]=fe(n[t]),r[t]=fe(r[t]);for(t=0;t<24;t++)a[t]=fe(a[t]);this._monthsRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function Re(e){return O(e)?366:365}H("Y",0,0,(function(){var e=this.year();return e<=9999?U(e,4):"+"+e})),H(0,["YY",2],0,(function(){return this.year()%100})),H(0,["YYYY",4],0,"year"),H(0,["YYYYY",5],0,"year"),H(0,["YYYYYY",6,!0],0,"year"),E("year","y"),j("year",1),pe("Y",he),pe("YY",ie,q),pe("YYYY",se,ee),pe("YYYYY",oe,te),pe("YYYYYY",oe,te),we(["YYYYY","YYYYYY"],ye),we("YYYY",(function(e,t){t[ye]=2===e.length?i.parseTwoDigitYear(e):Z(e)})),we("YY",(function(e,t){t[ye]=i.parseTwoDigitYear(e)})),we("Y",(function(e,t){t[ye]=parseInt(e,10)})),i.parseTwoDigitYear=function(e){return Z(e)+(Z(e)>68?1900:2e3)};var We=z("FullYear",!0);function _e(e,t,i,n,r,a,s){var o;return e<100&&e>=0?(o=new Date(e+400,t,i,n,r,a,s),isFinite(o.getFullYear())&&o.setFullYear(e)):o=new Date(e,t,i,n,r,a,s),o}function je(e){var t,i;return e<100&&e>=0?((i=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,i)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Oe(e,t,i){var n=7+t-i;return-(7+je(e,0,n).getUTCDay()-t)%7+n-1}function $e(e,t,i,n,r){var a,s,o=1+7*(t-1)+(7+i-n)%7+Oe(e,n,r);return o<=0?s=Re(a=e-1)+o:o>Re(e)?(a=e+1,s=o-Re(e)):(a=e,s=o),{year:a,dayOfYear:s}}function Ze(e,t,i){var n,r,a=Oe(e.year(),t,i),s=Math.floor((e.dayOfYear()-a-1)/7)+1;return s<1?n=s+ze(r=e.year()-1,t,i):s>ze(e.year(),t,i)?(n=s-ze(e.year(),t,i),r=e.year()+1):(r=e.year(),n=s),{week:n,year:r}}function ze(e,t,i){var n=Oe(e,t,i),r=Oe(e+1,t,i);return(Re(e)-n+r)/7}H("w",["ww",2],"wo","week"),H("W",["WW",2],"Wo","isoWeek"),E("week","w"),E("isoWeek","W"),j("week",5),j("isoWeek",5),pe("w",ie),pe("ww",ie,q),pe("W",ie),pe("WW",ie,q),ve(["w","ww","W","WW"],(function(e,t,i,n){t[n.substr(0,1)]=Z(e)}));function Xe(e,t){return e.slice(t,7).concat(e.slice(0,t))}H("d",0,"do","day"),H("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),H("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),H("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),H("e",0,0,"weekday"),H("E",0,0,"isoWeekday"),E("day","d"),E("weekday","e"),E("isoWeekday","E"),j("day",11),j("weekday",11),j("isoWeekday",11),pe("d",ie),pe("e",ie),pe("E",ie),pe("dd",(function(e,t){return t.weekdaysMinRegex(e)})),pe("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),pe("dddd",(function(e,t){return t.weekdaysRegex(e)})),ve(["dd","ddd","dddd"],(function(e,t,i,n){var r=i._locale.weekdaysParse(e,n,i._strict);null!=r?t.d=r:p(i).invalidWeekday=e})),ve(["d","e","E"],(function(e,t,i,n){t[n]=Z(e)}));var Ve="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Je="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ke="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),qe=ue,Qe=ue,et=ue;function tt(e,t,i){var n,r,a,s=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)a=u([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(a,"").toLocaleLowerCase();return i?"dddd"===t?-1!==(r=Ce.call(this._weekdaysParse,s))?r:null:"ddd"===t?-1!==(r=Ce.call(this._shortWeekdaysParse,s))?r:null:-1!==(r=Ce.call(this._minWeekdaysParse,s))?r:null:"dddd"===t?-1!==(r=Ce.call(this._weekdaysParse,s))||-1!==(r=Ce.call(this._shortWeekdaysParse,s))||-1!==(r=Ce.call(this._minWeekdaysParse,s))?r:null:"ddd"===t?-1!==(r=Ce.call(this._shortWeekdaysParse,s))||-1!==(r=Ce.call(this._weekdaysParse,s))||-1!==(r=Ce.call(this._minWeekdaysParse,s))?r:null:-1!==(r=Ce.call(this._minWeekdaysParse,s))||-1!==(r=Ce.call(this._weekdaysParse,s))||-1!==(r=Ce.call(this._shortWeekdaysParse,s))?r:null}function it(){function e(e,t){return t.length-e.length}var t,i,n,r,a,s=[],o=[],l=[],h=[];for(t=0;t<7;t++)i=u([2e3,1]).day(t),n=fe(this.weekdaysMin(i,"")),r=fe(this.weekdaysShort(i,"")),a=fe(this.weekdays(i,"")),s.push(n),o.push(r),l.push(a),h.push(n),h.push(r),h.push(a);s.sort(e),o.sort(e),l.sort(e),h.sort(e),this._weekdaysRegex=new RegExp("^("+h.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+s.join("|")+")","i")}function nt(){return this.hours()%12||12}function rt(e,t){H(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function at(e,t){return t._meridiemParse}H("H",["HH",2],0,"hour"),H("h",["hh",2],0,nt),H("k",["kk",2],0,(function(){return this.hours()||24})),H("hmm",0,0,(function(){return""+nt.apply(this)+U(this.minutes(),2)})),H("hmmss",0,0,(function(){return""+nt.apply(this)+U(this.minutes(),2)+U(this.seconds(),2)})),H("Hmm",0,0,(function(){return""+this.hours()+U(this.minutes(),2)})),H("Hmmss",0,0,(function(){return""+this.hours()+U(this.minutes(),2)+U(this.seconds(),2)})),rt("a",!0),rt("A",!1),E("hour","h"),j("hour",13),pe("a",at),pe("A",at),pe("H",ie),pe("h",ie),pe("k",ie),pe("HH",ie,q),pe("hh",ie,q),pe("kk",ie,q),pe("hmm",ne),pe("hmmss",re),pe("Hmm",ne),pe("Hmmss",re),we(["H","HH"],De),we(["k","kk"],(function(e,t){var i=Z(e);t[De]=24===i?0:i})),we(["a","A"],(function(e,t,i){i._isPm=i._locale.isPM(e),i._meridiem=e})),we(["h","hh"],(function(e,t,i){t[De]=Z(e),p(i).bigHour=!0})),we("hmm",(function(e,t,i){var n=e.length-2;t[De]=Z(e.substr(0,n)),t[Me]=Z(e.substr(n)),p(i).bigHour=!0})),we("hmmss",(function(e,t,i){var n=e.length-4,r=e.length-2;t[De]=Z(e.substr(0,n)),t[Me]=Z(e.substr(n,2)),t[Ie]=Z(e.substr(r)),p(i).bigHour=!0})),we("Hmm",(function(e,t){var i=e.length-2;t[De]=Z(e.substr(0,i)),t[Me]=Z(e.substr(i))})),we("Hmmss",(function(e,t){var i=e.length-4,n=e.length-2;t[De]=Z(e.substr(0,i)),t[Me]=Z(e.substr(i,2)),t[Ie]=Z(e.substr(n))}));var st=z("Hours",!0);var ot,lt={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Ye,monthsShort:Ge,week:{dow:0,doy:6},weekdays:Ve,weekdaysMin:Ke,weekdaysShort:Je,meridiemParse:/[ap]\.?m?\.?/i},ht={},dt={};function ct(e,t){var i,n=Math.min(e.length,t.length);for(i=0;i<n;i+=1)if(e[i]!==t[i])return i;return n}function ut(e){return e?e.toLowerCase().replace("_","-"):e}function pt(e){var t=null;if(void 0===ht[e]&&D&&D.exports&&function(e){return null!=e.match("^[^/\\\\]*$")}(e))try{t=ot._abbr,function(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}("./locale/"+e),mt(t)}catch(t){ht[e]=null}return ht[e]}function mt(e,t){var i;return e&&((i=o(t)?gt(e):ft(e,t))?ot=i:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),ot._abbr}function ft(e,t){if(null!==t){var i,n=lt;if(t.abbr=e,null!=ht[e])I("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=ht[e]._config;else if(null!=t.parentLocale)if(null!=ht[t.parentLocale])n=ht[t.parentLocale]._config;else{if(null==(i=pt(t.parentLocale)))return dt[t.parentLocale]||(dt[t.parentLocale]=[]),dt[t.parentLocale].push({name:e,config:t}),null;n=i._config}return ht[e]=new T(P(n,t)),dt[e]&&dt[e].forEach((function(e){ft(e.name,e.config)})),mt(e),ht[e]}return delete ht[e],null}function gt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return ot;if(!n(e)){if(t=pt(e))return t;e=[e]}return function(e){for(var t,i,n,r,a=0;a<e.length;){for(t=(r=ut(e[a]).split("-")).length,i=(i=ut(e[a+1]))?i.split("-"):null;t>0;){if(n=pt(r.slice(0,t).join("-")))return n;if(i&&i.length>=t&&ct(r,i)>=t-1)break;t--}a++}return ot}(e)}function wt(e){var t,i=e._a;return i&&-2===p(e).overflow&&(t=i[xe]<0||i[xe]>11?xe:i[ke]<1||i[ke]>Ue(i[ye],i[xe])?ke:i[De]<0||i[De]>24||24===i[De]&&(0!==i[Me]||0!==i[Ie]||0!==i[Se])?De:i[Me]<0||i[Me]>59?Me:i[Ie]<0||i[Ie]>59?Ie:i[Se]<0||i[Se]>999?Se:-1,p(e)._overflowDayOfYear&&(t<ye||t>ke)&&(t=ke),p(e)._overflowWeeks&&-1===t&&(t=Pe),p(e)._overflowWeekday&&-1===t&&(t=Te),p(e).overflow=t),e}var vt=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,bt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Ct=/Z|[+-]\d\d(?::?\d\d)?/,yt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],xt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],kt=/^\/?Date\((-?\d+)/i,Dt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Mt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function It(e){var t,i,n,r,a,s,o=e._i,l=vt.exec(o)||bt.exec(o),h=yt.length,d=xt.length;if(l){for(p(e).iso=!0,t=0,i=h;t<i;t++)if(yt[t][1].exec(l[1])){r=yt[t][0],n=!1!==yt[t][2];break}if(null==r)return void(e._isValid=!1);if(l[3]){for(t=0,i=d;t<i;t++)if(xt[t][1].exec(l[3])){a=(l[2]||" ")+xt[t][0];break}if(null==a)return void(e._isValid=!1)}if(!n&&null!=a)return void(e._isValid=!1);if(l[4]){if(!Ct.exec(l[4]))return void(e._isValid=!1);s="Z"}e._f=r+(a||"")+(s||""),Yt(e)}else e._isValid=!1}function St(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Pt(e){var t,i,n,r,a,s,o,l=Dt.exec(e._i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(l){if(i=l[3],n=l[2],r=l[5],a=l[6],s=l[7],o=[St(l[4]),Ge.indexOf(i),parseInt(n,10),parseInt(r,10),parseInt(a,10)],s&&o.push(parseInt(s,10)),!function(e,t,i){return!e||Je.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(p(i).weekdayMismatch=!0,i._isValid=!1,!1)}(l[1],t=o,e))return;e._a=t,e._tzm=function(e,t,i){if(e)return Mt[e];if(t)return 0;var n=parseInt(i,10),r=n%100;return(n-r)/100*60+r}(l[8],l[9],l[10]),e._d=je.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),p(e).rfc2822=!0}else e._isValid=!1}function Tt(e,t,i){return null!=e?e:null!=t?t:i}function Ut(e){var t,n,r,a,s,o=[];if(!e._d){for(r=function(e){var t=new Date(i.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}(e),e._w&&null==e._a[ke]&&null==e._a[xe]&&function(e){var t,i,n,r,a,s,o,l,h;null!=(t=e._w).GG||null!=t.W||null!=t.E?(a=1,s=4,i=Tt(t.GG,e._a[ye],Ze(Nt(),1,4).year),n=Tt(t.W,1),((r=Tt(t.E,1))<1||r>7)&&(l=!0)):(a=e._locale._week.dow,s=e._locale._week.doy,h=Ze(Nt(),a,s),i=Tt(t.gg,e._a[ye],h.year),n=Tt(t.w,h.week),null!=t.d?((r=t.d)<0||r>6)&&(l=!0):null!=t.e?(r=t.e+a,(t.e<0||t.e>6)&&(l=!0)):r=a),n<1||n>ze(i,a,s)?p(e)._overflowWeeks=!0:null!=l?p(e)._overflowWeekday=!0:(o=$e(i,n,r,a,s),e._a[ye]=o.year,e._dayOfYear=o.dayOfYear)}(e),null!=e._dayOfYear&&(s=Tt(e._a[ye],r[ye]),(e._dayOfYear>Re(s)||0===e._dayOfYear)&&(p(e)._overflowDayOfYear=!0),n=je(s,0,e._dayOfYear),e._a[xe]=n.getUTCMonth(),e._a[ke]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=o[t]=r[t];for(;t<7;t++)e._a[t]=o[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[De]&&0===e._a[Me]&&0===e._a[Ie]&&0===e._a[Se]&&(e._nextDay=!0,e._a[De]=0),e._d=(e._useUTC?je:_e).apply(null,o),a=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[De]=24),e._w&&void 0!==e._w.d&&e._w.d!==a&&(p(e).weekdayMismatch=!0)}}function Yt(e){if(e._f!==i.ISO_8601)if(e._f!==i.RFC_2822){e._a=[],p(e).empty=!0;var t,n,r,a,s,o,l,h=""+e._i,d=h.length,c=0;for(l=(r=B(e._f,e._locale).match(Y)||[]).length,t=0;t<l;t++)(n=(h.match(me(a=r[t],e))||[])[0])&&((s=h.substr(0,h.indexOf(n))).length>0&&p(e).unusedInput.push(s),h=h.slice(h.indexOf(n)+n.length),c+=n.length),N[a]?(n?p(e).empty=!1:p(e).unusedTokens.push(a),be(a,n,e)):e._strict&&!n&&p(e).unusedTokens.push(a);p(e).charsLeftOver=d-c,h.length>0&&p(e).unusedInput.push(h),e._a[De]<=12&&!0===p(e).bigHour&&e._a[De]>0&&(p(e).bigHour=void 0),p(e).parsedDateParts=e._a.slice(0),p(e).meridiem=e._meridiem,e._a[De]=function(e,t,i){var n;return null==i?t:null!=e.meridiemHour?e.meridiemHour(t,i):null!=e.isPM?((n=e.isPM(i))&&t<12&&(t+=12),n||12!==t||(t=0),t):t}(e._locale,e._a[De],e._meridiem),null!==(o=p(e).era)&&(e._a[ye]=e._locale.erasConvertYear(o,e._a[ye])),Ut(e),wt(e)}else Pt(e);else It(e)}function Gt(e){var t=e._i,a=e._f;return e._locale=e._locale||gt(e._l),null===t||void 0===a&&""===t?f({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),C(t)?new b(wt(t)):(h(t)?e._d=t:n(a)?function(e){var t,i,n,r,a,s,o=!1,l=e._f.length;if(0===l)return p(e).invalidFormat=!0,void(e._d=new Date(NaN));for(r=0;r<l;r++)a=0,s=!1,t=v({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[r],Yt(t),m(t)&&(s=!0),a+=p(t).charsLeftOver,a+=10*p(t).unusedTokens.length,p(t).score=a,o?a<n&&(n=a,i=t):(null==n||a<n||s)&&(n=a,i=t,s&&(o=!0));c(e,i||t)}(e):a?Yt(e):function(e){var t=e._i;o(t)?e._d=new Date(i.now()):h(t)?e._d=new Date(t.valueOf()):"string"==typeof t?function(e){var t=kt.exec(e._i);null===t?(It(e),!1===e._isValid&&(delete e._isValid,Pt(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:i.createFromInputFallback(e)))):e._d=new Date(+t[1])}(e):n(t)?(e._a=d(t.slice(0),(function(e){return parseInt(e,10)})),Ut(e)):r(t)?function(e){if(!e._d){var t=W(e._i);e._a=d([t.year,t.month,void 0===t.day?t.date:t.day,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),Ut(e)}}(e):l(t)?e._d=new Date(t):i.createFromInputFallback(e)}(e),m(e)||(e._d=null),e))}function Lt(e,t,i,a,o){var l,h={};return!0!==t&&!1!==t||(a=t,t=void 0),!0!==i&&!1!==i||(a=i,i=void 0),(r(e)&&s(e)||n(e)&&0===e.length)&&(e=void 0),h._isAMomentObject=!0,h._useUTC=h._isUTC=o,h._l=i,h._i=e,h._f=t,h._strict=a,(l=new b(wt(Gt(h))))._nextDay&&(l.add(1,"d"),l._nextDay=void 0),l}function Nt(e,t,i,n){return Lt(e,t,i,n,!1)}i.createFromInputFallback=x("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))})),i.ISO_8601=function(){},i.RFC_2822=function(){};var Ht=x("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Nt.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:f()})),Ft=x("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Nt.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:f()}));function Bt(e,t){var i,r;if(1===t.length&&n(t[0])&&(t=t[0]),!t.length)return Nt();for(i=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](i)||(i=t[r]);return i}var At=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Et(e){var t=W(e),i=t.year||0,n=t.quarter||0,r=t.month||0,s=t.week||t.isoWeek||0,o=t.day||0,l=t.hour||0,h=t.minute||0,d=t.second||0,c=t.millisecond||0;this._isValid=function(e){var t,i,n=!1,r=At.length;for(t in e)if(a(e,t)&&(-1===Ce.call(At,t)||null!=e[t]&&isNaN(e[t])))return!1;for(i=0;i<r;++i)if(e[At[i]]){if(n)return!1;parseFloat(e[At[i]])!==Z(e[At[i]])&&(n=!0)}return!0}(t),this._milliseconds=+c+1e3*d+6e4*h+1e3*l*60*60,this._days=+o+7*s,this._months=+r+3*n+12*i,this._data={},this._locale=gt(),this._bubble()}function Rt(e){return e instanceof Et}function Wt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function _t(e,t){H(e,0,0,(function(){var e=this.utcOffset(),i="+";return e<0&&(e=-e,i="-"),i+U(~~(e/60),2)+t+U(~~e%60,2)}))}_t("Z",":"),_t("ZZ",""),pe("Z",ce),pe("ZZ",ce),we(["Z","ZZ"],(function(e,t,i){i._useUTC=!0,i._tzm=Ot(ce,e)}));var jt=/([\+\-]|\d\d)/gi;function Ot(e,t){var i,n,r=(t||"").match(e);return null===r?null:0===(n=60*(i=((r[r.length-1]||[])+"").match(jt)||["-",0,0])[1]+Z(i[2]))?0:"+"===i[0]?n:-n}function $t(e,t){var n,r;return t._isUTC?(n=t.clone(),r=(C(e)||h(e)?e.valueOf():Nt(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),i.updateOffset(n,!1),n):Nt(e).local()}function Zt(e){return-Math.round(e._d.getTimezoneOffset())}function zt(){return!!this.isValid()&&this._isUTC&&0===this._offset}i.updateOffset=function(){};var Xt=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Vt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Jt(e,t){var i,n,r,s,o,h,d=e,c=null;return Rt(e)?d={ms:e._milliseconds,d:e._days,M:e._months}:l(e)||!isNaN(+e)?(d={},t?d[t]=+e:d.milliseconds=+e):(c=Xt.exec(e))?(i="-"===c[1]?-1:1,d={y:0,d:Z(c[ke])*i,h:Z(c[De])*i,m:Z(c[Me])*i,s:Z(c[Ie])*i,ms:Z(Wt(1e3*c[Se]))*i}):(c=Vt.exec(e))?d={y:Kt(c[2],i="-"===c[1]?-1:1),M:Kt(c[3],i),w:Kt(c[4],i),d:Kt(c[5],i),h:Kt(c[6],i),m:Kt(c[7],i),s:Kt(c[8],i)}:null==d?d={}:"object"==typeof d&&("from"in d||"to"in d)&&(s=Nt(d.from),o=Nt(d.to),r=s.isValid()&&o.isValid()?(o=$t(o,s),s.isBefore(o)?h=qt(s,o):((h=qt(o,s)).milliseconds=-h.milliseconds,h.months=-h.months),h):{milliseconds:0,months:0},(d={}).ms=r.milliseconds,d.M=r.months),n=new Et(d),Rt(e)&&a(e,"_locale")&&(n._locale=e._locale),Rt(e)&&a(e,"_isValid")&&(n._isValid=e._isValid),n}function Kt(e,t){var i=e&&parseFloat(e.replace(",","."));return(isNaN(i)?0:i)*t}function qt(e,t){var i={};return i.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(i.months,"M").isAfter(t)&&--i.months,i.milliseconds=+t-+e.clone().add(i.months,"M"),i}function Qt(e,t){return function(i,n){var r;return null===n||isNaN(+n)||(I(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),r=i,i=n,n=r),ei(this,Jt(i,n),e),this}}function ei(e,t,n,r){var a=t._milliseconds,s=Wt(t._days),o=Wt(t._months);e.isValid()&&(r=null==r||r,o&&Be(e,X(e,"Month")+o*n),s&&V(e,"Date",X(e,"Date")+s*n),a&&e._d.setTime(e._d.valueOf()+a*n),r&&i.updateOffset(e,s||o))}Jt.fn=Et.prototype,Jt.invalid=function(){return Jt(NaN)};var ti=Qt(1,"add"),ii=Qt(-1,"subtract");function ni(e){return"string"==typeof e||e instanceof String}function ri(e){return C(e)||h(e)||ni(e)||l(e)||function(e){var t=n(e),i=!1;return t&&(i=0===e.filter((function(t){return!l(t)&&ni(e)})).length),t&&i}(e)||function(e){var t,i=r(e)&&!s(e),n=!1,o=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],l=o.length;for(t=0;t<l;t+=1)n=n||a(e,o[t]);return i&&n}(e)||null==e}function ai(e,t){if(e.date()<t.date())return-ai(t,e);var i=12*(t.year()-e.year())+(t.month()-e.month()),n=e.clone().add(i,"months");return-(i+(t-n<0?(t-n)/(n-e.clone().add(i-1,"months")):(t-n)/(e.clone().add(i+1,"months")-n)))||0}function si(e){var t;return void 0===e?this._locale._abbr:(null!=(t=gt(e))&&(this._locale=t),this)}i.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",i.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var oi=x("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function li(){return this._locale}var hi=1e3,di=6e4,ci=36e5,ui=126227808e5;function pi(e,t){return(e%t+t)%t}function mi(e,t,i){return e<100&&e>=0?new Date(e+400,t,i)-ui:new Date(e,t,i).valueOf()}function fi(e,t,i){return e<100&&e>=0?Date.UTC(e+400,t,i)-ui:Date.UTC(e,t,i)}function gi(e,t){return t.erasAbbrRegex(e)}function wi(){var e,t,i=[],n=[],r=[],a=[],s=this.eras();for(e=0,t=s.length;e<t;++e)n.push(fe(s[e].name)),i.push(fe(s[e].abbr)),r.push(fe(s[e].narrow)),a.push(fe(s[e].name)),a.push(fe(s[e].abbr)),a.push(fe(s[e].narrow));this._erasRegex=new RegExp("^("+a.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+n.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+i.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}function vi(e,t){H(0,[e,e.length],0,t)}function bi(e,t,i,n,r){var a;return null==e?Ze(this,n,r).year:(t>(a=ze(e,n,r))&&(t=a),Ci.call(this,e,t,i,n,r))}function Ci(e,t,i,n,r){var a=$e(e,t,i,n,r),s=je(a.year,0,a.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}H("N",0,0,"eraAbbr"),H("NN",0,0,"eraAbbr"),H("NNN",0,0,"eraAbbr"),H("NNNN",0,0,"eraName"),H("NNNNN",0,0,"eraNarrow"),H("y",["y",1],"yo","eraYear"),H("y",["yy",2],0,"eraYear"),H("y",["yyy",3],0,"eraYear"),H("y",["yyyy",4],0,"eraYear"),pe("N",gi),pe("NN",gi),pe("NNN",gi),pe("NNNN",(function(e,t){return t.erasNameRegex(e)})),pe("NNNNN",(function(e,t){return t.erasNarrowRegex(e)})),we(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,i,n){var r=i._locale.erasParse(e,n,i._strict);r?p(i).era=r:p(i).invalidEra=e})),pe("y",le),pe("yy",le),pe("yyy",le),pe("yyyy",le),pe("yo",(function(e,t){return t._eraYearOrdinalRegex||le})),we(["y","yy","yyy","yyyy"],ye),we(["yo"],(function(e,t,i){var n;i._locale._eraYearOrdinalRegex&&(n=e.match(i._locale._eraYearOrdinalRegex)),t[ye]=i._locale.eraYearOrdinalParse?i._locale.eraYearOrdinalParse(e,n):parseInt(e,10)})),H(0,["gg",2],0,(function(){return this.weekYear()%100})),H(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),vi("gggg","weekYear"),vi("ggggg","weekYear"),vi("GGGG","isoWeekYear"),vi("GGGGG","isoWeekYear"),E("weekYear","gg"),E("isoWeekYear","GG"),j("weekYear",1),j("isoWeekYear",1),pe("G",he),pe("g",he),pe("GG",ie,q),pe("gg",ie,q),pe("GGGG",se,ee),pe("gggg",se,ee),pe("GGGGG",oe,te),pe("ggggg",oe,te),ve(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,i,n){t[n.substr(0,2)]=Z(e)})),ve(["gg","GG"],(function(e,t,n,r){t[r]=i.parseTwoDigitYear(e)})),H("Q",0,"Qo","quarter"),E("quarter","Q"),j("quarter",7),pe("Q",K),we("Q",(function(e,t){t[xe]=3*(Z(e)-1)})),H("D",["DD",2],"Do","date"),E("date","D"),j("date",9),pe("D",ie),pe("DD",ie,q),pe("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),we(["D","DD"],ke),we("Do",(function(e,t){t[ke]=Z(e.match(ie)[0])}));var yi=z("Date",!0);H("DDD",["DDDD",3],"DDDo","dayOfYear"),E("dayOfYear","DDD"),j("dayOfYear",4),pe("DDD",ae),pe("DDDD",Q),we(["DDD","DDDD"],(function(e,t,i){i._dayOfYear=Z(e)})),H("m",["mm",2],0,"minute"),E("minute","m"),j("minute",14),pe("m",ie),pe("mm",ie,q),we(["m","mm"],Me);var xi=z("Minutes",!1);H("s",["ss",2],0,"second"),E("second","s"),j("second",15),pe("s",ie),pe("ss",ie,q),we(["s","ss"],Ie);var ki,Di,Mi=z("Seconds",!1);for(H("S",0,0,(function(){return~~(this.millisecond()/100)})),H(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),H(0,["SSS",3],0,"millisecond"),H(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),H(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),H(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),H(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),H(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),H(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),E("millisecond","ms"),j("millisecond",16),pe("S",ae,K),pe("SS",ae,q),pe("SSS",ae,Q),ki="SSSS";ki.length<=9;ki+="S")pe(ki,le);function Ii(e,t){t[Se]=Z(1e3*("0."+e))}for(ki="S";ki.length<=9;ki+="S")we(ki,Ii);Di=z("Milliseconds",!1),H("z",0,0,"zoneAbbr"),H("zz",0,0,"zoneName");var Si=b.prototype;function Pi(e){return e}Si.add=ti,Si.calendar=function(e,t){1===arguments.length&&(arguments[0]?ri(arguments[0])?(e=arguments[0],t=void 0):function(e){var t,i=r(e)&&!s(e),n=!1,o=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<o.length;t+=1)n=n||a(e,o[t]);return i&&n}(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||Nt(),o=$t(n,this).startOf("day"),l=i.calendarFormat(this,o)||"sameElse",h=t&&(S(t[l])?t[l].call(this,n):t[l]);return this.format(h||this.localeData().calendar(l,this,Nt(n)))},Si.clone=function(){return new b(this)},Si.diff=function(e,t,i){var n,r,a;if(!this.isValid())return NaN;if(!(n=$t(e,this)).isValid())return NaN;switch(r=6e4*(n.utcOffset()-this.utcOffset()),t=R(t)){case"year":a=ai(this,n)/12;break;case"month":a=ai(this,n);break;case"quarter":a=ai(this,n)/3;break;case"second":a=(this-n)/1e3;break;case"minute":a=(this-n)/6e4;break;case"hour":a=(this-n)/36e5;break;case"day":a=(this-n-r)/864e5;break;case"week":a=(this-n-r)/6048e5;break;default:a=this-n}return i?a:$(a)},Si.endOf=function(e){var t,n;if(void 0===(e=R(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?fi:mi,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=ci-pi(t+(this._isUTC?0:this.utcOffset()*di),ci)-1;break;case"minute":t=this._d.valueOf(),t+=di-pi(t,di)-1;break;case"second":t=this._d.valueOf(),t+=hi-pi(t,hi)-1}return this._d.setTime(t),i.updateOffset(this,!0),this},Si.format=function(e){e||(e=this.isUtc()?i.defaultFormatUtc:i.defaultFormat);var t=F(this,e);return this.localeData().postformat(t)},Si.from=function(e,t){return this.isValid()&&(C(e)&&e.isValid()||Nt(e).isValid())?Jt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},Si.fromNow=function(e){return this.from(Nt(),e)},Si.to=function(e,t){return this.isValid()&&(C(e)&&e.isValid()||Nt(e).isValid())?Jt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},Si.toNow=function(e){return this.to(Nt(),e)},Si.get=function(e){return S(this[e=R(e)])?this[e]():this},Si.invalidAt=function(){return p(this).overflow},Si.isAfter=function(e,t){var i=C(e)?e:Nt(e);return!(!this.isValid()||!i.isValid())&&("millisecond"===(t=R(t)||"millisecond")?this.valueOf()>i.valueOf():i.valueOf()<this.clone().startOf(t).valueOf())},Si.isBefore=function(e,t){var i=C(e)?e:Nt(e);return!(!this.isValid()||!i.isValid())&&("millisecond"===(t=R(t)||"millisecond")?this.valueOf()<i.valueOf():this.clone().endOf(t).valueOf()<i.valueOf())},Si.isBetween=function(e,t,i,n){var r=C(e)?e:Nt(e),a=C(t)?t:Nt(t);return!!(this.isValid()&&r.isValid()&&a.isValid())&&("("===(n=n||"()")[0]?this.isAfter(r,i):!this.isBefore(r,i))&&(")"===n[1]?this.isBefore(a,i):!this.isAfter(a,i))},Si.isSame=function(e,t){var i,n=C(e)?e:Nt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=R(t)||"millisecond")?this.valueOf()===n.valueOf():(i=n.valueOf(),this.clone().startOf(t).valueOf()<=i&&i<=this.clone().endOf(t).valueOf()))},Si.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},Si.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},Si.isValid=function(){return m(this)},Si.lang=oi,Si.locale=si,Si.localeData=li,Si.max=Ft,Si.min=Ht,Si.parsingFlags=function(){return c({},p(this))},Si.set=function(e,t){if("object"==typeof e){var i,n=function(e){var t,i=[];for(t in e)a(e,t)&&i.push({unit:t,priority:_[t]});return i.sort((function(e,t){return e.priority-t.priority})),i}(e=W(e)),r=n.length;for(i=0;i<r;i++)this[n[i].unit](e[n[i].unit])}else if(S(this[e=R(e)]))return this[e](t);return this},Si.startOf=function(e){var t,n;if(void 0===(e=R(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?fi:mi,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=pi(t+(this._isUTC?0:this.utcOffset()*di),ci);break;case"minute":t=this._d.valueOf(),t-=pi(t,di);break;case"second":t=this._d.valueOf(),t-=pi(t,hi)}return this._d.setTime(t),i.updateOffset(this,!0),this},Si.subtract=ii,Si.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},Si.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},Si.toDate=function(){return new Date(this.valueOf())},Si.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e,i=t?this.clone().utc():this;return i.year()<0||i.year()>9999?F(i,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):S(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",F(i,"Z")):F(i,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},Si.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,i="moment",n="";return this.isLocal()||(i=0===this.utcOffset()?"moment.utc":"moment.parseZone",n="Z"),e="["+i+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+n+'[")]')},"undefined"!=typeof Symbol&&null!=Symbol.for&&(Si[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),Si.toJSON=function(){return this.isValid()?this.toISOString():null},Si.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},Si.unix=function(){return Math.floor(this.valueOf()/1e3)},Si.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},Si.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},Si.eraName=function(){var e,t,i,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e){if(i=this.clone().startOf("day").valueOf(),n[e].since<=i&&i<=n[e].until)return n[e].name;if(n[e].until<=i&&i<=n[e].since)return n[e].name}return""},Si.eraNarrow=function(){var e,t,i,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e){if(i=this.clone().startOf("day").valueOf(),n[e].since<=i&&i<=n[e].until)return n[e].narrow;if(n[e].until<=i&&i<=n[e].since)return n[e].narrow}return""},Si.eraAbbr=function(){var e,t,i,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e){if(i=this.clone().startOf("day").valueOf(),n[e].since<=i&&i<=n[e].until)return n[e].abbr;if(n[e].until<=i&&i<=n[e].since)return n[e].abbr}return""},Si.eraYear=function(){var e,t,n,r,a=this.localeData().eras();for(e=0,t=a.length;e<t;++e)if(n=a[e].since<=a[e].until?1:-1,r=this.clone().startOf("day").valueOf(),a[e].since<=r&&r<=a[e].until||a[e].until<=r&&r<=a[e].since)return(this.year()-i(a[e].since).year())*n+a[e].offset;return this.year()},Si.year=We,Si.isLeapYear=function(){return O(this.year())},Si.weekYear=function(e){return bi.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},Si.isoWeekYear=function(e){return bi.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},Si.quarter=Si.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},Si.month=Ae,Si.daysInMonth=function(){return Ue(this.year(),this.month())},Si.week=Si.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},Si.isoWeek=Si.isoWeeks=function(e){var t=Ze(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},Si.weeksInYear=function(){var e=this.localeData()._week;return ze(this.year(),e.dow,e.doy)},Si.weeksInWeekYear=function(){var e=this.localeData()._week;return ze(this.weekYear(),e.dow,e.doy)},Si.isoWeeksInYear=function(){return ze(this.year(),1,4)},Si.isoWeeksInISOWeekYear=function(){return ze(this.isoWeekYear(),1,4)},Si.date=yi,Si.day=Si.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=function(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}(e,this.localeData()),this.add(e-t,"d")):t},Si.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},Si.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=function(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7},Si.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},Si.hour=Si.hours=st,Si.minute=Si.minutes=xi,Si.second=Si.seconds=Mi,Si.millisecond=Si.milliseconds=Di,Si.utcOffset=function(e,t,n){var r,a=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=Ot(ce,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(r=Zt(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),a!==e&&(!t||this._changeInProgress?ei(this,Jt(e-a,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,i.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?a:Zt(this)},Si.utc=function(e){return this.utcOffset(0,e)},Si.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Zt(this),"m")),this},Si.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=Ot(de,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},Si.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?Nt(e).utcOffset():0,(this.utcOffset()-e)%60==0)},Si.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Si.isLocal=function(){return!!this.isValid()&&!this._isUTC},Si.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},Si.isUtc=zt,Si.isUTC=zt,Si.zoneAbbr=function(){return this._isUTC?"UTC":""},Si.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},Si.dates=x("dates accessor is deprecated. Use date instead.",yi),Si.months=x("months accessor is deprecated. Use month instead",Ae),Si.years=x("years accessor is deprecated. Use year instead",We),Si.zone=x("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()})),Si.isDSTShifted=x("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!o(this._isDSTShifted))return this._isDSTShifted;var e,t={};return v(t,this),(t=Gt(t))._a?(e=t._isUTC?u(t._a):Nt(t._a),this._isDSTShifted=this.isValid()&&function(e,t,i){var n,r=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),s=0;for(n=0;n<r;n++)(i&&e[n]!==t[n]||!i&&Z(e[n])!==Z(t[n]))&&s++;return s+a}(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}));var Ti=T.prototype;function Ui(e,t,i,n){var r=gt(),a=u().set(n,t);return r[i](a,e)}function Yi(e,t,i){if(l(e)&&(t=e,e=void 0),e=e||"",null!=t)return Ui(e,t,i,"month");var n,r=[];for(n=0;n<12;n++)r[n]=Ui(e,n,i,"month");return r}function Gi(e,t,i,n){"boolean"==typeof e?(l(t)&&(i=t,t=void 0),t=t||""):(i=t=e,e=!1,l(t)&&(i=t,t=void 0),t=t||"");var r,a=gt(),s=e?a._week.dow:0,o=[];if(null!=i)return Ui(t,(i+s)%7,n,"day");for(r=0;r<7;r++)o[r]=Ui(t,(r+s)%7,n,"day");return o}Ti.calendar=function(e,t,i){var n=this._calendar[e]||this._calendar.sameElse;return S(n)?n.call(t,i):n},Ti.longDateFormat=function(e){var t=this._longDateFormat[e],i=this._longDateFormat[e.toUpperCase()];return t||!i?t:(this._longDateFormat[e]=i.match(Y).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])},Ti.invalidDate=function(){return this._invalidDate},Ti.ordinal=function(e){return this._ordinal.replace("%d",e)},Ti.preparse=Pi,Ti.postformat=Pi,Ti.relativeTime=function(e,t,i,n){var r=this._relativeTime[i];return S(r)?r(e,t,i,n):r.replace(/%d/i,e)},Ti.pastFuture=function(e,t){var i=this._relativeTime[e>0?"future":"past"];return S(i)?i(t):i.replace(/%s/i,t)},Ti.set=function(e){var t,i;for(i in e)a(e,i)&&(S(t=e[i])?this[i]=t:this["_"+i]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},Ti.eras=function(){var e,t,n,r=this._eras||gt("en")._eras;for(e=0,t=r.length;e<t;++e)switch("string"==typeof r[e].since&&(n=i(r[e].since).startOf("day"),r[e].since=n.valueOf()),typeof r[e].until){case"undefined":r[e].until=1/0;break;case"string":n=i(r[e].until).startOf("day").valueOf(),r[e].until=n.valueOf()}return r},Ti.erasParse=function(e,t,i){var n,r,a,s,o,l=this.eras();for(e=e.toUpperCase(),n=0,r=l.length;n<r;++n)if(a=l[n].name.toUpperCase(),s=l[n].abbr.toUpperCase(),o=l[n].narrow.toUpperCase(),i)switch(t){case"N":case"NN":case"NNN":if(s===e)return l[n];break;case"NNNN":if(a===e)return l[n];break;case"NNNNN":if(o===e)return l[n]}else if([a,s,o].indexOf(e)>=0)return l[n]},Ti.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?i(e.since).year():i(e.since).year()+(t-e.offset)*n},Ti.erasAbbrRegex=function(e){return a(this,"_erasAbbrRegex")||wi.call(this),e?this._erasAbbrRegex:this._erasRegex},Ti.erasNameRegex=function(e){return a(this,"_erasNameRegex")||wi.call(this),e?this._erasNameRegex:this._erasRegex},Ti.erasNarrowRegex=function(e){return a(this,"_erasNarrowRegex")||wi.call(this),e?this._erasNarrowRegex:this._erasRegex},Ti.months=function(e,t){return e?n(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Le).test(t)?"format":"standalone"][e.month()]:n(this._months)?this._months:this._months.standalone},Ti.monthsShort=function(e,t){return e?n(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Le.test(t)?"format":"standalone"][e.month()]:n(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},Ti.monthsParse=function(e,t,i){var n,r,a;if(this._monthsParseExact)return Fe.call(this,e,t,i);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(r=u([2e3,n]),i&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),i||this._monthsParse[n]||(a="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[n]=new RegExp(a.replace(".",""),"i")),i&&"MMMM"===t&&this._longMonthsParse[n].test(e))return n;if(i&&"MMM"===t&&this._shortMonthsParse[n].test(e))return n;if(!i&&this._monthsParse[n].test(e))return n}},Ti.monthsRegex=function(e){return this._monthsParseExact?(a(this,"_monthsRegex")||Ee.call(this),e?this._monthsStrictRegex:this._monthsRegex):(a(this,"_monthsRegex")||(this._monthsRegex=He),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},Ti.monthsShortRegex=function(e){return this._monthsParseExact?(a(this,"_monthsRegex")||Ee.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(a(this,"_monthsShortRegex")||(this._monthsShortRegex=Ne),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},Ti.week=function(e){return Ze(e,this._week.dow,this._week.doy).week},Ti.firstDayOfYear=function(){return this._week.doy},Ti.firstDayOfWeek=function(){return this._week.dow},Ti.weekdays=function(e,t){var i=n(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Xe(i,this._week.dow):e?i[e.day()]:i},Ti.weekdaysMin=function(e){return!0===e?Xe(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},Ti.weekdaysShort=function(e){return!0===e?Xe(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},Ti.weekdaysParse=function(e,t,i){var n,r,a;if(this._weekdaysParseExact)return tt.call(this,e,t,i);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(r=u([2e3,1]).day(n),i&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(a="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[n]=new RegExp(a.replace(".",""),"i")),i&&"dddd"===t&&this._fullWeekdaysParse[n].test(e))return n;if(i&&"ddd"===t&&this._shortWeekdaysParse[n].test(e))return n;if(i&&"dd"===t&&this._minWeekdaysParse[n].test(e))return n;if(!i&&this._weekdaysParse[n].test(e))return n}},Ti.weekdaysRegex=function(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||it.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(a(this,"_weekdaysRegex")||(this._weekdaysRegex=qe),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},Ti.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||it.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(a(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Qe),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},Ti.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||it.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(a(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=et),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},Ti.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},Ti.meridiem=function(e,t,i){return e>11?i?"pm":"PM":i?"am":"AM"},mt("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===Z(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),i.lang=x("moment.lang is deprecated. Use moment.locale instead.",mt),i.langData=x("moment.langData is deprecated. Use moment.localeData instead.",gt);var Li=Math.abs;function Ni(e,t,i,n){var r=Jt(t,i);return e._milliseconds+=n*r._milliseconds,e._days+=n*r._days,e._months+=n*r._months,e._bubble()}function Hi(e){return e<0?Math.floor(e):Math.ceil(e)}function Fi(e){return 4800*e/146097}function Bi(e){return 146097*e/4800}function Ai(e){return function(){return this.as(e)}}var Ei=Ai("ms"),Ri=Ai("s"),Wi=Ai("m"),_i=Ai("h"),ji=Ai("d"),Oi=Ai("w"),$i=Ai("M"),Zi=Ai("Q"),zi=Ai("y");function Xi(e){return function(){return this.isValid()?this._data[e]:NaN}}var Vi=Xi("milliseconds"),Ji=Xi("seconds"),Ki=Xi("minutes"),qi=Xi("hours"),Qi=Xi("days"),en=Xi("months"),tn=Xi("years");var nn=Math.round,rn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function an(e,t,i,n,r){return r.relativeTime(t||1,!!i,e,n)}var sn=Math.abs;function on(e){return(e>0)-(e<0)||+e}function ln(){if(!this.isValid())return this.localeData().invalidDate();var e,t,i,n,r,a,s,o,l=sn(this._milliseconds)/1e3,h=sn(this._days),d=sn(this._months),c=this.asSeconds();return c?(e=$(l/60),t=$(e/60),l%=60,e%=60,i=$(d/12),d%=12,n=l?l.toFixed(3).replace(/\.?0+$/,""):"",r=c<0?"-":"",a=on(this._months)!==on(c)?"-":"",s=on(this._days)!==on(c)?"-":"",o=on(this._milliseconds)!==on(c)?"-":"",r+"P"+(i?a+i+"Y":"")+(d?a+d+"M":"")+(h?s+h+"D":"")+(t||e||l?"T":"")+(t?o+t+"H":"")+(e?o+e+"M":"")+(l?o+n+"S":"")):"P0D"}var hn=Et.prototype;return hn.isValid=function(){return this._isValid},hn.abs=function(){var e=this._data;return this._milliseconds=Li(this._milliseconds),this._days=Li(this._days),this._months=Li(this._months),e.milliseconds=Li(e.milliseconds),e.seconds=Li(e.seconds),e.minutes=Li(e.minutes),e.hours=Li(e.hours),e.months=Li(e.months),e.years=Li(e.years),this},hn.add=function(e,t){return Ni(this,e,t,1)},hn.subtract=function(e,t){return Ni(this,e,t,-1)},hn.as=function(e){if(!this.isValid())return NaN;var t,i,n=this._milliseconds;if("month"===(e=R(e))||"quarter"===e||"year"===e)switch(i=this._months+Fi(t=this._days+n/864e5),e){case"month":return i;case"quarter":return i/3;case"year":return i/12}else switch(t=this._days+Math.round(Bi(this._months)),e){case"week":return t/7+n/6048e5;case"day":return t+n/864e5;case"hour":return 24*t+n/36e5;case"minute":return 1440*t+n/6e4;case"second":return 86400*t+n/1e3;case"millisecond":return Math.floor(864e5*t)+n;default:throw new Error("Unknown unit "+e)}},hn.asMilliseconds=Ei,hn.asSeconds=Ri,hn.asMinutes=Wi,hn.asHours=_i,hn.asDays=ji,hn.asWeeks=Oi,hn.asMonths=$i,hn.asQuarters=Zi,hn.asYears=zi,hn.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*Z(this._months/12):NaN},hn._bubble=function(){var e,t,i,n,r,a=this._milliseconds,s=this._days,o=this._months,l=this._data;return a>=0&&s>=0&&o>=0||a<=0&&s<=0&&o<=0||(a+=864e5*Hi(Bi(o)+s),s=0,o=0),l.milliseconds=a%1e3,e=$(a/1e3),l.seconds=e%60,t=$(e/60),l.minutes=t%60,i=$(t/60),l.hours=i%24,s+=$(i/24),o+=r=$(Fi(s)),s-=Hi(Bi(r)),n=$(o/12),o%=12,l.days=s,l.months=o,l.years=n,this},hn.clone=function(){return Jt(this)},hn.get=function(e){return e=R(e),this.isValid()?this[e+"s"]():NaN},hn.milliseconds=Vi,hn.seconds=Ji,hn.minutes=Ki,hn.hours=qi,hn.days=Qi,hn.weeks=function(){return $(this.days()/7)},hn.months=en,hn.years=tn,hn.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var i,n,r=!1,a=rn;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(r=e),"object"==typeof t&&(a=Object.assign({},rn,t),null!=t.s&&null==t.ss&&(a.ss=t.s-1)),n=function(e,t,i,n){var r=Jt(e).abs(),a=nn(r.as("s")),s=nn(r.as("m")),o=nn(r.as("h")),l=nn(r.as("d")),h=nn(r.as("M")),d=nn(r.as("w")),c=nn(r.as("y")),u=a<=i.ss&&["s",a]||a<i.s&&["ss",a]||s<=1&&["m"]||s<i.m&&["mm",s]||o<=1&&["h"]||o<i.h&&["hh",o]||l<=1&&["d"]||l<i.d&&["dd",l];return null!=i.w&&(u=u||d<=1&&["w"]||d<i.w&&["ww",d]),(u=u||h<=1&&["M"]||h<i.M&&["MM",h]||c<=1&&["y"]||["yy",c])[2]=t,u[3]=+e>0,u[4]=n,an.apply(null,u)}(this,!r,a,i=this.localeData()),r&&(n=i.pastFuture(+this,n)),i.postformat(n)},hn.toISOString=ln,hn.toString=ln,hn.toJSON=ln,hn.locale=si,hn.localeData=li,hn.toIsoString=x("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ln),hn.lang=oi,H("X",0,0,"unix"),H("x",0,0,"valueOf"),pe("x",he),pe("X",/[+-]?\d+(\.\d{1,3})?/),we("X",(function(e,t,i){i._d=new Date(1e3*parseFloat(e))})),we("x",(function(e,t,i){i._d=new Date(Z(e))})),
2
2
  //! moment.js
3
- i.version="2.29.4",e=Nt,i.fn=Si,i.min=function(){return Bt("isBefore",[].slice.call(arguments,0))},i.max=function(){return Bt("isAfter",[].slice.call(arguments,0))},i.now=function(){return Date.now?Date.now():+new Date},i.utc=u,i.unix=function(e){return Nt(1e3*e)},i.months=function(e,t){return Yi(e,t,"months")},i.isDate=h,i.locale=mt,i.invalid=f,i.duration=Jt,i.isMoment=C,i.weekdays=function(e,t,i){return Gi(e,t,i,"weekdays")},i.parseZone=function(){return Nt.apply(null,arguments).parseZone()},i.localeData=gt,i.isDuration=Rt,i.monthsShort=function(e,t){return Yi(e,t,"monthsShort")},i.weekdaysMin=function(e,t,i){return Gi(e,t,i,"weekdaysMin")},i.defineLocale=ft,i.updateLocale=function(e,t){if(null!=t){var i,n,r=lt;null!=ht[e]&&null!=ht[e].parentLocale?ht[e].set(P(ht[e]._config,t)):(null!=(n=pt(e))&&(r=n._config),t=P(r,t),null==n&&(t.abbr=e),(i=new T(t)).parentLocale=ht[e],ht[e]=i),mt(e)}else null!=ht[e]&&(null!=ht[e].parentLocale?(ht[e]=ht[e].parentLocale,e===mt()&&mt(e)):null!=ht[e]&&delete ht[e]);return ht[e]},i.locales=function(){return k(ht)},i.weekdaysShort=function(e,t,i){return Gi(e,t,i,"weekdaysShort")},i.normalizeUnits=R,i.relativeTimeRounding=function(e){return void 0===e?nn:"function"==typeof e&&(nn=e,!0)},i.relativeTimeThreshold=function(e,t){return void 0!==rn[e]&&(void 0===t?rn[e]:(rn[e]=t,"s"===e&&(rn.ss=t-1),!0))},i.calendarFormat=function(e,t){var i=e.diff(t,"days",!0);return i<-6?"sameElse":i<-1?"lastWeek":i<0?"lastDay":i<1?"sameDay":i<2?"nextDay":i<7?"nextWeek":"sameElse"},i.prototype=Si,i.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},i}();const I=M.exports,S=class{constructor(i){e(this,i),this.showMoreGamesEvent=t(this,"showMoreGames",7),this.backFromPowerupDetailEvent=t(this,"backFromPowerupDetail",7),this.mbSource=void 0,this.clientStyling=void 0,this.clientStylingUrl=void 0,this.translationUrl=void 0,this.language="en",this.endpoint=void 0,this.session=void 0,this.pid=void 0,this.powerupId=void 0,this.isPowering=!1,this.isValidForGame=void 0,this.powerUp=null,this.powerUpGames=void 0,this.isLoading=!0,this.isLoadingGames=!0,this.limit=20,this.showConfirmModal=!1,this.activeMessage=void 0,this.showToasting=!1}showPowerupDetailsHandler(e){this.pid=e.detail.id}activePowerupHandler(e){this.showConfirmModal=!1,e.detail.id===this.pid&&this.activePowerUp(this.powerUp)}async loadPowerUpById(){if(this.endpoint&&this.session){this.isLoading=!0,this.abortController&&this.abortController.abort(),this.abortController=new AbortController;try{const e=new URL(`${this.endpoint}/v1/elevate/powerups`),t={headers:{"Content-Type":"application/json","x-SessionId":this.session},method:"GET",signal:this.abortController.signal};e.searchParams.append("filter",`id=${this.pid}`),Object.entries(y).forEach((([t,i])=>{e.searchParams.append(t,i)}));const i=await fetch(e.href,t);if(!i.ok)throw new Error(`HTTP error! status: ${i.status}`);const{data:n}=await i.json();n.length&&(this.powerUp=n[0],this.powerUpGames=this.powerUp.games,this.powerupId=this.powerUp.powerUpID),this.loadGamesByPID()}catch(e){console.error("Failed to load Power-ups:",e),4003===e.errorCode&&window.postMessage({type:e.errorMessage})}finally{this.isLoading=!1}}}async loadGamesByPID(){var e,t,i,n,r,a;if(this.endpoint&&this.session&&this.powerupId){this.isLoadingGames=!0,this.abortController&&this.abortController.abort(),this.abortController=new AbortController;try{const r=new URL(`${this.endpoint}/v1/elevate/powerups/available?pagination=games(limit=20,offset=${(null===(t=null===(e=this.powerUpGames)||void 0===e?void 0:e.items)||void 0===t?void 0:t.length)||0})`),a={headers:{"Content-Type":"application/json","x-SessionId":this.session},method:"GET",signal:this.abortController.signal};r.searchParams.append("filter",`id=${this.powerupId}`),Object.entries(x).forEach((([e,t])=>{r.searchParams.append(e,t)})),r.searchParams.append("language",this.language);const s=await fetch(r,a);if(!s.ok)throw new Error(`HTTP error! status: ${s.status}`);const o=await s.json();this.powerUpGames=Object.assign(Object.assign({},this.powerUpGames),{items:[...(null===(i=this.powerUpGames)||void 0===i?void 0:i.items)||[],...(null===(n=o.games)||void 0===n?void 0:n.items)||[]]})}catch(e){"AbortError"!==e.name&&console.error("Failed to load more games:",e)}finally{(null===(a=null===(r=this.abortController)||void 0===r?void 0:r.signal)||void 0===a?void 0:a.aborted)||(this.isLoadingGames=!1)}}}onActivateBtnClick(){this.isPowering||this.isLoading||!this.isValidForGame||(this.showConfirmModal=!0)}async activePowerUp(e){if(!this.endpoint||!this.session||e.status===a.ACTIVATING||this.isPowering)return;const t=e.status;e.status=a.ACTIVATING,this.abortController&&this.abortController.abort(),this.abortController=new AbortController;try{const i=new URL(`${this.endpoint}/v1/elevate/activatepowerup`);let n={headers:{"Content-Type":"application/json","x-SessionId":this.session},method:"PUT",signal:this.abortController.signal,body:JSON.stringify({powerUpId:e.id})};const r=await fetch(i.href,n);if(!r.ok)throw new Error(`HTTP error! status: ${r.status}`);const o=await r.json();(null==o?void 0:o.success)?this.powerUp=Object.assign(Object.assign({},e),{status:a.ACTIVATED,activatedAt:s(new Date).format("YYYY-MM-DD HH:mm:ssZ")}):(e.status=t,console.error(o.errorMessage)),this.showMessage({isSuccessed:o.success,info:C(o.success?"activeSuccess":"activeError",this.language),detail:o.errorMessage})}catch(i){e.status=t,this.showMessage({isSuccessed:!1,info:i.errorMessage}),console.error(i)}}showMessage(e){this.activeMessage=e,this.showToasting=!0,this.timerId=setTimeout((()=>{this.showToasting=!1}),2e3)}onGameClick(e){window.postMessage({type:"EngagementSuiteGameRedirect",data:{Slug:e.slug}})}showMoreGames(){this.showMoreGamesEvent.emit(this.powerUp.id)}backTo(){this.backFromPowerupDetailEvent.emit()}render(){var e,t,n,r,s,l;return i("div",{key:"82a743fbda08f6da0212461cb9f212cee98b9c7d",class:`IngamePowerUpDetailContainer ${this.isPowering?"Powering":"UnPowering"}\n ${this.isValidForGame?"ValidForGame":"NotValidForGame"} Status_${null===(e=this.powerUp)||void 0===e?void 0:e.status} `,ref:e=>this.stylingContainer=e},i("div",{key:"4c03c07fcf88443f2af8250db83ba816f8c6a9d2",class:"MainContainer "+(this.showConfirmModal?"Hidden":"")},i("div",{key:"1fd2b135425a82e585872fa6d221d3307629c257",class:"TopBar"},i("div",{key:"eecb290e0f25a71e5c6e1cadb532c7d11e09ac52",onClick:this.backTo.bind(this),class:"ReturnIcon CircleLinearBorder",innerHTML:'<svg width="14" height="14" viewBox="0 0 14 14"\n fill="none" xmlns="http://www.w3.org/2000/svg">\n <g clip-path="url(#clip0_4119_5439)">\n <path d="M11.1533 12.8332C11.8242 11.9932 12.25 10.9315 12.25 9.759C12.25 6.959 9.7475 4.6665 6.69667 4.6665H1.75"\n stroke="currentColor" stroke-width="0.952264" stroke-miterlimit="10" stroke-linecap="round"\n stroke-linejoin="round" />\n <path d="M5.25 1.16699L1.75 4.66699L5.25 8.16699" stroke="currentColor" stroke-width="0.952264" stroke-miterlimit="10"\n stroke-linecap="round" stroke-linejoin="round" />\n </g>\n <defs>\n <clipPath id="clip0_4119_5439">\n <rect width="14" height="14" fill="white" />\n </clipPath>\n </defs>\n</svg>\n'}),i("div",{key:"d04fcfdcfe21e0eae05b6148baa1c8f50347a284",class:"Title"}," ",(null===(t=this.powerUp)||void 0===t?void 0:t.powerUpName)||""," ")),this.isLoading?i("div",{class:"Loading"},i("smart-loader",null)):null==this.powerUp?i("div",{class:"NoData"},"No data found "):i("div",{class:"DetailInfo"},i("div",{class:"Description"},this.powerUp.description),i("div",{class:"MultiplierContainer Card CircleLinearBorder"},i("div",{class:"FlexRow CircleInner"},i("div",{class:"Duration"},i("div",{class:"Label"}," ",C("duration",this.language)," "),i("div",{class:"Value"},i("span",null," ",this.powerUp.boostingPeriod["timePeriod"===this.powerUp.boostingPeriod.mode?"minutes":"numberOfRounds"]),i("span",null," ",C("timePeriod"===this.powerUp.boostingPeriod.mode?"minutes":this.powerUp.boostingPeriod.numberOfRounds>1?"rounds":"round")))),i("div",{class:"Multiplier"},i("div",{class:"Label"}," ",C("multiplier",this.language)," "),i("div",{class:"Value"},this.powerUp.multiplier.coefficient,"x ",C("coins"===this.powerUp.multiplier.mode?"coins":"xp"))),i("div",{class:"ExpireTime"},i("div",{class:"Label"}," ",C(this.powerUp.status===a.ACTIVATED?"endsIn":"endDate",this.language)," "),i("div",{class:"Value"},this.powerUp.status===a.ACTIVATED&&this.powerUp.boostingPeriod.mode===o.NUMBER_OF_ROUNDS?i("div",{class:"LeftRounds"},i("span",null,this.powerUp.boostingPeriod.numberOfRounds-this.powerUp.usedNumberOfRounds," "),i("span",null," ",C(this.powerUp.boostingPeriod.numberOfRounds-this.powerUp.usedNumberOfRounds>1?"rounds":"round",this.language))):i("time-count-detail",{pid:this.powerUp.id,page:"detail","expire-time":(l=this.powerUp,l.activatedAt&&l.status==a.ACTIVATED?I(l.activatedAt).add(l.boostingPeriod.minutes,"minute").format("YYYY-MM-DDTHH:mm:ssZ"):l.expireTime),lang:this.language}))))),i("div",{class:"TermsUrl"},i("div",{class:"Label"},this.powerUp.termsUrl?[i("a",{href:this.powerUp.termsUrl,target:"_blank"},C("termsAndConditions",this.language)),i("div",{class:"GoToOpenIcon",innerHTML:k})]:i("div",null,C("termsAndConditions",this.language),i("div",{class:"GoToOpenIcon",innerHTML:k}))),i("div",{class:"TextContent"},C("playResponsibly",this.language))),i("div",{class:"GamesWrapper Card CircleLinearBorder"},i("div",{class:"CircleInner"},i("div",{class:"FlexRow GamesHeader"},i("div",{class:"RowLeft"},i("div",{class:"GamesTitle"}," ",C("games",this.language)," "),i("div",{class:"GamesTotal TextContent"},"( ",this.powerUp.games.total," )")),i("div",{class:"RowRight",onClick:this.showMoreGames.bind(this)},i("div",{class:"TextContent"},C("seeAll",this.language)),i("div",{class:"DetailIcon"},i("div",{innerHTML:'<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M2.33398 2.3335L7.00065 7.00016L2.33398 11.6668" stroke="white" stroke-width="0.952264" stroke-linecap="round" stroke-linejoin="round"/>\n<path d="M7 2.3335L11.6667 7.00016L7 11.6668" stroke="white" stroke-width="0.952264" stroke-linecap="round" stroke-linejoin="round"/>\n</svg>\n'})))),i("div",{class:"Games FlexRow"},i("div",{class:"Container"},this.powerUp.games.total&&this.powerUp.games.items.map((e=>i("div",{class:"Game"},i("ui-image",{src:e.thumbnail,onClick:this.onGameClick.bind(this,e)}),i("div",{class:"GameMask",onClick:this.onGameClick.bind(this,e)},i("div",{class:"GameStartBtn"},i("div",{class:"PlayIcon"}),i("span",null,C("playNow",this.language))))))))))))),this.powerUp&&this.powerUp.status!=a.ACTIVATED&&i("div",{key:"c7e6846585f6274e1b69d54ad77c377a3e20fdca",class:"BottomBar FlexRow "+(this.showConfirmModal?"Hidden":"")},i("div",{key:"2ff9aae76204fc44c86c515f323f23d23acbc878",class:"ActiveTips"}," ",C(this.isPowering?"poweringTooltip":"activateTips",this.language)," "),this.powerUp&&(this.powerUp.status===a.ACTIVE||this.powerUp.status===a.ACTIVATING)&&i("div",{key:"332e3923f9e8b523efb453880a15d04b9866d938",class:`ActiveBtn CircleLinearBorder ${this.isPowering||!this.isValidForGame?"Disabled":""} ${this.powerUp.status===a.ACTIVATING?"Activating":""}`,onClick:this.onActivateBtnClick.bind(this,this.powerUp)},i("div",{key:"e177638fdb12759ce293d5274da756d0ff9cd589",class:"content"}," ",C("activate",this.language)))),this.showConfirmModal&&i("active-confirm-modal",{key:"ea27c8935411fb10f86a37e3bca01a0e3acbf6f8","is-open":!0,pid:this.pid,language:this.language}),i("div",{key:"3a0d3d94e9e2b64acce7964e0eb1dbf040a5dcf6",class:`ToastWrapper ${this.showToasting?"Shown":"Hidden"} ${(null===(n=this.activeMessage)||void 0===n?void 0:n.isSuccessed)?"Success":"Failed"}`},i("div",{key:"6e7b5a3333cc8a90cec83218181471e992b5909e",class:"Details"},i("span",{key:"7c44e2773b5363900e1b347d23e4f6f68d33753c",class:"Info"},null===(r=this.activeMessage)||void 0===r?void 0:r.info),(null===(s=this.activeMessage)||void 0===s?void 0:s.detail)&&i("span",{key:"3156e14c96bf4101076ce9cdc62590203551e881",class:"Detail"}," - [ ",this.activeMessage.detail," ]"))))}handleClientStylingChange(e,t){e!=t&&l(this.stylingContainer,this.clientStyling)}handleClientStylingUrlChange(e,t){e!=t&&h(this.stylingContainer,this.clientStylingUrl)}handleMbSourceChange(e,t){e!=t&&d(this.stylingContainer,`${this.mbSource}.Style`,this.stylingSubscription)}componentDidLoad(){this.stylingContainer&&(this.mbSource&&d(this.stylingContainer,`${this.mbSource}.Style`,this.stylingSubscription),this.clientStyling&&l(this.stylingContainer,this.clientStyling),this.clientStylingUrl&&h(this.stylingContainer,this.clientStylingUrl))}disconnectedCallback(){this.stylingSubscription&&this.stylingSubscription.unsubscribe(),this.timerId&&clearTimeout(this.timerId)}handleNewTranslations(){b(this.translationUrl)}async componentWillLoad(){this.translationUrl&&await b(this.translationUrl),this.loadPowerUpById()}static get watchers(){return{session:["loadPowerUpById"],endpoint:["loadPowerUpById"],language:["loadPowerUpById"],pid:["loadPowerUpById"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"],mbSource:["handleMbSourceChange"],translationUrl:["handleNewTranslations"]}}};S.style=':host{display:block;height:100%}.IngamePowerUpDetailContainer{gap:5px;display:flex;padding:var(--emw--ingame-power-container-padding, 8px);height:100%;justify-content:space-between;flex-direction:column}.IngamePowerUpDetailContainer .Hidden{opacity:0 !important;transition:opacity 0.5s ease-in-out}.IngamePowerUpDetailContainer .ToastWrapper{position:absolute;width:80%;display:flex;gap:10px;align-items:center;opacity:0;z-index:1000;transition:opacity 0.5s ease-out;bottom:10px;right:10px;height:40px;border-top-left-radius:8px;border-bottom-left-radius:8px;border-width:1px;padding:8px 15px}.IngamePowerUpDetailContainer .ToastWrapper.Shown{opacity:1}.IngamePowerUpDetailContainer .ToastWrapper.Hidden{opacity:0;z-index:-1;display:inherit}.IngamePowerUpDetailContainer .ToastWrapper.Failed,.IngamePowerUpDetailContainer .ToastWrapper.Success{padding:10px;border-radius:10px;background:linear-gradient(180deg, #262849 0%, #191B31 50%, #16102A 100%)}.IngamePowerUpDetailContainer .ToastWrapper.Success{border:1px solid;border-image-source:linear-gradient(94.32deg, var(--emw--ingame-color-pth-primary1, #9500FF) 4.41%, var(--emw--ingame-color-pth-primary2, #232EC4) 113.86%)}.IngamePowerUpDetailContainer .ToastWrapper.Failed{border:1px solid var(--emw--ingame-color-light-red, #FF4D4F)}.IngamePowerUpDetailContainer .CircleLinearBorder{position:relative;width:26px;height:26px;border-radius:20px;background:none;overflow:hidden;border:1.5px solid transparent;display:flex;align-items:center;justify-content:center;cursor:pointer}.IngamePowerUpDetailContainer .CircleLinearBorder svg{border-radius:20px;padding:4.5px;background:var(--emw--ingame-color-powerup-bg, rgba(9, 9, 9, 0.8980392157));z-index:1}.IngamePowerUpDetailContainer .CircleLinearBorder::before{content:"";position:absolute;top:-1.5px;left:-1.5px;right:-1.5px;bottom:-1.5px;z-index:-1;border-radius:21.5px;background:linear-gradient(0deg, var(--emw--ingame-color-white10, rgba(255, 255, 255, 0.0666666667)), var(--emw--ingame-color-white10, rgba(255, 255, 255, 0.0666666667))), linear-gradient(35.22deg, var(--emw--ingame-color-white10, rgba(255, 255, 255, 0)), var(--emw--ingame-color-white30, rgba(255, 255, 255, 0.5490196078)) 89.19%)}.IngamePowerUpDetailContainer .FlexRow{display:flex;flex-direction:row;width:100%}.IngamePowerUpDetailContainer .FlexRow .RowLeft,.IngamePowerUpDetailContainer .FlexRow .RowRight{display:flex;flex-direction:row;align-items:center}.IngamePowerUpDetailContainer .NoData,.IngamePowerUpDetailContainer .Loading{padding:15px}.IngamePowerUpDetailContainer .MainContainer{padding:15px;opacity:1}.IngamePowerUpDetailContainer .MainContainer.Hidden{opacity:0}.IngamePowerUpDetailContainer .TopBar{display:flex;align-items:center;padding:0}.IngamePowerUpDetailContainer .TopBar .ReturnIcon{width:26px;height:26px;display:flex;border-radius:20px;padding:0;backdrop-filter:blur(13.7647px);justify-content:center;align-items:center}.IngamePowerUpDetailContainer .TopBar .ReturnIcon svg{color:var(--emw--ingame-color-white60, #f0f0f0)}.IngamePowerUpDetailContainer .TopBar .Title{font-weight:600;font-size:1.2rem;line-height:100%;text-align:center;vertical-align:middle;flex:1;color:var(--emw--ingame-color-neutural-95, #EDEFF2);text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.IngamePowerUpDetailContainer .DetailInfo .Description,.IngamePowerUpDetailContainer .DetailInfo .TextContent{font-weight:400;font-size:0.9rem;line-height:1.1rem;vertical-align:middle;color:var(--emw--ingame-color-white70, rgba(255, 255, 255, 0.6980392157))}.IngamePowerUpDetailContainer .DetailInfo .Card{margin-top:20px;width:100%;height:74px;color:var(--emw--ingame-color-black40, rgba(9, 9, 9, 0.5019607843));backdrop-filter:blur(22.9411773682px);display:flex;flex-direction:row;align-content:space-around;text-align:center}.IngamePowerUpDetailContainer .DetailInfo .Card .Label{color:var(--emw--ingame-color-neutural-95, #C9CACB)}.IngamePowerUpDetailContainer .DetailInfo .Card .Value{color:var(--emw--ingame-color-text, #fff);line-height:150%;letter-spacing:0.9px;font-weight:600}.IngamePowerUpDetailContainer .DetailInfo .CircleLinearBorder::before{background:linear-gradient(0deg, var(--emw--ingame-color-white20, rgba(255, 255, 255, 0.1568627451)), var(--emw--ingame-color-white20, rgba(255, 255, 255, 0.07))), linear-gradient(358deg, var(--emw--ingame-color-white20, rgba(255, 255, 255, 0.15)) 33.61%, var(--emw--ingame-color-white10, rgba(255, 255, 255, 0.11)) 89.19%);top:-1px;left:-1px;right:-1px;bottom:-1px;border-radius:21px}.IngamePowerUpDetailContainer .DetailInfo .CircleInner{background-color:var(--emw--ingame-color-neutural, rgba(9, 9, 9, 0.5019607843));width:calc(100% - 31px);border-radius:19px;z-index:1;padding:15px;height:calc(100% - 32px);align-items:center;justify-content:space-evenly}.IngamePowerUpDetailContainer .DetailInfo .TermsUrl{height:80px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px}.IngamePowerUpDetailContainer .DetailInfo .TermsUrl .Label,.IngamePowerUpDetailContainer .DetailInfo .TermsUrl .Label a{color:#00B541;display:flex;justify-content:center;text-decoration:underline}.IngamePowerUpDetailContainer .DetailInfo .TermsUrl .Label .GoToOpenIcon,.IngamePowerUpDetailContainer .DetailInfo .TermsUrl .Label a .GoToOpenIcon{margin-left:10px;display:inline}.IngamePowerUpDetailContainer .DetailInfo .Card.MultiplierContainer{width:100%}.IngamePowerUpDetailContainer .DetailInfo .GamesWrapper{height:126px;flex-direction:column;display:flex;justify-content:space-evenly}.IngamePowerUpDetailContainer .DetailInfo .GamesWrapper .GamesHeader{justify-content:space-between}.IngamePowerUpDetailContainer .DetailInfo .GamesWrapper .GamesHeader .RowLeft{gap:5px}.IngamePowerUpDetailContainer .DetailInfo .GamesWrapper .GamesHeader .GamesTitle{color:var(--emw--ingame-color-text, #fff);line-height:150%;letter-spacing:0.9px;font-weight:600}.IngamePowerUpDetailContainer .DetailInfo .GamesWrapper .GamesHeader .RowRight{gap:5px}.IngamePowerUpDetailContainer .DetailInfo .GamesWrapper .GamesHeader .RowRight .DetailIcon{height:23px}.IngamePowerUpDetailContainer .DetailInfo .GamesWrapper .Games{width:100%;overflow:Hidden}.IngamePowerUpDetailContainer .DetailInfo .GamesWrapper .Container{width:fit-content;display:flex}.IngamePowerUpDetailContainer .DetailInfo .GamesWrapper .Game{height:60px;width:85px;margin:10px;position:relative}.IngamePowerUpDetailContainer .DetailInfo .GamesWrapper .Game .GameMask{display:none;transition:display;transition-duration:0.2s;opacity:0;position:absolute;width:70%;height:100%;font-size:0.85rem;color:var(--emw--ingame-color-text, #fff)}.IngamePowerUpDetailContainer .DetailInfo .GamesWrapper .Game .GameMask .GameStartBtn{width:80px;height:22px;border-radius:8px;opacity:1;padding:4px 5px;background:linear-gradient(180deg, var(--emw--color-powup-green, #24B24E) 0%, var(--emw--color-powup-light-green, #18CE51) 100%);border:1px solid var(--emw--ingame-color-white, #FFFFFF);display:flex;align-items:center;justify-content:space-between;cursor:pointer}.IngamePowerUpDetailContainer .DetailInfo .GamesWrapper .Game .GameMask .GameStartBtn .PlayIcon{background-image:url(\'data:image/svg+xml;charset=utf8,<svg xmlns="http://www.w3.org/2000/svg" width="11" height="11" viewBox="0 0 11 11" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M5.5 1C3.01472 1 1 3.01472 1 5.5C1 7.98528 3.01472 10 5.5 10C7.98528 10 10 7.98528 10 5.5C10 3.01472 7.98528 1 5.5 1ZM0 5.5C0 2.46243 2.46243 0 5.5 0C8.53757 0 11 2.46243 11 5.5C11 8.53757 8.53757 11 5.5 11C2.46243 11 0 8.53757 0 5.5ZM5.12255 3.21652C5.12728 3.21956 5.13199 3.22259 5.13668 3.22561L7.49698 4.74294C7.50129 4.74571 7.50562 4.74849 7.50998 4.75129C7.58551 4.79982 7.66805 4.85285 7.73381 4.90413C7.80355 4.95852 7.91363 5.05446 7.97854 5.20809C8.0574 5.39471 8.0574 5.60529 7.97854 5.79191C7.91363 5.94554 7.80355 6.04148 7.73381 6.09587C7.66805 6.14715 7.58551 6.20018 7.50998 6.24871C7.50562 6.25151 7.50129 6.25429 7.49698 6.25706L5.13668 7.77439C5.13199 7.77741 5.12727 7.78045 5.12255 7.78348C5.03469 7.84 4.9423 7.89941 4.86094 7.94176C4.77909 7.98436 4.63056 8.05332 4.44657 8.04018C4.22957 8.02468 4.02999 7.91572 3.89961 7.74157C3.78907 7.59391 3.76675 7.43167 3.75832 7.33979C3.74995 7.24844 3.74997 7.1386 3.75 7.03414C3.75 7.02852 3.75 7.02292 3.75 7.01733V3.98267C3.75 3.97708 3.75 3.97148 3.75 3.96586C3.74997 3.8614 3.74995 3.75156 3.75832 3.66021C3.76675 3.56833 3.78907 3.40609 3.89961 3.25843C4.02999 3.08428 4.22957 2.97532 4.44657 2.95982C4.63056 2.94668 4.77909 3.01564 4.86094 3.05824C4.94231 3.10059 5.03469 3.16001 5.12255 3.21652ZM4.75 4.16583V6.83417L6.82537 5.5L4.75 4.16583Z" fill="white"/> <path d="M4.75 6.83417V4.16583L6.82537 5.5L4.75 6.83417Z" fill="white"/></svg>\');height:16px;width:16px;background-repeat:no-repeat;background-size:contain}.IngamePowerUpDetailContainer .DetailInfo .GamesWrapper .Game:hover img{opacity:0.4;filter:blur(1.5px)}.IngamePowerUpDetailContainer .DetailInfo .GamesWrapper .Game:hover .GameMask{mix-blend-mode:screen;background-color:var(--emw--color-powup-green, #24B24E);display:flex;justify-content:center;align-items:center;position:absolute;width:100%;opacity:1;left:0;height:100%;top:0;border-radius:8px}.IngamePowerUpDetailContainer .DetailInfo .GamesWrapper .Game:hover .GameMask .GameStartBtn{opacity:1}.IngamePowerUpDetailContainer .ActiveBtn{color:var(--emw--ingame-color-black, #090909);position:relative;background:none;overflow:hidden;min-width:88px;height:36px;font-weight:bold;gap:10px;border-radius:20px;animation-duration:0ms}.IngamePowerUpDetailContainer .ActiveBtn.Disabled .content{background-color:var(--emw--ingame-color-white20, rgba(255, 255, 255, 0.2));color:var(--emw--ingame-color-white20, rgba(255, 255, 255, 0.2))}.IngamePowerUpDetailContainer .ActiveBtn.Disabled:hover,.IngamePowerUpDetailContainer .ActiveBtn.Disabled:before{box-shadow:none;background:none}.IngamePowerUpDetailContainer .ActiveBtn:hover{box-shadow:0px 0px 3px 5px var(--emw--ingame-color-white10, rgba(255, 255, 255, 0.1019607843))}.IngamePowerUpDetailContainer .ActiveBtn::before{content:"";position:absolute;top:-1px;left:-1px;right:-1px;bottom:-1px;z-index:1;border-radius:18px;background:linear-gradient(to top right, var(--emw--ingame-color-powerup-brightgreen, #00FA5A), var(--emw--ingame-color-powerup-brightblue, rgba(50, 237, 221, 0.8901960784)))}.IngamePowerUpDetailContainer .ActiveBtn .content{line-height:1.6;background:var(--emw--ingame-color-powerup-brightgreen, #00FA5A);border-radius:18px;padding:1px;height:calc(100% - 4px);width:calc(100% - 4px);text-align:center;align-items:center;display:flex;justify-content:center;z-index:1}.IngamePowerUpDetailContainer .BottomBar{width:calc(100% - 30px);height:60px;opacity:1;gap:8px;padding:15px;background:rgba(9, 9, 9, 0.8);border-top:2px solid;border-image-source:linear-gradient(89.94deg, var(--emw--ingame-color-powerup-primary2, #003E5C) 0.05%, var(--emw--ingame-color-powerup-primary1, #113B21) 87.69%);backdrop-filter:blur(32.1176490784px);border-image-slice:1;align-items:center;border-radius:0 0 20px 20px}.IngamePowerUpDetailContainer .BottomBar.Hidden{opacity:0}';const P={expand:"games",fields:"id,powerUpID,powerUpName,displayName,games(id,gameId,slug,name,thumbnail)"},T={en:{playNow:"Play Now",games:"Games",noDataFound:"No data found",loading:"Loading",loadingMore:"Loading More"}},U=(e,t,i)=>{let n=T[void 0!==t&&t in T?t:"en"][e];if(void 0!==i)for(const[e,t]of Object.entries(i.values)){const i=new RegExp(`{${e}}`,"g");n=n.replace(i,t)}return n},Y=class{constructor(i){e(this,i),this.showDetailsEvent=t(this,"showPowerupDetails",7),this.backFromPowerupGamesEvent=t(this,"backFromPowerupGames",7),this.mbSource=void 0,this.clientStyling=void 0,this.clientStylingUrl=void 0,this.translationUrl=void 0,this.language="en",this.endpoint=void 0,this.session=void 0,this.powerupId=void 0,this.isLoadingGames=!1,this.powerUpGames={items:[],total:0},this.powerUp=void 0,this.limit=30}initializeGamesObserver(){this.loadMoreGamesObserver&&this.loadMoreGamesObserver.disconnect(),this.loadMoreGamesObserver=new IntersectionObserver((e=>{e.forEach((e=>{e.isIntersecting&&this.loadMoreGames().catch(console.error)}))})),this.lastGameElement&&this.loadMoreGamesObserver.observe(this.lastGameElement)}async loadMoreGames(){var e,t,i,n;if(!(this.isLoadingGames||this.powerUpGames.total>0&&this.powerUpGames.items.length>=this.powerUpGames.total)){this.isLoadingGames=!0,this.abortController&&this.abortController.abort(),this.abortController=new AbortController;try{const r=new URL(`${this.endpoint}/v1/elevate/powerups/available?pagination=games(limit=${this.limit},offset=${(null===(t=null===(e=this.powerUpGames)||void 0===e?void 0:e.items)||void 0===t?void 0:t.length)||0})`),a={headers:{"Content-Type":"application/json","x-SessionId":this.session},method:"GET",signal:this.abortController.signal};r.searchParams.append("filter",`id=${this.powerupId}`),Object.entries(P).forEach((([e,t])=>{r.searchParams.append(e,t)})),r.searchParams.append("language",this.language);const s=await fetch(r,a);if(!s.ok)throw new Error(`HTTP error! status: ${s.status}`);const o=await s.json();this.powerUp=o.data[0];const l=(null===(i=this.powerUp.games)||void 0===i?void 0:i.items)||[];this.powerUpGames={items:[...this.powerUpGames.items,...l],total:(null===(n=this.powerUp.games)||void 0===n?void 0:n.total)||this.powerUpGames.total}}catch(e){"AbortError"!==e.name&&console.error("Failed to load more games:",e)}finally{this.abortController.signal.aborted||(this.isLoadingGames=!1)}}}onBackToDetail(){this.backFromPowerupGamesEvent.emit()}onGameClick(e){window.postMessage({type:"EngagementSuiteGameRedirect",data:{Slug:e.slug}})}componentDidUpdate(){this.powerUpGames.items.length<this.powerUpGames.total&&this.initializeGamesObserver()}render(){var e,t;return i("div",{key:"1e7ce5bf041634d441eacdf8eb66dd8b2b050c24",class:"IngamePowerUpGamesContainer",ref:e=>this.stylingContainer=e},i("div",{key:"0945e1b3a335c68b723a51cd8a0ad8776ef2566b",class:"TopBar"},i("div",{key:"fe25ac85c3204a91530b3129cc948ef5ddb3567f",class:"ReturnIcon CircleLinearBorder",onClick:()=>this.onBackToDetail(),innerHTML:'<svg width="14" height="14" viewBox="0 0 14 14"\n fill="none" xmlns="http://www.w3.org/2000/svg">\n <g clip-path="url(#clip0_4119_5439)">\n <path d="M11.1533 12.8332C11.8242 11.9932 12.25 10.9315 12.25 9.759C12.25 6.959 9.7475 4.6665 6.69667 4.6665H1.75"\n stroke="currentColor" stroke-width="0.952264" stroke-miterlimit="10" stroke-linecap="round"\n stroke-linejoin="round" />\n <path d="M5.25 1.16699L1.75 4.66699L5.25 8.16699" stroke="currentColor" stroke-width="0.952264" stroke-miterlimit="10"\n stroke-linecap="round" stroke-linejoin="round" />\n </g>\n <defs>\n <clipPath id="clip0_4119_5439">\n <rect width="14" height="14" fill="white" />\n </clipPath>\n </defs>\n</svg>\n'}),this.powerUp&&i("div",{key:"282b061c77186eca064917c823cdb8dc4b1b00db",class:"Title TextContent"},i("span",{key:"330bee8694baf45f1fc7d43b31f899e16f352609",class:"Name"},this.powerUp.displayName)," /",i("div",{key:"24abf921e35c4fb074bf04cda8f0985340ce0813",class:"Label"},U("games",this.language)),i("div",{key:"bf26cd444bdcf1ccd032f276e5718d523d4ca4cd",class:"GamesTotal"},"( ",this.powerUpGames.total||""," )"))),i("div",{key:"6a5517ea39f7dd6771ad9ce889cc61250660037a",class:"GamesWrapper Card "},this.isLoadingGames&&0===this.powerUpGames.items.length&&i("div",{key:"1f2df724a9b872aeccc42a3f464506d7402b8fd1",class:"Loading"},i("div",{key:"50d4d313bfd33643f6fc2463e32288e851caf065",class:"smart-loader"},i("div",{key:"b04440dc330e503c755198105f45350fd5a9af6e",class:"smart-item"}),i("div",{key:"b90f8f22ce2b95c0746e06c4976887dd27c08f53",class:"smart-item"}),i("div",{key:"af5d51749f9c4b95c1f4df414da7b16e10f36fe3",class:"smart-item"}))),this.isLoadingGames||this.powerUp?i("div",{class:"CircleInner GamesList"},i("div",{class:"Games FlexRow"},this.powerUpGames.total>0&&this.powerUpGames.items.map(((e,t)=>i("div",{class:"Game",ref:t===this.powerUpGames.items.length-1?e=>this.lastGameElement=e:null},i("ui-image",{src:e.thumbnail,alt:e.name}),i("div",{class:"GameMask",onClick:this.onGameClick.bind(this,e)},i("div",{class:"GameStartBtn"},i("div",{class:"PlayIcon"}),i("span",null,U("playNow",this.language))))))),this.isLoadingGames&&(null===(t=null===(e=this.powerUpGames)||void 0===e?void 0:e.items)||void 0===t?void 0:t.length)>this.limit&&i("p",{class:"LoadingMore"},U("loadingMore",this.language)))):i("div",{class:"NoData"},U("noDataFound",this.language)," ")))}handleClientStylingChange(e,t){e!=t&&l(this.stylingContainer,this.clientStyling)}handleClientStylingUrlChange(e,t){e!=t&&h(this.stylingContainer,this.clientStylingUrl)}handleMbSourceChange(e,t){e!=t&&d(this.stylingContainer,`${this.mbSource}.Style`,this.stylingSubscription)}componentWillLoad(){this.loadMoreGames()}componentDidLoad(){this.stylingContainer&&(this.mbSource&&d(this.stylingContainer,`${this.mbSource}.Style`,this.stylingSubscription),this.clientStyling&&l(this.stylingContainer,this.clientStyling),this.clientStylingUrl&&h(this.stylingContainer,this.clientStylingUrl))}disconnectedCallback(){this.stylingSubscription&&this.stylingSubscription.unsubscribe(),this.abortController&&this.abortController.abort(),this.loadMoreGamesObserver&&this.loadMoreGamesObserver.disconnect()}static get watchers(){return{clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"],mbSource:["handleMbSourceChange"]}}};Y.style=':host{display:block;height:100%;--game-amount-line:3}.IngamePowerUpGamesContainer{height:100%;display:flex;padding:var(--emw--ingame-power-container-padding, 8px);justify-content:flex-start;flex-direction:column}.IngamePowerUpGamesContainer .CircleLinearBorder{background:rgba(9, 9, 9, 0.5019607843);position:relative;width:26px;height:26px;border-radius:20px;background:none;overflow:hidden;border:1.5px solid transparent;display:flex;align-items:center;justify-content:center;cursor:pointer}.IngamePowerUpGamesContainer .CircleLinearBorder svg{border-radius:20px;padding:4.5px;background:var(--emw--ingame-color-powerup-bg, rgba(9, 9, 9, 0.8980392157));z-index:1}.IngamePowerUpGamesContainer .CircleLinearBorder::before{content:"";position:absolute;top:-1.5px;left:-1.5px;right:-1.5px;bottom:-1.5px;z-index:-1;border-radius:21.5px;background:linear-gradient(0deg, var(--emw--ingame-color-white10, rgba(255, 255, 255, 0.0666666667)), var(--emw--ingame-color-white10, rgba(255, 255, 255, 0.0666666667))), linear-gradient(35.22deg, var(--emw--ingame-color-white10, rgba(255, 255, 255, 0)), var(--emw--ingame-color-white30, rgba(255, 255, 255, 0.5490196078)) 89.19%)}.IngamePowerUpGamesContainer .TopBar,.IngamePowerUpGamesContainer .Loading{padding:15px}.IngamePowerUpGamesContainer .TopBar{display:flex;align-items:center;gap:5px}.IngamePowerUpGamesContainer .TopBar .ReturnIcon{width:26px;height:26px;display:flex;border-radius:20px;padding:0;backdrop-filter:blur(13.7647px);justify-content:center;align-items:center}.IngamePowerUpGamesContainer .TopBar .ReturnIcon svg{color:var(--emw--ingame-color-white60, #f0f0f0)}.IngamePowerUpGamesContainer .TopBar .Title{font-weight:600;font-size:0.9rem;line-height:100%;text-align:center;vertical-align:middle;color:var(--emw--ingame-color-neutural-95, #EDEFF2);display:flex;flex-direction:row}.IngamePowerUpGamesContainer .TopBar .Title .Name{font-size:1.1rem}.IngamePowerUpGamesContainer .TopBar .Title .Label{font-size:1.1rem;font-weight:bold;color:var(--emw--ingame-color-neutural-95, #EDEFF2)}.IngamePowerUpGamesContainer .TopBar .TextContent{font-weight:400;font-size:0.9rem;line-height:1.1rem;vertical-align:middle;color:var(--emw--ingame-color-white70, rgba(255, 255, 255, 0.6980392157))}.IngamePowerUpGamesContainer .GamesWrapper{height:calc(100% - 90px);overflow:hidden;width:100%;margin-bottom:10px;scrollbar-width:thin;scrollbar-color:var(--emw--color-background, hsl(254, 8.53%, 54.93%)) transparent}.IngamePowerUpGamesContainer .Games{overflow:auto;scrollbar-width:thin;scrollbar-color:var(--emw--color-background, hsl(254, 8.53%, 54.93%)) transparent}.IngamePowerUpGamesContainer .GamesList{display:flex;height:100%;justify-content:center;flex:1;overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--emw--background-gray-color, gray) transparent}.IngamePowerUpGamesContainer .GamesList::-webkit-scrollbar-track{background-color:transparent;border-radius:5px}.IngamePowerUpGamesContainer .GamesList .Games{padding:15px;display:flex;align-items:flex-start;justify-content:flex-start;flex-wrap:wrap;gap:calc(30px / (var(--game-amount-line, 3) - 1))}.IngamePowerUpGamesContainer .GamesList .Games .Game{width:calc((100% - 30px) / var(--game-amount-line, 3));cursor:pointer;position:relative}.IngamePowerUpGamesContainer .GamesList .Games .Game:hover .mask-filter{opacity:1}.IngamePowerUpGamesContainer .GamesList .Games .Game:hover img{opacity:0.4;filter:blur(1.5px)}.IngamePowerUpGamesContainer .GamesList .Games .Game:hover .GameMask{mix-blend-mode:screen;background-color:var(--emw--color-powup-green, #24B24E);display:flex;justify-content:center;align-items:center;position:absolute;width:100%;opacity:1;left:0;height:100%;top:0;border-radius:8px}.IngamePowerUpGamesContainer .GamesList .Games .Game:hover .GameMask .GameStartBtn{opacity:1}.IngamePowerUpGamesContainer .GameMask{display:none;transition:display;transition-duration:0.2s;opacity:0;position:absolute;width:70%;height:100%}.IngamePowerUpGamesContainer .GameMask .GameStartBtn{width:80px;height:22px;border-radius:8px;opacity:1;padding:4px 5px;background:linear-gradient(180deg, var(--emw--color-powup-green, #24B24E) 0%, var(--emw--color-powup-light-green, #18CE51) 100%);border:1px solid var(--emw--ingame-color-white, #FFFFFF);display:flex;align-items:center;justify-content:space-between;cursor:pointer}.IngamePowerUpGamesContainer .GameMask .GameStartBtn .PlayIcon{background-image:url(\'data:image/svg+xml;charset=utf8,<svg xmlns="http://www.w3.org/2000/svg" width="11" height="11" viewBox="0 0 11 11" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M5.5 1C3.01472 1 1 3.01472 1 5.5C1 7.98528 3.01472 10 5.5 10C7.98528 10 10 7.98528 10 5.5C10 3.01472 7.98528 1 5.5 1ZM0 5.5C0 2.46243 2.46243 0 5.5 0C8.53757 0 11 2.46243 11 5.5C11 8.53757 8.53757 11 5.5 11C2.46243 11 0 8.53757 0 5.5ZM5.12255 3.21652C5.12728 3.21956 5.13199 3.22259 5.13668 3.22561L7.49698 4.74294C7.50129 4.74571 7.50562 4.74849 7.50998 4.75129C7.58551 4.79982 7.66805 4.85285 7.73381 4.90413C7.80355 4.95852 7.91363 5.05446 7.97854 5.20809C8.0574 5.39471 8.0574 5.60529 7.97854 5.79191C7.91363 5.94554 7.80355 6.04148 7.73381 6.09587C7.66805 6.14715 7.58551 6.20018 7.50998 6.24871C7.50562 6.25151 7.50129 6.25429 7.49698 6.25706L5.13668 7.77439C5.13199 7.77741 5.12727 7.78045 5.12255 7.78348C5.03469 7.84 4.9423 7.89941 4.86094 7.94176C4.77909 7.98436 4.63056 8.05332 4.44657 8.04018C4.22957 8.02468 4.02999 7.91572 3.89961 7.74157C3.78907 7.59391 3.76675 7.43167 3.75832 7.33979C3.74995 7.24844 3.74997 7.1386 3.75 7.03414C3.75 7.02852 3.75 7.02292 3.75 7.01733V3.98267C3.75 3.97708 3.75 3.97148 3.75 3.96586C3.74997 3.8614 3.74995 3.75156 3.75832 3.66021C3.76675 3.56833 3.78907 3.40609 3.89961 3.25843C4.02999 3.08428 4.22957 2.97532 4.44657 2.95982C4.63056 2.94668 4.77909 3.01564 4.86094 3.05824C4.94231 3.10059 5.03469 3.16001 5.12255 3.21652ZM4.75 4.16583V6.83417L6.82537 5.5L4.75 4.16583Z" fill="white"/> <path d="M4.75 6.83417V4.16583L6.82537 5.5L4.75 6.83417Z" fill="white"/></svg>\');height:16px;width:16px;background-repeat:no-repeat;background-size:contain}.Games .Container{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;height:calc(100% - 120px);overflow:auto}.Games .Container .Game{width:105px}@keyframes smart-animate1{0%{opacity:0.15;transform:translateX(0px)}35%{opacity:1;transform:translateX(36px)}75%{opacity:1;transform:translateX(0px)}100%{opacity:0.15;transform:translateX(0px)}}@keyframes smart-animate2{0%{opacity:1}35%{opacity:0.15}75%{opacity:0.5}100%{opacity:1}}@keyframes smart-animate3{0%{opacity:0.5;transform:translateX(0px)}35%{opacity:0.15;transform:translateX(-36px)}75%{opacity:0.15;transform:translateX(0px)}100%{opacity:0.5;transform:translateX(0px)}}.smart-loader{margin:50px auto;display:flex;flex-direction:row;align-items:center;justify-content:center;width:100px;gap:10px}.smart-loader .smart-item{width:3px;height:20px;opacity:0.15;animation-delay:200ms;animation-duration:1000ms;animation-timing-function:ease-out;animation-fill-mode:forwards;padding:1px;margin:5px 0;background:var(--emw--ingame-color-powerup-brightgreen, #00FA5A);border-radius:4px;animation-iteration-count:infinite;animation-direction:normal}.smart-loader .smart-item:nth-child(1){animation-name:smart-animate1}.smart-loader .smart-item:nth-child(2){animation-name:smart-animate2;height:36px}.smart-loader .smart-item:nth-child(3){animation-name:smart-animate3}';const G={fields:"id,powerUpID,displayName,termsUrl,description,status,multiplier,boostingPeriod,usedNumberOfRounds,currentTime,expireTime,activatedAt",status:`${a.ACTIVE},${a.ACTIVATED}`},L=class{constructor(i){e(this,i),this.showDetailsEvent=t(this,"showPowerupDetails",7),this.powerupsLoadEvent=t(this,"powerupsLoad",7),this.closePowerupsEvent=t(this,"closePowerupsList",7),this.mbSource=void 0,this.gameId=void 0,this.clientStyling=void 0,this.clientStylingUrl=void 0,this.translationUrl=void 0,this.language="en",this.endpoint=void 0,this.session=void 0,this.limit=30,this.disableCount=!1,this.isLoading=!1,this.isActivating=!1,this.powerups=[],this.total=0,this.isPowering=!1,this.showConfirmModal=!1,this.currentPowerup=void 0,this.validPowerIds=[],this.activeMessage=void 0,this.showToasting=!1,this.debouncedReload=function(e){let t;return function(...i){const n=this;clearTimeout(t),t=setTimeout((()=>e.apply(n,i)),100)}}(this.reloadPowerups)}reloadPowerupsHandler(e){const{onlyGamePowers:t}=e.detail;this.reloadPowerups(!!t)}activePowerupHandler(e){this.currentPowerup&&(e.detail.id===this.currentPowerup.id&&this.activePowerUp(this.currentPowerup),this.showConfirmModal=!1)}powerupTimeCountDownHandler(e){this.disableCount||e.detail.timeLeft<=0&&this.reloadPowerups()}async reloadPowerups(e=!1){this.powerups=[],this.total=0,await this.loadGamePowers(),e||await this.loadData()}handleConfigChange(){this.debouncedReload()}async loadGamePowers(){try{this.isLoading=!0;const e=new URL(`${this.endpoint}/v1/elevate/powerups`),t={headers:{"Content-Type":"application/json","x-SessionId":this.session},method:"GET"};e.searchParams.append("filter",`gameId=${this.gameId}`),Object.entries(G).forEach((([t,i])=>{e.searchParams.append(t,i)}));const i=await fetch(e,t);if(!i.ok)throw window.postMessage({type:"errorWhenLoadPowerups",status:i.status}),new Error(`HTTP error! status: ${i.status}`);const{data:n,total:r}=await i.json();this.validPowerIds=n.map((e=>e.powerUpID)),this.powerupsLoadEvent.emit({powerups:n,total:r})}catch(e){console.error("Failed to load game powerups:",e)}finally{this.isLoading=!1}}async loadData(){if(!(this.isLoading||this.total>0&&this.powerups.length>=this.total)){this.abortController&&this.abortController.abort(),this.abortController=new AbortController,this.isLoading=!0;try{const e=this.powerups.length,t=new URL(`${this.endpoint}/v1/elevate/powerups`),i={headers:{"Content-Type":"application/json","x-SessionId":this.session},method:"GET",signal:this.abortController.signal};t.searchParams.append("pagination",`offset=${e},limit=${this.limit}`),t.searchParams.append("language",this.language),Object.entries(G).forEach((([e,i])=>{t.searchParams.append(e,i)}));const n=await fetch(t,i);if(!n.ok)throw window.postMessage({type:"errorWhenLoadPowerups",status:n.status}),new Error(`HTTP error! status: ${n.status}`);const{data:r,total:s,success:o,errorMessage:l}=await n.json();if(!o)throw this.activeMessage={isSuccessed:!1,info:f("LoadDataFailed")},this.showToasting=!0,this.timerId=setTimeout((()=>{this.showToasting=!1}),2e3),new Error(`HTTP error! status: ${l}`);this.powerups=[...this.powerups,...r],this.isPowering=this.powerups.filter((e=>e.status===a.ACTIVATED)).length>0,this.powerups.forEach((e=>{e.isValidForCurrentGame=!this.isPowering&&this.validPowerIds.indexOf(e.powerUpID)>-1})),this.total=s}catch(e){"AbortError"!==e.name&&console.error("Failed to load powerups:",e)}finally{this.abortController.signal.aborted||(this.isLoading=!1)}}}initializeObserver(){this.loadMoreObserver&&this.loadMoreObserver.disconnect(),this.loadMoreObserver=new IntersectionObserver((e=>{e.forEach((e=>{e.isIntersecting&&""!=e.target.innerHTML&&this.loadData().catch(console.error)}))})),this.lastItemElement&&this.loadMoreObserver.observe(this.lastItemElement)}async activePowerUp(e){if(this.endpoint&&this.session&&!this.isActivating&&!this.isPowering){this.isActivating=!0,this.powerups.forEach((t=>{t.id===e.id&&(t.status=a.ACTIVATING)})),this.abortController&&this.abortController.abort(),this.abortController=new AbortController;try{const t=new URL(`${this.endpoint}/v1/elevate/activatepowerup`);let i={headers:{"Content-Type":"application/json","x-SessionId":this.session},method:"PUT",signal:this.abortController.signal,body:JSON.stringify({powerUpId:e.id})};const n=await fetch(t.href,i);if(!n.ok)throw new Error(`HTTP error! status: ${n.status}`);const r=await n.json();(null==r?void 0:r.success)&&(this.isPowering=!0),this.activeMessage={isSuccessed:r.success,info:f(r.success?"activeSuccess":"activeError",this.language),detail:r.errorMessage},this.showToasting=!0,this.timerId=setTimeout((()=>{this.showToasting=!1,r.success&&this.reloadPowerups()}),2e3)}catch(e){console.error(e)}finally{this.abortController.signal.aborted||(this.isActivating=!1)}}}onClose(){this.closePowerupsEvent.emit({powerups:this.powerups})}showDetail(e){e.isValidForCurrentGame=!this.isPowering&&this.validPowerIds.indexOf(e.powerUpID)>-1,this.showDetailsEvent.emit({id:e.id,powerup:e})}onActiveBtnClick(e){this.isPowering||this.isActivating||!e.isValidForCurrentGame||(this.currentPowerup=e,this.showConfirmModal=!0)}componentDidUpdate(){this.total>0&&this.powerups.length<this.total&&this.initializeObserver()}render(){var e,t,n,r;return i("div",{key:"9426c6dcd8d1a40215965c19ddd01670ecc00f8b",class:"IngamePowerUpsContainer",ref:e=>this.stylingContainer=e},i("div",{key:"8448e3b8bceaa29f77d9e09e599f3af8d078fe8a",class:"TopBar "+(this.showConfirmModal?"Hidden":"")},i("span",{key:"4f1269d8a21e540a43e09862637b03de8c8d4bf0",class:"BarTitle"},f("powerups",this.language)),i("div",{key:"b2f52361b45d6dbb1c14f3e8a24a22bbb54a76b4",class:"IconBtn CircleLinearBorder",onClick:this.onClose.bind(this),innerHTML:g})),this.isLoading&&0===this.powerups.length?i("smart-loader",null):this.powerups.length>0?i("div",{class:"Cards "+(this.showConfirmModal||0===this.powerups.length?"Hidden":"")},this.isPowering&&i("div",{class:"Card PoweringDesc"},i("div",{class:"FlexRow"},i("div",{class:"Icon",innerHTML:'<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path fill-rule="evenodd" clip-rule="evenodd" d="M6.99967 1.75016C4.10018 1.75016 1.74967 4.10067 1.74967 7.00016C1.74967 9.89966 4.10018 12.2502 6.99967 12.2502C9.89917 12.2502 12.2497 9.89966 12.2497 7.00016C12.2497 4.10067 9.89917 1.75016 6.99967 1.75016ZM0.583008 7.00016C0.583008 3.45634 3.45585 0.583496 6.99967 0.583496C10.5435 0.583496 13.4163 3.45634 13.4163 7.00016C13.4163 10.544 10.5435 13.4168 6.99967 13.4168C3.45585 13.4168 0.583008 10.544 0.583008 7.00016ZM6.41634 4.66683C6.41634 4.34466 6.67751 4.0835 6.99967 4.0835H7.00551C7.32767 4.0835 7.58884 4.34466 7.58884 4.66683C7.58884 4.989 7.32767 5.25016 7.00551 5.25016H6.99967C6.67751 5.25016 6.41634 4.989 6.41634 4.66683ZM6.99967 6.41683C7.32184 6.41683 7.58301 6.678 7.58301 7.00016V9.3335C7.58301 9.65566 7.32184 9.91683 6.99967 9.91683C6.67751 9.91683 6.41634 9.65566 6.41634 9.3335V7.00016C6.41634 6.678 6.67751 6.41683 6.99967 6.41683Z" fill="url(#paint0_linear_4493_116)"/>\n<defs>\n<linearGradient id="paint0_linear_4493_116" x1="9.23362" y1="14.7353" x2="-7.16233" y2="0.909066" gradientUnits="userSpaceOnUse">\n<stop stop-color="#D6FFDC"/>\n<stop offset="0.671344" stop-color="#74B580"/>\n<stop offset="1" stop-color="#509142"/>\n</linearGradient>\n</defs>\n</svg>\n'}),i("div",{class:"Text"},f("poweringTooltip",this.language)))),this.powerups.map(((e,t)=>{const n=t===this.powerups.length-1;return i("div",{class:`Card ${e.status===a.ACTIVATED?"Actived":""} ${n?"LastItem":""}`,ref:n?e=>this.lastItemElement=e:null},i("div",{class:"PowerupTitle FlexRow"},i("div",{class:"LeftOfRow"},i("div",{class:"EnergyIcon",innerHTML:'<svg width="16" height="23" viewBox="0 0 16 23" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M14.9994 7.31774H10.7237L13.8675 1.56809C13.9553 1.40902 14.0015 1.22856 14.0015 1.04488C14.0014 0.861196 13.955 0.680783 13.867 0.521802C13.779 0.362822 13.6525 0.230887 13.5002 0.139282C13.3479 0.0476784 13.1752 -0.000360859 12.9995 2.04092e-06H6.00004C5.81422 -8.84852e-05 5.63206 0.0539544 5.47398 0.156068C5.3159 0.258181 5.18817 0.404325 5.1051 0.578103L0.105459 11.032C0.0292615 11.1914 -0.00668829 11.3686 0.00102409 11.5466C0.00873646 11.7246 0.0598548 11.8976 0.149524 12.0492C0.239193 12.2008 0.364436 12.3259 0.513357 12.4126C0.662278 12.4993 0.829932 12.5448 1.0004 12.5447H5.65607L3.04225 21.6532C2.97593 21.8834 2.98756 22.1306 3.0752 22.3529C3.16284 22.5752 3.32112 22.7592 3.52336 22.8738C3.7256 22.9883 3.95944 23.0265 4.18546 22.9818C4.41147 22.9371 4.61585 22.8124 4.76413 22.6285L15.7634 9.03845C15.8866 8.88622 15.9656 8.70031 15.9911 8.50267C16.0165 8.30503 15.9874 8.10389 15.9071 7.923C15.8267 7.74211 15.6986 7.58901 15.5378 7.48176C15.377 7.37452 15.1902 7.3176 14.9994 7.31774ZM6.33702 17.4465L7.9579 11.8014C8.00301 11.6452 8.01251 11.4801 7.98565 11.3194C7.95878 11.1586 7.8963 11.0067 7.80319 10.8757C7.71009 10.7447 7.58895 10.6384 7.44947 10.5651C7.31 10.4919 7.15605 10.4538 6.99997 10.4539H2.61828L6.618 2.09078H11.2757L8.13189 7.84043C8.04405 7.9995 7.99784 8.17996 7.99792 8.36364C7.99801 8.54732 8.04439 8.72774 8.13238 8.88672C8.22038 9.0457 8.34689 9.17763 8.49917 9.26924C8.65146 9.36084 8.82414 9.40888 8.99983 9.40852H12.8436L6.33702 17.4465Z" fill="url(#paint0_linear_3660_5836)"/>\n<defs>\n<linearGradient id="paint0_linear_3660_5836" x1="0" y1="0" x2="21.8708" y2="9.53767" gradientUnits="userSpaceOnUse">\n<stop stop-color="#F68B2E"/>\n<stop offset="1" stop-color="#F6BB5C"/>\n</linearGradient>\n</defs>\n</svg>\n'}),i("div",{class:"Name"},e.powerUpName)),i("div",{class:"DetailIcon",onClick:this.showDetail.bind(this,e)},i("div",{class:"IconBtn CircleLinearBorder",innerHTML:'<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M2.33398 2.3335L7.00065 7.00016L2.33398 11.6668" stroke="white" stroke-width="0.952264" stroke-linecap="round" stroke-linejoin="round"/>\n<path d="M7 2.3335L11.6667 7.00016L7 11.6668" stroke="white" stroke-width="0.952264" stroke-linecap="round" stroke-linejoin="round"/>\n</svg>\n'}))),i("div",{class:"ExpireTime Status CircleLinearBorder"},i("time-count",e.status===a.ACTIVATED?{"in-progress":!0,mode:e.boostingPeriod.mode,"left-rounds":(e.boostingPeriod.numberOfRounds||0)-(e.usedNumberOfRounds||0),language:this.language,"expire-time":(r=e,r.activatedAt&&r.status==a.ACTIVATED?s(r.activatedAt).add(r.boostingPeriod.minutes,"minute").format("YYYY-MM-DDTHH:mm:ssZ"):r.expireTime)}:{language:this.language,mode:e.boostingPeriod.mode,"expire-time":e.expireTime})),i("div",{class:"MultiplierInfo FlexRow"},i("div",{class:"LeftOfRow"},i("div",{class:"MultiplierIcon",innerHTML:'<svg width="10" height="12" viewBox="0 0 10 12" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M3.03794 4.01199L3.03683 4.01253L3.03516 4.01361L3.03794 4.01199ZM8.56797 3.91054C8.52932 3.87413 8.48643 3.84227 8.44019 3.81561C8.37472 3.77797 8.30204 3.75384 8.22664 3.74472C8.15125 3.7356 8.07473 3.74167 8.00184 3.76257C7.92894 3.78347 7.86121 3.81874 7.80282 3.86621C7.74444 3.91369 7.69665 3.97235 7.66241 4.03857C7.47107 4.40687 7.20713 4.73466 6.88574 5.00311C6.93501 4.73271 6.95992 4.45861 6.96018 4.18395C6.96124 3.3486 6.73559 2.52789 6.3062 1.80538C5.87681 1.08287 5.25902 0.484375 4.51572 0.0708199C4.43382 0.0253751 4.34142 0.00101547 4.24722 3.10685e-05C4.15301 -0.000953328 4.0601 0.0214698 3.97722 0.0651925C3.89433 0.108915 3.82419 0.172501 3.77339 0.249974C3.7226 0.327446 3.69281 0.416259 3.68683 0.508064C3.65573 1.0224 3.51802 1.52521 3.28205 1.98604C3.04608 2.44688 2.71676 2.85614 2.31405 3.18903L2.18627 3.29048C1.76494 3.56728 1.39202 3.90853 1.08182 4.30113C0.599746 4.89413 0.265808 5.58866 0.106489 6.32962C-0.0528307 7.07059 -0.0331479 7.83762 0.163976 8.56986C0.361099 9.30211 0.730241 9.97943 1.24212 10.5481C1.754 11.1168 2.39454 11.5612 3.11294 11.846C3.19728 11.8796 3.28877 11.8923 3.37936 11.8832C3.46994 11.8741 3.55684 11.8434 3.63241 11.7937C3.70797 11.7441 3.76989 11.6771 3.8127 11.5986C3.85552 11.5202 3.87792 11.4326 3.87794 11.3437C3.87748 11.2862 3.86812 11.2292 3.85017 11.1744C3.72587 10.7182 3.69006 10.2433 3.74461 9.77428C4.27043 10.7424 5.11436 11.5097 6.14073 11.9529C6.26596 12.0076 6.4075 12.0149 6.53796 11.9735C7.34878 11.7179 8.07921 11.2641 8.65986 10.6553C9.24051 10.0464 9.65209 9.3027 9.8555 8.49478C10.0589 7.68686 10.0474 6.84157 9.82205 6.03922C9.5967 5.23687 9.165 4.5041 8.56797 3.91054ZM6.39851 10.8712C5.91423 10.6316 5.48701 10.2951 5.14463 9.88369C4.80226 9.47226 4.55239 8.99508 4.41128 8.48316C4.36814 8.31077 4.33475 8.13618 4.31128 7.96021C4.29547 7.84814 4.24418 7.74371 4.16459 7.66152C4.085 7.57932 3.98109 7.52348 3.86739 7.5018C3.83243 7.49517 3.79689 7.4919 3.76128 7.49204C3.66366 7.49195 3.56775 7.51697 3.48319 7.56459C3.39863 7.6122 3.32841 7.68074 3.27961 7.76328C2.81874 8.53972 2.58703 9.42559 2.61016 10.3227C2.20469 10.015 1.86581 9.6317 1.61316 9.19511C1.36052 8.75852 1.19913 8.27731 1.13836 7.77936C1.07759 7.28142 1.11864 6.77664 1.25913 6.29431C1.39963 5.81197 1.63677 5.36166 1.95682 4.96948C2.19983 4.66126 2.49299 4.39406 2.8246 4.17853C2.83912 4.16944 2.85303 4.15948 2.86627 4.14869C2.86627 4.14869 3.03072 4.01578 3.03627 4.01307C3.82805 3.3594 4.39126 2.4808 4.64739 1.49973C5.25263 2.04621 5.65615 2.77254 5.79529 3.56593C5.93442 4.35932 5.80139 5.17538 5.41684 5.88736C5.36595 5.9824 5.34505 6.09002 5.35677 6.19665C5.36849 6.30328 5.41232 6.40412 5.48271 6.48644C5.5531 6.56876 5.64689 6.62886 5.75224 6.65914C5.8576 6.68943 5.96978 6.68855 6.07462 6.65661C6.92559 6.39601 7.67437 5.88711 8.22019 5.1984C8.54836 5.67158 8.76292 6.21098 8.8479 6.77639C8.93287 7.34181 8.88606 7.91866 8.71095 8.46396C8.53584 9.00925 8.23695 9.50892 7.83657 9.92572C7.43618 10.3425 6.94461 10.6657 6.39851 10.8712Z" fill="white" fill-opacity="0.5"/>\n</svg>\n'}),i("div",{class:"MultiplierValue"},e.multiplier.coefficient,"x"),i("div",{class:"MultiplierMode"},f(e.multiplier.mode===c.COINS?"coins":"xp",this.language)),i("div",{class:"MultiplierIcon",innerHTML:'<svg width="11" height="12" viewBox="0 0 11 12" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M9.02187 3.84217L9.59599 3.27436C9.71479 3.15556 9.78153 2.99444 9.78153 2.82643C9.78153 2.65842 9.71479 2.49729 9.59599 2.37849C9.47719 2.25969 9.31606 2.19295 9.14805 2.19295C8.98004 2.19295 8.81891 2.25969 8.70011 2.37849L8.1323 2.95261C7.24813 2.26862 6.16191 1.89751 5.04405 1.89751C3.9262 1.89751 2.83997 2.26862 1.9558 2.95261L1.38168 2.37218C1.26205 2.25338 1.10012 2.18697 0.931516 2.18756C0.762915 2.18815 0.601455 2.2557 0.482654 2.37533C0.363853 2.49497 0.297445 2.6569 0.298036 2.8255C0.298628 2.9941 0.366171 3.15556 0.485809 3.27436L1.06624 3.84848C0.374149 4.73019 -0.00137735 5.819 1.65478e-05 6.93989C-0.00204377 7.74455 0.188317 8.53804 0.555222 9.25419C0.922128 9.97034 1.45494 10.5884 2.10923 11.0568C2.76352 11.5252 3.52032 11.8303 4.31651 11.9468C5.11269 12.0633 5.9252 11.9878 6.68625 11.7264C7.4473 11.4651 8.13485 11.0256 8.69154 10.4446C9.24824 9.86362 9.65795 9.15792 9.8865 8.3864C10.1151 7.61487 10.1558 6.79988 10.0054 6.0094C9.85502 5.21892 9.51779 4.47585 9.02187 3.84217ZM5.04721 10.7253C4.29853 10.7253 3.56666 10.5033 2.94415 10.0873C2.32165 9.67138 1.83647 9.08018 1.54996 8.38849C1.26345 7.6968 1.18849 6.93569 1.33455 6.20139C1.48061 5.4671 1.84113 4.79261 2.37053 4.26321C2.89993 3.73381 3.57442 3.37329 4.30871 3.22723C5.04301 3.08117 5.80412 3.15613 6.49581 3.44264C7.1875 3.72915 7.7787 4.21433 8.19465 4.83683C8.61059 5.45934 8.8326 6.19121 8.8326 6.93989C8.8326 7.94383 8.43378 8.90666 7.72388 9.61656C7.01399 10.3265 6.05116 10.7253 5.04721 10.7253ZM3.78541 1.2618H6.309C6.47633 1.2618 6.6368 1.19533 6.75512 1.07701C6.87343 0.958695 6.9399 0.798223 6.9399 0.630899C6.9399 0.463574 6.87343 0.303102 6.75512 0.184786C6.6368 0.0664695 6.47633 0 6.309 0H3.78541C3.61808 0 3.45761 0.0664695 3.3393 0.184786C3.22098 0.303102 3.15451 0.463574 3.15451 0.630899C3.15451 0.798223 3.22098 0.958695 3.3393 1.07701C3.45761 1.19533 3.61808 1.2618 3.78541 1.2618ZM5.67811 5.04719C5.67811 4.87987 5.61164 4.71939 5.49332 4.60108C5.375 4.48276 5.21453 4.41629 5.04721 4.41629C4.87988 4.41629 4.71941 4.48276 4.60109 4.60108C4.48278 4.71939 4.41631 4.87987 4.41631 5.04719V6.23959C4.27345 6.36736 4.17276 6.5355 4.12756 6.72175C4.08235 6.908 4.09477 7.10359 4.16315 7.28263C4.23154 7.46168 4.35268 7.61573 4.51054 7.72442C4.66841 7.83311 4.85555 7.8913 5.04721 7.8913C5.23887 7.8913 5.42601 7.83311 5.58387 7.72442C5.74173 7.61573 5.86287 7.46168 5.93126 7.28263C5.99965 7.10359 6.01206 6.908 5.96686 6.72175C5.92165 6.5355 5.82096 6.36736 5.67811 6.23959V5.04719Z" fill="white" fill-opacity="0.5"/>\n</svg>\n'}),i("div",{class:"MultiplierValue"},e.boostingPeriod[e.boostingPeriod.mode===o.NUMBER_OF_ROUNDS?"numberOfRounds":"minutes"]),i("div",{class:"MultiplierMode"},f(e.boostingPeriod.mode===o.NUMBER_OF_ROUNDS?e.boostingPeriod.numberOfRounds>1?"rounds":"round":"minutes",this.language))),(e.status===a.ACTIVE||e.status===a.ACTIVATING)&&i("div",{class:`ActiveBtn CircleLinearBorder ${this.isPowering||this.isActivating||!e.isValidForCurrentGame?"Disabled":""} ${this.isActivating?"Activating":""}`,onClick:()=>this.onActiveBtnClick(e)},i("div",{class:"content"}," ",f("activate",this.language)))));var r})),this.isLoading&&this.powerups.length>0&&i("smart-loader",null)):i("div",{class:"EmptyPowerups Cards"},i("div",{class:"Icon",innerHTML:'<svg width="52" height="52" viewBox="0 0 52 52" fill="none" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n<rect width="52" height="52" fill="url(#pattern0_1132_30534)"/>\n<defs>\n<pattern id="pattern0_1132_30534" patternContentUnits="objectBoundingBox" width="1" height="1">\n<use xlink:href="#image0_1132_30534" transform="scale(0.01)"/>\n</pattern>\n<image id="image0_1132_30534" width="100" height="100" preserveAspectRatio="none" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAACXBIWXMAAAsTAAALEwEAmpwYAAAHlElEQVR4nO2daYwURRTH/4tnvPCI9xE1ahQTNZmp6gXRzar4wTtGvPWLUeIVPxgVNWbizqvZRdTAGoioEQwaFDWK0YBCvMUbJWJIBD8QOUIEowhEQFjzepu4WaZ6qnp6tqub+iX9hexUV/W/Xh3vvSoAj8fj8Xg8Ho/H4/F4ikapB8PLNYiyws2S8LBU6JEKU4TCNKkwWSjUhML9ZYWrRRfOPGUy9sm6zoWio4IDpMI1/NElYalU6LN5hMI2SVgoFUgqdI6djT2yblP+6ENbuYqLJGGmJGy0FSFWIMIqQZgoFUZk3Uz3qWBYmXC5VPg2TRFinvmS0J51s51EKnQKws9DJMRgq5kjqzgp62/gBOcoHC4VXs5CiEGibBaERzsq2BO7K6KK84XCykQfUOGvaGibJxVms6hC4Q0ehiJL25Kw3M9kD47D7oYkPBCugEw/FmGFJEwVCteafDDu6SWF06XCOKnwqiBssBDmd1nFBdgtqGAY7xcMe+u2aDjr5N8189pSBfsJhRsF4VNDUbaw+Ci8GISZBuP5v5LwXKsmWqlwnlD4yECU7WxhKCqSMNVgaPom6EZpKOrDFiMJaxqJUq7iOhQNSag0aji7PYZ6lROu8ghzDYavC1EURA2XScKOGKvYyH+T8VBabTjRF2H1Va7ieElYFzNxr3dlt1wm3BXNG9olce73KZKwIKaBf7PnFg4RiRJnKY8gr4STZsySNlAYAweJPMM6QTYF3TgReUNWcFCDFcyDcHuvNC9mWT4HeUMojI8RYx672OEwIys4Iq5DlQgSeaGjgn11jRGEzeVunIwcEEYl9UPu28gLcROjIDxmWx6HYjlimDTaF/Z2hek8jFr9sA9tkvCxZqm+I+jCGcgDugCTUFg/agIOtCkrchCujsqYbbvsjIaen6LO8N3obhxi8/uyQkfM0NsD1+HQaIx1PG5rGUJh7aAyZplaSmQZSwb17IW2lhK65Ot3sJXOx+j5o2sE2d5OOLYZMWxEqStGQlFEFTfpOhlbEFxGKnyhqfx80zJ4WBKEZXEbtDhRYsX4/5luWp+zJmJ/3sRqyumC0yk7hK2aio+zKUvUMDKKClqJYijGEv47q/oQXtdY2+dwFfaIaj9eDadZl2cpSqvEiNp2p0aQrSMq2BsuIhXu1lR6TdIyTUUZNQHHtEqMRosVZ5e/ktCrEWRBM+WaiGKQUJdYjJ3zWkzixFVwEUF4T1PhKU2XbSJKi8TYiS6VlXOJ4SI8wbXSZS2SiZKKGEyY6VjfOqtwEUFYrOlB96b1Do63C8IfRmIQlpYIR6f1bkF4SzOHTYKLSIXlmo9zW5rvCWq4wkCMjTzRp/leXcaMILwAF9Hl5rKzESkx0Ddl8Fj7vpLsRYTCM3ARqfC1pgc9lIEYqYsiCO9r2qfgItp0GsKTzZZtuOmr+9g4JBu0b5HGQsbDRdh0NR/lnQwsI11L6UOb1p9VxQ1wEV5NaXrosqRlmrpDJOHKJL4vU0o9OEFX7lBlWlpTUjhXM2TtEE/gKNvybH1TSR2SJrAV6NpmG3QbMtjJxmky9SpetsyPNRqm6uwzDPcp1sOXVHhe1yHgMoLwgebjvWIZD1lsahkJd/TG7hy2KD4sqmlXL1wmINyh+QCbbEw7ULg+PJZgKYaJKByJ5IikRV3GxAjrpmNxJ6KGw3ReUaFwu01ZGlGMfVP1RLEVIyyHMEszH23gg0BwnejMX93V1ljLCXWQKPaRvgGiJBEj6MKpMZZqHAbOlKCGQGviNdxiXV6/KIuTem1DUQjLbMVgJGFGzHDVibwgFT7RWMmqJMvEZt0fSX7PQuqOJwiF711Ph921MfpDOpPhOKVp2Esq/KCzDr7cBnlDN5dIFopwKRxGKjylE0MQfmz2VHAmcGKcJPypEWWdq9dZcO/XWjfn9FYxGnmFl7oxk+LyQOFIuLYgiUmYEIQXkWvYS6oJfcr+HrcorZh3GmLEul0IK9orOBR55+wKDo4J7/KK5Zesh6+ghktiU4kIW3mhgiLAFiAaXb1EWJfJ0egKhvGZlZjNX/gECvehCFhF+ihcffVaH6xJSLQL/9CgXk1HPJ2gibDrakm4tVVnwqMhlCThn0Z1EQov5WoD2IoYuBy4CmPvcUoWw1E/TkjQLsV3tYzeXO43kogh+ucU7URf57a3WXzu3TbxLUySJtwTnRXU3tIw6NnOV9CiCNiEXUs9GC4JbyaxHM4jFoSnOcWI877Yknji5Wv6BOFZnht0J7AaDFFrZQ0XowgkOp/RhzbObDQeRlr5EOamne2YGc0elmlnNwv7vuJuDWrRIwi/8WXNKAppnlyShHad674Fz2o+SsBnCFEU2BfVipNLQb9P6bWkt4vGWoTCl3zmkW+cQJFolRgDYd8ROyjDvNrk145v4csvwx15grOOuWAoxKgXNCpXMSq6uoP/J4R3BeGrKHPxVw4ohR++/98nRQc1O3ORiNAMSZPYPC3Ai+EQXgyH8GI4hBfDIbwYDuHFcAgvhkN4MRzCi+EQXgyH8GI4hBcjLzfBDfDaupaDW3g4WcBbhuuieDEcEsWL4Q5hnpOfMzwej8fj8Xg8Ho/H4/GgyPwHN+MBWXHaP7AAAAAASUVORK5CYII="/>\n</defs>\n</svg>\n'}),i("span",{class:"NoPowerTitle"},f("nothingHere",this.language)),i("div",{class:"NoPowerDescription"},i("span",null,f("noPowerUpsNow")),i("span",null,f("gotoShop"))),i("div",null)),i("active-confirm-modal",{key:"8591d7fc76cfa6effaebd4fbf9a9f5a418bad119","is-open":this.showConfirmModal,pid:null===(e=this.currentPowerup)||void 0===e?void 0:e.id,language:this.language}),i("div",{key:"590c3ceaebe5aca9f64d6210a2adaff17700faa5",class:`ToastWrapper ${this.showToasting?"Shown":"Hidden"} ${(null===(t=this.activeMessage)||void 0===t?void 0:t.isSuccessed)?"Success":"Failed"}`},i("div",{key:"7df6ac445d05c7cd19a6af7df50bb88031dfed47",class:"Details"},i("span",{key:"4735edc51e995f5853e488f3ff24a13619a8283e",class:"Info"},null===(n=this.activeMessage)||void 0===n?void 0:n.info),(null===(r=this.activeMessage)||void 0===r?void 0:r.detail)&&i("span",{key:"19e1117d681fcd38e13e134e3f57ddc5c9c078ed",class:"Detail"}," - [ ",this.activeMessage.detail," ]"))))}handleClientStylingChange(e,t){e!=t&&l(this.stylingContainer,this.clientStyling)}handleClientStylingUrlChange(e,t){e!=t&&h(this.stylingContainer,this.clientStylingUrl)}handleMbSourceChange(e,t){e!=t&&d(this.stylingContainer,`${this.mbSource}.Style`,this.stylingSubscription)}handleNewTranslations(){m(this.translationUrl)}async componentWillLoad(){this.translationUrl&&await m(this.translationUrl),this.handleConfigChange()}componentDidLoad(){this.stylingContainer&&(this.mbSource&&d(this.stylingContainer,`${this.mbSource}.Style`,this.stylingSubscription),this.clientStyling&&l(this.stylingContainer,this.clientStyling),this.clientStylingUrl&&h(this.stylingContainer,this.clientStylingUrl))}disconnectedCallback(){this.abortController&&this.abortController.abort(),this.loadMoreObserver&&this.loadMoreObserver.disconnect(),this.stylingSubscription&&this.stylingSubscription.unsubscribe(),this.timerId&&clearTimeout(this.timerId)}static get assetsDirs(){return["../assets"]}static get watchers(){return{session:["handleConfigChange"],endpoint:["handleConfigChange"],limit:["handleConfigChange"],language:["handleConfigChange"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"],mbSource:["handleMbSourceChange"],translationUrl:["handleNewTranslations"]}}};L.style='@charset "UTF-8";.FlexRow{display:flex;flex-direction:row;justify-content:space-between;align-items:flex-start;gap:5px}.IngamePowerUpsContainer{display:block;transition:opacity 200ms ease-in-out;height:100%;padding:var(--emw--ingame-power-container-padding, 8px);}.IngamePowerUpsContainer .EmptyPowerups{align-items:center;justify-content:center;font-weight:400;font-size:1.2em;line-height:24px;text-align:center;vertical-align:middle;width:max-content;margin:auto;display:flex;flex-direction:column;padding:50px}.IngamePowerUpsContainer .EmptyPowerups.Cards{height:calc(100% - 260px)}.IngamePowerUpsContainer .EmptyPowerups .Icon,.IngamePowerUpsContainer .EmptyPowerups .NoPowerTitle{text-align:center}.IngamePowerUpsContainer .EmptyPowerups .Icon svg,.IngamePowerUpsContainer .EmptyPowerups .NoPowerTitle svg{width:40px}.IngamePowerUpsContainer .EmptyPowerups .NoPowerTitle{font-size:1.2em;font-weight:bold;margin:10px}.IngamePowerUpsContainer .EmptyPowerups .NoPowerDescription{display:flex;flex-direction:column}.IngamePowerUpsContainer .ToastWrapper{position:absolute;width:80%;display:flex;gap:10px;align-items:center;opacity:0;z-index:1000;transition:opacity 0.5s ease-out;bottom:10px;right:10px;height:40px;border-top-left-radius:8px;border-bottom-left-radius:8px;border-width:1px;padding:8px 15px}.IngamePowerUpsContainer .ToastWrapper.Shown{opacity:1}.IngamePowerUpsContainer .ToastWrapper.Hidden{opacity:0;z-index:-1;display:inherit}.IngamePowerUpsContainer .ToastWrapper.Failed,.IngamePowerUpsContainer .ToastWrapper.Success{padding:10px;border-radius:10px;background:linear-gradient(180deg, #262849 0%, #191B31 50%, #16102A 100%)}.IngamePowerUpsContainer .ToastWrapper.Success{border:1px solid;border-image-source:linear-gradient(94.32deg, var(--emw--ingame-color-pth-primary1, #9500FF) 4.41%, var(--emw--ingame-color-pth-primary2, #232EC4) 113.86%)}.IngamePowerUpsContainer .ToastWrapper.Failed{border:1px solid var(--emw--ingame-color-light-red, #FF4D4F)}.IngamePowerUpsContainer .IconBtn{width:26px;height:26px}.IngamePowerUpsContainer .Hidden{opacity:0 !important;display:none}.IngamePowerUpsContainer .CircleLinearBorder{position:relative;border-radius:20px;background:none;overflow:hidden;border:1.5px solid transparent;display:flex;align-items:center;justify-content:center;cursor:pointer}.IngamePowerUpsContainer .CircleLinearBorder svg{border-radius:20px;padding:4.5px;background:var(--emw--ingame-color-powerup-bg, rgba(9, 9, 9, 0.8980392157));z-index:1}.IngamePowerUpsContainer .CircleLinearBorder::before{content:"";position:absolute;top:-1.5px;left:-1.5px;right:-1.5px;bottom:-1.5px;z-index:0;border-radius:21.5px;background:linear-gradient(0deg, var(--emw--ingame-color-white10, rgba(255, 255, 255, 0.0666666667)), var(--emw--ingame-color-white10, rgba(255, 255, 255, 0.0666666667))), linear-gradient(35.22deg, var(--emw--ingame-color-white10, rgba(255, 255, 255, 0)), var(--emw--ingame-color-white30, rgba(255, 255, 255, 0.5490196078)) 89.19%)}.IngamePowerUpsContainer .TopBar{opacity:1;transition:all 0.5s ease-in-out;display:flex;justify-content:space-between;align-items:center;padding:15px}.IngamePowerUpsContainer .TopBar .BarTitle{width:calc(100% - 20px);font-weight:600;font-size:1.2rem;text-align:center;vertical-align:middle}.IngamePowerUpsContainer .Cards{opacity:1;transition:all 0.5s ease-in-out;width:100%;height:calc(100% - 70px);gap:16px;opacity:1;padding:1px;overflow:auto;display:flex;flex-direction:column;scrollbar-width:thin;scrollbar-color:var(--emw--color-background, hsl(254, 8.53%, 54.93%)) transparent}.IngamePowerUpsContainer .Cards .Card{background-color:var(--emw--ingame-color-powerup-bg, rgba(27, 27, 27, 0.8901960784));border:1px solid var(--emw--ingame-color-white10, rgba(255, 255, 255, 0.1019607843));height:99px;gap:12px;opacity:1;border-radius:18px;border-width:1px;padding:14px;align-items:center}.IngamePowerUpsContainer .Cards .Card.PoweringDesc{align-items:flex-start;height:auto;transition:all 0.3s ease-in-out}.IngamePowerUpsContainer .Cards .Card.Hidden{display:none}.IngamePowerUpsContainer .Cards .Card .LeftOfRow{display:flex;flex-direction:row;gap:10px}.IngamePowerUpsContainer .Cards .Card .PowerupTitle,.IngamePowerUpsContainer .Cards .Card .ExpireTime,.IngamePowerUpsContainer .Cards .Card .MultiplierInfo{display:flex;flex-direction:row;align-items:center}.IngamePowerUpsContainer .Cards .Card .PowerupTitle{font-weight:bold}.IngamePowerUpsContainer .Cards .Card .PowerupTitle .LeftOfRow{width:calc(100% - 40px)}.IngamePowerUpsContainer .Cards .Card .PowerupTitle .Name{width:calc(100% - 40px);text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.IngamePowerUpsContainer .Cards .Card .MultiplierInfo{align-items:flex-end;height:37.6px}.IngamePowerUpsContainer .Cards .Card .MultiplierInfo .MultiplierIcon{height:12px}.IngamePowerUpsContainer .Cards .Card .MultiplierInfo .LeftOfRow{color:var(--emw--ingame-color-white60, rgba(255, 255, 255, 0.4980392157));font-size:0.8rem;gap:3px;align-items:center}.IngamePowerUpsContainer .Cards .Card .MultiplierInfo .LeftOfRow .MultiplierMode{margin-right:15px}.IngamePowerUpsContainer .Cards .Card .Status{display:flex;flex-direction:row;justify-content:center;align-items:center;gap:6px;font-size:0.8rem;width:max-content;height:25px;backdrop-filter:blur(4.6px);flex-grow:0;border:0px solid;opacity:1;padding:1px}.IngamePowerUpsContainer .Cards .Card .Status::before{background:linear-gradient(97.6deg, var(--emw--ingame-color-white10, rgba(255, 255, 255, 0.2)) 11.03%, var(--emw--ingame-color-white00, rgba(255, 255, 255, 0)) 95.17%), linear-gradient(0deg, var(--emw--ingame-color-white10, rgba(255, 255, 255, 0.2)), var(--emw--ingame-color-white10, rgba(255, 255, 255, 0.2)))}.IngamePowerUpsContainer .Cards .Card .Status .InprogressLabel{width:fit-content;min-width:100px}.IngamePowerUpsContainer .Cards .Card .Status time-count{min-width:172px}.IngamePowerUpsContainer .Cards .Card .Status time-count{background-color:var(--emw--ingame-color-black-middle, #020308);width:calc(100% - 4px);height:calc(100% - 4px);border-radius:20px;text-align:center;align-items:center;display:flex;justify-content:center;padding:2.2px;z-index:1;padding-right:10px}.IngamePowerUpsContainer .Cards .Card .ActiveButton.Activating{background-color:var(--emw--ingame-color-white30, rgba(255, 255, 255, 0.3019607843));color:var(--emw--ingame-color-white30, rgba(255, 255, 255, 0.3019607843))}.IngamePowerUpsContainer .Cards .Card time-count .Label{margin-right:5px}.IngamePowerUpsContainer .Cards .Card time-count .InprogressLabel{text-align:left;width:fit-content;padding:0 5px;border-radius:18px;border:1px solid rgba(175, 165, 165, 0.5098039216);line-height:21px;margin-right:10px}.IngamePowerUpsContainer .Cards .Card time-count .InprogressLabel .Icon{height:5px;width:5px;background-color:var(--New-Indicator-Yellow, #FFB801);border-radius:3px;display:inline-block;margin-right:5px}.IngamePowerUpsContainer .Cards .Card time-count .TimeCountDown{letter-spacing:1.5px;font-weight:bold;text-transform:capitalize}.IngamePowerUpsContainer .ActiveBtn{color:var(--emw--ingame-color-black, #090909);position:relative;background:none;overflow:hidden;min-width:88px;height:36px;font-weight:bold;gap:10px;border-radius:20px;animation-duration:0ms}.IngamePowerUpsContainer .ActiveBtn.Disabled .content{background-color:var(--emw--ingame-color-white20, rgba(255, 255, 255, 0.2));color:var(--emw--ingame-color-white20, rgba(255, 255, 255, 0.2))}.IngamePowerUpsContainer .ActiveBtn.Disabled:hover,.IngamePowerUpsContainer .ActiveBtn.Disabled:before{box-shadow:none;background:none}.IngamePowerUpsContainer .ActiveBtn:hover{box-shadow:0px 0px 3px 5px var(--emw--ingame-color-white10, rgba(255, 255, 255, 0.1019607843))}.IngamePowerUpsContainer .ActiveBtn::before{content:"";position:absolute;top:-1px;left:-1px;right:-1px;bottom:-1px;z-index:1;border-radius:18px;background:linear-gradient(to top right, var(--emw--ingame-color-powerup-brightgreen, #00FA5A), var(--emw--ingame-color-powerup-brightblue, rgba(50, 237, 221, 0.8901960784)))}.IngamePowerUpsContainer .ActiveBtn .content{line-height:1.6;background:var(--emw--ingame-color-powerup-brightgreen, #00FA5A);border-radius:18px;padding:1px;height:calc(100% - 4px);width:calc(100% - 4px);text-align:center;align-items:center;display:flex;justify-content:center;z-index:1}';const N=class{constructor(t){e(this,t),this.progressPath=u({x:1.5,y:1.5,width:this.svgWidth-3||89,height:this.svgHeight-3||24}),this.percent=0,this.svgWidth=90,this.svgHeight=25,this.percentEnabled=!1,this.pathLength=1e3,this.endPointLocation=null,this.dashOffset=1e3}updateDashOffset(){const e=Math.max(0,Math.min(100,this.percent));if(this.dashOffset=this.pathLength?this.pathLength-this.pathLength*e/100:0,this.pathRef){const{x:e,y:t}=this.pathRef.getPointAtLength(this.rectRef.getTotalLength()-this.dashOffset);this.endPointLocation={x:e,y:t}}}componentDidLoad(){this.percentEnabled&&(this.pathRef&&(this.pathLength=this.pathRef.getTotalLength()),this.updateDashOffset(),setTimeout((()=>{const{x:e,y:t}=this.pathRef.getPointAtLength(0);this.endPointLocation={x:e,y:t}}),2e3))}handleSvgWidthChange(e,t){this.progressPath=u({x:1.5,y:1.5,width:this.svgWidth-3||89,height:this.svgHeight-3||24}),setTimeout((()=>{this.pathLength=this.pathRef.getTotalLength(),this.updateDashOffset()}),300)}handlePercentChange(e,t){e!=t&&(this.pathLength=this.pathRef.getTotalLength())}render(){this.percentEnabled&&this.updateDashOffset();const e={strokeDasharray:`${this.pathLength}`,strokeDashoffset:`${this.dashOffset}`};return i("svg",{key:"6e0a1dcdddc7207cc2a5e2040796bc2f880cb889",width:this.svgWidth,height:this.svgHeight+5,preserveAspectRatio:"xMinYMin slice",viewBox:`0 0 ${this.svgWidth+6} ${this.svgHeight+10}`,fill:"none",xmlns:"http://www.w3.org/2000/svg"},i("defs",{key:"b1a360fb2320a1d3a89f98104b4181db578f1fd8"},i("filter",{key:"98477d129d300a4c0b1954578fa6be64aad26372",id:"filter0_d_4308_1253",x:"0",y:"0",width:this.svgWidth+6,height:this.svgHeight+10,filterUnits:"userSpaceOnUse","color-interpolation-filters":"sRGB"},i("feFlood",{key:"a224ce65f432ed9e80ed3506c110be2cc25df94e","flood-opacity":"0",result:"BackgroundImageFix"}),i("feColorMatrix",{key:"fb9ea151461fe0ae7e489b281051b25d16ca8805",in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),i("feOffset",{key:"56e77cd005c3e870e0195615fa59790e86fea6df",dy:"4"}),i("feGaussianBlur",{key:"c80ade886900c78924a3da42c2ec25b8613aa87f",stdDeviation:"2"}),i("feComposite",{key:"1366aecdd59031a8ff9782fb5fdd8759a51a5ffd",in2:"hardAlpha",operator:"out"}),i("feColorMatrix",{key:"843b51564c4813ab289f0b7c365400a806d4106f",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}),i("feBlend",{key:"e854ca547e6cccbf95fe0cfefac77bd23d949d5a",mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_4308_1253"}),i("feBlend",{key:"5373f19ecc30e6aa01269072c9c18577f02942cb",mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_4308_1253",result:"shape"})),this.percentEnabled&&i("linearGradient",{key:"a80c7bafcd183eadf3377c3e438152e7b7246721",id:"paint0_linear_4308_1253",x1:"9.0486",y1:"2.42552",x2:"66.0238",y2:"29.7636",gradientUnits:"userSpaceOnUse"},i("stop",{key:"a7310fb7a5eea6cce63e1b985c6562d750408c5f",offset:"0.129184","stop-color":"#FF9400"}),i("stop",{key:"02a832295c2921a82713ec83425a032b39aa0262",offset:"0.721154","stop-color":"#FFE24A"}),i("stop",{key:"100350e627651422631a52c398d7f43d1ffdd80c",offset:"0.993007","stop-color":"#FEF746"})),i("linearGradient",{key:"5438a9102fdb80ff83235559db1929c81208ae85",xmlns:"http://www.w3.org/2000/svg",id:"paint0_linear_966_23141",x1:"9.5",y1:"6",x2:"63.5251",y2:"52.049",gradientUnits:"userSpaceOnUse"},i("stop",{key:"1a243f7df141919f28928ecc0e596c5f83c5f168","stop-color":"#1F3C30"}),i("stop",{key:"f93e4817dec2db3d546c4ca808649dd842d9ad97",offset:"1","stop-color":"#125952"})),this.percentEnabled&&this.endPointLocation&&i("linearGradient",{key:"950499c058034ffab50aba812d5e0d79cd284b0c",xmlns:"http://www.w3.org/2000/svg",id:"paint_linear_dot",x1:this.endPointLocation.x-1.5,y1:this.endPointLocation.y-1.5,x2:this.endPointLocation.x+1.5,y2:this.endPointLocation.y+1.5,gradientUnits:"userSpaceOnUse"},i("stop",{key:"c92b0d928ab95d64153087865c62272c8ff41e2f",offset:"0.129184","stop-color":"#FF9400"}),i("stop",{key:"73697c8ce62bbc6a1fbd40a02616201c2e3722be",offset:"0.721154","stop-color":"#FFE24A"}),i("stop",{key:"ed1c42396750e0983732dccec3cf5a5bf22188ab",offset:"0.993007","stop-color":"#FEF746"}))),i("g",{key:"c4dd7d929c13899db61a318710399f55e9dfcfd5",filter:"url(#filter0_d_4308_1253)"},i("path",{key:"d0fc75aefc3e027d0b0bd45a591915eb78b62b31",id:"rectanglePath",class:"RectBG",ref:e=>this.rectRef=e,d:this.progressPath,stroke:"#EAEAEA","stroke-width":"3",fill:"#paint0_linear_966_231411","stroke-linecap":"round"}),i("rect",{key:"a9424ca93b82380d10547e721bad7a23ee549150",class:"RectBG",x:"1.5",y:"1.5",width:this.svgWidth-3,height:this.svgHeight-3,rx:"18.5",stroke:"#A5CDB1","stroke-width":"3"}),i("path",{key:"04bf93db92873371162bfb3dfe0c0e261fb2a9d7",class:"Bar "+(this.endPointLocation?"AnimateBar":"Hidden"),ref:e=>this.pathRef=e,d:this.progressPath,stroke:"url(#paint0_linear_4308_1253)","stroke-width":"3","stroke-linecap":"butt",style:e}),this.percentEnabled&&this.endPointLocation&&[i("circle",{key:"73ded2a995d878ec628c7156be07d7271abbb112",class:"DotCircle",cx:this.endPointLocation.x,cy:this.endPointLocation.y,r:"1.5",fill:"white"},i("animateMotion",{key:"80591faf2739084b121ec15588d30553dc5c5f99",href:"#rectanglePath",mpath:"#rectanglePath",dur:"0.5s",repeatCount:"1",rotate:"auto"})),i("circle",{key:"11c12fd9ca5d3a9c1df9da779c8274694dca893a",class:"DotCircle",cx:this.endPointLocation.x,cy:this.endPointLocation.y,r:"1.5",stroke:"url(#paint_linear_dot)"},i("animateMotion",{key:"8604a5fa5ed1922636b6d611f2d9538002aba8a7",href:"#rectanglePath",mpath:"#rectanglePath",dur:"0.5s",repeatCount:"1",rotate:"auto"}))]))}static get watchers(){return{svgWidth:["handleSvgWidthChange"],svgHeight:["handleSvgWidthChange"],percent:["handlePercentChange"]}}};N.style=".DotCircle{transition:stroke-dashoffset 0.5s ease-in-out;opacity:1}svg{width:100%;height:auto}.Bar{opacity:0;stroke-dashoffset:1000}.Bar.AnimateBar{transition:stroke-dashoffset 0.5s ease-in-out;opacity:0}.RectBG{fill:#1F3C30}.Hidden{opacity:0}.ProcessSvg{opacity:1}";const H=class{constructor(t){e(this,t)}render(){return i("div",{key:"5bbbb1166faa01bd23bbb4a692b7cef0f878102e",class:"smart-loader"},i("div",{key:"b62dbeadb2ff02fdc29ceeb31ebe442f66c35572",class:"smart-item"}),i("div",{key:"b7152fb4439c2853c64ba4aad8b405452a2ea042",class:"smart-item"}),i("div",{key:"9d471334457132745758512e0619dba41dd74ce0",class:"smart-item"}))}};H.style="@keyframes smart-animate1{0%{opacity:0.15;transform:translateX(0px)}35%{opacity:1;transform:translateX(36px)}75%{opacity:1;transform:translateX(0px)}100%{opacity:0.15;transform:translateX(0px)}}@keyframes smart-animate2{0%{opacity:1}35%{opacity:0.15}75%{opacity:0.5}100%{opacity:1}}@keyframes smart-animate3{0%{opacity:0.5;transform:translateX(0px)}35%{opacity:0.15;transform:translateX(-36px)}75%{opacity:0.15;transform:translateX(0px)}100%{opacity:0.5;transform:translateX(0px)}}.smart-loader{margin:50px auto;display:flex;flex-direction:row;align-items:center;justify-content:center;width:100px;gap:10px}.smart-loader .smart-item{width:3px;height:20px;opacity:0.15;animation-delay:200ms;animation-duration:1000ms;animation-timing-function:ease-out;animation-fill-mode:forwards;padding:1px;margin:5px 0;background:#00FA5A;border-radius:4px;animation-iteration-count:infinite;animation-direction:normal}.smart-loader .smart-item:nth-child(1){animation-name:smart-animate1}.smart-loader .smart-item:nth-child(2){animation-name:smart-animate2;height:36px}.smart-loader .smart-item:nth-child(3){animation-name:smart-animate3}";const F=class{constructor(i){e(this,i),this.timeCountDownEvent=t(this,"powerupTimeCountDown",7),this.expireTime=void 0,this.language="en",this.mode="timePeriod",this.inProgress=!1,this.leftRounds=void 0,this.displayTime=void 0,this.isExpireInDay1=!1,this.timeLeft=void 0}componentWillLoad(){this.inProgress&&this.mode===o.NUMBER_OF_ROUNDS||(this.timer=setInterval((()=>this.updateDisplayTime()),1e3),this.updateDisplayTime())}disconnectedCallback(){clearInterval(this.timer)}timeLeftChanged(){this.timeLeft>0||this.timeLeft<-10||this.timeCountDownEvent.emit({type:"powerupTimeCountDown",timeLeft:this.timeLeft})}startTimeChanged(){this.inProgress&&this.mode===o.NUMBER_OF_ROUNDS||(clearInterval(this.timer),this.timer=setInterval((()=>this.updateDisplayTime()),1e3),this.updateDisplayTime())}updateDisplayTime(){const e=s(),t=s(this.expireTime);if(!t.isValid())return this.displayTime="Invalid date",void clearInterval(this.timer);const i=s.duration(t.diff(e));if(this.isExpireInDay1=!0,this.timeLeft=i.asMinutes(),i.asMilliseconds()<=0)return this.displayTime="00:00:00",this.timeLeft=0,void clearInterval(this.timer);const n=Math.floor(i.asHours());if(n>=48)this.displayTime=`${Math.floor(i.asDays())} ${f("days",this.language)}`;else if(n>=24)this.displayTime=`1 ${f("day",this.language)}`;else{const e=n,t=i.minutes(),r=i.seconds();this.displayTime=[e,t,r].map((e=>String(e).padStart(2,"0"))).join(":")}}render(){return[this.inProgress&&i("div",{key:"ca4c55507465e393798aece74aedd841f535e553",class:"InprogressLabel"},i("span",{key:"22bf42ca81ce3c757471d07ab5032e300286fbbe",class:"Icon"}),f("inProgress",this.language)),i("span",{key:"c7b812e96928a802b71c322527a61b60f2c7c995",class:"Label"},f(this.inProgress?"endsIn":"expiresIn",this.language)," "),this.inProgress&&this.mode===o.NUMBER_OF_ROUNDS?i("span",{class:"TimeCountDown"},this.leftRounds," ",f(this.leftRounds>1?"rounds":"round",this.language)):i("span",{class:"TimeCountDown"},this.displayTime)]}static get watchers(){return{timeLeft:["timeLeftChanged"],expireTime:["startTimeChanged"]}}},A=class{constructor(i){e(this,i),this.timeCountDownEvent=t(this,"powerDetailTimeCountDown",7),this.expireTime=void 0,this.language="en",this.pid=void 0,this.page="default",this.displayTime=void 0,this.isExpireInDay1=!1,this.timeLeft=void 0}componentWillLoad(){this.timer=setInterval((()=>this.updateDisplayTime()),1e3),this.updateDisplayTime()}disconnectedCallback(){clearInterval(this.timer)}startTimeChanged(){clearInterval(this.timer),this.timer=setInterval((()=>this.updateDisplayTime()),1e3),this.updateDisplayTime()}timeLeftChanged(){this.timeCountDownEvent.emit({type:"powerDetailTimeCountDown",page:this.page,timeLeft:this.timeLeft,pid:this.pid})}updateDisplayTime(){const e=s(),t=s(this.expireTime);if(!t.isValid())return this.displayTime="Invalid date",void clearInterval(this.timer);const i=s.duration(t.diff(e));if(this.isExpireInDay1=!0,this.timeLeft=i.asMinutes(),i.asMilliseconds()<=0)return this.displayTime="00:00:00",clearInterval(this.timer),void this.timeCountDownEvent.emit({type:"powerDetailTimeCountDown",page:this.page,timeLeft:0,pid:this.pid});const n=Math.floor(i.asHours());if(n>=48)this.displayTime=`${Math.floor(i.asDays())} ${C("days",this.language)}`;else if(n>=24)this.displayTime="1 day";else{const e=n,t=i.minutes(),r=i.seconds();this.displayTime=[e,t,r].map((e=>String(e).padStart(2,"0"))).join(":")}}render(){return[this.isExpireInDay1&&i("span",{key:"3ed6721a8e6f35e9bb520115270d4e5c6b9a6f7e",class:"Label"},C("expiresIn",this.language)," "),i("span",{key:"43488d9863473e1ee5b9cbec1d6b4124b2a75281",class:"TimeCountDown"},this.displayTime)]}static get watchers(){return{expireTime:["startTimeChanged"],timeLeft:["timeLeftChanged"]}}},E=class{constructor(t){e(this,t),this.src=void 0,this.width=void 0,this.height=void 0,this.alt=void 0,this.styles=void 0,this.detectDistance="200px",this.imgLoaded=!1,this.shouldLoad=!1}handleSrc(){if(!this.shouldLoad)return;const e=new Image;e.onload=()=>{this.image&&(this.image.src=this.src,this.imgLoaded=!0,e.onload=null)},e.src=this.src}componentDidLoad(){"IntersectionObserver"in window?(this.el.__uxComponent=this,window.EMUxObserver||(window.EMUxObserver=new IntersectionObserver((e=>{e.forEach((e=>{if(e.isIntersecting){const t=e.target.__uxComponent;t&&(t.shouldLoad=!0,t.handleSrc()),window.EMUxObserver.unobserve(e.target)}}))}),{rootMargin:this.detectDistance})),window.EMUxObserver.observe(this.el)):(this.shouldLoad=!0,this.handleSrc())}render(){return i(n,{key:"f506ba73852f257ad80bf59ca177d2065a5f365e",class:"HostContainer"},!this.imgLoaded&&i("ui-skeleton",{key:"564ebfab701f827ddc2debccb7615926dbc9e876",class:"UiContainer",structure:"image",width:"100%",height:"100%"}),i("img",{key:"2188ca4494c10587f064acc5459ffc468948f497",ref:e=>this.image=e,src:this.shouldLoad?this.src:void 0,onLoad:()=>this.imgLoaded=!0,style:this.styles,class:"UiContainer "+(this.imgLoaded?"Visible":"Hidden"),alt:this.alt,width:this.width,height:this.height,loading:"lazy"}))}get el(){return r(this)}static get watchers(){return{src:["handleSrc"]}}};E.style=".HostContainer{display:block}.UiContainer{height:100%;width:100%;border-radius:inherit;object-fit:inherit}.UiContainer .Image{border-radius:inherit}.Hidden{opacity:0;transition:opacity 0.5s ease-in-out}.Visible{opacity:1;border-radius:var(--emw--border-radius-medium, 10px);transition:opacity 0.5s ease-in-out}";const R=class{constructor(t){e(this,t),this.stylingValue={width:this.handleStylingProps(this.width),height:this.handleStylingProps(this.height),borderRadius:this.handleStylingProps(this.borderRadius),marginBottom:this.handleStylingProps(this.marginBottom),marginTop:this.handleStylingProps(this.marginTop),marginLeft:this.handleStylingProps(this.marginLeft),marginRight:this.handleStylingProps(this.marginRight),size:this.handleStylingProps(this.size)},this.structure=void 0,this.width="unset",this.height="unset",this.borderRadius="unset",this.marginBottom="unset",this.marginTop="unset",this.marginLeft="unset",this.marginRight="unset",this.animation=!0,this.rows=0,this.size="100%"}handleStructureChange(e,t){t!==e&&this.handleStructure(e)}handleStylingProps(e){switch(typeof e){case"number":return 0===e?0:`${e}px`;case"undefined":default:return"unset";case"string":return["auto","unset","none","inherit","initial"].includes(e)||e.endsWith("px")||e.endsWith("%")?e:"unset"}}handleStructure(e){switch(e){case"logo":return this.renderLogo();case"image":return this.renderImage();case"title":return this.renderTitle();case"text":return this.renderText();case"rectangle":return this.renderRectangle();case"circle":return this.renderCircle();default:return null}}renderLogo(){return i("div",{class:"SkeletonContainer"},i("div",{class:"SkeletonLogo "+(this.animation?"Skeleton":"")}))}renderImage(){return i("div",{class:"SkeletonImage "+(this.animation?"Skeleton":"")})}renderTitle(){return i("div",{class:"SkeletonContainer"},i("div",{class:"SkeletonTitle "+(this.animation?"Skeleton":"")}))}renderText(){return i("div",{class:"SkeletonContainer"},Array.from({length:this.rows>0?this.rows:1}).map(((e,t)=>i("div",{key:t,class:"SkeletonText "+(this.animation?"Skeleton":"")}))))}renderRectangle(){return i("div",{class:"SkeletonContainer"},i("div",{class:"SkeletonRectangle "+(this.animation?"Skeleton":"")}))}renderCircle(){return i("div",{class:"SkeletonContainer"},i("div",{class:"SkeletonCircle "+(this.animation?"Skeleton":"")}))}render(){let e="";switch(this.structure){case"logo":e=`\n :host {\n --emw-skeleton-logo-width: ${this.stylingValue.width};\n --emw-skeleton-logo-height: ${this.stylingValue.height};\n --emw-skeleton-logo-border-radius: ${this.stylingValue.borderRadius};\n --emw-skeleton-logo-margin-bottom: ${this.stylingValue.marginBottom};\n --emw-skeleton-logo-margin-top: ${this.stylingValue.marginTop};\n --emw-skeleton-logo-margin-left: ${this.stylingValue.marginLeft};\n --emw-skeleton-logo-margin-right: ${this.stylingValue.marginRight};\n }\n `;break;case"image":e=`\n :host {\n --emw-skeleton-image-width: ${this.stylingValue.width};\n --emw-skeleton-image-height: ${this.stylingValue.height};\n --emw-skeleton-image-border-radius: ${this.stylingValue.borderRadius};\n --emw-skeleton-image-margin-bottom: ${this.stylingValue.marginBottom};\n --emw-skeleton-image-margin-top: ${this.stylingValue.marginTop};\n --emw-skeleton-image-margin-left: ${this.stylingValue.marginLeft};\n --emw-skeleton-image-margin-right: ${this.stylingValue.marginRight};\n }\n `;break;case"title":e=`\n :host {\n --emw-skeleton-title-width: ${this.stylingValue.width};\n --emw-skeleton-title-height: ${this.stylingValue.height};\n --emw-skeleton-title-border-radius: ${this.stylingValue.borderRadius};\n --emw-skeleton-title-margin-bottom: ${this.stylingValue.marginBottom};\n --emw-skeleton-title-margin-top: ${this.stylingValue.marginTop};\n --emw-skeleton-title-margin-left: ${this.stylingValue.marginLeft};\n --emw-skeleton-title-margin-right: ${this.stylingValue.marginRight};\n }\n `;break;case"text":e=`\n :host {\n --emw-skeleton-text-width: ${this.stylingValue.width};\n --emw-skeleton-text-height: ${this.stylingValue.height};\n --emw-skeleton-text-border-radius: ${this.stylingValue.borderRadius};\n --emw-skeleton-text-margin-bottom: ${this.stylingValue.marginBottom};\n --emw-skeleton-text-margin-top: ${this.stylingValue.marginTop};\n --emw-skeleton-text-margin-left: ${this.stylingValue.marginLeft};\n --emw-skeleton-text-margin-right: ${this.stylingValue.marginRight};\n }\n `;break;case"rectangle":e=`\n :host {\n --emw-skeleton-rectangle-width: ${this.stylingValue.width};\n --emw-skeleton-rectangle-height: ${this.stylingValue.height};\n --emw-skeleton-rectangle-border-radius: ${this.stylingValue.borderRadius};\n --emw-skeleton-rectangle-margin-bottom: ${this.stylingValue.marginBottom};\n --emw-skeleton-rectangle-margin-top: ${this.stylingValue.marginTop};\n --emw-skeleton-rectangle-margin-left: ${this.stylingValue.marginLeft};\n --emw-skeleton-rectangle-margin-right: ${this.stylingValue.marginRight};\n }\n `;break;case"circle":e=`\n :host {\n --emw-skeleton-circle-size: ${this.stylingValue.size};\n }\n `;break;default:e=""}return i(n,{key:"c2a2650acd416962a2bc4e1a7ee18bc6d8e2def8"},i("style",{key:"9bd7fc1f9e9ed9f17735a7b72fce6f09696f5e19"},e),this.handleStructure(this.structure))}static get watchers(){return{structure:["handleStructureChange"]}}};R.style=":host{display:block}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.SkeletonRectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 10px)}.SkeletonCircle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.SkeletonText{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 10px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.SkeletonText:last-child{width:calc(var(--emw-skeleton-text-width, 400px) - 100px)}.SkeletonTitle{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 10px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.SkeletonImage{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, unset)}.SkeletonLogo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 10px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, #e0e0e0)}100%{background-color:var(--emw-skeleton-secondary-color, #f0f0f0)}}";export{w as active_confirm_modal,S as bonus_powerups_ingame_detail,Y as bonus_powerups_ingame_games,L as bonus_powerups_ingame_list,N as percent_bar,H as smart_loader,F as time_count,A as time_count_detail,E as ui_image,R as ui_skeleton}
3
+ i.version="2.29.4",e=Nt,i.fn=Si,i.min=function(){return Bt("isBefore",[].slice.call(arguments,0))},i.max=function(){return Bt("isAfter",[].slice.call(arguments,0))},i.now=function(){return Date.now?Date.now():+new Date},i.utc=u,i.unix=function(e){return Nt(1e3*e)},i.months=function(e,t){return Yi(e,t,"months")},i.isDate=h,i.locale=mt,i.invalid=f,i.duration=Jt,i.isMoment=C,i.weekdays=function(e,t,i){return Gi(e,t,i,"weekdays")},i.parseZone=function(){return Nt.apply(null,arguments).parseZone()},i.localeData=gt,i.isDuration=Rt,i.monthsShort=function(e,t){return Yi(e,t,"monthsShort")},i.weekdaysMin=function(e,t,i){return Gi(e,t,i,"weekdaysMin")},i.defineLocale=ft,i.updateLocale=function(e,t){if(null!=t){var i,n,r=lt;null!=ht[e]&&null!=ht[e].parentLocale?ht[e].set(P(ht[e]._config,t)):(null!=(n=pt(e))&&(r=n._config),t=P(r,t),null==n&&(t.abbr=e),(i=new T(t)).parentLocale=ht[e],ht[e]=i),mt(e)}else null!=ht[e]&&(null!=ht[e].parentLocale?(ht[e]=ht[e].parentLocale,e===mt()&&mt(e)):null!=ht[e]&&delete ht[e]);return ht[e]},i.locales=function(){return k(ht)},i.weekdaysShort=function(e,t,i){return Gi(e,t,i,"weekdaysShort")},i.normalizeUnits=R,i.relativeTimeRounding=function(e){return void 0===e?nn:"function"==typeof e&&(nn=e,!0)},i.relativeTimeThreshold=function(e,t){return void 0!==rn[e]&&(void 0===t?rn[e]:(rn[e]=t,"s"===e&&(rn.ss=t-1),!0))},i.calendarFormat=function(e,t){var i=e.diff(t,"days",!0);return i<-6?"sameElse":i<-1?"lastWeek":i<0?"lastDay":i<1?"sameDay":i<2?"nextDay":i<7?"nextWeek":"sameElse"},i.prototype=Si,i.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},i}();const I=M.exports,S=class{constructor(i){e(this,i),this.showMoreGamesEvent=t(this,"showMoreGames",7),this.backFromPowerupDetailEvent=t(this,"backFromPowerupDetail",7),this.mbSource=void 0,this.clientStyling=void 0,this.clientStylingUrl=void 0,this.translationUrl=void 0,this.language="en",this.endpoint=void 0,this.session=void 0,this.pid=void 0,this.powerupId=void 0,this.isPowering=!1,this.isValidForGame=void 0,this.powerUp=null,this.powerUpGames=void 0,this.isLoading=!0,this.isLoadingGames=!0,this.limit=20,this.showConfirmModal=!1,this.activeMessage=void 0,this.showToasting=!1}showPowerupDetailsHandler(e){this.pid=e.detail.id}activePowerupHandler(e){this.showConfirmModal=!1,e.detail.id===this.pid&&this.activePowerUp(this.powerUp)}async loadPowerUpById(){if(this.endpoint&&this.session){this.isLoading=!0,this.abortController&&this.abortController.abort(),this.abortController=new AbortController;try{const e=new URL(`${this.endpoint}/v1/elevate/powerups`),t={headers:{"Content-Type":"application/json","x-SessionId":this.session},method:"GET",signal:this.abortController.signal};e.searchParams.append("filter",`id=${this.pid}`),Object.entries(y).forEach((([t,i])=>{e.searchParams.append(t,i)}));const i=await fetch(e.href,t);if(!i.ok)throw new Error(`HTTP error! status: ${i.status}`);const{data:n}=await i.json();n.length&&(this.powerUp=n[0],this.powerUpGames=this.powerUp.games,this.powerupId=this.powerUp.powerUpID),this.loadGamesByPID()}catch(e){console.error("Failed to load Power-ups:",e),4003===e.errorCode&&window.postMessage({type:e.errorMessage})}finally{this.isLoading=!1}}}async loadGamesByPID(){var e,t,i,n,r,a;if(this.endpoint&&this.session&&this.powerupId){this.isLoadingGames=!0,this.abortController&&this.abortController.abort(),this.abortController=new AbortController;try{const r=new URL(`${this.endpoint}/v1/elevate/powerups/available?pagination=games(limit=20,offset=${(null===(t=null===(e=this.powerUpGames)||void 0===e?void 0:e.items)||void 0===t?void 0:t.length)||0})`),a={headers:{"Content-Type":"application/json","x-SessionId":this.session},method:"GET",signal:this.abortController.signal};r.searchParams.append("filter",`id=${this.powerupId}`),Object.entries(x).forEach((([e,t])=>{r.searchParams.append(e,t)})),r.searchParams.append("language",this.language);const s=await fetch(r,a);if(!s.ok)throw new Error(`HTTP error! status: ${s.status}`);const o=await s.json();this.powerUpGames=Object.assign(Object.assign({},this.powerUpGames),{items:[...(null===(i=this.powerUpGames)||void 0===i?void 0:i.items)||[],...(null===(n=o.games)||void 0===n?void 0:n.items)||[]]})}catch(e){"AbortError"!==e.name&&console.error("Failed to load more games:",e)}finally{(null===(a=null===(r=this.abortController)||void 0===r?void 0:r.signal)||void 0===a?void 0:a.aborted)||(this.isLoadingGames=!1)}}}onActivateBtnClick(){this.isPowering||this.isLoading||!this.isValidForGame||(this.showConfirmModal=!0)}async activePowerUp(e){if(!this.endpoint||!this.session||e.status===a.ACTIVATING||this.isPowering)return;const t=e.status;e.status=a.ACTIVATING,this.abortController&&this.abortController.abort(),this.abortController=new AbortController;try{const i=new URL(`${this.endpoint}/v1/elevate/activatepowerup`);let n={headers:{"Content-Type":"application/json","x-SessionId":this.session},method:"PUT",signal:this.abortController.signal,body:JSON.stringify({powerUpId:e.id})};const r=await fetch(i.href,n);if(!r.ok)throw new Error(`HTTP error! status: ${r.status}`);const o=await r.json();(null==o?void 0:o.success)?this.powerUp=Object.assign(Object.assign({},e),{status:a.ACTIVATED,activatedAt:s(new Date).format("YYYY-MM-DD HH:mm:ssZ")}):(e.status=t,console.error(o.errorMessage)),this.showMessage({isSuccessed:o.success,info:C(o.success?"activeSuccess":"activeError",this.language),detail:o.errorMessage})}catch(i){e.status=t,this.showMessage({isSuccessed:!1,info:i.errorMessage}),console.error(i)}}showMessage(e){this.activeMessage=e,this.showToasting=!0,this.timerId=setTimeout((()=>{this.showToasting=!1}),2e3)}onGameClick(e){window.postMessage({type:"EngagementSuiteGameRedirect",data:{Slug:e.slug}})}showMoreGames(){this.showMoreGamesEvent.emit(this.powerUp.id)}backTo(){this.backFromPowerupDetailEvent.emit()}render(){var e,t,n,r,s,l;return i("div",{key:"82a743fbda08f6da0212461cb9f212cee98b9c7d",class:`IngamePowerUpDetailContainer ${this.isPowering?"Powering":"UnPowering"}\n ${this.isValidForGame?"ValidForGame":"NotValidForGame"} Status_${null===(e=this.powerUp)||void 0===e?void 0:e.status} `,ref:e=>this.stylingContainer=e},i("div",{key:"4c03c07fcf88443f2af8250db83ba816f8c6a9d2",class:"MainContainer "+(this.showConfirmModal?"Hidden":"")},i("div",{key:"1fd2b135425a82e585872fa6d221d3307629c257",class:"TopBar"},i("div",{key:"eecb290e0f25a71e5c6e1cadb532c7d11e09ac52",onClick:this.backTo.bind(this),class:"ReturnIcon CircleLinearBorder",innerHTML:'<svg width="14" height="14" viewBox="0 0 14 14"\n fill="none" xmlns="http://www.w3.org/2000/svg">\n <g clip-path="url(#clip0_4119_5439)">\n <path d="M11.1533 12.8332C11.8242 11.9932 12.25 10.9315 12.25 9.759C12.25 6.959 9.7475 4.6665 6.69667 4.6665H1.75"\n stroke="currentColor" stroke-width="0.952264" stroke-miterlimit="10" stroke-linecap="round"\n stroke-linejoin="round" />\n <path d="M5.25 1.16699L1.75 4.66699L5.25 8.16699" stroke="currentColor" stroke-width="0.952264" stroke-miterlimit="10"\n stroke-linecap="round" stroke-linejoin="round" />\n </g>\n <defs>\n <clipPath id="clip0_4119_5439">\n <rect width="14" height="14" fill="white" />\n </clipPath>\n </defs>\n</svg>\n'}),i("div",{key:"d04fcfdcfe21e0eae05b6148baa1c8f50347a284",class:"Title"}," ",(null===(t=this.powerUp)||void 0===t?void 0:t.powerUpName)||""," ")),this.isLoading?i("div",{class:"Loading"},i("smart-loader",null)):null==this.powerUp?i("div",{class:"NoData"},"No data found "):i("div",{class:"DetailInfo"},i("div",{class:"Description"},this.powerUp.description),i("div",{class:"MultiplierContainer Card CircleLinearBorder"},i("div",{class:"FlexRow CircleInner"},i("div",{class:"Duration"},i("div",{class:"Label"}," ",C("duration",this.language)," "),i("div",{class:"Value"},i("span",null," ",this.powerUp.boostingPeriod["timePeriod"===this.powerUp.boostingPeriod.mode?"minutes":"numberOfRounds"]),i("span",null," ",C("timePeriod"===this.powerUp.boostingPeriod.mode?"minutes":this.powerUp.boostingPeriod.numberOfRounds>1?"rounds":"round")))),i("div",{class:"Multiplier"},i("div",{class:"Label"}," ",C("multiplier",this.language)," "),i("div",{class:"Value"},this.powerUp.multiplier.coefficient,"x ",C("coins"===this.powerUp.multiplier.mode?"coins":"xp"))),i("div",{class:"ExpireTime"},i("div",{class:"Label"}," ",C(this.powerUp.status===a.ACTIVATED?"endsIn":"endDate",this.language)," "),i("div",{class:"Value"},this.powerUp.status===a.ACTIVATED&&this.powerUp.boostingPeriod.mode===o.NUMBER_OF_ROUNDS?i("div",{class:"LeftRounds"},i("span",null,this.powerUp.boostingPeriod.numberOfRounds-this.powerUp.usedNumberOfRounds," "),i("span",null," ",C(this.powerUp.boostingPeriod.numberOfRounds-this.powerUp.usedNumberOfRounds>1?"rounds":"round",this.language))):i("time-count-detail",{pid:this.powerUp.id,page:"detail","expire-time":(l=this.powerUp,l.activatedAt&&l.status==a.ACTIVATED?I(l.activatedAt).add(l.boostingPeriod.minutes,"minute").format("YYYY-MM-DDTHH:mm:ssZ"):l.expireTime),lang:this.language}))))),i("div",{class:"TermsUrl"},i("div",{class:"Label"},this.powerUp.termsUrl?[i("a",{href:this.powerUp.termsUrl,target:"_blank"},C("termsAndConditions",this.language)),i("div",{class:"GoToOpenIcon",innerHTML:k})]:i("div",null,C("termsAndConditions",this.language),i("div",{class:"GoToOpenIcon",innerHTML:k}))),i("div",{class:"TextContent"},C("playResponsibly",this.language))),i("div",{class:"GamesWrapper Card CircleLinearBorder"},i("div",{class:"CircleInner"},i("div",{class:"FlexRow GamesHeader"},i("div",{class:"RowLeft"},i("div",{class:"GamesTitle"}," ",C("games",this.language)," "),i("div",{class:"GamesTotal TextContent"},"( ",this.powerUp.games.total," )")),i("div",{class:"RowRight",onClick:this.showMoreGames.bind(this)},i("div",{class:"TextContent"},C("seeAll",this.language)),i("div",{class:"DetailIcon"},i("div",{innerHTML:'<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M2.33398 2.3335L7.00065 7.00016L2.33398 11.6668" stroke="white" stroke-width="0.952264" stroke-linecap="round" stroke-linejoin="round"/>\n<path d="M7 2.3335L11.6667 7.00016L7 11.6668" stroke="white" stroke-width="0.952264" stroke-linecap="round" stroke-linejoin="round"/>\n</svg>\n'})))),i("div",{class:"Games FlexRow"},i("div",{class:"Container"},this.powerUp.games.total&&this.powerUp.games.items.map((e=>i("div",{class:"Game"},i("ui-image",{src:e.thumbnail,onClick:this.onGameClick.bind(this,e)}),i("div",{class:"GameMask",onClick:this.onGameClick.bind(this,e)},i("div",{class:"GameStartBtn"},i("div",{class:"PlayIcon"}),i("span",null,C("playNow",this.language))))))))))))),this.powerUp&&this.powerUp.status!=a.ACTIVATED&&i("div",{key:"c7e6846585f6274e1b69d54ad77c377a3e20fdca",class:"BottomBar FlexRow "+(this.showConfirmModal?"Hidden":"")},i("div",{key:"2ff9aae76204fc44c86c515f323f23d23acbc878",class:"ActiveTips"}," ",C(this.isPowering?"poweringTooltip":"activateTips",this.language)," "),this.powerUp&&(this.powerUp.status===a.ACTIVE||this.powerUp.status===a.ACTIVATING)&&i("div",{key:"332e3923f9e8b523efb453880a15d04b9866d938",class:`ActiveBtn CircleLinearBorder ${this.isPowering||!this.isValidForGame?"Disabled":""} ${this.powerUp.status===a.ACTIVATING?"Activating":""}`,onClick:this.onActivateBtnClick.bind(this,this.powerUp)},i("div",{key:"e177638fdb12759ce293d5274da756d0ff9cd589",class:"content"}," ",C("activate",this.language)))),this.showConfirmModal&&i("active-confirm-modal",{key:"ea27c8935411fb10f86a37e3bca01a0e3acbf6f8","is-open":!0,pid:this.pid,language:this.language}),i("div",{key:"3a0d3d94e9e2b64acce7964e0eb1dbf040a5dcf6",class:`ToastWrapper ${this.showToasting?"Shown":"Hidden"} ${(null===(n=this.activeMessage)||void 0===n?void 0:n.isSuccessed)?"Success":"Failed"}`},i("div",{key:"6e7b5a3333cc8a90cec83218181471e992b5909e",class:"Details"},i("span",{key:"7c44e2773b5363900e1b347d23e4f6f68d33753c",class:"Info"},null===(r=this.activeMessage)||void 0===r?void 0:r.info),(null===(s=this.activeMessage)||void 0===s?void 0:s.detail)&&i("span",{key:"3156e14c96bf4101076ce9cdc62590203551e881",class:"Detail"}," - [ ",this.activeMessage.detail," ]"))))}handleClientStylingChange(e,t){e!=t&&l(this.stylingContainer,this.clientStyling)}handleClientStylingUrlChange(e,t){e!=t&&h(this.stylingContainer,this.clientStylingUrl)}handleMbSourceChange(e,t){e!=t&&d(this.stylingContainer,`${this.mbSource}.Style`,this.stylingSubscription)}componentDidLoad(){this.stylingContainer&&(this.mbSource&&d(this.stylingContainer,`${this.mbSource}.Style`,this.stylingSubscription),this.clientStyling&&l(this.stylingContainer,this.clientStyling),this.clientStylingUrl&&h(this.stylingContainer,this.clientStylingUrl))}disconnectedCallback(){this.stylingSubscription&&this.stylingSubscription.unsubscribe(),this.timerId&&clearTimeout(this.timerId)}handleNewTranslations(){b(this.translationUrl)}async componentWillLoad(){this.translationUrl&&await b(this.translationUrl),this.loadPowerUpById()}static get watchers(){return{session:["loadPowerUpById"],endpoint:["loadPowerUpById"],language:["loadPowerUpById"],pid:["loadPowerUpById"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"],mbSource:["handleMbSourceChange"],translationUrl:["handleNewTranslations"]}}};S.style=':host{display:block;height:100%}.IngamePowerUpDetailContainer{gap:5px;display:flex;padding:var(--emw--ingame-power-container-padding, 8px);height:100%;justify-content:space-between;flex-direction:column}.IngamePowerUpDetailContainer .Hidden{opacity:0 !important;transition:opacity 0.5s ease-in-out}.IngamePowerUpDetailContainer .ToastWrapper{position:absolute;width:80%;display:flex;gap:10px;align-items:center;opacity:0;z-index:1000;transition:opacity 0.5s ease-out;bottom:10px;right:10px;height:40px;border-top-left-radius:8px;border-bottom-left-radius:8px;border-width:1px;padding:8px 15px}.IngamePowerUpDetailContainer .ToastWrapper.Shown{opacity:1}.IngamePowerUpDetailContainer .ToastWrapper.Hidden{opacity:0;z-index:-1;display:inherit}.IngamePowerUpDetailContainer .ToastWrapper.Failed,.IngamePowerUpDetailContainer .ToastWrapper.Success{padding:10px;border-radius:10px;background:linear-gradient(180deg, #262849 0%, #191B31 50%, #16102A 100%)}.IngamePowerUpDetailContainer .ToastWrapper.Success{border:1px solid;border-image-source:linear-gradient(94.32deg, var(--emw--ingame-color-pth-primary1, #9500FF) 4.41%, var(--emw--ingame-color-pth-primary2, #232EC4) 113.86%)}.IngamePowerUpDetailContainer .ToastWrapper.Failed{border:1px solid var(--emw--ingame-color-light-red, #FF4D4F)}.IngamePowerUpDetailContainer .CircleLinearBorder{position:relative;width:26px;height:26px;border-radius:20px;background:none;overflow:hidden;border:1.5px solid transparent;display:flex;align-items:center;justify-content:center;cursor:pointer}.IngamePowerUpDetailContainer .CircleLinearBorder svg{border-radius:20px;padding:4.5px;background:var(--emw--ingame-color-powerup-bg, rgba(9, 9, 9, 0.8980392157));z-index:1}.IngamePowerUpDetailContainer .CircleLinearBorder::before{content:"";position:absolute;top:-1.5px;left:-1.5px;right:-1.5px;bottom:-1.5px;z-index:-1;border-radius:21.5px;background:linear-gradient(0deg, var(--emw--ingame-color-white10, rgba(255, 255, 255, 0.0666666667)), var(--emw--ingame-color-white10, rgba(255, 255, 255, 0.0666666667))), linear-gradient(35.22deg, var(--emw--ingame-color-white10, rgba(255, 255, 255, 0)), var(--emw--ingame-color-white30, rgba(255, 255, 255, 0.5490196078)) 89.19%)}.IngamePowerUpDetailContainer .FlexRow{display:flex;flex-direction:row;width:100%}.IngamePowerUpDetailContainer .FlexRow .RowLeft,.IngamePowerUpDetailContainer .FlexRow .RowRight{display:flex;flex-direction:row;align-items:center}.IngamePowerUpDetailContainer .NoData,.IngamePowerUpDetailContainer .Loading{padding:15px}.IngamePowerUpDetailContainer .MainContainer{padding:15px;opacity:1}.IngamePowerUpDetailContainer .MainContainer.Hidden{opacity:0}.IngamePowerUpDetailContainer .TopBar{display:flex;align-items:center;padding:0}.IngamePowerUpDetailContainer .TopBar .ReturnIcon{width:26px;height:26px;display:flex;border-radius:20px;padding:0;backdrop-filter:blur(13.7647px);justify-content:center;align-items:center}.IngamePowerUpDetailContainer .TopBar .ReturnIcon svg{color:var(--emw--ingame-color-white60, #f0f0f0)}.IngamePowerUpDetailContainer .TopBar .Title{font-weight:600;font-size:1.2rem;line-height:100%;text-align:center;vertical-align:middle;flex:1;color:var(--emw--ingame-color-neutural-95, #EDEFF2);text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.IngamePowerUpDetailContainer .DetailInfo .Description,.IngamePowerUpDetailContainer .DetailInfo .TextContent{font-weight:400;font-size:0.9rem;line-height:1.1rem;vertical-align:middle;color:var(--emw--ingame-color-white70, rgba(255, 255, 255, 0.6980392157))}.IngamePowerUpDetailContainer .DetailInfo .Card{margin-top:20px;width:100%;height:74px;color:var(--emw--ingame-color-black40, rgba(9, 9, 9, 0.5019607843));backdrop-filter:blur(22.9411773682px);display:flex;flex-direction:row;align-content:space-around;text-align:center}.IngamePowerUpDetailContainer .DetailInfo .Card .Label{color:var(--emw--ingame-color-neutural-95, #C9CACB)}.IngamePowerUpDetailContainer .DetailInfo .Card .Value{color:var(--emw--ingame-color-text, #fff);line-height:150%;letter-spacing:0.9px;font-weight:600}.IngamePowerUpDetailContainer .DetailInfo .CircleLinearBorder::before{background:linear-gradient(0deg, var(--emw--ingame-color-white20, rgba(255, 255, 255, 0.1568627451)), var(--emw--ingame-color-white20, rgba(255, 255, 255, 0.07))), linear-gradient(358deg, var(--emw--ingame-color-white20, rgba(255, 255, 255, 0.15)) 33.61%, var(--emw--ingame-color-white10, rgba(255, 255, 255, 0.11)) 89.19%);top:-1px;left:-1px;right:-1px;bottom:-1px;border-radius:21px}.IngamePowerUpDetailContainer .DetailInfo .CircleInner{background-color:var(--emw--ingame-color-neutural, rgba(9, 9, 9, 0.5019607843));width:calc(100% - 31px);border-radius:19px;z-index:1;padding:15px;height:calc(100% - 32px);align-items:center;justify-content:space-evenly}.IngamePowerUpDetailContainer .DetailInfo .TermsUrl{height:80px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px}.IngamePowerUpDetailContainer .DetailInfo .TermsUrl .Label,.IngamePowerUpDetailContainer .DetailInfo .TermsUrl .Label a{color:#00B541;display:flex;justify-content:center;text-decoration:underline}.IngamePowerUpDetailContainer .DetailInfo .TermsUrl .Label .GoToOpenIcon,.IngamePowerUpDetailContainer .DetailInfo .TermsUrl .Label a .GoToOpenIcon{margin-left:10px;display:inline}.IngamePowerUpDetailContainer .DetailInfo .Card.MultiplierContainer{width:100%}.IngamePowerUpDetailContainer .DetailInfo .GamesWrapper{height:126px;flex-direction:column;display:flex;justify-content:space-evenly}.IngamePowerUpDetailContainer .DetailInfo .GamesWrapper .GamesHeader{justify-content:space-between}.IngamePowerUpDetailContainer .DetailInfo .GamesWrapper .GamesHeader .RowLeft{gap:5px}.IngamePowerUpDetailContainer .DetailInfo .GamesWrapper .GamesHeader .GamesTitle{color:var(--emw--ingame-color-text, #fff);line-height:150%;letter-spacing:0.9px;font-weight:600}.IngamePowerUpDetailContainer .DetailInfo .GamesWrapper .GamesHeader .RowRight{gap:5px}.IngamePowerUpDetailContainer .DetailInfo .GamesWrapper .GamesHeader .RowRight .DetailIcon{height:23px}.IngamePowerUpDetailContainer .DetailInfo .GamesWrapper .Games{width:100%;overflow:Hidden}.IngamePowerUpDetailContainer .DetailInfo .GamesWrapper .Container{width:fit-content;display:flex}.IngamePowerUpDetailContainer .DetailInfo .GamesWrapper .Game{height:60px;width:85px;margin:10px;position:relative}.IngamePowerUpDetailContainer .DetailInfo .GamesWrapper .Game .GameMask{display:none;transition:display;transition-duration:0.2s;opacity:0;position:absolute;width:70%;height:100%;font-size:0.85rem;color:var(--emw--ingame-color-text, #fff)}.IngamePowerUpDetailContainer .DetailInfo .GamesWrapper .Game .GameMask .GameStartBtn{width:80px;height:22px;border-radius:8px;opacity:1;padding:4px 5px;background:linear-gradient(180deg, var(--emw--color-powup-green, #24B24E) 0%, var(--emw--color-powup-light-green, #18CE51) 100%);border:1px solid var(--emw--ingame-color-white, #FFFFFF);display:flex;align-items:center;justify-content:space-between;cursor:pointer}.IngamePowerUpDetailContainer .DetailInfo .GamesWrapper .Game .GameMask .GameStartBtn .PlayIcon{background-image:url(\'data:image/svg+xml;charset=utf8,<svg xmlns="http://www.w3.org/2000/svg" width="11" height="11" viewBox="0 0 11 11" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M5.5 1C3.01472 1 1 3.01472 1 5.5C1 7.98528 3.01472 10 5.5 10C7.98528 10 10 7.98528 10 5.5C10 3.01472 7.98528 1 5.5 1ZM0 5.5C0 2.46243 2.46243 0 5.5 0C8.53757 0 11 2.46243 11 5.5C11 8.53757 8.53757 11 5.5 11C2.46243 11 0 8.53757 0 5.5ZM5.12255 3.21652C5.12728 3.21956 5.13199 3.22259 5.13668 3.22561L7.49698 4.74294C7.50129 4.74571 7.50562 4.74849 7.50998 4.75129C7.58551 4.79982 7.66805 4.85285 7.73381 4.90413C7.80355 4.95852 7.91363 5.05446 7.97854 5.20809C8.0574 5.39471 8.0574 5.60529 7.97854 5.79191C7.91363 5.94554 7.80355 6.04148 7.73381 6.09587C7.66805 6.14715 7.58551 6.20018 7.50998 6.24871C7.50562 6.25151 7.50129 6.25429 7.49698 6.25706L5.13668 7.77439C5.13199 7.77741 5.12727 7.78045 5.12255 7.78348C5.03469 7.84 4.9423 7.89941 4.86094 7.94176C4.77909 7.98436 4.63056 8.05332 4.44657 8.04018C4.22957 8.02468 4.02999 7.91572 3.89961 7.74157C3.78907 7.59391 3.76675 7.43167 3.75832 7.33979C3.74995 7.24844 3.74997 7.1386 3.75 7.03414C3.75 7.02852 3.75 7.02292 3.75 7.01733V3.98267C3.75 3.97708 3.75 3.97148 3.75 3.96586C3.74997 3.8614 3.74995 3.75156 3.75832 3.66021C3.76675 3.56833 3.78907 3.40609 3.89961 3.25843C4.02999 3.08428 4.22957 2.97532 4.44657 2.95982C4.63056 2.94668 4.77909 3.01564 4.86094 3.05824C4.94231 3.10059 5.03469 3.16001 5.12255 3.21652ZM4.75 4.16583V6.83417L6.82537 5.5L4.75 4.16583Z" fill="white"/> <path d="M4.75 6.83417V4.16583L6.82537 5.5L4.75 6.83417Z" fill="white"/></svg>\');height:16px;width:16px;background-repeat:no-repeat;background-size:contain}.IngamePowerUpDetailContainer .DetailInfo .GamesWrapper .Game:hover img{opacity:0.4;filter:blur(1.5px)}.IngamePowerUpDetailContainer .DetailInfo .GamesWrapper .Game:hover .GameMask{mix-blend-mode:screen;background-color:var(--emw--color-powup-green, #24B24E);display:flex;justify-content:center;align-items:center;position:absolute;width:100%;opacity:1;left:0;height:100%;top:0;border-radius:8px}.IngamePowerUpDetailContainer .DetailInfo .GamesWrapper .Game:hover .GameMask .GameStartBtn{opacity:1}.IngamePowerUpDetailContainer .ActiveBtn{color:var(--emw--ingame-color-black, #090909);position:relative;background:none;overflow:hidden;min-width:88px;height:36px;font-weight:bold;gap:10px;border-radius:20px;animation-duration:0ms}.IngamePowerUpDetailContainer .ActiveBtn.Disabled .content{background-color:var(--emw--ingame-color-white20, rgba(255, 255, 255, 0.2));color:var(--emw--ingame-color-white20, rgba(255, 255, 255, 0.2))}.IngamePowerUpDetailContainer .ActiveBtn.Disabled:hover,.IngamePowerUpDetailContainer .ActiveBtn.Disabled:before{box-shadow:none;background:none}.IngamePowerUpDetailContainer .ActiveBtn:hover{box-shadow:0px 0px 3px 5px var(--emw--ingame-color-white10, rgba(255, 255, 255, 0.1019607843))}.IngamePowerUpDetailContainer .ActiveBtn::before{content:"";position:absolute;top:-1px;left:-1px;right:-1px;bottom:-1px;z-index:1;border-radius:18px;background:linear-gradient(to top right, var(--emw--ingame-color-powerup-brightgreen, #00FA5A), var(--emw--ingame-color-powerup-brightblue, rgba(50, 237, 221, 0.8901960784)))}.IngamePowerUpDetailContainer .ActiveBtn .content{line-height:1.6;background:var(--emw--ingame-color-powerup-brightgreen, #00FA5A);border-radius:18px;padding:1px;height:calc(100% - 4px);width:calc(100% - 4px);text-align:center;align-items:center;display:flex;justify-content:center;z-index:1}.IngamePowerUpDetailContainer .BottomBar{width:calc(100% - 30px);height:60px;opacity:1;gap:8px;padding:15px;background:rgba(9, 9, 9, 0.8);border-top:2px solid;border-image-source:linear-gradient(89.94deg, var(--emw--ingame-color-powerup-primary2, #003E5C) 0.05%, var(--emw--ingame-color-powerup-primary1, #113B21) 87.69%);backdrop-filter:blur(32.1176490784px);border-image-slice:1;align-items:center;border-radius:0 0 20px 20px}.IngamePowerUpDetailContainer .BottomBar.Hidden{opacity:0}';const P={expand:"games",fields:"id,powerUpID,powerUpName,displayName,games(id,gameId,slug,name,thumbnail)"},T={en:{playNow:"Play Now",games:"Games",noDataFound:"No data found",loading:"Loading",loadingMore:"Loading More"}},U=(e,t,i)=>{let n=T[void 0!==t&&t in T?t:"en"][e];if(void 0!==i)for(const[e,t]of Object.entries(i.values)){const i=new RegExp(`{${e}}`,"g");n=n.replace(i,t)}return n},Y=class{constructor(i){e(this,i),this.showDetailsEvent=t(this,"showPowerupDetails",7),this.backFromPowerupGamesEvent=t(this,"backFromPowerupGames",7),this.mbSource=void 0,this.clientStyling=void 0,this.clientStylingUrl=void 0,this.translationUrl=void 0,this.language="en",this.endpoint=void 0,this.session=void 0,this.powerupId=void 0,this.isLoadingGames=!1,this.powerUpGames={items:[],total:0},this.powerUp=void 0,this.limit=30}initializeGamesObserver(){this.loadMoreGamesObserver&&this.loadMoreGamesObserver.disconnect(),this.loadMoreGamesObserver=new IntersectionObserver((e=>{e.forEach((e=>{e.isIntersecting&&this.loadMoreGames().catch(console.error)}))})),this.lastGameElement&&this.loadMoreGamesObserver.observe(this.lastGameElement)}async loadMoreGames(){var e,t,i,n;if(!(this.isLoadingGames||this.powerUpGames.total>0&&this.powerUpGames.items.length>=this.powerUpGames.total)){this.isLoadingGames=!0,this.abortController&&this.abortController.abort(),this.abortController=new AbortController;try{const r=new URL(`${this.endpoint}/v1/elevate/powerups/available?pagination=games(limit=${this.limit},offset=${(null===(t=null===(e=this.powerUpGames)||void 0===e?void 0:e.items)||void 0===t?void 0:t.length)||0})`),a={headers:{"Content-Type":"application/json","x-SessionId":this.session},method:"GET",signal:this.abortController.signal};r.searchParams.append("filter",`id=${this.powerupId}`),Object.entries(P).forEach((([e,t])=>{r.searchParams.append(e,t)})),r.searchParams.append("language",this.language);const s=await fetch(r,a);if(!s.ok)throw new Error(`HTTP error! status: ${s.status}`);const o=await s.json();this.powerUp=o.data[0];const l=(null===(i=this.powerUp.games)||void 0===i?void 0:i.items)||[];this.powerUpGames={items:[...this.powerUpGames.items,...l],total:(null===(n=this.powerUp.games)||void 0===n?void 0:n.total)||this.powerUpGames.total}}catch(e){"AbortError"!==e.name&&console.error("Failed to load more games:",e)}finally{this.abortController.signal.aborted||(this.isLoadingGames=!1)}}}onBackToDetail(){this.backFromPowerupGamesEvent.emit()}onGameClick(e){window.postMessage({type:"EngagementSuiteGameRedirect",data:{Slug:e.slug}})}componentDidUpdate(){this.powerUpGames.items.length<this.powerUpGames.total&&this.initializeGamesObserver()}render(){var e,t;return i("div",{key:"1e7ce5bf041634d441eacdf8eb66dd8b2b050c24",class:"IngamePowerUpGamesContainer",ref:e=>this.stylingContainer=e},i("div",{key:"0945e1b3a335c68b723a51cd8a0ad8776ef2566b",class:"TopBar"},i("div",{key:"fe25ac85c3204a91530b3129cc948ef5ddb3567f",class:"ReturnIcon CircleLinearBorder",onClick:()=>this.onBackToDetail(),innerHTML:'<svg width="14" height="14" viewBox="0 0 14 14"\n fill="none" xmlns="http://www.w3.org/2000/svg">\n <g clip-path="url(#clip0_4119_5439)">\n <path d="M11.1533 12.8332C11.8242 11.9932 12.25 10.9315 12.25 9.759C12.25 6.959 9.7475 4.6665 6.69667 4.6665H1.75"\n stroke="currentColor" stroke-width="0.952264" stroke-miterlimit="10" stroke-linecap="round"\n stroke-linejoin="round" />\n <path d="M5.25 1.16699L1.75 4.66699L5.25 8.16699" stroke="currentColor" stroke-width="0.952264" stroke-miterlimit="10"\n stroke-linecap="round" stroke-linejoin="round" />\n </g>\n <defs>\n <clipPath id="clip0_4119_5439">\n <rect width="14" height="14" fill="white" />\n </clipPath>\n </defs>\n</svg>\n'}),this.powerUp&&i("div",{key:"282b061c77186eca064917c823cdb8dc4b1b00db",class:"Title TextContent"},i("span",{key:"330bee8694baf45f1fc7d43b31f899e16f352609",class:"Name"},this.powerUp.displayName)," /",i("div",{key:"24abf921e35c4fb074bf04cda8f0985340ce0813",class:"Label"},U("games",this.language)),i("div",{key:"bf26cd444bdcf1ccd032f276e5718d523d4ca4cd",class:"GamesTotal"},"( ",this.powerUpGames.total||""," )"))),i("div",{key:"6a5517ea39f7dd6771ad9ce889cc61250660037a",class:"GamesWrapper Card "},this.isLoadingGames&&0===this.powerUpGames.items.length&&i("div",{key:"1f2df724a9b872aeccc42a3f464506d7402b8fd1",class:"Loading"},i("div",{key:"50d4d313bfd33643f6fc2463e32288e851caf065",class:"smart-loader"},i("div",{key:"b04440dc330e503c755198105f45350fd5a9af6e",class:"smart-item"}),i("div",{key:"b90f8f22ce2b95c0746e06c4976887dd27c08f53",class:"smart-item"}),i("div",{key:"af5d51749f9c4b95c1f4df414da7b16e10f36fe3",class:"smart-item"}))),this.isLoadingGames||this.powerUp?i("div",{class:"CircleInner GamesList"},i("div",{class:"Games FlexRow"},this.powerUpGames.total>0&&this.powerUpGames.items.map(((e,t)=>i("div",{class:"Game",ref:t===this.powerUpGames.items.length-1?e=>this.lastGameElement=e:null},i("ui-image",{src:e.thumbnail,alt:e.name}),i("div",{class:"GameMask",onClick:this.onGameClick.bind(this,e)},i("div",{class:"GameStartBtn"},i("div",{class:"PlayIcon"}),i("span",null,U("playNow",this.language))))))),this.isLoadingGames&&(null===(t=null===(e=this.powerUpGames)||void 0===e?void 0:e.items)||void 0===t?void 0:t.length)>this.limit&&i("p",{class:"LoadingMore"},U("loadingMore",this.language)))):i("div",{class:"NoData"},U("noDataFound",this.language)," ")))}handleClientStylingChange(e,t){e!=t&&l(this.stylingContainer,this.clientStyling)}handleClientStylingUrlChange(e,t){e!=t&&h(this.stylingContainer,this.clientStylingUrl)}handleMbSourceChange(e,t){e!=t&&d(this.stylingContainer,`${this.mbSource}.Style`,this.stylingSubscription)}componentWillLoad(){this.loadMoreGames()}componentDidLoad(){this.stylingContainer&&(this.mbSource&&d(this.stylingContainer,`${this.mbSource}.Style`,this.stylingSubscription),this.clientStyling&&l(this.stylingContainer,this.clientStyling),this.clientStylingUrl&&h(this.stylingContainer,this.clientStylingUrl))}disconnectedCallback(){this.stylingSubscription&&this.stylingSubscription.unsubscribe(),this.abortController&&this.abortController.abort(),this.loadMoreGamesObserver&&this.loadMoreGamesObserver.disconnect()}static get watchers(){return{clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"],mbSource:["handleMbSourceChange"]}}};Y.style=':host{display:block;height:100%;--game-amount-line:3}.IngamePowerUpGamesContainer{height:100%;display:flex;padding:var(--emw--ingame-power-container-padding, 8px);justify-content:flex-start;flex-direction:column}.IngamePowerUpGamesContainer .Title .Name{width:calc(100% - 129px);white-space:nowrap;text-overflow:ellipsis;overflow:hidden;display:inline-block}.IngamePowerUpGamesContainer .CircleLinearBorder{background:rgba(9, 9, 9, 0.5019607843);position:relative;width:26px;height:26px;border-radius:20px;background:none;overflow:hidden;border:1.5px solid transparent;display:flex;align-items:center;justify-content:center;cursor:pointer}.IngamePowerUpGamesContainer .CircleLinearBorder svg{border-radius:20px;padding:4.5px;background:var(--emw--ingame-color-powerup-bg, rgba(9, 9, 9, 0.8980392157));z-index:1}.IngamePowerUpGamesContainer .CircleLinearBorder::before{content:"";position:absolute;top:-1.5px;left:-1.5px;right:-1.5px;bottom:-1.5px;z-index:-1;border-radius:21.5px;background:linear-gradient(0deg, var(--emw--ingame-color-white10, rgba(255, 255, 255, 0.0666666667)), var(--emw--ingame-color-white10, rgba(255, 255, 255, 0.0666666667))), linear-gradient(35.22deg, var(--emw--ingame-color-white10, rgba(255, 255, 255, 0)), var(--emw--ingame-color-white30, rgba(255, 255, 255, 0.5490196078)) 89.19%)}.IngamePowerUpGamesContainer .TopBar,.IngamePowerUpGamesContainer .Loading{padding:15px}.IngamePowerUpGamesContainer .TopBar{display:flex;align-items:center;gap:5px}.IngamePowerUpGamesContainer .TopBar .ReturnIcon{width:26px;height:26px;display:flex;border-radius:20px;padding:0;backdrop-filter:blur(13.7647px);justify-content:center;align-items:center}.IngamePowerUpGamesContainer .TopBar .ReturnIcon svg{color:var(--emw--ingame-color-white60, #f0f0f0)}.IngamePowerUpGamesContainer .TopBar .Title{font-weight:600;font-size:0.9rem;line-height:100%;text-align:center;vertical-align:middle;color:var(--emw--ingame-color-neutural-95, #EDEFF2);display:flex;flex-direction:row}.IngamePowerUpGamesContainer .TopBar .Title .Name{font-size:1.1rem}.IngamePowerUpGamesContainer .TopBar .Title .Label{font-size:1.1rem;font-weight:bold;color:var(--emw--ingame-color-neutural-95, #EDEFF2)}.IngamePowerUpGamesContainer .TopBar .TextContent{font-weight:400;font-size:0.9rem;line-height:1.1rem;vertical-align:middle;color:var(--emw--ingame-color-white70, rgba(255, 255, 255, 0.6980392157))}.IngamePowerUpGamesContainer .GamesWrapper{height:calc(100% - 90px);overflow:hidden;width:100%;margin-bottom:10px;scrollbar-width:thin;scrollbar-color:var(--emw--color-background, hsl(254, 8.53%, 54.93%)) transparent}.IngamePowerUpGamesContainer .Games{overflow:auto;scrollbar-width:thin;scrollbar-color:var(--emw--color-background, hsl(254, 8.53%, 54.93%)) transparent}.IngamePowerUpGamesContainer .GamesList{display:flex;height:100%;justify-content:center;flex:1;overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--emw--background-gray-color, gray) transparent}.IngamePowerUpGamesContainer .GamesList::-webkit-scrollbar-track{background-color:transparent;border-radius:5px}.IngamePowerUpGamesContainer .GamesList .Games{padding:15px;display:flex;align-items:flex-start;justify-content:flex-start;flex-wrap:wrap;gap:calc(30px / (var(--game-amount-line, 3) - 1))}.IngamePowerUpGamesContainer .GamesList .Games .Game{width:calc((100% - 30px) / var(--game-amount-line, 3));cursor:pointer;position:relative}.IngamePowerUpGamesContainer .GamesList .Games .Game:hover .mask-filter{opacity:1}.IngamePowerUpGamesContainer .GamesList .Games .Game:hover img{opacity:0.4;filter:blur(1.5px)}.IngamePowerUpGamesContainer .GamesList .Games .Game:hover .GameMask{mix-blend-mode:screen;background-color:var(--emw--color-powup-green, #24B24E);display:flex;justify-content:center;align-items:center;position:absolute;width:100%;opacity:1;left:0;height:100%;top:0;border-radius:8px}.IngamePowerUpGamesContainer .GamesList .Games .Game:hover .GameMask .GameStartBtn{opacity:1}.IngamePowerUpGamesContainer .GameMask{display:none;transition:display;transition-duration:0.2s;opacity:0;position:absolute;width:70%;height:100%}.IngamePowerUpGamesContainer .GameMask .GameStartBtn{width:80px;height:22px;border-radius:8px;opacity:1;padding:4px 5px;background:linear-gradient(180deg, var(--emw--color-powup-green, #24B24E) 0%, var(--emw--color-powup-light-green, #18CE51) 100%);border:1px solid var(--emw--ingame-color-white, #FFFFFF);display:flex;align-items:center;justify-content:space-between;cursor:pointer}.IngamePowerUpGamesContainer .GameMask .GameStartBtn .PlayIcon{background-image:url(\'data:image/svg+xml;charset=utf8,<svg xmlns="http://www.w3.org/2000/svg" width="11" height="11" viewBox="0 0 11 11" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M5.5 1C3.01472 1 1 3.01472 1 5.5C1 7.98528 3.01472 10 5.5 10C7.98528 10 10 7.98528 10 5.5C10 3.01472 7.98528 1 5.5 1ZM0 5.5C0 2.46243 2.46243 0 5.5 0C8.53757 0 11 2.46243 11 5.5C11 8.53757 8.53757 11 5.5 11C2.46243 11 0 8.53757 0 5.5ZM5.12255 3.21652C5.12728 3.21956 5.13199 3.22259 5.13668 3.22561L7.49698 4.74294C7.50129 4.74571 7.50562 4.74849 7.50998 4.75129C7.58551 4.79982 7.66805 4.85285 7.73381 4.90413C7.80355 4.95852 7.91363 5.05446 7.97854 5.20809C8.0574 5.39471 8.0574 5.60529 7.97854 5.79191C7.91363 5.94554 7.80355 6.04148 7.73381 6.09587C7.66805 6.14715 7.58551 6.20018 7.50998 6.24871C7.50562 6.25151 7.50129 6.25429 7.49698 6.25706L5.13668 7.77439C5.13199 7.77741 5.12727 7.78045 5.12255 7.78348C5.03469 7.84 4.9423 7.89941 4.86094 7.94176C4.77909 7.98436 4.63056 8.05332 4.44657 8.04018C4.22957 8.02468 4.02999 7.91572 3.89961 7.74157C3.78907 7.59391 3.76675 7.43167 3.75832 7.33979C3.74995 7.24844 3.74997 7.1386 3.75 7.03414C3.75 7.02852 3.75 7.02292 3.75 7.01733V3.98267C3.75 3.97708 3.75 3.97148 3.75 3.96586C3.74997 3.8614 3.74995 3.75156 3.75832 3.66021C3.76675 3.56833 3.78907 3.40609 3.89961 3.25843C4.02999 3.08428 4.22957 2.97532 4.44657 2.95982C4.63056 2.94668 4.77909 3.01564 4.86094 3.05824C4.94231 3.10059 5.03469 3.16001 5.12255 3.21652ZM4.75 4.16583V6.83417L6.82537 5.5L4.75 4.16583Z" fill="white"/> <path d="M4.75 6.83417V4.16583L6.82537 5.5L4.75 6.83417Z" fill="white"/></svg>\');height:16px;width:16px;background-repeat:no-repeat;background-size:contain}.Games .Container{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;height:calc(100% - 120px);overflow:auto}.Games .Container .Game{width:105px}@keyframes smart-animate1{0%{opacity:0.15;transform:translateX(0px)}35%{opacity:1;transform:translateX(36px)}75%{opacity:1;transform:translateX(0px)}100%{opacity:0.15;transform:translateX(0px)}}@keyframes smart-animate2{0%{opacity:1}35%{opacity:0.15}75%{opacity:0.5}100%{opacity:1}}@keyframes smart-animate3{0%{opacity:0.5;transform:translateX(0px)}35%{opacity:0.15;transform:translateX(-36px)}75%{opacity:0.15;transform:translateX(0px)}100%{opacity:0.5;transform:translateX(0px)}}.smart-loader{margin:50px auto;display:flex;flex-direction:row;align-items:center;justify-content:center;width:100px;gap:10px}.smart-loader .smart-item{width:3px;height:20px;opacity:0.15;animation-delay:200ms;animation-duration:1000ms;animation-timing-function:ease-out;animation-fill-mode:forwards;padding:1px;margin:5px 0;background:var(--emw--ingame-color-powerup-brightgreen, #00FA5A);border-radius:4px;animation-iteration-count:infinite;animation-direction:normal}.smart-loader .smart-item:nth-child(1){animation-name:smart-animate1}.smart-loader .smart-item:nth-child(2){animation-name:smart-animate2;height:36px}.smart-loader .smart-item:nth-child(3){animation-name:smart-animate3}';const G={fields:"id,powerUpID,displayName,termsUrl,description,status,multiplier,boostingPeriod,usedNumberOfRounds,currentTime,expireTime,activatedAt",status:`${a.ACTIVE},${a.ACTIVATED}`},L=class{constructor(i){e(this,i),this.showDetailsEvent=t(this,"showPowerupDetails",7),this.powerupsLoadEvent=t(this,"powerupsLoad",7),this.closePowerupsEvent=t(this,"closePowerupsList",7),this.mbSource=void 0,this.gameId=void 0,this.clientStyling=void 0,this.clientStylingUrl=void 0,this.translationUrl=void 0,this.language="en",this.endpoint=void 0,this.session=void 0,this.limit=30,this.disableCount=!1,this.isLoading=!1,this.isLoadingGamePowers=!1,this.isActivating=!1,this.powerups=[],this.total=0,this.isPowering=!1,this.showConfirmModal=!1,this.currentPowerup=void 0,this.validPowerIds=[],this.activeMessage=void 0,this.showToasting=!1,this.debouncedReload=function(e){let t;return function(...i){const n=this;clearTimeout(t),t=setTimeout((()=>e.apply(n,i)),100)}}(this.reloadPowerups)}reloadPowerupsHandler(e){const{onlyGamePowers:t}=e.detail;this.reloadPowerups(!!t)}activePowerupHandler(e){this.currentPowerup&&(e.detail.id===this.currentPowerup.id&&this.activePowerUp(this.currentPowerup),this.showConfirmModal=!1)}powerupTimeCountDownHandler(e){this.disableCount||e.detail.timeLeft<=0&&this.reloadPowerups()}async reloadPowerups(e=!1){e?await this.loadGamePowers():await this.loadData(!1)}handleConfigChange(){this.debouncedReload()}async loadGamePowers(){if(!this.isLoadingGamePowers)try{this.isLoadingGamePowers=!0;const e=new URL(`${this.endpoint}/v1/elevate/powerups`),t={headers:{"Content-Type":"application/json","x-SessionId":this.session},method:"GET"};e.searchParams.append("filter",`gameId=${this.gameId}`),Object.entries(G).forEach((([t,i])=>{e.searchParams.append(t,i)}));const i=await fetch(e,t);if(!i.ok)throw window.postMessage({type:"errorWhenLoadPowerups",status:i.status}),new Error(`HTTP error! status: ${i.status}`);const{data:n,total:r}=await i.json();this.validPowerIds=n.map((e=>e.powerUpID)),this.powerupsLoadEvent.emit({powerups:n,total:r})}catch(e){console.error("Failed to load game powerups:",e)}finally{this.isLoadingGamePowers=!1}}async loadData(e=!0){if(!(this.isLoading||this.total>0&&this.powerups.length>=this.total)){this.isLoading=!0,this.abortController&&this.abortController.abort(),this.abortController=new AbortController,e||(this.powerups=[],this.total=0,await this.loadGamePowers());try{const e=this.powerups.length,t=new URL(`${this.endpoint}/v1/elevate/powerups`),i={headers:{"Content-Type":"application/json","x-SessionId":this.session},method:"GET",signal:this.abortController.signal};t.searchParams.append("pagination",`offset=${e},limit=${this.limit}`),t.searchParams.append("language",this.language),Object.entries(G).forEach((([e,i])=>{t.searchParams.append(e,i)}));const n=await fetch(t,i);if(!n.ok)throw window.postMessage({type:"errorWhenLoadPowerups",status:n.status}),new Error(`HTTP error! status: ${n.status}`);const{data:r,total:s,success:o,errorMessage:l}=await n.json();if(!o)throw this.activeMessage={isSuccessed:!1,info:f("LoadDataFailed")},this.showToasting=!0,this.timerId=setTimeout((()=>{this.showToasting=!1}),2e3),new Error(`HTTP error! status: ${l}`);this.powerups=[...this.powerups,...r],this.isPowering=this.powerups.filter((e=>e.status===a.ACTIVATED)).length>0,this.powerups.forEach((e=>{e.isValidForCurrentGame=!this.isPowering&&this.validPowerIds.indexOf(e.powerUpID)>-1})),this.total=s}catch(e){"AbortError"!==e.name&&console.error("Failed to load powerups:",e)}finally{this.abortController.signal.aborted||(this.isLoading=!1)}}}initializeObserver(){this.loadMoreObserver&&this.loadMoreObserver.disconnect(),this.loadMoreObserver=new IntersectionObserver((e=>{e.forEach((e=>{e.isIntersecting&&""!=e.target.innerHTML&&this.loadData().catch(console.error)}))})),this.lastItemElement&&this.loadMoreObserver.observe(this.lastItemElement)}async activePowerUp(e){if(this.endpoint&&this.session&&!this.isActivating&&!this.isPowering){this.isActivating=!0,this.powerups.forEach((t=>{t.id===e.id&&(t.status=a.ACTIVATING)})),this.abortController&&this.abortController.abort(),this.abortController=new AbortController;try{const t=new URL(`${this.endpoint}/v1/elevate/activatepowerup`);let i={headers:{"Content-Type":"application/json","x-SessionId":this.session},method:"PUT",signal:this.abortController.signal,body:JSON.stringify({powerUpId:e.id})};const n=await fetch(t.href,i);if(!n.ok)throw new Error(`HTTP error! status: ${n.status}`);const r=await n.json();(null==r?void 0:r.success)&&(this.isPowering=!0),this.activeMessage={isSuccessed:r.success,info:f(r.success?"activeSuccess":"activeError",this.language),detail:r.errorMessage},this.showToasting=!0,this.timerId=setTimeout((()=>{this.showToasting=!1,r.success&&this.reloadPowerups()}),2e3)}catch(e){console.error(e)}finally{this.abortController.signal.aborted||(this.isActivating=!1)}}}onClose(){this.closePowerupsEvent.emit({powerups:this.powerups})}showDetail(e){e.isValidForCurrentGame=!this.isPowering&&this.validPowerIds.indexOf(e.powerUpID)>-1,this.showDetailsEvent.emit({id:e.id,powerup:e})}onActiveBtnClick(e){this.isPowering||this.isActivating||!e.isValidForCurrentGame||(this.currentPowerup=e,this.showConfirmModal=!0)}componentDidUpdate(){this.total>0&&this.powerups.length<this.total&&this.initializeObserver()}render(){var e,t,n,r;return i("div",{key:"46173d19e0994034918cb53d7cae029372a9a872",class:"IngamePowerUpsContainer",ref:e=>this.stylingContainer=e},i("div",{key:"5bf0e49116a07bab74335e71f872f0a481c5e1f9",class:"TopBar "+(this.showConfirmModal?"Hidden":"")},i("span",{key:"23ac83a58a001dd1c6835176c7746210c57b33d8",class:"BarTitle"},f("powerups",this.language)),i("div",{key:"5a935b3eee02c3f5d6acc33dee137c69a3f1df22",class:"IconBtn CircleLinearBorder",onClick:this.onClose.bind(this),innerHTML:g})),this.isLoading&&0===this.powerups.length?i("smart-loader",null):this.powerups.length>0?i("div",{class:"Cards "+(this.showConfirmModal||0===this.powerups.length?"Hidden":"")},this.isPowering&&i("div",{class:"Card PoweringDesc"},i("div",{class:"FlexRow"},i("div",{class:"Icon",innerHTML:'<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path fill-rule="evenodd" clip-rule="evenodd" d="M6.99967 1.75016C4.10018 1.75016 1.74967 4.10067 1.74967 7.00016C1.74967 9.89966 4.10018 12.2502 6.99967 12.2502C9.89917 12.2502 12.2497 9.89966 12.2497 7.00016C12.2497 4.10067 9.89917 1.75016 6.99967 1.75016ZM0.583008 7.00016C0.583008 3.45634 3.45585 0.583496 6.99967 0.583496C10.5435 0.583496 13.4163 3.45634 13.4163 7.00016C13.4163 10.544 10.5435 13.4168 6.99967 13.4168C3.45585 13.4168 0.583008 10.544 0.583008 7.00016ZM6.41634 4.66683C6.41634 4.34466 6.67751 4.0835 6.99967 4.0835H7.00551C7.32767 4.0835 7.58884 4.34466 7.58884 4.66683C7.58884 4.989 7.32767 5.25016 7.00551 5.25016H6.99967C6.67751 5.25016 6.41634 4.989 6.41634 4.66683ZM6.99967 6.41683C7.32184 6.41683 7.58301 6.678 7.58301 7.00016V9.3335C7.58301 9.65566 7.32184 9.91683 6.99967 9.91683C6.67751 9.91683 6.41634 9.65566 6.41634 9.3335V7.00016C6.41634 6.678 6.67751 6.41683 6.99967 6.41683Z" fill="url(#paint0_linear_4493_116)"/>\n<defs>\n<linearGradient id="paint0_linear_4493_116" x1="9.23362" y1="14.7353" x2="-7.16233" y2="0.909066" gradientUnits="userSpaceOnUse">\n<stop stop-color="#D6FFDC"/>\n<stop offset="0.671344" stop-color="#74B580"/>\n<stop offset="1" stop-color="#509142"/>\n</linearGradient>\n</defs>\n</svg>\n'}),i("div",{class:"Text"},f("poweringTooltip",this.language)))),this.powerups.map(((e,t)=>{const n=t===this.powerups.length-1;return i("div",{class:`Card ${e.status===a.ACTIVATED?"Actived":""} ${n?"LastItem":""}`,ref:n?e=>this.lastItemElement=e:null},i("div",{class:"PowerupTitle FlexRow"},i("div",{class:"LeftOfRow"},i("div",{class:"EnergyIcon",innerHTML:'<svg width="16" height="23" viewBox="0 0 16 23" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M14.9994 7.31774H10.7237L13.8675 1.56809C13.9553 1.40902 14.0015 1.22856 14.0015 1.04488C14.0014 0.861196 13.955 0.680783 13.867 0.521802C13.779 0.362822 13.6525 0.230887 13.5002 0.139282C13.3479 0.0476784 13.1752 -0.000360859 12.9995 2.04092e-06H6.00004C5.81422 -8.84852e-05 5.63206 0.0539544 5.47398 0.156068C5.3159 0.258181 5.18817 0.404325 5.1051 0.578103L0.105459 11.032C0.0292615 11.1914 -0.00668829 11.3686 0.00102409 11.5466C0.00873646 11.7246 0.0598548 11.8976 0.149524 12.0492C0.239193 12.2008 0.364436 12.3259 0.513357 12.4126C0.662278 12.4993 0.829932 12.5448 1.0004 12.5447H5.65607L3.04225 21.6532C2.97593 21.8834 2.98756 22.1306 3.0752 22.3529C3.16284 22.5752 3.32112 22.7592 3.52336 22.8738C3.7256 22.9883 3.95944 23.0265 4.18546 22.9818C4.41147 22.9371 4.61585 22.8124 4.76413 22.6285L15.7634 9.03845C15.8866 8.88622 15.9656 8.70031 15.9911 8.50267C16.0165 8.30503 15.9874 8.10389 15.9071 7.923C15.8267 7.74211 15.6986 7.58901 15.5378 7.48176C15.377 7.37452 15.1902 7.3176 14.9994 7.31774ZM6.33702 17.4465L7.9579 11.8014C8.00301 11.6452 8.01251 11.4801 7.98565 11.3194C7.95878 11.1586 7.8963 11.0067 7.80319 10.8757C7.71009 10.7447 7.58895 10.6384 7.44947 10.5651C7.31 10.4919 7.15605 10.4538 6.99997 10.4539H2.61828L6.618 2.09078H11.2757L8.13189 7.84043C8.04405 7.9995 7.99784 8.17996 7.99792 8.36364C7.99801 8.54732 8.04439 8.72774 8.13238 8.88672C8.22038 9.0457 8.34689 9.17763 8.49917 9.26924C8.65146 9.36084 8.82414 9.40888 8.99983 9.40852H12.8436L6.33702 17.4465Z" fill="url(#paint0_linear_3660_5836)"/>\n<defs>\n<linearGradient id="paint0_linear_3660_5836" x1="0" y1="0" x2="21.8708" y2="9.53767" gradientUnits="userSpaceOnUse">\n<stop stop-color="#F68B2E"/>\n<stop offset="1" stop-color="#F6BB5C"/>\n</linearGradient>\n</defs>\n</svg>\n'}),i("div",{class:"Name"},e.powerUpName)),i("div",{class:"DetailIcon",onClick:this.showDetail.bind(this,e)},i("div",{class:"IconBtn CircleLinearBorder",innerHTML:'<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M2.33398 2.3335L7.00065 7.00016L2.33398 11.6668" stroke="white" stroke-width="0.952264" stroke-linecap="round" stroke-linejoin="round"/>\n<path d="M7 2.3335L11.6667 7.00016L7 11.6668" stroke="white" stroke-width="0.952264" stroke-linecap="round" stroke-linejoin="round"/>\n</svg>\n'}))),i("div",{class:"ExpireTime Status CircleLinearBorder"},i("time-count",e.status===a.ACTIVATED?{"in-progress":!0,mode:e.boostingPeriod.mode,"left-rounds":(e.boostingPeriod.numberOfRounds||0)-(e.usedNumberOfRounds||0),language:this.language,"expire-time":(r=e,r.activatedAt&&r.status==a.ACTIVATED?s(r.activatedAt).add(r.boostingPeriod.minutes,"minute").format("YYYY-MM-DDTHH:mm:ssZ"):r.expireTime)}:{language:this.language,mode:e.boostingPeriod.mode,"expire-time":e.expireTime})),i("div",{class:"MultiplierInfo FlexRow"},i("div",{class:"LeftOfRow"},i("div",{class:"MultiplierIcon",innerHTML:'<svg width="10" height="12" viewBox="0 0 10 12" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M3.03794 4.01199L3.03683 4.01253L3.03516 4.01361L3.03794 4.01199ZM8.56797 3.91054C8.52932 3.87413 8.48643 3.84227 8.44019 3.81561C8.37472 3.77797 8.30204 3.75384 8.22664 3.74472C8.15125 3.7356 8.07473 3.74167 8.00184 3.76257C7.92894 3.78347 7.86121 3.81874 7.80282 3.86621C7.74444 3.91369 7.69665 3.97235 7.66241 4.03857C7.47107 4.40687 7.20713 4.73466 6.88574 5.00311C6.93501 4.73271 6.95992 4.45861 6.96018 4.18395C6.96124 3.3486 6.73559 2.52789 6.3062 1.80538C5.87681 1.08287 5.25902 0.484375 4.51572 0.0708199C4.43382 0.0253751 4.34142 0.00101547 4.24722 3.10685e-05C4.15301 -0.000953328 4.0601 0.0214698 3.97722 0.0651925C3.89433 0.108915 3.82419 0.172501 3.77339 0.249974C3.7226 0.327446 3.69281 0.416259 3.68683 0.508064C3.65573 1.0224 3.51802 1.52521 3.28205 1.98604C3.04608 2.44688 2.71676 2.85614 2.31405 3.18903L2.18627 3.29048C1.76494 3.56728 1.39202 3.90853 1.08182 4.30113C0.599746 4.89413 0.265808 5.58866 0.106489 6.32962C-0.0528307 7.07059 -0.0331479 7.83762 0.163976 8.56986C0.361099 9.30211 0.730241 9.97943 1.24212 10.5481C1.754 11.1168 2.39454 11.5612 3.11294 11.846C3.19728 11.8796 3.28877 11.8923 3.37936 11.8832C3.46994 11.8741 3.55684 11.8434 3.63241 11.7937C3.70797 11.7441 3.76989 11.6771 3.8127 11.5986C3.85552 11.5202 3.87792 11.4326 3.87794 11.3437C3.87748 11.2862 3.86812 11.2292 3.85017 11.1744C3.72587 10.7182 3.69006 10.2433 3.74461 9.77428C4.27043 10.7424 5.11436 11.5097 6.14073 11.9529C6.26596 12.0076 6.4075 12.0149 6.53796 11.9735C7.34878 11.7179 8.07921 11.2641 8.65986 10.6553C9.24051 10.0464 9.65209 9.3027 9.8555 8.49478C10.0589 7.68686 10.0474 6.84157 9.82205 6.03922C9.5967 5.23687 9.165 4.5041 8.56797 3.91054ZM6.39851 10.8712C5.91423 10.6316 5.48701 10.2951 5.14463 9.88369C4.80226 9.47226 4.55239 8.99508 4.41128 8.48316C4.36814 8.31077 4.33475 8.13618 4.31128 7.96021C4.29547 7.84814 4.24418 7.74371 4.16459 7.66152C4.085 7.57932 3.98109 7.52348 3.86739 7.5018C3.83243 7.49517 3.79689 7.4919 3.76128 7.49204C3.66366 7.49195 3.56775 7.51697 3.48319 7.56459C3.39863 7.6122 3.32841 7.68074 3.27961 7.76328C2.81874 8.53972 2.58703 9.42559 2.61016 10.3227C2.20469 10.015 1.86581 9.6317 1.61316 9.19511C1.36052 8.75852 1.19913 8.27731 1.13836 7.77936C1.07759 7.28142 1.11864 6.77664 1.25913 6.29431C1.39963 5.81197 1.63677 5.36166 1.95682 4.96948C2.19983 4.66126 2.49299 4.39406 2.8246 4.17853C2.83912 4.16944 2.85303 4.15948 2.86627 4.14869C2.86627 4.14869 3.03072 4.01578 3.03627 4.01307C3.82805 3.3594 4.39126 2.4808 4.64739 1.49973C5.25263 2.04621 5.65615 2.77254 5.79529 3.56593C5.93442 4.35932 5.80139 5.17538 5.41684 5.88736C5.36595 5.9824 5.34505 6.09002 5.35677 6.19665C5.36849 6.30328 5.41232 6.40412 5.48271 6.48644C5.5531 6.56876 5.64689 6.62886 5.75224 6.65914C5.8576 6.68943 5.96978 6.68855 6.07462 6.65661C6.92559 6.39601 7.67437 5.88711 8.22019 5.1984C8.54836 5.67158 8.76292 6.21098 8.8479 6.77639C8.93287 7.34181 8.88606 7.91866 8.71095 8.46396C8.53584 9.00925 8.23695 9.50892 7.83657 9.92572C7.43618 10.3425 6.94461 10.6657 6.39851 10.8712Z" fill="white" fill-opacity="0.5"/>\n</svg>\n'}),i("div",{class:"MultiplierValue"},e.multiplier.coefficient,"x"),i("div",{class:"MultiplierMode"},f(e.multiplier.mode===c.COINS?"coins":"xp",this.language)),i("div",{class:"MultiplierIcon",innerHTML:'<svg width="11" height="12" viewBox="0 0 11 12" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M9.02187 3.84217L9.59599 3.27436C9.71479 3.15556 9.78153 2.99444 9.78153 2.82643C9.78153 2.65842 9.71479 2.49729 9.59599 2.37849C9.47719 2.25969 9.31606 2.19295 9.14805 2.19295C8.98004 2.19295 8.81891 2.25969 8.70011 2.37849L8.1323 2.95261C7.24813 2.26862 6.16191 1.89751 5.04405 1.89751C3.9262 1.89751 2.83997 2.26862 1.9558 2.95261L1.38168 2.37218C1.26205 2.25338 1.10012 2.18697 0.931516 2.18756C0.762915 2.18815 0.601455 2.2557 0.482654 2.37533C0.363853 2.49497 0.297445 2.6569 0.298036 2.8255C0.298628 2.9941 0.366171 3.15556 0.485809 3.27436L1.06624 3.84848C0.374149 4.73019 -0.00137735 5.819 1.65478e-05 6.93989C-0.00204377 7.74455 0.188317 8.53804 0.555222 9.25419C0.922128 9.97034 1.45494 10.5884 2.10923 11.0568C2.76352 11.5252 3.52032 11.8303 4.31651 11.9468C5.11269 12.0633 5.9252 11.9878 6.68625 11.7264C7.4473 11.4651 8.13485 11.0256 8.69154 10.4446C9.24824 9.86362 9.65795 9.15792 9.8865 8.3864C10.1151 7.61487 10.1558 6.79988 10.0054 6.0094C9.85502 5.21892 9.51779 4.47585 9.02187 3.84217ZM5.04721 10.7253C4.29853 10.7253 3.56666 10.5033 2.94415 10.0873C2.32165 9.67138 1.83647 9.08018 1.54996 8.38849C1.26345 7.6968 1.18849 6.93569 1.33455 6.20139C1.48061 5.4671 1.84113 4.79261 2.37053 4.26321C2.89993 3.73381 3.57442 3.37329 4.30871 3.22723C5.04301 3.08117 5.80412 3.15613 6.49581 3.44264C7.1875 3.72915 7.7787 4.21433 8.19465 4.83683C8.61059 5.45934 8.8326 6.19121 8.8326 6.93989C8.8326 7.94383 8.43378 8.90666 7.72388 9.61656C7.01399 10.3265 6.05116 10.7253 5.04721 10.7253ZM3.78541 1.2618H6.309C6.47633 1.2618 6.6368 1.19533 6.75512 1.07701C6.87343 0.958695 6.9399 0.798223 6.9399 0.630899C6.9399 0.463574 6.87343 0.303102 6.75512 0.184786C6.6368 0.0664695 6.47633 0 6.309 0H3.78541C3.61808 0 3.45761 0.0664695 3.3393 0.184786C3.22098 0.303102 3.15451 0.463574 3.15451 0.630899C3.15451 0.798223 3.22098 0.958695 3.3393 1.07701C3.45761 1.19533 3.61808 1.2618 3.78541 1.2618ZM5.67811 5.04719C5.67811 4.87987 5.61164 4.71939 5.49332 4.60108C5.375 4.48276 5.21453 4.41629 5.04721 4.41629C4.87988 4.41629 4.71941 4.48276 4.60109 4.60108C4.48278 4.71939 4.41631 4.87987 4.41631 5.04719V6.23959C4.27345 6.36736 4.17276 6.5355 4.12756 6.72175C4.08235 6.908 4.09477 7.10359 4.16315 7.28263C4.23154 7.46168 4.35268 7.61573 4.51054 7.72442C4.66841 7.83311 4.85555 7.8913 5.04721 7.8913C5.23887 7.8913 5.42601 7.83311 5.58387 7.72442C5.74173 7.61573 5.86287 7.46168 5.93126 7.28263C5.99965 7.10359 6.01206 6.908 5.96686 6.72175C5.92165 6.5355 5.82096 6.36736 5.67811 6.23959V5.04719Z" fill="white" fill-opacity="0.5"/>\n</svg>\n'}),i("div",{class:"MultiplierValue"},e.boostingPeriod[e.boostingPeriod.mode===o.NUMBER_OF_ROUNDS?"numberOfRounds":"minutes"]),i("div",{class:"MultiplierMode"},f(e.boostingPeriod.mode===o.NUMBER_OF_ROUNDS?e.boostingPeriod.numberOfRounds>1?"rounds":"round":"minutes",this.language))),(e.status===a.ACTIVE||e.status===a.ACTIVATING)&&i("div",{class:`ActiveBtn CircleLinearBorder ${this.isPowering||this.isActivating||!e.isValidForCurrentGame?"Disabled":""} ${this.isActivating?"Activating":""}`,onClick:()=>this.onActiveBtnClick(e)},i("div",{class:"content"}," ",f("activate",this.language)))));var r})),this.isLoading&&this.powerups.length>0&&i("smart-loader",null)):i("div",{class:"EmptyPowerups Cards"},i("div",{class:"Icon",innerHTML:'<svg width="52" height="52" viewBox="0 0 52 52" fill="none" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n<rect width="52" height="52" fill="url(#pattern0_1132_30534)"/>\n<defs>\n<pattern id="pattern0_1132_30534" patternContentUnits="objectBoundingBox" width="1" height="1">\n<use xlink:href="#image0_1132_30534" transform="scale(0.01)"/>\n</pattern>\n<image id="image0_1132_30534" width="100" height="100" preserveAspectRatio="none" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAACXBIWXMAAAsTAAALEwEAmpwYAAAHlElEQVR4nO2daYwURRTH/4tnvPCI9xE1ahQTNZmp6gXRzar4wTtGvPWLUeIVPxgVNWbizqvZRdTAGoioEQwaFDWK0YBCvMUbJWJIBD8QOUIEowhEQFjzepu4WaZ6qnp6tqub+iX9hexUV/W/Xh3vvSoAj8fj8Xg8Ho/H4/F4ikapB8PLNYiyws2S8LBU6JEKU4TCNKkwWSjUhML9ZYWrRRfOPGUy9sm6zoWio4IDpMI1/NElYalU6LN5hMI2SVgoFUgqdI6djT2yblP+6ENbuYqLJGGmJGy0FSFWIMIqQZgoFUZk3Uz3qWBYmXC5VPg2TRFinvmS0J51s51EKnQKws9DJMRgq5kjqzgp62/gBOcoHC4VXs5CiEGibBaERzsq2BO7K6KK84XCykQfUOGvaGibJxVms6hC4Q0ehiJL25Kw3M9kD47D7oYkPBCugEw/FmGFJEwVCteafDDu6SWF06XCOKnwqiBssBDmd1nFBdgtqGAY7xcMe+u2aDjr5N8189pSBfsJhRsF4VNDUbaw+Ci8GISZBuP5v5LwXKsmWqlwnlD4yECU7WxhKCqSMNVgaPom6EZpKOrDFiMJaxqJUq7iOhQNSag0aji7PYZ6lROu8ghzDYavC1EURA2XScKOGKvYyH+T8VBabTjRF2H1Va7ieElYFzNxr3dlt1wm3BXNG9olce73KZKwIKaBf7PnFg4RiRJnKY8gr4STZsySNlAYAweJPMM6QTYF3TgReUNWcFCDFcyDcHuvNC9mWT4HeUMojI8RYx672OEwIys4Iq5DlQgSeaGjgn11jRGEzeVunIwcEEYl9UPu28gLcROjIDxmWx6HYjlimDTaF/Z2hek8jFr9sA9tkvCxZqm+I+jCGcgDugCTUFg/agIOtCkrchCujsqYbbvsjIaen6LO8N3obhxi8/uyQkfM0NsD1+HQaIx1PG5rGUJh7aAyZplaSmQZSwb17IW2lhK65Ot3sJXOx+j5o2sE2d5OOLYZMWxEqStGQlFEFTfpOhlbEFxGKnyhqfx80zJ4WBKEZXEbtDhRYsX4/5luWp+zJmJ/3sRqyumC0yk7hK2aio+zKUvUMDKKClqJYijGEv47q/oQXtdY2+dwFfaIaj9eDadZl2cpSqvEiNp2p0aQrSMq2BsuIhXu1lR6TdIyTUUZNQHHtEqMRosVZ5e/ktCrEWRBM+WaiGKQUJdYjJ3zWkzixFVwEUF4T1PhKU2XbSJKi8TYiS6VlXOJ4SI8wbXSZS2SiZKKGEyY6VjfOqtwEUFYrOlB96b1Do63C8IfRmIQlpYIR6f1bkF4SzOHTYKLSIXlmo9zW5rvCWq4wkCMjTzRp/leXcaMILwAF9Hl5rKzESkx0Ddl8Fj7vpLsRYTCM3ARqfC1pgc9lIEYqYsiCO9r2qfgItp0GsKTzZZtuOmr+9g4JBu0b5HGQsbDRdh0NR/lnQwsI11L6UOb1p9VxQ1wEV5NaXrosqRlmrpDJOHKJL4vU0o9OEFX7lBlWlpTUjhXM2TtEE/gKNvybH1TSR2SJrAV6NpmG3QbMtjJxmky9SpetsyPNRqm6uwzDPcp1sOXVHhe1yHgMoLwgebjvWIZD1lsahkJd/TG7hy2KD4sqmlXL1wmINyh+QCbbEw7ULg+PJZgKYaJKByJ5IikRV3GxAjrpmNxJ6KGw3ReUaFwu01ZGlGMfVP1RLEVIyyHMEszH23gg0BwnejMX93V1ljLCXWQKPaRvgGiJBEj6MKpMZZqHAbOlKCGQGviNdxiXV6/KIuTem1DUQjLbMVgJGFGzHDVibwgFT7RWMmqJMvEZt0fSX7PQuqOJwiF711Ph921MfpDOpPhOKVp2Esq/KCzDr7cBnlDN5dIFopwKRxGKjylE0MQfmz2VHAmcGKcJPypEWWdq9dZcO/XWjfn9FYxGnmFl7oxk+LyQOFIuLYgiUmYEIQXkWvYS6oJfcr+HrcorZh3GmLEul0IK9orOBR55+wKDo4J7/KK5Zesh6+ghktiU4kIW3mhgiLAFiAaXb1EWJfJ0egKhvGZlZjNX/gECvehCFhF+ihcffVaH6xJSLQL/9CgXk1HPJ2gibDrakm4tVVnwqMhlCThn0Z1EQov5WoD2IoYuBy4CmPvcUoWw1E/TkjQLsV3tYzeXO43kogh+ucU7URf57a3WXzu3TbxLUySJtwTnRXU3tIw6NnOV9CiCNiEXUs9GC4JbyaxHM4jFoSnOcWI877Yknji5Wv6BOFZnht0J7AaDFFrZQ0XowgkOp/RhzbObDQeRlr5EOamne2YGc0elmlnNwv7vuJuDWrRIwi/8WXNKAppnlyShHad674Fz2o+SsBnCFEU2BfVipNLQb9P6bWkt4vGWoTCl3zmkW+cQJFolRgDYd8ROyjDvNrk145v4csvwx15grOOuWAoxKgXNCpXMSq6uoP/J4R3BeGrKHPxVw4ohR++/98nRQc1O3ORiNAMSZPYPC3Ai+EQXgyH8GI4hBfDIbwYDuHFcAgvhkN4MRzCi+EQXgyH8GI4hBcjLzfBDfDaupaDW3g4WcBbhuuieDEcEsWL4Q5hnpOfMzwej8fj8Xg8Ho/H4/GgyPwHN+MBWXHaP7AAAAAASUVORK5CYII="/>\n</defs>\n</svg>\n'}),i("span",{class:"NoPowerTitle"},f("nothingHere",this.language)),i("div",{class:"NoPowerDescription"},i("span",null,f("noPowerUpsNow")),i("span",null,f("gotoShop"))),i("div",null)),i("active-confirm-modal",{key:"0d4b72f43f5d5430253a19af9ca17204e452c588","is-open":this.showConfirmModal,pid:null===(e=this.currentPowerup)||void 0===e?void 0:e.id,language:this.language}),i("div",{key:"35df0716128bdbd2a44f50f0031c8bc877e301da",class:`ToastWrapper ${this.showToasting?"Shown":"Hidden"} ${(null===(t=this.activeMessage)||void 0===t?void 0:t.isSuccessed)?"Success":"Failed"}`},i("div",{key:"1687a5ea4434755e4ece7dfeeacb02ed0eab068a",class:"Details"},i("span",{key:"79383527e04489fbd7e015b673dd4d8876b70b0e",class:"Info"},null===(n=this.activeMessage)||void 0===n?void 0:n.info),(null===(r=this.activeMessage)||void 0===r?void 0:r.detail)&&i("span",{key:"b3dbb5d51e457e77111140db035dc5a8a7780b62",class:"Detail"}," - [ ",this.activeMessage.detail," ]"))))}handleClientStylingChange(e,t){e!=t&&l(this.stylingContainer,this.clientStyling)}handleClientStylingUrlChange(e,t){e!=t&&h(this.stylingContainer,this.clientStylingUrl)}handleMbSourceChange(e,t){e!=t&&d(this.stylingContainer,`${this.mbSource}.Style`,this.stylingSubscription)}handleNewTranslations(){m(this.translationUrl)}async componentWillLoad(){this.translationUrl&&await m(this.translationUrl),this.handleConfigChange()}componentDidLoad(){this.stylingContainer&&(this.mbSource&&d(this.stylingContainer,`${this.mbSource}.Style`,this.stylingSubscription),this.clientStyling&&l(this.stylingContainer,this.clientStyling),this.clientStylingUrl&&h(this.stylingContainer,this.clientStylingUrl))}disconnectedCallback(){this.abortController&&this.abortController.abort(),this.loadMoreObserver&&this.loadMoreObserver.disconnect(),this.stylingSubscription&&this.stylingSubscription.unsubscribe(),this.timerId&&clearTimeout(this.timerId)}static get assetsDirs(){return["../assets"]}static get watchers(){return{session:["handleConfigChange"],endpoint:["handleConfigChange"],limit:["handleConfigChange"],language:["handleConfigChange"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"],mbSource:["handleMbSourceChange"],translationUrl:["handleNewTranslations"]}}};L.style='@charset "UTF-8";.FlexRow{display:flex;flex-direction:row;justify-content:space-between;align-items:flex-start;gap:5px}.IngamePowerUpsContainer{display:block;transition:opacity 200ms ease-in-out;height:100%;padding:var(--emw--ingame-power-container-padding, 8px);}.IngamePowerUpsContainer .EmptyPowerups{align-items:center;justify-content:center;font-weight:400;font-size:1.2em;line-height:24px;text-align:center;vertical-align:middle;width:max-content;margin:auto;display:flex;flex-direction:column;padding:50px}.IngamePowerUpsContainer .EmptyPowerups.Cards{height:calc(100% - 260px)}.IngamePowerUpsContainer .EmptyPowerups .Icon,.IngamePowerUpsContainer .EmptyPowerups .NoPowerTitle{text-align:center}.IngamePowerUpsContainer .EmptyPowerups .Icon svg,.IngamePowerUpsContainer .EmptyPowerups .NoPowerTitle svg{width:40px}.IngamePowerUpsContainer .EmptyPowerups .NoPowerTitle{font-size:1.2em;font-weight:bold;margin:10px}.IngamePowerUpsContainer .EmptyPowerups .NoPowerDescription{display:flex;flex-direction:column}.IngamePowerUpsContainer .ToastWrapper{position:absolute;width:80%;display:flex;gap:10px;align-items:center;opacity:0;z-index:1000;transition:opacity 0.5s ease-out;bottom:10px;right:10px;height:40px;border-top-left-radius:8px;border-bottom-left-radius:8px;border-width:1px;padding:8px 15px}.IngamePowerUpsContainer .ToastWrapper.Shown{opacity:1}.IngamePowerUpsContainer .ToastWrapper.Hidden{opacity:0;z-index:-1;display:inherit}.IngamePowerUpsContainer .ToastWrapper.Failed,.IngamePowerUpsContainer .ToastWrapper.Success{padding:10px;border-radius:10px;background:linear-gradient(180deg, #262849 0%, #191B31 50%, #16102A 100%)}.IngamePowerUpsContainer .ToastWrapper.Success{border:1px solid;border-image-source:linear-gradient(94.32deg, var(--emw--ingame-color-pth-primary1, #9500FF) 4.41%, var(--emw--ingame-color-pth-primary2, #232EC4) 113.86%)}.IngamePowerUpsContainer .ToastWrapper.Failed{border:1px solid var(--emw--ingame-color-light-red, #FF4D4F)}.IngamePowerUpsContainer .IconBtn{width:26px;height:26px}.IngamePowerUpsContainer .Hidden{opacity:0 !important;display:none}.IngamePowerUpsContainer .CircleLinearBorder{position:relative;border-radius:20px;background:none;overflow:hidden;border:1.5px solid transparent;display:flex;align-items:center;justify-content:center;cursor:pointer}.IngamePowerUpsContainer .CircleLinearBorder svg{border-radius:20px;padding:4.5px;background:var(--emw--ingame-color-powerup-bg, rgba(9, 9, 9, 0.8980392157));z-index:1}.IngamePowerUpsContainer .CircleLinearBorder::before{content:"";position:absolute;top:-1.5px;left:-1.5px;right:-1.5px;bottom:-1.5px;z-index:0;border-radius:21.5px;background:linear-gradient(0deg, var(--emw--ingame-color-white10, rgba(255, 255, 255, 0.0666666667)), var(--emw--ingame-color-white10, rgba(255, 255, 255, 0.0666666667))), linear-gradient(35.22deg, var(--emw--ingame-color-white10, rgba(255, 255, 255, 0)), var(--emw--ingame-color-white30, rgba(255, 255, 255, 0.5490196078)) 89.19%)}.IngamePowerUpsContainer .TopBar{opacity:1;transition:all 0.5s ease-in-out;display:flex;justify-content:space-between;align-items:center;padding:15px}.IngamePowerUpsContainer .TopBar .BarTitle{width:calc(100% - 20px);font-weight:600;font-size:1.2rem;text-align:center;vertical-align:middle}.IngamePowerUpsContainer .Cards{opacity:1;transition:all 0.5s ease-in-out;width:100%;height:calc(100% - 70px);gap:16px;opacity:1;padding:1px;overflow:auto;display:flex;flex-direction:column;scrollbar-width:thin;scrollbar-color:var(--emw--color-background, hsl(254, 8.53%, 54.93%)) transparent}.IngamePowerUpsContainer .Cards .Card{background-color:var(--emw--ingame-color-powerup-bg, rgba(27, 27, 27, 0.8901960784));border:1px solid var(--emw--ingame-color-white10, rgba(255, 255, 255, 0.1019607843));height:99px;gap:12px;opacity:1;border-radius:18px;border-width:1px;padding:14px;align-items:center}.IngamePowerUpsContainer .Cards .Card.PoweringDesc{align-items:flex-start;height:auto;transition:all 0.3s ease-in-out}.IngamePowerUpsContainer .Cards .Card.Hidden{display:none}.IngamePowerUpsContainer .Cards .Card .LeftOfRow{display:flex;flex-direction:row;gap:10px}.IngamePowerUpsContainer .Cards .Card .PowerupTitle,.IngamePowerUpsContainer .Cards .Card .ExpireTime,.IngamePowerUpsContainer .Cards .Card .MultiplierInfo{display:flex;flex-direction:row;align-items:center}.IngamePowerUpsContainer .Cards .Card .PowerupTitle{font-weight:bold}.IngamePowerUpsContainer .Cards .Card .PowerupTitle .LeftOfRow{width:calc(100% - 40px)}.IngamePowerUpsContainer .Cards .Card .PowerupTitle .Name{width:calc(100% - 40px);text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.IngamePowerUpsContainer .Cards .Card .MultiplierInfo{align-items:flex-end;height:37.6px}.IngamePowerUpsContainer .Cards .Card .MultiplierInfo .MultiplierIcon{height:12px}.IngamePowerUpsContainer .Cards .Card .MultiplierInfo .LeftOfRow{color:var(--emw--ingame-color-white60, rgba(255, 255, 255, 0.4980392157));font-size:0.8rem;gap:3px;align-items:center}.IngamePowerUpsContainer .Cards .Card .MultiplierInfo .LeftOfRow .MultiplierMode{margin-right:15px}.IngamePowerUpsContainer .Cards .Card .Status{display:flex;flex-direction:row;justify-content:center;align-items:center;gap:6px;font-size:0.8rem;width:max-content;height:25px;backdrop-filter:blur(4.6px);flex-grow:0;border:0px solid;opacity:1;padding:1px}.IngamePowerUpsContainer .Cards .Card .Status::before{background:linear-gradient(97.6deg, var(--emw--ingame-color-white10, rgba(255, 255, 255, 0.2)) 11.03%, var(--emw--ingame-color-white00, rgba(255, 255, 255, 0)) 95.17%), linear-gradient(0deg, var(--emw--ingame-color-white10, rgba(255, 255, 255, 0.2)), var(--emw--ingame-color-white10, rgba(255, 255, 255, 0.2)))}.IngamePowerUpsContainer .Cards .Card .Status .InprogressLabel{width:fit-content;min-width:100px}.IngamePowerUpsContainer .Cards .Card .Status time-count{min-width:172px}.IngamePowerUpsContainer .Cards .Card .Status time-count{background-color:var(--emw--ingame-color-black-middle, #020308);width:calc(100% - 4px);height:calc(100% - 4px);border-radius:20px;text-align:center;align-items:center;display:flex;justify-content:center;padding:2.2px;z-index:1;padding-right:10px}.IngamePowerUpsContainer .Cards .Card .ActiveButton.Activating{background-color:var(--emw--ingame-color-white30, rgba(255, 255, 255, 0.3019607843));color:var(--emw--ingame-color-white30, rgba(255, 255, 255, 0.3019607843))}.IngamePowerUpsContainer .Cards .Card time-count .Label{margin-right:5px}.IngamePowerUpsContainer .Cards .Card time-count .InprogressLabel{text-align:left;width:fit-content;padding:0 5px;border-radius:18px;border:1px solid rgba(175, 165, 165, 0.5098039216);line-height:21px;margin-right:10px}.IngamePowerUpsContainer .Cards .Card time-count .InprogressLabel .Icon{height:5px;width:5px;background-color:var(--New-Indicator-Yellow, #FFB801);border-radius:3px;display:inline-block;margin-right:5px}.IngamePowerUpsContainer .Cards .Card time-count .TimeCountDown{letter-spacing:1.5px;font-weight:bold;text-transform:capitalize}.IngamePowerUpsContainer .ActiveBtn{color:var(--emw--ingame-color-black, #090909);position:relative;background:none;overflow:hidden;min-width:88px;height:36px;font-weight:bold;gap:10px;border-radius:20px;animation-duration:0ms}.IngamePowerUpsContainer .ActiveBtn.Disabled .content{background-color:var(--emw--ingame-color-white20, rgba(255, 255, 255, 0.2));color:var(--emw--ingame-color-white20, rgba(255, 255, 255, 0.2))}.IngamePowerUpsContainer .ActiveBtn.Disabled:hover,.IngamePowerUpsContainer .ActiveBtn.Disabled:before{box-shadow:none;background:none}.IngamePowerUpsContainer .ActiveBtn:hover{box-shadow:0px 0px 3px 5px var(--emw--ingame-color-white10, rgba(255, 255, 255, 0.1019607843))}.IngamePowerUpsContainer .ActiveBtn::before{content:"";position:absolute;top:-1px;left:-1px;right:-1px;bottom:-1px;z-index:1;border-radius:18px;background:linear-gradient(to top right, var(--emw--ingame-color-powerup-brightgreen, #00FA5A), var(--emw--ingame-color-powerup-brightblue, rgba(50, 237, 221, 0.8901960784)))}.IngamePowerUpsContainer .ActiveBtn .content{line-height:1.6;background:var(--emw--ingame-color-powerup-brightgreen, #00FA5A);border-radius:18px;padding:1px;height:calc(100% - 4px);width:calc(100% - 4px);text-align:center;align-items:center;display:flex;justify-content:center;z-index:1}';const N=class{constructor(t){e(this,t),this.progressPath=u({x:1.5,y:1.5,width:this.svgWidth-3||89,height:this.svgHeight-3||24}),this.percent=0,this.svgWidth=90,this.svgHeight=25,this.percentEnabled=!1,this.pathLength=1e3,this.endPointLocation=null,this.dashOffset=1e3}updateDashOffset(){const e=Math.max(0,Math.min(100,this.percent));if(this.dashOffset=this.pathLength?this.pathLength-this.pathLength*e/100:0,this.pathRef){const{x:e,y:t}=this.pathRef.getPointAtLength(this.rectRef.getTotalLength()-this.dashOffset);this.endPointLocation={x:e,y:t}}}componentDidLoad(){this.percentEnabled&&(this.pathRef&&(this.pathLength=this.pathRef.getTotalLength()),this.updateDashOffset(),setTimeout((()=>{const{x:e,y:t}=this.pathRef.getPointAtLength(0);this.endPointLocation={x:e,y:t}}),2e3))}handleSvgWidthChange(e,t){this.progressPath=u({x:1.5,y:1.5,width:this.svgWidth-3||89,height:this.svgHeight-3||24}),setTimeout((()=>{this.pathLength=this.pathRef.getTotalLength(),this.updateDashOffset()}),300)}handlePercentChange(e,t){e!=t&&(this.pathLength=this.pathRef.getTotalLength())}render(){this.percentEnabled&&this.updateDashOffset();const e={strokeDasharray:`${this.pathLength}`,strokeDashoffset:`${this.dashOffset}`};return i("svg",{key:"6e0a1dcdddc7207cc2a5e2040796bc2f880cb889",width:this.svgWidth,height:this.svgHeight+5,preserveAspectRatio:"xMinYMin slice",viewBox:`0 0 ${this.svgWidth+6} ${this.svgHeight+10}`,fill:"none",xmlns:"http://www.w3.org/2000/svg"},i("defs",{key:"b1a360fb2320a1d3a89f98104b4181db578f1fd8"},i("filter",{key:"98477d129d300a4c0b1954578fa6be64aad26372",id:"filter0_d_4308_1253",x:"0",y:"0",width:this.svgWidth+6,height:this.svgHeight+10,filterUnits:"userSpaceOnUse","color-interpolation-filters":"sRGB"},i("feFlood",{key:"a224ce65f432ed9e80ed3506c110be2cc25df94e","flood-opacity":"0",result:"BackgroundImageFix"}),i("feColorMatrix",{key:"fb9ea151461fe0ae7e489b281051b25d16ca8805",in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),i("feOffset",{key:"56e77cd005c3e870e0195615fa59790e86fea6df",dy:"4"}),i("feGaussianBlur",{key:"c80ade886900c78924a3da42c2ec25b8613aa87f",stdDeviation:"2"}),i("feComposite",{key:"1366aecdd59031a8ff9782fb5fdd8759a51a5ffd",in2:"hardAlpha",operator:"out"}),i("feColorMatrix",{key:"843b51564c4813ab289f0b7c365400a806d4106f",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}),i("feBlend",{key:"e854ca547e6cccbf95fe0cfefac77bd23d949d5a",mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_4308_1253"}),i("feBlend",{key:"5373f19ecc30e6aa01269072c9c18577f02942cb",mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_4308_1253",result:"shape"})),this.percentEnabled&&i("linearGradient",{key:"a80c7bafcd183eadf3377c3e438152e7b7246721",id:"paint0_linear_4308_1253",x1:"9.0486",y1:"2.42552",x2:"66.0238",y2:"29.7636",gradientUnits:"userSpaceOnUse"},i("stop",{key:"a7310fb7a5eea6cce63e1b985c6562d750408c5f",offset:"0.129184","stop-color":"#FF9400"}),i("stop",{key:"02a832295c2921a82713ec83425a032b39aa0262",offset:"0.721154","stop-color":"#FFE24A"}),i("stop",{key:"100350e627651422631a52c398d7f43d1ffdd80c",offset:"0.993007","stop-color":"#FEF746"})),i("linearGradient",{key:"5438a9102fdb80ff83235559db1929c81208ae85",xmlns:"http://www.w3.org/2000/svg",id:"paint0_linear_966_23141",x1:"9.5",y1:"6",x2:"63.5251",y2:"52.049",gradientUnits:"userSpaceOnUse"},i("stop",{key:"1a243f7df141919f28928ecc0e596c5f83c5f168","stop-color":"#1F3C30"}),i("stop",{key:"f93e4817dec2db3d546c4ca808649dd842d9ad97",offset:"1","stop-color":"#125952"})),this.percentEnabled&&this.endPointLocation&&i("linearGradient",{key:"950499c058034ffab50aba812d5e0d79cd284b0c",xmlns:"http://www.w3.org/2000/svg",id:"paint_linear_dot",x1:this.endPointLocation.x-1.5,y1:this.endPointLocation.y-1.5,x2:this.endPointLocation.x+1.5,y2:this.endPointLocation.y+1.5,gradientUnits:"userSpaceOnUse"},i("stop",{key:"c92b0d928ab95d64153087865c62272c8ff41e2f",offset:"0.129184","stop-color":"#FF9400"}),i("stop",{key:"73697c8ce62bbc6a1fbd40a02616201c2e3722be",offset:"0.721154","stop-color":"#FFE24A"}),i("stop",{key:"ed1c42396750e0983732dccec3cf5a5bf22188ab",offset:"0.993007","stop-color":"#FEF746"}))),i("g",{key:"c4dd7d929c13899db61a318710399f55e9dfcfd5",filter:"url(#filter0_d_4308_1253)"},i("path",{key:"d0fc75aefc3e027d0b0bd45a591915eb78b62b31",id:"rectanglePath",class:"RectBG",ref:e=>this.rectRef=e,d:this.progressPath,stroke:"#EAEAEA","stroke-width":"3",fill:"#paint0_linear_966_231411","stroke-linecap":"round"}),i("rect",{key:"a9424ca93b82380d10547e721bad7a23ee549150",class:"RectBG",x:"1.5",y:"1.5",width:this.svgWidth-3,height:this.svgHeight-3,rx:"18.5",stroke:"#A5CDB1","stroke-width":"3"}),i("path",{key:"04bf93db92873371162bfb3dfe0c0e261fb2a9d7",class:"Bar "+(this.endPointLocation?"AnimateBar":"Hidden"),ref:e=>this.pathRef=e,d:this.progressPath,stroke:"url(#paint0_linear_4308_1253)","stroke-width":"3","stroke-linecap":"butt",style:e}),this.percentEnabled&&this.endPointLocation&&[i("circle",{key:"73ded2a995d878ec628c7156be07d7271abbb112",class:"DotCircle",cx:this.endPointLocation.x,cy:this.endPointLocation.y,r:"1.5",fill:"white"},i("animateMotion",{key:"80591faf2739084b121ec15588d30553dc5c5f99",href:"#rectanglePath",mpath:"#rectanglePath",dur:"0.5s",repeatCount:"1",rotate:"auto"})),i("circle",{key:"11c12fd9ca5d3a9c1df9da779c8274694dca893a",class:"DotCircle",cx:this.endPointLocation.x,cy:this.endPointLocation.y,r:"1.5",stroke:"url(#paint_linear_dot)"},i("animateMotion",{key:"8604a5fa5ed1922636b6d611f2d9538002aba8a7",href:"#rectanglePath",mpath:"#rectanglePath",dur:"0.5s",repeatCount:"1",rotate:"auto"}))]))}static get watchers(){return{svgWidth:["handleSvgWidthChange"],svgHeight:["handleSvgWidthChange"],percent:["handlePercentChange"]}}};N.style=".DotCircle{transition:stroke-dashoffset 0.5s ease-in-out;opacity:1}svg{width:100%;height:auto}.Bar{opacity:0;stroke-dashoffset:1000}.Bar.AnimateBar{transition:stroke-dashoffset 0.5s ease-in-out;opacity:0}.RectBG{fill:#1F3C30}.Hidden{opacity:0}.ProcessSvg{opacity:1}";const H=class{constructor(t){e(this,t)}render(){return i("div",{key:"5bbbb1166faa01bd23bbb4a692b7cef0f878102e",class:"smart-loader"},i("div",{key:"b62dbeadb2ff02fdc29ceeb31ebe442f66c35572",class:"smart-item"}),i("div",{key:"b7152fb4439c2853c64ba4aad8b405452a2ea042",class:"smart-item"}),i("div",{key:"9d471334457132745758512e0619dba41dd74ce0",class:"smart-item"}))}};H.style="@keyframes smart-animate1{0%{opacity:0.15;transform:translateX(0px)}35%{opacity:1;transform:translateX(36px)}75%{opacity:1;transform:translateX(0px)}100%{opacity:0.15;transform:translateX(0px)}}@keyframes smart-animate2{0%{opacity:1}35%{opacity:0.15}75%{opacity:0.5}100%{opacity:1}}@keyframes smart-animate3{0%{opacity:0.5;transform:translateX(0px)}35%{opacity:0.15;transform:translateX(-36px)}75%{opacity:0.15;transform:translateX(0px)}100%{opacity:0.5;transform:translateX(0px)}}.smart-loader{margin:50px auto;display:flex;flex-direction:row;align-items:center;justify-content:center;width:100px;gap:10px}.smart-loader .smart-item{width:3px;height:20px;opacity:0.15;animation-delay:200ms;animation-duration:1000ms;animation-timing-function:ease-out;animation-fill-mode:forwards;padding:1px;margin:5px 0;background:#00FA5A;border-radius:4px;animation-iteration-count:infinite;animation-direction:normal}.smart-loader .smart-item:nth-child(1){animation-name:smart-animate1}.smart-loader .smart-item:nth-child(2){animation-name:smart-animate2;height:36px}.smart-loader .smart-item:nth-child(3){animation-name:smart-animate3}";const F=class{constructor(i){e(this,i),this.timeCountDownEvent=t(this,"powerupTimeCountDown",7),this.expireTime=void 0,this.language="en",this.mode="timePeriod",this.inProgress=!1,this.leftRounds=void 0,this.displayTime=void 0,this.isExpireInDay1=!1,this.timeLeft=void 0}componentWillLoad(){this.inProgress&&this.mode===o.NUMBER_OF_ROUNDS||(this.timer=setInterval((()=>this.updateDisplayTime()),1e3),this.updateDisplayTime())}disconnectedCallback(){clearInterval(this.timer)}timeLeftChanged(){this.timeLeft>0||this.timeLeft<-10||this.timeCountDownEvent.emit({type:"powerupTimeCountDown",timeLeft:this.timeLeft})}startTimeChanged(){this.inProgress&&this.mode===o.NUMBER_OF_ROUNDS||(clearInterval(this.timer),this.timer=setInterval((()=>this.updateDisplayTime()),1e3),this.updateDisplayTime())}updateDisplayTime(){const e=s(),t=s(this.expireTime);if(!t.isValid())return this.displayTime="Invalid date",void clearInterval(this.timer);const i=s.duration(t.diff(e));if(this.isExpireInDay1=!0,this.timeLeft=i.asMinutes(),i.asMilliseconds()<=0)return this.displayTime="00:00:00",this.timeLeft=0,void clearInterval(this.timer);const n=Math.floor(i.asHours());if(n>=48)this.displayTime=`${Math.floor(i.asDays())} ${f("days",this.language)}`;else if(n>=24)this.displayTime=`1 ${f("day",this.language)}`;else{const e=n,t=i.minutes(),r=i.seconds();this.displayTime=[e,t,r].map((e=>String(e).padStart(2,"0"))).join(":")}}render(){return[this.inProgress&&i("div",{key:"ca4c55507465e393798aece74aedd841f535e553",class:"InprogressLabel"},i("span",{key:"22bf42ca81ce3c757471d07ab5032e300286fbbe",class:"Icon"}),f("inProgress",this.language)),i("span",{key:"c7b812e96928a802b71c322527a61b60f2c7c995",class:"Label"},f(this.inProgress?"endsIn":"expiresIn",this.language)," "),this.inProgress&&this.mode===o.NUMBER_OF_ROUNDS?i("span",{class:"TimeCountDown"},this.leftRounds," ",f(this.leftRounds>1?"rounds":"round",this.language)):i("span",{class:"TimeCountDown"},this.displayTime)]}static get watchers(){return{timeLeft:["timeLeftChanged"],expireTime:["startTimeChanged"]}}},A=class{constructor(i){e(this,i),this.timeCountDownEvent=t(this,"powerDetailTimeCountDown",7),this.expireTime=void 0,this.language="en",this.pid=void 0,this.page="default",this.displayTime=void 0,this.isExpireInDay1=!1,this.timeLeft=void 0}componentWillLoad(){this.timer=setInterval((()=>this.updateDisplayTime()),1e3),this.updateDisplayTime()}disconnectedCallback(){clearInterval(this.timer)}startTimeChanged(){clearInterval(this.timer),this.timer=setInterval((()=>this.updateDisplayTime()),1e3),this.updateDisplayTime()}timeLeftChanged(){this.timeCountDownEvent.emit({type:"powerDetailTimeCountDown",page:this.page,timeLeft:this.timeLeft,pid:this.pid})}updateDisplayTime(){const e=s(),t=s(this.expireTime);if(!t.isValid())return this.displayTime="Invalid date",void clearInterval(this.timer);const i=s.duration(t.diff(e));if(this.isExpireInDay1=!0,this.timeLeft=i.asMinutes(),i.asMilliseconds()<=0)return this.displayTime="00:00:00",clearInterval(this.timer),void this.timeCountDownEvent.emit({type:"powerDetailTimeCountDown",page:this.page,timeLeft:0,pid:this.pid});const n=Math.floor(i.asHours());if(n>=48)this.displayTime=`${Math.floor(i.asDays())} ${C("days",this.language)}`;else if(n>=24)this.displayTime="1 day";else{const e=n,t=i.minutes(),r=i.seconds();this.displayTime=[e,t,r].map((e=>String(e).padStart(2,"0"))).join(":")}}render(){return[this.isExpireInDay1&&i("span",{key:"3ed6721a8e6f35e9bb520115270d4e5c6b9a6f7e",class:"Label"},C("expiresIn",this.language)," "),i("span",{key:"43488d9863473e1ee5b9cbec1d6b4124b2a75281",class:"TimeCountDown"},this.displayTime)]}static get watchers(){return{expireTime:["startTimeChanged"],timeLeft:["timeLeftChanged"]}}},E=class{constructor(t){e(this,t),this.src=void 0,this.width=void 0,this.height=void 0,this.alt=void 0,this.styles=void 0,this.detectDistance="200px",this.imgLoaded=!1,this.shouldLoad=!1}handleSrc(){if(!this.shouldLoad)return;const e=new Image;e.onload=()=>{this.image&&(this.image.src=this.src,this.imgLoaded=!0,e.onload=null)},e.src=this.src}componentDidLoad(){"IntersectionObserver"in window?(this.el.__uxComponent=this,window.EMUxObserver||(window.EMUxObserver=new IntersectionObserver((e=>{e.forEach((e=>{if(e.isIntersecting){const t=e.target.__uxComponent;t&&(t.shouldLoad=!0,t.handleSrc()),window.EMUxObserver.unobserve(e.target)}}))}),{rootMargin:this.detectDistance})),window.EMUxObserver.observe(this.el)):(this.shouldLoad=!0,this.handleSrc())}render(){return i(n,{key:"f506ba73852f257ad80bf59ca177d2065a5f365e",class:"HostContainer"},!this.imgLoaded&&i("ui-skeleton",{key:"564ebfab701f827ddc2debccb7615926dbc9e876",class:"UiContainer",structure:"image",width:"100%",height:"100%"}),i("img",{key:"2188ca4494c10587f064acc5459ffc468948f497",ref:e=>this.image=e,src:this.shouldLoad?this.src:void 0,onLoad:()=>this.imgLoaded=!0,style:this.styles,class:"UiContainer "+(this.imgLoaded?"Visible":"Hidden"),alt:this.alt,width:this.width,height:this.height,loading:"lazy"}))}get el(){return r(this)}static get watchers(){return{src:["handleSrc"]}}};E.style=".HostContainer{display:block}.UiContainer{height:100%;width:100%;border-radius:inherit;object-fit:inherit}.UiContainer .Image{border-radius:inherit}.Hidden{opacity:0;transition:opacity 0.5s ease-in-out}.Visible{opacity:1;border-radius:var(--emw--border-radius-medium, 10px);transition:opacity 0.5s ease-in-out}";const R=class{constructor(t){e(this,t),this.stylingValue={width:this.handleStylingProps(this.width),height:this.handleStylingProps(this.height),borderRadius:this.handleStylingProps(this.borderRadius),marginBottom:this.handleStylingProps(this.marginBottom),marginTop:this.handleStylingProps(this.marginTop),marginLeft:this.handleStylingProps(this.marginLeft),marginRight:this.handleStylingProps(this.marginRight),size:this.handleStylingProps(this.size)},this.structure=void 0,this.width="unset",this.height="unset",this.borderRadius="unset",this.marginBottom="unset",this.marginTop="unset",this.marginLeft="unset",this.marginRight="unset",this.animation=!0,this.rows=0,this.size="100%"}handleStructureChange(e,t){t!==e&&this.handleStructure(e)}handleStylingProps(e){switch(typeof e){case"number":return 0===e?0:`${e}px`;case"undefined":default:return"unset";case"string":return["auto","unset","none","inherit","initial"].includes(e)||e.endsWith("px")||e.endsWith("%")?e:"unset"}}handleStructure(e){switch(e){case"logo":return this.renderLogo();case"image":return this.renderImage();case"title":return this.renderTitle();case"text":return this.renderText();case"rectangle":return this.renderRectangle();case"circle":return this.renderCircle();default:return null}}renderLogo(){return i("div",{class:"SkeletonContainer"},i("div",{class:"SkeletonLogo "+(this.animation?"Skeleton":"")}))}renderImage(){return i("div",{class:"SkeletonImage "+(this.animation?"Skeleton":"")})}renderTitle(){return i("div",{class:"SkeletonContainer"},i("div",{class:"SkeletonTitle "+(this.animation?"Skeleton":"")}))}renderText(){return i("div",{class:"SkeletonContainer"},Array.from({length:this.rows>0?this.rows:1}).map(((e,t)=>i("div",{key:t,class:"SkeletonText "+(this.animation?"Skeleton":"")}))))}renderRectangle(){return i("div",{class:"SkeletonContainer"},i("div",{class:"SkeletonRectangle "+(this.animation?"Skeleton":"")}))}renderCircle(){return i("div",{class:"SkeletonContainer"},i("div",{class:"SkeletonCircle "+(this.animation?"Skeleton":"")}))}render(){let e="";switch(this.structure){case"logo":e=`\n :host {\n --emw-skeleton-logo-width: ${this.stylingValue.width};\n --emw-skeleton-logo-height: ${this.stylingValue.height};\n --emw-skeleton-logo-border-radius: ${this.stylingValue.borderRadius};\n --emw-skeleton-logo-margin-bottom: ${this.stylingValue.marginBottom};\n --emw-skeleton-logo-margin-top: ${this.stylingValue.marginTop};\n --emw-skeleton-logo-margin-left: ${this.stylingValue.marginLeft};\n --emw-skeleton-logo-margin-right: ${this.stylingValue.marginRight};\n }\n `;break;case"image":e=`\n :host {\n --emw-skeleton-image-width: ${this.stylingValue.width};\n --emw-skeleton-image-height: ${this.stylingValue.height};\n --emw-skeleton-image-border-radius: ${this.stylingValue.borderRadius};\n --emw-skeleton-image-margin-bottom: ${this.stylingValue.marginBottom};\n --emw-skeleton-image-margin-top: ${this.stylingValue.marginTop};\n --emw-skeleton-image-margin-left: ${this.stylingValue.marginLeft};\n --emw-skeleton-image-margin-right: ${this.stylingValue.marginRight};\n }\n `;break;case"title":e=`\n :host {\n --emw-skeleton-title-width: ${this.stylingValue.width};\n --emw-skeleton-title-height: ${this.stylingValue.height};\n --emw-skeleton-title-border-radius: ${this.stylingValue.borderRadius};\n --emw-skeleton-title-margin-bottom: ${this.stylingValue.marginBottom};\n --emw-skeleton-title-margin-top: ${this.stylingValue.marginTop};\n --emw-skeleton-title-margin-left: ${this.stylingValue.marginLeft};\n --emw-skeleton-title-margin-right: ${this.stylingValue.marginRight};\n }\n `;break;case"text":e=`\n :host {\n --emw-skeleton-text-width: ${this.stylingValue.width};\n --emw-skeleton-text-height: ${this.stylingValue.height};\n --emw-skeleton-text-border-radius: ${this.stylingValue.borderRadius};\n --emw-skeleton-text-margin-bottom: ${this.stylingValue.marginBottom};\n --emw-skeleton-text-margin-top: ${this.stylingValue.marginTop};\n --emw-skeleton-text-margin-left: ${this.stylingValue.marginLeft};\n --emw-skeleton-text-margin-right: ${this.stylingValue.marginRight};\n }\n `;break;case"rectangle":e=`\n :host {\n --emw-skeleton-rectangle-width: ${this.stylingValue.width};\n --emw-skeleton-rectangle-height: ${this.stylingValue.height};\n --emw-skeleton-rectangle-border-radius: ${this.stylingValue.borderRadius};\n --emw-skeleton-rectangle-margin-bottom: ${this.stylingValue.marginBottom};\n --emw-skeleton-rectangle-margin-top: ${this.stylingValue.marginTop};\n --emw-skeleton-rectangle-margin-left: ${this.stylingValue.marginLeft};\n --emw-skeleton-rectangle-margin-right: ${this.stylingValue.marginRight};\n }\n `;break;case"circle":e=`\n :host {\n --emw-skeleton-circle-size: ${this.stylingValue.size};\n }\n `;break;default:e=""}return i(n,{key:"c2a2650acd416962a2bc4e1a7ee18bc6d8e2def8"},i("style",{key:"9bd7fc1f9e9ed9f17735a7b72fce6f09696f5e19"},e),this.handleStructure(this.structure))}static get watchers(){return{structure:["handleStructureChange"]}}};R.style=":host{display:block}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.SkeletonRectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 10px)}.SkeletonCircle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.SkeletonText{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 10px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.SkeletonText:last-child{width:calc(var(--emw-skeleton-text-width, 400px) - 100px)}.SkeletonTitle{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 10px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.SkeletonImage{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, unset)}.SkeletonLogo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 10px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, #e0e0e0)}100%{background-color:var(--emw-skeleton-secondary-color, #f0f0f0)}}";export{w as active_confirm_modal,S as bonus_powerups_ingame_detail,Y as bonus_powerups_ingame_games,L as bonus_powerups_ingame_list,N as percent_bar,H as smart_loader,F as time_count,A as time_count_detail,E as ui_image,R as ui_skeleton}
@@ -1 +1 @@
1
- import{p as e,b as n}from"./index-891aaafd.js";export{s as setNonce}from"./index-891aaafd.js";import{g as i}from"./app-globals-0f993ce5.js";(()=>{const n=import.meta.url,i={};return""!==n&&(i.resourcesUrl=new URL(".",n).href),e(i)})().then((async e=>(await i(),n([["active-confirm-modal_11",[[1,"bonus-powerups-ingame-entrance",{mbSource:[513,"mb-source"],gameId:[513,"game-id"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],language:[513],endpoint:[513],session:[513],isPowerUpsLoaded:[32],isPowerUpPanelHidden:[32],hasNewPowerup:[32],svgWidth:[32],svgHeight:[32],availableCount:[32],isPowering:[32],currentPowerup:[32],currentPanel:[32],consumePercent:[32],powerups:[32],currentPowerupPercent:[32]},[[0,"closePowerupsList","onPowerupsListClosedHandler"],[0,"powerupsLoad","powerupsLoadHandler"],[0,"backFromPowerupGames","showPowerupDetailsHandler"],[0,"showPowerupDetails","showPowerupDetailsHandler"],[0,"showMoreGames","showPowerupGamesHandler"],[0,"backFromPowerupDetail","backFromPowerupDetailHandler"],[0,"powerDetailTimeCountDown","powerupTimeCountDownHandler"]],{currentPowerupPercent:["currentPowerupPercentChanged"],translationUrl:["handleNewTranslations"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"],mbSource:["handleMbSourceChange"]}],[1,"bonus-powerups-ingame-detail",{mbSource:[513,"mb-source"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],language:[513],endpoint:[513],session:[513],pid:[514],powerupId:[513,"powerup-id"],isPowering:[516,"is-powering"],isValidForGame:[516,"is-valid-for-game"],powerUp:[32],powerUpGames:[32],isLoading:[32],isLoadingGames:[32],limit:[32],showConfirmModal:[32],activeMessage:[32],showToasting:[32]},[[0,"showPowerupDetails","showPowerupDetailsHandler"],[16,"activePowerupEvent","activePowerupHandler"]],{session:["loadPowerUpById"],endpoint:["loadPowerUpById"],language:["loadPowerUpById"],pid:["loadPowerUpById"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"],mbSource:["handleMbSourceChange"],translationUrl:["handleNewTranslations"]}],[1,"bonus-powerups-ingame-list",{mbSource:[513,"mb-source"],gameId:[513,"game-id"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],language:[513],endpoint:[513],session:[513],limit:[514],disableCount:[516,"disable-count"],isLoading:[32],isActivating:[32],powerups:[32],total:[32],isPowering:[32],showConfirmModal:[32],currentPowerup:[32],validPowerIds:[32],activeMessage:[32],showToasting:[32]},[[16,"reloadPowerups","reloadPowerupsHandler"],[16,"activePowerupEvent","activePowerupHandler"],[0,"powerupTimeCountDown","powerupTimeCountDownHandler"]],{session:["handleConfigChange"],endpoint:["handleConfigChange"],limit:["handleConfigChange"],language:["handleConfigChange"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"],mbSource:["handleMbSourceChange"],translationUrl:["handleNewTranslations"]}],[1,"bonus-powerups-ingame-games",{mbSource:[513,"mb-source"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],language:[513],endpoint:[513],session:[513],powerupId:[513,"powerup-id"],isLoadingGames:[32],powerUpGames:[32],powerUp:[32],limit:[32]},null,{clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"],mbSource:["handleMbSourceChange"]}],[0,"percent-bar",{percent:[514],svgWidth:[2,"svg-width"],svgHeight:[2,"svg-height"],percentEnabled:[4,"percent-enabled"],pathLength:[32],endPointLocation:[32],dashOffset:[32]},null,{svgWidth:["handleSvgWidthChange"],svgHeight:["handleSvgWidthChange"],percent:["handlePercentChange"]}],[0,"time-count",{expireTime:[513,"expire-time"],language:[513],mode:[513],inProgress:[516,"in-progress"],leftRounds:[514,"left-rounds"],displayTime:[32],isExpireInDay1:[32],timeLeft:[32]},null,{timeLeft:["timeLeftChanged"],expireTime:["startTimeChanged"]}],[0,"time-count-detail",{expireTime:[1,"expire-time"],language:[1],pid:[520],page:[513],displayTime:[32],isExpireInDay1:[32],timeLeft:[32]},null,{expireTime:["startTimeChanged"],timeLeft:["timeLeftChanged"]}],[0,"ui-image",{src:[1],width:[1],height:[1],alt:[1],styles:[8],detectDistance:[1,"detect-distance"],imgLoaded:[32],shouldLoad:[32]},null,{src:["handleSrc"]}],[0,"active-confirm-modal",{pid:[1538],language:[1537],isOpen:[1540,"is-open"]}],[0,"smart-loader"],[0,"ui-skeleton",{structure:[1],width:[1],height:[1],borderRadius:[8,"border-radius"],marginBottom:[8,"margin-bottom"],marginTop:[8,"margin-top"],marginLeft:[8,"margin-left"],marginRight:[8,"margin-right"],animation:[4],rows:[2],size:[1]},null,{structure:["handleStructureChange"]}]]]],e))));
1
+ import{p as e,b as n}from"./index-891aaafd.js";export{s as setNonce}from"./index-891aaafd.js";import{g as i}from"./app-globals-0f993ce5.js";(()=>{const n=import.meta.url,i={};return""!==n&&(i.resourcesUrl=new URL(".",n).href),e(i)})().then((async e=>(await i(),n([["active-confirm-modal_11",[[1,"bonus-powerups-ingame-entrance",{mbSource:[513,"mb-source"],gameId:[513,"game-id"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],language:[513],endpoint:[513],session:[513],isPowerUpsLoaded:[32],isPowerUpPanelHidden:[32],hasNewPowerup:[32],svgWidth:[32],svgHeight:[32],availableCount:[32],isPowering:[32],currentPowerup:[32],currentPanel:[32],consumePercent:[32],powerups:[32],currentPowerupPercent:[32]},[[0,"closePowerupsList","onPowerupsListClosedHandler"],[0,"powerupsLoad","powerupsLoadHandler"],[0,"backFromPowerupGames","showPowerupDetailsHandler"],[0,"showPowerupDetails","showPowerupDetailsHandler"],[0,"showMoreGames","showPowerupGamesHandler"],[0,"backFromPowerupDetail","backFromPowerupDetailHandler"],[0,"powerDetailTimeCountDown","powerupTimeCountDownHandler"]],{currentPowerupPercent:["currentPowerupPercentChanged"],translationUrl:["handleNewTranslations"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"],mbSource:["handleMbSourceChange"]}],[1,"bonus-powerups-ingame-detail",{mbSource:[513,"mb-source"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],language:[513],endpoint:[513],session:[513],pid:[514],powerupId:[513,"powerup-id"],isPowering:[516,"is-powering"],isValidForGame:[516,"is-valid-for-game"],powerUp:[32],powerUpGames:[32],isLoading:[32],isLoadingGames:[32],limit:[32],showConfirmModal:[32],activeMessage:[32],showToasting:[32]},[[0,"showPowerupDetails","showPowerupDetailsHandler"],[16,"activePowerupEvent","activePowerupHandler"]],{session:["loadPowerUpById"],endpoint:["loadPowerUpById"],language:["loadPowerUpById"],pid:["loadPowerUpById"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"],mbSource:["handleMbSourceChange"],translationUrl:["handleNewTranslations"]}],[1,"bonus-powerups-ingame-list",{mbSource:[513,"mb-source"],gameId:[513,"game-id"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],language:[513],endpoint:[513],session:[513],limit:[514],disableCount:[516,"disable-count"],isLoading:[32],isLoadingGamePowers:[32],isActivating:[32],powerups:[32],total:[32],isPowering:[32],showConfirmModal:[32],currentPowerup:[32],validPowerIds:[32],activeMessage:[32],showToasting:[32]},[[16,"reloadPowerups","reloadPowerupsHandler"],[16,"activePowerupEvent","activePowerupHandler"],[0,"powerupTimeCountDown","powerupTimeCountDownHandler"]],{session:["handleConfigChange"],endpoint:["handleConfigChange"],limit:["handleConfigChange"],language:["handleConfigChange"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"],mbSource:["handleMbSourceChange"],translationUrl:["handleNewTranslations"]}],[1,"bonus-powerups-ingame-games",{mbSource:[513,"mb-source"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],language:[513],endpoint:[513],session:[513],powerupId:[513,"powerup-id"],isLoadingGames:[32],powerUpGames:[32],powerUp:[32],limit:[32]},null,{clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"],mbSource:["handleMbSourceChange"]}],[0,"percent-bar",{percent:[514],svgWidth:[2,"svg-width"],svgHeight:[2,"svg-height"],percentEnabled:[4,"percent-enabled"],pathLength:[32],endPointLocation:[32],dashOffset:[32]},null,{svgWidth:["handleSvgWidthChange"],svgHeight:["handleSvgWidthChange"],percent:["handlePercentChange"]}],[0,"time-count",{expireTime:[513,"expire-time"],language:[513],mode:[513],inProgress:[516,"in-progress"],leftRounds:[514,"left-rounds"],displayTime:[32],isExpireInDay1:[32],timeLeft:[32]},null,{timeLeft:["timeLeftChanged"],expireTime:["startTimeChanged"]}],[0,"time-count-detail",{expireTime:[1,"expire-time"],language:[1],pid:[520],page:[513],displayTime:[32],isExpireInDay1:[32],timeLeft:[32]},null,{expireTime:["startTimeChanged"],timeLeft:["timeLeftChanged"]}],[0,"ui-image",{src:[1],width:[1],height:[1],alt:[1],styles:[8],detectDistance:[1,"detect-distance"],imgLoaded:[32],shouldLoad:[32]},null,{src:["handleSrc"]}],[0,"active-confirm-modal",{pid:[1538],language:[1537],isOpen:[1540,"is-open"]}],[0,"smart-loader"],[0,"ui-skeleton",{structure:[1],width:[1],height:[1],borderRadius:[8,"border-radius"],marginBottom:[8,"margin-bottom"],marginTop:[8,"margin-top"],marginLeft:[8,"margin-left"],marginRight:[8,"margin-right"],animation:[4],rows:[2],size:[1]},null,{structure:["handleStructureChange"]}]]]],e))));
@@ -6189,7 +6189,7 @@ const translate = (key, customLang, values) => {
6189
6189
  return translation;
6190
6190
  };
6191
6191
 
6192
- const bonusPowerupsIngameGamesCss = ":host{display:block;height:100%;--game-amount-line:3}.IngamePowerUpGamesContainer{height:100%;display:flex;padding:var(--emw--ingame-power-container-padding, 8px);justify-content:flex-start;flex-direction:column}.IngamePowerUpGamesContainer .CircleLinearBorder{background:rgba(9, 9, 9, 0.5019607843);position:relative;width:26px;height:26px;border-radius:20px;background:none;overflow:hidden;border:1.5px solid transparent;display:flex;align-items:center;justify-content:center;cursor:pointer}.IngamePowerUpGamesContainer .CircleLinearBorder svg{border-radius:20px;padding:4.5px;background:var(--emw--ingame-color-powerup-bg, rgba(9, 9, 9, 0.8980392157));z-index:1}.IngamePowerUpGamesContainer .CircleLinearBorder::before{content:\"\";position:absolute;top:-1.5px;left:-1.5px;right:-1.5px;bottom:-1.5px;z-index:-1;border-radius:21.5px;background:linear-gradient(0deg, var(--emw--ingame-color-white10, rgba(255, 255, 255, 0.0666666667)), var(--emw--ingame-color-white10, rgba(255, 255, 255, 0.0666666667))), linear-gradient(35.22deg, var(--emw--ingame-color-white10, rgba(255, 255, 255, 0)), var(--emw--ingame-color-white30, rgba(255, 255, 255, 0.5490196078)) 89.19%)}.IngamePowerUpGamesContainer .TopBar,.IngamePowerUpGamesContainer .Loading{padding:15px}.IngamePowerUpGamesContainer .TopBar{display:flex;align-items:center;gap:5px}.IngamePowerUpGamesContainer .TopBar .ReturnIcon{width:26px;height:26px;display:flex;border-radius:20px;padding:0;backdrop-filter:blur(13.7647px);justify-content:center;align-items:center}.IngamePowerUpGamesContainer .TopBar .ReturnIcon svg{color:var(--emw--ingame-color-white60, #f0f0f0)}.IngamePowerUpGamesContainer .TopBar .Title{font-weight:600;font-size:0.9rem;line-height:100%;text-align:center;vertical-align:middle;color:var(--emw--ingame-color-neutural-95, #EDEFF2);display:flex;flex-direction:row}.IngamePowerUpGamesContainer .TopBar .Title .Name{font-size:1.1rem}.IngamePowerUpGamesContainer .TopBar .Title .Label{font-size:1.1rem;font-weight:bold;color:var(--emw--ingame-color-neutural-95, #EDEFF2)}.IngamePowerUpGamesContainer .TopBar .TextContent{font-weight:400;font-size:0.9rem;line-height:1.1rem;vertical-align:middle;color:var(--emw--ingame-color-white70, rgba(255, 255, 255, 0.6980392157))}.IngamePowerUpGamesContainer .GamesWrapper{height:calc(100% - 90px);overflow:hidden;width:100%;margin-bottom:10px;scrollbar-width:thin;scrollbar-color:var(--emw--color-background, hsl(254, 8.53%, 54.93%)) transparent}.IngamePowerUpGamesContainer .Games{overflow:auto;scrollbar-width:thin;scrollbar-color:var(--emw--color-background, hsl(254, 8.53%, 54.93%)) transparent}.IngamePowerUpGamesContainer .GamesList{display:flex;height:100%;justify-content:center;flex:1;overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--emw--background-gray-color, gray) transparent}.IngamePowerUpGamesContainer .GamesList::-webkit-scrollbar-track{background-color:transparent;border-radius:5px}.IngamePowerUpGamesContainer .GamesList .Games{padding:15px;display:flex;align-items:flex-start;justify-content:flex-start;flex-wrap:wrap;gap:calc(30px / (var(--game-amount-line, 3) - 1))}.IngamePowerUpGamesContainer .GamesList .Games .Game{width:calc((100% - 30px) / var(--game-amount-line, 3));cursor:pointer;position:relative}.IngamePowerUpGamesContainer .GamesList .Games .Game:hover .mask-filter{opacity:1}.IngamePowerUpGamesContainer .GamesList .Games .Game:hover img{opacity:0.4;filter:blur(1.5px)}.IngamePowerUpGamesContainer .GamesList .Games .Game:hover .GameMask{mix-blend-mode:screen;background-color:var(--emw--color-powup-green, #24B24E);display:flex;justify-content:center;align-items:center;position:absolute;width:100%;opacity:1;left:0;height:100%;top:0;border-radius:8px}.IngamePowerUpGamesContainer .GamesList .Games .Game:hover .GameMask .GameStartBtn{opacity:1}.IngamePowerUpGamesContainer .GameMask{display:none;transition:display;transition-duration:0.2s;opacity:0;position:absolute;width:70%;height:100%}.IngamePowerUpGamesContainer .GameMask .GameStartBtn{width:80px;height:22px;border-radius:8px;opacity:1;padding:4px 5px;background:linear-gradient(180deg, var(--emw--color-powup-green, #24B24E) 0%, var(--emw--color-powup-light-green, #18CE51) 100%);border:1px solid var(--emw--ingame-color-white, #FFFFFF);display:flex;align-items:center;justify-content:space-between;cursor:pointer}.IngamePowerUpGamesContainer .GameMask .GameStartBtn .PlayIcon{background-image:url('data:image/svg+xml;charset=utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"11\" height=\"11\" viewBox=\"0 0 11 11\" fill=\"none\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M5.5 1C3.01472 1 1 3.01472 1 5.5C1 7.98528 3.01472 10 5.5 10C7.98528 10 10 7.98528 10 5.5C10 3.01472 7.98528 1 5.5 1ZM0 5.5C0 2.46243 2.46243 0 5.5 0C8.53757 0 11 2.46243 11 5.5C11 8.53757 8.53757 11 5.5 11C2.46243 11 0 8.53757 0 5.5ZM5.12255 3.21652C5.12728 3.21956 5.13199 3.22259 5.13668 3.22561L7.49698 4.74294C7.50129 4.74571 7.50562 4.74849 7.50998 4.75129C7.58551 4.79982 7.66805 4.85285 7.73381 4.90413C7.80355 4.95852 7.91363 5.05446 7.97854 5.20809C8.0574 5.39471 8.0574 5.60529 7.97854 5.79191C7.91363 5.94554 7.80355 6.04148 7.73381 6.09587C7.66805 6.14715 7.58551 6.20018 7.50998 6.24871C7.50562 6.25151 7.50129 6.25429 7.49698 6.25706L5.13668 7.77439C5.13199 7.77741 5.12727 7.78045 5.12255 7.78348C5.03469 7.84 4.9423 7.89941 4.86094 7.94176C4.77909 7.98436 4.63056 8.05332 4.44657 8.04018C4.22957 8.02468 4.02999 7.91572 3.89961 7.74157C3.78907 7.59391 3.76675 7.43167 3.75832 7.33979C3.74995 7.24844 3.74997 7.1386 3.75 7.03414C3.75 7.02852 3.75 7.02292 3.75 7.01733V3.98267C3.75 3.97708 3.75 3.97148 3.75 3.96586C3.74997 3.8614 3.74995 3.75156 3.75832 3.66021C3.76675 3.56833 3.78907 3.40609 3.89961 3.25843C4.02999 3.08428 4.22957 2.97532 4.44657 2.95982C4.63056 2.94668 4.77909 3.01564 4.86094 3.05824C4.94231 3.10059 5.03469 3.16001 5.12255 3.21652ZM4.75 4.16583V6.83417L6.82537 5.5L4.75 4.16583Z\" fill=\"white\"/> <path d=\"M4.75 6.83417V4.16583L6.82537 5.5L4.75 6.83417Z\" fill=\"white\"/></svg>');height:16px;width:16px;background-repeat:no-repeat;background-size:contain}.Games .Container{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;height:calc(100% - 120px);overflow:auto}.Games .Container .Game{width:105px}@keyframes smart-animate1{0%{opacity:0.15;transform:translateX(0px)}35%{opacity:1;transform:translateX(36px)}75%{opacity:1;transform:translateX(0px)}100%{opacity:0.15;transform:translateX(0px)}}@keyframes smart-animate2{0%{opacity:1}35%{opacity:0.15}75%{opacity:0.5}100%{opacity:1}}@keyframes smart-animate3{0%{opacity:0.5;transform:translateX(0px)}35%{opacity:0.15;transform:translateX(-36px)}75%{opacity:0.15;transform:translateX(0px)}100%{opacity:0.5;transform:translateX(0px)}}.smart-loader{margin:50px auto;display:flex;flex-direction:row;align-items:center;justify-content:center;width:100px;gap:10px}.smart-loader .smart-item{width:3px;height:20px;opacity:0.15;animation-delay:200ms;animation-duration:1000ms;animation-timing-function:ease-out;animation-fill-mode:forwards;padding:1px;margin:5px 0;background:var(--emw--ingame-color-powerup-brightgreen, #00FA5A);border-radius:4px;animation-iteration-count:infinite;animation-direction:normal}.smart-loader .smart-item:nth-child(1){animation-name:smart-animate1}.smart-loader .smart-item:nth-child(2){animation-name:smart-animate2;height:36px}.smart-loader .smart-item:nth-child(3){animation-name:smart-animate3}";
6192
+ const bonusPowerupsIngameGamesCss = ":host{display:block;height:100%;--game-amount-line:3}.IngamePowerUpGamesContainer{height:100%;display:flex;padding:var(--emw--ingame-power-container-padding, 8px);justify-content:flex-start;flex-direction:column}.IngamePowerUpGamesContainer .Title .Name{width:calc(100% - 129px);white-space:nowrap;text-overflow:ellipsis;overflow:hidden;display:inline-block}.IngamePowerUpGamesContainer .CircleLinearBorder{background:rgba(9, 9, 9, 0.5019607843);position:relative;width:26px;height:26px;border-radius:20px;background:none;overflow:hidden;border:1.5px solid transparent;display:flex;align-items:center;justify-content:center;cursor:pointer}.IngamePowerUpGamesContainer .CircleLinearBorder svg{border-radius:20px;padding:4.5px;background:var(--emw--ingame-color-powerup-bg, rgba(9, 9, 9, 0.8980392157));z-index:1}.IngamePowerUpGamesContainer .CircleLinearBorder::before{content:\"\";position:absolute;top:-1.5px;left:-1.5px;right:-1.5px;bottom:-1.5px;z-index:-1;border-radius:21.5px;background:linear-gradient(0deg, var(--emw--ingame-color-white10, rgba(255, 255, 255, 0.0666666667)), var(--emw--ingame-color-white10, rgba(255, 255, 255, 0.0666666667))), linear-gradient(35.22deg, var(--emw--ingame-color-white10, rgba(255, 255, 255, 0)), var(--emw--ingame-color-white30, rgba(255, 255, 255, 0.5490196078)) 89.19%)}.IngamePowerUpGamesContainer .TopBar,.IngamePowerUpGamesContainer .Loading{padding:15px}.IngamePowerUpGamesContainer .TopBar{display:flex;align-items:center;gap:5px}.IngamePowerUpGamesContainer .TopBar .ReturnIcon{width:26px;height:26px;display:flex;border-radius:20px;padding:0;backdrop-filter:blur(13.7647px);justify-content:center;align-items:center}.IngamePowerUpGamesContainer .TopBar .ReturnIcon svg{color:var(--emw--ingame-color-white60, #f0f0f0)}.IngamePowerUpGamesContainer .TopBar .Title{font-weight:600;font-size:0.9rem;line-height:100%;text-align:center;vertical-align:middle;color:var(--emw--ingame-color-neutural-95, #EDEFF2);display:flex;flex-direction:row}.IngamePowerUpGamesContainer .TopBar .Title .Name{font-size:1.1rem}.IngamePowerUpGamesContainer .TopBar .Title .Label{font-size:1.1rem;font-weight:bold;color:var(--emw--ingame-color-neutural-95, #EDEFF2)}.IngamePowerUpGamesContainer .TopBar .TextContent{font-weight:400;font-size:0.9rem;line-height:1.1rem;vertical-align:middle;color:var(--emw--ingame-color-white70, rgba(255, 255, 255, 0.6980392157))}.IngamePowerUpGamesContainer .GamesWrapper{height:calc(100% - 90px);overflow:hidden;width:100%;margin-bottom:10px;scrollbar-width:thin;scrollbar-color:var(--emw--color-background, hsl(254, 8.53%, 54.93%)) transparent}.IngamePowerUpGamesContainer .Games{overflow:auto;scrollbar-width:thin;scrollbar-color:var(--emw--color-background, hsl(254, 8.53%, 54.93%)) transparent}.IngamePowerUpGamesContainer .GamesList{display:flex;height:100%;justify-content:center;flex:1;overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--emw--background-gray-color, gray) transparent}.IngamePowerUpGamesContainer .GamesList::-webkit-scrollbar-track{background-color:transparent;border-radius:5px}.IngamePowerUpGamesContainer .GamesList .Games{padding:15px;display:flex;align-items:flex-start;justify-content:flex-start;flex-wrap:wrap;gap:calc(30px / (var(--game-amount-line, 3) - 1))}.IngamePowerUpGamesContainer .GamesList .Games .Game{width:calc((100% - 30px) / var(--game-amount-line, 3));cursor:pointer;position:relative}.IngamePowerUpGamesContainer .GamesList .Games .Game:hover .mask-filter{opacity:1}.IngamePowerUpGamesContainer .GamesList .Games .Game:hover img{opacity:0.4;filter:blur(1.5px)}.IngamePowerUpGamesContainer .GamesList .Games .Game:hover .GameMask{mix-blend-mode:screen;background-color:var(--emw--color-powup-green, #24B24E);display:flex;justify-content:center;align-items:center;position:absolute;width:100%;opacity:1;left:0;height:100%;top:0;border-radius:8px}.IngamePowerUpGamesContainer .GamesList .Games .Game:hover .GameMask .GameStartBtn{opacity:1}.IngamePowerUpGamesContainer .GameMask{display:none;transition:display;transition-duration:0.2s;opacity:0;position:absolute;width:70%;height:100%}.IngamePowerUpGamesContainer .GameMask .GameStartBtn{width:80px;height:22px;border-radius:8px;opacity:1;padding:4px 5px;background:linear-gradient(180deg, var(--emw--color-powup-green, #24B24E) 0%, var(--emw--color-powup-light-green, #18CE51) 100%);border:1px solid var(--emw--ingame-color-white, #FFFFFF);display:flex;align-items:center;justify-content:space-between;cursor:pointer}.IngamePowerUpGamesContainer .GameMask .GameStartBtn .PlayIcon{background-image:url('data:image/svg+xml;charset=utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"11\" height=\"11\" viewBox=\"0 0 11 11\" fill=\"none\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M5.5 1C3.01472 1 1 3.01472 1 5.5C1 7.98528 3.01472 10 5.5 10C7.98528 10 10 7.98528 10 5.5C10 3.01472 7.98528 1 5.5 1ZM0 5.5C0 2.46243 2.46243 0 5.5 0C8.53757 0 11 2.46243 11 5.5C11 8.53757 8.53757 11 5.5 11C2.46243 11 0 8.53757 0 5.5ZM5.12255 3.21652C5.12728 3.21956 5.13199 3.22259 5.13668 3.22561L7.49698 4.74294C7.50129 4.74571 7.50562 4.74849 7.50998 4.75129C7.58551 4.79982 7.66805 4.85285 7.73381 4.90413C7.80355 4.95852 7.91363 5.05446 7.97854 5.20809C8.0574 5.39471 8.0574 5.60529 7.97854 5.79191C7.91363 5.94554 7.80355 6.04148 7.73381 6.09587C7.66805 6.14715 7.58551 6.20018 7.50998 6.24871C7.50562 6.25151 7.50129 6.25429 7.49698 6.25706L5.13668 7.77439C5.13199 7.77741 5.12727 7.78045 5.12255 7.78348C5.03469 7.84 4.9423 7.89941 4.86094 7.94176C4.77909 7.98436 4.63056 8.05332 4.44657 8.04018C4.22957 8.02468 4.02999 7.91572 3.89961 7.74157C3.78907 7.59391 3.76675 7.43167 3.75832 7.33979C3.74995 7.24844 3.74997 7.1386 3.75 7.03414C3.75 7.02852 3.75 7.02292 3.75 7.01733V3.98267C3.75 3.97708 3.75 3.97148 3.75 3.96586C3.74997 3.8614 3.74995 3.75156 3.75832 3.66021C3.76675 3.56833 3.78907 3.40609 3.89961 3.25843C4.02999 3.08428 4.22957 2.97532 4.44657 2.95982C4.63056 2.94668 4.77909 3.01564 4.86094 3.05824C4.94231 3.10059 5.03469 3.16001 5.12255 3.21652ZM4.75 4.16583V6.83417L6.82537 5.5L4.75 4.16583Z\" fill=\"white\"/> <path d=\"M4.75 6.83417V4.16583L6.82537 5.5L4.75 6.83417Z\" fill=\"white\"/></svg>');height:16px;width:16px;background-repeat:no-repeat;background-size:contain}.Games .Container{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;height:calc(100% - 120px);overflow:auto}.Games .Container .Game{width:105px}@keyframes smart-animate1{0%{opacity:0.15;transform:translateX(0px)}35%{opacity:1;transform:translateX(36px)}75%{opacity:1;transform:translateX(0px)}100%{opacity:0.15;transform:translateX(0px)}}@keyframes smart-animate2{0%{opacity:1}35%{opacity:0.15}75%{opacity:0.5}100%{opacity:1}}@keyframes smart-animate3{0%{opacity:0.5;transform:translateX(0px)}35%{opacity:0.15;transform:translateX(-36px)}75%{opacity:0.15;transform:translateX(0px)}100%{opacity:0.5;transform:translateX(0px)}}.smart-loader{margin:50px auto;display:flex;flex-direction:row;align-items:center;justify-content:center;width:100px;gap:10px}.smart-loader .smart-item{width:3px;height:20px;opacity:0.15;animation-delay:200ms;animation-duration:1000ms;animation-timing-function:ease-out;animation-fill-mode:forwards;padding:1px;margin:5px 0;background:var(--emw--ingame-color-powerup-brightgreen, #00FA5A);border-radius:4px;animation-iteration-count:infinite;animation-direction:normal}.smart-loader .smart-item:nth-child(1){animation-name:smart-animate1}.smart-loader .smart-item:nth-child(2){animation-name:smart-animate2;height:36px}.smart-loader .smart-item:nth-child(3){animation-name:smart-animate3}";
6193
6193
  const BonusPowerupsIngameGamesStyle0 = bonusPowerupsIngameGamesCss;
6194
6194
 
6195
6195
  const BonusPowerupsIngameGames = class {
@@ -6432,6 +6432,7 @@ const BonusPowerupsIngameList = class {
6432
6432
  this.limit = 30;
6433
6433
  this.disableCount = false;
6434
6434
  this.isLoading = false;
6435
+ this.isLoadingGamePowers = false;
6435
6436
  this.isActivating = false;
6436
6437
  this.powerups = [];
6437
6438
  this.total = 0;
@@ -6466,20 +6467,21 @@ const BonusPowerupsIngameList = class {
6466
6467
  }
6467
6468
  }
6468
6469
  async reloadPowerups(onlyGamePowers = false) {
6469
- this.powerups = [];
6470
- this.total = 0;
6471
- await this.loadGamePowers();
6472
6470
  if (onlyGamePowers) {
6471
+ await this.loadGamePowers();
6473
6472
  return;
6474
6473
  }
6475
- await this.loadData();
6474
+ await this.loadData(false);
6476
6475
  }
6477
6476
  handleConfigChange() {
6478
6477
  this.debouncedReload();
6479
6478
  }
6480
6479
  async loadGamePowers() {
6480
+ if (this.isLoadingGamePowers) {
6481
+ return;
6482
+ }
6481
6483
  try {
6482
- this.isLoading = true;
6484
+ this.isLoadingGamePowers = true;
6483
6485
  const url = new URL(`${this.endpoint}/v1/elevate/powerups`);
6484
6486
  const options = {
6485
6487
  headers: {
@@ -6505,18 +6507,23 @@ const BonusPowerupsIngameList = class {
6505
6507
  console.error("Failed to load game powerups:", error);
6506
6508
  }
6507
6509
  finally {
6508
- this.isLoading = false;
6510
+ this.isLoadingGamePowers = false;
6509
6511
  }
6510
6512
  }
6511
- async loadData() {
6513
+ async loadData(isPendingLoad = true) {
6512
6514
  if (this.isLoading || this.total > 0 && this.powerups.length >= this.total) {
6513
6515
  return;
6514
6516
  }
6517
+ this.isLoading = true;
6515
6518
  if (this.abortController) {
6516
6519
  this.abortController.abort();
6517
6520
  }
6518
6521
  this.abortController = new AbortController();
6519
- this.isLoading = true;
6522
+ if (!isPendingLoad) {
6523
+ this.powerups = [];
6524
+ this.total = 0;
6525
+ await this.loadGamePowers();
6526
+ }
6520
6527
  try {
6521
6528
  const offset = this.powerups.length;
6522
6529
  const url = new URL(`${this.endpoint}/v1/elevate/powerups`);
@@ -6661,7 +6668,7 @@ const BonusPowerupsIngameList = class {
6661
6668
  }
6662
6669
  render() {
6663
6670
  var _a, _b, _c, _d;
6664
- return (index.h("div", { key: '9426c6dcd8d1a40215965c19ddd01670ecc00f8b', class: 'IngamePowerUpsContainer', ref: (el) => (this.stylingContainer = el) }, index.h("div", { key: '8448e3b8bceaa29f77d9e09e599f3af8d078fe8a', class: `TopBar ${this.showConfirmModal ? 'Hidden' : ''}` }, index.h("span", { key: '4f1269d8a21e540a43e09862637b03de8c8d4bf0', class: 'BarTitle' }, translate$2('powerups', this.language)), index.h("div", { key: 'b2f52361b45d6dbb1c14f3e8a24a22bbb54a76b4', class: 'IconBtn CircleLinearBorder', onClick: this.onClose.bind(this), innerHTML: CloseSvg })), this.isLoading && this.powerups.length === 0
6671
+ return (index.h("div", { key: '46173d19e0994034918cb53d7cae029372a9a872', class: 'IngamePowerUpsContainer', ref: (el) => (this.stylingContainer = el) }, index.h("div", { key: '5bf0e49116a07bab74335e71f872f0a481c5e1f9', class: `TopBar ${this.showConfirmModal ? 'Hidden' : ''}` }, index.h("span", { key: '23ac83a58a001dd1c6835176c7746210c57b33d8', class: 'BarTitle' }, translate$2('powerups', this.language)), index.h("div", { key: '5a935b3eee02c3f5d6acc33dee137c69a3f1df22', class: 'IconBtn CircleLinearBorder', onClick: this.onClose.bind(this), innerHTML: CloseSvg })), this.isLoading && this.powerups.length === 0
6665
6672
  ? index.h("smart-loader", null)
6666
6673
  : (this.powerups.length > 0 ?
6667
6674
  index.h("div", { class: `Cards ${this.showConfirmModal || this.powerups.length === 0 ? 'Hidden' : ''}` }, this.isPowering &&
@@ -6676,7 +6683,7 @@ const BonusPowerupsIngameList = class {
6676
6683
  : translate$2('minutes', this.language))), (powerup.status === bonusPowerupsIngameEntrance.PowerUpStatus.ACTIVE || powerup.status === bonusPowerupsIngameEntrance.PowerUpStatus.ACTIVATING) &&
6677
6684
  index.h("div", { class: `ActiveBtn CircleLinearBorder ${this.isPowering || this.isActivating || !powerup.isValidForCurrentGame ? 'Disabled' : ''} ${this.isActivating ? 'Activating' : ''}`, onClick: () => this.onActiveBtnClick(powerup) }, index.h("div", { class: 'content' }, " ", translate$2('activate', this.language))))));
6678
6685
  }), this.isLoading && this.powerups.length > 0 && index.h("smart-loader", null))
6679
- : index.h("div", { class: 'EmptyPowerups Cards' }, index.h("div", { class: 'Icon', innerHTML: ClearSearch }), index.h("span", { class: 'NoPowerTitle' }, translate$2('nothingHere', this.language)), index.h("div", { class: 'NoPowerDescription' }, index.h("span", null, translate$2('noPowerUpsNow')), index.h("span", null, translate$2('gotoShop'))), index.h("div", null))), index.h("active-confirm-modal", { key: '8591d7fc76cfa6effaebd4fbf9a9f5a418bad119', "is-open": this.showConfirmModal, pid: (_a = this.currentPowerup) === null || _a === void 0 ? void 0 : _a.id, language: this.language }), index.h("div", { key: '590c3ceaebe5aca9f64d6210a2adaff17700faa5', class: `ToastWrapper ${this.showToasting ? "Shown" : "Hidden"} ${((_b = this.activeMessage) === null || _b === void 0 ? void 0 : _b.isSuccessed) ? "Success" : "Failed"}` }, index.h("div", { key: '7df6ac445d05c7cd19a6af7df50bb88031dfed47', class: `Details` }, index.h("span", { key: '4735edc51e995f5853e488f3ff24a13619a8283e', class: 'Info' }, (_c = this.activeMessage) === null || _c === void 0 ? void 0 : _c.info), ((_d = this.activeMessage) === null || _d === void 0 ? void 0 : _d.detail) && index.h("span", { key: '19e1117d681fcd38e13e134e3f57ddc5c9c078ed', class: 'Detail' }, " - [ ", this.activeMessage.detail, " ]")))));
6686
+ : index.h("div", { class: 'EmptyPowerups Cards' }, index.h("div", { class: 'Icon', innerHTML: ClearSearch }), index.h("span", { class: 'NoPowerTitle' }, translate$2('nothingHere', this.language)), index.h("div", { class: 'NoPowerDescription' }, index.h("span", null, translate$2('noPowerUpsNow')), index.h("span", null, translate$2('gotoShop'))), index.h("div", null))), index.h("active-confirm-modal", { key: '0d4b72f43f5d5430253a19af9ca17204e452c588', "is-open": this.showConfirmModal, pid: (_a = this.currentPowerup) === null || _a === void 0 ? void 0 : _a.id, language: this.language }), index.h("div", { key: '35df0716128bdbd2a44f50f0031c8bc877e301da', class: `ToastWrapper ${this.showToasting ? "Shown" : "Hidden"} ${((_b = this.activeMessage) === null || _b === void 0 ? void 0 : _b.isSuccessed) ? "Success" : "Failed"}` }, index.h("div", { key: '1687a5ea4434755e4ece7dfeeacb02ed0eab068a', class: `Details` }, index.h("span", { key: '79383527e04489fbd7e015b673dd4d8876b70b0e', class: 'Info' }, (_c = this.activeMessage) === null || _c === void 0 ? void 0 : _c.info), ((_d = this.activeMessage) === null || _d === void 0 ? void 0 : _d.detail) && index.h("span", { key: 'b3dbb5d51e457e77111140db035dc5a8a7780b62', class: 'Detail' }, " - [ ", this.activeMessage.detail, " ]")))));
6680
6687
  }
6681
6688
  handleClientStylingChange(newValue, oldValue) {
6682
6689
  if (newValue != oldValue) {
@@ -19,7 +19,7 @@ var patchBrowser = () => {
19
19
 
20
20
  patchBrowser().then(async (options) => {
21
21
  await appGlobals.globalScripts();
22
- return index.bootstrapLazy([["active-confirm-modal_11.cjs",[[1,"bonus-powerups-ingame-entrance",{"mbSource":[513,"mb-source"],"gameId":[513,"game-id"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"language":[513],"endpoint":[513],"session":[513],"isPowerUpsLoaded":[32],"isPowerUpPanelHidden":[32],"hasNewPowerup":[32],"svgWidth":[32],"svgHeight":[32],"availableCount":[32],"isPowering":[32],"currentPowerup":[32],"currentPanel":[32],"consumePercent":[32],"powerups":[32],"currentPowerupPercent":[32]},[[0,"closePowerupsList","onPowerupsListClosedHandler"],[0,"powerupsLoad","powerupsLoadHandler"],[0,"backFromPowerupGames","showPowerupDetailsHandler"],[0,"showPowerupDetails","showPowerupDetailsHandler"],[0,"showMoreGames","showPowerupGamesHandler"],[0,"backFromPowerupDetail","backFromPowerupDetailHandler"],[0,"powerDetailTimeCountDown","powerupTimeCountDownHandler"]],{"currentPowerupPercent":["currentPowerupPercentChanged"],"translationUrl":["handleNewTranslations"],"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[1,"bonus-powerups-ingame-detail",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"language":[513],"endpoint":[513],"session":[513],"pid":[514],"powerupId":[513,"powerup-id"],"isPowering":[516,"is-powering"],"isValidForGame":[516,"is-valid-for-game"],"powerUp":[32],"powerUpGames":[32],"isLoading":[32],"isLoadingGames":[32],"limit":[32],"showConfirmModal":[32],"activeMessage":[32],"showToasting":[32]},[[0,"showPowerupDetails","showPowerupDetailsHandler"],[16,"activePowerupEvent","activePowerupHandler"]],{"session":["loadPowerUpById"],"endpoint":["loadPowerUpById"],"language":["loadPowerUpById"],"pid":["loadPowerUpById"],"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"],"translationUrl":["handleNewTranslations"]}],[1,"bonus-powerups-ingame-list",{"mbSource":[513,"mb-source"],"gameId":[513,"game-id"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"language":[513],"endpoint":[513],"session":[513],"limit":[514],"disableCount":[516,"disable-count"],"isLoading":[32],"isActivating":[32],"powerups":[32],"total":[32],"isPowering":[32],"showConfirmModal":[32],"currentPowerup":[32],"validPowerIds":[32],"activeMessage":[32],"showToasting":[32]},[[16,"reloadPowerups","reloadPowerupsHandler"],[16,"activePowerupEvent","activePowerupHandler"],[0,"powerupTimeCountDown","powerupTimeCountDownHandler"]],{"session":["handleConfigChange"],"endpoint":["handleConfigChange"],"limit":["handleConfigChange"],"language":["handleConfigChange"],"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"],"translationUrl":["handleNewTranslations"]}],[1,"bonus-powerups-ingame-games",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"language":[513],"endpoint":[513],"session":[513],"powerupId":[513,"powerup-id"],"isLoadingGames":[32],"powerUpGames":[32],"powerUp":[32],"limit":[32]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[0,"percent-bar",{"percent":[514],"svgWidth":[2,"svg-width"],"svgHeight":[2,"svg-height"],"percentEnabled":[4,"percent-enabled"],"pathLength":[32],"endPointLocation":[32],"dashOffset":[32]},null,{"svgWidth":["handleSvgWidthChange"],"svgHeight":["handleSvgWidthChange"],"percent":["handlePercentChange"]}],[0,"time-count",{"expireTime":[513,"expire-time"],"language":[513],"mode":[513],"inProgress":[516,"in-progress"],"leftRounds":[514,"left-rounds"],"displayTime":[32],"isExpireInDay1":[32],"timeLeft":[32]},null,{"timeLeft":["timeLeftChanged"],"expireTime":["startTimeChanged"]}],[0,"time-count-detail",{"expireTime":[1,"expire-time"],"language":[1],"pid":[520],"page":[513],"displayTime":[32],"isExpireInDay1":[32],"timeLeft":[32]},null,{"expireTime":["startTimeChanged"],"timeLeft":["timeLeftChanged"]}],[0,"ui-image",{"src":[1],"width":[1],"height":[1],"alt":[1],"styles":[8],"detectDistance":[1,"detect-distance"],"imgLoaded":[32],"shouldLoad":[32]},null,{"src":["handleSrc"]}],[0,"active-confirm-modal",{"pid":[1538],"language":[1537],"isOpen":[1540,"is-open"]}],[0,"smart-loader"],[0,"ui-skeleton",{"structure":[1],"width":[1],"height":[1],"borderRadius":[8,"border-radius"],"marginBottom":[8,"margin-bottom"],"marginTop":[8,"margin-top"],"marginLeft":[8,"margin-left"],"marginRight":[8,"margin-right"],"animation":[4],"rows":[2],"size":[1]},null,{"structure":["handleStructureChange"]}]]]], options);
22
+ return index.bootstrapLazy([["active-confirm-modal_11.cjs",[[1,"bonus-powerups-ingame-entrance",{"mbSource":[513,"mb-source"],"gameId":[513,"game-id"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"language":[513],"endpoint":[513],"session":[513],"isPowerUpsLoaded":[32],"isPowerUpPanelHidden":[32],"hasNewPowerup":[32],"svgWidth":[32],"svgHeight":[32],"availableCount":[32],"isPowering":[32],"currentPowerup":[32],"currentPanel":[32],"consumePercent":[32],"powerups":[32],"currentPowerupPercent":[32]},[[0,"closePowerupsList","onPowerupsListClosedHandler"],[0,"powerupsLoad","powerupsLoadHandler"],[0,"backFromPowerupGames","showPowerupDetailsHandler"],[0,"showPowerupDetails","showPowerupDetailsHandler"],[0,"showMoreGames","showPowerupGamesHandler"],[0,"backFromPowerupDetail","backFromPowerupDetailHandler"],[0,"powerDetailTimeCountDown","powerupTimeCountDownHandler"]],{"currentPowerupPercent":["currentPowerupPercentChanged"],"translationUrl":["handleNewTranslations"],"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[1,"bonus-powerups-ingame-detail",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"language":[513],"endpoint":[513],"session":[513],"pid":[514],"powerupId":[513,"powerup-id"],"isPowering":[516,"is-powering"],"isValidForGame":[516,"is-valid-for-game"],"powerUp":[32],"powerUpGames":[32],"isLoading":[32],"isLoadingGames":[32],"limit":[32],"showConfirmModal":[32],"activeMessage":[32],"showToasting":[32]},[[0,"showPowerupDetails","showPowerupDetailsHandler"],[16,"activePowerupEvent","activePowerupHandler"]],{"session":["loadPowerUpById"],"endpoint":["loadPowerUpById"],"language":["loadPowerUpById"],"pid":["loadPowerUpById"],"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"],"translationUrl":["handleNewTranslations"]}],[1,"bonus-powerups-ingame-list",{"mbSource":[513,"mb-source"],"gameId":[513,"game-id"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"language":[513],"endpoint":[513],"session":[513],"limit":[514],"disableCount":[516,"disable-count"],"isLoading":[32],"isLoadingGamePowers":[32],"isActivating":[32],"powerups":[32],"total":[32],"isPowering":[32],"showConfirmModal":[32],"currentPowerup":[32],"validPowerIds":[32],"activeMessage":[32],"showToasting":[32]},[[16,"reloadPowerups","reloadPowerupsHandler"],[16,"activePowerupEvent","activePowerupHandler"],[0,"powerupTimeCountDown","powerupTimeCountDownHandler"]],{"session":["handleConfigChange"],"endpoint":["handleConfigChange"],"limit":["handleConfigChange"],"language":["handleConfigChange"],"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"],"translationUrl":["handleNewTranslations"]}],[1,"bonus-powerups-ingame-games",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"language":[513],"endpoint":[513],"session":[513],"powerupId":[513,"powerup-id"],"isLoadingGames":[32],"powerUpGames":[32],"powerUp":[32],"limit":[32]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[0,"percent-bar",{"percent":[514],"svgWidth":[2,"svg-width"],"svgHeight":[2,"svg-height"],"percentEnabled":[4,"percent-enabled"],"pathLength":[32],"endPointLocation":[32],"dashOffset":[32]},null,{"svgWidth":["handleSvgWidthChange"],"svgHeight":["handleSvgWidthChange"],"percent":["handlePercentChange"]}],[0,"time-count",{"expireTime":[513,"expire-time"],"language":[513],"mode":[513],"inProgress":[516,"in-progress"],"leftRounds":[514,"left-rounds"],"displayTime":[32],"isExpireInDay1":[32],"timeLeft":[32]},null,{"timeLeft":["timeLeftChanged"],"expireTime":["startTimeChanged"]}],[0,"time-count-detail",{"expireTime":[1,"expire-time"],"language":[1],"pid":[520],"page":[513],"displayTime":[32],"isExpireInDay1":[32],"timeLeft":[32]},null,{"expireTime":["startTimeChanged"],"timeLeft":["timeLeftChanged"]}],[0,"ui-image",{"src":[1],"width":[1],"height":[1],"alt":[1],"styles":[8],"detectDistance":[1,"detect-distance"],"imgLoaded":[32],"shouldLoad":[32]},null,{"src":["handleSrc"]}],[0,"active-confirm-modal",{"pid":[1538],"language":[1537],"isOpen":[1540,"is-open"]}],[0,"smart-loader"],[0,"ui-skeleton",{"structure":[1],"width":[1],"height":[1],"borderRadius":[8,"border-radius"],"marginBottom":[8,"margin-bottom"],"marginTop":[8,"margin-top"],"marginLeft":[8,"margin-left"],"marginRight":[8,"margin-right"],"animation":[4],"rows":[2],"size":[1]},null,{"structure":["handleStructureChange"]}]]]], options);
23
23
  });
24
24
 
25
25
  exports.setNonce = index.setNonce;
@@ -8,7 +8,7 @@ const appGlobals = require('./app-globals-3a1e7e63.js');
8
8
  const defineCustomElements = async (win, options) => {
9
9
  if (typeof window === 'undefined') return undefined;
10
10
  await appGlobals.globalScripts();
11
- return index.bootstrapLazy([["active-confirm-modal_11.cjs",[[1,"bonus-powerups-ingame-entrance",{"mbSource":[513,"mb-source"],"gameId":[513,"game-id"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"language":[513],"endpoint":[513],"session":[513],"isPowerUpsLoaded":[32],"isPowerUpPanelHidden":[32],"hasNewPowerup":[32],"svgWidth":[32],"svgHeight":[32],"availableCount":[32],"isPowering":[32],"currentPowerup":[32],"currentPanel":[32],"consumePercent":[32],"powerups":[32],"currentPowerupPercent":[32]},[[0,"closePowerupsList","onPowerupsListClosedHandler"],[0,"powerupsLoad","powerupsLoadHandler"],[0,"backFromPowerupGames","showPowerupDetailsHandler"],[0,"showPowerupDetails","showPowerupDetailsHandler"],[0,"showMoreGames","showPowerupGamesHandler"],[0,"backFromPowerupDetail","backFromPowerupDetailHandler"],[0,"powerDetailTimeCountDown","powerupTimeCountDownHandler"]],{"currentPowerupPercent":["currentPowerupPercentChanged"],"translationUrl":["handleNewTranslations"],"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[1,"bonus-powerups-ingame-detail",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"language":[513],"endpoint":[513],"session":[513],"pid":[514],"powerupId":[513,"powerup-id"],"isPowering":[516,"is-powering"],"isValidForGame":[516,"is-valid-for-game"],"powerUp":[32],"powerUpGames":[32],"isLoading":[32],"isLoadingGames":[32],"limit":[32],"showConfirmModal":[32],"activeMessage":[32],"showToasting":[32]},[[0,"showPowerupDetails","showPowerupDetailsHandler"],[16,"activePowerupEvent","activePowerupHandler"]],{"session":["loadPowerUpById"],"endpoint":["loadPowerUpById"],"language":["loadPowerUpById"],"pid":["loadPowerUpById"],"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"],"translationUrl":["handleNewTranslations"]}],[1,"bonus-powerups-ingame-list",{"mbSource":[513,"mb-source"],"gameId":[513,"game-id"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"language":[513],"endpoint":[513],"session":[513],"limit":[514],"disableCount":[516,"disable-count"],"isLoading":[32],"isActivating":[32],"powerups":[32],"total":[32],"isPowering":[32],"showConfirmModal":[32],"currentPowerup":[32],"validPowerIds":[32],"activeMessage":[32],"showToasting":[32]},[[16,"reloadPowerups","reloadPowerupsHandler"],[16,"activePowerupEvent","activePowerupHandler"],[0,"powerupTimeCountDown","powerupTimeCountDownHandler"]],{"session":["handleConfigChange"],"endpoint":["handleConfigChange"],"limit":["handleConfigChange"],"language":["handleConfigChange"],"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"],"translationUrl":["handleNewTranslations"]}],[1,"bonus-powerups-ingame-games",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"language":[513],"endpoint":[513],"session":[513],"powerupId":[513,"powerup-id"],"isLoadingGames":[32],"powerUpGames":[32],"powerUp":[32],"limit":[32]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[0,"percent-bar",{"percent":[514],"svgWidth":[2,"svg-width"],"svgHeight":[2,"svg-height"],"percentEnabled":[4,"percent-enabled"],"pathLength":[32],"endPointLocation":[32],"dashOffset":[32]},null,{"svgWidth":["handleSvgWidthChange"],"svgHeight":["handleSvgWidthChange"],"percent":["handlePercentChange"]}],[0,"time-count",{"expireTime":[513,"expire-time"],"language":[513],"mode":[513],"inProgress":[516,"in-progress"],"leftRounds":[514,"left-rounds"],"displayTime":[32],"isExpireInDay1":[32],"timeLeft":[32]},null,{"timeLeft":["timeLeftChanged"],"expireTime":["startTimeChanged"]}],[0,"time-count-detail",{"expireTime":[1,"expire-time"],"language":[1],"pid":[520],"page":[513],"displayTime":[32],"isExpireInDay1":[32],"timeLeft":[32]},null,{"expireTime":["startTimeChanged"],"timeLeft":["timeLeftChanged"]}],[0,"ui-image",{"src":[1],"width":[1],"height":[1],"alt":[1],"styles":[8],"detectDistance":[1,"detect-distance"],"imgLoaded":[32],"shouldLoad":[32]},null,{"src":["handleSrc"]}],[0,"active-confirm-modal",{"pid":[1538],"language":[1537],"isOpen":[1540,"is-open"]}],[0,"smart-loader"],[0,"ui-skeleton",{"structure":[1],"width":[1],"height":[1],"borderRadius":[8,"border-radius"],"marginBottom":[8,"margin-bottom"],"marginTop":[8,"margin-top"],"marginLeft":[8,"margin-left"],"marginRight":[8,"margin-right"],"animation":[4],"rows":[2],"size":[1]},null,{"structure":["handleStructureChange"]}]]]], options);
11
+ return index.bootstrapLazy([["active-confirm-modal_11.cjs",[[1,"bonus-powerups-ingame-entrance",{"mbSource":[513,"mb-source"],"gameId":[513,"game-id"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"language":[513],"endpoint":[513],"session":[513],"isPowerUpsLoaded":[32],"isPowerUpPanelHidden":[32],"hasNewPowerup":[32],"svgWidth":[32],"svgHeight":[32],"availableCount":[32],"isPowering":[32],"currentPowerup":[32],"currentPanel":[32],"consumePercent":[32],"powerups":[32],"currentPowerupPercent":[32]},[[0,"closePowerupsList","onPowerupsListClosedHandler"],[0,"powerupsLoad","powerupsLoadHandler"],[0,"backFromPowerupGames","showPowerupDetailsHandler"],[0,"showPowerupDetails","showPowerupDetailsHandler"],[0,"showMoreGames","showPowerupGamesHandler"],[0,"backFromPowerupDetail","backFromPowerupDetailHandler"],[0,"powerDetailTimeCountDown","powerupTimeCountDownHandler"]],{"currentPowerupPercent":["currentPowerupPercentChanged"],"translationUrl":["handleNewTranslations"],"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[1,"bonus-powerups-ingame-detail",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"language":[513],"endpoint":[513],"session":[513],"pid":[514],"powerupId":[513,"powerup-id"],"isPowering":[516,"is-powering"],"isValidForGame":[516,"is-valid-for-game"],"powerUp":[32],"powerUpGames":[32],"isLoading":[32],"isLoadingGames":[32],"limit":[32],"showConfirmModal":[32],"activeMessage":[32],"showToasting":[32]},[[0,"showPowerupDetails","showPowerupDetailsHandler"],[16,"activePowerupEvent","activePowerupHandler"]],{"session":["loadPowerUpById"],"endpoint":["loadPowerUpById"],"language":["loadPowerUpById"],"pid":["loadPowerUpById"],"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"],"translationUrl":["handleNewTranslations"]}],[1,"bonus-powerups-ingame-list",{"mbSource":[513,"mb-source"],"gameId":[513,"game-id"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"language":[513],"endpoint":[513],"session":[513],"limit":[514],"disableCount":[516,"disable-count"],"isLoading":[32],"isLoadingGamePowers":[32],"isActivating":[32],"powerups":[32],"total":[32],"isPowering":[32],"showConfirmModal":[32],"currentPowerup":[32],"validPowerIds":[32],"activeMessage":[32],"showToasting":[32]},[[16,"reloadPowerups","reloadPowerupsHandler"],[16,"activePowerupEvent","activePowerupHandler"],[0,"powerupTimeCountDown","powerupTimeCountDownHandler"]],{"session":["handleConfigChange"],"endpoint":["handleConfigChange"],"limit":["handleConfigChange"],"language":["handleConfigChange"],"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"],"translationUrl":["handleNewTranslations"]}],[1,"bonus-powerups-ingame-games",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"language":[513],"endpoint":[513],"session":[513],"powerupId":[513,"powerup-id"],"isLoadingGames":[32],"powerUpGames":[32],"powerUp":[32],"limit":[32]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[0,"percent-bar",{"percent":[514],"svgWidth":[2,"svg-width"],"svgHeight":[2,"svg-height"],"percentEnabled":[4,"percent-enabled"],"pathLength":[32],"endPointLocation":[32],"dashOffset":[32]},null,{"svgWidth":["handleSvgWidthChange"],"svgHeight":["handleSvgWidthChange"],"percent":["handlePercentChange"]}],[0,"time-count",{"expireTime":[513,"expire-time"],"language":[513],"mode":[513],"inProgress":[516,"in-progress"],"leftRounds":[514,"left-rounds"],"displayTime":[32],"isExpireInDay1":[32],"timeLeft":[32]},null,{"timeLeft":["timeLeftChanged"],"expireTime":["startTimeChanged"]}],[0,"time-count-detail",{"expireTime":[1,"expire-time"],"language":[1],"pid":[520],"page":[513],"displayTime":[32],"isExpireInDay1":[32],"timeLeft":[32]},null,{"expireTime":["startTimeChanged"],"timeLeft":["timeLeftChanged"]}],[0,"ui-image",{"src":[1],"width":[1],"height":[1],"alt":[1],"styles":[8],"detectDistance":[1,"detect-distance"],"imgLoaded":[32],"shouldLoad":[32]},null,{"src":["handleSrc"]}],[0,"active-confirm-modal",{"pid":[1538],"language":[1537],"isOpen":[1540,"is-open"]}],[0,"smart-loader"],[0,"ui-skeleton",{"structure":[1],"width":[1],"height":[1],"borderRadius":[8,"border-radius"],"marginBottom":[8,"margin-bottom"],"marginTop":[8,"margin-top"],"marginLeft":[8,"margin-left"],"marginRight":[8,"margin-right"],"animation":[4],"rows":[2],"size":[1]},null,{"structure":["handleStructureChange"]}]]]], options);
12
12
  };
13
13
 
14
14
  exports.setNonce = index.setNonce;
@@ -6186,7 +6186,7 @@ const translate = (key, customLang, values) => {
6186
6186
  return translation;
6187
6187
  };
6188
6188
 
6189
- const bonusPowerupsIngameGamesCss = ":host{display:block;height:100%;--game-amount-line:3}.IngamePowerUpGamesContainer{height:100%;display:flex;padding:var(--emw--ingame-power-container-padding, 8px);justify-content:flex-start;flex-direction:column}.IngamePowerUpGamesContainer .CircleLinearBorder{background:rgba(9, 9, 9, 0.5019607843);position:relative;width:26px;height:26px;border-radius:20px;background:none;overflow:hidden;border:1.5px solid transparent;display:flex;align-items:center;justify-content:center;cursor:pointer}.IngamePowerUpGamesContainer .CircleLinearBorder svg{border-radius:20px;padding:4.5px;background:var(--emw--ingame-color-powerup-bg, rgba(9, 9, 9, 0.8980392157));z-index:1}.IngamePowerUpGamesContainer .CircleLinearBorder::before{content:\"\";position:absolute;top:-1.5px;left:-1.5px;right:-1.5px;bottom:-1.5px;z-index:-1;border-radius:21.5px;background:linear-gradient(0deg, var(--emw--ingame-color-white10, rgba(255, 255, 255, 0.0666666667)), var(--emw--ingame-color-white10, rgba(255, 255, 255, 0.0666666667))), linear-gradient(35.22deg, var(--emw--ingame-color-white10, rgba(255, 255, 255, 0)), var(--emw--ingame-color-white30, rgba(255, 255, 255, 0.5490196078)) 89.19%)}.IngamePowerUpGamesContainer .TopBar,.IngamePowerUpGamesContainer .Loading{padding:15px}.IngamePowerUpGamesContainer .TopBar{display:flex;align-items:center;gap:5px}.IngamePowerUpGamesContainer .TopBar .ReturnIcon{width:26px;height:26px;display:flex;border-radius:20px;padding:0;backdrop-filter:blur(13.7647px);justify-content:center;align-items:center}.IngamePowerUpGamesContainer .TopBar .ReturnIcon svg{color:var(--emw--ingame-color-white60, #f0f0f0)}.IngamePowerUpGamesContainer .TopBar .Title{font-weight:600;font-size:0.9rem;line-height:100%;text-align:center;vertical-align:middle;color:var(--emw--ingame-color-neutural-95, #EDEFF2);display:flex;flex-direction:row}.IngamePowerUpGamesContainer .TopBar .Title .Name{font-size:1.1rem}.IngamePowerUpGamesContainer .TopBar .Title .Label{font-size:1.1rem;font-weight:bold;color:var(--emw--ingame-color-neutural-95, #EDEFF2)}.IngamePowerUpGamesContainer .TopBar .TextContent{font-weight:400;font-size:0.9rem;line-height:1.1rem;vertical-align:middle;color:var(--emw--ingame-color-white70, rgba(255, 255, 255, 0.6980392157))}.IngamePowerUpGamesContainer .GamesWrapper{height:calc(100% - 90px);overflow:hidden;width:100%;margin-bottom:10px;scrollbar-width:thin;scrollbar-color:var(--emw--color-background, hsl(254, 8.53%, 54.93%)) transparent}.IngamePowerUpGamesContainer .Games{overflow:auto;scrollbar-width:thin;scrollbar-color:var(--emw--color-background, hsl(254, 8.53%, 54.93%)) transparent}.IngamePowerUpGamesContainer .GamesList{display:flex;height:100%;justify-content:center;flex:1;overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--emw--background-gray-color, gray) transparent}.IngamePowerUpGamesContainer .GamesList::-webkit-scrollbar-track{background-color:transparent;border-radius:5px}.IngamePowerUpGamesContainer .GamesList .Games{padding:15px;display:flex;align-items:flex-start;justify-content:flex-start;flex-wrap:wrap;gap:calc(30px / (var(--game-amount-line, 3) - 1))}.IngamePowerUpGamesContainer .GamesList .Games .Game{width:calc((100% - 30px) / var(--game-amount-line, 3));cursor:pointer;position:relative}.IngamePowerUpGamesContainer .GamesList .Games .Game:hover .mask-filter{opacity:1}.IngamePowerUpGamesContainer .GamesList .Games .Game:hover img{opacity:0.4;filter:blur(1.5px)}.IngamePowerUpGamesContainer .GamesList .Games .Game:hover .GameMask{mix-blend-mode:screen;background-color:var(--emw--color-powup-green, #24B24E);display:flex;justify-content:center;align-items:center;position:absolute;width:100%;opacity:1;left:0;height:100%;top:0;border-radius:8px}.IngamePowerUpGamesContainer .GamesList .Games .Game:hover .GameMask .GameStartBtn{opacity:1}.IngamePowerUpGamesContainer .GameMask{display:none;transition:display;transition-duration:0.2s;opacity:0;position:absolute;width:70%;height:100%}.IngamePowerUpGamesContainer .GameMask .GameStartBtn{width:80px;height:22px;border-radius:8px;opacity:1;padding:4px 5px;background:linear-gradient(180deg, var(--emw--color-powup-green, #24B24E) 0%, var(--emw--color-powup-light-green, #18CE51) 100%);border:1px solid var(--emw--ingame-color-white, #FFFFFF);display:flex;align-items:center;justify-content:space-between;cursor:pointer}.IngamePowerUpGamesContainer .GameMask .GameStartBtn .PlayIcon{background-image:url('data:image/svg+xml;charset=utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"11\" height=\"11\" viewBox=\"0 0 11 11\" fill=\"none\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M5.5 1C3.01472 1 1 3.01472 1 5.5C1 7.98528 3.01472 10 5.5 10C7.98528 10 10 7.98528 10 5.5C10 3.01472 7.98528 1 5.5 1ZM0 5.5C0 2.46243 2.46243 0 5.5 0C8.53757 0 11 2.46243 11 5.5C11 8.53757 8.53757 11 5.5 11C2.46243 11 0 8.53757 0 5.5ZM5.12255 3.21652C5.12728 3.21956 5.13199 3.22259 5.13668 3.22561L7.49698 4.74294C7.50129 4.74571 7.50562 4.74849 7.50998 4.75129C7.58551 4.79982 7.66805 4.85285 7.73381 4.90413C7.80355 4.95852 7.91363 5.05446 7.97854 5.20809C8.0574 5.39471 8.0574 5.60529 7.97854 5.79191C7.91363 5.94554 7.80355 6.04148 7.73381 6.09587C7.66805 6.14715 7.58551 6.20018 7.50998 6.24871C7.50562 6.25151 7.50129 6.25429 7.49698 6.25706L5.13668 7.77439C5.13199 7.77741 5.12727 7.78045 5.12255 7.78348C5.03469 7.84 4.9423 7.89941 4.86094 7.94176C4.77909 7.98436 4.63056 8.05332 4.44657 8.04018C4.22957 8.02468 4.02999 7.91572 3.89961 7.74157C3.78907 7.59391 3.76675 7.43167 3.75832 7.33979C3.74995 7.24844 3.74997 7.1386 3.75 7.03414C3.75 7.02852 3.75 7.02292 3.75 7.01733V3.98267C3.75 3.97708 3.75 3.97148 3.75 3.96586C3.74997 3.8614 3.74995 3.75156 3.75832 3.66021C3.76675 3.56833 3.78907 3.40609 3.89961 3.25843C4.02999 3.08428 4.22957 2.97532 4.44657 2.95982C4.63056 2.94668 4.77909 3.01564 4.86094 3.05824C4.94231 3.10059 5.03469 3.16001 5.12255 3.21652ZM4.75 4.16583V6.83417L6.82537 5.5L4.75 4.16583Z\" fill=\"white\"/> <path d=\"M4.75 6.83417V4.16583L6.82537 5.5L4.75 6.83417Z\" fill=\"white\"/></svg>');height:16px;width:16px;background-repeat:no-repeat;background-size:contain}.Games .Container{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;height:calc(100% - 120px);overflow:auto}.Games .Container .Game{width:105px}@keyframes smart-animate1{0%{opacity:0.15;transform:translateX(0px)}35%{opacity:1;transform:translateX(36px)}75%{opacity:1;transform:translateX(0px)}100%{opacity:0.15;transform:translateX(0px)}}@keyframes smart-animate2{0%{opacity:1}35%{opacity:0.15}75%{opacity:0.5}100%{opacity:1}}@keyframes smart-animate3{0%{opacity:0.5;transform:translateX(0px)}35%{opacity:0.15;transform:translateX(-36px)}75%{opacity:0.15;transform:translateX(0px)}100%{opacity:0.5;transform:translateX(0px)}}.smart-loader{margin:50px auto;display:flex;flex-direction:row;align-items:center;justify-content:center;width:100px;gap:10px}.smart-loader .smart-item{width:3px;height:20px;opacity:0.15;animation-delay:200ms;animation-duration:1000ms;animation-timing-function:ease-out;animation-fill-mode:forwards;padding:1px;margin:5px 0;background:var(--emw--ingame-color-powerup-brightgreen, #00FA5A);border-radius:4px;animation-iteration-count:infinite;animation-direction:normal}.smart-loader .smart-item:nth-child(1){animation-name:smart-animate1}.smart-loader .smart-item:nth-child(2){animation-name:smart-animate2;height:36px}.smart-loader .smart-item:nth-child(3){animation-name:smart-animate3}";
6189
+ const bonusPowerupsIngameGamesCss = ":host{display:block;height:100%;--game-amount-line:3}.IngamePowerUpGamesContainer{height:100%;display:flex;padding:var(--emw--ingame-power-container-padding, 8px);justify-content:flex-start;flex-direction:column}.IngamePowerUpGamesContainer .Title .Name{width:calc(100% - 129px);white-space:nowrap;text-overflow:ellipsis;overflow:hidden;display:inline-block}.IngamePowerUpGamesContainer .CircleLinearBorder{background:rgba(9, 9, 9, 0.5019607843);position:relative;width:26px;height:26px;border-radius:20px;background:none;overflow:hidden;border:1.5px solid transparent;display:flex;align-items:center;justify-content:center;cursor:pointer}.IngamePowerUpGamesContainer .CircleLinearBorder svg{border-radius:20px;padding:4.5px;background:var(--emw--ingame-color-powerup-bg, rgba(9, 9, 9, 0.8980392157));z-index:1}.IngamePowerUpGamesContainer .CircleLinearBorder::before{content:\"\";position:absolute;top:-1.5px;left:-1.5px;right:-1.5px;bottom:-1.5px;z-index:-1;border-radius:21.5px;background:linear-gradient(0deg, var(--emw--ingame-color-white10, rgba(255, 255, 255, 0.0666666667)), var(--emw--ingame-color-white10, rgba(255, 255, 255, 0.0666666667))), linear-gradient(35.22deg, var(--emw--ingame-color-white10, rgba(255, 255, 255, 0)), var(--emw--ingame-color-white30, rgba(255, 255, 255, 0.5490196078)) 89.19%)}.IngamePowerUpGamesContainer .TopBar,.IngamePowerUpGamesContainer .Loading{padding:15px}.IngamePowerUpGamesContainer .TopBar{display:flex;align-items:center;gap:5px}.IngamePowerUpGamesContainer .TopBar .ReturnIcon{width:26px;height:26px;display:flex;border-radius:20px;padding:0;backdrop-filter:blur(13.7647px);justify-content:center;align-items:center}.IngamePowerUpGamesContainer .TopBar .ReturnIcon svg{color:var(--emw--ingame-color-white60, #f0f0f0)}.IngamePowerUpGamesContainer .TopBar .Title{font-weight:600;font-size:0.9rem;line-height:100%;text-align:center;vertical-align:middle;color:var(--emw--ingame-color-neutural-95, #EDEFF2);display:flex;flex-direction:row}.IngamePowerUpGamesContainer .TopBar .Title .Name{font-size:1.1rem}.IngamePowerUpGamesContainer .TopBar .Title .Label{font-size:1.1rem;font-weight:bold;color:var(--emw--ingame-color-neutural-95, #EDEFF2)}.IngamePowerUpGamesContainer .TopBar .TextContent{font-weight:400;font-size:0.9rem;line-height:1.1rem;vertical-align:middle;color:var(--emw--ingame-color-white70, rgba(255, 255, 255, 0.6980392157))}.IngamePowerUpGamesContainer .GamesWrapper{height:calc(100% - 90px);overflow:hidden;width:100%;margin-bottom:10px;scrollbar-width:thin;scrollbar-color:var(--emw--color-background, hsl(254, 8.53%, 54.93%)) transparent}.IngamePowerUpGamesContainer .Games{overflow:auto;scrollbar-width:thin;scrollbar-color:var(--emw--color-background, hsl(254, 8.53%, 54.93%)) transparent}.IngamePowerUpGamesContainer .GamesList{display:flex;height:100%;justify-content:center;flex:1;overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--emw--background-gray-color, gray) transparent}.IngamePowerUpGamesContainer .GamesList::-webkit-scrollbar-track{background-color:transparent;border-radius:5px}.IngamePowerUpGamesContainer .GamesList .Games{padding:15px;display:flex;align-items:flex-start;justify-content:flex-start;flex-wrap:wrap;gap:calc(30px / (var(--game-amount-line, 3) - 1))}.IngamePowerUpGamesContainer .GamesList .Games .Game{width:calc((100% - 30px) / var(--game-amount-line, 3));cursor:pointer;position:relative}.IngamePowerUpGamesContainer .GamesList .Games .Game:hover .mask-filter{opacity:1}.IngamePowerUpGamesContainer .GamesList .Games .Game:hover img{opacity:0.4;filter:blur(1.5px)}.IngamePowerUpGamesContainer .GamesList .Games .Game:hover .GameMask{mix-blend-mode:screen;background-color:var(--emw--color-powup-green, #24B24E);display:flex;justify-content:center;align-items:center;position:absolute;width:100%;opacity:1;left:0;height:100%;top:0;border-radius:8px}.IngamePowerUpGamesContainer .GamesList .Games .Game:hover .GameMask .GameStartBtn{opacity:1}.IngamePowerUpGamesContainer .GameMask{display:none;transition:display;transition-duration:0.2s;opacity:0;position:absolute;width:70%;height:100%}.IngamePowerUpGamesContainer .GameMask .GameStartBtn{width:80px;height:22px;border-radius:8px;opacity:1;padding:4px 5px;background:linear-gradient(180deg, var(--emw--color-powup-green, #24B24E) 0%, var(--emw--color-powup-light-green, #18CE51) 100%);border:1px solid var(--emw--ingame-color-white, #FFFFFF);display:flex;align-items:center;justify-content:space-between;cursor:pointer}.IngamePowerUpGamesContainer .GameMask .GameStartBtn .PlayIcon{background-image:url('data:image/svg+xml;charset=utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"11\" height=\"11\" viewBox=\"0 0 11 11\" fill=\"none\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M5.5 1C3.01472 1 1 3.01472 1 5.5C1 7.98528 3.01472 10 5.5 10C7.98528 10 10 7.98528 10 5.5C10 3.01472 7.98528 1 5.5 1ZM0 5.5C0 2.46243 2.46243 0 5.5 0C8.53757 0 11 2.46243 11 5.5C11 8.53757 8.53757 11 5.5 11C2.46243 11 0 8.53757 0 5.5ZM5.12255 3.21652C5.12728 3.21956 5.13199 3.22259 5.13668 3.22561L7.49698 4.74294C7.50129 4.74571 7.50562 4.74849 7.50998 4.75129C7.58551 4.79982 7.66805 4.85285 7.73381 4.90413C7.80355 4.95852 7.91363 5.05446 7.97854 5.20809C8.0574 5.39471 8.0574 5.60529 7.97854 5.79191C7.91363 5.94554 7.80355 6.04148 7.73381 6.09587C7.66805 6.14715 7.58551 6.20018 7.50998 6.24871C7.50562 6.25151 7.50129 6.25429 7.49698 6.25706L5.13668 7.77439C5.13199 7.77741 5.12727 7.78045 5.12255 7.78348C5.03469 7.84 4.9423 7.89941 4.86094 7.94176C4.77909 7.98436 4.63056 8.05332 4.44657 8.04018C4.22957 8.02468 4.02999 7.91572 3.89961 7.74157C3.78907 7.59391 3.76675 7.43167 3.75832 7.33979C3.74995 7.24844 3.74997 7.1386 3.75 7.03414C3.75 7.02852 3.75 7.02292 3.75 7.01733V3.98267C3.75 3.97708 3.75 3.97148 3.75 3.96586C3.74997 3.8614 3.74995 3.75156 3.75832 3.66021C3.76675 3.56833 3.78907 3.40609 3.89961 3.25843C4.02999 3.08428 4.22957 2.97532 4.44657 2.95982C4.63056 2.94668 4.77909 3.01564 4.86094 3.05824C4.94231 3.10059 5.03469 3.16001 5.12255 3.21652ZM4.75 4.16583V6.83417L6.82537 5.5L4.75 4.16583Z\" fill=\"white\"/> <path d=\"M4.75 6.83417V4.16583L6.82537 5.5L4.75 6.83417Z\" fill=\"white\"/></svg>');height:16px;width:16px;background-repeat:no-repeat;background-size:contain}.Games .Container{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;height:calc(100% - 120px);overflow:auto}.Games .Container .Game{width:105px}@keyframes smart-animate1{0%{opacity:0.15;transform:translateX(0px)}35%{opacity:1;transform:translateX(36px)}75%{opacity:1;transform:translateX(0px)}100%{opacity:0.15;transform:translateX(0px)}}@keyframes smart-animate2{0%{opacity:1}35%{opacity:0.15}75%{opacity:0.5}100%{opacity:1}}@keyframes smart-animate3{0%{opacity:0.5;transform:translateX(0px)}35%{opacity:0.15;transform:translateX(-36px)}75%{opacity:0.15;transform:translateX(0px)}100%{opacity:0.5;transform:translateX(0px)}}.smart-loader{margin:50px auto;display:flex;flex-direction:row;align-items:center;justify-content:center;width:100px;gap:10px}.smart-loader .smart-item{width:3px;height:20px;opacity:0.15;animation-delay:200ms;animation-duration:1000ms;animation-timing-function:ease-out;animation-fill-mode:forwards;padding:1px;margin:5px 0;background:var(--emw--ingame-color-powerup-brightgreen, #00FA5A);border-radius:4px;animation-iteration-count:infinite;animation-direction:normal}.smart-loader .smart-item:nth-child(1){animation-name:smart-animate1}.smart-loader .smart-item:nth-child(2){animation-name:smart-animate2;height:36px}.smart-loader .smart-item:nth-child(3){animation-name:smart-animate3}";
6190
6190
  const BonusPowerupsIngameGamesStyle0 = bonusPowerupsIngameGamesCss;
6191
6191
 
6192
6192
  const BonusPowerupsIngameGames = class {
@@ -6429,6 +6429,7 @@ const BonusPowerupsIngameList = class {
6429
6429
  this.limit = 30;
6430
6430
  this.disableCount = false;
6431
6431
  this.isLoading = false;
6432
+ this.isLoadingGamePowers = false;
6432
6433
  this.isActivating = false;
6433
6434
  this.powerups = [];
6434
6435
  this.total = 0;
@@ -6463,20 +6464,21 @@ const BonusPowerupsIngameList = class {
6463
6464
  }
6464
6465
  }
6465
6466
  async reloadPowerups(onlyGamePowers = false) {
6466
- this.powerups = [];
6467
- this.total = 0;
6468
- await this.loadGamePowers();
6469
6467
  if (onlyGamePowers) {
6468
+ await this.loadGamePowers();
6470
6469
  return;
6471
6470
  }
6472
- await this.loadData();
6471
+ await this.loadData(false);
6473
6472
  }
6474
6473
  handleConfigChange() {
6475
6474
  this.debouncedReload();
6476
6475
  }
6477
6476
  async loadGamePowers() {
6477
+ if (this.isLoadingGamePowers) {
6478
+ return;
6479
+ }
6478
6480
  try {
6479
- this.isLoading = true;
6481
+ this.isLoadingGamePowers = true;
6480
6482
  const url = new URL(`${this.endpoint}/v1/elevate/powerups`);
6481
6483
  const options = {
6482
6484
  headers: {
@@ -6502,18 +6504,23 @@ const BonusPowerupsIngameList = class {
6502
6504
  console.error("Failed to load game powerups:", error);
6503
6505
  }
6504
6506
  finally {
6505
- this.isLoading = false;
6507
+ this.isLoadingGamePowers = false;
6506
6508
  }
6507
6509
  }
6508
- async loadData() {
6510
+ async loadData(isPendingLoad = true) {
6509
6511
  if (this.isLoading || this.total > 0 && this.powerups.length >= this.total) {
6510
6512
  return;
6511
6513
  }
6514
+ this.isLoading = true;
6512
6515
  if (this.abortController) {
6513
6516
  this.abortController.abort();
6514
6517
  }
6515
6518
  this.abortController = new AbortController();
6516
- this.isLoading = true;
6519
+ if (!isPendingLoad) {
6520
+ this.powerups = [];
6521
+ this.total = 0;
6522
+ await this.loadGamePowers();
6523
+ }
6517
6524
  try {
6518
6525
  const offset = this.powerups.length;
6519
6526
  const url = new URL(`${this.endpoint}/v1/elevate/powerups`);
@@ -6658,7 +6665,7 @@ const BonusPowerupsIngameList = class {
6658
6665
  }
6659
6666
  render() {
6660
6667
  var _a, _b, _c, _d;
6661
- return (h("div", { key: '9426c6dcd8d1a40215965c19ddd01670ecc00f8b', class: 'IngamePowerUpsContainer', ref: (el) => (this.stylingContainer = el) }, h("div", { key: '8448e3b8bceaa29f77d9e09e599f3af8d078fe8a', class: `TopBar ${this.showConfirmModal ? 'Hidden' : ''}` }, h("span", { key: '4f1269d8a21e540a43e09862637b03de8c8d4bf0', class: 'BarTitle' }, translate$2('powerups', this.language)), h("div", { key: 'b2f52361b45d6dbb1c14f3e8a24a22bbb54a76b4', class: 'IconBtn CircleLinearBorder', onClick: this.onClose.bind(this), innerHTML: CloseSvg })), this.isLoading && this.powerups.length === 0
6668
+ return (h("div", { key: '46173d19e0994034918cb53d7cae029372a9a872', class: 'IngamePowerUpsContainer', ref: (el) => (this.stylingContainer = el) }, h("div", { key: '5bf0e49116a07bab74335e71f872f0a481c5e1f9', class: `TopBar ${this.showConfirmModal ? 'Hidden' : ''}` }, h("span", { key: '23ac83a58a001dd1c6835176c7746210c57b33d8', class: 'BarTitle' }, translate$2('powerups', this.language)), h("div", { key: '5a935b3eee02c3f5d6acc33dee137c69a3f1df22', class: 'IconBtn CircleLinearBorder', onClick: this.onClose.bind(this), innerHTML: CloseSvg })), this.isLoading && this.powerups.length === 0
6662
6669
  ? h("smart-loader", null)
6663
6670
  : (this.powerups.length > 0 ?
6664
6671
  h("div", { class: `Cards ${this.showConfirmModal || this.powerups.length === 0 ? 'Hidden' : ''}` }, this.isPowering &&
@@ -6673,7 +6680,7 @@ const BonusPowerupsIngameList = class {
6673
6680
  : translate$2('minutes', this.language))), (powerup.status === PowerUpStatus.ACTIVE || powerup.status === PowerUpStatus.ACTIVATING) &&
6674
6681
  h("div", { class: `ActiveBtn CircleLinearBorder ${this.isPowering || this.isActivating || !powerup.isValidForCurrentGame ? 'Disabled' : ''} ${this.isActivating ? 'Activating' : ''}`, onClick: () => this.onActiveBtnClick(powerup) }, h("div", { class: 'content' }, " ", translate$2('activate', this.language))))));
6675
6682
  }), this.isLoading && this.powerups.length > 0 && h("smart-loader", null))
6676
- : h("div", { class: 'EmptyPowerups Cards' }, h("div", { class: 'Icon', innerHTML: ClearSearch }), h("span", { class: 'NoPowerTitle' }, translate$2('nothingHere', this.language)), h("div", { class: 'NoPowerDescription' }, h("span", null, translate$2('noPowerUpsNow')), h("span", null, translate$2('gotoShop'))), h("div", null))), h("active-confirm-modal", { key: '8591d7fc76cfa6effaebd4fbf9a9f5a418bad119', "is-open": this.showConfirmModal, pid: (_a = this.currentPowerup) === null || _a === void 0 ? void 0 : _a.id, language: this.language }), h("div", { key: '590c3ceaebe5aca9f64d6210a2adaff17700faa5', class: `ToastWrapper ${this.showToasting ? "Shown" : "Hidden"} ${((_b = this.activeMessage) === null || _b === void 0 ? void 0 : _b.isSuccessed) ? "Success" : "Failed"}` }, h("div", { key: '7df6ac445d05c7cd19a6af7df50bb88031dfed47', class: `Details` }, h("span", { key: '4735edc51e995f5853e488f3ff24a13619a8283e', class: 'Info' }, (_c = this.activeMessage) === null || _c === void 0 ? void 0 : _c.info), ((_d = this.activeMessage) === null || _d === void 0 ? void 0 : _d.detail) && h("span", { key: '19e1117d681fcd38e13e134e3f57ddc5c9c078ed', class: 'Detail' }, " - [ ", this.activeMessage.detail, " ]")))));
6683
+ : h("div", { class: 'EmptyPowerups Cards' }, h("div", { class: 'Icon', innerHTML: ClearSearch }), h("span", { class: 'NoPowerTitle' }, translate$2('nothingHere', this.language)), h("div", { class: 'NoPowerDescription' }, h("span", null, translate$2('noPowerUpsNow')), h("span", null, translate$2('gotoShop'))), h("div", null))), h("active-confirm-modal", { key: '0d4b72f43f5d5430253a19af9ca17204e452c588', "is-open": this.showConfirmModal, pid: (_a = this.currentPowerup) === null || _a === void 0 ? void 0 : _a.id, language: this.language }), h("div", { key: '35df0716128bdbd2a44f50f0031c8bc877e301da', class: `ToastWrapper ${this.showToasting ? "Shown" : "Hidden"} ${((_b = this.activeMessage) === null || _b === void 0 ? void 0 : _b.isSuccessed) ? "Success" : "Failed"}` }, h("div", { key: '1687a5ea4434755e4ece7dfeeacb02ed0eab068a', class: `Details` }, h("span", { key: '79383527e04489fbd7e015b673dd4d8876b70b0e', class: 'Info' }, (_c = this.activeMessage) === null || _c === void 0 ? void 0 : _c.info), ((_d = this.activeMessage) === null || _d === void 0 ? void 0 : _d.detail) && h("span", { key: 'b3dbb5d51e457e77111140db035dc5a8a7780b62', class: 'Detail' }, " - [ ", this.activeMessage.detail, " ]")))));
6677
6684
  }
6678
6685
  handleClientStylingChange(newValue, oldValue) {
6679
6686
  if (newValue != oldValue) {
@@ -16,5 +16,5 @@ var patchBrowser = () => {
16
16
 
17
17
  patchBrowser().then(async (options) => {
18
18
  await globalScripts();
19
- return bootstrapLazy([["active-confirm-modal_11",[[1,"bonus-powerups-ingame-entrance",{"mbSource":[513,"mb-source"],"gameId":[513,"game-id"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"language":[513],"endpoint":[513],"session":[513],"isPowerUpsLoaded":[32],"isPowerUpPanelHidden":[32],"hasNewPowerup":[32],"svgWidth":[32],"svgHeight":[32],"availableCount":[32],"isPowering":[32],"currentPowerup":[32],"currentPanel":[32],"consumePercent":[32],"powerups":[32],"currentPowerupPercent":[32]},[[0,"closePowerupsList","onPowerupsListClosedHandler"],[0,"powerupsLoad","powerupsLoadHandler"],[0,"backFromPowerupGames","showPowerupDetailsHandler"],[0,"showPowerupDetails","showPowerupDetailsHandler"],[0,"showMoreGames","showPowerupGamesHandler"],[0,"backFromPowerupDetail","backFromPowerupDetailHandler"],[0,"powerDetailTimeCountDown","powerupTimeCountDownHandler"]],{"currentPowerupPercent":["currentPowerupPercentChanged"],"translationUrl":["handleNewTranslations"],"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[1,"bonus-powerups-ingame-detail",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"language":[513],"endpoint":[513],"session":[513],"pid":[514],"powerupId":[513,"powerup-id"],"isPowering":[516,"is-powering"],"isValidForGame":[516,"is-valid-for-game"],"powerUp":[32],"powerUpGames":[32],"isLoading":[32],"isLoadingGames":[32],"limit":[32],"showConfirmModal":[32],"activeMessage":[32],"showToasting":[32]},[[0,"showPowerupDetails","showPowerupDetailsHandler"],[16,"activePowerupEvent","activePowerupHandler"]],{"session":["loadPowerUpById"],"endpoint":["loadPowerUpById"],"language":["loadPowerUpById"],"pid":["loadPowerUpById"],"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"],"translationUrl":["handleNewTranslations"]}],[1,"bonus-powerups-ingame-list",{"mbSource":[513,"mb-source"],"gameId":[513,"game-id"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"language":[513],"endpoint":[513],"session":[513],"limit":[514],"disableCount":[516,"disable-count"],"isLoading":[32],"isActivating":[32],"powerups":[32],"total":[32],"isPowering":[32],"showConfirmModal":[32],"currentPowerup":[32],"validPowerIds":[32],"activeMessage":[32],"showToasting":[32]},[[16,"reloadPowerups","reloadPowerupsHandler"],[16,"activePowerupEvent","activePowerupHandler"],[0,"powerupTimeCountDown","powerupTimeCountDownHandler"]],{"session":["handleConfigChange"],"endpoint":["handleConfigChange"],"limit":["handleConfigChange"],"language":["handleConfigChange"],"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"],"translationUrl":["handleNewTranslations"]}],[1,"bonus-powerups-ingame-games",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"language":[513],"endpoint":[513],"session":[513],"powerupId":[513,"powerup-id"],"isLoadingGames":[32],"powerUpGames":[32],"powerUp":[32],"limit":[32]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[0,"percent-bar",{"percent":[514],"svgWidth":[2,"svg-width"],"svgHeight":[2,"svg-height"],"percentEnabled":[4,"percent-enabled"],"pathLength":[32],"endPointLocation":[32],"dashOffset":[32]},null,{"svgWidth":["handleSvgWidthChange"],"svgHeight":["handleSvgWidthChange"],"percent":["handlePercentChange"]}],[0,"time-count",{"expireTime":[513,"expire-time"],"language":[513],"mode":[513],"inProgress":[516,"in-progress"],"leftRounds":[514,"left-rounds"],"displayTime":[32],"isExpireInDay1":[32],"timeLeft":[32]},null,{"timeLeft":["timeLeftChanged"],"expireTime":["startTimeChanged"]}],[0,"time-count-detail",{"expireTime":[1,"expire-time"],"language":[1],"pid":[520],"page":[513],"displayTime":[32],"isExpireInDay1":[32],"timeLeft":[32]},null,{"expireTime":["startTimeChanged"],"timeLeft":["timeLeftChanged"]}],[0,"ui-image",{"src":[1],"width":[1],"height":[1],"alt":[1],"styles":[8],"detectDistance":[1,"detect-distance"],"imgLoaded":[32],"shouldLoad":[32]},null,{"src":["handleSrc"]}],[0,"active-confirm-modal",{"pid":[1538],"language":[1537],"isOpen":[1540,"is-open"]}],[0,"smart-loader"],[0,"ui-skeleton",{"structure":[1],"width":[1],"height":[1],"borderRadius":[8,"border-radius"],"marginBottom":[8,"margin-bottom"],"marginTop":[8,"margin-top"],"marginLeft":[8,"margin-left"],"marginRight":[8,"margin-right"],"animation":[4],"rows":[2],"size":[1]},null,{"structure":["handleStructureChange"]}]]]], options);
19
+ return bootstrapLazy([["active-confirm-modal_11",[[1,"bonus-powerups-ingame-entrance",{"mbSource":[513,"mb-source"],"gameId":[513,"game-id"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"language":[513],"endpoint":[513],"session":[513],"isPowerUpsLoaded":[32],"isPowerUpPanelHidden":[32],"hasNewPowerup":[32],"svgWidth":[32],"svgHeight":[32],"availableCount":[32],"isPowering":[32],"currentPowerup":[32],"currentPanel":[32],"consumePercent":[32],"powerups":[32],"currentPowerupPercent":[32]},[[0,"closePowerupsList","onPowerupsListClosedHandler"],[0,"powerupsLoad","powerupsLoadHandler"],[0,"backFromPowerupGames","showPowerupDetailsHandler"],[0,"showPowerupDetails","showPowerupDetailsHandler"],[0,"showMoreGames","showPowerupGamesHandler"],[0,"backFromPowerupDetail","backFromPowerupDetailHandler"],[0,"powerDetailTimeCountDown","powerupTimeCountDownHandler"]],{"currentPowerupPercent":["currentPowerupPercentChanged"],"translationUrl":["handleNewTranslations"],"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[1,"bonus-powerups-ingame-detail",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"language":[513],"endpoint":[513],"session":[513],"pid":[514],"powerupId":[513,"powerup-id"],"isPowering":[516,"is-powering"],"isValidForGame":[516,"is-valid-for-game"],"powerUp":[32],"powerUpGames":[32],"isLoading":[32],"isLoadingGames":[32],"limit":[32],"showConfirmModal":[32],"activeMessage":[32],"showToasting":[32]},[[0,"showPowerupDetails","showPowerupDetailsHandler"],[16,"activePowerupEvent","activePowerupHandler"]],{"session":["loadPowerUpById"],"endpoint":["loadPowerUpById"],"language":["loadPowerUpById"],"pid":["loadPowerUpById"],"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"],"translationUrl":["handleNewTranslations"]}],[1,"bonus-powerups-ingame-list",{"mbSource":[513,"mb-source"],"gameId":[513,"game-id"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"language":[513],"endpoint":[513],"session":[513],"limit":[514],"disableCount":[516,"disable-count"],"isLoading":[32],"isLoadingGamePowers":[32],"isActivating":[32],"powerups":[32],"total":[32],"isPowering":[32],"showConfirmModal":[32],"currentPowerup":[32],"validPowerIds":[32],"activeMessage":[32],"showToasting":[32]},[[16,"reloadPowerups","reloadPowerupsHandler"],[16,"activePowerupEvent","activePowerupHandler"],[0,"powerupTimeCountDown","powerupTimeCountDownHandler"]],{"session":["handleConfigChange"],"endpoint":["handleConfigChange"],"limit":["handleConfigChange"],"language":["handleConfigChange"],"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"],"translationUrl":["handleNewTranslations"]}],[1,"bonus-powerups-ingame-games",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"language":[513],"endpoint":[513],"session":[513],"powerupId":[513,"powerup-id"],"isLoadingGames":[32],"powerUpGames":[32],"powerUp":[32],"limit":[32]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[0,"percent-bar",{"percent":[514],"svgWidth":[2,"svg-width"],"svgHeight":[2,"svg-height"],"percentEnabled":[4,"percent-enabled"],"pathLength":[32],"endPointLocation":[32],"dashOffset":[32]},null,{"svgWidth":["handleSvgWidthChange"],"svgHeight":["handleSvgWidthChange"],"percent":["handlePercentChange"]}],[0,"time-count",{"expireTime":[513,"expire-time"],"language":[513],"mode":[513],"inProgress":[516,"in-progress"],"leftRounds":[514,"left-rounds"],"displayTime":[32],"isExpireInDay1":[32],"timeLeft":[32]},null,{"timeLeft":["timeLeftChanged"],"expireTime":["startTimeChanged"]}],[0,"time-count-detail",{"expireTime":[1,"expire-time"],"language":[1],"pid":[520],"page":[513],"displayTime":[32],"isExpireInDay1":[32],"timeLeft":[32]},null,{"expireTime":["startTimeChanged"],"timeLeft":["timeLeftChanged"]}],[0,"ui-image",{"src":[1],"width":[1],"height":[1],"alt":[1],"styles":[8],"detectDistance":[1,"detect-distance"],"imgLoaded":[32],"shouldLoad":[32]},null,{"src":["handleSrc"]}],[0,"active-confirm-modal",{"pid":[1538],"language":[1537],"isOpen":[1540,"is-open"]}],[0,"smart-loader"],[0,"ui-skeleton",{"structure":[1],"width":[1],"height":[1],"borderRadius":[8,"border-radius"],"marginBottom":[8,"margin-bottom"],"marginTop":[8,"margin-top"],"marginLeft":[8,"margin-left"],"marginRight":[8,"margin-right"],"animation":[4],"rows":[2],"size":[1]},null,{"structure":["handleStructureChange"]}]]]], options);
20
20
  });
@@ -5,7 +5,7 @@ import { g as globalScripts } from './app-globals-0f993ce5.js';
5
5
  const defineCustomElements = async (win, options) => {
6
6
  if (typeof window === 'undefined') return undefined;
7
7
  await globalScripts();
8
- return bootstrapLazy([["active-confirm-modal_11",[[1,"bonus-powerups-ingame-entrance",{"mbSource":[513,"mb-source"],"gameId":[513,"game-id"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"language":[513],"endpoint":[513],"session":[513],"isPowerUpsLoaded":[32],"isPowerUpPanelHidden":[32],"hasNewPowerup":[32],"svgWidth":[32],"svgHeight":[32],"availableCount":[32],"isPowering":[32],"currentPowerup":[32],"currentPanel":[32],"consumePercent":[32],"powerups":[32],"currentPowerupPercent":[32]},[[0,"closePowerupsList","onPowerupsListClosedHandler"],[0,"powerupsLoad","powerupsLoadHandler"],[0,"backFromPowerupGames","showPowerupDetailsHandler"],[0,"showPowerupDetails","showPowerupDetailsHandler"],[0,"showMoreGames","showPowerupGamesHandler"],[0,"backFromPowerupDetail","backFromPowerupDetailHandler"],[0,"powerDetailTimeCountDown","powerupTimeCountDownHandler"]],{"currentPowerupPercent":["currentPowerupPercentChanged"],"translationUrl":["handleNewTranslations"],"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[1,"bonus-powerups-ingame-detail",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"language":[513],"endpoint":[513],"session":[513],"pid":[514],"powerupId":[513,"powerup-id"],"isPowering":[516,"is-powering"],"isValidForGame":[516,"is-valid-for-game"],"powerUp":[32],"powerUpGames":[32],"isLoading":[32],"isLoadingGames":[32],"limit":[32],"showConfirmModal":[32],"activeMessage":[32],"showToasting":[32]},[[0,"showPowerupDetails","showPowerupDetailsHandler"],[16,"activePowerupEvent","activePowerupHandler"]],{"session":["loadPowerUpById"],"endpoint":["loadPowerUpById"],"language":["loadPowerUpById"],"pid":["loadPowerUpById"],"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"],"translationUrl":["handleNewTranslations"]}],[1,"bonus-powerups-ingame-list",{"mbSource":[513,"mb-source"],"gameId":[513,"game-id"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"language":[513],"endpoint":[513],"session":[513],"limit":[514],"disableCount":[516,"disable-count"],"isLoading":[32],"isActivating":[32],"powerups":[32],"total":[32],"isPowering":[32],"showConfirmModal":[32],"currentPowerup":[32],"validPowerIds":[32],"activeMessage":[32],"showToasting":[32]},[[16,"reloadPowerups","reloadPowerupsHandler"],[16,"activePowerupEvent","activePowerupHandler"],[0,"powerupTimeCountDown","powerupTimeCountDownHandler"]],{"session":["handleConfigChange"],"endpoint":["handleConfigChange"],"limit":["handleConfigChange"],"language":["handleConfigChange"],"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"],"translationUrl":["handleNewTranslations"]}],[1,"bonus-powerups-ingame-games",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"language":[513],"endpoint":[513],"session":[513],"powerupId":[513,"powerup-id"],"isLoadingGames":[32],"powerUpGames":[32],"powerUp":[32],"limit":[32]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[0,"percent-bar",{"percent":[514],"svgWidth":[2,"svg-width"],"svgHeight":[2,"svg-height"],"percentEnabled":[4,"percent-enabled"],"pathLength":[32],"endPointLocation":[32],"dashOffset":[32]},null,{"svgWidth":["handleSvgWidthChange"],"svgHeight":["handleSvgWidthChange"],"percent":["handlePercentChange"]}],[0,"time-count",{"expireTime":[513,"expire-time"],"language":[513],"mode":[513],"inProgress":[516,"in-progress"],"leftRounds":[514,"left-rounds"],"displayTime":[32],"isExpireInDay1":[32],"timeLeft":[32]},null,{"timeLeft":["timeLeftChanged"],"expireTime":["startTimeChanged"]}],[0,"time-count-detail",{"expireTime":[1,"expire-time"],"language":[1],"pid":[520],"page":[513],"displayTime":[32],"isExpireInDay1":[32],"timeLeft":[32]},null,{"expireTime":["startTimeChanged"],"timeLeft":["timeLeftChanged"]}],[0,"ui-image",{"src":[1],"width":[1],"height":[1],"alt":[1],"styles":[8],"detectDistance":[1,"detect-distance"],"imgLoaded":[32],"shouldLoad":[32]},null,{"src":["handleSrc"]}],[0,"active-confirm-modal",{"pid":[1538],"language":[1537],"isOpen":[1540,"is-open"]}],[0,"smart-loader"],[0,"ui-skeleton",{"structure":[1],"width":[1],"height":[1],"borderRadius":[8,"border-radius"],"marginBottom":[8,"margin-bottom"],"marginTop":[8,"margin-top"],"marginLeft":[8,"margin-left"],"marginRight":[8,"margin-right"],"animation":[4],"rows":[2],"size":[1]},null,{"structure":["handleStructureChange"]}]]]], options);
8
+ return bootstrapLazy([["active-confirm-modal_11",[[1,"bonus-powerups-ingame-entrance",{"mbSource":[513,"mb-source"],"gameId":[513,"game-id"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"language":[513],"endpoint":[513],"session":[513],"isPowerUpsLoaded":[32],"isPowerUpPanelHidden":[32],"hasNewPowerup":[32],"svgWidth":[32],"svgHeight":[32],"availableCount":[32],"isPowering":[32],"currentPowerup":[32],"currentPanel":[32],"consumePercent":[32],"powerups":[32],"currentPowerupPercent":[32]},[[0,"closePowerupsList","onPowerupsListClosedHandler"],[0,"powerupsLoad","powerupsLoadHandler"],[0,"backFromPowerupGames","showPowerupDetailsHandler"],[0,"showPowerupDetails","showPowerupDetailsHandler"],[0,"showMoreGames","showPowerupGamesHandler"],[0,"backFromPowerupDetail","backFromPowerupDetailHandler"],[0,"powerDetailTimeCountDown","powerupTimeCountDownHandler"]],{"currentPowerupPercent":["currentPowerupPercentChanged"],"translationUrl":["handleNewTranslations"],"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[1,"bonus-powerups-ingame-detail",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"language":[513],"endpoint":[513],"session":[513],"pid":[514],"powerupId":[513,"powerup-id"],"isPowering":[516,"is-powering"],"isValidForGame":[516,"is-valid-for-game"],"powerUp":[32],"powerUpGames":[32],"isLoading":[32],"isLoadingGames":[32],"limit":[32],"showConfirmModal":[32],"activeMessage":[32],"showToasting":[32]},[[0,"showPowerupDetails","showPowerupDetailsHandler"],[16,"activePowerupEvent","activePowerupHandler"]],{"session":["loadPowerUpById"],"endpoint":["loadPowerUpById"],"language":["loadPowerUpById"],"pid":["loadPowerUpById"],"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"],"translationUrl":["handleNewTranslations"]}],[1,"bonus-powerups-ingame-list",{"mbSource":[513,"mb-source"],"gameId":[513,"game-id"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"language":[513],"endpoint":[513],"session":[513],"limit":[514],"disableCount":[516,"disable-count"],"isLoading":[32],"isLoadingGamePowers":[32],"isActivating":[32],"powerups":[32],"total":[32],"isPowering":[32],"showConfirmModal":[32],"currentPowerup":[32],"validPowerIds":[32],"activeMessage":[32],"showToasting":[32]},[[16,"reloadPowerups","reloadPowerupsHandler"],[16,"activePowerupEvent","activePowerupHandler"],[0,"powerupTimeCountDown","powerupTimeCountDownHandler"]],{"session":["handleConfigChange"],"endpoint":["handleConfigChange"],"limit":["handleConfigChange"],"language":["handleConfigChange"],"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"],"translationUrl":["handleNewTranslations"]}],[1,"bonus-powerups-ingame-games",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"language":[513],"endpoint":[513],"session":[513],"powerupId":[513,"powerup-id"],"isLoadingGames":[32],"powerUpGames":[32],"powerUp":[32],"limit":[32]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[0,"percent-bar",{"percent":[514],"svgWidth":[2,"svg-width"],"svgHeight":[2,"svg-height"],"percentEnabled":[4,"percent-enabled"],"pathLength":[32],"endPointLocation":[32],"dashOffset":[32]},null,{"svgWidth":["handleSvgWidthChange"],"svgHeight":["handleSvgWidthChange"],"percent":["handlePercentChange"]}],[0,"time-count",{"expireTime":[513,"expire-time"],"language":[513],"mode":[513],"inProgress":[516,"in-progress"],"leftRounds":[514,"left-rounds"],"displayTime":[32],"isExpireInDay1":[32],"timeLeft":[32]},null,{"timeLeft":["timeLeftChanged"],"expireTime":["startTimeChanged"]}],[0,"time-count-detail",{"expireTime":[1,"expire-time"],"language":[1],"pid":[520],"page":[513],"displayTime":[32],"isExpireInDay1":[32],"timeLeft":[32]},null,{"expireTime":["startTimeChanged"],"timeLeft":["timeLeftChanged"]}],[0,"ui-image",{"src":[1],"width":[1],"height":[1],"alt":[1],"styles":[8],"detectDistance":[1,"detect-distance"],"imgLoaded":[32],"shouldLoad":[32]},null,{"src":["handleSrc"]}],[0,"active-confirm-modal",{"pid":[1538],"language":[1537],"isOpen":[1540,"is-open"]}],[0,"smart-loader"],[0,"ui-skeleton",{"structure":[1],"width":[1],"height":[1],"borderRadius":[8,"border-radius"],"marginBottom":[8,"margin-bottom"],"marginTop":[8,"margin-top"],"marginLeft":[8,"margin-left"],"marginRight":[8,"margin-right"],"animation":[4],"rows":[2],"size":[1]},null,{"structure":["handleStructureChange"]}]]]], options);
9
9
  };
10
10
 
11
11
  export { defineCustomElements };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/bonus-powerups-ingame-entrance",
3
- "version": "0.0.39",
3
+ "version": "0.0.41",
4
4
  "main": "./dist/index.cjs.js",
5
5
  "module": "./dist/index.js",
6
6
  "es2015": "./dist/esm/index.mjs",