@everymatrix/player-account-controller 1.54.0 → 1.54.2

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.
Files changed (96) hide show
  1. package/components/{GeneralLogout-CsWa2j6i.js → GeneralLogout-Ddt-oH9k.js} +1094 -1131
  2. package/components/{PlayerAccountBettingHistory-D_8K8e-E.js → PlayerAccountBettingHistory-C7xwYi03.js} +34 -35
  3. package/components/{PlayerAccountBiometrics-FWYyFKmB.js → PlayerAccountBiometrics-D7WS5cnI.js} +1 -1
  4. package/components/{PlayerAccountClosure-BJP8eejl.js → PlayerAccountClosure-yRlo8hXR.js} +1 -1
  5. package/components/{PlayerAccountController-DQGj69Re.js → PlayerAccountController-BZYAo3oo.js} +336 -353
  6. package/components/{PlayerAccountGamingLimits-Dt8hOZzW.js → PlayerAccountGamingLimits-CTBhVGgC.js} +3 -3
  7. package/components/{PlayerAccountGamingLimitsConfirmationModal-B6SPYMpk.js → PlayerAccountGamingLimitsConfirmationModal-CuQvNzww.js} +1 -1
  8. package/components/{PlayerAccountGamingLimitsGroupEdit-BG2VPqUz.js → PlayerAccountGamingLimitsGroupEdit-Du2YQlDU.js} +16 -16
  9. package/components/{PlayerAccountGamingLimitsHistory2-65MLJ2rD.js → PlayerAccountGamingLimitsHistory2-CXKA0L0d.js} +121 -132
  10. package/components/{PlayerAccountGamingLimitsInfoCard-CqTAvCh7.js → PlayerAccountGamingLimitsInfoCard-CWTybgoQ.js} +4 -4
  11. package/components/{PlayerAccountGamingLimitsPage2Gm16-C3dTjA-p.js → PlayerAccountGamingLimitsPage2Gm16-CXjNcIFP.js} +737 -768
  12. package/components/{PlayerAccountGamingLimitsPopup-diUVGesC.js → PlayerAccountGamingLimitsPopup-CJu5RRl6.js} +1 -1
  13. package/components/{PlayerAccountGamingLimitsWrapper2-BmDihzLr.js → PlayerAccountGamingLimitsWrapper2-BdpxEDlV.js} +75 -81
  14. package/components/{PlayerAccountGeneralConfirmationModal-D3tbAl7Q.js → PlayerAccountGeneralConfirmationModal-DG0N686t.js} +1 -1
  15. package/components/{PlayerAccountMenu-CbXhpL1a.js → PlayerAccountMenu-CZBa8_5G.js} +66 -67
  16. package/components/{PlayerAccountModal-5TJbkUF8.js → PlayerAccountModal-BmKjtXKT.js} +1 -1
  17. package/components/{PlayerAccountNotifications-BVY-SXyT.js → PlayerAccountNotifications-B4Ht-hHj.js} +1 -1
  18. package/components/{PlayerAccountSelfExclusion-BGfuEA4r.js → PlayerAccountSelfExclusion-DxGHXTb8.js} +1488 -1572
  19. package/components/{PlayerAccountTimeout-BDDMm0XX.js → PlayerAccountTimeout-DOSjICsY.js} +4 -4
  20. package/components/{PlayerActiveBonuses-D0RUTvjl.js → PlayerActiveBonuses-DMAG7NUP.js} +119 -120
  21. package/components/{PlayerBonusCard-CU67pLmG.js → PlayerBonusCard-Dss1REmn.js} +2 -2
  22. package/components/{PlayerBonusHistory-BLedlLHg.js → PlayerBonusHistory-BxBiQwQf.js} +53 -53
  23. package/components/{PlayerChangePassword-8ZD6eOj-.js → PlayerChangePassword-DnCj-wcc.js} +1 -1
  24. package/components/{PlayerDeposit-D5Xuk21T.js → PlayerDeposit-CHIQ8EaC.js} +1 -1
  25. package/components/{PlayerGamingHistory-tb-rMGdz.js → PlayerGamingHistory-BtQ73TId.js} +375 -388
  26. package/components/{PlayerPendingWithdrawals-DuN3Qn3P.js → PlayerPendingWithdrawals-BbTa7_8U.js} +1 -1
  27. package/components/{PlayerProfileInfo-DmKFg0dn.js → PlayerProfileInfo-CvAqD3Dk.js} +532 -549
  28. package/components/{PlayerRealityCheck-BUW8tvj3.js → PlayerRealityCheck-3d-B64ie.js} +175 -191
  29. package/components/{PlayerTransactionHistory-hGi2tOL2.js → PlayerTransactionHistory-BYJNabMB.js} +1 -1
  30. package/components/{PlayerWithdrawal-CR3Xpytk.js → PlayerWithdrawal-DDWroufG.js} +1 -1
  31. package/esnext/player-account-controller.js +14 -0
  32. package/package.json +11 -31
  33. package/stencil/{active-mixin-59dfae2a-CJN1Jc-g.js → active-mixin-59dfae2a-BphP4pp5.js} +745 -776
  34. package/stencil/{checkbox-group-input_9-DQoOMgN8.js → checkbox-group-input_9-CMFoK7_E.js} +1873 -1942
  35. package/stencil/{general-input-bzWxIJkt.js → general-input-DnFPstQP.js} +1 -1
  36. package/stencil/{index-062e829b-DPj_pEuI.js → index-062e829b-DAFsZs6D.js} +220 -236
  37. package/stencil/{index-33f005e1-DGGQe5wK.js → index-33f005e1-fFxPaeNy.js} +223 -239
  38. package/stencil/{index-9b3245b3-3zj7bxxu.js → index-9b3245b3-rzHgwqlB.js} +166 -193
  39. package/stencil/{index-fc58390d-DeoeGpBS.js → index-fc58390d-BSwfXuUs.js} +267 -294
  40. package/stencil/{password-input_2-Dx1lICIg.js → password-input_2-Bb9Q6Fe0.js} +136 -154
  41. package/stencil/{player-change-password-gm2-98dcb7bc-F9HM0T8d.js → player-change-password-gm2-98dcb7bc-gLcZhl3S.js} +1 -1
  42. package/stencil/player-change-password-gm2-DR3e2gh5.js +7 -0
  43. package/stencil/{player-kyc-verification-o-RUWyY4.js → player-kyc-verification-BQZdJFEJ.js} +61 -83
  44. package/stencil/{toggle-checkbox-input-BCrxxTpc.js → toggle-checkbox-input-CCLW6-uK.js} +1 -1
  45. package/stencil/{user-deposit-withdrawal-DEMVRyvk.js → user-deposit-withdrawal-CmF0LoNb.js} +175 -197
  46. package/stencil/{user-transaction-history-CevHOCcm.js → user-transaction-history-BgV-k2Cl.js} +81 -107
  47. package/components/GeneralLogout-DfI2_eQe.cjs +0 -8
  48. package/components/PlayerAccountBettingHistory-ldAp8-yN.cjs +0 -1
  49. package/components/PlayerAccountBiometrics-Cft2jzuJ.cjs +0 -1
  50. package/components/PlayerAccountClosure-DvHhtHhl.cjs +0 -1
  51. package/components/PlayerAccountController-DDLO4xVW.cjs +0 -1
  52. package/components/PlayerAccountGamingLimits-EQC_UZag.cjs +0 -1
  53. package/components/PlayerAccountGamingLimitsConfirmationModal-Ciz1fSFW.cjs +0 -1
  54. package/components/PlayerAccountGamingLimitsGroupEdit-CLjUmEQv.cjs +0 -10
  55. package/components/PlayerAccountGamingLimitsHistory2-CG4RnfZE.cjs +0 -1
  56. package/components/PlayerAccountGamingLimitsInfoCard-Au2vobro.cjs +0 -1
  57. package/components/PlayerAccountGamingLimitsPage2Gm16-CMnCgRU1.cjs +0 -21
  58. package/components/PlayerAccountGamingLimitsPopup-BtbGIQFb.cjs +0 -1
  59. package/components/PlayerAccountGamingLimitsWrapper2-CW3N7E83.cjs +0 -1
  60. package/components/PlayerAccountGeneralConfirmationModal-xMxALug3.cjs +0 -1
  61. package/components/PlayerAccountMenu-DHGBVm64.cjs +0 -1
  62. package/components/PlayerAccountModal-BitbPM3Z.cjs +0 -1
  63. package/components/PlayerAccountNotifications-DDu6ZWkh.cjs +0 -1
  64. package/components/PlayerAccountSelfExclusion-9vzbBY28.cjs +0 -3828
  65. package/components/PlayerAccountTimeout-f4vPyQE-.cjs +0 -1
  66. package/components/PlayerActiveBonuses-BVQwAh2z.cjs +0 -1
  67. package/components/PlayerBonusCard-UTTIEBwb.cjs +0 -1
  68. package/components/PlayerBonusHistory-EXOvKzDr.cjs +0 -1
  69. package/components/PlayerChangePassword-XpKJjnFu.cjs +0 -3
  70. package/components/PlayerDeposit-Do7vb_4b.cjs +0 -1
  71. package/components/PlayerGamingHistory-OEU1L3Q2.cjs +0 -1
  72. package/components/PlayerPendingWithdrawals-Bu2MOezw.cjs +0 -1
  73. package/components/PlayerProfileInfo-lMeb2jBi.cjs +0 -1
  74. package/components/PlayerRealityCheck-CA0P_3BC.cjs +0 -1
  75. package/components/PlayerTransactionHistory-CvZcvyBx.cjs +0 -1
  76. package/components/PlayerWithdrawal-DxLwjX7x.cjs +0 -1
  77. package/es2015/player-account-controller.cjs +0 -1
  78. package/es2015/player-account-controller.js +0 -16
  79. package/stencil/active-mixin-59dfae2a-1hMz67mM.cjs +0 -1519
  80. package/stencil/app-globals-0f993ce5-8artnnwr.cjs +0 -1
  81. package/stencil/checkbox-group-input_9-DiXERGqn.cjs +0 -4193
  82. package/stencil/general-input-fzGwoSoE.cjs +0 -1
  83. package/stencil/index-062e829b-CpXLBOEz.cjs +0 -1
  84. package/stencil/index-33f005e1-BS5PFnj3.cjs +0 -1
  85. package/stencil/index-9b3245b3-ByXtSZIM.cjs +0 -1
  86. package/stencil/index-fc58390d-DgBOSsU7.cjs +0 -1
  87. package/stencil/locale-B5abSHU_.cjs +0 -1
  88. package/stencil/password-input_2-DvDzz75b.cjs +0 -1248
  89. package/stencil/player-change-password-gm2-98dcb7bc-CCEw2GA2.cjs +0 -1
  90. package/stencil/player-change-password-gm2-BEYcuzS-.cjs +0 -1
  91. package/stencil/player-change-password-gm2-NWnv4CCw.js +0 -25
  92. package/stencil/player-kyc-verification-_iT3bbO9.cjs +0 -180
  93. package/stencil/toggle-checkbox-input-BYoIi-jG.cjs +0 -1
  94. package/stencil/tooltipIcon-ee9760a8-Bd9l1O5C.cjs +0 -1
  95. package/stencil/user-deposit-withdrawal-_jt0Ivg5.cjs +0 -59
  96. package/stencil/user-transaction-history-U0c__t1q.cjs +0 -1
@@ -1,65 +1,36 @@
1
- var Pn = Object.defineProperty, On = Object.defineProperties;
2
- var In = Object.getOwnPropertyDescriptors;
3
- var ut = Object.getOwnPropertySymbols;
4
- var Ln = Object.prototype.hasOwnProperty, Nn = Object.prototype.propertyIsEnumerable;
5
- var Ne = (e, t, n) => t in e ? Pn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, lt = (e, t) => {
6
- for (var n in t || (t = {}))
7
- Ln.call(t, n) && Ne(e, n, t[n]);
8
- if (ut)
9
- for (var n of ut(t))
10
- Nn.call(t, n) && Ne(e, n, t[n]);
11
- return e;
12
- }, ht = (e, t) => On(e, In(t));
13
- var O = (e, t, n) => Ne(e, typeof t != "symbol" ? t + "" : t, n);
14
- var ft = (e, t, n) => new Promise((r, i) => {
15
- var o = (u) => {
16
- try {
17
- a(n.next(u));
18
- } catch (l) {
19
- i(l);
20
- }
21
- }, s = (u) => {
22
- try {
23
- a(n.throw(u));
24
- } catch (l) {
25
- i(l);
26
- }
27
- }, a = (u) => u.done ? r(u.value) : Promise.resolve(u.value).then(o, s);
28
- a((n = n.apply(e, t)).next());
29
- });
30
1
  function B() {
31
2
  }
