@everymatrix/casino-lobby 1.57.0 → 1.58.1

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 (86) hide show
  1. package/components/{CasinoCalendar-BU2gZgoA.js → CasinoCalendar-BWZKTjt3.js} +931 -953
  2. package/components/{CasinoCalendar-BYhP1252.js → CasinoCalendar-CEPKCmvL.js} +903 -925
  3. package/components/CasinoCalendar-YzaZrGBf.cjs +22 -0
  4. package/components/{CasinoCalendarDailyDetails-zomrPGwC.js → CasinoCalendarDailyDetails-BZxw5rrd.js} +48 -48
  5. package/components/{CasinoCalendarDailyDetails-BvbgM2tY.js → CasinoCalendarDailyDetails-C4rdfT96.js} +48 -48
  6. package/components/{CasinoCalendarDailyDetails-DkbuLEg5.cjs → CasinoCalendarDailyDetails-CneP-8H4.cjs} +1 -1
  7. package/components/{CasinoCalendarDailyItem-BCuBW8Ar.js → CasinoCalendarDailyItem-B3mEEjHA.js} +41 -41
  8. package/components/{CasinoCalendarDailyItem-DO4dUNpH.js → CasinoCalendarDailyItem-DAH0pKrw.js} +41 -41
  9. package/components/{CasinoCalendarDailyItem-DX_5vyqn.cjs → CasinoCalendarDailyItem-yxm1jout.cjs} +1 -1
  10. package/components/{CasinoCategoriesSlider-BOJ1THEs.js → CasinoCategoriesSlider-Dd33-jys.js} +65 -65
  11. package/components/CasinoCategoriesSlider-DozoHOzF.cjs +1 -0
  12. package/components/{CasinoCategoriesSlider-BXOmh9s8.js → CasinoCategoriesSlider-t9Ea10Xr.js} +66 -66
  13. package/components/{CasinoCollectionsProviders-BFNXK0mZ.cjs → CasinoCollectionsProviders-CBiEhbus.cjs} +1 -1
  14. package/components/{CasinoCollectionsProviders-CRAmbMuu.js → CasinoCollectionsProviders-DAgGlzwM.js} +77 -77
  15. package/components/{CasinoCollectionsProviders-BX_dEzdy.js → CasinoCollectionsProviders-bmfbt1iI.js} +75 -75
  16. package/components/{CasinoFavoritesSection-DkMuV4ev.js → CasinoFavoritesSection-B9pa_5wC.js} +26 -26
  17. package/components/{CasinoFavoritesSection-BpiA2iBc.js → CasinoFavoritesSection-Dm0Ylorq.js} +26 -26
  18. package/components/{CasinoFavoritesSection-21RKmDna.cjs → CasinoFavoritesSection-n_i25VDL.cjs} +1 -1
  19. package/components/CasinoFilter-B7H_n_MD.cjs +1 -0
  20. package/components/{CasinoFilter-BtQon8od.js → CasinoFilter-BTP1X8zp.js} +246 -247
  21. package/components/{CasinoFilter-Du7IqNdv.js → CasinoFilter-BaCM2CFg.js} +235 -234
  22. package/components/{CasinoGamePage-D6WlJtbq.cjs → CasinoGamePage-CIvFWln2.cjs} +6 -6
  23. package/components/{CasinoGamePage-CAR8Lbbu.js → CasinoGamePage-DSk7OmI2.js} +1271 -1282
  24. package/components/{CasinoGamePage-SkHZ0J32.js → CasinoGamePage-jh3dkrf4.js} +914 -925
  25. package/components/{CasinoGameThumbnail-C5zpCoxS.js → CasinoGameThumbnail-BXCu7VY7.js} +353 -369
  26. package/components/{CasinoGameThumbnail-C8-30qgE.js → CasinoGameThumbnail-Mnpd_s_M.js} +281 -265
  27. package/components/{CasinoGameThumbnail-CX3_s0pB.cjs → CasinoGameThumbnail-uCJn0tBq.cjs} +7 -7
  28. package/components/{CasinoGamesCategorySection-CXHto_G8.cjs → CasinoGamesCategorySection-BBfNK7Mo.cjs} +1 -1
  29. package/components/{CasinoGamesCategorySection-tBfZtEqo.js → CasinoGamesCategorySection-BU3JMFcx.js} +245 -245
  30. package/components/{CasinoGamesCategorySection-DGep1gpT.js → CasinoGamesCategorySection-dyyrntic.js} +245 -245
  31. package/components/{CasinoJackpotBanner-B6za0Zjf.js → CasinoJackpotBanner-7unbFH4I.js} +72 -72
  32. package/components/{CasinoJackpotBanner-DVU6U9lr.js → CasinoJackpotBanner-BvW5shKI.js} +79 -79
  33. package/components/{CasinoJackpotBanner-CRGjJl2y.cjs → CasinoJackpotBanner-RjyciaDJ.cjs} +1 -1
  34. package/components/{CasinoLastPlayedSection-w-DOhWFY.js → CasinoLastPlayedSection--cJ8dS0F.js} +43 -43
  35. package/components/{CasinoLastPlayedSection-grLc4PdV.js → CasinoLastPlayedSection-BtSsd68j.js} +43 -43
  36. package/components/{CasinoLastPlayedSection-DuDTrTEV.cjs → CasinoLastPlayedSection-YmqYIIYS.cjs} +1 -1
  37. package/components/{CasinoLobby-7M5tWyyJ.cjs → CasinoLobby-BVvKIwXf.cjs} +1 -1
  38. package/components/{CasinoLobby-CJaplwul.js → CasinoLobby-CeVVWOXC.js} +47 -47
  39. package/components/{CasinoLobby-C_dHD756.js → CasinoLobby-DeH-xQqX.js} +45 -45
  40. package/components/{CasinoModal-BEa4Ij-6.js → CasinoModal-88yfZulM.js} +41 -41
  41. package/components/{CasinoModal-35QTkTq-.cjs → CasinoModal-Ce5Pthg0.cjs} +1 -1
  42. package/components/{CasinoModal-CFbQNGPR.js → CasinoModal-D9_hs2c9.js} +41 -41
  43. package/components/{CasinoMostPlayedSection-CSKQtJpR.js → CasinoMostPlayedSection-BldCqqK1.js} +50 -50
  44. package/components/{CasinoMostPlayedSection-CXjNel4O.js → CasinoMostPlayedSection-CvX-e31F.js} +50 -50
  45. package/components/{CasinoMostPlayedSection-BlcQlzEc.cjs → CasinoMostPlayedSection-DI5TANog.cjs} +1 -1
  46. package/components/{CasinoMyGames-5jrRlRZ3.js → CasinoMyGames-CJm9ApZ8.js} +50 -50
  47. package/components/{CasinoMyGames-28VFQfos.js → CasinoMyGames-CNSxKFTG.js} +53 -53
  48. package/components/{CasinoMyGames-CPwnBj_e.cjs → CasinoMyGames-DQEE59aC.cjs} +1 -1
  49. package/components/{CasinoPage-Dx4ipUxr.js → CasinoPage-BHr38lT6.js} +92 -92
  50. package/components/CasinoPage-CSLjFVQe.cjs +1 -0
  51. package/components/{CasinoPage-BelcpcFg.js → CasinoPage-Dic62p8t.js} +92 -92
  52. package/components/{CasinoRandomGame-DcHbcmu8.js → CasinoRandomGame-8kMXdgrA.js} +64 -64
  53. package/components/{CasinoRandomGame-Njs6ODWp.js → CasinoRandomGame-CaLII6na.js} +63 -63
  54. package/components/{CasinoRandomGame-DnwNz2Jt.cjs → CasinoRandomGame-CjLDPmJh.cjs} +1 -1
  55. package/components/{CasinoSearch-Cv1lRhic.cjs → CasinoSearch-Cf4ivtxM.cjs} +1 -1
  56. package/components/{CasinoSearch-Biq528Xd.js → CasinoSearch-ISBqoS_l.js} +72 -72
  57. package/components/{CasinoSearch-BbORpTNK.js → CasinoSearch-eN8ZAKdn.js} +72 -72
  58. package/components/{CasinoSlider-BiIS2-lS.cjs → CasinoSlider-BqOuFEE1.cjs} +1 -1
  59. package/components/{CasinoSlider-BbRVIW35.js → CasinoSlider-DLY4ZBJR.js} +65 -65
  60. package/components/{CasinoSlider-BpVYjfEZ.js → CasinoSlider-DTLHID6G.js} +74 -74
  61. package/components/{CasinoSort-BIiSCydQ.js → CasinoSort-BNFUwAYT.js} +110 -111
  62. package/components/{CasinoSort-ClDrkZcs.cjs → CasinoSort-BpUmCYRy.cjs} +1 -1
  63. package/components/{CasinoSort-BCZs_7vq.js → CasinoSort-DKL_qMEQ.js} +104 -103
  64. package/components/{CasinoWinners-D9QEbcwQ.js → CasinoWinners-BoSyqMDy.js} +157 -157
  65. package/components/{CasinoWinners-fcmQdKZx.js → CasinoWinners-Czg0Gq3N.js} +148 -148
  66. package/components/{CasinoWinners-CNAN8Ko7.cjs → CasinoWinners-DRdsN9K_.cjs} +1 -1
  67. package/components/{GeneralAnimationLoading-dlh-TGCV.cjs → GeneralAnimationLoading-CVr2zyUi.cjs} +1 -1
  68. package/components/{GeneralAnimationLoading-BEyM9jr_.js → GeneralAnimationLoading-DL8bFxE7.js} +16 -16
  69. package/components/{GeneralAnimationLoading-uTgCxIjZ.js → GeneralAnimationLoading-swHQRr7H.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 +3 -2
  74. package/stencil/{casino-play-random-game-B9yaAMOE.js → casino-play-random-game-BOnTgUqC.js} +1 -1
  75. package/stencil/{casino-play-random-game-a53bUW_d.cjs → casino-play-random-game-DjdZ0XM0.cjs} +1 -1
  76. package/stencil/{casino-play-random-game-BTXyM5es.js → casino-play-random-game-NcJEjFWA.js} +1 -1
  77. package/stencil/index-510a6ba4-1RrL4Z6e.js +564 -0
  78. package/stencil/index-510a6ba4-CNr-xCZE.js +548 -0
  79. package/stencil/index-510a6ba4-eEczisTR.cjs +1 -0
  80. package/components/CasinoCalendar-pDYRKcjG.cjs +0 -22
  81. package/components/CasinoCategoriesSlider-3PL0POlf.cjs +0 -1
  82. package/components/CasinoFilter-D06f7IqM.cjs +0 -1
  83. package/components/CasinoPage-CpV6CfKv.cjs +0 -1
  84. package/stencil/index-510a6ba4-B9_VY7vu.cjs +0 -1
  85. package/stencil/index-510a6ba4-CYFuKFRQ.js +0 -564
  86. package/stencil/index-510a6ba4-CzpWs0jf.js +0 -548
@@ -1,7 +1,7 @@
1
1
  function A() {
2
2
  }
3
- const Lr = (e) => e;
4
- function Mr(e, t) {
3
+ const Br = (e) => e;
4
+ function Ar(e, t) {
5
5
  for (const r in t)
6
6
  e[r] = t[r];
7
7
  return (
@@ -9,29 +9,29 @@ function Mr(e, t) {
9
9
  e
10
10
  );
11
11
  }
12
- function kt(e) {
12
+ function Ut(e) {
13
13
  return e();
14
14
  }
15
- function dt() {
15
+ function lt() {
16
16
  return /* @__PURE__ */ Object.create(null);
17
17
  }
18
18
  function V(e) {
19
- e.forEach(kt);
19
+ e.forEach(Ut);
20
20
  }
21
- function de(e) {
21
+ function fe(e) {
22
22
  return typeof e == "function";
23
23
  }
24
- function Vt(e, t) {
24
+ function Gt(e, t) {
25
25
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
26
26
  }
27
- let be;
28
- function Ss(e, t) {
29
- return e === t ? !0 : (be || (be = document.createElement("a")), be.href = t, e === be.href);
27
+ let me;
28
+ function _s(e, t) {
29
+ return e === t ? !0 : (me || (me = document.createElement("a")), me.href = t, e === me.href);
30
30
  }
31
- function Nr(e) {
31
+ function Or(e) {
32
32
  return Object.keys(e).length === 0;
33
33
  }
34
- function Xt(e, ...t) {
34
+ function Ft(e, ...t) {
35
35
  if (e == null) {
36
36
  for (const n of t)
37
37
  n(void 0);
@@ -40,19 +40,19 @@ function Xt(e, ...t) {
40
40
  const r = e.subscribe(...t);
41
41
  return r.unsubscribe ? () => r.unsubscribe() : r;
42
42
  }
43
- function Rr(e, t, r) {
44
- e.$$.on_destroy.push(Xt(t, r));
43
+ function Ir(e, t, r) {
44
+ e.$$.on_destroy.push(Ft(t, r));
45
45
  }
46
- function Ts(e, t, r, n) {
46
+ function Es(e, t, r, n) {
47
47
  if (e) {
48
- const i = Wt(e, t, r, n);
48
+ const i = jt(e, t, r, n);
49
49
  return e[0](i);
50
50
  }
51
51
  }
52
- function Wt(e, t, r, n) {
53
- return e[1] && n ? Mr(r.ctx.slice(), e[1](n(t))) : r.ctx;
52
+ function jt(e, t, r, n) {
53
+ return e[1] && n ? Ar(r.ctx.slice(), e[1](n(t))) : r.ctx;
54
54
  }
55
- function Hs(e, t, r, n) {
55
+ function xs(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 Hs(e, t, r, n) {
67
67
  }
68
68
  return t.dirty;
69
69
  }
70
- function Bs(e, t, r, n, i, s) {
70
+ function ws(e, t, r, n, i, s) {
71
71
  if (i) {
72
- const a = Wt(t, r, n, s);
72
+ const a = jt(t, r, n, s);
73
73
  e.p(a, i);
74
74
  }
75
75
  }
76
- function Ps(e) {
76
+ function Ss(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,39 +82,39 @@ function Ps(e) {
82
82
  }
83
83
  return -1;
84
84
  }
85
- function As(e) {
86
- return e && de(e.destroy) ? e.destroy : A;
85
+ function Ts(e) {
86
+ return e && fe(e.destroy) ? e.destroy : A;
87
87
  }
88
- const zt = typeof window < "u";
89
- let $r = zt ? () => window.performance.now() : () => Date.now(), st = zt ? (e) => requestAnimationFrame(e) : A;
90
- const J = /* @__PURE__ */ new Set();
91
- function Zt(e) {
92
- J.forEach((t) => {
93
- t.c(e) || (J.delete(t), t.f());
94
- }), J.size !== 0 && st(Zt);
88
+ const kt = typeof window < "u";
89
+ let Cr = kt ? () => window.performance.now() : () => Date.now(), nt = kt ? (e) => requestAnimationFrame(e) : A;
90
+ const q = /* @__PURE__ */ new Set();
91
+ function Vt(e) {
92
+ q.forEach((t) => {
93
+ t.c(e) || (q.delete(t), t.f());
94
+ }), q.size !== 0 && nt(Vt);
95
95
  }
96
- function Dr(e) {
96
+ function Lr(e) {
97
97
  let t;
98
- return J.size === 0 && st(Zt), {
98
+ return q.size === 0 && nt(Vt), {
99
99
  promise: new Promise((r) => {
100
- J.add(t = { c: e, f: r });
100
+ q.add(t = { c: e, f: r });
101
101
  }),
102
102
  abort() {
103
- J.delete(t);
103
+ q.delete(t);
104
104
  }
105
105
  };
106
106
  }
107
- function pe(e, t) {
107
+ function de(e, t) {
108
108
  e.appendChild(t);
109
109
  }
110
- function Ur(e, t, r) {
111
- const n = ot(e);
110
+ function Nr(e, t, r) {
111
+ const n = it(e);
112
112
  if (!n.getElementById(t)) {
113
- const i = M("style");
114
- i.id = t, i.textContent = r, Qt(n, i);
113
+ const i = N("style");
114
+ i.id = t, i.textContent = r, Xt(n, i);
115
115
  }
116
116
  }
117
- function ot(e) {
117
+ function it(e) {
118
118
  if (!e)
119
119
  return document;
120
120
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -124,12 +124,12 @@ function ot(e) {
124
124
  t
125
125
  ) : e.ownerDocument;
126
126
  }
127
- function Gr(e) {
128
- const t = M("style");
129
- return t.textContent = "/* empty */", Qt(ot(e), t), t.sheet;
127
+ function Mr(e) {
128
+ const t = N("style");
129
+ return t.textContent = "/* empty */", Xt(it(e), t), t.sheet;
130
130
  }
131
- function Qt(e, t) {
132
- return pe(
131
+ function Xt(e, t) {
132
+ return de(
133
133
  /** @type {Document} */
134
134
  e.head || e,
135
135
  t
@@ -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 Fr(e, t) {
144
+ function Rr(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 M(e) {
148
+ function N(e) {
149
149
  return document.createElement(e);
150
150
  }
151
- function jr(e) {
151
+ function $r(e) {
152
152
  return document.createElementNS("http://www.w3.org/2000/svg", e);
153
153
  }
154
- function at(e) {
154
+ function st(e) {
155
155
  return document.createTextNode(e);
156
156
  }
157
- function kr() {
158
- return at(" ");
157
+ function Dr() {
158
+ return st(" ");
159
159
  }
160
- function Os() {
161
- return at("");
160
+ function Hs() {
161
+ return st("");
162
162
  }
163
- function pt(e, t, r, n) {
163
+ function ht(e, t, r, n) {
164
164
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
165
165
  }
166
- function Is(e) {
166
+ function Ps(e) {
167
167
  return function(t) {
168
168
  return t.stopPropagation(), e.call(this, t);
169
169
  };
@@ -171,45 +171,45 @@ function Is(e) {
171
171
  function k(e, t, r) {
172
172
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
173
173
  }
174
- function b(e, t, r) {
174
+ function y(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 Vr(e) {
178
+ function Ur(e) {
179
179
  return Array.from(e.childNodes);
180
180
  }
181
- function Xr(e, t) {
181
+ function Gr(e, t) {
182
182
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
183
183
  t);
184
184
  }
185
- function Cs(e, t) {
185
+ function Bs(e, t) {
186
186
  e.value = t ?? "";
187
187
  }
188
- function Ls(e, t, r, n) {
188
+ function As(e, t, r, n) {
189
189
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
190
190
  }
191
- let ye;
192
- function Wr() {
193
- if (ye === void 0) {
194
- ye = !1;
191
+ let be;
192
+ function Fr() {
193
+ if (be === void 0) {
194
+ be = !1;
195
195
  try {
196
196
  typeof window < "u" && window.parent && window.parent.document;
197
197
  } catch {
198
- ye = !0;
198
+ be = !0;
199
199
  }
200
200
  }
201
- return ye;
201
+ return be;
202
202
  }
203
- function Ms(e, t) {
203
+ function Os(e, t) {
204
204
  getComputedStyle(e).position === "static" && (e.style.position = "relative");
205
- const n = M("iframe");
205
+ const n = N("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 = Wr();
210
+ const i = Fr();
211
211
  let s;
212
- return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", s = pt(
212
+ return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", s = ht(
213
213
  window,
214
214
  "message",
215
215
  /** @param {MessageEvent} event */
@@ -217,18 +217,18 @@ function Ms(e, t) {
217
217
  a.source === n.contentWindow && t();
218
218
  }
219
219
  )) : (n.src = "about:blank", n.onload = () => {
220
- s = pt(n.contentWindow, "resize", t), t();
221
- }), pe(e, n), () => {
220
+ s = ht(n.contentWindow, "resize", t), t();
221
+ }), de(e, n), () => {
222
222
  (i || s && n.contentWindow) && s(), R(n);
223
223
  };
224
224
  }
225
- function Ns(e, t, r) {
225
+ function Is(e, t, r) {
226
226
  e.classList.toggle(t, !!r);
227
227
  }
228
- function zr(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
228
+ function jr(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
229
229
  return new CustomEvent(e, { detail: t, bubbles: r, cancelable: n });
230
230
  }
231
- class Rs {
231
+ class Cs {
232
232
  /**
233
233
  * @private
234
234
  * @default false
@@ -259,10 +259,10 @@ class Rs {
259
259
  * @returns {void}
260
260
  */
261
261
  m(t, r, n = null) {
262
- this.e || (this.is_svg ? this.e = jr(
262
+ this.e || (this.is_svg ? this.e = $r(
263
263
  /** @type {keyof SVGElementTagNameMap} */
264
264
  r.nodeName
265
- ) : this.e = M(
265
+ ) : this.e = N(
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 Rs {
298
298
  this.n.forEach(R);
299
299
  }
300
300
  }
301
- function Zr(e) {
301
+ function kr(e) {
302
302
  const t = {};
303
303
  return e.childNodes.forEach(
304
304
  /** @param {Element} node */
@@ -307,19 +307,19 @@ function Zr(e) {
307
307
  }
308
308
  ), t;
309
309
  }
310
- const Te = /* @__PURE__ */ new Map();
311
- let He = 0;
312
- function Qr(e) {
310
+ const Se = /* @__PURE__ */ new Map();
311
+ let Te = 0;
312
+ function Vr(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 qr(e, t) {
319
- const r = { stylesheet: Gr(t), rules: {} };
320
- return Te.set(e, r), r;
318
+ function Xr(e, t) {
319
+ const r = { stylesheet: Mr(t), rules: {} };
320
+ return Se.set(e, r), r;
321
321
  }
322
- function mt(e, t, r, n, i, s, a, o = 0) {
322
+ function ct(e, t, r, n, i, s, a, o = 0) {
323
323
  const l = 16.666 / n;
324
324
  let u = `{
325
325
  `;
@@ -329,107 +329,107 @@ function mt(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_${Qr(h)}_${o}`, c = ot(e), { stylesheet: p, rules: d } = Te.get(c) || qr(c, e);
332
+ }`, f = `__svelte_${Vr(h)}_${o}`, c = it(e), { stylesheet: p, rules: d } = Se.get(c) || Xr(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
- return e.style.animation = `${m ? `${m}, ` : ""}${f} ${n}ms linear ${i}ms 1 both`, He += 1, f;
335
+ return e.style.animation = `${m ? `${m}, ` : ""}${f} ${n}ms linear ${i}ms 1 both`, Te += 1, f;
336
336
  }
337
- function Jr(e, t) {
337
+ function Wr(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 || Yr());
342
+ i && (e.style.animation = n.join(", "), Te -= i, Te || zr());
343
343
  }
344
- function Yr() {
345
- st(() => {
346
- He || (Te.forEach((e) => {
344
+ function zr() {
345
+ nt(() => {
346
+ Te || (Se.forEach((e) => {
347
347
  const { ownerNode: t } = e.stylesheet;
348
348
  t && R(t);
349
- }), Te.clear());
349
+ }), Se.clear());
350
350
  });
351
351
  }
352
- let he;
353
- function le(e) {
354
- he = e;
352
+ let le;
353
+ function ue(e) {
354
+ le = e;
355
355
  }
356
- function ut() {
357
- if (!he)
356
+ function ot() {
357
+ if (!le)
358
358
  throw new Error("Function called outside component initialization");
359
- return he;
359
+ return le;
360
360
  }
361
- function $s(e) {
362
- ut().$$.before_update.push(e);
361
+ function Ls(e) {
362
+ ot().$$.before_update.push(e);
363
363
  }
364
- function Kr(e) {
365
- ut().$$.on_mount.push(e);
364
+ function Zr(e) {
365
+ ot().$$.on_mount.push(e);
366
366
  }
367
- function Ds(e) {
368
- ut().$$.on_destroy.push(e);
367
+ function Ns(e) {
368
+ ot().$$.on_destroy.push(e);
369
369
  }
370
- const q = [], Ve = [];
371
- let Y = [];
372
- const bt = [], qt = /* @__PURE__ */ Promise.resolve();
373
- let Xe = !1;
374
- function Jt() {
375
- Xe || (Xe = !0, qt.then($));
370
+ const Q = [], je = [];
371
+ let J = [];
372
+ const ft = [], Wt = /* @__PURE__ */ Promise.resolve();
373
+ let ke = !1;
374
+ function zt() {
375
+ ke || (ke = !0, Wt.then($));
376
376
  }
377
- function Us() {
378
- return Jt(), qt;
377
+ function Ms() {
378
+ return zt(), Wt;
379
379
  }
380
- function Be(e) {
381
- Y.push(e);
380
+ function He(e) {
381
+ J.push(e);
382
382
  }
383
383
  const Ne = /* @__PURE__ */ new Set();
384
- let Z = 0;
384
+ let z = 0;
385
385
  function $() {
386
- if (Z !== 0)
386
+ if (z !== 0)
387
387
  return;
388
- const e = he;
388
+ const e = le;
389
389
  do {
390
390
  try {
391
- for (; Z < q.length; ) {
392
- const t = q[Z];
393
- Z++, le(t), en(t.$$);
391
+ for (; z < Q.length; ) {
392
+ const t = Q[z];
393
+ z++, ue(t), Qr(t.$$);
394
394
  }
395
395
  } catch (t) {
396
- throw q.length = 0, Z = 0, t;
396
+ throw Q.length = 0, z = 0, t;
397
397
  }
398
- for (le(null), q.length = 0, Z = 0; Ve.length; )
399
- Ve.pop()();
400
- for (let t = 0; t < Y.length; t += 1) {
401
- const r = Y[t];
398
+ for (ue(null), Q.length = 0, z = 0; je.length; )
399
+ je.pop()();
400
+ for (let t = 0; t < J.length; t += 1) {
401
+ const r = J[t];
402
402
  Ne.has(r) || (Ne.add(r), r());
403
403
  }
404
- Y.length = 0;
405
- } while (q.length);
406
- for (; bt.length; )
407
- bt.pop()();
408
- Xe = !1, Ne.clear(), le(e);
404
+ J.length = 0;
405
+ } while (Q.length);
406
+ for (; ft.length; )
407
+ ft.pop()();
408
+ ke = !1, Ne.clear(), ue(e);
409
409
  }
410
- function en(e) {
410
+ function Qr(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(Be);
414
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(He);
415
415
  }
416
416
  }
417
- function tn(e) {
417
+ function qr(e) {
418
418
  const t = [], r = [];
419
- Y.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Y = t;
419
+ J.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), J = t;
420
420
  }
421
- let ae;
422
- function rn() {
423
- return ae || (ae = Promise.resolve(), ae.then(() => {
424
- ae = null;
425
- })), ae;
421
+ let oe;
422
+ function Jr() {
423
+ return oe || (oe = Promise.resolve(), oe.then(() => {
424
+ oe = null;
425
+ })), oe;
426
426
  }
427
- function Re(e, t, r) {
428
- e.dispatchEvent(zr(`${t ? "intro" : "outro"}${r}`));
427
+ function Me(e, t, r) {
428
+ e.dispatchEvent(jr(`${t ? "intro" : "outro"}${r}`));
429
429
  }
430
430
  const ve = /* @__PURE__ */ new Set();
431
431
  let D;
432
- function Gs() {
432
+ function Rs() {
433
433
  D = {
434
434
  r: 0,
435
435
  c: [],
@@ -437,13 +437,13 @@ function Gs() {
437
437
  // parent group
438
438
  };
439
439
  }
440
- function Fs() {
440
+ function $s() {
441
441
  D.r || V(D.c), D = D.p;
442
442
  }
443
- function Yt(e, t) {
443
+ function Zt(e, t) {
444
444
  e && e.i && (ve.delete(e), e.i(t));
445
445
  }
446
- function js(e, t, r, n) {
446
+ function Ds(e, t, r, n) {
447
447
  if (e && e.o) {
448
448
  if (ve.has(e))
449
449
  return;
@@ -453,11 +453,11 @@ function js(e, t, r, n) {
453
453
  } else
454
454
  n && n();
455
455
  }
456
- const nn = { duration: 0 };
457
- function ks(e, t, r, n) {
456
+ const Yr = { duration: 0 };
457
+ function Us(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 && Jr(e, u);
460
+ u && Wr(e, u);
461
461
  }
462
462
  function c(d, m) {
463
463
  const E = (
@@ -478,16 +478,16 @@ function ks(e, t, r, n) {
478
478
  const {
479
479
  delay: m = 0,
480
480
  duration: E = 300,
481
- easing: T = Lr,
481
+ easing: T = Br,
482
482
  tick: H = A,
483
483
  css: S
484
- } = s || nn, O = {
485
- start: $r() + m,
484
+ } = s || Yr, O = {
485
+ start: Cr() + 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 = mt(e, a, d, E, m, T, S)), d && H(0, 1), o = c(O, E), Be(() => Re(e, d, "start")), Dr((B) => {
490
- if (l && B > l.start && (o = c(l, E), l = null, Re(e, o.b, "start"), S && (f(), u = mt(
489
+ e.inert, e.inert = !0)), o || l ? l = O : (S && (f(), u = ct(e, a, d, E, m, T, S)), d && H(0, 1), o = c(O, E), He(() => Me(e, d, "start")), Lr((P) => {
490
+ if (l && P > l.start && (o = c(l, E), l = null, Me(e, o.b, "start"), S && (f(), u = ct(
491
491
  e,
492
492
  a,
493
493
  o.b,
@@ -496,10 +496,10 @@ function ks(e, t, r, n) {
496
496
  T,
497
497
  s.css
498
498
  ))), o) {
499
- if (B >= o.end)
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 (B >= o.start) {
502
- const C = B - o.start;
499
+ if (P >= o.end)
500
+ H(a = o.b, 1 - a), Me(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
503
  a = o.a + o.d * T(C / o.duration), H(a, 1 - a);
504
504
  }
505
505
  }
@@ -508,7 +508,7 @@ function ks(e, t, r, n) {
508
508
  }
509
509
  return {
510
510
  run(d) {
511
- de(s) ? rn().then(() => {
511
+ fe(s) ? Jr().then(() => {
512
512
  s = s({ direction: d ? "in" : "out" }), p(d);
513
513
  }) : p(d);
514
514
  },
@@ -517,30 +517,30 @@ function ks(e, t, r, n) {
517
517
  }
518
518
  };
519
519
  }
520
- function yt(e) {
520
+ function dt(e) {
521
521
  return e?.length !== void 0 ? e : Array.from(e);
522
522
  }
523
- function Vs(e, t) {
523
+ function Gs(e, t) {
524
524
  e.d(1), t.delete(e.key);
525
525
  }
526
- function Xs(e, t, r, n, i, s, a, o, l, u, h, f) {
526
+ function Fs(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), I = r(w);
534
+ let L = a.get(I);
535
+ L ? S.push(() => L.p(w, t)) : (L = u(I, w), L.c()), T.set(I, E[d] = L), I in m && H.set(I, Math.abs(d - m[I]));
536
536
  }
537
- const O = /* @__PURE__ */ new Set(), B = /* @__PURE__ */ new Set();
537
+ const O = /* @__PURE__ */ new Set(), P = /* @__PURE__ */ new Set();
538
538
  function C(w) {
539
- Yt(w, 1), w.m(o, h), a.set(w.key, w), h = w.first, p--;
539
+ Zt(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) : B.has(z) ? c-- : H.get(I) > H.get(z) ? (B.add(I), C(w)) : (O.add(z), c--) : (l(L, a), c--);
542
+ const w = E[p - 1], I = e[c - 1], L = w.key, b = I.key;
543
+ w === I ? (h = w.first, c--, p--) : T.has(b) ? !a.has(L) || O.has(L) ? C(w) : P.has(b) ? c-- : H.get(L) > H.get(b) ? (P.add(L), C(w)) : (O.add(b), c--) : (l(I, a), c--);
544
544
  }
545
545
  for (; c--; ) {
546
546
  const w = e[c];
@@ -550,23 +550,23 @@ function Xs(e, t, r, n, i, s, a, o, l, u, h, f) {
550
550
  C(E[p - 1]);
551
551
  return V(S), E;
552
552
  }
553
- function sn(e, t, r) {
553
+ function Kr(e, t, r) {
554
554
  const { fragment: n, after_update: i } = e.$$;
555
- n && n.m(t, r), Be(() => {
556
- const s = e.$$.on_mount.map(kt).filter(de);
555
+ n && n.m(t, r), He(() => {
556
+ const s = e.$$.on_mount.map(Ut).filter(fe);
557
557
  e.$$.on_destroy ? e.$$.on_destroy.push(...s) : V(s), e.$$.on_mount = [];
558
- }), i.forEach(Be);
558
+ }), i.forEach(He);
559
559
  }
560
- function on(e, t) {
560
+ function en(e, t) {
561
561
  const r = e.$$;
562
- r.fragment !== null && (tn(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 && (qr(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 an(e, t) {
565
- e.$$.dirty[0] === -1 && (q.push(e), Jt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
564
+ function tn(e, t) {
565
+ e.$$.dirty[0] === -1 && (Q.push(e), zt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
566
566
  }
567
- function un(e, t, r, n, i, s, a = null, o = [-1]) {
568
- const l = he;
569
- le(e);
567
+ function rn(e, t, r, n, i, s, a = null, o = [-1]) {
568
+ const l = le;
569
+ ue(e);
570
570
  const u = e.$$ = {
571
571
  fragment: null,
572
572
  ctx: [],
@@ -574,7 +574,7 @@ function un(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: dt(),
577
+ bound: lt(),
578
578
  // lifecycle
579
579
  on_mount: [],
580
580
  on_destroy: [],
@@ -583,7 +583,7 @@ function un(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: dt(),
586
+ callbacks: lt(),
587
587
  dirty: o,
588
588
  skip_bound: !1,
589
589
  root: t.target || l.$$.root
@@ -592,19 +592,19 @@ function un(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 && an(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 && tn(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 = Vr(t.target);
598
+ const f = Ur(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 && Yt(e.$$.fragment), sn(e, t.target, t.anchor), $();
602
+ t.intro && Zt(e.$$.fragment), Kr(e, t.target, t.anchor), $();
603
603
  }
604
- le(l);
604
+ ue(l);
605
605
  }
606
- let Kt;
607
- typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
606
+ let Qt;
607
+ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
608
608
  /** The Svelte component constructor */
609
609
  $$ctor;
610
610
  /** Slots */
@@ -646,7 +646,7 @@ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
646
646
  let s;
647
647
  return {
648
648
  c: function() {
649
- s = M("slot"), i !== "default" && k(s, "name", i);
649
+ s = N("slot"), i !== "default" && k(s, "name", i);
650
650
  },
651
651
  /**
652
652
  * @param {HTMLElement} target
@@ -663,12 +663,12 @@ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
663
663
  };
664
664
  if (await Promise.resolve(), !this.$$cn || this.$$c)
665
665
  return;
666
- const t = {}, r = Zr(this);
666
+ const t = {}, r = kr(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) {
670
670
  const s = this.$$g_p(i.name);
671
- s in this.$$d || (this.$$d[s] = Ee(s, i.value, this.$$p_d, "toProp"));
671
+ s in this.$$d || (this.$$d[s] = _e(s, i.value, this.$$p_d, "toProp"));
672
672
  }
673
673
  for (const i in this.$$p_d)
674
674
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -686,7 +686,7 @@ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
686
686
  this.$$r = !0;
687
687
  for (const i in this.$$p_d)
688
688
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
689
- const s = Ee(
689
+ const s = _e(
690
690
  i,
691
691
  this.$$d[i],
692
692
  this.$$p_d,
@@ -708,7 +708,7 @@ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
708
708
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
709
709
  // and setting attributes through setAttribute etc, this is helpful
710
710
  attributeChangedCallback(e, t, r) {
711
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = Ee(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
711
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = _e(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
712
712
  }
713
713
  disconnectedCallback() {
714
714
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -721,7 +721,7 @@ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
721
721
  ) || e;
722
722
  }
723
723
  });
724
- function Ee(e, t, r, n) {
724
+ function _e(e, t, r, n) {
725
725
  const i = r[e]?.type;
726
726
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
727
727
  return t;
@@ -750,8 +750,8 @@ function Ee(e, t, r, n) {
750
750
  return t;
751
751
  }
752
752
  }
753
- function ln(e, t, r, n, i, s) {
754
- let a = class extends Kt {
753
+ function nn(e, t, r, n, i, s) {
754
+ let a = class extends Qt {
755
755
  constructor() {
756
756
  super(e, r, i), this.$$p_d = t;
757
757
  }
@@ -767,7 +767,7 @@ function ln(e, t, r, n, i, s) {
767
767
  return this.$$c && o in this.$$c ? this.$$c[o] : this.$$d[o];
768
768
  },
769
769
  set(l) {
770
- l = Ee(o, l, t), this.$$d[o] = l, this.$$c?.$set({ [o]: l });
770
+ l = _e(o, l, t), this.$$d[o] = l, this.$$c?.$set({ [o]: l });
771
771
  }
772
772
  });
773
773
  }), n.forEach((o) => {
@@ -779,7 +779,7 @@ function ln(e, t, r, n, i, s) {
779
779
  }), e.element = /** @type {any} */
780
780
  a, a;
781
781
  }
782
- class hn {
782
+ class sn {
783
783
  /**
784
784
  * ### PRIVATE API
785
785
  *
@@ -798,7 +798,7 @@ class hn {
798
798
  $$set = void 0;
799
799
  /** @returns {void} */
800
800
  $destroy() {
801
- on(this, 1), this.$destroy = A;
801
+ en(this, 1), this.$destroy = A;
802
802
  }
803
803
  /**
804
804
  * @template {Extract<keyof Events, string>} K
@@ -807,7 +807,7 @@ class hn {
807
807
  * @returns {() => void}
808
808
  */
809
809
  $on(t, r) {
810
- if (!de(r))
810
+ if (!fe(r))
811
811
  return A;
812
812
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
813
813
  return n.push(r), () => {
@@ -820,11 +820,11 @@ class hn {
820
820
  * @returns {void}
821
821
  */
822
822
  $set(t) {
823
- this.$$set && !Nr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
823
+ this.$$set && !Or(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
824
824
  }
825
825
  }
826
- const cn = "4";
827
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(cn);
826
+ const on = "4";
827
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(on);
828
828
  /*! *****************************************************************************
829
829
  Copyright (c) Microsoft Corporation.
830
830
 
@@ -839,34 +839,34 @@ 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 We = function(e, t) {
843
- return We = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
842
+ var Ve = function(e, t) {
843
+ return Ve = 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
- }, We(e, t);
848
+ }, Ve(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
- We(e, t);
853
+ Ve(e, t);
854
854
  function r() {
855
855
  this.constructor = e;
856
856
  }
857
857
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
858
858
  }
859
- var v = function() {
860
- return v = Object.assign || function(t) {
859
+ var _ = function() {
860
+ return _ = Object.assign || function(t) {
861
861
  for (var r, n = 1, i = arguments.length; n < i; n++) {
862
862
  r = arguments[n];
863
863
  for (var s in r)
864
864
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
865
865
  }
866
866
  return t;
867
- }, v.apply(this, arguments);
867
+ }, _.apply(this, arguments);
868
868
  };
869
- function fn(e, t) {
869
+ function an(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 fn(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 ze(e) {
878
+ function Xe(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 ze(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 We(e, t) {
891
891
  var r = typeof Symbol == "function" && e[Symbol.iterator];
892
892
  if (!r)
893
893
  return e;
@@ -907,7 +907,7 @@ function Ze(e, t) {
907
907
  }
908
908
  return s;
909
909
  }
910
- function K(e, t, r) {
910
+ function Y(e, t, r) {
911
911
  if (r || arguments.length === 2)
912
912
  for (var n = 0, i = t.length, s; n < i; n++)
913
913
  (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
@@ -916,13 +916,13 @@ function K(e, t, r) {
916
916
  function U(e) {
917
917
  return typeof e == "function";
918
918
  }
919
- function er(e) {
919
+ function qt(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 = er(function(e) {
925
+ var Re = qt(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,13 +931,13 @@ var $e = er(function(e) {
931
931
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
932
932
  };
933
933
  });
934
- function Qe(e, t) {
934
+ function ze(e, t) {
935
935
  if (e) {
936
936
  var r = e.indexOf(t);
937
937
  0 <= r && e.splice(r, 1);
938
938
  }
939
939
  }
940
- var Oe = function() {
940
+ var Ae = function() {
941
941
  function e(t) {
942
942
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
943
943
  }
@@ -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 = ze(a), l = o.next(); !l.done; l = o.next()) {
952
+ for (var o = Xe(a), l = o.next(); !l.done; l = o.next()) {
953
953
  var u = l.value;
954
954
  u.remove(this);
955
955
  }
@@ -970,18 +970,18 @@ var Oe = function() {
970
970
  try {
971
971
  h();
972
972
  } catch (m) {
973
- s = m instanceof $e ? m.errors : [m];
973
+ s = m instanceof Re ? m.errors : [m];
974
974
  }
975
975
  var f = this._finalizers;
976
976
  if (f) {
977
977
  this._finalizers = null;
978
978
  try {
979
- for (var c = ze(f), p = c.next(); !p.done; p = c.next()) {
979
+ for (var c = Xe(f), p = c.next(); !p.done; p = c.next()) {
980
980
  var d = p.value;
981
981
  try {
982
- gt(d);
982
+ pt(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 Re ? s = Y(Y([], We(s)), We(m.errors)) : s.push(m);
985
985
  }
986
986
  }
987
987
  } catch (m) {
@@ -996,13 +996,13 @@ var Oe = function() {
996
996
  }
997
997
  }
998
998
  if (s)
999
- throw new $e(s);
999
+ throw new Re(s);
1000
1000
  }
1001
1001
  }, e.prototype.add = function(t) {
1002
1002
  var r;
1003
1003
  if (t && t !== this)
1004
1004
  if (this.closed)
1005
- gt(t);
1005
+ pt(t);
1006
1006
  else {
1007
1007
  if (t instanceof e) {
1008
1008
  if (t.closed || t._hasParent(this))
@@ -1019,56 +1019,52 @@ 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) && Qe(r, t);
1022
+ r === t ? this._parentage = null : Array.isArray(r) && ze(r, t);
1023
1023
  }, e.prototype.remove = function(t) {
1024
1024
  var r = this._finalizers;
1025
- r && Qe(r, t), t instanceof e && t._removeParent(this);
1025
+ r && ze(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
- }(), tr = Oe.EMPTY;
1031
- function rr(e) {
1032
- return e instanceof Oe || e && "closed" in e && U(e.remove) && U(e.add) && U(e.unsubscribe);
1030
+ }(), Jt = Ae.EMPTY;
1031
+ function Yt(e) {
1032
+ return e instanceof Ae || e && "closed" in e && U(e.remove) && U(e.add) && U(e.unsubscribe);
1033
1033
  }
1034
- function gt(e) {
1034
+ function pt(e) {
1035
1035
  U(e) ? e() : e.unsubscribe();
1036
1036
  }
1037
- var nr = {
1038
- onUnhandledError: null,
1039
- onStoppedNotification: null,
1040
- Promise: void 0,
1041
- useDeprecatedSynchronousErrorHandling: !1,
1042
- useDeprecatedNextContext: !1
1043
- }, dn = {
1037
+ var un = {
1038
+ Promise: void 0
1039
+ }, ln = {
1044
1040
  setTimeout: function(e, t) {
1045
1041
  for (var r = [], n = 2; n < arguments.length; n++)
1046
1042
  r[n - 2] = arguments[n];
1047
- return setTimeout.apply(void 0, K([e, t], Ze(r)));
1043
+ return setTimeout.apply(void 0, Y([e, t], We(r)));
1048
1044
  },
1049
1045
  clearTimeout: function(e) {
1050
1046
  return clearTimeout(e);
1051
1047
  },
1052
1048
  delegate: void 0
1053
1049
  };
1054
- function pn(e) {
1055
- dn.setTimeout(function() {
1050
+ function hn(e) {
1051
+ ln.setTimeout(function() {
1056
1052
  throw e;
1057
1053
  });
1058
1054
  }
1059
- function _t() {
1055
+ function mt() {
1060
1056
  }
1061
- function xe(e) {
1057
+ function Ee(e) {
1062
1058
  e();
1063
1059
  }
1064
- var ir = function(e) {
1060
+ var Kt = function(e) {
1065
1061
  G(t, e);
1066
1062
  function t(r) {
1067
1063
  var n = e.call(this) || this;
1068
- return n.isStopped = !1, r ? (n.destination = r, rr(r) && r.add(n)) : n.destination = gn, n;
1064
+ return n.isStopped = !1, r ? (n.destination = r, Yt(r) && r.add(n)) : n.destination = dn, n;
1069
1065
  }
1070
1066
  return t.create = function(r, n, i) {
1071
- return new qe(r, n, i);
1067
+ return new Ze(r, n, i);
1072
1068
  }, t.prototype.next = function(r) {
1073
1069
  this.isStopped || this._next(r);
1074
1070
  }, t.prototype.error = function(r) {
@@ -1092,11 +1088,7 @@ var ir = function(e) {
1092
1088
  this.unsubscribe();
1093
1089
  }
1094
1090
  }, t;
1095
- }(Oe), mn = Function.prototype.bind;
1096
- function De(e, t) {
1097
- return mn.call(e, t);
1098
- }
1099
- var bn = function() {
1091
+ }(Ae), cn = function() {
1100
1092
  function e(t) {
1101
1093
  this.partialObserver = t;
1102
1094
  }
@@ -1106,7 +1098,7 @@ var bn = function() {
1106
1098
  try {
1107
1099
  r.next(t);
1108
1100
  } catch (n) {
1109
- ge(n);
1101
+ ye(n);
1110
1102
  }
1111
1103
  }, e.prototype.error = function(t) {
1112
1104
  var r = this.partialObserver;
@@ -1114,68 +1106,56 @@ var bn = function() {
1114
1106
  try {
1115
1107
  r.error(t);
1116
1108
  } catch (n) {
1117
- ge(n);
1109
+ ye(n);
1118
1110
  }
1119
1111
  else
1120
- ge(t);
1112
+ ye(t);
1121
1113
  }, e.prototype.complete = function() {
1122
1114
  var t = this.partialObserver;
1123
1115
  if (t.complete)
1124
1116
  try {
1125
1117
  t.complete();
1126
1118
  } catch (r) {
1127
- ge(r);
1119
+ ye(r);
1128
1120
  }
1129
1121
  }, e;
1130
- }(), qe = function(e) {
1122
+ }(), Ze = function(e) {
1131
1123
  G(t, e);
1132
1124
  function t(r, n, i) {
1133
1125
  var s = e.call(this) || this, a;
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 bn(a), s;
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 cn(a), s;
1151
1131
  }
1152
1132
  return t;
1153
- }(ir);
1154
- function ge(e) {
1155
- pn(e);
1133
+ }(Kt);
1134
+ function ye(e) {
1135
+ hn(e);
1156
1136
  }
1157
- function yn(e) {
1137
+ function fn(e) {
1158
1138
  throw e;
1159
1139
  }
1160
- var gn = {
1140
+ var dn = {
1161
1141
  closed: !0,
1162
- next: _t,
1163
- error: yn,
1164
- complete: _t
1165
- }, _n = function() {
1142
+ next: mt,
1143
+ error: fn,
1144
+ complete: mt
1145
+ }, pn = function() {
1166
1146
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
1167
1147
  }();
1168
- function vn(e) {
1148
+ function mn(e) {
1169
1149
  return e;
1170
1150
  }
1171
- function En(e) {
1172
- return e.length === 0 ? vn : e.length === 1 ? e[0] : function(r) {
1151
+ function bn(e) {
1152
+ return e.length === 0 ? mn : e.length === 1 ? e[0] : function(r) {
1173
1153
  return e.reduce(function(n, i) {
1174
1154
  return i(n);
1175
1155
  }, r);
1176
1156
  };
1177
1157
  }
1178
- var vt = function() {
1158
+ var bt = function() {
1179
1159
  function e(t) {
1180
1160
  t && (this._subscribe = t);
1181
1161
  }
@@ -1183,8 +1163,8 @@ var vt = function() {
1183
1163
  var r = new e();
1184
1164
  return r.source = this, r.operator = t, r;
1185
1165
  }, e.prototype.subscribe = function(t, r, n) {
1186
- var i = this, s = wn(t) ? t : new qe(t, r, n);
1187
- return xe(function() {
1166
+ var i = this, s = gn(t) ? t : new Ze(t, r, n);
1167
+ return Ee(function() {
1188
1168
  var a = i, o = a.operator, l = a.source;
1189
1169
  s.add(o ? o.call(s, l) : l ? i._subscribe(s) : i._trySubscribe(s));
1190
1170
  }), s;
@@ -1196,8 +1176,8 @@ var vt = function() {
1196
1176
  }
1197
1177
  }, e.prototype.forEach = function(t, r) {
1198
1178
  var n = this;
1199
- return r = Et(r), new r(function(i, s) {
1200
- var a = new qe({
1179
+ return r = yt(r), new r(function(i, s) {
1180
+ var a = new Ze({
1201
1181
  next: function(o) {
1202
1182
  try {
1203
1183
  t(o);
@@ -1213,15 +1193,15 @@ var vt = function() {
1213
1193
  }, e.prototype._subscribe = function(t) {
1214
1194
  var r;
1215
1195
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
1216
- }, e.prototype[_n] = function() {
1196
+ }, e.prototype[pn] = function() {
1217
1197
  return this;
1218
1198
  }, e.prototype.pipe = function() {
1219
1199
  for (var t = [], r = 0; r < arguments.length; r++)
1220
1200
  t[r] = arguments[r];
1221
- return En(t)(this);
1201
+ return bn(t)(this);
1222
1202
  }, e.prototype.toPromise = function(t) {
1223
1203
  var r = this;
1224
- return t = Et(t), new t(function(n, i) {
1204
+ return t = yt(t), new t(function(n, i) {
1225
1205
  var s;
1226
1206
  r.subscribe(function(a) {
1227
1207
  return s = a;
@@ -1235,40 +1215,40 @@ var vt = function() {
1235
1215
  return new e(t);
1236
1216
  }, e;
1237
1217
  }();
1238
- function Et(e) {
1218
+ function yt(e) {
1239
1219
  var t;
1240
- return (t = e ?? nr.Promise) !== null && t !== void 0 ? t : Promise;
1220
+ return (t = e ?? un.Promise) !== null && t !== void 0 ? t : Promise;
1241
1221
  }
1242
- function xn(e) {
1222
+ function yn(e) {
1243
1223
  return e && U(e.next) && U(e.error) && U(e.complete);
1244
1224
  }
1245
- function wn(e) {
1246
- return e && e instanceof ir || xn(e) && rr(e);
1225
+ function gn(e) {
1226
+ return e && e instanceof Kt || yn(e) && Yt(e);
1247
1227
  }
1248
- var Sn = er(function(e) {
1228
+ var vn = qt(function(e) {
1249
1229
  return function() {
1250
1230
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
1251
1231
  };
1252
- }), sr = function(e) {
1232
+ }), er = function(e) {
1253
1233
  G(t, e);
1254
1234
  function t() {
1255
1235
  var r = e.call(this) || this;
1256
1236
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
1257
1237
  }
1258
1238
  return t.prototype.lift = function(r) {
1259
- var n = new xt(this, this);
1239
+ var n = new gt(this, this);
1260
1240
  return n.operator = r, n;
1261
1241
  }, t.prototype._throwIfClosed = function() {
1262
1242
  if (this.closed)
1263
- throw new Sn();
1243
+ throw new vn();
1264
1244
  }, t.prototype.next = function(r) {
1265
1245
  var n = this;
1266
- xe(function() {
1246
+ Ee(function() {
1267
1247
  var i, s;
1268
1248
  if (n._throwIfClosed(), !n.isStopped) {
1269
1249
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
1270
1250
  try {
1271
- for (var a = ze(n.currentObservers), o = a.next(); !o.done; o = a.next()) {
1251
+ for (var a = Xe(n.currentObservers), o = a.next(); !o.done; o = a.next()) {
1272
1252
  var l = o.value;
1273
1253
  l.next(r);
1274
1254
  }
@@ -1286,7 +1266,7 @@ var Sn = er(function(e) {
1286
1266
  });
1287
1267
  }, t.prototype.error = function(r) {
1288
1268
  var n = this;
1289
- xe(function() {
1269
+ Ee(function() {
1290
1270
  if (n._throwIfClosed(), !n.isStopped) {
1291
1271
  n.hasError = n.isStopped = !0, n.thrownError = r;
1292
1272
  for (var i = n.observers; i.length; )
@@ -1295,7 +1275,7 @@ var Sn = er(function(e) {
1295
1275
  });
1296
1276
  }, t.prototype.complete = function() {
1297
1277
  var r = this;
1298
- xe(function() {
1278
+ Ee(function() {
1299
1279
  if (r._throwIfClosed(), !r.isStopped) {
1300
1280
  r.isStopped = !0;
1301
1281
  for (var n = r.observers; n.length; )
@@ -1317,19 +1297,19 @@ var Sn = er(function(e) {
1317
1297
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1318
1298
  }, t.prototype._innerSubscribe = function(r) {
1319
1299
  var n = this, i = this, s = i.hasError, a = i.isStopped, o = i.observers;
1320
- return s || a ? tr : (this.currentObservers = null, o.push(r), new Oe(function() {
1321
- n.currentObservers = null, Qe(o, r);
1300
+ return s || a ? Jt : (this.currentObservers = null, o.push(r), new Ae(function() {
1301
+ n.currentObservers = null, ze(o, r);
1322
1302
  }));
1323
1303
  }, t.prototype._checkFinalizedStatuses = function(r) {
1324
1304
  var n = this, i = n.hasError, s = n.thrownError, a = n.isStopped;
1325
1305
  i ? r.error(s) : a && r.complete();
1326
1306
  }, t.prototype.asObservable = function() {
1327
- var r = new vt();
1307
+ var r = new bt();
1328
1308
  return r.source = this, r;
1329
1309
  }, t.create = function(r, n) {
1330
- return new xt(r, n);
1310
+ return new gt(r, n);
1331
1311
  }, t;
1332
- }(vt), xt = function(e) {
1312
+ }(bt), gt = function(e) {
1333
1313
  G(t, e);
1334
1314
  function t(r, n) {
1335
1315
  var i = e.call(this) || this;
@@ -1346,17 +1326,17 @@ var Sn = er(function(e) {
1346
1326
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1347
1327
  }, t.prototype._subscribe = function(r) {
1348
1328
  var n, i;
1349
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : tr;
1329
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Jt;
1350
1330
  }, t;
1351
- }(sr), or = {
1331
+ }(er), tr = {
1352
1332
  now: function() {
1353
- return (or.delegate || Date).now();
1333
+ return (tr.delegate || Date).now();
1354
1334
  },
1355
1335
  delegate: void 0
1356
- }, Tn = function(e) {
1336
+ }, _n = function(e) {
1357
1337
  G(t, e);
1358
1338
  function t(r, n, i) {
1359
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = or);
1339
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = tr);
1360
1340
  var s = e.call(this) || this;
1361
1341
  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;
1362
1342
  }
@@ -1376,31 +1356,31 @@ var Sn = er(function(e) {
1376
1356
  u && s.splice(0, u + 1);
1377
1357
  }
1378
1358
  }, t;
1379
- }(sr);
1380
- const wt = [], St = {}, Hn = (e, t = 0) => {
1381
- if (wt.indexOf(e) == -1) {
1382
- const r = new Tn(t);
1383
- St[e] = r, wt.push(e);
1359
+ }(er);
1360
+ const vt = [], _t = {}, En = (e, t = 0) => {
1361
+ if (vt.indexOf(e) == -1) {
1362
+ const r = new _n(t);
1363
+ _t[e] = r, vt.push(e);
1384
1364
  }
1385
- return St[e];
1386
- }, Q = [];
1387
- function Bn(e, t) {
1365
+ return _t[e];
1366
+ }, Z = [];
1367
+ function xn(e, t) {
1388
1368
  return {
1389
- subscribe: Ie(e, t).subscribe
1369
+ subscribe: Oe(e, t).subscribe
1390
1370
  };
1391
1371
  }
1392
- function Ie(e, t = A) {
1372
+ function Oe(e, t = A) {
1393
1373
  let r;
1394
1374
  const n = /* @__PURE__ */ new Set();
1395
1375
  function i(o) {
1396
- if (Vt(e, o) && (e = o, r)) {
1397
- const l = !Q.length;
1376
+ if (Gt(e, o) && (e = o, r)) {
1377
+ const l = !Z.length;
1398
1378
  for (const u of n)
1399
- u[1](), Q.push(u, e);
1379
+ u[1](), Z.push(u, e);
1400
1380
  if (l) {
1401
- for (let u = 0; u < Q.length; u += 2)
1402
- Q[u][0](Q[u + 1]);
1403
- Q.length = 0;
1381
+ for (let u = 0; u < Z.length; u += 2)
1382
+ Z[u][0](Z[u + 1]);
1383
+ Z.length = 0;
1404
1384
  }
1405
1385
  }
1406
1386
  }
@@ -1415,12 +1395,12 @@ function Ie(e, t = A) {
1415
1395
  }
1416
1396
  return { set: i, update: s, subscribe: a };
1417
1397
  }
1418
- function ie(e, t, r) {
1398
+ function ne(e, t, r) {
1419
1399
  const n = !Array.isArray(e), i = n ? [e] : e;
1420
1400
  if (!i.every(Boolean))
1421
1401
  throw new Error("derived() expects stores as input, got a falsy value");
1422
1402
  const s = t.length < 2;
1423
- return Bn(r, (a, o) => {
1403
+ return xn(r, (a, o) => {
1424
1404
  let l = !1;
1425
1405
  const u = [];
1426
1406
  let h = 0, f = A;
@@ -1429,9 +1409,9 @@ function ie(e, t, r) {
1429
1409
  return;
1430
1410
  f();
1431
1411
  const d = t(n ? u[0] : u, a, o);
1432
- s ? a(d) : f = de(d) ? d : A;
1412
+ s ? a(d) : f = fe(d) ? d : A;
1433
1413
  }, p = i.map(
1434
- (d, m) => Xt(
1414
+ (d, m) => Ft(
1435
1415
  d,
1436
1416
  (E) => {
1437
1417
  u[m] = E, h &= ~(1 << m), l && c();
@@ -1446,130 +1426,128 @@ function ie(e, t, r) {
1446
1426
  };
1447
1427
  });
1448
1428
  }
1449
- function Pn(e) {
1429
+ function wn(e) {
1450
1430
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1451
1431
  }
1452
- var An = function(t) {
1453
- return On(t) && !In(t);
1432
+ var Sn = function(t) {
1433
+ return Tn(t) && !Hn(t);
1454
1434
  };
1455
- function On(e) {
1435
+ function Tn(e) {
1456
1436
  return !!e && typeof e == "object";
1457
1437
  }
1458
- function In(e) {
1438
+ function Hn(e) {
1459
1439
  var t = Object.prototype.toString.call(e);
1460
- return t === "[object RegExp]" || t === "[object Date]" || Mn(e);
1440
+ return t === "[object RegExp]" || t === "[object Date]" || An(e);
1461
1441
  }
1462
- var Cn = typeof Symbol == "function" && Symbol.for, Ln = Cn ? Symbol.for("react.element") : 60103;
1463
- function Mn(e) {
1464
- return e.$$typeof === Ln;
1442
+ var Pn = typeof Symbol == "function" && Symbol.for, Bn = Pn ? Symbol.for("react.element") : 60103;
1443
+ function An(e) {
1444
+ return e.$$typeof === Bn;
1465
1445
  }
1466
- function Nn(e) {
1446
+ function On(e) {
1467
1447
  return Array.isArray(e) ? [] : {};
1468
1448
  }
1469
- function ce(e, t) {
1470
- return t.clone !== !1 && t.isMergeableObject(e) ? ee(Nn(e), e, t) : e;
1449
+ function he(e, t) {
1450
+ return t.clone !== !1 && t.isMergeableObject(e) ? K(On(e), e, t) : e;
1471
1451
  }
1472
- function Rn(e, t, r) {
1452
+ function In(e, t, r) {
1473
1453
  return e.concat(t).map(function(n) {
1474
- return ce(n, r);
1454
+ return he(n, r);
1475
1455
  });
1476
1456
  }
1477
- function $n(e, t) {
1457
+ function Cn(e, t) {
1478
1458
  if (!t.customMerge)
1479
- return ee;
1459
+ return K;
1480
1460
  var r = t.customMerge(e);
1481
- return typeof r == "function" ? r : ee;
1461
+ return typeof r == "function" ? r : K;
1482
1462
  }
1483
- function Dn(e) {
1463
+ function Ln(e) {
1484
1464
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1485
1465
  return Object.propertyIsEnumerable.call(e, t);
1486
1466
  }) : [];
1487
1467
  }
1488
- function Tt(e) {
1489
- return Object.keys(e).concat(Dn(e));
1468
+ function Et(e) {
1469
+ return Object.keys(e).concat(Ln(e));
1490
1470
  }
1491
- function ar(e, t) {
1471
+ function rr(e, t) {
1492
1472
  try {
1493
1473
  return t in e;
1494
1474
  } catch {
1495
1475
  return !1;
1496
1476
  }
1497
1477
  }
1498
- function Un(e, t) {
1499
- return ar(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1478
+ function Nn(e, t) {
1479
+ return rr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1500
1480
  }
1501
- function Gn(e, t, r) {
1481
+ function Mn(e, t, r) {
1502
1482
  var n = {};
1503
- return r.isMergeableObject(e) && Tt(e).forEach(function(i) {
1504
- n[i] = ce(e[i], r);
1505
- }), Tt(t).forEach(function(i) {
1506
- Un(e, i) || (ar(e, i) && r.isMergeableObject(t[i]) ? n[i] = $n(i, r)(e[i], t[i], r) : n[i] = ce(t[i], r));
1483
+ return r.isMergeableObject(e) && Et(e).forEach(function(i) {
1484
+ n[i] = he(e[i], r);
1485
+ }), Et(t).forEach(function(i) {
1486
+ Nn(e, i) || (rr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Cn(i, r)(e[i], t[i], r) : n[i] = he(t[i], r));
1507
1487
  }), n;
1508
1488
  }
1509
- function ee(e, t, r) {
1510
- r = r || {}, r.arrayMerge = r.arrayMerge || Rn, r.isMergeableObject = r.isMergeableObject || An, r.cloneUnlessOtherwiseSpecified = ce;
1489
+ function K(e, t, r) {
1490
+ r = r || {}, r.arrayMerge = r.arrayMerge || In, r.isMergeableObject = r.isMergeableObject || Sn, r.cloneUnlessOtherwiseSpecified = he;
1511
1491
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
1512
- return s ? n ? r.arrayMerge(e, t, r) : Gn(e, t, r) : ce(t, r);
1492
+ return s ? n ? r.arrayMerge(e, t, r) : Mn(e, t, r) : he(t, r);
1513
1493
  }
1514
- ee.all = function(t, r) {
1494
+ K.all = function(t, r) {
1515
1495
  if (!Array.isArray(t))
1516
1496
  throw new Error("first argument should be an array");
1517
1497
  return t.reduce(function(n, i) {
1518
- return ee(n, i, r);
1498
+ return K(n, i, r);
1519
1499
  }, {});
1520
1500
  };
1521
- var Fn = ee, jn = Fn;
1522
- const kn = /* @__PURE__ */ Pn(jn);
1523
- function Ue(e, t) {
1524
- var r = t && t.cache ? t.cache : Qn, n = t && t.serializer ? t.serializer : Zn, i = t && t.strategy ? t.strategy : Xn;
1501
+ var Rn = K, $n = Rn;
1502
+ const Dn = /* @__PURE__ */ wn($n);
1503
+ function $e(e, t) {
1504
+ var r = t && t.cache ? t.cache : Xn, n = t && t.serializer ? t.serializer : kn, i = t && t.strategy ? t.strategy : Fn;
1525
1505
  return i(e, {
1526
1506
  cache: r,
1527
1507
  serializer: n
1528
1508
  });
1529
1509
  }
1530
- function Vn(e) {
1510
+ function Un(e) {
1531
1511
  return e == null || typeof e == "number" || typeof e == "boolean";
1532
1512
  }
1533
- function ur(e, t, r, n) {
1534
- var i = Vn(n) ? n : r(n), s = t.get(i);
1513
+ function Gn(e, t, r, n) {
1514
+ var i = Un(n) ? n : r(n), s = t.get(i);
1535
1515
  return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
1536
1516
  }
1537
- function lr(e, t, r) {
1517
+ function nr(e, t, r) {
1538
1518
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
1539
1519
  return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
1540
1520
  }
1541
- function lt(e, t, r, n, i) {
1521
+ function ir(e, t, r, n, i) {
1542
1522
  return r.bind(t, e, n, i);
1543
1523
  }
1544
- function Xn(e, t) {
1545
- var r = e.length === 1 ? ur : lr;
1546
- return lt(e, this, r, t.cache.create(), t.serializer);
1524
+ function Fn(e, t) {
1525
+ var r = e.length === 1 ? Gn : nr;
1526
+ return ir(e, this, r, t.cache.create(), t.serializer);
1547
1527
  }
1548
- function Wn(e, t) {
1549
- return lt(e, this, lr, t.cache.create(), t.serializer);
1528
+ function jn(e, t) {
1529
+ return ir(e, this, nr, t.cache.create(), t.serializer);
1550
1530
  }
1551
- function zn(e, t) {
1552
- return lt(e, this, ur, t.cache.create(), t.serializer);
1553
- }
1554
- var Zn = function() {
1531
+ var kn = function() {
1555
1532
  return JSON.stringify(arguments);
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 = {
1533
+ }, Vn = (
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
+ ), Xn = {
1567
1546
  create: function() {
1568
- return new ht();
1547
+ return new Vn();
1569
1548
  }
1570
- }, Ge = {
1571
- variadic: Wn,
1572
- monadic: zn
1549
+ }, De = {
1550
+ variadic: jn
1573
1551
  }, g;
1574
1552
  (function(e) {
1575
1553
  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";
@@ -1578,47 +1556,47 @@ var x;
1578
1556
  (function(e) {
1579
1557
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
1580
1558
  })(x || (x = {}));
1581
- var te;
1559
+ var ee;
1582
1560
  (function(e) {
1583
1561
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1584
- })(te || (te = {}));
1585
- function Ht(e) {
1562
+ })(ee || (ee = {}));
1563
+ function xt(e) {
1586
1564
  return e.type === x.literal;
1587
1565
  }
1588
- function qn(e) {
1566
+ function Wn(e) {
1589
1567
  return e.type === x.argument;
1590
1568
  }
1591
- function hr(e) {
1569
+ function sr(e) {
1592
1570
  return e.type === x.number;
1593
1571
  }
1594
- function cr(e) {
1572
+ function or(e) {
1595
1573
  return e.type === x.date;
1596
1574
  }
1597
- function fr(e) {
1575
+ function ar(e) {
1598
1576
  return e.type === x.time;
1599
1577
  }
1600
- function dr(e) {
1578
+ function ur(e) {
1601
1579
  return e.type === x.select;
1602
1580
  }
1603
- function pr(e) {
1581
+ function lr(e) {
1604
1582
  return e.type === x.plural;
1605
1583
  }
1606
- function Jn(e) {
1584
+ function zn(e) {
1607
1585
  return e.type === x.pound;
1608
1586
  }
1609
- function mr(e) {
1587
+ function hr(e) {
1610
1588
  return e.type === x.tag;
1611
1589
  }
1612
- function br(e) {
1613
- return !!(e && typeof e == "object" && e.type === te.number);
1590
+ function cr(e) {
1591
+ return !!(e && typeof e == "object" && e.type === ee.number);
1614
1592
  }
1615
- function Je(e) {
1616
- return !!(e && typeof e == "object" && e.type === te.dateTime);
1593
+ function Qe(e) {
1594
+ return !!(e && typeof e == "object" && e.type === ee.dateTime);
1617
1595
  }
1618
- var yr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Yn = /(?:[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 Kn(e) {
1596
+ var fr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Zn = /(?:[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) {
1620
1598
  var t = {};
1621
- return e.replace(Yn, function(r) {
1599
+ return e.replace(Zn, function(r) {
1622
1600
  var n = r.length;
1623
1601
  switch (r[0]) {
1624
1602
  case "G":
@@ -1707,11 +1685,11 @@ function Kn(e) {
1707
1685
  return "";
1708
1686
  }), t;
1709
1687
  }
1710
- var ei = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1711
- function ti(e) {
1688
+ var qn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1689
+ function Jn(e) {
1712
1690
  if (e.length === 0)
1713
1691
  throw new Error("Number skeleton cannot be empty");
1714
- for (var t = e.split(ei).filter(function(c) {
1692
+ for (var t = e.split(qn).filter(function(c) {
1715
1693
  return c.length > 0;
1716
1694
  }), r = [], n = 0, i = t; n < i.length; n++) {
1717
1695
  var s = i[n], a = s.split("/");
@@ -1726,17 +1704,17 @@ function ti(e) {
1726
1704
  }
1727
1705
  return r;
1728
1706
  }
1729
- function ri(e) {
1707
+ function Yn(e) {
1730
1708
  return e.replace(/^(.*?)-/, "");
1731
1709
  }
1732
- var Bt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, gr = /^(@+)?(\+|#+)?[rs]?$/g, ni = /(\*)(0+)|(#+)(0+)|(0+)/g, _r = /^(0+)$/;
1733
- function Pt(e) {
1710
+ var wt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, dr = /^(@+)?(\+|#+)?[rs]?$/g, Kn = /(\*)(0+)|(#+)(0+)|(0+)/g, pr = /^(0+)$/;
1711
+ function St(e) {
1734
1712
  var t = {};
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) {
1713
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(dr, function(r, n, i) {
1736
1714
  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)), "";
1737
1715
  }), t;
1738
1716
  }
1739
- function vr(e) {
1717
+ function mr(e) {
1740
1718
  switch (e) {
1741
1719
  case "sign-auto":
1742
1720
  return {
@@ -1776,7 +1754,7 @@ function vr(e) {
1776
1754
  };
1777
1755
  }
1778
1756
  }
1779
- function ii(e) {
1757
+ function ei(e) {
1780
1758
  var t;
1781
1759
  if (e[0] === "E" && e[1] === "E" ? (t = {
1782
1760
  notation: "engineering"
@@ -1784,17 +1762,17 @@ function ii(e) {
1784
1762
  notation: "scientific"
1785
1763
  }, e = e.slice(1)), t) {
1786
1764
  var r = e.slice(0, 2);
1787
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !_r.test(e))
1765
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !pr.test(e))
1788
1766
  throw new Error("Malformed concise eng/scientific notation");
1789
1767
  t.minimumIntegerDigits = e.length;
1790
1768
  }
1791
1769
  return t;
1792
1770
  }
1793
- function At(e) {
1794
- var t = {}, r = vr(e);
1771
+ function Tt(e) {
1772
+ var t = {}, r = mr(e);
1795
1773
  return r || t;
1796
1774
  }
1797
- function si(e) {
1775
+ function ti(e) {
1798
1776
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1799
1777
  var i = n[r];
1800
1778
  switch (i.stem) {
@@ -1818,7 +1796,7 @@ function si(e) {
1818
1796
  continue;
1819
1797
  case "measure-unit":
1820
1798
  case "unit":
1821
- t.style = "unit", t.unit = ri(i.options[0]);
1799
+ t.style = "unit", t.unit = Yn(i.options[0]);
1822
1800
  continue;
1823
1801
  case "compact-short":
1824
1802
  case "K":
@@ -1829,13 +1807,13 @@ function si(e) {
1829
1807
  t.notation = "compact", t.compactDisplay = "long";
1830
1808
  continue;
1831
1809
  case "scientific":
1832
- t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1833
- return v(v({}, l), At(u));
1810
+ t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1811
+ return _(_({}, l), Tt(u));
1834
1812
  }, {}));
1835
1813
  continue;
1836
1814
  case "engineering":
1837
- t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1838
- return v(v({}, l), At(u));
1815
+ t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1816
+ return _(_({}, l), Tt(u));
1839
1817
  }, {}));
1840
1818
  continue;
1841
1819
  case "notation-simple":
@@ -1880,7 +1858,7 @@ function si(e) {
1880
1858
  case "integer-width":
1881
1859
  if (i.options.length > 1)
1882
1860
  throw new RangeError("integer-width stems only accept a single optional option");
1883
- i.options[0].replace(ni, function(l, u, h, f, c, p) {
1861
+ i.options[0].replace(Kn, function(l, u, h, f, c, p) {
1884
1862
  if (u)
1885
1863
  t.minimumIntegerDigits = h.length;
1886
1864
  else {
@@ -1893,32 +1871,32 @@ function si(e) {
1893
1871
  });
1894
1872
  continue;
1895
1873
  }
1896
- if (_r.test(i.stem)) {
1874
+ if (pr.test(i.stem)) {
1897
1875
  t.minimumIntegerDigits = i.stem.length;
1898
1876
  continue;
1899
1877
  }
1900
- if (Bt.test(i.stem)) {
1878
+ if (wt.test(i.stem)) {
1901
1879
  if (i.options.length > 1)
1902
1880
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1903
- i.stem.replace(Bt, function(l, u, h, f, c, p) {
1881
+ i.stem.replace(wt, function(l, u, h, f, c, p) {
1904
1882
  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), "";
1905
1883
  });
1906
1884
  var s = i.options[0];
1907
- s === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = v(v({}, t), Pt(s)));
1885
+ s === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = _(_({}, t), St(s)));
1908
1886
  continue;
1909
1887
  }
1910
- if (gr.test(i.stem)) {
1911
- t = v(v({}, t), Pt(i.stem));
1888
+ if (dr.test(i.stem)) {
1889
+ t = _(_({}, t), St(i.stem));
1912
1890
  continue;
1913
1891
  }
1914
- var a = vr(i.stem);
1915
- a && (t = v(v({}, t), a));
1916
- var o = ii(i.stem);
1917
- o && (t = v(v({}, t), o));
1892
+ var a = mr(i.stem);
1893
+ a && (t = _(_({}, t), a));
1894
+ var o = ei(i.stem);
1895
+ o && (t = _(_({}, t), o));
1918
1896
  }
1919
1897
  return t;
1920
1898
  }
1921
- var _e = {
1899
+ var ge = {
1922
1900
  "001": [
1923
1901
  "H",
1924
1902
  "h"
@@ -3333,13 +3311,13 @@ var _e = {
3333
3311
  "h"
3334
3312
  ]
3335
3313
  };
3336
- function oi(e, t) {
3314
+ function ri(e, t) {
3337
3315
  for (var r = "", n = 0; n < e.length; n++) {
3338
3316
  var i = e.charAt(n);
3339
3317
  if (i === "j") {
3340
3318
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3341
3319
  s++, n++;
3342
- var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = ai(t);
3320
+ var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = ni(t);
3343
3321
  for ((u == "H" || u == "k") && (o = 0); o-- > 0; )
3344
3322
  r += l;
3345
3323
  for (; a-- > 0; )
@@ -3349,7 +3327,7 @@ function oi(e, t) {
3349
3327
  }
3350
3328
  return r;
3351
3329
  }
3352
- function ai(e) {
3330
+ function ni(e) {
3353
3331
  var t = e.hourCycle;
3354
3332
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3355
3333
  e.hourCycles && // @ts-ignore
@@ -3368,23 +3346,23 @@ function ai(e) {
3368
3346
  }
3369
3347
  var r = e.language, n;
3370
3348
  r !== "root" && (n = e.maximize().region);
3371
- var i = _e[n || ""] || _e[r || ""] || _e["".concat(r, "-001")] || _e["001"];
3349
+ var i = ge[n || ""] || ge[r || ""] || ge["".concat(r, "-001")] || ge["001"];
3372
3350
  return i[0];
3373
3351
  }
3374
- var Fe, ui = new RegExp("^".concat(yr.source, "*")), li = new RegExp("".concat(yr.source, "*$"));
3375
- function _(e, t) {
3352
+ var Ue, ii = new RegExp("^".concat(fr.source, "*")), si = new RegExp("".concat(fr.source, "*$"));
3353
+ function v(e, t) {
3376
3354
  return { start: e, end: t };
3377
3355
  }
3378
- var hi = !!String.prototype.startsWith && "_a".startsWith("a", 1), ci = !!String.fromCodePoint, fi = !!Object.fromEntries, di = !!String.prototype.codePointAt, pi = !!String.prototype.trimStart, mi = !!String.prototype.trimEnd, bi = !!Number.isSafeInteger, yi = bi ? Number.isSafeInteger : function(e) {
3356
+ var oi = !!String.prototype.startsWith && "_a".startsWith("a", 1), ai = !!String.fromCodePoint, ui = !!Object.fromEntries, li = !!String.prototype.codePointAt, hi = !!String.prototype.trimStart, ci = !!String.prototype.trimEnd, fi = !!Number.isSafeInteger, di = fi ? Number.isSafeInteger : function(e) {
3379
3357
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3380
- }, Ye = !0;
3358
+ }, qe = !0;
3381
3359
  try {
3382
- var gi = xr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3383
- Ye = ((Fe = gi.exec("a")) === null || Fe === void 0 ? void 0 : Fe[0]) === "a";
3360
+ var pi = yr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3361
+ qe = ((Ue = pi.exec("a")) === null || Ue === void 0 ? void 0 : Ue[0]) === "a";
3384
3362
  } catch {
3385
- Ye = !1;
3363
+ qe = !1;
3386
3364
  }
3387
- var Ot = hi ? (
3365
+ var Ht = oi ? (
3388
3366
  // Native
3389
3367
  function(t, r, n) {
3390
3368
  return t.startsWith(r, n);
@@ -3394,7 +3372,7 @@ var Ot = hi ? (
3394
3372
  function(t, r, n) {
3395
3373
  return t.slice(n, n + r.length) === r;
3396
3374
  }
3397
- ), Ke = ci ? String.fromCodePoint : (
3375
+ ), Je = ai ? String.fromCodePoint : (
3398
3376
  // IE11
3399
3377
  function() {
3400
3378
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3406,9 +3384,9 @@ var Ot = hi ? (
3406
3384
  }
3407
3385
  return n;
3408
3386
  }
3409
- ), It = (
3387
+ ), Pt = (
3410
3388
  // native
3411
- fi ? Object.fromEntries : (
3389
+ ui ? Object.fromEntries : (
3412
3390
  // Ponyfill
3413
3391
  function(t) {
3414
3392
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3418,7 +3396,7 @@ var Ot = hi ? (
3418
3396
  return r;
3419
3397
  }
3420
3398
  )
3421
- ), Er = di ? (
3399
+ ), br = li ? (
3422
3400
  // Native
3423
3401
  function(t, r) {
3424
3402
  return t.codePointAt(r);
@@ -3432,7 +3410,7 @@ var Ot = hi ? (
3432
3410
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
3433
3411
  }
3434
3412
  }
3435
- ), _i = pi ? (
3413
+ ), mi = hi ? (
3436
3414
  // Native
3437
3415
  function(t) {
3438
3416
  return t.trimStart();
@@ -3440,9 +3418,9 @@ var Ot = hi ? (
3440
3418
  ) : (
3441
3419
  // Ponyfill
3442
3420
  function(t) {
3443
- return t.replace(ui, "");
3421
+ return t.replace(ii, "");
3444
3422
  }
3445
- ), vi = mi ? (
3423
+ ), bi = ci ? (
3446
3424
  // Native
3447
3425
  function(t) {
3448
3426
  return t.trimEnd();
@@ -3450,32 +3428,32 @@ var Ot = hi ? (
3450
3428
  ) : (
3451
3429
  // Ponyfill
3452
3430
  function(t) {
3453
- return t.replace(li, "");
3431
+ return t.replace(si, "");
3454
3432
  }
3455
3433
  );
3456
- function xr(e, t) {
3434
+ function yr(e, t) {
3457
3435
  return new RegExp(e, t);
3458
3436
  }
3459
- var et;
3460
- if (Ye) {
3461
- var Ct = xr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3462
- et = function(t, r) {
3437
+ var Ye;
3438
+ if (qe) {
3439
+ var Bt = yr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3440
+ Ye = function(t, r) {
3463
3441
  var n;
3464
- Ct.lastIndex = r;
3465
- var i = Ct.exec(t);
3442
+ Bt.lastIndex = r;
3443
+ var i = Bt.exec(t);
3466
3444
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3467
3445
  };
3468
3446
  } else
3469
- et = function(t, r) {
3447
+ Ye = function(t, r) {
3470
3448
  for (var n = []; ; ) {
3471
- var i = Er(t, r);
3472
- if (i === void 0 || wr(i) || Si(i))
3449
+ var i = br(t, r);
3450
+ if (i === void 0 || gr(i) || _i(i))
3473
3451
  break;
3474
3452
  n.push(i), r += i >= 65536 ? 2 : 1;
3475
3453
  }
3476
- return Ke.apply(void 0, n);
3454
+ return Je.apply(void 0, n);
3477
3455
  };
3478
- var Ei = (
3456
+ var yi = (
3479
3457
  /** @class */
3480
3458
  function() {
3481
3459
  function e(t, r) {
@@ -3500,13 +3478,13 @@ var Ei = (
3500
3478
  var o = this.clonePosition();
3501
3479
  this.bump(), i.push({
3502
3480
  type: x.pound,
3503
- location: _(o, this.clonePosition())
3481
+ location: v(o, this.clonePosition())
3504
3482
  });
3505
3483
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
3506
3484
  if (n)
3507
3485
  break;
3508
- return this.error(g.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
3509
- } else if (s === 60 && !this.ignoreTag && tt(this.peek() || 0)) {
3486
+ return this.error(g.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
3487
+ } else if (s === 60 && !this.ignoreTag && Ke(this.peek() || 0)) {
3510
3488
  var a = this.parseTag(t, r);
3511
3489
  if (a.err)
3512
3490
  return a;
@@ -3529,7 +3507,7 @@ var Ei = (
3529
3507
  val: {
3530
3508
  type: x.literal,
3531
3509
  value: "<".concat(i, "/>"),
3532
- location: _(n, this.clonePosition())
3510
+ location: v(n, this.clonePosition())
3533
3511
  },
3534
3512
  err: null
3535
3513
  };
@@ -3539,25 +3517,25 @@ var Ei = (
3539
3517
  return s;
3540
3518
  var a = s.val, o = this.clonePosition();
3541
3519
  if (this.bumpIf("</")) {
3542
- if (this.isEOF() || !tt(this.char()))
3543
- return this.error(g.INVALID_TAG, _(o, this.clonePosition()));
3520
+ if (this.isEOF() || !Ke(this.char()))
3521
+ return this.error(g.INVALID_TAG, v(o, this.clonePosition()));
3544
3522
  var l = this.clonePosition(), u = this.parseTagName();
3545
- return i !== u ? this.error(g.UNMATCHED_CLOSING_TAG, _(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3523
+ return i !== u ? this.error(g.UNMATCHED_CLOSING_TAG, v(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3546
3524
  val: {
3547
3525
  type: x.tag,
3548
3526
  value: i,
3549
3527
  children: a,
3550
- location: _(n, this.clonePosition())
3528
+ location: v(n, this.clonePosition())
3551
3529
  },
3552
3530
  err: null
3553
- } : this.error(g.INVALID_TAG, _(o, this.clonePosition())));
3531
+ } : this.error(g.INVALID_TAG, v(o, this.clonePosition())));
3554
3532
  } else
3555
- return this.error(g.UNCLOSED_TAG, _(n, this.clonePosition()));
3533
+ return this.error(g.UNCLOSED_TAG, v(n, this.clonePosition()));
3556
3534
  } else
3557
- return this.error(g.INVALID_TAG, _(n, this.clonePosition()));
3535
+ return this.error(g.INVALID_TAG, v(n, this.clonePosition()));
3558
3536
  }, e.prototype.parseTagName = function() {
3559
3537
  var t = this.offset();
3560
- for (this.bump(); !this.isEOF() && wi(this.char()); )
3538
+ for (this.bump(); !this.isEOF() && vi(this.char()); )
3561
3539
  this.bump();
3562
3540
  return this.message.slice(t, this.offset());
3563
3541
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3579,14 +3557,14 @@ var Ei = (
3579
3557
  }
3580
3558
  break;
3581
3559
  }
3582
- var l = _(n, this.clonePosition());
3560
+ var l = v(n, this.clonePosition());
3583
3561
  return {
3584
3562
  val: { type: x.literal, value: i, location: l },
3585
3563
  err: null
3586
3564
  };
3587
3565
  }, e.prototype.tryParseLeftAngleBracket = function() {
3588
3566
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3589
- !xi(this.peek() || 0)) ? (this.bump(), "<") : null;
3567
+ !gi(this.peek() || 0)) ? (this.bump(), "<") : null;
3590
3568
  }, e.prototype.tryParseQuote = function(t) {
3591
3569
  if (this.isEOF() || this.char() !== 39)
3592
3570
  return null;
@@ -3620,23 +3598,23 @@ var Ei = (
3620
3598
  r.push(n);
3621
3599
  this.bump();
3622
3600
  }
3623
- return Ke.apply(void 0, r);
3601
+ return Je.apply(void 0, r);
3624
3602
  }, e.prototype.tryParseUnquoted = function(t, r) {
3625
3603
  if (this.isEOF())
3626
3604
  return null;
3627
3605
  var n = this.char();
3628
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ke(n));
3606
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Je(n));
3629
3607
  }, e.prototype.parseArgument = function(t, r) {
3630
3608
  var n = this.clonePosition();
3631
3609
  if (this.bump(), this.bumpSpace(), this.isEOF())
3632
- return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
3610
+ return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
3633
3611
  if (this.char() === 125)
3634
- return this.bump(), this.error(g.EMPTY_ARGUMENT, _(n, this.clonePosition()));
3612
+ return this.bump(), this.error(g.EMPTY_ARGUMENT, v(n, this.clonePosition()));
3635
3613
  var i = this.parseIdentifierIfPossible().value;
3636
3614
  if (!i)
3637
- return this.error(g.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
3615
+ return this.error(g.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3638
3616
  if (this.bumpSpace(), this.isEOF())
3639
- return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
3617
+ return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
3640
3618
  switch (this.char()) {
3641
3619
  case 125:
3642
3620
  return this.bump(), {
@@ -3644,25 +3622,25 @@ var Ei = (
3644
3622
  type: x.argument,
3645
3623
  // value does not include the opening and closing braces.
3646
3624
  value: i,
3647
- location: _(n, this.clonePosition())
3625
+ location: v(n, this.clonePosition())
3648
3626
  },
3649
3627
  err: null
3650
3628
  };
3651
3629
  case 44:
3652
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3630
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3653
3631
  default:
3654
- return this.error(g.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
3632
+ return this.error(g.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3655
3633
  }
3656
3634
  }, e.prototype.parseIdentifierIfPossible = function() {
3657
- var t = this.clonePosition(), r = this.offset(), n = et(this.message, r), i = r + n.length;
3635
+ var t = this.clonePosition(), r = this.offset(), n = Ye(this.message, r), i = r + n.length;
3658
3636
  this.bumpTo(i);
3659
- var s = this.clonePosition(), a = _(t, s);
3637
+ var s = this.clonePosition(), a = v(t, s);
3660
3638
  return { value: n, location: a };
3661
3639
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3662
3640
  var s, a = this.clonePosition(), o = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3663
3641
  switch (o) {
3664
3642
  case "":
3665
- return this.error(g.EXPECT_ARGUMENT_TYPE, _(a, l));
3643
+ return this.error(g.EXPECT_ARGUMENT_TYPE, v(a, l));
3666
3644
  case "number":
3667
3645
  case "date":
3668
3646
  case "time": {
@@ -3673,18 +3651,18 @@ var Ei = (
3673
3651
  var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3674
3652
  if (f.err)
3675
3653
  return f;
3676
- var c = vi(f.val);
3654
+ var c = bi(f.val);
3677
3655
  if (c.length === 0)
3678
- return this.error(g.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
3679
- var p = _(h, this.clonePosition());
3656
+ return this.error(g.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
3657
+ var p = v(h, this.clonePosition());
3680
3658
  u = { style: c, styleLocation: p };
3681
3659
  }
3682
3660
  var d = this.tryParseArgumentClose(i);
3683
3661
  if (d.err)
3684
3662
  return d;
3685
- var m = _(i, this.clonePosition());
3686
- if (u && Ot(u?.style, "::", 0)) {
3687
- var E = _i(u.style.slice(2));
3663
+ var m = v(i, this.clonePosition());
3664
+ if (u && Ht(u?.style, "::", 0)) {
3665
+ var E = mi(u.style.slice(2));
3688
3666
  if (o === "number") {
3689
3667
  var f = this.parseNumberSkeletonFromString(E, u.styleLocation);
3690
3668
  return f.err ? f : {
@@ -3695,12 +3673,12 @@ var Ei = (
3695
3673
  if (E.length === 0)
3696
3674
  return this.error(g.EXPECT_DATE_TIME_SKELETON, m);
3697
3675
  var T = E;
3698
- this.locale && (T = oi(E, this.locale));
3676
+ this.locale && (T = ri(E, this.locale));
3699
3677
  var c = {
3700
- type: te.dateTime,
3678
+ type: ee.dateTime,
3701
3679
  pattern: T,
3702
3680
  location: u.styleLocation,
3703
- parsedOptions: this.shouldParseSkeletons ? Kn(T) : {}
3681
+ parsedOptions: this.shouldParseSkeletons ? Qn(T) : {}
3704
3682
  }, H = o === "date" ? x.date : x.time;
3705
3683
  return {
3706
3684
  val: { type: H, value: n, location: m, style: c },
@@ -3723,17 +3701,17 @@ var Ei = (
3723
3701
  case "select": {
3724
3702
  var S = this.clonePosition();
3725
3703
  if (this.bumpSpace(), !this.bumpIf(","))
3726
- return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS, _(S, v({}, S)));
3704
+ return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS, v(S, _({}, S)));
3727
3705
  this.bumpSpace();
3728
- var O = this.parseIdentifierIfPossible(), B = 0;
3706
+ var O = this.parseIdentifierIfPossible(), P = 0;
3729
3707
  if (o !== "select" && O.value === "offset") {
3730
3708
  if (!this.bumpIf(":"))
3731
- return this.error(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
3709
+ return this.error(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
3732
3710
  this.bumpSpace();
3733
3711
  var f = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3734
3712
  if (f.err)
3735
3713
  return f;
3736
- this.bumpSpace(), O = this.parseIdentifierIfPossible(), B = f.val;
3714
+ this.bumpSpace(), O = this.parseIdentifierIfPossible(), P = f.val;
3737
3715
  }
3738
3716
  var C = this.tryParsePluralOrSelectOptions(t, o, r, O);
3739
3717
  if (C.err)
@@ -3741,12 +3719,12 @@ var Ei = (
3741
3719
  var d = this.tryParseArgumentClose(i);
3742
3720
  if (d.err)
3743
3721
  return d;
3744
- var w = _(i, this.clonePosition());
3722
+ var w = v(i, this.clonePosition());
3745
3723
  return o === "select" ? {
3746
3724
  val: {
3747
3725
  type: x.select,
3748
3726
  value: n,
3749
- options: It(C.val),
3727
+ options: Pt(C.val),
3750
3728
  location: w
3751
3729
  },
3752
3730
  err: null
@@ -3754,8 +3732,8 @@ var Ei = (
3754
3732
  val: {
3755
3733
  type: x.plural,
3756
3734
  value: n,
3757
- options: It(C.val),
3758
- offset: B,
3735
+ options: Pt(C.val),
3736
+ offset: P,
3759
3737
  pluralType: o === "plural" ? "cardinal" : "ordinal",
3760
3738
  location: w
3761
3739
  },
@@ -3763,10 +3741,10 @@ var Ei = (
3763
3741
  };
3764
3742
  }
3765
3743
  default:
3766
- return this.error(g.INVALID_ARGUMENT_TYPE, _(a, l));
3744
+ return this.error(g.INVALID_ARGUMENT_TYPE, v(a, l));
3767
3745
  }
3768
3746
  }, e.prototype.tryParseArgumentClose = function(t) {
3769
- return this.isEOF() || this.char() !== 125 ? this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3747
+ return this.isEOF() || this.char() !== 125 ? this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3770
3748
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3771
3749
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3772
3750
  var n = this.char();
@@ -3775,7 +3753,7 @@ var Ei = (
3775
3753
  this.bump();
3776
3754
  var i = this.clonePosition();
3777
3755
  if (!this.bumpUntil("'"))
3778
- return this.error(g.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, _(i, this.clonePosition()));
3756
+ return this.error(g.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, v(i, this.clonePosition()));
3779
3757
  this.bump();
3780
3758
  break;
3781
3759
  }
@@ -3805,16 +3783,16 @@ var Ei = (
3805
3783
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3806
3784
  var n = [];
3807
3785
  try {
3808
- n = ti(t);
3786
+ n = Jn(t);
3809
3787
  } catch {
3810
3788
  return this.error(g.INVALID_NUMBER_SKELETON, r);
3811
3789
  }
3812
3790
  return {
3813
3791
  val: {
3814
- type: te.number,
3792
+ type: ee.number,
3815
3793
  tokens: n,
3816
3794
  location: r,
3817
- parsedOptions: this.shouldParseSkeletons ? si(n) : {}
3795
+ parsedOptions: this.shouldParseSkeletons ? ti(n) : {}
3818
3796
  },
3819
3797
  err: null
3820
3798
  };
@@ -3826,7 +3804,7 @@ var Ei = (
3826
3804
  var c = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_SELECTOR, g.INVALID_PLURAL_ARGUMENT_SELECTOR);
3827
3805
  if (c.err)
3828
3806
  return c;
3829
- h = _(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3807
+ h = v(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3830
3808
  } else
3831
3809
  break;
3832
3810
  }
@@ -3835,7 +3813,7 @@ var Ei = (
3835
3813
  u === "other" && (a = !0), this.bumpSpace();
3836
3814
  var p = this.clonePosition();
3837
3815
  if (!this.bumpIf("{"))
3838
- return this.error(r === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : g.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
3816
+ return this.error(r === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : g.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
3839
3817
  var d = this.parseMessage(t + 1, r, n);
3840
3818
  if (d.err)
3841
3819
  return d;
@@ -3846,11 +3824,11 @@ var Ei = (
3846
3824
  u,
3847
3825
  {
3848
3826
  value: d.val,
3849
- location: _(p, this.clonePosition())
3827
+ location: v(p, this.clonePosition())
3850
3828
  }
3851
3829
  ]), l.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, h = s.location;
3852
3830
  }
3853
- return o.length === 0 ? this.error(r === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR : g.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(g.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
3831
+ return o.length === 0 ? this.error(r === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR : g.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(g.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
3854
3832
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3855
3833
  var n = 1, i = this.clonePosition();
3856
3834
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3861,8 +3839,8 @@ var Ei = (
3861
3839
  else
3862
3840
  break;
3863
3841
  }
3864
- var l = _(i, this.clonePosition());
3865
- return s ? (a *= n, yi(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3842
+ var l = v(i, this.clonePosition());
3843
+ return s ? (a *= n, di(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3866
3844
  }, e.prototype.offset = function() {
3867
3845
  return this.position.offset;
3868
3846
  }, e.prototype.isEOF = function() {
@@ -3877,7 +3855,7 @@ var Ei = (
3877
3855
  var t = this.position.offset;
3878
3856
  if (t >= this.message.length)
3879
3857
  throw Error("out of bound");
3880
- var r = Er(this.message, t);
3858
+ var r = br(this.message, t);
3881
3859
  if (r === void 0)
3882
3860
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3883
3861
  return r;
@@ -3896,7 +3874,7 @@ var Ei = (
3896
3874
  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);
3897
3875
  }
3898
3876
  }, e.prototype.bumpIf = function(t) {
3899
- if (Ot(this.message, t, this.offset())) {
3877
+ if (Ht(this.message, t, this.offset())) {
3900
3878
  for (var r = 0; r < t.length; r++)
3901
3879
  this.bump();
3902
3880
  return !0;
@@ -3918,7 +3896,7 @@ var Ei = (
3918
3896
  break;
3919
3897
  }
3920
3898
  }, e.prototype.bumpSpace = function() {
3921
- for (; !this.isEOF() && wr(this.char()); )
3899
+ for (; !this.isEOF() && gr(this.char()); )
3922
3900
  this.bump();
3923
3901
  }, e.prototype.peek = function() {
3924
3902
  if (this.isEOF())
@@ -3928,44 +3906,44 @@ var Ei = (
3928
3906
  }, e;
3929
3907
  }()
3930
3908
  );
3931
- function tt(e) {
3909
+ function Ke(e) {
3932
3910
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3933
3911
  }
3934
- function xi(e) {
3935
- return tt(e) || e === 47;
3912
+ function gi(e) {
3913
+ return Ke(e) || e === 47;
3936
3914
  }
3937
- function wi(e) {
3915
+ function vi(e) {
3938
3916
  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;
3939
3917
  }
3940
- function wr(e) {
3918
+ function gr(e) {
3941
3919
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3942
3920
  }
3943
- function Si(e) {
3921
+ function _i(e) {
3944
3922
  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;
3945
3923
  }
3946
- function rt(e) {
3924
+ function et(e) {
3947
3925
  e.forEach(function(t) {
3948
- if (delete t.location, dr(t) || pr(t))
3926
+ if (delete t.location, ur(t) || lr(t))
3949
3927
  for (var r in t.options)
3950
- delete t.options[r].location, rt(t.options[r].value);
3928
+ delete t.options[r].location, et(t.options[r].value);
3951
3929
  else
3952
- hr(t) && br(t.style) || (cr(t) || fr(t)) && Je(t.style) ? delete t.style.location : mr(t) && rt(t.children);
3930
+ sr(t) && cr(t.style) || (or(t) || ar(t)) && Qe(t.style) ? delete t.style.location : hr(t) && et(t.children);
3953
3931
  });
3954
3932
  }
3955
- function Ti(e, t) {
3956
- t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3957
- var r = new Ei(e, t).parse();
3933
+ function Ei(e, t) {
3934
+ t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3935
+ var r = new yi(e, t).parse();
3958
3936
  if (r.err) {
3959
3937
  var n = SyntaxError(g[r.err.kind]);
3960
3938
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3961
3939
  }
3962
- return t?.captureLocation || rt(r.val), r.val;
3940
+ return t?.captureLocation || et(r.val), r.val;
3963
3941
  }
3964
- var re;
3942
+ var te;
3965
3943
  (function(e) {
3966
3944
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3967
- })(re || (re = {}));
3968
- var Ce = (
3945
+ })(te || (te = {}));
3946
+ var Ie = (
3969
3947
  /** @class */
3970
3948
  function(e) {
3971
3949
  G(t, e);
@@ -3977,155 +3955,155 @@ var Ce = (
3977
3955
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3978
3956
  }, t;
3979
3957
  }(Error)
3980
- ), Lt = (
3958
+ ), At = (
3981
3959
  /** @class */
3982
3960
  function(e) {
3983
3961
  G(t, e);
3984
3962
  function t(r, n, i, s) {
3985
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), re.INVALID_VALUE, s) || this;
3963
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), te.INVALID_VALUE, s) || this;
3986
3964
  }
3987
3965
  return t;
3988
- }(Ce)
3989
- ), Hi = (
3966
+ }(Ie)
3967
+ ), xi = (
3990
3968
  /** @class */
3991
3969
  function(e) {
3992
3970
  G(t, e);
3993
3971
  function t(r, n, i) {
3994
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), re.INVALID_VALUE, i) || this;
3972
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), te.INVALID_VALUE, i) || this;
3995
3973
  }
3996
3974
  return t;
3997
- }(Ce)
3998
- ), Bi = (
3975
+ }(Ie)
3976
+ ), wi = (
3999
3977
  /** @class */
4000
3978
  function(e) {
4001
3979
  G(t, e);
4002
3980
  function t(r, n) {
4003
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), re.MISSING_VALUE, n) || this;
3981
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), te.MISSING_VALUE, n) || this;
4004
3982
  }
4005
3983
  return t;
4006
- }(Ce)
4007
- ), P;
3984
+ }(Ie)
3985
+ ), B;
4008
3986
  (function(e) {
4009
3987
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
4010
- })(P || (P = {}));
4011
- function Pi(e) {
3988
+ })(B || (B = {}));
3989
+ function Si(e) {
4012
3990
  return e.length < 2 ? e : e.reduce(function(t, r) {
4013
3991
  var n = t[t.length - 1];
4014
- return !n || n.type !== P.literal || r.type !== P.literal ? t.push(r) : n.value += r.value, t;
3992
+ return !n || n.type !== B.literal || r.type !== B.literal ? t.push(r) : n.value += r.value, t;
4015
3993
  }, []);
4016
3994
  }
4017
- function Ai(e) {
3995
+ function Ti(e) {
4018
3996
  return typeof e == "function";
4019
3997
  }
4020
- function we(e, t, r, n, i, s, a) {
4021
- if (e.length === 1 && Ht(e[0]))
3998
+ function xe(e, t, r, n, i, s, a) {
3999
+ if (e.length === 1 && xt(e[0]))
4022
4000
  return [
4023
4001
  {
4024
- type: P.literal,
4002
+ type: B.literal,
4025
4003
  value: e[0].value
4026
4004
  }
4027
4005
  ];
4028
4006
  for (var o = [], l = 0, u = e; l < u.length; l++) {
4029
4007
  var h = u[l];
4030
- if (Ht(h)) {
4008
+ if (xt(h)) {
4031
4009
  o.push({
4032
- type: P.literal,
4010
+ type: B.literal,
4033
4011
  value: h.value
4034
4012
  });
4035
4013
  continue;
4036
4014
  }
4037
- if (Jn(h)) {
4015
+ if (zn(h)) {
4038
4016
  typeof s == "number" && o.push({
4039
- type: P.literal,
4017
+ type: B.literal,
4040
4018
  value: r.getNumberFormat(t).format(s)
4041
4019
  });
4042
4020
  continue;
4043
4021
  }
4044
4022
  var f = h.value;
4045
4023
  if (!(i && f in i))
4046
- throw new Bi(f, a);
4024
+ throw new wi(f, a);
4047
4025
  var c = i[f];
4048
- if (qn(h)) {
4026
+ if (Wn(h)) {
4049
4027
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), o.push({
4050
- type: typeof c == "string" ? P.literal : P.object,
4028
+ type: typeof c == "string" ? B.literal : B.object,
4051
4029
  value: c
4052
4030
  });
4053
4031
  continue;
4054
4032
  }
4055
- if (cr(h)) {
4056
- var p = typeof h.style == "string" ? n.date[h.style] : Je(h.style) ? h.style.parsedOptions : void 0;
4033
+ if (or(h)) {
4034
+ var p = typeof h.style == "string" ? n.date[h.style] : Qe(h.style) ? h.style.parsedOptions : void 0;
4057
4035
  o.push({
4058
- type: P.literal,
4036
+ type: B.literal,
4059
4037
  value: r.getDateTimeFormat(t, p).format(c)
4060
4038
  });
4061
4039
  continue;
4062
4040
  }
4063
- if (fr(h)) {
4064
- var p = typeof h.style == "string" ? n.time[h.style] : Je(h.style) ? h.style.parsedOptions : n.time.medium;
4041
+ if (ar(h)) {
4042
+ var p = typeof h.style == "string" ? n.time[h.style] : Qe(h.style) ? h.style.parsedOptions : n.time.medium;
4065
4043
  o.push({
4066
- type: P.literal,
4044
+ type: B.literal,
4067
4045
  value: r.getDateTimeFormat(t, p).format(c)
4068
4046
  });
4069
4047
  continue;
4070
4048
  }
4071
- if (hr(h)) {
4072
- var p = typeof h.style == "string" ? n.number[h.style] : br(h.style) ? h.style.parsedOptions : void 0;
4049
+ if (sr(h)) {
4050
+ var p = typeof h.style == "string" ? n.number[h.style] : cr(h.style) ? h.style.parsedOptions : void 0;
4073
4051
  p && p.scale && (c = c * (p.scale || 1)), o.push({
4074
- type: P.literal,
4052
+ type: B.literal,
4075
4053
  value: r.getNumberFormat(t, p).format(c)
4076
4054
  });
4077
4055
  continue;
4078
4056
  }
4079
- if (mr(h)) {
4057
+ if (hr(h)) {
4080
4058
  var d = h.children, m = h.value, E = i[m];
4081
- if (!Ai(E))
4082
- throw new Hi(m, "function", a);
4083
- var T = we(d, t, r, n, i, s), H = E(T.map(function(B) {
4084
- return B.value;
4059
+ if (!Ti(E))
4060
+ throw new xi(m, "function", a);
4061
+ var T = xe(d, t, r, n, i, s), H = E(T.map(function(P) {
4062
+ return P.value;
4085
4063
  }));
4086
- Array.isArray(H) || (H = [H]), o.push.apply(o, H.map(function(B) {
4064
+ Array.isArray(H) || (H = [H]), o.push.apply(o, H.map(function(P) {
4087
4065
  return {
4088
- type: typeof B == "string" ? P.literal : P.object,
4089
- value: B
4066
+ type: typeof P == "string" ? B.literal : B.object,
4067
+ value: P
4090
4068
  };
4091
4069
  }));
4092
4070
  }
4093
- if (dr(h)) {
4071
+ if (ur(h)) {
4094
4072
  var S = h.options[c] || h.options.other;
4095
4073
  if (!S)
4096
- throw new Lt(h.value, c, Object.keys(h.options), a);
4097
- o.push.apply(o, we(S.value, t, r, n, i));
4074
+ throw new At(h.value, c, Object.keys(h.options), a);
4075
+ o.push.apply(o, xe(S.value, t, r, n, i));
4098
4076
  continue;
4099
4077
  }
4100
- if (pr(h)) {
4078
+ if (lr(h)) {
4101
4079
  var S = h.options["=".concat(c)];
4102
4080
  if (!S) {
4103
4081
  if (!Intl.PluralRules)
4104
- throw new Ce(`Intl.PluralRules is not available in this environment.
4082
+ throw new Ie(`Intl.PluralRules is not available in this environment.
4105
4083
  Try polyfilling it using "@formatjs/intl-pluralrules"
4106
- `, re.MISSING_INTL_API, a);
4084
+ `, te.MISSING_INTL_API, a);
4107
4085
  var O = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
4108
4086
  S = h.options[O] || h.options.other;
4109
4087
  }
4110
4088
  if (!S)
4111
- throw new Lt(h.value, c, Object.keys(h.options), a);
4112
- o.push.apply(o, we(S.value, t, r, n, i, c - (h.offset || 0)));
4089
+ throw new At(h.value, c, Object.keys(h.options), a);
4090
+ o.push.apply(o, xe(S.value, t, r, n, i, c - (h.offset || 0)));
4113
4091
  continue;
4114
4092
  }
4115
4093
  }
4116
- return Pi(o);
4094
+ return Si(o);
4117
4095
  }
4118
- function Oi(e, t) {
4119
- return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
4120
- return r[n] = v(v({}, e[n]), t[n] || {}), r;
4096
+ function Hi(e, t) {
4097
+ return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
4098
+ return r[n] = _(_({}, e[n]), t[n] || {}), r;
4121
4099
  }, {})) : e;
4122
4100
  }
4123
- function Ii(e, t) {
4101
+ function Pi(e, t) {
4124
4102
  return t ? Object.keys(e).reduce(function(r, n) {
4125
- return r[n] = Oi(e[n], t[n]), r;
4126
- }, v({}, e)) : e;
4103
+ return r[n] = Hi(e[n], t[n]), r;
4104
+ }, _({}, e)) : e;
4127
4105
  }
4128
- function je(e) {
4106
+ function Ge(e) {
4129
4107
  return {
4130
4108
  create: function() {
4131
4109
  return {
@@ -4139,39 +4117,39 @@ function je(e) {
4139
4117
  }
4140
4118
  };
4141
4119
  }
4142
- function Ci(e) {
4120
+ function Bi(e) {
4143
4121
  return e === void 0 && (e = {
4144
4122
  number: {},
4145
4123
  dateTime: {},
4146
4124
  pluralRules: {}
4147
4125
  }), {
4148
- getNumberFormat: Ue(function() {
4126
+ getNumberFormat: $e(function() {
4149
4127
  for (var t, r = [], n = 0; n < arguments.length; n++)
4150
4128
  r[n] = arguments[n];
4151
- return new ((t = Intl.NumberFormat).bind.apply(t, K([void 0], r, !1)))();
4129
+ return new ((t = Intl.NumberFormat).bind.apply(t, Y([void 0], r, !1)))();
4152
4130
  }, {
4153
- cache: je(e.number),
4154
- strategy: Ge.variadic
4131
+ cache: Ge(e.number),
4132
+ strategy: De.variadic
4155
4133
  }),
4156
- getDateTimeFormat: Ue(function() {
4134
+ getDateTimeFormat: $e(function() {
4157
4135
  for (var t, r = [], n = 0; n < arguments.length; n++)
4158
4136
  r[n] = arguments[n];
4159
- return new ((t = Intl.DateTimeFormat).bind.apply(t, K([void 0], r, !1)))();
4137
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Y([void 0], r, !1)))();
4160
4138
  }, {
4161
- cache: je(e.dateTime),
4162
- strategy: Ge.variadic
4139
+ cache: Ge(e.dateTime),
4140
+ strategy: De.variadic
4163
4141
  }),
4164
- getPluralRules: Ue(function() {
4142
+ getPluralRules: $e(function() {
4165
4143
  for (var t, r = [], n = 0; n < arguments.length; n++)
4166
4144
  r[n] = arguments[n];
4167
- return new ((t = Intl.PluralRules).bind.apply(t, K([void 0], r, !1)))();
4145
+ return new ((t = Intl.PluralRules).bind.apply(t, Y([void 0], r, !1)))();
4168
4146
  }, {
4169
- cache: je(e.pluralRules),
4170
- strategy: Ge.variadic
4147
+ cache: Ge(e.pluralRules),
4148
+ strategy: De.variadic
4171
4149
  })
4172
4150
  };
4173
4151
  }
4174
- var Li = (
4152
+ var Ai = (
4175
4153
  /** @class */
4176
4154
  function() {
4177
4155
  function e(t, r, n, i) {
@@ -4186,11 +4164,11 @@ var Li = (
4186
4164
  if (u.length === 1)
4187
4165
  return u[0].value;
4188
4166
  var h = u.reduce(function(f, c) {
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;
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;
4190
4168
  }, []);
4191
4169
  return h.length <= 1 ? h[0] || "" : h;
4192
4170
  }, this.formatToParts = function(l) {
4193
- return we(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
4171
+ return xe(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
4194
4172
  }, this.resolvedOptions = function() {
4195
4173
  var l;
4196
4174
  return {
@@ -4203,13 +4181,13 @@ var Li = (
4203
4181
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
4204
4182
  var a = i || {};
4205
4183
  a.formatters;
4206
- var o = fn(a, ["formatters"]);
4207
- this.ast = e.__parse(t, v(v({}, o), { locale: this.resolvedLocale }));
4184
+ var o = an(a, ["formatters"]);
4185
+ this.ast = e.__parse(t, _(_({}, o), { locale: this.resolvedLocale }));
4208
4186
  } else
4209
4187
  this.ast = t;
4210
4188
  if (!Array.isArray(this.ast))
4211
4189
  throw new TypeError("A message must be provided as a String or AST.");
4212
- this.formats = Ii(e.formats, n), this.formatters = i && i.formatters || Ci(this.formatterCache);
4190
+ this.formats = Pi(e.formats, n), this.formatters = i && i.formatters || Bi(this.formatterCache);
4213
4191
  }
4214
4192
  return Object.defineProperty(e, "defaultLocale", {
4215
4193
  get: function() {
@@ -4222,7 +4200,7 @@ var Li = (
4222
4200
  var r = Intl.NumberFormat.supportedLocalesOf(t);
4223
4201
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
4224
4202
  }
4225
- }, e.__parse = Ti, e.formats = {
4203
+ }, e.__parse = Ei, e.formats = {
4226
4204
  number: {
4227
4205
  integer: {
4228
4206
  maximumFractionDigits: 0
@@ -4283,7 +4261,7 @@ var Li = (
4283
4261
  }, e;
4284
4262
  }()
4285
4263
  );
4286
- function Mi(e, t) {
4264
+ function Oi(e, t) {
4287
4265
  if (t == null)
4288
4266
  return;
4289
4267
  if (t in e)
@@ -4304,92 +4282,92 @@ function Mi(e, t) {
4304
4282
  n = void 0;
4305
4283
  return n;
4306
4284
  }
4307
- const j = {}, Ni = (e, t, r) => r && (t in j || (j[t] = {}), e in j[t] || (j[t][e] = r), r), Sr = (e, t) => {
4285
+ const j = {}, Ii = (e, t, r) => r && (t in j || (j[t] = {}), e in j[t] || (j[t][e] = r), r), vr = (e, t) => {
4308
4286
  if (t == null)
4309
4287
  return;
4310
4288
  if (t in j && e in j[t])
4311
4289
  return j[t][e];
4312
- const r = Le(t);
4290
+ const r = Ce(t);
4313
4291
  for (let n = 0; n < r.length; n++) {
4314
- const i = r[n], s = $i(i, e);
4292
+ const i = r[n], s = Li(i, e);
4315
4293
  if (s)
4316
- return Ni(e, t, s);
4294
+ return Ii(e, t, s);
4317
4295
  }
4318
4296
  };
4319
- let ct;
4320
- const me = Ie({});
4321
- function Ri(e) {
4322
- return ct[e] || null;
4297
+ let at;
4298
+ const pe = Oe({});
4299
+ function Ci(e) {
4300
+ return at[e] || null;
4323
4301
  }
4324
- function Tr(e) {
4325
- return e in ct;
4302
+ function _r(e) {
4303
+ return e in at;
4326
4304
  }
4327
- function $i(e, t) {
4328
- if (!Tr(e))
4305
+ function Li(e, t) {
4306
+ if (!_r(e))
4329
4307
  return null;
4330
- const r = Ri(e);
4331
- return Mi(r, t);
4308
+ const r = Ci(e);
4309
+ return Oi(r, t);
4332
4310
  }
4333
- function Di(e) {
4311
+ function Ni(e) {
4334
4312
  if (e == null)
4335
4313
  return;
4336
- const t = Le(e);
4314
+ const t = Ce(e);
4337
4315
  for (let r = 0; r < t.length; r++) {
4338
4316
  const n = t[r];
4339
- if (Tr(n))
4317
+ if (_r(n))
4340
4318
  return n;
4341
4319
  }
4342
4320
  }
4343
- function Hr(e, ...t) {
4344
- delete j[e], me.update((r) => (r[e] = kn.all([r[e] || {}, ...t]), r));
4321
+ function Er(e, ...t) {
4322
+ delete j[e], pe.update((r) => (r[e] = Dn.all([r[e] || {}, ...t]), r));
4345
4323
  }
4346
- ie(
4347
- [me],
4324
+ ne(
4325
+ [pe],
4348
4326
  ([e]) => Object.keys(e)
4349
4327
  );
4350
- me.subscribe((e) => ct = e);
4351
- const Se = {};
4352
- function Ui(e, t) {
4353
- Se[e].delete(t), Se[e].size === 0 && delete Se[e];
4328
+ pe.subscribe((e) => at = e);
4329
+ const we = {};
4330
+ function Mi(e, t) {
4331
+ we[e].delete(t), we[e].size === 0 && delete we[e];
4354
4332
  }
4355
- function Br(e) {
4356
- return Se[e];
4333
+ function xr(e) {
4334
+ return we[e];
4357
4335
  }
4358
- function Gi(e) {
4359
- return Le(e).map((t) => {
4360
- const r = Br(t);
4336
+ function Ri(e) {
4337
+ return Ce(e).map((t) => {
4338
+ const r = xr(t);
4361
4339
  return [t, r ? [...r] : []];
4362
4340
  }).filter(([, t]) => t.length > 0);
4363
4341
  }
4364
- function nt(e) {
4365
- return e == null ? !1 : Le(e).some(
4342
+ function tt(e) {
4343
+ return e == null ? !1 : Ce(e).some(
4366
4344
  (t) => {
4367
4345
  var r;
4368
- return (r = Br(t)) == null ? void 0 : r.size;
4346
+ return (r = xr(t)) == null ? void 0 : r.size;
4369
4347
  }
4370
4348
  );
4371
4349
  }
4372
- function Fi(e, t) {
4350
+ function $i(e, t) {
4373
4351
  return Promise.all(
4374
- t.map((n) => (Ui(e, n), n().then((i) => i.default || i)))
4375
- ).then((n) => Hr(e, ...n));
4376
- }
4377
- const ue = {};
4378
- function Pr(e) {
4379
- if (!nt(e))
4380
- return e in ue ? ue[e] : Promise.resolve();
4381
- const t = Gi(e);
4382
- return ue[e] = Promise.all(
4352
+ t.map((n) => (Mi(e, n), n().then((i) => i.default || i)))
4353
+ ).then((n) => Er(e, ...n));
4354
+ }
4355
+ const ae = {};
4356
+ function wr(e) {
4357
+ if (!tt(e))
4358
+ return e in ae ? ae[e] : Promise.resolve();
4359
+ const t = Ri(e);
4360
+ return ae[e] = Promise.all(
4383
4361
  t.map(
4384
- ([r, n]) => Fi(r, n)
4362
+ ([r, n]) => $i(r, n)
4385
4363
  )
4386
4364
  ).then(() => {
4387
- if (nt(e))
4388
- return Pr(e);
4389
- delete ue[e];
4390
- }), ue[e];
4365
+ if (tt(e))
4366
+ return wr(e);
4367
+ delete ae[e];
4368
+ }), ae[e];
4391
4369
  }
4392
- const ji = {
4370
+ const Di = {
4393
4371
  number: {
4394
4372
  scientific: { notation: "scientific" },
4395
4373
  engineering: { notation: "engineering" },
@@ -4418,135 +4396,135 @@ const ji = {
4418
4396
  timeZoneName: "short"
4419
4397
  }
4420
4398
  }
4421
- }, ki = {
4399
+ }, Ui = {
4422
4400
  fallbackLocale: null,
4423
4401
  loadingDelay: 200,
4424
- formats: ji,
4402
+ formats: Di,
4425
4403
  warnOnMissingMessages: !0,
4426
4404
  handleMissingMessage: void 0,
4427
4405
  ignoreTag: !0
4428
- }, Vi = ki;
4429
- function ne() {
4430
- return Vi;
4406
+ }, Gi = Ui;
4407
+ function re() {
4408
+ return Gi;
4431
4409
  }
4432
- const ke = Ie(!1);
4433
- var Xi = Object.defineProperty, Wi = Object.defineProperties, zi = Object.getOwnPropertyDescriptors, Mt = Object.getOwnPropertySymbols, Zi = Object.prototype.hasOwnProperty, Qi = Object.prototype.propertyIsEnumerable, Nt = (e, t, r) => t in e ? Xi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, qi = (e, t) => {
4410
+ const Fe = Oe(!1);
4411
+ var Fi = Object.defineProperty, ji = Object.defineProperties, ki = Object.getOwnPropertyDescriptors, Ot = Object.getOwnPropertySymbols, Vi = Object.prototype.hasOwnProperty, Xi = Object.prototype.propertyIsEnumerable, It = (e, t, r) => t in e ? Fi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Wi = (e, t) => {
4434
4412
  for (var r in t || (t = {}))
4435
- Zi.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]);
4413
+ Vi.call(t, r) && It(e, r, t[r]);
4414
+ if (Ot)
4415
+ for (var r of Ot(t))
4416
+ Xi.call(t, r) && It(e, r, t[r]);
4439
4417
  return e;
4440
- }, Ji = (e, t) => Wi(e, zi(t));
4441
- let it;
4442
- const Pe = Ie(null);
4443
- function Rt(e) {
4418
+ }, zi = (e, t) => ji(e, ki(t));
4419
+ let rt;
4420
+ const Pe = Oe(null);
4421
+ function Ct(e) {
4444
4422
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4445
4423
  }
4446
- function Le(e, t = ne().fallbackLocale) {
4447
- const r = Rt(e);
4448
- return t ? [.../* @__PURE__ */ new Set([...r, ...Rt(t)])] : r;
4424
+ function Ce(e, t = re().fallbackLocale) {
4425
+ const r = Ct(e);
4426
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Ct(t)])] : r;
4449
4427
  }
4450
4428
  function W() {
4451
- return it ?? void 0;
4429
+ return rt ?? void 0;
4452
4430
  }
4453
4431
  Pe.subscribe((e) => {
4454
- it = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4432
+ rt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4455
4433
  });
4456
- const Yi = (e) => {
4457
- if (e && Di(e) && nt(e)) {
4458
- const { loadingDelay: t } = ne();
4434
+ const Zi = (e) => {
4435
+ if (e && Ni(e) && tt(e)) {
4436
+ const { loadingDelay: t } = re();
4459
4437
  let r;
4460
4438
  return typeof window < "u" && W() != null && t ? r = window.setTimeout(
4461
- () => ke.set(!0),
4439
+ () => Fe.set(!0),
4462
4440
  t
4463
- ) : ke.set(!0), Pr(e).then(() => {
4441
+ ) : Fe.set(!0), wr(e).then(() => {
4464
4442
  Pe.set(e);
4465
4443
  }).finally(() => {
4466
- clearTimeout(r), ke.set(!1);
4444
+ clearTimeout(r), Fe.set(!1);
4467
4445
  });
4468
4446
  }
4469
4447
  return Pe.set(e);
4470
- }, se = Ji(qi({}, Pe), {
4471
- set: Yi
4472
- }), Me = (e) => {
4448
+ }, ie = zi(Wi({}, Pe), {
4449
+ set: Zi
4450
+ }), Le = (e) => {
4473
4451
  const t = /* @__PURE__ */ Object.create(null);
4474
4452
  return (n) => {
4475
4453
  const i = JSON.stringify(n);
4476
4454
  return i in t ? t[i] : t[i] = e(n);
4477
4455
  };
4478
4456
  };
4479
- var Ki = Object.defineProperty, Ae = Object.getOwnPropertySymbols, Ar = Object.prototype.hasOwnProperty, Or = Object.prototype.propertyIsEnumerable, $t = (e, t, r) => t in e ? Ki(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ft = (e, t) => {
4457
+ var Qi = Object.defineProperty, Be = Object.getOwnPropertySymbols, Sr = Object.prototype.hasOwnProperty, Tr = Object.prototype.propertyIsEnumerable, Lt = (e, t, r) => t in e ? Qi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ut = (e, t) => {
4480
4458
  for (var r in t || (t = {}))
4481
- Ar.call(t, r) && $t(e, r, t[r]);
4482
- if (Ae)
4483
- for (var r of Ae(t))
4484
- Or.call(t, r) && $t(e, r, t[r]);
4459
+ Sr.call(t, r) && Lt(e, r, t[r]);
4460
+ if (Be)
4461
+ for (var r of Be(t))
4462
+ Tr.call(t, r) && Lt(e, r, t[r]);
4485
4463
  return e;
4486
- }, oe = (e, t) => {
4464
+ }, se = (e, t) => {
4487
4465
  var r = {};
4488
4466
  for (var n in e)
4489
- Ar.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4490
- if (e != null && Ae)
4491
- for (var n of Ae(e))
4492
- t.indexOf(n) < 0 && Or.call(e, n) && (r[n] = e[n]);
4467
+ Sr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4468
+ if (e != null && Be)
4469
+ for (var n of Be(e))
4470
+ t.indexOf(n) < 0 && Tr.call(e, n) && (r[n] = e[n]);
4493
4471
  return r;
4494
4472
  };
4495
- const fe = (e, t) => {
4496
- const { formats: r } = ne();
4473
+ const ce = (e, t) => {
4474
+ const { formats: r } = re();
4497
4475
  if (e in r && t in r[e])
4498
4476
  return r[e][t];
4499
4477
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4500
- }, es = Me(
4478
+ }, qi = Le(
4501
4479
  (e) => {
4502
- var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4480
+ var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
4503
4481
  if (r == null)
4504
4482
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4505
- return n && (i = fe("number", n)), new Intl.NumberFormat(r, i);
4483
+ return n && (i = ce("number", n)), new Intl.NumberFormat(r, i);
4506
4484
  }
4507
- ), ts = Me(
4485
+ ), Ji = Le(
4508
4486
  (e) => {
4509
- var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4487
+ var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
4510
4488
  if (r == null)
4511
4489
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4512
- return n ? i = fe("date", n) : Object.keys(i).length === 0 && (i = fe("date", "short")), new Intl.DateTimeFormat(r, i);
4490
+ return n ? i = ce("date", n) : Object.keys(i).length === 0 && (i = ce("date", "short")), new Intl.DateTimeFormat(r, i);
4513
4491
  }
4514
- ), rs = Me(
4492
+ ), Yi = Le(
4515
4493
  (e) => {
4516
- var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4494
+ var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
4517
4495
  if (r == null)
4518
4496
  throw new Error(
4519
4497
  '[svelte-i18n] A "locale" must be set to format time values'
4520
4498
  );
4521
- return n ? i = fe("time", n) : Object.keys(i).length === 0 && (i = fe("time", "short")), new Intl.DateTimeFormat(r, i);
4499
+ return n ? i = ce("time", n) : Object.keys(i).length === 0 && (i = ce("time", "short")), new Intl.DateTimeFormat(r, i);
4522
4500
  }
4523
- ), ns = (e = {}) => {
4501
+ ), Ki = (e = {}) => {
4524
4502
  var t = e, {
4525
4503
  locale: r = W()
4526
- } = t, n = oe(t, [
4504
+ } = t, n = se(t, [
4527
4505
  "locale"
4528
4506
  ]);
4529
- return es(ft({ locale: r }, n));
4530
- }, is = (e = {}) => {
4507
+ return qi(ut({ locale: r }, n));
4508
+ }, es = (e = {}) => {
4531
4509
  var t = e, {
4532
4510
  locale: r = W()
4533
- } = t, n = oe(t, [
4511
+ } = t, n = se(t, [
4534
4512
  "locale"
4535
4513
  ]);
4536
- return ts(ft({ locale: r }, n));
4537
- }, ss = (e = {}) => {
4514
+ return Ji(ut({ locale: r }, n));
4515
+ }, ts = (e = {}) => {
4538
4516
  var t = e, {
4539
4517
  locale: r = W()
4540
- } = t, n = oe(t, [
4518
+ } = t, n = se(t, [
4541
4519
  "locale"
4542
4520
  ]);
4543
- return rs(ft({ locale: r }, n));
4544
- }, os = Me(
4521
+ return Yi(ut({ locale: r }, n));
4522
+ }, rs = Le(
4545
4523
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4546
- (e, t = W()) => new Li(e, t, ne().formats, {
4547
- ignoreTag: ne().ignoreTag
4524
+ (e, t = W()) => new Ai(e, t, re().formats, {
4525
+ ignoreTag: re().ignoreTag
4548
4526
  })
4549
- ), as = (e, t = {}) => {
4527
+ ), ns = (e, t = {}) => {
4550
4528
  var r, n, i, s;
4551
4529
  let a = t;
4552
4530
  typeof e == "object" && (a = e, e = a.id);
@@ -4559,9 +4537,9 @@ const fe = (e, t) => {
4559
4537
  throw new Error(
4560
4538
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4561
4539
  );
4562
- let h = Sr(e, l);
4540
+ let h = vr(e, l);
4563
4541
  if (!h)
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;
4542
+ h = (s = (i = (n = (r = re()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
4565
4543
  else if (typeof h != "string")
4566
4544
  return console.warn(
4567
4545
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -4570,7 +4548,7 @@ const fe = (e, t) => {
4570
4548
  return h;
4571
4549
  let f = h;
4572
4550
  try {
4573
- f = os(h, l).format(o);
4551
+ f = rs(h, l).format(o);
4574
4552
  } catch (c) {
4575
4553
  c instanceof Error && console.warn(
4576
4554
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4578,16 +4556,16 @@ const fe = (e, t) => {
4578
4556
  );
4579
4557
  }
4580
4558
  return f;
4581
- }, us = (e, t) => ss(t).format(e), ls = (e, t) => is(t).format(e), hs = (e, t) => ns(t).format(e), cs = (e, t = W()) => Sr(e, t), fs = ie([se, me], () => as);
4582
- ie([se], () => us);
4583
- ie([se], () => ls);
4584
- ie([se], () => hs);
4585
- ie([se, me], () => cs);
4586
- window.emWidgets = { topic: Hn };
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)), ds = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4588
- function Ws(e, t) {
4559
+ }, is = (e, t) => ts(t).format(e), ss = (e, t) => es(t).format(e), os = (e, t) => Ki(t).format(e), as = (e, t = W()) => vr(e, t), us = ne([ie, pe], () => ns);
4560
+ ne([ie], () => is);
4561
+ ne([ie], () => ss);
4562
+ ne([ie], () => os);
4563
+ ne([ie, pe], () => as);
4564
+ window.emWidgets = { topic: En };
4565
+ const Hr = (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)), ls = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4566
+ function js(e, t) {
4589
4567
  const r = window.navigator.userAgent;
4590
- return Ir(r) ? t = e.filter((n) => {
4568
+ return Hr(r) ? t = e.filter((n) => {
4591
4569
  if (n.gameModel && (n.gameModel.platform.includes("iPad") || n.gameModel.platform.includes("iPhone") || n.gameModel.platform.includes("Android")))
4592
4570
  return n;
4593
4571
  }) : t = e.filter((n) => {
@@ -4595,7 +4573,7 @@ function Ws(e, t) {
4595
4573
  return n;
4596
4574
  }), t;
4597
4575
  }
4598
- function zs(e, t) {
4576
+ function ks(e, t) {
4599
4577
  return new Promise((r, n) => {
4600
4578
  const i = new Headers();
4601
4579
  i.append("X-SessionID", t);
@@ -4606,13 +4584,13 @@ function zs(e, t) {
4606
4584
  fetch(`${e}/v1/player/session/player`, s).then((a) => a.json()).then((a) => r(a)).catch((a) => n(a));
4607
4585
  });
4608
4586
  }
4609
- function ps(e, t) {
4587
+ function hs(e, t) {
4610
4588
  if (e) {
4611
4589
  const r = document.createElement("style");
4612
4590
  r.innerHTML = t, e.appendChild(r);
4613
4591
  }
4614
4592
  }
4615
- function ms(e, t) {
4593
+ function cs(e, t) {
4616
4594
  const r = new URL(t);
4617
4595
  fetch(r.href).then((n) => n.text()).then((n) => {
4618
4596
  const i = document.createElement("style");
@@ -4621,7 +4599,7 @@ function ms(e, t) {
4621
4599
  console.error("There was an error while trying to load client styling from URL", n);
4622
4600
  });
4623
4601
  }
4624
- function bs(e, t, r) {
4602
+ function fs(e, t, r) {
4625
4603
  if (window.emMessageBus) {
4626
4604
  const n = document.createElement("style");
4627
4605
  window.emMessageBus.subscribe(t, (i) => {
@@ -4629,13 +4607,13 @@ function bs(e, t, r) {
4629
4607
  });
4630
4608
  }
4631
4609
  }
4632
- function Dt(e, t) {
4633
- Hr(e, t);
4610
+ function Nt(e, t) {
4611
+ Er(e, t);
4634
4612
  }
4635
- function ys(e) {
4636
- se.set(e);
4613
+ function ds(e) {
4614
+ ie.set(e);
4637
4615
  }
4638
- const Ut = {
4616
+ const Mt = {
4639
4617
  en: {
4640
4618
  error: "500 Error - Internal Server Error"
4641
4619
  },
@@ -4667,7 +4645,7 @@ if (typeof window < "u") {
4667
4645
  }
4668
4646
  };
4669
4647
  };
4670
- customElements.define = e(customElements.define), import("./CasinoCalendarDailyDetails-BvbgM2tY.js").then(({ default: t }) => {
4648
+ customElements.define = e(customElements.define), import("./CasinoCalendarDailyDetails-BZxw5rrd.js").then(({ default: t }) => {
4671
4649
  !customElements.get("casino-calendar-daily-details") && customElements.define("casino-calendar-daily-details", t.element);
4672
4650
  });
4673
4651
  }
@@ -4683,74 +4661,74 @@ if (typeof window < "u") {
4683
4661
  }
4684
4662
  };
4685
4663
  };
4686
- customElements.define = e(customElements.define), import("./CasinoCalendarDailyItem-DO4dUNpH.js").then(({ default: t }) => {
4664
+ customElements.define = e(customElements.define), import("./CasinoCalendarDailyItem-DAH0pKrw.js").then(({ default: t }) => {
4687
4665
  !customElements.get("casino-calendar-daily-item") && customElements.define("casino-calendar-daily-item", t.element);
4688
4666
  });
4689
4667
  }
4690
- function gs(e) {
4691
- Ur(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
4668
+ function ps(e) {
4669
+ Nr(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
4692
4670
  }.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)}}`);
4693
4671
  }
4694
- function Gt(e, t, r) {
4672
+ function Rt(e, t, r) {
4695
4673
  const n = e.slice();
4696
4674
  return n[25] = t[r], n[27] = r, n;
4697
4675
  }
4698
- function _s(e) {
4699
- let t, r, n, i = yt(
4676
+ function ms(e) {
4677
+ let t, r, n, i = dt(
4700
4678
  /*calendarCollections*/
4701
4679
  e[6]
4702
4680
  ), s = [];
4703
4681
  for (let o = 0; o < i.length; o += 1)
4704
- s[o] = Ft(Gt(e, i, o));
4682
+ s[o] = $t(Rt(e, i, o));
4705
4683
  let a = (
4706
4684
  /*calendarModalOpened*/
4707
- e[11] == !0 && jt(e)
4685
+ e[11] == !0 && Dt(e)
4708
4686
  );
4709
4687
  return {
4710
4688
  c() {
4711
- t = M("div");
4689
+ t = N("div");
4712
4690
  for (let o = 0; o < s.length; o += 1)
4713
4691
  s[o].c();
4714
- r = kr(), a && a.c(), k(t, "class", n = "CasinoCalendarItem " + /*mobileView*/
4692
+ r = Dr(), a && a.c(), k(t, "class", n = "CasinoCalendarItem " + /*mobileView*/
4715
4693
  (e[10] ? "Mobile" : "") + " svelte-61avp5");
4716
4694
  },
4717
4695
  m(o, l) {
4718
4696
  X(o, t, l);
4719
4697
  for (let u = 0; u < s.length; u += 1)
4720
4698
  s[u] && s[u].m(t, null);
4721
- pe(t, r), a && a.m(t, null);
4699
+ de(t, r), a && a.m(t, null);
4722
4700
  },
4723
4701
  p(o, l) {
4724
4702
  if (l & /*calendarCollections, lang, clientstyling, clientstylingurl, mbsource, translationurl*/
4725
4703
  95) {
4726
- i = yt(
4704
+ i = dt(
4727
4705
  /*calendarCollections*/
4728
4706
  o[6]
4729
4707
  );
4730
4708
  let u;
4731
4709
  for (u = 0; u < i.length; u += 1) {
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));
4710
+ const h = Rt(o, i, u);
4711
+ s[u] ? s[u].p(h, l) : (s[u] = $t(h), s[u].c(), s[u].m(t, r));
4734
4712
  }
4735
4713
  for (; u < s.length; u += 1)
4736
4714
  s[u].d(1);
4737
4715
  s.length = i.length;
4738
4716
  }
4739
4717
  /*calendarModalOpened*/
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*/
4718
+ o[11] == !0 ? a ? a.p(o, l) : (a = Dt(o), a.c(), a.m(t, null)) : a && (a.d(1), a = null), l & /*mobileView*/
4741
4719
  1024 && n !== (n = "CasinoCalendarItem " + /*mobileView*/
4742
4720
  (o[10] ? "Mobile" : "") + " svelte-61avp5") && k(t, "class", n);
4743
4721
  },
4744
4722
  d(o) {
4745
- o && R(t), Fr(s, o), a && a.d();
4723
+ o && R(t), Rr(s, o), a && a.d();
4746
4724
  }
4747
4725
  };
4748
4726
  }
4749
- function vs(e) {
4727
+ function bs(e) {
4750
4728
  let t;
4751
4729
  return {
4752
4730
  c() {
4753
- t = M("div"), k(t, "class", "LoadingSpinner svelte-61avp5");
4731
+ t = N("div"), k(t, "class", "LoadingSpinner svelte-61avp5");
4754
4732
  },
4755
4733
  m(r, n) {
4756
4734
  X(r, t, n);
@@ -4761,68 +4739,68 @@ function vs(e) {
4761
4739
  }
4762
4740
  };
4763
4741
  }
4764
- function Es(e) {
4742
+ function ys(e) {
4765
4743
  let t, r = (
4766
4744
  /*$_*/
4767
4745
  e[12]("error") + ""
4768
4746
  ), n;
4769
4747
  return {
4770
4748
  c() {
4771
- t = M("p"), n = at(r), k(t, "class", "SearchLoading svelte-61avp5");
4749
+ t = N("p"), n = st(r), k(t, "class", "SearchLoading svelte-61avp5");
4772
4750
  },
4773
4751
  m(i, s) {
4774
- X(i, t, s), pe(t, n);
4752
+ X(i, t, s), de(t, n);
4775
4753
  },
4776
4754
  p(i, s) {
4777
4755
  s & /*$_*/
4778
4756
  4096 && r !== (r = /*$_*/
4779
- i[12]("error") + "") && Xr(n, r);
4757
+ i[12]("error") + "") && Gr(n, r);
4780
4758
  },
4781
4759
  d(i) {
4782
4760
  i && R(t);
4783
4761
  }
4784
4762
  };
4785
4763
  }
4786
- function Ft(e) {
4764
+ function $t(e) {
4787
4765
  let t, r, n, i, s, a;
4788
4766
  return {
4789
4767
  c() {
4790
- t = M("casino-calendar-daily-item"), b(t, "dailybackground", r = /*dailyCalendarData*/
4791
- e[25].dailyBackground), b(t, "dailyicon", n = /*dailyCalendarData*/
4792
- e[25].dailyIcon), b(t, "dailyday", i = /*dailyCalendarData*/
4793
- e[25].dailyDay), b(t, "dailydescription", s = /*dailyCalendarData*/
4794
- e[25].dailyDescription), b(t, "dailybuttontitle", a = /*dailyCalendarData*/
4795
- e[25].dailyButtonTitle), b(
4768
+ t = N("casino-calendar-daily-item"), y(t, "dailybackground", r = /*dailyCalendarData*/
4769
+ e[25].dailyBackground), y(t, "dailyicon", n = /*dailyCalendarData*/
4770
+ e[25].dailyIcon), y(t, "dailyday", i = /*dailyCalendarData*/
4771
+ e[25].dailyDay), y(t, "dailydescription", s = /*dailyCalendarData*/
4772
+ e[25].dailyDescription), y(t, "dailybuttontitle", a = /*dailyCalendarData*/
4773
+ e[25].dailyButtonTitle), y(
4796
4774
  t,
4797
4775
  "index",
4798
4776
  /*index*/
4799
4777
  e[27]
4800
- ), b(
4778
+ ), y(
4801
4779
  t,
4802
4780
  "lang",
4803
4781
  /*lang*/
4804
4782
  e[0]
4805
- ), b(
4783
+ ), y(
4806
4784
  t,
4807
4785
  "clientstyling",
4808
4786
  /*clientstyling*/
4809
4787
  e[1]
4810
- ), b(
4788
+ ), y(
4811
4789
  t,
4812
4790
  "clientstylingurl",
4813
4791
  /*clientstylingurl*/
4814
4792
  e[2]
4815
- ), b(
4793
+ ), y(
4816
4794
  t,
4817
4795
  "mbsource",
4818
4796
  /*mbsource*/
4819
4797
  e[4]
4820
- ), b(
4798
+ ), y(
4821
4799
  t,
4822
4800
  "translationurl",
4823
4801
  /*translationurl*/
4824
4802
  e[3]
4825
- ), b(t, "class", "svelte-61avp5");
4803
+ ), y(t, "class", "svelte-61avp5");
4826
4804
  },
4827
4805
  m(o, l) {
4828
4806
  X(o, t, l);
@@ -4830,40 +4808,40 @@ function Ft(e) {
4830
4808
  p(o, l) {
4831
4809
  l & /*calendarCollections*/
4832
4810
  64 && r !== (r = /*dailyCalendarData*/
4833
- o[25].dailyBackground) && b(t, "dailybackground", r), l & /*calendarCollections*/
4811
+ o[25].dailyBackground) && y(t, "dailybackground", r), l & /*calendarCollections*/
4834
4812
  64 && n !== (n = /*dailyCalendarData*/
4835
- o[25].dailyIcon) && b(t, "dailyicon", n), l & /*calendarCollections*/
4813
+ o[25].dailyIcon) && y(t, "dailyicon", n), l & /*calendarCollections*/
4836
4814
  64 && i !== (i = /*dailyCalendarData*/
4837
- o[25].dailyDay) && b(t, "dailyday", i), l & /*calendarCollections*/
4815
+ o[25].dailyDay) && y(t, "dailyday", i), l & /*calendarCollections*/
4838
4816
  64 && s !== (s = /*dailyCalendarData*/
4839
- o[25].dailyDescription) && b(t, "dailydescription", s), l & /*calendarCollections*/
4817
+ o[25].dailyDescription) && y(t, "dailydescription", s), l & /*calendarCollections*/
4840
4818
  64 && a !== (a = /*dailyCalendarData*/
4841
- o[25].dailyButtonTitle) && b(t, "dailybuttontitle", a), l & /*lang*/
4842
- 1 && b(
4819
+ o[25].dailyButtonTitle) && y(t, "dailybuttontitle", a), l & /*lang*/
4820
+ 1 && y(
4843
4821
  t,
4844
4822
  "lang",
4845
4823
  /*lang*/
4846
4824
  o[0]
4847
4825
  ), l & /*clientstyling*/
4848
- 2 && b(
4826
+ 2 && y(
4849
4827
  t,
4850
4828
  "clientstyling",
4851
4829
  /*clientstyling*/
4852
4830
  o[1]
4853
4831
  ), l & /*clientstylingurl*/
4854
- 4 && b(
4832
+ 4 && y(
4855
4833
  t,
4856
4834
  "clientstylingurl",
4857
4835
  /*clientstylingurl*/
4858
4836
  o[2]
4859
4837
  ), l & /*mbsource*/
4860
- 16 && b(
4838
+ 16 && y(
4861
4839
  t,
4862
4840
  "mbsource",
4863
4841
  /*mbsource*/
4864
4842
  o[4]
4865
4843
  ), l & /*translationurl*/
4866
- 8 && b(
4844
+ 8 && y(
4867
4845
  t,
4868
4846
  "translationurl",
4869
4847
  /*translationurl*/
@@ -4875,63 +4853,63 @@ function Ft(e) {
4875
4853
  }
4876
4854
  };
4877
4855
  }
4878
- function jt(e) {
4856
+ function Dt(e) {
4879
4857
  let t, r, n, i, s, a, o, l;
4880
4858
  return {
4881
4859
  c() {
4882
- t = M("div"), r = M("casino-calendar-daily-details"), b(r, "dailybackground", n = /*calendarCollections*/
4860
+ t = N("div"), r = N("casino-calendar-daily-details"), y(r, "dailybackground", n = /*calendarCollections*/
4883
4861
  e[6][
4884
4862
  /*selectedIndex*/
4885
4863
  e[7]
4886
- ].dailyBackground), b(r, "dailybuttontitle", i = /*calendarCollections*/
4864
+ ].dailyBackground), y(r, "dailybuttontitle", i = /*calendarCollections*/
4887
4865
  e[6][
4888
4866
  /*selectedIndex*/
4889
4867
  e[7]
4890
- ].dailyButtonTitle), b(r, "dailyday", s = /*calendarCollections*/
4868
+ ].dailyButtonTitle), y(r, "dailyday", s = /*calendarCollections*/
4891
4869
  e[6][
4892
4870
  /*selectedIndex*/
4893
4871
  e[7]
4894
- ].dailyDay), b(r, "dailydescription", a = /*calendarCollections*/
4872
+ ].dailyDay), y(r, "dailydescription", a = /*calendarCollections*/
4895
4873
  e[6][
4896
4874
  /*selectedIndex*/
4897
4875
  e[7]
4898
- ].dailyDescription), b(r, "dailyicon", o = /*calendarCollections*/
4876
+ ].dailyDescription), y(r, "dailyicon", o = /*calendarCollections*/
4899
4877
  e[6][
4900
4878
  /*selectedIndex*/
4901
4879
  e[7]
4902
- ].dailyIcon), b(r, "dailytitle", l = /*calendarCollections*/
4880
+ ].dailyIcon), y(r, "dailytitle", l = /*calendarCollections*/
4903
4881
  e[6][
4904
4882
  /*selectedIndex*/
4905
4883
  e[7]
4906
- ].dailyTitle), b(
4884
+ ].dailyTitle), y(
4907
4885
  r,
4908
4886
  "lang",
4909
4887
  /*lang*/
4910
4888
  e[0]
4911
- ), b(
4889
+ ), y(
4912
4890
  r,
4913
4891
  "clientstyling",
4914
4892
  /*clientstyling*/
4915
4893
  e[1]
4916
- ), b(
4894
+ ), y(
4917
4895
  r,
4918
4896
  "clientstylingurl",
4919
4897
  /*clientstylingurl*/
4920
4898
  e[2]
4921
- ), b(
4899
+ ), y(
4922
4900
  r,
4923
4901
  "mbsource",
4924
4902
  /*mbsource*/
4925
4903
  e[4]
4926
- ), b(
4904
+ ), y(
4927
4905
  r,
4928
4906
  "translationurl",
4929
4907
  /*translationurl*/
4930
4908
  e[3]
4931
- ), b(r, "class", "svelte-61avp5"), k(t, "class", "CalendarDetailsWrapper svelte-61avp5");
4909
+ ), y(r, "class", "svelte-61avp5"), k(t, "class", "CalendarDetailsWrapper svelte-61avp5");
4932
4910
  },
4933
4911
  m(u, h) {
4934
- X(u, t, h), pe(t, r);
4912
+ X(u, t, h), de(t, r);
4935
4913
  },
4936
4914
  p(u, h) {
4937
4915
  h & /*calendarCollections, selectedIndex*/
@@ -4939,57 +4917,57 @@ function jt(e) {
4939
4917
  u[6][
4940
4918
  /*selectedIndex*/
4941
4919
  u[7]
4942
- ].dailyBackground) && b(r, "dailybackground", n), h & /*calendarCollections, selectedIndex*/
4920
+ ].dailyBackground) && y(r, "dailybackground", n), h & /*calendarCollections, selectedIndex*/
4943
4921
  192 && i !== (i = /*calendarCollections*/
4944
4922
  u[6][
4945
4923
  /*selectedIndex*/
4946
4924
  u[7]
4947
- ].dailyButtonTitle) && b(r, "dailybuttontitle", i), h & /*calendarCollections, selectedIndex*/
4925
+ ].dailyButtonTitle) && y(r, "dailybuttontitle", i), h & /*calendarCollections, selectedIndex*/
4948
4926
  192 && s !== (s = /*calendarCollections*/
4949
4927
  u[6][
4950
4928
  /*selectedIndex*/
4951
4929
  u[7]
4952
- ].dailyDay) && b(r, "dailyday", s), h & /*calendarCollections, selectedIndex*/
4930
+ ].dailyDay) && y(r, "dailyday", s), h & /*calendarCollections, selectedIndex*/
4953
4931
  192 && a !== (a = /*calendarCollections*/
4954
4932
  u[6][
4955
4933
  /*selectedIndex*/
4956
4934
  u[7]
4957
- ].dailyDescription) && b(r, "dailydescription", a), h & /*calendarCollections, selectedIndex*/
4935
+ ].dailyDescription) && y(r, "dailydescription", a), h & /*calendarCollections, selectedIndex*/
4958
4936
  192 && o !== (o = /*calendarCollections*/
4959
4937
  u[6][
4960
4938
  /*selectedIndex*/
4961
4939
  u[7]
4962
- ].dailyIcon) && b(r, "dailyicon", o), h & /*calendarCollections, selectedIndex*/
4940
+ ].dailyIcon) && y(r, "dailyicon", o), h & /*calendarCollections, selectedIndex*/
4963
4941
  192 && l !== (l = /*calendarCollections*/
4964
4942
  u[6][
4965
4943
  /*selectedIndex*/
4966
4944
  u[7]
4967
- ].dailyTitle) && b(r, "dailytitle", l), h & /*lang*/
4968
- 1 && b(
4945
+ ].dailyTitle) && y(r, "dailytitle", l), h & /*lang*/
4946
+ 1 && y(
4969
4947
  r,
4970
4948
  "lang",
4971
4949
  /*lang*/
4972
4950
  u[0]
4973
4951
  ), h & /*clientstyling*/
4974
- 2 && b(
4952
+ 2 && y(
4975
4953
  r,
4976
4954
  "clientstyling",
4977
4955
  /*clientstyling*/
4978
4956
  u[1]
4979
4957
  ), h & /*clientstylingurl*/
4980
- 4 && b(
4958
+ 4 && y(
4981
4959
  r,
4982
4960
  "clientstylingurl",
4983
4961
  /*clientstylingurl*/
4984
4962
  u[2]
4985
4963
  ), h & /*mbsource*/
4986
- 16 && b(
4964
+ 16 && y(
4987
4965
  r,
4988
4966
  "mbsource",
4989
4967
  /*mbsource*/
4990
4968
  u[4]
4991
4969
  ), h & /*translationurl*/
4992
- 8 && b(
4970
+ 8 && y(
4993
4971
  r,
4994
4972
  "translationurl",
4995
4973
  /*translationurl*/
@@ -5001,29 +4979,29 @@ function jt(e) {
5001
4979
  }
5002
4980
  };
5003
4981
  }
5004
- function xs(e) {
4982
+ function gs(e) {
5005
4983
  let t;
5006
4984
  function r(s, a) {
5007
4985
  if (
5008
4986
  /*hasErrors*/
5009
4987
  s[9]
5010
4988
  )
5011
- return Es;
4989
+ return ys;
5012
4990
  if (
5013
4991
  /*isLoading*/
5014
4992
  s[8]
5015
4993
  )
5016
- return vs;
4994
+ return bs;
5017
4995
  if (
5018
4996
  /*calendarCollections*/
5019
4997
  s[6]?.length
5020
4998
  )
5021
- return _s;
4999
+ return ms;
5022
5000
  }
5023
5001
  let n = r(e), i = n && n(e);
5024
5002
  return {
5025
5003
  c() {
5026
- t = M("div"), i && i.c(), k(t, "class", "svelte-61avp5");
5004
+ t = N("div"), i && i.c(), k(t, "class", "svelte-61avp5");
5027
5005
  },
5028
5006
  m(s, a) {
5029
5007
  X(s, t, a), i && i.m(t, null), e[16](t);
@@ -5038,42 +5016,42 @@ function xs(e) {
5038
5016
  }
5039
5017
  };
5040
5018
  }
5041
- function ws(e, t, r) {
5019
+ function vs(e, t, r) {
5042
5020
  let n;
5043
- Rr(e, fs, (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
- ys(o);
5021
+ Ir(e, us, (b) => r(12, n = b));
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
+ ds(o);
5047
5025
  };
5048
- Object.keys(Ut).forEach((y) => {
5049
- Dt(y, Ut[y]);
5026
+ Object.keys(Mt).forEach((b) => {
5027
+ Nt(b, Mt[b]);
5050
5028
  });
5051
- const C = () => {
5052
- let y = h;
5053
- if (y)
5054
- return fetch(y).then((N) => N.json()).then((N) => {
5055
- Object.keys(N).forEach((F) => {
5056
- Dt(F, N[F]);
5029
+ const P = () => {
5030
+ let b = h;
5031
+ if (b)
5032
+ return fetch(b).then((M) => M.json()).then((M) => {
5033
+ Object.keys(M).forEach((F) => {
5034
+ Nt(F, M[F]);
5057
5035
  });
5058
- }).catch((N) => {
5059
- console.log(N);
5036
+ }).catch((M) => {
5037
+ console.log(M);
5060
5038
  });
5061
- }, w = () => {
5039
+ }, C = () => {
5062
5040
  r(8, m = !0);
5063
- let y = new URL(`${i}/${o}/daily-calendar`);
5064
- y.searchParams.append("userRoles", a), y.searchParams.append("env", s);
5065
- let N = ds(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) => {
5041
+ let b = new URL(`${i}/${o}/daily-calendar`);
5042
+ b.searchParams.append("userRoles", a), b.searchParams.append("env", s);
5043
+ let M = ls(H);
5044
+ M && (M === "PC" ? b.searchParams.append("device", "dk") : M === "iPad" || M === "iPhone" ? b.searchParams.append("device", "ios") : b.searchParams.append("device", "mtWeb")), fetch(b.href).then((F) => F.json()).then((F) => {
5067
5045
  r(6, p = F);
5068
5046
  }).catch((F) => {
5069
5047
  console.log(F), r(9, E = !0);
5070
5048
  }).finally(() => {
5071
5049
  r(8, m = !1);
5072
5050
  });
5073
- }, L = () => {
5074
- w();
5075
- }, I = (y) => {
5076
- y.data && y.data.type == "OpenCalendar" && (r(7, d = y.data.index), r(11, S = !0), window.postMessage(
5051
+ }, w = () => {
5052
+ C();
5053
+ }, I = (b) => {
5054
+ b.data && b.data.type == "OpenCalendar" && (r(7, d = b.data.index), r(11, S = !0), window.postMessage(
5077
5055
  {
5078
5056
  type: "ShowModal",
5079
5057
  selectedIndex: d,
@@ -5083,26 +5061,26 @@ function ws(e, t, r) {
5083
5061
  ), window.postMessage({
5084
5062
  type: "DailyEventsData",
5085
5063
  data: p[d]?.dailyEvents
5086
- })), y.data && y.data.type == "ModalClosed" && r(11, S = !1);
5064
+ })), b.data && b.data.type == "ModalClosed" && r(11, S = !1);
5087
5065
  };
5088
- Kr(() => (window.addEventListener("message", I, !1), Ir(H) && r(10, T = !0), () => {
5089
- window.emMessageBus && O && window.emMessageBus.unsubscribe("Casino.Style"), window.removeEventListener("message", I);
5066
+ Zr(() => (window.addEventListener("message", I, !1), Hr(H) && r(10, T = !0), () => {
5067
+ window.removeEventListener("message", I);
5090
5068
  }));
5091
- function z(y) {
5092
- Ve[y ? "unshift" : "push"](() => {
5093
- c = y, r(5, c);
5069
+ function L(b) {
5070
+ je[b ? "unshift" : "push"](() => {
5071
+ c = b, r(5, c);
5094
5072
  });
5095
5073
  }
5096
- return e.$$set = (y) => {
5097
- "cmsendpoint" in y && r(13, i = y.cmsendpoint), "env" in y && r(14, s = y.env), "userroles" in y && r(15, a = y.userroles), "lang" in y && r(0, o = y.lang), "clientstyling" in y && r(1, l = y.clientstyling), "clientstylingurl" in y && r(2, u = y.clientstylingurl), "translationurl" in y && r(3, h = y.translationurl), "mbsource" in y && r(4, f = y.mbsource);
5074
+ return e.$$set = (b) => {
5075
+ "cmsendpoint" in b && r(13, i = b.cmsendpoint), "env" in b && r(14, s = b.env), "userroles" in b && r(15, a = b.userroles), "lang" in b && r(0, o = b.lang), "clientstyling" in b && r(1, l = b.clientstyling), "clientstylingurl" in b && r(2, u = b.clientstylingurl), "translationurl" in b && r(3, h = b.translationurl), "mbsource" in b && r(4, f = b.mbsource);
5098
5076
  }, e.$$.update = () => {
5099
5077
  e.$$.dirty & /*cmsendpoint, lang, env, userroles*/
5100
- 57345 && i && o && s && a && L(), e.$$.dirty & /*clientstyling, customStylingContainer*/
5101
- 34 && l && c && ps(c, l), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
5102
- 36 && u && c && ms(c, u), e.$$.dirty & /*customStylingContainer, mbsource*/
5103
- 48 && c && bs(c, `${f}.Style`), e.$$.dirty & /*lang*/
5104
- 1 && o && B(), e.$$.dirty & /*lang, translationurl*/
5105
- 9 && o && h && C();
5078
+ 57345 && i && o && s && a && w(), e.$$.dirty & /*clientstyling, customStylingContainer*/
5079
+ 34 && l && c && hs(c, l), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
5080
+ 36 && u && c && cs(c, u), e.$$.dirty & /*customStylingContainer, mbsource*/
5081
+ 48 && c && fs(c, `${f}.Style`), e.$$.dirty & /*lang*/
5082
+ 1 && o && O(), e.$$.dirty & /*lang, translationurl*/
5083
+ 9 && o && h && P();
5106
5084
  }, [
5107
5085
  o,
5108
5086
  l,
@@ -5120,17 +5098,17 @@ function ws(e, t, r) {
5120
5098
  i,
5121
5099
  s,
5122
5100
  a,
5123
- z
5101
+ L
5124
5102
  ];
5125
5103
  }
5126
- class Cr extends hn {
5104
+ class Pr extends sn {
5127
5105
  constructor(t) {
5128
- super(), un(
5106
+ super(), rn(
5129
5107
  this,
5130
5108
  t,
5131
- ws,
5132
- xs,
5133
- Vt,
5109
+ vs,
5110
+ gs,
5111
+ Gt,
5134
5112
  {
5135
5113
  cmsendpoint: 13,
5136
5114
  env: 14,
@@ -5141,7 +5119,7 @@ class Cr extends hn {
5141
5119
  translationurl: 3,
5142
5120
  mbsource: 4
5143
5121
  },
5144
- gs
5122
+ ps
5145
5123
  );
5146
5124
  }
5147
5125
  get cmsendpoint() {
@@ -5193,72 +5171,72 @@ class Cr extends hn {
5193
5171
  this.$$set({ mbsource: t }), $();
5194
5172
  }
5195
5173
  }
5196
- ln(Cr, { cmsendpoint: {}, env: {}, userroles: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
5197
- const Zs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5174
+ nn(Pr, { cmsendpoint: {}, env: {}, userroles: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
5175
+ const Vs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5198
5176
  __proto__: null,
5199
- default: Cr
5177
+ default: Pr
5200
5178
  }, Symbol.toStringTag, { value: "Module" }));
5201
5179
  export {
5202
- se as $,
5203
- pt as A,
5204
- Bs as B,
5205
- Ps as C,
5206
- Hs as D,
5207
- Xr as E,
5208
- Fr as F,
5209
- A as G,
5210
- Ss as H,
5211
- fs as I,
5212
- jr as J,
5213
- Os as K,
5214
- Ls as L,
5215
- Rs as M,
5216
- Us as N,
5217
- ds as O,
5218
- b as P,
5219
- As as Q,
5180
+ ie as $,
5181
+ ht as A,
5182
+ Dr as B,
5183
+ je as C,
5184
+ _s as D,
5185
+ $r as E,
5186
+ Hs as F,
5187
+ As as G,
5188
+ Cs as H,
5189
+ hs as I,
5190
+ cs as J,
5191
+ fs as K,
5192
+ nn as L,
5193
+ us as M,
5194
+ ls as N,
5195
+ y as O,
5196
+ Ts as P,
5197
+ Ms as Q,
5220
5198
  V as R,
5221
- hn as S,
5222
- Is as T,
5223
- me as U,
5224
- Cs as V,
5225
- $s as W,
5226
- zs as X,
5227
- Ns as Y,
5228
- Ws as Z,
5229
- Xs as _,
5230
- Hr as a,
5231
- Vs as a0,
5232
- Ds as a1,
5233
- Lr as a2,
5234
- Be as a3,
5235
- Ms as a4,
5236
- ks as a5,
5237
- de as a6,
5238
- Zs as a7,
5239
- Ur as b,
5240
- ln as c,
5241
- X as d,
5242
- M as e,
5199
+ sn as S,
5200
+ Ps as T,
5201
+ pe as U,
5202
+ Bs as V,
5203
+ Ls as W,
5204
+ ks as X,
5205
+ Is as Y,
5206
+ js as Z,
5207
+ Fs as _,
5208
+ Er as a,
5209
+ Gs as a0,
5210
+ Ns as a1,
5211
+ Br as a2,
5212
+ Us as a3,
5213
+ He as a4,
5214
+ Os as a5,
5215
+ fe as a6,
5216
+ Vs as a7,
5217
+ Nr as b,
5218
+ Zt as c,
5219
+ R as d,
5220
+ $s as e,
5243
5221
  $ as f,
5244
- Fs as g,
5245
- Yt as h,
5246
- un as i,
5247
- R as j,
5248
- Rr as k,
5249
- ms as l,
5250
- bs as m,
5251
- Gs as n,
5252
- Kr as o,
5253
- Ir as p,
5254
- Ve as q,
5255
- ps as r,
5256
- Vt as s,
5257
- js as t,
5258
- Ts as u,
5259
- yt as v,
5260
- kr as w,
5261
- at as x,
5262
- k as y,
5263
- pe as z
5222
+ Rs as g,
5223
+ X as h,
5224
+ rn as i,
5225
+ N as j,
5226
+ Ir as k,
5227
+ Hr as l,
5228
+ Gr as m,
5229
+ A as n,
5230
+ Zr as o,
5231
+ de as p,
5232
+ st as q,
5233
+ k as r,
5234
+ Gt as s,
5235
+ Ds as t,
5236
+ Es as u,
5237
+ dt as v,
5238
+ Rr as w,
5239
+ ws as x,
5240
+ Ss as y,
5241
+ xs as z
5264
5242
  };