@everymatrix/player-account-timeout 1.90.34 → 1.90.36

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,4 +1,4 @@
1
- import { B as K, $ as Q, S as V, a as X, s as Y, f as h, b as Z, l as $, d as S, C as ee, t as te, e as ne, u as oe, p as ae, q as re, D as E, j as L, r as d, E as j, v as _, F as B, G as T, w as i, H as ie, I as le, o as se, x as ce, J as me, K as W, y as fe, z as de, A as ue, c as be, L as ge } from "./PlayerAccountTimeout-DtiwUhRU.js";
1
+ import { B as K, $ as Q, S as V, a as X, s as Y, f as h, b as Z, l as $, d as S, C as ee, t as te, e as ne, u as oe, p as ae, q as re, D as E, j as L, r as d, E as j, v as _, F as B, G as T, w as i, H as ie, I as le, o as se, x as ce, J as me, K as W, y as fe, z as de, A as ue, c as be, L as ge } from "./PlayerAccountTimeout-CMRBHSud.js";
2
2
  function H(n, e) {
3
3
  K(n, e);
4
4
  }
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PlayerAccountTimeout-KILiYB_3.cjs");function A(o,t){e.addMessages(o,t)}function N(o){e.$locale.set(o)}const z={en:{cancel:"Cancel",confirm:"Confirm"},fr:{cancel:"Annuler",confirm:"Confirmer"},ro:{cancel:"Anulează",confirm:"Confirmă"},es:{cancel:"Cancelar",confirm:"Confirmar"},pt:{cancel:"Cancelar",confirm:"Confirmar"},"zh-hk":{cancel:"取消",confirm:"確認"},hr:{cancel:"Otkaži",confirm:"Potvrdi"},"pt-br":{cancel:"Cancelar",confirm:"confirme"},"es-mx":{cancel:"Cancelar",confirm:"Confirmar"},tr:{cancel:"İptal etmek",confirm:"Onaylamak"},"en-us":{cancel:"Cancel",confirm:"Confirm"}};function q(o){e.append_styles(o,"svelte-8g0wf4",'*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GeneralConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--emw--color-background, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #ffffff)}.GeneralConfirmationTitle{margin-bottom:20px}.GeneralConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013e5c));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 10px);text-align:center}.GeneralConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22b04e), color-mix(in srgb, var(--emw--color-secondary, #e98b0f) 80%, black 20%), #22b04e);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GeneralConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013e5c) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 10px)}.GeneralConfirmationContainerMobile{padding:40px;max-width:330px}.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralCancelButton,.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GeneralConfirmationContent{font-size:var(--emw--font-size-medium, 18px);font-weight:300}.GeneralConfirmationControlArea{display:flex;gap:10px;direction:ltr;margin-top:30px}.GeneralConfirmationControlArea .GeneralCancelButton,.GeneralConfirmationControlArea .GeneralConfirmButton{flex:1;background:transparent;border:1px solid var(--emw--color-gray-100, #bfcbc3);color:var(--emw--color-gray-100, #bfcbc3);cursor:pointer;border-radius:var(--emw--button-border-radius, 50px);width:200px;height:50px;font-size:var(--emw--font-size-small, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GeneralConfirmationControlArea .GeneralConfirmButton{background-color:var(--emw--color-primary, #22b04e);border:2px solid var(--emw--button-border-color, #063b17);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #ffffff))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GeneralConfirmationMobileWrapper{border:none;padding:0}')}const H=o=>({}),B=o=>({});function R(o){let t,n;return{c(){t=e.svg_element("svg"),n=e.svg_element("path"),e.attr(n,"stroke-linecap","round"),e.attr(n,"stroke-linejoin","round"),e.attr(n,"stroke-width","2"),e.attr(n,"d","M6 18L18 6M6 6l12 12"),e.attr(t,"class","w-6 h-6"),e.attr(t,"fill","none"),e.attr(t,"stroke","currentColor"),e.attr(t,"viewBox","0 0 24 24"),e.attr(t,"xmlns","http://www.w3.org/2000/svg")},m(a,i){e.insert(a,t,i),e.append(t,n)},p:e.noop,d(a){a&&e.detach(t)}}}function S(o){let t,n,a;return{c(){t=e.element("div"),n=e.element("h2"),a=e.text(o[1]),e.attr(t,"class","GeneralConfirmationTitle")},m(i,f){e.insert(i,t,f),e.append(t,n),e.append(n,a)},p(i,f){f&2&&e.set_data(a,i[1])},d(i){i&&e.detach(t)}}}function T(o){let t,n=o[4]("cancel")+"",a,i,f;return{c(){t=e.element("button"),a=e.text(n),e.attr(t,"class","GeneralCancelButton")},m(d,C){e.insert(d,t,C),e.append(t,a),i||(f=e.listen(t,"click",o[18]),i=!0)},p(d,C){C&16&&n!==(n=d[4]("cancel")+"")&&e.set_data(a,n)},d(d){d&&e.detach(t),i=!1,f()}}}function U(o){let t,n,a,i,f,d,C,g,v,h,x=o[4]("confirm")+"",_,u,y,k;const w=o[17].close,c=e.create_slot(w,o,o[16],B),p=c||R();let s=o[1]&&S(o),m=o[2]&&T(o);return{c(){t=e.element("div"),n=e.element("div"),a=e.element("span"),p&&p.c(),i=e.space(),s&&s.c(),f=e.space(),d=e.element("div"),C=e.space(),g=e.element("div"),m&&m.c(),v=e.space(),h=e.element("button"),_=e.text(x),e.attr(a,"class","ModalCloseBtn"),e.attr(a,"role","button"),e.attr(d,"class","GeneralConfirmationContent"),e.attr(h,"class","GeneralConfirmButton"),e.attr(g,"class","GeneralConfirmationControlArea "+(o[5]?"GeneralConfirmationControlAreaMobile":"")),e.attr(n,"class","GeneralConfirmationContainer "+(o[5]?"GeneralConfirmationContainerMobile":"")),e.attr(t,"class","GeneralConfirmationWrapper "+(o[5]?"GeneralConfirmationMobileWrapper":""))},m(l,b){e.insert(l,t,b),e.append(t,n),e.append(n,a),p&&p.m(a,null),e.append(n,i),s&&s.m(n,null),e.append(n,f),e.append(n,d),d.innerHTML=o[0],e.append(n,C),e.append(n,g),m&&m.m(g,null),e.append(g,v),e.append(g,h),e.append(h,_),o[20](t),u=!0,y||(k=[e.listen(a,"click",o[6]),e.listen(h,"click",o[19])],y=!0)},p(l,[b]){c&&c.p&&(!u||b&65536)&&e.update_slot_base(c,w,l,l[16],u?e.get_slot_changes(w,l[16],b,H):e.get_all_dirty_from_scope(l[16]),B),l[1]?s?s.p(l,b):(s=S(l),s.c(),s.m(n,f)):s&&(s.d(1),s=null),(!u||b&1)&&(d.innerHTML=l[0]),l[2]?m?m.p(l,b):(m=T(l),m.c(),m.m(g,v)):m&&(m.d(1),m=null),(!u||b&16)&&x!==(x=l[4]("confirm")+"")&&e.set_data(_,x)},i(l){u||(e.transition_in(p,l),u=!0)},o(l){e.transition_out(p,l),u=!1},d(l){l&&e.detach(t),p&&p.d(l),s&&s.d(),m&&m.d(),o[20](null),y=!1,e.run_all(k)}}}function D(o,t,n){let a;e.component_subscribe(o,e.$format,r=>n(4,a=r));let{$$slots:i={},$$scope:f}=t,{modaltext:d="Are you sure that you want to perform this action?"}=t,{modaltitle:C=""}=t,{hascancelbutton:g=!1}=t,{modalconfirmevent:v=""}=t,{modalcancelevent:h=""}=t,{modalconfirmdata:x={}}=t,{lang:_="en"}=t,{clientstyling:u=""}=t,{clientstylingurl:y=""}=t,{translationurl:k=""}=t,{mbsource:w}=t,c,p,s=window.navigator.userAgent,m=e.getDevice(s)!=="PC";const l=()=>{window.postMessage({type:"ModalClosed"},window.location.href)},b=r=>{r==="confirm"&&v&&c.dispatchEvent(new CustomEvent(v,{detail:x,bubbles:!0,composed:!0})),r==="cancel"&&h&&c.dispatchEvent(new CustomEvent(h,{bubbles:!0,composed:!0})),l()},L=()=>{fetch(k).then(G=>G.json()).then(G=>{Object.keys(G).forEach(M=>{A(M,G[M])})}).catch(G=>{console.log(G)})};Object.keys(z).forEach(r=>{A(r,z[r])});const E=()=>{N(_)};e.onMount(()=>()=>{});const O=()=>b("cancel"),P=()=>b("confirm");function W(r){e.binding_callbacks[r?"unshift":"push"](()=>{c=r,n(3,c)})}return o.$$set=r=>{"modaltext"in r&&n(0,d=r.modaltext),"modaltitle"in r&&n(1,C=r.modaltitle),"hascancelbutton"in r&&n(2,g=r.hascancelbutton),"modalconfirmevent"in r&&n(8,v=r.modalconfirmevent),"modalcancelevent"in r&&n(9,h=r.modalcancelevent),"modalconfirmdata"in r&&n(10,x=r.modalconfirmdata),"lang"in r&&n(11,_=r.lang),"clientstyling"in r&&n(12,u=r.clientstyling),"clientstylingurl"in r&&n(13,y=r.clientstylingurl),"translationurl"in r&&n(14,k=r.translationurl),"mbsource"in r&&n(15,w=r.mbsource),"$$scope"in r&&n(16,f=r.$$scope)},o.$$.update=()=>{o.$$.dirty&2049&&d&&_&&E(),o.$$.dirty&4104&&u&&c&&e.setClientStyling(c,u),o.$$.dirty&8200&&y&&c&&e.setClientStylingURL(c,y),o.$$.dirty&32776&&w&&c&&e.setStreamStyling(c,`${w}.Style`,p),o.$$.dirty&16384&&k&&L()},[d,C,g,c,a,m,l,b,v,h,x,_,u,y,k,w,f,i,O,P,W]}class j extends e.SvelteComponent{constructor(t){super(),e.init(this,t,D,U,e.safe_not_equal,{modaltext:0,modaltitle:1,hascancelbutton:2,modalconfirmevent:8,modalcancelevent:9,modalconfirmdata:10,lang:11,clientstyling:12,clientstylingurl:13,translationurl:14,mbsource:15},q)}get modaltext(){return this.$$.ctx[0]}set modaltext(t){this.$$set({modaltext:t}),e.flush()}get modaltitle(){return this.$$.ctx[1]}set modaltitle(t){this.$$set({modaltitle:t}),e.flush()}get hascancelbutton(){return this.$$.ctx[2]}set hascancelbutton(t){this.$$set({hascancelbutton:t}),e.flush()}get modalconfirmevent(){return this.$$.ctx[8]}set modalconfirmevent(t){this.$$set({modalconfirmevent:t}),e.flush()}get modalcancelevent(){return this.$$.ctx[9]}set modalcancelevent(t){this.$$set({modalcancelevent:t}),e.flush()}get modalconfirmdata(){return this.$$.ctx[10]}set modalconfirmdata(t){this.$$set({modalconfirmdata:t}),e.flush()}get lang(){return this.$$.ctx[11]}set lang(t){this.$$set({lang:t}),e.flush()}get clientstyling(){return this.$$.ctx[12]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[13]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[14]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get mbsource(){return this.$$.ctx[15]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(j,{modaltext:{},modaltitle:{},hascancelbutton:{type:"Boolean"},modalconfirmevent:{},modalcancelevent:{},modalconfirmdata:{},lang:{},clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{}},["close"],[],!0);exports.default=j;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PlayerAccountTimeout-CDiSofKq.cjs");function A(o,t){e.addMessages(o,t)}function N(o){e.$locale.set(o)}const z={en:{cancel:"Cancel",confirm:"Confirm"},fr:{cancel:"Annuler",confirm:"Confirmer"},ro:{cancel:"Anulează",confirm:"Confirmă"},es:{cancel:"Cancelar",confirm:"Confirmar"},pt:{cancel:"Cancelar",confirm:"Confirmar"},"zh-hk":{cancel:"取消",confirm:"確認"},hr:{cancel:"Otkaži",confirm:"Potvrdi"},"pt-br":{cancel:"Cancelar",confirm:"confirme"},"es-mx":{cancel:"Cancelar",confirm:"Confirmar"},tr:{cancel:"İptal etmek",confirm:"Onaylamak"},"en-us":{cancel:"Cancel",confirm:"Confirm"}};function q(o){e.append_styles(o,"svelte-8g0wf4",'*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GeneralConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--emw--color-background, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #ffffff)}.GeneralConfirmationTitle{margin-bottom:20px}.GeneralConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013e5c));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 10px);text-align:center}.GeneralConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22b04e), color-mix(in srgb, var(--emw--color-secondary, #e98b0f) 80%, black 20%), #22b04e);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GeneralConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013e5c) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 10px)}.GeneralConfirmationContainerMobile{padding:40px;max-width:330px}.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralCancelButton,.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GeneralConfirmationContent{font-size:var(--emw--font-size-medium, 18px);font-weight:300}.GeneralConfirmationControlArea{display:flex;gap:10px;direction:ltr;margin-top:30px}.GeneralConfirmationControlArea .GeneralCancelButton,.GeneralConfirmationControlArea .GeneralConfirmButton{flex:1;background:transparent;border:1px solid var(--emw--color-gray-100, #bfcbc3);color:var(--emw--color-gray-100, #bfcbc3);cursor:pointer;border-radius:var(--emw--button-border-radius, 50px);width:200px;height:50px;font-size:var(--emw--font-size-small, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GeneralConfirmationControlArea .GeneralConfirmButton{background-color:var(--emw--color-primary, #22b04e);border:2px solid var(--emw--button-border-color, #063b17);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #ffffff))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GeneralConfirmationMobileWrapper{border:none;padding:0}')}const H=o=>({}),B=o=>({});function R(o){let t,n;return{c(){t=e.svg_element("svg"),n=e.svg_element("path"),e.attr(n,"stroke-linecap","round"),e.attr(n,"stroke-linejoin","round"),e.attr(n,"stroke-width","2"),e.attr(n,"d","M6 18L18 6M6 6l12 12"),e.attr(t,"class","w-6 h-6"),e.attr(t,"fill","none"),e.attr(t,"stroke","currentColor"),e.attr(t,"viewBox","0 0 24 24"),e.attr(t,"xmlns","http://www.w3.org/2000/svg")},m(a,i){e.insert(a,t,i),e.append(t,n)},p:e.noop,d(a){a&&e.detach(t)}}}function S(o){let t,n,a;return{c(){t=e.element("div"),n=e.element("h2"),a=e.text(o[1]),e.attr(t,"class","GeneralConfirmationTitle")},m(i,f){e.insert(i,t,f),e.append(t,n),e.append(n,a)},p(i,f){f&2&&e.set_data(a,i[1])},d(i){i&&e.detach(t)}}}function T(o){let t,n=o[4]("cancel")+"",a,i,f;return{c(){t=e.element("button"),a=e.text(n),e.attr(t,"class","GeneralCancelButton")},m(d,C){e.insert(d,t,C),e.append(t,a),i||(f=e.listen(t,"click",o[18]),i=!0)},p(d,C){C&16&&n!==(n=d[4]("cancel")+"")&&e.set_data(a,n)},d(d){d&&e.detach(t),i=!1,f()}}}function U(o){let t,n,a,i,f,d,C,g,v,h,x=o[4]("confirm")+"",_,u,y,k;const w=o[17].close,c=e.create_slot(w,o,o[16],B),p=c||R();let s=o[1]&&S(o),m=o[2]&&T(o);return{c(){t=e.element("div"),n=e.element("div"),a=e.element("span"),p&&p.c(),i=e.space(),s&&s.c(),f=e.space(),d=e.element("div"),C=e.space(),g=e.element("div"),m&&m.c(),v=e.space(),h=e.element("button"),_=e.text(x),e.attr(a,"class","ModalCloseBtn"),e.attr(a,"role","button"),e.attr(d,"class","GeneralConfirmationContent"),e.attr(h,"class","GeneralConfirmButton"),e.attr(g,"class","GeneralConfirmationControlArea "+(o[5]?"GeneralConfirmationControlAreaMobile":"")),e.attr(n,"class","GeneralConfirmationContainer "+(o[5]?"GeneralConfirmationContainerMobile":"")),e.attr(t,"class","GeneralConfirmationWrapper "+(o[5]?"GeneralConfirmationMobileWrapper":""))},m(l,b){e.insert(l,t,b),e.append(t,n),e.append(n,a),p&&p.m(a,null),e.append(n,i),s&&s.m(n,null),e.append(n,f),e.append(n,d),d.innerHTML=o[0],e.append(n,C),e.append(n,g),m&&m.m(g,null),e.append(g,v),e.append(g,h),e.append(h,_),o[20](t),u=!0,y||(k=[e.listen(a,"click",o[6]),e.listen(h,"click",o[19])],y=!0)},p(l,[b]){c&&c.p&&(!u||b&65536)&&e.update_slot_base(c,w,l,l[16],u?e.get_slot_changes(w,l[16],b,H):e.get_all_dirty_from_scope(l[16]),B),l[1]?s?s.p(l,b):(s=S(l),s.c(),s.m(n,f)):s&&(s.d(1),s=null),(!u||b&1)&&(d.innerHTML=l[0]),l[2]?m?m.p(l,b):(m=T(l),m.c(),m.m(g,v)):m&&(m.d(1),m=null),(!u||b&16)&&x!==(x=l[4]("confirm")+"")&&e.set_data(_,x)},i(l){u||(e.transition_in(p,l),u=!0)},o(l){e.transition_out(p,l),u=!1},d(l){l&&e.detach(t),p&&p.d(l),s&&s.d(),m&&m.d(),o[20](null),y=!1,e.run_all(k)}}}function D(o,t,n){let a;e.component_subscribe(o,e.$format,r=>n(4,a=r));let{$$slots:i={},$$scope:f}=t,{modaltext:d="Are you sure that you want to perform this action?"}=t,{modaltitle:C=""}=t,{hascancelbutton:g=!1}=t,{modalconfirmevent:v=""}=t,{modalcancelevent:h=""}=t,{modalconfirmdata:x={}}=t,{lang:_="en"}=t,{clientstyling:u=""}=t,{clientstylingurl:y=""}=t,{translationurl:k=""}=t,{mbsource:w}=t,c,p,s=window.navigator.userAgent,m=e.getDevice(s)!=="PC";const l=()=>{window.postMessage({type:"ModalClosed"},window.location.href)},b=r=>{r==="confirm"&&v&&c.dispatchEvent(new CustomEvent(v,{detail:x,bubbles:!0,composed:!0})),r==="cancel"&&h&&c.dispatchEvent(new CustomEvent(h,{bubbles:!0,composed:!0})),l()},L=()=>{fetch(k).then(G=>G.json()).then(G=>{Object.keys(G).forEach(M=>{A(M,G[M])})}).catch(G=>{console.log(G)})};Object.keys(z).forEach(r=>{A(r,z[r])});const E=()=>{N(_)};e.onMount(()=>()=>{});const O=()=>b("cancel"),P=()=>b("confirm");function W(r){e.binding_callbacks[r?"unshift":"push"](()=>{c=r,n(3,c)})}return o.$$set=r=>{"modaltext"in r&&n(0,d=r.modaltext),"modaltitle"in r&&n(1,C=r.modaltitle),"hascancelbutton"in r&&n(2,g=r.hascancelbutton),"modalconfirmevent"in r&&n(8,v=r.modalconfirmevent),"modalcancelevent"in r&&n(9,h=r.modalcancelevent),"modalconfirmdata"in r&&n(10,x=r.modalconfirmdata),"lang"in r&&n(11,_=r.lang),"clientstyling"in r&&n(12,u=r.clientstyling),"clientstylingurl"in r&&n(13,y=r.clientstylingurl),"translationurl"in r&&n(14,k=r.translationurl),"mbsource"in r&&n(15,w=r.mbsource),"$$scope"in r&&n(16,f=r.$$scope)},o.$$.update=()=>{o.$$.dirty&2049&&d&&_&&E(),o.$$.dirty&4104&&u&&c&&e.setClientStyling(c,u),o.$$.dirty&8200&&y&&c&&e.setClientStylingURL(c,y),o.$$.dirty&32776&&w&&c&&e.setStreamStyling(c,`${w}.Style`,p),o.$$.dirty&16384&&k&&L()},[d,C,g,c,a,m,l,b,v,h,x,_,u,y,k,w,f,i,O,P,W]}class j extends e.SvelteComponent{constructor(t){super(),e.init(this,t,D,U,e.safe_not_equal,{modaltext:0,modaltitle:1,hascancelbutton:2,modalconfirmevent:8,modalcancelevent:9,modalconfirmdata:10,lang:11,clientstyling:12,clientstylingurl:13,translationurl:14,mbsource:15},q)}get modaltext(){return this.$$.ctx[0]}set modaltext(t){this.$$set({modaltext:t}),e.flush()}get modaltitle(){return this.$$.ctx[1]}set modaltitle(t){this.$$set({modaltitle:t}),e.flush()}get hascancelbutton(){return this.$$.ctx[2]}set hascancelbutton(t){this.$$set({hascancelbutton:t}),e.flush()}get modalconfirmevent(){return this.$$.ctx[8]}set modalconfirmevent(t){this.$$set({modalconfirmevent:t}),e.flush()}get modalcancelevent(){return this.$$.ctx[9]}set modalcancelevent(t){this.$$set({modalcancelevent:t}),e.flush()}get modalconfirmdata(){return this.$$.ctx[10]}set modalconfirmdata(t){this.$$set({modalconfirmdata:t}),e.flush()}get lang(){return this.$$.ctx[11]}set lang(t){this.$$set({lang:t}),e.flush()}get clientstyling(){return this.$$.ctx[12]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[13]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[14]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get mbsource(){return this.$$.ctx[15]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(j,{modaltext:{},modaltitle:{},hascancelbutton:{type:"Boolean"},modalconfirmevent:{},modalcancelevent:{},modalconfirmdata:{},lang:{},clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{}},["close"],[],!0);exports.default=j;
@@ -1,4 +1,4 @@
1
- import { B as K, $ as Q, S as V, a as X, s as Y, f as h, b as Z, j as $, d as S, C as ee, t as te, c as ne, u as oe, m as ae, n as re, D as E, g as L, p as d, E as j, q as _, F as B, G as T, r as i, H as ie, I as le, o as se, v as ce, J as me, K as W, x as fe, y as de, z as ue, A as be, L as ge } from "./PlayerAccountTimeout-ClTPFZpA.js";
1
+ import { B as K, $ as Q, S as V, a as X, s as Y, f as h, b as Z, j as $, d as S, C as ee, t as te, c as ne, u as oe, m as ae, n as re, D as E, g as L, p as d, E as j, q as _, F as B, G as T, r as i, H as ie, I as le, o as se, v as ce, J as me, K as W, x as fe, y as de, z as ue, A as be, L as ge } from "./PlayerAccountTimeout-B020jhYW.js";
2
2
  function H(n, e) {
3
3
  K(n, e);
4
4
  }
