@everymatrix/casino-lobby 1.61.0 → 1.62.0

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 (120) hide show
  1. package/components/{CasinoCalendar-DoAbSivX.js → CasinoCalendar-Ds_auLbt.js} +772 -744
  2. package/components/{CasinoCalendar-m598e8c0.js → CasinoCalendar-DwNK-Krf.js} +725 -697
  3. package/components/CasinoCalendar-mfnJr7FR.cjs +22 -0
  4. package/components/{CasinoCalendarDailyDetails-DwcDf4x5.js → CasinoCalendarDailyDetails-Bsp_M9tm.js} +49 -49
  5. package/components/{CasinoCalendarDailyDetails-B-xYqIE0.js → CasinoCalendarDailyDetails-C_XI9wqh.js} +49 -49
  6. package/components/{CasinoCalendarDailyDetails-ihh2Fdl-.cjs → CasinoCalendarDailyDetails-CfPB55Pq.cjs} +1 -1
  7. package/components/{CasinoCalendarDailyItem-Jx2wAoY3.js → CasinoCalendarDailyItem-BZFRiT1-.js} +33 -33
  8. package/components/{CasinoCalendarDailyItem-CVcykkiO.cjs → CasinoCalendarDailyItem-DKNNV9h9.cjs} +1 -1
  9. package/components/{CasinoCalendarDailyItem-DD1zORXJ.js → CasinoCalendarDailyItem-DX4mmW--.js} +33 -33
  10. package/components/{CasinoCategoriesSlider-DE0uzQfF.js → CasinoCategoriesSlider-3nT06xt_.js} +70 -70
  11. package/components/CasinoCategoriesSlider-BcnId76H.cjs +1 -0
  12. package/components/{CasinoCategoriesSlider-DW81y1el.js → CasinoCategoriesSlider-BpGXCaMb.js} +71 -71
  13. package/components/{CasinoCollectionsProviders-CkxoIQMQ.js → CasinoCollectionsProviders-BGPURFbw.js} +44 -44
  14. package/components/{CasinoCollectionsProviders-tBs9i_s1.cjs → CasinoCollectionsProviders-By4Ga1uR.cjs} +1 -1
  15. package/components/{CasinoCollectionsProviders-FTsSIZe7.js → CasinoCollectionsProviders-Dk4psn1e.js} +65 -65
  16. package/components/{CasinoFavoritesSection-CKWkFYb4.js → CasinoFavoritesSection-Bc0fMYjF.js} +23 -23
  17. package/components/{CasinoFavoritesSection-MnxoGd6P.js → CasinoFavoritesSection-C0CsEcw_.js} +23 -23
  18. package/components/{CasinoFavoritesSection-CtF6Vrcg.cjs → CasinoFavoritesSection-vRmZpBaX.cjs} +1 -1
  19. package/components/CasinoFilter-CAtpk4a4.js +645 -0
  20. package/components/CasinoFilter-CtjgbEie.js +646 -0
  21. package/components/CasinoFilter-dn8i37bN.cjs +1 -0
  22. package/components/{CasinoGamePage-BhfZPeFB.cjs → CasinoGamePage-ChuDdD-6.cjs} +6 -6
  23. package/components/{CasinoGamePage-B8-ifO-z.js → CasinoGamePage-DJvIg2Lf.js} +742 -742
  24. package/components/{CasinoGamePage-CLMVY2d0.js → CasinoGamePage-JBZLEvnG.js} +743 -743
  25. package/components/CasinoGameThumbnail-DjAdZZBA.js +1883 -0
  26. package/components/CasinoGameThumbnail-DrQpg0EE.js +1867 -0
  27. package/components/CasinoGameThumbnail-Ue2ReDmO.cjs +38 -0
  28. package/components/{CasinoGamesCategorySection-CIfBLzjC.js → CasinoGamesCategorySection-Ch0WIANe.js} +1241 -1159
  29. package/components/CasinoGamesCategorySection-GOjPf7-0.cjs +1 -0
  30. package/components/CasinoGamesCategorySection-foSq_Gr6.js +3154 -0
  31. package/components/{CasinoJackpotBanner-CdD_15mU.js → CasinoJackpotBanner-B2CksgLI.js} +110 -110
  32. package/components/{CasinoJackpotBanner-C8HGJTlE.cjs → CasinoJackpotBanner-B_eZxp_D.cjs} +1 -1
  33. package/components/{CasinoJackpotBanner-B3ZF9rcH.js → CasinoJackpotBanner-Iq9Ey3dk.js} +110 -110
  34. package/components/{CasinoLastPlayedSection-Dxbzb-4o.js → CasinoLastPlayedSection-Bp4Lsv3s.js} +46 -46
  35. package/components/{CasinoLastPlayedSection-BPD5poPp.js → CasinoLastPlayedSection-DbANdFuL.js} +46 -46
  36. package/components/{CasinoLastPlayedSection-BKNOgkbn.cjs → CasinoLastPlayedSection-cmf92qRb.cjs} +1 -1
  37. package/components/{CasinoLobby-Bntp7e5i.js → CasinoLobby-B8ucHOFp.js} +243 -184
  38. package/components/CasinoLobby-CAeLQ5BE.cjs +1 -0
  39. package/components/{CasinoLobby-6kkVRa0v.js → CasinoLobby-siRHhGuy.js} +243 -184
  40. package/components/{CasinoModal-CX70u0Ty.cjs → CasinoModal-DGa_AIvk.cjs} +1 -1
  41. package/components/{CasinoModal-QtSV_GhN.js → CasinoModal-Pt4nHM76.js} +43 -43
  42. package/components/{CasinoModal-bTxbu9d4.js → CasinoModal-e0s3ToYA.js} +43 -43
  43. package/components/{CasinoMostPlayedSection-mgY7J84H.cjs → CasinoMostPlayedSection-Cxmg0Bai.cjs} +1 -1
  44. package/components/{CasinoMostPlayedSection-B9_yeLMk.js → CasinoMostPlayedSection-Dk8rng9q.js} +44 -44
  45. package/components/{CasinoMostPlayedSection-D-VpqDyh.js → CasinoMostPlayedSection-DuO2XrE8.js} +44 -44
  46. package/components/{CasinoMyGames-CoK6Wgxp.cjs → CasinoMyGames-BXV5DJsV.cjs} +1 -1
  47. package/components/{CasinoMyGames-BQtk1EEq.js → CasinoMyGames-DDhJiodD.js} +51 -51
  48. package/components/{CasinoMyGames-BEUz5puH.js → CasinoMyGames-ZgZazIms.js} +47 -47
  49. package/components/CasinoPage-BfG57-mo.js +4071 -0
  50. package/components/CasinoPage-DlenCL5e.js +4052 -0
  51. package/components/CasinoPage-QkYfyrIK.cjs +1 -0
  52. package/components/{CasinoRandomGame-C7o1QBcd.js → CasinoRandomGame-C-KByRhW.js} +64 -64
  53. package/components/{CasinoRandomGame-DQXmOLue.js → CasinoRandomGame-CFxey-Hj.js} +66 -66
  54. package/components/{CasinoRandomGame-CpRxEK7p.cjs → CasinoRandomGame-Cs9kjDxc.cjs} +1 -1
  55. package/components/{CasinoSearch-DTglx2jN.js → CasinoSearch-BjnGir-z.js} +69 -69
  56. package/components/{CasinoSearch-D8oEWBOH.cjs → CasinoSearch-Ci-NvpMW.cjs} +1 -1
  57. package/components/{CasinoSearch-CTxffz7Z.js → CasinoSearch-Cwi_srKc.js} +69 -69
  58. package/components/{CasinoSlider-pPfml1-U.js → CasinoSlider-39QtmWWi.js} +89 -89
  59. package/components/{CasinoSlider-CGpDul3G.js → CasinoSlider-C7tccz8y.js} +80 -80
  60. package/components/{CasinoSlider-BU163_5n.cjs → CasinoSlider-DrdLTNh9.cjs} +1 -1
  61. package/components/{CasinoSort-BVq-FyEW.cjs → CasinoSort-Big21575.cjs} +1 -1
  62. package/components/{CasinoSort-DGdM4QXv.js → CasinoSort-BvuV6OEx.js} +103 -104
  63. package/components/{CasinoSort-BSaxbC32.js → CasinoSort-DgtkEGDb.js} +111 -110
  64. package/components/{CasinoWinners-i5RqXY4N.js → CasinoWinners-CAaxaJlt.js} +151 -151
  65. package/components/{CasinoWinners-BwwKfUuN.js → CasinoWinners-CUHNrZzd.js} +137 -137
  66. package/components/{CasinoWinners-CtwqFnag.cjs → CasinoWinners-YGc-x05i.cjs} +1 -1
  67. package/components/{GeneralAnimationLoading-CDwioZhT.cjs → GeneralAnimationLoading-DS00gkfg.cjs} +1 -1
  68. package/components/{GeneralAnimationLoading-BszAoL3H.js → GeneralAnimationLoading-DgYbDns-.js} +18 -18
  69. package/components/{GeneralAnimationLoading-Xq-D41Fg.js → GeneralAnimationLoading-GRiNTyhV.js} +18 -18
  70. package/es2015/casino-lobby.cjs +1 -1
  71. package/es2015/casino-lobby.js +1 -1
  72. package/esnext/casino-lobby.js +1 -1
  73. package/package.json +1 -1
  74. package/stencil/{casino-play-random-game-BUvMKyaw.js → casino-play-random-game-BXqbLgi6.js} +2 -2
  75. package/stencil/{casino-play-random-game-6EpPs13y.js → casino-play-random-game-C7EJAFXg.js} +2 -2
  76. package/stencil/{casino-play-random-game-IjQER553.cjs → casino-play-random-game-DjzHFI4S.cjs} +2 -2
  77. package/stencil/index-ab3202d6-CMLJROQf.cjs +1 -0
  78. package/stencil/index-ab3202d6-CqQYxn8J.js +575 -0
  79. package/stencil/index-ab3202d6-D5caeC50.js +559 -0
  80. package/stencil/index-b2193545-CJX9lIo2.js +519 -0
  81. package/stencil/index-b2193545-CbB5TWd2.js +503 -0
  82. package/stencil/index-b2193545-DQd_Uk3t.cjs +1 -0
  83. package/stencil/index-b7bbd57e-BO976FKE.js +534 -0
  84. package/stencil/index-b7bbd57e-CRts68dn.cjs +1 -0
  85. package/stencil/index-b7bbd57e-ChiHMF5W.js +550 -0
  86. package/stencil/{ui-image-38c3c15f--IPbitii.js → ui-image-38c3c15f-C4x7O9FA.js} +1 -1
  87. package/stencil/{ui-image-38c3c15f-Dv8v2u8d.cjs → ui-image-38c3c15f-DQqFo7p2.cjs} +1 -1
  88. package/stencil/{ui-image-38c3c15f-CQXMTl7T.js → ui-image-38c3c15f-DY2A0QkK.js} +1 -1
  89. package/stencil/{ui-image-DG3xEaHN.js → ui-image-CzWACXX6.js} +2 -2
  90. package/stencil/{ui-image-LuWVcxjH.cjs → ui-image-c5YAxRRi.cjs} +1 -1
  91. package/stencil/{ui-image-CV8AJ9cY.js → ui-image-shmNN3yX.js} +2 -2
  92. package/stencil/{ui-skeleton-6d1c12ae-C3POR2WV.cjs → ui-skeleton-6d1c12ae-C2t65ZQ6.cjs} +1 -1
  93. package/stencil/{ui-skeleton-6d1c12ae-f1sFu8zZ.js → ui-skeleton-6d1c12ae-CrQ3Yom_.js} +1 -1
  94. package/stencil/{ui-skeleton-6d1c12ae-4HBL8qol.js → ui-skeleton-6d1c12ae-D9cBvSa8.js} +1 -1
  95. package/stencil/{ui-skeleton-22AocHRT.js → ui-skeleton-BEBLuDwu.js} +2 -2
  96. package/stencil/{ui-skeleton-Di9b-pPK.cjs → ui-skeleton-D595e_7Y.cjs} +1 -1
  97. package/stencil/{ui-skeleton-CMD3xF0X.js → ui-skeleton-Z7IcB7dJ.js} +2 -2
  98. package/components/CasinoCalendar-CR3NqEmo.cjs +0 -22
  99. package/components/CasinoCategoriesSlider-BqUXbvm-.cjs +0 -1
  100. package/components/CasinoFilter-C_1U3dc9.cjs +0 -1
  101. package/components/CasinoFilter-Cs9ZMDdP.js +0 -633
  102. package/components/CasinoFilter-D80YfaXW.js +0 -632
  103. package/components/CasinoGameThumbnail-C3GiNGVC.js +0 -1084
  104. package/components/CasinoGameThumbnail-D6vWUaB6.js +0 -1068
  105. package/components/CasinoGameThumbnail-p0ydxgWU.cjs +0 -30
  106. package/components/CasinoGamesCategorySection-BfmPSDQ9.cjs +0 -1
  107. package/components/CasinoGamesCategorySection-o-CZJ4iD.js +0 -3070
  108. package/components/CasinoLobby-BfVpgZO6.cjs +0 -1
  109. package/components/CasinoPage-CO6a5Btu.cjs +0 -1
  110. package/components/CasinoPage-CiONVvV8.js +0 -3758
  111. package/components/CasinoPage-DOSD686t.js +0 -3755
  112. package/stencil/index-ab3202d6-9zuW-dLG.js +0 -575
  113. package/stencil/index-ab3202d6-CGVciVSL.js +0 -559
  114. package/stencil/index-ab3202d6-c7Vf1NJ1.cjs +0 -1
  115. package/stencil/index-b2193545-CGYrx6SV.js +0 -503
  116. package/stencil/index-b2193545-DU7jU8hT.cjs +0 -1
  117. package/stencil/index-b2193545-k_uiu1dU.js +0 -519
  118. package/stencil/index-b7bbd57e-BMsMsYAr.js +0 -550
  119. package/stencil/index-b7bbd57e-CPxyz2y0.js +0 -534
  120. package/stencil/index-b7bbd57e-CiQAmzc6.cjs +0 -1
@@ -1,7 +1,7 @@
1
1
  function A() {
2
2
  }
