@everymatrix/casino-lobby 1.59.1 → 1.59.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 (97) hide show
  1. package/components/{CasinoCalendar-CI-C6zUY.js → CasinoCalendar-6ncpIgng.js} +718 -696
  2. package/components/CasinoCalendar-CkNAiTx8.cjs +22 -0
  3. package/components/{CasinoCalendar-BYTytQgJ.js → CasinoCalendar-Km8tdNHN.js} +712 -690
  4. package/components/{CasinoCalendarDailyDetails-Xi-Uo8v-.js → CasinoCalendarDailyDetails-CAbwFBvZ.js} +48 -48
  5. package/components/{CasinoCalendarDailyDetails-DQB9Y3_Q.js → CasinoCalendarDailyDetails-CGaAU2gc.js} +48 -48
  6. package/components/{CasinoCalendarDailyDetails-DUQWFLJJ.cjs → CasinoCalendarDailyDetails-CsEZhtVE.cjs} +1 -1
  7. package/components/{CasinoCalendarDailyItem-DC91__VM.js → CasinoCalendarDailyItem-5aqnKIMr.js} +41 -41
  8. package/components/{CasinoCalendarDailyItem-CVt2FFo1.cjs → CasinoCalendarDailyItem-DSlC0F3s.cjs} +1 -1
  9. package/components/{CasinoCalendarDailyItem-CjRZKnnD.js → CasinoCalendarDailyItem-D_MTrKed.js} +41 -41
  10. package/components/{CasinoCategoriesSlider-BeqGvJrA.js → CasinoCategoriesSlider-CZHyRC-C.js} +67 -67
  11. package/components/CasinoCategoriesSlider-DMR3iCVW.cjs +1 -0
  12. package/components/{CasinoCategoriesSlider-Cvb-krxJ.js → CasinoCategoriesSlider-Dm2i_QTf.js} +66 -66
  13. package/components/{CasinoCollectionsProviders-FGrPURo4.cjs → CasinoCollectionsProviders-B6occ8TF.cjs} +1 -1
  14. package/components/{CasinoCollectionsProviders-BMyAx20Y.js → CasinoCollectionsProviders-B7d5LuGP.js} +73 -73
  15. package/components/{CasinoCollectionsProviders-B_4F6cIK.js → CasinoCollectionsProviders-pk8jpLQt.js} +71 -71
  16. package/components/{CasinoFavoritesSection-BZmf5I3g.js → CasinoFavoritesSection-C949lfcK.js} +26 -26
  17. package/components/{CasinoFavoritesSection-Dmko0_Ik.js → CasinoFavoritesSection-V5ybOUJC.js} +26 -26
  18. package/components/{CasinoFavoritesSection-CBb3Eo8J.cjs → CasinoFavoritesSection-hHKNAcoS.cjs} +1 -1
  19. package/components/{CasinoFilter-Dt8GhenI.js → CasinoFilter-BTof425X.js} +247 -246
  20. package/components/{CasinoFilter-BHLJqOwW.js → CasinoFilter-BWjq7W1e.js} +234 -235
  21. package/components/CasinoFilter-C2Q93qQz.cjs +1 -0
  22. package/components/{CasinoGamePage-D_TzJsC-.js → CasinoGamePage-Cp2CKRka.js} +742 -742
  23. package/components/{CasinoGamePage-BmgERtPr.cjs → CasinoGamePage-D2huRBJX.cjs} +6 -6
  24. package/components/{CasinoGamePage-5moXxd0d.js → CasinoGamePage-ssKF-ZD1.js} +741 -741
  25. package/components/{CasinoGameThumbnail-DSjNVacg.js → CasinoGameThumbnail-CVz7FpsB.js} +528 -512
  26. package/components/{CasinoGameThumbnail-OrvrYv4V.cjs → CasinoGameThumbnail-DK9cpR-G.cjs} +15 -15
  27. package/components/{CasinoGameThumbnail-DqBpfUwf.js → CasinoGameThumbnail-NLieCJGe.js} +420 -436
  28. package/components/{CasinoGamesCategorySection-DEh7yuGp.cjs → CasinoGamesCategorySection-BAcJus2G.cjs} +1 -1
  29. package/components/{CasinoGamesCategorySection-Ce43OSOZ.js → CasinoGamesCategorySection-BP3bZsZg.js} +247 -247
  30. package/components/{CasinoGamesCategorySection-d8QOFywW.js → CasinoGamesCategorySection-Bpy9vh6D.js} +247 -247
  31. package/components/{CasinoJackpotBanner-Dxq2Y_-S.js → CasinoJackpotBanner-CuP8WP5Q.js} +74 -74
  32. package/components/{CasinoJackpotBanner-UQaC63Zv.js → CasinoJackpotBanner-Dl2rX6vI.js} +69 -69
  33. package/components/{CasinoJackpotBanner-B_CnR3Kj.cjs → CasinoJackpotBanner-DredUN6K.cjs} +1 -1
  34. package/components/{CasinoLastPlayedSection-BVANPPTi.js → CasinoLastPlayedSection-B9I2fZm5.js} +43 -43
  35. package/components/{CasinoLastPlayedSection-CyL83M3y.cjs → CasinoLastPlayedSection-COAM1aoc.cjs} +1 -1
  36. package/components/{CasinoLastPlayedSection-Bmr8n1pA.js → CasinoLastPlayedSection-CVEuFsbi.js} +43 -43
  37. package/components/{CasinoLobby-CWzN0imw.js → CasinoLobby-AoZlXLOV.js} +45 -45
  38. package/components/{CasinoLobby-DUI1Ki3q.js → CasinoLobby-BRiasSXJ.js} +47 -47
  39. package/components/{CasinoLobby-os94WdnE.cjs → CasinoLobby-CYqI5Bvp.cjs} +1 -1
  40. package/components/{CasinoModal-BaV1FE12.js → CasinoModal-B9Gmdwc0.js} +41 -41
  41. package/components/{CasinoModal-Bn6r73ff.js → CasinoModal-DLgyWFbs.js} +41 -41
  42. package/components/{CasinoModal-DWbCqr0p.cjs → CasinoModal-d1VUXUWj.cjs} +1 -1
  43. package/components/{CasinoMostPlayedSection-B4SHGVp4.js → CasinoMostPlayedSection-9B6X9czZ.js} +50 -50
  44. package/components/{CasinoMostPlayedSection-y-GWnOes.cjs → CasinoMostPlayedSection-BUwIld9p.cjs} +1 -1
  45. package/components/{CasinoMostPlayedSection-CD00UC6r.js → CasinoMostPlayedSection-DwZh0uxo.js} +50 -50
  46. package/components/{CasinoMyGames-BBsq56wQ.js → CasinoMyGames-76IMIo9z.js} +50 -50
  47. package/components/{CasinoMyGames-DRCL87dq.js → CasinoMyGames-DRCxYUHg.js} +53 -53
  48. package/components/{CasinoMyGames-DKu8rYmc.cjs → CasinoMyGames-DTGaTHyO.cjs} +1 -1
  49. package/components/{CasinoPage-DXP80Vgm.js → CasinoPage-BPxxsTeq.js} +85 -85
  50. package/components/{CasinoPage-BJ2hLXJb.js → CasinoPage-CikRIum6.js} +93 -93
  51. package/components/{CasinoPage-CXAKd3oS.cjs → CasinoPage-DZ6Yhwli.cjs} +1 -1
  52. package/components/{CasinoRandomGame-BO7BqLXA.cjs → CasinoRandomGame-CBcSHzZL.cjs} +1 -1
  53. package/components/{CasinoRandomGame-CsA5xgwc.js → CasinoRandomGame-CfOiAKHl.js} +63 -63
  54. package/components/{CasinoRandomGame-DLzqJj4x.js → CasinoRandomGame-CqripZYr.js} +64 -64
  55. package/components/{CasinoSearch-CzUqsTgU.js → CasinoSearch-CCcjmB9U.js} +72 -72
  56. package/components/{CasinoSearch-CxFbGTdy.cjs → CasinoSearch-CZSrkWFZ.cjs} +1 -1
  57. package/components/{CasinoSearch-atJ6AGYa.js → CasinoSearch-Cs8FRwGb.js} +72 -72
  58. package/components/{CasinoSlider-DjqwMakd.js → CasinoSlider-0rdHVHjG.js} +65 -65
  59. package/components/{CasinoSlider-CgiDJzPs.cjs → CasinoSlider-CMKmgXUK.cjs} +1 -1
  60. package/components/{CasinoSlider-zHVThApL.js → CasinoSlider-CleETLFf.js} +74 -74
  61. package/components/{CasinoSort-DtUIrmuZ.js → CasinoSort-BRC8Jmi_.js} +103 -104
  62. package/components/{CasinoSort-23PYwtO1.cjs → CasinoSort-C78a6veQ.cjs} +1 -1
  63. package/components/{CasinoSort-B3A_Ar_A.js → CasinoSort-xZsxfLYC.js} +111 -110
  64. package/components/{CasinoWinners-Gb2w2dXe.js → CasinoWinners-BEOhs5WG.js} +179 -179
  65. package/components/{CasinoWinners-KEY7dD3z.cjs → CasinoWinners-Cp1yMlzb.cjs} +1 -1
  66. package/components/{CasinoWinners-CF_PptIS.js → CasinoWinners-DD8ZyQkV.js} +162 -162
  67. package/components/{GeneralAnimationLoading-B-6s0l9d.cjs → GeneralAnimationLoading-Bl6_sP-d.cjs} +1 -1
  68. package/components/{GeneralAnimationLoading-8TvNjXay.js → GeneralAnimationLoading-CURVDkRT.js} +16 -16
  69. package/components/{GeneralAnimationLoading-Bbxdne1m.js → GeneralAnimationLoading-uswxvfCW.js} +16 -16
  70. package/es2015/casino-lobby.cjs +1 -1
  71. package/es2015/casino-lobby.js +1 -1
  72. package/esnext/casino-lobby.js +1 -1
  73. package/package.json +1 -1
  74. package/stencil/{casino-play-random-game-Dm8A9dTR.js → casino-play-random-game-BW66Civ1.js} +2 -2
  75. package/stencil/{casino-play-random-game-CLSQBVzD.js → casino-play-random-game-Bk7toWLj.js} +2 -2
  76. package/stencil/{casino-play-random-game-CdZKN03s.cjs → casino-play-random-game-CKM_xKne.cjs} +2 -2
  77. package/stencil/index-ab3202d6-BW1TSmQg.js +575 -0
  78. package/stencil/index-ab3202d6-C6VFhXtX.cjs +1 -0
  79. package/stencil/index-ab3202d6-CkTejM5U.js +559 -0
  80. package/stencil/index-ae04a8b1-BvZmaj3p.js +532 -0
  81. package/stencil/index-ae04a8b1-DoeYpoC5.js +516 -0
  82. package/stencil/index-ae04a8b1-OBbo8Dzb.cjs +1 -0
  83. package/stencil/{ui-skeleton-DDYD_XHU.js → ui-skeleton-C02hm1pt.js} +2 -2
  84. package/stencil/{ui-skeleton-Bz6cw7xJ.js → ui-skeleton-DET4YE0J.js} +2 -2
  85. package/stencil/{ui-skeleton-D9k-xWaS.cjs → ui-skeleton-DlNNnOZy.cjs} +1 -1
  86. package/stencil/{ui-skeleton-a642cced-Bg6oYmhk.js → ui-skeleton-a642cced-7C4Fyb2d.js} +1 -1
  87. package/stencil/{ui-skeleton-a642cced-CVw8zpGJ.cjs → ui-skeleton-a642cced-BhVS1i2r.cjs} +1 -1
  88. package/stencil/{ui-skeleton-a642cced-MvzXi5-c.js → ui-skeleton-a642cced-Dn9GOtgo.js} +1 -1
  89. package/components/CasinoCalendar-DqS7aKva.cjs +0 -22
  90. package/components/CasinoCategoriesSlider-DZpvR9sw.cjs +0 -1
  91. package/components/CasinoFilter-Bg-VilMd.cjs +0 -1
  92. package/stencil/index-ab3202d6-C1hgKWrC.cjs +0 -1
  93. package/stencil/index-ab3202d6-OPh7hJp9.js +0 -575
  94. package/stencil/index-ab3202d6-hGs51skN.js +0 -559
  95. package/stencil/index-ae04a8b1-BhaHMrLE.js +0 -516
  96. package/stencil/index-ae04a8b1-Dn3cponN.js +0 -532
  97. package/stencil/index-ae04a8b1-jEvGbYrB.cjs +0 -1
@@ -1,7 +1,7 @@
1
1
  function A() {
2
2
  }