@@ -1,4 +1,4 @@
1
- import { i as q, S as A, a as W, f, s as B, c as H, b as N, d as L, t as w, e as m, g as P, h as R, j as z, k as U, o as p, l as F, m as S, n as G, u as I, p as J, q as K, r as v, v as _, w as y, x as k, y as O, z as Q, A as T } from "./PlayerAccountTimeout-DtiwUhRU.js";
1
+ import { i as q, S as A, a as W, f, s as B, c as H, b as N, d as L, t as w, e as m, g as P, h as R, j as z, k as U, o as p, l as F, m as S, n as G, u as I, p as J, q as K, r as v, v as _, w as y, x as k, y as O, z as Q, A as T } from "./PlayerAccountTimeout-CMRBHSud.js";
2
2
  function M(e, { delay: t = 0, duration: n = 400, easing: i = q } = {}) {
3
3
  const s = +getComputedStyle(e).opacity;
4
4
  return {
@@ -1,4 +1,4 @@
1
- import { i as q, S as A, a as W, s as B, f, b as H, d as L, t as w, c as m, e as N, g as z, h as P, o as R, j as U, k as S, l as p, u as F, m as G, n as I, p as v, q as _, r as y, v as k, w as J, x as K, y as O, z as Q, A as T } from "./PlayerAccountTimeout-ClTPFZpA.js";
1
+ import { i as q, S as A, a as W, s as B, f, b as H, d as L, t as w, c as m, e as N, g as z, h as P, o as R, j as U, k as S, l as p, u as F, m as G, n as I, p as v, q as _, r as y, v as k, w as J, x as K, y as O, z as Q, A as T } from "./PlayerAccountTimeout-B020jhYW.js";
2
2
  function M(e, { delay: t = 0, duration: n = 400, easing: i = q } = {}) {
3
3
  const s = +getComputedStyle(e).opacity;
4
4
  return {
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./PlayerAccountTimeout-KILiYB_3.cjs");function g(n,{delay:e=0,duration:i=400,easing:l=t.identity}={}){const s=+getComputedStyle(n).opacity;return{delay:e,duration:i,easing:l,css:r=>`opacity: ${r*s}`}}function M(n){t.append_styles(n,"svelte-126fglp","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0}")}function y(n){let e,i,l,s,r;const f=n[9].default,a=t.create_slot(f,n,n[8],null);return{c(){e=t.element("div"),i=t.element("div"),l=t.element("div"),a&&a.c(),t.attr(l,"class","ModalContainer"),t.attr(i,"class","ModalWindow"),t.attr(i,"id","Modal")},m(u,c){t.insert(u,e,c),t.append(e,i),t.append(i,l),a&&a.m(l,null),n[10](i),n[11](e),r=!0},p(u,c){n=u,a&&a.p&&(!r||c&256)&&t.update_slot_base(a,f,n,n[8],r?t.get_slot_changes(f,n[8],c,null):t.get_all_dirty_from_scope(n[8]),null)},i(u){r||(t.transition_in(a,u),u&&t.add_render_callback(()=>{r&&(s||(s=t.create_bidirectional_transition(i,g,{transitionDuration:n[1]},!0)),s.run(1))}),r=!0)},o(u){t.transition_out(a,u),u&&(s||(s=t.create_bidirectional_transition(i,g,{transitionDuration:n[1]},!1)),s.run(0)),r=!1},d(u){u&&t.detach(e),a&&a.d(u),n[10](null),u&&s&&s.end(),n[11](null)}}}function k(n){let e,i,l=n[0]&&y(n);return{c(){l&&l.c(),e=t.empty()},m(s,r){l&&l.m(s,r),t.insert(s,e,r),i=!0},p(s,[r]){s[0]?l?(l.p(s,r),r&1&&t.transition_in(l,1)):(l=y(s),l.c(),t.transition_in(l,1),l.m(e.parentNode,e)):l&&(t.group_outros(),t.transition_out(l,1,1,()=>{l=null}),t.check_outros())},i(s){i||(t.transition_in(l),i=!0)},o(s){t.transition_out(l),i=!1},d(s){s&&t.detach(e),l&&l.d(s)}}}function C(n,e,i){let{$$slots:l={},$$scope:s}=e,{show:r=!1}=e,{duration:f=350}=e,{clientstyling:a=""}=e,{clientstylingurl:u=""}=e,{mbsource:c}=e,{showmodaleventname:m="ShowLimitsConfirmationModal"}=e,d,w,_;const h=o=>{switch(o.data.type){case"ModalClosed":i(0,r=!1);break;case m:i(0,r=!0),window.postMessage({type:"DisableScroll"},window.location.href);break}};t.onMount(()=>(window.addEventListener("message",h,!1),()=>{window.removeEventListener("message",h)}));function S(o){t.binding_callbacks[o?"unshift":"push"](()=>{_=o,i(3,_)})}function v(o){t.binding_callbacks[o?"unshift":"push"](()=>{d=o,i(2,d)})}return n.$$set=o=>{"show"in o&&i(0,r=o.show),"duration"in o&&i(1,f=o.duration),"clientstyling"in o&&i(4,a=o.clientstyling),"clientstylingurl"in o&&i(5,u=o.clientstylingurl),"mbsource"in o&&i(6,c=o.mbsource),"showmodaleventname"in o&&i(7,m=o.showmodaleventname),"$$scope"in o&&i(8,s=o.$$scope)},n.$$.update=()=>{n.$$.dirty&20&&a&&d&&t.setClientStyling(d,a),n.$$.dirty&36&&u&&d&&t.setClientStylingURL(d,u),n.$$.dirty&68&&c&&d&&t.setStreamStyling(d,`${c}.Style`,w)},[r,f,d,_,a,u,c,m,s,l,S,v]}class b extends t.SvelteComponent{constructor(e){super(),t.init(this,e,C,k,t.safe_not_equal,{show:0,duration:1,clientstyling:4,clientstylingurl:5,mbsource:6,showmodaleventname:7},M)}get show(){return this.$$.ctx[0]}set show(e){this.$$set({show:e}),t.flush()}get duration(){return this.$$.ctx[1]}set duration(e){this.$$set({duration:e}),t.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get showmodaleventname(){return this.$$.ctx[7]}set showmodaleventname(e){this.$$set({showmodaleventname:e}),t.flush()}}t.create_custom_element(b,{show:{type:"Boolean"},duration:{},clientstyling:{},clientstylingurl:{},mbsource:{},showmodaleventname:{}},["default"],[],!0);exports.default=b;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./PlayerAccountTimeout-CDiSofKq.cjs");function g(n,{delay:e=0,duration:i=400,easing:l=t.identity}={}){const s=+getComputedStyle(n).opacity;return{delay:e,duration:i,easing:l,css:r=>`opacity: ${r*s}`}}function M(n){t.append_styles(n,"svelte-126fglp","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0}")}function y(n){let e,i,l,s,r;const f=n[9].default,a=t.create_slot(f,n,n[8],null);return{c(){e=t.element("div"),i=t.element("div"),l=t.element("div"),a&&a.c(),t.attr(l,"class","ModalContainer"),t.attr(i,"class","ModalWindow"),t.attr(i,"id","Modal")},m(u,c){t.insert(u,e,c),t.append(e,i),t.append(i,l),a&&a.m(l,null),n[10](i),n[11](e),r=!0},p(u,c){n=u,a&&a.p&&(!r||c&256)&&t.update_slot_base(a,f,n,n[8],r?t.get_slot_changes(f,n[8],c,null):t.get_all_dirty_from_scope(n[8]),null)},i(u){r||(t.transition_in(a,u),u&&t.add_render_callback(()=>{r&&(s||(s=t.create_bidirectional_transition(i,g,{transitionDuration:n[1]},!0)),s.run(1))}),r=!0)},o(u){t.transition_out(a,u),u&&(s||(s=t.create_bidirectional_transition(i,g,{transitionDuration:n[1]},!1)),s.run(0)),r=!1},d(u){u&&t.detach(e),a&&a.d(u),n[10](null),u&&s&&s.end(),n[11](null)}}}function k(n){let e,i,l=n[0]&&y(n);return{c(){l&&l.c(),e=t.empty()},m(s,r){l&&l.m(s,r),t.insert(s,e,r),i=!0},p(s,[r]){s[0]?l?(l.p(s,r),r&1&&t.transition_in(l,1)):(l=y(s),l.c(),t.transition_in(l,1),l.m(e.parentNode,e)):l&&(t.group_outros(),t.transition_out(l,1,1,()=>{l=null}),t.check_outros())},i(s){i||(t.transition_in(l),i=!0)},o(s){t.transition_out(l),i=!1},d(s){s&&t.detach(e),l&&l.d(s)}}}function C(n,e,i){let{$$slots:l={},$$scope:s}=e,{show:r=!1}=e,{duration:f=350}=e,{clientstyling:a=""}=e,{clientstylingurl:u=""}=e,{mbsource:c}=e,{showmodaleventname:m="ShowLimitsConfirmationModal"}=e,d,w,_;const h=o=>{switch(o.data.type){case"ModalClosed":i(0,r=!1);break;case m:i(0,r=!0),window.postMessage({type:"DisableScroll"},window.location.href);break}};t.onMount(()=>(window.addEventListener("message",h,!1),()=>{window.removeEventListener("message",h)}));function S(o){t.binding_callbacks[o?"unshift":"push"](()=>{_=o,i(3,_)})}function v(o){t.binding_callbacks[o?"unshift":"push"](()=>{d=o,i(2,d)})}return n.$$set=o=>{"show"in o&&i(0,r=o.show),"duration"in o&&i(1,f=o.duration),"clientstyling"in o&&i(4,a=o.clientstyling),"clientstylingurl"in o&&i(5,u=o.clientstylingurl),"mbsource"in o&&i(6,c=o.mbsource),"showmodaleventname"in o&&i(7,m=o.showmodaleventname),"$$scope"in o&&i(8,s=o.$$scope)},n.$$.update=()=>{n.$$.dirty&20&&a&&d&&t.setClientStyling(d,a),n.$$.dirty&36&&u&&d&&t.setClientStylingURL(d,u),n.$$.dirty&68&&c&&d&&t.setStreamStyling(d,`${c}.Style`,w)},[r,f,d,_,a,u,c,m,s,l,S,v]}class b extends t.SvelteComponent{constructor(e){super(),t.init(this,e,C,k,t.safe_not_equal,{show:0,duration:1,clientstyling:4,clientstylingurl:5,mbsource:6,showmodaleventname:7},M)}get show(){return this.$$.ctx[0]}set show(e){this.$$set({show:e}),t.flush()}get duration(){return this.$$.ctx[1]}set duration(e){this.$$set({duration:e}),t.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get showmodaleventname(){return this.$$.ctx[7]}set showmodaleventname(e){this.$$set({showmodaleventname:e}),t.flush()}}t.create_custom_element(b,{show:{type:"Boolean"},duration:{},clientstyling:{},clientstylingurl:{},mbsource:{},showmodaleventname:{}},["default"],[],!0);exports.default=b;
@@ -16128,7 +16128,7 @@ if (typeof window != "undefined") {
16128
16128
  }
16129
16129
  };
16130
16130
  };
16131
- customElements.define = e(customElements.define), import("./PlayerAccountModal-aZRanCAP.js").then(({ default: i }) => {
16131
+ customElements.define = e(customElements.define), import("./PlayerAccountModal-JpoIP1vx.js").then(({ default: i }) => {
16132
16132
  !customElements.get("player-account-modal") && customElements.define("player-account-modal", i.element);
16133
16133
  });
16134
16134
  }
@@ -16144,7 +16144,7 @@ if (typeof window != "undefined") {
16144
16144
  }
16145
16145
  };
16146
16146
  };