32
- const Cn = (e) => e;
33
- function Mn(e, t) {
3
+ const Sn = (e) => e;
4
+ function Tn(e, t) {
34
5
  for (const n in t) e[n] = t[n];
35
6
  return (
36
7
  /** @type {T & S} */
37
8
  e
38
9
  );
39
10
  }
40
- function Rt(e) {
11
+ function It(e) {
41
12
  return e();
42
13
  }
43
- function ct() {
14
+ function st() {
44
15
  return /* @__PURE__ */ Object.create(null);
45
16
  }
46
- function F(e) {
47
- e.forEach(Rt);
17
+ function G(e) {
18
+ e.forEach(It);
48
19
  }
49
- function he(e) {
20
+ function le(e) {
50
21
  return typeof e == "function";
51
22
  }
52
- function Ut(e, t) {
23
+ function Lt(e, t) {
53
24
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
54
25
  }
55
- let me;
56
- function Eo(e, t) {
57
- return e === t ? !0 : (me || (me = document.createElement("a")), me.href = t, e === me.href);
26
+ let pe;
27
+ function lo(e, t) {
28
+ return e === t ? !0 : (pe || (pe = document.createElement("a")), pe.href = t, e === pe.href);
58
29
  }
59
- function $n(e) {
30
+ function wn(e) {
60
31
  return Object.keys(e).length === 0;
61
32
  }
62
- function Dt(e, ...t) {
33
+ function Nt(e, ...t) {
63
34
  if (e == null) {
64
35
  for (const r of t)
65
36
  r(void 0);
@@ -68,40 +39,40 @@ function Dt(e, ...t) {
68
39
  const n = e.subscribe(...t);
69
40
  return n.unsubscribe ? () => n.unsubscribe() : n;
70
41
  }
71
- function Rn(e, t, n) {
72
- e.$$.on_destroy.push(Dt(t, n));
42
+ function Hn(e, t, n) {
43
+ e.$$.on_destroy.push(Nt(t, n));
73
44
  }
74
- function So(e, t, n, r) {
45
+ function ho(e, t, n, r) {
75
46
  if (e) {
76
- const i = Gt(e, t, n, r);
47
+ const i = Ct(e, t, n, r);
77
48
  return e[0](i);
78
49
  }
79
50
  }
80
- function Gt(e, t, n, r) {
81
- return e[1] && r ? Mn(n.ctx.slice(), e[1](r(t))) : n.ctx;
51
+ function Ct(e, t, n, r) {
52
+ return e[1] && r ? Tn(n.ctx.slice(), e[1](r(t))) : n.ctx;
82
53
  }
83
- function To(e, t, n, r) {
54
+ function fo(e, t, n, r) {
84
55
  if (e[2] && r) {
85
56
  const i = e[2](r(n));
86
57
  if (t.dirty === void 0)
87
58
  return i;
88
59
  if (typeof i == "object") {
89
- const o = [], s = Math.max(t.dirty.length, i.length);
90
- for (let a = 0; a < s; a += 1)
91
- o[a] = t.dirty[a] | i[a];
60
+ const o = [], a = Math.max(t.dirty.length, i.length);
61
+ for (let s = 0; s < a; s += 1)
62
+ o[s] = t.dirty[s] | i[s];
92
63
  return o;
93
64
  }
94
65
  return t.dirty | i;
95
66
  }
96
67
  return t.dirty;
97
68
  }
98
- function wo(e, t, n, r, i, o) {
69
+ function co(e, t, n, r, i, o) {
99
70
  if (i) {
100
- const s = Gt(t, n, r, o);
101
- e.p(s, i);
71
+ const a = Ct(t, n, r, o);
72
+ e.p(a, i);
102
73
  }
103
74
  }
104
- function Ho(e) {
75
+ function po(e) {
105
76
  if (e.ctx.length > 32) {
106
77
  const t = [], n = e.ctx.length / 32;
107
78
  for (let r = 0; r < n; r++)
@@ -110,46 +81,46 @@ function Ho(e) {
110
81
  }
111
82
  return -1;
112
83
  }
113
- function Bo(e) {
114
- return e == null ? "" : e;
84
+ function mo(e) {
85
+ return e ?? "";
115
86
  }
116
- function Ao(e) {
117
- return e && he(e.destroy) ? e.destroy : B;
87
+ function bo(e) {
88
+ return e && le(e.destroy) ? e.destroy : B;
118
89
  }
119
- const Ft = typeof window != "undefined";
120
- let Un = Ft ? () => window.performance.now() : () => Date.now(), rt = Ft ? (e) => requestAnimationFrame(e) : B;
121
- const z = /* @__PURE__ */ new Set();
122
- function jt(e) {
123
- z.forEach((t) => {
124
- t.c(e) || (z.delete(t), t.f());
125
- }), z.size !== 0 && rt(jt);
90
+ const Mt = typeof window < "u";
91
+ let Bn = Mt ? () => window.performance.now() : () => Date.now(), tt = Mt ? (e) => requestAnimationFrame(e) : B;
92
+ const W = /* @__PURE__ */ new Set();
93
+ function $t(e) {
94
+ W.forEach((t) => {
95
+ t.c(e) || (W.delete(t), t.f());
96
+ }), W.size !== 0 && tt($t);
126
97
  }
127
- function Dn(e) {
98
+ function An(e) {
128
99
  let t;
129
- return z.size === 0 && rt(jt), {
100
+ return W.size === 0 && tt($t), {
130
101
  promise: new Promise((n) => {
131
- z.add(t = { c: e, f: n });
102
+ W.add(t = { c: e, f: n });
132
103
  }),
133
104
  abort() {
134
- z.delete(t);
105
+ W.delete(t);
135
106
  }
136
107
  };
137
108
  }
138
- const Po = typeof window != "undefined" ? window : typeof globalThis != "undefined" ? globalThis : (
109
+ const go = typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : (
139
110
  // @ts-ignore Node typings have this
140
111
  global
141
112
  );
142
113
  function P(e, t) {
143
114
  e.appendChild(t);
144
115
  }
145
- function Gn(e, t, n) {
146
- const r = it(e);
116
+ function Pn(e, t, n) {
117
+ const r = nt(e);
147
118
  if (!r.getElementById(t)) {
148
- const i = N("style");
149
- i.id = t, i.textContent = n, kt(r, i);
119
+ const i = L("style");
120
+ i.id = t, i.textContent = n, Rt(r, i);
150
121
  }
151
122
  }
152
- function it(e) {
123
+ function nt(e) {
153
124
  if (!e) return document;
154
125
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
155
126
  return t && /** @type {ShadowRoot} */
@@ -158,46 +129,46 @@ function it(e) {
158
129
  t
159
130
  ) : e.ownerDocument;
160
131
  }
161
- function Fn(e) {
162
- const t = N("style");
163
- return t.textContent = "/* empty */", kt(it(e), t), t.sheet;
132
+ function On(e) {
133
+ const t = L("style");
134
+ return t.textContent = "/* empty */", Rt(nt(e), t), t.sheet;
164
135
  }
165
- function kt(e, t) {
136
+ function Rt(e, t) {
166
137
  return P(
167
138
  /** @type {Document} */
168
139
  e.head || e,
169
140
  t
170
141
  ), t.sheet;
171
142
  }
172
- function fe(e, t, n) {
143
+ function he(e, t, n) {
173
144
  e.insertBefore(t, n || null);
174
145
  }
175
- function j(e) {
146
+ function F(e) {
176
147
  e.parentNode && e.parentNode.removeChild(e);
177
148
  }
178
- function Oo(e, t) {
149
+ function yo(e, t) {
179
150
  for (let n = 0; n < e.length; n += 1)
180
151
  e[n] && e[n].d(t);
181
152
  }
182
- function N(e) {
153
+ function L(e) {
183
154
  return document.createElement(e);
184
155
  }
185
- function re(e) {
156
+ function ne(e) {
186
157
  return document.createElementNS("http://www.w3.org/2000/svg", e);
187
158
  }
188
- function ce(e) {
159
+ function fe(e) {
189
160
  return document.createTextNode(e);
190
161
  }
191
- function jn() {
192
- return ce(" ");
162
+ function In() {
163
+ return fe(" ");
193
164
  }
194
- function Io() {
195
- return ce("");
165
+ function _o() {
166
+ return fe("");
196
167
  }
197
- function Vt(e, t, n, r) {
168
+ function Ut(e, t, n, r) {
198
169
  return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
199
170
  }
200
- function Lo(e) {
171
+ function vo(e) {
201
172
  return function(t) {
202
173
  return t.preventDefault(), e.call(this, t);
203
174
  };
@@ -205,11 +176,11 @@ function Lo(e) {
205
176
  function A(e, t, n) {
206
177
  n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
207
178
  }
208
- function No(e, t, n) {
179
+ function xo(e, t, n) {
209
180
  const r = t.toLowerCase();
210
181
  r in e ? e[r] = typeof e[r] == "boolean" && n === "" ? !0 : n : t in e ? e[t] = typeof e[t] == "boolean" && n === "" ? !0 : n : A(e, t, n);
211
182
  }
212
- function Co(e) {
183
+ function Eo(e) {
213
184
  let t;
214
185
  return {
215
186
  /* push */
@@ -222,23 +193,23 @@ function Co(e) {
222
193
  }
223
194
  };
224
195
  }
225
- function Mo(e) {
196
+ function So(e) {
226
197
  return e === "" ? null : +e;
227
198
  }
228
- function kn(e) {
199
+ function Ln(e) {
229
200
  return Array.from(e.childNodes);
230
201
  }
231
- function Xt(e, t) {
202
+ function Dt(e, t) {
232
203
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
233
204
  t);
234
205
  }
235
- function $o(e, t) {
236
- e.value = t == null ? "" : t;
206
+ function To(e, t) {
207
+ e.value = t ?? "";
237
208
  }
238
- function Vn(e, t, n, r) {
209
+ function Nn(e, t, n, r) {
239
210
  n == null ? e.style.removeProperty(t) : e.style.setProperty(t, n, "");
240
211
  }
241
- function Ro(e, t, n) {
212
+ function wo(e, t, n) {
242
213
  for (let r = 0; r < e.options.length; r += 1) {
243
214
  const i = e.options[r];
244
215
  if (i.__value === t) {
@@ -248,17 +219,17 @@ function Ro(e, t, n) {
248
219
  }
249
220
  (!n || t !== void 0) && (e.selectedIndex = -1);
250
221
  }
251
- function Uo(e) {
222
+ function Ho(e) {
252
223
  const t = e.querySelector(":checked");
253
224
  return t && t.__value;
254
225
  }
255
- function Do(e, t, n) {
226
+ function Bo(e, t, n) {
256
227
  e.classList.toggle(t, !!n);
257
228
  }
258
- function Xn(e, t, { bubbles: n = !1, cancelable: r = !1 } = {}) {
229
+ function Cn(e, t, { bubbles: n = !1, cancelable: r = !1 } = {}) {
259
230
  return new CustomEvent(e, { detail: t, bubbles: n, cancelable: r });
260
231
  }
261
- function Wn(e) {
232
+ function Mn(e) {
262
233
  const t = {};
263
234
  return e.childNodes.forEach(
264
235
  /** @param {Element} node */
@@ -267,154 +238,154 @@ function Wn(e) {
267
238
  }
268
239
  ), t;
269
240
  }
270
- const Se = /* @__PURE__ */ new Map();
271
- let Te = 0;
272
- function zn(e) {
241
+ const Ee = /* @__PURE__ */ new Map();
242
+ let Se = 0;
243
+ function $n(e) {
273
244
  let t = 5381, n = e.length;
274
245
  for (; n--; ) t = (t << 5) - t ^ e.charCodeAt(n);
275
246
  return t >>> 0;
276
247
  }
277
- function Zn(e, t) {
278
- const n = { stylesheet: Fn(t), rules: {} };
279
- return Se.set(e, n), n;
248
+ function Rn(e, t) {
249
+ const n = { stylesheet: On(t), rules: {} };
250
+ return Ee.set(e, n), n;
280
251
  }
281
- function dt(e, t, n, r, i, o, s, a = 0) {
252
+ function at(e, t, n, r, i, o, a, s = 0) {
282
253
  const u = 16.666 / r;
283
254
  let l = `{
284
255
  `;
285
256
  for (let x = 0; x <= 1; x += u) {
286
257
  const T = t + (n - t) * o(x);
287
- l += x * 100 + `%{${s(T, 1 - T)}}
258
+ l += x * 100 + `%{${a(T, 1 - T)}}
288
259
  `;
289
260
  }
290
- const h = l + `100% {${s(n, 1 - n)}}
291
- }`, f = `__svelte_${zn(h)}_${a}`, c = it(e), { stylesheet: d, rules: p } = Se.get(c) || Zn(c, e);
261
+ const h = l + `100% {${a(n, 1 - n)}}
262
+ }`, f = `__svelte_${$n(h)}_${s}`, c = nt(e), { stylesheet: d, rules: p } = Ee.get(c) || Rn(c, e);
292
263
  p[f] || (p[f] = !0, d.insertRule(`@keyframes ${f} ${h}`, d.cssRules.length));
293
264
  const m = e.style.animation || "";
294
- return e.style.animation = `${m ? `${m}, ` : ""}${f} ${r}ms linear ${i}ms 1 both`, Te += 1, f;
265
+ return e.style.animation = `${m ? `${m}, ` : ""}${f} ${r}ms linear ${i}ms 1 both`, Se += 1, f;
295
266
  }
296
- function qn(e, t) {
267
+ function Un(e, t) {
297
268
  const n = (e.style.animation || "").split(", "), r = n.filter(
298
269
  t ? (o) => o.indexOf(t) < 0 : (o) => o.indexOf("__svelte") === -1
299
270
  // remove all Svelte animations
300
271
  ), i = n.length - r.length;
301
- i && (e.style.animation = r.join(", "), Te -= i, Te || Qn());
272
+ i && (e.style.animation = r.join(", "), Se -= i, Se || Dn());
302
273
  }
303
- function Qn() {
304
- rt(() => {
305
- Te || (Se.forEach((e) => {
274
+ function Dn() {
275
+ tt(() => {
276
+ Se || (Ee.forEach((e) => {
306
277
  const { ownerNode: t } = e.stylesheet;
307
- t && j(t);
308
- }), Se.clear());
278
+ t && F(t);
279
+ }), Ee.clear());
309
280
  });
310
281
  }
311
- let ae;
312
- function se(e) {
313
- ae = e;
282
+ let se;
283
+ function oe(e) {
284
+ se = e;
314
285
  }
315
- function Jn() {
316
- if (!ae) throw new Error("Function called outside component initialization");
317
- return ae;
286
+ function Gn() {
287
+ if (!se) throw new Error("Function called outside component initialization");
288
+ return se;
318
289
  }
319
- function Go(e) {
320
- Jn().$$.on_mount.push(e);
290
+ function Ao(e) {
291
+ Gn().$$.on_mount.push(e);
321
292
  }
322
- const W = [], je = [];
323
- let Z = [];
324
- const pt = [], Wt = /* @__PURE__ */ Promise.resolve();
325
- let ke = !1;
326
- function zt() {
327
- ke || (ke = !0, Wt.then(C));
293
+ const X = [], Ge = [];
294
+ let z = [];
295
+ const ut = [], Gt = /* @__PURE__ */ Promise.resolve();
296
+ let Fe = !1;
297
+ function Ft() {
298
+ Fe || (Fe = !0, Gt.then(N));
328
299
  }
329
- function Fo() {
330
- return zt(), Wt;
300
+ function Po() {
301
+ return Ft(), Gt;
331
302
  }
332
- function we(e) {
333
- Z.push(e);
303
+ function Te(e) {
304
+ z.push(e);
334
305
  }
335
- const Ce = /* @__PURE__ */ new Set();
336
- let V = 0;
337
- function C() {
338
- if (V !== 0)
306
+ const Le = /* @__PURE__ */ new Set();
307
+ let k = 0;
308
+ function N() {
309
+ if (k !== 0)
339
310
  return;
340
- const e = ae;
311
+ const e = se;
341
312
  do {
342
313
  try {
343
- for (; V < W.length; ) {
344
- const t = W[V];
345
- V++, se(t), Yn(t.$$);
314
+ for (; k < X.length; ) {
315
+ const t = X[k];
316
+ k++, oe(t), Fn(t.$$);
346
317
  }
347
318
  } catch (t) {
348
- throw W.length = 0, V = 0, t;
319
+ throw X.length = 0, k = 0, t;
349
320
  }
350
- for (se(null), W.length = 0, V = 0; je.length; ) je.pop()();
351
- for (let t = 0; t < Z.length; t += 1) {
352
- const n = Z[t];
353
- Ce.has(n) || (Ce.add(n), n());
321
+ for (oe(null), X.length = 0, k = 0; Ge.length; ) Ge.pop()();
322
+ for (let t = 0; t < z.length; t += 1) {
323
+ const n = z[t];
324
+ Le.has(n) || (Le.add(n), n());
354
325
  }
355
- Z.length = 0;
356
- } while (W.length);
357
- for (; pt.length; )
358
- pt.pop()();
359
- ke = !1, Ce.clear(), se(e);
326
+ z.length = 0;
327
+ } while (X.length);
328
+ for (; ut.length; )
329
+ ut.pop()();
330
+ Fe = !1, Le.clear(), oe(e);
360
331
  }
361
- function Yn(e) {
332
+ function Fn(e) {
362
333
  if (e.fragment !== null) {
363
- e.update(), F(e.before_update);
334
+ e.update(), G(e.before_update);
364
335
  const t = e.dirty;
365
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(we);
336
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Te);
366
337
  }
367
338
  }
368
- function Kn(e) {
339
+ function jn(e) {
369
340
  const t = [], n = [];
370
- Z.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), Z = t;
341
+ z.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), z = t;
371
342
  }
372
- let ie;
373
- function er() {
374
- return ie || (ie = Promise.resolve(), ie.then(() => {
375
- ie = null;
376
- })), ie;
343
+ let re;
344
+ function kn() {
345
+ return re || (re = Promise.resolve(), re.then(() => {
346
+ re = null;
347
+ })), re;
377
348
  }
378
- function Me(e, t, n) {
379
- e.dispatchEvent(Xn(`${t ? "intro" : "outro"}${n}`));
349
+ function Ne(e, t, n) {
350
+ e.dispatchEvent(Cn(`${t ? "intro" : "outro"}${n}`));
380
351
  }
381
- const ye = /* @__PURE__ */ new Set();
382
- let M;
383
- function jo() {
384
- M = {
352
+ const ge = /* @__PURE__ */ new Set();
353
+ let C;
354
+ function Oo() {
355
+ C = {
385
356
  r: 0,
386
357
  c: [],
387
- p: M
358
+ p: C
388
359
  // parent group
389
360
  };
390
361
  }
391
- function ko() {
392
- M.r || F(M.c), M = M.p;
362
+ function Io() {
363
+ C.r || G(C.c), C = C.p;
393
364
  }
394
- function tr(e, t) {
395
- e && e.i && (ye.delete(e), e.i(t));
365
+ function Vn(e, t) {
366
+ e && e.i && (ge.delete(e), e.i(t));
396
367
  }
397
- function Vo(e, t, n, r) {
368
+ function Lo(e, t, n, r) {
398
369
  if (e && e.o) {
399
- if (ye.has(e)) return;
400
- ye.add(e), M.c.push(() => {
401
- ye.delete(e), r && (n && e.d(1), r());
370
+ if (ge.has(e)) return;
371
+ ge.add(e), C.c.push(() => {
372
+ ge.delete(e), r && (n && e.d(1), r());
402
373
  }), e.o(t);
403
374
  } else r && r();
404
375
  }
405
- const nr = { duration: 0 };
406
- function Xo(e, t, n, r) {
407
- let o = t(e, n, { direction: "both" }), s = r ? 0 : 1, a = null, u = null, l = null, h;
376
+ const Xn = { duration: 0 };
377
+ function No(e, t, n, r) {
378
+ let o = t(e, n, { direction: "both" }), a = r ? 0 : 1, s = null, u = null, l = null, h;
408
379
  function f() {
409
- l && qn(e, l);
380
+ l && Un(e, l);
410
381
  }
411
382
  function c(p, m) {
412
383
  const x = (
413
384
  /** @type {Program['d']} */
414
- p.b - s
385
+ p.b - a
415
386
  );
416
387
  return m *= Math.abs(x), {
417
- a: s,
388
+ a,
418
389
  b: p.b,
419
390
  d: x,
420
391
  duration: m,
@@ -427,65 +398,65 @@ function Xo(e, t, n, r) {
427
398
  const {
428
399
  delay: m = 0,
429
400
  duration: x = 300,
430
- easing: T = Cn,
401
+ easing: T = Sn,
431
402
  tick: w = B,
432
403
  css: E
433
- } = o || nr, I = {
434
- start: Un() + m,
404
+ } = o || Xn, O = {
405
+ start: Bn() + m,
435
406
  b: p
436
407
  };
437
- p || (I.group = M, M.r += 1), "inert" in e && (p ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
438
- e.inert, e.inert = !0)), a || u ? u = I : (E && (f(), l = dt(e, s, p, x, m, T, E)), p && w(0, 1), a = c(I, x), we(() => Me(e, p, "start")), Dn((H) => {
439
- if (u && H > u.start && (a = c(u, x), u = null, Me(e, a.b, "start"), E && (f(), l = dt(
408
+ p || (O.group = C, C.r += 1), "inert" in e && (p ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
409
+ e.inert, e.inert = !0)), s || u ? u = O : (E && (f(), l = at(e, a, p, x, m, T, E)), p && w(0, 1), s = c(O, x), Te(() => Ne(e, p, "start")), An((H) => {
410
+ if (u && H > u.start && (s = c(u, x), u = null, Ne(e, s.b, "start"), E && (f(), l = at(
440
411
  e,
441
- s,
442
- a.b,
443
- a.duration,
412
+ a,
413
+ s.b,
414
+ s.duration,
444
415
  0,
445
416
  T,
446
417
  o.css
447
- ))), a) {
448
- if (H >= a.end)
449
- w(s = a.b, 1 - s), Me(e, a.b, "end"), u || (a.b ? f() : --a.group.r || F(a.group.c)), a = null;
450
- else if (H >= a.start) {
451
- const U = H - a.start;
452
- s = a.a + a.d * T(U / a.duration), w(s, 1 - s);
418
+ ))), s) {
419
+ if (H >= s.end)
420
+ w(a = s.b, 1 - a), Ne(e, s.b, "end"), u || (s.b ? f() : --s.group.r || G(s.group.c)), s = null;
421
+ else if (H >= s.start) {
422
+ const R = H - s.start;
423
+ a = s.a + s.d * T(R / s.duration), w(a, 1 - a);
453
424
  }
454
425
  }
455
- return !!(a || u);
426
+ return !!(s || u);
456
427
  }));
457
428
  }
458
429
  return {
459
430
  run(p) {
460
- he(o) ? er().then(() => {
431
+ le(o) ? kn().then(() => {
461
432
  o = o({ direction: p ? "in" : "out" }), d(p);
462
433
  }) : d(p);
463
434
  },
464
435
  end() {
465
- f(), a = u = null;
436
+ f(), s = u = null;
466
437
  }
467
438
  };
468
439
  }
469
- function Wo(e) {
470
- return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
440
+ function Co(e) {
441
+ return e?.length !== void 0 ? e : Array.from(e);
471
442
  }
472
- function rr(e, t, n) {
443
+ function Wn(e, t, n) {
473
444
  const { fragment: r, after_update: i } = e.$$;
474
- r && r.m(t, n), we(() => {
475
- const o = e.$$.on_mount.map(Rt).filter(he);
476
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : F(o), e.$$.on_mount = [];
477
- }), i.forEach(we);
445
+ r && r.m(t, n), Te(() => {
446
+ const o = e.$$.on_mount.map(It).filter(le);
447
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : G(o), e.$$.on_mount = [];
448
+ }), i.forEach(Te);
478
449
  }
479
- function ir(e, t) {
450
+ function zn(e, t) {
480
451
  const n = e.$$;
481
- n.fragment !== null && (Kn(n.after_update), F(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
452
+ n.fragment !== null && (jn(n.after_update), G(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
482
453
  }
483
- function or(e, t) {
484
- e.$$.dirty[0] === -1 && (W.push(e), zt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
454
+ function Zn(e, t) {
455
+ e.$$.dirty[0] === -1 && (X.push(e), Ft(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
485
456
  }
486
- function sr(e, t, n, r, i, o, s = null, a = [-1]) {
487
- const u = ae;
488
- se(e);
457
+ function qn(e, t, n, r, i, o, a = null, s = [-1]) {
458
+ const u = se;
459
+ oe(e);
489
460
  const l = e.$$ = {
490
461
  fragment: null,
491
462
  ctx: [],
@@ -493,7 +464,7 @@ function sr(e, t, n, r, i, o, s = null, a = [-1]) {
493
464
  props: o,
494
465
  update: B,
495
466
  not_equal: i,
496
- bound: ct(),
467
+ bound: st(),
497
468
  // lifecycle
498
469
  on_mount: [],
499
470
  on_destroy: [],
@@ -502,150 +473,146 @@ function sr(e, t, n, r, i, o, s = null, a = [-1]) {
502
473
  after_update: [],
503
474
  context: new Map(t.context || (u ? u.$$.context : [])),
504
475
  // everything else
505
- callbacks: ct(),
506
- dirty: a,
476
+ callbacks: st(),
477
+ dirty: s,
507
478
  skip_bound: !1,
508
479
  root: t.target || u.$$.root
509
480
  };
510
- s && s(l.root);
481
+ a && a(l.root);
511
482
  let h = !1;
512
483
  if (l.ctx = n ? n(e, t.props || {}, (f, c, ...d) => {
513
484
  const p = d.length ? d[0] : c;
514
- return l.ctx && i(l.ctx[f], l.ctx[f] = p) && (!l.skip_bound && l.bound[f] && l.bound[f](p), h && or(e, f)), c;
515
- }) : [], l.update(), h = !0, F(l.before_update), l.fragment = r ? r(l.ctx) : !1, t.target) {
485
+ return l.ctx && i(l.ctx[f], l.ctx[f] = p) && (!l.skip_bound && l.bound[f] && l.bound[f](p), h && Zn(e, f)), c;
486
+ }) : [], l.update(), h = !0, G(l.before_update), l.fragment = r ? r(l.ctx) : !1, t.target) {
516
487
  if (t.hydrate) {
517
- const f = kn(t.target);
518
- l.fragment && l.fragment.l(f), f.forEach(j);
488
+ const f = Ln(t.target);
489
+ l.fragment && l.fragment.l(f), f.forEach(F);
519
490
  } else
520
491
  l.fragment && l.fragment.c();
521
- t.intro && tr(e.$$.fragment), rr(e, t.target, t.anchor), C();
492
+ t.intro && Vn(e.$$.fragment), Wn(e, t.target, t.anchor), N();
522
493
  }
523
- se(u);
524
- }
525
- let Zt;
526
- typeof HTMLElement == "function" && (Zt = class extends HTMLElement {
527
- constructor(t, n, r) {
528
- super();
529
- /** The Svelte component constructor */
530
- O(this, "$$ctor");
531
- /** Slots */
532
- O(this, "$$s");
533
- /** The Svelte component instance */
534
- O(this, "$$c");
535
- /** Whether or not the custom element is connected */
536
- O(this, "$$cn", !1);
537
- /** Component props data */
538
- O(this, "$$d", {});
539
- /** `true` if currently in the process of reflecting component props back to attributes */
540
- O(this, "$$r", !1);
541
- /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
542
- O(this, "$$p_d", {});
543
- /** @type {Record<string, Function[]>} Event listeners */
544
- O(this, "$$l", {});
545
- /** @type {Map<Function, Function>} Event listener unsubscribe functions */
546
- O(this, "$$l_u", /* @__PURE__ */ new Map());
547
- this.$$ctor = t, this.$$s = n, r && this.attachShadow({ mode: "open" });
494
+ oe(u);
495
+ }
496
+ let jt;
497
+ typeof HTMLElement == "function" && (jt = class extends HTMLElement {
498
+ /** The Svelte component constructor */
499
+ $$ctor;
500
+ /** Slots */
501
+ $$s;
502
+ /** The Svelte component instance */
503
+ $$c;
504
+ /** Whether or not the custom element is connected */
505
+ $$cn = !1;
506
+ /** Component props data */
507
+ $$d = {};
508
+ /** `true` if currently in the process of reflecting component props back to attributes */
509
+ $$r = !1;
510
+ /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
511
+ $$p_d = {};
512
+ /** @type {Record<string, Function[]>} Event listeners */
513
+ $$l = {};
514
+ /** @type {Map<Function, Function>} Event listener unsubscribe functions */
515
+ $$l_u = /* @__PURE__ */ new Map();
516
+ constructor(e, t, n) {
517
+ super(), this.$$ctor = e, this.$$s = t, n && this.attachShadow({ mode: "open" });
548
518
  }
549
- addEventListener(t, n, r) {
550
- if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(n), this.$$c) {
551
- const i = this.$$c.$on(t, n);
552
- this.$$l_u.set(n, i);
519
+ addEventListener(e, t, n) {
520
+ if (this.$$l[e] = this.$$l[e] || [], this.$$l[e].push(t), this.$$c) {
521
+ const r = this.$$c.$on(e, t);
522
+ this.$$l_u.set(t, r);
553
523
  }
554
- super.addEventListener(t, n, r);
524
+ super.addEventListener(e, t, n);
555
525
  }
556
- removeEventListener(t, n, r) {
557
- if (super.removeEventListener(t, n, r), this.$$c) {
558
- const i = this.$$l_u.get(n);
559
- i && (i(), this.$$l_u.delete(n));
526
+ removeEventListener(e, t, n) {
527
+ if (super.removeEventListener(e, t, n), this.$$c) {
528
+ const r = this.$$l_u.get(t);
529
+ r && (r(), this.$$l_u.delete(t));
560
530
  }
561
531
  }
562
- connectedCallback() {
563
- return ft(this, null, function* () {
564
- if (this.$$cn = !0, !this.$$c) {
565
- let t = function(o) {
566
- return () => {
567
- let s;
568
- return {
569
- c: function() {
570
- s = N("slot"), o !== "default" && A(s, "name", o);
571
- },
572
- /**
573
- * @param {HTMLElement} target
574
- * @param {HTMLElement} [anchor]
575
- */
576
- m: function(l, h) {
577
- fe(l, s, h);
578
- },
579
- d: function(l) {
580
- l && j(s);
581
- }
582
- };
532
+ async connectedCallback() {
533
+ if (this.$$cn = !0, !this.$$c) {
534
+ let e = function(i) {
535
+ return () => {
536
+ let o;
537
+ return {
538
+ c: function() {
539
+ o = L("slot"), i !== "default" && A(o, "name", i);
540
+ },
541
+ /**
542
+ * @param {HTMLElement} target
543
+ * @param {HTMLElement} [anchor]
544
+ */
545
+ m: function(u, l) {
546
+ he(u, o, l);
547
+ },
548
+ d: function(u) {
549
+ u && F(o);
550
+ }
583
551
  };
584
552
  };
585
- if (yield Promise.resolve(), !this.$$cn || this.$$c)
586
- return;
587
- const n = {}, r = Wn(this);
588
- for (const o of this.$$s)
589
- o in r && (n[o] = [t(o)]);
590
- for (const o of this.attributes) {
591
- const s = this.$$g_p(o.name);
592
- s in this.$$d || (this.$$d[s] = _e(s, o.value, this.$$p_d, "toProp"));
553
+ };
554
+ if (await Promise.resolve(), !this.$$cn || this.$$c)
555
+ return;
556
+ const t = {}, n = Mn(this);
557
+ for (const i of this.$$s)
558
+ i in n && (t[i] = [e(i)]);
559
+ for (const i of this.attributes) {
560
+ const o = this.$$g_p(i.name);
561
+ o in this.$$d || (this.$$d[o] = ye(o, i.value, this.$$p_d, "toProp"));
562
+ }
563
+ for (const i in this.$$p_d)
564
+ !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
565
+ this.$$c = new this.$$ctor({
566
+ target: this.shadowRoot || this,
567
+ props: {
568
+ ...this.$$d,
569
+ $$slots: t,
570
+ $$scope: {
571
+ ctx: []
572
+ }
593
573
  }
594
- for (const o in this.$$p_d)
595
- !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
596
- this.$$c = new this.$$ctor({
597
- target: this.shadowRoot || this,
598
- props: ht(lt({}, this.$$d), {
599
- $$slots: n,
600
- $$scope: {
601
- ctx: []
602
- }
603
- })
604
- });
605
- const i = () => {
606
- this.$$r = !0;
607
- for (const o in this.$$p_d)
608
- if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
609
- const s = _e(
610
- o,
611
- this.$$d[o],
612
- this.$$p_d,
613
- "toAttribute"
614
- );
615
- s == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, s);
616
- }
617
- this.$$r = !1;
618
- };
619
- this.$$c.$$.after_update.push(i), i();
620
- for (const o in this.$$l)
621
- for (const s of this.$$l[o]) {
622
- const a = this.$$c.$on(o, s);
623
- this.$$l_u.set(s, a);
574
+ });
575
+ const r = () => {
576
+ this.$$r = !0;
577
+ for (const i in this.$$p_d)
578
+ if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
579
+ const o = ye(
580
+ i,
581
+ this.$$d[i],
582
+ this.$$p_d,
583
+ "toAttribute"
584
+ );
585
+ o == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, o);
624
586
  }
625
- this.$$l = {};
626
- }
627
- });
587
+ this.$$r = !1;
588
+ };
589
+ this.$$c.$$.after_update.push(r), r();
590
+ for (const i in this.$$l)
591
+ for (const o of this.$$l[i]) {
592
+ const a = this.$$c.$on(i, o);
593
+ this.$$l_u.set(o, a);
594
+ }
595
+ this.$$l = {};
596
+ }
628
597
  }
629
598
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
630
599
  // and setting attributes through setAttribute etc, this is helpful
631
- attributeChangedCallback(t, n, r) {
632
- var i;
633
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = _e(t, r, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
600
+ attributeChangedCallback(e, t, n) {
601
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = ye(e, n, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
634
602
  }
635
603
  disconnectedCallback() {
636
604
  this.$$cn = !1, Promise.resolve().then(() => {
637
605
  !this.$$cn && this.$$c && (this.$$c.$destroy(), this.$$c = void 0);
638
606
  });
639
607
  }
640
- $$g_p(t) {
608
+ $$g_p(e) {
641
609
  return Object.keys(this.$$p_d).find(
642
- (n) => this.$$p_d[n].attribute === t || !this.$$p_d[n].attribute && n.toLowerCase() === t
643
- ) || t;
610
+ (t) => this.$$p_d[t].attribute === e || !this.$$p_d[t].attribute && t.toLowerCase() === e
611
+ ) || e;
644
612
  }
645
613
  });
646
- function _e(e, t, n, r) {
647
- var o;
648
- const i = (o = n[e]) == null ? void 0 : o.type;
614
+ function ye(e, t, n, r) {
615
+ const i = n[e]?.type;
649
616
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !r || !n[e])
650
617
  return t;
651
618
  if (r === "toAttribute")
@@ -656,7 +623,7 @@ function _e(e, t, n, r) {
656
623
  case "Boolean":
657
624
  return t ? "" : null;
658
625
  case "Number":
659
- return t == null ? null : t;
626
+ return t ?? null;
660
627
  default:
661
628
  return t;
662
629
  }
@@ -673,59 +640,55 @@ function _e(e, t, n, r) {
673
640
  return t;
674
641
  }
675
642
  }
676
- function ar(e, t, n, r, i, o) {
677
- let s = class extends Zt {
643
+ function Qn(e, t, n, r, i, o) {
644
+ let a = class extends jt {
678
645
  constructor() {
679
646
  super(e, n, i), this.$$p_d = t;
680
647
  }
681
648
  static get observedAttributes() {
682
649
  return Object.keys(t).map(
683
- (a) => (t[a].attribute || a).toLowerCase()
650
+ (s) => (t[s].attribute || s).toLowerCase()
684
651
  );
685
652
  }
686
653
  };
687
- return Object.keys(t).forEach((a) => {
688
- Object.defineProperty(s.prototype, a, {
654
+ return Object.keys(t).forEach((s) => {
655
+ Object.defineProperty(a.prototype, s, {
689
656
  get() {
690
- return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
657
+ return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
691
658
  },
692
659
  set(u) {
693
- var l;
694
- u = _e(a, u, t), this.$$d[a] = u, (l = this.$$c) == null || l.$set({ [a]: u });
660
+ u = ye(s, u, t), this.$$d[s] = u, this.$$c?.$set({ [s]: u });
695
661
  }
696
662
  });
697
- }), r.forEach((a) => {
698
- Object.defineProperty(s.prototype, a, {
663
+ }), r.forEach((s) => {
664
+ Object.defineProperty(a.prototype, s, {
699
665
  get() {
700
- var u;
701
- return (u = this.$$c) == null ? void 0 : u[a];
666
+ return this.$$c?.[s];
702
667
  }
703
668
  });
704
669
  }), e.element = /** @type {any} */
705
- s, s;
706
- }
707
- class ur {
708
- constructor() {
709
- /**
710
- * ### PRIVATE API
711
- *
712
- * Do not use, may change at any time
713
- *
714
- * @type {any}
715
- */
716
- O(this, "$$");
717
- /**
718
- * ### PRIVATE API
719
- *
720
- * Do not use, may change at any time
721
- *
722
- * @type {any}
723
- */
724
- O(this, "$$set");
725
- }
670
+ a, a;
671
+ }
672
+ class Jn {
673
+ /**
674
+ * ### PRIVATE API
675
+ *
676
+ * Do not use, may change at any time
677
+ *
678
+ * @type {any}
679
+ */
680
+ $$ = void 0;
681
+ /**
682
+ * ### PRIVATE API
683
+ *
684
+ * Do not use, may change at any time
685
+ *
686
+ * @type {any}
687
+ */
688
+ $$set = void 0;
726
689
  /** @returns {void} */
727
690
  $destroy() {
728
- ir(this, 1), this.$destroy = B;
691
+ zn(this, 1), this.$destroy = B;
729
692
  }
730
693
  /**
731
694
  * @template {Extract<keyof Events, string>} K
@@ -734,7 +697,7 @@ class ur {
734
697
  * @returns {() => void}
735
698
  */
736
699
  $on(t, n) {
737
- if (!he(n))
700
+ if (!le(n))
738
701
  return B;
739
702
  const r = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
740
703
  return r.push(n), () => {
@@ -747,22 +710,22 @@ class ur {
747
710
  * @returns {void}
748
711
  */
749
712
  $set(t) {
750
- this.$$set && !$n(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
713
+ this.$$set && !wn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
751
714
  }
752
715
  }
753
- const lr = "4";
754
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(lr);
755
- var Ve = function(e, t) {
756
- return Ve = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
716
+ const Yn = "4";
717
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Yn);
718
+ var je = function(e, t) {
719
+ return je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
757
720
  n.__proto__ = r;
758
721
  } || function(n, r) {
759
722
  for (var i in r) Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
760
- }, Ve(e, t);
723
+ }, je(e, t);
761
724
  };
762
- function R(e, t) {
725
+ function $(e, t) {
763
726
  if (typeof t != "function" && t !== null)
764
727
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
765
- Ve(e, t);
728
+ je(e, t);
766
729
  function n() {
767
730
  this.constructor = e;
768
731
  }
@@ -777,7 +740,7 @@ var _ = function() {
777
740
  return t;
778
741
  }, _.apply(this, arguments);
779
742
  };
780
- function hr(e, t) {
743
+ function Kn(e, t) {
781
744
  var n = {};
782
745
  for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
783
746
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -785,7 +748,7 @@ function hr(e, t) {
785
748
  t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
786
749
  return n;
787
750
  }
788
- function Xe(e) {
751
+ function ke(e) {
789
752
  var t = typeof Symbol == "function" && Symbol.iterator, n = t && e[t], r = 0;
790
753
  if (n) return n.call(e);
791
754
  if (e && typeof e.length == "number") return {
@@ -795,38 +758,38 @@ function Xe(e) {
795
758
  };
796
759
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
797
760
  }
798
- function We(e, t) {
761
+ function Ve(e, t) {
799
762
  var n = typeof Symbol == "function" && e[Symbol.iterator];
800
763
  if (!n) return e;
801
- var r = n.call(e), i, o = [], s;
764
+ var r = n.call(e), i, o = [], a;
802
765
  try {
803
766
  for (; (t === void 0 || t-- > 0) && !(i = r.next()).done; ) o.push(i.value);
804
- } catch (a) {
805
- s = { error: a };
767
+ } catch (s) {
768
+ a = { error: s };
806
769
  } finally {
807
770
  try {
808
771
  i && !i.done && (n = r.return) && n.call(r);
809
772
  } finally {
810
- if (s) throw s.error;
773
+ if (a) throw a.error;
811
774
  }
812
775
  }
813
776
  return o;
814
777
  }
815
- function q(e, t, n) {
778
+ function Z(e, t, n) {
816
779
  if (n || arguments.length === 2) for (var r = 0, i = t.length, o; r < i; r++)
817
780
  (o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
818
781
  return e.concat(o || Array.prototype.slice.call(t));
819
782
  }
820
- function $(e) {
783
+ function M(e) {
821
784
  return typeof e == "function";
822
785
  }
823
- function qt(e) {
786
+ function kt(e) {
824
787
  var t = function(r) {
825
788
  Error.call(r), r.stack = new Error().stack;
826
789
  }, n = e(t);
827
790
  return n.prototype = Object.create(Error.prototype), n.prototype.constructor = n, n;
828
791
  }
829
- var $e = qt(function(e) {
792
+ var Ce = kt(function(e) {
830
793
  return function(n) {
831
794
  e(this), this.message = n ? n.length + ` errors occurred during unsubscription:
832
795
  ` + n.map(function(r, i) {
@@ -835,13 +798,13 @@ var $e = qt(function(e) {
835
798
  `) : "", this.name = "UnsubscriptionError", this.errors = n;
836
799
  };
837
800
  });
838
- function ze(e, t) {
801
+ function Xe(e, t) {
839
802
  if (e) {
840
803
  var n = e.indexOf(t);
841
804
  0 <= n && e.splice(n, 1);
842
805
  }
843
806
  }
844
- var Ae = function() {
807
+ var Be = function() {
845
808
  function e(t) {
846
809
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
847
810
  }
@@ -849,11 +812,11 @@ var Ae = function() {
849
812
  var t, n, r, i, o;
850
813
  if (!this.closed) {
851
814
  this.closed = !0;
852
- var s = this._parentage;
853
- if (s)
854
- if (this._parentage = null, Array.isArray(s))
815
+ var a = this._parentage;
816
+ if (a)
817
+ if (this._parentage = null, Array.isArray(a))
855
818
  try {
856
- for (var a = Xe(s), u = a.next(); !u.done; u = a.next()) {
819
+ for (var s = ke(a), u = s.next(); !u.done; u = s.next()) {
857
820
  var l = u.value;
858
821
  l.remove(this);
859
822
  }
@@ -861,30 +824,30 @@ var Ae = function() {
861
824
  t = { error: m };
862
825
  } finally {
863
826
  try {
864
- u && !u.done && (n = a.return) && n.call(a);
827
+ u && !u.done && (n = s.return) && n.call(s);
865
828
  } finally {
866
829
  if (t) throw t.error;
867
830
  }
868
831
  }
869
832
  else
870
- s.remove(this);
833
+ a.remove(this);
871
834
  var h = this.initialTeardown;
872
- if ($(h))
835
+ if (M(h))
873
836
  try {
874
837
  h();
875
838
  } catch (m) {
876
- o = m instanceof $e ? m.errors : [m];
839
+ o = m instanceof Ce ? m.errors : [m];
877
840
  }
878
841
  var f = this._finalizers;
879
842
  if (f) {
880
843
  this._finalizers = null;
881
844
  try {
882
- for (var c = Xe(f), d = c.next(); !d.done; d = c.next()) {
845
+ for (var c = ke(f), d = c.next(); !d.done; d = c.next()) {
883
846
  var p = d.value;
884
847
  try {
885
- mt(p);
848
+ lt(p);
886
849
  } catch (m) {
887
- o = o != null ? o : [], m instanceof $e ? o = q(q([], We(o)), We(m.errors)) : o.push(m);
850
+ o = o ?? [], m instanceof Ce ? o = Z(Z([], Ve(o)), Ve(m.errors)) : o.push(m);
888
851
  }
889
852
  }
890
853
  } catch (m) {
@@ -898,13 +861,13 @@ var Ae = function() {
898
861
  }
899
862
  }
900
863
  if (o)
901
- throw new $e(o);
864
+ throw new Ce(o);
902
865
  }
903
866
  }, e.prototype.add = function(t) {
904
867
  var n;
905
868
  if (t && t !== this)
906
869
  if (this.closed)
907
- mt(t);
870
+ lt(t);
908
871
  else {
909
872
  if (t instanceof e) {
910
873
  if (t.closed || t._hasParent(this))
@@ -921,56 +884,56 @@ var Ae = function() {
921
884
  this._parentage = Array.isArray(n) ? (n.push(t), n) : n ? [n, t] : t;
922
885
  }, e.prototype._removeParent = function(t) {
923
886
  var n = this._parentage;
924
- n === t ? this._parentage = null : Array.isArray(n) && ze(n, t);
887
+ n === t ? this._parentage = null : Array.isArray(n) && Xe(n, t);
925
888
  }, e.prototype.remove = function(t) {
926
889
  var n = this._finalizers;
927
- n && ze(n, t), t instanceof e && t._removeParent(this);
890
+ n && Xe(n, t), t instanceof e && t._removeParent(this);
928
891
  }, e.EMPTY = function() {
929
892
  var t = new e();
930
893
  return t.closed = !0, t;
931
894
  }(), e;
932
- }(), Qt = Ae.EMPTY;
933
- function Jt(e) {
934
- return e instanceof Ae || e && "closed" in e && $(e.remove) && $(e.add) && $(e.unsubscribe);
895
+ }(), Vt = Be.EMPTY;
896
+ function Xt(e) {
897
+ return e instanceof Be || e && "closed" in e && M(e.remove) && M(e.add) && M(e.unsubscribe);
935
898
  }
936
- function mt(e) {
937
- $(e) ? e() : e.unsubscribe();
899
+ function lt(e) {
900
+ M(e) ? e() : e.unsubscribe();
938
901
  }
939
- var fr = {
902
+ var er = {
940
903
  onUnhandledError: null,
941
904
  onStoppedNotification: null,
942
905
  Promise: void 0,
943
906
  useDeprecatedSynchronousErrorHandling: !1,
944
907
  useDeprecatedNextContext: !1
945
- }, cr = {
908
+ }, tr = {
946
909
  setTimeout: function(e, t) {
947
910
  for (var n = [], r = 2; r < arguments.length; r++)
948
911
  n[r - 2] = arguments[r];
949
- return setTimeout.apply(void 0, q([e, t], We(n)));
912
+ return setTimeout.apply(void 0, Z([e, t], Ve(n)));
950
913
  },
951
914
  clearTimeout: function(e) {
952
915
  return clearTimeout(e);
953
916
  },
954
917
  delegate: void 0
955
918
  };
956
- function dr(e) {
957
- cr.setTimeout(function() {
919
+ function nr(e) {
920
+ tr.setTimeout(function() {
958
921
  throw e;
959
922
  });
960
923
  }
961
- function bt() {
924
+ function ht() {
962
925
  }
963
- function ve(e) {
926
+ function _e(e) {
964
927
  e();
965
928
  }
966
- var Yt = function(e) {
967
- R(t, e);
929
+ var Wt = function(e) {
930
+ $(t, e);
968
931
  function t(n) {
969
932
  var r = e.call(this) || this;
970
- return r.isStopped = !1, n ? (r.destination = n, Jt(n) && n.add(r)) : r.destination = br, r;
933
+ return r.isStopped = !1, n ? (r.destination = n, Xt(n) && n.add(r)) : r.destination = or, r;
971
934
  }
972
935
  return t.create = function(n, r, i) {
973
- return new Ze(n, r, i);
936
+ return new We(n, r, i);
974
937
  }, t.prototype.next = function(n) {
975
938
  this.isStopped || this._next(n);
976
939
  }, t.prototype.error = function(n) {
@@ -994,7 +957,7 @@ var Yt = function(e) {
994
957
  this.unsubscribe();
995
958
  }
996
959
  }, t;
997
- }(Ae), pr = function() {
960
+ }(Be), rr = function() {
998
961
  function e(t) {
999
962
  this.partialObserver = t;
1000
963
  }
@@ -1004,7 +967,7 @@ var Yt = function(e) {
1004
967
  try {
1005
968
  n.next(t);
1006
969
  } catch (r) {
1007
- be(r);
970
+ me(r);
1008
971
  }
1009
972
  }, e.prototype.error = function(t) {
1010
973
  var n = this.partialObserver;
@@ -1012,56 +975,56 @@ var Yt = function(e) {
1012
975
  try {
1013
976
  n.error(t);
1014
977
  } catch (r) {
1015
- be(r);
978
+ me(r);
1016
979
  }
1017
980
  else
1018
- be(t);
981
+ me(t);
1019
982
  }, e.prototype.complete = function() {
1020
983
  var t = this.partialObserver;
1021
984
  if (t.complete)
1022
985
  try {
1023
986
  t.complete();
1024
987
  } catch (n) {
1025
- be(n);
988
+ me(n);
1026
989
  }
1027
990
  }, e;
1028
- }(), Ze = function(e) {
1029
- R(t, e);
991
+ }(), We = function(e) {
992
+ $(t, e);
1030
993
  function t(n, r, i) {
1031
- var o = e.call(this) || this, s;
1032
- return $(n) || !n ? s = {
1033
- next: n != null ? n : void 0,
1034
- error: r != null ? r : void 0,
1035
- complete: i != null ? i : void 0
1036
- } : s = n, o.destination = new pr(s), o;
994
+ var o = e.call(this) || this, a;
995
+ return M(n) || !n ? a = {
996
+ next: n ?? void 0,
997
+ error: r ?? void 0,
998
+ complete: i ?? void 0
999
+ } : a = n, o.destination = new rr(a), o;
1037
1000
  }
1038
1001
  return t;
1039
- }(Yt);
1040
- function be(e) {
1041
- dr(e);
1002
+ }(Wt);
1003
+ function me(e) {
1004
+ nr(e);
1042
1005
  }
1043
- function mr(e) {
1006
+ function ir(e) {
1044
1007
  throw e;
1045
1008
  }
1046
- var br = {
1009
+ var or = {
1047
1010
  closed: !0,
1048
- next: bt,
1049
- error: mr,
1050
- complete: bt
1051
- }, gr = function() {
1011
+ next: ht,
1012
+ error: ir,
1013
+ complete: ht
1014
+ }, sr = function() {
1052
1015
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
1053
1016
  }();
1054
- function yr(e) {
1017
+ function ar(e) {
1055
1018
  return e;
1056
1019
  }
1057
- function _r(e) {
1058
- return e.length === 0 ? yr : e.length === 1 ? e[0] : function(n) {
1020
+ function ur(e) {
1021
+ return e.length === 0 ? ar : e.length === 1 ? e[0] : function(n) {
1059
1022
  return e.reduce(function(r, i) {
1060
1023
  return i(r);
1061
1024
  }, n);
1062
1025
  };
1063
1026
  }
1064
- var gt = function() {
1027
+ var ft = function() {
1065
1028
  function e(t) {
1066
1029
  t && (this._subscribe = t);
1067
1030
  }
@@ -1069,10 +1032,10 @@ var gt = function() {
1069
1032
  var n = new e();
1070
1033
  return n.source = this, n.operator = t, n;
1071
1034
  }, e.prototype.subscribe = function(t, n, r) {
1072
- var i = this, o = xr(t) ? t : new Ze(t, n, r);
1073
- return ve(function() {
1074
- var s = i, a = s.operator, u = s.source;
1075
- o.add(a ? a.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
1035
+ var i = this, o = hr(t) ? t : new We(t, n, r);
1036
+ return _e(function() {
1037
+ var a = i, s = a.operator, u = a.source;
1038
+ o.add(s ? s.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
1076
1039
  }), o;
1077
1040
  }, e.prototype._trySubscribe = function(t) {
1078
1041
  try {
@@ -1082,37 +1045,37 @@ var gt = function() {
1082
1045
  }
1083
1046
  }, e.prototype.forEach = function(t, n) {
1084
1047
  var r = this;
1085
- return n = yt(n), new n(function(i, o) {
1086
- var s = new Ze({
1087
- next: function(a) {
1048
+ return n = ct(n), new n(function(i, o) {
1049
+ var a = new We({
1050
+ next: function(s) {
1088
1051
  try {
1089
- t(a);
1052
+ t(s);
1090
1053
  } catch (u) {
1091
- o(u), s.unsubscribe();
1054
+ o(u), a.unsubscribe();
1092
1055
  }
1093
1056
  },
1094
1057
  error: o,
1095
1058
  complete: i
1096
1059
  });
1097
- r.subscribe(s);
1060
+ r.subscribe(a);
1098
1061
  });
1099
1062
  }, e.prototype._subscribe = function(t) {
1100
1063
  var n;
1101
1064
  return (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(t);
1102
- }, e.prototype[gr] = function() {
1065
+ }, e.prototype[sr] = function() {
1103
1066
  return this;
1104
1067
  }, e.prototype.pipe = function() {
1105
1068
  for (var t = [], n = 0; n < arguments.length; n++)
1106
1069
  t[n] = arguments[n];
1107
- return _r(t)(this);
1070
+ return ur(t)(this);
1108
1071
  }, e.prototype.toPromise = function(t) {
1109
1072
  var n = this;
1110
- return t = yt(t), new t(function(r, i) {
1073
+ return t = ct(t), new t(function(r, i) {
1111
1074
  var o;
1112
- n.subscribe(function(s) {
1113
- return o = s;
1114
- }, function(s) {
1115
- return i(s);
1075
+ n.subscribe(function(a) {
1076
+ return o = a;
1077
+ }, function(a) {
1078
+ return i(a);
1116
1079
  }, function() {
1117
1080
  return r(o);
1118
1081
  });
@@ -1121,48 +1084,48 @@ var gt = function() {
1121
1084
  return new e(t);
1122
1085
  }, e;
1123
1086
  }();
1124
- function yt(e) {
1087
+ function ct(e) {
1125
1088
  var t;
1126
- return (t = e != null ? e : fr.Promise) !== null && t !== void 0 ? t : Promise;
1089
+ return (t = e ?? er.Promise) !== null && t !== void 0 ? t : Promise;
1127
1090
  }
1128
- function vr(e) {
1129
- return e && $(e.next) && $(e.error) && $(e.complete);
1091
+ function lr(e) {
1092
+ return e && M(e.next) && M(e.error) && M(e.complete);
1130
1093
  }
1131
- function xr(e) {
1132
- return e && e instanceof Yt || vr(e) && Jt(e);
1094
+ function hr(e) {
1095
+ return e && e instanceof Wt || lr(e) && Xt(e);
1133
1096
  }
1134
- var Er = qt(function(e) {
1097
+ var fr = kt(function(e) {
1135
1098
  return function() {
1136
1099
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
1137
1100
  };
1138
- }), Kt = function(e) {
1139
- R(t, e);
1101
+ }), zt = function(e) {
1102
+ $(t, e);
1140
1103
  function t() {
1141
1104
  var n = e.call(this) || this;
1142
1105
  return n.closed = !1, n.currentObservers = null, n.observers = [], n.isStopped = !1, n.hasError = !1, n.thrownError = null, n;
1143
1106
  }
1144
1107
  return t.prototype.lift = function(n) {
1145
- var r = new _t(this, this);
1108
+ var r = new dt(this, this);
1146
1109
  return r.operator = n, r;
1147
1110
  }, t.prototype._throwIfClosed = function() {
1148
1111
  if (this.closed)
1149
- throw new Er();
1112
+ throw new fr();
1150
1113
  }, t.prototype.next = function(n) {
1151
1114
  var r = this;
1152
- ve(function() {
1115
+ _e(function() {
1153
1116
  var i, o;
1154
1117
  if (r._throwIfClosed(), !r.isStopped) {
1155
1118
  r.currentObservers || (r.currentObservers = Array.from(r.observers));
1156
1119
  try {
1157
- for (var s = Xe(r.currentObservers), a = s.next(); !a.done; a = s.next()) {
1158
- var u = a.value;
1120
+ for (var a = ke(r.currentObservers), s = a.next(); !s.done; s = a.next()) {
1121
+ var u = s.value;
1159
1122
  u.next(n);
1160
1123
  }
1161
1124
  } catch (l) {
1162
1125
  i = { error: l };
1163
1126
  } finally {
1164
1127
  try {
1165
- a && !a.done && (o = s.return) && o.call(s);
1128
+ s && !s.done && (o = a.return) && o.call(a);
1166
1129
  } finally {
1167
1130
  if (i) throw i.error;
1168
1131
  }
@@ -1171,7 +1134,7 @@ var Er = qt(function(e) {
1171
1134
  });
1172
1135
  }, t.prototype.error = function(n) {
1173
1136
  var r = this;
1174
- ve(function() {
1137
+ _e(function() {
1175
1138
  if (r._throwIfClosed(), !r.isStopped) {
1176
1139
  r.hasError = r.isStopped = !0, r.thrownError = n;
1177
1140
  for (var i = r.observers; i.length; )
@@ -1180,7 +1143,7 @@ var Er = qt(function(e) {
1180
1143
  });
1181
1144
  }, t.prototype.complete = function() {
1182
1145
  var n = this;
1183
- ve(function() {
1146
+ _e(function() {
1184
1147
  if (n._throwIfClosed(), !n.isStopped) {
1185
1148
  n.isStopped = !0;
1186
1149
  for (var r = n.observers; r.length; )
@@ -1201,21 +1164,21 @@ var Er = qt(function(e) {
1201
1164
  }, t.prototype._subscribe = function(n) {
1202
1165
  return this._throwIfClosed(), this._checkFinalizedStatuses(n), this._innerSubscribe(n);
1203
1166
  }, t.prototype._innerSubscribe = function(n) {
1204
- var r = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
1205
- return o || s ? Qt : (this.currentObservers = null, a.push(n), new Ae(function() {
1206
- r.currentObservers = null, ze(a, n);
1167
+ var r = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
1168
+ return o || a ? Vt : (this.currentObservers = null, s.push(n), new Be(function() {
1169
+ r.currentObservers = null, Xe(s, n);
1207
1170
  }));
1208
1171
  }, t.prototype._checkFinalizedStatuses = function(n) {
1209
- var r = this, i = r.hasError, o = r.thrownError, s = r.isStopped;
1210
- i ? n.error(o) : s && n.complete();
1172
+ var r = this, i = r.hasError, o = r.thrownError, a = r.isStopped;
1173
+ i ? n.error(o) : a && n.complete();
1211
1174
  }, t.prototype.asObservable = function() {
1212
- var n = new gt();
1175
+ var n = new ft();
1213
1176
  return n.source = this, n;
1214
1177
  }, t.create = function(n, r) {
1215
- return new _t(n, r);
1178
+ return new dt(n, r);
1216
1179
  }, t;
1217
- }(gt), _t = function(e) {
1218
- R(t, e);
1180
+ }(ft), dt = function(e) {
1181
+ $(t, e);
1219
1182
  function t(n, r) {
1220
1183
  var i = e.call(this) || this;
1221
1184
  return i.destination = n, i.source = r, i;
@@ -1231,81 +1194,81 @@ var Er = qt(function(e) {
1231
1194
  (r = (n = this.destination) === null || n === void 0 ? void 0 : n.complete) === null || r === void 0 || r.call(n);
1232
1195
  }, t.prototype._subscribe = function(n) {
1233
1196
  var r, i;
1234
- return (i = (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(n)) !== null && i !== void 0 ? i : Qt;
1197
+ return (i = (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(n)) !== null && i !== void 0 ? i : Vt;
1235
1198
  }, t;
1236
- }(Kt), en = {
1199
+ }(zt), Zt = {
1237
1200
  now: function() {
1238
- return (en.delegate || Date).now();
1201
+ return (Zt.delegate || Date).now();
1239
1202
  },
1240
1203
  delegate: void 0
1241
- }, Sr = function(e) {
1242
- R(t, e);
1204
+ }, cr = function(e) {
1205
+ $(t, e);
1243
1206
  function t(n, r, i) {
1244
- n === void 0 && (n = 1 / 0), r === void 0 && (r = 1 / 0), i === void 0 && (i = en);
1207
+ n === void 0 && (n = 1 / 0), r === void 0 && (r = 1 / 0), i === void 0 && (i = Zt);
1245
1208
  var o = e.call(this) || this;
1246
1209
  return o._bufferSize = n, o._windowTime = r, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = r === 1 / 0, o._bufferSize = Math.max(1, n), o._windowTime = Math.max(1, r), o;
1247
1210
  }
1248
1211
  return t.prototype.next = function(n) {
1249
- var r = this, i = r.isStopped, o = r._buffer, s = r._infiniteTimeWindow, a = r._timestampProvider, u = r._windowTime;
1250
- i || (o.push(n), !s && o.push(a.now() + u)), this._trimBuffer(), e.prototype.next.call(this, n);
1212
+ var r = this, i = r.isStopped, o = r._buffer, a = r._infiniteTimeWindow, s = r._timestampProvider, u = r._windowTime;
1213
+ i || (o.push(n), !a && o.push(s.now() + u)), this._trimBuffer(), e.prototype.next.call(this, n);
1251
1214
  }, t.prototype._subscribe = function(n) {
1252
1215
  this._throwIfClosed(), this._trimBuffer();
1253
- for (var r = this._innerSubscribe(n), i = this, o = i._infiniteTimeWindow, s = i._buffer, a = s.slice(), u = 0; u < a.length && !n.closed; u += o ? 1 : 2)
1254
- n.next(a[u]);
1216
+ for (var r = this._innerSubscribe(n), i = this, o = i._infiniteTimeWindow, a = i._buffer, s = a.slice(), u = 0; u < s.length && !n.closed; u += o ? 1 : 2)
1217
+ n.next(s[u]);
1255
1218
  return this._checkFinalizedStatuses(n), r;
1256
1219
  }, t.prototype._trimBuffer = function() {
1257
- var n = this, r = n._bufferSize, i = n._timestampProvider, o = n._buffer, s = n._infiniteTimeWindow, a = (s ? 1 : 2) * r;
1258
- if (r < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
1220
+ var n = this, r = n._bufferSize, i = n._timestampProvider, o = n._buffer, a = n._infiniteTimeWindow, s = (a ? 1 : 2) * r;
1221
+ if (r < 1 / 0 && s < o.length && o.splice(0, o.length - s), !a) {
1259
1222
  for (var u = i.now(), l = 0, h = 1; h < o.length && o[h] <= u; h += 2)
1260
1223
  l = h;
1261
1224
  l && o.splice(0, l + 1);
1262
1225
  }
1263
1226
  }, t;
1264
- }(Kt);
1265
- const vt = [], xt = {}, Tr = (e, t = 0) => {
1266
- if (vt.indexOf(e) == -1) {
1267
- const n = new Sr(t);
1268
- xt[e] = n, vt.push(e);
1227
+ }(zt);
1228
+ const pt = [], mt = {}, dr = (e, t = 0) => {
1229
+ if (pt.indexOf(e) == -1) {
1230
+ const n = new cr(t);
1231
+ mt[e] = n, pt.push(e);
1269
1232
  }
1270
- return xt[e];
1271
- }, X = [];
1272
- function wr(e, t) {
1233
+ return mt[e];
1234
+ }, V = [];
1235
+ function pr(e, t) {
1273
1236
  return {
1274
- subscribe: Pe(e, t).subscribe
1237
+ subscribe: Ae(e, t).subscribe
1275
1238
  };
1276
1239
  }
1277
- function Pe(e, t = B) {
1240
+ function Ae(e, t = B) {
1278
1241
  let n;
1279
1242
  const r = /* @__PURE__ */ new Set();
1280
- function i(a) {
1281
- if (Ut(e, a) && (e = a, n)) {
1282
- const u = !X.length;
1243
+ function i(s) {
1244
+ if (Lt(e, s) && (e = s, n)) {
1245
+ const u = !V.length;
1283
1246
  for (const l of r)
1284
- l[1](), X.push(l, e);
1247
+ l[1](), V.push(l, e);
1285
1248
  if (u) {
1286
- for (let l = 0; l < X.length; l += 2)
1287
- X[l][0](X[l + 1]);
1288
- X.length = 0;
1249
+ for (let l = 0; l < V.length; l += 2)
1250
+ V[l][0](V[l + 1]);
1251
+ V.length = 0;
1289
1252
  }
1290
1253
  }
1291
1254
  }
1292
- function o(a) {
1293
- i(a(e));
1255
+ function o(s) {
1256
+ i(s(e));
1294
1257
  }
1295
- function s(a, u = B) {
1296
- const l = [a, u];
1297
- return r.add(l), r.size === 1 && (n = t(i, o) || B), a(e), () => {
1258
+ function a(s, u = B) {
1259
+ const l = [s, u];
1260
+ return r.add(l), r.size === 1 && (n = t(i, o) || B), s(e), () => {
1298
1261
  r.delete(l), r.size === 0 && n && (n(), n = null);
1299
1262
  };
1300
1263
  }
1301
- return { set: i, update: o, subscribe: s };
1264
+ return { set: i, update: o, subscribe: a };
1302
1265
  }
1303
- function ee(e, t, n) {
1266
+ function K(e, t, n) {
1304
1267
  const r = !Array.isArray(e), i = r ? [e] : e;
1305
1268
  if (!i.every(Boolean))
1306
1269
  throw new Error("derived() expects stores as input, got a falsy value");
1307
1270
  const o = t.length < 2;
1308
- return wr(n, (s, a) => {
1271
+ return pr(n, (a, s) => {
1309
1272
  let u = !1;
1310
1273
  const l = [];
1311
1274
  let h = 0, f = B;
@@ -1313,10 +1276,10 @@ function ee(e, t, n) {
1313
1276
  if (h)
1314
1277
  return;
1315
1278
  f();
1316
- const p = t(r ? l[0] : l, s, a);
1317
- o ? s(p) : f = he(p) ? p : B;
1279
+ const p = t(r ? l[0] : l, a, s);
1280
+ o ? a(p) : f = le(p) ? p : B;
1318
1281
  }, d = i.map(
1319
- (p, m) => Dt(
1282
+ (p, m) => Nt(
1320
1283
  p,
1321
1284
  (x) => {
1322
1285
  l[m] = x, h &= ~(1 << m), u && c();
@@ -1327,119 +1290,119 @@ function ee(e, t, n) {
1327
1290
  )
1328
1291
  );
1329
1292
  return u = !0, c(), function() {
1330
- F(d), f(), u = !1;
1293
+ G(d), f(), u = !1;
1331
1294
  };
1332
1295
  });
1333
1296
  }
1334
- var zo = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
1335
- function Hr(e) {
1297
+ var Mo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1298
+ function mr(e) {
1336
1299
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1337
1300
  }
1338
- var Br = function(t) {
1339
- return Ar(t) && !Pr(t);
1301
+ var br = function(t) {
1302
+ return gr(t) && !yr(t);
1340
1303
  };
1341
- function Ar(e) {
1304
+ function gr(e) {
1342
1305
  return !!e && typeof e == "object";
1343
1306
  }
1344
- function Pr(e) {
1307
+ function yr(e) {
1345
1308
  var t = Object.prototype.toString.call(e);
1346
- return t === "[object RegExp]" || t === "[object Date]" || Lr(e);
1309
+ return t === "[object RegExp]" || t === "[object Date]" || xr(e);
1347
1310
  }
1348
- var Or = typeof Symbol == "function" && Symbol.for, Ir = Or ? Symbol.for("react.element") : 60103;
1349
- function Lr(e) {
1350
- return e.$$typeof === Ir;
1311
+ var _r = typeof Symbol == "function" && Symbol.for, vr = _r ? Symbol.for("react.element") : 60103;
1312
+ function xr(e) {
1313
+ return e.$$typeof === vr;
1351
1314
  }
1352
- function Nr(e) {
1315
+ function Er(e) {
1353
1316
  return Array.isArray(e) ? [] : {};
1354
1317
  }
1355
- function ue(e, t) {
1356
- return t.clone !== !1 && t.isMergeableObject(e) ? Q(Nr(e), e, t) : e;
1318
+ function ae(e, t) {
1319
+ return t.clone !== !1 && t.isMergeableObject(e) ? q(Er(e), e, t) : e;
1357
1320
  }
1358
- function Cr(e, t, n) {
1321
+ function Sr(e, t, n) {
1359
1322
  return e.concat(t).map(function(r) {
1360
- return ue(r, n);
1323
+ return ae(r, n);
1361
1324
  });
1362
1325
  }
1363
- function Mr(e, t) {
1326
+ function Tr(e, t) {
1364
1327
  if (!t.customMerge)
1365
- return Q;
1328
+ return q;
1366
1329
  var n = t.customMerge(e);
1367
- return typeof n == "function" ? n : Q;
1330
+ return typeof n == "function" ? n : q;
1368
1331
  }
1369
- function $r(e) {
1332
+ function wr(e) {
1370
1333
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1371
1334
  return Object.propertyIsEnumerable.call(e, t);
1372
1335
  }) : [];
1373
1336
  }
1374
- function Et(e) {
1375
- return Object.keys(e).concat($r(e));
1337
+ function bt(e) {
1338
+ return Object.keys(e).concat(wr(e));
1376
1339
  }
1377
- function tn(e, t) {
1340
+ function qt(e, t) {
1378
1341
  try {
1379
1342
  return t in e;
1380
- } catch (n) {
1343
+ } catch {
1381
1344
  return !1;
1382
1345
  }
1383
1346
  }
1384
- function Rr(e, t) {
1385
- return tn(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1347
+ function Hr(e, t) {
1348
+ return qt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1386
1349
  }
1387
- function Ur(e, t, n) {
1350
+ function Br(e, t, n) {
1388
1351
  var r = {};
1389
- return n.isMergeableObject(e) && Et(e).forEach(function(i) {
1390
- r[i] = ue(e[i], n);
1391
- }), Et(t).forEach(function(i) {
1392
- Rr(e, i) || (tn(e, i) && n.isMergeableObject(t[i]) ? r[i] = Mr(i, n)(e[i], t[i], n) : r[i] = ue(t[i], n));
1352
+ return n.isMergeableObject(e) && bt(e).forEach(function(i) {
1353
+ r[i] = ae(e[i], n);
1354
+ }), bt(t).forEach(function(i) {
1355
+ Hr(e, i) || (qt(e, i) && n.isMergeableObject(t[i]) ? r[i] = Tr(i, n)(e[i], t[i], n) : r[i] = ae(t[i], n));
1393
1356
  }), r;
1394
1357
  }
1395
- function Q(e, t, n) {
1396
- n = n || {}, n.arrayMerge = n.arrayMerge || Cr, n.isMergeableObject = n.isMergeableObject || Br, n.cloneUnlessOtherwiseSpecified = ue;
1358
+ function q(e, t, n) {
1359
+ n = n || {}, n.arrayMerge = n.arrayMerge || Sr, n.isMergeableObject = n.isMergeableObject || br, n.cloneUnlessOtherwiseSpecified = ae;
1397
1360
  var r = Array.isArray(t), i = Array.isArray(e), o = r === i;
1398
- return o ? r ? n.arrayMerge(e, t, n) : Ur(e, t, n) : ue(t, n);
1361
+ return o ? r ? n.arrayMerge(e, t, n) : Br(e, t, n) : ae(t, n);
1399
1362
  }
1400
- Q.all = function(t, n) {
1363
+ q.all = function(t, n) {
1401
1364
  if (!Array.isArray(t))
1402
1365
  throw new Error("first argument should be an array");
1403
1366
  return t.reduce(function(r, i) {
1404
- return Q(r, i, n);
1367
+ return q(r, i, n);
1405
1368
  }, {});
1406
1369
  };
1407
- var Dr = Q, Gr = Dr;
1408
- const Fr = /* @__PURE__ */ Hr(Gr);
1409
- function Re(e, t) {
1410
- var n = t && t.cache ? t.cache : Zr, r = t && t.serializer ? t.serializer : Wr, i = t && t.strategy ? t.strategy : kr;
1370
+ var Ar = q, Pr = Ar;
1371
+ const Or = /* @__PURE__ */ mr(Pr);
1372
+ function Me(e, t) {
1373
+ var n = t && t.cache ? t.cache : Rr, r = t && t.serializer ? t.serializer : Mr, i = t && t.strategy ? t.strategy : Lr;
1411
1374
  return i(e, {
1412
1375
  cache: n,
1413
1376
  serializer: r
1414
1377
  });
1415
1378
  }
1416
- function jr(e) {
1379
+ function Ir(e) {
1417
1380
  return e == null || typeof e == "number" || typeof e == "boolean";
1418
1381
  }
1419
- function nn(e, t, n, r) {
1420
- var i = jr(r) ? r : n(r), o = t.get(i);
1421
- return typeof o == "undefined" && (o = e.call(this, r), t.set(i, o)), o;
1382
+ function Qt(e, t, n, r) {
1383
+ var i = Ir(r) ? r : n(r), o = t.get(i);
1384
+ return typeof o > "u" && (o = e.call(this, r), t.set(i, o)), o;
1422
1385
  }
1423
- function rn(e, t, n) {
1386
+ function Jt(e, t, n) {
1424
1387
  var r = Array.prototype.slice.call(arguments, 3), i = n(r), o = t.get(i);
1425
- return typeof o == "undefined" && (o = e.apply(this, r), t.set(i, o)), o;
1388
+ return typeof o > "u" && (o = e.apply(this, r), t.set(i, o)), o;
1426
1389
  }
1427
- function ot(e, t, n, r, i) {
1390
+ function rt(e, t, n, r, i) {
1428
1391
  return n.bind(t, e, r, i);
1429
1392
  }
1430
- function kr(e, t) {
1431
- var n = e.length === 1 ? nn : rn;
1432
- return ot(e, this, n, t.cache.create(), t.serializer);
1393
+ function Lr(e, t) {
1394
+ var n = e.length === 1 ? Qt : Jt;
1395
+ return rt(e, this, n, t.cache.create(), t.serializer);
1433
1396
  }
1434
- function Vr(e, t) {
1435
- return ot(e, this, rn, t.cache.create(), t.serializer);
1397
+ function Nr(e, t) {
1398
+ return rt(e, this, Jt, t.cache.create(), t.serializer);
1436
1399
  }
1437
- function Xr(e, t) {
1438
- return ot(e, this, nn, t.cache.create(), t.serializer);
1400
+ function Cr(e, t) {
1401
+ return rt(e, this, Qt, t.cache.create(), t.serializer);
1439
1402
  }
1440
- var Wr = function() {
1403
+ var Mr = function() {
1441
1404
  return JSON.stringify(arguments);
1442
- }, zr = (
1405
+ }, $r = (
1443
1406
  /** @class */
1444
1407
  function() {
1445
1408
  function e() {
@@ -1451,13 +1414,13 @@ var Wr = function() {
1451
1414
  this.cache[t] = n;
1452
1415
  }, e;
1453
1416
  }()
1454
- ), Zr = {
1417
+ ), Rr = {
1455
1418
  create: function() {
1456
- return new zr();
1419
+ return new $r();
1457
1420
  }
1458
- }, Ue = {
1459
- variadic: Vr,
1460
- monadic: Xr
1421
+ }, $e = {
1422
+ variadic: Nr,
1423
+ monadic: Cr
1461
1424
  }, b;
1462
1425
  (function(e) {
1463
1426
  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";
@@ -1466,47 +1429,47 @@ var v;
1466
1429
  (function(e) {
1467
1430
  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";
1468
1431
  })(v || (v = {}));
1469
- var J;
1432
+ var Q;
1470
1433
  (function(e) {
1471
1434
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1472
- })(J || (J = {}));
1473
- function St(e) {
1435
+ })(Q || (Q = {}));
1436
+ function gt(e) {
1474
1437
  return e.type === v.literal;
1475
1438
  }
1476
- function qr(e) {
1439
+ function Ur(e) {
1477
1440
  return e.type === v.argument;
1478
1441
  }
1479
- function on(e) {
1442
+ function Yt(e) {
1480
1443
  return e.type === v.number;
1481
1444
  }
1482
- function sn(e) {
1445
+ function Kt(e) {
1483
1446
  return e.type === v.date;
1484
1447
  }
1485
- function an(e) {
1448
+ function en(e) {
1486
1449
  return e.type === v.time;
1487
1450
  }
1488
- function un(e) {
1451
+ function tn(e) {
1489
1452
  return e.type === v.select;
1490
1453
  }
1491
- function ln(e) {
1454
+ function nn(e) {
1492
1455
  return e.type === v.plural;
1493
1456
  }
1494
- function Qr(e) {
1457
+ function Dr(e) {
1495
1458
  return e.type === v.pound;
1496
1459
  }
1497
- function hn(e) {
1460
+ function rn(e) {
1498
1461
  return e.type === v.tag;
1499
1462
  }
1500
- function fn(e) {
1501
- return !!(e && typeof e == "object" && e.type === J.number);
1463
+ function on(e) {
1464
+ return !!(e && typeof e == "object" && e.type === Q.number);
1502
1465
  }
1503
- function qe(e) {
1504
- return !!(e && typeof e == "object" && e.type === J.dateTime);
1466
+ function ze(e) {
1467
+ return !!(e && typeof e == "object" && e.type === Q.dateTime);
1505
1468
  }
1506
- var cn = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Jr = /(?:[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;
1507
- function Yr(e) {
1469
+ var sn = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Gr = /(?:[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;
1470
+ function Fr(e) {
1508
1471
  var t = {};
1509
- return e.replace(Jr, function(n) {
1472
+ return e.replace(Gr, function(n) {
1510
1473
  var r = n.length;
1511
1474
  switch (n[0]) {
1512
1475
  case "G":
@@ -1595,36 +1558,36 @@ function Yr(e) {
1595
1558
  return "";
1596
1559
  }), t;
1597
1560
  }
1598
- var Kr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1599
- function ei(e) {
1561
+ var jr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1562
+ function kr(e) {
1600
1563
  if (e.length === 0)
1601
1564
  throw new Error("Number skeleton cannot be empty");
1602
- for (var t = e.split(Kr).filter(function(c) {
1565
+ for (var t = e.split(jr).filter(function(c) {
1603
1566
  return c.length > 0;
1604
1567
  }), n = [], r = 0, i = t; r < i.length; r++) {
1605
- var o = i[r], s = o.split("/");
1606
- if (s.length === 0)
1568
+ var o = i[r], a = o.split("/");
1569
+ if (a.length === 0)
1607
1570
  throw new Error("Invalid number skeleton");
1608
- for (var a = s[0], u = s.slice(1), l = 0, h = u; l < h.length; l++) {
1571
+ for (var s = a[0], u = a.slice(1), l = 0, h = u; l < h.length; l++) {
1609
1572
  var f = h[l];
1610
1573
  if (f.length === 0)
1611
1574
  throw new Error("Invalid number skeleton");
1612
1575
  }
1613
- n.push({ stem: a, options: u });
1576
+ n.push({ stem: s, options: u });
1614
1577
  }
1615
1578
  return n;
1616
1579
  }
1617
- function ti(e) {
1580
+ function Vr(e) {
1618
1581
  return e.replace(/^(.*?)-/, "");
1619
1582
  }
1620
- var Tt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, dn = /^(@+)?(\+|#+)?[rs]?$/g, ni = /(\*)(0+)|(#+)(0+)|(0+)/g, pn = /^(0+)$/;
1621
- function wt(e) {
1583
+ var yt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, an = /^(@+)?(\+|#+)?[rs]?$/g, Xr = /(\*)(0+)|(#+)(0+)|(0+)/g, un = /^(0+)$/;
1584
+ function _t(e) {
1622
1585
  var t = {};
1623
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(dn, function(n, r, i) {
1586
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(an, function(n, r, i) {
1624
1587
  return typeof i != "string" ? (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length) : i === "+" ? t.minimumSignificantDigits = r.length : r[0] === "#" ? t.maximumSignificantDigits = r.length : (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length + (typeof i == "string" ? i.length : 0)), "";
1625
1588
  }), t;
1626
1589
  }
1627
- function mn(e) {
1590
+ function ln(e) {
1628
1591
  switch (e) {
1629
1592
  case "sign-auto":
1630
1593
  return {
@@ -1664,7 +1627,7 @@ function mn(e) {
1664
1627
  };
1665
1628
  }
1666
1629
  }
1667
- function ri(e) {
1630
+ function Wr(e) {
1668
1631
  var t;
1669
1632
  if (e[0] === "E" && e[1] === "E" ? (t = {
1670
1633
  notation: "engineering"
@@ -1672,17 +1635,17 @@ function ri(e) {
1672
1635
  notation: "scientific"
1673
1636
  }, e = e.slice(1)), t) {
1674
1637
  var n = e.slice(0, 2);
1675
- if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !pn.test(e))
1638
+ if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !un.test(e))
1676
1639
  throw new Error("Malformed concise eng/scientific notation");
1677
1640
  t.minimumIntegerDigits = e.length;
1678
1641
  }
1679
1642
  return t;
1680
1643
  }
1681
- function Ht(e) {
1682
- var t = {}, n = mn(e);
1644
+ function vt(e) {
1645
+ var t = {}, n = ln(e);
1683
1646
  return n || t;
1684
1647
  }
1685
- function ii(e) {
1648
+ function zr(e) {
1686
1649
  for (var t = {}, n = 0, r = e; n < r.length; n++) {
1687
1650
  var i = r[n];
1688
1651
  switch (i.stem) {
@@ -1706,7 +1669,7 @@ function ii(e) {
1706
1669
  continue;
1707
1670
  case "measure-unit":
1708
1671
  case "unit":
1709
- t.style = "unit", t.unit = ti(i.options[0]);
1672
+ t.style = "unit", t.unit = Vr(i.options[0]);
1710
1673
  continue;
1711
1674
  case "compact-short":
1712
1675
  case "K":
@@ -1718,12 +1681,12 @@ function ii(e) {
1718
1681
  continue;
1719
1682
  case "scientific":
1720
1683
  t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1721
- return _(_({}, u), Ht(l));
1684
+ return _(_({}, u), vt(l));
1722
1685
  }, {}));
1723
1686
  continue;
1724
1687
  case "engineering":
1725
1688
  t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1726
- return _(_({}, u), Ht(l));
1689
+ return _(_({}, u), vt(l));
1727
1690
  }, {}));
1728
1691
  continue;
1729
1692
  case "notation-simple":
@@ -1768,7 +1731,7 @@ function ii(e) {
1768
1731
  case "integer-width":
1769
1732
  if (i.options.length > 1)
1770
1733
  throw new RangeError("integer-width stems only accept a single optional option");
1771
- i.options[0].replace(ni, function(u, l, h, f, c, d) {
1734
+ i.options[0].replace(Xr, function(u, l, h, f, c, d) {
1772
1735
  if (l)
1773
1736
  t.minimumIntegerDigits = h.length;
1774
1737
  else {
@@ -1781,32 +1744,32 @@ function ii(e) {
1781
1744
  });
1782
1745
  continue;
1783
1746
  }
1784
- if (pn.test(i.stem)) {
1747
+ if (un.test(i.stem)) {
1785
1748
  t.minimumIntegerDigits = i.stem.length;
1786
1749
  continue;
1787
1750
  }
1788
- if (Tt.test(i.stem)) {
1751
+ if (yt.test(i.stem)) {
1789
1752
  if (i.options.length > 1)
1790
1753
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1791
- i.stem.replace(Tt, function(u, l, h, f, c, d) {
1754
+ i.stem.replace(yt, function(u, l, h, f, c, d) {
1792
1755
  return h === "*" ? t.minimumFractionDigits = l.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1793
1756
  });
1794
1757
  var o = i.options[0];
1795
- o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), wt(o)));
1758
+ o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), _t(o)));
1796
1759
  continue;
1797
1760
  }
1798
- if (dn.test(i.stem)) {
1799
- t = _(_({}, t), wt(i.stem));
1761
+ if (an.test(i.stem)) {
1762
+ t = _(_({}, t), _t(i.stem));
1800
1763
  continue;
1801
1764
  }
1802
- var s = mn(i.stem);
1803
- s && (t = _(_({}, t), s));
1804
- var a = ri(i.stem);
1765
+ var a = ln(i.stem);
1805
1766
  a && (t = _(_({}, t), a));
1767
+ var s = Wr(i.stem);
1768
+ s && (t = _(_({}, t), s));
1806
1769
  }
1807
1770
  return t;
1808
1771
  }
1809
- var ge = {
1772
+ var be = {
1810
1773
  "001": [
1811
1774
  "H",
1812
1775
  "h"
@@ -3221,22 +3184,22 @@ var ge = {
3221
3184
  "h"
3222
3185
  ]
3223
3186
  };
3224
- function oi(e, t) {
3187
+ function Zr(e, t) {
3225
3188
  for (var n = "", r = 0; r < e.length; r++) {
3226
3189
  var i = e.charAt(r);
3227
3190
  if (i === "j") {
3228
3191
  for (var o = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
3229
3192
  o++, r++;
3230
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = si(t);
3231
- for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
3193
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = qr(t);
3194
+ for ((l == "H" || l == "k") && (s = 0); s-- > 0; )
3232
3195
  n += u;
3233
- for (; s-- > 0; )
3196
+ for (; a-- > 0; )
3234
3197
  n = l + n;
3235
3198
  } else i === "J" ? n += "H" : n += i;
3236
3199
  }
3237
3200
  return n;
3238
3201
  }
3239
- function si(e) {
3202
+ function qr(e) {
3240
3203
  var t = e.hourCycle;
3241
3204
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3242
3205
  e.hourCycles && // @ts-ignore
@@ -3255,23 +3218,23 @@ function si(e) {
3255
3218
  }
3256
3219
  var n = e.language, r;
3257
3220
  n !== "root" && (r = e.maximize().region);
3258
- var i = ge[r || ""] || ge[n || ""] || ge["".concat(n, "-001")] || ge["001"];
3221
+ var i = be[r || ""] || be[n || ""] || be["".concat(n, "-001")] || be["001"];
3259
3222
  return i[0];
3260
3223
  }
3261
- var De, ai = new RegExp("^".concat(cn.source, "*")), ui = new RegExp("".concat(cn.source, "*$"));
3224
+ var Re, Qr = new RegExp("^".concat(sn.source, "*")), Jr = new RegExp("".concat(sn.source, "*$"));
3262
3225
  function g(e, t) {
3263
3226
  return { start: e, end: t };
3264
3227
  }
3265
- var li = !!String.prototype.startsWith && "_a".startsWith("a", 1), hi = !!String.fromCodePoint, fi = !!Object.fromEntries, ci = !!String.prototype.codePointAt, di = !!String.prototype.trimStart, pi = !!String.prototype.trimEnd, mi = !!Number.isSafeInteger, bi = mi ? Number.isSafeInteger : function(e) {
3228
+ var Yr = !!String.prototype.startsWith && "_a".startsWith("a", 1), Kr = !!String.fromCodePoint, ei = !!Object.fromEntries, ti = !!String.prototype.codePointAt, ni = !!String.prototype.trimStart, ri = !!String.prototype.trimEnd, ii = !!Number.isSafeInteger, oi = ii ? Number.isSafeInteger : function(e) {
3266
3229
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3267
- }, Qe = !0;
3230
+ }, Ze = !0;
3268
3231
  try {
3269
- var gi = gn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3270
- Qe = ((De = gi.exec("a")) === null || De === void 0 ? void 0 : De[0]) === "a";
3271
- } catch (e) {
3272
- Qe = !1;
3232
+ var si = fn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3233
+ Ze = ((Re = si.exec("a")) === null || Re === void 0 ? void 0 : Re[0]) === "a";
3234
+ } catch {
3235
+ Ze = !1;
3273
3236
  }
3274
- var Bt = li ? (
3237
+ var xt = Yr ? (
3275
3238
  // Native
3276
3239
  function(t, n, r) {
3277
3240
  return t.startsWith(n, r);
@@ -3281,31 +3244,31 @@ var Bt = li ? (
3281
3244
  function(t, n, r) {
3282
3245
  return t.slice(r, r + n.length) === n;
3283
3246
  }
3284
- ), Je = hi ? String.fromCodePoint : (
3247
+ ), qe = Kr ? String.fromCodePoint : (
3285
3248
  // IE11
3286
3249
  function() {
3287
3250
  for (var t = [], n = 0; n < arguments.length; n++)
3288
3251
  t[n] = arguments[n];
3289
- for (var r = "", i = t.length, o = 0, s; i > o; ) {
3290
- if (s = t[o++], s > 1114111)
3291
- throw RangeError(s + " is not a valid code point");
3292
- r += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
3252
+ for (var r = "", i = t.length, o = 0, a; i > o; ) {
3253
+ if (a = t[o++], a > 1114111)
3254
+ throw RangeError(a + " is not a valid code point");
3255
+ r += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
3293
3256
  }
3294
3257
  return r;
3295
3258
  }
3296
- ), At = (
3259
+ ), Et = (
3297
3260
  // native
3298
- fi ? Object.fromEntries : (
3261
+ ei ? Object.fromEntries : (
3299
3262
  // Ponyfill
3300
3263
  function(t) {
3301
3264
  for (var n = {}, r = 0, i = t; r < i.length; r++) {
3302
- var o = i[r], s = o[0], a = o[1];
3303
- n[s] = a;
3265
+ var o = i[r], a = o[0], s = o[1];
3266
+ n[a] = s;
3304
3267
  }
3305
3268
  return n;
3306
3269
  }
3307
3270
  )
3308
- ), bn = ci ? (
3271
+ ), hn = ti ? (
3309
3272
  // Native
3310
3273
  function(t, n) {
3311
3274
  return t.codePointAt(n);
@@ -3319,7 +3282,7 @@ var Bt = li ? (
3319
3282
  return i < 55296 || i > 56319 || n + 1 === r || (o = t.charCodeAt(n + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3320
3283
  }
3321
3284
  }
3322
- ), yi = di ? (
3285
+ ), ai = ni ? (
3323
3286
  // Native
3324
3287
  function(t) {
3325
3288
  return t.trimStart();
@@ -3327,9 +3290,9 @@ var Bt = li ? (
3327
3290
  ) : (
3328
3291
  // Ponyfill
3329
3292
  function(t) {
3330
- return t.replace(ai, "");
3293
+ return t.replace(Qr, "");
3331
3294
  }
3332
- ), _i = pi ? (
3295
+ ), ui = ri ? (
3333
3296
  // Native
3334
3297
  function(t) {
3335
3298
  return t.trimEnd();
@@ -3337,32 +3300,32 @@ var Bt = li ? (
3337
3300
  ) : (
3338
3301
  // Ponyfill
3339
3302
  function(t) {
3340
- return t.replace(ui, "");
3303
+ return t.replace(Jr, "");
3341
3304
  }
3342
3305
  );
3343
- function gn(e, t) {
3306
+ function fn(e, t) {
3344
3307
  return new RegExp(e, t);
3345
3308
  }
3346
- var Ye;
3347
- if (Qe) {
3348
- var Pt = gn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3349
- Ye = function(t, n) {
3309
+ var Qe;
3310
+ if (Ze) {
3311
+ var St = fn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3312
+ Qe = function(t, n) {
3350
3313
  var r;
3351
- Pt.lastIndex = n;
3352
- var i = Pt.exec(t);
3314
+ St.lastIndex = n;
3315
+ var i = St.exec(t);
3353
3316
  return (r = i[1]) !== null && r !== void 0 ? r : "";
3354
3317
  };
3355
3318
  } else
3356
- Ye = function(t, n) {
3319
+ Qe = function(t, n) {
3357
3320
  for (var r = []; ; ) {
3358
- var i = bn(t, n);
3359
- if (i === void 0 || yn(i) || Si(i))
3321
+ var i = hn(t, n);
3322
+ if (i === void 0 || cn(i) || ci(i))
3360
3323
  break;
3361
3324
  r.push(i), n += i >= 65536 ? 2 : 1;
3362
3325
  }
3363
- return Je.apply(void 0, r);
3326
+ return qe.apply(void 0, r);
3364
3327
  };
3365
- var vi = (
3328
+ var li = (
3366
3329
  /** @class */
3367
3330
  function() {
3368
3331
  function e(t, n) {
@@ -3376,33 +3339,33 @@ var vi = (
3376
3339
  for (var i = []; !this.isEOF(); ) {
3377
3340
  var o = this.char();
3378
3341
  if (o === 123) {
3379
- var s = this.parseArgument(t, r);
3380
- if (s.err)
3381
- return s;
3382
- i.push(s.val);
3342
+ var a = this.parseArgument(t, r);
3343
+ if (a.err)
3344
+ return a;
3345
+ i.push(a.val);
3383
3346
  } else {
3384
3347
  if (o === 125 && t > 0)
3385
3348
  break;
3386
3349
  if (o === 35 && (n === "plural" || n === "selectordinal")) {
3387
- var a = this.clonePosition();
3350
+ var s = this.clonePosition();
3388
3351
  this.bump(), i.push({
3389
3352
  type: v.pound,
3390
- location: g(a, this.clonePosition())
3353
+ location: g(s, this.clonePosition())
3391
3354
  });
3392
3355
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3393
3356
  if (r)
3394
3357
  break;
3395
3358
  return this.error(b.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
3396
- } else if (o === 60 && !this.ignoreTag && Ke(this.peek() || 0)) {
3397
- var s = this.parseTag(t, n);
3398
- if (s.err)
3399
- return s;
3400
- i.push(s.val);
3359
+ } else if (o === 60 && !this.ignoreTag && Je(this.peek() || 0)) {
3360
+ var a = this.parseTag(t, n);
3361
+ if (a.err)
3362
+ return a;
3363
+ i.push(a.val);
3401
3364
  } else {
3402
- var s = this.parseLiteral(t, n);
3403
- if (s.err)
3404
- return s;
3405
- i.push(s.val);
3365
+ var a = this.parseLiteral(t, n);
3366
+ if (a.err)
3367
+ return a;
3368
+ i.push(a.val);
3406
3369
  }
3407
3370
  }
3408
3371
  }
@@ -3424,27 +3387,27 @@ var vi = (
3424
3387
  var o = this.parseMessage(t + 1, n, !0);
3425
3388
  if (o.err)
3426
3389
  return o;
3427
- var s = o.val, a = this.clonePosition();
3390
+ var a = o.val, s = this.clonePosition();
3428
3391
  if (this.bumpIf("</")) {
3429
- if (this.isEOF() || !Ke(this.char()))
3430
- return this.error(b.INVALID_TAG, g(a, this.clonePosition()));
3392
+ if (this.isEOF() || !Je(this.char()))
3393
+ return this.error(b.INVALID_TAG, g(s, this.clonePosition()));
3431
3394
  var u = this.clonePosition(), l = this.parseTagName();
3432
3395
  return i !== l ? this.error(b.UNMATCHED_CLOSING_TAG, g(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3433
3396
  val: {
3434
3397
  type: v.tag,
3435
3398
  value: i,
3436
- children: s,
3399
+ children: a,
3437
3400
  location: g(r, this.clonePosition())
3438
3401
  },
3439
3402
  err: null
3440
- } : this.error(b.INVALID_TAG, g(a, this.clonePosition())));
3403
+ } : this.error(b.INVALID_TAG, g(s, this.clonePosition())));
3441
3404
  } else
3442
3405
  return this.error(b.UNCLOSED_TAG, g(r, this.clonePosition()));
3443
3406
  } else
3444
3407
  return this.error(b.INVALID_TAG, g(r, this.clonePosition()));
3445
3408
  }, e.prototype.parseTagName = function() {
3446
3409
  var t = this.offset();
3447
- for (this.bump(); !this.isEOF() && Ei(this.char()); )
3410
+ for (this.bump(); !this.isEOF() && fi(this.char()); )
3448
3411
  this.bump();
3449
3412
  return this.message.slice(t, this.offset());
3450
3413
  }, e.prototype.parseLiteral = function(t, n) {
@@ -3454,16 +3417,16 @@ var vi = (
3454
3417
  i += o;
3455
3418
  continue;
3456
3419
  }
3457
- var s = this.tryParseUnquoted(t, n);
3458
- if (s) {
3459
- i += s;
3460
- continue;
3461
- }
3462
- var a = this.tryParseLeftAngleBracket();
3420
+ var a = this.tryParseUnquoted(t, n);
3463
3421
  if (a) {
3464
3422
  i += a;
3465
3423
  continue;
3466
3424
  }
3425
+ var s = this.tryParseLeftAngleBracket();
3426
+ if (s) {
3427
+ i += s;
3428
+ continue;
3429
+ }
3467
3430
  break;
3468
3431
  }
3469
3432
  var u = g(r, this.clonePosition());
@@ -3473,7 +3436,7 @@ var vi = (
3473
3436
  };
3474
3437
  }, e.prototype.tryParseLeftAngleBracket = function() {
3475
3438
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3476
- !xi(this.peek() || 0)) ? (this.bump(), "<") : null;
3439
+ !hi(this.peek() || 0)) ? (this.bump(), "<") : null;
3477
3440
  }, e.prototype.tryParseQuote = function(t) {
3478
3441
  if (this.isEOF() || this.char() !== 39)
3479
3442
  return null;
@@ -3507,12 +3470,12 @@ var vi = (
3507
3470
  n.push(r);
3508
3471
  this.bump();
3509
3472
  }
3510
- return Je.apply(void 0, n);
3473
+ return qe.apply(void 0, n);
3511
3474
  }, e.prototype.tryParseUnquoted = function(t, n) {
3512
3475
  if (this.isEOF())
3513
3476
  return null;
3514
3477
  var r = this.char();
3515
- return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), Je(r));
3478
+ return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), qe(r));
3516
3479
  }, e.prototype.parseArgument = function(t, n) {
3517
3480
  var r = this.clonePosition();
3518
3481
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3541,15 +3504,15 @@ var vi = (
3541
3504
  return this.error(b.MALFORMED_ARGUMENT, g(r, this.clonePosition()));
3542
3505
  }
3543
3506
  }, e.prototype.parseIdentifierIfPossible = function() {
3544
- var t = this.clonePosition(), n = this.offset(), r = Ye(this.message, n), i = n + r.length;
3507
+ var t = this.clonePosition(), n = this.offset(), r = Qe(this.message, n), i = n + r.length;
3545
3508
  this.bumpTo(i);
3546
- var o = this.clonePosition(), s = g(t, o);
3547
- return { value: r, location: s };
3509
+ var o = this.clonePosition(), a = g(t, o);
3510
+ return { value: r, location: a };
3548
3511
  }, e.prototype.parseArgumentOptions = function(t, n, r, i) {
3549
- var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, u = this.clonePosition();
3550
- switch (a) {
3512
+ var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, u = this.clonePosition();
3513
+ switch (s) {
3551
3514
  case "":
3552
- return this.error(b.EXPECT_ARGUMENT_TYPE, g(s, u));
3515
+ return this.error(b.EXPECT_ARGUMENT_TYPE, g(a, u));
3553
3516
  case "number":
3554
3517
  case "date":
3555
3518
  case "time": {
@@ -3560,7 +3523,7 @@ var vi = (
3560
3523
  var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3561
3524
  if (f.err)
3562
3525
  return f;
3563
- var c = _i(f.val);
3526
+ var c = ui(f.val);
3564
3527
  if (c.length === 0)
3565
3528
  return this.error(b.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
3566
3529
  var d = g(h, this.clonePosition());
@@ -3570,9 +3533,9 @@ var vi = (
3570
3533
  if (p.err)
3571
3534
  return p;
3572
3535
  var m = g(i, this.clonePosition());
3573
- if (l && Bt(l == null ? void 0 : l.style, "::", 0)) {
3574
- var x = yi(l.style.slice(2));
3575
- if (a === "number") {
3536
+ if (l && xt(l?.style, "::", 0)) {
3537
+ var x = ai(l.style.slice(2));
3538
+ if (s === "number") {
3576
3539
  var f = this.parseNumberSkeletonFromString(x, l.styleLocation);
3577
3540
  return f.err ? f : {
3578
3541
  val: { type: v.number, value: r, location: m, style: f.val },
@@ -3582,13 +3545,13 @@ var vi = (
3582
3545
  if (x.length === 0)
3583
3546
  return this.error(b.EXPECT_DATE_TIME_SKELETON, m);
3584
3547
  var T = x;
3585
- this.locale && (T = oi(x, this.locale));
3548
+ this.locale && (T = Zr(x, this.locale));
3586
3549
  var c = {
3587
- type: J.dateTime,
3550
+ type: Q.dateTime,
3588
3551
  pattern: T,
3589
3552
  location: l.styleLocation,
3590
- parsedOptions: this.shouldParseSkeletons ? Yr(T) : {}
3591
- }, w = a === "date" ? v.date : v.time;
3553
+ parsedOptions: this.shouldParseSkeletons ? Fr(T) : {}
3554
+ }, w = s === "date" ? v.date : v.time;
3592
3555
  return {
3593
3556
  val: { type: w, value: r, location: m, style: c },
3594
3557
  err: null
@@ -3597,10 +3560,10 @@ var vi = (
3597
3560
  }
3598
3561
  return {
3599
3562
  val: {
3600
- type: a === "number" ? v.number : a === "date" ? v.date : v.time,
3563
+ type: s === "number" ? v.number : s === "date" ? v.date : v.time,
3601
3564
  value: r,
3602
3565
  location: m,
3603
- style: (o = l == null ? void 0 : l.style) !== null && o !== void 0 ? o : null
3566
+ style: (o = l?.style) !== null && o !== void 0 ? o : null
3604
3567
  },
3605
3568
  err: null
3606
3569
  };
@@ -3612,45 +3575,45 @@ var vi = (
3612
3575
  if (this.bumpSpace(), !this.bumpIf(","))
3613
3576
  return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, g(E, _({}, E)));
3614
3577
  this.bumpSpace();
3615
- var I = this.parseIdentifierIfPossible(), H = 0;
3616
- if (a !== "select" && I.value === "offset") {
3578
+ var O = this.parseIdentifierIfPossible(), H = 0;
3579
+ if (s !== "select" && O.value === "offset") {
3617
3580
  if (!this.bumpIf(":"))
3618
3581
  return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
3619
3582
  this.bumpSpace();
3620
3583
  var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3621
3584
  if (f.err)
3622
3585
  return f;
3623
- this.bumpSpace(), I = this.parseIdentifierIfPossible(), H = f.val;
3586
+ this.bumpSpace(), O = this.parseIdentifierIfPossible(), H = f.val;
3624
3587
  }
3625
- var U = this.tryParsePluralOrSelectOptions(t, a, n, I);
3626
- if (U.err)
3627
- return U;
3588
+ var R = this.tryParsePluralOrSelectOptions(t, s, n, O);
3589
+ if (R.err)
3590
+ return R;
3628
3591
  var p = this.tryParseArgumentClose(i);
3629
3592
  if (p.err)
3630
3593
  return p;
3631
- var pe = g(i, this.clonePosition());
3632
- return a === "select" ? {
3594
+ var de = g(i, this.clonePosition());
3595
+ return s === "select" ? {
3633
3596
  val: {
3634
3597
  type: v.select,
3635
3598
  value: r,
3636
- options: At(U.val),
3637
- location: pe
3599
+ options: Et(R.val),
3600
+ location: de
3638
3601
  },
3639
3602
  err: null
3640
3603
  } : {
3641
3604
  val: {
3642
3605
  type: v.plural,
3643
3606
  value: r,
3644
- options: At(U.val),
3607
+ options: Et(R.val),
3645
3608
  offset: H,
3646
- pluralType: a === "plural" ? "cardinal" : "ordinal",
3647
- location: pe
3609
+ pluralType: s === "plural" ? "cardinal" : "ordinal",
3610
+ location: de
3648
3611
  },
3649
3612
  err: null
3650
3613
  };
3651
3614
  }
3652
3615
  default:
3653
- return this.error(b.INVALID_ARGUMENT_TYPE, g(s, u));
3616
+ return this.error(b.INVALID_ARGUMENT_TYPE, g(a, u));
3654
3617
  }
3655
3618
  }, e.prototype.tryParseArgumentClose = function(t) {
3656
3619
  return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
@@ -3692,21 +3655,21 @@ var vi = (
3692
3655
  }, e.prototype.parseNumberSkeletonFromString = function(t, n) {
3693
3656
  var r = [];
3694
3657
  try {
3695
- r = ei(t);
3696
- } catch (i) {
3658
+ r = kr(t);
3659
+ } catch {
3697
3660
  return this.error(b.INVALID_NUMBER_SKELETON, n);
3698
3661
  }
3699
3662
  return {
3700
3663
  val: {
3701
- type: J.number,
3664
+ type: Q.number,
3702
3665
  tokens: r,
3703
3666
  location: n,
3704
- parsedOptions: this.shouldParseSkeletons ? ii(r) : {}
3667
+ parsedOptions: this.shouldParseSkeletons ? zr(r) : {}
3705
3668
  },
3706
3669
  err: null
3707
3670
  };
3708
3671
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, n, r, i) {
3709
- for (var o, s = !1, a = [], u = /* @__PURE__ */ new Set(), l = i.value, h = i.location; ; ) {
3672
+ for (var o, a = !1, s = [], u = /* @__PURE__ */ new Set(), l = i.value, h = i.location; ; ) {
3710
3673
  if (l.length === 0) {
3711
3674
  var f = this.clonePosition();
3712
3675
  if (n !== "select" && this.bumpIf("=")) {
@@ -3719,7 +3682,7 @@ var vi = (
3719
3682
  }
3720
3683
  if (u.has(l))
3721
3684
  return this.error(n === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3722
- l === "other" && (s = !0), this.bumpSpace();
3685
+ l === "other" && (a = !0), this.bumpSpace();
3723
3686
  var d = this.clonePosition();
3724
3687
  if (!this.bumpIf("{"))
3725
3688
  return this.error(n === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
@@ -3729,7 +3692,7 @@ var vi = (
3729
3692
  var m = this.tryParseArgumentClose(d);
3730
3693
  if (m.err)
3731
3694
  return m;
3732
- a.push([
3695
+ s.push([
3733
3696
  l,
3734
3697
  {
3735
3698
  value: p.val,
@@ -3737,19 +3700,19 @@ var vi = (
3737
3700
  }
3738
3701
  ]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, h = o.location;
3739
3702
  }
3740
- return a.length === 0 ? this.error(n === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, g(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(b.MISSING_OTHER_CLAUSE, g(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3703
+ return s.length === 0 ? this.error(n === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, g(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(b.MISSING_OTHER_CLAUSE, g(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3741
3704
  }, e.prototype.tryParseDecimalInteger = function(t, n) {
3742
3705
  var r = 1, i = this.clonePosition();
3743
3706
  this.bumpIf("+") || this.bumpIf("-") && (r = -1);
3744
- for (var o = !1, s = 0; !this.isEOF(); ) {
3745
- var a = this.char();
3746
- if (a >= 48 && a <= 57)
3747
- o = !0, s = s * 10 + (a - 48), this.bump();
3707
+ for (var o = !1, a = 0; !this.isEOF(); ) {
3708
+ var s = this.char();
3709
+ if (s >= 48 && s <= 57)
3710
+ o = !0, a = a * 10 + (s - 48), this.bump();
3748
3711
  else
3749
3712
  break;
3750
3713
  }
3751
3714
  var u = g(i, this.clonePosition());
3752
- return o ? (s *= r, bi(s) ? { val: s, err: null } : this.error(n, u)) : this.error(t, u);
3715
+ return o ? (a *= r, oi(a) ? { val: a, err: null } : this.error(n, u)) : this.error(t, u);
3753
3716
  }, e.prototype.offset = function() {
3754
3717
  return this.position.offset;
3755
3718
  }, e.prototype.isEOF = function() {
@@ -3764,7 +3727,7 @@ var vi = (
3764
3727
  var t = this.position.offset;
3765
3728
  if (t >= this.message.length)
3766
3729
  throw Error("out of bound");
3767
- var n = bn(this.message, t);
3730
+ var n = hn(this.message, t);
3768
3731
  if (n === void 0)
3769
3732
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3770
3733
  return n;
@@ -3783,7 +3746,7 @@ var vi = (
3783
3746
  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);
3784
3747
  }
3785
3748
  }, e.prototype.bumpIf = function(t) {
3786
- if (Bt(this.message, t, this.offset())) {
3749
+ if (xt(this.message, t, this.offset())) {
3787
3750
  for (var n = 0; n < t.length; n++)
3788
3751
  this.bump();
3789
3752
  return !0;
@@ -3805,56 +3768,56 @@ var vi = (
3805
3768
  break;
3806
3769
  }
3807
3770
  }, e.prototype.bumpSpace = function() {
3808
- for (; !this.isEOF() && yn(this.char()); )
3771
+ for (; !this.isEOF() && cn(this.char()); )
3809
3772
  this.bump();
3810
3773
  }, e.prototype.peek = function() {
3811
3774
  if (this.isEOF())
3812
3775
  return null;
3813
3776
  var t = this.char(), n = this.offset(), r = this.message.charCodeAt(n + (t >= 65536 ? 2 : 1));
3814
- return r != null ? r : null;
3777
+ return r ?? null;
3815
3778
  }, e;
3816
3779
  }()
3817
3780
  );
3818
- function Ke(e) {
3781
+ function Je(e) {
3819
3782
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3820
3783
  }
3821
- function xi(e) {
3822
- return Ke(e) || e === 47;
3784
+ function hi(e) {
3785
+ return Je(e) || e === 47;
3823
3786
  }
3824
- function Ei(e) {
3787
+ function fi(e) {
3825
3788
  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;
3826
3789
  }
3827
- function yn(e) {
3790
+ function cn(e) {
3828
3791
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3829
3792
  }
3830
- function Si(e) {
3793
+ function ci(e) {
3831
3794
  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;
3832
3795
  }
3833
- function et(e) {
3796
+ function Ye(e) {
3834
3797
  e.forEach(function(t) {
3835
- if (delete t.location, un(t) || ln(t))
3798
+ if (delete t.location, tn(t) || nn(t))
3836
3799
  for (var n in t.options)
3837
- delete t.options[n].location, et(t.options[n].value);
3838
- else on(t) && fn(t.style) || (sn(t) || an(t)) && qe(t.style) ? delete t.style.location : hn(t) && et(t.children);
3800
+ delete t.options[n].location, Ye(t.options[n].value);
3801
+ else Yt(t) && on(t.style) || (Kt(t) || en(t)) && ze(t.style) ? delete t.style.location : rn(t) && Ye(t.children);
3839
3802
  });
3840
3803
  }
3841
- function Ti(e, t) {
3804
+ function di(e, t) {
3842
3805
  t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3843
- var n = new vi(e, t).parse();
3806
+ var n = new li(e, t).parse();
3844
3807
  if (n.err) {
3845
3808
  var r = SyntaxError(b[n.err.kind]);
3846
3809
  throw r.location = n.err.location, r.originalMessage = n.err.message, r;
3847
3810
  }
3848
- return t != null && t.captureLocation || et(n.val), n.val;
3811
+ return t?.captureLocation || Ye(n.val), n.val;
3849
3812
  }
3850
- var Y;
3813
+ var J;
3851
3814
  (function(e) {
3852
3815
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3853
- })(Y || (Y = {}));
3854
- var Oe = (
3816
+ })(J || (J = {}));
3817
+ var Pe = (
3855
3818
  /** @class */
3856
3819
  function(e) {
3857
- R(t, e);
3820
+ $(t, e);
3858
3821
  function t(n, r, i) {
3859
3822
  var o = e.call(this, n) || this;
3860
3823
  return o.code = r, o.originalMessage = i, o;
@@ -3863,65 +3826,65 @@ var Oe = (
3863
3826
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3864
3827
  }, t;
3865
3828
  }(Error)
3866
- ), Ot = (
3829
+ ), Tt = (
3867
3830
  /** @class */
3868
3831
  function(e) {
3869
- R(t, e);
3832
+ $(t, e);
3870
3833
  function t(n, r, i, o) {
3871
- return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Y.INVALID_VALUE, o) || this;
3834
+ return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), J.INVALID_VALUE, o) || this;
3872
3835
  }
3873
3836
  return t;
3874
- }(Oe)
3875
- ), wi = (
3837
+ }(Pe)
3838
+ ), pi = (
3876
3839
  /** @class */
3877
3840
  function(e) {
3878
- R(t, e);
3841
+ $(t, e);
3879
3842
  function t(n, r, i) {
3880
- return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), Y.INVALID_VALUE, i) || this;
3843
+ return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), J.INVALID_VALUE, i) || this;
3881
3844
  }
3882
3845
  return t;
3883
- }(Oe)
3884
- ), Hi = (
3846
+ }(Pe)
3847
+ ), mi = (
3885
3848
  /** @class */
3886
3849
  function(e) {
3887
- R(t, e);
3850
+ $(t, e);
3888
3851
  function t(n, r) {
3889
- return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), Y.MISSING_VALUE, r) || this;
3852
+ return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), J.MISSING_VALUE, r) || this;
3890
3853
  }
3891
3854
  return t;
3892
- }(Oe)
3855
+ }(Pe)
3893
3856
  ), S;
3894
3857
  (function(e) {
3895
3858
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3896
3859
  })(S || (S = {}));
3897
- function Bi(e) {
3860
+ function bi(e) {
3898
3861
  return e.length < 2 ? e : e.reduce(function(t, n) {
3899
3862
  var r = t[t.length - 1];
3900
3863
  return !r || r.type !== S.literal || n.type !== S.literal ? t.push(n) : r.value += n.value, t;
3901
3864
  }, []);
3902
3865
  }
3903
- function Ai(e) {
3866
+ function gi(e) {
3904
3867
  return typeof e == "function";
3905
3868
  }
3906
- function xe(e, t, n, r, i, o, s) {
3907
- if (e.length === 1 && St(e[0]))
3869
+ function ve(e, t, n, r, i, o, a) {
3870
+ if (e.length === 1 && gt(e[0]))
3908
3871
  return [
3909
3872
  {
3910
3873
  type: S.literal,
3911
3874
  value: e[0].value
3912
3875
  }
3913
3876
  ];
3914
- for (var a = [], u = 0, l = e; u < l.length; u++) {
3877
+ for (var s = [], u = 0, l = e; u < l.length; u++) {
3915
3878
  var h = l[u];
3916
- if (St(h)) {
3917
- a.push({
3879
+ if (gt(h)) {
3880
+ s.push({
3918
3881
  type: S.literal,
3919
3882
  value: h.value
3920
3883
  });
3921
3884
  continue;
3922
3885
  }
3923
- if (Qr(h)) {
3924
- typeof o == "number" && a.push({
3886
+ if (Dr(h)) {
3887
+ typeof o == "number" && s.push({
3925
3888
  type: S.literal,
3926
3889
  value: n.getNumberFormat(t).format(o)
3927
3890
  });
@@ -3929,89 +3892,89 @@ function xe(e, t, n, r, i, o, s) {
3929
3892
  }
3930
3893
  var f = h.value;
3931
3894
  if (!(i && f in i))
3932
- throw new Hi(f, s);
3895
+ throw new mi(f, a);
3933
3896
  var c = i[f];
3934
- if (qr(h)) {
3935
- (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3897
+ if (Ur(h)) {
3898
+ (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), s.push({
3936
3899
  type: typeof c == "string" ? S.literal : S.object,
3937
3900
  value: c
3938
3901
  });
3939
3902
  continue;
3940
3903
  }
3941
- if (sn(h)) {
3942
- var d = typeof h.style == "string" ? r.date[h.style] : qe(h.style) ? h.style.parsedOptions : void 0;
3943
- a.push({
3904
+ if (Kt(h)) {
3905
+ var d = typeof h.style == "string" ? r.date[h.style] : ze(h.style) ? h.style.parsedOptions : void 0;
3906
+ s.push({
3944
3907
  type: S.literal,
3945
3908
  value: n.getDateTimeFormat(t, d).format(c)
3946
3909
  });
3947
3910
  continue;
3948
3911
  }
3949
- if (an(h)) {
3950
- var d = typeof h.style == "string" ? r.time[h.style] : qe(h.style) ? h.style.parsedOptions : r.time.medium;
3951
- a.push({
3912
+ if (en(h)) {
3913
+ var d = typeof h.style == "string" ? r.time[h.style] : ze(h.style) ? h.style.parsedOptions : r.time.medium;
3914
+ s.push({
3952
3915
  type: S.literal,
3953
3916
  value: n.getDateTimeFormat(t, d).format(c)
3954
3917
  });
3955
3918
  continue;
3956
3919
  }
3957
- if (on(h)) {
3958
- var d = typeof h.style == "string" ? r.number[h.style] : fn(h.style) ? h.style.parsedOptions : void 0;
3959
- d && d.scale && (c = c * (d.scale || 1)), a.push({
3920
+ if (Yt(h)) {
3921
+ var d = typeof h.style == "string" ? r.number[h.style] : on(h.style) ? h.style.parsedOptions : void 0;
3922
+ d && d.scale && (c = c * (d.scale || 1)), s.push({
3960
3923
  type: S.literal,
3961
3924
  value: n.getNumberFormat(t, d).format(c)
3962
3925
  });
3963
3926
  continue;
3964
3927
  }
3965
- if (hn(h)) {
3928
+ if (rn(h)) {
3966
3929
  var p = h.children, m = h.value, x = i[m];
3967
- if (!Ai(x))
3968
- throw new wi(m, "function", s);
3969
- var T = xe(p, t, n, r, i, o), w = x(T.map(function(H) {
3930
+ if (!gi(x))
3931
+ throw new pi(m, "function", a);
3932
+ var T = ve(p, t, n, r, i, o), w = x(T.map(function(H) {
3970
3933
  return H.value;
3971
3934
  }));
3972
- Array.isArray(w) || (w = [w]), a.push.apply(a, w.map(function(H) {
3935
+ Array.isArray(w) || (w = [w]), s.push.apply(s, w.map(function(H) {
3973
3936
  return {
3974
3937
  type: typeof H == "string" ? S.literal : S.object,
3975
3938
  value: H
3976
3939
  };
3977
3940
  }));
3978
3941
  }
3979
- if (un(h)) {
3942
+ if (tn(h)) {
3980
3943
  var E = h.options[c] || h.options.other;
3981
3944
  if (!E)
3982
- throw new Ot(h.value, c, Object.keys(h.options), s);
3983
- a.push.apply(a, xe(E.value, t, n, r, i));
3945
+ throw new Tt(h.value, c, Object.keys(h.options), a);
3946
+ s.push.apply(s, ve(E.value, t, n, r, i));
3984
3947
  continue;
3985
3948
  }
3986
- if (ln(h)) {
3949
+ if (nn(h)) {
3987
3950
  var E = h.options["=".concat(c)];
3988
3951
  if (!E) {
3989
3952
  if (!Intl.PluralRules)
3990
- throw new Oe(`Intl.PluralRules is not available in this environment.
3953
+ throw new Pe(`Intl.PluralRules is not available in this environment.
3991
3954
  Try polyfilling it using "@formatjs/intl-pluralrules"
3992
- `, Y.MISSING_INTL_API, s);
3993
- var I = n.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3994
- E = h.options[I] || h.options.other;
3955
+ `, J.MISSING_INTL_API, a);
3956
+ var O = n.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3957
+ E = h.options[O] || h.options.other;
3995
3958
  }
3996
3959
  if (!E)
3997
- throw new Ot(h.value, c, Object.keys(h.options), s);
3998
- a.push.apply(a, xe(E.value, t, n, r, i, c - (h.offset || 0)));
3960
+ throw new Tt(h.value, c, Object.keys(h.options), a);
3961
+ s.push.apply(s, ve(E.value, t, n, r, i, c - (h.offset || 0)));
3999
3962
  continue;
4000
3963
  }
4001
3964
  }
4002
- return Bi(a);
3965
+ return bi(s);
4003
3966
  }
4004
- function Pi(e, t) {
3967
+ function yi(e, t) {
4005
3968
  return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
4006
3969
  return n[r] = _(_({}, e[r]), t[r] || {}), n;
4007
3970
  }, {})) : e;
4008
3971
  }
4009
- function Oi(e, t) {
3972
+ function _i(e, t) {
4010
3973
  return t ? Object.keys(e).reduce(function(n, r) {
4011
- return n[r] = Pi(e[r], t[r]), n;
3974
+ return n[r] = yi(e[r], t[r]), n;
4012
3975
  }, _({}, e)) : e;
4013
3976
  }
4014
- function Ge(e) {
3977
+ function Ue(e) {
4015
3978
  return {
4016
3979
  create: function() {
4017
3980
  return {
@@ -4025,39 +3988,39 @@ function Ge(e) {
4025
3988
  }
4026
3989
  };
4027
3990
  }
4028
- function Ii(e) {
3991
+ function vi(e) {
4029
3992
  return e === void 0 && (e = {
4030
3993
  number: {},
4031
3994
  dateTime: {},
4032
3995
  pluralRules: {}
4033
3996
  }), {
4034
- getNumberFormat: Re(function() {
3997
+ getNumberFormat: Me(function() {
4035
3998
  for (var t, n = [], r = 0; r < arguments.length; r++)
4036
3999
  n[r] = arguments[r];
4037
- return new ((t = Intl.NumberFormat).bind.apply(t, q([void 0], n, !1)))();
4000
+ return new ((t = Intl.NumberFormat).bind.apply(t, Z([void 0], n, !1)))();
4038
4001
  }, {
4039
- cache: Ge(e.number),
4040
- strategy: Ue.variadic
4002
+ cache: Ue(e.number),
4003
+ strategy: $e.variadic
4041
4004
  }),
4042
- getDateTimeFormat: Re(function() {
4005
+ getDateTimeFormat: Me(function() {
4043
4006
  for (var t, n = [], r = 0; r < arguments.length; r++)
4044
4007
  n[r] = arguments[r];
4045
- return new ((t = Intl.DateTimeFormat).bind.apply(t, q([void 0], n, !1)))();
4008
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Z([void 0], n, !1)))();
4046
4009
  }, {
4047
- cache: Ge(e.dateTime),
4048
- strategy: Ue.variadic
4010
+ cache: Ue(e.dateTime),
4011
+ strategy: $e.variadic
4049
4012
  }),
4050
- getPluralRules: Re(function() {
4013
+ getPluralRules: Me(function() {
4051
4014
  for (var t, n = [], r = 0; r < arguments.length; r++)
4052
4015
  n[r] = arguments[r];
4053
- return new ((t = Intl.PluralRules).bind.apply(t, q([void 0], n, !1)))();
4016
+ return new ((t = Intl.PluralRules).bind.apply(t, Z([void 0], n, !1)))();
4054
4017
  }, {
4055
- cache: Ge(e.pluralRules),
4056
- strategy: Ue.variadic
4018
+ cache: Ue(e.pluralRules),
4019
+ strategy: $e.variadic
4057
4020
  })
4058
4021
  };
4059
4022
  }
4060
- var Li = (
4023
+ var xi = (
4061
4024
  /** @class */
4062
4025
  function() {
4063
4026
  function e(t, n, r, i) {
@@ -4076,7 +4039,7 @@ var Li = (
4076
4039
  }, []);
4077
4040
  return h.length <= 1 ? h[0] || "" : h;
4078
4041
  }, this.formatToParts = function(u) {
4079
- return xe(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
4042
+ return ve(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
4080
4043
  }, this.resolvedOptions = function() {
4081
4044
  var u;
4082
4045
  return {
@@ -4087,15 +4050,15 @@ var Li = (
4087
4050
  }, this.locales = n, this.resolvedLocale = e.resolveLocale(n), typeof t == "string") {
4088
4051
  if (this.message = t, !e.__parse)
4089
4052
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
4090
- var s = i || {};
4091
- s.formatters;
4092
- var a = hr(s, ["formatters"]);
4093
- this.ast = e.__parse(t, _(_({}, a), { locale: this.resolvedLocale }));
4053
+ var a = i || {};
4054
+ a.formatters;
4055
+ var s = Kn(a, ["formatters"]);
4056
+ this.ast = e.__parse(t, _(_({}, s), { locale: this.resolvedLocale }));
4094
4057
  } else
4095
4058
  this.ast = t;
4096
4059
  if (!Array.isArray(this.ast))
4097
4060
  throw new TypeError("A message must be provided as a String or AST.");
4098
- this.formats = Oi(e.formats, r), this.formatters = i && i.formatters || Ii(this.formatterCache);
4061
+ this.formats = _i(e.formats, r), this.formatters = i && i.formatters || vi(this.formatterCache);
4099
4062
  }
4100
4063
  return Object.defineProperty(e, "defaultLocale", {
4101
4064
  get: function() {
@@ -4104,11 +4067,11 @@ var Li = (
4104
4067
  enumerable: !1,
4105
4068
  configurable: !0
4106
4069
  }), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
4107
- if (typeof Intl.Locale != "undefined") {
4070
+ if (!(typeof Intl.Locale > "u")) {
4108
4071
  var n = Intl.NumberFormat.supportedLocalesOf(t);
4109
4072
  return n.length > 0 ? new Intl.Locale(n[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
4110
4073
  }
4111
- }, e.__parse = Ti, e.formats = {
4074
+ }, e.__parse = di, e.formats = {
4112
4075
  number: {
4113
4076
  integer: {
4114
4077
  maximumFractionDigits: 0
@@ -4169,7 +4132,7 @@ var Li = (
4169
4132
  }, e;
4170
4133
  }()
4171
4134
  );
4172
- function Ni(e, t) {
4135
+ function Ei(e, t) {
4173
4136
  if (t == null)
4174
4137
  return;
4175
4138
  if (t in e)
@@ -4190,92 +4153,92 @@ function Ni(e, t) {
4190
4153
  r = void 0;
4191
4154
  return r;
4192
4155
  }
4193
- const D = {}, Ci = (e, t, n) => n && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = n), n), _n = (e, t) => {
4156
+ const U = {}, Si = (e, t, n) => n && (t in U || (U[t] = {}), e in U[t] || (U[t][e] = n), n), dn = (e, t) => {
4194
4157
  if (t == null)
4195
4158
  return;
4196
- if (t in D && e in D[t])
4197
- return D[t][e];
4198
- const n = Ie(t);
4159
+ if (t in U && e in U[t])
4160
+ return U[t][e];
4161
+ const n = Oe(t);
4199
4162
  for (let r = 0; r < n.length; r++) {
4200
- const i = n[r], o = $i(i, e);
4163
+ const i = n[r], o = wi(i, e);
4201
4164
  if (o)
4202
- return Ci(e, t, o);
4165
+ return Si(e, t, o);
4203
4166
  }
4204
4167
  };
4205
- let st;
4206
- const de = Pe({});
4207
- function Mi(e) {
4208
- return st[e] || null;
4168
+ let it;
4169
+ const ce = Ae({});
4170
+ function Ti(e) {
4171
+ return it[e] || null;
4209
4172
  }
4210
- function vn(e) {
4211
- return e in st;
4173
+ function pn(e) {
4174
+ return e in it;
4212
4175
  }
4213
- function $i(e, t) {
4214
- if (!vn(e))
4176
+ function wi(e, t) {
4177
+ if (!pn(e))
4215
4178
  return null;
4216
- const n = Mi(e);
4217
- return Ni(n, t);
4179
+ const n = Ti(e);
4180
+ return Ei(n, t);
4218
4181
  }
4219
- function Ri(e) {
4182
+ function Hi(e) {
4220
4183
  if (e == null)
4221
4184
  return;
4222
- const t = Ie(e);
4185
+ const t = Oe(e);
4223
4186
  for (let n = 0; n < t.length; n++) {
4224
4187
  const r = t[n];
4225
- if (vn(r))
4188
+ if (pn(r))
4226
4189
  return r;
4227
4190
  }
4228
4191
  }
4229
- function xn(e, ...t) {
4230
- delete D[e], de.update((n) => (n[e] = Fr.all([n[e] || {}, ...t]), n));
4192
+ function mn(e, ...t) {
4193
+ delete U[e], ce.update((n) => (n[e] = Or.all([n[e] || {}, ...t]), n));
4231
4194
  }
4232
- ee(
4233
- [de],
4195
+ K(
4196
+ [ce],
4234
4197
  ([e]) => Object.keys(e)
4235
4198
  );
4236
- de.subscribe((e) => st = e);
4237
- const Ee = {};
4238
- function Ui(e, t) {
4239
- Ee[e].delete(t), Ee[e].size === 0 && delete Ee[e];
4199
+ ce.subscribe((e) => it = e);
4200
+ const xe = {};
4201
+ function Bi(e, t) {
4202
+ xe[e].delete(t), xe[e].size === 0 && delete xe[e];
4240
4203
  }
4241
- function En(e) {
4242
- return Ee[e];
4204
+ function bn(e) {
4205
+ return xe[e];
4243
4206
  }
4244
- function Di(e) {
4245
- return Ie(e).map((t) => {
4246
- const n = En(t);
4207
+ function Ai(e) {
4208
+ return Oe(e).map((t) => {
4209
+ const n = bn(t);
4247
4210
  return [t, n ? [...n] : []];
4248
4211
  }).filter(([, t]) => t.length > 0);
4249
4212
  }
4250
- function tt(e) {
4251
- return e == null ? !1 : Ie(e).some(
4213
+ function Ke(e) {
4214
+ return e == null ? !1 : Oe(e).some(
4252
4215
  (t) => {
4253
4216
  var n;
4254
- return (n = En(t)) == null ? void 0 : n.size;
4217
+ return (n = bn(t)) == null ? void 0 : n.size;
4255
4218
  }
4256
4219
  );
4257
4220
  }
4258
- function Gi(e, t) {
4221
+ function Pi(e, t) {
4259
4222
  return Promise.all(
4260
- t.map((r) => (Ui(e, r), r().then((i) => i.default || i)))
4261
- ).then((r) => xn(e, ...r));
4262
- }
4263
- const oe = {};
4264
- function Sn(e) {
4265
- if (!tt(e))
4266
- return e in oe ? oe[e] : Promise.resolve();
4267
- const t = Di(e);
4268
- return oe[e] = Promise.all(
4223
+ t.map((r) => (Bi(e, r), r().then((i) => i.default || i)))
4224
+ ).then((r) => mn(e, ...r));
4225
+ }
4226
+ const ie = {};
4227
+ function gn(e) {
4228
+ if (!Ke(e))
4229
+ return e in ie ? ie[e] : Promise.resolve();
4230
+ const t = Ai(e);
4231
+ return ie[e] = Promise.all(
4269
4232
  t.map(
4270
- ([n, r]) => Gi(n, r)
4233
+ ([n, r]) => Pi(n, r)
4271
4234
  )
4272
4235
  ).then(() => {
4273
- if (tt(e))
4274
- return Sn(e);
4275
- delete oe[e];
4276
- }), oe[e];
4236
+ if (Ke(e))
4237
+ return gn(e);
4238
+ delete ie[e];
4239
+ }), ie[e];
4277
4240
  }
4278
- const Fi = {
4241
+ const Oi = {
4279
4242
  number: {
4280
4243
  scientific: { notation: "scientific" },
4281
4244
  engineering: { notation: "engineering" },
@@ -4304,159 +4267,159 @@ const Fi = {
4304
4267
  timeZoneName: "short"
4305
4268
  }
4306
4269
  }
4307
- }, ji = {
4270
+ }, Ii = {
4308
4271
  fallbackLocale: null,
4309
4272
  loadingDelay: 200,
4310
- formats: Fi,
4273
+ formats: Oi,
4311
4274
  warnOnMissingMessages: !0,
4312
4275
  handleMissingMessage: void 0,
4313
4276
  ignoreTag: !0
4314
- }, ki = ji;
4315
- function K() {
4316
- return ki;
4277
+ }, Li = Ii;
4278
+ function Y() {
4279
+ return Li;
4317
4280
  }
4318
- const Fe = Pe(!1);
4319
- var Vi = Object.defineProperty, Xi = Object.defineProperties, Wi = Object.getOwnPropertyDescriptors, It = Object.getOwnPropertySymbols, zi = Object.prototype.hasOwnProperty, Zi = Object.prototype.propertyIsEnumerable, Lt = (e, t, n) => t in e ? Vi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, qi = (e, t) => {
4281
+ const De = Ae(!1);
4282
+ var Ni = Object.defineProperty, Ci = Object.defineProperties, Mi = Object.getOwnPropertyDescriptors, wt = Object.getOwnPropertySymbols, $i = Object.prototype.hasOwnProperty, Ri = Object.prototype.propertyIsEnumerable, Ht = (e, t, n) => t in e ? Ni(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Ui = (e, t) => {
4320
4283
  for (var n in t)
4321
- zi.call(t, n) && Lt(e, n, t[n]);
4322
- if (It)
4323
- for (var n of It(t))
4324
- Zi.call(t, n) && Lt(e, n, t[n]);
4284
+ $i.call(t, n) && Ht(e, n, t[n]);
4285
+ if (wt)
4286
+ for (var n of wt(t))
4287
+ Ri.call(t, n) && Ht(e, n, t[n]);
4325
4288
  return e;
4326
- }, Qi = (e, t) => Xi(e, Wi(t));
4327
- let nt;
4328
- const He = Pe(null);
4329
- function Nt(e) {
4289
+ }, Di = (e, t) => Ci(e, Mi(t));
4290
+ let et;
4291
+ const we = Ae(null);
4292
+ function Bt(e) {
4330
4293
  return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
4331
4294
  }
4332
- function Ie(e, t = K().fallbackLocale) {
4333
- const n = Nt(e);
4334
- return t ? [.../* @__PURE__ */ new Set([...n, ...Nt(t)])] : n;
4295
+ function Oe(e, t = Y().fallbackLocale) {
4296
+ const n = Bt(e);
4297
+ return t ? [.../* @__PURE__ */ new Set([...n, ...Bt(t)])] : n;
4335
4298
  }
4336
- function k() {
4337
- return nt != null ? nt : void 0;
4299
+ function j() {
4300
+ return et ?? void 0;
4338
4301
  }
4339
- He.subscribe((e) => {
4340
- nt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4302
+ we.subscribe((e) => {
4303
+ et = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4341
4304
  });
4342
- const Ji = (e) => {
4343
- if (e && Ri(e) && tt(e)) {
4344
- const { loadingDelay: t } = K();
4305
+ const Gi = (e) => {
4306
+ if (e && Hi(e) && Ke(e)) {
4307
+ const { loadingDelay: t } = Y();
4345
4308
  let n;
4346
- return typeof window != "undefined" && k() != null && t ? n = window.setTimeout(
4347
- () => Fe.set(!0),
4309
+ return typeof window < "u" && j() != null && t ? n = window.setTimeout(
4310
+ () => De.set(!0),
4348
4311
  t
4349
- ) : Fe.set(!0), Sn(e).then(() => {
4350
- He.set(e);
4312
+ ) : De.set(!0), gn(e).then(() => {
4313
+ we.set(e);
4351
4314
  }).finally(() => {
4352
- clearTimeout(n), Fe.set(!1);
4315
+ clearTimeout(n), De.set(!1);
4353
4316
  });
4354
4317
  }
4355
- return He.set(e);
4356
- }, te = Qi(qi({}, He), {
4357
- set: Ji
4358
- }), Le = (e) => {
4318
+ return we.set(e);
4319
+ }, ee = Di(Ui({}, we), {
4320
+ set: Gi
4321
+ }), Ie = (e) => {
4359
4322
  const t = /* @__PURE__ */ Object.create(null);
4360
4323
  return (r) => {
4361
4324
  const i = JSON.stringify(r);
4362
4325
  return i in t ? t[i] : t[i] = e(r);
4363
4326
  };
4364
4327
  };
4365
- var Yi = Object.defineProperty, Be = Object.getOwnPropertySymbols, Tn = Object.prototype.hasOwnProperty, wn = Object.prototype.propertyIsEnumerable, Ct = (e, t, n) => t in e ? Yi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, at = (e, t) => {
4328
+ var Fi = Object.defineProperty, He = Object.getOwnPropertySymbols, yn = Object.prototype.hasOwnProperty, _n = Object.prototype.propertyIsEnumerable, At = (e, t, n) => t in e ? Fi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, ot = (e, t) => {
4366
4329
  for (var n in t || (t = {}))
4367
- Tn.call(t, n) && Ct(e, n, t[n]);
4368
- if (Be)
4369
- for (var n of Be(t))
4370
- wn.call(t, n) && Ct(e, n, t[n]);
4330
+ yn.call(t, n) && At(e, n, t[n]);
4331
+ if (He)
4332
+ for (var n of He(t))
4333
+ _n.call(t, n) && At(e, n, t[n]);
4371
4334
  return e;
4372
- }, ne = (e, t) => {
4335
+ }, te = (e, t) => {
4373
4336
  var n = {};
4374
4337
  for (var r in e)
4375
- Tn.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
4376
- if (e != null && Be)
4377
- for (var r of Be(e))
4378
- t.indexOf(r) < 0 && wn.call(e, r) && (n[r] = e[r]);
4338
+ yn.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
4339
+ if (e != null && He)
4340
+ for (var r of He(e))
4341
+ t.indexOf(r) < 0 && _n.call(e, r) && (n[r] = e[r]);
4379
4342
  return n;
4380
4343
  };
4381
- const le = (e, t) => {
4382
- const { formats: n } = K();
4344
+ const ue = (e, t) => {
4345
+ const { formats: n } = Y();
4383
4346
  if (e in n && t in n[e])
4384
4347
  return n[e][t];
4385
4348
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4386
- }, Ki = Le(
4349
+ }, ji = Ie(
4387
4350
  (e) => {
4388
- var t = e, { locale: n, format: r } = t, i = ne(t, ["locale", "format"]);
4351
+ var t = e, { locale: n, format: r } = t, i = te(t, ["locale", "format"]);
4389
4352
  if (n == null)
4390
4353
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4391
- return r && (i = le("number", r)), new Intl.NumberFormat(n, i);
4354
+ return r && (i = ue("number", r)), new Intl.NumberFormat(n, i);
4392
4355
  }
4393
- ), eo = Le(
4356
+ ), ki = Ie(
4394
4357
  (e) => {
4395
- var t = e, { locale: n, format: r } = t, i = ne(t, ["locale", "format"]);
4358
+ var t = e, { locale: n, format: r } = t, i = te(t, ["locale", "format"]);
4396
4359
  if (n == null)
4397
4360
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4398
- return r ? i = le("date", r) : Object.keys(i).length === 0 && (i = le("date", "short")), new Intl.DateTimeFormat(n, i);
4361
+ return r ? i = ue("date", r) : Object.keys(i).length === 0 && (i = ue("date", "short")), new Intl.DateTimeFormat(n, i);
4399
4362
  }
4400
- ), to = Le(
4363
+ ), Vi = Ie(
4401
4364
  (e) => {
4402
- var t = e, { locale: n, format: r } = t, i = ne(t, ["locale", "format"]);
4365
+ var t = e, { locale: n, format: r } = t, i = te(t, ["locale", "format"]);
4403
4366
  if (n == null)
4404
4367
  throw new Error(
4405
4368
  '[svelte-i18n] A "locale" must be set to format time values'
4406
4369
  );
4407
- return r ? i = le("time", r) : Object.keys(i).length === 0 && (i = le("time", "short")), new Intl.DateTimeFormat(n, i);
4370
+ return r ? i = ue("time", r) : Object.keys(i).length === 0 && (i = ue("time", "short")), new Intl.DateTimeFormat(n, i);
4408
4371
  }
4409
- ), no = (e = {}) => {
4372
+ ), Xi = (e = {}) => {
4410
4373
  var t = e, {
4411
- locale: n = k()
4412
- } = t, r = ne(t, [
4374
+ locale: n = j()
4375
+ } = t, r = te(t, [
4413
4376
  "locale"
4414
4377
  ]);
4415
- return Ki(at({ locale: n }, r));
4416
- }, ro = (e = {}) => {
4378
+ return ji(ot({ locale: n }, r));
4379
+ }, Wi = (e = {}) => {
4417
4380
  var t = e, {
4418
- locale: n = k()
4419
- } = t, r = ne(t, [
4381
+ locale: n = j()
4382
+ } = t, r = te(t, [
4420
4383
  "locale"
4421
4384
  ]);
4422
- return eo(at({ locale: n }, r));
4423
- }, io = (e = {}) => {
4385
+ return ki(ot({ locale: n }, r));
4386
+ }, zi = (e = {}) => {
4424
4387
  var t = e, {
4425
- locale: n = k()
4426
- } = t, r = ne(t, [
4388
+ locale: n = j()
4389
+ } = t, r = te(t, [
4427
4390
  "locale"
4428
4391
  ]);
4429
- return to(at({ locale: n }, r));
4430
- }, oo = Le(
4392
+ return Vi(ot({ locale: n }, r));
4393
+ }, Zi = Ie(
4431
4394
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4432
- (e, t = k()) => new Li(e, t, K().formats, {
4433
- ignoreTag: K().ignoreTag
4395
+ (e, t = j()) => new xi(e, t, Y().formats, {
4396
+ ignoreTag: Y().ignoreTag
4434
4397
  })
4435
- ), so = (e, t = {}) => {
4398
+ ), qi = (e, t = {}) => {
4436
4399
  var n, r, i, o;
4437
- let s = t;
4438
- typeof e == "object" && (s = e, e = s.id);
4400
+ let a = t;
4401
+ typeof e == "object" && (a = e, e = a.id);
4439
4402
  const {
4440
- values: a,
4441
- locale: u = k(),
4403
+ values: s,
4404
+ locale: u = j(),
4442
4405
  default: l
4443
- } = s;
4406
+ } = a;
4444
4407
  if (u == null)
4445
4408
  throw new Error(
4446
4409
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4447
4410
  );
4448
- let h = _n(e, u);
4411
+ let h = dn(e, u);
4449
4412
  if (!h)
4450
- h = (o = (i = (r = (n = K()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4413
+ h = (o = (i = (r = (n = Y()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4451
4414
  else if (typeof h != "string")
4452
4415
  return console.warn(
4453
4416
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
4454
4417
  ), h;
4455
- if (!a)
4418
+ if (!s)
4456
4419
  return h;
4457
4420
  let f = h;
4458
4421
  try {
4459
- f = oo(h, u).format(a);
4422
+ f = Zi(h, u).format(s);
4460
4423
  } catch (c) {
4461
4424
  c instanceof Error && console.warn(
4462
4425
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4464,20 +4427,20 @@ const le = (e, t) => {
4464
4427
  );
4465
4428
  }
4466
4429
  return f;
4467
- }, ao = (e, t) => io(t).format(e), uo = (e, t) => ro(t).format(e), lo = (e, t) => no(t).format(e), ho = (e, t = k()) => _n(e, t), fo = ee([te, de], () => so);
4468
- ee([te], () => ao);
4469
- ee([te], () => uo);
4470
- ee([te], () => lo);
4471
- ee([te, de], () => ho);
4472
- window.emWidgets = { topic: Tr };
4473
- const Zo = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), co = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4474
- function Mt(e, t) {
4475
- xn(e, t);
4476
- }
4477
- function po(e) {
4478
- te.set(e);
4479
- }
4480
- const $t = {
4430
+ }, Qi = (e, t) => zi(t).format(e), Ji = (e, t) => Wi(t).format(e), Yi = (e, t) => Xi(t).format(e), Ki = (e, t = j()) => dn(e, t), eo = K([ee, ce], () => qi);
4431
+ K([ee], () => Qi);
4432
+ K([ee], () => Ji);
4433
+ K([ee], () => Yi);
4434
+ K([ee, ce], () => Ki);
4435
+ window.emWidgets = { topic: dr };
4436
+ const $o = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), to = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4437
+ function Pt(e, t) {
4438
+ mn(e, t);
4439
+ }
4440
+ function no(e) {
4441
+ ee.set(e);
4442
+ }
4443
+ const Ot = {
4481
4444
  en: {
4482
4445
  logoutButton: "Logout"
4483
4446
  },
@@ -4512,42 +4475,42 @@ const $t = {
4512
4475
  logoutButton: "Logout"
4513
4476
  }
4514
4477
  };
4515
- function mo(e) {
4516
- Gn(e, "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))}");
4478
+ function ro(e) {
4479
+ Pn(e, "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))}");
4517
4480
  }
4518
- function bo(e) {
4481
+ function io(e) {
4519
4482
  let t, n, r, i = (
4520
4483
  /*$_*/
4521
4484
  e[2]("logoutButton") + ""
4522
- ), o, s, a;
4485
+ ), o, a, s;
4523
4486
  return {
4524
4487
  c() {
4525
- t = N("div"), n = N("button"), r = N("span"), o = ce(i), A(t, "class", "GeneralLogout");
4488
+ t = L("div"), n = L("button"), r = L("span"), o = fe(i), A(t, "class", "GeneralLogout");
4526
4489
  },
4527
4490
  m(u, l) {
4528
- fe(u, t, l), P(t, n), P(n, r), P(r, o), s || (a = Vt(
4491
+ he(u, t, l), P(t, n), P(n, r), P(r, o), a || (s = Ut(
4529
4492
  n,
4530
4493
  "click",
4531
4494
  /*click_handler_1*/
4532
4495
  e[13]
4533
- ), s = !0);
4496
+ ), a = !0);
4534
4497
  },
4535
4498
  p(u, l) {
4536
4499
  l & /*$_*/
4537
4500
  4 && i !== (i = /*$_*/
4538
- u[2]("logoutButton") + "") && Xt(o, i);
4501
+ u[2]("logoutButton") + "") && Dt(o, i);
4539
4502
  },
4540
4503
  d(u) {
4541
- u && j(t), s = !1, a();
4504
+ u && F(t), a = !1, s();
4542
4505
  }
4543
4506
  };
4544
4507
  }
4545
- function go(e) {
4546
- let t, n, r, i, o, s, a, u, l, h, f, c = !/*isMobile*/
4547
- e[3] && yo(e);
4508
+ function oo(e) {
4509
+ let t, n, r, i, o, a, s, u, l, h, f, c = !/*isMobile*/
4510
+ e[3] && so(e);
4548
4511
  return {
4549
4512
  c() {
4550
- t = N("p"), n = N("span"), r = re("svg"), i = re("defs"), o = re("style"), s = ce(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emw--color-white, #FFFFFF);}"), a = re("path"), u = re("path"), l = jn(), c && c.c(), A(a, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), A(a, "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"), A(u, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), A(u, "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"), A(r, "id", "bbfaf345-72af-4296-bf4b-2fd41fc03d5d"), A(r, "data-name", "Layer 1"), A(r, "xmlns", "http://www.w3.org/2000/svg"), A(r, "viewBox", "0 0 150 150"), Vn(n, "width", /*isMobile*/
4513
+ t = L("p"), n = L("span"), r = ne("svg"), i = ne("defs"), o = ne("style"), a = fe(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emw--color-white, #FFFFFF);}"), s = ne("path"), u = ne("path"), l = In(), c && c.c(), A(s, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), A(s, "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"), A(u, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), A(u, "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"), A(r, "id", "bbfaf345-72af-4296-bf4b-2fd41fc03d5d"), A(r, "data-name", "Layer 1"), A(r, "xmlns", "http://www.w3.org/2000/svg"), A(r, "viewBox", "0 0 150 150"), Nn(n, "width", /*isMobile*/
4551
4514
  e[3] ? (
4552
4515
  /*mediaQuery*/
4553
4516
  e[4].matches ? "50px" : "24px"
@@ -4557,7 +4520,7 @@ function go(e) {
4557
4520
  e[3] ? "PlayerAccountMenuItemBoxTablet" : ""));
4558
4521
  },
4559
4522
  m(d, p) {
4560
- fe(d, t, p), P(t, n), P(n, r), P(r, i), P(i, o), P(o, s), P(r, a), P(r, u), P(t, l), c && c.m(t, null), h || (f = Vt(
4523
+ he(d, t, p), P(t, n), P(n, r), P(r, i), P(i, o), P(o, a), P(r, s), P(r, u), P(t, l), c && c.m(t, null), h || (f = Ut(
4561
4524
  t,
4562
4525
  "click",
4563
4526
  /*click_handler*/
@@ -4569,92 +4532,92 @@ function go(e) {
4569
4532
  d[3] || c.p(d, p);
4570
4533
  },
4571
4534
  d(d) {
4572
- d && j(t), c && c.d(), h = !1, f();
4535
+ d && F(t), c && c.d(), h = !1, f();
4573
4536
  }
4574
4537
  };
4575
4538
  }
4576
- function yo(e) {
4539
+ function so(e) {
4577
4540
  let t, n = (
4578
4541
  /*$_*/
4579
4542
  e[2]("logoutButton") + ""
4580
4543
  ), r;
4581
4544
  return {
4582
4545
  c() {
4583
- t = N("span"), r = ce(n), A(t, "class", "PlayerLogoutText");
4546
+ t = L("span"), r = fe(n), A(t, "class", "PlayerLogoutText");
4584
4547
  },
4585
4548
  m(i, o) {
4586
- fe(i, t, o), P(t, r);
4549
+ he(i, t, o), P(t, r);
4587
4550
  },
4588
4551
  p(i, o) {
4589
4552
  o & /*$_*/
4590
4553
  4 && n !== (n = /*$_*/
4591
- i[2]("logoutButton") + "") && Xt(r, n);
4554
+ i[2]("logoutButton") + "") && Dt(r, n);
4592
4555
  },
4593
4556
  d(i) {
4594
- i && j(t);
4557
+ i && F(t);
4595
4558
  }
4596
4559
  };
4597
4560
  }
4598
- function _o(e) {
4561
+ function ao(e) {
4599
4562
  let t;
4600
- function n(o, s) {
4563
+ function n(o, a) {
4601
4564
  return (
4602
4565
  /*buttonlocation*/
4603
- o[0] === "PlayerAccountMenu" ? go : bo
4566
+ o[0] === "PlayerAccountMenu" ? oo : io
4604
4567
  );
4605
4568
  }
4606
4569
  let r = n(e), i = r(e);
4607
4570
  return {
4608
4571
  c() {
4609
- t = N("div"), i.c();
4572
+ t = L("div"), i.c();
4610
4573
  },
4611
- m(o, s) {
4612
- fe(o, t, s), i.m(t, null), e[14](t);
4574
+ m(o, a) {
4575
+ he(o, t, a), i.m(t, null), e[14](t);
4613
4576
  },
4614
- p(o, [s]) {
4615
- r === (r = n(o)) && i ? i.p(o, s) : (i.d(1), i = r(o), i && (i.c(), i.m(t, null)));
4577
+ p(o, [a]) {
4578
+ r === (r = n(o)) && i ? i.p(o, a) : (i.d(1), i = r(o), i && (i.c(), i.m(t, null)));
4616
4579
  },
4617
4580
  i: B,
4618
4581
  o: B,
4619
4582
  d(o) {
4620
- o && j(t), i.d(), e[14](null);
4583
+ o && F(t), i.d(), e[14](null);
4621
4584
  }
4622
4585
  };
4623
4586
  }
4624
- function vo(e, t, n) {
4587
+ function uo(e, t, n) {
4625
4588
  let r;
4626
- Rn(e, fo, (y) => n(2, r = y));
4627
- let { endpoint: i = "" } = t, { session: o = "" } = t, { buttonlocation: s = "" } = t, { lang: a = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: h = "" } = t, f = "", c = !1, d, p = window.navigator.userAgent, m = co(p) !== "PC";
4589
+ Hn(e, eo, (y) => n(2, r = y));
4590
+ let { endpoint: i = "" } = t, { session: o = "" } = t, { buttonlocation: a = "" } = t, { lang: s = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: h = "" } = t, f = "", c = !1, d, p = window.navigator.userAgent, m = to(p) !== "PC";
4628
4591
  const x = window.matchMedia("(min-width: 768px)"), T = () => {
4629
- fetch(h).then((L) => L.json()).then((L) => {
4630
- Object.keys(L).forEach((G) => {
4631
- Mt(G, L[G]);
4592
+ fetch(h).then((I) => I.json()).then((I) => {
4593
+ Object.keys(I).forEach((D) => {
4594
+ Pt(D, I[D]);
4632
4595
  });
4633
- }).catch((L) => {
4634
- console.log(L);
4596
+ }).catch((I) => {
4597
+ console.log(I);
4635
4598
  });
4636
4599
  };
4637
- Object.keys($t).forEach((y) => {
4638
- Mt(y, $t[y]);
4600
+ Object.keys(Ot).forEach((y) => {
4601
+ Pt(y, Ot[y]);
4639
4602
  });
4640
4603
  const w = () => {
4641
4604
  let y = new Headers();
4642
4605
  y.append("Content-type", "application/json"), y.append("X-SessionID", o);
4643
- let L = { method: "DELETE", headers: y };
4644
- fetch(`${i}/v1/player/session/player`, L).then((G) => {
4606
+ let I = { method: "DELETE", headers: y };
4607
+ fetch(`${i}/v1/player/session/player`, I).then((D) => {
4645
4608
  window.postMessage({ type: "LogoutSuccessfull" }, window.location.href);
4646
4609
  });
4647
- }, E = () => (i || (f = "GENERAL-LOGOUT - Endpoint is missing! Please provide a valid endpointURL.", c = !0, console.error(f)), o || (f = "GENERAL-LOGOUT - Session is missing! Please provide a valid session.", c = !0, console.error(f)), c), I = () => {
4648
- po(a);
4610
+ }, E = () => (i || (f = "GENERAL-LOGOUT - Endpoint is missing! Please provide a valid endpointURL.", c = !0, console.error(f)), o || (f = "GENERAL-LOGOUT - Session is missing! Please provide a valid session.", c = !0, console.error(f)), c), O = () => {
4611
+ no(s);
4649
4612
  }, H = () => {
4650
4613
  let y = document.createElement("style");
4651
4614
  y.innerHTML = u, d.appendChild(y);
4652
- }, U = () => {
4653
- let y = new URL(l), L = document.createElement("style");
4654
- fetch(y.href).then((G) => G.text()).then((G) => {
4655
- L.innerHTML = G, setTimeout(
4615
+ }, R = () => {
4616
+ let y = new URL(l), I = document.createElement("style");
4617
+ fetch(y.href).then((D) => D.text()).then((D) => {
4618
+ I.innerHTML = D, setTimeout(
4656
4619
  () => {
4657
- d.appendChild(L);
4620
+ d.appendChild(I);
4658
4621
  },
4659
4622
  1
4660
4623
  ), setTimeout(
@@ -4663,23 +4626,23 @@ function vo(e, t, n) {
4663
4626
  500
4664
4627
  );
4665
4628
  });
4666
- }, pe = () => w(), Bn = () => w();
4667
- function An(y) {
4668
- je[y ? "unshift" : "push"](() => {
4629
+ }, de = () => w(), xn = () => w();
4630
+ function En(y) {
4631
+ Ge[y ? "unshift" : "push"](() => {
4669
4632
  d = y, n(1, d);
4670
4633
  });
4671
4634
  }
4672
4635
  return e.$$set = (y) => {
4673
- "endpoint" in y && n(6, i = y.endpoint), "session" in y && n(7, o = y.session), "buttonlocation" in y && n(0, s = y.buttonlocation), "lang" in y && n(8, a = y.lang), "clientstyling" in y && n(9, u = y.clientstyling), "clientstylingurl" in y && n(10, l = y.clientstylingurl), "translationurl" in y && n(11, h = y.translationurl);
4636
+ "endpoint" in y && n(6, i = y.endpoint), "session" in y && n(7, o = y.session), "buttonlocation" in y && n(0, a = y.buttonlocation), "lang" in y && n(8, s = y.lang), "clientstyling" in y && n(9, u = y.clientstyling), "clientstylingurl" in y && n(10, l = y.clientstylingurl), "translationurl" in y && n(11, h = y.translationurl);
4674
4637
  }, e.$$.update = () => {
4675
4638
  e.$$.dirty & /*endpoint, session, buttonlocation*/
4676
- 193 && i && o && s && E(), e.$$.dirty & /*lang*/
4677
- 256 && a && I(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4639
+ 193 && i && o && a && E(), e.$$.dirty & /*lang*/
4640
+ 256 && s && O(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4678
4641
  514 && u && d && H(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4679
- 1026 && l && d && U(), e.$$.dirty & /*translationurl*/
4642
+ 1026 && l && d && R(), e.$$.dirty & /*translationurl*/
4680
4643
  2048 && h && T();
4681
4644
  }, [
4682
- s,
4645
+ a,
4683
4646
  d,
4684
4647
  r,
4685
4648
  m,
@@ -4687,23 +4650,23 @@ function vo(e, t, n) {
4687
4650
  w,
4688
4651
  i,
4689
4652
  o,
4690
- a,
4653
+ s,
4691
4654
  u,
4692
4655
  l,
4693
4656
  h,
4694
- pe,
4695
- Bn,
4696
- An
4657
+ de,
4658
+ xn,
4659
+ En
4697
4660
  ];
4698
4661
  }
4699
- class Hn extends ur {
4662
+ class vn extends Jn {
4700
4663
  constructor(t) {
4701
- super(), sr(
4664
+ super(), qn(
4702
4665
  this,
4703
4666
  t,
4704
- vo,
4705
- _o,
4706
- Ut,
4667
+ uo,
4668
+ ao,
4669
+ Lt,
4707
4670
  {
4708
4671
  endpoint: 6,
4709
4672
  session: 7,
@@ -4713,115 +4676,115 @@ class Hn extends ur {
4713
4676
  clientstylingurl: 10,
4714
4677
  translationurl: 11
4715
4678
  },
4716
- mo
4679
+ ro
4717
4680
  );
4718
4681
  }
4719
4682
  get endpoint() {
4720
4683
  return this.$$.ctx[6];
4721
4684
  }
4722
4685
  set endpoint(t) {
4723
- this.$$set({ endpoint: t }), C();
4686
+ this.$$set({ endpoint: t }), N();
4724
4687
  }
4725
4688
  get session() {
4726
4689
  return this.$$.ctx[7];
4727
4690
  }
4728
4691
  set session(t) {
4729
- this.$$set({ session: t }), C();
4692
+ this.$$set({ session: t }), N();
4730
4693
  }
4731
4694
  get buttonlocation() {
4732
4695
  return this.$$.ctx[0];
4733
4696
  }
4734
4697
  set buttonlocation(t) {
4735
- this.$$set({ buttonlocation: t }), C();
4698
+ this.$$set({ buttonlocation: t }), N();
4736
4699
  }
4737
4700
  get lang() {
4738
4701
  return this.$$.ctx[8];
4739
4702
  }
4740
4703
  set lang(t) {
4741
- this.$$set({ lang: t }), C();
4704
+ this.$$set({ lang: t }), N();
4742
4705
  }
4743
4706
  get clientstyling() {
4744
4707
  return this.$$.ctx[9];
4745
4708
  }
4746
4709
  set clientstyling(t) {
4747
- this.$$set({ clientstyling: t }), C();
4710
+ this.$$set({ clientstyling: t }), N();
4748
4711
  }
4749
4712
  get clientstylingurl() {
4750
4713
  return this.$$.ctx[10];
4751
4714
  }
4752
4715
  set clientstylingurl(t) {
4753
- this.$$set({ clientstylingurl: t }), C();
4716
+ this.$$set({ clientstylingurl: t }), N();
4754
4717
  }
4755
4718
  get translationurl() {
4756
4719
  return this.$$.ctx[11];
4757
4720
  }
4758
4721
  set translationurl(t) {
4759
- this.$$set({ translationurl: t }), C();
4722
+ this.$$set({ translationurl: t }), N();
4760
4723
  }
4761
4724
  }
4762
- ar(Hn, { endpoint: {}, session: {}, buttonlocation: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4763
- const qo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4725
+ Qn(vn, { endpoint: {}, session: {}, buttonlocation: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4726
+ const Ro = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4764
4727
  __proto__: null,
4765
- default: Hn
4728
+ default: vn
4766
4729
  }, Symbol.toStringTag, { value: "Module" }));
4767
4730
  export {
4768
- te as $,
4769
- Fo as A,
4770
- Io as B,
4771
- Ao as C,
4772
- So as D,
4773
- wo as E,
4774
- Ho as F,
4775
- To as G,
4776
- tr as H,
4777
- Vo as I,
4778
- Lo as J,
4779
- Wo as K,
4780
- Oo as L,
4781
- Uo as M,
4782
- Mo as N,
4783
- $o as O,
4784
- we as P,
4785
- Ro as Q,
4786
- he as R,
4787
- ur as S,
4788
- Zo as T,
4789
- Bo as U,
4790
- Po as V,
4791
- Vn as W,
4792
- Eo as X,
4793
- Cn as Y,
4794
- ko as Z,
4795
- Xo as _,
4796
- xn as a,
4797
- jo as a0,
4798
- zo as a1,
4799
- Hr as a2,
4800
- Co as a3,
4801
- qo as a4,
4802
- Gn as b,
4803
- ar as c,
4804
- jn as d,
4805
- N as e,
4806
- C as f,
4731
+ ee as $,
4732
+ Po as A,
4733
+ _o as B,
4734
+ bo as C,
4735
+ ho as D,
4736
+ co as E,
4737
+ po as F,
4738
+ fo as G,
4739
+ Vn as H,
4740
+ Lo as I,
4741
+ vo as J,
4742
+ Co as K,
4743
+ yo as L,
4744
+ Ho as M,
4745
+ So as N,
4746
+ To as O,
4747
+ Te as P,
4748
+ wo as Q,
4749
+ le as R,
4750
+ Jn as S,
4751
+ $o as T,
4752
+ mo as U,
4753
+ go as V,
4754
+ Nn as W,
4755
+ lo as X,
4756
+ Sn as Y,
4757
+ Io as Z,
4758
+ No as _,
4759
+ mn as a,
4760
+ Oo as a0,
4761
+ Mo as a1,
4762
+ mr as a2,
4763
+ Eo as a3,
4764
+ Ro as a4,
4765
+ Pn as b,
4766
+ Qn as c,
4767
+ In as d,
4768
+ L as e,
4769
+ N as f,
4807
4770
  A as g,
4808
- Do as h,
4809
- sr as i,
4810
- No as j,
4811
- fe as k,
4771
+ Bo as h,
4772
+ qn as i,
4773
+ xo as j,
4774
+ he as k,
4812
4775
  P as l,
4813
- Vt as m,
4814
- Xt as n,
4776
+ Ut as m,
4777
+ Dt as n,
4815
4778
  B as o,
4816
- j as p,
4817
- Rn as q,
4818
- F as r,
4819
- Ut as s,
4820
- ce as t,
4821
- co as u,
4822
- Go as v,
4823
- re as w,
4824
- je as x,
4825
- fo as y,
4826
- de as z
4779
+ F as p,
4780
+ Hn as q,
4781
+ G as r,
4782
+ Lt as s,
4783
+ fe as t,
4784
+ to as u,
4785
+ Ao as v,
4786
+ ne as w,
4787
+ Ge as x,
4788
+ eo as y,
4789
+ ce as z
4827
4790
  };