3
- const Ar = (e) => e;
4
- function Or(e, t) {
3
+ const Mr = (e) => e;
4
+ function Nr(e, t) {
5
5
  for (const r in t)
6
6
  e[r] = t[r];
7
7
  return (
@@ -9,29 +9,29 @@ function Or(e, t) {
9
9
  e
10
10
  );
11
11
  }
12
- function Gt(e) {
12
+ function kt(e) {
13
13
  return e();
14
14
  }
15
- function ht() {
15
+ function dt() {
16
16
  return /* @__PURE__ */ Object.create(null);
17
17
  }
18
18
  function V(e) {
19
- e.forEach(Gt);
19
+ e.forEach(kt);
20
20
  }
21
21
  function de(e) {
22
22
  return typeof e == "function";
23
23
  }
24
- function Ft(e, t) {
24
+ function Vt(e, t) {
25
25
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
26
26
  }
27
27
  let be;
28
- function Es(e, t) {
28
+ function Hs(e, t) {
29
29
  return e === t ? !0 : (be || (be = document.createElement("a")), be.href = t, e === be.href);
30
30
  }
31
- function Ir(e) {
31
+ function Rr(e) {
32
32
  return Object.keys(e).length === 0;
33
33
  }
34
- function jt(e, ...t) {
34
+ function Xt(e, ...t) {
35
35
  if (e == null) {
36
36
  for (const n of t)
37
37
  n(void 0);
@@ -40,19 +40,19 @@ function jt(e, ...t) {
40
40
  const r = e.subscribe(...t);
41
41
  return r.unsubscribe ? () => r.unsubscribe() : r;
42
42
  }
43
- function Cr(e, t, r) {
44
- e.$$.on_destroy.push(jt(t, r));
43
+ function $r(e, t, r) {
44
+ e.$$.on_destroy.push(Xt(t, r));
45
45
  }
46
- function xs(e, t, r, n) {
46
+ function Bs(e, t, r, n) {
47
47
  if (e) {
48
- const i = kt(e, t, r, n);
48
+ const i = Wt(e, t, r, n);
49
49
  return e[0](i);
50
50
  }
51
51
  }
52
- function kt(e, t, r, n) {
53
- return e[1] && n ? Or(r.ctx.slice(), e[1](n(t))) : r.ctx;
52
+ function Wt(e, t, r, n) {
53
+ return e[1] && n ? Nr(r.ctx.slice(), e[1](n(t))) : r.ctx;
54
54
  }
55
- function ws(e, t, r, n) {
55
+ function Ps(e, t, r, n) {
56
56
  if (e[2] && n) {
57
57
  const i = e[2](n(r));
58
58
  if (t.dirty === void 0)
@@ -67,13 +67,13 @@ function ws(e, t, r, n) {
67
67
  }
68
68
  return t.dirty;
69
69
  }
70
- function Ss(e, t, r, n, i, s) {
70
+ function As(e, t, r, n, i, s) {
71
71
  if (i) {
72
- const a = kt(t, r, n, s);
72
+ const a = Wt(t, r, n, s);
73
73
  e.p(a, i);
74
74
  }
75
75
  }
76
- function Ts(e) {
76
+ function Os(e) {
77
77
  if (e.ctx.length > 32) {
78
78
  const t = [], r = e.ctx.length / 32;
79
79
  for (let n = 0; n < r; n++)
@@ -82,20 +82,20 @@ function Ts(e) {
82
82
  }
83
83
  return -1;
84
84
  }
85
- function Hs(e) {
85
+ function Is(e) {
86
86
  return e && de(e.destroy) ? e.destroy : A;
87
87
  }
88
- const Vt = typeof window < "u";
89
- let Lr = Vt ? () => window.performance.now() : () => Date.now(), it = Vt ? (e) => requestAnimationFrame(e) : A;
88
+ const zt = typeof window < "u";
89
+ let Dr = zt ? () => window.performance.now() : () => Date.now(), st = zt ? (e) => requestAnimationFrame(e) : A;
90
90
  const J = /* @__PURE__ */ new Set();
91
- function Xt(e) {
91
+ function Zt(e) {
92
92
  J.forEach((t) => {
93
93
  t.c(e) || (J.delete(t), t.f());
94
- }), J.size !== 0 && it(Xt);
94
+ }), J.size !== 0 && st(Zt);
95
95
  }
96
- function Nr(e) {
96
+ function Ur(e) {
97
97
  let t;
98
- return J.size === 0 && it(Xt), {
98
+ return J.size === 0 && st(Zt), {
99
99
  promise: new Promise((r) => {
100
100
  J.add(t = { c: e, f: r });
101
101
  }),
@@ -107,14 +107,14 @@ function Nr(e) {
107
107
  function pe(e, t) {
108
108
  e.appendChild(t);
109
109
  }
110
- function Mr(e, t, r) {
111
- const n = st(e);
110
+ function Gr(e, t, r) {
111
+ const n = ot(e);
112
112
  if (!n.getElementById(t)) {
113
- const i = N("style");
114
- i.id = t, i.textContent = r, Wt(n, i);
113
+ const i = M("style");
114
+ i.id = t, i.textContent = r, Qt(n, i);
115
115
  }
116
116
  }
117
- function st(e) {
117
+ function ot(e) {
118
118
  if (!e)
119
119
  return document;
120
120
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -124,11 +124,11 @@ function st(e) {
124
124
  t
125
125
  ) : e.ownerDocument;
126
126
  }
127
- function Rr(e) {
128
- const t = N("style");
129
- return t.textContent = "/* empty */", Wt(st(e), t), t.sheet;
127
+ function Fr(e) {
128
+ const t = M("style");
129
+ return t.textContent = "/* empty */", Qt(ot(e), t), t.sheet;
130
130
  }
131
- function Wt(e, t) {
131
+ function Qt(e, t) {
132
132
  return pe(
133
133
  /** @type {Document} */
134
134
  e.head || e,
@@ -141,29 +141,29 @@ function X(e, t, r) {
141
141
  function R(e) {
142
142
  e.parentNode && e.parentNode.removeChild(e);
143
143
  }
144
- function $r(e, t) {
144
+ function jr(e, t) {
145
145
  for (let r = 0; r < e.length; r += 1)
146
146
  e[r] && e[r].d(t);
147
147
  }
148
- function N(e) {
148
+ function M(e) {
149
149
  return document.createElement(e);
150
150
  }
151
- function Dr(e) {
151
+ function kr(e) {
152
152
  return document.createElementNS("http://www.w3.org/2000/svg", e);
153
153
  }
154
- function ot(e) {
154
+ function at(e) {
155
155
  return document.createTextNode(e);
156
156
  }
157
- function Ur() {
158
- return ot(" ");
157
+ function Vr() {
158
+ return at(" ");
159
159
  }
160
- function Ps() {
161
- return ot("");
160
+ function Cs() {
161
+ return at("");
162
162
  }
163
- function ct(e, t, r, n) {
163
+ function pt(e, t, r, n) {
164
164
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
165
165
  }
166
- function Bs(e) {
166
+ function Ls(e) {
167
167
  return function(t) {
168
168
  return t.stopPropagation(), e.call(this, t);
169
169
  };
@@ -175,21 +175,21 @@ function b(e, t, r) {
175
175
  const n = t.toLowerCase();
176
176
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : k(e, t, r);
177
177
  }
178
- function Gr(e) {
178
+ function Xr(e) {
179
179
  return Array.from(e.childNodes);
180
180
  }
181
- function Fr(e, t) {
181
+ function Wr(e, t) {
182
182
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
183
183
  t);
184
184
  }
185
- function As(e, t) {
185
+ function Ms(e, t) {
186
186
  e.value = t ?? "";
187
187
  }
188
- function Os(e, t, r, n) {
188
+ function Ns(e, t, r, n) {
189
189
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
190
190
  }
191
191
  let ye;
192
- function jr() {
192
+ function zr() {
193
193
  if (ye === void 0) {
194
194
  ye = !1;
195
195
  try {
@@ -200,16 +200,16 @@ function jr() {
200
200
  }
201
201
  return ye;
202
202
  }
203
- function Is(e, t) {
203
+ function Rs(e, t) {
204
204
  getComputedStyle(e).position === "static" && (e.style.position = "relative");
205
- const n = N("iframe");
205
+ const n = M("iframe");
206
206
  n.setAttribute(
207
207
  "style",
208
208
  "display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"
209
209
  ), n.setAttribute("aria-hidden", "true"), n.tabIndex = -1;
210
- const i = jr();
210
+ const i = zr();
211
211
  let s;
212
- return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", s = ct(
212
+ return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", s = pt(
213
213
  window,
214
214
  "message",
215
215
  /** @param {MessageEvent} event */
@@ -217,18 +217,18 @@ function Is(e, t) {
217
217
  a.source === n.contentWindow && t();
218
218
  }
219
219
  )) : (n.src = "about:blank", n.onload = () => {
220
- s = ct(n.contentWindow, "resize", t), t();
220
+ s = pt(n.contentWindow, "resize", t), t();
221
221
  }), pe(e, n), () => {
222
222
  (i || s && n.contentWindow) && s(), R(n);
223
223
  };
224
224
  }
225
- function Cs(e, t, r) {
225
+ function $s(e, t, r) {
226
226
  e.classList.toggle(t, !!r);
227
227
  }
228
- function kr(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
228
+ function Zr(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
229
229
  return new CustomEvent(e, { detail: t, bubbles: r, cancelable: n });
230
230
  }
231
- class Ls {
231
+ class Ds {
232
232
  /**
233
233
  * @private
234
234
  * @default false
@@ -259,10 +259,10 @@ class Ls {
259
259
  * @returns {void}
260
260
  */
261
261
  m(t, r, n = null) {
262
- this.e || (this.is_svg ? this.e = Dr(
262
+ this.e || (this.is_svg ? this.e = kr(
263
263
  /** @type {keyof SVGElementTagNameMap} */
264
264
  r.nodeName
265
- ) : this.e = N(
265
+ ) : this.e = M(
266
266
  /** @type {keyof HTMLElementTagNameMap} */
267
267
  r.nodeType === 11 ? "TEMPLATE" : r.nodeName
268
268
  ), this.t = r.tagName !== "TEMPLATE" ? r : (
@@ -298,7 +298,7 @@ class Ls {
298
298
  this.n.forEach(R);
299
299
  }
300
300
  }
301
- function Vr(e) {
301
+ function Qr(e) {
302
302
  const t = {};
303
303
  return e.childNodes.forEach(
304
304
  /** @param {Element} node */
@@ -309,17 +309,17 @@ function Vr(e) {
309
309
  }
310
310
  const Te = /* @__PURE__ */ new Map();
311
311
  let He = 0;
312
- function Xr(e) {
312
+ function qr(e) {
313
313
  let t = 5381, r = e.length;
314
314
  for (; r--; )
315
315
  t = (t << 5) - t ^ e.charCodeAt(r);
316
316
  return t >>> 0;
317
317
  }
318
- function Wr(e, t) {
319
- const r = { stylesheet: Rr(t), rules: {} };
318
+ function Jr(e, t) {
319
+ const r = { stylesheet: Fr(t), rules: {} };
320
320
  return Te.set(e, r), r;
321
321
  }
322
- function ft(e, t, r, n, i, s, a, o = 0) {
322
+ function mt(e, t, r, n, i, s, a, o = 0) {
323
323
  const l = 16.666 / n;
324
324
  let u = `{
325
325
  `;
@@ -329,20 +329,20 @@ function ft(e, t, r, n, i, s, a, o = 0) {
329
329
  `;
330
330
  }
331
331
  const h = u + `100% {${a(r, 1 - r)}}
332
- }`, f = `__svelte_${Xr(h)}_${o}`, c = st(e), { stylesheet: p, rules: d } = Te.get(c) || Wr(c, e);
332
+ }`, f = `__svelte_${qr(h)}_${o}`, c = ot(e), { stylesheet: p, rules: d } = Te.get(c) || Jr(c, e);
333
333
  d[f] || (d[f] = !0, p.insertRule(`@keyframes ${f} ${h}`, p.cssRules.length));
334
334
  const m = e.style.animation || "";
335
335
  return e.style.animation = `${m ? `${m}, ` : ""}${f} ${n}ms linear ${i}ms 1 both`, He += 1, f;
336
336
  }
337
- function zr(e, t) {
337
+ function Yr(e, t) {
338
338
  const r = (e.style.animation || "").split(", "), n = r.filter(
339
339
  t ? (s) => s.indexOf(t) < 0 : (s) => s.indexOf("__svelte") === -1
340
340
  // remove all Svelte animations
341
341
  ), i = r.length - n.length;
342
- i && (e.style.animation = n.join(", "), He -= i, He || Zr());
342
+ i && (e.style.animation = n.join(", "), He -= i, He || Kr());
343
343
  }
344
- function Zr() {
345
- it(() => {
344
+ function Kr() {
345
+ st(() => {
346
346
  He || (Te.forEach((e) => {
347
347
  const { ownerNode: t } = e.stylesheet;
348
348
  t && R(t);
@@ -353,34 +353,34 @@ let he;
353
353
  function le(e) {
354
354
  he = e;
355
355
  }
356
- function at() {
356
+ function ut() {
357
357
  if (!he)
358
358
  throw new Error("Function called outside component initialization");
359
359
  return he;
360
360
  }
361
- function Ns(e) {
362
- at().$$.before_update.push(e);
361
+ function Us(e) {
362
+ ut().$$.before_update.push(e);
363
363
  }
364
- function Qr(e) {
365
- at().$$.on_mount.push(e);
364
+ function en(e) {
365
+ ut().$$.on_mount.push(e);
366
366
  }
367
- function Ms(e) {
368
- at().$$.on_destroy.push(e);
367
+ function Gs(e) {
368
+ ut().$$.on_destroy.push(e);
369
369
  }
370
- const q = [], ke = [];
370
+ const q = [], Ve = [];
371
371
  let Y = [];
372
- const dt = [], zt = /* @__PURE__ */ Promise.resolve();
373
- let Ve = !1;
374
- function Zt() {
375
- Ve || (Ve = !0, zt.then($));
372
+ const bt = [], qt = /* @__PURE__ */ Promise.resolve();
373
+ let Xe = !1;
374
+ function Jt() {
375
+ Xe || (Xe = !0, qt.then($));
376
376
  }
377
- function Rs() {
378
- return Zt(), zt;
377
+ function Fs() {
378
+ return Jt(), qt;
379
379
  }
380
- function Pe(e) {
380
+ function Be(e) {
381
381
  Y.push(e);
382
382
  }
383
- const Me = /* @__PURE__ */ new Set();
383
+ const Ne = /* @__PURE__ */ new Set();
384
384
  let Z = 0;
385
385
  function $() {
386
386
  if (Z !== 0)
@@ -390,46 +390,46 @@ function $() {
390
390
  try {
391
391
  for (; Z < q.length; ) {
392
392
  const t = q[Z];
393
- Z++, le(t), qr(t.$$);
393
+ Z++, le(t), tn(t.$$);
394
394
  }
395
395
  } catch (t) {
396
396
  throw q.length = 0, Z = 0, t;
397
397
  }
398
- for (le(null), q.length = 0, Z = 0; ke.length; )
399
- ke.pop()();
398
+ for (le(null), q.length = 0, Z = 0; Ve.length; )
399
+ Ve.pop()();
400
400
  for (let t = 0; t < Y.length; t += 1) {
401
401
  const r = Y[t];
402
- Me.has(r) || (Me.add(r), r());
402
+ Ne.has(r) || (Ne.add(r), r());
403
403
  }
404
404
  Y.length = 0;
405
405
  } while (q.length);
406
- for (; dt.length; )
407
- dt.pop()();
408
- Ve = !1, Me.clear(), le(e);
406
+ for (; bt.length; )
407
+ bt.pop()();
408
+ Xe = !1, Ne.clear(), le(e);
409
409
  }
410
- function qr(e) {
410
+ function tn(e) {
411
411
  if (e.fragment !== null) {
412
412
  e.update(), V(e.before_update);
413
413
  const t = e.dirty;
414
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Pe);
414
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Be);
415
415
  }
416
416
  }
417
- function Jr(e) {
417
+ function rn(e) {
418
418
  const t = [], r = [];
419
419
  Y.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Y = t;
420
420
  }
421
421
  let ae;
422
- function Yr() {
422
+ function nn() {
423
423
  return ae || (ae = Promise.resolve(), ae.then(() => {
424
424
  ae = null;
425
425
  })), ae;
426
426
  }
427
427
  function Re(e, t, r) {
428
- e.dispatchEvent(kr(`${t ? "intro" : "outro"}${r}`));
428
+ e.dispatchEvent(Zr(`${t ? "intro" : "outro"}${r}`));
429
429
  }
430
- const _e = /* @__PURE__ */ new Set();
430
+ const ve = /* @__PURE__ */ new Set();
431
431
  let D;
432
- function $s() {
432
+ function js() {
433
433
  D = {
434
434
  r: 0,
435
435
  c: [],
@@ -437,27 +437,27 @@ function $s() {
437
437
  // parent group
438
438
  };
439
439
  }
440
- function Ds() {
440
+ function ks() {
441
441
  D.r || V(D.c), D = D.p;
442
442
  }
443
- function Qt(e, t) {
444
- e && e.i && (_e.delete(e), e.i(t));
443
+ function Yt(e, t) {
444
+ e && e.i && (ve.delete(e), e.i(t));
445
445
  }
446
- function Us(e, t, r, n) {
446
+ function sn(e, t, r, n) {
447
447
  if (e && e.o) {
448
- if (_e.has(e))
448
+ if (ve.has(e))
449
449
  return;
450
- _e.add(e), D.c.push(() => {
451
- _e.delete(e), n && (r && e.d(1), n());
450
+ ve.add(e), D.c.push(() => {
451
+ ve.delete(e), n && (r && e.d(1), n());
452
452
  }), e.o(t);
453
453
  } else
454
454
  n && n();
455
455
  }
456
- const Kr = { duration: 0 };
457
- function Gs(e, t, r, n) {
456
+ const on = { duration: 0 };
457
+ function Vs(e, t, r, n) {
458
458
  let s = t(e, r, { direction: "both" }), a = n ? 0 : 1, o = null, l = null, u = null, h;
459
459
  function f() {
460
- u && zr(e, u);
460
+ u && Yr(e, u);
461
461
  }
462
462
  function c(d, m) {
463
463
  const E = (
@@ -478,16 +478,16 @@ function Gs(e, t, r, n) {
478
478
  const {
479
479
  delay: m = 0,
480
480
  duration: E = 300,
481
- easing: T = Ar,
481
+ easing: T = Mr,
482
482
  tick: H = A,
483
483
  css: S
484
- } = s || Kr, O = {
485
- start: Lr() + m,
484
+ } = s || on, O = {
485
+ start: Dr() + m,
486
486
  b: d
487
487
  };
488
488
  d || (O.group = D, D.r += 1), "inert" in e && (d ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
489
- e.inert, e.inert = !0)), o || l ? l = O : (S && (f(), u = ft(e, a, d, E, m, T, S)), d && H(0, 1), o = c(O, E), Pe(() => Re(e, d, "start")), Nr((P) => {
490
- if (l && P > l.start && (o = c(l, E), l = null, Re(e, o.b, "start"), S && (f(), u = ft(
489
+ e.inert, e.inert = !0)), o || l ? l = O : (S && (f(), u = mt(e, a, d, E, m, T, S)), d && H(0, 1), o = c(O, E), Be(() => Re(e, d, "start")), Ur((B) => {
490
+ if (l && B > l.start && (o = c(l, E), l = null, Re(e, o.b, "start"), S && (f(), u = mt(
491
491
  e,
492
492
  a,
493
493
  o.b,
@@ -496,11 +496,11 @@ function Gs(e, t, r, n) {
496
496
  T,
497
497
  s.css
498
498
  ))), o) {
499
- if (P >= o.end)
499
+ if (B >= o.end)
500
500
  H(a = o.b, 1 - a), Re(e, o.b, "end"), l || (o.b ? f() : --o.group.r || V(o.group.c)), o = null;
501
- else if (P >= o.start) {
502
- const C = P - o.start;
503
- a = o.a + o.d * T(C / o.duration), H(a, 1 - a);
501
+ else if (B >= o.start) {
502
+ const I = B - o.start;
503
+ a = o.a + o.d * T(I / o.duration), H(a, 1 - a);
504
504
  }
505
505
  }
506
506
  return !!(o || l);
@@ -508,7 +508,7 @@ function Gs(e, t, r, n) {
508
508
  }
509
509
  return {
510
510
  run(d) {
511
- de(s) ? Yr().then(() => {
511
+ de(s) ? nn().then(() => {
512
512
  s = s({ direction: d ? "in" : "out" }), p(d);
513
513
  }) : p(d);
514
514
  },
@@ -517,54 +517,59 @@ function Gs(e, t, r, n) {
517
517
  }
518
518
  };
519
519
  }
520
- function pt(e) {
520
+ function yt(e) {
521
521
  return e?.length !== void 0 ? e : Array.from(e);
522
522
  }
523
- function Fs(e, t) {
523
+ function Xs(e, t) {
524
524
  e.d(1), t.delete(e.key);
525
525
  }
526
- function js(e, t, r, n, i, s, a, o, l, u, h, f) {
526
+ function Ws(e, t) {
527
+ sn(e, 1, 1, () => {
528
+ t.delete(e.key);
529
+ });
530
+ }
531
+ function zs(e, t, r, n, i, s, a, o, l, u, h, f) {
527
532
  let c = e.length, p = s.length, d = c;
528
533
  const m = {};
529
534
  for (; d--; )
530
535
  m[e[d].key] = d;
531
536
  const E = [], T = /* @__PURE__ */ new Map(), H = /* @__PURE__ */ new Map(), S = [];
532
537
  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]));
538
+ const w = f(i, s, d), C = r(w);
539
+ let L = a.get(C);
540
+ L ? S.push(() => L.p(w, t)) : (L = u(C, w), L.c()), T.set(C, E[d] = L), C in m && H.set(C, Math.abs(d - m[C]));
536
541
  }
537
- const O = /* @__PURE__ */ new Set(), P = /* @__PURE__ */ new Set();
538
- function C(w) {
539
- Qt(w, 1), w.m(o, h), a.set(w.key, w), h = w.first, p--;
542
+ const O = /* @__PURE__ */ new Set(), B = /* @__PURE__ */ new Set();
543
+ function I(w) {
544
+ Yt(w, 1), w.m(o, h), a.set(w.key, w), h = w.first, p--;
540
545
  }
541
546
  for (; c && p; ) {
542
- const w = E[p - 1], L = e[c - 1], I = w.key, z = L.key;
543
- w === L ? (h = w.first, c--, p--) : T.has(z) ? !a.has(I) || O.has(I) ? C(w) : P.has(z) ? c-- : H.get(I) > H.get(z) ? (P.add(I), C(w)) : (O.add(z), c--) : (l(L, a), c--);
547
+ const w = E[p - 1], C = e[c - 1], L = w.key, W = C.key;
548
+ w === C ? (h = w.first, c--, p--) : T.has(W) ? !a.has(L) || O.has(L) ? I(w) : B.has(W) ? c-- : H.get(L) > H.get(W) ? (B.add(L), I(w)) : (O.add(W), c--) : (l(C, a), c--);
544
549
  }
545
550
  for (; c--; ) {
546
551
  const w = e[c];
547
552
  T.has(w.key) || l(w, a);
548
553
  }
549
554
  for (; p; )
550
- C(E[p - 1]);
555
+ I(E[p - 1]);
551
556
  return V(S), E;
552
557
  }
553
- function en(e, t, r) {
558
+ function an(e, t, r) {
554
559
  const { fragment: n, after_update: i } = e.$$;
555
- n && n.m(t, r), Pe(() => {
556
- const s = e.$$.on_mount.map(Gt).filter(de);
560
+ n && n.m(t, r), Be(() => {
561
+ const s = e.$$.on_mount.map(kt).filter(de);
557
562
  e.$$.on_destroy ? e.$$.on_destroy.push(...s) : V(s), e.$$.on_mount = [];
558
- }), i.forEach(Pe);
563
+ }), i.forEach(Be);
559
564
  }
560
- function tn(e, t) {
565
+ function un(e, t) {
561
566
  const r = e.$$;
562
- r.fragment !== null && (Jr(r.after_update), V(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
567
+ r.fragment !== null && (rn(r.after_update), V(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
563
568
  }
564
- function rn(e, t) {
565
- e.$$.dirty[0] === -1 && (q.push(e), Zt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
569
+ function ln(e, t) {
570
+ e.$$.dirty[0] === -1 && (q.push(e), Jt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
566
571
  }
567
- function nn(e, t, r, n, i, s, a = null, o = [-1]) {
572
+ function hn(e, t, r, n, i, s, a = null, o = [-1]) {
568
573
  const l = he;
569
574
  le(e);
570
575
  const u = e.$$ = {
@@ -574,7 +579,7 @@ function nn(e, t, r, n, i, s, a = null, o = [-1]) {
574
579
  props: s,
575
580
  update: A,
576
581
  not_equal: i,
577
- bound: ht(),
582
+ bound: dt(),
578
583
  // lifecycle
579
584
  on_mount: [],
580
585
  on_destroy: [],
@@ -583,7 +588,7 @@ function nn(e, t, r, n, i, s, a = null, o = [-1]) {
583
588
  after_update: [],
584
589
  context: new Map(t.context || (l ? l.$$.context : [])),
585
590
  // everything else
586
- callbacks: ht(),
591
+ callbacks: dt(),
587
592
  dirty: o,
588
593
  skip_bound: !1,
589
594
  root: t.target || l.$$.root
@@ -592,19 +597,19 @@ function nn(e, t, r, n, i, s, a = null, o = [-1]) {
592
597
  let h = !1;
593
598
  if (u.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
594
599
  const d = p.length ? p[0] : c;
595
- return u.ctx && i(u.ctx[f], u.ctx[f] = d) && (!u.skip_bound && u.bound[f] && u.bound[f](d), h && rn(e, f)), c;
600
+ return u.ctx && i(u.ctx[f], u.ctx[f] = d) && (!u.skip_bound && u.bound[f] && u.bound[f](d), h && ln(e, f)), c;
596
601
  }) : [], u.update(), h = !0, V(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
597
602
  if (t.hydrate) {
598
- const f = Gr(t.target);
603
+ const f = Xr(t.target);
599
604
  u.fragment && u.fragment.l(f), f.forEach(R);
600
605
  } else
601
606
  u.fragment && u.fragment.c();
602
- t.intro && Qt(e.$$.fragment), en(e, t.target, t.anchor), $();
607
+ t.intro && Yt(e.$$.fragment), an(e, t.target, t.anchor), $();
603
608
  }
604
609
  le(l);
605
610
  }
606
- let qt;
607
- typeof HTMLElement == "function" && (qt = class extends HTMLElement {
611
+ let Kt;
612
+ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
608
613
  /** The Svelte component constructor */
609
614
  $$ctor;
610
615
  /** Slots */
@@ -646,7 +651,7 @@ typeof HTMLElement == "function" && (qt = class extends HTMLElement {
646
651
  let s;
647
652
  return {
648
653
  c: function() {
649
- s = N("slot"), i !== "default" && k(s, "name", i);
654
+ s = M("slot"), i !== "default" && k(s, "name", i);
650
655
  },
651
656
  /**
652
657
  * @param {HTMLElement} target
@@ -663,7 +668,7 @@ typeof HTMLElement == "function" && (qt = class extends HTMLElement {
663
668
  };
664
669
  if (await Promise.resolve(), !this.$$cn || this.$$c)
665
670
  return;
666
- const t = {}, r = Vr(this);
671
+ const t = {}, r = Qr(this);
667
672
  for (const i of this.$$s)
668
673
  i in r && (t[i] = [e(i)]);
669
674
  for (const i of this.attributes) {
@@ -750,8 +755,8 @@ function Ee(e, t, r, n) {
750
755
  return t;
751
756
  }
752
757
  }
753
- function sn(e, t, r, n, i, s) {
754
- let a = class extends qt {
758
+ function cn(e, t, r, n, i, s) {
759
+ let a = class extends Kt {
755
760
  constructor() {
756
761
  super(e, r, i), this.$$p_d = t;
757
762
  }
@@ -779,7 +784,7 @@ function sn(e, t, r, n, i, s) {
779
784
  }), e.element = /** @type {any} */
780
785
  a, a;
781
786
  }
782
- class on {
787
+ class fn {
783
788
  /**
784
789
  * ### PRIVATE API
785
790
  *
@@ -798,7 +803,7 @@ class on {
798
803
  $$set = void 0;
799
804
  /** @returns {void} */
800
805
  $destroy() {
801
- tn(this, 1), this.$destroy = A;
806
+ un(this, 1), this.$destroy = A;
802
807
  }
803
808
  /**
804
809
  * @template {Extract<keyof Events, string>} K
@@ -820,11 +825,11 @@ class on {
820
825
  * @returns {void}
821
826
  */
822
827
  $set(t) {
823
- this.$$set && !Ir(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
828
+ this.$$set && !Rr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
824
829
  }
825
830
  }
826
- const an = "4";
827
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(an);
831
+ const dn = "4";
832
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(dn);
828
833
  /*! *****************************************************************************
829
834
  Copyright (c) Microsoft Corporation.
830
835
 
@@ -839,34 +844,34 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
839
844
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
840
845
  PERFORMANCE OF THIS SOFTWARE.
841
846
  ***************************************************************************** */
842
- var Xe = function(e, t) {
843
- return Xe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
847
+ var We = function(e, t) {
848
+ return We = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
844
849
  r.__proto__ = n;
845
850
  } || function(r, n) {
846
851
  for (var i in n)
847
852
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
848
- }, Xe(e, t);
853
+ }, We(e, t);
849
854
  };
850
855
  function G(e, t) {
851
856
  if (typeof t != "function" && t !== null)
852
857
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
853
- Xe(e, t);
858
+ We(e, t);
854
859
  function r() {
855
860
  this.constructor = e;
856
861
  }
857
862
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
858
863
  }
859
- var _ = function() {
860
- return _ = Object.assign || function(t) {
864
+ var v = function() {
865
+ return v = Object.assign || function(t) {
861
866
  for (var r, n = 1, i = arguments.length; n < i; n++) {
862
867
  r = arguments[n];
863
868
  for (var s in r)
864
869
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
865
870
  }
866
871
  return t;
867
- }, _.apply(this, arguments);
872
+ }, v.apply(this, arguments);
868
873
  };
869
- function un(e, t) {
874
+ function pn(e, t) {
870
875
  var r = {};
871
876
  for (var n in e)
872
877
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -875,7 +880,7 @@ function un(e, t) {
875
880
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
876
881
  return r;
877
882
  }
878
- function We(e) {
883
+ function ze(e) {
879
884
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
880
885
  if (r)
881
886
  return r.call(e);
@@ -887,7 +892,7 @@ function We(e) {
887
892
  };
888
893
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
889
894
  }
890
- function ze(e, t) {
895
+ function Ze(e, t) {
891
896
  var r = typeof Symbol == "function" && e[Symbol.iterator];
892
897
  if (!r)
893
898
  return e;
@@ -916,13 +921,13 @@ function K(e, t, r) {
916
921
  function U(e) {
917
922
  return typeof e == "function";
918
923
  }
919
- function Jt(e) {
924
+ function er(e) {
920
925
  var t = function(n) {
921
926
  Error.call(n), n.stack = new Error().stack;
922
927
  }, r = e(t);
923
928
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
924
929
  }
925
- var $e = Jt(function(e) {
930
+ var $e = er(function(e) {
926
931
  return function(r) {
927
932
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
928
933
  ` + r.map(function(n, i) {
@@ -931,7 +936,7 @@ var $e = Jt(function(e) {
931
936
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
932
937
  };
933
938
  });
934
- function Ze(e, t) {
939
+ function Qe(e, t) {
935
940
  if (e) {
936
941
  var r = e.indexOf(t);
937
942
  0 <= r && e.splice(r, 1);
@@ -949,7 +954,7 @@ var Oe = function() {
949
954
  if (a)
950
955
  if (this._parentage = null, Array.isArray(a))
951
956
  try {
952
- for (var o = We(a), l = o.next(); !l.done; l = o.next()) {
957
+ for (var o = ze(a), l = o.next(); !l.done; l = o.next()) {
953
958
  var u = l.value;
954
959
  u.remove(this);
955
960
  }
@@ -976,12 +981,12 @@ var Oe = function() {
976
981
  if (f) {
977
982
  this._finalizers = null;
978
983
  try {
979
- for (var c = We(f), p = c.next(); !p.done; p = c.next()) {
984
+ for (var c = ze(f), p = c.next(); !p.done; p = c.next()) {
980
985
  var d = p.value;
981
986
  try {
982
- mt(d);
987
+ gt(d);
983
988
  } catch (m) {
984
- s = s ?? [], m instanceof $e ? s = K(K([], ze(s)), ze(m.errors)) : s.push(m);
989
+ s = s ?? [], m instanceof $e ? s = K(K([], Ze(s)), Ze(m.errors)) : s.push(m);
985
990
  }
986
991
  }
987
992
  } catch (m) {
@@ -1002,7 +1007,7 @@ var Oe = function() {
1002
1007
  var r;
1003
1008
  if (t && t !== this)
1004
1009
  if (this.closed)
1005
- mt(t);
1010
+ gt(t);
1006
1011
  else {
1007
1012
  if (t instanceof e) {
1008
1013
  if (t.closed || t._hasParent(this))
@@ -1019,52 +1024,56 @@ var Oe = function() {
1019
1024
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
1020
1025
  }, e.prototype._removeParent = function(t) {
1021
1026
  var r = this._parentage;
1022
- r === t ? this._parentage = null : Array.isArray(r) && Ze(r, t);
1027
+ r === t ? this._parentage = null : Array.isArray(r) && Qe(r, t);
1023
1028
  }, e.prototype.remove = function(t) {
1024
1029
  var r = this._finalizers;
1025
- r && Ze(r, t), t instanceof e && t._removeParent(this);
1030
+ r && Qe(r, t), t instanceof e && t._removeParent(this);
1026
1031
  }, e.EMPTY = function() {
1027
1032
  var t = new e();
1028
1033
  return t.closed = !0, t;
1029
1034
  }(), e;
1030
- }(), Yt = Oe.EMPTY;
1031
- function Kt(e) {
1035
+ }(), tr = Oe.EMPTY;
1036
+ function rr(e) {
1032
1037
  return e instanceof Oe || e && "closed" in e && U(e.remove) && U(e.add) && U(e.unsubscribe);
1033
1038
  }
1034
- function mt(e) {
1039
+ function gt(e) {
1035
1040
  U(e) ? e() : e.unsubscribe();
1036
1041
  }
1037
- var ln = {
1038
- Promise: void 0
1039
- }, hn = {
1042
+ var nr = {
1043
+ onUnhandledError: null,
1044
+ onStoppedNotification: null,
1045
+ Promise: void 0,
1046
+ useDeprecatedSynchronousErrorHandling: !1,
1047
+ useDeprecatedNextContext: !1
1048
+ }, mn = {
1040
1049
  setTimeout: function(e, t) {
1041
1050
  for (var r = [], n = 2; n < arguments.length; n++)
1042
1051
  r[n - 2] = arguments[n];
1043
- return setTimeout.apply(void 0, K([e, t], ze(r)));
1052
+ return setTimeout.apply(void 0, K([e, t], Ze(r)));
1044
1053
  },
1045
1054
  clearTimeout: function(e) {
1046
1055
  return clearTimeout(e);
1047
1056
  },
1048
1057
  delegate: void 0
1049
1058
  };
1050
- function cn(e) {
1051
- hn.setTimeout(function() {
1059
+ function bn(e) {
1060
+ mn.setTimeout(function() {
1052
1061
  throw e;
1053
1062
  });
1054
1063
  }
1055
- function bt() {
1064
+ function _t() {
1056
1065
  }
1057
1066
  function xe(e) {
1058
1067
  e();
1059
1068
  }
1060
- var er = function(e) {
1069
+ var ir = function(e) {
1061
1070
  G(t, e);
1062
1071
  function t(r) {
1063
1072
  var n = e.call(this) || this;
1064
- return n.isStopped = !1, r ? (n.destination = r, Kt(r) && r.add(n)) : n.destination = pn, n;
1073
+ return n.isStopped = !1, r ? (n.destination = r, rr(r) && r.add(n)) : n.destination = vn, n;
1065
1074
  }
1066
1075
  return t.create = function(r, n, i) {
1067
- return new Qe(r, n, i);
1076
+ return new qe(r, n, i);
1068
1077
  }, t.prototype.next = function(r) {
1069
1078
  this.isStopped || this._next(r);
1070
1079
  }, t.prototype.error = function(r) {
@@ -1088,7 +1097,11 @@ var er = function(e) {
1088
1097
  this.unsubscribe();
1089
1098
  }
1090
1099
  }, t;
1091
- }(Oe), fn = function() {
1100
+ }(Oe), yn = Function.prototype.bind;
1101
+ function De(e, t) {
1102
+ return yn.call(e, t);
1103
+ }
1104
+ var gn = function() {
1092
1105
  function e(t) {
1093
1106
  this.partialObserver = t;
1094
1107
  }
@@ -1119,43 +1132,55 @@ var er = function(e) {
1119
1132
  ge(r);
1120
1133
  }
1121
1134
  }, e;
1122
- }(), Qe = function(e) {
1135
+ }(), qe = function(e) {
1123
1136
  G(t, e);
1124
1137
  function t(r, n, i) {
1125
1138
  var s = e.call(this) || this, a;
1126
- return U(r) || !r ? a = {
1127
- next: r ?? void 0,
1128
- error: n ?? void 0,
1129
- complete: i ?? void 0
1130
- } : a = r, s.destination = new fn(a), s;
1139
+ if (U(r) || !r)
1140
+ a = {
1141
+ next: r ?? void 0,
1142
+ error: n ?? void 0,
1143
+ complete: i ?? void 0
1144
+ };
1145
+ else {
1146
+ var o;
1147
+ s && nr.useDeprecatedNextContext ? (o = Object.create(r), o.unsubscribe = function() {
1148
+ return s.unsubscribe();
1149
+ }, a = {
1150
+ next: r.next && De(r.next, o),
1151
+ error: r.error && De(r.error, o),
1152
+ complete: r.complete && De(r.complete, o)
1153
+ }) : a = r;
1154
+ }
1155
+ return s.destination = new gn(a), s;
1131
1156
  }
1132
1157
  return t;
1133
- }(er);
1158
+ }(ir);
1134
1159
  function ge(e) {
1135
- cn(e);
1160
+ bn(e);
1136
1161
  }
1137
- function dn(e) {
1162
+ function _n(e) {
1138
1163
  throw e;
1139
1164
  }
1140
- var pn = {
1165
+ var vn = {
1141
1166
  closed: !0,
1142
- next: bt,
1143
- error: dn,
1144
- complete: bt
1145
- }, mn = function() {
1167
+ next: _t,
1168
+ error: _n,
1169
+ complete: _t
1170
+ }, En = function() {
1146
1171
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
1147
1172
  }();
1148
- function bn(e) {
1173
+ function xn(e) {
1149
1174
  return e;
1150
1175
  }
1151
- function yn(e) {
1152
- return e.length === 0 ? bn : e.length === 1 ? e[0] : function(r) {
1176
+ function wn(e) {
1177
+ return e.length === 0 ? xn : e.length === 1 ? e[0] : function(r) {
1153
1178
  return e.reduce(function(n, i) {
1154
1179
  return i(n);
1155
1180
  }, r);
1156
1181
  };
1157
1182
  }
1158
- var yt = function() {
1183
+ var vt = function() {
1159
1184
  function e(t) {
1160
1185
  t && (this._subscribe = t);
1161
1186
  }
@@ -1163,7 +1188,7 @@ var yt = function() {
1163
1188
  var r = new e();
1164
1189
  return r.source = this, r.operator = t, r;
1165
1190
  }, e.prototype.subscribe = function(t, r, n) {
1166
- var i = this, s = vn(t) ? t : new Qe(t, r, n);
1191
+ var i = this, s = Tn(t) ? t : new qe(t, r, n);
1167
1192
  return xe(function() {
1168
1193
  var a = i, o = a.operator, l = a.source;
1169
1194
  s.add(o ? o.call(s, l) : l ? i._subscribe(s) : i._trySubscribe(s));
@@ -1176,8 +1201,8 @@ var yt = function() {
1176
1201
  }
1177
1202
  }, e.prototype.forEach = function(t, r) {
1178
1203
  var n = this;
1179
- return r = gt(r), new r(function(i, s) {
1180
- var a = new Qe({
1204
+ return r = Et(r), new r(function(i, s) {
1205
+ var a = new qe({
1181
1206
  next: function(o) {
1182
1207
  try {
1183
1208
  t(o);
@@ -1193,15 +1218,15 @@ var yt = function() {
1193
1218
  }, e.prototype._subscribe = function(t) {
1194
1219
  var r;
1195
1220
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
1196
- }, e.prototype[mn] = function() {
1221
+ }, e.prototype[En] = function() {
1197
1222
  return this;
1198
1223
  }, e.prototype.pipe = function() {
1199
1224
  for (var t = [], r = 0; r < arguments.length; r++)
1200
1225
  t[r] = arguments[r];
1201
- return yn(t)(this);
1226
+ return wn(t)(this);
1202
1227
  }, e.prototype.toPromise = function(t) {
1203
1228
  var r = this;
1204
- return t = gt(t), new t(function(n, i) {
1229
+ return t = Et(t), new t(function(n, i) {
1205
1230
  var s;
1206
1231
  r.subscribe(function(a) {
1207
1232
  return s = a;
@@ -1215,32 +1240,32 @@ var yt = function() {
1215
1240
  return new e(t);
1216
1241
  }, e;
1217
1242
  }();
1218
- function gt(e) {
1243
+ function Et(e) {
1219
1244
  var t;
1220
- return (t = e ?? ln.Promise) !== null && t !== void 0 ? t : Promise;
1245
+ return (t = e ?? nr.Promise) !== null && t !== void 0 ? t : Promise;
1221
1246
  }
1222
- function gn(e) {
1247
+ function Sn(e) {
1223
1248
  return e && U(e.next) && U(e.error) && U(e.complete);
1224
1249
  }
1225
- function vn(e) {
1226
- return e && e instanceof er || gn(e) && Kt(e);
1250
+ function Tn(e) {
1251
+ return e && e instanceof ir || Sn(e) && rr(e);
1227
1252
  }
1228
- var _n = Jt(function(e) {
1253
+ var Hn = er(function(e) {
1229
1254
  return function() {
1230
1255
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
1231
1256
  };
1232
- }), tr = function(e) {
1257
+ }), sr = function(e) {
1233
1258
  G(t, e);
1234
1259
  function t() {
1235
1260
  var r = e.call(this) || this;
1236
1261
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
1237
1262
  }
1238
1263
  return t.prototype.lift = function(r) {
1239
- var n = new vt(this, this);
1264
+ var n = new xt(this, this);
1240
1265
  return n.operator = r, n;
1241
1266
  }, t.prototype._throwIfClosed = function() {
1242
1267
  if (this.closed)
1243
- throw new _n();
1268
+ throw new Hn();
1244
1269
  }, t.prototype.next = function(r) {
1245
1270
  var n = this;
1246
1271
  xe(function() {
@@ -1248,7 +1273,7 @@ var _n = Jt(function(e) {
1248
1273
  if (n._throwIfClosed(), !n.isStopped) {
1249
1274
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
1250
1275
  try {
1251
- for (var a = We(n.currentObservers), o = a.next(); !o.done; o = a.next()) {
1276
+ for (var a = ze(n.currentObservers), o = a.next(); !o.done; o = a.next()) {
1252
1277
  var l = o.value;
1253
1278
  l.next(r);
1254
1279
  }
@@ -1297,19 +1322,19 @@ var _n = Jt(function(e) {
1297
1322
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1298
1323
  }, t.prototype._innerSubscribe = function(r) {
1299
1324
  var n = this, i = this, s = i.hasError, a = i.isStopped, o = i.observers;
1300
- return s || a ? Yt : (this.currentObservers = null, o.push(r), new Oe(function() {
1301
- n.currentObservers = null, Ze(o, r);
1325
+ return s || a ? tr : (this.currentObservers = null, o.push(r), new Oe(function() {
1326
+ n.currentObservers = null, Qe(o, r);
1302
1327
  }));
1303
1328
  }, t.prototype._checkFinalizedStatuses = function(r) {
1304
1329
  var n = this, i = n.hasError, s = n.thrownError, a = n.isStopped;
1305
1330
  i ? r.error(s) : a && r.complete();
1306
1331
  }, t.prototype.asObservable = function() {
1307
- var r = new yt();
1332
+ var r = new vt();
1308
1333
  return r.source = this, r;
1309
1334
  }, t.create = function(r, n) {
1310
- return new vt(r, n);
1335
+ return new xt(r, n);
1311
1336
  }, t;
1312
- }(yt), vt = function(e) {
1337
+ }(vt), xt = function(e) {
1313
1338
  G(t, e);
1314
1339
  function t(r, n) {
1315
1340
  var i = e.call(this) || this;
@@ -1326,17 +1351,17 @@ var _n = Jt(function(e) {
1326
1351
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1327
1352
  }, t.prototype._subscribe = function(r) {
1328
1353
  var n, i;
1329
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Yt;
1354
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : tr;
1330
1355
  }, t;
1331
- }(tr), rr = {
1356
+ }(sr), or = {
1332
1357
  now: function() {
1333
- return (rr.delegate || Date).now();
1358
+ return (or.delegate || Date).now();
1334
1359
  },
1335
1360
  delegate: void 0
1336
- }, En = function(e) {
1361
+ }, Bn = function(e) {
1337
1362
  G(t, e);
1338
1363
  function t(r, n, i) {
1339
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = rr);
1364
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = or);
1340
1365
  var s = e.call(this) || this;
1341
1366
  return s._bufferSize = r, s._windowTime = n, s._timestampProvider = i, s._buffer = [], s._infiniteTimeWindow = !0, s._infiniteTimeWindow = n === 1 / 0, s._bufferSize = Math.max(1, r), s._windowTime = Math.max(1, n), s;
1342
1367
  }
@@ -1356,15 +1381,15 @@ var _n = Jt(function(e) {
1356
1381
  u && s.splice(0, u + 1);
1357
1382
  }
1358
1383
  }, t;
1359
- }(tr);
1360
- const _t = [], Et = {}, xn = (e, t = 0) => {
1361
- if (_t.indexOf(e) == -1) {
1362
- const r = new En(t);
1363
- Et[e] = r, _t.push(e);
1384
+ }(sr);
1385
+ const wt = [], St = {}, Pn = (e, t = 0) => {
1386
+ if (wt.indexOf(e) == -1) {
1387
+ const r = new Bn(t);
1388
+ St[e] = r, wt.push(e);
1364
1389
  }
1365
- return Et[e];
1390
+ return St[e];
1366
1391
  }, Q = [];
1367
- function wn(e, t) {
1392
+ function An(e, t) {
1368
1393
  return {
1369
1394
  subscribe: Ie(e, t).subscribe
1370
1395
  };
@@ -1373,7 +1398,7 @@ function Ie(e, t = A) {
1373
1398
  let r;
1374
1399
  const n = /* @__PURE__ */ new Set();
1375
1400
  function i(o) {
1376
- if (Ft(e, o) && (e = o, r)) {
1401
+ if (Vt(e, o) && (e = o, r)) {
1377
1402
  const l = !Q.length;
1378
1403
  for (const u of n)
1379
1404
  u[1](), Q.push(u, e);
@@ -1400,7 +1425,7 @@ function ie(e, t, r) {
1400
1425
  if (!i.every(Boolean))
1401
1426
  throw new Error("derived() expects stores as input, got a falsy value");
1402
1427
  const s = t.length < 2;
1403
- return wn(r, (a, o) => {
1428
+ return An(r, (a, o) => {
1404
1429
  let l = !1;
1405
1430
  const u = [];
1406
1431
  let h = 0, f = A;
@@ -1411,7 +1436,7 @@ function ie(e, t, r) {
1411
1436
  const d = t(n ? u[0] : u, a, o);
1412
1437
  s ? a(d) : f = de(d) ? d : A;
1413
1438
  }, p = i.map(
1414
- (d, m) => jt(
1439
+ (d, m) => Xt(
1415
1440
  d,
1416
1441
  (E) => {
1417
1442
  u[m] = E, h &= ~(1 << m), l && c();
@@ -1426,70 +1451,70 @@ function ie(e, t, r) {
1426
1451
  };
1427
1452
  });
1428
1453
  }
1429
- function Sn(e) {
1454
+ function On(e) {
1430
1455
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1431
1456
  }
1432
- var Tn = function(t) {
1433
- return Hn(t) && !Pn(t);
1457
+ var In = function(t) {
1458
+ return Cn(t) && !Ln(t);
1434
1459
  };
1435
- function Hn(e) {
1460
+ function Cn(e) {
1436
1461
  return !!e && typeof e == "object";
1437
1462
  }
1438
- function Pn(e) {
1463
+ function Ln(e) {
1439
1464
  var t = Object.prototype.toString.call(e);
1440
- return t === "[object RegExp]" || t === "[object Date]" || On(e);
1465
+ return t === "[object RegExp]" || t === "[object Date]" || Rn(e);
1441
1466
  }
1442
- var Bn = typeof Symbol == "function" && Symbol.for, An = Bn ? Symbol.for("react.element") : 60103;
1443
- function On(e) {
1444
- return e.$$typeof === An;
1467
+ var Mn = typeof Symbol == "function" && Symbol.for, Nn = Mn ? Symbol.for("react.element") : 60103;
1468
+ function Rn(e) {
1469
+ return e.$$typeof === Nn;
1445
1470
  }
1446
- function In(e) {
1471
+ function $n(e) {
1447
1472
  return Array.isArray(e) ? [] : {};
1448
1473
  }
1449
1474
  function ce(e, t) {
1450
- return t.clone !== !1 && t.isMergeableObject(e) ? ee(In(e), e, t) : e;
1475
+ return t.clone !== !1 && t.isMergeableObject(e) ? ee($n(e), e, t) : e;
1451
1476
  }
1452
- function Cn(e, t, r) {
1477
+ function Dn(e, t, r) {
1453
1478
  return e.concat(t).map(function(n) {
1454
1479
  return ce(n, r);
1455
1480
  });
1456
1481
  }
1457
- function Ln(e, t) {
1482
+ function Un(e, t) {
1458
1483
  if (!t.customMerge)
1459
1484
  return ee;
1460
1485
  var r = t.customMerge(e);
1461
1486
  return typeof r == "function" ? r : ee;
1462
1487
  }
1463
- function Nn(e) {
1488
+ function Gn(e) {
1464
1489
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1465
1490
  return Object.propertyIsEnumerable.call(e, t);
1466
1491
  }) : [];
1467
1492
  }
1468
- function xt(e) {
1469
- return Object.keys(e).concat(Nn(e));
1493
+ function Tt(e) {
1494
+ return Object.keys(e).concat(Gn(e));
1470
1495
  }
1471
- function nr(e, t) {
1496
+ function ar(e, t) {
1472
1497
  try {
1473
1498
  return t in e;
1474
1499
  } catch {
1475
1500
  return !1;
1476
1501
  }
1477
1502
  }
1478
- function Mn(e, t) {
1479
- return nr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1503
+ function Fn(e, t) {
1504
+ return ar(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1480
1505
  }
1481
- function Rn(e, t, r) {
1506
+ function jn(e, t, r) {
1482
1507
  var n = {};
1483
- return r.isMergeableObject(e) && xt(e).forEach(function(i) {
1508
+ return r.isMergeableObject(e) && Tt(e).forEach(function(i) {
1484
1509
  n[i] = ce(e[i], r);
1485
- }), xt(t).forEach(function(i) {
1486
- Mn(e, i) || (nr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Ln(i, r)(e[i], t[i], r) : n[i] = ce(t[i], r));
1510
+ }), Tt(t).forEach(function(i) {
1511
+ Fn(e, i) || (ar(e, i) && r.isMergeableObject(t[i]) ? n[i] = Un(i, r)(e[i], t[i], r) : n[i] = ce(t[i], r));
1487
1512
  }), n;
1488
1513
  }
1489
1514
  function ee(e, t, r) {
1490
- r = r || {}, r.arrayMerge = r.arrayMerge || Cn, r.isMergeableObject = r.isMergeableObject || Tn, r.cloneUnlessOtherwiseSpecified = ce;
1515
+ r = r || {}, r.arrayMerge = r.arrayMerge || Dn, r.isMergeableObject = r.isMergeableObject || In, r.cloneUnlessOtherwiseSpecified = ce;
1491
1516
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
1492
- return s ? n ? r.arrayMerge(e, t, r) : Rn(e, t, r) : ce(t, r);
1517
+ return s ? n ? r.arrayMerge(e, t, r) : jn(e, t, r) : ce(t, r);
1493
1518
  }
1494
1519
  ee.all = function(t, r) {
1495
1520
  if (!Array.isArray(t))
@@ -1498,56 +1523,58 @@ ee.all = function(t, r) {
1498
1523
  return ee(n, i, r);
1499
1524
  }, {});
1500
1525
  };
1501
- var $n = ee, Dn = $n;
1502
- const Un = /* @__PURE__ */ Sn(Dn);
1503
- function De(e, t) {
1504
- var r = t && t.cache ? t.cache : Wn, n = t && t.serializer ? t.serializer : Vn, i = t && t.strategy ? t.strategy : jn;
1526
+ var kn = ee, Vn = kn;
1527
+ const Xn = /* @__PURE__ */ On(Vn);
1528
+ function Ue(e, t) {
1529
+ var r = t && t.cache ? t.cache : Jn, n = t && t.serializer ? t.serializer : qn, i = t && t.strategy ? t.strategy : zn;
1505
1530
  return i(e, {
1506
1531
  cache: r,
1507
1532
  serializer: n
1508
1533
  });
1509
1534
  }
1510
- function Gn(e) {
1535
+ function Wn(e) {
1511
1536
  return e == null || typeof e == "number" || typeof e == "boolean";
1512
1537
  }
1513
- function Fn(e, t, r, n) {
1514
- var i = Gn(n) ? n : r(n), s = t.get(i);
1538
+ function ur(e, t, r, n) {
1539
+ var i = Wn(n) ? n : r(n), s = t.get(i);
1515
1540
  return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
1516
1541
  }
1517
- function ir(e, t, r) {
1542
+ function lr(e, t, r) {
1518
1543
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
1519
1544
  return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
1520
1545
  }
1521
- function sr(e, t, r, n, i) {
1546
+ function lt(e, t, r, n, i) {
1522
1547
  return r.bind(t, e, n, i);
1523
1548
  }
1524
- function jn(e, t) {
1525
- var r = e.length === 1 ? Fn : ir;
1526
- return sr(e, this, r, t.cache.create(), t.serializer);
1549
+ function zn(e, t) {
1550
+ var r = e.length === 1 ? ur : lr;
1551
+ return lt(e, this, r, t.cache.create(), t.serializer);
1552
+ }
1553
+ function Zn(e, t) {
1554
+ return lt(e, this, lr, t.cache.create(), t.serializer);
1527
1555
  }
1528
- function kn(e, t) {
1529
- return sr(e, this, ir, t.cache.create(), t.serializer);
1556
+ function Qn(e, t) {
1557
+ return lt(e, this, ur, t.cache.create(), t.serializer);
1530
1558
  }
1531
- var Vn = function() {
1559
+ var qn = function() {
1532
1560
  return JSON.stringify(arguments);
1533
- }, Xn = (
1534
- /** @class */
1535
- function() {
1536
- function e() {
1537
- this.cache = /* @__PURE__ */ Object.create(null);
1538
- }
1539
- return e.prototype.get = function(t) {
1540
- return this.cache[t];
1541
- }, e.prototype.set = function(t, r) {
1542
- this.cache[t] = r;
1543
- }, e;
1544
- }()
1545
- ), Wn = {
1561
+ };
1562
+ function ht() {
1563
+ this.cache = /* @__PURE__ */ Object.create(null);
1564
+ }
1565
+ ht.prototype.get = function(e) {
1566
+ return this.cache[e];
1567
+ };
1568
+ ht.prototype.set = function(e, t) {
1569
+ this.cache[e] = t;
1570
+ };
1571
+ var Jn = {
1546
1572
  create: function() {
1547
- return new Xn();
1573
+ return new ht();
1548
1574
  }
1549
- }, Ue = {
1550
- variadic: kn
1575
+ }, Ge = {
1576
+ variadic: Zn,
1577
+ monadic: Qn
1551
1578
  }, g;
1552
1579
  (function(e) {
1553
1580
  e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
@@ -1560,43 +1587,43 @@ var te;
1560
1587
  (function(e) {
1561
1588
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1562
1589
  })(te || (te = {}));
1563
- function wt(e) {
1590
+ function Ht(e) {
1564
1591
  return e.type === x.literal;
1565
1592
  }
1566
- function zn(e) {
1593
+ function Yn(e) {
1567
1594
  return e.type === x.argument;
1568
1595
  }
1569
- function or(e) {
1596
+ function hr(e) {
1570
1597
  return e.type === x.number;
1571
1598
  }
1572
- function ar(e) {
1599
+ function cr(e) {
1573
1600
  return e.type === x.date;
1574
1601
  }
1575
- function ur(e) {
1602
+ function fr(e) {
1576
1603
  return e.type === x.time;
1577
1604
  }
1578
- function lr(e) {
1605
+ function dr(e) {
1579
1606
  return e.type === x.select;
1580
1607
  }
1581
- function hr(e) {
1608
+ function pr(e) {
1582
1609
  return e.type === x.plural;
1583
1610
  }
1584
- function Zn(e) {
1611
+ function Kn(e) {
1585
1612
  return e.type === x.pound;
1586
1613
  }
1587
- function cr(e) {
1614
+ function mr(e) {
1588
1615
  return e.type === x.tag;
1589
1616
  }
1590
- function fr(e) {
1617
+ function br(e) {
1591
1618
  return !!(e && typeof e == "object" && e.type === te.number);
1592
1619
  }
1593
- function qe(e) {
1620
+ function Je(e) {
1594
1621
  return !!(e && typeof e == "object" && e.type === te.dateTime);
1595
1622
  }
1596
- var dr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Qn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1597
- function qn(e) {
1623
+ var yr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ei = /(?:[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;
1624
+ function ti(e) {
1598
1625
  var t = {};
1599
- return e.replace(Qn, function(r) {
1626
+ return e.replace(ei, function(r) {
1600
1627
  var n = r.length;
1601
1628
  switch (r[0]) {
1602
1629
  case "G":
@@ -1685,11 +1712,11 @@ function qn(e) {
1685
1712
  return "";
1686
1713
  }), t;
1687
1714
  }
1688
- var Jn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1689
- function Yn(e) {
1715
+ var ri = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1716
+ function ni(e) {
1690
1717
  if (e.length === 0)
1691
1718
  throw new Error("Number skeleton cannot be empty");
1692
- for (var t = e.split(Jn).filter(function(c) {
1719
+ for (var t = e.split(ri).filter(function(c) {
1693
1720
  return c.length > 0;
1694
1721
  }), r = [], n = 0, i = t; n < i.length; n++) {
1695
1722
  var s = i[n], a = s.split("/");
@@ -1704,17 +1731,17 @@ function Yn(e) {
1704
1731
  }
1705
1732
  return r;
1706
1733
  }
1707
- function Kn(e) {
1734
+ function ii(e) {
1708
1735
  return e.replace(/^(.*?)-/, "");
1709
1736
  }
1710
- var St = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, pr = /^(@+)?(\+|#+)?[rs]?$/g, ei = /(\*)(0+)|(#+)(0+)|(0+)/g, mr = /^(0+)$/;
1711
- function Tt(e) {
1737
+ var Bt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, gr = /^(@+)?(\+|#+)?[rs]?$/g, si = /(\*)(0+)|(#+)(0+)|(0+)/g, _r = /^(0+)$/;
1738
+ function Pt(e) {
1712
1739
  var t = {};
1713
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(pr, function(r, n, i) {
1740
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(gr, function(r, n, i) {
1714
1741
  return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
1715
1742
  }), t;
1716
1743
  }
1717
- function br(e) {
1744
+ function vr(e) {
1718
1745
  switch (e) {
1719
1746
  case "sign-auto":
1720
1747
  return {
@@ -1754,7 +1781,7 @@ function br(e) {
1754
1781
  };
1755
1782
  }
1756
1783
  }
1757
- function ti(e) {
1784
+ function oi(e) {
1758
1785
  var t;
1759
1786
  if (e[0] === "E" && e[1] === "E" ? (t = {
1760
1787
  notation: "engineering"
@@ -1762,17 +1789,17 @@ function ti(e) {
1762
1789
  notation: "scientific"
1763
1790
  }, e = e.slice(1)), t) {
1764
1791
  var r = e.slice(0, 2);
1765
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !mr.test(e))
1792
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !_r.test(e))
1766
1793
  throw new Error("Malformed concise eng/scientific notation");
1767
1794
  t.minimumIntegerDigits = e.length;
1768
1795
  }
1769
1796
  return t;
1770
1797
  }
1771
- function Ht(e) {
1772
- var t = {}, r = br(e);
1798
+ function At(e) {
1799
+ var t = {}, r = vr(e);
1773
1800
  return r || t;
1774
1801
  }
1775
- function ri(e) {
1802
+ function ai(e) {
1776
1803
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1777
1804
  var i = n[r];
1778
1805
  switch (i.stem) {
@@ -1796,7 +1823,7 @@ function ri(e) {
1796
1823
  continue;
1797
1824
  case "measure-unit":
1798
1825
  case "unit":
1799
- t.style = "unit", t.unit = Kn(i.options[0]);
1826
+ t.style = "unit", t.unit = ii(i.options[0]);
1800
1827
  continue;
1801
1828
  case "compact-short":
1802
1829
  case "K":
@@ -1807,13 +1834,13 @@ function ri(e) {
1807
1834
  t.notation = "compact", t.compactDisplay = "long";
1808
1835
  continue;
1809
1836
  case "scientific":
1810
- t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1811
- return _(_({}, l), Ht(u));
1837
+ t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1838
+ return v(v({}, l), At(u));
1812
1839
  }, {}));
1813
1840
  continue;
1814
1841
  case "engineering":
1815
- t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1816
- return _(_({}, l), Ht(u));
1842
+ t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1843
+ return v(v({}, l), At(u));
1817
1844
  }, {}));
1818
1845
  continue;
1819
1846
  case "notation-simple":
@@ -1858,7 +1885,7 @@ function ri(e) {
1858
1885
  case "integer-width":
1859
1886
  if (i.options.length > 1)
1860
1887
  throw new RangeError("integer-width stems only accept a single optional option");
1861
- i.options[0].replace(ei, function(l, u, h, f, c, p) {
1888
+ i.options[0].replace(si, function(l, u, h, f, c, p) {
1862
1889
  if (u)
1863
1890
  t.minimumIntegerDigits = h.length;
1864
1891
  else {
@@ -1871,32 +1898,32 @@ function ri(e) {
1871
1898
  });
1872
1899
  continue;
1873
1900
  }
1874
- if (mr.test(i.stem)) {
1901
+ if (_r.test(i.stem)) {
1875
1902
  t.minimumIntegerDigits = i.stem.length;
1876
1903
  continue;
1877
1904
  }
1878
- if (St.test(i.stem)) {
1905
+ if (Bt.test(i.stem)) {
1879
1906
  if (i.options.length > 1)
1880
1907
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1881
- i.stem.replace(St, function(l, u, h, f, c, p) {
1908
+ i.stem.replace(Bt, function(l, u, h, f, c, p) {
1882
1909
  return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && p ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1883
1910
  });
1884
1911
  var s = i.options[0];
1885
- s === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = _(_({}, t), Tt(s)));
1912
+ s === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = v(v({}, t), Pt(s)));
1886
1913
  continue;
1887
1914
  }
1888
- if (pr.test(i.stem)) {
1889
- t = _(_({}, t), Tt(i.stem));
1915
+ if (gr.test(i.stem)) {
1916
+ t = v(v({}, t), Pt(i.stem));
1890
1917
  continue;
1891
1918
  }
1892
- var a = br(i.stem);
1893
- a && (t = _(_({}, t), a));
1894
- var o = ti(i.stem);
1895
- o && (t = _(_({}, t), o));
1919
+ var a = vr(i.stem);
1920
+ a && (t = v(v({}, t), a));
1921
+ var o = oi(i.stem);
1922
+ o && (t = v(v({}, t), o));
1896
1923
  }
1897
1924
  return t;
1898
1925
  }
1899
- var ve = {
1926
+ var _e = {
1900
1927
  "001": [
1901
1928
  "H",
1902
1929
  "h"
@@ -3311,13 +3338,13 @@ var ve = {
3311
3338
  "h"
3312
3339
  ]
3313
3340
  };
3314
- function ni(e, t) {
3341
+ function ui(e, t) {
3315
3342
  for (var r = "", n = 0; n < e.length; n++) {
3316
3343
  var i = e.charAt(n);
3317
3344
  if (i === "j") {
3318
3345
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3319
3346
  s++, n++;
3320
- var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = ii(t);
3347
+ var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = li(t);
3321
3348
  for ((u == "H" || u == "k") && (o = 0); o-- > 0; )
3322
3349
  r += l;
3323
3350
  for (; a-- > 0; )
@@ -3327,7 +3354,7 @@ function ni(e, t) {
3327
3354
  }
3328
3355
  return r;
3329
3356
  }
3330
- function ii(e) {
3357
+ function li(e) {
3331
3358
  var t = e.hourCycle;
3332
3359
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3333
3360
  e.hourCycles && // @ts-ignore
@@ -3346,23 +3373,23 @@ function ii(e) {
3346
3373
  }
3347
3374
  var r = e.language, n;
3348
3375
  r !== "root" && (n = e.maximize().region);
3349
- var i = ve[n || ""] || ve[r || ""] || ve["".concat(r, "-001")] || ve["001"];
3376
+ var i = _e[n || ""] || _e[r || ""] || _e["".concat(r, "-001")] || _e["001"];
3350
3377
  return i[0];
3351
3378
  }
3352
- var Ge, si = new RegExp("^".concat(dr.source, "*")), oi = new RegExp("".concat(dr.source, "*$"));
3353
- function v(e, t) {
3379
+ var Fe, hi = new RegExp("^".concat(yr.source, "*")), ci = new RegExp("".concat(yr.source, "*$"));
3380
+ function _(e, t) {
3354
3381
  return { start: e, end: t };
3355
3382
  }
3356
- var ai = !!String.prototype.startsWith && "_a".startsWith("a", 1), ui = !!String.fromCodePoint, li = !!Object.fromEntries, hi = !!String.prototype.codePointAt, ci = !!String.prototype.trimStart, fi = !!String.prototype.trimEnd, di = !!Number.isSafeInteger, pi = di ? Number.isSafeInteger : function(e) {
3383
+ var fi = !!String.prototype.startsWith && "_a".startsWith("a", 1), di = !!String.fromCodePoint, pi = !!Object.fromEntries, mi = !!String.prototype.codePointAt, bi = !!String.prototype.trimStart, yi = !!String.prototype.trimEnd, gi = !!Number.isSafeInteger, _i = gi ? Number.isSafeInteger : function(e) {
3357
3384
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3358
- }, Je = !0;
3385
+ }, Ye = !0;
3359
3386
  try {
3360
- var mi = gr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3361
- Je = ((Ge = mi.exec("a")) === null || Ge === void 0 ? void 0 : Ge[0]) === "a";
3387
+ var vi = xr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3388
+ Ye = ((Fe = vi.exec("a")) === null || Fe === void 0 ? void 0 : Fe[0]) === "a";
3362
3389
  } catch {
3363
- Je = !1;
3390
+ Ye = !1;
3364
3391
  }
3365
- var Pt = ai ? (
3392
+ var Ot = fi ? (
3366
3393
  // Native
3367
3394
  function(t, r, n) {
3368
3395
  return t.startsWith(r, n);
@@ -3372,7 +3399,7 @@ var Pt = ai ? (
3372
3399
  function(t, r, n) {
3373
3400
  return t.slice(n, n + r.length) === r;
3374
3401
  }
3375
- ), Ye = ui ? String.fromCodePoint : (
3402
+ ), Ke = di ? String.fromCodePoint : (
3376
3403
  // IE11
3377
3404
  function() {
3378
3405
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3384,9 +3411,9 @@ var Pt = ai ? (
3384
3411
  }
3385
3412
  return n;
3386
3413
  }
3387
- ), Bt = (
3414
+ ), It = (
3388
3415
  // native
3389
- li ? Object.fromEntries : (
3416
+ pi ? Object.fromEntries : (
3390
3417
  // Ponyfill
3391
3418
  function(t) {
3392
3419
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3396,7 +3423,7 @@ var Pt = ai ? (
3396
3423
  return r;
3397
3424
  }
3398
3425
  )
3399
- ), yr = hi ? (
3426
+ ), Er = mi ? (
3400
3427
  // Native
3401
3428
  function(t, r) {
3402
3429
  return t.codePointAt(r);
@@ -3410,7 +3437,7 @@ var Pt = ai ? (
3410
3437
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
3411
3438
  }
3412
3439
  }
3413
- ), bi = ci ? (
3440
+ ), Ei = bi ? (
3414
3441
  // Native
3415
3442
  function(t) {
3416
3443
  return t.trimStart();
@@ -3418,9 +3445,9 @@ var Pt = ai ? (
3418
3445
  ) : (
3419
3446
  // Ponyfill
3420
3447
  function(t) {
3421
- return t.replace(si, "");
3448
+ return t.replace(hi, "");
3422
3449
  }
3423
- ), yi = fi ? (
3450
+ ), xi = yi ? (
3424
3451
  // Native
3425
3452
  function(t) {
3426
3453
  return t.trimEnd();
@@ -3428,32 +3455,32 @@ var Pt = ai ? (
3428
3455
  ) : (
3429
3456
  // Ponyfill
3430
3457
  function(t) {
3431
- return t.replace(oi, "");
3458
+ return t.replace(ci, "");
3432
3459
  }
3433
3460
  );
3434
- function gr(e, t) {
3461
+ function xr(e, t) {
3435
3462
  return new RegExp(e, t);
3436
3463
  }
3437
- var Ke;
3438
- if (Je) {
3439
- var At = gr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3440
- Ke = function(t, r) {
3464
+ var et;
3465
+ if (Ye) {
3466
+ var Ct = xr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3467
+ et = function(t, r) {
3441
3468
  var n;
3442
- At.lastIndex = r;
3443
- var i = At.exec(t);
3469
+ Ct.lastIndex = r;
3470
+ var i = Ct.exec(t);
3444
3471
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3445
3472
  };
3446
3473
  } else
3447
- Ke = function(t, r) {
3474
+ et = function(t, r) {
3448
3475
  for (var n = []; ; ) {
3449
- var i = yr(t, r);
3450
- if (i === void 0 || vr(i) || Ei(i))
3476
+ var i = Er(t, r);
3477
+ if (i === void 0 || wr(i) || Hi(i))
3451
3478
  break;
3452
3479
  n.push(i), r += i >= 65536 ? 2 : 1;
3453
3480
  }
3454
- return Ye.apply(void 0, n);
3481
+ return Ke.apply(void 0, n);
3455
3482
  };
3456
- var gi = (
3483
+ var wi = (
3457
3484
  /** @class */
3458
3485
  function() {
3459
3486
  function e(t, r) {
@@ -3478,13 +3505,13 @@ var gi = (
3478
3505
  var o = this.clonePosition();
3479
3506
  this.bump(), i.push({
3480
3507
  type: x.pound,
3481
- location: v(o, this.clonePosition())
3508
+ location: _(o, this.clonePosition())
3482
3509
  });
3483
3510
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
3484
3511
  if (n)
3485
3512
  break;
3486
- return this.error(g.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
3487
- } else if (s === 60 && !this.ignoreTag && et(this.peek() || 0)) {
3513
+ return this.error(g.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
3514
+ } else if (s === 60 && !this.ignoreTag && tt(this.peek() || 0)) {
3488
3515
  var a = this.parseTag(t, r);
3489
3516
  if (a.err)
3490
3517
  return a;
@@ -3507,7 +3534,7 @@ var gi = (
3507
3534
  val: {
3508
3535
  type: x.literal,
3509
3536
  value: "<".concat(i, "/>"),
3510
- location: v(n, this.clonePosition())
3537
+ location: _(n, this.clonePosition())
3511
3538
  },
3512
3539
  err: null
3513
3540
  };
@@ -3517,25 +3544,25 @@ var gi = (
3517
3544
  return s;
3518
3545
  var a = s.val, o = this.clonePosition();
3519
3546
  if (this.bumpIf("</")) {
3520
- if (this.isEOF() || !et(this.char()))
3521
- return this.error(g.INVALID_TAG, v(o, this.clonePosition()));
3547
+ if (this.isEOF() || !tt(this.char()))
3548
+ return this.error(g.INVALID_TAG, _(o, this.clonePosition()));
3522
3549
  var l = this.clonePosition(), u = this.parseTagName();
3523
- return i !== u ? this.error(g.UNMATCHED_CLOSING_TAG, v(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3550
+ return i !== u ? this.error(g.UNMATCHED_CLOSING_TAG, _(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3524
3551
  val: {
3525
3552
  type: x.tag,
3526
3553
  value: i,
3527
3554
  children: a,
3528
- location: v(n, this.clonePosition())
3555
+ location: _(n, this.clonePosition())
3529
3556
  },
3530
3557
  err: null
3531
- } : this.error(g.INVALID_TAG, v(o, this.clonePosition())));
3558
+ } : this.error(g.INVALID_TAG, _(o, this.clonePosition())));
3532
3559
  } else
3533
- return this.error(g.UNCLOSED_TAG, v(n, this.clonePosition()));
3560
+ return this.error(g.UNCLOSED_TAG, _(n, this.clonePosition()));
3534
3561
  } else
3535
- return this.error(g.INVALID_TAG, v(n, this.clonePosition()));
3562
+ return this.error(g.INVALID_TAG, _(n, this.clonePosition()));
3536
3563
  }, e.prototype.parseTagName = function() {
3537
3564
  var t = this.offset();
3538
- for (this.bump(); !this.isEOF() && _i(this.char()); )
3565
+ for (this.bump(); !this.isEOF() && Ti(this.char()); )
3539
3566
  this.bump();
3540
3567
  return this.message.slice(t, this.offset());
3541
3568
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3557,14 +3584,14 @@ var gi = (
3557
3584
  }
3558
3585
  break;
3559
3586
  }
3560
- var l = v(n, this.clonePosition());
3587
+ var l = _(n, this.clonePosition());
3561
3588
  return {
3562
3589
  val: { type: x.literal, value: i, location: l },
3563
3590
  err: null
3564
3591
  };
3565
3592
  }, e.prototype.tryParseLeftAngleBracket = function() {
3566
3593
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3567
- !vi(this.peek() || 0)) ? (this.bump(), "<") : null;
3594
+ !Si(this.peek() || 0)) ? (this.bump(), "<") : null;
3568
3595
  }, e.prototype.tryParseQuote = function(t) {
3569
3596
  if (this.isEOF() || this.char() !== 39)
3570
3597
  return null;
@@ -3598,23 +3625,23 @@ var gi = (
3598
3625
  r.push(n);
3599
3626
  this.bump();
3600
3627
  }
3601
- return Ye.apply(void 0, r);
3628
+ return Ke.apply(void 0, r);
3602
3629
  }, e.prototype.tryParseUnquoted = function(t, r) {
3603
3630
  if (this.isEOF())
3604
3631
  return null;
3605
3632
  var n = this.char();
3606
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ye(n));
3633
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ke(n));
3607
3634
  }, e.prototype.parseArgument = function(t, r) {
3608
3635
  var n = this.clonePosition();
3609
3636
  if (this.bump(), this.bumpSpace(), this.isEOF())
3610
- return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
3637
+ return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
3611
3638
  if (this.char() === 125)
3612
- return this.bump(), this.error(g.EMPTY_ARGUMENT, v(n, this.clonePosition()));
3639
+ return this.bump(), this.error(g.EMPTY_ARGUMENT, _(n, this.clonePosition()));
3613
3640
  var i = this.parseIdentifierIfPossible().value;
3614
3641
  if (!i)
3615
- return this.error(g.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3642
+ return this.error(g.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
3616
3643
  if (this.bumpSpace(), this.isEOF())
3617
- return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
3644
+ return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
3618
3645
  switch (this.char()) {
3619
3646
  case 125:
3620
3647
  return this.bump(), {
@@ -3622,25 +3649,25 @@ var gi = (
3622
3649
  type: x.argument,
3623
3650
  // value does not include the opening and closing braces.
3624
3651
  value: i,
3625
- location: v(n, this.clonePosition())
3652
+ location: _(n, this.clonePosition())
3626
3653
  },
3627
3654
  err: null
3628
3655
  };
3629
3656
  case 44:
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);
3657
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3631
3658
  default:
3632
- return this.error(g.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3659
+ return this.error(g.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
3633
3660
  }
3634
3661
  }, e.prototype.parseIdentifierIfPossible = function() {
3635
- var t = this.clonePosition(), r = this.offset(), n = Ke(this.message, r), i = r + n.length;
3662
+ var t = this.clonePosition(), r = this.offset(), n = et(this.message, r), i = r + n.length;
3636
3663
  this.bumpTo(i);
3637
- var s = this.clonePosition(), a = v(t, s);
3664
+ var s = this.clonePosition(), a = _(t, s);
3638
3665
  return { value: n, location: a };
3639
3666
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3640
3667
  var s, a = this.clonePosition(), o = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3641
3668
  switch (o) {
3642
3669
  case "":
3643
- return this.error(g.EXPECT_ARGUMENT_TYPE, v(a, l));
3670
+ return this.error(g.EXPECT_ARGUMENT_TYPE, _(a, l));
3644
3671
  case "number":
3645
3672
  case "date":
3646
3673
  case "time": {
@@ -3651,18 +3678,18 @@ var gi = (
3651
3678
  var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3652
3679
  if (f.err)
3653
3680
  return f;
3654
- var c = yi(f.val);
3681
+ var c = xi(f.val);
3655
3682
  if (c.length === 0)
3656
- return this.error(g.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
3657
- var p = v(h, this.clonePosition());
3683
+ return this.error(g.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
3684
+ var p = _(h, this.clonePosition());
3658
3685
  u = { style: c, styleLocation: p };
3659
3686
  }
3660
3687
  var d = this.tryParseArgumentClose(i);
3661
3688
  if (d.err)
3662
3689
  return d;
3663
- var m = v(i, this.clonePosition());
3664
- if (u && Pt(u?.style, "::", 0)) {
3665
- var E = bi(u.style.slice(2));
3690
+ var m = _(i, this.clonePosition());
3691
+ if (u && Ot(u?.style, "::", 0)) {
3692
+ var E = Ei(u.style.slice(2));
3666
3693
  if (o === "number") {
3667
3694
  var f = this.parseNumberSkeletonFromString(E, u.styleLocation);
3668
3695
  return f.err ? f : {
@@ -3673,12 +3700,12 @@ var gi = (
3673
3700
  if (E.length === 0)
3674
3701
  return this.error(g.EXPECT_DATE_TIME_SKELETON, m);
3675
3702
  var T = E;
3676
- this.locale && (T = ni(E, this.locale));
3703
+ this.locale && (T = ui(E, this.locale));
3677
3704
  var c = {
3678
3705
  type: te.dateTime,
3679
3706
  pattern: T,
3680
3707
  location: u.styleLocation,
3681
- parsedOptions: this.shouldParseSkeletons ? qn(T) : {}
3708
+ parsedOptions: this.shouldParseSkeletons ? ti(T) : {}
3682
3709
  }, H = o === "date" ? x.date : x.time;
3683
3710
  return {
3684
3711
  val: { type: H, value: n, location: m, style: c },
@@ -3701,30 +3728,30 @@ var gi = (
3701
3728
  case "select": {
3702
3729
  var S = this.clonePosition();
3703
3730
  if (this.bumpSpace(), !this.bumpIf(","))
3704
- return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS, v(S, _({}, S)));
3731
+ return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS, _(S, v({}, S)));
3705
3732
  this.bumpSpace();
3706
- var O = this.parseIdentifierIfPossible(), P = 0;
3733
+ var O = this.parseIdentifierIfPossible(), B = 0;
3707
3734
  if (o !== "select" && O.value === "offset") {
3708
3735
  if (!this.bumpIf(":"))
3709
- return this.error(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
3736
+ return this.error(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
3710
3737
  this.bumpSpace();
3711
3738
  var f = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3712
3739
  if (f.err)
3713
3740
  return f;
3714
- this.bumpSpace(), O = this.parseIdentifierIfPossible(), P = f.val;
3741
+ this.bumpSpace(), O = this.parseIdentifierIfPossible(), B = f.val;
3715
3742
  }
3716
- var C = this.tryParsePluralOrSelectOptions(t, o, r, O);
3717
- if (C.err)
3718
- return C;
3743
+ var I = this.tryParsePluralOrSelectOptions(t, o, r, O);
3744
+ if (I.err)
3745
+ return I;
3719
3746
  var d = this.tryParseArgumentClose(i);
3720
3747
  if (d.err)
3721
3748
  return d;
3722
- var w = v(i, this.clonePosition());
3749
+ var w = _(i, this.clonePosition());
3723
3750
  return o === "select" ? {
3724
3751
  val: {
3725
3752
  type: x.select,
3726
3753
  value: n,
3727
- options: Bt(C.val),
3754
+ options: It(I.val),
3728
3755
  location: w
3729
3756
  },
3730
3757
  err: null
@@ -3732,8 +3759,8 @@ var gi = (
3732
3759
  val: {
3733
3760
  type: x.plural,
3734
3761
  value: n,
3735
- options: Bt(C.val),
3736
- offset: P,
3762
+ options: It(I.val),
3763
+ offset: B,
3737
3764
  pluralType: o === "plural" ? "cardinal" : "ordinal",
3738
3765
  location: w
3739
3766
  },
@@ -3741,10 +3768,10 @@ var gi = (
3741
3768
  };
3742
3769
  }
3743
3770
  default:
3744
- return this.error(g.INVALID_ARGUMENT_TYPE, v(a, l));
3771
+ return this.error(g.INVALID_ARGUMENT_TYPE, _(a, l));
3745
3772
  }
3746
3773
  }, e.prototype.tryParseArgumentClose = function(t) {
3747
- return this.isEOF() || this.char() !== 125 ? this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3774
+ return this.isEOF() || this.char() !== 125 ? this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3748
3775
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3749
3776
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3750
3777
  var n = this.char();
@@ -3753,7 +3780,7 @@ var gi = (
3753
3780
  this.bump();
3754
3781
  var i = this.clonePosition();
3755
3782
  if (!this.bumpUntil("'"))
3756
- return this.error(g.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, v(i, this.clonePosition()));
3783
+ return this.error(g.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, _(i, this.clonePosition()));
3757
3784
  this.bump();
3758
3785
  break;
3759
3786
  }
@@ -3783,7 +3810,7 @@ var gi = (
3783
3810
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3784
3811
  var n = [];
3785
3812
  try {
3786
- n = Yn(t);
3813
+ n = ni(t);
3787
3814
  } catch {
3788
3815
  return this.error(g.INVALID_NUMBER_SKELETON, r);
3789
3816
  }
@@ -3792,7 +3819,7 @@ var gi = (
3792
3819
  type: te.number,
3793
3820
  tokens: n,
3794
3821
  location: r,
3795
- parsedOptions: this.shouldParseSkeletons ? ri(n) : {}
3822
+ parsedOptions: this.shouldParseSkeletons ? ai(n) : {}
3796
3823
  },
3797
3824
  err: null
3798
3825
  };
@@ -3804,7 +3831,7 @@ var gi = (
3804
3831
  var c = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_SELECTOR, g.INVALID_PLURAL_ARGUMENT_SELECTOR);
3805
3832
  if (c.err)
3806
3833
  return c;
3807
- h = v(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3834
+ h = _(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3808
3835
  } else
3809
3836
  break;
3810
3837
  }
@@ -3813,7 +3840,7 @@ var gi = (
3813
3840
  u === "other" && (a = !0), this.bumpSpace();
3814
3841
  var p = this.clonePosition();
3815
3842
  if (!this.bumpIf("{"))
3816
- return this.error(r === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : g.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
3843
+ return this.error(r === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : g.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
3817
3844
  var d = this.parseMessage(t + 1, r, n);
3818
3845
  if (d.err)
3819
3846
  return d;
@@ -3824,11 +3851,11 @@ var gi = (
3824
3851
  u,
3825
3852
  {
3826
3853
  value: d.val,
3827
- location: v(p, this.clonePosition())
3854
+ location: _(p, this.clonePosition())
3828
3855
  }
3829
3856
  ]), l.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, h = s.location;
3830
3857
  }
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 };
3858
+ 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 };
3832
3859
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3833
3860
  var n = 1, i = this.clonePosition();
3834
3861
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3839,8 +3866,8 @@ var gi = (
3839
3866
  else
3840
3867
  break;
3841
3868
  }
3842
- var l = v(i, this.clonePosition());
3843
- return s ? (a *= n, pi(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3869
+ var l = _(i, this.clonePosition());
3870
+ return s ? (a *= n, _i(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3844
3871
  }, e.prototype.offset = function() {
3845
3872
  return this.position.offset;
3846
3873
  }, e.prototype.isEOF = function() {
@@ -3855,7 +3882,7 @@ var gi = (
3855
3882
  var t = this.position.offset;
3856
3883
  if (t >= this.message.length)
3857
3884
  throw Error("out of bound");
3858
- var r = yr(this.message, t);
3885
+ var r = Er(this.message, t);
3859
3886
  if (r === void 0)
3860
3887
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3861
3888
  return r;
@@ -3874,7 +3901,7 @@ var gi = (
3874
3901
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
3875
3902
  }
3876
3903
  }, e.prototype.bumpIf = function(t) {
3877
- if (Pt(this.message, t, this.offset())) {
3904
+ if (Ot(this.message, t, this.offset())) {
3878
3905
  for (var r = 0; r < t.length; r++)
3879
3906
  this.bump();
3880
3907
  return !0;
@@ -3896,7 +3923,7 @@ var gi = (
3896
3923
  break;
3897
3924
  }
3898
3925
  }, e.prototype.bumpSpace = function() {
3899
- for (; !this.isEOF() && vr(this.char()); )
3926
+ for (; !this.isEOF() && wr(this.char()); )
3900
3927
  this.bump();
3901
3928
  }, e.prototype.peek = function() {
3902
3929
  if (this.isEOF())
@@ -3906,38 +3933,38 @@ var gi = (
3906
3933
  }, e;
3907
3934
  }()
3908
3935
  );
3909
- function et(e) {
3936
+ function tt(e) {
3910
3937
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3911
3938
  }
3912
- function vi(e) {
3913
- return et(e) || e === 47;
3939
+ function Si(e) {
3940
+ return tt(e) || e === 47;
3914
3941
  }
3915
- function _i(e) {
3942
+ function Ti(e) {
3916
3943
  return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
3917
3944
  }
3918
- function vr(e) {
3945
+ function wr(e) {
3919
3946
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3920
3947
  }
3921
- function Ei(e) {
3948
+ function Hi(e) {
3922
3949
  return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
3923
3950
  }
3924
- function tt(e) {
3951
+ function rt(e) {
3925
3952
  e.forEach(function(t) {
3926
- if (delete t.location, lr(t) || hr(t))
3953
+ if (delete t.location, dr(t) || pr(t))
3927
3954
  for (var r in t.options)
3928
- delete t.options[r].location, tt(t.options[r].value);
3955
+ delete t.options[r].location, rt(t.options[r].value);
3929
3956
  else
3930
- or(t) && fr(t.style) || (ar(t) || ur(t)) && qe(t.style) ? delete t.style.location : cr(t) && tt(t.children);
3957
+ hr(t) && br(t.style) || (cr(t) || fr(t)) && Je(t.style) ? delete t.style.location : mr(t) && rt(t.children);
3931
3958
  });
3932
3959
  }
3933
- function xi(e, t) {
3934
- t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3935
- var r = new gi(e, t).parse();
3960
+ function Bi(e, t) {
3961
+ t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3962
+ var r = new wi(e, t).parse();
3936
3963
  if (r.err) {
3937
3964
  var n = SyntaxError(g[r.err.kind]);
3938
3965
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3939
3966
  }
3940
- return t?.captureLocation || tt(r.val), r.val;
3967
+ return t?.captureLocation || rt(r.val), r.val;
3941
3968
  }
3942
3969
  var re;
3943
3970
  (function(e) {
@@ -3955,7 +3982,7 @@ var Ce = (
3955
3982
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3956
3983
  }, t;
3957
3984
  }(Error)
3958
- ), Ot = (
3985
+ ), Lt = (
3959
3986
  /** @class */
3960
3987
  function(e) {
3961
3988
  G(t, e);
@@ -3964,7 +3991,7 @@ var Ce = (
3964
3991
  }
3965
3992
  return t;
3966
3993
  }(Ce)
3967
- ), wi = (
3994
+ ), Pi = (
3968
3995
  /** @class */
3969
3996
  function(e) {
3970
3997
  G(t, e);
@@ -3973,7 +4000,7 @@ var Ce = (
3973
4000
  }
3974
4001
  return t;
3975
4002
  }(Ce)
3976
- ), Si = (
4003
+ ), Ai = (
3977
4004
  /** @class */
3978
4005
  function(e) {
3979
4006
  G(t, e);
@@ -3982,100 +4009,100 @@ var Ce = (
3982
4009
  }
3983
4010
  return t;
3984
4011
  }(Ce)
3985
- ), B;
4012
+ ), P;
3986
4013
  (function(e) {
3987
4014
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3988
- })(B || (B = {}));
3989
- function Ti(e) {
4015
+ })(P || (P = {}));
4016
+ function Oi(e) {
3990
4017
  return e.length < 2 ? e : e.reduce(function(t, r) {
3991
4018
  var n = t[t.length - 1];
3992
- return !n || n.type !== B.literal || r.type !== B.literal ? t.push(r) : n.value += r.value, t;
4019
+ return !n || n.type !== P.literal || r.type !== P.literal ? t.push(r) : n.value += r.value, t;
3993
4020
  }, []);
3994
4021
  }
3995
- function Hi(e) {
4022
+ function Ii(e) {
3996
4023
  return typeof e == "function";
3997
4024
  }
3998
4025
  function we(e, t, r, n, i, s, a) {
3999
- if (e.length === 1 && wt(e[0]))
4026
+ if (e.length === 1 && Ht(e[0]))
4000
4027
  return [
4001
4028
  {
4002
- type: B.literal,
4029
+ type: P.literal,
4003
4030
  value: e[0].value
4004
4031
  }
4005
4032
  ];
4006
4033
  for (var o = [], l = 0, u = e; l < u.length; l++) {
4007
4034
  var h = u[l];
4008
- if (wt(h)) {
4035
+ if (Ht(h)) {
4009
4036
  o.push({
4010
- type: B.literal,
4037
+ type: P.literal,
4011
4038
  value: h.value
4012
4039
  });
4013
4040
  continue;
4014
4041
  }
4015
- if (Zn(h)) {
4042
+ if (Kn(h)) {
4016
4043
  typeof s == "number" && o.push({
4017
- type: B.literal,
4044
+ type: P.literal,
4018
4045
  value: r.getNumberFormat(t).format(s)
4019
4046
  });
4020
4047
  continue;
4021
4048
  }
4022
4049
  var f = h.value;
4023
4050
  if (!(i && f in i))
4024
- throw new Si(f, a);
4051
+ throw new Ai(f, a);
4025
4052
  var c = i[f];
4026
- if (zn(h)) {
4053
+ if (Yn(h)) {
4027
4054
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), o.push({
4028
- type: typeof c == "string" ? B.literal : B.object,
4055
+ type: typeof c == "string" ? P.literal : P.object,
4029
4056
  value: c
4030
4057
  });
4031
4058
  continue;
4032
4059
  }
4033
- if (ar(h)) {
4034
- var p = typeof h.style == "string" ? n.date[h.style] : qe(h.style) ? h.style.parsedOptions : void 0;
4060
+ if (cr(h)) {
4061
+ var p = typeof h.style == "string" ? n.date[h.style] : Je(h.style) ? h.style.parsedOptions : void 0;
4035
4062
  o.push({
4036
- type: B.literal,
4063
+ type: P.literal,
4037
4064
  value: r.getDateTimeFormat(t, p).format(c)
4038
4065
  });
4039
4066
  continue;
4040
4067
  }
4041
- if (ur(h)) {
4042
- var p = typeof h.style == "string" ? n.time[h.style] : qe(h.style) ? h.style.parsedOptions : n.time.medium;
4068
+ if (fr(h)) {
4069
+ var p = typeof h.style == "string" ? n.time[h.style] : Je(h.style) ? h.style.parsedOptions : n.time.medium;
4043
4070
  o.push({
4044
- type: B.literal,
4071
+ type: P.literal,
4045
4072
  value: r.getDateTimeFormat(t, p).format(c)
4046
4073
  });
4047
4074
  continue;
4048
4075
  }
4049
- if (or(h)) {
4050
- var p = typeof h.style == "string" ? n.number[h.style] : fr(h.style) ? h.style.parsedOptions : void 0;
4076
+ if (hr(h)) {
4077
+ var p = typeof h.style == "string" ? n.number[h.style] : br(h.style) ? h.style.parsedOptions : void 0;
4051
4078
  p && p.scale && (c = c * (p.scale || 1)), o.push({
4052
- type: B.literal,
4079
+ type: P.literal,
4053
4080
  value: r.getNumberFormat(t, p).format(c)
4054
4081
  });
4055
4082
  continue;
4056
4083
  }
4057
- if (cr(h)) {
4084
+ if (mr(h)) {
4058
4085
  var d = h.children, m = h.value, E = i[m];
4059
- if (!Hi(E))
4060
- throw new wi(m, "function", a);
4061
- var T = we(d, t, r, n, i, s), H = E(T.map(function(P) {
4062
- return P.value;
4086
+ if (!Ii(E))
4087
+ throw new Pi(m, "function", a);
4088
+ var T = we(d, t, r, n, i, s), H = E(T.map(function(B) {
4089
+ return B.value;
4063
4090
  }));
4064
- Array.isArray(H) || (H = [H]), o.push.apply(o, H.map(function(P) {
4091
+ Array.isArray(H) || (H = [H]), o.push.apply(o, H.map(function(B) {
4065
4092
  return {
4066
- type: typeof P == "string" ? B.literal : B.object,
4067
- value: P
4093
+ type: typeof B == "string" ? P.literal : P.object,
4094
+ value: B
4068
4095
  };
4069
4096
  }));
4070
4097
  }
4071
- if (lr(h)) {
4098
+ if (dr(h)) {
4072
4099
  var S = h.options[c] || h.options.other;
4073
4100
  if (!S)
4074
- throw new Ot(h.value, c, Object.keys(h.options), a);
4101
+ throw new Lt(h.value, c, Object.keys(h.options), a);
4075
4102
  o.push.apply(o, we(S.value, t, r, n, i));
4076
4103
  continue;
4077
4104
  }
4078
- if (hr(h)) {
4105
+ if (pr(h)) {
4079
4106
  var S = h.options["=".concat(c)];
4080
4107
  if (!S) {
4081
4108
  if (!Intl.PluralRules)
@@ -4086,24 +4113,24 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
4086
4113
  S = h.options[O] || h.options.other;
4087
4114
  }
4088
4115
  if (!S)
4089
- throw new Ot(h.value, c, Object.keys(h.options), a);
4116
+ throw new Lt(h.value, c, Object.keys(h.options), a);
4090
4117
  o.push.apply(o, we(S.value, t, r, n, i, c - (h.offset || 0)));
4091
4118
  continue;
4092
4119
  }
4093
4120
  }
4094
- return Ti(o);
4121
+ return Oi(o);
4095
4122
  }
4096
- function Pi(e, t) {
4097
- return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
4098
- return r[n] = _(_({}, e[n]), t[n] || {}), r;
4123
+ function Ci(e, t) {
4124
+ return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
4125
+ return r[n] = v(v({}, e[n]), t[n] || {}), r;
4099
4126
  }, {})) : e;
4100
4127
  }
4101
- function Bi(e, t) {
4128
+ function Li(e, t) {
4102
4129
  return t ? Object.keys(e).reduce(function(r, n) {
4103
- return r[n] = Pi(e[n], t[n]), r;
4104
- }, _({}, e)) : e;
4130
+ return r[n] = Ci(e[n], t[n]), r;
4131
+ }, v({}, e)) : e;
4105
4132
  }
4106
- function Fe(e) {
4133
+ function je(e) {
4107
4134
  return {
4108
4135
  create: function() {
4109
4136
  return {
@@ -4117,39 +4144,39 @@ function Fe(e) {
4117
4144
  }
4118
4145
  };
4119
4146
  }
4120
- function Ai(e) {
4147
+ function Mi(e) {
4121
4148
  return e === void 0 && (e = {
4122
4149
  number: {},
4123
4150
  dateTime: {},
4124
4151
  pluralRules: {}
4125
4152
  }), {
4126
- getNumberFormat: De(function() {
4153
+ getNumberFormat: Ue(function() {
4127
4154
  for (var t, r = [], n = 0; n < arguments.length; n++)
4128
4155
  r[n] = arguments[n];
4129
4156
  return new ((t = Intl.NumberFormat).bind.apply(t, K([void 0], r, !1)))();
4130
4157
  }, {
4131
- cache: Fe(e.number),
4132
- strategy: Ue.variadic
4158
+ cache: je(e.number),
4159
+ strategy: Ge.variadic
4133
4160
  }),
4134
- getDateTimeFormat: De(function() {
4161
+ getDateTimeFormat: Ue(function() {
4135
4162
  for (var t, r = [], n = 0; n < arguments.length; n++)
4136
4163
  r[n] = arguments[n];
4137
4164
  return new ((t = Intl.DateTimeFormat).bind.apply(t, K([void 0], r, !1)))();
4138
4165
  }, {
4139
- cache: Fe(e.dateTime),
4140
- strategy: Ue.variadic
4166
+ cache: je(e.dateTime),
4167
+ strategy: Ge.variadic
4141
4168
  }),
4142
- getPluralRules: De(function() {
4169
+ getPluralRules: Ue(function() {
4143
4170
  for (var t, r = [], n = 0; n < arguments.length; n++)
4144
4171
  r[n] = arguments[n];
4145
4172
  return new ((t = Intl.PluralRules).bind.apply(t, K([void 0], r, !1)))();
4146
4173
  }, {
4147
- cache: Fe(e.pluralRules),
4148
- strategy: Ue.variadic
4174
+ cache: je(e.pluralRules),
4175
+ strategy: Ge.variadic
4149
4176
  })
4150
4177
  };
4151
4178
  }
4152
- var Oi = (
4179
+ var Ni = (
4153
4180
  /** @class */
4154
4181
  function() {
4155
4182
  function e(t, r, n, i) {
@@ -4164,7 +4191,7 @@ var Oi = (
4164
4191
  if (u.length === 1)
4165
4192
  return u[0].value;
4166
4193
  var h = u.reduce(function(f, c) {
4167
- return !f.length || c.type !== B.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
4194
+ return !f.length || c.type !== P.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
4168
4195
  }, []);
4169
4196
  return h.length <= 1 ? h[0] || "" : h;
4170
4197
  }, this.formatToParts = function(l) {
@@ -4181,13 +4208,13 @@ var Oi = (
4181
4208
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
4182
4209
  var a = i || {};
4183
4210
  a.formatters;
4184
- var o = un(a, ["formatters"]);
4185
- this.ast = e.__parse(t, _(_({}, o), { locale: this.resolvedLocale }));
4211
+ var o = pn(a, ["formatters"]);
4212
+ this.ast = e.__parse(t, v(v({}, o), { locale: this.resolvedLocale }));
4186
4213
  } else
4187
4214
  this.ast = t;
4188
4215
  if (!Array.isArray(this.ast))
4189
4216
  throw new TypeError("A message must be provided as a String or AST.");
4190
- this.formats = Bi(e.formats, n), this.formatters = i && i.formatters || Ai(this.formatterCache);
4217
+ this.formats = Li(e.formats, n), this.formatters = i && i.formatters || Mi(this.formatterCache);
4191
4218
  }
4192
4219
  return Object.defineProperty(e, "defaultLocale", {
4193
4220
  get: function() {
@@ -4200,7 +4227,7 @@ var Oi = (
4200
4227
  var r = Intl.NumberFormat.supportedLocalesOf(t);
4201
4228
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
4202
4229
  }
4203
- }, e.__parse = xi, e.formats = {
4230
+ }, e.__parse = Bi, e.formats = {
4204
4231
  number: {
4205
4232
  integer: {
4206
4233
  maximumFractionDigits: 0
@@ -4261,7 +4288,7 @@ var Oi = (
4261
4288
  }, e;
4262
4289
  }()
4263
4290
  );
4264
- function Ii(e, t) {
4291
+ function Ri(e, t) {
4265
4292
  if (t == null)
4266
4293
  return;
4267
4294
  if (t in e)
@@ -4282,92 +4309,92 @@ function Ii(e, t) {
4282
4309
  n = void 0;
4283
4310
  return n;
4284
4311
  }
4285
- const j = {}, Ci = (e, t, r) => r && (t in j || (j[t] = {}), e in j[t] || (j[t][e] = r), r), _r = (e, t) => {
4312
+ const j = {}, $i = (e, t, r) => r && (t in j || (j[t] = {}), e in j[t] || (j[t][e] = r), r), Sr = (e, t) => {
4286
4313
  if (t == null)
4287
4314
  return;
4288
4315
  if (t in j && e in j[t])
4289
4316
  return j[t][e];
4290
4317
  const r = Le(t);
4291
4318
  for (let n = 0; n < r.length; n++) {
4292
- const i = r[n], s = Ni(i, e);
4319
+ const i = r[n], s = Ui(i, e);
4293
4320
  if (s)
4294
- return Ci(e, t, s);
4321
+ return $i(e, t, s);
4295
4322
  }
4296
4323
  };
4297
- let ut;
4324
+ let ct;
4298
4325
  const me = Ie({});
4299
- function Li(e) {
4300
- return ut[e] || null;
4326
+ function Di(e) {
4327
+ return ct[e] || null;
4301
4328
  }
4302
- function Er(e) {
4303
- return e in ut;
4329
+ function Tr(e) {
4330
+ return e in ct;
4304
4331
  }
4305
- function Ni(e, t) {
4306
- if (!Er(e))
4332
+ function Ui(e, t) {
4333
+ if (!Tr(e))
4307
4334
  return null;
4308
- const r = Li(e);
4309
- return Ii(r, t);
4335
+ const r = Di(e);
4336
+ return Ri(r, t);
4310
4337
  }
4311
- function Mi(e) {
4338
+ function Gi(e) {
4312
4339
  if (e == null)
4313
4340
  return;
4314
4341
  const t = Le(e);
4315
4342
  for (let r = 0; r < t.length; r++) {
4316
4343
  const n = t[r];
4317
- if (Er(n))
4344
+ if (Tr(n))
4318
4345
  return n;
4319
4346
  }
4320
4347
  }
4321
- function xr(e, ...t) {
4322
- delete j[e], me.update((r) => (r[e] = Un.all([r[e] || {}, ...t]), r));
4348
+ function Hr(e, ...t) {
4349
+ delete j[e], me.update((r) => (r[e] = Xn.all([r[e] || {}, ...t]), r));
4323
4350
  }
4324
4351
  ie(
4325
4352
  [me],
4326
4353
  ([e]) => Object.keys(e)
4327
4354
  );
4328
- me.subscribe((e) => ut = e);
4355
+ me.subscribe((e) => ct = e);
4329
4356
  const Se = {};
4330
- function Ri(e, t) {
4357
+ function Fi(e, t) {
4331
4358
  Se[e].delete(t), Se[e].size === 0 && delete Se[e];
4332
4359
  }
4333
- function wr(e) {
4360
+ function Br(e) {
4334
4361
  return Se[e];
4335
4362
  }
4336
- function $i(e) {
4363
+ function ji(e) {
4337
4364
  return Le(e).map((t) => {
4338
- const r = wr(t);
4365
+ const r = Br(t);
4339
4366
  return [t, r ? [...r] : []];
4340
4367
  }).filter(([, t]) => t.length > 0);
4341
4368
  }
4342
- function rt(e) {
4369
+ function nt(e) {
4343
4370
  return e == null ? !1 : Le(e).some(
4344
4371
  (t) => {
4345
4372
  var r;
4346
- return (r = wr(t)) == null ? void 0 : r.size;
4373
+ return (r = Br(t)) == null ? void 0 : r.size;
4347
4374
  }
4348
4375
  );
4349
4376
  }
4350
- function Di(e, t) {
4377
+ function ki(e, t) {
4351
4378
  return Promise.all(
4352
- t.map((n) => (Ri(e, n), n().then((i) => i.default || i)))
4353
- ).then((n) => xr(e, ...n));
4379
+ t.map((n) => (Fi(e, n), n().then((i) => i.default || i)))
4380
+ ).then((n) => Hr(e, ...n));
4354
4381
  }
4355
4382
  const ue = {};
4356
- function Sr(e) {
4357
- if (!rt(e))
4383
+ function Pr(e) {
4384
+ if (!nt(e))
4358
4385
  return e in ue ? ue[e] : Promise.resolve();
4359
- const t = $i(e);
4386
+ const t = ji(e);
4360
4387
  return ue[e] = Promise.all(
4361
4388
  t.map(
4362
- ([r, n]) => Di(r, n)
4389
+ ([r, n]) => ki(r, n)
4363
4390
  )
4364
4391
  ).then(() => {
4365
- if (rt(e))
4366
- return Sr(e);
4392
+ if (nt(e))
4393
+ return Pr(e);
4367
4394
  delete ue[e];
4368
4395
  }), ue[e];
4369
4396
  }
4370
- const Ui = {
4397
+ const Vi = {
4371
4398
  number: {
4372
4399
  scientific: { notation: "scientific" },
4373
4400
  engineering: { notation: "engineering" },
@@ -4396,78 +4423,78 @@ const Ui = {
4396
4423
  timeZoneName: "short"
4397
4424
  }
4398
4425
  }
4399
- }, Gi = {
4426
+ }, Xi = {
4400
4427
  fallbackLocale: null,
4401
4428
  loadingDelay: 200,
4402
- formats: Ui,
4429
+ formats: Vi,
4403
4430
  warnOnMissingMessages: !0,
4404
4431
  handleMissingMessage: void 0,
4405
4432
  ignoreTag: !0
4406
- }, Fi = Gi;
4433
+ }, Wi = Xi;
4407
4434
  function ne() {
4408
- return Fi;
4435
+ return Wi;
4409
4436
  }
4410
- const je = Ie(!1);
4411
- var ji = Object.defineProperty, ki = Object.defineProperties, Vi = Object.getOwnPropertyDescriptors, It = Object.getOwnPropertySymbols, Xi = Object.prototype.hasOwnProperty, Wi = Object.prototype.propertyIsEnumerable, Ct = (e, t, r) => t in e ? ji(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, zi = (e, t) => {
4437
+ const ke = Ie(!1);
4438
+ var zi = Object.defineProperty, Zi = Object.defineProperties, Qi = Object.getOwnPropertyDescriptors, Mt = Object.getOwnPropertySymbols, qi = Object.prototype.hasOwnProperty, Ji = Object.prototype.propertyIsEnumerable, Nt = (e, t, r) => t in e ? zi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Yi = (e, t) => {
4412
4439
  for (var r in t || (t = {}))
4413
- Xi.call(t, r) && Ct(e, r, t[r]);
4414
- if (It)
4415
- for (var r of It(t))
4416
- Wi.call(t, r) && Ct(e, r, t[r]);
4440
+ qi.call(t, r) && Nt(e, r, t[r]);
4441
+ if (Mt)
4442
+ for (var r of Mt(t))
4443
+ Ji.call(t, r) && Nt(e, r, t[r]);
4417
4444
  return e;
4418
- }, Zi = (e, t) => ki(e, Vi(t));
4419
- let nt;
4420
- const Be = Ie(null);
4421
- function Lt(e) {
4445
+ }, Ki = (e, t) => Zi(e, Qi(t));
4446
+ let it;
4447
+ const Pe = Ie(null);
4448
+ function Rt(e) {
4422
4449
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4423
4450
  }
4424
4451
  function Le(e, t = ne().fallbackLocale) {
4425
- const r = Lt(e);
4426
- return t ? [.../* @__PURE__ */ new Set([...r, ...Lt(t)])] : r;
4452
+ const r = Rt(e);
4453
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Rt(t)])] : r;
4427
4454
  }
4428
- function W() {
4429
- return nt ?? void 0;
4455
+ function z() {
4456
+ return it ?? void 0;
4430
4457
  }
4431
- Be.subscribe((e) => {
4432
- nt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4458
+ Pe.subscribe((e) => {
4459
+ it = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4433
4460
  });
4434
- const Qi = (e) => {
4435
- if (e && Mi(e) && rt(e)) {
4461
+ const es = (e) => {
4462
+ if (e && Gi(e) && nt(e)) {
4436
4463
  const { loadingDelay: t } = ne();
4437
4464
  let r;
4438
- return typeof window < "u" && W() != null && t ? r = window.setTimeout(
4439
- () => je.set(!0),
4465
+ return typeof window < "u" && z() != null && t ? r = window.setTimeout(
4466
+ () => ke.set(!0),
4440
4467
  t
4441
- ) : je.set(!0), Sr(e).then(() => {
4442
- Be.set(e);
4468
+ ) : ke.set(!0), Pr(e).then(() => {
4469
+ Pe.set(e);
4443
4470
  }).finally(() => {
4444
- clearTimeout(r), je.set(!1);
4471
+ clearTimeout(r), ke.set(!1);
4445
4472
  });
4446
4473
  }
4447
- return Be.set(e);
4448
- }, se = Zi(zi({}, Be), {
4449
- set: Qi
4450
- }), Ne = (e) => {
4474
+ return Pe.set(e);
4475
+ }, se = Ki(Yi({}, Pe), {
4476
+ set: es
4477
+ }), Me = (e) => {
4451
4478
  const t = /* @__PURE__ */ Object.create(null);
4452
4479
  return (n) => {
4453
4480
  const i = JSON.stringify(n);
4454
4481
  return i in t ? t[i] : t[i] = e(n);
4455
4482
  };
4456
4483
  };
4457
- var qi = Object.defineProperty, Ae = Object.getOwnPropertySymbols, Tr = Object.prototype.hasOwnProperty, Hr = Object.prototype.propertyIsEnumerable, Nt = (e, t, r) => t in e ? qi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, lt = (e, t) => {
4484
+ var ts = Object.defineProperty, Ae = Object.getOwnPropertySymbols, Ar = Object.prototype.hasOwnProperty, Or = Object.prototype.propertyIsEnumerable, $t = (e, t, r) => t in e ? ts(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ft = (e, t) => {
4458
4485
  for (var r in t || (t = {}))
4459
- Tr.call(t, r) && Nt(e, r, t[r]);
4486
+ Ar.call(t, r) && $t(e, r, t[r]);
4460
4487
  if (Ae)
4461
4488
  for (var r of Ae(t))
4462
- Hr.call(t, r) && Nt(e, r, t[r]);
4489
+ Or.call(t, r) && $t(e, r, t[r]);
4463
4490
  return e;
4464
4491
  }, oe = (e, t) => {
4465
4492
  var r = {};
4466
4493
  for (var n in e)
4467
- Tr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4494
+ Ar.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4468
4495
  if (e != null && Ae)
4469
4496
  for (var n of Ae(e))
4470
- t.indexOf(n) < 0 && Hr.call(e, n) && (r[n] = e[n]);
4497
+ t.indexOf(n) < 0 && Or.call(e, n) && (r[n] = e[n]);
4471
4498
  return r;
4472
4499
  };
4473
4500
  const fe = (e, t) => {
@@ -4475,21 +4502,21 @@ const fe = (e, t) => {
4475
4502
  if (e in r && t in r[e])
4476
4503
  return r[e][t];
4477
4504
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4478
- }, Ji = Ne(
4505
+ }, rs = Me(
4479
4506
  (e) => {
4480
4507
  var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4481
4508
  if (r == null)
4482
4509
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4483
4510
  return n && (i = fe("number", n)), new Intl.NumberFormat(r, i);
4484
4511
  }
4485
- ), Yi = Ne(
4512
+ ), ns = Me(
4486
4513
  (e) => {
4487
4514
  var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4488
4515
  if (r == null)
4489
4516
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4490
4517
  return n ? i = fe("date", n) : Object.keys(i).length === 0 && (i = fe("date", "short")), new Intl.DateTimeFormat(r, i);
4491
4518
  }
4492
- ), Ki = Ne(
4519
+ ), is = Me(
4493
4520
  (e) => {
4494
4521
  var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4495
4522
  if (r == null)
@@ -4498,46 +4525,46 @@ const fe = (e, t) => {
4498
4525
  );
4499
4526
  return n ? i = fe("time", n) : Object.keys(i).length === 0 && (i = fe("time", "short")), new Intl.DateTimeFormat(r, i);
4500
4527
  }
4501
- ), es = (e = {}) => {
4528
+ ), ss = (e = {}) => {
4502
4529
  var t = e, {
4503
- locale: r = W()
4530
+ locale: r = z()
4504
4531
  } = t, n = oe(t, [
4505
4532
  "locale"
4506
4533
  ]);
4507
- return Ji(lt({ locale: r }, n));
4508
- }, ts = (e = {}) => {
4534
+ return rs(ft({ locale: r }, n));
4535
+ }, os = (e = {}) => {
4509
4536
  var t = e, {
4510
- locale: r = W()
4537
+ locale: r = z()
4511
4538
  } = t, n = oe(t, [
4512
4539
  "locale"
4513
4540
  ]);
4514
- return Yi(lt({ locale: r }, n));
4515
- }, rs = (e = {}) => {
4541
+ return ns(ft({ locale: r }, n));
4542
+ }, as = (e = {}) => {
4516
4543
  var t = e, {
4517
- locale: r = W()
4544
+ locale: r = z()
4518
4545
  } = t, n = oe(t, [
4519
4546
  "locale"
4520
4547
  ]);
4521
- return Ki(lt({ locale: r }, n));
4522
- }, ns = Ne(
4548
+ return is(ft({ locale: r }, n));
4549
+ }, us = Me(
4523
4550
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4524
- (e, t = W()) => new Oi(e, t, ne().formats, {
4551
+ (e, t = z()) => new Ni(e, t, ne().formats, {
4525
4552
  ignoreTag: ne().ignoreTag
4526
4553
  })
4527
- ), is = (e, t = {}) => {
4554
+ ), ls = (e, t = {}) => {
4528
4555
  var r, n, i, s;
4529
4556
  let a = t;
4530
4557
  typeof e == "object" && (a = e, e = a.id);
4531
4558
  const {
4532
4559
  values: o,
4533
- locale: l = W(),
4560
+ locale: l = z(),
4534
4561
  default: u
4535
4562
  } = a;
4536
4563
  if (l == null)
4537
4564
  throw new Error(
4538
4565
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4539
4566
  );
4540
- let h = _r(e, l);
4567
+ let h = Sr(e, l);
4541
4568
  if (!h)
4542
4569
  h = (s = (i = (n = (r = ne()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
4543
4570
  else if (typeof h != "string")
@@ -4548,7 +4575,7 @@ const fe = (e, t) => {
4548
4575
  return h;
4549
4576
  let f = h;
4550
4577
  try {
4551
- f = ns(h, l).format(o);
4578
+ f = us(h, l).format(o);
4552
4579
  } catch (c) {
4553
4580
  c instanceof Error && console.warn(
4554
4581
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4556,16 +4583,16 @@ const fe = (e, t) => {
4556
4583
  );
4557
4584
  }
4558
4585
  return f;
4559
- }, ss = (e, t) => rs(t).format(e), os = (e, t) => ts(t).format(e), as = (e, t) => es(t).format(e), us = (e, t = W()) => _r(e, t), ls = ie([se, me], () => is);
4560
- ie([se], () => ss);
4561
- ie([se], () => os);
4562
- ie([se], () => as);
4563
- ie([se, me], () => us);
4564
- window.emWidgets = { topic: xn };
4565
- const Pr = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), hs = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4566
- function ks(e, t) {
4586
+ }, hs = (e, t) => as(t).format(e), cs = (e, t) => os(t).format(e), fs = (e, t) => ss(t).format(e), ds = (e, t = z()) => Sr(e, t), ps = ie([se, me], () => ls);
4587
+ ie([se], () => hs);
4588
+ ie([se], () => cs);
4589
+ ie([se], () => fs);
4590
+ ie([se, me], () => ds);
4591
+ window.emWidgets = { topic: Pn };
4592
+ 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)), ms = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4593
+ function Zs(e, t) {
4567
4594
  const r = window.navigator.userAgent;
4568
- return Pr(r) ? t = e.filter((n) => {
4595
+ return Ir(r) ? t = e.filter((n) => {
4569
4596
  if (n.gameModel && (n.gameModel.platform.includes("iPad") || n.gameModel.platform.includes("iPhone") || n.gameModel.platform.includes("Android")))
4570
4597
  return n;
4571
4598
  }) : t = e.filter((n) => {
@@ -4573,7 +4600,7 @@ function ks(e, t) {
4573
4600
  return n;
4574
4601
  }), t;
4575
4602
  }
4576
- function Vs(e, t) {
4603
+ function Qs(e, t) {
4577
4604
  return new Promise((r, n) => {
4578
4605
  const i = new Headers();
4579
4606
  i.append("X-SessionID", t);
@@ -4584,13 +4611,13 @@ function Vs(e, t) {
4584
4611
  fetch(`${e}/v1/player/session/player`, s).then((a) => a.json()).then((a) => r(a)).catch((a) => n(a));
4585
4612
  });
4586
4613
  }
4587
- function cs(e, t) {
4614
+ function bs(e, t) {
4588
4615
  if (e) {
4589
4616
  const r = document.createElement("style");
4590
4617
  r.innerHTML = t, e.appendChild(r);
4591
4618
  }
4592
4619
  }
4593
- function fs(e, t) {
4620
+ function ys(e, t) {
4594
4621
  const r = new URL(t);
4595
4622
  fetch(r.href).then((n) => n.text()).then((n) => {
4596
4623
  const i = document.createElement("style");
@@ -4599,7 +4626,7 @@ function fs(e, t) {
4599
4626
  console.error("There was an error while trying to load client styling from URL", n);
4600
4627
  });
4601
4628
  }
4602
- function ds(e, t, r) {
4629
+ function gs(e, t, r) {
4603
4630
  if (window.emMessageBus) {
4604
4631
  const n = document.createElement("style");
4605
4632
  window.emMessageBus.subscribe(t, (i) => {
@@ -4607,13 +4634,13 @@ function ds(e, t, r) {
4607
4634
  });
4608
4635
  }
4609
4636
  }
4610
- function Mt(e, t) {
4611
- xr(e, t);
4637
+ function Dt(e, t) {
4638
+ Hr(e, t);
4612
4639
  }
4613
- function ps(e) {
4640
+ function _s(e) {
4614
4641
  se.set(e);
4615
4642
  }
4616
- const Rt = {
4643
+ const Ut = {
4617
4644
  en: {
4618
4645
  error: "500 Error - Internal Server Error"
4619
4646
  },
@@ -4645,7 +4672,7 @@ if (typeof window < "u") {
4645
4672
  }
4646
4673
  };
4647
4674
  };
4648
- customElements.define = e(customElements.define), import("./CasinoCalendarDailyDetails-DwcDf4x5.js").then(({ default: t }) => {
4675
+ customElements.define = e(customElements.define), import("./CasinoCalendarDailyDetails-Bsp_M9tm.js").then(({ default: t }) => {
4649
4676
  !customElements.get("casino-calendar-daily-details") && customElements.define("casino-calendar-daily-details", t.element);
4650
4677
  });
4651
4678
  }
@@ -4661,35 +4688,35 @@ if (typeof window < "u") {
4661
4688
  }
4662
4689
  };
4663
4690
  };
4664
- customElements.define = e(customElements.define), import("./CasinoCalendarDailyItem-DD1zORXJ.js").then(({ default: t }) => {
4691
+ customElements.define = e(customElements.define), import("./CasinoCalendarDailyItem-BZFRiT1-.js").then(({ default: t }) => {
4665
4692
  !customElements.get("casino-calendar-daily-item") && customElements.define("casino-calendar-daily-item", t.element);
4666
4693
  });
4667
4694
  }
4668
- function ms(e) {
4669
- Mr(e, "svelte-61avp5", `.svelte-61avp5{font-family:inherit}.CasinoCalendarItem.svelte-61avp5{display:flex;flex-direction:row;flex-wrap:nowrap;text-align:left;gap:10px;overflow-x:auto;overflow-y:hidden;justify-content:space-evenly}.Mobile.svelte-61avp5{padding:0 10px;height:286px;overflow-y:visible;overflow-x:scroll;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.CalendarDetailsWrapper.svelte-61avp5{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0;background-color:var(--emw--color-dark-gray, rgba(0, 0, 0, 0.9))}.LoadingSpinner.svelte-61avp5{display:block;width:80px;height:80px;margin:0 auto
4695
+ function vs(e) {
4696
+ Gr(e, "svelte-61avp5", `.svelte-61avp5{font-family:inherit}.CasinoCalendarItem.svelte-61avp5{display:flex;flex-direction:row;flex-wrap:nowrap;text-align:left;gap:10px;overflow-x:auto;overflow-y:hidden;justify-content:space-evenly}.Mobile.svelte-61avp5{padding:0 10px;height:286px;overflow-y:visible;overflow-x:scroll;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.CalendarDetailsWrapper.svelte-61avp5{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0;background-color:var(--emw--color-dark-gray, rgba(0, 0, 0, 0.9))}.LoadingSpinner.svelte-61avp5{display:block;width:80px;height:80px;margin:0 auto
4670
4697
  }.LoadingSpinner.svelte-61avp5:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent;animation:svelte-61avp5-LoadingSpinner 1.2s linear infinite}@keyframes svelte-61avp5-LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}`);
4671
4698
  }
4672
- function $t(e, t, r) {
4699
+ function Gt(e, t, r) {
4673
4700
  const n = e.slice();
4674
4701
  return n[26] = t[r], n[28] = r, n;
4675
4702
  }
4676
- function bs(e) {
4677
- let t, r, n, i = pt(
4703
+ function Es(e) {
4704
+ let t, r, n, i = yt(
4678
4705
  /*calendarCollections*/
4679
4706
  e[6]
4680
4707
  ), s = [];
4681
4708
  for (let o = 0; o < i.length; o += 1)
4682
- s[o] = Dt($t(e, i, o));
4709
+ s[o] = Ft(Gt(e, i, o));
4683
4710
  let a = (
4684
4711
  /*calendarModalOpened*/
4685
- e[11] == !0 && Ut(e)
4712
+ e[11] == !0 && jt(e)
4686
4713
  );
4687
4714
  return {
4688
4715
  c() {
4689
- t = N("div");
4716
+ t = M("div");
4690
4717
  for (let o = 0; o < s.length; o += 1)
4691
4718
  s[o].c();
4692
- r = Ur(), a && a.c(), k(t, "class", n = "CasinoCalendarItem " + /*mobileView*/
4719
+ r = Vr(), a && a.c(), k(t, "class", n = "CasinoCalendarItem " + /*mobileView*/
4693
4720
  (e[10] ? "Mobile" : "") + " svelte-61avp5");
4694
4721
  },
4695
4722
  m(o, l) {
@@ -4701,34 +4728,34 @@ function bs(e) {
4701
4728
  p(o, l) {
4702
4729
  if (l & /*calendarCollections, lang, clientstyling, clientstylingurl, mbsource, translationurl*/
4703
4730
  95) {
4704
- i = pt(
4731
+ i = yt(
4705
4732
  /*calendarCollections*/
4706
4733
  o[6]
4707
4734
  );
4708
4735
  let u;
4709
4736
  for (u = 0; u < i.length; u += 1) {
4710
- const h = $t(o, i, u);
4711
- s[u] ? s[u].p(h, l) : (s[u] = Dt(h), s[u].c(), s[u].m(t, r));
4737
+ const h = Gt(o, i, u);
4738
+ s[u] ? s[u].p(h, l) : (s[u] = Ft(h), s[u].c(), s[u].m(t, r));
4712
4739
  }
4713
4740
  for (; u < s.length; u += 1)
4714
4741
  s[u].d(1);
4715
4742
  s.length = i.length;
4716
4743
  }
4717
4744
  /*calendarModalOpened*/
4718
- o[11] == !0 ? a ? a.p(o, l) : (a = Ut(o), a.c(), a.m(t, null)) : a && (a.d(1), a = null), l & /*mobileView*/
4745
+ o[11] == !0 ? a ? a.p(o, l) : (a = jt(o), a.c(), a.m(t, null)) : a && (a.d(1), a = null), l & /*mobileView*/
4719
4746
  1024 && n !== (n = "CasinoCalendarItem " + /*mobileView*/
4720
4747
  (o[10] ? "Mobile" : "") + " svelte-61avp5") && k(t, "class", n);
4721
4748
  },
4722
4749
  d(o) {
4723
- o && R(t), $r(s, o), a && a.d();
4750
+ o && R(t), jr(s, o), a && a.d();
4724
4751
  }
4725
4752
  };
4726
4753
  }
4727
- function ys(e) {
4754
+ function xs(e) {
4728
4755
  let t;
4729
4756
  return {
4730
4757
  c() {
4731
- t = N("div"), k(t, "class", "LoadingSpinner svelte-61avp5");
4758
+ t = M("div"), k(t, "class", "LoadingSpinner svelte-61avp5");
4732
4759
  },
4733
4760
  m(r, n) {
4734
4761
  X(r, t, n);
@@ -4739,14 +4766,14 @@ function ys(e) {
4739
4766
  }
4740
4767
  };
4741
4768
  }
4742
- function gs(e) {
4769
+ function ws(e) {
4743
4770
  let t, r = (
4744
4771
  /*$_*/
4745
4772
  e[12]("error") + ""
4746
4773
  ), n;
4747
4774
  return {
4748
4775
  c() {
4749
- t = N("p"), n = ot(r), k(t, "class", "SearchLoading svelte-61avp5");
4776
+ t = M("p"), n = at(r), k(t, "class", "SearchLoading svelte-61avp5");
4750
4777
  },
4751
4778
  m(i, s) {
4752
4779
  X(i, t, s), pe(t, n);
@@ -4754,18 +4781,18 @@ function gs(e) {
4754
4781
  p(i, s) {
4755
4782
  s & /*$_*/
4756
4783
  4096 && r !== (r = /*$_*/
4757
- i[12]("error") + "") && Fr(n, r);
4784
+ i[12]("error") + "") && Wr(n, r);
4758
4785
  },
4759
4786
  d(i) {
4760
4787
  i && R(t);
4761
4788
  }
4762
4789
  };
4763
4790
  }
4764
- function Dt(e) {
4791
+ function Ft(e) {
4765
4792
  let t, r, n, i, s, a;
4766
4793
  return {
4767
4794
  c() {
4768
- t = N("casino-calendar-daily-item"), b(t, "dailybackground", r = /*dailyCalendarData*/
4795
+ t = M("casino-calendar-daily-item"), b(t, "dailybackground", r = /*dailyCalendarData*/
4769
4796
  e[26].dailyBackground), b(t, "dailyicon", n = /*dailyCalendarData*/
4770
4797
  e[26].dailyIcon), b(t, "dailyday", i = /*dailyCalendarData*/
4771
4798
  e[26].dailyDay), b(t, "dailydescription", s = /*dailyCalendarData*/
@@ -4853,11 +4880,11 @@ function Dt(e) {
4853
4880
  }
4854
4881
  };
4855
4882
  }
4856
- function Ut(e) {
4883
+ function jt(e) {
4857
4884
  let t, r, n, i, s, a, o, l;
4858
4885
  return {
4859
4886
  c() {
4860
- t = N("div"), r = N("casino-calendar-daily-details"), b(r, "dailybackground", n = /*calendarCollections*/
4887
+ t = M("div"), r = M("casino-calendar-daily-details"), b(r, "dailybackground", n = /*calendarCollections*/
4861
4888
  e[6][
4862
4889
  /*selectedIndex*/
4863
4890
  e[7]
@@ -4979,29 +5006,29 @@ function Ut(e) {
4979
5006
  }
4980
5007
  };
4981
5008
  }
4982
- function vs(e) {
5009
+ function Ss(e) {
4983
5010
  let t;
4984
5011
  function r(s, a) {
4985
5012
  if (
4986
5013
  /*hasErrors*/
4987
5014
  s[9]
4988
5015
  )
4989
- return gs;
5016
+ return ws;
4990
5017
  if (
4991
5018
  /*isLoading*/
4992
5019
  s[8]
4993
5020
  )
4994
- return ys;
5021
+ return xs;
4995
5022
  if (
4996
5023
  /*calendarCollections*/
4997
5024
  s[6]?.length
4998
5025
  )
4999
- return bs;
5026
+ return Es;
5000
5027
  }
5001
5028
  let n = r(e), i = n && n(e);
5002
5029
  return {
5003
5030
  c() {
5004
- t = N("div"), i && i.c(), k(t, "class", "svelte-61avp5");
5031
+ t = M("div"), i && i.c(), k(t, "class", "svelte-61avp5");
5005
5032
  },
5006
5033
  m(s, a) {
5007
5034
  X(s, t, a), i && i.m(t, null), e[16](t);
@@ -5016,44 +5043,44 @@ function vs(e) {
5016
5043
  }
5017
5044
  };
5018
5045
  }
5019
- function _s(e, t, r) {
5046
+ function Ts(e, t, r) {
5020
5047
  let n;
5021
- Cr(e, ls, (y) => r(12, n = y));
5022
- let { cmsendpoint: i = "" } = t, { env: s = "" } = t, { userroles: a = "" } = t, { lang: o = "en" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: h } = t, { mbsource: f } = t, c, p, d = 0, m = !0, E = !1, T = !1, H = window.navigator.userAgent, S = !1;
5023
- const O = () => {
5024
- ps(o);
5048
+ $r(e, ps, (y) => r(12, n = y));
5049
+ 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;
5050
+ const B = () => {
5051
+ _s(o);
5025
5052
  };
5026
- Object.keys(Rt).forEach((y) => {
5027
- Mt(y, Rt[y]);
5053
+ Object.keys(Ut).forEach((y) => {
5054
+ Dt(y, Ut[y]);
5028
5055
  });
5029
- const P = () => {
5056
+ const I = () => {
5030
5057
  let y = h;
5031
5058
  if (y)
5032
- return fetch(y).then((M) => M.json()).then((M) => {
5033
- Object.keys(M).forEach((F) => {
5034
- Mt(F, M[F]);
5059
+ return fetch(y).then((N) => N.json()).then((N) => {
5060
+ Object.keys(N).forEach((F) => {
5061
+ Dt(F, N[F]);
5035
5062
  });
5036
- }).catch((M) => {
5037
- console.log(M);
5063
+ }).catch((N) => {
5064
+ console.log(N);
5038
5065
  });
5039
- }, C = () => {
5066
+ }, w = () => {
5040
5067
  r(8, m = !0);
5041
5068
  let y = new URL(`${i}/${o}/daily-calendar`);
5042
5069
  y.searchParams.append("userRoles", a), y.searchParams.append("env", s);
5043
- let M = hs(H);
5044
- M && (M === "PC" ? y.searchParams.append("device", "dk") : M === "iPad" || M === "iPhone" ? y.searchParams.append("device", "ios") : y.searchParams.append("device", "mtWeb")), fetch(y.href).then((F) => F.json()).then((F) => {
5070
+ let N = ms(H);
5071
+ N && (N === "PC" ? y.searchParams.append("device", "dk") : N === "iPad" || N === "iPhone" ? y.searchParams.append("device", "ios") : y.searchParams.append("device", "mtWeb")), fetch(y.href).then((F) => F.json()).then((F) => {
5045
5072
  r(6, p = F);
5046
5073
  }).catch((F) => {
5047
5074
  console.log(F), r(9, E = !0);
5048
5075
  }).finally(() => {
5049
- w(), r(8, m = !1);
5076
+ C(), r(8, m = !1);
5050
5077
  });
5051
- }, w = () => {
5078
+ }, C = () => {
5052
5079
  const y = c.getRootNode().host;
5053
5080
  y.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: y } }));
5054
5081
  }, L = () => {
5055
- C();
5056
- }, I = (y) => {
5082
+ w();
5083
+ }, W = (y) => {
5057
5084
  y.data && y.data.type == "OpenCalendar" && (r(7, d = y.data.index), r(11, S = !0), window.postMessage(
5058
5085
  {
5059
5086
  type: "ShowModal",
@@ -5066,11 +5093,11 @@ function _s(e, t, r) {
5066
5093
  data: p[d]?.dailyEvents
5067
5094
  })), y.data && y.data.type == "ModalClosed" && r(11, S = !1);
5068
5095
  };
5069
- Qr(() => (window.addEventListener("message", I, !1), Pr(H) && r(10, T = !0), () => {
5070
- window.removeEventListener("message", I);
5096
+ en(() => (window.addEventListener("message", W, !1), Ir(H) && r(10, T = !0), () => {
5097
+ window.emMessageBus && O && window.emMessageBus.unsubscribe("Casino.Style"), window.removeEventListener("message", W);
5071
5098
  }));
5072
- function z(y) {
5073
- ke[y ? "unshift" : "push"](() => {
5099
+ function Lr(y) {
5100
+ Ve[y ? "unshift" : "push"](() => {
5074
5101
  c = y, r(5, c);
5075
5102
  });
5076
5103
  }
@@ -5079,11 +5106,11 @@ function _s(e, t, r) {
5079
5106
  }, e.$$.update = () => {
5080
5107
  e.$$.dirty & /*cmsendpoint, lang, env, userroles*/
5081
5108
  57345 && i && o && s && a && L(), e.$$.dirty & /*clientstyling, customStylingContainer*/
5082
- 34 && l && c && cs(c, l), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
5083
- 36 && u && c && fs(c, u), e.$$.dirty & /*customStylingContainer, mbsource*/
5084
- 48 && c && ds(c, `${f}.Style`), e.$$.dirty & /*lang*/
5085
- 1 && o && O(), e.$$.dirty & /*lang, translationurl*/
5086
- 9 && o && h && P();
5109
+ 34 && l && c && bs(c, l), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
5110
+ 36 && u && c && ys(c, u), e.$$.dirty & /*customStylingContainer, mbsource*/
5111
+ 48 && c && gs(c, `${f}.Style`), e.$$.dirty & /*lang*/
5112
+ 1 && o && B(), e.$$.dirty & /*lang, translationurl*/
5113
+ 9 && o && h && I();
5087
5114
  }, [
5088
5115
  o,
5089
5116
  l,
@@ -5101,17 +5128,17 @@ function _s(e, t, r) {
5101
5128
  i,
5102
5129
  s,
5103
5130
  a,
5104
- z
5131
+ Lr
5105
5132
  ];
5106
5133
  }
5107
- class Br extends on {
5134
+ class Cr extends fn {
5108
5135
  constructor(t) {
5109
- super(), nn(
5136
+ super(), hn(
5110
5137
  this,
5111
5138
  t,
5112
- _s,
5113
- vs,
5114
- Ft,
5139
+ Ts,
5140
+ Ss,
5141
+ Vt,
5115
5142
  {
5116
5143
  cmsendpoint: 13,
5117
5144
  env: 14,
@@ -5122,7 +5149,7 @@ class Br extends on {
5122
5149
  translationurl: 3,
5123
5150
  mbsource: 4
5124
5151
  },
5125
- ms
5152
+ vs
5126
5153
  );
5127
5154
  }
5128
5155
  get cmsendpoint() {
@@ -5174,72 +5201,73 @@ class Br extends on {
5174
5201
  this.$$set({ mbsource: t }), $();
5175
5202
  }
5176
5203
  }
5177
- sn(Br, { cmsendpoint: {}, env: {}, userroles: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
5178
- const Xs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5204
+ cn(Cr, { cmsendpoint: {}, env: {}, userroles: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
5205
+ const qs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5179
5206
  __proto__: null,
5180
- default: Br
5207
+ default: Cr
5181
5208
  }, Symbol.toStringTag, { value: "Module" }));
5182
5209
  export {
5183
5210
  se as $,
5184
- ct as A,
5185
- Ur as B,
5186
- ke as C,
5187
- Es as D,
5188
- b as E,
5189
- Dr as F,
5190
- Ps as G,
5191
- Ls as H,
5192
- Os as I,
5193
- cs as J,
5194
- fs as K,
5195
- ds as L,
5196
- sn as M,
5197
- ls as N,
5198
- hs as O,
5199
- Hs as P,
5200
- Rs as Q,
5211
+ pt as A,
5212
+ As as B,
5213
+ Os as C,
5214
+ Ps as D,
5215
+ Wr as E,
5216
+ jr as F,
5217
+ A as G,
5218
+ b as H,
5219
+ Hs as I,
5220
+ ps as J,
5221
+ kr as K,
5222
+ Cs as L,
5223
+ Ns as M,
5224
+ Ds as N,
5225
+ Fs as O,
5226
+ ms as P,
5227
+ Is as Q,
5201
5228
  V as R,
5202
- on as S,
5203
- Bs as T,
5229
+ fn as S,
5230
+ Ls as T,
5204
5231
  me as U,
5205
- As as V,
5206
- Ns as W,
5207
- Vs as X,
5208
- Cs as Y,
5209
- ks as Z,
5210
- js as _,
5211
- xr as a,
5212
- Fs as a0,
5213
- Ms as a1,
5214
- Ar as a2,
5215
- Gs as a3,
5216
- Pe as a4,
5217
- Is as a5,
5218
- de as a6,
5219
- Xs as a7,
5220
- Mr as b,
5221
- Qt as c,
5222
- R as d,
5223
- Ds as e,
5232
+ Ms as V,
5233
+ Us as W,
5234
+ Qs as X,
5235
+ $s as Y,
5236
+ Gs as Z,
5237
+ Zs as _,
5238
+ Hr as a,
5239
+ zs as a0,
5240
+ Xs as a1,
5241
+ Mr as a2,
5242
+ Be as a3,
5243
+ Rs as a4,
5244
+ Vs as a5,
5245
+ Ws as a6,
5246
+ de as a7,
5247
+ qs as a8,
5248
+ Gr as b,
5249
+ cn as c,
5250
+ X as d,
5251
+ M as e,
5224
5252
  $ as f,
5225
- $s as g,
5226
- X as h,
5227
- nn as i,
5228
- N as j,
5229
- Cr as k,
5230
- Pr as l,
5231
- Fr as m,
5232
- A as n,
5233
- Qr as o,
5234
- pe as p,
5235
- ot as q,
5236
- k as r,
5237
- Ft as s,
5238
- Us as t,
5239
- xs as u,
5240
- pt as v,
5241
- $r as w,
5242
- Ss as x,
5243
- Ts as y,
5244
- ws as z
5253
+ ks as g,
5254
+ Yt as h,
5255
+ hn as i,
5256
+ R as j,
5257
+ $r as k,
5258
+ ys as l,
5259
+ gs as m,
5260
+ js as n,
5261
+ en as o,
5262
+ Ir as p,
5263
+ Ve as q,
5264
+ bs as r,
5265
+ Vt as s,
5266
+ sn as t,
5267
+ Bs as u,
5268
+ yt as v,
5269
+ Vr as w,
5270
+ at as x,
5271
+ k as y,
5272
+ pe as z
5245
5273
  };