16147
- customElements.define = e(customElements.define), import("./PlayerAccountGeneralConfirmationModal-D6wgDqi8.js").then(
16147
+ customElements.define = e(customElements.define), import("./PlayerAccountGeneralConfirmationModal-Dpb1Pf0V.js").then(
16148
16148
  ({ default: i }) => {
16149
16149
  !customElements.get("player-account-general-confirmation-modal") && customElements.define(
16150
16150
  "player-account-general-confirmation-modal",
@@ -21127,7 +21127,7 @@ function Qm(e, i, t) {
21127
21127
  }
21128
21128
  t(17, W = I ? r("confirmationModalTextUntilTimeout", { values: { date: re } }) : r("confirmationModalTextPeriodTimeout", { values: { period: r(O) } }));
21129
21129
  }, b = (v) => {
21130
- v.preventDefault(), N ? window.postMessage({ type: "ShowTimeoutConfirmationModal" }, window.location.href) : T();
21130
+ v.preventDefault(), N ? (_(), window.postMessage({ type: "ShowTimeoutConfirmationModal" }, window.location.href)) : T();
21131
21131
  }, g = (v) => {
21132
21132
  const { timeoutSelected: ae, timeoutExpiryDate: _e } = v.detail;
21133
21133
  t(11, O = ae), t(14, re = _e), T();
@@ -3555,7 +3555,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
3555
3555
  ></vaadin-date-picker-overlay>
3556
3556
 
3557
3557
  <slot name="tooltip"></slot>
3558
- `}get clearElement(){return this.$.clearButton}ready(){super.ready(),this.addController(new Bf(this,t=>{this._setInputElement(t),this._setFocusElement(t),this.stateTarget=t,this.ariaTarget=t},{uniqueIdPrefix:"search-input"})),this.addController(new Rf(this.inputElement,this._labelController)),this._tooltipController=new Ta(this),this.addController(this._tooltipController),this._tooltipController.setPosition("top"),this._tooltipController.setAriaTarget(this.inputElement),this._tooltipController.setShouldShow(t=>!t.opened),this.shadowRoot.querySelector('[part="toggle-button"]').addEventListener("mousedown",t=>t.preventDefault()),this.$.overlay.addEventListener("vaadin-overlay-close",this._onVaadinOverlayClose.bind(this))}_onVaadinOverlayClose(i){i.detail.sourceEvent&&i.detail.sourceEvent.composedPath().includes(this)&&i.preventDefault()}_toggle(i){i.stopPropagation(),this.$.overlay.opened?this.close():this.open()}_openedChanged(i){super._openedChanged(i),this.$.overlay.positionTarget=this.shadowRoot.querySelector('[part="input-field"]'),this.$.overlay.noVerticalOverlap=!0}}Ae(Xf);if(typeof window!="undefined"){let e=function(i){return function(...t){try{return i.apply(this,t)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountModal-Bdunpxra.cjs")).then(({default:i})=>{!customElements.get("player-account-modal")&&customElements.define("player-account-modal",i.element)})}if(typeof window!="undefined"){let e=function(i){return function(...t){try{return i.apply(this,t)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountGeneralConfirmationModal-BHFAhogr.cjs")).then(({default:i})=>{!customElements.get("player-account-general-confirmation-modal")&&customElements.define("player-account-general-confirmation-modal",i.element)})}var Kf=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function Wa(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ya={exports:{}};(function(e,i){(function(t,r){e.exports=r()})(Kf,function(){var t=1e3,r=6e4,o=36e5,n="millisecond",s="second",a="minute",l="hour",u="day",c="week",h="month",d="quarter",p="year",f="date",m="Invalid Date",E=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,D=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,k={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(C){var y=["th","st","nd","rd"],_=C%100;return"["+C+(y[(_-20)%10]||y[_]||y[0])+"]"}},M=function(C,y,_){var b=String(C);return!b||b.length>=y?C:""+Array(y+1-b.length).join(_)+C},O={s:M,z:function(C){var y=-C.utcOffset(),_=Math.abs(y),b=Math.floor(_/60),g=_%60;return(y<=0?"+":"-")+M(b,2,"0")+":"+M(g,2,"0")},m:function C(y,_){if(y.date()<_.date())return-C(_,y);var b=12*(_.year()-y.year())+(_.month()-y.month()),g=y.clone().add(b,h),T=_-g<0,A=y.clone().add(b+(T?-1:1),h);return+(-(b+(_-g)/(T?g-A:A-g))||0)},a:function(C){return C<0?Math.ceil(C)||0:Math.floor(C)},p:function(C){return{M:h,y:p,w:c,d:u,D:f,h:l,m:a,s,ms:n,Q:d}[C]||String(C||"").toLowerCase().replace(/s$/,"")},u:function(C){return C===void 0}},I="en",q={};q[I]=k;var re="$isDayjsObject",oe=function(C){return C instanceof he||!(!C||!C[re])},we=function C(y,_,b){var g;if(!y)return I;if(typeof y=="string"){var T=y.toLowerCase();q[T]&&(g=T),_&&(q[T]=_,g=T);var A=y.split("-");if(!g&&A.length>1)return C(A[0])}else{var j=y.name;q[j]=y,g=j}return!b&&g&&(I=g),g||!b&&I},W=function(C,y){if(oe(C))return C.clone();var _=typeof y=="object"?y:{};return _.date=C,_.args=arguments,new he(_)},N=O;N.l=we,N.i=oe,N.w=function(C,y){return W(C,{locale:y.$L,utc:y.$u,x:y.$x,$offset:y.$offset})};var he=function(){function C(_){this.$L=we(_.locale,null,!0),this.parse(_),this.$x=this.$x||_.x||{},this[re]=!0}var y=C.prototype;return y.parse=function(_){this.$d=function(b){var g=b.date,T=b.utc;if(g===null)return new Date(NaN);if(N.u(g))return new Date;if(g instanceof Date)return new Date(g);if(typeof g=="string"&&!/Z$/i.test(g)){var A=g.match(E);if(A){var j=A[2]-1||0,R=(A[7]||"0").substring(0,3);return T?new Date(Date.UTC(A[1],j,A[3]||1,A[4]||0,A[5]||0,A[6]||0,R)):new Date(A[1],j,A[3]||1,A[4]||0,A[5]||0,A[6]||0,R)}}return new Date(g)}(_),this.init()},y.init=function(){var _=this.$d;this.$y=_.getFullYear(),this.$M=_.getMonth(),this.$D=_.getDate(),this.$W=_.getDay(),this.$H=_.getHours(),this.$m=_.getMinutes(),this.$s=_.getSeconds(),this.$ms=_.getMilliseconds()},y.$utils=function(){return N},y.isValid=function(){return this.$d.toString()!==m},y.isSame=function(_,b){var g=W(_);return this.startOf(b)<=g&&g<=this.endOf(b)},y.isAfter=function(_,b){return W(_)<this.startOf(b)},y.isBefore=function(_,b){return this.endOf(b)<W(_)},y.$g=function(_,b,g){return N.u(_)?this[b]:this.set(g,_)},y.unix=function(){return Math.floor(this.valueOf()/1e3)},y.valueOf=function(){return this.$d.getTime()},y.startOf=function(_,b){var g=this,T=!!N.u(b)||b,A=N.p(_),j=function(pe,ie){var xe=N.w(g.$u?Date.UTC(g.$y,ie,pe):new Date(g.$y,ie,pe),g);return T?xe:xe.endOf(u)},R=function(pe,ie){return N.w(g.toDate()[pe].apply(g.toDate("s"),(T?[0,0,0,0]:[23,59,59,999]).slice(ie)),g)},V=this.$W,L=this.$M,G=this.$D,x="set"+(this.$u?"UTC":"");switch(A){case p:return T?j(1,0):j(31,11);case h:return T?j(1,L):j(0,L+1);case c:var F=this.$locale().weekStart||0,Y=(V<F?V+7:V)-F;return j(T?G-Y:G+(6-Y),L);case u:case f:return R(x+"Hours",0);case l:return R(x+"Minutes",1);case a:return R(x+"Seconds",2);case s:return R(x+"Milliseconds",3);default:return this.clone()}},y.endOf=function(_){return this.startOf(_,!1)},y.$set=function(_,b){var g,T=N.p(_),A="set"+(this.$u?"UTC":""),j=(g={},g[u]=A+"Date",g[f]=A+"Date",g[h]=A+"Month",g[p]=A+"FullYear",g[l]=A+"Hours",g[a]=A+"Minutes",g[s]=A+"Seconds",g[n]=A+"Milliseconds",g)[T],R=T===u?this.$D+(b-this.$W):b;if(T===h||T===p){var V=this.clone().set(f,1);V.$d[j](R),V.init(),this.$d=V.set(f,Math.min(this.$D,V.daysInMonth())).$d}else j&&this.$d[j](R);return this.init(),this},y.set=function(_,b){return this.clone().$set(_,b)},y.get=function(_){return this[N.p(_)]()},y.add=function(_,b){var g,T=this;_=Number(_);var A=N.p(b),j=function(L){var G=W(T);return N.w(G.date(G.date()+Math.round(L*_)),T)};if(A===h)return this.set(h,this.$M+_);if(A===p)return this.set(p,this.$y+_);if(A===u)return j(1);if(A===c)return j(7);var R=(g={},g[a]=r,g[l]=o,g[s]=t,g)[A]||1,V=this.$d.getTime()+_*R;return N.w(V,this)},y.subtract=function(_,b){return this.add(-1*_,b)},y.format=function(_){var b=this,g=this.$locale();if(!this.isValid())return g.invalidDate||m;var T=_||"YYYY-MM-DDTHH:mm:ssZ",A=N.z(this),j=this.$H,R=this.$m,V=this.$M,L=g.weekdays,G=g.months,x=g.meridiem,F=function(ie,xe,ze,Qe){return ie&&(ie[xe]||ie(b,T))||ze[xe].slice(0,Qe)},Y=function(ie){return N.s(j%12||12,ie,"0")},pe=x||function(ie,xe,ze){var Qe=ie<12?"AM":"PM";return ze?Qe.toLowerCase():Qe};return T.replace(D,function(ie,xe){return xe||function(ze){switch(ze){case"YY":return String(b.$y).slice(-2);case"YYYY":return N.s(b.$y,4,"0");case"M":return V+1;case"MM":return N.s(V+1,2,"0");case"MMM":return F(g.monthsShort,V,G,3);case"MMMM":return F(G,V);case"D":return b.$D;case"DD":return N.s(b.$D,2,"0");case"d":return String(b.$W);case"dd":return F(g.weekdaysMin,b.$W,L,2);case"ddd":return F(g.weekdaysShort,b.$W,L,3);case"dddd":return L[b.$W];case"H":return String(j);case"HH":return N.s(j,2,"0");case"h":return Y(1);case"hh":return Y(2);case"a":return pe(j,R,!0);case"A":return pe(j,R,!1);case"m":return String(R);case"mm":return N.s(R,2,"0");case"s":return String(b.$s);case"ss":return N.s(b.$s,2,"0");case"SSS":return N.s(b.$ms,3,"0");case"Z":return A}return null}(ie)||A.replace(":","")})},y.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},y.diff=function(_,b,g){var T,A=this,j=N.p(b),R=W(_),V=(R.utcOffset()-this.utcOffset())*r,L=this-R,G=function(){return N.m(A,R)};switch(j){case p:T=G()/12;break;case h:T=G();break;case d:T=G()/3;break;case c:T=(L-V)/6048e5;break;case u:T=(L-V)/864e5;break;case l:T=L/o;break;case a:T=L/r;break;case s:T=L/t;break;default:T=L}return g?T:N.a(T)},y.daysInMonth=function(){return this.endOf(h).$D},y.$locale=function(){return q[this.$L]},y.locale=function(_,b){if(!_)return this.$L;var g=this.clone(),T=we(_,b,!0);return T&&(g.$L=T),g},y.clone=function(){return N.w(this.$d,this)},y.toDate=function(){return new Date(this.valueOf())},y.toJSON=function(){return this.isValid()?this.toISOString():null},y.toISOString=function(){return this.$d.toISOString()},y.toString=function(){return this.$d.toUTCString()},C}(),ne=he.prototype;return W.prototype=ne,[["$ms",n],["$s",s],["$m",a],["$H",l],["$W",u],["$M",h],["$y",p],["$D",f]].forEach(function(C){ne[C[1]]=function(y){return this.$g(y,C[0],C[1])}}),W.extend=function(C,y){return C.$i||(C(y,he,W),C.$i=!0),W},W.locale=we,W.isDayjs=oe,W.unix=function(C){return W(1e3*C)},W.en=q[I],W.Ls=q,W.p={},W})})(Ya);var Jf=Ya.exports;const On=Wa(Jf);/*! *****************************************************************************
3558
+ `}get clearElement(){return this.$.clearButton}ready(){super.ready(),this.addController(new Bf(this,t=>{this._setInputElement(t),this._setFocusElement(t),this.stateTarget=t,this.ariaTarget=t},{uniqueIdPrefix:"search-input"})),this.addController(new Rf(this.inputElement,this._labelController)),this._tooltipController=new Ta(this),this.addController(this._tooltipController),this._tooltipController.setPosition("top"),this._tooltipController.setAriaTarget(this.inputElement),this._tooltipController.setShouldShow(t=>!t.opened),this.shadowRoot.querySelector('[part="toggle-button"]').addEventListener("mousedown",t=>t.preventDefault()),this.$.overlay.addEventListener("vaadin-overlay-close",this._onVaadinOverlayClose.bind(this))}_onVaadinOverlayClose(i){i.detail.sourceEvent&&i.detail.sourceEvent.composedPath().includes(this)&&i.preventDefault()}_toggle(i){i.stopPropagation(),this.$.overlay.opened?this.close():this.open()}_openedChanged(i){super._openedChanged(i),this.$.overlay.positionTarget=this.shadowRoot.querySelector('[part="input-field"]'),this.$.overlay.noVerticalOverlap=!0}}Ae(Xf);if(typeof window!="undefined"){let e=function(i){return function(...t){try{return i.apply(this,t)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountModal-uZMycbeW.cjs")).then(({default:i})=>{!customElements.get("player-account-modal")&&customElements.define("player-account-modal",i.element)})}if(typeof window!="undefined"){let e=function(i){return function(...t){try{return i.apply(this,t)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountGeneralConfirmationModal-DAiX-ei-.cjs")).then(({default:i})=>{!customElements.get("player-account-general-confirmation-modal")&&customElements.define("player-account-general-confirmation-modal",i.element)})}var Kf=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function Wa(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ya={exports:{}};(function(e,i){(function(t,r){e.exports=r()})(Kf,function(){var t=1e3,r=6e4,o=36e5,n="millisecond",s="second",a="minute",l="hour",u="day",c="week",h="month",d="quarter",p="year",f="date",m="Invalid Date",E=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,D=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,k={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(C){var y=["th","st","nd","rd"],_=C%100;return"["+C+(y[(_-20)%10]||y[_]||y[0])+"]"}},M=function(C,y,_){var b=String(C);return!b||b.length>=y?C:""+Array(y+1-b.length).join(_)+C},O={s:M,z:function(C){var y=-C.utcOffset(),_=Math.abs(y),b=Math.floor(_/60),g=_%60;return(y<=0?"+":"-")+M(b,2,"0")+":"+M(g,2,"0")},m:function C(y,_){if(y.date()<_.date())return-C(_,y);var b=12*(_.year()-y.year())+(_.month()-y.month()),g=y.clone().add(b,h),T=_-g<0,A=y.clone().add(b+(T?-1:1),h);return+(-(b+(_-g)/(T?g-A:A-g))||0)},a:function(C){return C<0?Math.ceil(C)||0:Math.floor(C)},p:function(C){return{M:h,y:p,w:c,d:u,D:f,h:l,m:a,s,ms:n,Q:d}[C]||String(C||"").toLowerCase().replace(/s$/,"")},u:function(C){return C===void 0}},I="en",q={};q[I]=k;var re="$isDayjsObject",oe=function(C){return C instanceof he||!(!C||!C[re])},we=function C(y,_,b){var g;if(!y)return I;if(typeof y=="string"){var T=y.toLowerCase();q[T]&&(g=T),_&&(q[T]=_,g=T);var A=y.split("-");if(!g&&A.length>1)return C(A[0])}else{var j=y.name;q[j]=y,g=j}return!b&&g&&(I=g),g||!b&&I},W=function(C,y){if(oe(C))return C.clone();var _=typeof y=="object"?y:{};return _.date=C,_.args=arguments,new he(_)},N=O;N.l=we,N.i=oe,N.w=function(C,y){return W(C,{locale:y.$L,utc:y.$u,x:y.$x,$offset:y.$offset})};var he=function(){function C(_){this.$L=we(_.locale,null,!0),this.parse(_),this.$x=this.$x||_.x||{},this[re]=!0}var y=C.prototype;return y.parse=function(_){this.$d=function(b){var g=b.date,T=b.utc;if(g===null)return new Date(NaN);if(N.u(g))return new Date;if(g instanceof Date)return new Date(g);if(typeof g=="string"&&!/Z$/i.test(g)){var A=g.match(E);if(A){var j=A[2]-1||0,R=(A[7]||"0").substring(0,3);return T?new Date(Date.UTC(A[1],j,A[3]||1,A[4]||0,A[5]||0,A[6]||0,R)):new Date(A[1],j,A[3]||1,A[4]||0,A[5]||0,A[6]||0,R)}}return new Date(g)}(_),this.init()},y.init=function(){var _=this.$d;this.$y=_.getFullYear(),this.$M=_.getMonth(),this.$D=_.getDate(),this.$W=_.getDay(),this.$H=_.getHours(),this.$m=_.getMinutes(),this.$s=_.getSeconds(),this.$ms=_.getMilliseconds()},y.$utils=function(){return N},y.isValid=function(){return this.$d.toString()!==m},y.isSame=function(_,b){var g=W(_);return this.startOf(b)<=g&&g<=this.endOf(b)},y.isAfter=function(_,b){return W(_)<this.startOf(b)},y.isBefore=function(_,b){return this.endOf(b)<W(_)},y.$g=function(_,b,g){return N.u(_)?this[b]:this.set(g,_)},y.unix=function(){return Math.floor(this.valueOf()/1e3)},y.valueOf=function(){return this.$d.getTime()},y.startOf=function(_,b){var g=this,T=!!N.u(b)||b,A=N.p(_),j=function(pe,ie){var xe=N.w(g.$u?Date.UTC(g.$y,ie,pe):new Date(g.$y,ie,pe),g);return T?xe:xe.endOf(u)},R=function(pe,ie){return N.w(g.toDate()[pe].apply(g.toDate("s"),(T?[0,0,0,0]:[23,59,59,999]).slice(ie)),g)},V=this.$W,L=this.$M,G=this.$D,x="set"+(this.$u?"UTC":"");switch(A){case p:return T?j(1,0):j(31,11);case h:return T?j(1,L):j(0,L+1);case c:var F=this.$locale().weekStart||0,Y=(V<F?V+7:V)-F;return j(T?G-Y:G+(6-Y),L);case u:case f:return R(x+"Hours",0);case l:return R(x+"Minutes",1);case a:return R(x+"Seconds",2);case s:return R(x+"Milliseconds",3);default:return this.clone()}},y.endOf=function(_){return this.startOf(_,!1)},y.$set=function(_,b){var g,T=N.p(_),A="set"+(this.$u?"UTC":""),j=(g={},g[u]=A+"Date",g[f]=A+"Date",g[h]=A+"Month",g[p]=A+"FullYear",g[l]=A+"Hours",g[a]=A+"Minutes",g[s]=A+"Seconds",g[n]=A+"Milliseconds",g)[T],R=T===u?this.$D+(b-this.$W):b;if(T===h||T===p){var V=this.clone().set(f,1);V.$d[j](R),V.init(),this.$d=V.set(f,Math.min(this.$D,V.daysInMonth())).$d}else j&&this.$d[j](R);return this.init(),this},y.set=function(_,b){return this.clone().$set(_,b)},y.get=function(_){return this[N.p(_)]()},y.add=function(_,b){var g,T=this;_=Number(_);var A=N.p(b),j=function(L){var G=W(T);return N.w(G.date(G.date()+Math.round(L*_)),T)};if(A===h)return this.set(h,this.$M+_);if(A===p)return this.set(p,this.$y+_);if(A===u)return j(1);if(A===c)return j(7);var R=(g={},g[a]=r,g[l]=o,g[s]=t,g)[A]||1,V=this.$d.getTime()+_*R;return N.w(V,this)},y.subtract=function(_,b){return this.add(-1*_,b)},y.format=function(_){var b=this,g=this.$locale();if(!this.isValid())return g.invalidDate||m;var T=_||"YYYY-MM-DDTHH:mm:ssZ",A=N.z(this),j=this.$H,R=this.$m,V=this.$M,L=g.weekdays,G=g.months,x=g.meridiem,F=function(ie,xe,ze,Qe){return ie&&(ie[xe]||ie(b,T))||ze[xe].slice(0,Qe)},Y=function(ie){return N.s(j%12||12,ie,"0")},pe=x||function(ie,xe,ze){var Qe=ie<12?"AM":"PM";return ze?Qe.toLowerCase():Qe};return T.replace(D,function(ie,xe){return xe||function(ze){switch(ze){case"YY":return String(b.$y).slice(-2);case"YYYY":return N.s(b.$y,4,"0");case"M":return V+1;case"MM":return N.s(V+1,2,"0");case"MMM":return F(g.monthsShort,V,G,3);case"MMMM":return F(G,V);case"D":return b.$D;case"DD":return N.s(b.$D,2,"0");case"d":return String(b.$W);case"dd":return F(g.weekdaysMin,b.$W,L,2);case"ddd":return F(g.weekdaysShort,b.$W,L,3);case"dddd":return L[b.$W];case"H":return String(j);case"HH":return N.s(j,2,"0");case"h":return Y(1);case"hh":return Y(2);case"a":return pe(j,R,!0);case"A":return pe(j,R,!1);case"m":return String(R);case"mm":return N.s(R,2,"0");case"s":return String(b.$s);case"ss":return N.s(b.$s,2,"0");case"SSS":return N.s(b.$ms,3,"0");case"Z":return A}return null}(ie)||A.replace(":","")})},y.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},y.diff=function(_,b,g){var T,A=this,j=N.p(b),R=W(_),V=(R.utcOffset()-this.utcOffset())*r,L=this-R,G=function(){return N.m(A,R)};switch(j){case p:T=G()/12;break;case h:T=G();break;case d:T=G()/3;break;case c:T=(L-V)/6048e5;break;case u:T=(L-V)/864e5;break;case l:T=L/o;break;case a:T=L/r;break;case s:T=L/t;break;default:T=L}return g?T:N.a(T)},y.daysInMonth=function(){return this.endOf(h).$D},y.$locale=function(){return q[this.$L]},y.locale=function(_,b){if(!_)return this.$L;var g=this.clone(),T=we(_,b,!0);return T&&(g.$L=T),g},y.clone=function(){return N.w(this.$d,this)},y.toDate=function(){return new Date(this.valueOf())},y.toJSON=function(){return this.isValid()?this.toISOString():null},y.toISOString=function(){return this.$d.toISOString()},y.toString=function(){return this.$d.toUTCString()},C}(),ne=he.prototype;return W.prototype=ne,[["$ms",n],["$s",s],["$m",a],["$H",l],["$W",u],["$M",h],["$y",p],["$D",f]].forEach(function(C){ne[C[1]]=function(y){return this.$g(y,C[0],C[1])}}),W.extend=function(C,y){return C.$i||(C(y,he,W),C.$i=!0),W},W.locale=we,W.isDayjs=oe,W.unix=function(C){return W(1e3*C)},W.en=q[I],W.Ls=q,W.p={},W})})(Ya);var Jf=Ya.exports;const On=Wa(Jf);/*! *****************************************************************************
3559
3559
  Copyright (c) Microsoft Corporation.
3560
3560
 
3561
3561
  Permission to use, copy, modify, and/or distribute this software for any
@@ -3575,4 +3575,4 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
3575
3575
  `,vt.MISSING_INTL_API,s);var O=t.getPluralRules(i,{type:c.pluralType}).select(d-(c.offset||0));M=c.options[O]||c.options.other}if(!M)throw new Wn(c.value,d,Object.keys(c.options),s);a.push.apply(a,_i(M.value,i,t,r,o,d-(c.offset||0)));continue}}return pm(a)}function _m(e,i){return i?Te(Te(Te({},e||{}),i||{}),Object.keys(e).reduce(function(t,r){return t[r]=Te(Te({},e[r]),i[r]||{}),t},{})):e}function gm(e,i){return i?Object.keys(e).reduce(function(t,r){return t[r]=_m(e[r],i[r]),t},Te({},e)):e}function gr(e){return{create:function(){return{get:function(i){return e[i]},set:function(i,t){e[i]=t}}}}}function bm(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:pr(function(){for(var i,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((i=Intl.NumberFormat).bind.apply(i,fr([void 0],t,!1)))},{cache:gr(e.number),strategy:mr.variadic}),getDateTimeFormat:pr(function(){for(var i,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((i=Intl.DateTimeFormat).bind.apply(i,fr([void 0],t,!1)))},{cache:gr(e.dateTime),strategy:mr.variadic}),getPluralRules:pr(function(){for(var i,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((i=Intl.PluralRules).bind.apply(i,fr([void 0],t,!1)))},{cache:gr(e.pluralRules),strategy:mr.variadic})}}var ym=function(){function e(i,t,r,o){t===void 0&&(t=e.defaultLocale);var n=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(l){var u=n.formatToParts(l);if(u.length===1)return u[0].value;var c=u.reduce(function(h,d){return!h.length||d.type!==se.literal||typeof h[h.length-1]!="string"?h.push(d.value):h[h.length-1]+=d.value,h},[]);return c.length<=1?c[0]||"":c},this.formatToParts=function(l){return _i(n.ast,n.locales,n.formatters,n.formats,l,void 0,n.message)},this.resolvedOptions=function(){var l;return{locale:((l=n.resolvedLocale)===null||l===void 0?void 0:l.toString())||Intl.NumberFormat.supportedLocalesOf(n.locales)[0]}},this.getAst=function(){return n.ast},this.locales=t,this.resolvedLocale=e.resolveLocale(t),typeof i=="string"){if(this.message=i,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var s=o||{};s.formatters;var a=Pp(s,["formatters"]);this.ast=e.__parse(i,Te(Te({},a),{locale:this.resolvedLocale}))}else this.ast=i;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=gm(e.formats,r),this.formatters=o&&o.formatters||bm(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(i){if(typeof Intl.Locale!="undefined"){var t=Intl.NumberFormat.supportedLocalesOf(i);return t.length>0?new Intl.Locale(t[0]):new Intl.Locale(typeof i=="string"?i:i[0])}},e.__parse=hm,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();function vm(e,i){if(i==null)return;if(i in e)return e[i];const t=i.split(".");let r=e;for(let o=0;o<t.length;o++)if(typeof r=="object"){if(o>0){const n=t.slice(o,t.length).join(".");if(n in r){r=r[n];break}}r=r[t[o]]}else r=void 0;return r}const Ne={},wm=(e,i,t)=>t&&(i in Ne||(Ne[i]={}),e in Ne[i]||(Ne[i][e]=t),t),gl=(e,i)=>{if(i==null)return;if(i in Ne&&e in Ne[i])return Ne[i][e];const t=Ui(i);for(let r=0;r<t.length;r++){const o=t[r],n=Em(o,e);if(n)return wm(e,i,n)}};let Mo;const Tt=Bi({});function xm(e){return Mo[e]||null}function bl(e){return e in Mo}function Em(e,i){if(!bl(e))return null;const t=xm(e);return vm(t,i)}function Cm(e){if(e==null)return;const i=Ui(e);for(let t=0;t<i.length;t++){const r=i[t];if(bl(r))return r}}function Io(e,...i){delete Ne[e],Tt.update(t=>(t[e]=Sp.all([t[e]||{},...i]),t))}Ct([Tt],([e])=>Object.keys(e));Tt.subscribe(e=>Mo=e);const gi={};function Tm(e,i){gi[e].delete(i),gi[e].size===0&&delete gi[e]}function yl(e){return gi[e]}function Am(e){return Ui(e).map(i=>{const t=yl(i);return[i,t?[...t]:[]]}).filter(([,i])=>i.length>0)}function io(e){return e==null?!1:Ui(e).some(i=>{var t;return(t=yl(i))==null?void 0:t.size})}function Sm(e,i){return Promise.all(i.map(r=>(Tm(e,r),r().then(o=>o.default||o)))).then(r=>Io(e,...r))}const Nt={};function vl(e){if(!io(e))return e in Nt?Nt[e]:Promise.resolve();const i=Am(e);return Nt[e]=Promise.all(i.map(([t,r])=>Sm(t,r))).then(()=>{if(io(e))return vl(e);delete Nt[e]}),Nt[e]}const Pm={number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},Dm={fallbackLocale:null,loadingDelay:200,formats:Pm,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},Om=Dm;function wt(){return Om}const br=Bi(!1);var km=Object.defineProperty,Mm=Object.defineProperties,Im=Object.getOwnPropertyDescriptors,Yn=Object.getOwnPropertySymbols,Nm=Object.prototype.hasOwnProperty,Hm=Object.prototype.propertyIsEnumerable,qn=(e,i,t)=>i in e?km(e,i,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[i]=t,Lm=(e,i)=>{for(var t in i||(i={}))Nm.call(i,t)&&qn(e,t,i[t]);if(Yn)for(var t of Yn(i))Hm.call(i,t)&&qn(e,t,i[t]);return e},$m=(e,i)=>Mm(e,Im(i));let ro;const Di=Bi(null);function Xn(e){return e.split("-").map((i,t,r)=>r.slice(0,t+1).join("-")).reverse()}function Ui(e,i=wt().fallbackLocale){const t=Xn(e);return i?[...new Set([...t,...Xn(i)])]:t}function Ze(){return ro!=null?ro:void 0}Di.subscribe(e=>{ro=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const Fm=e=>{if(e&&Cm(e)&&io(e)){const{loadingDelay:i}=wt();let t;return typeof window!="undefined"&&Ze()!=null&&i?t=window.setTimeout(()=>br.set(!0),i):br.set(!0),vl(e).then(()=>{Di.set(e)}).finally(()=>{clearTimeout(t),br.set(!1)})}return Di.set(e)},Me=$m(Lm({},Di),{set:Fm}),ji=e=>{const i=Object.create(null);return r=>{const o=JSON.stringify(r);return o in i?i[o]:i[o]=e(r)}};var Bm=Object.defineProperty,Oi=Object.getOwnPropertySymbols,wl=Object.prototype.hasOwnProperty,xl=Object.prototype.propertyIsEnumerable,Kn=(e,i,t)=>i in e?Bm(e,i,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[i]=t,No=(e,i)=>{for(var t in i||(i={}))wl.call(i,t)&&Kn(e,t,i[t]);if(Oi)for(var t of Oi(i))xl.call(i,t)&&Kn(e,t,i[t]);return e},At=(e,i)=>{var t={};for(var r in e)wl.call(e,r)&&i.indexOf(r)<0&&(t[r]=e[r]);if(e!=null&&Oi)for(var r of Oi(e))i.indexOf(r)<0&&xl.call(e,r)&&(t[r]=e[r]);return t};const Qt=(e,i)=>{const{formats:t}=wt();if(e in t&&i in t[e])return t[e][i];throw new Error(`[svelte-i18n] Unknown "${i}" ${e} format.`)},Rm=ji(e=>{var i=e,{locale:t,format:r}=i,o=At(i,["locale","format"]);if(t==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(o=Qt("number",r)),new Intl.NumberFormat(t,o)}),zm=ji(e=>{var i=e,{locale:t,format:r}=i,o=At(i,["locale","format"]);if(t==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?o=Qt("date",r):Object.keys(o).length===0&&(o=Qt("date","short")),new Intl.DateTimeFormat(t,o)}),Um=ji(e=>{var i=e,{locale:t,format:r}=i,o=At(i,["locale","format"]);if(t==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?o=Qt("time",r):Object.keys(o).length===0&&(o=Qt("time","short")),new Intl.DateTimeFormat(t,o)}),jm=(e={})=>{var i=e,{locale:t=Ze()}=i,r=At(i,["locale"]);return Rm(No({locale:t},r))},Vm=(e={})=>{var i=e,{locale:t=Ze()}=i,r=At(i,["locale"]);return zm(No({locale:t},r))},Gm=(e={})=>{var i=e,{locale:t=Ze()}=i,r=At(i,["locale"]);return Um(No({locale:t},r))},Wm=ji((e,i=Ze())=>new ym(e,i,wt().formats,{ignoreTag:wt().ignoreTag})),Ym=(e,i={})=>{var t,r,o,n;let s=i;typeof e=="object"&&(s=e,e=s.id);const{values:a,locale:l=Ze(),default:u}=s;if(l==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=gl(e,l);if(!c)c=(n=(o=(r=(t=wt()).handleMissingMessage)==null?void 0:r.call(t,{locale:l,id:e,defaultValue:u}))!=null?o:u)!=null?n:e;else if(typeof c!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),c;if(!a)return c;let h=c;try{h=Wm(c,l).format(a)}catch(d){d instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,d.message)}return h},qm=(e,i)=>Gm(i).format(e),Xm=(e,i)=>Vm(i).format(e),Km=(e,i)=>jm(i).format(e),Jm=(e,i=Ze())=>gl(e,i),El=Ct([Me,Tt],()=>Ym);Ct([Me],()=>qm);Ct([Me],()=>Xm);Ct([Me],()=>Km);Ct([Me,Tt],()=>Jm);window.emWidgets={topic:hp};const Cl=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";String(Number.MAX_SAFE_INTEGER).length;function Zm({withLocale:e,translations:i}){Me.subscribe(t=>{t==null&&(Tt.set(i),Me.set(e))})}function Jn(e,i){Io(e,i)}function Qm(e){Me.set(e)}const Zn={en:{titleTimeout:"Timeout",timeoutTextFirst:"{operatorname} provides you an easy way to take a break from the games. You can request automatic blocking of your account for 24 hours. During the temporary restraint, you will not be able to access your Account.",timeoutTextSecondary:'Please note that the “Time-out facility” does not in any case replace “Self-exclusion”. If you think you are experiencing a gambling addiction problem, please enter the link under "Responsible Gaming" and use the "Self-exclusion service" or contact us as soon as possible.',save:"Save",CoolOffFor24Hours:"24 hours",CoolOffFor72Hours:"72 hours",CoolOffFor7Days:"7 days",CoolOffFor30Days:"30 days",CoolOffFor6Weeks:"6 weeks",CoolOffFor2Months:"2 months",CoolOffFor3Months:"3 months",CoolOffUntilSelectedDate:"Until",dateInstructions:"In order to manually input date use the following format:",duration:"Duration:",confirmationModalTitle:"Confirmation",confirmationModalTextPeriodTimeout:"Are you sure you want to cool-off for {period}?",confirmationModalTextUntilTimeout:"Are you sure you want to cool-off until {date}?"},"en-us":{titleTimeout:"Timeout",timeoutTextFirst:"{operatorname} provides you an easy way to take a break from the games. You can request automatic blocking of your account for 24 hours. During the temporary restraint, you will not be able to access your Account.",timeoutTextSecondary:'Please note that the “Time-out facility” does not in any case replace “Self-exclusion”. If you think you are experiencing a gambling addiction problem, please enter the link under "Responsible Gaming" and use the "Self-exclusion service" or contact us as soon as possible.',save:"Save",CoolOffFor24Hours:"24 hours",CoolOffFor72Hours:"72 hours",CoolOffFor7Days:"7 days",CoolOffFor30Days:"30 days",CoolOffFor6Weeks:"6 weeks",CoolOffFor2Months:"2 months",CoolOffFor3Months:"3 months",CoolOffUntilSelectedDate:"Until",dateInstructions:"In order to manually input date use the following format:",duration:"Duration:",confirmationModalTitle:"Confirmation",confirmationModalTextPeriodTimeout:"Are you sure you want to cool-off for {period}?",confirmationModalTextUntilTimeout:"Are you sure you want to cool-off until {date}?"},"zh-hk":{titleTimeout:"Timeout",timeoutTextFirst:"{operatorname} 為您提供一種從遊戲中休息的簡單方法。 您可以請求自動封鎖您的帳戶 24 小時。 在臨時限制期間,您將無法訪問您的帳戶。",timeoutTextSecondary:"請注意,“超時設施”在任何情況下都不能取代“自我排除”。 如果您認為自己有賭博成癮問題,請進入“負責任博彩”下的鏈接並使用“自我排除服務”或盡快與我們聯繫。",save:"節省",CoolOffFor24Hours:"24小時",CoolOffFor72Hours:"72小時",CoolOffFor7Days:"7天",CoolOffFor30Days:"30天",CoolOffFor6Weeks:"6週",CoolOffFor2Months:"2個月",CoolOffFor3Months:"3個月",CoolOffUntilSelectedDate:"直到",dateInstructions:"如需手動輸入日期,請使用以下格式:",duration:"持續時間:",confirmationModalTitle:"確認",confirmationModalTextPeriodTimeout:"您確定要冷靜 {period} 嗎?",confirmationModalTextUntilTimeout:"您確定要冷靜直到 {date} 嗎?"},fr:{titleTimeout:"Délai d'attente",timeoutTextFirst:"{operatorname} vous offre un moyen facile de faire une pause dans les jeux.vous pouvez demander le blocage automatique de votre compte pendant 24 heures . Pendant le blocage temporaire ,vous ne pourrez pas accéder à votre compte.",timeoutTextSecondary:`Veuillez noter que l'"installation du temps mort" ne remplace en aucun cas "l'auto exclusion". Si vous pensez avoir un problème de dépendance au jeu,veuillez cliquer sur le lien "jeux responsable" et utiliser le "service d'auto exclusion" ou nous contacter dès que possible.`,save:"Savez",CoolOffFor24Hours:"24 heures",CoolOffFor72Hours:"72 heures",CoolOffFor7Days:"7 jours",CoolOffFor30Days:"30 jours",CoolOffFor6Weeks:"6 semaines",CoolOffFor2Months:"2 mois",CoolOffFor3Months:"3 mois",CoolOffUntilSelectedDate:"Jusqu'à",dateInstructions:"Pour saisir une date manuellement, utilisez le format suivant :",duration:"Durée :",confirmationModalTitle:"Confirmation",confirmationModalTextPeriodTimeout:"Êtes-vous sûr de vouloir vous refroidir pendant {period} ?",confirmationModalTextUntilTimeout:"Êtes-vous sûr de vouloir vous refroidir jusqu'au {date} ?"},ro:{titleTimeout:"Timeout",timeoutTextFirst:"{operatorname} îți asigură o cale ușoară de a lua o pauză de la jocuri. Poți solicita o blocare automată a contului tău pentru 24 de ore. În timpul restricției temporare, nu vei putea accesa contul.",timeoutTextSecondary:"Te rugăm să reții că „Facilitatea de time-out” nu înlocuiește în niciun caz „Auto-excluderea”. Dacă crezi că te confrunți cu o problemă de dependență de jocuri de noroc, te rugăm să accesezi secțiunea de „Joc responsabil” și să utilizezi „Serviciul de auto-excludere” sau să ne contactezi cât mai curând posibil.",save:"Salvează",CoolOffFor24Hours:"24 ore",CoolOffFor72Hours:"72 ore",CoolOffFor7Days:"7 zile",CoolOffFor30Days:"30 zile",CoolOffFor6Weeks:"6 săptămâni",CoolOffFor2Months:"2 luni",CoolOffFor3Months:"3 luni",CoolOffUntilSelectedDate:"Până la",dateInstructions:"Pentru a introduce manual o dată, utilizați următorul format:",duration:"Durată:",confirmationModalTitle:"Confirmare",confirmationModalTextPeriodTimeout:"Ești sigur că vrei să te răcorești pentru {period}?",confirmationModalTextUntilTimeout:"Ești sigur că vrei să te răcorești până la {date}?"},es:{titleTimeout:"Descanso",timeoutTextFirst:"{operatorname} le brinda una manera fácil de tomarse un descanso de los juegos. Puedes solicitar un bloqueo automático de tu cuenta durante 24 horas. Durante la contención temporal, no será posible ingresar a su cuenta.",timeoutTextSecondary:'Tenga en cuenta que la función de tiempo de espera no sustituye en ningún caso la autoexclusión. Si cree que tiene un problema de adicción al juego, por favor ingrese al enlace de "Juego Responsable" y use el "Servicio de autoexclusión" o ponte en contacto con nosotros a la brevedad posible.',save:"Guardar",CoolOffFor24Hours:"24 horas",CoolOffFor72Hours:"72 horas",CoolOffFor7Days:"7 días",CoolOffFor30Days:"30 días",CoolOffFor6Weeks:"6 semanas",CoolOffFor2Months:"2 meses",CoolOffFor3Months:"3 meses",CoolOffUntilSelectedDate:"Hasta",dateInstructions:"Para ingresar manualmente la fecha, utilice el siguiente formato:",duration:"Duración:",confirmationModalTitle:"Confirmación",confirmationModalTextPeriodTimeout:"¿Estás seguro de que quieres enfriarte por {period}?",confirmationModalTextUntilTimeout:"¿Estás seguro de que quieres enfriarte hasta {date}?"},pt:{titleTimeout:"Tempo esgotado",timeoutTextFirst:"{operatorname} oferece uma maneira fácil de fazer uma pausa nos jogos. Você pode solicitar o bloqueio automático de sua conta por 24 horas. Durante a restrição temporária, você não poderá acessar sua conta.",timeoutTextSecondary:'Observe que a “Facilidade de tempo limite” não substitui em nenhum caso a “Autoexclusão”. Se você acha que está enfrentando um problema de vício em jogos de azar, entre no link em "Jogo Responsável" e use o "Serviço de autoexclusão" ou entre em contato conosco o mais rápido possível.',save:"Guardar",CoolOffFor24Hours:"24 horas",CoolOffFor72Hours:"72 horas",CoolOffFor7Days:"7 dias",CoolOffFor30Days:"30 dias",CoolOffFor6Weeks:"6 semanas",CoolOffFor2Months:"2 meses",CoolOffFor3Months:"3 meses",CoolOffUntilSelectedDate:"Até",dateInstructions:"Para introduzir manualmente a data, utilize o seguinte formato:",duration:"Duração:",confirmationModalTitle:"Confirmação",confirmationModalTextPeriodTimeout:"Tem a certeza de que deseja se refrescar por {period}?",confirmationModalTextUntilTimeout:"Tem a certeza de que deseja se refrescar até {date}?"},hr:{titleTimeout:"Samoisključenje",timeoutTextFirst:'Svjesni smo da kockanje može dovesti do ovisnosti i u našem nastojanju da spriječimo te probleme Samoisključenje stupa na snagu od trenutka kada je postavljeno za razdoblje koje odaberete. Odaberite vremenski okvir ispod, a zatim kliknite "Potvrdi".',timeoutTextSecondary:"Tijekom samoisključivanja nećete moći pristupiti svom računu. U slučaju trajnog samoisključenja E-mail: {supportemail}",save:"Spremi",CoolOffFor24Hours:"24 sata",CoolOffFor72Hours:"72 sata",CoolOffFor7Days:"7 dana",CoolOffFor30Days:"30 dana",CoolOffFor6Weeks:"6 tjedana",CoolOffFor2Months:"2 mjeseca",CoolOffFor3Months:"3 mjeseca",CoolOffUntilSelectedDate:"Do",dateInstructions:"Za ručni unos datuma koristite sljedeći format:",duration:"Trajanje:",confirmationModalTitle:"Potvrda",confirmationModalTextPeriodTimeout:"Jeste li sigurni da se želite rashladiti na {period}?",confirmationModalTextUntilTimeout:"Jeste li sigurni da se želite rashladiti do {date}?"},"pt-br":{titleTimeout:"Tempo fora",timeoutTextFirst:"{operatorname} oferece uma maneira fácil de pausar o jogo. Você pode solicitar o bloqueio automático da conta por 24 horas. Durante a restrição temporária,no tendrá acceso a su cuenta",timeoutTextSecondary:"Observe que o tempo limite não substitui a autoexclusão. Se você acha que tem um problema de dependência de jogo, por favor acesse o link em “Jogo Responsável” e utilize o “Serviço de Autoexclusão” ou entre em contate-nos inmediatamente",save:"Manter",CoolOffFor24Hours:"24 horas",CoolOffFor72Hours:"72 horas",CoolOffFor7Days:"7 dias",CoolOffFor30Days:"30 dias",CoolOffFor6Weeks:"6 semanas",CoolOffFor2Months:"2 meses",CoolOffFor3Months:"3 meses",CoolOffUntilSelectedDate:"Até",dateInstructions:"Para inserir manualmente a data, use o seguinte formato:",duration:"Duração:",confirmationModalTitle:"Confirmação",confirmationModalTextPeriodTimeout:"Tem certeza de que deseja se refrescar por {period}?",confirmationModalTextUntilTimeout:"Tem certeza de que deseja se refrescar até {date}?"},"es-mx":{titleTimeout:"Tiempo Fuera",timeoutTextFirst:"{operatorname} le ofrece una forma fácil de tomar pausa del juego. Puede solicitar bloqueo automático de la cuenta por 24 hrs. Durante la restriccion temporal,no tendrá acceso a su cuenta",timeoutTextSecondary:'Por favor tenga en cuenta que el tiemo-fuera no reemplaza la auto-exclusión. Si usted cree que tiene un problema de adicción al juego," por favor acceda a la liga bajo ""Juego Responsable"" y utilice el ""servicio de Auto-exclusión"" o contáctenos en cuanto antes. "',save:"Guardar",CoolOffFor24Hours:"24 horas",CoolOffFor72Hours:"72 horas",CoolOffFor7Days:"7 días",CoolOffFor30Days:"30 días",CoolOffFor6Weeks:"6 semanas",CoolOffFor2Months:"2 meses",CoolOffFor3Months:"3 meses",CoolOffUntilSelectedDate:"Hasta",dateInstructions:"Para ingresar manualmente la fecha, utilice el siguiente formato:",duration:"Duración:",confirmationModalTitle:"Confirmación",confirmationModalTextPeriodTimeout:"¿Está seguro de que desea refrescarse por {period}?",confirmationModalTextUntilTimeout:"¿Está seguro de que desea refrescarse hasta {date}?"},tr:{titleTimeout:"Zaman aşımı",timeoutTextFirst:"{operatorname} size oyunlara ara vermeniz için kolay bir yol sağlar. Hesabınızın 24 saat süreyle otomatik olarak engellenmesini talep edebilirsiniz. Geçici kısıtlama sırasında Hesabınıza erişemeyeceksiniz.",timeoutTextSecondary:"Lütfen 'Mola olanağının' hiçbir durumda 'Kendini ihraç etmenin' yerine geçmediğini unutmayın. Kumar bağımlılığı sorunu yaşadığınızı düşünüyorsanız lütfen Sorumlu Oyun altındaki bağlantıya girin ve 'Kendini men etme hizmetini' kullanın veya en kısa sürede bizimle iletişime geçin.",save:"Kaydetmek",CoolOffFor24Hours:"24 saat",CoolOffFor72Hours:"72 saat",CoolOffFor7Days:"7 gün",CoolOffFor30Days:"30 gün",CoolOffFor6Weeks:"6 hafta",CoolOffFor2Months:"2 ay",CoolOffFor3Months:"3 ay",CoolOffUntilSelectedDate:"Kadar",dateInstructions:"Tarihi manuel olarak girmek için şu formatı kullanın:",duration:"Süre:",confirmationModalTitle:"Onay",confirmationModalTextPeriodTimeout:"{period} için kendinizi soğutmak istediğinizden emin misiniz?",confirmationModalTextUntilTimeout:"{date} tarihine kadar kendinizi soğutmak istediğinizden emin misiniz?"}},st="__WIDGET_GLOBAL_STYLE_CACHE__";function Tl(e,i){if(e){const t=document.createElement("style");t.innerHTML=i,e.appendChild(t)}}function Al(e,i){if(!e||!i)return;const t=new URL(i);fetch(t.href).then(r=>r.text()).then(r=>{const o=document.createElement("style");o.innerHTML=r,e&&e.appendChild(o)}).catch(r=>{console.error("There was an error while trying to load client styling from URL",r)})}function Sl(e,i,t,r=!1){if(!window.emMessageBus)return;if(!("adoptedStyleSheets"in Document.prototype)||!r)return t=e_(e,i),t;window[st]||(window[st]={}),t=t_(e,i);const n=t.unsubscribe.bind(t),s=()=>{if(window[st][i]){const a=window[st][i];a.refCount>1?a.refCount=a.refCount-1:delete window[st][i]}n()};return t.unsubscribe=s,t}function e_(e,i){const t=document.createElement("style");return window.emMessageBus.subscribe(i,r=>{e&&(t.innerHTML=r,e.appendChild(t))})}function t_(e,i){return window.emMessageBus.subscribe(i,t=>{if(!e)return;const r=e.getRootNode(),o=window[st];let n=o[i]&&o[i].sheet;n?o[i].refCount=o[i].refCount+1:(n=new CSSStyleSheet,n.replaceSync(t),o[i]={sheet:n,refCount:1});const s=r.adoptedStyleSheets||[];s.includes(n)||(r.adoptedStyleSheets=[...s,n])})}function i_(e){ms(e,"svelte-1dxh4dh",".TimeoutWrapper{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072a));padding:50px;max-width:760px;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.TimeoutWrapper.TimeoutWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));display:inline-flex;align-items:center;column-gap:20px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e))}.TimeoutTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));font-weight:400}.TimeoutTitleMobile{font-size:16px}.TimeoutTitleNone{display:none}.TimeoutDescription{color:var(--emw--color-gray-300, #58586b);line-height:24px}.TimeoutDescription.TimeoutDescriptionMobile{font-size:12px;line-height:18px}.TimeoutConfigWrapper{width:50%;height:100%;position:relative;margin-bottom:var(--emw--spacing-large, 20px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));border-radius:var(--emw--border-radius-medium, 10px);cursor:pointer}.TimeoutConfigWrapper .TimeoutConfigLabel{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:var(--emw--spacing-medium, 10px) var(--emw--spacing-large, 20px)}.TimeoutConfigWrapper .TimeoutConfigLabel .TimeoutConfigIcon{width:15px;height:15px;fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));transform:rotateZ(-90deg);transition:all 0.5s ease-in-out}.TimeoutConfigWrapper .TimeoutConfigLabel p{margin:0;font-family:inherit}.TimeoutConfigWrapper .TimeoutConfigLabel .TimeoutConfigIcon.active{transform:rotateZ(0deg)}.TimeoutConfigWrapper .TimeoutDropDown{max-height:0px;overflow:hidden;box-sizing:border-box;transition:all 0.5s ease-in-out;opacity:0;color:var(--emw--color-gray-300, #58586b);background-color:var(--emw--color-pale, var(--emw--color-gray-50, #f1f1f1));border-radius:0px 0px var(--emw--border-radius-medium, 10px) var(--emw--border-radius-medium, 10px)}.TimeoutConfigWrapper .TimeoutDropDown div{padding:var(--emw--spacing-medium, 10px) var(--emw--spacing-large, 20px);font-size:var(--emw--font-size-x-small, 12px);border-top:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));transition:all 0.5s ease-in-out;font-family:inherit}.TimeoutConfigWrapper .TimeoutDropDown div:hover{color:var(--emw--color-white, #ffffff);background-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e))}.TimeoutConfigWrapper .TimeoutDropDown.active{max-height:600px;opacity:1}.TimeoutConfigWrapper.TimeoutConfigWrapperMobile{width:100%;font-size:var(--emw--font-size-x-small, 12px)}.TimeoutConfigWrapper.TimeoutConfigWrapperMobile .TimeoutConfigLabel .TimeoutConfigIcon{width:10px;height:10px}.TimeoutDateWrapper{color:var(--emw--color-gray-300, #58586b);display:flex;flex-direction:column;padding-bottom:16px;position:relative;width:50%}.TimeoutDateWrapper label{font-size:var(--emw--font-size-small, 14px);font-weight:300;padding-bottom:5px}.TimeoutDateWrapper .TimeoutDateInstructions{font-size:var(--emw--font-size-small, 12px);font-weight:300;padding-bottom:5px;line-height:18px}.TimeoutActionButtons{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr;margin-top:20px;width:50%}.TimeoutActionButtons .TimeoutSave{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));color:var(--emw--button-typography, var(--emw--color-white, #ffffff));cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:16px;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box}.TimeoutActionButtons.TimeoutActionButtonsMobile{width:100%;grid-template-columns:1fr}.TimeoutActionButtons.TimeoutActionButtonsMobile .TimeoutSave{height:40px;font-size:12px}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}")}function Qn(e,i,t){const r=e.slice();return r[49]=i[t],r}function r_(e){let i,t,r,o=e[19]("titleTimeout")+"",n,s,a,l,u=e[19]("timeoutTextFirst",{values:{operatorname:e[0],baseurl:e[6],lang:e[1]}})+"",c,h,d=e[19]("timeoutTextSecondary",{values:{supportemail:e[5],baseurl:e[6],lang:e[1]}})+"",p,f,m,E,D=e[19](e[11])+"",k,M,O,I,q,re,oe,we,W,N,he,ne=e[19]("save")+"",C,y,_,b,g,T,A,j,R=e[20]&&n_(e),V=zo(e[10]),L=[];for(let x=0;x<V.length;x+=1)L[x]=es(Qn(e,V,x));let G=e[12]&&ts(e);return{c(){i=H("form"),R&&R.c(),t=J(),r=H("h2"),n=ye(o),s=J(),a=H("div"),l=H("p"),c=J(),h=H("p"),p=J(),f=H("div"),m=H("div"),E=H("p"),k=ye(D),M=J(),O=Ce("svg"),I=Ce("g"),q=Ce("path"),re=J(),oe=H("div");for(let x=0;x<L.length;x+=1)L[x].c();we=J(),G&&G.c(),W=J(),N=H("div"),he=H("button"),C=ye(ne),y=J(),_=H("player-account-modal"),b=H("player-account-general-confirmation-modal"),S(r,"class","TimeoutTitle "+(e[20]?"TimeoutTitleNone":"")),S(a,"class","TimeoutDescription "+(e[20]?"TimeoutDescriptionMobile":"")),S(q,"d","M 90 24.25 c 0 -0.896 -0.342 -1.792 -1.025 -2.475 c -1.366 -1.367 -3.583 -1.367 -4.949 0 L 45 60.8 L 5.975 21.775 c -1.367 -1.367 -3.583 -1.367 -4.95 0 c -1.366 1.367 -1.366 3.583 0 4.95 l 41.5 41.5 c 1.366 1.367 3.583 1.367 4.949 0 l 41.5 -41.5 C 89.658 26.042 90 25.146 90 24.25 z"),S(q,"stroke-linecap","round"),S(O,"xmlns","http://www.w3.org/2000/svg"),S(O,"xmlns:xlink","http://www.w3.org/1999/xlink"),S(O,"version","1.1"),S(O,"viewBox","0 0 100 100"),S(O,"xml:space","preserve"),S(O,"class","TimeoutConfigIcon"),et(O,"active",e[13]),S(m,"class","TimeoutConfigLabel"),S(m,"role","button"),S(m,"tabindex","0"),S(oe,"class","TimeoutDropDown"),et(oe,"active",e[13]),S(f,"class","TimeoutConfigWrapper "+(e[20]?"TimeoutConfigWrapperMobile":"")),et(f,"active",e[13]),S(he,"class","TimeoutSave"),S(N,"class","TimeoutActionButtons "+(e[20]?"TimeoutActionButtonsMobile":"")),S(i,"class","TimeoutWrapper "+(e[20]?"TimeoutWrapperMobile":"")),P(b,"modalTitle",g=e[19]("confirmationModalTitle")),P(b,"modalText",e[17]),P(b,"hascancelbutton",!1),P(b,"modalconfirmevent","SetPlayerAccountTimeout"),P(b,"modalconfirmdata",T={timeoutSelected:e[11],timeoutExpiryDate:e[14]}),P(b,"mbsource",e[4]),P(b,"lang",e[1]),P(_,"clientstyling",e[2]),P(_,"clientstylingurl",e[3]),P(_,"mbsource",e[4]),P(_,"showmodaleventname","ShowTimeoutConfirmationModal")},m(x,F){_e(x,i,F),R&&R.m(i,null),w(i,t),w(i,r),w(r,n),w(i,s),w(i,a),w(a,l),l.innerHTML=u,w(a,c),w(a,h),h.innerHTML=d,w(i,p),w(i,f),w(f,m),w(m,E),w(E,k),w(m,M),w(m,O),w(O,I),w(I,q),w(f,re),w(f,oe);for(let Y=0;Y<L.length;Y+=1)L[Y]&&L[Y].m(oe,null);w(i,we),G&&G.m(i,null),w(i,W),w(i,N),w(N,he),w(he,C),_e(x,y,F),_e(x,_,F),w(_,b),e[36](b),A||(j=[He(m,"click",e[30]),He(m,"keydown",e[31]),He(he,"click",e[35])],A=!0)},p(x,F){if(x[20]&&R.p(x,F),F[0]&524288&&o!==(o=x[19]("titleTimeout")+"")&&Le(n,o),F[0]&524355&&u!==(u=x[19]("timeoutTextFirst",{values:{operatorname:x[0],baseurl:x[6],lang:x[1]}})+"")&&(l.innerHTML=u),F[0]&524386&&d!==(d=x[19]("timeoutTextSecondary",{values:{supportemail:x[5],baseurl:x[6],lang:x[1]}})+"")&&(h.innerHTML=d),F[0]&526336&&D!==(D=x[19](x[11])+"")&&Le(k,D),F[0]&8192&&et(O,"active",x[13]),F[0]&17304576){V=zo(x[10]);let Y;for(Y=0;Y<V.length;Y+=1){const pe=Qn(x,V,Y);L[Y]?L[Y].p(pe,F):(L[Y]=es(pe),L[Y].c(),L[Y].m(oe,null))}for(;Y<L.length;Y+=1)L[Y].d(1);L.length=V.length}F[0]&8192&&et(oe,"active",x[13]),F[0]&8192&&et(f,"active",x[13]),x[12]?G?G.p(x,F):(G=ts(x),G.c(),G.m(i,W)):G&&(G.d(1),G=null),F[0]&524288&&ne!==(ne=x[19]("save")+"")&&Le(C,ne),F[0]&524288&&g!==(g=x[19]("confirmationModalTitle"))&&P(b,"modalTitle",g),F[0]&131072&&P(b,"modalText",x[17]),F[0]&18432&&T!==(T={timeoutSelected:x[11],timeoutExpiryDate:x[14]})&&P(b,"modalconfirmdata",T),F[0]&16&&P(b,"mbsource",x[4]),F[0]&2&&P(b,"lang",x[1]),F[0]&4&&P(_,"clientstyling",x[2]),F[0]&8&&P(_,"clientstylingurl",x[3]),F[0]&16&&P(_,"mbsource",x[4])},d(x){x&&(ce(i),ce(y),ce(_)),R&&R.d(),Gl(L,x),G&&G.d(),e[36](null),A=!1,ve(j)}}}function o_(e){let i,t,r,o,n,s,a,l,u,c,h,d,p,f,m,E;function D(O,I){return O[20]?a_:s_}let M=D(e)(e);return{c(){i=H("div"),M.c(),t=J(),r=H("div"),o=H("ui-skeleton"),n=J(),s=H("div"),a=J(),l=H("ui-skeleton"),u=J(),c=H("div"),h=J(),d=H("div"),p=H("ui-skeleton"),f=J(),m=H("div"),E=H("ui-skeleton"),P(o,"structure","text"),P(o,"height",e[20]?"15px":"20px"),P(o,"rows","3"),P(o,"width","100%"),Fo(s,"height",e[20]?"10px":"30px"),P(l,"structure","text"),P(l,"height",e[20]?"15px":"20px"),P(l,"rows","3"),P(l,"width","100%"),Fo(c,"height",e[20]?"10px":"30px"),S(r,"class","TimeoutDescription"),P(p,"structure","rectangle"),P(p,"width",e[20]?"100%":"50%"),P(p,"height",e[20]?"30px":"44px"),P(p,"margin-bottom","16px"),S(d,"class","TimeoutConfigWrapper "+(e[20]?"TimeoutConfigWrapperMobile":"")),P(E,"structure","rectangle"),P(E,"width","100%"),P(E,"height",e[20]?"35px":"50px"),S(m,"class","TimeoutActionButtons "+(e[20]?"TimeoutActionButtonsMobile":"")),S(i,"class","TimeoutWrapper "+(e[20]?"TimeoutWrapperMobile":""))},m(O,I){_e(O,i,I),M.m(i,null),w(i,t),w(i,r),w(r,o),w(r,n),w(r,s),w(r,a),w(r,l),w(r,u),w(r,c),w(i,h),w(i,d),w(d,p),w(i,f),w(i,m),w(m,E)},p:ae,d(O){O&&ce(i),M.d()}}}function n_(e){let i,t,r,o,n,s,a,l,u,c,h=e[19]("titleTimeout")+"",d,p,f;return{c(){i=H("div"),t=Ce("svg"),r=Ce("defs"),o=Ce("style"),n=ye(`.aaa {
3576
3576
  fill: var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));
3577
3577
  }
3578
- `),s=Ce("g"),a=Ce("g"),l=Ce("path"),u=J(),c=H("h2"),d=ye(h),S(l,"class","aaa"),S(l,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),S(l,"transform","translate(15 15) rotate(180)"),S(a,"transform","translate(20 158)"),S(s,"transform","translate(-20 -158)"),S(t,"xmlns","http://www.w3.org/2000/svg"),S(t,"width","15"),S(t,"height","15"),S(t,"viewBox","0 0 15 15"),S(c,"class","TimeoutTitleMobile"),S(c,"part","TimeoutTitleMobile"),S(i,"class","MenuReturnButton"),S(i,"part","MenuReturnButton"),S(i,"role","button"),S(i,"tabindex","0")},m(m,E){_e(m,i,E),w(i,t),w(t,r),w(r,o),w(o,n),w(t,s),w(s,a),w(a,l),w(i,u),w(i,c),w(c,d),p||(f=[He(i,"click",e[28]),He(i,"keydown",e[29])],p=!0)},p(m,E){E[0]&524288&&h!==(h=m[19]("titleTimeout")+"")&&Le(d,h)},d(m){m&&ce(i),p=!1,ve(f)}}}function es(e){let i,t=e[19](e[49].value)+"",r,o,n,s,a;function l(){return e[32](e[49])}function u(...c){return e[33](e[49],...c)}return{c(){i=H("div"),r=ye(t),o=J(),S(i,"role","option"),S(i,"tabindex","0"),S(i,"aria-selected",n=e[11]===e[49].value)},m(c,h){_e(c,i,h),w(i,r),w(i,o),s||(a=[He(i,"click",l),He(i,"keydown",u)],s=!0)},p(c,h){e=c,h[0]&525312&&t!==(t=e[19](e[49].value)+"")&&Le(r,t),h[0]&3072&&n!==(n=e[11]===e[49].value)&&S(i,"aria-selected",n)},d(c){c&&ce(i),s=!1,ve(a)}}}function ts(e){let i,t,r=e[19]("duration")+"",o,n,s,a=e[19]("dateInstructions")+"",l,u,c,h,d;return{c(){i=H("div"),t=H("label"),o=ye(r),n=J(),s=H("span"),l=ye(a),u=J(),c=H("strong"),c.innerHTML="MM/DD/YYYY<strong></strong>",h=J(),d=H("vaadin-date-picker"),S(t,"for","TimeoutDate"),S(s,"class","TimeoutDateInstructions"),P(d,"min",e[15]),P(d,"max",e[16]),P(d,"value",e[15]),S(i,"class","TimeoutDateWrapper "+(e[20]?"TimeoutDateWrapperMobile":""))},m(p,f){_e(p,i,f),w(i,t),w(t,o),w(i,n),w(i,s),w(s,l),w(s,u),w(s,c),w(i,h),w(i,d),e[34](d)},p(p,f){f[0]&524288&&r!==(r=p[19]("duration")+"")&&Le(o,r),f[0]&524288&&a!==(a=p[19]("dateInstructions")+"")&&Le(l,a),f[0]&32768&&P(d,"min",p[15]),f[0]&65536&&P(d,"max",p[16]),f[0]&32768&&P(d,"value",p[15])},d(p){p&&ce(i),e[34](null)}}}function s_(e){let i;return{c(){i=H("ui-skeleton"),P(i,"structure","title"),P(i,"width","100px"),P(i,"margin-top","20px"),P(i,"margin-bottom","20px")},m(t,r){_e(t,i,r)},d(t){t&&ce(i)}}}function a_(e){let i;return{c(){i=H("div"),i.innerHTML='<ui-skeleton structure="title" width="20px" height="20px" margin-top="20px" margin-bottom="20px"></ui-skeleton> <ui-skeleton structure="title" width="100px" height="20px" margin-top="20px" margin-bottom="20px"></ui-skeleton>',S(i,"class","MenuReturnButton")},m(t,r){_e(t,i,r)},d(t){t&&ce(i)}}}function l_(e){let i;function t(n,s){return n[18]?o_:r_}let r=t(e),o=r(e);return{c(){i=H("div"),o.c()},m(n,s){_e(n,i,s),o.m(i,null),e[37](i)},p(n,s){r===(r=t(n))&&o?o.p(n,s):(o.d(1),o=r(n),o&&(o.c(),o.m(i,null)))},i:ae,o:ae,d(n){n&&ce(i),o.d(),e[37](null)}}}function u_(e,i,t){let r;hs(e,El,v=>t(19,r=v));let{operator:o="Everymatrix"}=i,{lang:n="en"}=i,{clientstyling:s=""}=i,{clientstylingurl:a=""}=i,{mbsource:l}=i,{translationurl:u=""}=i,{supportemail:c=""}=i,{endpoint:h=""}=i,{baseurl:d=""}=i,{hasconfirmationmodal:p="false"}=i;Zm({withLocale:"en",translations:{}});let f,m,E,D=window.navigator.userAgent,k=Cl(D)!=="PC",M=[{value:"CoolOffFor24Hours",dateSelector:!1},{value:"CoolOffFor7Days",dateSelector:!1},{value:"CoolOffFor30Days",dateSelector:!1},{value:"CoolOffFor3Months",dateSelector:!1}],O=M[0].value,I=!1,q=!1,re="",oe,we,W="",N=p==="true",he=!0,ne;const C=()=>{fetch(u).then(v=>v.json()).then(v=>{Object.keys(v).forEach(le=>{Jn(le,v[le])})}).catch(v=>{console.log(v)})};Object.keys(Zn).forEach(v=>{Jn(v,Zn[v])});const y=()=>{const v=new URL("/v1/player/coolOffSettings",h),le={method:"GET"};fetch(v.href,le).then(ge=>{if(!ge.ok)throw new Error("There was an error while fetching the configuration");return ge.json()}).then(ge=>{const{periods:Ho}=ge;Ho&&t(10,M=Ho.map(Vi=>({value:Vi.key,text:Vi.text,dateSelector:Vi.dateSelector})))}).catch(ge=>{console.log(ge)}).finally(()=>{t(18,he=!1),t(11,O=M[0].value)})},_=()=>{if(!N){t(17,W="");return}t(17,W=I?r("confirmationModalTextUntilTimeout",{values:{date:re}}):r("confirmationModalTextPeriodTimeout",{values:{period:r(O)}}))},b=v=>{v.preventDefault(),N?window.postMessage({type:"ShowTimeoutConfirmationModal"},window.location.href):T()},g=v=>{const{timeoutSelected:le,timeoutExpiryDate:ge}=v.detail;t(11,O=le),t(14,re=ge),T()},T=()=>{window.postMessage({type:"SetPlayerAccountTimeout",timeoutSelected:O,timeoutExpiryDate:re},window.location.href)},A=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:k},window.location.href)},j=()=>{Qm(n),y()},R=()=>{t(13,q=!q)},V=v=>{t(11,O=v.value),t(12,I=!1),v.dateSelector&&(t(12,I=!0),t(15,oe=On().format("YYYY-MM-DD")),t(16,we=On().add(6,"months").format("YYYY-MM-DD")),t(14,re=oe)),t(13,q=!1),N&&_()},L=v=>{var ge;const le=v.target;t(14,re=(ge=le==null?void 0:le.value)!=null?ge:"")},G=()=>{m.addEventListener("change",L,!1)};tu(()=>{ne&&ne.removeEventListener("SetPlayerAccountTimeout",g),m&&m.removeEventListener("change",L)});const x=()=>A(),F=v=>{(v.key==="Enter"||v.key===" ")&&(v.preventDefault(),A())},Y=()=>R(),pe=v=>{(v.key==="Enter"||v.key===" ")&&(v.preventDefault(),R())},ie=v=>V(v),xe=(v,le)=>{(le.key==="Enter"||le.key===" ")&&(le.preventDefault(),V(v))};function ze(v){lt[v?"unshift":"push"](()=>{m=v,t(8,m)})}const Qe=v=>b(v);function Dl(v){lt[v?"unshift":"push"](()=>{ne=v,t(9,ne)})}function Ol(v){lt[v?"unshift":"push"](()=>{f=v,t(7,f)})}return e.$$set=v=>{"operator"in v&&t(0,o=v.operator),"lang"in v&&t(1,n=v.lang),"clientstyling"in v&&t(2,s=v.clientstyling),"clientstylingurl"in v&&t(3,a=v.clientstylingurl),"mbsource"in v&&t(4,l=v.mbsource),"translationurl"in v&&t(25,u=v.translationurl),"supportemail"in v&&t(5,c=v.supportemail),"endpoint"in v&&t(26,h=v.endpoint),"baseurl"in v&&t(6,d=v.baseurl),"hasconfirmationmodal"in v&&t(27,p=v.hasconfirmationmodal)},e.$$.update=()=>{e.$$.dirty[0]&256&&m&&G(),e.$$.dirty[0]&2&&n&&j(),e.$$.dirty[0]&132&&s&&f&&Tl(f,s),e.$$.dirty[0]&136&&a&&f&&Al(f,a),e.$$.dirty[0]&144&&l&&f&&Sl(f,`${l}.Style`,E),e.$$.dirty[0]&33554432&&u&&C(),e.$$.dirty[0]&512&&ne&&ne.addEventListener("SetPlayerAccountTimeout",g)},N&&_(),[o,n,s,a,l,c,d,f,m,ne,M,O,I,q,re,oe,we,W,he,r,k,b,A,R,V,u,h,p,x,F,Y,pe,ie,xe,ze,Qe,Dl,Ol]}class Pl extends xs{constructor(i){super(),ys(this,i,u_,l_,oo,{operator:0,lang:1,clientstyling:2,clientstylingurl:3,mbsource:4,translationurl:25,supportemail:5,endpoint:26,baseurl:6,hasconfirmationmodal:27},i_,[-1,-1])}get operator(){return this.$$.ctx[0]}set operator(i){this.$$set({operator:i}),fe()}get lang(){return this.$$.ctx[1]}set lang(i){this.$$set({lang:i}),fe()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(i){this.$$set({clientstyling:i}),fe()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(i){this.$$set({clientstylingurl:i}),fe()}get mbsource(){return this.$$.ctx[4]}set mbsource(i){this.$$set({mbsource:i}),fe()}get translationurl(){return this.$$.ctx[25]}set translationurl(i){this.$$set({translationurl:i}),fe()}get supportemail(){return this.$$.ctx[5]}set supportemail(i){this.$$set({supportemail:i}),fe()}get endpoint(){return this.$$.ctx[26]}set endpoint(i){this.$$set({endpoint:i}),fe()}get baseurl(){return this.$$.ctx[6]}set baseurl(i){this.$$set({baseurl:i}),fe()}get hasconfirmationmodal(){return this.$$.ctx[27]}set hasconfirmationmodal(i){this.$$set({hasconfirmationmodal:i}),fe()}}ws(Pl,{operator:{},lang:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{},supportemail:{},endpoint:{},baseurl:{},hasconfirmationmodal:{}},[],[],!0);const c_=Object.freeze(Object.defineProperty({__proto__:null,default:Pl},Symbol.toStringTag,{value:"Module"}));exports.$format=El;exports.$locale=Me;exports.PlayerAccountTimeout_ce=c_;exports.SvelteComponent=xs;exports.addMessages=Io;exports.add_render_callback=Ut;exports.append=w;exports.append_styles=ms;exports.attr=S;exports.binding_callbacks=lt;exports.check_outros=lu;exports.component_subscribe=hs;exports.create_bidirectional_transition=hu;exports.create_custom_element=ws;exports.create_slot=Fl;exports.detach=ce;exports.element=H;exports.empty=Wl;exports.flush=fe;exports.getDevice=Cl;exports.get_all_dirty_from_scope=zl;exports.get_slot_changes=Bl;exports.group_outros=au;exports.identity=ls;exports.init=ys;exports.insert=_e;exports.listen=He;exports.noop=ae;exports.onMount=eu;exports.run_all=ve;exports.safe_not_equal=oo;exports.setClientStyling=Tl;exports.setClientStylingURL=Al;exports.setStreamStyling=Sl;exports.set_data=Le;exports.space=J;exports.svg_element=Ce;exports.text=ye;exports.transition_in=bs;exports.transition_out=uu;exports.update_slot_base=Rl;
3578
+ `),s=Ce("g"),a=Ce("g"),l=Ce("path"),u=J(),c=H("h2"),d=ye(h),S(l,"class","aaa"),S(l,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),S(l,"transform","translate(15 15) rotate(180)"),S(a,"transform","translate(20 158)"),S(s,"transform","translate(-20 -158)"),S(t,"xmlns","http://www.w3.org/2000/svg"),S(t,"width","15"),S(t,"height","15"),S(t,"viewBox","0 0 15 15"),S(c,"class","TimeoutTitleMobile"),S(c,"part","TimeoutTitleMobile"),S(i,"class","MenuReturnButton"),S(i,"part","MenuReturnButton"),S(i,"role","button"),S(i,"tabindex","0")},m(m,E){_e(m,i,E),w(i,t),w(t,r),w(r,o),w(o,n),w(t,s),w(s,a),w(a,l),w(i,u),w(i,c),w(c,d),p||(f=[He(i,"click",e[28]),He(i,"keydown",e[29])],p=!0)},p(m,E){E[0]&524288&&h!==(h=m[19]("titleTimeout")+"")&&Le(d,h)},d(m){m&&ce(i),p=!1,ve(f)}}}function es(e){let i,t=e[19](e[49].value)+"",r,o,n,s,a;function l(){return e[32](e[49])}function u(...c){return e[33](e[49],...c)}return{c(){i=H("div"),r=ye(t),o=J(),S(i,"role","option"),S(i,"tabindex","0"),S(i,"aria-selected",n=e[11]===e[49].value)},m(c,h){_e(c,i,h),w(i,r),w(i,o),s||(a=[He(i,"click",l),He(i,"keydown",u)],s=!0)},p(c,h){e=c,h[0]&525312&&t!==(t=e[19](e[49].value)+"")&&Le(r,t),h[0]&3072&&n!==(n=e[11]===e[49].value)&&S(i,"aria-selected",n)},d(c){c&&ce(i),s=!1,ve(a)}}}function ts(e){let i,t,r=e[19]("duration")+"",o,n,s,a=e[19]("dateInstructions")+"",l,u,c,h,d;return{c(){i=H("div"),t=H("label"),o=ye(r),n=J(),s=H("span"),l=ye(a),u=J(),c=H("strong"),c.innerHTML="MM/DD/YYYY<strong></strong>",h=J(),d=H("vaadin-date-picker"),S(t,"for","TimeoutDate"),S(s,"class","TimeoutDateInstructions"),P(d,"min",e[15]),P(d,"max",e[16]),P(d,"value",e[15]),S(i,"class","TimeoutDateWrapper "+(e[20]?"TimeoutDateWrapperMobile":""))},m(p,f){_e(p,i,f),w(i,t),w(t,o),w(i,n),w(i,s),w(s,l),w(s,u),w(s,c),w(i,h),w(i,d),e[34](d)},p(p,f){f[0]&524288&&r!==(r=p[19]("duration")+"")&&Le(o,r),f[0]&524288&&a!==(a=p[19]("dateInstructions")+"")&&Le(l,a),f[0]&32768&&P(d,"min",p[15]),f[0]&65536&&P(d,"max",p[16]),f[0]&32768&&P(d,"value",p[15])},d(p){p&&ce(i),e[34](null)}}}function s_(e){let i;return{c(){i=H("ui-skeleton"),P(i,"structure","title"),P(i,"width","100px"),P(i,"margin-top","20px"),P(i,"margin-bottom","20px")},m(t,r){_e(t,i,r)},d(t){t&&ce(i)}}}function a_(e){let i;return{c(){i=H("div"),i.innerHTML='<ui-skeleton structure="title" width="20px" height="20px" margin-top="20px" margin-bottom="20px"></ui-skeleton> <ui-skeleton structure="title" width="100px" height="20px" margin-top="20px" margin-bottom="20px"></ui-skeleton>',S(i,"class","MenuReturnButton")},m(t,r){_e(t,i,r)},d(t){t&&ce(i)}}}function l_(e){let i;function t(n,s){return n[18]?o_:r_}let r=t(e),o=r(e);return{c(){i=H("div"),o.c()},m(n,s){_e(n,i,s),o.m(i,null),e[37](i)},p(n,s){r===(r=t(n))&&o?o.p(n,s):(o.d(1),o=r(n),o&&(o.c(),o.m(i,null)))},i:ae,o:ae,d(n){n&&ce(i),o.d(),e[37](null)}}}function u_(e,i,t){let r;hs(e,El,v=>t(19,r=v));let{operator:o="Everymatrix"}=i,{lang:n="en"}=i,{clientstyling:s=""}=i,{clientstylingurl:a=""}=i,{mbsource:l}=i,{translationurl:u=""}=i,{supportemail:c=""}=i,{endpoint:h=""}=i,{baseurl:d=""}=i,{hasconfirmationmodal:p="false"}=i;Zm({withLocale:"en",translations:{}});let f,m,E,D=window.navigator.userAgent,k=Cl(D)!=="PC",M=[{value:"CoolOffFor24Hours",dateSelector:!1},{value:"CoolOffFor7Days",dateSelector:!1},{value:"CoolOffFor30Days",dateSelector:!1},{value:"CoolOffFor3Months",dateSelector:!1}],O=M[0].value,I=!1,q=!1,re="",oe,we,W="",N=p==="true",he=!0,ne;const C=()=>{fetch(u).then(v=>v.json()).then(v=>{Object.keys(v).forEach(le=>{Jn(le,v[le])})}).catch(v=>{console.log(v)})};Object.keys(Zn).forEach(v=>{Jn(v,Zn[v])});const y=()=>{const v=new URL("/v1/player/coolOffSettings",h),le={method:"GET"};fetch(v.href,le).then(ge=>{if(!ge.ok)throw new Error("There was an error while fetching the configuration");return ge.json()}).then(ge=>{const{periods:Ho}=ge;Ho&&t(10,M=Ho.map(Vi=>({value:Vi.key,text:Vi.text,dateSelector:Vi.dateSelector})))}).catch(ge=>{console.log(ge)}).finally(()=>{t(18,he=!1),t(11,O=M[0].value)})},_=()=>{if(!N){t(17,W="");return}t(17,W=I?r("confirmationModalTextUntilTimeout",{values:{date:re}}):r("confirmationModalTextPeriodTimeout",{values:{period:r(O)}}))},b=v=>{v.preventDefault(),N?(_(),window.postMessage({type:"ShowTimeoutConfirmationModal"},window.location.href)):T()},g=v=>{const{timeoutSelected:le,timeoutExpiryDate:ge}=v.detail;t(11,O=le),t(14,re=ge),T()},T=()=>{window.postMessage({type:"SetPlayerAccountTimeout",timeoutSelected:O,timeoutExpiryDate:re},window.location.href)},A=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:k},window.location.href)},j=()=>{Qm(n),y()},R=()=>{t(13,q=!q)},V=v=>{t(11,O=v.value),t(12,I=!1),v.dateSelector&&(t(12,I=!0),t(15,oe=On().format("YYYY-MM-DD")),t(16,we=On().add(6,"months").format("YYYY-MM-DD")),t(14,re=oe)),t(13,q=!1),N&&_()},L=v=>{var ge;const le=v.target;t(14,re=(ge=le==null?void 0:le.value)!=null?ge:"")},G=()=>{m.addEventListener("change",L,!1)};tu(()=>{ne&&ne.removeEventListener("SetPlayerAccountTimeout",g),m&&m.removeEventListener("change",L)});const x=()=>A(),F=v=>{(v.key==="Enter"||v.key===" ")&&(v.preventDefault(),A())},Y=()=>R(),pe=v=>{(v.key==="Enter"||v.key===" ")&&(v.preventDefault(),R())},ie=v=>V(v),xe=(v,le)=>{(le.key==="Enter"||le.key===" ")&&(le.preventDefault(),V(v))};function ze(v){lt[v?"unshift":"push"](()=>{m=v,t(8,m)})}const Qe=v=>b(v);function Dl(v){lt[v?"unshift":"push"](()=>{ne=v,t(9,ne)})}function Ol(v){lt[v?"unshift":"push"](()=>{f=v,t(7,f)})}return e.$$set=v=>{"operator"in v&&t(0,o=v.operator),"lang"in v&&t(1,n=v.lang),"clientstyling"in v&&t(2,s=v.clientstyling),"clientstylingurl"in v&&t(3,a=v.clientstylingurl),"mbsource"in v&&t(4,l=v.mbsource),"translationurl"in v&&t(25,u=v.translationurl),"supportemail"in v&&t(5,c=v.supportemail),"endpoint"in v&&t(26,h=v.endpoint),"baseurl"in v&&t(6,d=v.baseurl),"hasconfirmationmodal"in v&&t(27,p=v.hasconfirmationmodal)},e.$$.update=()=>{e.$$.dirty[0]&256&&m&&G(),e.$$.dirty[0]&2&&n&&j(),e.$$.dirty[0]&132&&s&&f&&Tl(f,s),e.$$.dirty[0]&136&&a&&f&&Al(f,a),e.$$.dirty[0]&144&&l&&f&&Sl(f,`${l}.Style`,E),e.$$.dirty[0]&33554432&&u&&C(),e.$$.dirty[0]&512&&ne&&ne.addEventListener("SetPlayerAccountTimeout",g)},N&&_(),[o,n,s,a,l,c,d,f,m,ne,M,O,I,q,re,oe,we,W,he,r,k,b,A,R,V,u,h,p,x,F,Y,pe,ie,xe,ze,Qe,Dl,Ol]}class Pl extends xs{constructor(i){super(),ys(this,i,u_,l_,oo,{operator:0,lang:1,clientstyling:2,clientstylingurl:3,mbsource:4,translationurl:25,supportemail:5,endpoint:26,baseurl:6,hasconfirmationmodal:27},i_,[-1,-1])}get operator(){return this.$$.ctx[0]}set operator(i){this.$$set({operator:i}),fe()}get lang(){return this.$$.ctx[1]}set lang(i){this.$$set({lang:i}),fe()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(i){this.$$set({clientstyling:i}),fe()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(i){this.$$set({clientstylingurl:i}),fe()}get mbsource(){return this.$$.ctx[4]}set mbsource(i){this.$$set({mbsource:i}),fe()}get translationurl(){return this.$$.ctx[25]}set translationurl(i){this.$$set({translationurl:i}),fe()}get supportemail(){return this.$$.ctx[5]}set supportemail(i){this.$$set({supportemail:i}),fe()}get endpoint(){return this.$$.ctx[26]}set endpoint(i){this.$$set({endpoint:i}),fe()}get baseurl(){return this.$$.ctx[6]}set baseurl(i){this.$$set({baseurl:i}),fe()}get hasconfirmationmodal(){return this.$$.ctx[27]}set hasconfirmationmodal(i){this.$$set({hasconfirmationmodal:i}),fe()}}ws(Pl,{operator:{},lang:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{},supportemail:{},endpoint:{},baseurl:{},hasconfirmationmodal:{}},[],[],!0);const c_=Object.freeze(Object.defineProperty({__proto__:null,default:Pl},Symbol.toStringTag,{value:"Module"}));exports.$format=El;exports.$locale=Me;exports.PlayerAccountTimeout_ce=c_;exports.SvelteComponent=xs;exports.addMessages=Io;exports.add_render_callback=Ut;exports.append=w;exports.append_styles=ms;exports.attr=S;exports.binding_callbacks=lt;exports.check_outros=lu;exports.component_subscribe=hs;exports.create_bidirectional_transition=hu;exports.create_custom_element=ws;exports.create_slot=Fl;exports.detach=ce;exports.element=H;exports.empty=Wl;exports.flush=fe;exports.getDevice=Cl;exports.get_all_dirty_from_scope=zl;exports.get_slot_changes=Bl;exports.group_outros=au;exports.identity=ls;exports.init=ys;exports.insert=_e;exports.listen=He;exports.noop=ae;exports.onMount=eu;exports.run_all=ve;exports.safe_not_equal=oo;exports.setClientStyling=Tl;exports.setClientStylingURL=Al;exports.setStreamStyling=Sl;exports.set_data=Le;exports.space=J;exports.svg_element=Ce;exports.text=ye;exports.transition_in=bs;exports.transition_out=uu;exports.update_slot_base=Rl;
@@ -16041,7 +16041,7 @@ if (typeof window < "u") {
16041
16041
  }
16042
16042
  };
16043
16043
  };
16044
- customElements.define = e(customElements.define), import("./PlayerAccountModal-aKq5uG5o.js").then(({ default: i }) => {
16044
+ customElements.define = e(customElements.define), import("./PlayerAccountModal-DL9eAo2_.js").then(({ default: i }) => {
16045
16045
  !customElements.get("player-account-modal") && customElements.define("player-account-modal", i.element);
16046
16046
  });
16047
16047
  }
@@ -16057,7 +16057,7 @@ if (typeof window < "u") {
16057
16057
  }
16058
16058
  };
16059
16059
  };
16060
- customElements.define = e(customElements.define), import("./PlayerAccountGeneralConfirmationModal-D-3s9twE.js").then(
16060
+ customElements.define = e(customElements.define), import("./PlayerAccountGeneralConfirmationModal-BpC9LuZi.js").then(
16061
16061
  ({ default: i }) => {
16062
16062
  !customElements.get("player-account-general-confirmation-modal") && customElements.define(
16063
16063
  "player-account-general-confirmation-modal",
@@ -21040,7 +21040,7 @@ function Hm(e, i, t) {
21040
21040
  }
21041
21041
  t(17, W = I ? r("confirmationModalTextUntilTimeout", { values: { date: re } }) : r("confirmationModalTextPeriodTimeout", { values: { period: r(O) } }));
21042
21042
  }, y = (v) => {
21043
- v.preventDefault(), N ? window.postMessage({ type: "ShowTimeoutConfirmationModal" }, window.location.href) : T();
21043
+ v.preventDefault(), N ? (_(), window.postMessage({ type: "ShowTimeoutConfirmationModal" }, window.location.href)) : T();
21044
21044
  }, g = (v) => {
21045
21045
  const { timeoutSelected: fe, timeoutExpiryDate: Oe } = v.detail;
21046
21046
  t(11, O = fe), t(14, re = Oe), T();
@@ -1 +1 @@
1
- "use strict";if(typeof window!="undefined"){let n=function(e){return function(...s){try{return e.apply(this,s)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/PlayerAccountTimeout-KILiYB_3.cjs")).then(e=>e.PlayerAccountTimeout_ce).then(({default:e})=>{!customElements.get("player-account-timeout")&&customElements.define("player-account-timeout",e.element)})}
1
+ "use strict";if(typeof window!="undefined"){let n=function(e){return function(...s){try{return e.apply(this,s)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/PlayerAccountTimeout-CDiSofKq.cjs")).then(e=>e.PlayerAccountTimeout_ce).then(({default:e})=>{!customElements.get("player-account-timeout")&&customElements.define("player-account-timeout",e.element)})}
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
10
10
  }
11
11
  };
12
12
  };
13
- customElements.define = n(customElements.define), import("../components/PlayerAccountTimeout-ClTPFZpA.js").then((e) => e.P).then(({ default: e }) => {
13
+ customElements.define = n(customElements.define), import("../components/PlayerAccountTimeout-B020jhYW.js").then((e) => e.P).then(({ default: e }) => {
14
14
  !customElements.get("player-account-timeout") && customElements.define("player-account-timeout", e.element);
15
15
  });
16
16
  }
@@ -1,4 +1,4 @@
1
- import { P as s } from "../components/PlayerAccountTimeout-DtiwUhRU.js";
1
+ import { P as s } from "../components/PlayerAccountTimeout-CMRBHSud.js";
2
2
  function o(t) {
3
3
  return function(...n) {
4
4
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/player-account-timeout",
3
- "version": "1.90.34",
3
+ "version": "1.90.36",
4
4
  "type": "module",
5
5
  "main": "es2015/player-account-timeout.cjs",
6
6
  "module": "esnext/player-account-timeout.js",