@everymatrix/player-account-timeout 1.88.5 → 1.88.7

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, 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-DwwCBGe6.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-BY1aAqbW.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-BUPd2JUI.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-DWRWK2jh.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, 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-CnWTIjkU.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-F9lGE2DR.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-CnWTIjkU.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-F9lGE2DR.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-DwwCBGe6.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-BY1aAqbW.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-BUPd2JUI.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-DWRWK2jh.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;
@@ -16142,7 +16142,7 @@ if (typeof window != "undefined") {
16142
16142
  }
16143
16143
  };
16144
16144
  };
16145
- customElements.define = e(customElements.define), import("./PlayerAccountModal-BGbsc16C.js").then(({ default: i }) => {
16145
+ customElements.define = e(customElements.define), import("./PlayerAccountModal-RyHBjJgp.js").then(({ default: i }) => {
16146
16146
  !customElements.get("player-account-modal") && customElements.define("player-account-modal", i.element);
16147
16147
  });
16148
16148
  }
@@ -16158,7 +16158,7 @@ if (typeof window != "undefined") {
16158
16158
  }
16159
16159
  };
16160
16160
  };
16161
- customElements.define = e(customElements.define), import("./PlayerAccountGeneralConfirmationModal-CMiLSsv-.js").then(
16161
+ customElements.define = e(customElements.define), import("./PlayerAccountGeneralConfirmationModal-B6tnvmfs.js").then(
16162
16162
  ({ default: i }) => {
16163
16163
  !customElements.get("player-account-general-confirmation-modal") && customElements.define(
16164
16164
  "player-account-general-confirmation-modal",
@@ -20504,11 +20504,10 @@ function Rm(e, i) {
20504
20504
  }
20505
20505
  function zm(e, i) {
20506
20506
  return window.emMessageBus.subscribe(i, (t) => {
20507
- var a;
20508
20507
  if (!e)
20509
20508
  return;
20510
20509
  const r = e.getRootNode(), o = window[et];
20511
- let n = (a = o[i]) == null ? void 0 : a.sheet;
20510
+ let n = o[i] && o[i].sheet;
20512
20511
  n ? o[i].refCount = o[i].refCount + 1 : (n = new CSSStyleSheet(), n.replaceSync(t), o[i] = {
20513
20512
  sheet: n,
20514
20513
  refCount: 1
@@ -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 Hf(this,t=>{this._setInputElement(t),this._setFocusElement(t),this.stateTarget=t,this.ariaTarget=t},{uniqueIdPrefix:"search-input"})),this.addController(new Lf(this.inputElement,this._labelController)),this._tooltipController=new xa(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}}ye(Gf);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-Bv3nLahy.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-Cw5vDEa3.cjs")).then(({default:i})=>{!customElements.get("player-account-general-confirmation-modal")&&customElements.define("player-account-general-confirmation-modal",i.element)})}var Wf=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function ja(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Va={exports:{}};(function(e,i){(function(t,r){e.exports=r()})(Wf,function(){var t=1e3,r=6e4,o=36e5,n="millisecond",s="second",a="minute",l="hour",u="day",c="week",h="month",d="quarter",f="year",p="date",y="Invalid Date",x=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,P=/\[([^\]]+)]|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,D={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(T){var b=["th","st","nd","rd"],g=T%100;return"["+T+(b[(g-20)%10]||b[g]||b[0])+"]"}},A=function(T,b,g){var m=String(T);return!m||m.length>=b?T:""+Array(b+1-m.length).join(g)+T},k={s:A,z:function(T){var b=-T.utcOffset(),g=Math.abs(b),m=Math.floor(g/60),_=g%60;return(b<=0?"+":"-")+A(m,2,"0")+":"+A(_,2,"0")},m:function T(b,g){if(b.date()<g.date())return-T(g,b);var m=12*(g.year()-b.year())+(g.month()-b.month()),_=b.clone().add(m,h),w=g-_<0,C=b.clone().add(m+(w?-1:1),h);return+(-(m+(g-_)/(w?_-C:C-_))||0)},a:function(T){return T<0?Math.ceil(T)||0:Math.floor(T)},p:function(T){return{M:h,y:f,w:c,d:u,D:p,h:l,m:a,s,ms:n,Q:d}[T]||String(T||"").toLowerCase().replace(/s$/,"")},u:function(T){return T===void 0}},O="en",z={};z[O]=D;var W="$isDayjsObject",V=function(T){return T instanceof te||!(!T||!T[W])},le=function T(b,g,m){var _;if(!b)return O;if(typeof b=="string"){var w=b.toLowerCase();z[w]&&(_=w),g&&(z[w]=g,_=w);var C=b.split("-");if(!_&&C.length>1)return T(C[0])}else{var R=b.name;z[R]=b,_=R}return!m&&_&&(O=_),_||!m&&O},B=function(T,b){if(V(T))return T.clone();var g=typeof b=="object"?b:{};return g.date=T,g.args=arguments,new te(g)},I=k;I.l=le,I.i=V,I.w=function(T,b){return B(T,{locale:b.$L,utc:b.$u,x:b.$x,$offset:b.$offset})};var te=function(){function T(g){this.$L=le(g.locale,null,!0),this.parse(g),this.$x=this.$x||g.x||{},this[W]=!0}var b=T.prototype;return b.parse=function(g){this.$d=function(m){var _=m.date,w=m.utc;if(_===null)return new Date(NaN);if(I.u(_))return new Date;if(_ instanceof Date)return new Date(_);if(typeof _=="string"&&!/Z$/i.test(_)){var C=_.match(x);if(C){var R=C[2]-1||0,U=(C[7]||"0").substring(0,3);return w?new Date(Date.UTC(C[1],R,C[3]||1,C[4]||0,C[5]||0,C[6]||0,U)):new Date(C[1],R,C[3]||1,C[4]||0,C[5]||0,C[6]||0,U)}}return new Date(_)}(g),this.init()},b.init=function(){var g=this.$d;this.$y=g.getFullYear(),this.$M=g.getMonth(),this.$D=g.getDate(),this.$W=g.getDay(),this.$H=g.getHours(),this.$m=g.getMinutes(),this.$s=g.getSeconds(),this.$ms=g.getMilliseconds()},b.$utils=function(){return I},b.isValid=function(){return this.$d.toString()!==y},b.isSame=function(g,m){var _=B(g);return this.startOf(m)<=_&&_<=this.endOf(m)},b.isAfter=function(g,m){return B(g)<this.startOf(m)},b.isBefore=function(g,m){return this.endOf(m)<B(g)},b.$g=function(g,m,_){return I.u(g)?this[m]:this.set(_,g)},b.unix=function(){return Math.floor(this.valueOf()/1e3)},b.valueOf=function(){return this.$d.getTime()},b.startOf=function(g,m){var _=this,w=!!I.u(m)||m,C=I.p(g),R=function(ve,v){var Q=I.w(_.$u?Date.UTC(_.$y,v,ve):new Date(_.$y,v,ve),_);return w?Q:Q.endOf(u)},U=function(ve,v){return I.w(_.toDate()[ve].apply(_.toDate("s"),(w?[0,0,0,0]:[23,59,59,999]).slice(v)),_)},q=this.$W,K=this.$M,oe=this.$D,Pe="set"+(this.$u?"UTC":"");switch(C){case f:return w?R(1,0):R(31,11);case h:return w?R(1,K):R(0,K+1);case c:var be=this.$locale().weekStart||0,He=(q<be?q+7:q)-be;return R(w?oe-He:oe+(6-He),K);case u:case p:return U(Pe+"Hours",0);case l:return U(Pe+"Minutes",1);case a:return U(Pe+"Seconds",2);case s:return U(Pe+"Milliseconds",3);default:return this.clone()}},b.endOf=function(g){return this.startOf(g,!1)},b.$set=function(g,m){var _,w=I.p(g),C="set"+(this.$u?"UTC":""),R=(_={},_[u]=C+"Date",_[p]=C+"Date",_[h]=C+"Month",_[f]=C+"FullYear",_[l]=C+"Hours",_[a]=C+"Minutes",_[s]=C+"Seconds",_[n]=C+"Milliseconds",_)[w],U=w===u?this.$D+(m-this.$W):m;if(w===h||w===f){var q=this.clone().set(p,1);q.$d[R](U),q.init(),this.$d=q.set(p,Math.min(this.$D,q.daysInMonth())).$d}else R&&this.$d[R](U);return this.init(),this},b.set=function(g,m){return this.clone().$set(g,m)},b.get=function(g){return this[I.p(g)]()},b.add=function(g,m){var _,w=this;g=Number(g);var C=I.p(m),R=function(K){var oe=B(w);return I.w(oe.date(oe.date()+Math.round(K*g)),w)};if(C===h)return this.set(h,this.$M+g);if(C===f)return this.set(f,this.$y+g);if(C===u)return R(1);if(C===c)return R(7);var U=(_={},_[a]=r,_[l]=o,_[s]=t,_)[C]||1,q=this.$d.getTime()+g*U;return I.w(q,this)},b.subtract=function(g,m){return this.add(-1*g,m)},b.format=function(g){var m=this,_=this.$locale();if(!this.isValid())return _.invalidDate||y;var w=g||"YYYY-MM-DDTHH:mm:ssZ",C=I.z(this),R=this.$H,U=this.$m,q=this.$M,K=_.weekdays,oe=_.months,Pe=_.meridiem,be=function(v,Q,ne,Le){return v&&(v[Q]||v(m,w))||ne[Q].slice(0,Le)},He=function(v){return I.s(R%12||12,v,"0")},ve=Pe||function(v,Q,ne){var Le=v<12?"AM":"PM";return ne?Le.toLowerCase():Le};return w.replace(P,function(v,Q){return Q||function(ne){switch(ne){case"YY":return String(m.$y).slice(-2);case"YYYY":return I.s(m.$y,4,"0");case"M":return q+1;case"MM":return I.s(q+1,2,"0");case"MMM":return be(_.monthsShort,q,oe,3);case"MMMM":return be(oe,q);case"D":return m.$D;case"DD":return I.s(m.$D,2,"0");case"d":return String(m.$W);case"dd":return be(_.weekdaysMin,m.$W,K,2);case"ddd":return be(_.weekdaysShort,m.$W,K,3);case"dddd":return K[m.$W];case"H":return String(R);case"HH":return I.s(R,2,"0");case"h":return He(1);case"hh":return He(2);case"a":return ve(R,U,!0);case"A":return ve(R,U,!1);case"m":return String(U);case"mm":return I.s(U,2,"0");case"s":return String(m.$s);case"ss":return I.s(m.$s,2,"0");case"SSS":return I.s(m.$ms,3,"0");case"Z":return C}return null}(v)||C.replace(":","")})},b.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},b.diff=function(g,m,_){var w,C=this,R=I.p(m),U=B(g),q=(U.utcOffset()-this.utcOffset())*r,K=this-U,oe=function(){return I.m(C,U)};switch(R){case f:w=oe()/12;break;case h:w=oe();break;case d:w=oe()/3;break;case c:w=(K-q)/6048e5;break;case u:w=(K-q)/864e5;break;case l:w=K/o;break;case a:w=K/r;break;case s:w=K/t;break;default:w=K}return _?w:I.a(w)},b.daysInMonth=function(){return this.endOf(h).$D},b.$locale=function(){return z[this.$L]},b.locale=function(g,m){if(!g)return this.$L;var _=this.clone(),w=le(g,m,!0);return w&&(_.$L=w),_},b.clone=function(){return I.w(this.$d,this)},b.toDate=function(){return new Date(this.valueOf())},b.toJSON=function(){return this.isValid()?this.toISOString():null},b.toISOString=function(){return this.$d.toISOString()},b.toString=function(){return this.$d.toUTCString()},T}(),he=te.prototype;return B.prototype=he,[["$ms",n],["$s",s],["$m",a],["$H",l],["$W",u],["$M",h],["$y",f],["$D",p]].forEach(function(T){he[T[1]]=function(b){return this.$g(b,T[0],T[1])}}),B.extend=function(T,b){return T.$i||(T(b,te,B),T.$i=!0),B},B.locale=le,B.isDayjs=V,B.unix=function(T){return B(1e3*T)},B.en=z[O],B.Ls=z,B.p={},B})})(Va);var Yf=Va.exports;const Sn=ja(Yf);/*! *****************************************************************************
3558
+ `}get clearElement(){return this.$.clearButton}ready(){super.ready(),this.addController(new Hf(this,t=>{this._setInputElement(t),this._setFocusElement(t),this.stateTarget=t,this.ariaTarget=t},{uniqueIdPrefix:"search-input"})),this.addController(new Lf(this.inputElement,this._labelController)),this._tooltipController=new xa(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}}ye(Gf);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-aLuAR06s.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-Yja8d8Zz.cjs")).then(({default:i})=>{!customElements.get("player-account-general-confirmation-modal")&&customElements.define("player-account-general-confirmation-modal",i.element)})}var Wf=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function ja(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Va={exports:{}};(function(e,i){(function(t,r){e.exports=r()})(Wf,function(){var t=1e3,r=6e4,o=36e5,n="millisecond",s="second",a="minute",l="hour",u="day",c="week",h="month",d="quarter",f="year",p="date",y="Invalid Date",x=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,P=/\[([^\]]+)]|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,D={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(T){var b=["th","st","nd","rd"],g=T%100;return"["+T+(b[(g-20)%10]||b[g]||b[0])+"]"}},A=function(T,b,g){var m=String(T);return!m||m.length>=b?T:""+Array(b+1-m.length).join(g)+T},k={s:A,z:function(T){var b=-T.utcOffset(),g=Math.abs(b),m=Math.floor(g/60),_=g%60;return(b<=0?"+":"-")+A(m,2,"0")+":"+A(_,2,"0")},m:function T(b,g){if(b.date()<g.date())return-T(g,b);var m=12*(g.year()-b.year())+(g.month()-b.month()),_=b.clone().add(m,h),w=g-_<0,C=b.clone().add(m+(w?-1:1),h);return+(-(m+(g-_)/(w?_-C:C-_))||0)},a:function(T){return T<0?Math.ceil(T)||0:Math.floor(T)},p:function(T){return{M:h,y:f,w:c,d:u,D:p,h:l,m:a,s,ms:n,Q:d}[T]||String(T||"").toLowerCase().replace(/s$/,"")},u:function(T){return T===void 0}},O="en",z={};z[O]=D;var W="$isDayjsObject",V=function(T){return T instanceof te||!(!T||!T[W])},le=function T(b,g,m){var _;if(!b)return O;if(typeof b=="string"){var w=b.toLowerCase();z[w]&&(_=w),g&&(z[w]=g,_=w);var C=b.split("-");if(!_&&C.length>1)return T(C[0])}else{var R=b.name;z[R]=b,_=R}return!m&&_&&(O=_),_||!m&&O},B=function(T,b){if(V(T))return T.clone();var g=typeof b=="object"?b:{};return g.date=T,g.args=arguments,new te(g)},I=k;I.l=le,I.i=V,I.w=function(T,b){return B(T,{locale:b.$L,utc:b.$u,x:b.$x,$offset:b.$offset})};var te=function(){function T(g){this.$L=le(g.locale,null,!0),this.parse(g),this.$x=this.$x||g.x||{},this[W]=!0}var b=T.prototype;return b.parse=function(g){this.$d=function(m){var _=m.date,w=m.utc;if(_===null)return new Date(NaN);if(I.u(_))return new Date;if(_ instanceof Date)return new Date(_);if(typeof _=="string"&&!/Z$/i.test(_)){var C=_.match(x);if(C){var R=C[2]-1||0,U=(C[7]||"0").substring(0,3);return w?new Date(Date.UTC(C[1],R,C[3]||1,C[4]||0,C[5]||0,C[6]||0,U)):new Date(C[1],R,C[3]||1,C[4]||0,C[5]||0,C[6]||0,U)}}return new Date(_)}(g),this.init()},b.init=function(){var g=this.$d;this.$y=g.getFullYear(),this.$M=g.getMonth(),this.$D=g.getDate(),this.$W=g.getDay(),this.$H=g.getHours(),this.$m=g.getMinutes(),this.$s=g.getSeconds(),this.$ms=g.getMilliseconds()},b.$utils=function(){return I},b.isValid=function(){return this.$d.toString()!==y},b.isSame=function(g,m){var _=B(g);return this.startOf(m)<=_&&_<=this.endOf(m)},b.isAfter=function(g,m){return B(g)<this.startOf(m)},b.isBefore=function(g,m){return this.endOf(m)<B(g)},b.$g=function(g,m,_){return I.u(g)?this[m]:this.set(_,g)},b.unix=function(){return Math.floor(this.valueOf()/1e3)},b.valueOf=function(){return this.$d.getTime()},b.startOf=function(g,m){var _=this,w=!!I.u(m)||m,C=I.p(g),R=function(ve,v){var Q=I.w(_.$u?Date.UTC(_.$y,v,ve):new Date(_.$y,v,ve),_);return w?Q:Q.endOf(u)},U=function(ve,v){return I.w(_.toDate()[ve].apply(_.toDate("s"),(w?[0,0,0,0]:[23,59,59,999]).slice(v)),_)},q=this.$W,K=this.$M,oe=this.$D,Pe="set"+(this.$u?"UTC":"");switch(C){case f:return w?R(1,0):R(31,11);case h:return w?R(1,K):R(0,K+1);case c:var be=this.$locale().weekStart||0,He=(q<be?q+7:q)-be;return R(w?oe-He:oe+(6-He),K);case u:case p:return U(Pe+"Hours",0);case l:return U(Pe+"Minutes",1);case a:return U(Pe+"Seconds",2);case s:return U(Pe+"Milliseconds",3);default:return this.clone()}},b.endOf=function(g){return this.startOf(g,!1)},b.$set=function(g,m){var _,w=I.p(g),C="set"+(this.$u?"UTC":""),R=(_={},_[u]=C+"Date",_[p]=C+"Date",_[h]=C+"Month",_[f]=C+"FullYear",_[l]=C+"Hours",_[a]=C+"Minutes",_[s]=C+"Seconds",_[n]=C+"Milliseconds",_)[w],U=w===u?this.$D+(m-this.$W):m;if(w===h||w===f){var q=this.clone().set(p,1);q.$d[R](U),q.init(),this.$d=q.set(p,Math.min(this.$D,q.daysInMonth())).$d}else R&&this.$d[R](U);return this.init(),this},b.set=function(g,m){return this.clone().$set(g,m)},b.get=function(g){return this[I.p(g)]()},b.add=function(g,m){var _,w=this;g=Number(g);var C=I.p(m),R=function(K){var oe=B(w);return I.w(oe.date(oe.date()+Math.round(K*g)),w)};if(C===h)return this.set(h,this.$M+g);if(C===f)return this.set(f,this.$y+g);if(C===u)return R(1);if(C===c)return R(7);var U=(_={},_[a]=r,_[l]=o,_[s]=t,_)[C]||1,q=this.$d.getTime()+g*U;return I.w(q,this)},b.subtract=function(g,m){return this.add(-1*g,m)},b.format=function(g){var m=this,_=this.$locale();if(!this.isValid())return _.invalidDate||y;var w=g||"YYYY-MM-DDTHH:mm:ssZ",C=I.z(this),R=this.$H,U=this.$m,q=this.$M,K=_.weekdays,oe=_.months,Pe=_.meridiem,be=function(v,Q,ne,Le){return v&&(v[Q]||v(m,w))||ne[Q].slice(0,Le)},He=function(v){return I.s(R%12||12,v,"0")},ve=Pe||function(v,Q,ne){var Le=v<12?"AM":"PM";return ne?Le.toLowerCase():Le};return w.replace(P,function(v,Q){return Q||function(ne){switch(ne){case"YY":return String(m.$y).slice(-2);case"YYYY":return I.s(m.$y,4,"0");case"M":return q+1;case"MM":return I.s(q+1,2,"0");case"MMM":return be(_.monthsShort,q,oe,3);case"MMMM":return be(oe,q);case"D":return m.$D;case"DD":return I.s(m.$D,2,"0");case"d":return String(m.$W);case"dd":return be(_.weekdaysMin,m.$W,K,2);case"ddd":return be(_.weekdaysShort,m.$W,K,3);case"dddd":return K[m.$W];case"H":return String(R);case"HH":return I.s(R,2,"0");case"h":return He(1);case"hh":return He(2);case"a":return ve(R,U,!0);case"A":return ve(R,U,!1);case"m":return String(U);case"mm":return I.s(U,2,"0");case"s":return String(m.$s);case"ss":return I.s(m.$s,2,"0");case"SSS":return I.s(m.$ms,3,"0");case"Z":return C}return null}(v)||C.replace(":","")})},b.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},b.diff=function(g,m,_){var w,C=this,R=I.p(m),U=B(g),q=(U.utcOffset()-this.utcOffset())*r,K=this-U,oe=function(){return I.m(C,U)};switch(R){case f:w=oe()/12;break;case h:w=oe();break;case d:w=oe()/3;break;case c:w=(K-q)/6048e5;break;case u:w=(K-q)/864e5;break;case l:w=K/o;break;case a:w=K/r;break;case s:w=K/t;break;default:w=K}return _?w:I.a(w)},b.daysInMonth=function(){return this.endOf(h).$D},b.$locale=function(){return z[this.$L]},b.locale=function(g,m){if(!g)return this.$L;var _=this.clone(),w=le(g,m,!0);return w&&(_.$L=w),_},b.clone=function(){return I.w(this.$d,this)},b.toDate=function(){return new Date(this.valueOf())},b.toJSON=function(){return this.isValid()?this.toISOString():null},b.toISOString=function(){return this.$d.toISOString()},b.toString=function(){return this.$d.toUTCString()},T}(),he=te.prototype;return B.prototype=he,[["$ms",n],["$s",s],["$m",a],["$H",l],["$W",u],["$M",h],["$y",f],["$D",p]].forEach(function(T){he[T[1]]=function(b){return this.$g(b,T[0],T[1])}}),B.extend=function(T,b){return T.$i||(T(b,te,B),T.$i=!0),B},B.locale=le,B.isDayjs=V,B.unix=function(T){return B(1e3*T)},B.en=z[O],B.Ls=z,B.p={},B})})(Va);var Yf=Va.exports;const Sn=ja(Yf);/*! *****************************************************************************
3559
3559
  Copyright (c) Microsoft Corporation.
3560
3560
 
3561
3561
  Permission to use, copy, modify, and/or distribute this software for any
@@ -3572,4 +3572,4 @@ PERFORMANCE OF THIS SOFTWARE.
3572
3572
  `+t.map(function(r,o){return o+1+") "+r.toString()}).join(`
3573
3573
  `):"",this.name="UnsubscriptionError",this.errors=t}});function jr(e,i){if(e){var t=e.indexOf(i);0<=t&&e.splice(t,1)}}var Ni=function(){function e(i){this.initialTeardown=i,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var i,t,r,o,n;if(!this.closed){this.closed=!0;var s=this._parentage;if(s)if(this._parentage=null,Array.isArray(s))try{for(var a=Rr(s),l=a.next();!l.done;l=a.next()){var u=l.value;u.remove(this)}}catch(y){i={error:y}}finally{try{l&&!l.done&&(t=a.return)&&t.call(a)}finally{if(i)throw i.error}}else s.remove(this);var c=this.initialTeardown;if(Ce(c))try{c()}catch(y){n=y instanceof lr?y.errors:[y]}var h=this._finalizers;if(h){this._finalizers=null;try{for(var d=Rr(h),f=d.next();!f.done;f=d.next()){var p=f.value;try{Pn(p)}catch(y){n=n!=null?n:[],y instanceof lr?n=Ur(Ur([],zr(n)),zr(y.errors)):n.push(y)}}}catch(y){r={error:y}}finally{try{f&&!f.done&&(o=d.return)&&o.call(d)}finally{if(r)throw r.error}}}if(n)throw new lr(n)}},e.prototype.add=function(i){var t;if(i&&i!==this)if(this.closed)Pn(i);else{if(i instanceof e){if(i.closed||i._hasParent(this))return;i._addParent(this)}(this._finalizers=(t=this._finalizers)!==null&&t!==void 0?t:[]).push(i)}},e.prototype._hasParent=function(i){var t=this._parentage;return t===i||Array.isArray(t)&&t.includes(i)},e.prototype._addParent=function(i){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(i),t):t?[t,i]:i},e.prototype._removeParent=function(i){var t=this._parentage;t===i?this._parentage=null:Array.isArray(t)&&jr(t,i)},e.prototype.remove=function(i){var t=this._finalizers;t&&jr(t,i),i instanceof e&&i._removeParent(this)},e.EMPTY=function(){var i=new e;return i.closed=!0,i}(),e}(),Wa=Ni.EMPTY;function Ya(e){return e instanceof Ni||e&&"closed"in e&&Ce(e.remove)&&Ce(e.add)&&Ce(e.unsubscribe)}function Pn(e){Ce(e)?e():e.unsubscribe()}var qf={Promise:void 0},Xf={setTimeout:function(e,i){for(var t=[],r=2;r<arguments.length;r++)t[r-2]=arguments[r];return setTimeout.apply(void 0,Ur([e,i],zr(t)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function Kf(e){Xf.setTimeout(function(){throw e})}function Dn(){}function hi(e){e()}var qa=function(e){Jt(i,e);function i(t){var r=e.call(this)||this;return r.isStopped=!1,t?(r.destination=t,Ya(t)&&t.add(r)):r.destination=Qf,r}return i.create=function(t,r,o){return new Vr(t,r,o)},i.prototype.next=function(t){this.isStopped||this._next(t)},i.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},i.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},i.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},i.prototype._next=function(t){this.destination.next(t)},i.prototype._error=function(t){try{this.destination.error(t)}finally{this.unsubscribe()}},i.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},i}(Ni),Jf=function(){function e(i){this.partialObserver=i}return e.prototype.next=function(i){var t=this.partialObserver;if(t.next)try{t.next(i)}catch(r){ni(r)}},e.prototype.error=function(i){var t=this.partialObserver;if(t.error)try{t.error(i)}catch(r){ni(r)}else ni(i)},e.prototype.complete=function(){var i=this.partialObserver;if(i.complete)try{i.complete()}catch(t){ni(t)}},e}(),Vr=function(e){Jt(i,e);function i(t,r,o){var n=e.call(this)||this,s;return Ce(t)||!t?s={next:t!=null?t:void 0,error:r!=null?r:void 0,complete:o!=null?o:void 0}:s=t,n.destination=new Jf(s),n}return i}(qa);function ni(e){Kf(e)}function Zf(e){throw e}var Qf={closed:!0,next:Dn,error:Zf,complete:Dn},ep=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function tp(e){return e}function ip(e){return e.length===0?tp:e.length===1?e[0]:function(t){return e.reduce(function(r,o){return o(r)},t)}}var On=function(){function e(i){i&&(this._subscribe=i)}return e.prototype.lift=function(i){var t=new e;return t.source=this,t.operator=i,t},e.prototype.subscribe=function(i,t,r){var o=this,n=op(i)?i:new Vr(i,t,r);return hi(function(){var s=o,a=s.operator,l=s.source;n.add(a?a.call(n,l):l?o._subscribe(n):o._trySubscribe(n))}),n},e.prototype._trySubscribe=function(i){try{return this._subscribe(i)}catch(t){i.error(t)}},e.prototype.forEach=function(i,t){var r=this;return t=kn(t),new t(function(o,n){var s=new Vr({next:function(a){try{i(a)}catch(l){n(l),s.unsubscribe()}},error:n,complete:o});r.subscribe(s)})},e.prototype._subscribe=function(i){var t;return(t=this.source)===null||t===void 0?void 0:t.subscribe(i)},e.prototype[ep]=function(){return this},e.prototype.pipe=function(){for(var i=[],t=0;t<arguments.length;t++)i[t]=arguments[t];return ip(i)(this)},e.prototype.toPromise=function(i){var t=this;return i=kn(i),new i(function(r,o){var n;t.subscribe(function(s){return n=s},function(s){return o(s)},function(){return r(n)})})},e.create=function(i){return new e(i)},e}();function kn(e){var i;return(i=e!=null?e:qf.Promise)!==null&&i!==void 0?i:Promise}function rp(e){return e&&Ce(e.next)&&Ce(e.error)&&Ce(e.complete)}function op(e){return e&&e instanceof qa||rp(e)&&Ya(e)}var np=Ga(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Xa=function(e){Jt(i,e);function i(){var t=e.call(this)||this;return t.closed=!1,t.currentObservers=null,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return i.prototype.lift=function(t){var r=new Mn(this,this);return r.operator=t,r},i.prototype._throwIfClosed=function(){if(this.closed)throw new np},i.prototype.next=function(t){var r=this;hi(function(){var o,n;if(r._throwIfClosed(),!r.isStopped){r.currentObservers||(r.currentObservers=Array.from(r.observers));try{for(var s=Rr(r.currentObservers),a=s.next();!a.done;a=s.next()){var l=a.value;l.next(t)}}catch(u){o={error:u}}finally{try{a&&!a.done&&(n=s.return)&&n.call(s)}finally{if(o)throw o.error}}}})},i.prototype.error=function(t){var r=this;hi(function(){if(r._throwIfClosed(),!r.isStopped){r.hasError=r.isStopped=!0,r.thrownError=t;for(var o=r.observers;o.length;)o.shift().error(t)}})},i.prototype.complete=function(){var t=this;hi(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var r=t.observers;r.length;)r.shift().complete()}})},i.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(i.prototype,"observed",{get:function(){var t;return((t=this.observers)===null||t===void 0?void 0:t.length)>0},enumerable:!1,configurable:!0}),i.prototype._trySubscribe=function(t){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,t)},i.prototype._subscribe=function(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)},i.prototype._innerSubscribe=function(t){var r=this,o=this,n=o.hasError,s=o.isStopped,a=o.observers;return n||s?Wa:(this.currentObservers=null,a.push(t),new Ni(function(){r.currentObservers=null,jr(a,t)}))},i.prototype._checkFinalizedStatuses=function(t){var r=this,o=r.hasError,n=r.thrownError,s=r.isStopped;o?t.error(n):s&&t.complete()},i.prototype.asObservable=function(){var t=new On;return t.source=this,t},i.create=function(t,r){return new Mn(t,r)},i}(On),Mn=function(e){Jt(i,e);function i(t,r){var o=e.call(this)||this;return o.destination=t,o.source=r,o}return i.prototype.next=function(t){var r,o;(o=(r=this.destination)===null||r===void 0?void 0:r.next)===null||o===void 0||o.call(r,t)},i.prototype.error=function(t){var r,o;(o=(r=this.destination)===null||r===void 0?void 0:r.error)===null||o===void 0||o.call(r,t)},i.prototype.complete=function(){var t,r;(r=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||r===void 0||r.call(t)},i.prototype._subscribe=function(t){var r,o;return(o=(r=this.source)===null||r===void 0?void 0:r.subscribe(t))!==null&&o!==void 0?o:Wa},i}(Xa),Ka={now:function(){return(Ka.delegate||Date).now()},delegate:void 0},sp=function(e){Jt(i,e);function i(t,r,o){t===void 0&&(t=1/0),r===void 0&&(r=1/0),o===void 0&&(o=Ka);var n=e.call(this)||this;return n._bufferSize=t,n._windowTime=r,n._timestampProvider=o,n._buffer=[],n._infiniteTimeWindow=!0,n._infiniteTimeWindow=r===1/0,n._bufferSize=Math.max(1,t),n._windowTime=Math.max(1,r),n}return i.prototype.next=function(t){var r=this,o=r.isStopped,n=r._buffer,s=r._infiniteTimeWindow,a=r._timestampProvider,l=r._windowTime;o||(n.push(t),!s&&n.push(a.now()+l)),this._trimBuffer(),e.prototype.next.call(this,t)},i.prototype._subscribe=function(t){this._throwIfClosed(),this._trimBuffer();for(var r=this._innerSubscribe(t),o=this,n=o._infiniteTimeWindow,s=o._buffer,a=s.slice(),l=0;l<a.length&&!t.closed;l+=n?1:2)t.next(a[l]);return this._checkFinalizedStatuses(t),r},i.prototype._trimBuffer=function(){var t=this,r=t._bufferSize,o=t._timestampProvider,n=t._buffer,s=t._infiniteTimeWindow,a=(s?1:2)*r;if(r<1/0&&a<n.length&&n.splice(0,n.length-a),!s){for(var l=o.now(),u=0,c=1;c<n.length&&n[c]<=l;c+=2)u=c;u&&n.splice(0,u+1)}},i}(Xa);const In=[],Nn={},ap=(e,i=0)=>{if(In.indexOf(e)==-1){const t=new sp(i);Nn[e]=t,In.push(e)}return Nn[e]},Ze=[];function lp(e,i){return{subscribe:Hi(e,i).subscribe}}function Hi(e,i=re){let t;const r=new Set;function o(a){if(eo(e,a)&&(e=a,t)){const l=!Ze.length;for(const u of r)u[1](),Ze.push(u,e);if(l){for(let u=0;u<Ze.length;u+=2)Ze[u][0](Ze[u+1]);Ze.length=0}}}function n(a){o(a(e))}function s(a,l=re){const u=[a,l];return r.add(u),r.size===1&&(t=i(o,n)||re),a(e),()=>{r.delete(u),r.size===0&&t&&(t(),t=null)}}return{set:o,update:n,subscribe:s}}function vt(e,i,t){const r=!Array.isArray(e),o=r?[e]:e;if(!o.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const n=i.length<2;return lp(t,(s,a)=>{let l=!1;const u=[];let c=0,h=re;const d=()=>{if(c)return;h();const p=i(r?u[0]:u,s,a);n?s(p):h=Si(p)?p:re},f=o.map((p,y)=>as(p,x=>{u[y]=x,c&=~(1<<y),l&&d()},()=>{c|=1<<y}));return l=!0,d(),function(){Se(f),h(),l=!1}})}var up=function(i){return cp(i)&&!hp(i)};function cp(e){return!!e&&typeof e=="object"}function hp(e){var i=Object.prototype.toString.call(e);return i==="[object RegExp]"||i==="[object Date]"||pp(e)}var dp=typeof Symbol=="function"&&Symbol.for,fp=dp?Symbol.for("react.element"):60103;function pp(e){return e.$$typeof===fp}function mp(e){return Array.isArray(e)?[]:{}}function qt(e,i){return i.clone!==!1&&i.isMergeableObject(e)?pt(mp(e),e,i):e}function _p(e,i,t){return e.concat(i).map(function(r){return qt(r,t)})}function gp(e,i){if(!i.customMerge)return pt;var t=i.customMerge(e);return typeof t=="function"?t:pt}function yp(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(i){return Object.propertyIsEnumerable.call(e,i)}):[]}function Hn(e){return Object.keys(e).concat(yp(e))}function Ja(e,i){try{return i in e}catch(t){return!1}}function bp(e,i){return Ja(e,i)&&!(Object.hasOwnProperty.call(e,i)&&Object.propertyIsEnumerable.call(e,i))}function vp(e,i,t){var r={};return t.isMergeableObject(e)&&Hn(e).forEach(function(o){r[o]=qt(e[o],t)}),Hn(i).forEach(function(o){bp(e,o)||(Ja(e,o)&&t.isMergeableObject(i[o])?r[o]=gp(o,t)(e[o],i[o],t):r[o]=qt(i[o],t))}),r}function pt(e,i,t){t=t||{},t.arrayMerge=t.arrayMerge||_p,t.isMergeableObject=t.isMergeableObject||up,t.cloneUnlessOtherwiseSpecified=qt;var r=Array.isArray(i),o=Array.isArray(e),n=r===o;return n?r?t.arrayMerge(e,i,t):vp(e,i,t):qt(i,t)}pt.all=function(i,t){if(!Array.isArray(i))throw new Error("first argument should be an array");return i.reduce(function(r,o){return pt(r,o,t)},{})};var wp=pt,xp=wp;const Ep=ja(xp);var Gr=function(e,i){return Gr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])},Gr(e,i)};function Li(e,i){if(typeof i!="function"&&i!==null)throw new TypeError("Class extends value "+String(i)+" is not a constructor or null");Gr(e,i);function t(){this.constructor=e}e.prototype=i===null?Object.create(i):(t.prototype=i.prototype,new t)}var _e=function(){return _e=Object.assign||function(i){for(var t,r=1,o=arguments.length;r<o;r++){t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(i[n]=t[n])}return i},_e.apply(this,arguments)};function Tp(e,i){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&i.indexOf(r)<0&&(t[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)i.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(t[r[o]]=e[r[o]]);return t}function ur(e,i,t){if(t||arguments.length===2)for(var r=0,o=i.length,n;r<o;r++)(n||!(r in i))&&(n||(n=Array.prototype.slice.call(i,0,r)),n[r]=i[r]);return e.concat(n||Array.prototype.slice.call(i))}function cr(e,i){var t=i&&i.cache?i.cache:kp,r=i&&i.serializer?i.serializer:Dp,o=i&&i.strategy?i.strategy:Sp;return o(e,{cache:t,serializer:r})}function Cp(e){return e==null||typeof e=="number"||typeof e=="boolean"}function Ap(e,i,t,r){var o=Cp(r)?r:t(r),n=i.get(o);return typeof n=="undefined"&&(n=e.call(this,r),i.set(o,n)),n}function Za(e,i,t){var r=Array.prototype.slice.call(arguments,3),o=t(r),n=i.get(o);return typeof n=="undefined"&&(n=e.apply(this,r),i.set(o,n)),n}function Qa(e,i,t,r,o){return t.bind(i,e,r,o)}function Sp(e,i){var t=e.length===1?Ap:Za;return Qa(e,this,t,i.cache.create(),i.serializer)}function Pp(e,i){return Qa(e,this,Za,i.cache.create(),i.serializer)}var Dp=function(){return JSON.stringify(arguments)},Op=function(){function e(){this.cache=Object.create(null)}return e.prototype.get=function(i){return this.cache[i]},e.prototype.set=function(i,t){this.cache[i]=t},e}(),kp={create:function(){return new Op}},hr={variadic:Pp},Ti=function(){return Ti=Object.assign||function(i){for(var t,r=1,o=arguments.length;r<o;r++){t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(i[n]=t[n])}return i},Ti.apply(this,arguments)};var N;(function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(N||(N={}));var j;(function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"})(j||(j={}));var mt;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(mt||(mt={}));function Ln(e){return e.type===j.literal}function Mp(e){return e.type===j.argument}function el(e){return e.type===j.number}function tl(e){return e.type===j.date}function il(e){return e.type===j.time}function rl(e){return e.type===j.select}function ol(e){return e.type===j.plural}function Ip(e){return e.type===j.pound}function nl(e){return e.type===j.tag}function sl(e){return!!(e&&typeof e=="object"&&e.type===mt.number)}function Wr(e){return!!(e&&typeof e=="object"&&e.type===mt.dateTime)}var al=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Np=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function Hp(e){var i={};return e.replace(Np,function(t){var r=t.length;switch(t[0]){case"G":i.era=r===4?"long":r===5?"narrow":"short";break;case"y":i.year=r===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":i.month=["numeric","2-digit","short","long","narrow"][r-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":i.day=["numeric","2-digit"][r-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":i.weekday=r===4?"long":r===5?"narrow":"short";break;case"e":if(r<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][r-4];break;case"c":if(r<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][r-4];break;case"a":i.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":i.hourCycle="h12",i.hour=["numeric","2-digit"][r-1];break;case"H":i.hourCycle="h23",i.hour=["numeric","2-digit"][r-1];break;case"K":i.hourCycle="h11",i.hour=["numeric","2-digit"][r-1];break;case"k":i.hourCycle="h24",i.hour=["numeric","2-digit"][r-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":i.minute=["numeric","2-digit"][r-1];break;case"s":i.second=["numeric","2-digit"][r-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":i.timeZoneName=r<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),i}var G=function(){return G=Object.assign||function(i){for(var t,r=1,o=arguments.length;r<o;r++){t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(i[n]=t[n])}return i},G.apply(this,arguments)};var Lp=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function Fp(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var i=e.split(Lp).filter(function(d){return d.length>0}),t=[],r=0,o=i;r<o.length;r++){var n=o[r],s=n.split("/");if(s.length===0)throw new Error("Invalid number skeleton");for(var a=s[0],l=s.slice(1),u=0,c=l;u<c.length;u++){var h=c[u];if(h.length===0)throw new Error("Invalid number skeleton")}t.push({stem:a,options:l})}return t}function $p(e){return e.replace(/^(.*?)-/,"")}var Fn=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,ll=/^(@+)?(\+|#+)?[rs]?$/g,Bp=/(\*)(0+)|(#+)(0+)|(0+)/g,ul=/^(0+)$/;function $n(e){var i={};return e[e.length-1]==="r"?i.roundingPriority="morePrecision":e[e.length-1]==="s"&&(i.roundingPriority="lessPrecision"),e.replace(ll,function(t,r,o){return typeof o!="string"?(i.minimumSignificantDigits=r.length,i.maximumSignificantDigits=r.length):o==="+"?i.minimumSignificantDigits=r.length:r[0]==="#"?i.maximumSignificantDigits=r.length:(i.minimumSignificantDigits=r.length,i.maximumSignificantDigits=r.length+(typeof o=="string"?o.length:0)),""}),i}function cl(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function Rp(e){var i;if(e[0]==="E"&&e[1]==="E"?(i={notation:"engineering"},e=e.slice(2)):e[0]==="E"&&(i={notation:"scientific"},e=e.slice(1)),i){var t=e.slice(0,2);if(t==="+!"?(i.signDisplay="always",e=e.slice(2)):t==="+?"&&(i.signDisplay="exceptZero",e=e.slice(2)),!ul.test(e))throw new Error("Malformed concise eng/scientific notation");i.minimumIntegerDigits=e.length}return i}function Bn(e){var i={},t=cl(e);return t||i}function zp(e){for(var i={},t=0,r=e;t<r.length;t++){var o=r[t];switch(o.stem){case"percent":case"%":i.style="percent";continue;case"%x100":i.style="percent",i.scale=100;continue;case"currency":i.style="currency",i.currency=o.options[0];continue;case"group-off":case",_":i.useGrouping=!1;continue;case"precision-integer":case".":i.maximumFractionDigits=0;continue;case"measure-unit":case"unit":i.style="unit",i.unit=$p(o.options[0]);continue;case"compact-short":case"K":i.notation="compact",i.compactDisplay="short";continue;case"compact-long":case"KK":i.notation="compact",i.compactDisplay="long";continue;case"scientific":i=G(G(G({},i),{notation:"scientific"}),o.options.reduce(function(l,u){return G(G({},l),Bn(u))},{}));continue;case"engineering":i=G(G(G({},i),{notation:"engineering"}),o.options.reduce(function(l,u){return G(G({},l),Bn(u))},{}));continue;case"notation-simple":i.notation="standard";continue;case"unit-width-narrow":i.currencyDisplay="narrowSymbol",i.unitDisplay="narrow";continue;case"unit-width-short":i.currencyDisplay="code",i.unitDisplay="short";continue;case"unit-width-full-name":i.currencyDisplay="name",i.unitDisplay="long";continue;case"unit-width-iso-code":i.currencyDisplay="symbol";continue;case"scale":i.scale=parseFloat(o.options[0]);continue;case"rounding-mode-floor":i.roundingMode="floor";continue;case"rounding-mode-ceiling":i.roundingMode="ceil";continue;case"rounding-mode-down":i.roundingMode="trunc";continue;case"rounding-mode-up":i.roundingMode="expand";continue;case"rounding-mode-half-even":i.roundingMode="halfEven";continue;case"rounding-mode-half-down":i.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":i.roundingMode="halfExpand";continue;case"integer-width":if(o.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");o.options[0].replace(Bp,function(l,u,c,h,d,f){if(u)i.minimumIntegerDigits=c.length;else{if(h&&d)throw new Error("We currently do not support maximum integer digits");if(f)throw new Error("We currently do not support exact integer digits")}return""});continue}if(ul.test(o.stem)){i.minimumIntegerDigits=o.stem.length;continue}if(Fn.test(o.stem)){if(o.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(Fn,function(l,u,c,h,d,f){return c==="*"?i.minimumFractionDigits=u.length:h&&h[0]==="#"?i.maximumFractionDigits=h.length:d&&f?(i.minimumFractionDigits=d.length,i.maximumFractionDigits=d.length+f.length):(i.minimumFractionDigits=u.length,i.maximumFractionDigits=u.length),""});var n=o.options[0];n==="w"?i=G(G({},i),{trailingZeroDisplay:"stripIfInteger"}):n&&(i=G(G({},i),$n(n)));continue}if(ll.test(o.stem)){i=G(G({},i),$n(o.stem));continue}var s=cl(o.stem);s&&(i=G(G({},i),s));var a=Rp(o.stem);a&&(i=G(G({},i),a))}return i}var si={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function Up(e,i){for(var t="",r=0;r<e.length;r++){var o=e.charAt(r);if(o==="j"){for(var n=0;r+1<e.length&&e.charAt(r+1)===o;)n++,r++;var s=1+(n&1),a=n<2?1:3+(n>>1),l="a",u=jp(i);for((u=="H"||u=="k")&&(a=0);a-- >0;)t+=l;for(;s-- >0;)t=u+t}else o==="J"?t+="H":t+=o}return t}function jp(e){var i=e.hourCycle;if(i===void 0&&e.hourCycles&&e.hourCycles.length&&(i=e.hourCycles[0]),i)switch(i){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var t=e.language,r;t!=="root"&&(r=e.maximize().region);var o=si[r||""]||si[t||""]||si["".concat(t,"-001")]||si["001"];return o[0]}var dr,Vp=new RegExp("^".concat(al.source,"*")),Gp=new RegExp("".concat(al.source,"*$"));function H(e,i){return{start:e,end:i}}var Wp=!!String.prototype.startsWith&&"_a".startsWith("a",1),Yp=!!String.fromCodePoint,qp=!!Object.fromEntries,Xp=!!String.prototype.codePointAt,Kp=!!String.prototype.trimStart,Jp=!!String.prototype.trimEnd,Zp=!!Number.isSafeInteger,Qp=Zp?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Yr=!0;try{var em=dl("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Yr=((dr=em.exec("a"))===null||dr===void 0?void 0:dr[0])==="a"}catch(e){Yr=!1}var Rn=Wp?function(i,t,r){return i.startsWith(t,r)}:function(i,t,r){return i.slice(r,r+t.length)===t},qr=Yp?String.fromCodePoint:function(){for(var i=[],t=0;t<arguments.length;t++)i[t]=arguments[t];for(var r="",o=i.length,n=0,s;o>n;){if(s=i[n++],s>1114111)throw RangeError(s+" is not a valid code point");r+=s<65536?String.fromCharCode(s):String.fromCharCode(((s-=65536)>>10)+55296,s%1024+56320)}return r},zn=qp?Object.fromEntries:function(i){for(var t={},r=0,o=i;r<o.length;r++){var n=o[r],s=n[0],a=n[1];t[s]=a}return t},hl=Xp?function(i,t){return i.codePointAt(t)}:function(i,t){var r=i.length;if(!(t<0||t>=r)){var o=i.charCodeAt(t),n;return o<55296||o>56319||t+1===r||(n=i.charCodeAt(t+1))<56320||n>57343?o:(o-55296<<10)+(n-56320)+65536}},tm=Kp?function(i){return i.trimStart()}:function(i){return i.replace(Vp,"")},im=Jp?function(i){return i.trimEnd()}:function(i){return i.replace(Gp,"")};function dl(e,i){return new RegExp(e,i)}var Xr;if(Yr){var Un=dl("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Xr=function(i,t){var r;Un.lastIndex=t;var o=Un.exec(i);return(r=o[1])!==null&&r!==void 0?r:""}}else Xr=function(i,t){for(var r=[];;){var o=hl(i,t);if(o===void 0||fl(o)||sm(o))break;r.push(o),t+=o>=65536?2:1}return qr.apply(void 0,r)};var rm=function(){function e(i,t){t===void 0&&(t={}),this.message=i,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(i,t,r){for(var o=[];!this.isEOF();){var n=this.char();if(n===123){var s=this.parseArgument(i,r);if(s.err)return s;o.push(s.val)}else{if(n===125&&i>0)break;if(n===35&&(t==="plural"||t==="selectordinal")){var a=this.clonePosition();this.bump(),o.push({type:j.pound,location:H(a,this.clonePosition())})}else if(n===60&&!this.ignoreTag&&this.peek()===47){if(r)break;return this.error(N.UNMATCHED_CLOSING_TAG,H(this.clonePosition(),this.clonePosition()))}else if(n===60&&!this.ignoreTag&&Kr(this.peek()||0)){var s=this.parseTag(i,t);if(s.err)return s;o.push(s.val)}else{var s=this.parseLiteral(i,t);if(s.err)return s;o.push(s.val)}}}return{val:o,err:null}},e.prototype.parseTag=function(i,t){var r=this.clonePosition();this.bump();var o=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:j.literal,value:"<".concat(o,"/>"),location:H(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var n=this.parseMessage(i+1,t,!0);if(n.err)return n;var s=n.val,a=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Kr(this.char()))return this.error(N.INVALID_TAG,H(a,this.clonePosition()));var l=this.clonePosition(),u=this.parseTagName();return o!==u?this.error(N.UNMATCHED_CLOSING_TAG,H(l,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:j.tag,value:o,children:s,location:H(r,this.clonePosition())},err:null}:this.error(N.INVALID_TAG,H(a,this.clonePosition())))}else return this.error(N.UNCLOSED_TAG,H(r,this.clonePosition()))}else return this.error(N.INVALID_TAG,H(r,this.clonePosition()))},e.prototype.parseTagName=function(){var i=this.offset();for(this.bump();!this.isEOF()&&nm(this.char());)this.bump();return this.message.slice(i,this.offset())},e.prototype.parseLiteral=function(i,t){for(var r=this.clonePosition(),o="";;){var n=this.tryParseQuote(t);if(n){o+=n;continue}var s=this.tryParseUnquoted(i,t);if(s){o+=s;continue}var a=this.tryParseLeftAngleBracket();if(a){o+=a;continue}break}var l=H(r,this.clonePosition());return{val:{type:j.literal,value:o,location:l},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!om(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(i){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(i==="plural"||i==="selectordinal")break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(r===39)if(this.peek()===39)t.push(39),this.bump();else{this.bump();break}else t.push(r);this.bump()}return qr.apply(void 0,t)},e.prototype.tryParseUnquoted=function(i,t){if(this.isEOF())return null;var r=this.char();return r===60||r===123||r===35&&(t==="plural"||t==="selectordinal")||r===125&&i>0?null:(this.bump(),qr(r))},e.prototype.parseArgument=function(i,t){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(N.EXPECT_ARGUMENT_CLOSING_BRACE,H(r,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(N.EMPTY_ARGUMENT,H(r,this.clonePosition()));var o=this.parseIdentifierIfPossible().value;if(!o)return this.error(N.MALFORMED_ARGUMENT,H(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(N.EXPECT_ARGUMENT_CLOSING_BRACE,H(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:j.argument,value:o,location:H(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(N.EXPECT_ARGUMENT_CLOSING_BRACE,H(r,this.clonePosition())):this.parseArgumentOptions(i,t,o,r);default:return this.error(N.MALFORMED_ARGUMENT,H(r,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var i=this.clonePosition(),t=this.offset(),r=Xr(this.message,t),o=t+r.length;this.bumpTo(o);var n=this.clonePosition(),s=H(i,n);return{value:r,location:s}},e.prototype.parseArgumentOptions=function(i,t,r,o){var n,s=this.clonePosition(),a=this.parseIdentifierIfPossible().value,l=this.clonePosition();switch(a){case"":return this.error(N.EXPECT_ARGUMENT_TYPE,H(s,l));case"number":case"date":case"time":{this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition(),h=this.parseSimpleArgStyleIfPossible();if(h.err)return h;var d=im(h.val);if(d.length===0)return this.error(N.EXPECT_ARGUMENT_STYLE,H(this.clonePosition(),this.clonePosition()));var f=H(c,this.clonePosition());u={style:d,styleLocation:f}}var p=this.tryParseArgumentClose(o);if(p.err)return p;var y=H(o,this.clonePosition());if(u&&Rn(u==null?void 0:u.style,"::",0)){var x=tm(u.style.slice(2));if(a==="number"){var h=this.parseNumberSkeletonFromString(x,u.styleLocation);return h.err?h:{val:{type:j.number,value:r,location:y,style:h.val},err:null}}else{if(x.length===0)return this.error(N.EXPECT_DATE_TIME_SKELETON,y);var P=x;this.locale&&(P=Up(x,this.locale));var d={type:mt.dateTime,pattern:P,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?Hp(P):{}},D=a==="date"?j.date:j.time;return{val:{type:D,value:r,location:y,style:d},err:null}}}return{val:{type:a==="number"?j.number:a==="date"?j.date:j.time,value:r,location:y,style:(n=u==null?void 0:u.style)!==null&&n!==void 0?n:null},err:null}}case"plural":case"selectordinal":case"select":{var A=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(N.EXPECT_SELECT_ARGUMENT_OPTIONS,H(A,Ti({},A)));this.bumpSpace();var k=this.parseIdentifierIfPossible(),O=0;if(a!=="select"&&k.value==="offset"){if(!this.bumpIf(":"))return this.error(N.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,H(this.clonePosition(),this.clonePosition()));this.bumpSpace();var h=this.tryParseDecimalInteger(N.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,N.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(h.err)return h;this.bumpSpace(),k=this.parseIdentifierIfPossible(),O=h.val}var z=this.tryParsePluralOrSelectOptions(i,a,t,k);if(z.err)return z;var p=this.tryParseArgumentClose(o);if(p.err)return p;var W=H(o,this.clonePosition());return a==="select"?{val:{type:j.select,value:r,options:zn(z.val),location:W},err:null}:{val:{type:j.plural,value:r,options:zn(z.val),offset:O,pluralType:a==="plural"?"cardinal":"ordinal",location:W},err:null}}default:return this.error(N.INVALID_ARGUMENT_TYPE,H(s,l))}},e.prototype.tryParseArgumentClose=function(i){return this.isEOF()||this.char()!==125?this.error(N.EXPECT_ARGUMENT_CLOSING_BRACE,H(i,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var i=0,t=this.clonePosition();!this.isEOF();){var r=this.char();switch(r){case 39:{this.bump();var o=this.clonePosition();if(!this.bumpUntil("'"))return this.error(N.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,H(o,this.clonePosition()));this.bump();break}case 123:{i+=1,this.bump();break}case 125:{if(i>0)i-=1;else return{val:this.message.slice(t.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(i,t){var r=[];try{r=Fp(i)}catch(o){return this.error(N.INVALID_NUMBER_SKELETON,t)}return{val:{type:mt.number,tokens:r,location:t,parsedOptions:this.shouldParseSkeletons?zp(r):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(i,t,r,o){for(var n,s=!1,a=[],l=new Set,u=o.value,c=o.location;;){if(u.length===0){var h=this.clonePosition();if(t!=="select"&&this.bumpIf("=")){var d=this.tryParseDecimalInteger(N.EXPECT_PLURAL_ARGUMENT_SELECTOR,N.INVALID_PLURAL_ARGUMENT_SELECTOR);if(d.err)return d;c=H(h,this.clonePosition()),u=this.message.slice(h.offset,this.offset())}else break}if(l.has(u))return this.error(t==="select"?N.DUPLICATE_SELECT_ARGUMENT_SELECTOR:N.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);u==="other"&&(s=!0),this.bumpSpace();var f=this.clonePosition();if(!this.bumpIf("{"))return this.error(t==="select"?N.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:N.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,H(this.clonePosition(),this.clonePosition()));var p=this.parseMessage(i+1,t,r);if(p.err)return p;var y=this.tryParseArgumentClose(f);if(y.err)return y;a.push([u,{value:p.val,location:H(f,this.clonePosition())}]),l.add(u),this.bumpSpace(),n=this.parseIdentifierIfPossible(),u=n.value,c=n.location}return a.length===0?this.error(t==="select"?N.EXPECT_SELECT_ARGUMENT_SELECTOR:N.EXPECT_PLURAL_ARGUMENT_SELECTOR,H(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!s?this.error(N.MISSING_OTHER_CLAUSE,H(this.clonePosition(),this.clonePosition())):{val:a,err:null}},e.prototype.tryParseDecimalInteger=function(i,t){var r=1,o=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var n=!1,s=0;!this.isEOF();){var a=this.char();if(a>=48&&a<=57)n=!0,s=s*10+(a-48),this.bump();else break}var l=H(o,this.clonePosition());return n?(s*=r,Qp(s)?{val:s,err:null}:this.error(t,l)):this.error(i,l)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var i=this.position.offset;if(i>=this.message.length)throw Error("out of bound");var t=hl(this.message,i);if(t===void 0)throw Error("Offset ".concat(i," is at invalid UTF-16 code unit boundary"));return t},e.prototype.error=function(i,t){return{val:null,err:{kind:i,message:this.message,location:t}}},e.prototype.bump=function(){if(!this.isEOF()){var i=this.char();i===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=i<65536?1:2)}},e.prototype.bumpIf=function(i){if(Rn(this.message,i,this.offset())){for(var t=0;t<i.length;t++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(i){var t=this.offset(),r=this.message.indexOf(i,t);return r>=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(i){if(this.offset()>i)throw Error("targetOffset ".concat(i," must be greater than or equal to the current offset ").concat(this.offset()));for(i=Math.min(i,this.message.length);;){var t=this.offset();if(t===i)break;if(t>i)throw Error("targetOffset ".concat(i," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&fl(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var i=this.char(),t=this.offset(),r=this.message.charCodeAt(t+(i>=65536?2:1));return r!=null?r:null},e}();function Kr(e){return e>=97&&e<=122||e>=65&&e<=90}function om(e){return Kr(e)||e===47}function nm(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function fl(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function sm(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function Jr(e){e.forEach(function(i){if(delete i.location,rl(i)||ol(i))for(var t in i.options)delete i.options[t].location,Jr(i.options[t].value);else el(i)&&sl(i.style)||(tl(i)||il(i))&&Wr(i.style)?delete i.style.location:nl(i)&&Jr(i.children)})}function am(e,i){i===void 0&&(i={}),i=Ti({shouldParseSkeletons:!0,requiresOtherClause:!0},i);var t=new rm(e,i).parse();if(t.err){var r=SyntaxError(N[t.err.kind]);throw r.location=t.err.location,r.originalMessage=t.err.message,r}return i!=null&&i.captureLocation||Jr(t.val),t.val}var _t;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(_t||(_t={}));var Fi=function(e){Li(i,e);function i(t,r,o){var n=e.call(this,t)||this;return n.code=r,n.originalMessage=o,n}return i.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},i}(Error),jn=function(e){Li(i,e);function i(t,r,o,n){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(r,'". Options are "').concat(Object.keys(o).join('", "'),'"'),_t.INVALID_VALUE,n)||this}return i}(Fi),lm=function(e){Li(i,e);function i(t,r,o){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(r),_t.INVALID_VALUE,o)||this}return i}(Fi),um=function(e){Li(i,e);function i(t,r){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(r,'"'),_t.MISSING_VALUE,r)||this}return i}(Fi),ie;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(ie||(ie={}));function cm(e){return e.length<2?e:e.reduce(function(i,t){var r=i[i.length-1];return!r||r.type!==ie.literal||t.type!==ie.literal?i.push(t):r.value+=t.value,i},[])}function hm(e){return typeof e=="function"}function di(e,i,t,r,o,n,s){if(e.length===1&&Ln(e[0]))return[{type:ie.literal,value:e[0].value}];for(var a=[],l=0,u=e;l<u.length;l++){var c=u[l];if(Ln(c)){a.push({type:ie.literal,value:c.value});continue}if(Ip(c)){typeof n=="number"&&a.push({type:ie.literal,value:t.getNumberFormat(i).format(n)});continue}var h=c.value;if(!(o&&h in o))throw new um(h,s);var d=o[h];if(Mp(c)){(!d||typeof d=="string"||typeof d=="number")&&(d=typeof d=="string"||typeof d=="number"?String(d):""),a.push({type:typeof d=="string"?ie.literal:ie.object,value:d});continue}if(tl(c)){var f=typeof c.style=="string"?r.date[c.style]:Wr(c.style)?c.style.parsedOptions:void 0;a.push({type:ie.literal,value:t.getDateTimeFormat(i,f).format(d)});continue}if(il(c)){var f=typeof c.style=="string"?r.time[c.style]:Wr(c.style)?c.style.parsedOptions:r.time.medium;a.push({type:ie.literal,value:t.getDateTimeFormat(i,f).format(d)});continue}if(el(c)){var f=typeof c.style=="string"?r.number[c.style]:sl(c.style)?c.style.parsedOptions:void 0;f&&f.scale&&(d=d*(f.scale||1)),a.push({type:ie.literal,value:t.getNumberFormat(i,f).format(d)});continue}if(nl(c)){var p=c.children,y=c.value,x=o[y];if(!hm(x))throw new lm(y,"function",s);var P=di(p,i,t,r,o,n),D=x(P.map(function(O){return O.value}));Array.isArray(D)||(D=[D]),a.push.apply(a,D.map(function(O){return{type:typeof O=="string"?ie.literal:ie.object,value:O}}))}if(rl(c)){var A=c.options[d]||c.options.other;if(!A)throw new jn(c.value,d,Object.keys(c.options),s);a.push.apply(a,di(A.value,i,t,r,o));continue}if(ol(c)){var A=c.options["=".concat(d)];if(!A){if(!Intl.PluralRules)throw new Fi(`Intl.PluralRules is not available in this environment.
3574
3574
  Try polyfilling it using "@formatjs/intl-pluralrules"
3575
- `,_t.MISSING_INTL_API,s);var k=t.getPluralRules(i,{type:c.pluralType}).select(d-(c.offset||0));A=c.options[k]||c.options.other}if(!A)throw new jn(c.value,d,Object.keys(c.options),s);a.push.apply(a,di(A.value,i,t,r,o,d-(c.offset||0)));continue}}return cm(a)}function dm(e,i){return i?_e(_e(_e({},e||{}),i||{}),Object.keys(e).reduce(function(t,r){return t[r]=_e(_e({},e[r]),i[r]||{}),t},{})):e}function fm(e,i){return i?Object.keys(e).reduce(function(t,r){return t[r]=dm(e[r],i[r]),t},_e({},e)):e}function fr(e){return{create:function(){return{get:function(i){return e[i]},set:function(i,t){e[i]=t}}}}}function pm(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:cr(function(){for(var i,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((i=Intl.NumberFormat).bind.apply(i,ur([void 0],t,!1)))},{cache:fr(e.number),strategy:hr.variadic}),getDateTimeFormat:cr(function(){for(var i,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((i=Intl.DateTimeFormat).bind.apply(i,ur([void 0],t,!1)))},{cache:fr(e.dateTime),strategy:hr.variadic}),getPluralRules:cr(function(){for(var i,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((i=Intl.PluralRules).bind.apply(i,ur([void 0],t,!1)))},{cache:fr(e.pluralRules),strategy:hr.variadic})}}var mm=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!==ie.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 di(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=Tp(s,["formatters"]);this.ast=e.__parse(i,_e(_e({},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=fm(e.formats,r),this.formatters=o&&o.formatters||pm(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=am,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 _m(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 Oe={},gm=(e,i,t)=>t&&(i in Oe||(Oe[i]={}),e in Oe[i]||(Oe[i][e]=t),t),pl=(e,i)=>{if(i==null)return;if(i in Oe&&e in Oe[i])return Oe[i][e];const t=$i(i);for(let r=0;r<t.length;r++){const o=t[r],n=bm(o,e);if(n)return gm(e,i,n)}};let Po;const wt=Hi({});function ym(e){return Po[e]||null}function ml(e){return e in Po}function bm(e,i){if(!ml(e))return null;const t=ym(e);return _m(t,i)}function vm(e){if(e==null)return;const i=$i(e);for(let t=0;t<i.length;t++){const r=i[t];if(ml(r))return r}}function Do(e,...i){delete Oe[e],wt.update(t=>(t[e]=Ep.all([t[e]||{},...i]),t))}vt([wt],([e])=>Object.keys(e));wt.subscribe(e=>Po=e);const fi={};function wm(e,i){fi[e].delete(i),fi[e].size===0&&delete fi[e]}function _l(e){return fi[e]}function xm(e){return $i(e).map(i=>{const t=_l(i);return[i,t?[...t]:[]]}).filter(([,i])=>i.length>0)}function Zr(e){return e==null?!1:$i(e).some(i=>{var t;return(t=_l(i))==null?void 0:t.size})}function Em(e,i){return Promise.all(i.map(r=>(wm(e,r),r().then(o=>o.default||o)))).then(r=>Do(e,...r))}const Ot={};function gl(e){if(!Zr(e))return e in Ot?Ot[e]:Promise.resolve();const i=xm(e);return Ot[e]=Promise.all(i.map(([t,r])=>Em(t,r))).then(()=>{if(Zr(e))return gl(e);delete Ot[e]}),Ot[e]}const Tm={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"}}},Cm={fallbackLocale:null,loadingDelay:200,formats:Tm,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},Am=Cm;function gt(){return Am}const pr=Hi(!1);var Sm=Object.defineProperty,Pm=Object.defineProperties,Dm=Object.getOwnPropertyDescriptors,Vn=Object.getOwnPropertySymbols,Om=Object.prototype.hasOwnProperty,km=Object.prototype.propertyIsEnumerable,Gn=(e,i,t)=>i in e?Sm(e,i,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[i]=t,Mm=(e,i)=>{for(var t in i||(i={}))Om.call(i,t)&&Gn(e,t,i[t]);if(Vn)for(var t of Vn(i))km.call(i,t)&&Gn(e,t,i[t]);return e},Im=(e,i)=>Pm(e,Dm(i));let Qr;const Ci=Hi(null);function Wn(e){return e.split("-").map((i,t,r)=>r.slice(0,t+1).join("-")).reverse()}function $i(e,i=gt().fallbackLocale){const t=Wn(e);return i?[...new Set([...t,...Wn(i)])]:t}function Xe(){return Qr!=null?Qr:void 0}Ci.subscribe(e=>{Qr=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const Nm=e=>{if(e&&vm(e)&&Zr(e)){const{loadingDelay:i}=gt();let t;return typeof window!="undefined"&&Xe()!=null&&i?t=window.setTimeout(()=>pr.set(!0),i):pr.set(!0),gl(e).then(()=>{Ci.set(e)}).finally(()=>{clearTimeout(t),pr.set(!1)})}return Ci.set(e)},Ae=Im(Mm({},Ci),{set:Nm}),Bi=e=>{const i=Object.create(null);return r=>{const o=JSON.stringify(r);return o in i?i[o]:i[o]=e(r)}};var Hm=Object.defineProperty,Ai=Object.getOwnPropertySymbols,yl=Object.prototype.hasOwnProperty,bl=Object.prototype.propertyIsEnumerable,Yn=(e,i,t)=>i in e?Hm(e,i,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[i]=t,Oo=(e,i)=>{for(var t in i||(i={}))yl.call(i,t)&&Yn(e,t,i[t]);if(Ai)for(var t of Ai(i))bl.call(i,t)&&Yn(e,t,i[t]);return e},xt=(e,i)=>{var t={};for(var r in e)yl.call(e,r)&&i.indexOf(r)<0&&(t[r]=e[r]);if(e!=null&&Ai)for(var r of Ai(e))i.indexOf(r)<0&&bl.call(e,r)&&(t[r]=e[r]);return t};const Xt=(e,i)=>{const{formats:t}=gt();if(e in t&&i in t[e])return t[e][i];throw new Error(`[svelte-i18n] Unknown "${i}" ${e} format.`)},Lm=Bi(e=>{var i=e,{locale:t,format:r}=i,o=xt(i,["locale","format"]);if(t==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(o=Xt("number",r)),new Intl.NumberFormat(t,o)}),Fm=Bi(e=>{var i=e,{locale:t,format:r}=i,o=xt(i,["locale","format"]);if(t==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?o=Xt("date",r):Object.keys(o).length===0&&(o=Xt("date","short")),new Intl.DateTimeFormat(t,o)}),$m=Bi(e=>{var i=e,{locale:t,format:r}=i,o=xt(i,["locale","format"]);if(t==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?o=Xt("time",r):Object.keys(o).length===0&&(o=Xt("time","short")),new Intl.DateTimeFormat(t,o)}),Bm=(e={})=>{var i=e,{locale:t=Xe()}=i,r=xt(i,["locale"]);return Lm(Oo({locale:t},r))},Rm=(e={})=>{var i=e,{locale:t=Xe()}=i,r=xt(i,["locale"]);return Fm(Oo({locale:t},r))},zm=(e={})=>{var i=e,{locale:t=Xe()}=i,r=xt(i,["locale"]);return $m(Oo({locale:t},r))},Um=Bi((e,i=Xe())=>new mm(e,i,gt().formats,{ignoreTag:gt().ignoreTag})),jm=(e,i={})=>{var t,r,o,n;let s=i;typeof e=="object"&&(s=e,e=s.id);const{values:a,locale:l=Xe(),default:u}=s;if(l==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=pl(e,l);if(!c)c=(n=(o=(r=(t=gt()).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=Um(c,l).format(a)}catch(d){d instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,d.message)}return h},Vm=(e,i)=>zm(i).format(e),Gm=(e,i)=>Rm(i).format(e),Wm=(e,i)=>Bm(i).format(e),Ym=(e,i=Xe())=>pl(e,i),vl=vt([Ae,wt],()=>jm);vt([Ae],()=>Vm);vt([Ae],()=>Gm);vt([Ae],()=>Wm);vt([Ae,wt],()=>Ym);window.emWidgets={topic:ap};const wl=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 qm({withLocale:e,translations:i}){Ae.subscribe(t=>{t==null&&(wt.set(i),Ae.set(e))})}function qn(e,i){Do(e,i)}function Xm(e){Ae.set(e)}const Xn={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?"}},tt="__WIDGET_GLOBAL_STYLE_CACHE__";function xl(e,i){if(e){const t=document.createElement("style");t.innerHTML=i,e.appendChild(t)}}function El(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 Tl(e,i,t,r=!1){if(!window.emMessageBus)return;if(!("adoptedStyleSheets"in Document.prototype)||!r)return t=Km(e,i),t;window[tt]||(window[tt]={}),t=Jm(e,i);const n=t.unsubscribe.bind(t),s=()=>{if(window[tt][i]){const a=window[tt][i];a.refCount>1?a.refCount=a.refCount-1:delete window[tt][i]}n()};return t.unsubscribe=s,t}function Km(e,i){const t=document.createElement("style");return window.emMessageBus.subscribe(i,r=>{e&&(t.innerHTML=r,e.appendChild(t))})}function Jm(e,i){return window.emMessageBus.subscribe(i,t=>{var a;if(!e)return;const r=e.getRootNode(),o=window[tt];let n=(a=o[i])==null?void 0:a.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 Zm(e){ds(e,"svelte-u6jylo",`.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}.TimeoutSelectWrapper{color:var(--emw--color-gray-300, #58586B);display:flex;flex-direction:column;position:relative}.TimeoutSelectWrapper .TimeoutSelect{width:50%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);background:var(--emw--color-white, #FFFFFF);border-radius:5px;box-sizing:border-box;padding:5px 10px;font-size:16px;line-height:18px;margin-bottom:16px;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:url("data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>") no-repeat var(--emw--color-white, #FFFFFF);background-position:calc(100% - 0.75rem) center}.TimeoutSelectWrapper .TimeoutSelect:focus,.TimeoutSelectWrapper .TimeoutSelect :focus-within,.TimeoutSelectWrapper .TimeoutSelect :focus-visible,.TimeoutSelectWrapper .TimeoutSelect :visited{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));box-shadow:0 0 0 1pt var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.TimeoutSelectWrapper .TimeoutSelect.TimeoutSelectMobile{width:100%;height:36px;font-size:12px}.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 Kn(e,i,t){const r=e.slice();return r[43]=i[t].value,r}function Qm(e){let i,t,r,o=e[18]("titleTimeout")+"",n,s,a,l,u=e[18]("timeoutTextFirst",{values:{operatorname:e[0],baseurl:e[6],lang:e[1]}})+"",c,h,d=e[18]("timeoutTextSecondary",{values:{supportemail:e[5],baseurl:e[6],lang:e[1]}})+"",f,p,y,x,P,D,A,k=e[18]("save")+"",O,z,W,V,le,B,I,te,he=e[19]&&t_(e),T=$o(e[10]),b=[];for(let m=0;m<T.length;m+=1)b[m]=Jn(Kn(e,T,m));let g=e[12]&&Zn(e);return{c(){i=M("form"),he&&he.c(),t=J(),r=M("h2"),n=ge(o),s=J(),a=M("div"),l=M("p"),c=J(),h=M("p"),f=J(),p=M("div"),y=M("select");for(let m=0;m<b.length;m+=1)b[m].c();x=J(),g&&g.c(),P=J(),D=M("div"),A=M("button"),O=ge(k),z=J(),W=M("player-account-modal"),V=M("player-account-general-confirmation-modal"),$(r,"class","TimeoutTitle "+(e[19]?"TimeoutTitleNone":"")),$(a,"class","TimeoutDescription "+(e[19]?"TimeoutDescriptionMobile":"")),$(y,"class","TimeoutSelect "+(e[19]?"TimeoutSelectMobile":"")),e[11]===void 0&&ut(()=>e[27].call(y)),$(p,"class","TimeoutSelectWrapper"),$(A,"class","TimeoutSave"),$(D,"class","TimeoutActionButtons "+(e[19]?"TimeoutActionButtonsMobile":"")),$(i,"class","TimeoutWrapper "+(e[19]?"TimeoutWrapperMobile":"")),S(V,"modalTitle",le=e[18]("confirmationModalTitle")),S(V,"modalText",e[16]),S(V,"hascancelbutton",!1),S(V,"modalconfirmevent","SetPlayerAccountTimeout"),S(V,"modalconfirmdata",B={timeoutSelected:e[11],timeoutExpiryDate:e[13]}),S(V,"mbsource",e[4]),S(V,"lang",e[1]),S(W,"clientstyling",e[2]),S(W,"clientstylingurl",e[3]),S(W,"mbsource",e[4]),S(W,"showmodaleventname","ShowTimeoutConfirmationModal")},m(m,_){fe(m,i,_),he&&he.m(i,null),E(i,t),E(i,r),E(r,n),E(i,s),E(i,a),E(a,l),l.innerHTML=u,E(a,c),E(a,h),h.innerHTML=d,E(i,f),E(i,p),E(p,y);for(let w=0;w<b.length;w+=1)b[w]&&b[w].m(y,null);Ho(y,e[11],!0),E(i,x),g&&g.m(i,null),E(i,P),E(i,D),E(D,A),E(A,O),fe(m,z,_),fe(m,W,_),E(W,V),e[30](V),I||(te=[It(y,"change",e[27]),It(y,"change",e[22]),It(A,"click",e[29])],I=!0)},p(m,_){if(m[19]&&he.p(m,_),_[0]&262144&&o!==(o=m[18]("titleTimeout")+"")&&Ve(n,o),_[0]&262211&&u!==(u=m[18]("timeoutTextFirst",{values:{operatorname:m[0],baseurl:m[6],lang:m[1]}})+"")&&(l.innerHTML=u),_[0]&262242&&d!==(d=m[18]("timeoutTextSecondary",{values:{supportemail:m[5],baseurl:m[6],lang:m[1]}})+"")&&(h.innerHTML=d),_[0]&263168){T=$o(m[10]);let w;for(w=0;w<T.length;w+=1){const C=Kn(m,T,w);b[w]?b[w].p(C,_):(b[w]=Jn(C),b[w].c(),b[w].m(y,null))}for(;w<b.length;w+=1)b[w].d(1);b.length=T.length}_[0]&3072&&Ho(y,m[11]),m[12]?g?g.p(m,_):(g=Zn(m),g.c(),g.m(i,P)):g&&(g.d(1),g=null),_[0]&262144&&k!==(k=m[18]("save")+"")&&Ve(O,k),_[0]&262144&&le!==(le=m[18]("confirmationModalTitle"))&&S(V,"modalTitle",le),_[0]&65536&&S(V,"modalText",m[16]),_[0]&11264&&B!==(B={timeoutSelected:m[11],timeoutExpiryDate:m[13]})&&S(V,"modalconfirmdata",B),_[0]&16&&S(V,"mbsource",m[4]),_[0]&2&&S(V,"lang",m[1]),_[0]&4&&S(W,"clientstyling",m[2]),_[0]&8&&S(W,"clientstylingurl",m[3]),_[0]&16&&S(W,"mbsource",m[4])},d(m){m&&(ae(i),ae(z),ae(W)),he&&he.d(),Rl(b,m),g&&g.d(),e[30](null),I=!1,Se(te)}}}function e_(e){let i,t,r,o,n,s,a,l,u,c,h,d,f,p,y,x;function P(k,O){return k[19]?r_:i_}let A=P(e)(e);return{c(){i=M("div"),A.c(),t=J(),r=M("div"),o=M("ui-skeleton"),n=J(),s=M("div"),a=J(),l=M("ui-skeleton"),u=J(),c=M("div"),h=J(),d=M("div"),f=M("ui-skeleton"),p=J(),y=M("div"),x=M("ui-skeleton"),S(o,"structure","text"),S(o,"height",e[19]?"15px":"20px"),S(o,"rows","3"),S(o,"width","100%"),No(s,"height",e[19]?"10px":"30px"),S(l,"structure","text"),S(l,"height",e[19]?"15px":"20px"),S(l,"rows","3"),S(l,"width","100%"),No(c,"height",e[19]?"10px":"30px"),$(r,"class","TimeoutDescription"),S(f,"structure","rectangle"),S(f,"width",e[19]?"100%":"50%"),S(f,"height",e[19]?"30px":"44px"),S(f,"margin-bottom","16px"),$(d,"class","TimeoutSelectWrapper"),S(x,"structure","rectangle"),S(x,"width","100%"),S(x,"height",e[19]?"35px":"50px"),$(y,"class","TimeoutActionButtons "+(e[19]?"TimeoutActionButtonsMobile":"")),$(i,"class","TimeoutWrapper "+(e[19]?"TimeoutWrapperMobile":""))},m(k,O){fe(k,i,O),A.m(i,null),E(i,t),E(i,r),E(r,o),E(r,n),E(r,s),E(r,a),E(r,l),E(r,u),E(r,c),E(i,h),E(i,d),E(d,f),E(i,p),E(i,y),E(y,x)},p:re,d(k){k&&ae(i),A.d()}}}function t_(e){let i,t,r,o,n,s,a,l,u,c,h=e[18]("titleTimeout")+"",d,f,p;return{c(){i=M("div"),t=$e("svg"),r=$e("defs"),o=$e("style"),n=ge(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"),s=$e("g"),a=$e("g"),l=$e("path"),u=J(),c=M("h2"),d=ge(h),$(l,"class","aaa"),$(l,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),$(l,"transform","translate(15 15) rotate(180)"),$(a,"transform","translate(20 158)"),$(s,"transform","translate(-20 -158)"),$(t,"xmlns","http://www.w3.org/2000/svg"),$(t,"width","15"),$(t,"height","15"),$(t,"viewBox","0 0 15 15"),$(c,"class","TimeoutTitleMobile"),$(c,"part","TimeoutTitleMobile"),$(i,"class","MenuReturnButton"),$(i,"part","MenuReturnButton")},m(y,x){fe(y,i,x),E(i,t),E(t,r),E(r,o),E(o,n),E(t,s),E(s,a),E(a,l),E(i,u),E(i,c),E(c,d),f||(p=It(i,"click",e[26]),f=!0)},p(y,x){x[0]&262144&&h!==(h=y[18]("titleTimeout")+"")&&Ve(d,h)},d(y){y&&ae(i),f=!1,p()}}}function Jn(e){let i,t=e[18](e[43])+"",r,o;return{c(){i=M("option"),r=ge(t),i.__value=o=e[43],Io(i,i.__value)},m(n,s){fe(n,i,s),E(i,r)},p(n,s){s[0]&263168&&t!==(t=n[18](n[43])+"")&&Ve(r,t),s[0]&1024&&o!==(o=n[43])&&(i.__value=o,Io(i,i.__value))},d(n){n&&ae(i)}}}function Zn(e){let i,t,r=e[18]("duration")+"",o,n,s,a=e[18]("dateInstructions")+"",l,u,c,h,d;return{c(){i=M("div"),t=M("label"),o=ge(r),n=J(),s=M("span"),l=ge(a),u=J(),c=M("strong"),c.innerHTML="MM/DD/YYYY<strong></strong>",h=J(),d=M("vaadin-date-picker"),$(t,"for","TimeoutDate"),$(s,"class","TimeoutDateInstructions"),S(d,"min",e[14]),S(d,"max",e[15]),S(d,"value",e[14]),$(i,"class","TimeoutDateWrapper "+(e[19]?"TimeoutDateWrapperMobile":""))},m(f,p){fe(f,i,p),E(i,t),E(t,o),E(i,n),E(i,s),E(s,l),E(s,u),E(s,c),E(i,h),E(i,d),e[28](d)},p(f,p){p[0]&262144&&r!==(r=f[18]("duration")+"")&&Ve(o,r),p[0]&262144&&a!==(a=f[18]("dateInstructions")+"")&&Ve(l,a),p[0]&16384&&S(d,"min",f[14]),p[0]&32768&&S(d,"max",f[15]),p[0]&16384&&S(d,"value",f[14])},d(f){f&&ae(i),e[28](null)}}}function i_(e){let i;return{c(){i=M("ui-skeleton"),S(i,"structure","title"),S(i,"width","100px"),S(i,"margin-top","20px"),S(i,"margin-bottom","20px")},m(t,r){fe(t,i,r)},d(t){t&&ae(i)}}}function r_(e){let i;return{c(){i=M("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>',$(i,"class","MenuReturnButton")},m(t,r){fe(t,i,r)},d(t){t&&ae(i)}}}function o_(e){let i;function t(n,s){return n[17]?e_:Qm}let r=t(e),o=r(e);return{c(){i=M("div"),o.c()},m(n,s){fe(n,i,s),o.m(i,null),e[31](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:re,o:re,d(n){n&&ae(i),o.d(),e[31](null)}}}function n_(e,i,t){let r;ls(e,vl,v=>t(18,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:f="false"}=i;qm({withLocale:"en",translations:{}});let p,y,x,P=window.navigator.userAgent,D=wl(P)!=="PC",A=[{value:"CoolOffFor24Hours",dateSelector:!1},{value:"CoolOffFor7Days",dateSelector:!1},{value:"CoolOffFor30Days",dateSelector:!1},{value:"CoolOffFor3Months",dateSelector:!1}],k=A[0].value,O=!1,z="",W,V,le="",B=f==="true",I=!0,te;const he=()=>{fetch(u).then(v=>v.json()).then(v=>{Object.keys(v).forEach(Q=>{qn(Q,v[Q])})}).catch(v=>{console.log(v)})};Object.keys(Xn).forEach(v=>{qn(v,Xn[v])});const T=()=>{const v=new URL("/v1/player/coolOffSettings",h),Q={method:"GET"};fetch(v.href,Q).then(ne=>{if(!ne.ok)throw new Error("There was an error while fetching the configuration");return ne.json()}).then(ne=>{const{periods:Le}=ne;Le&&t(10,A=Le.map(Ri=>({value:Ri.key,text:Ri.text,dateSelector:Ri.dateSelector})))}).catch(ne=>{console.log(ne)}).finally(()=>{t(17,I=!1),t(11,k=A[0].value)})},b=()=>{if(!B){t(16,le="");return}t(16,le=O?r("confirmationModalTextUntilTimeout",{values:{date:z}}):r("confirmationModalTextPeriodTimeout",{values:{period:r(k)}}))},g=v=>{v.preventDefault(),B?window.postMessage({type:"ShowTimeoutConfirmationModal"},window.location.href):_()},m=v=>{const{timeoutSelected:Q,timeoutExpiryDate:ne}=v.detail;t(11,k=Q),t(13,z=ne),_()},_=()=>{window.postMessage({type:"SetPlayerAccountTimeout",timeoutSelected:k,timeoutExpiryDate:z},window.location.href)},w=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:D},window.location.href)},C=()=>{Xm(n),T()},R=()=>{const v=A.find(Q=>Q.value===k);t(12,O=!1),v.dateSelector&&(t(12,O=!0),t(14,W=Sn().format("YYYY-MM-DD")),t(15,V=Sn().add(6,"months").format("YYYY-MM-DD")),t(13,z=W)),B&&b()},U=v=>{t(13,z=v.target.value)},q=()=>{y.addEventListener("change",U,!1)};Jl(()=>{te&&te.removeEventListener("SetPlayerAccountTimeout",m),y&&y.removeEventListener("change",U)});const K=()=>w();function oe(){k=jl(this),t(11,k),t(10,A)}function Pe(v){rt[v?"unshift":"push"](()=>{y=v,t(8,y)})}const be=v=>g(v);function He(v){rt[v?"unshift":"push"](()=>{te=v,t(9,te)})}function ve(v){rt[v?"unshift":"push"](()=>{p=v,t(7,p)})}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(23,u=v.translationurl),"supportemail"in v&&t(5,c=v.supportemail),"endpoint"in v&&t(24,h=v.endpoint),"baseurl"in v&&t(6,d=v.baseurl),"hasconfirmationmodal"in v&&t(25,f=v.hasconfirmationmodal)},e.$$.update=()=>{e.$$.dirty[0]&256&&y&&q(),e.$$.dirty[0]&2&&n&&C(),e.$$.dirty[0]&132&&s&&p&&xl(p,s),e.$$.dirty[0]&136&&a&&p&&El(p,a),e.$$.dirty[0]&144&&l&&p&&Tl(p,`${l}.Style`,x),e.$$.dirty[0]&8388608&&u&&he(),e.$$.dirty[0]&512&&te&&te.addEventListener("SetPlayerAccountTimeout",m)},B&&b(),[o,n,s,a,l,c,d,p,y,te,A,k,O,z,W,V,le,I,r,D,g,w,R,u,h,f,K,oe,Pe,be,He,ve]}class Cl extends bs{constructor(i){super(),_s(this,i,n_,o_,eo,{operator:0,lang:1,clientstyling:2,clientstylingurl:3,mbsource:4,translationurl:23,supportemail:5,endpoint:24,baseurl:6,hasconfirmationmodal:25},Zm,[-1,-1])}get operator(){return this.$$.ctx[0]}set operator(i){this.$$set({operator:i}),ce()}get lang(){return this.$$.ctx[1]}set lang(i){this.$$set({lang:i}),ce()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(i){this.$$set({clientstyling:i}),ce()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(i){this.$$set({clientstylingurl:i}),ce()}get mbsource(){return this.$$.ctx[4]}set mbsource(i){this.$$set({mbsource:i}),ce()}get translationurl(){return this.$$.ctx[23]}set translationurl(i){this.$$set({translationurl:i}),ce()}get supportemail(){return this.$$.ctx[5]}set supportemail(i){this.$$set({supportemail:i}),ce()}get endpoint(){return this.$$.ctx[24]}set endpoint(i){this.$$set({endpoint:i}),ce()}get baseurl(){return this.$$.ctx[6]}set baseurl(i){this.$$set({baseurl:i}),ce()}get hasconfirmationmodal(){return this.$$.ctx[25]}set hasconfirmationmodal(i){this.$$set({hasconfirmationmodal:i}),ce()}}ys(Cl,{operator:{},lang:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{},supportemail:{},endpoint:{},baseurl:{},hasconfirmationmodal:{}},[],[],!0);const s_=Object.freeze(Object.defineProperty({__proto__:null,default:Cl},Symbol.toStringTag,{value:"Module"}));exports.$format=vl;exports.$locale=Ae;exports.PlayerAccountTimeout_ce=s_;exports.SvelteComponent=bs;exports.addMessages=Do;exports.add_render_callback=ut;exports.append=E;exports.append_styles=ds;exports.attr=$;exports.binding_callbacks=rt;exports.check_outros=ou;exports.component_subscribe=ls;exports.create_bidirectional_transition=au;exports.create_custom_element=ys;exports.create_slot=Il;exports.detach=ae;exports.element=M;exports.empty=zl;exports.flush=ce;exports.getDevice=wl;exports.get_all_dirty_from_scope=Ll;exports.get_slot_changes=Nl;exports.group_outros=ru;exports.identity=ns;exports.init=_s;exports.insert=fe;exports.listen=It;exports.noop=re;exports.onMount=Kl;exports.run_all=Se;exports.safe_not_equal=eo;exports.setClientStyling=xl;exports.setClientStylingURL=El;exports.setStreamStyling=Tl;exports.set_data=Ve;exports.space=J;exports.svg_element=$e;exports.text=ge;exports.transition_in=ms;exports.transition_out=nu;exports.update_slot_base=Hl;
3575
+ `,_t.MISSING_INTL_API,s);var k=t.getPluralRules(i,{type:c.pluralType}).select(d-(c.offset||0));A=c.options[k]||c.options.other}if(!A)throw new jn(c.value,d,Object.keys(c.options),s);a.push.apply(a,di(A.value,i,t,r,o,d-(c.offset||0)));continue}}return cm(a)}function dm(e,i){return i?_e(_e(_e({},e||{}),i||{}),Object.keys(e).reduce(function(t,r){return t[r]=_e(_e({},e[r]),i[r]||{}),t},{})):e}function fm(e,i){return i?Object.keys(e).reduce(function(t,r){return t[r]=dm(e[r],i[r]),t},_e({},e)):e}function fr(e){return{create:function(){return{get:function(i){return e[i]},set:function(i,t){e[i]=t}}}}}function pm(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:cr(function(){for(var i,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((i=Intl.NumberFormat).bind.apply(i,ur([void 0],t,!1)))},{cache:fr(e.number),strategy:hr.variadic}),getDateTimeFormat:cr(function(){for(var i,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((i=Intl.DateTimeFormat).bind.apply(i,ur([void 0],t,!1)))},{cache:fr(e.dateTime),strategy:hr.variadic}),getPluralRules:cr(function(){for(var i,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((i=Intl.PluralRules).bind.apply(i,ur([void 0],t,!1)))},{cache:fr(e.pluralRules),strategy:hr.variadic})}}var mm=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!==ie.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 di(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=Tp(s,["formatters"]);this.ast=e.__parse(i,_e(_e({},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=fm(e.formats,r),this.formatters=o&&o.formatters||pm(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=am,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 _m(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 Oe={},gm=(e,i,t)=>t&&(i in Oe||(Oe[i]={}),e in Oe[i]||(Oe[i][e]=t),t),pl=(e,i)=>{if(i==null)return;if(i in Oe&&e in Oe[i])return Oe[i][e];const t=$i(i);for(let r=0;r<t.length;r++){const o=t[r],n=bm(o,e);if(n)return gm(e,i,n)}};let Po;const wt=Hi({});function ym(e){return Po[e]||null}function ml(e){return e in Po}function bm(e,i){if(!ml(e))return null;const t=ym(e);return _m(t,i)}function vm(e){if(e==null)return;const i=$i(e);for(let t=0;t<i.length;t++){const r=i[t];if(ml(r))return r}}function Do(e,...i){delete Oe[e],wt.update(t=>(t[e]=Ep.all([t[e]||{},...i]),t))}vt([wt],([e])=>Object.keys(e));wt.subscribe(e=>Po=e);const fi={};function wm(e,i){fi[e].delete(i),fi[e].size===0&&delete fi[e]}function _l(e){return fi[e]}function xm(e){return $i(e).map(i=>{const t=_l(i);return[i,t?[...t]:[]]}).filter(([,i])=>i.length>0)}function Zr(e){return e==null?!1:$i(e).some(i=>{var t;return(t=_l(i))==null?void 0:t.size})}function Em(e,i){return Promise.all(i.map(r=>(wm(e,r),r().then(o=>o.default||o)))).then(r=>Do(e,...r))}const Ot={};function gl(e){if(!Zr(e))return e in Ot?Ot[e]:Promise.resolve();const i=xm(e);return Ot[e]=Promise.all(i.map(([t,r])=>Em(t,r))).then(()=>{if(Zr(e))return gl(e);delete Ot[e]}),Ot[e]}const Tm={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"}}},Cm={fallbackLocale:null,loadingDelay:200,formats:Tm,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},Am=Cm;function gt(){return Am}const pr=Hi(!1);var Sm=Object.defineProperty,Pm=Object.defineProperties,Dm=Object.getOwnPropertyDescriptors,Vn=Object.getOwnPropertySymbols,Om=Object.prototype.hasOwnProperty,km=Object.prototype.propertyIsEnumerable,Gn=(e,i,t)=>i in e?Sm(e,i,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[i]=t,Mm=(e,i)=>{for(var t in i||(i={}))Om.call(i,t)&&Gn(e,t,i[t]);if(Vn)for(var t of Vn(i))km.call(i,t)&&Gn(e,t,i[t]);return e},Im=(e,i)=>Pm(e,Dm(i));let Qr;const Ci=Hi(null);function Wn(e){return e.split("-").map((i,t,r)=>r.slice(0,t+1).join("-")).reverse()}function $i(e,i=gt().fallbackLocale){const t=Wn(e);return i?[...new Set([...t,...Wn(i)])]:t}function Xe(){return Qr!=null?Qr:void 0}Ci.subscribe(e=>{Qr=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const Nm=e=>{if(e&&vm(e)&&Zr(e)){const{loadingDelay:i}=gt();let t;return typeof window!="undefined"&&Xe()!=null&&i?t=window.setTimeout(()=>pr.set(!0),i):pr.set(!0),gl(e).then(()=>{Ci.set(e)}).finally(()=>{clearTimeout(t),pr.set(!1)})}return Ci.set(e)},Ae=Im(Mm({},Ci),{set:Nm}),Bi=e=>{const i=Object.create(null);return r=>{const o=JSON.stringify(r);return o in i?i[o]:i[o]=e(r)}};var Hm=Object.defineProperty,Ai=Object.getOwnPropertySymbols,yl=Object.prototype.hasOwnProperty,bl=Object.prototype.propertyIsEnumerable,Yn=(e,i,t)=>i in e?Hm(e,i,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[i]=t,Oo=(e,i)=>{for(var t in i||(i={}))yl.call(i,t)&&Yn(e,t,i[t]);if(Ai)for(var t of Ai(i))bl.call(i,t)&&Yn(e,t,i[t]);return e},xt=(e,i)=>{var t={};for(var r in e)yl.call(e,r)&&i.indexOf(r)<0&&(t[r]=e[r]);if(e!=null&&Ai)for(var r of Ai(e))i.indexOf(r)<0&&bl.call(e,r)&&(t[r]=e[r]);return t};const Xt=(e,i)=>{const{formats:t}=gt();if(e in t&&i in t[e])return t[e][i];throw new Error(`[svelte-i18n] Unknown "${i}" ${e} format.`)},Lm=Bi(e=>{var i=e,{locale:t,format:r}=i,o=xt(i,["locale","format"]);if(t==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(o=Xt("number",r)),new Intl.NumberFormat(t,o)}),Fm=Bi(e=>{var i=e,{locale:t,format:r}=i,o=xt(i,["locale","format"]);if(t==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?o=Xt("date",r):Object.keys(o).length===0&&(o=Xt("date","short")),new Intl.DateTimeFormat(t,o)}),$m=Bi(e=>{var i=e,{locale:t,format:r}=i,o=xt(i,["locale","format"]);if(t==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?o=Xt("time",r):Object.keys(o).length===0&&(o=Xt("time","short")),new Intl.DateTimeFormat(t,o)}),Bm=(e={})=>{var i=e,{locale:t=Xe()}=i,r=xt(i,["locale"]);return Lm(Oo({locale:t},r))},Rm=(e={})=>{var i=e,{locale:t=Xe()}=i,r=xt(i,["locale"]);return Fm(Oo({locale:t},r))},zm=(e={})=>{var i=e,{locale:t=Xe()}=i,r=xt(i,["locale"]);return $m(Oo({locale:t},r))},Um=Bi((e,i=Xe())=>new mm(e,i,gt().formats,{ignoreTag:gt().ignoreTag})),jm=(e,i={})=>{var t,r,o,n;let s=i;typeof e=="object"&&(s=e,e=s.id);const{values:a,locale:l=Xe(),default:u}=s;if(l==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=pl(e,l);if(!c)c=(n=(o=(r=(t=gt()).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=Um(c,l).format(a)}catch(d){d instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,d.message)}return h},Vm=(e,i)=>zm(i).format(e),Gm=(e,i)=>Rm(i).format(e),Wm=(e,i)=>Bm(i).format(e),Ym=(e,i=Xe())=>pl(e,i),vl=vt([Ae,wt],()=>jm);vt([Ae],()=>Vm);vt([Ae],()=>Gm);vt([Ae],()=>Wm);vt([Ae,wt],()=>Ym);window.emWidgets={topic:ap};const wl=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 qm({withLocale:e,translations:i}){Ae.subscribe(t=>{t==null&&(wt.set(i),Ae.set(e))})}function qn(e,i){Do(e,i)}function Xm(e){Ae.set(e)}const Xn={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?"}},tt="__WIDGET_GLOBAL_STYLE_CACHE__";function xl(e,i){if(e){const t=document.createElement("style");t.innerHTML=i,e.appendChild(t)}}function El(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 Tl(e,i,t,r=!1){if(!window.emMessageBus)return;if(!("adoptedStyleSheets"in Document.prototype)||!r)return t=Km(e,i),t;window[tt]||(window[tt]={}),t=Jm(e,i);const n=t.unsubscribe.bind(t),s=()=>{if(window[tt][i]){const a=window[tt][i];a.refCount>1?a.refCount=a.refCount-1:delete window[tt][i]}n()};return t.unsubscribe=s,t}function Km(e,i){const t=document.createElement("style");return window.emMessageBus.subscribe(i,r=>{e&&(t.innerHTML=r,e.appendChild(t))})}function Jm(e,i){return window.emMessageBus.subscribe(i,t=>{if(!e)return;const r=e.getRootNode(),o=window[tt];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 Zm(e){ds(e,"svelte-u6jylo",`.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}.TimeoutSelectWrapper{color:var(--emw--color-gray-300, #58586B);display:flex;flex-direction:column;position:relative}.TimeoutSelectWrapper .TimeoutSelect{width:50%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);background:var(--emw--color-white, #FFFFFF);border-radius:5px;box-sizing:border-box;padding:5px 10px;font-size:16px;line-height:18px;margin-bottom:16px;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:url("data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>") no-repeat var(--emw--color-white, #FFFFFF);background-position:calc(100% - 0.75rem) center}.TimeoutSelectWrapper .TimeoutSelect:focus,.TimeoutSelectWrapper .TimeoutSelect :focus-within,.TimeoutSelectWrapper .TimeoutSelect :focus-visible,.TimeoutSelectWrapper .TimeoutSelect :visited{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));box-shadow:0 0 0 1pt var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.TimeoutSelectWrapper .TimeoutSelect.TimeoutSelectMobile{width:100%;height:36px;font-size:12px}.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 Kn(e,i,t){const r=e.slice();return r[43]=i[t].value,r}function Qm(e){let i,t,r,o=e[18]("titleTimeout")+"",n,s,a,l,u=e[18]("timeoutTextFirst",{values:{operatorname:e[0],baseurl:e[6],lang:e[1]}})+"",c,h,d=e[18]("timeoutTextSecondary",{values:{supportemail:e[5],baseurl:e[6],lang:e[1]}})+"",f,p,y,x,P,D,A,k=e[18]("save")+"",O,z,W,V,le,B,I,te,he=e[19]&&t_(e),T=$o(e[10]),b=[];for(let m=0;m<T.length;m+=1)b[m]=Jn(Kn(e,T,m));let g=e[12]&&Zn(e);return{c(){i=M("form"),he&&he.c(),t=J(),r=M("h2"),n=ge(o),s=J(),a=M("div"),l=M("p"),c=J(),h=M("p"),f=J(),p=M("div"),y=M("select");for(let m=0;m<b.length;m+=1)b[m].c();x=J(),g&&g.c(),P=J(),D=M("div"),A=M("button"),O=ge(k),z=J(),W=M("player-account-modal"),V=M("player-account-general-confirmation-modal"),$(r,"class","TimeoutTitle "+(e[19]?"TimeoutTitleNone":"")),$(a,"class","TimeoutDescription "+(e[19]?"TimeoutDescriptionMobile":"")),$(y,"class","TimeoutSelect "+(e[19]?"TimeoutSelectMobile":"")),e[11]===void 0&&ut(()=>e[27].call(y)),$(p,"class","TimeoutSelectWrapper"),$(A,"class","TimeoutSave"),$(D,"class","TimeoutActionButtons "+(e[19]?"TimeoutActionButtonsMobile":"")),$(i,"class","TimeoutWrapper "+(e[19]?"TimeoutWrapperMobile":"")),S(V,"modalTitle",le=e[18]("confirmationModalTitle")),S(V,"modalText",e[16]),S(V,"hascancelbutton",!1),S(V,"modalconfirmevent","SetPlayerAccountTimeout"),S(V,"modalconfirmdata",B={timeoutSelected:e[11],timeoutExpiryDate:e[13]}),S(V,"mbsource",e[4]),S(V,"lang",e[1]),S(W,"clientstyling",e[2]),S(W,"clientstylingurl",e[3]),S(W,"mbsource",e[4]),S(W,"showmodaleventname","ShowTimeoutConfirmationModal")},m(m,_){fe(m,i,_),he&&he.m(i,null),E(i,t),E(i,r),E(r,n),E(i,s),E(i,a),E(a,l),l.innerHTML=u,E(a,c),E(a,h),h.innerHTML=d,E(i,f),E(i,p),E(p,y);for(let w=0;w<b.length;w+=1)b[w]&&b[w].m(y,null);Ho(y,e[11],!0),E(i,x),g&&g.m(i,null),E(i,P),E(i,D),E(D,A),E(A,O),fe(m,z,_),fe(m,W,_),E(W,V),e[30](V),I||(te=[It(y,"change",e[27]),It(y,"change",e[22]),It(A,"click",e[29])],I=!0)},p(m,_){if(m[19]&&he.p(m,_),_[0]&262144&&o!==(o=m[18]("titleTimeout")+"")&&Ve(n,o),_[0]&262211&&u!==(u=m[18]("timeoutTextFirst",{values:{operatorname:m[0],baseurl:m[6],lang:m[1]}})+"")&&(l.innerHTML=u),_[0]&262242&&d!==(d=m[18]("timeoutTextSecondary",{values:{supportemail:m[5],baseurl:m[6],lang:m[1]}})+"")&&(h.innerHTML=d),_[0]&263168){T=$o(m[10]);let w;for(w=0;w<T.length;w+=1){const C=Kn(m,T,w);b[w]?b[w].p(C,_):(b[w]=Jn(C),b[w].c(),b[w].m(y,null))}for(;w<b.length;w+=1)b[w].d(1);b.length=T.length}_[0]&3072&&Ho(y,m[11]),m[12]?g?g.p(m,_):(g=Zn(m),g.c(),g.m(i,P)):g&&(g.d(1),g=null),_[0]&262144&&k!==(k=m[18]("save")+"")&&Ve(O,k),_[0]&262144&&le!==(le=m[18]("confirmationModalTitle"))&&S(V,"modalTitle",le),_[0]&65536&&S(V,"modalText",m[16]),_[0]&11264&&B!==(B={timeoutSelected:m[11],timeoutExpiryDate:m[13]})&&S(V,"modalconfirmdata",B),_[0]&16&&S(V,"mbsource",m[4]),_[0]&2&&S(V,"lang",m[1]),_[0]&4&&S(W,"clientstyling",m[2]),_[0]&8&&S(W,"clientstylingurl",m[3]),_[0]&16&&S(W,"mbsource",m[4])},d(m){m&&(ae(i),ae(z),ae(W)),he&&he.d(),Rl(b,m),g&&g.d(),e[30](null),I=!1,Se(te)}}}function e_(e){let i,t,r,o,n,s,a,l,u,c,h,d,f,p,y,x;function P(k,O){return k[19]?r_:i_}let A=P(e)(e);return{c(){i=M("div"),A.c(),t=J(),r=M("div"),o=M("ui-skeleton"),n=J(),s=M("div"),a=J(),l=M("ui-skeleton"),u=J(),c=M("div"),h=J(),d=M("div"),f=M("ui-skeleton"),p=J(),y=M("div"),x=M("ui-skeleton"),S(o,"structure","text"),S(o,"height",e[19]?"15px":"20px"),S(o,"rows","3"),S(o,"width","100%"),No(s,"height",e[19]?"10px":"30px"),S(l,"structure","text"),S(l,"height",e[19]?"15px":"20px"),S(l,"rows","3"),S(l,"width","100%"),No(c,"height",e[19]?"10px":"30px"),$(r,"class","TimeoutDescription"),S(f,"structure","rectangle"),S(f,"width",e[19]?"100%":"50%"),S(f,"height",e[19]?"30px":"44px"),S(f,"margin-bottom","16px"),$(d,"class","TimeoutSelectWrapper"),S(x,"structure","rectangle"),S(x,"width","100%"),S(x,"height",e[19]?"35px":"50px"),$(y,"class","TimeoutActionButtons "+(e[19]?"TimeoutActionButtonsMobile":"")),$(i,"class","TimeoutWrapper "+(e[19]?"TimeoutWrapperMobile":""))},m(k,O){fe(k,i,O),A.m(i,null),E(i,t),E(i,r),E(r,o),E(r,n),E(r,s),E(r,a),E(r,l),E(r,u),E(r,c),E(i,h),E(i,d),E(d,f),E(i,p),E(i,y),E(y,x)},p:re,d(k){k&&ae(i),A.d()}}}function t_(e){let i,t,r,o,n,s,a,l,u,c,h=e[18]("titleTimeout")+"",d,f,p;return{c(){i=M("div"),t=$e("svg"),r=$e("defs"),o=$e("style"),n=ge(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"),s=$e("g"),a=$e("g"),l=$e("path"),u=J(),c=M("h2"),d=ge(h),$(l,"class","aaa"),$(l,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),$(l,"transform","translate(15 15) rotate(180)"),$(a,"transform","translate(20 158)"),$(s,"transform","translate(-20 -158)"),$(t,"xmlns","http://www.w3.org/2000/svg"),$(t,"width","15"),$(t,"height","15"),$(t,"viewBox","0 0 15 15"),$(c,"class","TimeoutTitleMobile"),$(c,"part","TimeoutTitleMobile"),$(i,"class","MenuReturnButton"),$(i,"part","MenuReturnButton")},m(y,x){fe(y,i,x),E(i,t),E(t,r),E(r,o),E(o,n),E(t,s),E(s,a),E(a,l),E(i,u),E(i,c),E(c,d),f||(p=It(i,"click",e[26]),f=!0)},p(y,x){x[0]&262144&&h!==(h=y[18]("titleTimeout")+"")&&Ve(d,h)},d(y){y&&ae(i),f=!1,p()}}}function Jn(e){let i,t=e[18](e[43])+"",r,o;return{c(){i=M("option"),r=ge(t),i.__value=o=e[43],Io(i,i.__value)},m(n,s){fe(n,i,s),E(i,r)},p(n,s){s[0]&263168&&t!==(t=n[18](n[43])+"")&&Ve(r,t),s[0]&1024&&o!==(o=n[43])&&(i.__value=o,Io(i,i.__value))},d(n){n&&ae(i)}}}function Zn(e){let i,t,r=e[18]("duration")+"",o,n,s,a=e[18]("dateInstructions")+"",l,u,c,h,d;return{c(){i=M("div"),t=M("label"),o=ge(r),n=J(),s=M("span"),l=ge(a),u=J(),c=M("strong"),c.innerHTML="MM/DD/YYYY<strong></strong>",h=J(),d=M("vaadin-date-picker"),$(t,"for","TimeoutDate"),$(s,"class","TimeoutDateInstructions"),S(d,"min",e[14]),S(d,"max",e[15]),S(d,"value",e[14]),$(i,"class","TimeoutDateWrapper "+(e[19]?"TimeoutDateWrapperMobile":""))},m(f,p){fe(f,i,p),E(i,t),E(t,o),E(i,n),E(i,s),E(s,l),E(s,u),E(s,c),E(i,h),E(i,d),e[28](d)},p(f,p){p[0]&262144&&r!==(r=f[18]("duration")+"")&&Ve(o,r),p[0]&262144&&a!==(a=f[18]("dateInstructions")+"")&&Ve(l,a),p[0]&16384&&S(d,"min",f[14]),p[0]&32768&&S(d,"max",f[15]),p[0]&16384&&S(d,"value",f[14])},d(f){f&&ae(i),e[28](null)}}}function i_(e){let i;return{c(){i=M("ui-skeleton"),S(i,"structure","title"),S(i,"width","100px"),S(i,"margin-top","20px"),S(i,"margin-bottom","20px")},m(t,r){fe(t,i,r)},d(t){t&&ae(i)}}}function r_(e){let i;return{c(){i=M("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>',$(i,"class","MenuReturnButton")},m(t,r){fe(t,i,r)},d(t){t&&ae(i)}}}function o_(e){let i;function t(n,s){return n[17]?e_:Qm}let r=t(e),o=r(e);return{c(){i=M("div"),o.c()},m(n,s){fe(n,i,s),o.m(i,null),e[31](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:re,o:re,d(n){n&&ae(i),o.d(),e[31](null)}}}function n_(e,i,t){let r;ls(e,vl,v=>t(18,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:f="false"}=i;qm({withLocale:"en",translations:{}});let p,y,x,P=window.navigator.userAgent,D=wl(P)!=="PC",A=[{value:"CoolOffFor24Hours",dateSelector:!1},{value:"CoolOffFor7Days",dateSelector:!1},{value:"CoolOffFor30Days",dateSelector:!1},{value:"CoolOffFor3Months",dateSelector:!1}],k=A[0].value,O=!1,z="",W,V,le="",B=f==="true",I=!0,te;const he=()=>{fetch(u).then(v=>v.json()).then(v=>{Object.keys(v).forEach(Q=>{qn(Q,v[Q])})}).catch(v=>{console.log(v)})};Object.keys(Xn).forEach(v=>{qn(v,Xn[v])});const T=()=>{const v=new URL("/v1/player/coolOffSettings",h),Q={method:"GET"};fetch(v.href,Q).then(ne=>{if(!ne.ok)throw new Error("There was an error while fetching the configuration");return ne.json()}).then(ne=>{const{periods:Le}=ne;Le&&t(10,A=Le.map(Ri=>({value:Ri.key,text:Ri.text,dateSelector:Ri.dateSelector})))}).catch(ne=>{console.log(ne)}).finally(()=>{t(17,I=!1),t(11,k=A[0].value)})},b=()=>{if(!B){t(16,le="");return}t(16,le=O?r("confirmationModalTextUntilTimeout",{values:{date:z}}):r("confirmationModalTextPeriodTimeout",{values:{period:r(k)}}))},g=v=>{v.preventDefault(),B?window.postMessage({type:"ShowTimeoutConfirmationModal"},window.location.href):_()},m=v=>{const{timeoutSelected:Q,timeoutExpiryDate:ne}=v.detail;t(11,k=Q),t(13,z=ne),_()},_=()=>{window.postMessage({type:"SetPlayerAccountTimeout",timeoutSelected:k,timeoutExpiryDate:z},window.location.href)},w=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:D},window.location.href)},C=()=>{Xm(n),T()},R=()=>{const v=A.find(Q=>Q.value===k);t(12,O=!1),v.dateSelector&&(t(12,O=!0),t(14,W=Sn().format("YYYY-MM-DD")),t(15,V=Sn().add(6,"months").format("YYYY-MM-DD")),t(13,z=W)),B&&b()},U=v=>{t(13,z=v.target.value)},q=()=>{y.addEventListener("change",U,!1)};Jl(()=>{te&&te.removeEventListener("SetPlayerAccountTimeout",m),y&&y.removeEventListener("change",U)});const K=()=>w();function oe(){k=jl(this),t(11,k),t(10,A)}function Pe(v){rt[v?"unshift":"push"](()=>{y=v,t(8,y)})}const be=v=>g(v);function He(v){rt[v?"unshift":"push"](()=>{te=v,t(9,te)})}function ve(v){rt[v?"unshift":"push"](()=>{p=v,t(7,p)})}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(23,u=v.translationurl),"supportemail"in v&&t(5,c=v.supportemail),"endpoint"in v&&t(24,h=v.endpoint),"baseurl"in v&&t(6,d=v.baseurl),"hasconfirmationmodal"in v&&t(25,f=v.hasconfirmationmodal)},e.$$.update=()=>{e.$$.dirty[0]&256&&y&&q(),e.$$.dirty[0]&2&&n&&C(),e.$$.dirty[0]&132&&s&&p&&xl(p,s),e.$$.dirty[0]&136&&a&&p&&El(p,a),e.$$.dirty[0]&144&&l&&p&&Tl(p,`${l}.Style`,x),e.$$.dirty[0]&8388608&&u&&he(),e.$$.dirty[0]&512&&te&&te.addEventListener("SetPlayerAccountTimeout",m)},B&&b(),[o,n,s,a,l,c,d,p,y,te,A,k,O,z,W,V,le,I,r,D,g,w,R,u,h,f,K,oe,Pe,be,He,ve]}class Cl extends bs{constructor(i){super(),_s(this,i,n_,o_,eo,{operator:0,lang:1,clientstyling:2,clientstylingurl:3,mbsource:4,translationurl:23,supportemail:5,endpoint:24,baseurl:6,hasconfirmationmodal:25},Zm,[-1,-1])}get operator(){return this.$$.ctx[0]}set operator(i){this.$$set({operator:i}),ce()}get lang(){return this.$$.ctx[1]}set lang(i){this.$$set({lang:i}),ce()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(i){this.$$set({clientstyling:i}),ce()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(i){this.$$set({clientstylingurl:i}),ce()}get mbsource(){return this.$$.ctx[4]}set mbsource(i){this.$$set({mbsource:i}),ce()}get translationurl(){return this.$$.ctx[23]}set translationurl(i){this.$$set({translationurl:i}),ce()}get supportemail(){return this.$$.ctx[5]}set supportemail(i){this.$$set({supportemail:i}),ce()}get endpoint(){return this.$$.ctx[24]}set endpoint(i){this.$$set({endpoint:i}),ce()}get baseurl(){return this.$$.ctx[6]}set baseurl(i){this.$$set({baseurl:i}),ce()}get hasconfirmationmodal(){return this.$$.ctx[25]}set hasconfirmationmodal(i){this.$$set({hasconfirmationmodal:i}),ce()}}ys(Cl,{operator:{},lang:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{},supportemail:{},endpoint:{},baseurl:{},hasconfirmationmodal:{}},[],[],!0);const s_=Object.freeze(Object.defineProperty({__proto__:null,default:Cl},Symbol.toStringTag,{value:"Module"}));exports.$format=vl;exports.$locale=Ae;exports.PlayerAccountTimeout_ce=s_;exports.SvelteComponent=bs;exports.addMessages=Do;exports.add_render_callback=ut;exports.append=E;exports.append_styles=ds;exports.attr=$;exports.binding_callbacks=rt;exports.check_outros=ou;exports.component_subscribe=ls;exports.create_bidirectional_transition=au;exports.create_custom_element=ys;exports.create_slot=Il;exports.detach=ae;exports.element=M;exports.empty=zl;exports.flush=ce;exports.getDevice=wl;exports.get_all_dirty_from_scope=Ll;exports.get_slot_changes=Nl;exports.group_outros=ru;exports.identity=ns;exports.init=_s;exports.insert=fe;exports.listen=It;exports.noop=re;exports.onMount=Kl;exports.run_all=Se;exports.safe_not_equal=eo;exports.setClientStyling=xl;exports.setClientStylingURL=El;exports.setStreamStyling=Tl;exports.set_data=Ve;exports.space=J;exports.svg_element=$e;exports.text=ge;exports.transition_in=ms;exports.transition_out=nu;exports.update_slot_base=Hl;
@@ -16055,7 +16055,7 @@ if (typeof window < "u") {
16055
16055
  }
16056
16056
  };
16057
16057
  };
16058
- customElements.define = e(customElements.define), import("./PlayerAccountModal-nl0Z9lkg.js").then(({ default: i }) => {
16058
+ customElements.define = e(customElements.define), import("./PlayerAccountModal-DX2gIIU9.js").then(({ default: i }) => {
16059
16059
  !customElements.get("player-account-modal") && customElements.define("player-account-modal", i.element);
16060
16060
  });
16061
16061
  }
@@ -16071,7 +16071,7 @@ if (typeof window < "u") {
16071
16071
  }
16072
16072
  };
16073
16073
  };
16074
- customElements.define = e(customElements.define), import("./PlayerAccountGeneralConfirmationModal-BnJ-XVCn.js").then(
16074
+ customElements.define = e(customElements.define), import("./PlayerAccountGeneralConfirmationModal-brScqF4H.js").then(
16075
16075
  ({ default: i }) => {
16076
16076
  !customElements.get("player-account-general-confirmation-modal") && customElements.define(
16077
16077
  "player-account-general-confirmation-modal",
@@ -20420,7 +20420,7 @@ function Em(e, i) {
20420
20420
  if (!e)
20421
20421
  return;
20422
20422
  const r = e.getRootNode(), o = window[Je];
20423
- let n = o[i]?.sheet;
20423
+ let n = o[i] && o[i].sheet;
20424
20424
  n ? o[i].refCount = o[i].refCount + 1 : (n = new CSSStyleSheet(), n.replaceSync(t), o[i] = {
20425
20425
  sheet: n,
20426
20426
  refCount: 1
@@ -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-BUPd2JUI.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-DWRWK2jh.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-DwwCBGe6.js").then((e) => e.P).then(({ default: e }) => {
13
+ customElements.define = n(customElements.define), import("../components/PlayerAccountTimeout-BY1aAqbW.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-CnWTIjkU.js";
1
+ import { P as s } from "../components/PlayerAccountTimeout-F9lGE2DR.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.88.5",
3
+ "version": "1.88.7",
4
4
  "type": "module",
5
5
  "main": "es2015/player-account-timeout.cjs",
6
6
  "module": "esnext/player-account-timeout.js",