@everymatrix/player-account-menu 1.99.58 → 1.99.60

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 { a as X, $ as Y, S as J, i as K, f as y, s as W, c as $, b as tt, n as P, d as k, e as L, g as _, h as et, j as nt, o as ot, k as st, l as g, m as T, p as B, t as F, q as it, r as h, u as lt, v as C, w as at, x as E, y as rt, z as ut } from "./PlayerAccountMenu-CfqhmKxY.js";
1
+ import { a as X, $ as Y, S as J, i as K, f as y, s as W, c as $, b as tt, n as P, d as k, e as L, g as _, h as et, j as nt, o as ot, k as st, l as g, m as T, p as B, t as F, q as it, r as h, u as lt, v as C, w as at, x as E, y as rt, z as ut } from "./PlayerAccountMenu-CZVftQoL.js";
2
2
  const ct = (e, t = {}) => {
3
3
  const o = new CustomEvent("track-custom-event", {
4
4
  detail: {
@@ -1 +1 @@
1
- "use strict";var B=(n,e,o)=>new Promise((a,i)=>{var s=r=>{try{c(o.next(r))}catch(d){i(d)}},u=r=>{try{c(o.throw(r))}catch(d){i(d)}},c=r=>r.done?a(r.value):Promise.resolve(r.value).then(s,u);c((o=o.apply(n,e)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./PlayerAccountMenu-Bq7wuvgi.cjs"),D=(n,e={})=>{const o=new CustomEvent("track-custom-event",{detail:{type:n,data:e},bubbles:!0,composed:!0});document.dispatchEvent(o)};function k(n,e){t.addMessages(n,e)}function R(n){t.$locale.set(n)}const M={en:{logoutButton:"Logout"},"zh-hk":{logoutButton:"登出"},fr:{logoutButton:"Déconnexion"},tr:{logoutButton:"Çıkış Yap"},ro:{logoutButton:"Iesire"},es:{logoutButton:"Cerrar sesión"},pt:{logoutButton:"Sair"},hr:{logoutButton:"Odjava"},"pt-br":{logoutButton:"Fechar Sessão"},"es-mx":{logoutButton:"Cerrar sesión"},"en-us":{logoutButton:"Logout"}};function U(n){t.append_styles(n,"svelte-xtnqa3","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.PlayerAccountMenuItemBox{padding:20px;font-size:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerLogoutText{margin-left:20px}.PlayerAccountMenuItemBox svg{fill:var(--emw--pam-typography-color-nav-bg, var(--emw--color-white, #FFFFFF))}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox{height:auto;justify-content:center;position:relative;display:flex;width:unset;padding:0}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox svg{fill:var(--emw--pam-typography-color-nav-bg, var(--emw--color-white, #FFFFFF))}")}function q(n){let e,o,a,i=n[2]("logoutButton")+"",s,u,c;return{c(){e=t.element("div"),o=t.element("button"),a=t.element("span"),s=t.text(i),t.attr(e,"class","GeneralLogout")},m(r,d){t.insert(r,e,d),t.append(e,o),t.append(o,a),t.append(a,s),u||(c=t.listen(o,"click",n[16]),u=!0)},p(r,d){d&4&&i!==(i=r[2]("logoutButton")+"")&&t.set_data(s,i)},d(r){r&&t.detach(e),u=!1,c()}}}function z(n){let e,o,a,i,s,u,c,r,d,b,p,g=!n[3]&&V(n);return{c(){e=t.element("p"),o=t.element("span"),a=t.svg_element("svg"),i=t.svg_element("defs"),s=t.svg_element("style"),u=t.text(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emw--color-white, #FFFFFF);}"),c=t.svg_element("path"),r=t.svg_element("path"),d=t.space(),g&&g.c(),t.attr(c,"class","a88316b4-2478-4a69-b2eb-d32a5fb419dd"),t.attr(c,"d","M147.16,67.69,115.42,36a9.6,9.6,0,1,0-13.58,13.58l15.32,15.31H49.58a9.63,9.63,0,1,0,0,19.26h67.58L101.84,99.42a9.64,9.64,0,0,0,6.79,16.43,9.41,9.41,0,0,0,6.79-2.85l31.74-31.73a9.53,9.53,0,0,0,0-13.58Z"),t.attr(r,"class","a88316b4-2478-4a69-b2eb-d32a5fb419dd"),t.attr(r,"d","M45.16,122.16H19.26V26.79H45.32a9.63,9.63,0,1,0,0-19.26H9.63A9.56,9.56,0,0,0,0,17.16V131.63a9.57,9.57,0,0,0,9.63,9.64H45.32A9.57,9.57,0,0,0,55,131.63a9.78,9.78,0,0,0-9.79-9.47Z"),t.attr(a,"id","bbfaf345-72af-4296-bf4b-2fd41fc03d5d"),t.attr(a,"data-name","Layer 1"),t.attr(a,"xmlns","http://www.w3.org/2000/svg"),t.attr(a,"viewBox","0 0 150 150"),t.set_style(o,"width",n[3]?n[4].matches?"20px":"24px":"20px"),t.attr(e,"class","PlayerAccountMenuItemBox "+(n[3]?"PlayerAccountMenuItemBoxMobile":"")+" "+(n[4].matches&&n[3]?"PlayerAccountMenuItemBoxTablet":""))},m(h,y){t.insert(h,e,y),t.append(e,o),t.append(o,a),t.append(a,i),t.append(i,s),t.append(s,u),t.append(a,c),t.append(a,r),t.append(e,d),g&&g.m(e,null),b||(p=t.listen(e,"click",n[15]),b=!0)},p(h,y){h[3]||g.p(h,y)},d(h){h&&t.detach(e),g&&g.d(),b=!1,p()}}}function V(n){let e,o=n[2]("logoutButton")+"",a;return{c(){e=t.element("span"),a=t.text(o),t.attr(e,"class","PlayerLogoutText")},m(i,s){t.insert(i,e,s),t.append(e,a)},p(i,s){s&4&&o!==(o=i[2]("logoutButton")+"")&&t.set_data(a,o)},d(i){i&&t.detach(e)}}}function Z(n){let e;function o(s,u){return s[0]==="PlayerAccountMenu"?z:q}let a=o(n),i=a(n);return{c(){e=t.element("div"),i.c()},m(s,u){t.insert(s,e,u),i.m(e,null),n[17](e)},p(s,[u]){a===(a=o(s))&&i?i.p(s,u):(i.d(1),i=a(s),i&&(i.c(),i.m(e,null)))},i:t.noop,o:t.noop,d(s){s&&t.detach(e),i.d(),n[17](null)}}}function Q(n,e,o){let a;t.component_subscribe(n,t.$format,l=>o(2,a=l));let{endpoint:i=""}=e,{session:s=""}=e,{buttonlocation:u=""}=e,{lang:c=""}=e,{mbsource:r}=e,{clientstyling:d=""}=e,{clientstylingurl:b=""}=e,{translationurl:p=""}=e,{beforelogouthandshake:g="false"}=e,{beforelogoutmaxwait:h="3000"}=e,y="",_=!1,m,A,F=window.navigator.userAgent,P=t.getDevice(F)!=="PC";const S=window.matchMedia("(min-width: 768px)"),E=()=>{fetch(p).then(f=>f.json()).then(f=>{Object.keys(f).forEach(w=>{k(w,f[w])})}).catch(f=>{console.log(f)})};Object.keys(M).forEach(l=>{k(l,M[l])});const I=()=>new Promise(l=>{const f=()=>{clearTimeout(G),window.removeEventListener("message",w),l()},w=N=>{var v;((v=N.data)==null?void 0:v.type)==="BeforeLogoutDone"&&f()},G=setTimeout(f,Number(h)||3e3);window.addEventListener("message",w),window.postMessage({type:"BeforeLogout"},window.location.href)}),x=()=>B(this,null,function*(){g==="true"&&(yield I());let l=new Headers;l.append("Content-type","application/json"),l.append("X-SessionID",s);let f={method:"DELETE",headers:l};fetch(`${i}/v1/player/session/player`,f).then(w=>{window.postMessage({type:"LogoutSuccessfull"},window.location.href),D("logged_out",{})})}),T=()=>(i||(y="GENERAL-LOGOUT - Endpoint is missing! Please provide a valid endpointURL.",_=!0,console.error(y)),s||(y="GENERAL-LOGOUT - Session is missing! Please provide a valid session.",_=!0,console.error(y)),_),C=()=>{R(c)};t.onMount(()=>()=>{});const O=()=>x(),H=()=>x();function j(l){t.binding_callbacks[l?"unshift":"push"](()=>{m=l,o(1,m)})}return n.$$set=l=>{"endpoint"in l&&o(6,i=l.endpoint),"session"in l&&o(7,s=l.session),"buttonlocation"in l&&o(0,u=l.buttonlocation),"lang"in l&&o(8,c=l.lang),"mbsource"in l&&o(9,r=l.mbsource),"clientstyling"in l&&o(10,d=l.clientstyling),"clientstylingurl"in l&&o(11,b=l.clientstylingurl),"translationurl"in l&&o(12,p=l.translationurl),"beforelogouthandshake"in l&&o(13,g=l.beforelogouthandshake),"beforelogoutmaxwait"in l&&o(14,h=l.beforelogoutmaxwait)},n.$$.update=()=>{n.$$.dirty&193&&i&&s&&u&&T(),n.$$.dirty&256&&c&&C(),n.$$.dirty&1026&&d&&m&&t.setClientStyling(),n.$$.dirty&1026&&d&&m&&t.setClientStyling(m,d),n.$$.dirty&2050&&b&&m&&t.setClientStylingURL(m,b),n.$$.dirty&514&&r&&m&&t.setStreamStyling(m,`${r}.Style`,A),n.$$.dirty&4096&&p&&E()},[u,m,a,P,S,x,i,s,c,r,d,b,p,g,h,O,H,j]}class L extends t.SvelteComponent{constructor(e){super(),t.init(this,e,Q,Z,t.safe_not_equal,{endpoint:6,session:7,buttonlocation:0,lang:8,mbsource:9,clientstyling:10,clientstylingurl:11,translationurl:12,beforelogouthandshake:13,beforelogoutmaxwait:14},U)}get endpoint(){return this.$$.ctx[6]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get session(){return this.$$.ctx[7]}set session(e){this.$$set({session:e}),t.flush()}get buttonlocation(){return this.$$.ctx[0]}set buttonlocation(e){this.$$set({buttonlocation:e}),t.flush()}get lang(){return this.$$.ctx[8]}set lang(e){this.$$set({lang:e}),t.flush()}get mbsource(){return this.$$.ctx[9]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get translationurl(){return this.$$.ctx[12]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get beforelogouthandshake(){return this.$$.ctx[13]}set beforelogouthandshake(e){this.$$set({beforelogouthandshake:e}),t.flush()}get beforelogoutmaxwait(){return this.$$.ctx[14]}set beforelogoutmaxwait(e){this.$$set({beforelogoutmaxwait:e}),t.flush()}}t.create_custom_element(L,{endpoint:{},session:{},buttonlocation:{},lang:{},mbsource:{},clientstyling:{},clientstylingurl:{},translationurl:{},beforelogouthandshake:{},beforelogoutmaxwait:{}},[],[],!0);exports.default=L;
1
+ "use strict";var B=(n,e,o)=>new Promise((a,i)=>{var s=r=>{try{c(o.next(r))}catch(d){i(d)}},u=r=>{try{c(o.throw(r))}catch(d){i(d)}},c=r=>r.done?a(r.value):Promise.resolve(r.value).then(s,u);c((o=o.apply(n,e)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./PlayerAccountMenu-CCGxtjCD.cjs"),D=(n,e={})=>{const o=new CustomEvent("track-custom-event",{detail:{type:n,data:e},bubbles:!0,composed:!0});document.dispatchEvent(o)};function k(n,e){t.addMessages(n,e)}function R(n){t.$locale.set(n)}const M={en:{logoutButton:"Logout"},"zh-hk":{logoutButton:"登出"},fr:{logoutButton:"Déconnexion"},tr:{logoutButton:"Çıkış Yap"},ro:{logoutButton:"Iesire"},es:{logoutButton:"Cerrar sesión"},pt:{logoutButton:"Sair"},hr:{logoutButton:"Odjava"},"pt-br":{logoutButton:"Fechar Sessão"},"es-mx":{logoutButton:"Cerrar sesión"},"en-us":{logoutButton:"Logout"}};function U(n){t.append_styles(n,"svelte-xtnqa3","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.PlayerAccountMenuItemBox{padding:20px;font-size:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerLogoutText{margin-left:20px}.PlayerAccountMenuItemBox svg{fill:var(--emw--pam-typography-color-nav-bg, var(--emw--color-white, #FFFFFF))}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox{height:auto;justify-content:center;position:relative;display:flex;width:unset;padding:0}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox svg{fill:var(--emw--pam-typography-color-nav-bg, var(--emw--color-white, #FFFFFF))}")}function q(n){let e,o,a,i=n[2]("logoutButton")+"",s,u,c;return{c(){e=t.element("div"),o=t.element("button"),a=t.element("span"),s=t.text(i),t.attr(e,"class","GeneralLogout")},m(r,d){t.insert(r,e,d),t.append(e,o),t.append(o,a),t.append(a,s),u||(c=t.listen(o,"click",n[16]),u=!0)},p(r,d){d&4&&i!==(i=r[2]("logoutButton")+"")&&t.set_data(s,i)},d(r){r&&t.detach(e),u=!1,c()}}}function z(n){let e,o,a,i,s,u,c,r,d,b,p,g=!n[3]&&V(n);return{c(){e=t.element("p"),o=t.element("span"),a=t.svg_element("svg"),i=t.svg_element("defs"),s=t.svg_element("style"),u=t.text(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emw--color-white, #FFFFFF);}"),c=t.svg_element("path"),r=t.svg_element("path"),d=t.space(),g&&g.c(),t.attr(c,"class","a88316b4-2478-4a69-b2eb-d32a5fb419dd"),t.attr(c,"d","M147.16,67.69,115.42,36a9.6,9.6,0,1,0-13.58,13.58l15.32,15.31H49.58a9.63,9.63,0,1,0,0,19.26h67.58L101.84,99.42a9.64,9.64,0,0,0,6.79,16.43,9.41,9.41,0,0,0,6.79-2.85l31.74-31.73a9.53,9.53,0,0,0,0-13.58Z"),t.attr(r,"class","a88316b4-2478-4a69-b2eb-d32a5fb419dd"),t.attr(r,"d","M45.16,122.16H19.26V26.79H45.32a9.63,9.63,0,1,0,0-19.26H9.63A9.56,9.56,0,0,0,0,17.16V131.63a9.57,9.57,0,0,0,9.63,9.64H45.32A9.57,9.57,0,0,0,55,131.63a9.78,9.78,0,0,0-9.79-9.47Z"),t.attr(a,"id","bbfaf345-72af-4296-bf4b-2fd41fc03d5d"),t.attr(a,"data-name","Layer 1"),t.attr(a,"xmlns","http://www.w3.org/2000/svg"),t.attr(a,"viewBox","0 0 150 150"),t.set_style(o,"width",n[3]?n[4].matches?"20px":"24px":"20px"),t.attr(e,"class","PlayerAccountMenuItemBox "+(n[3]?"PlayerAccountMenuItemBoxMobile":"")+" "+(n[4].matches&&n[3]?"PlayerAccountMenuItemBoxTablet":""))},m(h,y){t.insert(h,e,y),t.append(e,o),t.append(o,a),t.append(a,i),t.append(i,s),t.append(s,u),t.append(a,c),t.append(a,r),t.append(e,d),g&&g.m(e,null),b||(p=t.listen(e,"click",n[15]),b=!0)},p(h,y){h[3]||g.p(h,y)},d(h){h&&t.detach(e),g&&g.d(),b=!1,p()}}}function V(n){let e,o=n[2]("logoutButton")+"",a;return{c(){e=t.element("span"),a=t.text(o),t.attr(e,"class","PlayerLogoutText")},m(i,s){t.insert(i,e,s),t.append(e,a)},p(i,s){s&4&&o!==(o=i[2]("logoutButton")+"")&&t.set_data(a,o)},d(i){i&&t.detach(e)}}}function Z(n){let e;function o(s,u){return s[0]==="PlayerAccountMenu"?z:q}let a=o(n),i=a(n);return{c(){e=t.element("div"),i.c()},m(s,u){t.insert(s,e,u),i.m(e,null),n[17](e)},p(s,[u]){a===(a=o(s))&&i?i.p(s,u):(i.d(1),i=a(s),i&&(i.c(),i.m(e,null)))},i:t.noop,o:t.noop,d(s){s&&t.detach(e),i.d(),n[17](null)}}}function Q(n,e,o){let a;t.component_subscribe(n,t.$format,l=>o(2,a=l));let{endpoint:i=""}=e,{session:s=""}=e,{buttonlocation:u=""}=e,{lang:c=""}=e,{mbsource:r}=e,{clientstyling:d=""}=e,{clientstylingurl:b=""}=e,{translationurl:p=""}=e,{beforelogouthandshake:g="false"}=e,{beforelogoutmaxwait:h="3000"}=e,y="",_=!1,m,A,F=window.navigator.userAgent,P=t.getDevice(F)!=="PC";const S=window.matchMedia("(min-width: 768px)"),E=()=>{fetch(p).then(f=>f.json()).then(f=>{Object.keys(f).forEach(w=>{k(w,f[w])})}).catch(f=>{console.log(f)})};Object.keys(M).forEach(l=>{k(l,M[l])});const I=()=>new Promise(l=>{const f=()=>{clearTimeout(G),window.removeEventListener("message",w),l()},w=N=>{var v;((v=N.data)==null?void 0:v.type)==="BeforeLogoutDone"&&f()},G=setTimeout(f,Number(h)||3e3);window.addEventListener("message",w),window.postMessage({type:"BeforeLogout"},window.location.href)}),x=()=>B(this,null,function*(){g==="true"&&(yield I());let l=new Headers;l.append("Content-type","application/json"),l.append("X-SessionID",s);let f={method:"DELETE",headers:l};fetch(`${i}/v1/player/session/player`,f).then(w=>{window.postMessage({type:"LogoutSuccessfull"},window.location.href),D("logged_out",{})})}),T=()=>(i||(y="GENERAL-LOGOUT - Endpoint is missing! Please provide a valid endpointURL.",_=!0,console.error(y)),s||(y="GENERAL-LOGOUT - Session is missing! Please provide a valid session.",_=!0,console.error(y)),_),C=()=>{R(c)};t.onMount(()=>()=>{});const O=()=>x(),H=()=>x();function j(l){t.binding_callbacks[l?"unshift":"push"](()=>{m=l,o(1,m)})}return n.$$set=l=>{"endpoint"in l&&o(6,i=l.endpoint),"session"in l&&o(7,s=l.session),"buttonlocation"in l&&o(0,u=l.buttonlocation),"lang"in l&&o(8,c=l.lang),"mbsource"in l&&o(9,r=l.mbsource),"clientstyling"in l&&o(10,d=l.clientstyling),"clientstylingurl"in l&&o(11,b=l.clientstylingurl),"translationurl"in l&&o(12,p=l.translationurl),"beforelogouthandshake"in l&&o(13,g=l.beforelogouthandshake),"beforelogoutmaxwait"in l&&o(14,h=l.beforelogoutmaxwait)},n.$$.update=()=>{n.$$.dirty&193&&i&&s&&u&&T(),n.$$.dirty&256&&c&&C(),n.$$.dirty&1026&&d&&m&&t.setClientStyling(),n.$$.dirty&1026&&d&&m&&t.setClientStyling(m,d),n.$$.dirty&2050&&b&&m&&t.setClientStylingURL(m,b),n.$$.dirty&514&&r&&m&&t.setStreamStyling(m,`${r}.Style`,A),n.$$.dirty&4096&&p&&E()},[u,m,a,P,S,x,i,s,c,r,d,b,p,g,h,O,H,j]}class L extends t.SvelteComponent{constructor(e){super(),t.init(this,e,Q,Z,t.safe_not_equal,{endpoint:6,session:7,buttonlocation:0,lang:8,mbsource:9,clientstyling:10,clientstylingurl:11,translationurl:12,beforelogouthandshake:13,beforelogoutmaxwait:14},U)}get endpoint(){return this.$$.ctx[6]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get session(){return this.$$.ctx[7]}set session(e){this.$$set({session:e}),t.flush()}get buttonlocation(){return this.$$.ctx[0]}set buttonlocation(e){this.$$set({buttonlocation:e}),t.flush()}get lang(){return this.$$.ctx[8]}set lang(e){this.$$set({lang:e}),t.flush()}get mbsource(){return this.$$.ctx[9]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get translationurl(){return this.$$.ctx[12]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get beforelogouthandshake(){return this.$$.ctx[13]}set beforelogouthandshake(e){this.$$set({beforelogouthandshake:e}),t.flush()}get beforelogoutmaxwait(){return this.$$.ctx[14]}set beforelogoutmaxwait(e){this.$$set({beforelogoutmaxwait:e}),t.flush()}}t.create_custom_element(L,{endpoint:{},session:{},buttonlocation:{},lang:{},mbsource:{},clientstyling:{},clientstylingurl:{},translationurl:{},beforelogouthandshake:{},beforelogoutmaxwait:{}},[],[],!0);exports.default=L;
@@ -14,7 +14,7 @@ var E = (e, t, n) => new Promise((l, s) => {
14
14
  }, u = (a) => a.done ? l(a.value) : Promise.resolve(a.value).then(i, r);
15
15
  u((n = n.apply(e, t)).next());
16
16
  });
17
- import { a as J, $ as K, S as W, i as $, s as tt, f as y, b as et, n as S, d as k, c as L, e as _, g as nt, h as ot, o as st, j as it, k as g, l as H, m as B, t as F, p as lt, q as h, r as at, u as O, v as I, w as rt, x as ut, y as ct, z as gt } from "./PlayerAccountMenu-DvEcQcuU.js";
17
+ import { a as J, $ as K, S as W, i as $, s as tt, f as y, b as et, n as S, d as k, c as L, e as _, g as nt, h as ot, o as st, j as it, k as g, l as H, m as B, t as F, p as lt, q as h, r as at, u as O, v as I, w as rt, x as ut, y as ct, z as gt } from "./PlayerAccountMenu-C8v7qiqn.js";
18
18
  const dt = (e, t = {}) => {
19
19
  const n = new CustomEvent("track-custom-event", {
20
20
  detail: {
@@ -10,7 +10,7 @@ var Oe = (e, t, r) => t in e ? Dr(e, t, { enumerable: !0, configurable: !0, writ
10
10
  Vr.call(t, r) && Oe(e, r, t[r]);
11
11
  return e;
12
12
  }, bt = (e, t) => Gr(e, jr(t));
13
- var N = (e, t, r) => (Oe(e, typeof t != "symbol" ? t + "" : t, r), r);
13
+ var N = (e, t, r) => Oe(e, typeof t != "symbol" ? t + "" : t, r);
14
14
  var yt = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (l) => {
16
16
  try {
@@ -27,7 +27,7 @@ var yt = (e, t, r) => new Promise((n, i) => {
27
27
  }, a = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(o, s);
28
28
  a((r = r.apply(e, t)).next());
29
29
  });
30
- import "../stencil/ui-skeleton-xXZA3rYO.js";
30
+ import "../stencil/ui-skeleton-BjsoPeRQ.js";
31
31
  function R() {
32
32
  }
33
33
  function Zt(e) {
@@ -75,8 +75,7 @@ function zr(e, t, r) {
75
75
  }
76
76
  }
77
77
  function Zr(e) {
78
- if (!e)
79
- return document;
78
+ if (!e) return document;
80
79
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
81
80
  return t && /** @type {ShadowRoot} */
82
81
  t.host ? (
@@ -147,8 +146,7 @@ function ue(e) {
147
146
  le = e;
148
147
  }
149
148
  function Yr() {
150
- if (!le)
151
- throw new Error("Function called outside component initialization");
149
+ if (!le) throw new Error("Function called outside component initialization");
152
150
  return le;
153
151
  }
154
152
  function Kr(e) {
@@ -179,8 +177,7 @@ function C() {
179
177
  } catch (t) {
180
178
  throw Z.length = 0, X = 0, t;
181
179
  }
182
- for (ue(null), Z.length = 0, X = 0; je.length; )
183
- je.pop()();
180
+ for (ue(null), Z.length = 0, X = 0; je.length; ) je.pop()();
184
181
  for (let t = 0; t < q.length; t += 1) {
185
182
  const r = q[t];
186
183
  Ce.has(r) || (Ce.add(r), r());
@@ -510,8 +507,7 @@ var We = function(e, t) {
510
507
  return We = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
511
508
  r.__proto__ = n;
512
509
  } || function(r, n) {
513
- for (var i in n)
514
- Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
510
+ for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
515
511
  }, We(e, t);
516
512
  };
517
513
  function fe(e, t) {
@@ -525,40 +521,34 @@ function fe(e, t) {
525
521
  }
526
522
  function Xe(e) {
527
523
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
528
- if (r)
529
- return r.call(e);
530
- if (e && typeof e.length == "number")
531
- return {
532
- next: function() {
533
- return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
534
- }
535
- };
524
+ if (r) return r.call(e);
525
+ if (e && typeof e.length == "number") return {
526
+ next: function() {
527
+ return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
528
+ }
529
+ };
536
530
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
537
531
  }
538
532
  function ze(e, t) {
539
533
  var r = typeof Symbol == "function" && e[Symbol.iterator];
540
- if (!r)
541
- return e;
534
+ if (!r) return e;
542
535
  var n = r.call(e), i, o = [], s;
543
536
  try {
544
- for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
545
- o.push(i.value);
537
+ for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; ) o.push(i.value);
546
538
  } catch (a) {
547
539
  s = { error: a };
548
540
  } finally {
549
541
  try {
550
542
  i && !i.done && (r = n.return) && r.call(n);
551
543
  } finally {
552
- if (s)
553
- throw s.error;
544
+ if (s) throw s.error;
554
545
  }
555
546
  }
556
547
  return o;
557
548
  }
558
549
  function Ze(e, t, r) {
559
- if (arguments.length === 2)
560
- for (var n = 0, i = t.length, o; n < i; n++)
561
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
550
+ if (arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
551
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
562
552
  return e.concat(o || t);
563
553
  }
564
554
  function G(e) {
@@ -607,8 +597,7 @@ var Se = function() {
607
597
  try {
608
598
  l && !l.done && (r = a.return) && r.call(a);
609
599
  } finally {
610
- if (t)
611
- throw t.error;
600
+ if (t) throw t.error;
612
601
  }
613
602
  }
614
603
  else
@@ -638,8 +627,7 @@ var Se = function() {
638
627
  try {
639
628
  p && !p.done && (i = f.return) && i.call(f);
640
629
  } finally {
641
- if (n)
642
- throw n.error;
630
+ if (n) throw n.error;
643
631
  }
644
632
  }
645
633
  }
@@ -906,8 +894,7 @@ var Pn = Kt(function(e) {
906
894
  try {
907
895
  a && !a.done && (o = s.return) && o.call(s);
908
896
  } finally {
909
- if (i)
910
- throw i.error;
897
+ if (i) throw i.error;
911
898
  }
912
899
  }
913
900
  }
@@ -1152,8 +1139,7 @@ var Je = function(e, t) {
1152
1139
  return Je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1153
1140
  r.__proto__ = n;
1154
1141
  } || function(r, n) {
1155
- for (var i in n)
1156
- Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1142
+ for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1157
1143
  }, Je(e, t);
1158
1144
  };
1159
1145
  function He(e, t) {
@@ -1169,25 +1155,22 @@ var U = function() {
1169
1155
  return U = Object.assign || function(t) {
1170
1156
  for (var r, n = 1, i = arguments.length; n < i; n++) {
1171
1157
  r = arguments[n];
1172
- for (var o in r)
1173
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1158
+ for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1174
1159
  }
1175
1160
  return t;
1176
1161
  }, U.apply(this, arguments);
1177
1162
  };
1178
1163
  function Wn(e, t) {
1179
1164
  var r = {};
1180
- for (var n in e)
1181
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1165
+ for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1182
1166
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
1183
1167
  for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1184
1168
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1185
1169
  return r;
1186
1170
  }
1187
1171
  function Ne(e, t, r) {
1188
- if (r || arguments.length === 2)
1189
- for (var n = 0, i = t.length, o; n < i; n++)
1190
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1172
+ if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
1173
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1191
1174
  return e.concat(o || Array.prototype.slice.call(t));
1192
1175
  }
1193
1176
  function Re(e, t) {
@@ -1242,8 +1225,7 @@ var qn = function() {
1242
1225
  return Ae = Object.assign || function(t) {
1243
1226
  for (var r, n = 1, i = arguments.length; n < i; n++) {
1244
1227
  r = arguments[n];
1245
- for (var o in r)
1246
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1228
+ for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1247
1229
  }
1248
1230
  return t;
1249
1231
  }, Ae.apply(this, arguments);
@@ -1389,8 +1371,7 @@ var H = function() {
1389
1371
  return H = Object.assign || function(t) {
1390
1372
  for (var r, n = 1, i = arguments.length; n < i; n++) {
1391
1373
  r = arguments[n];
1392
- for (var o in r)
1393
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1374
+ for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1394
1375
  }
1395
1376
  return t;
1396
1377
  }, H.apply(this, arguments);
@@ -3032,8 +3013,7 @@ function li(e, t) {
3032
3013
  r += l;
3033
3014
  for (; s-- > 0; )
3034
3015
  r = u + r;
3035
- } else
3036
- i === "J" ? r += "H" : r += i;
3016
+ } else i === "J" ? r += "H" : r += i;
3037
3017
  }
3038
3018
  return r;
3039
3019
  }
@@ -3636,8 +3616,7 @@ function nt(e) {
3636
3616
  if (delete t.location, hr(t) || fr(t))
3637
3617
  for (var r in t.options)
3638
3618
  delete t.options[r].location, nt(t.options[r].value);
3639
- else
3640
- ur(t) && mr(t.style) || (lr(t) || cr(t)) && Ye(t.style) ? delete t.style.location : pr(t) && nt(t.children);
3619
+ else ur(t) && mr(t.style) || (lr(t) || cr(t)) && Ye(t.style) ? delete t.style.location : pr(t) && nt(t.children);
3641
3620
  });
3642
3621
  }
3643
3622
  function Hi(e, t) {
@@ -4322,8 +4301,7 @@ function go(e, t) {
4322
4301
  }
4323
4302
  }
4324
4303
  function vo(e, t) {
4325
- if (!e || !t)
4326
- return;
4304
+ if (!e || !t) return;
4327
4305
  const r = new URL(t);
4328
4306
  fetch(r.href).then((n) => n.text()).then((n) => {
4329
4307
  const i = document.createElement("style");
@@ -4333,8 +4311,7 @@ function vo(e, t) {
4333
4311
  });
4334
4312
  }
4335
4313
  function _o(e, t, r, n = !1) {
4336
- if (!window.emMessageBus)
4337
- return;
4314
+ if (!window.emMessageBus) return;
4338
4315
  if (!("adoptedStyleSheets" in Document.prototype) || !n)
4339
4316
  return r = xo(e, t), r;
4340
4317
  window[Q] || (window[Q] = {}), r = Eo(e, t);
@@ -4355,8 +4332,7 @@ function xo(e, t) {
4355
4332
  }
4356
4333
  function Eo(e, t) {
4357
4334
  return window.emMessageBus.subscribe(t, (r) => {
4358
- if (!e)
4359
- return;
4335
+ if (!e) return;
4360
4336
  const n = e.getRootNode(), i = window[Q];
4361
4337
  let o = i[t] && i[t].sheet;
4362
4338
  o ? i[t].refCount = i[t].refCount + 1 : (o = new CSSStyleSheet(), o.replaceSync(r), i[t] = {
@@ -4379,7 +4355,7 @@ if (typeof window != "undefined") {
4379
4355
  }
4380
4356
  };
4381
4357
  };
4382
- customElements.define = e(customElements.define), import("./GeneralLogout-D_btlWY4.js").then(({ default: t }) => {
4358
+ customElements.define = e(customElements.define), import("./GeneralLogout-CzTNvuwY.js").then(({ default: t }) => {
4383
4359
  !customElements.get("general-logout") && customElements.define("general-logout", t.element);
4384
4360
  });
4385
4361
  }
@@ -1,4 +1,4 @@
1
- "use strict";var Qr=Object.defineProperty,Jr=Object.defineProperties;var Yr=Object.getOwnPropertyDescriptors;var yt=Object.getOwnPropertySymbols;var Kr=Object.prototype.hasOwnProperty,en=Object.prototype.propertyIsEnumerable;var Le=(e,t,r)=>t in e?Qr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,gt=(e,t)=>{for(var r in t||(t={}))Kr.call(t,r)&&Le(e,r,t[r]);if(yt)for(var r of yt(t))en.call(t,r)&&Le(e,r,t[r]);return e},vt=(e,t)=>Jr(e,Yr(t));var $=(e,t,r)=>(Le(e,typeof t!="symbol"?t+"":t,r),r);var _t=(e,t,r)=>new Promise((n,i)=>{var o=l=>{try{a(r.next(l))}catch(u){i(u)}},s=l=>{try{a(r.throw(l))}catch(u){i(u)}},a=l=>l.done?n(l.value):Promise.resolve(l.value).then(o,s);a((r=r.apply(e,t)).next())});require("../stencil/ui-skeleton-BreIU6e5.cjs");function N(){}function Qt(e){return e()}function xt(){return Object.create(null)}function ne(e){e.forEach(Qt)}function at(e){return typeof e=="function"}function ut(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}let de;function Et(e,t){return e===t?!0:(de||(de=document.createElement("a")),de.href=t,e===de.href)}function tn(e){return Object.keys(e).length===0}function Jt(e,...t){if(e==null){for(const n of t)n(void 0);return N}const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function Yt(e,t,r){e.$$.on_destroy.push(Jt(t,r))}function g(e,t){e.appendChild(t)}function Kt(e,t,r){const n=rn(e);if(!n.getElementById(t)){const i=P("style");i.id=t,i.textContent=r,nn(n,i)}}function rn(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function nn(e,t){return g(e.head||e,t),t.sheet}function U(e,t,r){e.insertBefore(t,r||null)}function R(e){e.parentNode&&e.parentNode.removeChild(e)}function er(e,t){for(let r=0;r<e.length;r+=1)e[r]&&e[r].d(t)}function P(e){return document.createElement(e)}function V(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function W(e){return document.createTextNode(e)}function C(){return W(" ")}function Ee(e,t,r,n){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r,n)}function v(e,t,r){r==null?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function A(e,t,r){const n=t.toLowerCase();n in e?e[n]=typeof e[n]=="boolean"&&r===""?!0:r:t in e?e[t]=typeof e[t]=="boolean"&&r===""?!0:r:v(e,t,r)}function on(e){return Array.from(e.childNodes)}function le(e,t){t=""+t,e.data!==t&&(e.data=t)}function sn(e,t,r,n){r==null?e.style.removeProperty(t):e.style.setProperty(t,r,"")}function an(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}let ce;function ue(e){ce=e}function un(){if(!ce)throw new Error("Function called outside component initialization");return ce}function tr(e){un().$$.on_mount.push(e)}const Q=[],Ae=[];let Y=[];const At=[],ln=Promise.resolve();let ke=!1;function cn(){ke||(ke=!0,ln.then(I))}function Ve(e){Y.push(e)}const Ne=new Set;let Z=0;function I(){if(Z!==0)return;const e=ce;do{try{for(;Z<Q.length;){const t=Q[Z];Z++,ue(t),hn(t.$$)}}catch(t){throw Q.length=0,Z=0,t}for(ue(null),Q.length=0,Z=0;Ae.length;)Ae.pop()();for(let t=0;t<Y.length;t+=1){const r=Y[t];Ne.has(r)||(Ne.add(r),r())}Y.length=0}while(Q.length);for(;At.length;)At.pop()();ke=!1,Ne.clear(),ue(e)}function hn(e){if(e.fragment!==null){e.update(),ne(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(Ve)}}function fn(e){const t=[],r=[];Y.forEach(n=>e.indexOf(n)===-1?t.push(n):r.push(n)),r.forEach(n=>n()),Y=t}const pn=new Set;function mn(e,t){e&&e.i&&(pn.delete(e),e.i(t))}function we(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function dn(e,t,r){const{fragment:n,after_update:i}=e.$$;n&&n.m(t,r),Ve(()=>{const o=e.$$.on_mount.map(Qt).filter(at);e.$$.on_destroy?e.$$.on_destroy.push(...o):ne(o),e.$$.on_mount=[]}),i.forEach(Ve)}function bn(e,t){const r=e.$$;r.fragment!==null&&(fn(r.after_update),ne(r.on_destroy),r.fragment&&r.fragment.d(t),r.on_destroy=r.fragment=null,r.ctx=[])}function yn(e,t){e.$$.dirty[0]===-1&&(Q.push(e),cn(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function rr(e,t,r,n,i,o,s=null,a=[-1]){const l=ce;ue(e);const u=e.$$={fragment:null,ctx:[],props:o,update:N,not_equal:i,bound:xt(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(l?l.$$.context:[])),callbacks:xt(),dirty:a,skip_bound:!1,root:t.target||l.$$.root};s&&s(u.root);let c=!1;if(u.ctx=r?r(e,t.props||{},(h,f,...p)=>{const m=p.length?p[0]:f;return u.ctx&&i(u.ctx[h],u.ctx[h]=m)&&(!u.skip_bound&&u.bound[h]&&u.bound[h](m),c&&yn(e,h)),f}):[],u.update(),c=!0,ne(u.before_update),u.fragment=n?n(u.ctx):!1,t.target){if(t.hydrate){const h=on(t.target);u.fragment&&u.fragment.l(h),h.forEach(R)}else u.fragment&&u.fragment.c();t.intro&&mn(e.$$.fragment),dn(e,t.target,t.anchor),I()}ue(l)}let nr;typeof HTMLElement=="function"&&(nr=class extends HTMLElement{constructor(t,r,n){super();$(this,"$$ctor");$(this,"$$s");$(this,"$$c");$(this,"$$cn",!1);$(this,"$$d",{});$(this,"$$r",!1);$(this,"$$p_d",{});$(this,"$$l",{});$(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=r,n&&this.attachShadow({mode:"open"})}addEventListener(t,r,n){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(r),this.$$c){const i=this.$$c.$on(t,r);this.$$l_u.set(r,i)}super.addEventListener(t,r,n)}removeEventListener(t,r,n){if(super.removeEventListener(t,r,n),this.$$c){const i=this.$$l_u.get(r);i&&(i(),this.$$l_u.delete(r))}}connectedCallback(){return _t(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(o){return()=>{let s;return{c:function(){s=P("slot"),o!=="default"&&v(s,"name",o)},m:function(u,c){U(u,s,c)},d:function(u){u&&R(s)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const r={},n=an(this);for(const o of this.$$s)o in n&&(r[o]=[t(o)]);for(const o of this.attributes){const s=this.$$g_p(o.name);s in this.$$d||(this.$$d[s]=ge(s,o.value,this.$$p_d,"toProp"))}for(const o in this.$$p_d)!(o in this.$$d)&&this[o]!==void 0&&(this.$$d[o]=this[o],delete this[o]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:vt(gt({},this.$$d),{$$slots:r,$$scope:{ctx:[]}})});const i=()=>{this.$$r=!0;for(const o in this.$$p_d)if(this.$$d[o]=this.$$c.$$.ctx[this.$$c.$$.props[o]],this.$$p_d[o].reflect){const s=ge(o,this.$$d[o],this.$$p_d,"toAttribute");s==null?this.removeAttribute(this.$$p_d[o].attribute||o):this.setAttribute(this.$$p_d[o].attribute||o,s)}this.$$r=!1};this.$$c.$$.after_update.push(i),i();for(const o in this.$$l)for(const s of this.$$l[o]){const a=this.$$c.$on(o,s);this.$$l_u.set(s,a)}this.$$l={}}})}attributeChangedCallback(t,r,n){var i;this.$$r||(t=this.$$g_p(t),this.$$d[t]=ge(t,n,this.$$p_d,"toProp"),(i=this.$$c)==null||i.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(t){return Object.keys(this.$$p_d).find(r=>this.$$p_d[r].attribute===t||!this.$$p_d[r].attribute&&r.toLowerCase()===t)||t}});function ge(e,t,r,n){var o;const i=(o=r[e])==null?void 0:o.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!n||!r[e])return t;if(n==="toAttribute")switch(i){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t==null?null:t;default:return t}else switch(i){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function ir(e,t,r,n,i,o){let s=class extends nr{constructor(){super(e,r,i),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(a=>(t[a].attribute||a).toLowerCase())}};return Object.keys(t).forEach(a=>{Object.defineProperty(s.prototype,a,{get(){return this.$$c&&a in this.$$c?this.$$c[a]:this.$$d[a]},set(l){var u;l=ge(a,l,t),this.$$d[a]=l,(u=this.$$c)==null||u.$set({[a]:l})}})}),n.forEach(a=>{Object.defineProperty(s.prototype,a,{get(){var l;return(l=this.$$c)==null?void 0:l[a]}})}),e.element=s,s}class or{constructor(){$(this,"$$");$(this,"$$set")}$destroy(){bn(this,1),this.$destroy=N}$on(t,r){if(!at(r))return N;const n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(r),()=>{const i=n.indexOf(r);i!==-1&&n.splice(i,1)}}$set(t){this.$$set&&!tn(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const gn="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(gn);/*! *****************************************************************************
1
+ "use strict";var Qr=Object.defineProperty,Jr=Object.defineProperties;var Yr=Object.getOwnPropertyDescriptors;var yt=Object.getOwnPropertySymbols;var Kr=Object.prototype.hasOwnProperty,en=Object.prototype.propertyIsEnumerable;var Le=(e,t,r)=>t in e?Qr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,gt=(e,t)=>{for(var r in t||(t={}))Kr.call(t,r)&&Le(e,r,t[r]);if(yt)for(var r of yt(t))en.call(t,r)&&Le(e,r,t[r]);return e},vt=(e,t)=>Jr(e,Yr(t));var $=(e,t,r)=>Le(e,typeof t!="symbol"?t+"":t,r);var _t=(e,t,r)=>new Promise((n,i)=>{var o=l=>{try{a(r.next(l))}catch(u){i(u)}},s=l=>{try{a(r.throw(l))}catch(u){i(u)}},a=l=>l.done?n(l.value):Promise.resolve(l.value).then(o,s);a((r=r.apply(e,t)).next())});require("../stencil/ui-skeleton-BreIU6e5.cjs");function N(){}function Qt(e){return e()}function xt(){return Object.create(null)}function ne(e){e.forEach(Qt)}function at(e){return typeof e=="function"}function ut(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}let de;function Et(e,t){return e===t?!0:(de||(de=document.createElement("a")),de.href=t,e===de.href)}function tn(e){return Object.keys(e).length===0}function Jt(e,...t){if(e==null){for(const n of t)n(void 0);return N}const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function Yt(e,t,r){e.$$.on_destroy.push(Jt(t,r))}function g(e,t){e.appendChild(t)}function Kt(e,t,r){const n=rn(e);if(!n.getElementById(t)){const i=P("style");i.id=t,i.textContent=r,nn(n,i)}}function rn(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function nn(e,t){return g(e.head||e,t),t.sheet}function U(e,t,r){e.insertBefore(t,r||null)}function R(e){e.parentNode&&e.parentNode.removeChild(e)}function er(e,t){for(let r=0;r<e.length;r+=1)e[r]&&e[r].d(t)}function P(e){return document.createElement(e)}function V(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function W(e){return document.createTextNode(e)}function C(){return W(" ")}function Ee(e,t,r,n){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r,n)}function v(e,t,r){r==null?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function A(e,t,r){const n=t.toLowerCase();n in e?e[n]=typeof e[n]=="boolean"&&r===""?!0:r:t in e?e[t]=typeof e[t]=="boolean"&&r===""?!0:r:v(e,t,r)}function on(e){return Array.from(e.childNodes)}function le(e,t){t=""+t,e.data!==t&&(e.data=t)}function sn(e,t,r,n){r==null?e.style.removeProperty(t):e.style.setProperty(t,r,"")}function an(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}let ce;function ue(e){ce=e}function un(){if(!ce)throw new Error("Function called outside component initialization");return ce}function tr(e){un().$$.on_mount.push(e)}const Q=[],Ae=[];let Y=[];const At=[],ln=Promise.resolve();let ke=!1;function cn(){ke||(ke=!0,ln.then(I))}function Ve(e){Y.push(e)}const Ne=new Set;let Z=0;function I(){if(Z!==0)return;const e=ce;do{try{for(;Z<Q.length;){const t=Q[Z];Z++,ue(t),hn(t.$$)}}catch(t){throw Q.length=0,Z=0,t}for(ue(null),Q.length=0,Z=0;Ae.length;)Ae.pop()();for(let t=0;t<Y.length;t+=1){const r=Y[t];Ne.has(r)||(Ne.add(r),r())}Y.length=0}while(Q.length);for(;At.length;)At.pop()();ke=!1,Ne.clear(),ue(e)}function hn(e){if(e.fragment!==null){e.update(),ne(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(Ve)}}function fn(e){const t=[],r=[];Y.forEach(n=>e.indexOf(n)===-1?t.push(n):r.push(n)),r.forEach(n=>n()),Y=t}const pn=new Set;function mn(e,t){e&&e.i&&(pn.delete(e),e.i(t))}function we(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function dn(e,t,r){const{fragment:n,after_update:i}=e.$$;n&&n.m(t,r),Ve(()=>{const o=e.$$.on_mount.map(Qt).filter(at);e.$$.on_destroy?e.$$.on_destroy.push(...o):ne(o),e.$$.on_mount=[]}),i.forEach(Ve)}function bn(e,t){const r=e.$$;r.fragment!==null&&(fn(r.after_update),ne(r.on_destroy),r.fragment&&r.fragment.d(t),r.on_destroy=r.fragment=null,r.ctx=[])}function yn(e,t){e.$$.dirty[0]===-1&&(Q.push(e),cn(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function rr(e,t,r,n,i,o,s=null,a=[-1]){const l=ce;ue(e);const u=e.$$={fragment:null,ctx:[],props:o,update:N,not_equal:i,bound:xt(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(l?l.$$.context:[])),callbacks:xt(),dirty:a,skip_bound:!1,root:t.target||l.$$.root};s&&s(u.root);let c=!1;if(u.ctx=r?r(e,t.props||{},(h,f,...p)=>{const m=p.length?p[0]:f;return u.ctx&&i(u.ctx[h],u.ctx[h]=m)&&(!u.skip_bound&&u.bound[h]&&u.bound[h](m),c&&yn(e,h)),f}):[],u.update(),c=!0,ne(u.before_update),u.fragment=n?n(u.ctx):!1,t.target){if(t.hydrate){const h=on(t.target);u.fragment&&u.fragment.l(h),h.forEach(R)}else u.fragment&&u.fragment.c();t.intro&&mn(e.$$.fragment),dn(e,t.target,t.anchor),I()}ue(l)}let nr;typeof HTMLElement=="function"&&(nr=class extends HTMLElement{constructor(t,r,n){super();$(this,"$$ctor");$(this,"$$s");$(this,"$$c");$(this,"$$cn",!1);$(this,"$$d",{});$(this,"$$r",!1);$(this,"$$p_d",{});$(this,"$$l",{});$(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=r,n&&this.attachShadow({mode:"open"})}addEventListener(t,r,n){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(r),this.$$c){const i=this.$$c.$on(t,r);this.$$l_u.set(r,i)}super.addEventListener(t,r,n)}removeEventListener(t,r,n){if(super.removeEventListener(t,r,n),this.$$c){const i=this.$$l_u.get(r);i&&(i(),this.$$l_u.delete(r))}}connectedCallback(){return _t(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(o){return()=>{let s;return{c:function(){s=P("slot"),o!=="default"&&v(s,"name",o)},m:function(u,c){U(u,s,c)},d:function(u){u&&R(s)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const r={},n=an(this);for(const o of this.$$s)o in n&&(r[o]=[t(o)]);for(const o of this.attributes){const s=this.$$g_p(o.name);s in this.$$d||(this.$$d[s]=ge(s,o.value,this.$$p_d,"toProp"))}for(const o in this.$$p_d)!(o in this.$$d)&&this[o]!==void 0&&(this.$$d[o]=this[o],delete this[o]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:vt(gt({},this.$$d),{$$slots:r,$$scope:{ctx:[]}})});const i=()=>{this.$$r=!0;for(const o in this.$$p_d)if(this.$$d[o]=this.$$c.$$.ctx[this.$$c.$$.props[o]],this.$$p_d[o].reflect){const s=ge(o,this.$$d[o],this.$$p_d,"toAttribute");s==null?this.removeAttribute(this.$$p_d[o].attribute||o):this.setAttribute(this.$$p_d[o].attribute||o,s)}this.$$r=!1};this.$$c.$$.after_update.push(i),i();for(const o in this.$$l)for(const s of this.$$l[o]){const a=this.$$c.$on(o,s);this.$$l_u.set(s,a)}this.$$l={}}})}attributeChangedCallback(t,r,n){var i;this.$$r||(t=this.$$g_p(t),this.$$d[t]=ge(t,n,this.$$p_d,"toProp"),(i=this.$$c)==null||i.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(t){return Object.keys(this.$$p_d).find(r=>this.$$p_d[r].attribute===t||!this.$$p_d[r].attribute&&r.toLowerCase()===t)||t}});function ge(e,t,r,n){var o;const i=(o=r[e])==null?void 0:o.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!n||!r[e])return t;if(n==="toAttribute")switch(i){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t==null?null:t;default:return t}else switch(i){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function ir(e,t,r,n,i,o){let s=class extends nr{constructor(){super(e,r,i),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(a=>(t[a].attribute||a).toLowerCase())}};return Object.keys(t).forEach(a=>{Object.defineProperty(s.prototype,a,{get(){return this.$$c&&a in this.$$c?this.$$c[a]:this.$$d[a]},set(l){var u;l=ge(a,l,t),this.$$d[a]=l,(u=this.$$c)==null||u.$set({[a]:l})}})}),n.forEach(a=>{Object.defineProperty(s.prototype,a,{get(){var l;return(l=this.$$c)==null?void 0:l[a]}})}),e.element=s,s}class or{constructor(){$(this,"$$");$(this,"$$set")}$destroy(){bn(this,1),this.$destroy=N}$on(t,r){if(!at(r))return N;const n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(r),()=>{const i=n.indexOf(r);i!==-1&&n.splice(i,1)}}$set(t){this.$$set&&!tn(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const gn="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(gn);/*! *****************************************************************************
2
2
  Copyright (c) Microsoft Corporation.
3
3
 
4
4
  Permission to use, copy, modify, and/or distribute this software for any
@@ -15,4 +15,4 @@ PERFORMANCE OF THIS SOFTWARE.
15
15
  `+r.map(function(n,i){return i+1+") "+n.toString()}).join(`
16
16
  `):"",this.name="UnsubscriptionError",this.errors=r}});function qe(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var He=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,r,n,i,o;if(!this.closed){this.closed=!0;var s=this._parentage;if(s)if(this._parentage=null,Array.isArray(s))try{for(var a=Xe(s),l=a.next();!l.done;l=a.next()){var u=l.value;u.remove(this)}}catch(b){t={error:b}}finally{try{l&&!l.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}else s.remove(this);var c=this.initialTeardown;if(G(c))try{c()}catch(b){o=b instanceof Re?b.errors:[b]}var h=this._finalizers;if(h){this._finalizers=null;try{for(var f=Xe(h),p=f.next();!p.done;p=f.next()){var m=p.value;try{wt(m)}catch(b){o=o!=null?o:[],b instanceof Re?o=Ze(Ze([],ze(o)),ze(b.errors)):o.push(b)}}}catch(b){n={error:b}}finally{try{p&&!p.done&&(i=f.return)&&i.call(f)}finally{if(n)throw n.error}}}if(o)throw new Re(o)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)wt(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(t)}},e.prototype._hasParent=function(t){var r=this._parentage;return r===t||Array.isArray(r)&&r.includes(t)},e.prototype._addParent=function(t){var r=this._parentage;this._parentage=Array.isArray(r)?(r.push(t),r):r?[r,t]:t},e.prototype._removeParent=function(t){var r=this._parentage;r===t?this._parentage=null:Array.isArray(r)&&qe(r,t)},e.prototype.remove=function(t){var r=this._finalizers;r&&qe(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),ar=He.EMPTY;function ur(e){return e instanceof He||e&&"closed"in e&&G(e.remove)&&G(e.add)&&G(e.unsubscribe)}function wt(e){G(e)?e():e.unsubscribe()}var vn={Promise:void 0},_n={setTimeout:function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return setTimeout.apply(void 0,Ze([e,t],ze(r)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function xn(e){_n.setTimeout(function(){throw e})}function Pt(){}function ve(e){e()}var lr=function(e){pe(t,e);function t(r){var n=e.call(this)||this;return n.isStopped=!1,r?(n.destination=r,ur(r)&&r.add(n)):n.destination=wn,n}return t.create=function(r,n,i){return new Qe(r,n,i)},t.prototype.next=function(r){this.isStopped||this._next(r)},t.prototype.error=function(r){this.isStopped||(this.isStopped=!0,this._error(r))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(r){this.destination.next(r)},t.prototype._error=function(r){try{this.destination.error(r)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(He),En=function(){function e(t){this.partialObserver=t}return e.prototype.next=function(t){var r=this.partialObserver;if(r.next)try{r.next(t)}catch(n){be(n)}},e.prototype.error=function(t){var r=this.partialObserver;if(r.error)try{r.error(t)}catch(n){be(n)}else be(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(r){be(r)}},e}(),Qe=function(e){pe(t,e);function t(r,n,i){var o=e.call(this)||this,s;return G(r)||!r?s={next:r!=null?r:void 0,error:n!=null?n:void 0,complete:i!=null?i:void 0}:s=r,o.destination=new En(s),o}return t}(lr);function be(e){xn(e)}function An(e){throw e}var wn={closed:!0,next:Pt,error:An,complete:Pt},Pn=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function Sn(e){return e}function Tn(e){return e.length===0?Sn:e.length===1?e[0]:function(r){return e.reduce(function(n,i){return i(n)},r)}}var St=function(){function e(t){t&&(this._subscribe=t)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(t,r,n){var i=this,o=Mn(t)?t:new Qe(t,r,n);return ve(function(){var s=i,a=s.operator,l=s.source;o.add(a?a.call(o,l):l?i._subscribe(o):i._trySubscribe(o))}),o},e.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(r){t.error(r)}},e.prototype.forEach=function(t,r){var n=this;return r=Tt(r),new r(function(i,o){var s=new Qe({next:function(a){try{t(a)}catch(l){o(l),s.unsubscribe()}},error:o,complete:i});n.subscribe(s)})},e.prototype._subscribe=function(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)},e.prototype[Pn]=function(){return this},e.prototype.pipe=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return Tn(t)(this)},e.prototype.toPromise=function(t){var r=this;return t=Tt(t),new t(function(n,i){var o;r.subscribe(function(s){return o=s},function(s){return i(s)},function(){return n(o)})})},e.create=function(t){return new e(t)},e}();function Tt(e){var t;return(t=e!=null?e:vn.Promise)!==null&&t!==void 0?t:Promise}function Hn(e){return e&&G(e.next)&&G(e.error)&&G(e.complete)}function Mn(e){return e&&e instanceof lr||Hn(e)&&ur(e)}var Bn=sr(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),cr=function(e){pe(t,e);function t(){var r=e.call(this)||this;return r.closed=!1,r.currentObservers=null,r.observers=[],r.isStopped=!1,r.hasError=!1,r.thrownError=null,r}return t.prototype.lift=function(r){var n=new Ht(this,this);return n.operator=r,n},t.prototype._throwIfClosed=function(){if(this.closed)throw new Bn},t.prototype.next=function(r){var n=this;ve(function(){var i,o;if(n._throwIfClosed(),!n.isStopped){n.currentObservers||(n.currentObservers=Array.from(n.observers));try{for(var s=Xe(n.currentObservers),a=s.next();!a.done;a=s.next()){var l=a.value;l.next(r)}}catch(u){i={error:u}}finally{try{a&&!a.done&&(o=s.return)&&o.call(s)}finally{if(i)throw i.error}}}})},t.prototype.error=function(r){var n=this;ve(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=r;for(var i=n.observers;i.length;)i.shift().error(r)}})},t.prototype.complete=function(){var r=this;ve(function(){if(r._throwIfClosed(),!r.isStopped){r.isStopped=!0;for(var n=r.observers;n.length;)n.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(r){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,r)},t.prototype._subscribe=function(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)},t.prototype._innerSubscribe=function(r){var n=this,i=this,o=i.hasError,s=i.isStopped,a=i.observers;return o||s?ar:(this.currentObservers=null,a.push(r),new He(function(){n.currentObservers=null,qe(a,r)}))},t.prototype._checkFinalizedStatuses=function(r){var n=this,i=n.hasError,o=n.thrownError,s=n.isStopped;i?r.error(o):s&&r.complete()},t.prototype.asObservable=function(){var r=new St;return r.source=this,r},t.create=function(r,n){return new Ht(r,n)},t}(St),Ht=function(e){pe(t,e);function t(r,n){var i=e.call(this)||this;return i.destination=r,i.source=n,i}return t.prototype.next=function(r){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.next)===null||i===void 0||i.call(n,r)},t.prototype.error=function(r){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.error)===null||i===void 0||i.call(n,r)},t.prototype.complete=function(){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.complete)===null||n===void 0||n.call(r)},t.prototype._subscribe=function(r){var n,i;return(i=(n=this.source)===null||n===void 0?void 0:n.subscribe(r))!==null&&i!==void 0?i:ar},t}(cr),hr={now:function(){return(hr.delegate||Date).now()},delegate:void 0},In=function(e){pe(t,e);function t(r,n,i){r===void 0&&(r=1/0),n===void 0&&(n=1/0),i===void 0&&(i=hr);var o=e.call(this)||this;return o._bufferSize=r,o._windowTime=n,o._timestampProvider=i,o._buffer=[],o._infiniteTimeWindow=!0,o._infiniteTimeWindow=n===1/0,o._bufferSize=Math.max(1,r),o._windowTime=Math.max(1,n),o}return t.prototype.next=function(r){var n=this,i=n.isStopped,o=n._buffer,s=n._infiniteTimeWindow,a=n._timestampProvider,l=n._windowTime;i||(o.push(r),!s&&o.push(a.now()+l)),this._trimBuffer(),e.prototype.next.call(this,r)},t.prototype._subscribe=function(r){this._throwIfClosed(),this._trimBuffer();for(var n=this._innerSubscribe(r),i=this,o=i._infiniteTimeWindow,s=i._buffer,a=s.slice(),l=0;l<a.length&&!r.closed;l+=o?1:2)r.next(a[l]);return this._checkFinalizedStatuses(r),n},t.prototype._trimBuffer=function(){var r=this,n=r._bufferSize,i=r._timestampProvider,o=r._buffer,s=r._infiniteTimeWindow,a=(s?1:2)*n;if(n<1/0&&a<o.length&&o.splice(0,o.length-a),!s){for(var l=i.now(),u=0,c=1;c<o.length&&o[c]<=l;c+=2)u=c;u&&o.splice(0,u+1)}},t}(cr);const Mt=[],Bt={},On=(e,t=0)=>{if(Mt.indexOf(e)==-1){const r=new In(t);Bt[e]=r,Mt.push(e)}return Bt[e]},q=[];function Cn(e,t){return{subscribe:Me(e,t).subscribe}}function Me(e,t=N){let r;const n=new Set;function i(a){if(ut(e,a)&&(e=a,r)){const l=!q.length;for(const u of n)u[1](),q.push(u,e);if(l){for(let u=0;u<q.length;u+=2)q[u][0](q[u+1]);q.length=0}}}function o(a){i(a(e))}function s(a,l=N){const u=[a,l];return n.add(u),n.size===1&&(r=t(i,o)||N),a(e),()=>{n.delete(u),n.size===0&&r&&(r(),r=null)}}return{set:i,update:o,subscribe:s}}function ie(e,t,r){const n=!Array.isArray(e),i=n?[e]:e;if(!i.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const o=t.length<2;return Cn(r,(s,a)=>{let l=!1;const u=[];let c=0,h=N;const f=()=>{if(c)return;h();const m=t(n?u[0]:u,s,a);o?s(m):h=at(m)?m:N},p=i.map((m,b)=>Jt(m,y=>{u[b]=y,c&=~(1<<b),l&&f()},()=>{c|=1<<b}));return l=!0,f(),function(){ne(p),h(),l=!1}})}function Ln(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Nn=function(t){return Rn(t)&&!$n(t)};function Rn(e){return!!e&&typeof e=="object"}function $n(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||Dn(e)}var Un=typeof Symbol=="function"&&Symbol.for,Fn=Un?Symbol.for("react.element"):60103;function Dn(e){return e.$$typeof===Fn}function Gn(e){return Array.isArray(e)?[]:{}}function he(e,t){return t.clone!==!1&&t.isMergeableObject(e)?K(Gn(e),e,t):e}function jn(e,t,r){return e.concat(t).map(function(n){return he(n,r)})}function kn(e,t){if(!t.customMerge)return K;var r=t.customMerge(e);return typeof r=="function"?r:K}function Vn(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function It(e){return Object.keys(e).concat(Vn(e))}function fr(e,t){try{return t in e}catch(r){return!1}}function Wn(e,t){return fr(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function Xn(e,t,r){var n={};return r.isMergeableObject(e)&&It(e).forEach(function(i){n[i]=he(e[i],r)}),It(t).forEach(function(i){Wn(e,i)||(fr(e,i)&&r.isMergeableObject(t[i])?n[i]=kn(i,r)(e[i],t[i],r):n[i]=he(t[i],r))}),n}function K(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||jn,r.isMergeableObject=r.isMergeableObject||Nn,r.cloneUnlessOtherwiseSpecified=he;var n=Array.isArray(t),i=Array.isArray(e),o=n===i;return o?n?r.arrayMerge(e,t,r):Xn(e,t,r):he(t,r)}K.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(n,i){return K(n,i,r)},{})};var zn=K,Zn=zn;const qn=Ln(Zn);var Je=function(e,t){return Je=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},Je(e,t)};function Be(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Je(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var F=function(){return F=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},F.apply(this,arguments)};function Qn(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}function $e(e,t,r){if(r||arguments.length===2)for(var n=0,i=t.length,o;n<i;n++)(o||!(n in t))&&(o||(o=Array.prototype.slice.call(t,0,n)),o[n]=t[n]);return e.concat(o||Array.prototype.slice.call(t))}function Ue(e,t){var r=t&&t.cache?t.cache:ni,n=t&&t.serializer?t.serializer:ti,i=t&&t.strategy?t.strategy:Kn;return i(e,{cache:r,serializer:n})}function Jn(e){return e==null||typeof e=="number"||typeof e=="boolean"}function Yn(e,t,r,n){var i=Jn(n)?n:r(n),o=t.get(i);return typeof o=="undefined"&&(o=e.call(this,n),t.set(i,o)),o}function pr(e,t,r){var n=Array.prototype.slice.call(arguments,3),i=r(n),o=t.get(i);return typeof o=="undefined"&&(o=e.apply(this,n),t.set(i,o)),o}function mr(e,t,r,n,i){return r.bind(t,e,n,i)}function Kn(e,t){var r=e.length===1?Yn:pr;return mr(e,this,r,t.cache.create(),t.serializer)}function ei(e,t){return mr(e,this,pr,t.cache.create(),t.serializer)}var ti=function(){return JSON.stringify(arguments)},ri=function(){function e(){this.cache=Object.create(null)}return e.prototype.get=function(t){return this.cache[t]},e.prototype.set=function(t,r){this.cache[t]=r},e}(),ni={create:function(){return new ri}},Fe={variadic:ei},Pe=function(){return Pe=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},Pe.apply(this,arguments)};var _;(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"})(_||(_={}));var T;(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"})(T||(T={}));var ee;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(ee||(ee={}));function Ot(e){return e.type===T.literal}function ii(e){return e.type===T.argument}function dr(e){return e.type===T.number}function br(e){return e.type===T.date}function yr(e){return e.type===T.time}function gr(e){return e.type===T.select}function vr(e){return e.type===T.plural}function oi(e){return e.type===T.pound}function _r(e){return e.type===T.tag}function xr(e){return!!(e&&typeof e=="object"&&e.type===ee.number)}function Ye(e){return!!(e&&typeof e=="object"&&e.type===ee.dateTime)}var Er=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,si=/(?:[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 ai(e){var t={};return e.replace(si,function(r){var n=r.length;switch(r[0]){case"G":t.era=n===4?"long":n===5?"narrow":"short";break;case"y":t.year=n===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":t.month=["numeric","2-digit","short","long","narrow"][n-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][n-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=n===4?"long":n===5?"narrow":"short";break;case"e":if(n<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"c":if(n<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][n-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][n-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][n-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][n-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":t.minute=["numeric","2-digit"][n-1];break;case"s":t.second=["numeric","2-digit"][n-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=n<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""}),t}var H=function(){return H=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},H.apply(this,arguments)};var ui=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function li(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(ui).filter(function(f){return f.length>0}),r=[],n=0,i=t;n<i.length;n++){var o=i[n],s=o.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")}r.push({stem:a,options:l})}return r}function ci(e){return e.replace(/^(.*?)-/,"")}var Ct=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Ar=/^(@+)?(\+|#+)?[rs]?$/g,hi=/(\*)(0+)|(#+)(0+)|(0+)/g,wr=/^(0+)$/;function Lt(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(Ar,function(r,n,i){return typeof i!="string"?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):i==="+"?t.minimumSignificantDigits=n.length:n[0]==="#"?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+(typeof i=="string"?i.length:0)),""}),t}function Pr(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 fi(e){var t;if(e[0]==="E"&&e[1]==="E"?(t={notation:"engineering"},e=e.slice(2)):e[0]==="E"&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if(r==="+!"?(t.signDisplay="always",e=e.slice(2)):r==="+?"&&(t.signDisplay="exceptZero",e=e.slice(2)),!wr.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Nt(e){var t={},r=Pr(e);return r||t}function pi(e){for(var t={},r=0,n=e;r<n.length;r++){var i=n[r];switch(i.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=i.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=ci(i.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=H(H(H({},t),{notation:"scientific"}),i.options.reduce(function(l,u){return H(H({},l),Nt(u))},{}));continue;case"engineering":t=H(H(H({},t),{notation:"engineering"}),i.options.reduce(function(l,u){return H(H({},l),Nt(u))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(i.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(hi,function(l,u,c,h,f,p){if(u)t.minimumIntegerDigits=c.length;else{if(h&&f)throw new Error("We currently do not support maximum integer digits");if(p)throw new Error("We currently do not support exact integer digits")}return""});continue}if(wr.test(i.stem)){t.minimumIntegerDigits=i.stem.length;continue}if(Ct.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(Ct,function(l,u,c,h,f,p){return c==="*"?t.minimumFractionDigits=u.length:h&&h[0]==="#"?t.maximumFractionDigits=h.length:f&&p?(t.minimumFractionDigits=f.length,t.maximumFractionDigits=f.length+p.length):(t.minimumFractionDigits=u.length,t.maximumFractionDigits=u.length),""});var o=i.options[0];o==="w"?t=H(H({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=H(H({},t),Lt(o)));continue}if(Ar.test(i.stem)){t=H(H({},t),Lt(i.stem));continue}var s=Pr(i.stem);s&&(t=H(H({},t),s));var a=fi(i.stem);a&&(t=H(H({},t),a))}return t}var ye={"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 mi(e,t){for(var r="",n=0;n<e.length;n++){var i=e.charAt(n);if(i==="j"){for(var o=0;n+1<e.length&&e.charAt(n+1)===i;)o++,n++;var s=1+(o&1),a=o<2?1:3+(o>>1),l="a",u=di(t);for((u=="H"||u=="k")&&(a=0);a-- >0;)r+=l;for(;s-- >0;)r=u+r}else i==="J"?r+="H":r+=i}return r}function di(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var r=e.language,n;r!=="root"&&(n=e.maximize().region);var i=ye[n||""]||ye[r||""]||ye["".concat(r,"-001")]||ye["001"];return i[0]}var De,bi=new RegExp("^".concat(Er.source,"*")),yi=new RegExp("".concat(Er.source,"*$"));function E(e,t){return{start:e,end:t}}var gi=!!String.prototype.startsWith&&"_a".startsWith("a",1),vi=!!String.fromCodePoint,_i=!!Object.fromEntries,xi=!!String.prototype.codePointAt,Ei=!!String.prototype.trimStart,Ai=!!String.prototype.trimEnd,wi=!!Number.isSafeInteger,Pi=wi?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Ke=!0;try{var Si=Tr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Ke=((De=Si.exec("a"))===null||De===void 0?void 0:De[0])==="a"}catch(e){Ke=!1}var Rt=gi?function(t,r,n){return t.startsWith(r,n)}:function(t,r,n){return t.slice(n,n+r.length)===r},et=vi?String.fromCodePoint:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var n="",i=t.length,o=0,s;i>o;){if(s=t[o++],s>1114111)throw RangeError(s+" is not a valid code point");n+=s<65536?String.fromCharCode(s):String.fromCharCode(((s-=65536)>>10)+55296,s%1024+56320)}return n},$t=_i?Object.fromEntries:function(t){for(var r={},n=0,i=t;n<i.length;n++){var o=i[n],s=o[0],a=o[1];r[s]=a}return r},Sr=xi?function(t,r){return t.codePointAt(r)}:function(t,r){var n=t.length;if(!(r<0||r>=n)){var i=t.charCodeAt(r),o;return i<55296||i>56319||r+1===n||(o=t.charCodeAt(r+1))<56320||o>57343?i:(i-55296<<10)+(o-56320)+65536}},Ti=Ei?function(t){return t.trimStart()}:function(t){return t.replace(bi,"")},Hi=Ai?function(t){return t.trimEnd()}:function(t){return t.replace(yi,"")};function Tr(e,t){return new RegExp(e,t)}var tt;if(Ke){var Ut=Tr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");tt=function(t,r){var n;Ut.lastIndex=r;var i=Ut.exec(t);return(n=i[1])!==null&&n!==void 0?n:""}}else tt=function(t,r){for(var n=[];;){var i=Sr(t,r);if(i===void 0||Hr(i)||Oi(i))break;n.push(i),r+=i>=65536?2:1}return et.apply(void 0,n)};var Mi=function(){function e(t,r){r===void 0&&(r={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!r.ignoreTag,this.locale=r.locale,this.requiresOtherClause=!!r.requiresOtherClause,this.shouldParseSkeletons=!!r.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(t,r,n){for(var i=[];!this.isEOF();){var o=this.char();if(o===123){var s=this.parseArgument(t,n);if(s.err)return s;i.push(s.val)}else{if(o===125&&t>0)break;if(o===35&&(r==="plural"||r==="selectordinal")){var a=this.clonePosition();this.bump(),i.push({type:T.pound,location:E(a,this.clonePosition())})}else if(o===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(_.UNMATCHED_CLOSING_TAG,E(this.clonePosition(),this.clonePosition()))}else if(o===60&&!this.ignoreTag&&rt(this.peek()||0)){var s=this.parseTag(t,r);if(s.err)return s;i.push(s.val)}else{var s=this.parseLiteral(t,r);if(s.err)return s;i.push(s.val)}}}return{val:i,err:null}},e.prototype.parseTag=function(t,r){var n=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:T.literal,value:"<".concat(i,"/>"),location:E(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(t+1,r,!0);if(o.err)return o;var s=o.val,a=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!rt(this.char()))return this.error(_.INVALID_TAG,E(a,this.clonePosition()));var l=this.clonePosition(),u=this.parseTagName();return i!==u?this.error(_.UNMATCHED_CLOSING_TAG,E(l,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:T.tag,value:i,children:s,location:E(n,this.clonePosition())},err:null}:this.error(_.INVALID_TAG,E(a,this.clonePosition())))}else return this.error(_.UNCLOSED_TAG,E(n,this.clonePosition()))}else return this.error(_.INVALID_TAG,E(n,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&Ii(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,r){for(var n=this.clonePosition(),i="";;){var o=this.tryParseQuote(r);if(o){i+=o;continue}var s=this.tryParseUnquoted(t,r);if(s){i+=s;continue}var a=this.tryParseLeftAngleBracket();if(a){i+=a;continue}break}var l=E(n,this.clonePosition());return{val:{type:T.literal,value:i,location:l},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!Bi(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){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(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var r=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(n===39)if(this.peek()===39)r.push(39),this.bump();else{this.bump();break}else r.push(n);this.bump()}return et.apply(void 0,r)},e.prototype.tryParseUnquoted=function(t,r){if(this.isEOF())return null;var n=this.char();return n===60||n===123||n===35&&(r==="plural"||r==="selectordinal")||n===125&&t>0?null:(this.bump(),et(n))},e.prototype.parseArgument=function(t,r){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE,E(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(_.EMPTY_ARGUMENT,E(n,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(_.MALFORMED_ARGUMENT,E(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE,E(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:T.argument,value:i,location:E(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE,E(n,this.clonePosition())):this.parseArgumentOptions(t,r,i,n);default:return this.error(_.MALFORMED_ARGUMENT,E(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),n=tt(this.message,r),i=r+n.length;this.bumpTo(i);var o=this.clonePosition(),s=E(t,o);return{value:n,location:s}},e.prototype.parseArgumentOptions=function(t,r,n,i){var o,s=this.clonePosition(),a=this.parseIdentifierIfPossible().value,l=this.clonePosition();switch(a){case"":return this.error(_.EXPECT_ARGUMENT_TYPE,E(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 f=Hi(h.val);if(f.length===0)return this.error(_.EXPECT_ARGUMENT_STYLE,E(this.clonePosition(),this.clonePosition()));var p=E(c,this.clonePosition());u={style:f,styleLocation:p}}var m=this.tryParseArgumentClose(i);if(m.err)return m;var b=E(i,this.clonePosition());if(u&&Rt(u==null?void 0:u.style,"::",0)){var y=Ti(u.style.slice(2));if(a==="number"){var h=this.parseNumberSkeletonFromString(y,u.styleLocation);return h.err?h:{val:{type:T.number,value:n,location:b,style:h.val},err:null}}else{if(y.length===0)return this.error(_.EXPECT_DATE_TIME_SKELETON,b);var M=y;this.locale&&(M=mi(y,this.locale));var f={type:ee.dateTime,pattern:M,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?ai(M):{}},x=a==="date"?T.date:T.time;return{val:{type:x,value:n,location:b,style:f},err:null}}}return{val:{type:a==="number"?T.number:a==="date"?T.date:T.time,value:n,location:b,style:(o=u==null?void 0:u.style)!==null&&o!==void 0?o:null},err:null}}case"plural":case"selectordinal":case"select":{var w=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS,E(w,Pe({},w)));this.bumpSpace();var S=this.parseIdentifierIfPossible(),L=0;if(a!=="select"&&S.value==="offset"){if(!this.bumpIf(":"))return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,E(this.clonePosition(),this.clonePosition()));this.bumpSpace();var h=this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,_.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(h.err)return h;this.bumpSpace(),S=this.parseIdentifierIfPossible(),L=h.val}var j=this.tryParsePluralOrSelectOptions(t,a,r,S);if(j.err)return j;var m=this.tryParseArgumentClose(i);if(m.err)return m;var se=E(i,this.clonePosition());return a==="select"?{val:{type:T.select,value:n,options:$t(j.val),location:se},err:null}:{val:{type:T.plural,value:n,options:$t(j.val),offset:L,pluralType:a==="plural"?"cardinal":"ordinal",location:se},err:null}}default:return this.error(_.INVALID_ARGUMENT_TYPE,E(s,l))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE,E(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,r=this.clonePosition();!this.isEOF();){var n=this.char();switch(n){case 39:{this.bump();var i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(_.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,E(i,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(r.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(r.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,r){var n=[];try{n=li(t)}catch(i){return this.error(_.INVALID_NUMBER_SKELETON,r)}return{val:{type:ee.number,tokens:n,location:r,parsedOptions:this.shouldParseSkeletons?pi(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,r,n,i){for(var o,s=!1,a=[],l=new Set,u=i.value,c=i.location;;){if(u.length===0){var h=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var f=this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_SELECTOR,_.INVALID_PLURAL_ARGUMENT_SELECTOR);if(f.err)return f;c=E(h,this.clonePosition()),u=this.message.slice(h.offset,this.offset())}else break}if(l.has(u))return this.error(r==="select"?_.DUPLICATE_SELECT_ARGUMENT_SELECTOR:_.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);u==="other"&&(s=!0),this.bumpSpace();var p=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?_.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:_.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,E(this.clonePosition(),this.clonePosition()));var m=this.parseMessage(t+1,r,n);if(m.err)return m;var b=this.tryParseArgumentClose(p);if(b.err)return b;a.push([u,{value:m.val,location:E(p,this.clonePosition())}]),l.add(u),this.bumpSpace(),o=this.parseIdentifierIfPossible(),u=o.value,c=o.location}return a.length===0?this.error(r==="select"?_.EXPECT_SELECT_ARGUMENT_SELECTOR:_.EXPECT_PLURAL_ARGUMENT_SELECTOR,E(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!s?this.error(_.MISSING_OTHER_CLAUSE,E(this.clonePosition(),this.clonePosition())):{val:a,err:null}},e.prototype.tryParseDecimalInteger=function(t,r){var n=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var o=!1,s=0;!this.isEOF();){var a=this.char();if(a>=48&&a<=57)o=!0,s=s*10+(a-48),this.bump();else break}var l=E(i,this.clonePosition());return o?(s*=n,Pi(s)?{val:s,err:null}:this.error(r,l)):this.error(t,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 t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var r=Sr(this.message,t);if(r===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return r},e.prototype.error=function(t,r){return{val:null,err:{kind:t,message:this.message,location:r}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(Rt(this.message,t,this.offset())){for(var r=0;r<t.length;r++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var r=this.offset(),n=this.message.indexOf(t,r);return n>=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var r=this.offset();if(r===t)break;if(r>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&Hr(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),r=this.offset(),n=this.message.charCodeAt(r+(t>=65536?2:1));return n!=null?n:null},e}();function rt(e){return e>=97&&e<=122||e>=65&&e<=90}function Bi(e){return rt(e)||e===47}function Ii(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 Hr(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function Oi(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 nt(e){e.forEach(function(t){if(delete t.location,gr(t)||vr(t))for(var r in t.options)delete t.options[r].location,nt(t.options[r].value);else dr(t)&&xr(t.style)||(br(t)||yr(t))&&Ye(t.style)?delete t.style.location:_r(t)&&nt(t.children)})}function Ci(e,t){t===void 0&&(t={}),t=Pe({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new Mi(e,t).parse();if(r.err){var n=SyntaxError(_[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return t!=null&&t.captureLocation||nt(r.val),r.val}var te;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(te||(te={}));var Ie=function(e){Be(t,e);function t(r,n,i){var o=e.call(this,r)||this;return o.code=n,o.originalMessage=i,o}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Ft=function(e){Be(t,e);function t(r,n,i,o){return e.call(this,'Invalid values for "'.concat(r,'": "').concat(n,'". Options are "').concat(Object.keys(i).join('", "'),'"'),te.INVALID_VALUE,o)||this}return t}(Ie),Li=function(e){Be(t,e);function t(r,n,i){return e.call(this,'Value for "'.concat(r,'" must be of type ').concat(n),te.INVALID_VALUE,i)||this}return t}(Ie),Ni=function(e){Be(t,e);function t(r,n){return e.call(this,'The intl string context variable "'.concat(r,'" was not provided to the string "').concat(n,'"'),te.MISSING_VALUE,n)||this}return t}(Ie),O;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(O||(O={}));function Ri(e){return e.length<2?e:e.reduce(function(t,r){var n=t[t.length-1];return!n||n.type!==O.literal||r.type!==O.literal?t.push(r):n.value+=r.value,t},[])}function $i(e){return typeof e=="function"}function _e(e,t,r,n,i,o,s){if(e.length===1&&Ot(e[0]))return[{type:O.literal,value:e[0].value}];for(var a=[],l=0,u=e;l<u.length;l++){var c=u[l];if(Ot(c)){a.push({type:O.literal,value:c.value});continue}if(oi(c)){typeof o=="number"&&a.push({type:O.literal,value:r.getNumberFormat(t).format(o)});continue}var h=c.value;if(!(i&&h in i))throw new Ni(h,s);var f=i[h];if(ii(c)){(!f||typeof f=="string"||typeof f=="number")&&(f=typeof f=="string"||typeof f=="number"?String(f):""),a.push({type:typeof f=="string"?O.literal:O.object,value:f});continue}if(br(c)){var p=typeof c.style=="string"?n.date[c.style]:Ye(c.style)?c.style.parsedOptions:void 0;a.push({type:O.literal,value:r.getDateTimeFormat(t,p).format(f)});continue}if(yr(c)){var p=typeof c.style=="string"?n.time[c.style]:Ye(c.style)?c.style.parsedOptions:n.time.medium;a.push({type:O.literal,value:r.getDateTimeFormat(t,p).format(f)});continue}if(dr(c)){var p=typeof c.style=="string"?n.number[c.style]:xr(c.style)?c.style.parsedOptions:void 0;p&&p.scale&&(f=f*(p.scale||1)),a.push({type:O.literal,value:r.getNumberFormat(t,p).format(f)});continue}if(_r(c)){var m=c.children,b=c.value,y=i[b];if(!$i(y))throw new Li(b,"function",s);var M=_e(m,t,r,n,i,o),x=y(M.map(function(L){return L.value}));Array.isArray(x)||(x=[x]),a.push.apply(a,x.map(function(L){return{type:typeof L=="string"?O.literal:O.object,value:L}}))}if(gr(c)){var w=c.options[f]||c.options.other;if(!w)throw new Ft(c.value,f,Object.keys(c.options),s);a.push.apply(a,_e(w.value,t,r,n,i));continue}if(vr(c)){var w=c.options["=".concat(f)];if(!w){if(!Intl.PluralRules)throw new Ie(`Intl.PluralRules is not available in this environment.
17
17
  Try polyfilling it using "@formatjs/intl-pluralrules"
18
- `,te.MISSING_INTL_API,s);var S=r.getPluralRules(t,{type:c.pluralType}).select(f-(c.offset||0));w=c.options[S]||c.options.other}if(!w)throw new Ft(c.value,f,Object.keys(c.options),s);a.push.apply(a,_e(w.value,t,r,n,i,f-(c.offset||0)));continue}}return Ri(a)}function Ui(e,t){return t?F(F(F({},e||{}),t||{}),Object.keys(e).reduce(function(r,n){return r[n]=F(F({},e[n]),t[n]||{}),r},{})):e}function Fi(e,t){return t?Object.keys(e).reduce(function(r,n){return r[n]=Ui(e[n],t[n]),r},F({},e)):e}function Ge(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function Di(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Ue(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.NumberFormat).bind.apply(t,$e([void 0],r,!1)))},{cache:Ge(e.number),strategy:Fe.variadic}),getDateTimeFormat:Ue(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.DateTimeFormat).bind.apply(t,$e([void 0],r,!1)))},{cache:Ge(e.dateTime),strategy:Fe.variadic}),getPluralRules:Ue(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.PluralRules).bind.apply(t,$e([void 0],r,!1)))},{cache:Ge(e.pluralRules),strategy:Fe.variadic})}}var Gi=function(){function e(t,r,n,i){r===void 0&&(r=e.defaultLocale);var o=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(l){var u=o.formatToParts(l);if(u.length===1)return u[0].value;var c=u.reduce(function(h,f){return!h.length||f.type!==O.literal||typeof h[h.length-1]!="string"?h.push(f.value):h[h.length-1]+=f.value,h},[]);return c.length<=1?c[0]||"":c},this.formatToParts=function(l){return _e(o.ast,o.locales,o.formatters,o.formats,l,void 0,o.message)},this.resolvedOptions=function(){var l;return{locale:((l=o.resolvedLocale)===null||l===void 0?void 0:l.toString())||Intl.NumberFormat.supportedLocalesOf(o.locales)[0]}},this.getAst=function(){return o.ast},this.locales=r,this.resolvedLocale=e.resolveLocale(r),typeof t=="string"){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var s=i||{};s.formatters;var a=Qn(s,["formatters"]);this.ast=e.__parse(t,F(F({},a),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=Fi(e.formats,n),this.formatters=i&&i.formatters||Di(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(t){if(typeof Intl.Locale!="undefined"){var r=Intl.NumberFormat.supportedLocalesOf(t);return r.length>0?new Intl.Locale(r[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=Ci,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 ji(e,t){if(t==null)return;if(t in e)return e[t];const r=t.split(".");let n=e;for(let i=0;i<r.length;i++)if(typeof n=="object"){if(i>0){const o=r.slice(i,r.length).join(".");if(o in n){n=n[o];break}}n=n[r[i]]}else n=void 0;return n}const k={},ki=(e,t,r)=>r&&(t in k||(k[t]={}),e in k[t]||(k[t][e]=r),r),Mr=(e,t)=>{if(t==null)return;if(t in k&&e in k[t])return k[t][e];const r=Oe(t);for(let n=0;n<r.length;n++){const i=r[n],o=Wi(i,e);if(o)return ki(e,t,o)}};let lt;const me=Me({});function Vi(e){return lt[e]||null}function Br(e){return e in lt}function Wi(e,t){if(!Br(e))return null;const r=Vi(e);return ji(r,t)}function Xi(e){if(e==null)return;const t=Oe(e);for(let r=0;r<t.length;r++){const n=t[r];if(Br(n))return n}}function ct(e,...t){delete k[e],me.update(r=>(r[e]=qn.all([r[e]||{},...t]),r))}ie([me],([e])=>Object.keys(e));me.subscribe(e=>lt=e);const xe={};function zi(e,t){xe[e].delete(t),xe[e].size===0&&delete xe[e]}function Ir(e){return xe[e]}function Zi(e){return Oe(e).map(t=>{const r=Ir(t);return[t,r?[...r]:[]]}).filter(([,t])=>t.length>0)}function it(e){return e==null?!1:Oe(e).some(t=>{var r;return(r=Ir(t))==null?void 0:r.size})}function qi(e,t){return Promise.all(t.map(n=>(zi(e,n),n().then(i=>i.default||i)))).then(n=>ct(e,...n))}const ae={};function Or(e){if(!it(e))return e in ae?ae[e]:Promise.resolve();const t=Zi(e);return ae[e]=Promise.all(t.map(([r,n])=>qi(r,n))).then(()=>{if(it(e))return Or(e);delete ae[e]}),ae[e]}const Qi={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"}}},Ji={fallbackLocale:null,loadingDelay:200,formats:Qi,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},Yi=Ji;function re(){return Yi}const je=Me(!1);var Ki=Object.defineProperty,eo=Object.defineProperties,to=Object.getOwnPropertyDescriptors,Dt=Object.getOwnPropertySymbols,ro=Object.prototype.hasOwnProperty,no=Object.prototype.propertyIsEnumerable,Gt=(e,t,r)=>t in e?Ki(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,io=(e,t)=>{for(var r in t||(t={}))ro.call(t,r)&&Gt(e,r,t[r]);if(Dt)for(var r of Dt(t))no.call(t,r)&&Gt(e,r,t[r]);return e},oo=(e,t)=>eo(e,to(t));let ot;const Se=Me(null);function jt(e){return e.split("-").map((t,r,n)=>n.slice(0,r+1).join("-")).reverse()}function Oe(e,t=re().fallbackLocale){const r=jt(e);return t?[...new Set([...r,...jt(t)])]:r}function X(){return ot!=null?ot:void 0}Se.subscribe(e=>{ot=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const so=e=>{if(e&&Xi(e)&&it(e)){const{loadingDelay:t}=re();let r;return typeof window!="undefined"&&X()!=null&&t?r=window.setTimeout(()=>je.set(!0),t):je.set(!0),Or(e).then(()=>{Se.set(e)}).finally(()=>{clearTimeout(r),je.set(!1)})}return Se.set(e)},z=oo(io({},Se),{set:so}),Ce=e=>{const t=Object.create(null);return n=>{const i=JSON.stringify(n);return i in t?t[i]:t[i]=e(n)}};var ao=Object.defineProperty,Te=Object.getOwnPropertySymbols,Cr=Object.prototype.hasOwnProperty,Lr=Object.prototype.propertyIsEnumerable,kt=(e,t,r)=>t in e?ao(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,ht=(e,t)=>{for(var r in t||(t={}))Cr.call(t,r)&&kt(e,r,t[r]);if(Te)for(var r of Te(t))Lr.call(t,r)&&kt(e,r,t[r]);return e},oe=(e,t)=>{var r={};for(var n in e)Cr.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&Te)for(var n of Te(e))t.indexOf(n)<0&&Lr.call(e,n)&&(r[n]=e[n]);return r};const fe=(e,t)=>{const{formats:r}=re();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},uo=Ce(e=>{var t=e,{locale:r,format:n}=t,i=oe(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(i=fe("number",n)),new Intl.NumberFormat(r,i)}),lo=Ce(e=>{var t=e,{locale:r,format:n}=t,i=oe(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?i=fe("date",n):Object.keys(i).length===0&&(i=fe("date","short")),new Intl.DateTimeFormat(r,i)}),co=Ce(e=>{var t=e,{locale:r,format:n}=t,i=oe(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?i=fe("time",n):Object.keys(i).length===0&&(i=fe("time","short")),new Intl.DateTimeFormat(r,i)}),ho=(e={})=>{var t=e,{locale:r=X()}=t,n=oe(t,["locale"]);return uo(ht({locale:r},n))},fo=(e={})=>{var t=e,{locale:r=X()}=t,n=oe(t,["locale"]);return lo(ht({locale:r},n))},po=(e={})=>{var t=e,{locale:r=X()}=t,n=oe(t,["locale"]);return co(ht({locale:r},n))},mo=Ce((e,t=X())=>new Gi(e,t,re().formats,{ignoreTag:re().ignoreTag})),bo=(e,t={})=>{var r,n,i,o;let s=t;typeof e=="object"&&(s=e,e=s.id);const{values:a,locale:l=X(),default:u}=s;if(l==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=Mr(e,l);if(!c)c=(o=(i=(n=(r=re()).handleMissingMessage)==null?void 0:n.call(r,{locale:l,id:e,defaultValue:u}))!=null?i:u)!=null?o: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=mo(c,l).format(a)}catch(f){f instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,f.message)}return h},yo=(e,t)=>po(t).format(e),go=(e,t)=>fo(t).format(e),vo=(e,t)=>ho(t).format(e),_o=(e,t=X())=>Mr(e,t),Nr=ie([z,me],()=>bo);ie([z],()=>yo);ie([z],()=>go);ie([z],()=>vo);ie([z,me],()=>_o);window.emWidgets={topic:On};const st=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 Vt(e,t){ct(e,t)}function xo(e){z.set(e)}const Wt={en:{title:"My Account"},"zh-hk":{title:"我的帳戶"},fr:{title:"Mon compte"},tr:{title:"Hesabım"},ro:{title:"Contul meu"},es:{title:"Mi Cuenta"},pt:{title:"Minha Conta"},hr:{title:"Moj račun"},"pt-br":{title:"Minha conta"},"es-mx":{title:"Mi cuenta"},"en-us":{title:"My Account"}},J="__WIDGET_GLOBAL_STYLE_CACHE__";function Rr(e,t){if(e){const r=document.createElement("style");r.innerHTML=t,e.appendChild(r)}}function $r(e,t){if(!e||!t)return;const r=new URL(t);fetch(r.href).then(n=>n.text()).then(n=>{const i=document.createElement("style");i.innerHTML=n,e&&e.appendChild(i)}).catch(n=>{console.error("There was an error while trying to load client styling from URL",n)})}function Ur(e,t,r,n=!1){if(!window.emMessageBus)return;if(!("adoptedStyleSheets"in Document.prototype)||!n)return r=Eo(e,t),r;window[J]||(window[J]={}),r=Ao(e,t);const o=r.unsubscribe.bind(r),s=()=>{if(window[J][t]){const a=window[J][t];a.refCount>1?a.refCount=a.refCount-1:delete window[J][t]}o()};return r.unsubscribe=s,r}function Eo(e,t){const r=document.createElement("style");return window.emMessageBus.subscribe(t,n=>{e&&(r.innerHTML=n,e.appendChild(r))})}function Ao(e,t){return window.emMessageBus.subscribe(t,r=>{if(!e)return;const n=e.getRootNode(),i=window[J];let o=i[t]&&i[t].sheet;o?i[t].refCount=i[t].refCount+1:(o=new CSSStyleSheet,o.replaceSync(r),i[t]={sheet:o,refCount:1});const s=n.adoptedStyleSheets||[];s.includes(o)||(n.adoptedStyleSheets=[...s,o])})}if(typeof window!="undefined"){let e=function(t){return function(...r){try{return t.apply(this,r)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./GeneralLogout-CBRQ164H.cjs")).then(({default:t})=>{!customElements.get("general-logout")&&customElements.define("general-logout",t.element)})}function wo(e){Kt(e,"svelte-5g0xrl",".PlayerAccountMenuContainer{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));position:relative;height:100vh;display:flex;flex-direction:column;border-right:2px solid #58586b;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper{margin:0;word-break:break-all;display:flex;align-items:center}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper span{display:flex;align-items:center}.PlayerAccountMenuContainer .skeletonLogOut{width:100%}.PlayerAccountMenuHeader{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));flex-grow:0;padding:30px 20px}.PlayerAccountMenuHeader .PlayerAccountMenuUser{margin-bottom:5px;font-size:18px}.PlayerAccountMenuHeader .PlayerAccountMenuEmail{font-size:14px;text-overflow:ellipsis;overflow:hidden}.PlayerAccountMenuHeader p{font-weight:300}.PlayerAccountMenuHeaderMobile{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF))}.PlayerAccountMenuItemBox{padding:16px 20px;font-size:16px;line-height:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerAccountMenuItemTitle{margin-left:20px}.PlayerAccountMenuItemBox:not(:last-child){border-bottom:1px solid var(--emw--color-gray-150, #828282)}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:20px;height:20px;padding-top:unset}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIconMobile{width:30px;height:30px;padding-top:15px}.PlayerAccountMenuList{overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--emw--color-gray-100, #E6E6E6) var(--emw--color-gray-300, #58586B);min-height:900px}.PlayerAccountMenuList::-webkit-scrollbar{width:6px}.PlayerAccountMenuList::-webkit-scrollbar-track{background:var(--emw--color-gray-300, #58586B)}.PlayerAccountMenuList::-webkit-scrollbar-thumb{background:var(--emw--color-gray-100, #E6E6E6)}.PlayerAccountItemWrap{display:flex;gap:20px;padding:16px 20px}.PlayerAccountItemWrap.PlayerAccountItemWrapMobile{flex-wrap:wrap;flex:0 0 33.3333%;padding:0;gap:10px}.PlayerAccountItemWrap.PlayerAccountItemWrapMobile ui-skeleton{width:100%}.PlayerAccountItemWrap ui-skeleton:last-child{flex:1}.PlayerAccountLogOutArea{background:var(--emw--color-gray-300, #58586B);color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));width:100%;flex-grow:0;border-top:1px solid var(--emw--color-gray-150, #828282)}.PlayerAccountMenuActiveItemBox{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF))}.PlayerAccountMobileContainer{height:unset}.PlayerAccountMobileContainer .PlayerAccountMenuCategoryWrapper{display:flex;align-items:center;gap:10px;margin-bottom:18px}.PlayerAccountMobileContainer .PlayerAccountMenuCategoryTitle{margin:0;font-weight:600}.PlayerAccountMobileContainer .PlayerAccountMenuItemTitle{margin-left:0;text-transform:capitalize;line-height:14px}.PlayerAccountMobileContainer .PlayerAccountMenuEmail{margin:0}.PlayerAccountMobileContainer .PlayerAccountMenuList{display:grid;grid-template-columns:calc(33% - 6.66px) calc(33% - 6.66px) calc(33% - 6.66px);column-gap:10px;row-gap:10px;padding:0 20px 20px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox{border:1px solid var(--emw--color-gray-300, #58586B);border-radius:5px;height:auto;justify-content:center;padding-bottom:calc(100% - 22px);position:relative}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox.PlayerAccountMenuActiveItemBox{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border-bottom:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:30px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{display:flex;align-items:center;justify-content:space-between;flex-flow:column;gap:6px;position:absolute;top:0;bottom:0;left:0;right:0}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:11px;padding:0 5px 15px 5px;font-weight:400;word-break:break-word;text-align:center;color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF))}.PlayerAccountMobileContainer .PlayerAccountLogOutArea{position:absolute;right:18px;top:56px;bottom:unset;background:transparent;width:48px;border-top:0}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}")}function Xt(e,t,r){const n=e.slice();return n[40]=t[r],n}function zt(e,t,r){const n=e.slice();return n[37]=t[r],n}function Po(e){let t,r,n,i,o,s,a,l,u,c,h,f,p=e[12]&&To(e),m=e[12]&&Ho(e),b=we(e[7]),y=[];for(let x=0;x<b.length;x+=1)y[x]=Zt(Xt(e,b,x));let M=!e[12]&&Mo(e);return{c(){t=P("div"),r=P("div"),p&&p.c(),n=C(),i=P("p"),o=W(e[9]),s=C(),a=P("p"),l=W(e[10]),u=C(),m&&m.c(),c=C(),h=P("div");for(let x=0;x<y.length;x+=1)y[x].c();f=C(),M&&M.c(),v(i,"class","PlayerAccountMenuUser"),v(i,"translate","no"),v(a,"class","PlayerAccountMenuEmail"),v(a,"translate","no"),v(r,"class","PlayerAccountMenuHeader "+(e[12]?"PlayerAccountMenuHeaderMobile":"")),v(h,"class","PlayerAccountMenuList"),v(t,"class","PlayerAccountMenuContainer "+(e[12]?"PlayerAccountMobileContainer":""))},m(x,w){U(x,t,w),g(t,r),p&&p.m(r,null),g(r,n),g(r,i),g(i,o),g(r,s),g(r,a),g(a,l),g(r,u),m&&m.m(r,null),g(t,c),g(t,h);for(let S=0;S<y.length;S+=1)y[S]&&y[S].m(h,null);g(t,f),M&&M.m(t,null)},p(x,w){if(x[12]&&p.p(x,w),w[0]&512&&le(o,x[9]),w[0]&1024&&le(l,x[10]),x[12]&&m.p(x,w),w[0]&12672){b=we(x[7]);let S;for(S=0;S<b.length;S+=1){const L=Xt(x,b,S);y[S]?y[S].p(L,w):(y[S]=Zt(L),y[S].c(),y[S].m(h,null))}for(;S<y.length;S+=1)y[S].d(1);y.length=b.length}x[12]||M.p(x,w)},d(x){x&&R(t),p&&p.d(),m&&m.d(),er(y,x),M&&M.d()}}}function So(e){let t,r,n,i,o,s,a,l,u,c,h=e[12]&&Bo(),f=we(Array(18)),p=[];for(let m=0;m<f.length;m+=1)p[m]=qt(zt(e,f,m));return{c(){t=P("div"),r=P("div"),h&&h.c(),n=C(),i=P("ui-skeleton"),o=C(),s=P("ui-skeleton"),a=C(),l=P("div");for(let m=0;m<p.length;m+=1)p[m].c();u=C(),c=P("div"),c.innerHTML='<ui-skeleton structure="rectangle" width="auto" height="60px"></ui-skeleton>',A(i,"structure","title"),A(i,"width","100px"),A(i,"height","20px"),A(i,"margin-top","10px"),A(s,"structure","text"),A(s,"width","200px"),A(s,"height","20px"),v(r,"class","PlayerAccountMenuHeader "+(e[12]?"PlayerAccountMenuHeaderMobile":"")),v(l,"class","PlayerAccountMenuList"),v(c,"class","skeletonLogOut"),v(t,"class","PlayerAccountMenuContainer "+(e[12]?"PlayerAccountMobileContainer":""))},m(m,b){U(m,t,b),g(t,r),h&&h.m(r,null),g(r,n),g(r,i),g(r,o),g(r,s),g(t,a),g(t,l);for(let y=0;y<p.length;y+=1)p[y]&&p[y].m(l,null);g(t,u),g(t,c)},p(m,b){if(b[0]&4096){f=we(Array(18));let y;for(y=0;y<f.length;y+=1){const M=zt(m,f,y);p[y]?p[y].p(M,b):(p[y]=qt(M),p[y].c(),p[y].m(l,null))}for(;y<p.length;y+=1)p[y].d(1);p.length=f.length}},d(m){m&&R(t),h&&h.d(),er(p,m)}}}function To(e){let t,r,n,i,o,s,a,l,u,c,h=e[11]("title")+"",f,p,m;return{c(){t=P("div"),r=V("svg"),n=V("defs"),i=V("style"),o=W(".aaa{fill:var(--emw--color-white, #FFFFFF);}"),s=V("g"),a=V("g"),l=V("path"),u=C(),c=P("h3"),f=W(h),v(l,"class","aaa"),v(l,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),v(l,"transform","translate(15 15) rotate(180)"),v(a,"transform","translate(20 158)"),v(s,"transform","translate(-20 -158)"),v(r,"xmlns","http://www.w3.org/2000/svg"),v(r,"width","15"),v(r,"height","15"),v(r,"viewBox","0 0 15 15"),v(c,"class","PlayerAccountMenuCategoryTitle"),v(t,"class","PlayerAccountMenuCategoryWrapper")},m(b,y){U(b,t,y),g(t,r),g(r,n),g(n,i),g(i,o),g(r,s),g(s,a),g(a,l),g(t,u),g(t,c),g(c,f),p||(m=[Ee(r,"click",e[14]),Ee(c,"click",e[14])],p=!0)},p(b,y){y[0]&2048&&h!==(h=b[11]("title")+"")&&le(f,h)},d(b){b&&R(t),p=!1,ne(m)}}}function Ho(e){let t,r;return{c(){t=P("div"),r=P("general-logout"),A(r,"endpoint",e[1]),A(r,"session",e[0]),A(r,"buttonlocation","PlayerAccountMenu"),A(r,"clientstyling",e[2]),A(r,"clientstylingurl",e[3]),A(r,"mbsource",e[4]),v(t,"class","PlayerAccountLogOutArea")},m(n,i){U(n,t,i),g(t,r)},p(n,i){i[0]&2&&A(r,"endpoint",n[1]),i[0]&1&&A(r,"session",n[0]),i[0]&4&&A(r,"clientstyling",n[2]),i[0]&8&&A(r,"clientstylingurl",n[3]),i[0]&16&&A(r,"mbsource",n[4])},d(n){n&&R(t)}}}function Zt(e){let t,r,n,i,o,s,a=e[40].label+"",l,u,c,h,f;function p(){return e[24](e[40])}return{c(){t=P("div"),r=P("p"),n=P("img"),o=C(),s=P("span"),l=W(a),u=C(),v(n,"class","PlayerAccountMenuItemIcon "+(e[12]?"PlayerAccountMenuItemIconMobile":"")),Et(n.src,i=e[40].img)||v(n,"src",i),v(s,"class","PlayerAccountMenuItemTitle"),v(r,"class","PlayerAccountMenuItemWrapper"),v(t,"class",c="PlayerAccountMenuItemBox "+(e[8]===e[40].id&&!e[12]?"PlayerAccountMenuActiveItemBox":""))},m(m,b){U(m,t,b),g(t,r),g(r,n),g(r,o),g(r,s),g(s,l),g(t,u),h||(f=Ee(t,"click",p),h=!0)},p(m,b){e=m,b[0]&128&&!Et(n.src,i=e[40].img)&&v(n,"src",i),b[0]&128&&a!==(a=e[40].label+"")&&le(l,a),b[0]&384&&c!==(c="PlayerAccountMenuItemBox "+(e[8]===e[40].id&&!e[12]?"PlayerAccountMenuActiveItemBox":""))&&v(t,"class",c)},d(m){m&&R(t),h=!1,f()}}}function Mo(e){let t,r;return{c(){t=P("div"),r=P("general-logout"),A(r,"endpoint",e[1]),A(r,"session",e[0]),A(r,"buttonlocation","PlayerAccountMenu"),A(r,"clientstyling",e[2]),A(r,"clientstylingurl",e[3]),A(r,"mbsource",e[4]),v(t,"class","PlayerAccountLogOutArea")},m(n,i){U(n,t,i),g(t,r)},p(n,i){i[0]&2&&A(r,"endpoint",n[1]),i[0]&1&&A(r,"session",n[0]),i[0]&4&&A(r,"clientstyling",n[2]),i[0]&8&&A(r,"clientstylingurl",n[3]),i[0]&16&&A(r,"mbsource",n[4])},d(n){n&&R(t)}}}function Bo(e){let t;return{c(){t=P("div"),t.innerHTML='<ui-skeleton structure="title" width="30px" height="30px"></ui-skeleton> <ui-skeleton structure="text" width="150px" height="30px"></ui-skeleton>',v(t,"class","PlayerAccountMenuCategoryWrapper")},m(r,n){U(r,t,n)},d(r){r&&R(t)}}}function Io(e){let t;return{c(){t=P("ui-skeleton"),A(t,"structure","circle"),A(t,"size","20px")},m(r,n){U(r,t,n)},d(r){r&&R(t)}}}function qt(e){let t,r,n,i,o=!e[12]&&Io();return{c(){t=P("div"),o&&o.c(),r=C(),n=P("ui-skeleton"),i=C(),A(n,"structure","rectangle"),A(n,"width","100%"),A(n,"height",e[12]?"120px":"20px"),v(t,"class","PlayerAccountItemWrap "+(e[12]?"PlayerAccountItemWrapMobile":""))},m(s,a){U(s,t,a),o&&o.m(t,null),g(t,r),g(t,n),g(t,i)},p:N,d(s){s&&R(t),o&&o.d()}}}function Oo(e){let t;function r(o,s){return o[6]?So:Po}let n=r(e),i=n(e);return{c(){t=P("div"),i.c()},m(o,s){U(o,t,s),i.m(t,null),e[25](t)},p(o,s){n===(n=r(o))&&i?i.p(o,s):(i.d(1),i=n(o),i&&(i.c(),i.m(t,null)))},i:N,o:N,d(o){o&&R(t),i.d(),e[25](null)}}}function Co(e,t,r){let n;Yt(e,Nr,d=>r(11,n=d));let{endpoint:i=""}=t,{cmsendpoint:o=""}=t,{env:s=""}=t,{session:a=""}=t,{playerid:l=""}=t,{lang:u="en"}=t,{userroles:c=""}=t,{clientstyling:h=""}=t,{clientstylingurl:f=""}=t,{translationurl:p=""}=t,{activemenuitem:m=""}=t,{mbsource:b}=t,y=!1,M=!1,x=!0,w,S,L=[],j,se=window.navigator.userAgent,Dr=st(se)!=="PC",ft="",pt="";window.matchMedia("(min-width: 768px)");const Gr=()=>{fetch(p).then(B=>B.json()).then(B=>{Object.keys(B).forEach(D=>{Vt(D,B[D])})}).catch(B=>{console.error(B)})};Object.keys(Wt).forEach(d=>{Vt(d,Wt[d])});const mt=d=>{if(d.data)switch(d.data.type){case"UserSessionID":r(0,a=d.data.session);break}},jr=()=>{let d=st(se);if(d)return d==="PC"?"dk":"mtWeb"},kr=()=>{const d=new URL(`${o}/${u}/profile-menu?env=${s}`);d.searchParams.append("device",jr()),fetch(d.href).then(B=>B.json()).then(B=>{r(7,L=B),bt()}).catch(B=>{console.error("Error getting menu items",B)}).finally(()=>{r(22,y=!0)})},Vr=()=>{let d=new URL(`${i}/v1/player/${l}/profile`);d.searchParams.append("userRoles",c);let B={method:"GET",headers:{"X-SessionID":a}};fetch(d.href,B).then(D=>D.json()).then(D=>{r(9,ft=D.username),r(10,pt=D.email)},D=>{console.error(D)}).finally(()=>{r(23,M=!0)})},dt=d=>{window.postMessage({type:"ChangeAccountPage",page:d},window.location.href),r(8,j=d.id)},bt=()=>{var d;r(8,j=(d=L.find(B=>B.path.includes(m)))==null?void 0:d.id)},Wr=()=>{xo(u)},Xr=()=>{Vr()},zr=()=>{window.postMessage({type:"GoToHomepage"},window.location.href)};tr(()=>(window.addEventListener("message",mt,!1),()=>{window.removeEventListener("message",mt)}));const Zr=d=>dt(d);function qr(d){Ae[d?"unshift":"push"](()=>{w=d,r(5,w)})}return e.$$set=d=>{"endpoint"in d&&r(1,i=d.endpoint),"cmsendpoint"in d&&r(15,o=d.cmsendpoint),"env"in d&&r(16,s=d.env),"session"in d&&r(0,a=d.session),"playerid"in d&&r(17,l=d.playerid),"lang"in d&&r(18,u=d.lang),"userroles"in d&&r(19,c=d.userroles),"clientstyling"in d&&r(2,h=d.clientstyling),"clientstylingurl"in d&&r(3,f=d.clientstylingurl),"translationurl"in d&&r(20,p=d.translationurl),"activemenuitem"in d&&r(21,m=d.activemenuitem),"mbsource"in d&&r(4,b=d.mbsource)},e.$$.update=()=>{e.$$.dirty[0]&12582912&&r(6,x=!y||!M),e.$$.dirty[0]&262144&&u&&Wr(),e.$$.dirty[0]&393219&&i&&a&&l&&u&&Xr(),e.$$.dirty[0]&360448&&o&&u&&s&&kr(),e.$$.dirty[0]&2097152&&m&&bt(),e.$$.dirty[0]&36&&h&&w&&Rr(w,h),e.$$.dirty[0]&40&&f&&w&&$r(w,f),e.$$.dirty[0]&48&&b&&w&&Ur(w,`${b}.Style`,S),e.$$.dirty[0]&1048576&&p&&Gr()},[a,i,h,f,b,w,x,L,j,ft,pt,n,Dr,dt,zr,o,s,l,u,c,p,m,y,M,Zr,qr]}class Fr extends or{constructor(t){super(),rr(this,t,Co,Oo,ut,{endpoint:1,cmsendpoint:15,env:16,session:0,playerid:17,lang:18,userroles:19,clientstyling:2,clientstylingurl:3,translationurl:20,activemenuitem:21,mbsource:4},wo,[-1,-1])}get endpoint(){return this.$$.ctx[1]}set endpoint(t){this.$$set({endpoint:t}),I()}get cmsendpoint(){return this.$$.ctx[15]}set cmsendpoint(t){this.$$set({cmsendpoint:t}),I()}get env(){return this.$$.ctx[16]}set env(t){this.$$set({env:t}),I()}get session(){return this.$$.ctx[0]}set session(t){this.$$set({session:t}),I()}get playerid(){return this.$$.ctx[17]}set playerid(t){this.$$set({playerid:t}),I()}get lang(){return this.$$.ctx[18]}set lang(t){this.$$set({lang:t}),I()}get userroles(){return this.$$.ctx[19]}set userroles(t){this.$$set({userroles:t}),I()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(t){this.$$set({clientstyling:t}),I()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),I()}get translationurl(){return this.$$.ctx[20]}set translationurl(t){this.$$set({translationurl:t}),I()}get activemenuitem(){return this.$$.ctx[21]}set activemenuitem(t){this.$$set({activemenuitem:t}),I()}get mbsource(){return this.$$.ctx[4]}set mbsource(t){this.$$set({mbsource:t}),I()}}ir(Fr,{endpoint:{},cmsendpoint:{},env:{},session:{},playerid:{},lang:{},userroles:{},clientstyling:{},clientstylingurl:{},translationurl:{},activemenuitem:{},mbsource:{}},[],[],!0);const Lo=Object.freeze(Object.defineProperty({__proto__:null,default:Fr},Symbol.toStringTag,{value:"Module"}));exports.$format=Nr;exports.$locale=z;exports.PlayerAccountMenu_ce=Lo;exports.SvelteComponent=or;exports.addMessages=ct;exports.append=g;exports.append_styles=Kt;exports.attr=v;exports.binding_callbacks=Ae;exports.component_subscribe=Yt;exports.create_custom_element=ir;exports.detach=R;exports.element=P;exports.flush=I;exports.getDevice=st;exports.init=rr;exports.insert=U;exports.listen=Ee;exports.noop=N;exports.onMount=tr;exports.safe_not_equal=ut;exports.setClientStyling=Rr;exports.setClientStylingURL=$r;exports.setStreamStyling=Ur;exports.set_data=le;exports.set_style=sn;exports.space=C;exports.svg_element=V;exports.text=W;
18
+ `,te.MISSING_INTL_API,s);var S=r.getPluralRules(t,{type:c.pluralType}).select(f-(c.offset||0));w=c.options[S]||c.options.other}if(!w)throw new Ft(c.value,f,Object.keys(c.options),s);a.push.apply(a,_e(w.value,t,r,n,i,f-(c.offset||0)));continue}}return Ri(a)}function Ui(e,t){return t?F(F(F({},e||{}),t||{}),Object.keys(e).reduce(function(r,n){return r[n]=F(F({},e[n]),t[n]||{}),r},{})):e}function Fi(e,t){return t?Object.keys(e).reduce(function(r,n){return r[n]=Ui(e[n],t[n]),r},F({},e)):e}function Ge(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function Di(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Ue(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.NumberFormat).bind.apply(t,$e([void 0],r,!1)))},{cache:Ge(e.number),strategy:Fe.variadic}),getDateTimeFormat:Ue(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.DateTimeFormat).bind.apply(t,$e([void 0],r,!1)))},{cache:Ge(e.dateTime),strategy:Fe.variadic}),getPluralRules:Ue(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.PluralRules).bind.apply(t,$e([void 0],r,!1)))},{cache:Ge(e.pluralRules),strategy:Fe.variadic})}}var Gi=function(){function e(t,r,n,i){r===void 0&&(r=e.defaultLocale);var o=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(l){var u=o.formatToParts(l);if(u.length===1)return u[0].value;var c=u.reduce(function(h,f){return!h.length||f.type!==O.literal||typeof h[h.length-1]!="string"?h.push(f.value):h[h.length-1]+=f.value,h},[]);return c.length<=1?c[0]||"":c},this.formatToParts=function(l){return _e(o.ast,o.locales,o.formatters,o.formats,l,void 0,o.message)},this.resolvedOptions=function(){var l;return{locale:((l=o.resolvedLocale)===null||l===void 0?void 0:l.toString())||Intl.NumberFormat.supportedLocalesOf(o.locales)[0]}},this.getAst=function(){return o.ast},this.locales=r,this.resolvedLocale=e.resolveLocale(r),typeof t=="string"){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var s=i||{};s.formatters;var a=Qn(s,["formatters"]);this.ast=e.__parse(t,F(F({},a),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=Fi(e.formats,n),this.formatters=i&&i.formatters||Di(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(t){if(typeof Intl.Locale!="undefined"){var r=Intl.NumberFormat.supportedLocalesOf(t);return r.length>0?new Intl.Locale(r[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=Ci,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 ji(e,t){if(t==null)return;if(t in e)return e[t];const r=t.split(".");let n=e;for(let i=0;i<r.length;i++)if(typeof n=="object"){if(i>0){const o=r.slice(i,r.length).join(".");if(o in n){n=n[o];break}}n=n[r[i]]}else n=void 0;return n}const k={},ki=(e,t,r)=>r&&(t in k||(k[t]={}),e in k[t]||(k[t][e]=r),r),Mr=(e,t)=>{if(t==null)return;if(t in k&&e in k[t])return k[t][e];const r=Oe(t);for(let n=0;n<r.length;n++){const i=r[n],o=Wi(i,e);if(o)return ki(e,t,o)}};let lt;const me=Me({});function Vi(e){return lt[e]||null}function Br(e){return e in lt}function Wi(e,t){if(!Br(e))return null;const r=Vi(e);return ji(r,t)}function Xi(e){if(e==null)return;const t=Oe(e);for(let r=0;r<t.length;r++){const n=t[r];if(Br(n))return n}}function ct(e,...t){delete k[e],me.update(r=>(r[e]=qn.all([r[e]||{},...t]),r))}ie([me],([e])=>Object.keys(e));me.subscribe(e=>lt=e);const xe={};function zi(e,t){xe[e].delete(t),xe[e].size===0&&delete xe[e]}function Ir(e){return xe[e]}function Zi(e){return Oe(e).map(t=>{const r=Ir(t);return[t,r?[...r]:[]]}).filter(([,t])=>t.length>0)}function it(e){return e==null?!1:Oe(e).some(t=>{var r;return(r=Ir(t))==null?void 0:r.size})}function qi(e,t){return Promise.all(t.map(n=>(zi(e,n),n().then(i=>i.default||i)))).then(n=>ct(e,...n))}const ae={};function Or(e){if(!it(e))return e in ae?ae[e]:Promise.resolve();const t=Zi(e);return ae[e]=Promise.all(t.map(([r,n])=>qi(r,n))).then(()=>{if(it(e))return Or(e);delete ae[e]}),ae[e]}const Qi={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"}}},Ji={fallbackLocale:null,loadingDelay:200,formats:Qi,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},Yi=Ji;function re(){return Yi}const je=Me(!1);var Ki=Object.defineProperty,eo=Object.defineProperties,to=Object.getOwnPropertyDescriptors,Dt=Object.getOwnPropertySymbols,ro=Object.prototype.hasOwnProperty,no=Object.prototype.propertyIsEnumerable,Gt=(e,t,r)=>t in e?Ki(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,io=(e,t)=>{for(var r in t||(t={}))ro.call(t,r)&&Gt(e,r,t[r]);if(Dt)for(var r of Dt(t))no.call(t,r)&&Gt(e,r,t[r]);return e},oo=(e,t)=>eo(e,to(t));let ot;const Se=Me(null);function jt(e){return e.split("-").map((t,r,n)=>n.slice(0,r+1).join("-")).reverse()}function Oe(e,t=re().fallbackLocale){const r=jt(e);return t?[...new Set([...r,...jt(t)])]:r}function X(){return ot!=null?ot:void 0}Se.subscribe(e=>{ot=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const so=e=>{if(e&&Xi(e)&&it(e)){const{loadingDelay:t}=re();let r;return typeof window!="undefined"&&X()!=null&&t?r=window.setTimeout(()=>je.set(!0),t):je.set(!0),Or(e).then(()=>{Se.set(e)}).finally(()=>{clearTimeout(r),je.set(!1)})}return Se.set(e)},z=oo(io({},Se),{set:so}),Ce=e=>{const t=Object.create(null);return n=>{const i=JSON.stringify(n);return i in t?t[i]:t[i]=e(n)}};var ao=Object.defineProperty,Te=Object.getOwnPropertySymbols,Cr=Object.prototype.hasOwnProperty,Lr=Object.prototype.propertyIsEnumerable,kt=(e,t,r)=>t in e?ao(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,ht=(e,t)=>{for(var r in t||(t={}))Cr.call(t,r)&&kt(e,r,t[r]);if(Te)for(var r of Te(t))Lr.call(t,r)&&kt(e,r,t[r]);return e},oe=(e,t)=>{var r={};for(var n in e)Cr.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&Te)for(var n of Te(e))t.indexOf(n)<0&&Lr.call(e,n)&&(r[n]=e[n]);return r};const fe=(e,t)=>{const{formats:r}=re();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},uo=Ce(e=>{var t=e,{locale:r,format:n}=t,i=oe(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(i=fe("number",n)),new Intl.NumberFormat(r,i)}),lo=Ce(e=>{var t=e,{locale:r,format:n}=t,i=oe(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?i=fe("date",n):Object.keys(i).length===0&&(i=fe("date","short")),new Intl.DateTimeFormat(r,i)}),co=Ce(e=>{var t=e,{locale:r,format:n}=t,i=oe(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?i=fe("time",n):Object.keys(i).length===0&&(i=fe("time","short")),new Intl.DateTimeFormat(r,i)}),ho=(e={})=>{var t=e,{locale:r=X()}=t,n=oe(t,["locale"]);return uo(ht({locale:r},n))},fo=(e={})=>{var t=e,{locale:r=X()}=t,n=oe(t,["locale"]);return lo(ht({locale:r},n))},po=(e={})=>{var t=e,{locale:r=X()}=t,n=oe(t,["locale"]);return co(ht({locale:r},n))},mo=Ce((e,t=X())=>new Gi(e,t,re().formats,{ignoreTag:re().ignoreTag})),bo=(e,t={})=>{var r,n,i,o;let s=t;typeof e=="object"&&(s=e,e=s.id);const{values:a,locale:l=X(),default:u}=s;if(l==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=Mr(e,l);if(!c)c=(o=(i=(n=(r=re()).handleMissingMessage)==null?void 0:n.call(r,{locale:l,id:e,defaultValue:u}))!=null?i:u)!=null?o: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=mo(c,l).format(a)}catch(f){f instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,f.message)}return h},yo=(e,t)=>po(t).format(e),go=(e,t)=>fo(t).format(e),vo=(e,t)=>ho(t).format(e),_o=(e,t=X())=>Mr(e,t),Nr=ie([z,me],()=>bo);ie([z],()=>yo);ie([z],()=>go);ie([z],()=>vo);ie([z,me],()=>_o);window.emWidgets={topic:On};const st=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 Vt(e,t){ct(e,t)}function xo(e){z.set(e)}const Wt={en:{title:"My Account"},"zh-hk":{title:"我的帳戶"},fr:{title:"Mon compte"},tr:{title:"Hesabım"},ro:{title:"Contul meu"},es:{title:"Mi Cuenta"},pt:{title:"Minha Conta"},hr:{title:"Moj račun"},"pt-br":{title:"Minha conta"},"es-mx":{title:"Mi cuenta"},"en-us":{title:"My Account"}},J="__WIDGET_GLOBAL_STYLE_CACHE__";function Rr(e,t){if(e){const r=document.createElement("style");r.innerHTML=t,e.appendChild(r)}}function $r(e,t){if(!e||!t)return;const r=new URL(t);fetch(r.href).then(n=>n.text()).then(n=>{const i=document.createElement("style");i.innerHTML=n,e&&e.appendChild(i)}).catch(n=>{console.error("There was an error while trying to load client styling from URL",n)})}function Ur(e,t,r,n=!1){if(!window.emMessageBus)return;if(!("adoptedStyleSheets"in Document.prototype)||!n)return r=Eo(e,t),r;window[J]||(window[J]={}),r=Ao(e,t);const o=r.unsubscribe.bind(r),s=()=>{if(window[J][t]){const a=window[J][t];a.refCount>1?a.refCount=a.refCount-1:delete window[J][t]}o()};return r.unsubscribe=s,r}function Eo(e,t){const r=document.createElement("style");return window.emMessageBus.subscribe(t,n=>{e&&(r.innerHTML=n,e.appendChild(r))})}function Ao(e,t){return window.emMessageBus.subscribe(t,r=>{if(!e)return;const n=e.getRootNode(),i=window[J];let o=i[t]&&i[t].sheet;o?i[t].refCount=i[t].refCount+1:(o=new CSSStyleSheet,o.replaceSync(r),i[t]={sheet:o,refCount:1});const s=n.adoptedStyleSheets||[];s.includes(o)||(n.adoptedStyleSheets=[...s,o])})}if(typeof window!="undefined"){let e=function(t){return function(...r){try{return t.apply(this,r)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./GeneralLogout-CWMT4pCe.cjs")).then(({default:t})=>{!customElements.get("general-logout")&&customElements.define("general-logout",t.element)})}function wo(e){Kt(e,"svelte-5g0xrl",".PlayerAccountMenuContainer{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));position:relative;height:100vh;display:flex;flex-direction:column;border-right:2px solid #58586b;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper{margin:0;word-break:break-all;display:flex;align-items:center}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper span{display:flex;align-items:center}.PlayerAccountMenuContainer .skeletonLogOut{width:100%}.PlayerAccountMenuHeader{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));flex-grow:0;padding:30px 20px}.PlayerAccountMenuHeader .PlayerAccountMenuUser{margin-bottom:5px;font-size:18px}.PlayerAccountMenuHeader .PlayerAccountMenuEmail{font-size:14px;text-overflow:ellipsis;overflow:hidden}.PlayerAccountMenuHeader p{font-weight:300}.PlayerAccountMenuHeaderMobile{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF))}.PlayerAccountMenuItemBox{padding:16px 20px;font-size:16px;line-height:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerAccountMenuItemTitle{margin-left:20px}.PlayerAccountMenuItemBox:not(:last-child){border-bottom:1px solid var(--emw--color-gray-150, #828282)}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:20px;height:20px;padding-top:unset}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIconMobile{width:30px;height:30px;padding-top:15px}.PlayerAccountMenuList{overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--emw--color-gray-100, #E6E6E6) var(--emw--color-gray-300, #58586B);min-height:900px}.PlayerAccountMenuList::-webkit-scrollbar{width:6px}.PlayerAccountMenuList::-webkit-scrollbar-track{background:var(--emw--color-gray-300, #58586B)}.PlayerAccountMenuList::-webkit-scrollbar-thumb{background:var(--emw--color-gray-100, #E6E6E6)}.PlayerAccountItemWrap{display:flex;gap:20px;padding:16px 20px}.PlayerAccountItemWrap.PlayerAccountItemWrapMobile{flex-wrap:wrap;flex:0 0 33.3333%;padding:0;gap:10px}.PlayerAccountItemWrap.PlayerAccountItemWrapMobile ui-skeleton{width:100%}.PlayerAccountItemWrap ui-skeleton:last-child{flex:1}.PlayerAccountLogOutArea{background:var(--emw--color-gray-300, #58586B);color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));width:100%;flex-grow:0;border-top:1px solid var(--emw--color-gray-150, #828282)}.PlayerAccountMenuActiveItemBox{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF))}.PlayerAccountMobileContainer{height:unset}.PlayerAccountMobileContainer .PlayerAccountMenuCategoryWrapper{display:flex;align-items:center;gap:10px;margin-bottom:18px}.PlayerAccountMobileContainer .PlayerAccountMenuCategoryTitle{margin:0;font-weight:600}.PlayerAccountMobileContainer .PlayerAccountMenuItemTitle{margin-left:0;text-transform:capitalize;line-height:14px}.PlayerAccountMobileContainer .PlayerAccountMenuEmail{margin:0}.PlayerAccountMobileContainer .PlayerAccountMenuList{display:grid;grid-template-columns:calc(33% - 6.66px) calc(33% - 6.66px) calc(33% - 6.66px);column-gap:10px;row-gap:10px;padding:0 20px 20px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox{border:1px solid var(--emw--color-gray-300, #58586B);border-radius:5px;height:auto;justify-content:center;padding-bottom:calc(100% - 22px);position:relative}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox.PlayerAccountMenuActiveItemBox{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border-bottom:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:30px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{display:flex;align-items:center;justify-content:space-between;flex-flow:column;gap:6px;position:absolute;top:0;bottom:0;left:0;right:0}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:11px;padding:0 5px 15px 5px;font-weight:400;word-break:break-word;text-align:center;color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF))}.PlayerAccountMobileContainer .PlayerAccountLogOutArea{position:absolute;right:18px;top:56px;bottom:unset;background:transparent;width:48px;border-top:0}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}")}function Xt(e,t,r){const n=e.slice();return n[40]=t[r],n}function zt(e,t,r){const n=e.slice();return n[37]=t[r],n}function Po(e){let t,r,n,i,o,s,a,l,u,c,h,f,p=e[12]&&To(e),m=e[12]&&Ho(e),b=we(e[7]),y=[];for(let x=0;x<b.length;x+=1)y[x]=Zt(Xt(e,b,x));let M=!e[12]&&Mo(e);return{c(){t=P("div"),r=P("div"),p&&p.c(),n=C(),i=P("p"),o=W(e[9]),s=C(),a=P("p"),l=W(e[10]),u=C(),m&&m.c(),c=C(),h=P("div");for(let x=0;x<y.length;x+=1)y[x].c();f=C(),M&&M.c(),v(i,"class","PlayerAccountMenuUser"),v(i,"translate","no"),v(a,"class","PlayerAccountMenuEmail"),v(a,"translate","no"),v(r,"class","PlayerAccountMenuHeader "+(e[12]?"PlayerAccountMenuHeaderMobile":"")),v(h,"class","PlayerAccountMenuList"),v(t,"class","PlayerAccountMenuContainer "+(e[12]?"PlayerAccountMobileContainer":""))},m(x,w){U(x,t,w),g(t,r),p&&p.m(r,null),g(r,n),g(r,i),g(i,o),g(r,s),g(r,a),g(a,l),g(r,u),m&&m.m(r,null),g(t,c),g(t,h);for(let S=0;S<y.length;S+=1)y[S]&&y[S].m(h,null);g(t,f),M&&M.m(t,null)},p(x,w){if(x[12]&&p.p(x,w),w[0]&512&&le(o,x[9]),w[0]&1024&&le(l,x[10]),x[12]&&m.p(x,w),w[0]&12672){b=we(x[7]);let S;for(S=0;S<b.length;S+=1){const L=Xt(x,b,S);y[S]?y[S].p(L,w):(y[S]=Zt(L),y[S].c(),y[S].m(h,null))}for(;S<y.length;S+=1)y[S].d(1);y.length=b.length}x[12]||M.p(x,w)},d(x){x&&R(t),p&&p.d(),m&&m.d(),er(y,x),M&&M.d()}}}function So(e){let t,r,n,i,o,s,a,l,u,c,h=e[12]&&Bo(),f=we(Array(18)),p=[];for(let m=0;m<f.length;m+=1)p[m]=qt(zt(e,f,m));return{c(){t=P("div"),r=P("div"),h&&h.c(),n=C(),i=P("ui-skeleton"),o=C(),s=P("ui-skeleton"),a=C(),l=P("div");for(let m=0;m<p.length;m+=1)p[m].c();u=C(),c=P("div"),c.innerHTML='<ui-skeleton structure="rectangle" width="auto" height="60px"></ui-skeleton>',A(i,"structure","title"),A(i,"width","100px"),A(i,"height","20px"),A(i,"margin-top","10px"),A(s,"structure","text"),A(s,"width","200px"),A(s,"height","20px"),v(r,"class","PlayerAccountMenuHeader "+(e[12]?"PlayerAccountMenuHeaderMobile":"")),v(l,"class","PlayerAccountMenuList"),v(c,"class","skeletonLogOut"),v(t,"class","PlayerAccountMenuContainer "+(e[12]?"PlayerAccountMobileContainer":""))},m(m,b){U(m,t,b),g(t,r),h&&h.m(r,null),g(r,n),g(r,i),g(r,o),g(r,s),g(t,a),g(t,l);for(let y=0;y<p.length;y+=1)p[y]&&p[y].m(l,null);g(t,u),g(t,c)},p(m,b){if(b[0]&4096){f=we(Array(18));let y;for(y=0;y<f.length;y+=1){const M=zt(m,f,y);p[y]?p[y].p(M,b):(p[y]=qt(M),p[y].c(),p[y].m(l,null))}for(;y<p.length;y+=1)p[y].d(1);p.length=f.length}},d(m){m&&R(t),h&&h.d(),er(p,m)}}}function To(e){let t,r,n,i,o,s,a,l,u,c,h=e[11]("title")+"",f,p,m;return{c(){t=P("div"),r=V("svg"),n=V("defs"),i=V("style"),o=W(".aaa{fill:var(--emw--color-white, #FFFFFF);}"),s=V("g"),a=V("g"),l=V("path"),u=C(),c=P("h3"),f=W(h),v(l,"class","aaa"),v(l,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),v(l,"transform","translate(15 15) rotate(180)"),v(a,"transform","translate(20 158)"),v(s,"transform","translate(-20 -158)"),v(r,"xmlns","http://www.w3.org/2000/svg"),v(r,"width","15"),v(r,"height","15"),v(r,"viewBox","0 0 15 15"),v(c,"class","PlayerAccountMenuCategoryTitle"),v(t,"class","PlayerAccountMenuCategoryWrapper")},m(b,y){U(b,t,y),g(t,r),g(r,n),g(n,i),g(i,o),g(r,s),g(s,a),g(a,l),g(t,u),g(t,c),g(c,f),p||(m=[Ee(r,"click",e[14]),Ee(c,"click",e[14])],p=!0)},p(b,y){y[0]&2048&&h!==(h=b[11]("title")+"")&&le(f,h)},d(b){b&&R(t),p=!1,ne(m)}}}function Ho(e){let t,r;return{c(){t=P("div"),r=P("general-logout"),A(r,"endpoint",e[1]),A(r,"session",e[0]),A(r,"buttonlocation","PlayerAccountMenu"),A(r,"clientstyling",e[2]),A(r,"clientstylingurl",e[3]),A(r,"mbsource",e[4]),v(t,"class","PlayerAccountLogOutArea")},m(n,i){U(n,t,i),g(t,r)},p(n,i){i[0]&2&&A(r,"endpoint",n[1]),i[0]&1&&A(r,"session",n[0]),i[0]&4&&A(r,"clientstyling",n[2]),i[0]&8&&A(r,"clientstylingurl",n[3]),i[0]&16&&A(r,"mbsource",n[4])},d(n){n&&R(t)}}}function Zt(e){let t,r,n,i,o,s,a=e[40].label+"",l,u,c,h,f;function p(){return e[24](e[40])}return{c(){t=P("div"),r=P("p"),n=P("img"),o=C(),s=P("span"),l=W(a),u=C(),v(n,"class","PlayerAccountMenuItemIcon "+(e[12]?"PlayerAccountMenuItemIconMobile":"")),Et(n.src,i=e[40].img)||v(n,"src",i),v(s,"class","PlayerAccountMenuItemTitle"),v(r,"class","PlayerAccountMenuItemWrapper"),v(t,"class",c="PlayerAccountMenuItemBox "+(e[8]===e[40].id&&!e[12]?"PlayerAccountMenuActiveItemBox":""))},m(m,b){U(m,t,b),g(t,r),g(r,n),g(r,o),g(r,s),g(s,l),g(t,u),h||(f=Ee(t,"click",p),h=!0)},p(m,b){e=m,b[0]&128&&!Et(n.src,i=e[40].img)&&v(n,"src",i),b[0]&128&&a!==(a=e[40].label+"")&&le(l,a),b[0]&384&&c!==(c="PlayerAccountMenuItemBox "+(e[8]===e[40].id&&!e[12]?"PlayerAccountMenuActiveItemBox":""))&&v(t,"class",c)},d(m){m&&R(t),h=!1,f()}}}function Mo(e){let t,r;return{c(){t=P("div"),r=P("general-logout"),A(r,"endpoint",e[1]),A(r,"session",e[0]),A(r,"buttonlocation","PlayerAccountMenu"),A(r,"clientstyling",e[2]),A(r,"clientstylingurl",e[3]),A(r,"mbsource",e[4]),v(t,"class","PlayerAccountLogOutArea")},m(n,i){U(n,t,i),g(t,r)},p(n,i){i[0]&2&&A(r,"endpoint",n[1]),i[0]&1&&A(r,"session",n[0]),i[0]&4&&A(r,"clientstyling",n[2]),i[0]&8&&A(r,"clientstylingurl",n[3]),i[0]&16&&A(r,"mbsource",n[4])},d(n){n&&R(t)}}}function Bo(e){let t;return{c(){t=P("div"),t.innerHTML='<ui-skeleton structure="title" width="30px" height="30px"></ui-skeleton> <ui-skeleton structure="text" width="150px" height="30px"></ui-skeleton>',v(t,"class","PlayerAccountMenuCategoryWrapper")},m(r,n){U(r,t,n)},d(r){r&&R(t)}}}function Io(e){let t;return{c(){t=P("ui-skeleton"),A(t,"structure","circle"),A(t,"size","20px")},m(r,n){U(r,t,n)},d(r){r&&R(t)}}}function qt(e){let t,r,n,i,o=!e[12]&&Io();return{c(){t=P("div"),o&&o.c(),r=C(),n=P("ui-skeleton"),i=C(),A(n,"structure","rectangle"),A(n,"width","100%"),A(n,"height",e[12]?"120px":"20px"),v(t,"class","PlayerAccountItemWrap "+(e[12]?"PlayerAccountItemWrapMobile":""))},m(s,a){U(s,t,a),o&&o.m(t,null),g(t,r),g(t,n),g(t,i)},p:N,d(s){s&&R(t),o&&o.d()}}}function Oo(e){let t;function r(o,s){return o[6]?So:Po}let n=r(e),i=n(e);return{c(){t=P("div"),i.c()},m(o,s){U(o,t,s),i.m(t,null),e[25](t)},p(o,s){n===(n=r(o))&&i?i.p(o,s):(i.d(1),i=n(o),i&&(i.c(),i.m(t,null)))},i:N,o:N,d(o){o&&R(t),i.d(),e[25](null)}}}function Co(e,t,r){let n;Yt(e,Nr,d=>r(11,n=d));let{endpoint:i=""}=t,{cmsendpoint:o=""}=t,{env:s=""}=t,{session:a=""}=t,{playerid:l=""}=t,{lang:u="en"}=t,{userroles:c=""}=t,{clientstyling:h=""}=t,{clientstylingurl:f=""}=t,{translationurl:p=""}=t,{activemenuitem:m=""}=t,{mbsource:b}=t,y=!1,M=!1,x=!0,w,S,L=[],j,se=window.navigator.userAgent,Dr=st(se)!=="PC",ft="",pt="";window.matchMedia("(min-width: 768px)");const Gr=()=>{fetch(p).then(B=>B.json()).then(B=>{Object.keys(B).forEach(D=>{Vt(D,B[D])})}).catch(B=>{console.error(B)})};Object.keys(Wt).forEach(d=>{Vt(d,Wt[d])});const mt=d=>{if(d.data)switch(d.data.type){case"UserSessionID":r(0,a=d.data.session);break}},jr=()=>{let d=st(se);if(d)return d==="PC"?"dk":"mtWeb"},kr=()=>{const d=new URL(`${o}/${u}/profile-menu?env=${s}`);d.searchParams.append("device",jr()),fetch(d.href).then(B=>B.json()).then(B=>{r(7,L=B),bt()}).catch(B=>{console.error("Error getting menu items",B)}).finally(()=>{r(22,y=!0)})},Vr=()=>{let d=new URL(`${i}/v1/player/${l}/profile`);d.searchParams.append("userRoles",c);let B={method:"GET",headers:{"X-SessionID":a}};fetch(d.href,B).then(D=>D.json()).then(D=>{r(9,ft=D.username),r(10,pt=D.email)},D=>{console.error(D)}).finally(()=>{r(23,M=!0)})},dt=d=>{window.postMessage({type:"ChangeAccountPage",page:d},window.location.href),r(8,j=d.id)},bt=()=>{var d;r(8,j=(d=L.find(B=>B.path.includes(m)))==null?void 0:d.id)},Wr=()=>{xo(u)},Xr=()=>{Vr()},zr=()=>{window.postMessage({type:"GoToHomepage"},window.location.href)};tr(()=>(window.addEventListener("message",mt,!1),()=>{window.removeEventListener("message",mt)}));const Zr=d=>dt(d);function qr(d){Ae[d?"unshift":"push"](()=>{w=d,r(5,w)})}return e.$$set=d=>{"endpoint"in d&&r(1,i=d.endpoint),"cmsendpoint"in d&&r(15,o=d.cmsendpoint),"env"in d&&r(16,s=d.env),"session"in d&&r(0,a=d.session),"playerid"in d&&r(17,l=d.playerid),"lang"in d&&r(18,u=d.lang),"userroles"in d&&r(19,c=d.userroles),"clientstyling"in d&&r(2,h=d.clientstyling),"clientstylingurl"in d&&r(3,f=d.clientstylingurl),"translationurl"in d&&r(20,p=d.translationurl),"activemenuitem"in d&&r(21,m=d.activemenuitem),"mbsource"in d&&r(4,b=d.mbsource)},e.$$.update=()=>{e.$$.dirty[0]&12582912&&r(6,x=!y||!M),e.$$.dirty[0]&262144&&u&&Wr(),e.$$.dirty[0]&393219&&i&&a&&l&&u&&Xr(),e.$$.dirty[0]&360448&&o&&u&&s&&kr(),e.$$.dirty[0]&2097152&&m&&bt(),e.$$.dirty[0]&36&&h&&w&&Rr(w,h),e.$$.dirty[0]&40&&f&&w&&$r(w,f),e.$$.dirty[0]&48&&b&&w&&Ur(w,`${b}.Style`,S),e.$$.dirty[0]&1048576&&p&&Gr()},[a,i,h,f,b,w,x,L,j,ft,pt,n,Dr,dt,zr,o,s,l,u,c,p,m,y,M,Zr,qr]}class Fr extends or{constructor(t){super(),rr(this,t,Co,Oo,ut,{endpoint:1,cmsendpoint:15,env:16,session:0,playerid:17,lang:18,userroles:19,clientstyling:2,clientstylingurl:3,translationurl:20,activemenuitem:21,mbsource:4},wo,[-1,-1])}get endpoint(){return this.$$.ctx[1]}set endpoint(t){this.$$set({endpoint:t}),I()}get cmsendpoint(){return this.$$.ctx[15]}set cmsendpoint(t){this.$$set({cmsendpoint:t}),I()}get env(){return this.$$.ctx[16]}set env(t){this.$$set({env:t}),I()}get session(){return this.$$.ctx[0]}set session(t){this.$$set({session:t}),I()}get playerid(){return this.$$.ctx[17]}set playerid(t){this.$$set({playerid:t}),I()}get lang(){return this.$$.ctx[18]}set lang(t){this.$$set({lang:t}),I()}get userroles(){return this.$$.ctx[19]}set userroles(t){this.$$set({userroles:t}),I()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(t){this.$$set({clientstyling:t}),I()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),I()}get translationurl(){return this.$$.ctx[20]}set translationurl(t){this.$$set({translationurl:t}),I()}get activemenuitem(){return this.$$.ctx[21]}set activemenuitem(t){this.$$set({activemenuitem:t}),I()}get mbsource(){return this.$$.ctx[4]}set mbsource(t){this.$$set({mbsource:t}),I()}}ir(Fr,{endpoint:{},cmsendpoint:{},env:{},session:{},playerid:{},lang:{},userroles:{},clientstyling:{},clientstylingurl:{},translationurl:{},activemenuitem:{},mbsource:{}},[],[],!0);const Lo=Object.freeze(Object.defineProperty({__proto__:null,default:Fr},Symbol.toStringTag,{value:"Module"}));exports.$format=Nr;exports.$locale=z;exports.PlayerAccountMenu_ce=Lo;exports.SvelteComponent=or;exports.addMessages=ct;exports.append=g;exports.append_styles=Kt;exports.attr=v;exports.binding_callbacks=Ae;exports.component_subscribe=Yt;exports.create_custom_element=ir;exports.detach=R;exports.element=P;exports.flush=I;exports.getDevice=st;exports.init=rr;exports.insert=U;exports.listen=Ee;exports.noop=N;exports.onMount=tr;exports.safe_not_equal=ut;exports.setClientStyling=Rr;exports.setClientStylingURL=$r;exports.setStreamStyling=Ur;exports.set_data=le;exports.set_style=sn;exports.space=C;exports.svg_element=V;exports.text=W;
@@ -1,4 +1,4 @@
1
- import "../stencil/ui-skeleton-W50o8tfg.js";
1
+ import "../stencil/ui-skeleton-COR_76lv.js";
2
2
  function N() {
3
3
  }
4
4
  function kt(e) {
@@ -46,8 +46,7 @@ function Nr(e, t, r) {
46
46
  }
47
47
  }
48
48
  function Rr(e) {
49
- if (!e)
50
- return document;
49
+ if (!e) return document;
51
50
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
52
51
  return t && /** @type {ShadowRoot} */
53
52
  t.host ? (
@@ -118,8 +117,7 @@ function ae(e) {
118
117
  ue = e;
119
118
  }
120
119
  function Dr() {
121
- if (!ue)
122
- throw new Error("Function called outside component initialization");
120
+ if (!ue) throw new Error("Function called outside component initialization");
123
121
  return ue;
124
122
  }
125
123
  function Gr(e) {
@@ -150,8 +148,7 @@ function C() {
150
148
  } catch (t) {
151
149
  throw z.length = 0, W = 0, t;
152
150
  }
153
- for (ae(null), z.length = 0, W = 0; De.length; )
154
- De.pop()();
151
+ for (ae(null), z.length = 0, W = 0; De.length; ) De.pop()();
155
152
  for (let t = 0; t < Q.length; t += 1) {
156
153
  const r = Q[t];
157
154
  Ie.has(r) || (Ie.add(r), r());
@@ -473,8 +470,7 @@ var je = function(e, t) {
473
470
  return je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
474
471
  r.__proto__ = n;
475
472
  } || function(r, n) {
476
- for (var i in n)
477
- Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
473
+ for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
478
474
  }, je(e, t);
479
475
  };
480
476
  function he(e, t) {
@@ -488,40 +484,34 @@ function he(e, t) {
488
484
  }
489
485
  function Ve(e) {
490
486
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
491
- if (r)
492
- return r.call(e);
493
- if (e && typeof e.length == "number")
494
- return {
495
- next: function() {
496
- return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
497
- }
498
- };
487
+ if (r) return r.call(e);
488
+ if (e && typeof e.length == "number") return {
489
+ next: function() {
490
+ return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
491
+ }
492
+ };
499
493
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
500
494
  }
501
495
  function We(e, t) {
502
496
  var r = typeof Symbol == "function" && e[Symbol.iterator];
503
- if (!r)
504
- return e;
497
+ if (!r) return e;
505
498
  var n = r.call(e), i, o = [], s;
506
499
  try {
507
- for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
508
- o.push(i.value);
500
+ for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; ) o.push(i.value);
509
501
  } catch (a) {
510
502
  s = { error: a };
511
503
  } finally {
512
504
  try {
513
505
  i && !i.done && (r = n.return) && r.call(n);
514
506
  } finally {
515
- if (s)
516
- throw s.error;
507
+ if (s) throw s.error;
517
508
  }
518
509
  }
519
510
  return o;
520
511
  }
521
512
  function Xe(e, t, r) {
522
- if (arguments.length === 2)
523
- for (var n = 0, i = t.length, o; n < i; n++)
524
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
513
+ if (arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
514
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
525
515
  return e.concat(o || t);
526
516
  }
527
517
  function D(e) {
@@ -570,8 +560,7 @@ var Pe = function() {
570
560
  try {
571
561
  l && !l.done && (r = a.return) && r.call(a);
572
562
  } finally {
573
- if (t)
574
- throw t.error;
563
+ if (t) throw t.error;
575
564
  }
576
565
  }
577
566
  else
@@ -601,8 +590,7 @@ var Pe = function() {
601
590
  try {
602
591
  p && !p.done && (i = f.return) && i.call(f);
603
592
  } finally {
604
- if (n)
605
- throw n.error;
593
+ if (n) throw n.error;
606
594
  }
607
595
  }
608
596
  }
@@ -869,8 +857,7 @@ var pn = zt(function(e) {
869
857
  try {
870
858
  a && !a.done && (o = s.return) && o.call(s);
871
859
  } finally {
872
- if (i)
873
- throw i.error;
860
+ if (i) throw i.error;
874
861
  }
875
862
  }
876
863
  }
@@ -1115,8 +1102,7 @@ var Qe = function(e, t) {
1115
1102
  return Qe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1116
1103
  r.__proto__ = n;
1117
1104
  } || function(r, n) {
1118
- for (var i in n)
1119
- Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1105
+ for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1120
1106
  }, Qe(e, t);
1121
1107
  };
1122
1108
  function Te(e, t) {
@@ -1132,25 +1118,22 @@ var F = function() {
1132
1118
  return F = Object.assign || function(t) {
1133
1119
  for (var r, n = 1, i = arguments.length; n < i; n++) {
1134
1120
  r = arguments[n];
1135
- for (var o in r)
1136
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1121
+ for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1137
1122
  }
1138
1123
  return t;
1139
1124
  }, F.apply(this, arguments);
1140
1125
  };
1141
1126
  function Cn(e, t) {
1142
1127
  var r = {};
1143
- for (var n in e)
1144
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1128
+ for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1145
1129
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
1146
1130
  for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1147
1131
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1148
1132
  return r;
1149
1133
  }
1150
1134
  function Ce(e, t, r) {
1151
- if (r || arguments.length === 2)
1152
- for (var n = 0, i = t.length, o; n < i; n++)
1153
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1135
+ if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
1136
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1154
1137
  return e.concat(o || Array.prototype.slice.call(t));
1155
1138
  }
1156
1139
  function Le(e, t) {
@@ -1205,8 +1188,7 @@ var Fn = function() {
1205
1188
  return Ee = Object.assign || function(t) {
1206
1189
  for (var r, n = 1, i = arguments.length; n < i; n++) {
1207
1190
  r = arguments[n];
1208
- for (var o in r)
1209
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1191
+ for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1210
1192
  }
1211
1193
  return t;
1212
1194
  }, Ee.apply(this, arguments);
@@ -1352,8 +1334,7 @@ var H = function() {
1352
1334
  return H = Object.assign || function(t) {
1353
1335
  for (var r, n = 1, i = arguments.length; n < i; n++) {
1354
1336
  r = arguments[n];
1355
- for (var o in r)
1356
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1337
+ for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1357
1338
  }
1358
1339
  return t;
1359
1340
  }, H.apply(this, arguments);
@@ -2995,8 +2976,7 @@ function Jn(e, t) {
2995
2976
  r += l;
2996
2977
  for (; s-- > 0; )
2997
2978
  r = u + r;
2998
- } else
2999
- i === "J" ? r += "H" : r += i;
2979
+ } else i === "J" ? r += "H" : r += i;
3000
2980
  }
3001
2981
  return r;
3002
2982
  }
@@ -3599,8 +3579,7 @@ function tt(e) {
3599
3579
  if (delete t.location, or(t) || sr(t))
3600
3580
  for (var r in t.options)
3601
3581
  delete t.options[r].location, tt(t.options[r].value);
3602
- else
3603
- rr(t) && ur(t.style) || (nr(t) || ir(t)) && qe(t.style) ? delete t.style.location : ar(t) && tt(t.children);
3582
+ else rr(t) && ur(t.style) || (nr(t) || ir(t)) && qe(t.style) ? delete t.style.location : ar(t) && tt(t.children);
3604
3583
  });
3605
3584
  }
3606
3585
  function bi(e, t) {
@@ -4285,8 +4264,7 @@ function oo(e, t) {
4285
4264
  }
4286
4265
  }
4287
4266
  function so(e, t) {
4288
- if (!e || !t)
4289
- return;
4267
+ if (!e || !t) return;
4290
4268
  const r = new URL(t);
4291
4269
  fetch(r.href).then((n) => n.text()).then((n) => {
4292
4270
  const i = document.createElement("style");
@@ -4296,8 +4274,7 @@ function so(e, t) {
4296
4274
  });
4297
4275
  }
4298
4276
  function ao(e, t, r, n = !1) {
4299
- if (!window.emMessageBus)
4300
- return;
4277
+ if (!window.emMessageBus) return;
4301
4278
  if (!("adoptedStyleSheets" in Document.prototype) || !n)
4302
4279
  return r = uo(e, t), r;
4303
4280
  window[Z] || (window[Z] = {}), r = lo(e, t);
@@ -4318,8 +4295,7 @@ function uo(e, t) {
4318
4295
  }
4319
4296
  function lo(e, t) {
4320
4297
  return window.emMessageBus.subscribe(t, (r) => {
4321
- if (!e)
4322
- return;
4298
+ if (!e) return;
4323
4299
  const n = e.getRootNode(), i = window[Z];
4324
4300
  let o = i[t] && i[t].sheet;
4325
4301
  o ? i[t].refCount = i[t].refCount + 1 : (o = new CSSStyleSheet(), o.replaceSync(r), i[t] = {
@@ -4342,7 +4318,7 @@ if (typeof window < "u") {
4342
4318
  }
4343
4319
  };
4344
4320
  };
4345
- customElements.define = e(customElements.define), import("./GeneralLogout-trLrjzgC.js").then(({ default: t }) => {
4321
+ customElements.define = e(customElements.define), import("./GeneralLogout-B6idm4MX.js").then(({ default: t }) => {
4346
4322
  !customElements.get("general-logout") && customElements.define("general-logout", t.element);
4347
4323
  });
4348
4324
  }
@@ -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/PlayerAccountMenu-Bq7wuvgi.cjs")).then(e=>e.PlayerAccountMenu_ce).then(({default:e})=>{!customElements.get("player-account-menu")&&customElements.define("player-account-menu",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/PlayerAccountMenu-CCGxtjCD.cjs")).then(e=>e.PlayerAccountMenu_ce).then(({default:e})=>{!customElements.get("player-account-menu")&&customElements.define("player-account-menu",e.element)})}
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
10
10
  }
11
11
  };
12
12
  };
13
- customElements.define = n(customElements.define), import("../components/PlayerAccountMenu-DvEcQcuU.js").then((e) => e.P).then(({ default: e }) => {
13
+ customElements.define = n(customElements.define), import("../components/PlayerAccountMenu-C8v7qiqn.js").then((e) => e.P).then(({ default: e }) => {
14
14
  !customElements.get("player-account-menu") && customElements.define("player-account-menu", e.element);
15
15
  });
16
16
  }
@@ -1,4 +1,4 @@
1
- import { P as s } from "../components/PlayerAccountMenu-CfqhmKxY.js";
1
+ import { P as s } from "../components/PlayerAccountMenu-CZVftQoL.js";
2
2
  function a(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-menu",
3
- "version": "1.99.58",
3
+ "version": "1.99.60",
4
4
  "type": "module",
5
5
  "main": "es2015/player-account-menu.cjs",
6
6
  "module": "esnext/player-account-menu.js",
@@ -26,7 +26,7 @@ var $e = Object.defineProperty, ce = (e, t) => {
26
26
  case "ui-skeleton":
27
27
  return import(
28
28
  /* webpackMode: "lazy" */
29
- "./ui-skeleton-W50o8tfg.js"
29
+ "./ui-skeleton-COR_76lv.js"
30
30
  ).then(l, E);
31
31
  }
32
32
  }
@@ -151,8 +151,7 @@ var Se = (e) => {
151
151
  }
152
152
  t.$flags$ & 4 && (i.innerHTML += G), l && l.add(n);
153
153
  }
154
- } else
155
- e.adoptedStyleSheets.includes(a) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, a]);
154
+ } else e.adoptedStyleSheets.includes(a) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, a]);
156
155
  return n;
157
156
  }, Le = (e) => {
158
157
  const t = e.$cmpMeta$, r = e.$hostElement$, s = S("attachStyles", t.$tagName$);
@@ -42,7 +42,7 @@ var ce = Object.defineProperty, ue = (e, t) => {
42
42
  case "ui-skeleton":
43
43
  return import(
44
44
  /* webpackMode: "lazy" */
45
- "./ui-skeleton-xXZA3rYO.js"
45
+ "./ui-skeleton-BjsoPeRQ.js"
46
46
  ).then(l, E);
47
47
  }
48
48
  }
@@ -167,8 +167,7 @@ var be = (e) => {
167
167
  }
168
168
  t.$flags$ & 4 && (o.innerHTML += J), l && l.add(n);
169
169
  }
170
- } else
171
- e.adoptedStyleSheets.includes(a) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, a]);
170
+ } else e.adoptedStyleSheets.includes(a) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, a]);
172
171
  return n;
173
172
  }, Oe = (e) => {
174
173
  const t = e.$cmpMeta$, s = e.$hostElement$, r = S("attachStyles", t.$tagName$);
@@ -14,9 +14,9 @@ var n = (t, e, o) => new Promise((m, s) => {
14
14
  }, a = (r) => r.done ? m(r.value) : Promise.resolve(r.value).then(u, g);
15
15
  a((o = o.apply(t, e)).next());
16
16
  });
17
- import { b as p, p as l } from "./index-b2193545-DsMHU6jb.js";
17
+ import { b as p, p as l } from "./index-b2193545-OkT1QrQq.js";
18
18
  import { g as h } from "./app-globals-0f993ce5-D-kw1sls.js";
19
- import { U as k } from "./ui-skeleton-ed169f8f-D3TjbVKy.js";
19
+ import { U as k } from "./ui-skeleton-ed169f8f-BJHdC-wv.js";
20
20
  var c = () => {
21
21
  const t = import.meta.url, e = {};
22
22
  return t !== "" && (e.resourcesUrl = new URL(".", t).href), l(e);
@@ -1,6 +1,6 @@
1
- import { b as e, p as o } from "./index-b2193545-R7ZoV-kY.js";
1
+ import { b as e, p as o } from "./index-b2193545-D9zpmD3Q.js";
2
2
  import { g as a } from "./app-globals-0f993ce5-D-kw1sls.js";
3
- import { U as g } from "./ui-skeleton-ed169f8f-CVY4B-CP.js";
3
+ import { U as g } from "./ui-skeleton-ed169f8f-Df2MlRR-.js";
4
4
  var i = () => {
5
5
  const r = import.meta.url, t = {};
6
6
  return r !== "" && (t.resourcesUrl = new URL(".", r).href), o(t);
@@ -1,4 +1,4 @@
1
- import { r as n, h as t, H as r } from "./index-b2193545-R7ZoV-kY.js";
1
+ import { r as n, h as t, H as r } from "./index-b2193545-OkT1QrQq.js";
2
2
  const s = ":host{display:block}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.SkeletonRectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 10px)}.SkeletonCircle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.SkeletonText{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 10px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.SkeletonText:last-child{width:calc(var(--emw-skeleton-text-width, 400px) - 100px)}.SkeletonTitle{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 10px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.SkeletonImage{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, unset)}.SkeletonLogo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 10px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, #e0e0e0)}100%{background-color:var(--emw-skeleton-secondary-color, #f0f0f0)}}", l = s, a = class {
3
3
  constructor(e) {
4
4
  n(this, e), this.stylingValue = {
@@ -1,4 +1,4 @@
1
- import { r as n, h as t, H as r } from "./index-b2193545-DsMHU6jb.js";
1
+ import { r as n, h as t, H as r } from "./index-b2193545-D9zpmD3Q.js";
2
2
  const s = ":host{display:block}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.SkeletonRectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 10px)}.SkeletonCircle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.SkeletonText{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 10px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.SkeletonText:last-child{width:calc(var(--emw-skeleton-text-width, 400px) - 100px)}.SkeletonTitle{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 10px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.SkeletonImage{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, unset)}.SkeletonLogo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 10px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, #e0e0e0)}100%{background-color:var(--emw-skeleton-secondary-color, #f0f0f0)}}", l = s, a = class {
3
3
  constructor(e) {
4
4
  n(this, e), this.stylingValue = {