3
- const Ar = (e) => e;
4
- function Or(e, t) {
3
+ const Mr = (e) => e;
4
+ function Nr(e, t) {
5
5
  for (const r in t)
6
6
  e[r] = t[r];
7
7
  return (
@@ -9,29 +9,29 @@ function Or(e, t) {
9
9
  e
10
10
  );
11
11
  }
12
- function Gt(e) {
12
+ function kt(e) {
13
13
  return e();
14
14
  }
15
- function ht() {
15
+ function dt() {
16
16
  return /* @__PURE__ */ Object.create(null);
17
17
  }
18
18
  function V(e) {
19
- e.forEach(Gt);
19
+ e.forEach(kt);
20
20
  }
21
21
  function de(e) {
22
22
  return typeof e == "function";
23
23
  }
24
- function Ft(e, t) {
24
+ function Vt(e, t) {
25
25
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
26
26
  }
27
27
  let be;
28
- function Es(e, t) {
28
+ function Ts(e, t) {
29
29
  return e === t ? !0 : (be || (be = document.createElement("a")), be.href = t, e === be.href);
30
30
  }
31
- function Ir(e) {
31
+ function Rr(e) {
32
32
  return Object.keys(e).length === 0;
33
33
  }
34
- function jt(e, ...t) {
34
+ function Xt(e, ...t) {
35
35
  if (e == null) {
36
36
  for (const n of t)
37
37
  n(void 0);
@@ -40,19 +40,19 @@ function jt(e, ...t) {
40
40
  const r = e.subscribe(...t);
41
41
  return r.unsubscribe ? () => r.unsubscribe() : r;
42
42
  }
43
- function Cr(e, t, r) {
44
- e.$$.on_destroy.push(jt(t, r));
43
+ function $r(e, t, r) {
44
+ e.$$.on_destroy.push(Xt(t, r));
45
45
  }
46
- function xs(e, t, r, n) {
46
+ function Hs(e, t, r, n) {
47
47
  if (e) {
48
- const i = kt(e, t, r, n);
48
+ const i = Wt(e, t, r, n);
49
49
  return e[0](i);
50
50
  }
51
51
  }
52
- function kt(e, t, r, n) {
53
- return e[1] && n ? Or(r.ctx.slice(), e[1](n(t))) : r.ctx;
52
+ function Wt(e, t, r, n) {
53
+ return e[1] && n ? Nr(r.ctx.slice(), e[1](n(t))) : r.ctx;
54
54
  }
55
- function ws(e, t, r, n) {
55
+ function Bs(e, t, r, n) {
56
56
  if (e[2] && n) {
57
57
  const i = e[2](n(r));
58
58
  if (t.dirty === void 0)
@@ -67,13 +67,13 @@ function ws(e, t, r, n) {
67
67
  }
68
68
  return t.dirty;
69
69
  }
70
- function Ss(e, t, r, n, i, s) {
70
+ function Ps(e, t, r, n, i, s) {
71
71
  if (i) {
72
- const a = kt(t, r, n, s);
72
+ const a = Wt(t, r, n, s);
73
73
  e.p(a, i);
74
74
  }
75
75
  }
76
- function Ts(e) {
76
+ function As(e) {
77
77
  if (e.ctx.length > 32) {
78
78
  const t = [], r = e.ctx.length / 32;
79
79
  for (let n = 0; n < r; n++)
@@ -82,20 +82,20 @@ function Ts(e) {
82
82
  }
83
83
  return -1;
84
84
  }
85
- function Hs(e) {
85
+ function Os(e) {
86
86
  return e && de(e.destroy) ? e.destroy : A;
87
87
  }
88
- const Vt = typeof window < "u";
89
- let Lr = Vt ? () => window.performance.now() : () => Date.now(), it = Vt ? (e) => requestAnimationFrame(e) : A;
88
+ const zt = typeof window < "u";
89
+ let Dr = zt ? () => window.performance.now() : () => Date.now(), st = zt ? (e) => requestAnimationFrame(e) : A;
90
90
  const J = /* @__PURE__ */ new Set();
91
- function Xt(e) {
91
+ function Zt(e) {
92
92
  J.forEach((t) => {
93
93
  t.c(e) || (J.delete(t), t.f());
94
- }), J.size !== 0 && it(Xt);
94
+ }), J.size !== 0 && st(Zt);
95
95
  }
96
- function Nr(e) {
96
+ function Ur(e) {
97
97
  let t;
98
- return J.size === 0 && it(Xt), {
98
+ return J.size === 0 && st(Zt), {
99
99
  promise: new Promise((r) => {
100
100
  J.add(t = { c: e, f: r });
101
101
  }),
@@ -107,14 +107,14 @@ function Nr(e) {
107
107
  function pe(e, t) {
108
108
  e.appendChild(t);
109
109
  }
110
- function Mr(e, t, r) {
111
- const n = st(e);
110
+ function Gr(e, t, r) {
111
+ const n = ot(e);
112
112
  if (!n.getElementById(t)) {
113
- const i = N("style");
114
- i.id = t, i.textContent = r, Wt(n, i);
113
+ const i = M("style");
114
+ i.id = t, i.textContent = r, Qt(n, i);
115
115
  }
116
116
  }
117
- function st(e) {
117
+ function ot(e) {
118
118
  if (!e)
119
119
  return document;
120
120
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -124,11 +124,11 @@ function st(e) {
124
124
  t
125
125
  ) : e.ownerDocument;
126
126
  }
127
- function Rr(e) {
128
- const t = N("style");
129
- return t.textContent = "/* empty */", Wt(st(e), t), t.sheet;
127
+ function Fr(e) {
128
+ const t = M("style");
129
+ return t.textContent = "/* empty */", Qt(ot(e), t), t.sheet;
130
130
  }
131
- function Wt(e, t) {
131
+ function Qt(e, t) {
132
132
  return pe(
133
133
  /** @type {Document} */
134
134
  e.head || e,
@@ -141,29 +141,29 @@ function X(e, t, r) {
141
141
  function R(e) {
142
142
  e.parentNode && e.parentNode.removeChild(e);
143
143
  }
144
- function $r(e, t) {
144
+ function jr(e, t) {
145
145
  for (let r = 0; r < e.length; r += 1)
146
146
  e[r] && e[r].d(t);
147
147
  }
148
- function N(e) {
148
+ function M(e) {
149
149
  return document.createElement(e);
150
150
  }
151
- function Dr(e) {
151
+ function kr(e) {
152
152
  return document.createElementNS("http://www.w3.org/2000/svg", e);
153
153
  }
154
- function ot(e) {
154
+ function at(e) {
155
155
  return document.createTextNode(e);
156
156
  }
157
- function Ur() {
158
- return ot(" ");
157
+ function Vr() {
158
+ return at(" ");
159
159
  }
160
- function Ps() {
161
- return ot("");
160
+ function Is() {
161
+ return at("");
162
162
  }
163
- function ct(e, t, r, n) {
163
+ function pt(e, t, r, n) {
164
164
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
165
165
  }
166
- function Bs(e) {
166
+ function Cs(e) {
167
167
  return function(t) {
168
168
  return t.stopPropagation(), e.call(this, t);
169
169
  };
@@ -175,21 +175,21 @@ function b(e, t, r) {
175
175
  const n = t.toLowerCase();
176
176
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : k(e, t, r);
177
177
  }
178
- function Gr(e) {
178
+ function Xr(e) {
179
179
  return Array.from(e.childNodes);
180
180
  }
181
- function Fr(e, t) {
181
+ function Wr(e, t) {
182
182
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
183
183
  t);
184
184
  }
185
- function As(e, t) {
185
+ function Ls(e, t) {
186
186
  e.value = t ?? "";
187
187
  }
188
- function Os(e, t, r, n) {
188
+ function Ms(e, t, r, n) {
189
189
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
190
190
  }
191
191
  let ye;
192
- function jr() {
192
+ function zr() {
193
193
  if (ye === void 0) {
194
194
  ye = !1;
195
195
  try {
@@ -200,16 +200,16 @@ function jr() {
200
200
  }
201
201
  return ye;
202
202
  }
203
- function Is(e, t) {
203
+ function Ns(e, t) {
204
204
  getComputedStyle(e).position === "static" && (e.style.position = "relative");
205
- const n = N("iframe");
205
+ const n = M("iframe");
206
206
  n.setAttribute(
207
207
  "style",
208
208
  "display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"
209
209
  ), n.setAttribute("aria-hidden", "true"), n.tabIndex = -1;
210
- const i = jr();
210
+ const i = zr();
211
211
  let s;
212
- return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", s = ct(
212
+ return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", s = pt(
213
213
  window,
214
214
  "message",
215
215
  /** @param {MessageEvent} event */
@@ -217,18 +217,18 @@ function Is(e, t) {
217
217
  a.source === n.contentWindow && t();
218
218
  }
219
219
  )) : (n.src = "about:blank", n.onload = () => {
220
- s = ct(n.contentWindow, "resize", t), t();
220
+ s = pt(n.contentWindow, "resize", t), t();
221
221
  }), pe(e, n), () => {
222
222
  (i || s && n.contentWindow) && s(), R(n);
223
223
  };
224
224
  }
225
- function Cs(e, t, r) {
225
+ function Rs(e, t, r) {
226
226
  e.classList.toggle(t, !!r);
227
227
  }
228
- function kr(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
228
+ function Zr(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
229
229
  return new CustomEvent(e, { detail: t, bubbles: r, cancelable: n });
230
230
  }
231
- class Ls {
231
+ class $s {
232
232
  /**
233
233
  * @private
234
234
  * @default false
@@ -259,10 +259,10 @@ class Ls {
259
259
  * @returns {void}
260
260
  */
261
261
  m(t, r, n = null) {
262
- this.e || (this.is_svg ? this.e = Dr(
262
+ this.e || (this.is_svg ? this.e = kr(
263
263
  /** @type {keyof SVGElementTagNameMap} */
264
264
  r.nodeName
265
- ) : this.e = N(
265
+ ) : this.e = M(
266
266
  /** @type {keyof HTMLElementTagNameMap} */
267
267
  r.nodeType === 11 ? "TEMPLATE" : r.nodeName
268
268
  ), this.t = r.tagName !== "TEMPLATE" ? r : (
@@ -298,7 +298,7 @@ class Ls {
298
298
  this.n.forEach(R);
299
299
  }
300
300
  }
301
- function Vr(e) {
301
+ function Qr(e) {
302
302
  const t = {};
303
303
  return e.childNodes.forEach(
304
304
  /** @param {Element} node */
@@ -309,17 +309,17 @@ function Vr(e) {
309
309
  }
310
310
  const Te = /* @__PURE__ */ new Map();
311
311
  let He = 0;
312
- function Xr(e) {
312
+ function qr(e) {
313
313
  let t = 5381, r = e.length;
314
314
  for (; r--; )
315
315
  t = (t << 5) - t ^ e.charCodeAt(r);
316
316
  return t >>> 0;
317
317
  }
318
- function Wr(e, t) {
319
- const r = { stylesheet: Rr(t), rules: {} };
318
+ function Jr(e, t) {
319
+ const r = { stylesheet: Fr(t), rules: {} };
320
320
  return Te.set(e, r), r;
321
321
  }
322
- function ft(e, t, r, n, i, s, a, o = 0) {
322
+ function mt(e, t, r, n, i, s, a, o = 0) {
323
323
  const l = 16.666 / n;
324
324
  let u = `{
325
325
  `;
@@ -329,20 +329,20 @@ function ft(e, t, r, n, i, s, a, o = 0) {
329
329
  `;
330
330
  }
331
331
  const h = u + `100% {${a(r, 1 - r)}}
332
- }`, f = `__svelte_${Xr(h)}_${o}`, c = st(e), { stylesheet: p, rules: d } = Te.get(c) || Wr(c, e);
332
+ }`, f = `__svelte_${qr(h)}_${o}`, c = ot(e), { stylesheet: p, rules: d } = Te.get(c) || Jr(c, e);
333
333
  d[f] || (d[f] = !0, p.insertRule(`@keyframes ${f} ${h}`, p.cssRules.length));
334
334
  const m = e.style.animation || "";
335
335
  return e.style.animation = `${m ? `${m}, ` : ""}${f} ${n}ms linear ${i}ms 1 both`, He += 1, f;
336
336
  }
337
- function zr(e, t) {
337
+ function Yr(e, t) {
338
338
  const r = (e.style.animation || "").split(", "), n = r.filter(
339
339
  t ? (s) => s.indexOf(t) < 0 : (s) => s.indexOf("__svelte") === -1
340
340
  // remove all Svelte animations
341
341
  ), i = r.length - n.length;
342
- i && (e.style.animation = n.join(", "), He -= i, He || Zr());
342
+ i && (e.style.animation = n.join(", "), He -= i, He || Kr());
343
343
  }
344
- function Zr() {
345
- it(() => {
344
+ function Kr() {
345
+ st(() => {
346
346
  He || (Te.forEach((e) => {
347
347
  const { ownerNode: t } = e.stylesheet;
348
348
  t && R(t);
@@ -353,34 +353,34 @@ let he;
353
353
  function le(e) {
354
354
  he = e;
355
355
  }
356
- function at() {
356
+ function ut() {
357
357
  if (!he)
358
358
  throw new Error("Function called outside component initialization");
359
359
  return he;
360
360
  }
361
- function Ns(e) {
362
- at().$$.before_update.push(e);
361
+ function Ds(e) {
362
+ ut().$$.before_update.push(e);
363
363
  }
364
- function Qr(e) {
365
- at().$$.on_mount.push(e);
364
+ function en(e) {
365
+ ut().$$.on_mount.push(e);
366
366
  }
367
- function Ms(e) {
368
- at().$$.on_destroy.push(e);
367
+ function Us(e) {
368
+ ut().$$.on_destroy.push(e);
369
369
  }
370
- const q = [], ke = [];
370
+ const q = [], Ve = [];
371
371
  let Y = [];
372
- const dt = [], zt = /* @__PURE__ */ Promise.resolve();
373
- let Ve = !1;
374
- function Zt() {
375
- Ve || (Ve = !0, zt.then($));
372
+ const bt = [], qt = /* @__PURE__ */ Promise.resolve();
373
+ let Xe = !1;
374
+ function Jt() {
375
+ Xe || (Xe = !0, qt.then($));
376
376
  }
377
- function Rs() {
378
- return Zt(), zt;
377
+ function Gs() {
378
+ return Jt(), qt;
379
379
  }
380
- function Pe(e) {
380
+ function Be(e) {
381
381
  Y.push(e);
382
382
  }
383
- const Me = /* @__PURE__ */ new Set();
383
+ const Ne = /* @__PURE__ */ new Set();
384
384
  let Z = 0;
385
385
  function $() {
386
386
  if (Z !== 0)
@@ -390,46 +390,46 @@ function $() {
390
390
  try {
391
391
  for (; Z < q.length; ) {
392
392
  const t = q[Z];
393
- Z++, le(t), qr(t.$$);
393
+ Z++, le(t), tn(t.$$);
394
394
  }
395
395
  } catch (t) {
396
396
  throw q.length = 0, Z = 0, t;
397
397
  }
398
- for (le(null), q.length = 0, Z = 0; ke.length; )
399
- ke.pop()();
398
+ for (le(null), q.length = 0, Z = 0; Ve.length; )
399
+ Ve.pop()();
400
400
  for (let t = 0; t < Y.length; t += 1) {
401
401
  const r = Y[t];
402
- Me.has(r) || (Me.add(r), r());
402
+ Ne.has(r) || (Ne.add(r), r());
403
403
  }
404
404
  Y.length = 0;
405
405
  } while (q.length);
406
- for (; dt.length; )
407
- dt.pop()();
408
- Ve = !1, Me.clear(), le(e);
406
+ for (; bt.length; )
407
+ bt.pop()();
408
+ Xe = !1, Ne.clear(), le(e);
409
409
  }
410
- function qr(e) {
410
+ function tn(e) {
411
411
  if (e.fragment !== null) {
412
412
  e.update(), V(e.before_update);
413
413
  const t = e.dirty;
414
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Pe);
414
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Be);
415
415
  }
416
416
  }
417
- function Jr(e) {
417
+ function rn(e) {
418
418
  const t = [], r = [];
419
419
  Y.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Y = t;
420
420
  }
421
421
  let ae;
422
- function Yr() {
422
+ function nn() {
423
423
  return ae || (ae = Promise.resolve(), ae.then(() => {
424
424
  ae = null;
425
425
  })), ae;
426
426
  }
427
427
  function Re(e, t, r) {
428
- e.dispatchEvent(kr(`${t ? "intro" : "outro"}${r}`));
428
+ e.dispatchEvent(Zr(`${t ? "intro" : "outro"}${r}`));
429
429
  }
430
430
  const _e = /* @__PURE__ */ new Set();
431
431
  let D;
432
- function $s() {
432
+ function Fs() {
433
433
  D = {
434
434
  r: 0,
435
435
  c: [],
@@ -437,13 +437,13 @@ function $s() {
437
437
  // parent group
438
438
  };
439
439
  }
440
- function Ds() {
440
+ function js() {
441
441
  D.r || V(D.c), D = D.p;
442
442
  }
443
- function Qt(e, t) {
443
+ function Yt(e, t) {
444
444
  e && e.i && (_e.delete(e), e.i(t));
445
445
  }
446
- function Us(e, t, r, n) {
446
+ function ks(e, t, r, n) {
447
447
  if (e && e.o) {
448
448
  if (_e.has(e))
449
449
  return;
@@ -453,11 +453,11 @@ function Us(e, t, r, n) {
453
453
  } else
454
454
  n && n();
455
455
  }
456
- const Kr = { duration: 0 };
457
- function Gs(e, t, r, n) {
456
+ const sn = { duration: 0 };
457
+ function Vs(e, t, r, n) {
458
458
  let s = t(e, r, { direction: "both" }), a = n ? 0 : 1, o = null, l = null, u = null, h;
459
459
  function f() {
460
- u && zr(e, u);
460
+ u && Yr(e, u);
461
461
  }
462
462
  function c(d, m) {
463
463
  const E = (
@@ -478,16 +478,16 @@ function Gs(e, t, r, n) {
478
478
  const {
479
479
  delay: m = 0,
480
480
  duration: E = 300,
481
- easing: T = Ar,
481
+ easing: T = Mr,
482
482
  tick: H = A,
483
483
  css: S
484
- } = s || Kr, O = {
485
- start: Lr() + m,
484
+ } = s || sn, O = {
485
+ start: Dr() + m,
486
486
  b: d
487
487
  };
488
488
  d || (O.group = D, D.r += 1), "inert" in e && (d ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
489
- e.inert, e.inert = !0)), o || l ? l = O : (S && (f(), u = ft(e, a, d, E, m, T, S)), d && H(0, 1), o = c(O, E), Pe(() => Re(e, d, "start")), Nr((P) => {
490
- if (l && P > l.start && (o = c(l, E), l = null, Re(e, o.b, "start"), S && (f(), u = ft(
489
+ e.inert, e.inert = !0)), o || l ? l = O : (S && (f(), u = mt(e, a, d, E, m, T, S)), d && H(0, 1), o = c(O, E), Be(() => Re(e, d, "start")), Ur((B) => {
490
+ if (l && B > l.start && (o = c(l, E), l = null, Re(e, o.b, "start"), S && (f(), u = mt(
491
491
  e,
492
492
  a,
493
493
  o.b,
@@ -496,11 +496,11 @@ function Gs(e, t, r, n) {
496
496
  T,
497
497
  s.css
498
498
  ))), o) {
499
- if (P >= o.end)
499
+ if (B >= o.end)
500
500
  H(a = o.b, 1 - a), Re(e, o.b, "end"), l || (o.b ? f() : --o.group.r || V(o.group.c)), o = null;
501
- else if (P >= o.start) {
502
- const C = P - o.start;
503
- a = o.a + o.d * T(C / o.duration), H(a, 1 - a);
501
+ else if (B >= o.start) {
502
+ const I = B - o.start;
503
+ a = o.a + o.d * T(I / o.duration), H(a, 1 - a);
504
504
  }
505
505
  }
506
506
  return !!(o || l);
@@ -508,7 +508,7 @@ function Gs(e, t, r, n) {
508
508
  }
509
509
  return {
510
510
  run(d) {
511
- de(s) ? Yr().then(() => {
511
+ de(s) ? nn().then(() => {
512
512
  s = s({ direction: d ? "in" : "out" }), p(d);
513
513
  }) : p(d);
514
514
  },
@@ -517,54 +517,54 @@ function Gs(e, t, r, n) {
517
517
  }
518
518
  };
519
519
  }
520
- function pt(e) {
520
+ function yt(e) {
521
521
  return e?.length !== void 0 ? e : Array.from(e);
522
522
  }
523
- function Fs(e, t) {
523
+ function Xs(e, t) {
524
524
  e.d(1), t.delete(e.key);
525
525
  }
526
- function js(e, t, r, n, i, s, a, o, l, u, h, f) {
526
+ function Ws(e, t, r, n, i, s, a, o, l, u, h, f) {
527
527
  let c = e.length, p = s.length, d = c;
528
528
  const m = {};
529
529
  for (; d--; )
530
530
  m[e[d].key] = d;
531
531
  const E = [], T = /* @__PURE__ */ new Map(), H = /* @__PURE__ */ new Map(), S = [];
532
532
  for (d = p; d--; ) {
533
- const w = f(i, s, d), L = r(w);
534
- let I = a.get(L);
535
- I ? S.push(() => I.p(w, t)) : (I = u(L, w), I.c()), T.set(L, E[d] = I), L in m && H.set(L, Math.abs(d - m[L]));
533
+ const w = f(i, s, d), C = r(w);
534
+ let L = a.get(C);
535
+ L ? S.push(() => L.p(w, t)) : (L = u(C, w), L.c()), T.set(C, E[d] = L), C in m && H.set(C, Math.abs(d - m[C]));
536
536
  }
537
- const O = /* @__PURE__ */ new Set(), P = /* @__PURE__ */ new Set();
538
- function C(w) {
539
- Qt(w, 1), w.m(o, h), a.set(w.key, w), h = w.first, p--;
537
+ const O = /* @__PURE__ */ new Set(), B = /* @__PURE__ */ new Set();
538
+ function I(w) {
539
+ Yt(w, 1), w.m(o, h), a.set(w.key, w), h = w.first, p--;
540
540
  }
541
541
  for (; c && p; ) {
542
- const w = E[p - 1], L = e[c - 1], I = w.key, z = L.key;
543
- w === L ? (h = w.first, c--, p--) : T.has(z) ? !a.has(I) || O.has(I) ? C(w) : P.has(z) ? c-- : H.get(I) > H.get(z) ? (P.add(I), C(w)) : (O.add(z), c--) : (l(L, a), c--);
542
+ const w = E[p - 1], C = e[c - 1], L = w.key, W = C.key;
543
+ w === C ? (h = w.first, c--, p--) : T.has(W) ? !a.has(L) || O.has(L) ? I(w) : B.has(W) ? c-- : H.get(L) > H.get(W) ? (B.add(L), I(w)) : (O.add(W), c--) : (l(C, a), c--);
544
544
  }
545
545
  for (; c--; ) {
546
546
  const w = e[c];
547
547
  T.has(w.key) || l(w, a);
548
548
  }
549
549
  for (; p; )
550
- C(E[p - 1]);
550
+ I(E[p - 1]);
551
551
  return V(S), E;
552
552
  }
553
- function en(e, t, r) {
553
+ function on(e, t, r) {
554
554
  const { fragment: n, after_update: i } = e.$$;
555
- n && n.m(t, r), Pe(() => {
556
- const s = e.$$.on_mount.map(Gt).filter(de);
555
+ n && n.m(t, r), Be(() => {
556
+ const s = e.$$.on_mount.map(kt).filter(de);
557
557
  e.$$.on_destroy ? e.$$.on_destroy.push(...s) : V(s), e.$$.on_mount = [];
558
- }), i.forEach(Pe);
558
+ }), i.forEach(Be);
559
559
  }
560
- function tn(e, t) {
560
+ function an(e, t) {
561
561
  const r = e.$$;
562
- r.fragment !== null && (Jr(r.after_update), V(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
562
+ r.fragment !== null && (rn(r.after_update), V(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
563
563
  }
564
- function rn(e, t) {
565
- e.$$.dirty[0] === -1 && (q.push(e), Zt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
564
+ function un(e, t) {
565
+ e.$$.dirty[0] === -1 && (q.push(e), Jt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
566
566
  }
567
- function nn(e, t, r, n, i, s, a = null, o = [-1]) {
567
+ function ln(e, t, r, n, i, s, a = null, o = [-1]) {
568
568
  const l = he;
569
569
  le(e);
570
570
  const u = e.$$ = {
@@ -574,7 +574,7 @@ function nn(e, t, r, n, i, s, a = null, o = [-1]) {
574
574
  props: s,
575
575
  update: A,
576
576
  not_equal: i,
577
- bound: ht(),
577
+ bound: dt(),
578
578
  // lifecycle
579
579
  on_mount: [],
580
580
  on_destroy: [],
@@ -583,7 +583,7 @@ function nn(e, t, r, n, i, s, a = null, o = [-1]) {
583
583
  after_update: [],
584
584
  context: new Map(t.context || (l ? l.$$.context : [])),
585
585
  // everything else
586
- callbacks: ht(),
586
+ callbacks: dt(),
587
587
  dirty: o,
588
588
  skip_bound: !1,
589
589
  root: t.target || l.$$.root
@@ -592,19 +592,19 @@ function nn(e, t, r, n, i, s, a = null, o = [-1]) {
592
592
  let h = !1;
593
593
  if (u.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
594
594
  const d = p.length ? p[0] : c;
595
- return u.ctx && i(u.ctx[f], u.ctx[f] = d) && (!u.skip_bound && u.bound[f] && u.bound[f](d), h && rn(e, f)), c;
595
+ return u.ctx && i(u.ctx[f], u.ctx[f] = d) && (!u.skip_bound && u.bound[f] && u.bound[f](d), h && un(e, f)), c;
596
596
  }) : [], u.update(), h = !0, V(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
597
597
  if (t.hydrate) {
598
- const f = Gr(t.target);
598
+ const f = Xr(t.target);
599
599
  u.fragment && u.fragment.l(f), f.forEach(R);
600
600
  } else
601
601
  u.fragment && u.fragment.c();
602
- t.intro && Qt(e.$$.fragment), en(e, t.target, t.anchor), $();
602
+ t.intro && Yt(e.$$.fragment), on(e, t.target, t.anchor), $();
603
603
  }
604
604
  le(l);
605
605
  }
606
- let qt;
607
- typeof HTMLElement == "function" && (qt = class extends HTMLElement {
606
+ let Kt;
607
+ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
608
608
  /** The Svelte component constructor */
609
609
  $$ctor;
610
610
  /** Slots */
@@ -646,7 +646,7 @@ typeof HTMLElement == "function" && (qt = class extends HTMLElement {
646
646
  let s;
647
647
  return {
648
648
  c: function() {
649
- s = N("slot"), i !== "default" && k(s, "name", i);
649
+ s = M("slot"), i !== "default" && k(s, "name", i);
650
650
  },
651
651
  /**
652
652
  * @param {HTMLElement} target
@@ -663,7 +663,7 @@ typeof HTMLElement == "function" && (qt = class extends HTMLElement {
663
663
  };
664
664
  if (await Promise.resolve(), !this.$$cn || this.$$c)
665
665
  return;
666
- const t = {}, r = Vr(this);
666
+ const t = {}, r = Qr(this);
667
667
  for (const i of this.$$s)
668
668
  i in r && (t[i] = [e(i)]);
669
669
  for (const i of this.attributes) {
@@ -750,8 +750,8 @@ function Ee(e, t, r, n) {
750
750
  return t;
751
751
  }
752
752
  }
753
- function sn(e, t, r, n, i, s) {
754
- let a = class extends qt {
753
+ function hn(e, t, r, n, i, s) {
754
+ let a = class extends Kt {
755
755
  constructor() {
756
756
  super(e, r, i), this.$$p_d = t;
757
757
  }
@@ -779,7 +779,7 @@ function sn(e, t, r, n, i, s) {
779
779
  }), e.element = /** @type {any} */
780
780
  a, a;
781
781
  }
782
- class on {
782
+ class cn {
783
783
  /**
784
784
  * ### PRIVATE API
785
785
  *
@@ -798,7 +798,7 @@ class on {
798
798
  $$set = void 0;
799
799
  /** @returns {void} */
800
800
  $destroy() {
801
- tn(this, 1), this.$destroy = A;
801
+ an(this, 1), this.$destroy = A;
802
802
  }
803
803
  /**
804
804
  * @template {Extract<keyof Events, string>} K
@@ -820,11 +820,11 @@ class on {
820
820
  * @returns {void}
821
821
  */
822
822
  $set(t) {
823
- this.$$set && !Ir(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
823
+ this.$$set && !Rr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
824
824
  }
825
825
  }
826
- const an = "4";
827
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(an);
826
+ const fn = "4";
827
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(fn);
828
828
  /*! *****************************************************************************
829
829
  Copyright (c) Microsoft Corporation.
830
830
 
@@ -839,18 +839,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
839
839
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
840
840
  PERFORMANCE OF THIS SOFTWARE.
841
841
  ***************************************************************************** */
842
- var Xe = function(e, t) {
843
- return Xe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
842
+ var We = function(e, t) {
843
+ return We = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
844
844
  r.__proto__ = n;
845
845
  } || function(r, n) {
846
846
  for (var i in n)
847
847
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
848
- }, Xe(e, t);
848
+ }, We(e, t);
849
849
  };
850
850
  function G(e, t) {
851
851
  if (typeof t != "function" && t !== null)
852
852
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
853
- Xe(e, t);
853
+ We(e, t);
854
854
  function r() {
855
855
  this.constructor = e;
856
856
  }
@@ -866,7 +866,7 @@ var _ = function() {
866
866
  return t;
867
867
  }, _.apply(this, arguments);
868
868
  };
869
- function un(e, t) {
869
+ function dn(e, t) {
870
870
  var r = {};
871
871
  for (var n in e)
872
872
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -875,7 +875,7 @@ function un(e, t) {
875
875
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
876
876
  return r;
877
877
  }
878
- function We(e) {
878
+ function ze(e) {
879
879
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
880
880
  if (r)
881
881
  return r.call(e);
@@ -887,7 +887,7 @@ function We(e) {
887
887
  };
888
888
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
889
889
  }
890
- function ze(e, t) {
890
+ function Ze(e, t) {
891
891
  var r = typeof Symbol == "function" && e[Symbol.iterator];
892
892
  if (!r)
893
893
  return e;
@@ -916,13 +916,13 @@ function K(e, t, r) {
916
916
  function U(e) {
917
917
  return typeof e == "function";
918
918
  }
919
- function Jt(e) {
919
+ function er(e) {
920
920
  var t = function(n) {
921
921
  Error.call(n), n.stack = new Error().stack;
922
922
  }, r = e(t);
923
923
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
924
924
  }
925
- var $e = Jt(function(e) {
925
+ var $e = er(function(e) {
926
926
  return function(r) {
927
927
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
928
928
  ` + r.map(function(n, i) {
@@ -931,7 +931,7 @@ var $e = Jt(function(e) {
931
931
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
932
932
  };
933
933
  });
934
- function Ze(e, t) {
934
+ function Qe(e, t) {
935
935
  if (e) {
936
936
  var r = e.indexOf(t);
937
937
  0 <= r && e.splice(r, 1);
@@ -949,7 +949,7 @@ var Oe = function() {
949
949
  if (a)
950
950
  if (this._parentage = null, Array.isArray(a))
951
951
  try {
952
- for (var o = We(a), l = o.next(); !l.done; l = o.next()) {
952
+ for (var o = ze(a), l = o.next(); !l.done; l = o.next()) {
953
953
  var u = l.value;
954
954
  u.remove(this);
955
955
  }
@@ -976,12 +976,12 @@ var Oe = function() {
976
976
  if (f) {
977
977
  this._finalizers = null;
978
978
  try {
979
- for (var c = We(f), p = c.next(); !p.done; p = c.next()) {
979
+ for (var c = ze(f), p = c.next(); !p.done; p = c.next()) {
980
980
  var d = p.value;
981
981
  try {
982
- mt(d);
982
+ gt(d);
983
983
  } catch (m) {
984
- s = s ?? [], m instanceof $e ? s = K(K([], ze(s)), ze(m.errors)) : s.push(m);
984
+ s = s ?? [], m instanceof $e ? s = K(K([], Ze(s)), Ze(m.errors)) : s.push(m);
985
985
  }
986
986
  }
987
987
  } catch (m) {
@@ -1002,7 +1002,7 @@ var Oe = function() {
1002
1002
  var r;
1003
1003
  if (t && t !== this)
1004
1004
  if (this.closed)
1005
- mt(t);
1005
+ gt(t);
1006
1006
  else {
1007
1007
  if (t instanceof e) {
1008
1008
  if (t.closed || t._hasParent(this))
@@ -1019,52 +1019,56 @@ var Oe = function() {
1019
1019
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
1020
1020
  }, e.prototype._removeParent = function(t) {
1021
1021
  var r = this._parentage;
1022
- r === t ? this._parentage = null : Array.isArray(r) && Ze(r, t);
1022
+ r === t ? this._parentage = null : Array.isArray(r) && Qe(r, t);
1023
1023
  }, e.prototype.remove = function(t) {
1024
1024
  var r = this._finalizers;
1025
- r && Ze(r, t), t instanceof e && t._removeParent(this);
1025
+ r && Qe(r, t), t instanceof e && t._removeParent(this);
1026
1026
  }, e.EMPTY = function() {
1027
1027
  var t = new e();
1028
1028
  return t.closed = !0, t;
1029
1029
  }(), e;
1030
- }(), Yt = Oe.EMPTY;
1031
- function Kt(e) {
1030
+ }(), tr = Oe.EMPTY;
1031
+ function rr(e) {
1032
1032
  return e instanceof Oe || e && "closed" in e && U(e.remove) && U(e.add) && U(e.unsubscribe);
1033
1033
  }
1034
- function mt(e) {
1034
+ function gt(e) {
1035
1035
  U(e) ? e() : e.unsubscribe();
1036
1036
  }
1037
- var ln = {
1038
- Promise: void 0
1039
- }, hn = {
1037
+ var nr = {
1038
+ onUnhandledError: null,
1039
+ onStoppedNotification: null,
1040
+ Promise: void 0,
1041
+ useDeprecatedSynchronousErrorHandling: !1,
1042
+ useDeprecatedNextContext: !1
1043
+ }, pn = {
1040
1044
  setTimeout: function(e, t) {
1041
1045
  for (var r = [], n = 2; n < arguments.length; n++)
1042
1046
  r[n - 2] = arguments[n];
1043
- return setTimeout.apply(void 0, K([e, t], ze(r)));
1047
+ return setTimeout.apply(void 0, K([e, t], Ze(r)));
1044
1048
  },
1045
1049
  clearTimeout: function(e) {
1046
1050
  return clearTimeout(e);
1047
1051
  },
1048
1052
  delegate: void 0
1049
1053
  };
1050
- function cn(e) {
1051
- hn.setTimeout(function() {
1054
+ function mn(e) {
1055
+ pn.setTimeout(function() {
1052
1056
  throw e;
1053
1057
  });
1054
1058
  }
1055
- function bt() {
1059
+ function vt() {
1056
1060
  }
1057
1061
  function xe(e) {
1058
1062
  e();
1059
1063
  }
1060
- var er = function(e) {
1064
+ var ir = function(e) {
1061
1065
  G(t, e);
1062
1066
  function t(r) {
1063
1067
  var n = e.call(this) || this;
1064
- return n.isStopped = !1, r ? (n.destination = r, Kt(r) && r.add(n)) : n.destination = pn, n;
1068
+ return n.isStopped = !1, r ? (n.destination = r, rr(r) && r.add(n)) : n.destination = vn, n;
1065
1069
  }
1066
1070
  return t.create = function(r, n, i) {
1067
- return new Qe(r, n, i);
1071
+ return new qe(r, n, i);
1068
1072
  }, t.prototype.next = function(r) {
1069
1073
  this.isStopped || this._next(r);
1070
1074
  }, t.prototype.error = function(r) {
@@ -1088,7 +1092,11 @@ var er = function(e) {
1088
1092
  this.unsubscribe();
1089
1093
  }
1090
1094
  }, t;
1091
- }(Oe), fn = function() {
1095
+ }(Oe), bn = Function.prototype.bind;
1096
+ function De(e, t) {
1097
+ return bn.call(e, t);
1098
+ }
1099
+ var yn = function() {
1092
1100
  function e(t) {
1093
1101
  this.partialObserver = t;
1094
1102
  }
@@ -1119,43 +1127,55 @@ var er = function(e) {
1119
1127
  ge(r);
1120
1128
  }
1121
1129
  }, e;
1122
- }(), Qe = function(e) {
1130
+ }(), qe = function(e) {
1123
1131
  G(t, e);
1124
1132
  function t(r, n, i) {
1125
1133
  var s = e.call(this) || this, a;
1126
- return U(r) || !r ? a = {
1127
- next: r ?? void 0,
1128
- error: n ?? void 0,
1129
- complete: i ?? void 0
1130
- } : a = r, s.destination = new fn(a), s;
1134
+ if (U(r) || !r)
1135
+ a = {
1136
+ next: r ?? void 0,
1137
+ error: n ?? void 0,
1138
+ complete: i ?? void 0
1139
+ };
1140
+ else {
1141
+ var o;
1142
+ s && nr.useDeprecatedNextContext ? (o = Object.create(r), o.unsubscribe = function() {
1143
+ return s.unsubscribe();
1144
+ }, a = {
1145
+ next: r.next && De(r.next, o),
1146
+ error: r.error && De(r.error, o),
1147
+ complete: r.complete && De(r.complete, o)
1148
+ }) : a = r;
1149
+ }
1150
+ return s.destination = new yn(a), s;
1131
1151
  }
1132
1152
  return t;
1133
- }(er);
1153
+ }(ir);
1134
1154
  function ge(e) {
1135
- cn(e);
1155
+ mn(e);
1136
1156
  }
1137
- function dn(e) {
1157
+ function gn(e) {
1138
1158
  throw e;
1139
1159
  }
1140
- var pn = {
1160
+ var vn = {
1141
1161
  closed: !0,
1142
- next: bt,
1143
- error: dn,
1144
- complete: bt
1145
- }, mn = function() {
1162
+ next: vt,
1163
+ error: gn,
1164
+ complete: vt
1165
+ }, _n = function() {
1146
1166
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
1147
1167
  }();
1148
- function bn(e) {
1168
+ function En(e) {
1149
1169
  return e;
1150
1170
  }
1151
- function yn(e) {
1152
- return e.length === 0 ? bn : e.length === 1 ? e[0] : function(r) {
1171
+ function xn(e) {
1172
+ return e.length === 0 ? En : e.length === 1 ? e[0] : function(r) {
1153
1173
  return e.reduce(function(n, i) {
1154
1174
  return i(n);
1155
1175
  }, r);
1156
1176
  };
1157
1177
  }
1158
- var yt = function() {
1178
+ var _t = function() {
1159
1179
  function e(t) {
1160
1180
  t && (this._subscribe = t);
1161
1181
  }
@@ -1163,7 +1183,7 @@ var yt = function() {
1163
1183
  var r = new e();
1164
1184
  return r.source = this, r.operator = t, r;
1165
1185
  }, e.prototype.subscribe = function(t, r, n) {
1166
- var i = this, s = vn(t) ? t : new Qe(t, r, n);
1186
+ var i = this, s = Sn(t) ? t : new qe(t, r, n);
1167
1187
  return xe(function() {
1168
1188
  var a = i, o = a.operator, l = a.source;
1169
1189
  s.add(o ? o.call(s, l) : l ? i._subscribe(s) : i._trySubscribe(s));
@@ -1176,8 +1196,8 @@ var yt = function() {
1176
1196
  }
1177
1197
  }, e.prototype.forEach = function(t, r) {
1178
1198
  var n = this;
1179
- return r = gt(r), new r(function(i, s) {
1180
- var a = new Qe({
1199
+ return r = Et(r), new r(function(i, s) {
1200
+ var a = new qe({
1181
1201
  next: function(o) {
1182
1202
  try {
1183
1203
  t(o);
@@ -1193,15 +1213,15 @@ var yt = function() {
1193
1213
  }, e.prototype._subscribe = function(t) {
1194
1214
  var r;
1195
1215
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
1196
- }, e.prototype[mn] = function() {
1216
+ }, e.prototype[_n] = function() {
1197
1217
  return this;
1198
1218
  }, e.prototype.pipe = function() {
1199
1219
  for (var t = [], r = 0; r < arguments.length; r++)
1200
1220
  t[r] = arguments[r];
1201
- return yn(t)(this);
1221
+ return xn(t)(this);
1202
1222
  }, e.prototype.toPromise = function(t) {
1203
1223
  var r = this;
1204
- return t = gt(t), new t(function(n, i) {
1224
+ return t = Et(t), new t(function(n, i) {
1205
1225
  var s;
1206
1226
  r.subscribe(function(a) {
1207
1227
  return s = a;
@@ -1215,32 +1235,32 @@ var yt = function() {
1215
1235
  return new e(t);
1216
1236
  }, e;
1217
1237
  }();
1218
- function gt(e) {
1238
+ function Et(e) {
1219
1239
  var t;
1220
- return (t = e ?? ln.Promise) !== null && t !== void 0 ? t : Promise;
1240
+ return (t = e ?? nr.Promise) !== null && t !== void 0 ? t : Promise;
1221
1241
  }
1222
- function gn(e) {
1242
+ function wn(e) {
1223
1243
  return e && U(e.next) && U(e.error) && U(e.complete);
1224
1244
  }
1225
- function vn(e) {
1226
- return e && e instanceof er || gn(e) && Kt(e);
1245
+ function Sn(e) {
1246
+ return e && e instanceof ir || wn(e) && rr(e);
1227
1247
  }
1228
- var _n = Jt(function(e) {
1248
+ var Tn = er(function(e) {
1229
1249
  return function() {
1230
1250
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
1231
1251
  };
1232
- }), tr = function(e) {
1252
+ }), sr = function(e) {
1233
1253
  G(t, e);
1234
1254
  function t() {
1235
1255
  var r = e.call(this) || this;
1236
1256
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
1237
1257
  }
1238
1258
  return t.prototype.lift = function(r) {
1239
- var n = new vt(this, this);
1259
+ var n = new xt(this, this);
1240
1260
  return n.operator = r, n;
1241
1261
  }, t.prototype._throwIfClosed = function() {
1242
1262
  if (this.closed)
1243
- throw new _n();
1263
+ throw new Tn();
1244
1264
  }, t.prototype.next = function(r) {
1245
1265
  var n = this;
1246
1266
  xe(function() {
@@ -1248,7 +1268,7 @@ var _n = Jt(function(e) {
1248
1268
  if (n._throwIfClosed(), !n.isStopped) {
1249
1269
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
1250
1270
  try {
1251
- for (var a = We(n.currentObservers), o = a.next(); !o.done; o = a.next()) {
1271
+ for (var a = ze(n.currentObservers), o = a.next(); !o.done; o = a.next()) {
1252
1272
  var l = o.value;
1253
1273
  l.next(r);
1254
1274
  }
@@ -1297,19 +1317,19 @@ var _n = Jt(function(e) {
1297
1317
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1298
1318
  }, t.prototype._innerSubscribe = function(r) {
1299
1319
  var n = this, i = this, s = i.hasError, a = i.isStopped, o = i.observers;
1300
- return s || a ? Yt : (this.currentObservers = null, o.push(r), new Oe(function() {
1301
- n.currentObservers = null, Ze(o, r);
1320
+ return s || a ? tr : (this.currentObservers = null, o.push(r), new Oe(function() {
1321
+ n.currentObservers = null, Qe(o, r);
1302
1322
  }));
1303
1323
  }, t.prototype._checkFinalizedStatuses = function(r) {
1304
1324
  var n = this, i = n.hasError, s = n.thrownError, a = n.isStopped;
1305
1325
  i ? r.error(s) : a && r.complete();
1306
1326
  }, t.prototype.asObservable = function() {
1307
- var r = new yt();
1327
+ var r = new _t();
1308
1328
  return r.source = this, r;
1309
1329
  }, t.create = function(r, n) {
1310
- return new vt(r, n);
1330
+ return new xt(r, n);
1311
1331
  }, t;
1312
- }(yt), vt = function(e) {
1332
+ }(_t), xt = function(e) {
1313
1333
  G(t, e);
1314
1334
  function t(r, n) {
1315
1335
  var i = e.call(this) || this;
@@ -1326,17 +1346,17 @@ var _n = Jt(function(e) {
1326
1346
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1327
1347
  }, t.prototype._subscribe = function(r) {
1328
1348
  var n, i;
1329
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Yt;
1349
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : tr;
1330
1350
  }, t;
1331
- }(tr), rr = {
1351
+ }(sr), or = {
1332
1352
  now: function() {
1333
- return (rr.delegate || Date).now();
1353
+ return (or.delegate || Date).now();
1334
1354
  },
1335
1355
  delegate: void 0
1336
- }, En = function(e) {
1356
+ }, Hn = function(e) {
1337
1357
  G(t, e);
1338
1358
  function t(r, n, i) {
1339
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = rr);
1359
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = or);
1340
1360
  var s = e.call(this) || this;
1341
1361
  return s._bufferSize = r, s._windowTime = n, s._timestampProvider = i, s._buffer = [], s._infiniteTimeWindow = !0, s._infiniteTimeWindow = n === 1 / 0, s._bufferSize = Math.max(1, r), s._windowTime = Math.max(1, n), s;
1342
1362
  }
@@ -1356,15 +1376,15 @@ var _n = Jt(function(e) {
1356
1376
  u && s.splice(0, u + 1);
1357
1377
  }
1358
1378
  }, t;
1359
- }(tr);
1360
- const _t = [], Et = {}, xn = (e, t = 0) => {
1361
- if (_t.indexOf(e) == -1) {
1362
- const r = new En(t);
1363
- Et[e] = r, _t.push(e);
1379
+ }(sr);
1380
+ const wt = [], St = {}, Bn = (e, t = 0) => {
1381
+ if (wt.indexOf(e) == -1) {
1382
+ const r = new Hn(t);
1383
+ St[e] = r, wt.push(e);
1364
1384
  }
1365
- return Et[e];
1385
+ return St[e];
1366
1386
  }, Q = [];
1367
- function wn(e, t) {
1387
+ function Pn(e, t) {
1368
1388
  return {
1369
1389
  subscribe: Ie(e, t).subscribe
1370
1390
  };
@@ -1373,7 +1393,7 @@ function Ie(e, t = A) {
1373
1393
  let r;
1374
1394
  const n = /* @__PURE__ */ new Set();
1375
1395
  function i(o) {
1376
- if (Ft(e, o) && (e = o, r)) {
1396
+ if (Vt(e, o) && (e = o, r)) {
1377
1397
  const l = !Q.length;
1378
1398
  for (const u of n)
1379
1399
  u[1](), Q.push(u, e);
@@ -1400,7 +1420,7 @@ function ie(e, t, r) {
1400
1420
  if (!i.every(Boolean))
1401
1421
  throw new Error("derived() expects stores as input, got a falsy value");
1402
1422
  const s = t.length < 2;
1403
- return wn(r, (a, o) => {
1423
+ return Pn(r, (a, o) => {
1404
1424
  let l = !1;
1405
1425
  const u = [];
1406
1426
  let h = 0, f = A;
@@ -1411,7 +1431,7 @@ function ie(e, t, r) {
1411
1431
  const d = t(n ? u[0] : u, a, o);
1412
1432
  s ? a(d) : f = de(d) ? d : A;
1413
1433
  }, p = i.map(
1414
- (d, m) => jt(
1434
+ (d, m) => Xt(
1415
1435
  d,
1416
1436
  (E) => {
1417
1437
  u[m] = E, h &= ~(1 << m), l && c();
@@ -1426,70 +1446,70 @@ function ie(e, t, r) {
1426
1446
  };
1427
1447
  });
1428
1448
  }
1429
- function Sn(e) {
1449
+ function An(e) {
1430
1450
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1431
1451
  }
1432
- var Tn = function(t) {
1433
- return Hn(t) && !Pn(t);
1452
+ var On = function(t) {
1453
+ return In(t) && !Cn(t);
1434
1454
  };
1435
- function Hn(e) {
1455
+ function In(e) {
1436
1456
  return !!e && typeof e == "object";
1437
1457
  }
1438
- function Pn(e) {
1458
+ function Cn(e) {
1439
1459
  var t = Object.prototype.toString.call(e);
1440
- return t === "[object RegExp]" || t === "[object Date]" || On(e);
1460
+ return t === "[object RegExp]" || t === "[object Date]" || Nn(e);
1441
1461
  }
1442
- var Bn = typeof Symbol == "function" && Symbol.for, An = Bn ? Symbol.for("react.element") : 60103;
1443
- function On(e) {
1444
- return e.$$typeof === An;
1462
+ var Ln = typeof Symbol == "function" && Symbol.for, Mn = Ln ? Symbol.for("react.element") : 60103;
1463
+ function Nn(e) {
1464
+ return e.$$typeof === Mn;
1445
1465
  }
1446
- function In(e) {
1466
+ function Rn(e) {
1447
1467
  return Array.isArray(e) ? [] : {};
1448
1468
  }
1449
1469
  function ce(e, t) {
1450
- return t.clone !== !1 && t.isMergeableObject(e) ? ee(In(e), e, t) : e;
1470
+ return t.clone !== !1 && t.isMergeableObject(e) ? ee(Rn(e), e, t) : e;
1451
1471
  }
1452
- function Cn(e, t, r) {
1472
+ function $n(e, t, r) {
1453
1473
  return e.concat(t).map(function(n) {
1454
1474
  return ce(n, r);
1455
1475
  });
1456
1476
  }
1457
- function Ln(e, t) {
1477
+ function Dn(e, t) {
1458
1478
  if (!t.customMerge)
1459
1479
  return ee;
1460
1480
  var r = t.customMerge(e);
1461
1481
  return typeof r == "function" ? r : ee;
1462
1482
  }
1463
- function Nn(e) {
1483
+ function Un(e) {
1464
1484
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1465
1485
  return Object.propertyIsEnumerable.call(e, t);
1466
1486
  }) : [];
1467
1487
  }
1468
- function xt(e) {
1469
- return Object.keys(e).concat(Nn(e));
1488
+ function Tt(e) {
1489
+ return Object.keys(e).concat(Un(e));
1470
1490
  }
1471
- function nr(e, t) {
1491
+ function ar(e, t) {
1472
1492
  try {
1473
1493
  return t in e;
1474
1494
  } catch {
1475
1495
  return !1;
1476
1496
  }
1477
1497
  }
1478
- function Mn(e, t) {
1479
- return nr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1498
+ function Gn(e, t) {
1499
+ return ar(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1480
1500
  }
1481
- function Rn(e, t, r) {
1501
+ function Fn(e, t, r) {
1482
1502
  var n = {};
1483
- return r.isMergeableObject(e) && xt(e).forEach(function(i) {
1503
+ return r.isMergeableObject(e) && Tt(e).forEach(function(i) {
1484
1504
  n[i] = ce(e[i], r);
1485
- }), xt(t).forEach(function(i) {
1486
- Mn(e, i) || (nr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Ln(i, r)(e[i], t[i], r) : n[i] = ce(t[i], r));
1505
+ }), Tt(t).forEach(function(i) {
1506
+ Gn(e, i) || (ar(e, i) && r.isMergeableObject(t[i]) ? n[i] = Dn(i, r)(e[i], t[i], r) : n[i] = ce(t[i], r));
1487
1507
  }), n;
1488
1508
  }
1489
1509
  function ee(e, t, r) {
1490
- r = r || {}, r.arrayMerge = r.arrayMerge || Cn, r.isMergeableObject = r.isMergeableObject || Tn, r.cloneUnlessOtherwiseSpecified = ce;
1510
+ r = r || {}, r.arrayMerge = r.arrayMerge || $n, r.isMergeableObject = r.isMergeableObject || On, r.cloneUnlessOtherwiseSpecified = ce;
1491
1511
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
1492
- return s ? n ? r.arrayMerge(e, t, r) : Rn(e, t, r) : ce(t, r);
1512
+ return s ? n ? r.arrayMerge(e, t, r) : Fn(e, t, r) : ce(t, r);
1493
1513
  }
1494
1514
  ee.all = function(t, r) {
1495
1515
  if (!Array.isArray(t))
@@ -1498,56 +1518,58 @@ ee.all = function(t, r) {
1498
1518
  return ee(n, i, r);
1499
1519
  }, {});
1500
1520
  };
1501
- var $n = ee, Dn = $n;
1502
- const Un = /* @__PURE__ */ Sn(Dn);
1503
- function De(e, t) {
1504
- var r = t && t.cache ? t.cache : Wn, n = t && t.serializer ? t.serializer : Vn, i = t && t.strategy ? t.strategy : jn;
1521
+ var jn = ee, kn = jn;
1522
+ const Vn = /* @__PURE__ */ An(kn);
1523
+ function Ue(e, t) {
1524
+ var r = t && t.cache ? t.cache : qn, n = t && t.serializer ? t.serializer : Qn, i = t && t.strategy ? t.strategy : Wn;
1505
1525
  return i(e, {
1506
1526
  cache: r,
1507
1527
  serializer: n
1508
1528
  });
1509
1529
  }
1510
- function Gn(e) {
1530
+ function Xn(e) {
1511
1531
  return e == null || typeof e == "number" || typeof e == "boolean";
1512
1532
  }
1513
- function Fn(e, t, r, n) {
1514
- var i = Gn(n) ? n : r(n), s = t.get(i);
1533
+ function ur(e, t, r, n) {
1534
+ var i = Xn(n) ? n : r(n), s = t.get(i);
1515
1535
  return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
1516
1536
  }
1517
- function ir(e, t, r) {
1537
+ function lr(e, t, r) {
1518
1538
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
1519
1539
  return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
1520
1540
  }
1521
- function sr(e, t, r, n, i) {
1541
+ function lt(e, t, r, n, i) {
1522
1542
  return r.bind(t, e, n, i);
1523
1543
  }
1524
- function jn(e, t) {
1525
- var r = e.length === 1 ? Fn : ir;
1526
- return sr(e, this, r, t.cache.create(), t.serializer);
1544
+ function Wn(e, t) {
1545
+ var r = e.length === 1 ? ur : lr;
1546
+ return lt(e, this, r, t.cache.create(), t.serializer);
1547
+ }
1548
+ function zn(e, t) {
1549
+ return lt(e, this, lr, t.cache.create(), t.serializer);
1527
1550
  }
1528
- function kn(e, t) {
1529
- return sr(e, this, ir, t.cache.create(), t.serializer);
1551
+ function Zn(e, t) {
1552
+ return lt(e, this, ur, t.cache.create(), t.serializer);
1530
1553
  }
1531
- var Vn = function() {
1554
+ var Qn = function() {
1532
1555
  return JSON.stringify(arguments);
1533
- }, Xn = (
1534
- /** @class */
1535
- function() {
1536
- function e() {
1537
- this.cache = /* @__PURE__ */ Object.create(null);
1538
- }
1539
- return e.prototype.get = function(t) {
1540
- return this.cache[t];
1541
- }, e.prototype.set = function(t, r) {
1542
- this.cache[t] = r;
1543
- }, e;
1544
- }()
1545
- ), Wn = {
1556
+ };
1557
+ function ht() {
1558
+ this.cache = /* @__PURE__ */ Object.create(null);
1559
+ }
1560
+ ht.prototype.get = function(e) {
1561
+ return this.cache[e];
1562
+ };
1563
+ ht.prototype.set = function(e, t) {
1564
+ this.cache[e] = t;
1565
+ };
1566
+ var qn = {
1546
1567
  create: function() {
1547
- return new Xn();
1568
+ return new ht();
1548
1569
  }
1549
- }, Ue = {
1550
- variadic: kn
1570
+ }, Ge = {
1571
+ variadic: zn,
1572
+ monadic: Zn
1551
1573
  }, g;
1552
1574
  (function(e) {
1553
1575
  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";
@@ -1560,43 +1582,43 @@ var te;
1560
1582
  (function(e) {
1561
1583
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1562
1584
  })(te || (te = {}));
1563
- function wt(e) {
1585
+ function Ht(e) {
1564
1586
  return e.type === x.literal;
1565
1587
  }
1566
- function zn(e) {
1588
+ function Jn(e) {
1567
1589
  return e.type === x.argument;
1568
1590
  }
1569
- function or(e) {
1591
+ function hr(e) {
1570
1592
  return e.type === x.number;
1571
1593
  }
1572
- function ar(e) {
1594
+ function cr(e) {
1573
1595
  return e.type === x.date;
1574
1596
  }
1575
- function ur(e) {
1597
+ function fr(e) {
1576
1598
  return e.type === x.time;
1577
1599
  }
1578
- function lr(e) {
1600
+ function dr(e) {
1579
1601
  return e.type === x.select;
1580
1602
  }
1581
- function hr(e) {
1603
+ function pr(e) {
1582
1604
  return e.type === x.plural;
1583
1605
  }
1584
- function Zn(e) {
1606
+ function Yn(e) {
1585
1607
  return e.type === x.pound;
1586
1608
  }
1587
- function cr(e) {
1609
+ function mr(e) {
1588
1610
  return e.type === x.tag;
1589
1611
  }
1590
- function fr(e) {
1612
+ function br(e) {
1591
1613
  return !!(e && typeof e == "object" && e.type === te.number);
1592
1614
  }
1593
- function qe(e) {
1615
+ function Je(e) {
1594
1616
  return !!(e && typeof e == "object" && e.type === te.dateTime);
1595
1617
  }
1596
- var dr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Qn = /(?:[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;
1597
- function qn(e) {
1618
+ var yr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Kn = /(?:[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;
1619
+ function ei(e) {
1598
1620
  var t = {};
1599
- return e.replace(Qn, function(r) {
1621
+ return e.replace(Kn, function(r) {
1600
1622
  var n = r.length;
1601
1623
  switch (r[0]) {
1602
1624
  case "G":
@@ -1685,11 +1707,11 @@ function qn(e) {
1685
1707
  return "";
1686
1708
  }), t;
1687
1709
  }
1688
- var Jn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1689
- function Yn(e) {
1710
+ var ti = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1711
+ function ri(e) {
1690
1712
  if (e.length === 0)
1691
1713
  throw new Error("Number skeleton cannot be empty");
1692
- for (var t = e.split(Jn).filter(function(c) {
1714
+ for (var t = e.split(ti).filter(function(c) {
1693
1715
  return c.length > 0;
1694
1716
  }), r = [], n = 0, i = t; n < i.length; n++) {
1695
1717
  var s = i[n], a = s.split("/");
@@ -1704,17 +1726,17 @@ function Yn(e) {
1704
1726
  }
1705
1727
  return r;
1706
1728
  }
1707
- function Kn(e) {
1729
+ function ni(e) {
1708
1730
  return e.replace(/^(.*?)-/, "");
1709
1731
  }
1710
- var St = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, pr = /^(@+)?(\+|#+)?[rs]?$/g, ei = /(\*)(0+)|(#+)(0+)|(0+)/g, mr = /^(0+)$/;
1711
- function Tt(e) {
1732
+ var Bt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, gr = /^(@+)?(\+|#+)?[rs]?$/g, ii = /(\*)(0+)|(#+)(0+)|(0+)/g, vr = /^(0+)$/;
1733
+ function Pt(e) {
1712
1734
  var t = {};
1713
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(pr, function(r, n, i) {
1735
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(gr, function(r, n, i) {
1714
1736
  return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
1715
1737
  }), t;
1716
1738
  }
1717
- function br(e) {
1739
+ function _r(e) {
1718
1740
  switch (e) {
1719
1741
  case "sign-auto":
1720
1742
  return {
@@ -1754,7 +1776,7 @@ function br(e) {
1754
1776
  };
1755
1777
  }
1756
1778
  }
1757
- function ti(e) {
1779
+ function si(e) {
1758
1780
  var t;
1759
1781
  if (e[0] === "E" && e[1] === "E" ? (t = {
1760
1782
  notation: "engineering"
@@ -1762,17 +1784,17 @@ function ti(e) {
1762
1784
  notation: "scientific"
1763
1785
  }, e = e.slice(1)), t) {
1764
1786
  var r = e.slice(0, 2);
1765
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !mr.test(e))
1787
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !vr.test(e))
1766
1788
  throw new Error("Malformed concise eng/scientific notation");
1767
1789
  t.minimumIntegerDigits = e.length;
1768
1790
  }
1769
1791
  return t;
1770
1792
  }
1771
- function Ht(e) {
1772
- var t = {}, r = br(e);
1793
+ function At(e) {
1794
+ var t = {}, r = _r(e);
1773
1795
  return r || t;
1774
1796
  }
1775
- function ri(e) {
1797
+ function oi(e) {
1776
1798
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1777
1799
  var i = n[r];
1778
1800
  switch (i.stem) {
@@ -1796,7 +1818,7 @@ function ri(e) {
1796
1818
  continue;
1797
1819
  case "measure-unit":
1798
1820
  case "unit":
1799
- t.style = "unit", t.unit = Kn(i.options[0]);
1821
+ t.style = "unit", t.unit = ni(i.options[0]);
1800
1822
  continue;
1801
1823
  case "compact-short":
1802
1824
  case "K":
@@ -1808,12 +1830,12 @@ function ri(e) {
1808
1830
  continue;
1809
1831
  case "scientific":
1810
1832
  t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1811
- return _(_({}, l), Ht(u));
1833
+ return _(_({}, l), At(u));
1812
1834
  }, {}));
1813
1835
  continue;
1814
1836
  case "engineering":
1815
1837
  t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1816
- return _(_({}, l), Ht(u));
1838
+ return _(_({}, l), At(u));
1817
1839
  }, {}));
1818
1840
  continue;
1819
1841
  case "notation-simple":
@@ -1858,7 +1880,7 @@ function ri(e) {
1858
1880
  case "integer-width":
1859
1881
  if (i.options.length > 1)
1860
1882
  throw new RangeError("integer-width stems only accept a single optional option");
1861
- i.options[0].replace(ei, function(l, u, h, f, c, p) {
1883
+ i.options[0].replace(ii, function(l, u, h, f, c, p) {
1862
1884
  if (u)
1863
1885
  t.minimumIntegerDigits = h.length;
1864
1886
  else {
@@ -1871,27 +1893,27 @@ function ri(e) {
1871
1893
  });
1872
1894
  continue;
1873
1895
  }
1874
- if (mr.test(i.stem)) {
1896
+ if (vr.test(i.stem)) {
1875
1897
  t.minimumIntegerDigits = i.stem.length;
1876
1898
  continue;
1877
1899
  }
1878
- if (St.test(i.stem)) {
1900
+ if (Bt.test(i.stem)) {
1879
1901
  if (i.options.length > 1)
1880
1902
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1881
- i.stem.replace(St, function(l, u, h, f, c, p) {
1903
+ i.stem.replace(Bt, function(l, u, h, f, c, p) {
1882
1904
  return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && p ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1883
1905
  });
1884
1906
  var s = i.options[0];
1885
- s === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = _(_({}, t), Tt(s)));
1907
+ s === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = _(_({}, t), Pt(s)));
1886
1908
  continue;
1887
1909
  }
1888
- if (pr.test(i.stem)) {
1889
- t = _(_({}, t), Tt(i.stem));
1910
+ if (gr.test(i.stem)) {
1911
+ t = _(_({}, t), Pt(i.stem));
1890
1912
  continue;
1891
1913
  }
1892
- var a = br(i.stem);
1914
+ var a = _r(i.stem);
1893
1915
  a && (t = _(_({}, t), a));
1894
- var o = ti(i.stem);
1916
+ var o = si(i.stem);
1895
1917
  o && (t = _(_({}, t), o));
1896
1918
  }
1897
1919
  return t;
@@ -3311,13 +3333,13 @@ var ve = {
3311
3333
  "h"
3312
3334
  ]
3313
3335
  };
3314
- function ni(e, t) {
3336
+ function ai(e, t) {
3315
3337
  for (var r = "", n = 0; n < e.length; n++) {
3316
3338
  var i = e.charAt(n);
3317
3339
  if (i === "j") {
3318
3340
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3319
3341
  s++, n++;
3320
- var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = ii(t);
3342
+ var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = ui(t);
3321
3343
  for ((u == "H" || u == "k") && (o = 0); o-- > 0; )
3322
3344
  r += l;
3323
3345
  for (; a-- > 0; )
@@ -3327,7 +3349,7 @@ function ni(e, t) {
3327
3349
  }
3328
3350
  return r;
3329
3351
  }
3330
- function ii(e) {
3352
+ function ui(e) {
3331
3353
  var t = e.hourCycle;
3332
3354
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3333
3355
  e.hourCycles && // @ts-ignore
@@ -3349,20 +3371,20 @@ function ii(e) {
3349
3371
  var i = ve[n || ""] || ve[r || ""] || ve["".concat(r, "-001")] || ve["001"];
3350
3372
  return i[0];
3351
3373
  }
3352
- var Ge, si = new RegExp("^".concat(dr.source, "*")), oi = new RegExp("".concat(dr.source, "*$"));
3374
+ var Fe, li = new RegExp("^".concat(yr.source, "*")), hi = new RegExp("".concat(yr.source, "*$"));
3353
3375
  function v(e, t) {
3354
3376
  return { start: e, end: t };
3355
3377
  }
3356
- var ai = !!String.prototype.startsWith && "_a".startsWith("a", 1), ui = !!String.fromCodePoint, li = !!Object.fromEntries, hi = !!String.prototype.codePointAt, ci = !!String.prototype.trimStart, fi = !!String.prototype.trimEnd, di = !!Number.isSafeInteger, pi = di ? Number.isSafeInteger : function(e) {
3378
+ var ci = !!String.prototype.startsWith && "_a".startsWith("a", 1), fi = !!String.fromCodePoint, di = !!Object.fromEntries, pi = !!String.prototype.codePointAt, mi = !!String.prototype.trimStart, bi = !!String.prototype.trimEnd, yi = !!Number.isSafeInteger, gi = yi ? Number.isSafeInteger : function(e) {
3357
3379
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3358
- }, Je = !0;
3380
+ }, Ye = !0;
3359
3381
  try {
3360
- var mi = gr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3361
- Je = ((Ge = mi.exec("a")) === null || Ge === void 0 ? void 0 : Ge[0]) === "a";
3382
+ var vi = xr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3383
+ Ye = ((Fe = vi.exec("a")) === null || Fe === void 0 ? void 0 : Fe[0]) === "a";
3362
3384
  } catch {
3363
- Je = !1;
3385
+ Ye = !1;
3364
3386
  }
3365
- var Pt = ai ? (
3387
+ var Ot = ci ? (
3366
3388
  // Native
3367
3389
  function(t, r, n) {
3368
3390
  return t.startsWith(r, n);
@@ -3372,7 +3394,7 @@ var Pt = ai ? (
3372
3394
  function(t, r, n) {
3373
3395
  return t.slice(n, n + r.length) === r;
3374
3396
  }
3375
- ), Ye = ui ? String.fromCodePoint : (
3397
+ ), Ke = fi ? String.fromCodePoint : (
3376
3398
  // IE11
3377
3399
  function() {
3378
3400
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3384,9 +3406,9 @@ var Pt = ai ? (
3384
3406
  }
3385
3407
  return n;
3386
3408
  }
3387
- ), Bt = (
3409
+ ), It = (
3388
3410
  // native
3389
- li ? Object.fromEntries : (
3411
+ di ? Object.fromEntries : (
3390
3412
  // Ponyfill
3391
3413
  function(t) {
3392
3414
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3396,7 +3418,7 @@ var Pt = ai ? (
3396
3418
  return r;
3397
3419
  }
3398
3420
  )
3399
- ), yr = hi ? (
3421
+ ), Er = pi ? (
3400
3422
  // Native
3401
3423
  function(t, r) {
3402
3424
  return t.codePointAt(r);
@@ -3410,7 +3432,7 @@ var Pt = ai ? (
3410
3432
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
3411
3433
  }
3412
3434
  }
3413
- ), bi = ci ? (
3435
+ ), _i = mi ? (
3414
3436
  // Native
3415
3437
  function(t) {
3416
3438
  return t.trimStart();
@@ -3418,9 +3440,9 @@ var Pt = ai ? (
3418
3440
  ) : (
3419
3441
  // Ponyfill
3420
3442
  function(t) {
3421
- return t.replace(si, "");
3443
+ return t.replace(li, "");
3422
3444
  }
3423
- ), yi = fi ? (
3445
+ ), Ei = bi ? (
3424
3446
  // Native
3425
3447
  function(t) {
3426
3448
  return t.trimEnd();
@@ -3428,32 +3450,32 @@ var Pt = ai ? (
3428
3450
  ) : (
3429
3451
  // Ponyfill
3430
3452
  function(t) {
3431
- return t.replace(oi, "");
3453
+ return t.replace(hi, "");
3432
3454
  }
3433
3455
  );
3434
- function gr(e, t) {
3456
+ function xr(e, t) {
3435
3457
  return new RegExp(e, t);
3436
3458
  }
3437
- var Ke;
3438
- if (Je) {
3439
- var At = gr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3440
- Ke = function(t, r) {
3459
+ var et;
3460
+ if (Ye) {
3461
+ var Ct = xr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3462
+ et = function(t, r) {
3441
3463
  var n;
3442
- At.lastIndex = r;
3443
- var i = At.exec(t);
3464
+ Ct.lastIndex = r;
3465
+ var i = Ct.exec(t);
3444
3466
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3445
3467
  };
3446
3468
  } else
3447
- Ke = function(t, r) {
3469
+ et = function(t, r) {
3448
3470
  for (var n = []; ; ) {
3449
- var i = yr(t, r);
3450
- if (i === void 0 || vr(i) || Ei(i))
3471
+ var i = Er(t, r);
3472
+ if (i === void 0 || wr(i) || Ti(i))
3451
3473
  break;
3452
3474
  n.push(i), r += i >= 65536 ? 2 : 1;
3453
3475
  }
3454
- return Ye.apply(void 0, n);
3476
+ return Ke.apply(void 0, n);
3455
3477
  };
3456
- var gi = (
3478
+ var xi = (
3457
3479
  /** @class */
3458
3480
  function() {
3459
3481
  function e(t, r) {
@@ -3484,7 +3506,7 @@ var gi = (
3484
3506
  if (n)
3485
3507
  break;
3486
3508
  return this.error(g.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
3487
- } else if (s === 60 && !this.ignoreTag && et(this.peek() || 0)) {
3509
+ } else if (s === 60 && !this.ignoreTag && tt(this.peek() || 0)) {
3488
3510
  var a = this.parseTag(t, r);
3489
3511
  if (a.err)
3490
3512
  return a;
@@ -3517,7 +3539,7 @@ var gi = (
3517
3539
  return s;
3518
3540
  var a = s.val, o = this.clonePosition();
3519
3541
  if (this.bumpIf("</")) {
3520
- if (this.isEOF() || !et(this.char()))
3542
+ if (this.isEOF() || !tt(this.char()))
3521
3543
  return this.error(g.INVALID_TAG, v(o, this.clonePosition()));
3522
3544
  var l = this.clonePosition(), u = this.parseTagName();
3523
3545
  return i !== u ? this.error(g.UNMATCHED_CLOSING_TAG, v(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -3535,7 +3557,7 @@ var gi = (
3535
3557
  return this.error(g.INVALID_TAG, v(n, this.clonePosition()));
3536
3558
  }, e.prototype.parseTagName = function() {
3537
3559
  var t = this.offset();
3538
- for (this.bump(); !this.isEOF() && _i(this.char()); )
3560
+ for (this.bump(); !this.isEOF() && Si(this.char()); )
3539
3561
  this.bump();
3540
3562
  return this.message.slice(t, this.offset());
3541
3563
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3564,7 +3586,7 @@ var gi = (
3564
3586
  };
3565
3587
  }, e.prototype.tryParseLeftAngleBracket = function() {
3566
3588
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3567
- !vi(this.peek() || 0)) ? (this.bump(), "<") : null;
3589
+ !wi(this.peek() || 0)) ? (this.bump(), "<") : null;
3568
3590
  }, e.prototype.tryParseQuote = function(t) {
3569
3591
  if (this.isEOF() || this.char() !== 39)
3570
3592
  return null;
@@ -3598,12 +3620,12 @@ var gi = (
3598
3620
  r.push(n);
3599
3621
  this.bump();
3600
3622
  }
3601
- return Ye.apply(void 0, r);
3623
+ return Ke.apply(void 0, r);
3602
3624
  }, e.prototype.tryParseUnquoted = function(t, r) {
3603
3625
  if (this.isEOF())
3604
3626
  return null;
3605
3627
  var n = this.char();
3606
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ye(n));
3628
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ke(n));
3607
3629
  }, e.prototype.parseArgument = function(t, r) {
3608
3630
  var n = this.clonePosition();
3609
3631
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3632,7 +3654,7 @@ var gi = (
3632
3654
  return this.error(g.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3633
3655
  }
3634
3656
  }, e.prototype.parseIdentifierIfPossible = function() {
3635
- var t = this.clonePosition(), r = this.offset(), n = Ke(this.message, r), i = r + n.length;
3657
+ var t = this.clonePosition(), r = this.offset(), n = et(this.message, r), i = r + n.length;
3636
3658
  this.bumpTo(i);
3637
3659
  var s = this.clonePosition(), a = v(t, s);
3638
3660
  return { value: n, location: a };
@@ -3651,7 +3673,7 @@ var gi = (
3651
3673
  var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3652
3674
  if (f.err)
3653
3675
  return f;
3654
- var c = yi(f.val);
3676
+ var c = Ei(f.val);
3655
3677
  if (c.length === 0)
3656
3678
  return this.error(g.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
3657
3679
  var p = v(h, this.clonePosition());
@@ -3661,8 +3683,8 @@ var gi = (
3661
3683
  if (d.err)
3662
3684
  return d;
3663
3685
  var m = v(i, this.clonePosition());
3664
- if (u && Pt(u?.style, "::", 0)) {
3665
- var E = bi(u.style.slice(2));
3686
+ if (u && Ot(u?.style, "::", 0)) {
3687
+ var E = _i(u.style.slice(2));
3666
3688
  if (o === "number") {
3667
3689
  var f = this.parseNumberSkeletonFromString(E, u.styleLocation);
3668
3690
  return f.err ? f : {
@@ -3673,12 +3695,12 @@ var gi = (
3673
3695
  if (E.length === 0)
3674
3696
  return this.error(g.EXPECT_DATE_TIME_SKELETON, m);
3675
3697
  var T = E;
3676
- this.locale && (T = ni(E, this.locale));
3698
+ this.locale && (T = ai(E, this.locale));
3677
3699
  var c = {
3678
3700
  type: te.dateTime,
3679
3701
  pattern: T,
3680
3702
  location: u.styleLocation,
3681
- parsedOptions: this.shouldParseSkeletons ? qn(T) : {}
3703
+ parsedOptions: this.shouldParseSkeletons ? ei(T) : {}
3682
3704
  }, H = o === "date" ? x.date : x.time;
3683
3705
  return {
3684
3706
  val: { type: H, value: n, location: m, style: c },
@@ -3703,7 +3725,7 @@ var gi = (
3703
3725
  if (this.bumpSpace(), !this.bumpIf(","))
3704
3726
  return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS, v(S, _({}, S)));
3705
3727
  this.bumpSpace();
3706
- var O = this.parseIdentifierIfPossible(), P = 0;
3728
+ var O = this.parseIdentifierIfPossible(), B = 0;
3707
3729
  if (o !== "select" && O.value === "offset") {
3708
3730
  if (!this.bumpIf(":"))
3709
3731
  return this.error(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
@@ -3711,11 +3733,11 @@ var gi = (
3711
3733
  var f = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3712
3734
  if (f.err)
3713
3735
  return f;
3714
- this.bumpSpace(), O = this.parseIdentifierIfPossible(), P = f.val;
3736
+ this.bumpSpace(), O = this.parseIdentifierIfPossible(), B = f.val;
3715
3737
  }
3716
- var C = this.tryParsePluralOrSelectOptions(t, o, r, O);
3717
- if (C.err)
3718
- return C;
3738
+ var I = this.tryParsePluralOrSelectOptions(t, o, r, O);
3739
+ if (I.err)
3740
+ return I;
3719
3741
  var d = this.tryParseArgumentClose(i);
3720
3742
  if (d.err)
3721
3743
  return d;
@@ -3724,7 +3746,7 @@ var gi = (
3724
3746
  val: {
3725
3747
  type: x.select,
3726
3748
  value: n,
3727
- options: Bt(C.val),
3749
+ options: It(I.val),
3728
3750
  location: w
3729
3751
  },
3730
3752
  err: null
@@ -3732,8 +3754,8 @@ var gi = (
3732
3754
  val: {
3733
3755
  type: x.plural,
3734
3756
  value: n,
3735
- options: Bt(C.val),
3736
- offset: P,
3757
+ options: It(I.val),
3758
+ offset: B,
3737
3759
  pluralType: o === "plural" ? "cardinal" : "ordinal",
3738
3760
  location: w
3739
3761
  },
@@ -3783,7 +3805,7 @@ var gi = (
3783
3805
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3784
3806
  var n = [];
3785
3807
  try {
3786
- n = Yn(t);
3808
+ n = ri(t);
3787
3809
  } catch {
3788
3810
  return this.error(g.INVALID_NUMBER_SKELETON, r);
3789
3811
  }
@@ -3792,7 +3814,7 @@ var gi = (
3792
3814
  type: te.number,
3793
3815
  tokens: n,
3794
3816
  location: r,
3795
- parsedOptions: this.shouldParseSkeletons ? ri(n) : {}
3817
+ parsedOptions: this.shouldParseSkeletons ? oi(n) : {}
3796
3818
  },
3797
3819
  err: null
3798
3820
  };
@@ -3840,7 +3862,7 @@ var gi = (
3840
3862
  break;
3841
3863
  }
3842
3864
  var l = v(i, this.clonePosition());
3843
- return s ? (a *= n, pi(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3865
+ return s ? (a *= n, gi(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3844
3866
  }, e.prototype.offset = function() {
3845
3867
  return this.position.offset;
3846
3868
  }, e.prototype.isEOF = function() {
@@ -3855,7 +3877,7 @@ var gi = (
3855
3877
  var t = this.position.offset;
3856
3878
  if (t >= this.message.length)
3857
3879
  throw Error("out of bound");
3858
- var r = yr(this.message, t);
3880
+ var r = Er(this.message, t);
3859
3881
  if (r === void 0)
3860
3882
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3861
3883
  return r;
@@ -3874,7 +3896,7 @@ var gi = (
3874
3896
  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);
3875
3897
  }
3876
3898
  }, e.prototype.bumpIf = function(t) {
3877
- if (Pt(this.message, t, this.offset())) {
3899
+ if (Ot(this.message, t, this.offset())) {
3878
3900
  for (var r = 0; r < t.length; r++)
3879
3901
  this.bump();
3880
3902
  return !0;
@@ -3896,7 +3918,7 @@ var gi = (
3896
3918
  break;
3897
3919
  }
3898
3920
  }, e.prototype.bumpSpace = function() {
3899
- for (; !this.isEOF() && vr(this.char()); )
3921
+ for (; !this.isEOF() && wr(this.char()); )
3900
3922
  this.bump();
3901
3923
  }, e.prototype.peek = function() {
3902
3924
  if (this.isEOF())
@@ -3906,38 +3928,38 @@ var gi = (
3906
3928
  }, e;
3907
3929
  }()
3908
3930
  );
3909
- function et(e) {
3931
+ function tt(e) {
3910
3932
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3911
3933
  }
3912
- function vi(e) {
3913
- return et(e) || e === 47;
3934
+ function wi(e) {
3935
+ return tt(e) || e === 47;
3914
3936
  }
3915
- function _i(e) {
3937
+ function Si(e) {
3916
3938
  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;
3917
3939
  }
3918
- function vr(e) {
3940
+ function wr(e) {
3919
3941
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3920
3942
  }
3921
- function Ei(e) {
3943
+ function Ti(e) {
3922
3944
  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;
3923
3945
  }
3924
- function tt(e) {
3946
+ function rt(e) {
3925
3947
  e.forEach(function(t) {
3926
- if (delete t.location, lr(t) || hr(t))
3948
+ if (delete t.location, dr(t) || pr(t))
3927
3949
  for (var r in t.options)
3928
- delete t.options[r].location, tt(t.options[r].value);
3950
+ delete t.options[r].location, rt(t.options[r].value);
3929
3951
  else
3930
- or(t) && fr(t.style) || (ar(t) || ur(t)) && qe(t.style) ? delete t.style.location : cr(t) && tt(t.children);
3952
+ hr(t) && br(t.style) || (cr(t) || fr(t)) && Je(t.style) ? delete t.style.location : mr(t) && rt(t.children);
3931
3953
  });
3932
3954
  }
3933
- function xi(e, t) {
3955
+ function Hi(e, t) {
3934
3956
  t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3935
- var r = new gi(e, t).parse();
3957
+ var r = new xi(e, t).parse();
3936
3958
  if (r.err) {
3937
3959
  var n = SyntaxError(g[r.err.kind]);
3938
3960
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3939
3961
  }
3940
- return t?.captureLocation || tt(r.val), r.val;
3962
+ return t?.captureLocation || rt(r.val), r.val;
3941
3963
  }
3942
3964
  var re;
3943
3965
  (function(e) {
@@ -3955,7 +3977,7 @@ var Ce = (
3955
3977
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3956
3978
  }, t;
3957
3979
  }(Error)
3958
- ), Ot = (
3980
+ ), Lt = (
3959
3981
  /** @class */
3960
3982
  function(e) {
3961
3983
  G(t, e);
@@ -3964,7 +3986,7 @@ var Ce = (
3964
3986
  }
3965
3987
  return t;
3966
3988
  }(Ce)
3967
- ), wi = (
3989
+ ), Bi = (
3968
3990
  /** @class */
3969
3991
  function(e) {
3970
3992
  G(t, e);
@@ -3973,7 +3995,7 @@ var Ce = (
3973
3995
  }
3974
3996
  return t;
3975
3997
  }(Ce)
3976
- ), Si = (
3998
+ ), Pi = (
3977
3999
  /** @class */
3978
4000
  function(e) {
3979
4001
  G(t, e);
@@ -3982,100 +4004,100 @@ var Ce = (
3982
4004
  }
3983
4005
  return t;
3984
4006
  }(Ce)
3985
- ), B;
4007
+ ), P;
3986
4008
  (function(e) {
3987
4009
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3988
- })(B || (B = {}));
3989
- function Ti(e) {
4010
+ })(P || (P = {}));
4011
+ function Ai(e) {
3990
4012
  return e.length < 2 ? e : e.reduce(function(t, r) {
3991
4013
  var n = t[t.length - 1];
3992
- return !n || n.type !== B.literal || r.type !== B.literal ? t.push(r) : n.value += r.value, t;
4014
+ return !n || n.type !== P.literal || r.type !== P.literal ? t.push(r) : n.value += r.value, t;
3993
4015
  }, []);
3994
4016
  }
3995
- function Hi(e) {
4017
+ function Oi(e) {
3996
4018
  return typeof e == "function";
3997
4019
  }
3998
4020
  function we(e, t, r, n, i, s, a) {
3999
- if (e.length === 1 && wt(e[0]))
4021
+ if (e.length === 1 && Ht(e[0]))
4000
4022
  return [
4001
4023
  {
4002
- type: B.literal,
4024
+ type: P.literal,
4003
4025
  value: e[0].value
4004
4026
  }
4005
4027
  ];
4006
4028
  for (var o = [], l = 0, u = e; l < u.length; l++) {
4007
4029
  var h = u[l];
4008
- if (wt(h)) {
4030
+ if (Ht(h)) {
4009
4031
  o.push({
4010
- type: B.literal,
4032
+ type: P.literal,
4011
4033
  value: h.value
4012
4034
  });
4013
4035
  continue;
4014
4036
  }
4015
- if (Zn(h)) {
4037
+ if (Yn(h)) {
4016
4038
  typeof s == "number" && o.push({
4017
- type: B.literal,
4039
+ type: P.literal,
4018
4040
  value: r.getNumberFormat(t).format(s)
4019
4041
  });
4020
4042
  continue;
4021
4043
  }
4022
4044
  var f = h.value;
4023
4045
  if (!(i && f in i))
4024
- throw new Si(f, a);
4046
+ throw new Pi(f, a);
4025
4047
  var c = i[f];
4026
- if (zn(h)) {
4048
+ if (Jn(h)) {
4027
4049
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), o.push({
4028
- type: typeof c == "string" ? B.literal : B.object,
4050
+ type: typeof c == "string" ? P.literal : P.object,
4029
4051
  value: c
4030
4052
  });
4031
4053
  continue;
4032
4054
  }
4033
- if (ar(h)) {
4034
- var p = typeof h.style == "string" ? n.date[h.style] : qe(h.style) ? h.style.parsedOptions : void 0;
4055
+ if (cr(h)) {
4056
+ var p = typeof h.style == "string" ? n.date[h.style] : Je(h.style) ? h.style.parsedOptions : void 0;
4035
4057
  o.push({
4036
- type: B.literal,
4058
+ type: P.literal,
4037
4059
  value: r.getDateTimeFormat(t, p).format(c)
4038
4060
  });
4039
4061
  continue;
4040
4062
  }
4041
- if (ur(h)) {
4042
- var p = typeof h.style == "string" ? n.time[h.style] : qe(h.style) ? h.style.parsedOptions : n.time.medium;
4063
+ if (fr(h)) {
4064
+ var p = typeof h.style == "string" ? n.time[h.style] : Je(h.style) ? h.style.parsedOptions : n.time.medium;
4043
4065
  o.push({
4044
- type: B.literal,
4066
+ type: P.literal,
4045
4067
  value: r.getDateTimeFormat(t, p).format(c)
4046
4068
  });
4047
4069
  continue;
4048
4070
  }
4049
- if (or(h)) {
4050
- var p = typeof h.style == "string" ? n.number[h.style] : fr(h.style) ? h.style.parsedOptions : void 0;
4071
+ if (hr(h)) {
4072
+ var p = typeof h.style == "string" ? n.number[h.style] : br(h.style) ? h.style.parsedOptions : void 0;
4051
4073
  p && p.scale && (c = c * (p.scale || 1)), o.push({
4052
- type: B.literal,
4074
+ type: P.literal,
4053
4075
  value: r.getNumberFormat(t, p).format(c)
4054
4076
  });
4055
4077
  continue;
4056
4078
  }
4057
- if (cr(h)) {
4079
+ if (mr(h)) {
4058
4080
  var d = h.children, m = h.value, E = i[m];
4059
- if (!Hi(E))
4060
- throw new wi(m, "function", a);
4061
- var T = we(d, t, r, n, i, s), H = E(T.map(function(P) {
4062
- return P.value;
4081
+ if (!Oi(E))
4082
+ throw new Bi(m, "function", a);
4083
+ var T = we(d, t, r, n, i, s), H = E(T.map(function(B) {
4084
+ return B.value;
4063
4085
  }));
4064
- Array.isArray(H) || (H = [H]), o.push.apply(o, H.map(function(P) {
4086
+ Array.isArray(H) || (H = [H]), o.push.apply(o, H.map(function(B) {
4065
4087
  return {
4066
- type: typeof P == "string" ? B.literal : B.object,
4067
- value: P
4088
+ type: typeof B == "string" ? P.literal : P.object,
4089
+ value: B
4068
4090
  };
4069
4091
  }));
4070
4092
  }
4071
- if (lr(h)) {
4093
+ if (dr(h)) {
4072
4094
  var S = h.options[c] || h.options.other;
4073
4095
  if (!S)
4074
- throw new Ot(h.value, c, Object.keys(h.options), a);
4096
+ throw new Lt(h.value, c, Object.keys(h.options), a);
4075
4097
  o.push.apply(o, we(S.value, t, r, n, i));
4076
4098
  continue;
4077
4099
  }
4078
- if (hr(h)) {
4100
+ if (pr(h)) {
4079
4101
  var S = h.options["=".concat(c)];
4080
4102
  if (!S) {
4081
4103
  if (!Intl.PluralRules)
@@ -4086,24 +4108,24 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
4086
4108
  S = h.options[O] || h.options.other;
4087
4109
  }
4088
4110
  if (!S)
4089
- throw new Ot(h.value, c, Object.keys(h.options), a);
4111
+ throw new Lt(h.value, c, Object.keys(h.options), a);
4090
4112
  o.push.apply(o, we(S.value, t, r, n, i, c - (h.offset || 0)));
4091
4113
  continue;
4092
4114
  }
4093
4115
  }
4094
- return Ti(o);
4116
+ return Ai(o);
4095
4117
  }
4096
- function Pi(e, t) {
4118
+ function Ii(e, t) {
4097
4119
  return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
4098
4120
  return r[n] = _(_({}, e[n]), t[n] || {}), r;
4099
4121
  }, {})) : e;
4100
4122
  }
4101
- function Bi(e, t) {
4123
+ function Ci(e, t) {
4102
4124
  return t ? Object.keys(e).reduce(function(r, n) {
4103
- return r[n] = Pi(e[n], t[n]), r;
4125
+ return r[n] = Ii(e[n], t[n]), r;
4104
4126
  }, _({}, e)) : e;
4105
4127
  }
4106
- function Fe(e) {
4128
+ function je(e) {
4107
4129
  return {
4108
4130
  create: function() {
4109
4131
  return {
@@ -4117,39 +4139,39 @@ function Fe(e) {
4117
4139
  }
4118
4140
  };
4119
4141
  }
4120
- function Ai(e) {
4142
+ function Li(e) {
4121
4143
  return e === void 0 && (e = {
4122
4144
  number: {},
4123
4145
  dateTime: {},
4124
4146
  pluralRules: {}
4125
4147
  }), {
4126
- getNumberFormat: De(function() {
4148
+ getNumberFormat: Ue(function() {
4127
4149
  for (var t, r = [], n = 0; n < arguments.length; n++)
4128
4150
  r[n] = arguments[n];
4129
4151
  return new ((t = Intl.NumberFormat).bind.apply(t, K([void 0], r, !1)))();
4130
4152
  }, {
4131
- cache: Fe(e.number),
4132
- strategy: Ue.variadic
4153
+ cache: je(e.number),
4154
+ strategy: Ge.variadic
4133
4155
  }),
4134
- getDateTimeFormat: De(function() {
4156
+ getDateTimeFormat: Ue(function() {
4135
4157
  for (var t, r = [], n = 0; n < arguments.length; n++)
4136
4158
  r[n] = arguments[n];
4137
4159
  return new ((t = Intl.DateTimeFormat).bind.apply(t, K([void 0], r, !1)))();
4138
4160
  }, {
4139
- cache: Fe(e.dateTime),
4140
- strategy: Ue.variadic
4161
+ cache: je(e.dateTime),
4162
+ strategy: Ge.variadic
4141
4163
  }),
4142
- getPluralRules: De(function() {
4164
+ getPluralRules: Ue(function() {
4143
4165
  for (var t, r = [], n = 0; n < arguments.length; n++)
4144
4166
  r[n] = arguments[n];
4145
4167
  return new ((t = Intl.PluralRules).bind.apply(t, K([void 0], r, !1)))();
4146
4168
  }, {
4147
- cache: Fe(e.pluralRules),
4148
- strategy: Ue.variadic
4169
+ cache: je(e.pluralRules),
4170
+ strategy: Ge.variadic
4149
4171
  })
4150
4172
  };
4151
4173
  }
4152
- var Oi = (
4174
+ var Mi = (
4153
4175
  /** @class */
4154
4176
  function() {
4155
4177
  function e(t, r, n, i) {
@@ -4164,7 +4186,7 @@ var Oi = (
4164
4186
  if (u.length === 1)
4165
4187
  return u[0].value;
4166
4188
  var h = u.reduce(function(f, c) {
4167
- return !f.length || c.type !== B.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
4189
+ return !f.length || c.type !== P.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
4168
4190
  }, []);
4169
4191
  return h.length <= 1 ? h[0] || "" : h;
4170
4192
  }, this.formatToParts = function(l) {
@@ -4181,13 +4203,13 @@ var Oi = (
4181
4203
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
4182
4204
  var a = i || {};
4183
4205
  a.formatters;
4184
- var o = un(a, ["formatters"]);
4206
+ var o = dn(a, ["formatters"]);
4185
4207
  this.ast = e.__parse(t, _(_({}, o), { locale: this.resolvedLocale }));
4186
4208
  } else
4187
4209
  this.ast = t;
4188
4210
  if (!Array.isArray(this.ast))
4189
4211
  throw new TypeError("A message must be provided as a String or AST.");
4190
- this.formats = Bi(e.formats, n), this.formatters = i && i.formatters || Ai(this.formatterCache);
4212
+ this.formats = Ci(e.formats, n), this.formatters = i && i.formatters || Li(this.formatterCache);
4191
4213
  }
4192
4214
  return Object.defineProperty(e, "defaultLocale", {
4193
4215
  get: function() {
@@ -4200,7 +4222,7 @@ var Oi = (
4200
4222
  var r = Intl.NumberFormat.supportedLocalesOf(t);
4201
4223
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
4202
4224
  }
4203
- }, e.__parse = xi, e.formats = {
4225
+ }, e.__parse = Hi, e.formats = {
4204
4226
  number: {
4205
4227
  integer: {
4206
4228
  maximumFractionDigits: 0
@@ -4261,7 +4283,7 @@ var Oi = (
4261
4283
  }, e;
4262
4284
  }()
4263
4285
  );
4264
- function Ii(e, t) {
4286
+ function Ni(e, t) {
4265
4287
  if (t == null)
4266
4288
  return;
4267
4289
  if (t in e)
@@ -4282,92 +4304,92 @@ function Ii(e, t) {
4282
4304
  n = void 0;
4283
4305
  return n;
4284
4306
  }
4285
- const j = {}, Ci = (e, t, r) => r && (t in j || (j[t] = {}), e in j[t] || (j[t][e] = r), r), _r = (e, t) => {
4307
+ const j = {}, Ri = (e, t, r) => r && (t in j || (j[t] = {}), e in j[t] || (j[t][e] = r), r), Sr = (e, t) => {
4286
4308
  if (t == null)
4287
4309
  return;
4288
4310
  if (t in j && e in j[t])
4289
4311
  return j[t][e];
4290
4312
  const r = Le(t);
4291
4313
  for (let n = 0; n < r.length; n++) {
4292
- const i = r[n], s = Ni(i, e);
4314
+ const i = r[n], s = Di(i, e);
4293
4315
  if (s)
4294
- return Ci(e, t, s);
4316
+ return Ri(e, t, s);
4295
4317
  }
4296
4318
  };
4297
- let ut;
4319
+ let ct;
4298
4320
  const me = Ie({});
4299
- function Li(e) {
4300
- return ut[e] || null;
4321
+ function $i(e) {
4322
+ return ct[e] || null;
4301
4323
  }
4302
- function Er(e) {
4303
- return e in ut;
4324
+ function Tr(e) {
4325
+ return e in ct;
4304
4326
  }
4305
- function Ni(e, t) {
4306
- if (!Er(e))
4327
+ function Di(e, t) {
4328
+ if (!Tr(e))
4307
4329
  return null;
4308
- const r = Li(e);
4309
- return Ii(r, t);
4330
+ const r = $i(e);
4331
+ return Ni(r, t);
4310
4332
  }
4311
- function Mi(e) {
4333
+ function Ui(e) {
4312
4334
  if (e == null)
4313
4335
  return;
4314
4336
  const t = Le(e);
4315
4337
  for (let r = 0; r < t.length; r++) {
4316
4338
  const n = t[r];
4317
- if (Er(n))
4339
+ if (Tr(n))
4318
4340
  return n;
4319
4341
  }
4320
4342
  }
4321
- function xr(e, ...t) {
4322
- delete j[e], me.update((r) => (r[e] = Un.all([r[e] || {}, ...t]), r));
4343
+ function Hr(e, ...t) {
4344
+ delete j[e], me.update((r) => (r[e] = Vn.all([r[e] || {}, ...t]), r));
4323
4345
  }
4324
4346
  ie(
4325
4347
  [me],
4326
4348
  ([e]) => Object.keys(e)
4327
4349
  );
4328
- me.subscribe((e) => ut = e);
4350
+ me.subscribe((e) => ct = e);
4329
4351
  const Se = {};
4330
- function Ri(e, t) {
4352
+ function Gi(e, t) {
4331
4353
  Se[e].delete(t), Se[e].size === 0 && delete Se[e];
4332
4354
  }
4333
- function wr(e) {
4355
+ function Br(e) {
4334
4356
  return Se[e];
4335
4357
  }
4336
- function $i(e) {
4358
+ function Fi(e) {
4337
4359
  return Le(e).map((t) => {
4338
- const r = wr(t);
4360
+ const r = Br(t);
4339
4361
  return [t, r ? [...r] : []];
4340
4362
  }).filter(([, t]) => t.length > 0);
4341
4363
  }
4342
- function rt(e) {
4364
+ function nt(e) {
4343
4365
  return e == null ? !1 : Le(e).some(
4344
4366
  (t) => {
4345
4367
  var r;
4346
- return (r = wr(t)) == null ? void 0 : r.size;
4368
+ return (r = Br(t)) == null ? void 0 : r.size;
4347
4369
  }
4348
4370
  );
4349
4371
  }
4350
- function Di(e, t) {
4372
+ function ji(e, t) {
4351
4373
  return Promise.all(
4352
- t.map((n) => (Ri(e, n), n().then((i) => i.default || i)))
4353
- ).then((n) => xr(e, ...n));
4374
+ t.map((n) => (Gi(e, n), n().then((i) => i.default || i)))
4375
+ ).then((n) => Hr(e, ...n));
4354
4376
  }
4355
4377
  const ue = {};
4356
- function Sr(e) {
4357
- if (!rt(e))
4378
+ function Pr(e) {
4379
+ if (!nt(e))
4358
4380
  return e in ue ? ue[e] : Promise.resolve();
4359
- const t = $i(e);
4381
+ const t = Fi(e);
4360
4382
  return ue[e] = Promise.all(
4361
4383
  t.map(
4362
- ([r, n]) => Di(r, n)
4384
+ ([r, n]) => ji(r, n)
4363
4385
  )
4364
4386
  ).then(() => {
4365
- if (rt(e))
4366
- return Sr(e);
4387
+ if (nt(e))
4388
+ return Pr(e);
4367
4389
  delete ue[e];
4368
4390
  }), ue[e];
4369
4391
  }
4370
- const Ui = {
4392
+ const ki = {
4371
4393
  number: {
4372
4394
  scientific: { notation: "scientific" },
4373
4395
  engineering: { notation: "engineering" },
@@ -4396,78 +4418,78 @@ const Ui = {
4396
4418
  timeZoneName: "short"
4397
4419
  }
4398
4420
  }
4399
- }, Gi = {
4421
+ }, Vi = {
4400
4422
  fallbackLocale: null,
4401
4423
  loadingDelay: 200,
4402
- formats: Ui,
4424
+ formats: ki,
4403
4425
  warnOnMissingMessages: !0,
4404
4426
  handleMissingMessage: void 0,
4405
4427
  ignoreTag: !0
4406
- }, Fi = Gi;
4428
+ }, Xi = Vi;
4407
4429
  function ne() {
4408
- return Fi;
4430
+ return Xi;
4409
4431
  }
4410
- const je = Ie(!1);
4411
- var ji = Object.defineProperty, ki = Object.defineProperties, Vi = Object.getOwnPropertyDescriptors, It = Object.getOwnPropertySymbols, Xi = Object.prototype.hasOwnProperty, Wi = Object.prototype.propertyIsEnumerable, Ct = (e, t, r) => t in e ? ji(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, zi = (e, t) => {
4432
+ const ke = Ie(!1);
4433
+ var Wi = Object.defineProperty, zi = Object.defineProperties, Zi = Object.getOwnPropertyDescriptors, Mt = Object.getOwnPropertySymbols, Qi = Object.prototype.hasOwnProperty, qi = Object.prototype.propertyIsEnumerable, Nt = (e, t, r) => t in e ? Wi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ji = (e, t) => {
4412
4434
  for (var r in t || (t = {}))
4413
- Xi.call(t, r) && Ct(e, r, t[r]);
4414
- if (It)
4415
- for (var r of It(t))
4416
- Wi.call(t, r) && Ct(e, r, t[r]);
4435
+ Qi.call(t, r) && Nt(e, r, t[r]);
4436
+ if (Mt)
4437
+ for (var r of Mt(t))
4438
+ qi.call(t, r) && Nt(e, r, t[r]);
4417
4439
  return e;
4418
- }, Zi = (e, t) => ki(e, Vi(t));
4419
- let nt;
4420
- const Be = Ie(null);
4421
- function Lt(e) {
4440
+ }, Yi = (e, t) => zi(e, Zi(t));
4441
+ let it;
4442
+ const Pe = Ie(null);
4443
+ function Rt(e) {
4422
4444
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4423
4445
  }
4424
4446
  function Le(e, t = ne().fallbackLocale) {
4425
- const r = Lt(e);
4426
- return t ? [.../* @__PURE__ */ new Set([...r, ...Lt(t)])] : r;
4447
+ const r = Rt(e);
4448
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Rt(t)])] : r;
4427
4449
  }
4428
- function W() {
4429
- return nt ?? void 0;
4450
+ function z() {
4451
+ return it ?? void 0;
4430
4452
  }
4431
- Be.subscribe((e) => {
4432
- nt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4453
+ Pe.subscribe((e) => {
4454
+ it = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4433
4455
  });
4434
- const Qi = (e) => {
4435
- if (e && Mi(e) && rt(e)) {
4456
+ const Ki = (e) => {
4457
+ if (e && Ui(e) && nt(e)) {
4436
4458
  const { loadingDelay: t } = ne();
4437
4459
  let r;
4438
- return typeof window < "u" && W() != null && t ? r = window.setTimeout(
4439
- () => je.set(!0),
4460
+ return typeof window < "u" && z() != null && t ? r = window.setTimeout(
4461
+ () => ke.set(!0),
4440
4462
  t
4441
- ) : je.set(!0), Sr(e).then(() => {
4442
- Be.set(e);
4463
+ ) : ke.set(!0), Pr(e).then(() => {
4464
+ Pe.set(e);
4443
4465
  }).finally(() => {
4444
- clearTimeout(r), je.set(!1);
4466
+ clearTimeout(r), ke.set(!1);
4445
4467
  });
4446
4468
  }
4447
- return Be.set(e);
4448
- }, se = Zi(zi({}, Be), {
4449
- set: Qi
4450
- }), Ne = (e) => {
4469
+ return Pe.set(e);
4470
+ }, se = Yi(Ji({}, Pe), {
4471
+ set: Ki
4472
+ }), Me = (e) => {
4451
4473
  const t = /* @__PURE__ */ Object.create(null);
4452
4474
  return (n) => {
4453
4475
  const i = JSON.stringify(n);
4454
4476
  return i in t ? t[i] : t[i] = e(n);
4455
4477
  };
4456
4478
  };
4457
- var qi = Object.defineProperty, Ae = Object.getOwnPropertySymbols, Tr = Object.prototype.hasOwnProperty, Hr = Object.prototype.propertyIsEnumerable, Nt = (e, t, r) => t in e ? qi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, lt = (e, t) => {
4479
+ var es = Object.defineProperty, Ae = Object.getOwnPropertySymbols, Ar = Object.prototype.hasOwnProperty, Or = Object.prototype.propertyIsEnumerable, $t = (e, t, r) => t in e ? es(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ft = (e, t) => {
4458
4480
  for (var r in t || (t = {}))
4459
- Tr.call(t, r) && Nt(e, r, t[r]);
4481
+ Ar.call(t, r) && $t(e, r, t[r]);
4460
4482
  if (Ae)
4461
4483
  for (var r of Ae(t))
4462
- Hr.call(t, r) && Nt(e, r, t[r]);
4484
+ Or.call(t, r) && $t(e, r, t[r]);
4463
4485
  return e;
4464
4486
  }, oe = (e, t) => {
4465
4487
  var r = {};
4466
4488
  for (var n in e)
4467
- Tr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4489
+ Ar.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4468
4490
  if (e != null && Ae)
4469
4491
  for (var n of Ae(e))
4470
- t.indexOf(n) < 0 && Hr.call(e, n) && (r[n] = e[n]);
4492
+ t.indexOf(n) < 0 && Or.call(e, n) && (r[n] = e[n]);
4471
4493
  return r;
4472
4494
  };
4473
4495
  const fe = (e, t) => {
@@ -4475,21 +4497,21 @@ const fe = (e, t) => {
4475
4497
  if (e in r && t in r[e])
4476
4498
  return r[e][t];
4477
4499
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4478
- }, Ji = Ne(
4500
+ }, ts = Me(
4479
4501
  (e) => {
4480
4502
  var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4481
4503
  if (r == null)
4482
4504
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4483
4505
  return n && (i = fe("number", n)), new Intl.NumberFormat(r, i);
4484
4506
  }
4485
- ), Yi = Ne(
4507
+ ), rs = Me(
4486
4508
  (e) => {
4487
4509
  var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4488
4510
  if (r == null)
4489
4511
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4490
4512
  return n ? i = fe("date", n) : Object.keys(i).length === 0 && (i = fe("date", "short")), new Intl.DateTimeFormat(r, i);
4491
4513
  }
4492
- ), Ki = Ne(
4514
+ ), ns = Me(
4493
4515
  (e) => {
4494
4516
  var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4495
4517
  if (r == null)
@@ -4498,46 +4520,46 @@ const fe = (e, t) => {
4498
4520
  );
4499
4521
  return n ? i = fe("time", n) : Object.keys(i).length === 0 && (i = fe("time", "short")), new Intl.DateTimeFormat(r, i);
4500
4522
  }
4501
- ), es = (e = {}) => {
4523
+ ), is = (e = {}) => {
4502
4524
  var t = e, {
4503
- locale: r = W()
4525
+ locale: r = z()
4504
4526
  } = t, n = oe(t, [
4505
4527
  "locale"
4506
4528
  ]);
4507
- return Ji(lt({ locale: r }, n));
4508
- }, ts = (e = {}) => {
4529
+ return ts(ft({ locale: r }, n));
4530
+ }, ss = (e = {}) => {
4509
4531
  var t = e, {
4510
- locale: r = W()
4532
+ locale: r = z()
4511
4533
  } = t, n = oe(t, [
4512
4534
  "locale"
4513
4535
  ]);
4514
- return Yi(lt({ locale: r }, n));
4515
- }, rs = (e = {}) => {
4536
+ return rs(ft({ locale: r }, n));
4537
+ }, os = (e = {}) => {
4516
4538
  var t = e, {
4517
- locale: r = W()
4539
+ locale: r = z()
4518
4540
  } = t, n = oe(t, [
4519
4541
  "locale"
4520
4542
  ]);
4521
- return Ki(lt({ locale: r }, n));
4522
- }, ns = Ne(
4543
+ return ns(ft({ locale: r }, n));
4544
+ }, as = Me(
4523
4545
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4524
- (e, t = W()) => new Oi(e, t, ne().formats, {
4546
+ (e, t = z()) => new Mi(e, t, ne().formats, {
4525
4547
  ignoreTag: ne().ignoreTag
4526
4548
  })
4527
- ), is = (e, t = {}) => {
4549
+ ), us = (e, t = {}) => {
4528
4550
  var r, n, i, s;
4529
4551
  let a = t;
4530
4552
  typeof e == "object" && (a = e, e = a.id);
4531
4553
  const {
4532
4554
  values: o,
4533
- locale: l = W(),
4555
+ locale: l = z(),
4534
4556
  default: u
4535
4557
  } = a;
4536
4558
  if (l == null)
4537
4559
  throw new Error(
4538
4560
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4539
4561
  );
4540
- let h = _r(e, l);
4562
+ let h = Sr(e, l);
4541
4563
  if (!h)
4542
4564
  h = (s = (i = (n = (r = ne()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
4543
4565
  else if (typeof h != "string")
@@ -4548,7 +4570,7 @@ const fe = (e, t) => {
4548
4570
  return h;
4549
4571
  let f = h;
4550
4572
  try {
4551
- f = ns(h, l).format(o);
4573
+ f = as(h, l).format(o);
4552
4574
  } catch (c) {
4553
4575
  c instanceof Error && console.warn(
4554
4576
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4556,16 +4578,16 @@ const fe = (e, t) => {
4556
4578
  );
4557
4579
  }
4558
4580
  return f;
4559
- }, ss = (e, t) => rs(t).format(e), os = (e, t) => ts(t).format(e), as = (e, t) => es(t).format(e), us = (e, t = W()) => _r(e, t), ls = ie([se, me], () => is);
4560
- ie([se], () => ss);
4561
- ie([se], () => os);
4562
- ie([se], () => as);
4563
- ie([se, me], () => us);
4564
- window.emWidgets = { topic: xn };
4565
- const Pr = (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)), hs = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4566
- function ks(e, t) {
4581
+ }, ls = (e, t) => os(t).format(e), hs = (e, t) => ss(t).format(e), cs = (e, t) => is(t).format(e), fs = (e, t = z()) => Sr(e, t), ds = ie([se, me], () => us);
4582
+ ie([se], () => ls);
4583
+ ie([se], () => hs);
4584
+ ie([se], () => cs);
4585
+ ie([se, me], () => fs);
4586
+ window.emWidgets = { topic: Bn };
4587
+ const Ir = (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)), ps = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4588
+ function zs(e, t) {
4567
4589
  const r = window.navigator.userAgent;
4568
- return Pr(r) ? t = e.filter((n) => {
4590
+ return Ir(r) ? t = e.filter((n) => {
4569
4591
  if (n.gameModel && (n.gameModel.platform.includes("iPad") || n.gameModel.platform.includes("iPhone") || n.gameModel.platform.includes("Android")))
4570
4592
  return n;
4571
4593
  }) : t = e.filter((n) => {
@@ -4573,7 +4595,7 @@ function ks(e, t) {
4573
4595
  return n;
4574
4596
  }), t;
4575
4597
  }
4576
- function Vs(e, t) {
4598
+ function Zs(e, t) {
4577
4599
  return new Promise((r, n) => {
4578
4600
  const i = new Headers();
4579
4601
  i.append("X-SessionID", t);
@@ -4584,13 +4606,13 @@ function Vs(e, t) {
4584
4606
  fetch(`${e}/v1/player/session/player`, s).then((a) => a.json()).then((a) => r(a)).catch((a) => n(a));
4585
4607
  });
4586
4608
  }
4587
- function cs(e, t) {
4609
+ function ms(e, t) {
4588
4610
  if (e) {
4589
4611
  const r = document.createElement("style");
4590
4612
  r.innerHTML = t, e.appendChild(r);
4591
4613
  }
4592
4614
  }
4593
- function fs(e, t) {
4615
+ function bs(e, t) {
4594
4616
  const r = new URL(t);
4595
4617
  fetch(r.href).then((n) => n.text()).then((n) => {
4596
4618
  const i = document.createElement("style");
@@ -4599,7 +4621,7 @@ function fs(e, t) {
4599
4621
  console.error("There was an error while trying to load client styling from URL", n);
4600
4622
  });
4601
4623
  }
4602
- function ds(e, t, r) {
4624
+ function ys(e, t, r) {
4603
4625
  if (window.emMessageBus) {
4604
4626
  const n = document.createElement("style");
4605
4627
  window.emMessageBus.subscribe(t, (i) => {
@@ -4607,13 +4629,13 @@ function ds(e, t, r) {
4607
4629
  });
4608
4630
  }
4609
4631
  }
4610
- function Mt(e, t) {
4611
- xr(e, t);
4632
+ function Dt(e, t) {
4633
+ Hr(e, t);
4612
4634
  }
4613
- function ps(e) {
4635
+ function gs(e) {
4614
4636
  se.set(e);
4615
4637
  }
4616
- const Rt = {
4638
+ const Ut = {
4617
4639
  en: {
4618
4640
  error: "500 Error - Internal Server Error"
4619
4641
  },
@@ -4645,7 +4667,7 @@ if (typeof window < "u") {
4645
4667
  }
4646
4668
  };
4647
4669
  };
4648
- customElements.define = e(customElements.define), import("./CasinoCalendarDailyDetails-DQB9Y3_Q.js").then(({ default: t }) => {
4670
+ customElements.define = e(customElements.define), import("./CasinoCalendarDailyDetails-CGaAU2gc.js").then(({ default: t }) => {
4649
4671
  !customElements.get("casino-calendar-daily-details") && customElements.define("casino-calendar-daily-details", t.element);
4650
4672
  });
4651
4673
  }
@@ -4661,35 +4683,35 @@ if (typeof window < "u") {
4661
4683
  }
4662
4684
  };
4663
4685
  };
4664
- customElements.define = e(customElements.define), import("./CasinoCalendarDailyItem-CjRZKnnD.js").then(({ default: t }) => {
4686
+ customElements.define = e(customElements.define), import("./CasinoCalendarDailyItem-5aqnKIMr.js").then(({ default: t }) => {
4665
4687
  !customElements.get("casino-calendar-daily-item") && customElements.define("casino-calendar-daily-item", t.element);
4666
4688
  });
4667
4689
  }
4668
- function ms(e) {
4669
- Mr(e, "svelte-61avp5", `.svelte-61avp5{font-family:inherit}.CasinoCalendarItem.svelte-61avp5{display:flex;flex-direction:row;flex-wrap:nowrap;text-align:left;gap:10px;overflow-x:auto;overflow-y:hidden;justify-content:space-evenly}.Mobile.svelte-61avp5{padding:0 10px;height:286px;overflow-y:visible;overflow-x:scroll;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.CalendarDetailsWrapper.svelte-61avp5{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0;background-color:var(--emw--color-dark-gray, rgba(0, 0, 0, 0.9))}.LoadingSpinner.svelte-61avp5{display:block;width:80px;height:80px;margin:0 auto
4690
+ function vs(e) {
4691
+ Gr(e, "svelte-61avp5", `.svelte-61avp5{font-family:inherit}.CasinoCalendarItem.svelte-61avp5{display:flex;flex-direction:row;flex-wrap:nowrap;text-align:left;gap:10px;overflow-x:auto;overflow-y:hidden;justify-content:space-evenly}.Mobile.svelte-61avp5{padding:0 10px;height:286px;overflow-y:visible;overflow-x:scroll;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.CalendarDetailsWrapper.svelte-61avp5{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0;background-color:var(--emw--color-dark-gray, rgba(0, 0, 0, 0.9))}.LoadingSpinner.svelte-61avp5{display:block;width:80px;height:80px;margin:0 auto
4670
4692
  }.LoadingSpinner.svelte-61avp5:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent;animation:svelte-61avp5-LoadingSpinner 1.2s linear infinite}@keyframes svelte-61avp5-LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}`);
4671
4693
  }
4672
- function $t(e, t, r) {
4694
+ function Gt(e, t, r) {
4673
4695
  const n = e.slice();
4674
4696
  return n[26] = t[r], n[28] = r, n;
4675
4697
  }
4676
- function bs(e) {
4677
- let t, r, n, i = pt(
4698
+ function _s(e) {
4699
+ let t, r, n, i = yt(
4678
4700
  /*calendarCollections*/
4679
4701
  e[6]
4680
4702
  ), s = [];
4681
4703
  for (let o = 0; o < i.length; o += 1)
4682
- s[o] = Dt($t(e, i, o));
4704
+ s[o] = Ft(Gt(e, i, o));
4683
4705
  let a = (
4684
4706
  /*calendarModalOpened*/
4685
- e[11] == !0 && Ut(e)
4707
+ e[11] == !0 && jt(e)
4686
4708
  );
4687
4709
  return {
4688
4710
  c() {
4689
- t = N("div");
4711
+ t = M("div");
4690
4712
  for (let o = 0; o < s.length; o += 1)
4691
4713
  s[o].c();
4692
- r = Ur(), a && a.c(), k(t, "class", n = "CasinoCalendarItem " + /*mobileView*/
4714
+ r = Vr(), a && a.c(), k(t, "class", n = "CasinoCalendarItem " + /*mobileView*/
4693
4715
  (e[10] ? "Mobile" : "") + " svelte-61avp5");
4694
4716
  },
4695
4717
  m(o, l) {
@@ -4701,34 +4723,34 @@ function bs(e) {
4701
4723
  p(o, l) {
4702
4724
  if (l & /*calendarCollections, lang, clientstyling, clientstylingurl, mbsource, translationurl*/
4703
4725
  95) {
4704
- i = pt(
4726
+ i = yt(
4705
4727
  /*calendarCollections*/
4706
4728
  o[6]
4707
4729
  );
4708
4730
  let u;
4709
4731
  for (u = 0; u < i.length; u += 1) {
4710
- const h = $t(o, i, u);
4711
- s[u] ? s[u].p(h, l) : (s[u] = Dt(h), s[u].c(), s[u].m(t, r));
4732
+ const h = Gt(o, i, u);
4733
+ s[u] ? s[u].p(h, l) : (s[u] = Ft(h), s[u].c(), s[u].m(t, r));
4712
4734
  }
4713
4735
  for (; u < s.length; u += 1)
4714
4736
  s[u].d(1);
4715
4737
  s.length = i.length;
4716
4738
  }
4717
4739
  /*calendarModalOpened*/
4718
- o[11] == !0 ? a ? a.p(o, l) : (a = Ut(o), a.c(), a.m(t, null)) : a && (a.d(1), a = null), l & /*mobileView*/
4740
+ o[11] == !0 ? a ? a.p(o, l) : (a = jt(o), a.c(), a.m(t, null)) : a && (a.d(1), a = null), l & /*mobileView*/
4719
4741
  1024 && n !== (n = "CasinoCalendarItem " + /*mobileView*/
4720
4742
  (o[10] ? "Mobile" : "") + " svelte-61avp5") && k(t, "class", n);
4721
4743
  },
4722
4744
  d(o) {
4723
- o && R(t), $r(s, o), a && a.d();
4745
+ o && R(t), jr(s, o), a && a.d();
4724
4746
  }
4725
4747
  };
4726
4748
  }
4727
- function ys(e) {
4749
+ function Es(e) {
4728
4750
  let t;
4729
4751
  return {
4730
4752
  c() {
4731
- t = N("div"), k(t, "class", "LoadingSpinner svelte-61avp5");
4753
+ t = M("div"), k(t, "class", "LoadingSpinner svelte-61avp5");
4732
4754
  },
4733
4755
  m(r, n) {
4734
4756
  X(r, t, n);
@@ -4739,14 +4761,14 @@ function ys(e) {
4739
4761
  }
4740
4762
  };
4741
4763
  }
4742
- function gs(e) {
4764
+ function xs(e) {
4743
4765
  let t, r = (
4744
4766
  /*$_*/
4745
4767
  e[12]("error") + ""
4746
4768
  ), n;
4747
4769
  return {
4748
4770
  c() {
4749
- t = N("p"), n = ot(r), k(t, "class", "SearchLoading svelte-61avp5");
4771
+ t = M("p"), n = at(r), k(t, "class", "SearchLoading svelte-61avp5");
4750
4772
  },
4751
4773
  m(i, s) {
4752
4774
  X(i, t, s), pe(t, n);
@@ -4754,18 +4776,18 @@ function gs(e) {
4754
4776
  p(i, s) {
4755
4777
  s & /*$_*/
4756
4778
  4096 && r !== (r = /*$_*/
4757
- i[12]("error") + "") && Fr(n, r);
4779
+ i[12]("error") + "") && Wr(n, r);
4758
4780
  },
4759
4781
  d(i) {
4760
4782
  i && R(t);
4761
4783
  }
4762
4784
  };
4763
4785
  }
4764
- function Dt(e) {
4786
+ function Ft(e) {
4765
4787
  let t, r, n, i, s, a;
4766
4788
  return {
4767
4789
  c() {
4768
- t = N("casino-calendar-daily-item"), b(t, "dailybackground", r = /*dailyCalendarData*/
4790
+ t = M("casino-calendar-daily-item"), b(t, "dailybackground", r = /*dailyCalendarData*/
4769
4791
  e[26].dailyBackground), b(t, "dailyicon", n = /*dailyCalendarData*/
4770
4792
  e[26].dailyIcon), b(t, "dailyday", i = /*dailyCalendarData*/
4771
4793
  e[26].dailyDay), b(t, "dailydescription", s = /*dailyCalendarData*/
@@ -4853,11 +4875,11 @@ function Dt(e) {
4853
4875
  }
4854
4876
  };
4855
4877
  }
4856
- function Ut(e) {
4878
+ function jt(e) {
4857
4879
  let t, r, n, i, s, a, o, l;
4858
4880
  return {
4859
4881
  c() {
4860
- t = N("div"), r = N("casino-calendar-daily-details"), b(r, "dailybackground", n = /*calendarCollections*/
4882
+ t = M("div"), r = M("casino-calendar-daily-details"), b(r, "dailybackground", n = /*calendarCollections*/
4861
4883
  e[6][
4862
4884
  /*selectedIndex*/
4863
4885
  e[7]
@@ -4979,29 +5001,29 @@ function Ut(e) {
4979
5001
  }
4980
5002
  };
4981
5003
  }
4982
- function vs(e) {
5004
+ function ws(e) {
4983
5005
  let t;
4984
5006
  function r(s, a) {
4985
5007
  if (
4986
5008
  /*hasErrors*/
4987
5009
  s[9]
4988
5010
  )
4989
- return gs;
5011
+ return xs;
4990
5012
  if (
4991
5013
  /*isLoading*/
4992
5014
  s[8]
4993
5015
  )
4994
- return ys;
5016
+ return Es;
4995
5017
  if (
4996
5018
  /*calendarCollections*/
4997
5019
  s[6]?.length
4998
5020
  )
4999
- return bs;
5021
+ return _s;
5000
5022
  }
5001
5023
  let n = r(e), i = n && n(e);
5002
5024
  return {
5003
5025
  c() {
5004
- t = N("div"), i && i.c(), k(t, "class", "svelte-61avp5");
5026
+ t = M("div"), i && i.c(), k(t, "class", "svelte-61avp5");
5005
5027
  },
5006
5028
  m(s, a) {
5007
5029
  X(s, t, a), i && i.m(t, null), e[16](t);
@@ -5016,44 +5038,44 @@ function vs(e) {
5016
5038
  }
5017
5039
  };
5018
5040
  }
5019
- function _s(e, t, r) {
5041
+ function Ss(e, t, r) {
5020
5042
  let n;
5021
- Cr(e, ls, (y) => r(12, n = y));
5022
- let { cmsendpoint: i = "" } = t, { env: s = "" } = t, { userroles: a = "" } = t, { lang: o = "en" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: h } = t, { mbsource: f } = t, c, p, d = 0, m = !0, E = !1, T = !1, H = window.navigator.userAgent, S = !1;
5023
- const O = () => {
5024
- ps(o);
5043
+ $r(e, ds, (y) => r(12, n = y));
5044
+ let { cmsendpoint: i = "" } = t, { env: s = "" } = t, { userroles: a = "" } = t, { lang: o = "en" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: h } = t, { mbsource: f } = t, c, p, d = 0, m = !0, E = !1, T = !1, H = window.navigator.userAgent, S = !1, O;
5045
+ const B = () => {
5046
+ gs(o);
5025
5047
  };
5026
- Object.keys(Rt).forEach((y) => {
5027
- Mt(y, Rt[y]);
5048
+ Object.keys(Ut).forEach((y) => {
5049
+ Dt(y, Ut[y]);
5028
5050
  });
5029
- const P = () => {
5051
+ const I = () => {
5030
5052
  let y = h;
5031
5053
  if (y)
5032
- return fetch(y).then((M) => M.json()).then((M) => {
5033
- Object.keys(M).forEach((F) => {
5034
- Mt(F, M[F]);
5054
+ return fetch(y).then((N) => N.json()).then((N) => {
5055
+ Object.keys(N).forEach((F) => {
5056
+ Dt(F, N[F]);
5035
5057
  });
5036
- }).catch((M) => {
5037
- console.log(M);
5058
+ }).catch((N) => {
5059
+ console.log(N);
5038
5060
  });
5039
- }, C = () => {
5061
+ }, w = () => {
5040
5062
  r(8, m = !0);
5041
5063
  let y = new URL(`${i}/${o}/daily-calendar`);
5042
5064
  y.searchParams.append("userRoles", a), y.searchParams.append("env", s);
5043
- let M = hs(H);
5044
- M && (M === "PC" ? y.searchParams.append("device", "dk") : M === "iPad" || M === "iPhone" ? y.searchParams.append("device", "ios") : y.searchParams.append("device", "mtWeb")), fetch(y.href).then((F) => F.json()).then((F) => {
5065
+ let N = ps(H);
5066
+ N && (N === "PC" ? y.searchParams.append("device", "dk") : N === "iPad" || N === "iPhone" ? y.searchParams.append("device", "ios") : y.searchParams.append("device", "mtWeb")), fetch(y.href).then((F) => F.json()).then((F) => {
5045
5067
  r(6, p = F);
5046
5068
  }).catch((F) => {
5047
5069
  console.log(F), r(9, E = !0);
5048
5070
  }).finally(() => {
5049
- w(), r(8, m = !1);
5071
+ C(), r(8, m = !1);
5050
5072
  });
5051
- }, w = () => {
5073
+ }, C = () => {
5052
5074
  const y = c.getRootNode().host;
5053
5075
  y.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: y } }));
5054
5076
  }, L = () => {
5055
- C();
5056
- }, I = (y) => {
5077
+ w();
5078
+ }, W = (y) => {
5057
5079
  y.data && y.data.type == "OpenCalendar" && (r(7, d = y.data.index), r(11, S = !0), window.postMessage(
5058
5080
  {
5059
5081
  type: "ShowModal",
@@ -5066,11 +5088,11 @@ function _s(e, t, r) {
5066
5088
  data: p[d]?.dailyEvents
5067
5089
  })), y.data && y.data.type == "ModalClosed" && r(11, S = !1);
5068
5090
  };
5069
- Qr(() => (window.addEventListener("message", I, !1), Pr(H) && r(10, T = !0), () => {
5070
- window.removeEventListener("message", I);
5091
+ en(() => (window.addEventListener("message", W, !1), Ir(H) && r(10, T = !0), () => {
5092
+ window.emMessageBus && O && window.emMessageBus.unsubscribe("Casino.Style"), window.removeEventListener("message", W);
5071
5093
  }));
5072
- function z(y) {
5073
- ke[y ? "unshift" : "push"](() => {
5094
+ function Lr(y) {
5095
+ Ve[y ? "unshift" : "push"](() => {
5074
5096
  c = y, r(5, c);
5075
5097
  });
5076
5098
  }
@@ -5079,11 +5101,11 @@ function _s(e, t, r) {
5079
5101
  }, e.$$.update = () => {
5080
5102
  e.$$.dirty & /*cmsendpoint, lang, env, userroles*/
5081
5103
  57345 && i && o && s && a && L(), e.$$.dirty & /*clientstyling, customStylingContainer*/
5082
- 34 && l && c && cs(c, l), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
5083
- 36 && u && c && fs(c, u), e.$$.dirty & /*customStylingContainer, mbsource*/
5084
- 48 && c && ds(c, `${f}.Style`), e.$$.dirty & /*lang*/
5085
- 1 && o && O(), e.$$.dirty & /*lang, translationurl*/
5086
- 9 && o && h && P();
5104
+ 34 && l && c && ms(c, l), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
5105
+ 36 && u && c && bs(c, u), e.$$.dirty & /*customStylingContainer, mbsource*/
5106
+ 48 && c && ys(c, `${f}.Style`), e.$$.dirty & /*lang*/
5107
+ 1 && o && B(), e.$$.dirty & /*lang, translationurl*/
5108
+ 9 && o && h && I();
5087
5109
  }, [
5088
5110
  o,
5089
5111
  l,
@@ -5101,17 +5123,17 @@ function _s(e, t, r) {
5101
5123
  i,
5102
5124
  s,
5103
5125
  a,
5104
- z
5126
+ Lr
5105
5127
  ];
5106
5128
  }
5107
- class Br extends on {
5129
+ class Cr extends cn {
5108
5130
  constructor(t) {
5109
- super(), nn(
5131
+ super(), ln(
5110
5132
  this,
5111
5133
  t,
5112
- _s,
5113
- vs,
5114
- Ft,
5134
+ Ss,
5135
+ ws,
5136
+ Vt,
5115
5137
  {
5116
5138
  cmsendpoint: 13,
5117
5139
  env: 14,
@@ -5122,7 +5144,7 @@ class Br extends on {
5122
5144
  translationurl: 3,
5123
5145
  mbsource: 4
5124
5146
  },
5125
- ms
5147
+ vs
5126
5148
  );
5127
5149
  }
5128
5150
  get cmsendpoint() {
@@ -5174,72 +5196,72 @@ class Br extends on {
5174
5196
  this.$$set({ mbsource: t }), $();
5175
5197
  }
5176
5198
  }
5177
- sn(Br, { cmsendpoint: {}, env: {}, userroles: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
5178
- const Xs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5199
+ hn(Cr, { cmsendpoint: {}, env: {}, userroles: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
5200
+ const Qs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5179
5201
  __proto__: null,
5180
- default: Br
5202
+ default: Cr
5181
5203
  }, Symbol.toStringTag, { value: "Module" }));
5182
5204
  export {
5183
5205
  se as $,
5184
- ct as A,
5185
- Ur as B,
5186
- ke as C,
5187
- Es as D,
5188
- Dr as E,
5189
- Ps as F,
5190
- Os as G,
5191
- Ls as H,
5192
- cs as I,
5193
- fs as J,
5194
- ds as K,
5195
- sn as L,
5196
- ls as M,
5197
- hs as N,
5198
- b as O,
5199
- Hs as P,
5200
- Rs as Q,
5206
+ pt as A,
5207
+ Ps as B,
5208
+ As as C,
5209
+ Bs as D,
5210
+ Wr as E,
5211
+ jr as F,
5212
+ A as G,
5213
+ Ts as H,
5214
+ ds as I,
5215
+ kr as J,
5216
+ Is as K,
5217
+ Ms as L,
5218
+ $s as M,
5219
+ Gs as N,
5220
+ ps as O,
5221
+ b as P,
5222
+ Os as Q,
5201
5223
  V as R,
5202
- on as S,
5203
- Bs as T,
5224
+ cn as S,
5225
+ Cs as T,
5204
5226
  me as U,
5205
- As as V,
5206
- Ns as W,
5207
- Vs as X,
5208
- Cs as Y,
5209
- ks as Z,
5210
- js as _,
5211
- xr as a,
5212
- Fs as a0,
5213
- Ms as a1,
5214
- Ar as a2,
5215
- Gs as a3,
5216
- Pe as a4,
5217
- Is as a5,
5227
+ Ls as V,
5228
+ Ds as W,
5229
+ Zs as X,
5230
+ Rs as Y,
5231
+ zs as Z,
5232
+ Ws as _,
5233
+ Hr as a,
5234
+ Xs as a0,
5235
+ Us as a1,
5236
+ Mr as a2,
5237
+ Be as a3,
5238
+ Ns as a4,
5239
+ Vs as a5,
5218
5240
  de as a6,
5219
- Xs as a7,
5220
- Mr as b,
5221
- Qt as c,
5222
- R as d,
5223
- Ds as e,
5241
+ Qs as a7,
5242
+ Gr as b,
5243
+ hn as c,
5244
+ X as d,
5245
+ M as e,
5224
5246
  $ as f,
5225
- $s as g,
5226
- X as h,
5227
- nn as i,
5228
- N as j,
5229
- Cr as k,
5230
- Pr as l,
5231
- Fr as m,
5232
- A as n,
5233
- Qr as o,
5234
- pe as p,
5235
- ot as q,
5236
- k as r,
5237
- Ft as s,
5238
- Us as t,
5239
- xs as u,
5240
- pt as v,
5241
- $r as w,
5242
- Ss as x,
5243
- Ts as y,
5244
- ws as z
5247
+ js as g,
5248
+ Yt as h,
5249
+ ln as i,
5250
+ R as j,
5251
+ $r as k,
5252
+ bs as l,
5253
+ ys as m,
5254
+ Fs as n,
5255
+ en as o,
5256
+ Ir as p,
5257
+ Ve as q,
5258
+ ms as r,
5259
+ Vt as s,
5260
+ ks as t,
5261
+ Hs as u,
5262
+ yt as v,
5263
+ Vr as w,
5264
+ at as x,
5265
+ k as y,
5266
+ pe as z
5245
5267
  };