@everymatrix/casino-page-nd 1.74.2 → 1.74.3

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 (92) hide show
  1. package/components/{CasinoCalendar-CDNIjQ8T.js → CasinoCalendar-BuZNkBai.js} +987 -1001
  2. package/components/CasinoCalendar-CFUoQxq0.cjs +19 -0
  3. package/components/{CasinoCalendar-BVD-g7V2.js → CasinoCalendar-DdMvhCOA.js} +1049 -1063
  4. package/components/{CasinoCalendarDailyDetails-D_IsmUxa.js → CasinoCalendarDailyDetails-BCVIut1W.js} +75 -75
  5. package/components/{CasinoCalendarDailyDetails-Dun4o4bY.js → CasinoCalendarDailyDetails-ClfGxbko.js} +75 -75
  6. package/components/CasinoCalendarDailyDetails-Dqb6yp--.cjs +1 -0
  7. package/components/{CasinoCalendarDailyItem-r4x7VnIJ.cjs → CasinoCalendarDailyItem-BdDom59r.cjs} +1 -1
  8. package/components/{CasinoCalendarDailyItem-SgYp_4Zc.js → CasinoCalendarDailyItem-C1ADnaTt.js} +6 -6
  9. package/components/{CasinoCalendarDailyItem-lgiTsDmQ.js → CasinoCalendarDailyItem-CYfiDQkf.js} +6 -6
  10. package/components/{CasinoCollectionsProviders-Cfp1fpOk.js → CasinoCollectionsProviders-4kHMGeo6.js} +4 -4
  11. package/components/{CasinoCollectionsProviders-GH5hTDgu.js → CasinoCollectionsProviders-Br5ZzIwL.js} +4 -4
  12. package/components/{CasinoCollectionsProviders-DI8Ie4pa.cjs → CasinoCollectionsProviders-CM25qKz7.cjs} +1 -1
  13. package/components/{CasinoFavoritesSectionNd-BPYxj6tg.js → CasinoFavoritesSectionNd-BpKau9du.js} +74 -74
  14. package/components/{CasinoFavoritesSectionNd-BHSCQ09c.js → CasinoFavoritesSectionNd-BpQfUsRD.js} +74 -74
  15. package/components/{CasinoFavoritesSectionNd-BojhJpei.cjs → CasinoFavoritesSectionNd-DtMLhJwE.cjs} +1 -1
  16. package/components/{CasinoFilter-DUp1Zmmm.js → CasinoFilter-1-YLqdq0.js} +225 -224
  17. package/components/CasinoFilter-Cc3Yv48X.cjs +1 -0
  18. package/components/{CasinoFilter-idsuQa6E.js → CasinoFilter-akdowSz4.js} +253 -254
  19. package/components/{CasinoGameThumbnailNd-CxAL5LP2.js → CasinoGameThumbnailNd-027TQl9L.js} +651 -651
  20. package/components/{CasinoGameThumbnailNd-C33yCVXc.js → CasinoGameThumbnailNd-4vkDFOTQ.js} +653 -653
  21. package/components/{CasinoGameThumbnailNd-DbHe7zqB.cjs → CasinoGameThumbnailNd-Ca2b8Stl.cjs} +6 -6
  22. package/components/CasinoGamesCategorySectionNd-BAynLaaR.cjs +1 -0
  23. package/components/{CasinoGamesCategorySectionNd-CrEOTzR8.js → CasinoGamesCategorySectionNd-CGOJc4eo.js} +14 -14
  24. package/components/{CasinoGamesCategorySectionNd-BXwI9IlG.js → CasinoGamesCategorySectionNd-FSqr3CSC.js} +14 -14
  25. package/components/{CasinoJackpotBanner-Da0QCFOu.js → CasinoJackpotBanner--90-l4pm.js} +8 -8
  26. package/components/{CasinoJackpotBanner-BAVC4_Yz.js → CasinoJackpotBanner-Bdzek1XC.js} +8 -8
  27. package/components/{CasinoJackpotBanner-ClvtHhmd.cjs → CasinoJackpotBanner-CyyNiIY2.cjs} +1 -1
  28. package/components/{CasinoLastPlayedSectionNd-C5b0P3M3.cjs → CasinoLastPlayedSectionNd-6oMHidCr.cjs} +1 -1
  29. package/components/{CasinoLastPlayedSectionNd-Bz5z_-9L.js → CasinoLastPlayedSectionNd-DSncRKaO.js} +10 -10
  30. package/components/{CasinoLastPlayedSectionNd-C0krpcpw.js → CasinoLastPlayedSectionNd-DilDkELD.js} +10 -10
  31. package/components/{CasinoMostPlayedSectionNd-BDoGs9AJ.cjs → CasinoMostPlayedSectionNd-B1xoI2QM.cjs} +1 -1
  32. package/components/{CasinoMostPlayedSectionNd-D-upoJVO.js → CasinoMostPlayedSectionNd-BrdGaj7a.js} +7 -7
  33. package/components/{CasinoMostPlayedSectionNd-DI-xJH91.js → CasinoMostPlayedSectionNd-S6ts_CYh.js} +7 -7
  34. package/components/{CasinoMyGamesNd-8nurfZ3l.cjs → CasinoMyGamesNd-BS2PoJ2a.cjs} +1 -1
  35. package/components/{CasinoMyGamesNd-BkOnlJQV.js → CasinoMyGamesNd-C2FLMGUe.js} +9 -9
  36. package/components/{CasinoMyGamesNd-D30ldxZa.js → CasinoMyGamesNd-CkEhzUen.js} +9 -9
  37. package/components/{CasinoPageNd-CFxeJguw.js → CasinoPageNd-BRWbTx8q.js} +15 -15
  38. package/components/{CasinoPageNd-D_N76QiV.cjs → CasinoPageNd-DqENu2Tu.cjs} +1 -1
  39. package/components/{CasinoPageNd-GZw9xpJs.js → CasinoPageNd-mPiA5_16.js} +15 -15
  40. package/components/{CasinoRandomGame-3uoEGw78.cjs → CasinoRandomGame-CdQVMLbd.cjs} +2 -2
  41. package/components/{CasinoRandomGame-9Yw_xC5j.js → CasinoRandomGame-CtAOJXnF.js} +83 -83
  42. package/components/{CasinoRandomGame-DpKfvMwV.js → CasinoRandomGame-D7RweU9Y.js} +12 -12
  43. package/components/{CasinoSearchNd-CSIbLrzZ.js → CasinoSearchNd-CtwL1Nv0.js} +6 -6
  44. package/components/{CasinoSearchNd-B_Y2kCdY.js → CasinoSearchNd-DCZ8s3vo.js} +6 -6
  45. package/components/{CasinoSearchNd-CY3J2XyE.cjs → CasinoSearchNd-DFcbrjhC.cjs} +1 -1
  46. package/components/{CasinoSort-BYQvNOsF.js → CasinoSort-5WNP_G3S.js} +94 -93
  47. package/components/{CasinoSort-CUCsGytJ.js → CasinoSort-BawqALZV.js} +102 -103
  48. package/components/{CasinoSort-DEzzINXT.cjs → CasinoSort-Du3lmlNe.cjs} +1 -1
  49. package/components/{CasinoWinners-Dr5wYAG5.js → CasinoWinners-BE029Vxq.js} +116 -116
  50. package/components/{CasinoWinners-CQf5gEvU.js → CasinoWinners-DCiuykjq.js} +116 -116
  51. package/components/{CasinoWinners-COmepRdG.cjs → CasinoWinners-XkR8Kmij.cjs} +1 -1
  52. package/components/{GeneralAnimationLoading-CBPC5I1a.js → GeneralAnimationLoading-BETs-Kib.js} +7 -7
  53. package/components/{GeneralAnimationLoading-CKgGhHlf.js → GeneralAnimationLoading-BlN4kA08.js} +7 -7
  54. package/components/{GeneralAnimationLoading-DTUTIYre.cjs → GeneralAnimationLoading-lIyg2-0l.cjs} +1 -1
  55. package/es2015/casino-page-nd.cjs +1 -1
  56. package/es2015/casino-page-nd.js +1 -1
  57. package/esnext/casino-page-nd.js +1 -1
  58. package/package.json +1 -1
  59. package/stencil/{casino-play-random-game-qroM0e64.js → casino-play-random-game-Bc2XLGRl.js} +2 -2
  60. package/stencil/{casino-play-random-game-uBjWXXLi.js → casino-play-random-game-d1PoE_Vf.js} +2 -2
  61. package/stencil/{casino-play-random-game-C3hhQjhn.cjs → casino-play-random-game-wi94nFPy.cjs} +2 -2
  62. package/stencil/index-97d17652-BgKdDb-e.cjs +1 -0
  63. package/stencil/{index-97d17652-DJqGt8q2.js → index-97d17652-C7V2DWFg.js} +147 -147
  64. package/stencil/{index-97d17652-BD-QREJe.js → index-97d17652-DIpvPU9H.js} +151 -151
  65. package/stencil/index-ab3202d6-BwBGn0Oj.cjs +1 -0
  66. package/stencil/{index-ab3202d6-CoRS04SH.js → index-ab3202d6-CiI9jxo9.js} +214 -214
  67. package/stencil/{index-ab3202d6-CSUArOSv.js → index-ab3202d6-Cowbr6qN.js} +209 -209
  68. package/stencil/{index-b2193545-kN0z2MLt.js → index-b2193545-BL364Gzq.js} +169 -169
  69. package/stencil/{index-b2193545-D_cUvAA-.js → index-b2193545-DdqB2rk5.js} +176 -176
  70. package/stencil/index-b2193545-DmjUkkS8.cjs +1 -0
  71. package/stencil/{ui-image-I_uR7pAI.js → ui-image-B_HWMBI-.js} +1 -1
  72. package/stencil/{ui-image-BAqS-hS6.js → ui-image-CzGNxx73.js} +1 -1
  73. package/stencil/{ui-image-b7b48fe5-AJGQkQBu.js → ui-image-b7b48fe5-B-k0kWgx.js} +1 -1
  74. package/stencil/{ui-image-b7b48fe5-2Ir9VtWc.js → ui-image-b7b48fe5-D8-wEkoZ.js} +1 -1
  75. package/stencil/{ui-image-b7b48fe5-pdIH5TBa.cjs → ui-image-b7b48fe5-yceZ9WkN.cjs} +1 -1
  76. package/stencil/{ui-image-CH2Jdp7k.cjs → ui-image-wubI3fkK.cjs} +1 -1
  77. package/stencil/{ui-image_2-Dh5Eqdlm.js → ui-image_2-CzFe50WB.js} +2 -2
  78. package/stencil/{ui-image_2-BGf0VFLf.cjs → ui-image_2-Ha_4GYwN.cjs} +1 -1
  79. package/stencil/{ui-image_2-_K8Pt3w9.js → ui-image_2-z5LhXZY2.js} +2 -2
  80. package/stencil/{ui-skeleton-C0GZ2ncD.js → ui-skeleton-CsmgJUYN.js} +2 -2
  81. package/stencil/{ui-skeleton-5mt1L8pA.cjs → ui-skeleton-DTQ__6LQ.cjs} +1 -1
  82. package/stencil/{ui-skeleton-ae35c6f2-BmKf7IvD.js → ui-skeleton-ae35c6f2-BRNiEwlg.js} +1 -1
  83. package/stencil/{ui-skeleton-ae35c6f2-CQ3pH6qH.cjs → ui-skeleton-ae35c6f2-CZuWo9GO.cjs} +1 -1
  84. package/stencil/{ui-skeleton-ae35c6f2-BSwiS43c.js → ui-skeleton-ae35c6f2-CxSezPtG.js} +1 -1
  85. package/stencil/{ui-skeleton-CYeeBz0Q.js → ui-skeleton-yRWBmyfK.js} +2 -2
  86. package/components/CasinoCalendar-B4OJuO_L.cjs +0 -19
  87. package/components/CasinoCalendarDailyDetails-BEUNC6Xh.cjs +0 -1
  88. package/components/CasinoFilter-BX1QlpN6.cjs +0 -1
  89. package/components/CasinoGamesCategorySectionNd-DX2XHXUK.cjs +0 -1
  90. package/stencil/index-97d17652-tiiCeQFu.cjs +0 -1
  91. package/stencil/index-ab3202d6-DitihRZv.cjs +0 -1
  92. package/stencil/index-b2193545-3zPNeE9v.cjs +0 -1
@@ -1,6 +1,6 @@
1
- function B() {
1
+ function P() {
2
2
  }
3
- function Er(e, t) {
3
+ function yr(e, t) {
4
4
  for (const r in t)
5
5
  e[r] = t[r];
6
6
  return (
@@ -8,71 +8,71 @@ function Er(e, t) {
8
8
  e
9
9
  );
10
10
  }
11
- function Ct(e) {
11
+ function Ot(e) {
12
12
  return e();
13
13
  }
14
- function it() {
14
+ function rt() {
15
15
  return /* @__PURE__ */ Object.create(null);
16
16
  }
17
- function W(e) {
18
- e.forEach(Ct);
17
+ function X(e) {
18
+ e.forEach(Ot);
19
19
  }
20
20
  function xe(e) {
21
21
  return typeof e == "function";
22
22
  }
23
- function Lt(e, t) {
23
+ function It(e, t) {
24
24
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
25
25
  }
26
- let fe;
27
- function no(e, t) {
28
- return e === t ? !0 : (fe || (fe = document.createElement("a")), fe.href = t, e === fe.href);
26
+ let ce;
27
+ function es(e, t) {
28
+ return e === t ? !0 : (ce || (ce = document.createElement("a")), ce.href = t, e === ce.href);
29
29
  }
30
- function xr(e) {
30
+ function gr(e) {
31
31
  return Object.keys(e).length === 0;
32
32
  }
33
- function Mt(e, ...t) {
33
+ function Lt(e, ...t) {
34
34
  if (e == null) {
35
35
  for (const n of t)
36
36
  n(void 0);
37
- return B;
37
+ return P;
38
38
  }
39
39
  const r = e.subscribe(...t);
40
40
  return r.unsubscribe ? () => r.unsubscribe() : r;
41
41
  }
42
- function Sr(e, t, r) {
43
- e.$$.on_destroy.push(Mt(t, r));
42
+ function _r(e, t, r) {
43
+ e.$$.on_destroy.push(Lt(t, r));
44
44
  }
45
- function io(e, t, r, n) {
45
+ function ts(e, t, r, n) {
46
46
  if (e) {
47
- const i = Nt(e, t, r, n);
47
+ const i = Ct(e, t, r, n);
48
48
  return e[0](i);
49
49
  }
50
50
  }
51
- function Nt(e, t, r, n) {
52
- return e[1] && n ? Er(r.ctx.slice(), e[1](n(t))) : r.ctx;
51
+ function Ct(e, t, r, n) {
52
+ return e[1] && n ? yr(r.ctx.slice(), e[1](n(t))) : r.ctx;
53
53
  }
54
- function oo(e, t, r, n) {
54
+ function rs(e, t, r, n) {
55
55
  if (e[2] && n) {
56
56
  const i = e[2](n(r));
57
57
  if (t.dirty === void 0)
58
58
  return i;
59
59
  if (typeof i == "object") {
60
- const o = [], a = Math.max(t.dirty.length, i.length);
61
- for (let s = 0; s < a; s += 1)
62
- o[s] = t.dirty[s] | i[s];
63
- return o;
60
+ const s = [], a = Math.max(t.dirty.length, i.length);
61
+ for (let o = 0; o < a; o += 1)
62
+ s[o] = t.dirty[o] | i[o];
63
+ return s;
64
64
  }
65
65
  return t.dirty | i;
66
66
  }
67
67
  return t.dirty;
68
68
  }
69
- function so(e, t, r, n, i, o) {
69
+ function ns(e, t, r, n, i, s) {
70
70
  if (i) {
71
- const a = Nt(t, r, n, o);
71
+ const a = Ct(t, r, n, s);
72
72
  e.p(a, i);
73
73
  }
74
74
  }
75
- function ao(e) {
75
+ function is(e) {
76
76
  if (e.ctx.length > 32) {
77
77
  const t = [], r = e.ctx.length / 32;
78
78
  for (let n = 0; n < r; n++)
@@ -81,20 +81,20 @@ function ao(e) {
81
81
  }
82
82
  return -1;
83
83
  }
84
- function uo(e) {
85
- return e && xe(e.destroy) ? e.destroy : B;
84
+ function ss(e) {
85
+ return e && xe(e.destroy) ? e.destroy : P;
86
86
  }
87
87
  function Se(e, t) {
88
88
  e.appendChild(t);
89
89
  }
90
- function wr(e, t, r) {
91
- const n = Tr(e);
90
+ function vr(e, t, r) {
91
+ const n = Er(e);
92
92
  if (!n.getElementById(t)) {
93
93
  const i = R("style");
94
- i.id = t, i.textContent = r, Hr(n, i);
94
+ i.id = t, i.textContent = r, xr(n, i);
95
95
  }
96
96
  }
97
- function Tr(e) {
97
+ function Er(e) {
98
98
  if (!e)
99
99
  return document;
100
100
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -104,7 +104,7 @@ function Tr(e) {
104
104
  t
105
105
  ) : e.ownerDocument;
106
106
  }
107
- function Hr(e, t) {
107
+ function xr(e, t) {
108
108
  return Se(
109
109
  /** @type {Document} */
110
110
  e.head || e,
@@ -117,29 +117,29 @@ function k(e, t, r) {
117
117
  function D(e) {
118
118
  e.parentNode && e.parentNode.removeChild(e);
119
119
  }
120
- function Br(e, t) {
120
+ function Sr(e, t) {
121
121
  for (let r = 0; r < e.length; r += 1)
122
122
  e[r] && e[r].d(t);
123
123
  }
124
124
  function R(e) {
125
125
  return document.createElement(e);
126
126
  }
127
- function Pr(e) {
127
+ function wr(e) {
128
128
  return document.createElementNS("http://www.w3.org/2000/svg", e);
129
129
  }
130
- function Ke(e) {
130
+ function Ye(e) {
131
131
  return document.createTextNode(e);
132
132
  }
133
- function Ar() {
134
- return Ke(" ");
133
+ function Tr() {
134
+ return Ye(" ");
135
135
  }
136
- function lo() {
137
- return Ke("");
136
+ function os() {
137
+ return Ye("");
138
138
  }
139
- function ho(e, t, r, n) {
139
+ function as(e, t, r, n) {
140
140
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
141
141
  }
142
- function co(e) {
142
+ function us(e) {
143
143
  return function(t) {
144
144
  return t.stopPropagation(), e.call(this, t);
145
145
  };
@@ -151,23 +151,23 @@ function d(e, t, r) {
151
151
  const n = t.toLowerCase();
152
152
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : j(e, t, r);
153
153
  }
154
- function Or(e) {
154
+ function Hr(e) {
155
155
  return Array.from(e.childNodes);
156
156
  }
157
- function Ir(e, t) {
157
+ function Br(e, t) {
158
158
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
159
159
  t);
160
160
  }
161
- function fo(e, t) {
161
+ function ls(e, t) {
162
162
  e.value = t ?? "";
163
163
  }
164
- function po(e, t, r, n) {
164
+ function hs(e, t, r, n) {
165
165
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
166
166
  }
167
- function mo(e, t, r) {
167
+ function fs(e, t, r) {
168
168
  e.classList.toggle(t, !!r);
169
169
  }
170
- class bo {
170
+ class cs {
171
171
  /**
172
172
  * @private
173
173
  * @default false
@@ -198,7 +198,7 @@ class bo {
198
198
  * @returns {void}
199
199
  */
200
200
  m(t, r, n = null) {
201
- this.e || (this.is_svg ? this.e = Pr(
201
+ this.e || (this.is_svg ? this.e = wr(
202
202
  /** @type {keyof SVGElementTagNameMap} */
203
203
  r.nodeName
204
204
  ) : this.e = R(
@@ -237,7 +237,7 @@ class bo {
237
237
  this.n.forEach(D);
238
238
  }
239
239
  }
240
- function Cr(e) {
240
+ function Pr(e) {
241
241
  const t = {};
242
242
  return e.childNodes.forEach(
243
243
  /** @param {Element} node */
@@ -250,33 +250,33 @@ let ue;
250
250
  function ae(e) {
251
251
  ue = e;
252
252
  }
253
- function Rt() {
253
+ function Nt() {
254
254
  if (!ue)
255
255
  throw new Error("Function called outside component initialization");
256
256
  return ue;
257
257
  }
258
- function Lr(e) {
259
- Rt().$$.on_mount.push(e);
258
+ function Ar(e) {
259
+ Nt().$$.on_mount.push(e);
260
260
  }
261
- function yo(e) {
262
- Rt().$$.on_destroy.push(e);
261
+ function ds(e) {
262
+ Nt().$$.on_destroy.push(e);
263
263
  }
264
- const J = [], $e = [];
264
+ const J = [], Re = [];
265
265
  let q = [];
266
- const ot = [], $t = /* @__PURE__ */ Promise.resolve();
267
- let De = !1;
268
- function Dt() {
269
- De || (De = !0, $t.then(N));
266
+ const nt = [], Mt = /* @__PURE__ */ Promise.resolve();
267
+ let $e = !1;
268
+ function Rt() {
269
+ $e || ($e = !0, Mt.then(M));
270
270
  }
271
- function go() {
272
- return Dt(), $t;
271
+ function ps() {
272
+ return Rt(), Mt;
273
273
  }
274
- function Ue(e) {
274
+ function De(e) {
275
275
  q.push(e);
276
276
  }
277
277
  const Ae = /* @__PURE__ */ new Set();
278
278
  let Z = 0;
279
- function N() {
279
+ function M() {
280
280
  if (Z !== 0)
281
281
  return;
282
282
  const e = ue;
@@ -284,123 +284,123 @@ function N() {
284
284
  try {
285
285
  for (; Z < J.length; ) {
286
286
  const t = J[Z];
287
- Z++, ae(t), Mr(t.$$);
287
+ Z++, ae(t), Or(t.$$);
288
288
  }
289
289
  } catch (t) {
290
290
  throw J.length = 0, Z = 0, t;
291
291
  }
292
- for (ae(null), J.length = 0, Z = 0; $e.length; )
293
- $e.pop()();
292
+ for (ae(null), J.length = 0, Z = 0; Re.length; )
293
+ Re.pop()();
294
294
  for (let t = 0; t < q.length; t += 1) {
295
295
  const r = q[t];
296
296
  Ae.has(r) || (Ae.add(r), r());
297
297
  }
298
298
  q.length = 0;
299
299
  } while (J.length);
300
- for (; ot.length; )
301
- ot.pop()();
302
- De = !1, Ae.clear(), ae(e);
300
+ for (; nt.length; )
301
+ nt.pop()();
302
+ $e = !1, Ae.clear(), ae(e);
303
303
  }
304
- function Mr(e) {
304
+ function Or(e) {
305
305
  if (e.fragment !== null) {
306
- e.update(), W(e.before_update);
306
+ e.update(), X(e.before_update);
307
307
  const t = e.dirty;
308
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ue);
308
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(De);
309
309
  }
310
310
  }
311
- function Nr(e) {
311
+ function Ir(e) {
312
312
  const t = [], r = [];
313
313
  q.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), q = t;
314
314
  }
315
315
  const me = /* @__PURE__ */ new Set();
316
- let X;
317
- function vo() {
318
- X = {
316
+ let V;
317
+ function ms() {
318
+ V = {
319
319
  r: 0,
320
320
  c: [],
321
- p: X
321
+ p: V
322
322
  // parent group
323
323
  };
324
324
  }
325
- function _o() {
326
- X.r || W(X.c), X = X.p;
325
+ function bs() {
326
+ V.r || X(V.c), V = V.p;
327
327
  }
328
- function Ut(e, t) {
328
+ function $t(e, t) {
329
329
  e && e.i && (me.delete(e), e.i(t));
330
330
  }
331
- function Rr(e, t, r, n) {
331
+ function Lr(e, t, r, n) {
332
332
  if (e && e.o) {
333
333
  if (me.has(e))
334
334
  return;
335
- me.add(e), X.c.push(() => {
335
+ me.add(e), V.c.push(() => {
336
336
  me.delete(e), n && (r && e.d(1), n());
337
337
  }), e.o(t);
338
338
  } else
339
339
  n && n();
340
340
  }
341
- function st(e) {
341
+ function it(e) {
342
342
  return e?.length !== void 0 ? e : Array.from(e);
343
343
  }
344
- function Eo(e, t) {
344
+ function ys(e, t) {
345
345
  e.d(1), t.delete(e.key);
346
346
  }
347
- function xo(e, t) {
348
- Rr(e, 1, 1, () => {
347
+ function gs(e, t) {
348
+ Lr(e, 1, 1, () => {
349
349
  t.delete(e.key);
350
350
  });
351
351
  }
352
- function So(e, t, r, n, i, o, a, s, l, u, h, f) {
353
- let c = e.length, m = o.length, b = c;
352
+ function _s(e, t, r, n, i, s, a, o, l, u, h, c) {
353
+ let f = e.length, m = s.length, b = f;
354
354
  const g = {};
355
355
  for (; b--; )
356
356
  g[e[b].key] = b;
357
- const S = [], P = /* @__PURE__ */ new Map(), H = /* @__PURE__ */ new Map(), w = [];
357
+ const S = [], A = /* @__PURE__ */ new Map(), H = /* @__PURE__ */ new Map(), w = [];
358
358
  for (b = m; b--; ) {
359
- const x = f(i, o, b), O = r(x);
360
- let I = a.get(O);
361
- I ? w.push(() => I.p(x, t)) : (I = u(O, x), I.c()), P.set(O, S[b] = I), O in g && H.set(O, Math.abs(b - g[O]));
359
+ const x = c(i, s, b), I = r(x);
360
+ let B = a.get(I);
361
+ B ? w.push(() => B.p(x, t)) : (B = u(I, x), B.c()), A.set(I, S[b] = B), I in g && H.set(I, Math.abs(b - g[I]));
362
362
  }
363
- const L = /* @__PURE__ */ new Set(), A = /* @__PURE__ */ new Set();
364
- function M(x) {
365
- Ut(x, 1), x.m(s, h), a.set(x.key, x), h = x.first, m--;
363
+ const C = /* @__PURE__ */ new Set(), O = /* @__PURE__ */ new Set();
364
+ function N(x) {
365
+ $t(x, 1), x.m(o, h), a.set(x.key, x), h = x.first, m--;
366
366
  }
367
- for (; c && m; ) {
368
- const x = S[m - 1], O = e[c - 1], I = x.key, V = O.key;
369
- x === O ? (h = x.first, c--, m--) : P.has(V) ? !a.has(I) || L.has(I) ? M(x) : A.has(V) ? c-- : H.get(I) > H.get(V) ? (A.add(I), M(x)) : (L.add(V), c--) : (l(O, a), c--);
367
+ for (; f && m; ) {
368
+ const x = S[m - 1], I = e[f - 1], B = x.key, z = I.key;
369
+ x === I ? (h = x.first, f--, m--) : A.has(z) ? !a.has(B) || C.has(B) ? N(x) : O.has(z) ? f-- : H.get(B) > H.get(z) ? (O.add(B), N(x)) : (C.add(z), f--) : (l(I, a), f--);
370
370
  }
371
- for (; c--; ) {
372
- const x = e[c];
373
- P.has(x.key) || l(x, a);
371
+ for (; f--; ) {
372
+ const x = e[f];
373
+ A.has(x.key) || l(x, a);
374
374
  }
375
375
  for (; m; )
376
- M(S[m - 1]);
377
- return W(w), S;
376
+ N(S[m - 1]);
377
+ return X(w), S;
378
378
  }
379
- function $r(e, t, r) {
379
+ function Cr(e, t, r) {
380
380
  const { fragment: n, after_update: i } = e.$$;
381
- n && n.m(t, r), Ue(() => {
382
- const o = e.$$.on_mount.map(Ct).filter(xe);
383
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : W(o), e.$$.on_mount = [];
384
- }), i.forEach(Ue);
381
+ n && n.m(t, r), De(() => {
382
+ const s = e.$$.on_mount.map(Ot).filter(xe);
383
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : X(s), e.$$.on_mount = [];
384
+ }), i.forEach(De);
385
385
  }
386
- function Dr(e, t) {
386
+ function Nr(e, t) {
387
387
  const r = e.$$;
388
- r.fragment !== null && (Nr(r.after_update), W(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
388
+ r.fragment !== null && (Ir(r.after_update), X(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
389
389
  }
390
- function Ur(e, t) {
391
- e.$$.dirty[0] === -1 && (J.push(e), Dt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
390
+ function Mr(e, t) {
391
+ e.$$.dirty[0] === -1 && (J.push(e), Rt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
392
392
  }
393
- function Gr(e, t, r, n, i, o, a = null, s = [-1]) {
393
+ function Rr(e, t, r, n, i, s, a = null, o = [-1]) {
394
394
  const l = ue;
395
395
  ae(e);
396
396
  const u = e.$$ = {
397
397
  fragment: null,
398
398
  ctx: [],
399
399
  // state
400
- props: o,
401
- update: B,
400
+ props: s,
401
+ update: P,
402
402
  not_equal: i,
403
- bound: it(),
403
+ bound: rt(),
404
404
  // lifecycle
405
405
  on_mount: [],
406
406
  on_destroy: [],
@@ -409,28 +409,28 @@ function Gr(e, t, r, n, i, o, a = null, s = [-1]) {
409
409
  after_update: [],
410
410
  context: new Map(t.context || (l ? l.$$.context : [])),
411
411
  // everything else
412
- callbacks: it(),
413
- dirty: s,
412
+ callbacks: rt(),
413
+ dirty: o,
414
414
  skip_bound: !1,
415
415
  root: t.target || l.$$.root
416
416
  };
417
417
  a && a(u.root);
418
418
  let h = !1;
419
- if (u.ctx = r ? r(e, t.props || {}, (f, c, ...m) => {
420
- const b = m.length ? m[0] : c;
421
- return u.ctx && i(u.ctx[f], u.ctx[f] = b) && (!u.skip_bound && u.bound[f] && u.bound[f](b), h && Ur(e, f)), c;
422
- }) : [], u.update(), h = !0, W(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
419
+ if (u.ctx = r ? r(e, t.props || {}, (c, f, ...m) => {
420
+ const b = m.length ? m[0] : f;
421
+ return u.ctx && i(u.ctx[c], u.ctx[c] = b) && (!u.skip_bound && u.bound[c] && u.bound[c](b), h && Mr(e, c)), f;
422
+ }) : [], u.update(), h = !0, X(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
423
423
  if (t.hydrate) {
424
- const f = Or(t.target);
425
- u.fragment && u.fragment.l(f), f.forEach(D);
424
+ const c = Hr(t.target);
425
+ u.fragment && u.fragment.l(c), c.forEach(D);
426
426
  } else
427
427
  u.fragment && u.fragment.c();
428
- t.intro && Ut(e.$$.fragment), $r(e, t.target, t.anchor), N();
428
+ t.intro && $t(e.$$.fragment), Cr(e, t.target, t.anchor), M();
429
429
  }
430
430
  ae(l);
431
431
  }
432
- let Gt;
433
- typeof HTMLElement == "function" && (Gt = class extends HTMLElement {
432
+ let Dt;
433
+ typeof HTMLElement == "function" && (Dt = class extends HTMLElement {
434
434
  /** The Svelte component constructor */
435
435
  $$ctor;
436
436
  /** Slots */
@@ -469,32 +469,32 @@ typeof HTMLElement == "function" && (Gt = class extends HTMLElement {
469
469
  if (this.$$cn = !0, !this.$$c) {
470
470
  let e = function(i) {
471
471
  return () => {
472
- let o;
472
+ let s;
473
473
  return {
474
474
  c: function() {
475
- o = R("slot"), i !== "default" && j(o, "name", i);
475
+ s = R("slot"), i !== "default" && j(s, "name", i);
476
476
  },
477
477
  /**
478
478
  * @param {HTMLElement} target
479
479
  * @param {HTMLElement} [anchor]
480
480
  */
481
481
  m: function(l, u) {
482
- k(l, o, u);
482
+ k(l, s, u);
483
483
  },
484
484
  d: function(l) {
485
- l && D(o);
485
+ l && D(s);
486
486
  }
487
487
  };
488
488
  };
489
489
  };
490
490
  if (await Promise.resolve(), !this.$$cn || this.$$c)
491
491
  return;
492
- const t = {}, r = Cr(this);
492
+ const t = {}, r = Pr(this);
493
493
  for (const i of this.$$s)
494
494
  i in r && (t[i] = [e(i)]);
495
495
  for (const i of this.attributes) {
496
- const o = this.$$g_p(i.name);
497
- o in this.$$d || (this.$$d[o] = be(o, i.value, this.$$p_d, "toProp"));
496
+ const s = this.$$g_p(i.name);
497
+ s in this.$$d || (this.$$d[s] = be(s, i.value, this.$$p_d, "toProp"));
498
498
  }
499
499
  for (const i in this.$$p_d)
500
500
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -512,21 +512,21 @@ typeof HTMLElement == "function" && (Gt = class extends HTMLElement {
512
512
  this.$$r = !0;
513
513
  for (const i in this.$$p_d)
514
514
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
515
- const o = be(
515
+ const s = be(
516
516
  i,
517
517
  this.$$d[i],
518
518
  this.$$p_d,
519
519
  "toAttribute"
520
520
  );
521
- o == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, o);
521
+ s == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, s);
522
522
  }
523
523
  this.$$r = !1;
524
524
  };
525
525
  this.$$c.$$.after_update.push(n), n();
526
526
  for (const i in this.$$l)
527
- for (const o of this.$$l[i]) {
528
- const a = this.$$c.$on(i, o);
529
- this.$$l_u.set(o, a);
527
+ for (const s of this.$$l[i]) {
528
+ const a = this.$$c.$on(i, s);
529
+ this.$$l_u.set(s, a);
530
530
  }
531
531
  this.$$l = {};
532
532
  }
@@ -576,36 +576,36 @@ function be(e, t, r, n) {
576
576
  return t;
577
577
  }
578
578
  }
579
- function Fr(e, t, r, n, i, o) {
580
- let a = class extends Gt {
579
+ function $r(e, t, r, n, i, s) {
580
+ let a = class extends Dt {
581
581
  constructor() {
582
582
  super(e, r, i), this.$$p_d = t;
583
583
  }
584
584
  static get observedAttributes() {
585
585
  return Object.keys(t).map(
586
- (s) => (t[s].attribute || s).toLowerCase()
586
+ (o) => (t[o].attribute || o).toLowerCase()
587
587
  );
588
588
  }
589
589
  };
590
- return Object.keys(t).forEach((s) => {
591
- Object.defineProperty(a.prototype, s, {
590
+ return Object.keys(t).forEach((o) => {
591
+ Object.defineProperty(a.prototype, o, {
592
592
  get() {
593
- return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
593
+ return this.$$c && o in this.$$c ? this.$$c[o] : this.$$d[o];
594
594
  },
595
595
  set(l) {
596
- l = be(s, l, t), this.$$d[s] = l, this.$$c?.$set({ [s]: l });
596
+ l = be(o, l, t), this.$$d[o] = l, this.$$c?.$set({ [o]: l });
597
597
  }
598
598
  });
599
- }), n.forEach((s) => {
600
- Object.defineProperty(a.prototype, s, {
599
+ }), n.forEach((o) => {
600
+ Object.defineProperty(a.prototype, o, {
601
601
  get() {
602
- return this.$$c?.[s];
602
+ return this.$$c?.[o];
603
603
  }
604
604
  });
605
605
  }), e.element = /** @type {any} */
606
606
  a, a;
607
607
  }
608
- class jr {
608
+ class Dr {
609
609
  /**
610
610
  * ### PRIVATE API
611
611
  *
@@ -624,7 +624,7 @@ class jr {
624
624
  $$set = void 0;
625
625
  /** @returns {void} */
626
626
  $destroy() {
627
- Dr(this, 1), this.$destroy = B;
627
+ Nr(this, 1), this.$destroy = P;
628
628
  }
629
629
  /**
630
630
  * @template {Extract<keyof Events, string>} K
@@ -634,7 +634,7 @@ class jr {
634
634
  */
635
635
  $on(t, r) {
636
636
  if (!xe(r))
637
- return B;
637
+ return P;
638
638
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
639
639
  return n.push(r), () => {
640
640
  const i = n.indexOf(r);
@@ -646,11 +646,11 @@ class jr {
646
646
  * @returns {void}
647
647
  */
648
648
  $set(t) {
649
- this.$$set && !xr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
649
+ this.$$set && !gr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
650
650
  }
651
651
  }
652
- const kr = "4";
653
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(kr);
652
+ const Ur = "4";
653
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Ur);
654
654
  /*! *****************************************************************************
655
655
  Copyright (c) Microsoft Corporation.
656
656
 
@@ -665,34 +665,34 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
665
665
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
666
666
  PERFORMANCE OF THIS SOFTWARE.
667
667
  ***************************************************************************** */
668
- var Ge = function(e, t) {
669
- return Ge = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
668
+ var Ue = function(e, t) {
669
+ return Ue = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
670
670
  r.__proto__ = n;
671
671
  } || function(r, n) {
672
672
  for (var i in n)
673
673
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
674
- }, Ge(e, t);
674
+ }, Ue(e, t);
675
675
  };
676
676
  function U(e, t) {
677
677
  if (typeof t != "function" && t !== null)
678
678
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
679
- Ge(e, t);
679
+ Ue(e, t);
680
680
  function r() {
681
681
  this.constructor = e;
682
682
  }
683
683
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
684
684
  }
685
- var _ = function() {
686
- return _ = Object.assign || function(t) {
685
+ var v = function() {
686
+ return v = Object.assign || function(t) {
687
687
  for (var r, n = 1, i = arguments.length; n < i; n++) {
688
688
  r = arguments[n];
689
- for (var o in r)
690
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
689
+ for (var s in r)
690
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
691
691
  }
692
692
  return t;
693
- }, _.apply(this, arguments);
693
+ }, v.apply(this, arguments);
694
694
  };
695
- function Vr(e, t) {
695
+ function Gr(e, t) {
696
696
  var r = {};
697
697
  for (var n in e)
698
698
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -701,7 +701,7 @@ function Vr(e, t) {
701
701
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
702
702
  return r;
703
703
  }
704
- function Fe(e) {
704
+ function Ge(e) {
705
705
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
706
706
  if (r)
707
707
  return r.call(e);
@@ -713,16 +713,16 @@ function Fe(e) {
713
713
  };
714
714
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
715
715
  }
716
- function je(e, t) {
716
+ function Fe(e, t) {
717
717
  var r = typeof Symbol == "function" && e[Symbol.iterator];
718
718
  if (!r)
719
719
  return e;
720
- var n = r.call(e), i, o = [], a;
720
+ var n = r.call(e), i, s = [], a;
721
721
  try {
722
722
  for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
723
- o.push(i.value);
724
- } catch (s) {
725
- a = { error: s };
723
+ s.push(i.value);
724
+ } catch (o) {
725
+ a = { error: o };
726
726
  } finally {
727
727
  try {
728
728
  i && !i.done && (r = n.return) && r.call(n);
@@ -731,24 +731,24 @@ function je(e, t) {
731
731
  throw a.error;
732
732
  }
733
733
  }
734
- return o;
734
+ return s;
735
735
  }
736
736
  function Y(e, t, r) {
737
737
  if (r || arguments.length === 2)
738
- for (var n = 0, i = t.length, o; n < i; n++)
739
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
740
- return e.concat(o || t);
738
+ for (var n = 0, i = t.length, s; n < i; n++)
739
+ (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
740
+ return e.concat(s || t);
741
741
  }
742
742
  function $(e) {
743
743
  return typeof e == "function";
744
744
  }
745
- function Ft(e) {
745
+ function Ut(e) {
746
746
  var t = function(n) {
747
747
  Error.call(n), n.stack = new Error().stack;
748
748
  }, r = e(t);
749
749
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
750
750
  }
751
- var Oe = Ft(function(e) {
751
+ var Oe = Ut(function(e) {
752
752
  return function(r) {
753
753
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
754
754
  ` + r.map(function(n, i) {
@@ -757,7 +757,7 @@ var Oe = Ft(function(e) {
757
757
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
758
758
  };
759
759
  });
760
- function ke(e, t) {
760
+ function je(e, t) {
761
761
  if (e) {
762
762
  var r = e.indexOf(t);
763
763
  0 <= r && e.splice(r, 1);
@@ -768,14 +768,14 @@ var we = function() {
768
768
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
769
769
  }
770
770
  return e.prototype.unsubscribe = function() {
771
- var t, r, n, i, o;
771
+ var t, r, n, i, s;
772
772
  if (!this.closed) {
773
773
  this.closed = !0;
774
774
  var a = this._parentage;
775
775
  if (a)
776
776
  if (this._parentage = null, Array.isArray(a))
777
777
  try {
778
- for (var s = Fe(a), l = s.next(); !l.done; l = s.next()) {
778
+ for (var o = Ge(a), l = o.next(); !l.done; l = o.next()) {
779
779
  var u = l.value;
780
780
  u.remove(this);
781
781
  }
@@ -783,7 +783,7 @@ var we = function() {
783
783
  t = { error: g };
784
784
  } finally {
785
785
  try {
786
- l && !l.done && (r = s.return) && r.call(s);
786
+ l && !l.done && (r = o.return) && r.call(o);
787
787
  } finally {
788
788
  if (t)
789
789
  throw t.error;
@@ -796,39 +796,39 @@ var we = function() {
796
796
  try {
797
797
  h();
798
798
  } catch (g) {
799
- o = g instanceof Oe ? g.errors : [g];
799
+ s = g instanceof Oe ? g.errors : [g];
800
800
  }
801
- var f = this._finalizers;
802
- if (f) {
801
+ var c = this._finalizers;
802
+ if (c) {
803
803
  this._finalizers = null;
804
804
  try {
805
- for (var c = Fe(f), m = c.next(); !m.done; m = c.next()) {
805
+ for (var f = Ge(c), m = f.next(); !m.done; m = f.next()) {
806
806
  var b = m.value;
807
807
  try {
808
- at(b);
808
+ st(b);
809
809
  } catch (g) {
810
- o = o ?? [], g instanceof Oe ? o = Y(Y([], je(o)), je(g.errors)) : o.push(g);
810
+ s = s ?? [], g instanceof Oe ? s = Y(Y([], Fe(s)), Fe(g.errors)) : s.push(g);
811
811
  }
812
812
  }
813
813
  } catch (g) {
814
814
  n = { error: g };
815
815
  } finally {
816
816
  try {
817
- m && !m.done && (i = c.return) && i.call(c);
817
+ m && !m.done && (i = f.return) && i.call(f);
818
818
  } finally {
819
819
  if (n)
820
820
  throw n.error;
821
821
  }
822
822
  }
823
823
  }
824
- if (o)
825
- throw new Oe(o);
824
+ if (s)
825
+ throw new Oe(s);
826
826
  }
827
827
  }, e.prototype.add = function(t) {
828
828
  var r;
829
829
  if (t && t !== this)
830
830
  if (this.closed)
831
- at(t);
831
+ st(t);
832
832
  else {
833
833
  if (t instanceof e) {
834
834
  if (t.closed || t._hasParent(this))
@@ -845,56 +845,56 @@ var we = function() {
845
845
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
846
846
  }, e.prototype._removeParent = function(t) {
847
847
  var r = this._parentage;
848
- r === t ? this._parentage = null : Array.isArray(r) && ke(r, t);
848
+ r === t ? this._parentage = null : Array.isArray(r) && je(r, t);
849
849
  }, e.prototype.remove = function(t) {
850
850
  var r = this._finalizers;
851
- r && ke(r, t), t instanceof e && t._removeParent(this);
851
+ r && je(r, t), t instanceof e && t._removeParent(this);
852
852
  }, e.EMPTY = function() {
853
853
  var t = new e();
854
854
  return t.closed = !0, t;
855
855
  }(), e;
856
- }(), jt = we.EMPTY;
857
- function kt(e) {
856
+ }(), Gt = we.EMPTY;
857
+ function Ft(e) {
858
858
  return e instanceof we || e && "closed" in e && $(e.remove) && $(e.add) && $(e.unsubscribe);
859
859
  }
860
- function at(e) {
860
+ function st(e) {
861
861
  $(e) ? e() : e.unsubscribe();
862
862
  }
863
- var Vt = {
863
+ var Fr = {
864
864
  onUnhandledError: null,
865
865
  onStoppedNotification: null,
866
866
  Promise: void 0,
867
867
  useDeprecatedSynchronousErrorHandling: !1,
868
868
  useDeprecatedNextContext: !1
869
- }, Xr = {
869
+ }, jr = {
870
870
  setTimeout: function(e, t) {
871
871
  for (var r = [], n = 2; n < arguments.length; n++)
872
872
  r[n - 2] = arguments[n];
873
- return setTimeout.apply(void 0, Y([e, t], je(r)));
873
+ return setTimeout.apply(void 0, Y([e, t], Fe(r)));
874
874
  },
875
875
  clearTimeout: function(e) {
876
876
  return clearTimeout(e);
877
877
  },
878
878
  delegate: void 0
879
879
  };
880
- function Wr(e) {
881
- Xr.setTimeout(function() {
880
+ function kr(e) {
881
+ jr.setTimeout(function() {
882
882
  throw e;
883
883
  });
884
884
  }
885
- function ut() {
885
+ function ot() {
886
886
  }
887
887
  function ye(e) {
888
888
  e();
889
889
  }
890
- var Xt = function(e) {
890
+ var jt = function(e) {
891
891
  U(t, e);
892
892
  function t(r) {
893
893
  var n = e.call(this) || this;
894
- return n.isStopped = !1, r ? (n.destination = r, kt(r) && r.add(n)) : n.destination = Jr, n;
894
+ return n.isStopped = !1, r ? (n.destination = r, Ft(r) && r.add(n)) : n.destination = Wr, n;
895
895
  }
896
896
  return t.create = function(r, n, i) {
897
- return new Ve(r, n, i);
897
+ return new ke(r, n, i);
898
898
  }, t.prototype.next = function(r) {
899
899
  this.isStopped || this._next(r);
900
900
  }, t.prototype.error = function(r) {
@@ -918,11 +918,7 @@ var Xt = function(e) {
918
918
  this.unsubscribe();
919
919
  }
920
920
  }, t;
921
- }(we), zr = Function.prototype.bind;
922
- function Ie(e, t) {
923
- return zr.call(e, t);
924
- }
925
- var Zr = function() {
921
+ }(we), Vr = function() {
926
922
  function e(t) {
927
923
  this.partialObserver = t;
928
924
  }
@@ -953,55 +949,43 @@ var Zr = function() {
953
949
  de(r);
954
950
  }
955
951
  }, e;
956
- }(), Ve = function(e) {
952
+ }(), ke = function(e) {
957
953
  U(t, e);
958
954
  function t(r, n, i) {
959
- var o = e.call(this) || this, a;
960
- if ($(r) || !r)
961
- a = {
962
- next: r ?? void 0,
963
- error: n ?? void 0,
964
- complete: i ?? void 0
965
- };
966
- else {
967
- var s;
968
- o && Vt.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
969
- return o.unsubscribe();
970
- }, a = {
971
- next: r.next && Ie(r.next, s),
972
- error: r.error && Ie(r.error, s),
973
- complete: r.complete && Ie(r.complete, s)
974
- }) : a = r;
975
- }
976
- return o.destination = new Zr(a), o;
955
+ var s = e.call(this) || this, a;
956
+ return $(r) || !r ? a = {
957
+ next: r ?? void 0,
958
+ error: n ?? void 0,
959
+ complete: i ?? void 0
960
+ } : a = r, s.destination = new Vr(a), s;
977
961
  }
978
962
  return t;
979
- }(Xt);
963
+ }(jt);
980
964
  function de(e) {
981
- Wr(e);
965
+ kr(e);
982
966
  }
983
- function Qr(e) {
967
+ function Xr(e) {
984
968
  throw e;
985
969
  }
986
- var Jr = {
970
+ var Wr = {
987
971
  closed: !0,
988
- next: ut,
989
- error: Qr,
990
- complete: ut
991
- }, qr = function() {
972
+ next: ot,
973
+ error: Xr,
974
+ complete: ot
975
+ }, zr = function() {
992
976
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
993
977
  }();
994
- function Yr(e) {
978
+ function Zr(e) {
995
979
  return e;
996
980
  }
997
- function Kr(e) {
998
- return e.length === 0 ? Yr : e.length === 1 ? e[0] : function(r) {
981
+ function Qr(e) {
982
+ return e.length === 0 ? Zr : e.length === 1 ? e[0] : function(r) {
999
983
  return e.reduce(function(n, i) {
1000
984
  return i(n);
1001
985
  }, r);
1002
986
  };
1003
987
  }
1004
- var lt = function() {
988
+ var at = function() {
1005
989
  function e(t) {
1006
990
  t && (this._subscribe = t);
1007
991
  }
@@ -1009,11 +993,11 @@ var lt = function() {
1009
993
  var r = new e();
1010
994
  return r.source = this, r.operator = t, r;
1011
995
  }, e.prototype.subscribe = function(t, r, n) {
1012
- var i = this, o = tn(t) ? t : new Ve(t, r, n);
996
+ var i = this, s = qr(t) ? t : new ke(t, r, n);
1013
997
  return ye(function() {
1014
- var a = i, s = a.operator, l = a.source;
1015
- o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
1016
- }), o;
998
+ var a = i, o = a.operator, l = a.source;
999
+ s.add(o ? o.call(s, l) : l ? i._subscribe(s) : i._trySubscribe(s));
1000
+ }), s;
1017
1001
  }, e.prototype._trySubscribe = function(t) {
1018
1002
  try {
1019
1003
  return this._subscribe(t);
@@ -1022,16 +1006,16 @@ var lt = function() {
1022
1006
  }
1023
1007
  }, e.prototype.forEach = function(t, r) {
1024
1008
  var n = this;
1025
- return r = ht(r), new r(function(i, o) {
1026
- var a = new Ve({
1027
- next: function(s) {
1009
+ return r = ut(r), new r(function(i, s) {
1010
+ var a = new ke({
1011
+ next: function(o) {
1028
1012
  try {
1029
- t(s);
1013
+ t(o);
1030
1014
  } catch (l) {
1031
- o(l), a.unsubscribe();
1015
+ s(l), a.unsubscribe();
1032
1016
  }
1033
1017
  },
1034
- error: o,
1018
+ error: s,
1035
1019
  complete: i
1036
1020
  });
1037
1021
  n.subscribe(a);
@@ -1039,70 +1023,70 @@ var lt = function() {
1039
1023
  }, e.prototype._subscribe = function(t) {
1040
1024
  var r;
1041
1025
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
1042
- }, e.prototype[qr] = function() {
1026
+ }, e.prototype[zr] = function() {
1043
1027
  return this;
1044
1028
  }, e.prototype.pipe = function() {
1045
1029
  for (var t = [], r = 0; r < arguments.length; r++)
1046
1030
  t[r] = arguments[r];
1047
- return Kr(t)(this);
1031
+ return Qr(t)(this);
1048
1032
  }, e.prototype.toPromise = function(t) {
1049
1033
  var r = this;
1050
- return t = ht(t), new t(function(n, i) {
1051
- var o;
1034
+ return t = ut(t), new t(function(n, i) {
1035
+ var s;
1052
1036
  r.subscribe(function(a) {
1053
- return o = a;
1037
+ return s = a;
1054
1038
  }, function(a) {
1055
1039
  return i(a);
1056
1040
  }, function() {
1057
- return n(o);
1041
+ return n(s);
1058
1042
  });
1059
1043
  });
1060
1044
  }, e.create = function(t) {
1061
1045
  return new e(t);
1062
1046
  }, e;
1063
1047
  }();
1064
- function ht(e) {
1048
+ function ut(e) {
1065
1049
  var t;
1066
- return (t = e ?? Vt.Promise) !== null && t !== void 0 ? t : Promise;
1050
+ return (t = e ?? Fr.Promise) !== null && t !== void 0 ? t : Promise;
1067
1051
  }
1068
- function en(e) {
1052
+ function Jr(e) {
1069
1053
  return e && $(e.next) && $(e.error) && $(e.complete);
1070
1054
  }
1071
- function tn(e) {
1072
- return e && e instanceof Xt || en(e) && kt(e);
1055
+ function qr(e) {
1056
+ return e && e instanceof jt || Jr(e) && Ft(e);
1073
1057
  }
1074
- var rn = Ft(function(e) {
1058
+ var Yr = Ut(function(e) {
1075
1059
  return function() {
1076
1060
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
1077
1061
  };
1078
- }), Wt = function(e) {
1062
+ }), kt = function(e) {
1079
1063
  U(t, e);
1080
1064
  function t() {
1081
1065
  var r = e.call(this) || this;
1082
1066
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
1083
1067
  }
1084
1068
  return t.prototype.lift = function(r) {
1085
- var n = new ct(this, this);
1069
+ var n = new lt(this, this);
1086
1070
  return n.operator = r, n;
1087
1071
  }, t.prototype._throwIfClosed = function() {
1088
1072
  if (this.closed)
1089
- throw new rn();
1073
+ throw new Yr();
1090
1074
  }, t.prototype.next = function(r) {
1091
1075
  var n = this;
1092
1076
  ye(function() {
1093
- var i, o;
1077
+ var i, s;
1094
1078
  if (n._throwIfClosed(), !n.isStopped) {
1095
1079
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
1096
1080
  try {
1097
- for (var a = Fe(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
1098
- var l = s.value;
1081
+ for (var a = Ge(n.currentObservers), o = a.next(); !o.done; o = a.next()) {
1082
+ var l = o.value;
1099
1083
  l.next(r);
1100
1084
  }
1101
1085
  } catch (u) {
1102
1086
  i = { error: u };
1103
1087
  } finally {
1104
1088
  try {
1105
- s && !s.done && (o = a.return) && o.call(a);
1089
+ o && !o.done && (s = a.return) && s.call(a);
1106
1090
  } finally {
1107
1091
  if (i)
1108
1092
  throw i.error;
@@ -1142,20 +1126,20 @@ var rn = Ft(function(e) {
1142
1126
  }, t.prototype._subscribe = function(r) {
1143
1127
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1144
1128
  }, t.prototype._innerSubscribe = function(r) {
1145
- var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
1146
- return o || a ? jt : (this.currentObservers = null, s.push(r), new we(function() {
1147
- n.currentObservers = null, ke(s, r);
1129
+ var n = this, i = this, s = i.hasError, a = i.isStopped, o = i.observers;
1130
+ return s || a ? Gt : (this.currentObservers = null, o.push(r), new we(function() {
1131
+ n.currentObservers = null, je(o, r);
1148
1132
  }));
1149
1133
  }, t.prototype._checkFinalizedStatuses = function(r) {
1150
- var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
1151
- i ? r.error(o) : a && r.complete();
1134
+ var n = this, i = n.hasError, s = n.thrownError, a = n.isStopped;
1135
+ i ? r.error(s) : a && r.complete();
1152
1136
  }, t.prototype.asObservable = function() {
1153
- var r = new lt();
1137
+ var r = new at();
1154
1138
  return r.source = this, r;
1155
1139
  }, t.create = function(r, n) {
1156
- return new ct(r, n);
1140
+ return new lt(r, n);
1157
1141
  }, t;
1158
- }(lt), ct = function(e) {
1142
+ }(at), lt = function(e) {
1159
1143
  U(t, e);
1160
1144
  function t(r, n) {
1161
1145
  var i = e.call(this) || this;
@@ -1172,54 +1156,54 @@ var rn = Ft(function(e) {
1172
1156
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1173
1157
  }, t.prototype._subscribe = function(r) {
1174
1158
  var n, i;
1175
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : jt;
1159
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Gt;
1176
1160
  }, t;
1177
- }(Wt), zt = {
1161
+ }(kt), Vt = {
1178
1162
  now: function() {
1179
- return (zt.delegate || Date).now();
1163
+ return (Vt.delegate || Date).now();
1180
1164
  },
1181
1165
  delegate: void 0
1182
- }, nn = function(e) {
1166
+ }, Kr = function(e) {
1183
1167
  U(t, e);
1184
1168
  function t(r, n, i) {
1185
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = zt);
1186
- var o = e.call(this) || this;
1187
- return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
1169
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Vt);
1170
+ var s = e.call(this) || this;
1171
+ 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;
1188
1172
  }
1189
1173
  return t.prototype.next = function(r) {
1190
- var n = this, i = n.isStopped, o = n._buffer, a = n._infiniteTimeWindow, s = n._timestampProvider, l = n._windowTime;
1191
- i || (o.push(r), !a && o.push(s.now() + l)), this._trimBuffer(), e.prototype.next.call(this, r);
1174
+ var n = this, i = n.isStopped, s = n._buffer, a = n._infiniteTimeWindow, o = n._timestampProvider, l = n._windowTime;
1175
+ i || (s.push(r), !a && s.push(o.now() + l)), this._trimBuffer(), e.prototype.next.call(this, r);
1192
1176
  }, t.prototype._subscribe = function(r) {
1193
1177
  this._throwIfClosed(), this._trimBuffer();
1194
- for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, a = i._buffer, s = a.slice(), l = 0; l < s.length && !r.closed; l += o ? 1 : 2)
1195
- r.next(s[l]);
1178
+ for (var n = this._innerSubscribe(r), i = this, s = i._infiniteTimeWindow, a = i._buffer, o = a.slice(), l = 0; l < o.length && !r.closed; l += s ? 1 : 2)
1179
+ r.next(o[l]);
1196
1180
  return this._checkFinalizedStatuses(r), n;
1197
1181
  }, t.prototype._trimBuffer = function() {
1198
- var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, a = r._infiniteTimeWindow, s = (a ? 1 : 2) * n;
1199
- if (n < 1 / 0 && s < o.length && o.splice(0, o.length - s), !a) {
1200
- for (var l = i.now(), u = 0, h = 1; h < o.length && o[h] <= l; h += 2)
1182
+ var r = this, n = r._bufferSize, i = r._timestampProvider, s = r._buffer, a = r._infiniteTimeWindow, o = (a ? 1 : 2) * n;
1183
+ if (n < 1 / 0 && o < s.length && s.splice(0, s.length - o), !a) {
1184
+ for (var l = i.now(), u = 0, h = 1; h < s.length && s[h] <= l; h += 2)
1201
1185
  u = h;
1202
- u && o.splice(0, u + 1);
1186
+ u && s.splice(0, u + 1);
1203
1187
  }
1204
1188
  }, t;
1205
- }(Wt);
1206
- const ft = [], dt = {}, on = (e, t = 0) => {
1207
- if (ft.indexOf(e) == -1) {
1208
- const r = new nn(t);
1209
- dt[e] = r, ft.push(e);
1189
+ }(kt);
1190
+ const ht = [], ft = {}, en = (e, t = 0) => {
1191
+ if (ht.indexOf(e) == -1) {
1192
+ const r = new Kr(t);
1193
+ ft[e] = r, ht.push(e);
1210
1194
  }
1211
- return dt[e];
1195
+ return ft[e];
1212
1196
  }, Q = [];
1213
- function sn(e, t) {
1197
+ function tn(e, t) {
1214
1198
  return {
1215
1199
  subscribe: Te(e, t).subscribe
1216
1200
  };
1217
1201
  }
1218
- function Te(e, t = B) {
1202
+ function Te(e, t = P) {
1219
1203
  let r;
1220
1204
  const n = /* @__PURE__ */ new Set();
1221
- function i(s) {
1222
- if (Lt(e, s) && (e = s, r)) {
1205
+ function i(o) {
1206
+ if (It(e, o) && (e = o, r)) {
1223
1207
  const l = !Q.length;
1224
1208
  for (const u of n)
1225
1209
  u[1](), Q.push(u, e);
@@ -1230,112 +1214,112 @@ function Te(e, t = B) {
1230
1214
  }
1231
1215
  }
1232
1216
  }
1233
- function o(s) {
1234
- i(s(e));
1217
+ function s(o) {
1218
+ i(o(e));
1235
1219
  }
1236
- function a(s, l = B) {
1237
- const u = [s, l];
1238
- return n.add(u), n.size === 1 && (r = t(i, o) || B), s(e), () => {
1220
+ function a(o, l = P) {
1221
+ const u = [o, l];
1222
+ return n.add(u), n.size === 1 && (r = t(i, s) || P), o(e), () => {
1239
1223
  n.delete(u), n.size === 0 && r && (r(), r = null);
1240
1224
  };
1241
1225
  }
1242
- return { set: i, update: o, subscribe: a };
1226
+ return { set: i, update: s, subscribe: a };
1243
1227
  }
1244
1228
  function ne(e, t, r) {
1245
1229
  const n = !Array.isArray(e), i = n ? [e] : e;
1246
1230
  if (!i.every(Boolean))
1247
1231
  throw new Error("derived() expects stores as input, got a falsy value");
1248
- const o = t.length < 2;
1249
- return sn(r, (a, s) => {
1232
+ const s = t.length < 2;
1233
+ return tn(r, (a, o) => {
1250
1234
  let l = !1;
1251
1235
  const u = [];
1252
- let h = 0, f = B;
1253
- const c = () => {
1236
+ let h = 0, c = P;
1237
+ const f = () => {
1254
1238
  if (h)
1255
1239
  return;
1256
- f();
1257
- const b = t(n ? u[0] : u, a, s);
1258
- o ? a(b) : f = xe(b) ? b : B;
1240
+ c();
1241
+ const b = t(n ? u[0] : u, a, o);
1242
+ s ? a(b) : c = xe(b) ? b : P;
1259
1243
  }, m = i.map(
1260
- (b, g) => Mt(
1244
+ (b, g) => Lt(
1261
1245
  b,
1262
1246
  (S) => {
1263
- u[g] = S, h &= ~(1 << g), l && c();
1247
+ u[g] = S, h &= ~(1 << g), l && f();
1264
1248
  },
1265
1249
  () => {
1266
1250
  h |= 1 << g;
1267
1251
  }
1268
1252
  )
1269
1253
  );
1270
- return l = !0, c(), function() {
1271
- W(m), f(), l = !1;
1254
+ return l = !0, f(), function() {
1255
+ X(m), c(), l = !1;
1272
1256
  };
1273
1257
  });
1274
1258
  }
1275
- function an(e) {
1276
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1259
+ function rn(e) {
1260
+ return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1277
1261
  }
1278
- var un = function(t) {
1279
- return ln(t) && !hn(t);
1262
+ var nn = function(t) {
1263
+ return sn(t) && !on(t);
1280
1264
  };
1281
- function ln(e) {
1265
+ function sn(e) {
1282
1266
  return !!e && typeof e == "object";
1283
1267
  }
1284
- function hn(e) {
1268
+ function on(e) {
1285
1269
  var t = Object.prototype.toString.call(e);
1286
- return t === "[object RegExp]" || t === "[object Date]" || dn(e);
1270
+ return t === "[object RegExp]" || t === "[object Date]" || ln(e);
1287
1271
  }
1288
- var cn = typeof Symbol == "function" && Symbol.for, fn = cn ? Symbol.for("react.element") : 60103;
1289
- function dn(e) {
1290
- return e.$$typeof === fn;
1272
+ var an = typeof Symbol == "function" && Symbol.for, un = an ? Symbol.for("react.element") : 60103;
1273
+ function ln(e) {
1274
+ return e.$$typeof === un;
1291
1275
  }
1292
- function pn(e) {
1276
+ function hn(e) {
1293
1277
  return Array.isArray(e) ? [] : {};
1294
1278
  }
1295
1279
  function le(e, t) {
1296
- return t.clone !== !1 && t.isMergeableObject(e) ? K(pn(e), e, t) : e;
1280
+ return t.clone !== !1 && t.isMergeableObject(e) ? K(hn(e), e, t) : e;
1297
1281
  }
1298
- function mn(e, t, r) {
1282
+ function fn(e, t, r) {
1299
1283
  return e.concat(t).map(function(n) {
1300
1284
  return le(n, r);
1301
1285
  });
1302
1286
  }
1303
- function bn(e, t) {
1287
+ function cn(e, t) {
1304
1288
  if (!t.customMerge)
1305
1289
  return K;
1306
1290
  var r = t.customMerge(e);
1307
1291
  return typeof r == "function" ? r : K;
1308
1292
  }
1309
- function yn(e) {
1293
+ function dn(e) {
1310
1294
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1311
1295
  return Object.propertyIsEnumerable.call(e, t);
1312
1296
  }) : [];
1313
1297
  }
1314
- function pt(e) {
1315
- return Object.keys(e).concat(yn(e));
1298
+ function ct(e) {
1299
+ return Object.keys(e).concat(dn(e));
1316
1300
  }
1317
- function Zt(e, t) {
1301
+ function Xt(e, t) {
1318
1302
  try {
1319
1303
  return t in e;
1320
1304
  } catch {
1321
1305
  return !1;
1322
1306
  }
1323
1307
  }
1324
- function gn(e, t) {
1325
- return Zt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1308
+ function pn(e, t) {
1309
+ return Xt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1326
1310
  }
1327
- function vn(e, t, r) {
1311
+ function mn(e, t, r) {
1328
1312
  var n = {};
1329
- return r.isMergeableObject(e) && pt(e).forEach(function(i) {
1313
+ return r.isMergeableObject(e) && ct(e).forEach(function(i) {
1330
1314
  n[i] = le(e[i], r);
1331
- }), pt(t).forEach(function(i) {
1332
- gn(e, i) || (Zt(e, i) && r.isMergeableObject(t[i]) ? n[i] = bn(i, r)(e[i], t[i], r) : n[i] = le(t[i], r));
1315
+ }), ct(t).forEach(function(i) {
1316
+ pn(e, i) || (Xt(e, i) && r.isMergeableObject(t[i]) ? n[i] = cn(i, r)(e[i], t[i], r) : n[i] = le(t[i], r));
1333
1317
  }), n;
1334
1318
  }
1335
1319
  function K(e, t, r) {
1336
- r = r || {}, r.arrayMerge = r.arrayMerge || mn, r.isMergeableObject = r.isMergeableObject || un, r.cloneUnlessOtherwiseSpecified = le;
1337
- var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1338
- return o ? n ? r.arrayMerge(e, t, r) : vn(e, t, r) : le(t, r);
1320
+ r = r || {}, r.arrayMerge = r.arrayMerge || fn, r.isMergeableObject = r.isMergeableObject || nn, r.cloneUnlessOtherwiseSpecified = le;
1321
+ var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
1322
+ return s ? n ? r.arrayMerge(e, t, r) : mn(e, t, r) : le(t, r);
1339
1323
  }
1340
1324
  K.all = function(t, r) {
1341
1325
  if (!Array.isArray(t))
@@ -1344,58 +1328,60 @@ K.all = function(t, r) {
1344
1328
  return K(n, i, r);
1345
1329
  }, {});
1346
1330
  };
1347
- var _n = K, En = _n;
1348
- const xn = /* @__PURE__ */ an(En);
1349
- function Ce(e, t) {
1350
- var r = t && t.cache ? t.cache : Pn, n = t && t.serializer ? t.serializer : Bn, i = t && t.strategy ? t.strategy : wn;
1331
+ var bn = K, yn = bn;
1332
+ const gn = /* @__PURE__ */ rn(yn);
1333
+ function Ie(e, t) {
1334
+ var r = t && t.cache ? t.cache : Tn, n = t && t.serializer ? t.serializer : Sn, i = t && t.strategy ? t.strategy : vn;
1351
1335
  return i(e, {
1352
1336
  cache: r,
1353
1337
  serializer: n
1354
1338
  });
1355
1339
  }
1356
- function Sn(e) {
1340
+ function _n(e) {
1357
1341
  return e == null || typeof e == "number" || typeof e == "boolean";
1358
1342
  }
1359
- function Qt(e, t, r, n) {
1360
- var i = Sn(n) ? n : r(n), o = t.get(i);
1361
- return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1343
+ function Wt(e, t, r, n) {
1344
+ var i = _n(n) ? n : r(n), s = t.get(i);
1345
+ return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
1362
1346
  }
1363
- function Jt(e, t, r) {
1364
- var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1365
- return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1347
+ function zt(e, t, r) {
1348
+ var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
1349
+ return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
1366
1350
  }
1367
- function et(e, t, r, n, i) {
1351
+ function Ke(e, t, r, n, i) {
1368
1352
  return r.bind(t, e, n, i);
1369
1353
  }
1370
- function wn(e, t) {
1371
- var r = e.length === 1 ? Qt : Jt;
1372
- return et(e, this, r, t.cache.create(), t.serializer);
1354
+ function vn(e, t) {
1355
+ var r = e.length === 1 ? Wt : zt;
1356
+ return Ke(e, this, r, t.cache.create(), t.serializer);
1373
1357
  }
1374
- function Tn(e, t) {
1375
- return et(e, this, Jt, t.cache.create(), t.serializer);
1358
+ function En(e, t) {
1359
+ return Ke(e, this, zt, t.cache.create(), t.serializer);
1376
1360
  }
1377
- function Hn(e, t) {
1378
- return et(e, this, Qt, t.cache.create(), t.serializer);
1361
+ function xn(e, t) {
1362
+ return Ke(e, this, Wt, t.cache.create(), t.serializer);
1379
1363
  }
1380
- var Bn = function() {
1364
+ var Sn = function() {
1381
1365
  return JSON.stringify(arguments);
1382
- };
1383
- function tt() {
1384
- this.cache = /* @__PURE__ */ Object.create(null);
1385
- }
1386
- tt.prototype.get = function(e) {
1387
- return this.cache[e];
1388
- };
1389
- tt.prototype.set = function(e, t) {
1390
- this.cache[e] = t;
1391
- };
1392
- var Pn = {
1366
+ }, wn = (
1367
+ /** @class */
1368
+ function() {
1369
+ function e() {
1370
+ this.cache = /* @__PURE__ */ Object.create(null);
1371
+ }
1372
+ return e.prototype.get = function(t) {
1373
+ return this.cache[t];
1374
+ }, e.prototype.set = function(t, r) {
1375
+ this.cache[t] = r;
1376
+ }, e;
1377
+ }()
1378
+ ), Tn = {
1393
1379
  create: function() {
1394
- return new tt();
1380
+ return new wn();
1395
1381
  }
1396
1382
  }, Le = {
1397
- variadic: Tn,
1398
- monadic: Hn
1383
+ variadic: En,
1384
+ monadic: xn
1399
1385
  }, y;
1400
1386
  (function(e) {
1401
1387
  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";
@@ -1408,43 +1394,43 @@ var ee;
1408
1394
  (function(e) {
1409
1395
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1410
1396
  })(ee || (ee = {}));
1411
- function mt(e) {
1397
+ function dt(e) {
1412
1398
  return e.type === E.literal;
1413
1399
  }
1414
- function An(e) {
1400
+ function Hn(e) {
1415
1401
  return e.type === E.argument;
1416
1402
  }
1417
- function qt(e) {
1403
+ function Zt(e) {
1418
1404
  return e.type === E.number;
1419
1405
  }
1420
- function Yt(e) {
1406
+ function Qt(e) {
1421
1407
  return e.type === E.date;
1422
1408
  }
1423
- function Kt(e) {
1409
+ function Jt(e) {
1424
1410
  return e.type === E.time;
1425
1411
  }
1426
- function er(e) {
1412
+ function qt(e) {
1427
1413
  return e.type === E.select;
1428
1414
  }
1429
- function tr(e) {
1415
+ function Yt(e) {
1430
1416
  return e.type === E.plural;
1431
1417
  }
1432
- function On(e) {
1418
+ function Bn(e) {
1433
1419
  return e.type === E.pound;
1434
1420
  }
1435
- function rr(e) {
1421
+ function Kt(e) {
1436
1422
  return e.type === E.tag;
1437
1423
  }
1438
- function nr(e) {
1424
+ function er(e) {
1439
1425
  return !!(e && typeof e == "object" && e.type === ee.number);
1440
1426
  }
1441
- function Xe(e) {
1427
+ function Ve(e) {
1442
1428
  return !!(e && typeof e == "object" && e.type === ee.dateTime);
1443
1429
  }
1444
- var ir = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, In = /(?:[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;
1445
- function Cn(e) {
1430
+ var tr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Pn = /(?:[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;
1431
+ function An(e) {
1446
1432
  var t = {};
1447
- return e.replace(In, function(r) {
1433
+ return e.replace(Pn, function(r) {
1448
1434
  var n = r.length;
1449
1435
  switch (r[0]) {
1450
1436
  case "G":
@@ -1533,36 +1519,36 @@ function Cn(e) {
1533
1519
  return "";
1534
1520
  }), t;
1535
1521
  }
1536
- var Ln = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1537
- function Mn(e) {
1522
+ var On = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1523
+ function In(e) {
1538
1524
  if (e.length === 0)
1539
1525
  throw new Error("Number skeleton cannot be empty");
1540
- for (var t = e.split(Ln).filter(function(c) {
1541
- return c.length > 0;
1526
+ for (var t = e.split(On).filter(function(f) {
1527
+ return f.length > 0;
1542
1528
  }), r = [], n = 0, i = t; n < i.length; n++) {
1543
- var o = i[n], a = o.split("/");
1529
+ var s = i[n], a = s.split("/");
1544
1530
  if (a.length === 0)
1545
1531
  throw new Error("Invalid number skeleton");
1546
- for (var s = a[0], l = a.slice(1), u = 0, h = l; u < h.length; u++) {
1547
- var f = h[u];
1548
- if (f.length === 0)
1532
+ for (var o = a[0], l = a.slice(1), u = 0, h = l; u < h.length; u++) {
1533
+ var c = h[u];
1534
+ if (c.length === 0)
1549
1535
  throw new Error("Invalid number skeleton");
1550
1536
  }
1551
- r.push({ stem: s, options: l });
1537
+ r.push({ stem: o, options: l });
1552
1538
  }
1553
1539
  return r;
1554
1540
  }
1555
- function Nn(e) {
1541
+ function Ln(e) {
1556
1542
  return e.replace(/^(.*?)-/, "");
1557
1543
  }
1558
- var bt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, or = /^(@+)?(\+|#+)?[rs]?$/g, Rn = /(\*)(0+)|(#+)(0+)|(0+)/g, sr = /^(0+)$/;
1559
- function yt(e) {
1544
+ var pt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, rr = /^(@+)?(\+|#+)?[rs]?$/g, Cn = /(\*)(0+)|(#+)(0+)|(0+)/g, nr = /^(0+)$/;
1545
+ function mt(e) {
1560
1546
  var t = {};
1561
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(or, function(r, n, i) {
1547
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(rr, function(r, n, i) {
1562
1548
  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)), "";
1563
1549
  }), t;
1564
1550
  }
1565
- function ar(e) {
1551
+ function ir(e) {
1566
1552
  switch (e) {
1567
1553
  case "sign-auto":
1568
1554
  return {
@@ -1602,7 +1588,7 @@ function ar(e) {
1602
1588
  };
1603
1589
  }
1604
1590
  }
1605
- function $n(e) {
1591
+ function Nn(e) {
1606
1592
  var t;
1607
1593
  if (e[0] === "E" && e[1] === "E" ? (t = {
1608
1594
  notation: "engineering"
@@ -1610,17 +1596,17 @@ function $n(e) {
1610
1596
  notation: "scientific"
1611
1597
  }, e = e.slice(1)), t) {
1612
1598
  var r = e.slice(0, 2);
1613
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !sr.test(e))
1599
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !nr.test(e))
1614
1600
  throw new Error("Malformed concise eng/scientific notation");
1615
1601
  t.minimumIntegerDigits = e.length;
1616
1602
  }
1617
1603
  return t;
1618
1604
  }
1619
- function gt(e) {
1620
- var t = {}, r = ar(e);
1605
+ function bt(e) {
1606
+ var t = {}, r = ir(e);
1621
1607
  return r || t;
1622
1608
  }
1623
- function Dn(e) {
1609
+ function Mn(e) {
1624
1610
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1625
1611
  var i = n[r];
1626
1612
  switch (i.stem) {
@@ -1644,7 +1630,7 @@ function Dn(e) {
1644
1630
  continue;
1645
1631
  case "measure-unit":
1646
1632
  case "unit":
1647
- t.style = "unit", t.unit = Nn(i.options[0]);
1633
+ t.style = "unit", t.unit = Ln(i.options[0]);
1648
1634
  continue;
1649
1635
  case "compact-short":
1650
1636
  case "K":
@@ -1655,13 +1641,13 @@ function Dn(e) {
1655
1641
  t.notation = "compact", t.compactDisplay = "long";
1656
1642
  continue;
1657
1643
  case "scientific":
1658
- t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1659
- return _(_({}, l), gt(u));
1644
+ t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1645
+ return v(v({}, l), bt(u));
1660
1646
  }, {}));
1661
1647
  continue;
1662
1648
  case "engineering":
1663
- t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1664
- return _(_({}, l), gt(u));
1649
+ t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1650
+ return v(v({}, l), bt(u));
1665
1651
  }, {}));
1666
1652
  continue;
1667
1653
  case "notation-simple":
@@ -1706,11 +1692,11 @@ function Dn(e) {
1706
1692
  case "integer-width":
1707
1693
  if (i.options.length > 1)
1708
1694
  throw new RangeError("integer-width stems only accept a single optional option");
1709
- i.options[0].replace(Rn, function(l, u, h, f, c, m) {
1695
+ i.options[0].replace(Cn, function(l, u, h, c, f, m) {
1710
1696
  if (u)
1711
1697
  t.minimumIntegerDigits = h.length;
1712
1698
  else {
1713
- if (f && c)
1699
+ if (c && f)
1714
1700
  throw new Error("We currently do not support maximum integer digits");
1715
1701
  if (m)
1716
1702
  throw new Error("We currently do not support exact integer digits");
@@ -1719,28 +1705,28 @@ function Dn(e) {
1719
1705
  });
1720
1706
  continue;
1721
1707
  }
1722
- if (sr.test(i.stem)) {
1708
+ if (nr.test(i.stem)) {
1723
1709
  t.minimumIntegerDigits = i.stem.length;
1724
1710
  continue;
1725
1711
  }
1726
- if (bt.test(i.stem)) {
1712
+ if (pt.test(i.stem)) {
1727
1713
  if (i.options.length > 1)
1728
1714
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1729
- i.stem.replace(bt, function(l, u, h, f, c, m) {
1730
- return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && m ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + m.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1715
+ i.stem.replace(pt, function(l, u, h, c, f, m) {
1716
+ return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && m ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + m.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1731
1717
  });
1732
- var o = i.options[0];
1733
- o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), yt(o)));
1718
+ var s = i.options[0];
1719
+ s === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = v(v({}, t), mt(s)));
1734
1720
  continue;
1735
1721
  }
1736
- if (or.test(i.stem)) {
1737
- t = _(_({}, t), yt(i.stem));
1722
+ if (rr.test(i.stem)) {
1723
+ t = v(v({}, t), mt(i.stem));
1738
1724
  continue;
1739
1725
  }
1740
- var a = ar(i.stem);
1741
- a && (t = _(_({}, t), a));
1742
- var s = $n(i.stem);
1743
- s && (t = _(_({}, t), s));
1726
+ var a = ir(i.stem);
1727
+ a && (t = v(v({}, t), a));
1728
+ var o = Nn(i.stem);
1729
+ o && (t = v(v({}, t), o));
1744
1730
  }
1745
1731
  return t;
1746
1732
  }
@@ -3159,14 +3145,14 @@ var pe = {
3159
3145
  "h"
3160
3146
  ]
3161
3147
  };
3162
- function Un(e, t) {
3148
+ function Rn(e, t) {
3163
3149
  for (var r = "", n = 0; n < e.length; n++) {
3164
3150
  var i = e.charAt(n);
3165
3151
  if (i === "j") {
3166
- for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3167
- o++, n++;
3168
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Gn(t);
3169
- for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
3152
+ for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3153
+ s++, n++;
3154
+ var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = $n(t);
3155
+ for ((u == "H" || u == "k") && (o = 0); o-- > 0; )
3170
3156
  r += l;
3171
3157
  for (; a-- > 0; )
3172
3158
  r = u + r;
@@ -3175,7 +3161,7 @@ function Un(e, t) {
3175
3161
  }
3176
3162
  return r;
3177
3163
  }
3178
- function Gn(e) {
3164
+ function $n(e) {
3179
3165
  var t = e.hourCycle;
3180
3166
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3181
3167
  e.hourCycles && // @ts-ignore
@@ -3197,20 +3183,20 @@ function Gn(e) {
3197
3183
  var i = pe[n || ""] || pe[r || ""] || pe["".concat(r, "-001")] || pe["001"];
3198
3184
  return i[0];
3199
3185
  }
3200
- var Me, Fn = new RegExp("^".concat(ir.source, "*")), jn = new RegExp("".concat(ir.source, "*$"));
3201
- function v(e, t) {
3186
+ var Ce, Dn = new RegExp("^".concat(tr.source, "*")), Un = new RegExp("".concat(tr.source, "*$"));
3187
+ function _(e, t) {
3202
3188
  return { start: e, end: t };
3203
3189
  }
3204
- var kn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Vn = !!String.fromCodePoint, Xn = !!Object.fromEntries, Wn = !!String.prototype.codePointAt, zn = !!String.prototype.trimStart, Zn = !!String.prototype.trimEnd, Qn = !!Number.isSafeInteger, Jn = Qn ? Number.isSafeInteger : function(e) {
3190
+ var Gn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Fn = !!String.fromCodePoint, jn = !!Object.fromEntries, kn = !!String.prototype.codePointAt, Vn = !!String.prototype.trimStart, Xn = !!String.prototype.trimEnd, Wn = !!Number.isSafeInteger, zn = Wn ? Number.isSafeInteger : function(e) {
3205
3191
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3206
- }, We = !0;
3192
+ }, Xe = !0;
3207
3193
  try {
3208
- var qn = lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3209
- We = ((Me = qn.exec("a")) === null || Me === void 0 ? void 0 : Me[0]) === "a";
3194
+ var Zn = or("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3195
+ Xe = ((Ce = Zn.exec("a")) === null || Ce === void 0 ? void 0 : Ce[0]) === "a";
3210
3196
  } catch {
3211
- We = !1;
3197
+ Xe = !1;
3212
3198
  }
3213
- var vt = kn ? (
3199
+ var yt = Gn ? (
3214
3200
  // Native
3215
3201
  function(t, r, n) {
3216
3202
  return t.startsWith(r, n);
@@ -3220,31 +3206,31 @@ var vt = kn ? (
3220
3206
  function(t, r, n) {
3221
3207
  return t.slice(n, n + r.length) === r;
3222
3208
  }
3223
- ), ze = Vn ? String.fromCodePoint : (
3209
+ ), We = Fn ? String.fromCodePoint : (
3224
3210
  // IE11
3225
3211
  function() {
3226
3212
  for (var t = [], r = 0; r < arguments.length; r++)
3227
3213
  t[r] = arguments[r];
3228
- for (var n = "", i = t.length, o = 0, a; i > o; ) {
3229
- if (a = t[o++], a > 1114111)
3214
+ for (var n = "", i = t.length, s = 0, a; i > s; ) {
3215
+ if (a = t[s++], a > 1114111)
3230
3216
  throw RangeError(a + " is not a valid code point");
3231
3217
  n += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
3232
3218
  }
3233
3219
  return n;
3234
3220
  }
3235
- ), _t = (
3221
+ ), gt = (
3236
3222
  // native
3237
- Xn ? Object.fromEntries : (
3223
+ jn ? Object.fromEntries : (
3238
3224
  // Ponyfill
3239
3225
  function(t) {
3240
3226
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
3241
- var o = i[n], a = o[0], s = o[1];
3242
- r[a] = s;
3227
+ var s = i[n], a = s[0], o = s[1];
3228
+ r[a] = o;
3243
3229
  }
3244
3230
  return r;
3245
3231
  }
3246
3232
  )
3247
- ), ur = Wn ? (
3233
+ ), sr = kn ? (
3248
3234
  // Native
3249
3235
  function(t, r) {
3250
3236
  return t.codePointAt(r);
@@ -3254,11 +3240,11 @@ var vt = kn ? (
3254
3240
  function(t, r) {
3255
3241
  var n = t.length;
3256
3242
  if (!(r < 0 || r >= n)) {
3257
- var i = t.charCodeAt(r), o;
3258
- return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3243
+ var i = t.charCodeAt(r), s;
3244
+ return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
3259
3245
  }
3260
3246
  }
3261
- ), Yn = zn ? (
3247
+ ), Qn = Vn ? (
3262
3248
  // Native
3263
3249
  function(t) {
3264
3250
  return t.trimStart();
@@ -3266,9 +3252,9 @@ var vt = kn ? (
3266
3252
  ) : (
3267
3253
  // Ponyfill
3268
3254
  function(t) {
3269
- return t.replace(Fn, "");
3255
+ return t.replace(Dn, "");
3270
3256
  }
3271
- ), Kn = Zn ? (
3257
+ ), Jn = Xn ? (
3272
3258
  // Native
3273
3259
  function(t) {
3274
3260
  return t.trimEnd();
@@ -3276,32 +3262,32 @@ var vt = kn ? (
3276
3262
  ) : (
3277
3263
  // Ponyfill
3278
3264
  function(t) {
3279
- return t.replace(jn, "");
3265
+ return t.replace(Un, "");
3280
3266
  }
3281
3267
  );
3282
- function lr(e, t) {
3268
+ function or(e, t) {
3283
3269
  return new RegExp(e, t);
3284
3270
  }
3285
- var Ze;
3286
- if (We) {
3287
- var Et = lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3288
- Ze = function(t, r) {
3271
+ var ze;
3272
+ if (Xe) {
3273
+ var _t = or("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3274
+ ze = function(t, r) {
3289
3275
  var n;
3290
- Et.lastIndex = r;
3291
- var i = Et.exec(t);
3276
+ _t.lastIndex = r;
3277
+ var i = _t.exec(t);
3292
3278
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3293
3279
  };
3294
3280
  } else
3295
- Ze = function(t, r) {
3281
+ ze = function(t, r) {
3296
3282
  for (var n = []; ; ) {
3297
- var i = ur(t, r);
3298
- if (i === void 0 || hr(i) || ni(i))
3283
+ var i = sr(t, r);
3284
+ if (i === void 0 || ar(i) || ei(i))
3299
3285
  break;
3300
3286
  n.push(i), r += i >= 65536 ? 2 : 1;
3301
3287
  }
3302
- return ze.apply(void 0, n);
3288
+ return We.apply(void 0, n);
3303
3289
  };
3304
- var ei = (
3290
+ var qn = (
3305
3291
  /** @class */
3306
3292
  function() {
3307
3293
  function e(t, r) {
@@ -3313,26 +3299,26 @@ var ei = (
3313
3299
  return this.parseMessage(0, "", !1);
3314
3300
  }, e.prototype.parseMessage = function(t, r, n) {
3315
3301
  for (var i = []; !this.isEOF(); ) {
3316
- var o = this.char();
3317
- if (o === 123) {
3302
+ var s = this.char();
3303
+ if (s === 123) {
3318
3304
  var a = this.parseArgument(t, n);
3319
3305
  if (a.err)
3320
3306
  return a;
3321
3307
  i.push(a.val);
3322
3308
  } else {
3323
- if (o === 125 && t > 0)
3309
+ if (s === 125 && t > 0)
3324
3310
  break;
3325
- if (o === 35 && (r === "plural" || r === "selectordinal")) {
3326
- var s = this.clonePosition();
3311
+ if (s === 35 && (r === "plural" || r === "selectordinal")) {
3312
+ var o = this.clonePosition();
3327
3313
  this.bump(), i.push({
3328
3314
  type: E.pound,
3329
- location: v(s, this.clonePosition())
3315
+ location: _(o, this.clonePosition())
3330
3316
  });
3331
- } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3317
+ } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
3332
3318
  if (n)
3333
3319
  break;
3334
- return this.error(y.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
3335
- } else if (o === 60 && !this.ignoreTag && Qe(this.peek() || 0)) {
3320
+ return this.error(y.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
3321
+ } else if (s === 60 && !this.ignoreTag && Ze(this.peek() || 0)) {
3336
3322
  var a = this.parseTag(t, r);
3337
3323
  if (a.err)
3338
3324
  return a;
@@ -3355,42 +3341,42 @@ var ei = (
3355
3341
  val: {
3356
3342
  type: E.literal,
3357
3343
  value: "<".concat(i, "/>"),
3358
- location: v(n, this.clonePosition())
3344
+ location: _(n, this.clonePosition())
3359
3345
  },
3360
3346
  err: null
3361
3347
  };
3362
3348
  if (this.bumpIf(">")) {
3363
- var o = this.parseMessage(t + 1, r, !0);
3364
- if (o.err)
3365
- return o;
3366
- var a = o.val, s = this.clonePosition();
3349
+ var s = this.parseMessage(t + 1, r, !0);
3350
+ if (s.err)
3351
+ return s;
3352
+ var a = s.val, o = this.clonePosition();
3367
3353
  if (this.bumpIf("</")) {
3368
- if (this.isEOF() || !Qe(this.char()))
3369
- return this.error(y.INVALID_TAG, v(s, this.clonePosition()));
3354
+ if (this.isEOF() || !Ze(this.char()))
3355
+ return this.error(y.INVALID_TAG, _(o, this.clonePosition()));
3370
3356
  var l = this.clonePosition(), u = this.parseTagName();
3371
- return i !== u ? this.error(y.UNMATCHED_CLOSING_TAG, v(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3357
+ return i !== u ? this.error(y.UNMATCHED_CLOSING_TAG, _(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3372
3358
  val: {
3373
3359
  type: E.tag,
3374
3360
  value: i,
3375
3361
  children: a,
3376
- location: v(n, this.clonePosition())
3362
+ location: _(n, this.clonePosition())
3377
3363
  },
3378
3364
  err: null
3379
- } : this.error(y.INVALID_TAG, v(s, this.clonePosition())));
3365
+ } : this.error(y.INVALID_TAG, _(o, this.clonePosition())));
3380
3366
  } else
3381
- return this.error(y.UNCLOSED_TAG, v(n, this.clonePosition()));
3367
+ return this.error(y.UNCLOSED_TAG, _(n, this.clonePosition()));
3382
3368
  } else
3383
- return this.error(y.INVALID_TAG, v(n, this.clonePosition()));
3369
+ return this.error(y.INVALID_TAG, _(n, this.clonePosition()));
3384
3370
  }, e.prototype.parseTagName = function() {
3385
3371
  var t = this.offset();
3386
- for (this.bump(); !this.isEOF() && ri(this.char()); )
3372
+ for (this.bump(); !this.isEOF() && Kn(this.char()); )
3387
3373
  this.bump();
3388
3374
  return this.message.slice(t, this.offset());
3389
3375
  }, e.prototype.parseLiteral = function(t, r) {
3390
3376
  for (var n = this.clonePosition(), i = ""; ; ) {
3391
- var o = this.tryParseQuote(r);
3392
- if (o) {
3393
- i += o;
3377
+ var s = this.tryParseQuote(r);
3378
+ if (s) {
3379
+ i += s;
3394
3380
  continue;
3395
3381
  }
3396
3382
  var a = this.tryParseUnquoted(t, r);
@@ -3398,21 +3384,21 @@ var ei = (
3398
3384
  i += a;
3399
3385
  continue;
3400
3386
  }
3401
- var s = this.tryParseLeftAngleBracket();
3402
- if (s) {
3403
- i += s;
3387
+ var o = this.tryParseLeftAngleBracket();
3388
+ if (o) {
3389
+ i += o;
3404
3390
  continue;
3405
3391
  }
3406
3392
  break;
3407
3393
  }
3408
- var l = v(n, this.clonePosition());
3394
+ var l = _(n, this.clonePosition());
3409
3395
  return {
3410
3396
  val: { type: E.literal, value: i, location: l },
3411
3397
  err: null
3412
3398
  };
3413
3399
  }, e.prototype.tryParseLeftAngleBracket = function() {
3414
3400
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3415
- !ti(this.peek() || 0)) ? (this.bump(), "<") : null;
3401
+ !Yn(this.peek() || 0)) ? (this.bump(), "<") : null;
3416
3402
  }, e.prototype.tryParseQuote = function(t) {
3417
3403
  if (this.isEOF() || this.char() !== 39)
3418
3404
  return null;
@@ -3446,23 +3432,23 @@ var ei = (
3446
3432
  r.push(n);
3447
3433
  this.bump();
3448
3434
  }
3449
- return ze.apply(void 0, r);
3435
+ return We.apply(void 0, r);
3450
3436
  }, e.prototype.tryParseUnquoted = function(t, r) {
3451
3437
  if (this.isEOF())
3452
3438
  return null;
3453
3439
  var n = this.char();
3454
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ze(n));
3440
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), We(n));
3455
3441
  }, e.prototype.parseArgument = function(t, r) {
3456
3442
  var n = this.clonePosition();
3457
3443
  if (this.bump(), this.bumpSpace(), this.isEOF())
3458
- return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
3444
+ return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
3459
3445
  if (this.char() === 125)
3460
- return this.bump(), this.error(y.EMPTY_ARGUMENT, v(n, this.clonePosition()));
3446
+ return this.bump(), this.error(y.EMPTY_ARGUMENT, _(n, this.clonePosition()));
3461
3447
  var i = this.parseIdentifierIfPossible().value;
3462
3448
  if (!i)
3463
- return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3449
+ return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
3464
3450
  if (this.bumpSpace(), this.isEOF())
3465
- return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
3451
+ return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
3466
3452
  switch (this.char()) {
3467
3453
  case 125:
3468
3454
  return this.bump(), {
@@ -3470,25 +3456,25 @@ var ei = (
3470
3456
  type: E.argument,
3471
3457
  // value does not include the opening and closing braces.
3472
3458
  value: i,
3473
- location: v(n, this.clonePosition())
3459
+ location: _(n, this.clonePosition())
3474
3460
  },
3475
3461
  err: null
3476
3462
  };
3477
3463
  case 44:
3478
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3464
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3479
3465
  default:
3480
- return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3466
+ return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
3481
3467
  }
3482
3468
  }, e.prototype.parseIdentifierIfPossible = function() {
3483
- var t = this.clonePosition(), r = this.offset(), n = Ze(this.message, r), i = r + n.length;
3469
+ var t = this.clonePosition(), r = this.offset(), n = ze(this.message, r), i = r + n.length;
3484
3470
  this.bumpTo(i);
3485
- var o = this.clonePosition(), a = v(t, o);
3471
+ var s = this.clonePosition(), a = _(t, s);
3486
3472
  return { value: n, location: a };
3487
3473
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3488
- var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3489
- switch (s) {
3474
+ var s, a = this.clonePosition(), o = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3475
+ switch (o) {
3490
3476
  case "":
3491
- return this.error(y.EXPECT_ARGUMENT_TYPE, v(a, l));
3477
+ return this.error(y.EXPECT_ARGUMENT_TYPE, _(a, l));
3492
3478
  case "number":
3493
3479
  case "date":
3494
3480
  case "time": {
@@ -3496,50 +3482,50 @@ var ei = (
3496
3482
  var u = null;
3497
3483
  if (this.bumpIf(",")) {
3498
3484
  this.bumpSpace();
3499
- var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3500
- if (f.err)
3501
- return f;
3502
- var c = Kn(f.val);
3503
- if (c.length === 0)
3504
- return this.error(y.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
3505
- var m = v(h, this.clonePosition());
3506
- u = { style: c, styleLocation: m };
3485
+ var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3486
+ if (c.err)
3487
+ return c;
3488
+ var f = Jn(c.val);
3489
+ if (f.length === 0)
3490
+ return this.error(y.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
3491
+ var m = _(h, this.clonePosition());
3492
+ u = { style: f, styleLocation: m };
3507
3493
  }
3508
3494
  var b = this.tryParseArgumentClose(i);
3509
3495
  if (b.err)
3510
3496
  return b;
3511
- var g = v(i, this.clonePosition());
3512
- if (u && vt(u?.style, "::", 0)) {
3513
- var S = Yn(u.style.slice(2));
3514
- if (s === "number") {
3515
- var f = this.parseNumberSkeletonFromString(S, u.styleLocation);
3516
- return f.err ? f : {
3517
- val: { type: E.number, value: n, location: g, style: f.val },
3497
+ var g = _(i, this.clonePosition());
3498
+ if (u && yt(u?.style, "::", 0)) {
3499
+ var S = Qn(u.style.slice(2));
3500
+ if (o === "number") {
3501
+ var c = this.parseNumberSkeletonFromString(S, u.styleLocation);
3502
+ return c.err ? c : {
3503
+ val: { type: E.number, value: n, location: g, style: c.val },
3518
3504
  err: null
3519
3505
  };
3520
3506
  } else {
3521
3507
  if (S.length === 0)
3522
3508
  return this.error(y.EXPECT_DATE_TIME_SKELETON, g);
3523
- var P = S;
3524
- this.locale && (P = Un(S, this.locale));
3525
- var c = {
3509
+ var A = S;
3510
+ this.locale && (A = Rn(S, this.locale));
3511
+ var f = {
3526
3512
  type: ee.dateTime,
3527
- pattern: P,
3513
+ pattern: A,
3528
3514
  location: u.styleLocation,
3529
- parsedOptions: this.shouldParseSkeletons ? Cn(P) : {}
3530
- }, H = s === "date" ? E.date : E.time;
3515
+ parsedOptions: this.shouldParseSkeletons ? An(A) : {}
3516
+ }, H = o === "date" ? E.date : E.time;
3531
3517
  return {
3532
- val: { type: H, value: n, location: g, style: c },
3518
+ val: { type: H, value: n, location: g, style: f },
3533
3519
  err: null
3534
3520
  };
3535
3521
  }
3536
3522
  }
3537
3523
  return {
3538
3524
  val: {
3539
- type: s === "number" ? E.number : s === "date" ? E.date : E.time,
3525
+ type: o === "number" ? E.number : o === "date" ? E.date : E.time,
3540
3526
  value: n,
3541
3527
  location: g,
3542
- style: (o = u?.style) !== null && o !== void 0 ? o : null
3528
+ style: (s = u?.style) !== null && s !== void 0 ? s : null
3543
3529
  },
3544
3530
  err: null
3545
3531
  };
@@ -3549,30 +3535,30 @@ var ei = (
3549
3535
  case "select": {
3550
3536
  var w = this.clonePosition();
3551
3537
  if (this.bumpSpace(), !this.bumpIf(","))
3552
- return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(w, _({}, w)));
3538
+ return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, _(w, v({}, w)));
3553
3539
  this.bumpSpace();
3554
- var L = this.parseIdentifierIfPossible(), A = 0;
3555
- if (s !== "select" && L.value === "offset") {
3540
+ var C = this.parseIdentifierIfPossible(), O = 0;
3541
+ if (o !== "select" && C.value === "offset") {
3556
3542
  if (!this.bumpIf(":"))
3557
- return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
3543
+ return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
3558
3544
  this.bumpSpace();
3559
- var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3560
- if (f.err)
3561
- return f;
3562
- this.bumpSpace(), L = this.parseIdentifierIfPossible(), A = f.val;
3545
+ var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3546
+ if (c.err)
3547
+ return c;
3548
+ this.bumpSpace(), C = this.parseIdentifierIfPossible(), O = c.val;
3563
3549
  }
3564
- var M = this.tryParsePluralOrSelectOptions(t, s, r, L);
3565
- if (M.err)
3566
- return M;
3550
+ var N = this.tryParsePluralOrSelectOptions(t, o, r, C);
3551
+ if (N.err)
3552
+ return N;
3567
3553
  var b = this.tryParseArgumentClose(i);
3568
3554
  if (b.err)
3569
3555
  return b;
3570
- var x = v(i, this.clonePosition());
3571
- return s === "select" ? {
3556
+ var x = _(i, this.clonePosition());
3557
+ return o === "select" ? {
3572
3558
  val: {
3573
3559
  type: E.select,
3574
3560
  value: n,
3575
- options: _t(M.val),
3561
+ options: gt(N.val),
3576
3562
  location: x
3577
3563
  },
3578
3564
  err: null
@@ -3580,19 +3566,19 @@ var ei = (
3580
3566
  val: {
3581
3567
  type: E.plural,
3582
3568
  value: n,
3583
- options: _t(M.val),
3584
- offset: A,
3585
- pluralType: s === "plural" ? "cardinal" : "ordinal",
3569
+ options: gt(N.val),
3570
+ offset: O,
3571
+ pluralType: o === "plural" ? "cardinal" : "ordinal",
3586
3572
  location: x
3587
3573
  },
3588
3574
  err: null
3589
3575
  };
3590
3576
  }
3591
3577
  default:
3592
- return this.error(y.INVALID_ARGUMENT_TYPE, v(a, l));
3578
+ return this.error(y.INVALID_ARGUMENT_TYPE, _(a, l));
3593
3579
  }
3594
3580
  }, e.prototype.tryParseArgumentClose = function(t) {
3595
- return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3581
+ return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3596
3582
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3597
3583
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3598
3584
  var n = this.char();
@@ -3601,7 +3587,7 @@ var ei = (
3601
3587
  this.bump();
3602
3588
  var i = this.clonePosition();
3603
3589
  if (!this.bumpUntil("'"))
3604
- return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, v(i, this.clonePosition()));
3590
+ return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, _(i, this.clonePosition()));
3605
3591
  this.bump();
3606
3592
  break;
3607
3593
  }
@@ -3631,7 +3617,7 @@ var ei = (
3631
3617
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3632
3618
  var n = [];
3633
3619
  try {
3634
- n = Mn(t);
3620
+ n = In(t);
3635
3621
  } catch {
3636
3622
  return this.error(y.INVALID_NUMBER_SKELETON, r);
3637
3623
  }
@@ -3640,19 +3626,19 @@ var ei = (
3640
3626
  type: ee.number,
3641
3627
  tokens: n,
3642
3628
  location: r,
3643
- parsedOptions: this.shouldParseSkeletons ? Dn(n) : {}
3629
+ parsedOptions: this.shouldParseSkeletons ? Mn(n) : {}
3644
3630
  },
3645
3631
  err: null
3646
3632
  };
3647
3633
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3648
- for (var o, a = !1, s = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
3634
+ for (var s, a = !1, o = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
3649
3635
  if (u.length === 0) {
3650
- var f = this.clonePosition();
3636
+ var c = this.clonePosition();
3651
3637
  if (r !== "select" && this.bumpIf("=")) {
3652
- var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
3653
- if (c.err)
3654
- return c;
3655
- h = v(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3638
+ var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
3639
+ if (f.err)
3640
+ return f;
3641
+ h = _(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3656
3642
  } else
3657
3643
  break;
3658
3644
  }
@@ -3661,34 +3647,34 @@ var ei = (
3661
3647
  u === "other" && (a = !0), this.bumpSpace();
3662
3648
  var m = this.clonePosition();
3663
3649
  if (!this.bumpIf("{"))
3664
- return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
3650
+ return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
3665
3651
  var b = this.parseMessage(t + 1, r, n);
3666
3652
  if (b.err)
3667
3653
  return b;
3668
3654
  var g = this.tryParseArgumentClose(m);
3669
3655
  if (g.err)
3670
3656
  return g;
3671
- s.push([
3657
+ o.push([
3672
3658
  u,
3673
3659
  {
3674
3660
  value: b.val,
3675
- location: v(m, this.clonePosition())
3661
+ location: _(m, this.clonePosition())
3676
3662
  }
3677
- ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
3663
+ ]), l.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, h = s.location;
3678
3664
  }
3679
- return s.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(y.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3665
+ return o.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(y.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
3680
3666
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3681
3667
  var n = 1, i = this.clonePosition();
3682
3668
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3683
- for (var o = !1, a = 0; !this.isEOF(); ) {
3684
- var s = this.char();
3685
- if (s >= 48 && s <= 57)
3686
- o = !0, a = a * 10 + (s - 48), this.bump();
3669
+ for (var s = !1, a = 0; !this.isEOF(); ) {
3670
+ var o = this.char();
3671
+ if (o >= 48 && o <= 57)
3672
+ s = !0, a = a * 10 + (o - 48), this.bump();
3687
3673
  else
3688
3674
  break;
3689
3675
  }
3690
- var l = v(i, this.clonePosition());
3691
- return o ? (a *= n, Jn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3676
+ var l = _(i, this.clonePosition());
3677
+ return s ? (a *= n, zn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3692
3678
  }, e.prototype.offset = function() {
3693
3679
  return this.position.offset;
3694
3680
  }, e.prototype.isEOF = function() {
@@ -3703,7 +3689,7 @@ var ei = (
3703
3689
  var t = this.position.offset;
3704
3690
  if (t >= this.message.length)
3705
3691
  throw Error("out of bound");
3706
- var r = ur(this.message, t);
3692
+ var r = sr(this.message, t);
3707
3693
  if (r === void 0)
3708
3694
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3709
3695
  return r;
@@ -3722,7 +3708,7 @@ var ei = (
3722
3708
  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);
3723
3709
  }
3724
3710
  }, e.prototype.bumpIf = function(t) {
3725
- if (vt(this.message, t, this.offset())) {
3711
+ if (yt(this.message, t, this.offset())) {
3726
3712
  for (var r = 0; r < t.length; r++)
3727
3713
  this.bump();
3728
3714
  return !0;
@@ -3744,7 +3730,7 @@ var ei = (
3744
3730
  break;
3745
3731
  }
3746
3732
  }, e.prototype.bumpSpace = function() {
3747
- for (; !this.isEOF() && hr(this.char()); )
3733
+ for (; !this.isEOF() && ar(this.char()); )
3748
3734
  this.bump();
3749
3735
  }, e.prototype.peek = function() {
3750
3736
  if (this.isEOF())
@@ -3754,38 +3740,38 @@ var ei = (
3754
3740
  }, e;
3755
3741
  }()
3756
3742
  );
3757
- function Qe(e) {
3743
+ function Ze(e) {
3758
3744
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3759
3745
  }
3760
- function ti(e) {
3761
- return Qe(e) || e === 47;
3746
+ function Yn(e) {
3747
+ return Ze(e) || e === 47;
3762
3748
  }
3763
- function ri(e) {
3749
+ function Kn(e) {
3764
3750
  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;
3765
3751
  }
3766
- function hr(e) {
3752
+ function ar(e) {
3767
3753
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3768
3754
  }
3769
- function ni(e) {
3755
+ function ei(e) {
3770
3756
  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;
3771
3757
  }
3772
- function Je(e) {
3758
+ function Qe(e) {
3773
3759
  e.forEach(function(t) {
3774
- if (delete t.location, er(t) || tr(t))
3760
+ if (delete t.location, qt(t) || Yt(t))
3775
3761
  for (var r in t.options)
3776
- delete t.options[r].location, Je(t.options[r].value);
3762
+ delete t.options[r].location, Qe(t.options[r].value);
3777
3763
  else
3778
- qt(t) && nr(t.style) || (Yt(t) || Kt(t)) && Xe(t.style) ? delete t.style.location : rr(t) && Je(t.children);
3764
+ Zt(t) && er(t.style) || (Qt(t) || Jt(t)) && Ve(t.style) ? delete t.style.location : Kt(t) && Qe(t.children);
3779
3765
  });
3780
3766
  }
3781
- function ii(e, t) {
3782
- t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3783
- var r = new ei(e, t).parse();
3767
+ function ti(e, t) {
3768
+ t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3769
+ var r = new qn(e, t).parse();
3784
3770
  if (r.err) {
3785
3771
  var n = SyntaxError(y[r.err.kind]);
3786
3772
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3787
3773
  }
3788
- return t?.captureLocation || Je(r.val), r.val;
3774
+ return t?.captureLocation || Qe(r.val), r.val;
3789
3775
  }
3790
3776
  var te;
3791
3777
  (function(e) {
@@ -3796,23 +3782,23 @@ var He = (
3796
3782
  function(e) {
3797
3783
  U(t, e);
3798
3784
  function t(r, n, i) {
3799
- var o = e.call(this, r) || this;
3800
- return o.code = n, o.originalMessage = i, o;
3785
+ var s = e.call(this, r) || this;
3786
+ return s.code = n, s.originalMessage = i, s;
3801
3787
  }
3802
3788
  return t.prototype.toString = function() {
3803
3789
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3804
3790
  }, t;
3805
3791
  }(Error)
3806
- ), xt = (
3792
+ ), vt = (
3807
3793
  /** @class */
3808
3794
  function(e) {
3809
3795
  U(t, e);
3810
- function t(r, n, i, o) {
3811
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), te.INVALID_VALUE, o) || this;
3796
+ function t(r, n, i, s) {
3797
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), te.INVALID_VALUE, s) || this;
3812
3798
  }
3813
3799
  return t;
3814
3800
  }(He)
3815
- ), oi = (
3801
+ ), ri = (
3816
3802
  /** @class */
3817
3803
  function(e) {
3818
3804
  U(t, e);
@@ -3821,7 +3807,7 @@ var He = (
3821
3807
  }
3822
3808
  return t;
3823
3809
  }(He)
3824
- ), si = (
3810
+ ), ni = (
3825
3811
  /** @class */
3826
3812
  function(e) {
3827
3813
  U(t, e);
@@ -3834,122 +3820,122 @@ var He = (
3834
3820
  (function(e) {
3835
3821
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3836
3822
  })(T || (T = {}));
3837
- function ai(e) {
3823
+ function ii(e) {
3838
3824
  return e.length < 2 ? e : e.reduce(function(t, r) {
3839
3825
  var n = t[t.length - 1];
3840
3826
  return !n || n.type !== T.literal || r.type !== T.literal ? t.push(r) : n.value += r.value, t;
3841
3827
  }, []);
3842
3828
  }
3843
- function ui(e) {
3829
+ function si(e) {
3844
3830
  return typeof e == "function";
3845
3831
  }
3846
- function ge(e, t, r, n, i, o, a) {
3847
- if (e.length === 1 && mt(e[0]))
3832
+ function ge(e, t, r, n, i, s, a) {
3833
+ if (e.length === 1 && dt(e[0]))
3848
3834
  return [
3849
3835
  {
3850
3836
  type: T.literal,
3851
3837
  value: e[0].value
3852
3838
  }
3853
3839
  ];
3854
- for (var s = [], l = 0, u = e; l < u.length; l++) {
3840
+ for (var o = [], l = 0, u = e; l < u.length; l++) {
3855
3841
  var h = u[l];
3856
- if (mt(h)) {
3857
- s.push({
3842
+ if (dt(h)) {
3843
+ o.push({
3858
3844
  type: T.literal,
3859
3845
  value: h.value
3860
3846
  });
3861
3847
  continue;
3862
3848
  }
3863
- if (On(h)) {
3864
- typeof o == "number" && s.push({
3849
+ if (Bn(h)) {
3850
+ typeof s == "number" && o.push({
3865
3851
  type: T.literal,
3866
- value: r.getNumberFormat(t).format(o)
3852
+ value: r.getNumberFormat(t).format(s)
3867
3853
  });
3868
3854
  continue;
3869
3855
  }
3870
- var f = h.value;
3871
- if (!(i && f in i))
3872
- throw new si(f, a);
3873
- var c = i[f];
3874
- if (An(h)) {
3875
- (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), s.push({
3876
- type: typeof c == "string" ? T.literal : T.object,
3877
- value: c
3856
+ var c = h.value;
3857
+ if (!(i && c in i))
3858
+ throw new ni(c, a);
3859
+ var f = i[c];
3860
+ if (Hn(h)) {
3861
+ (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), o.push({
3862
+ type: typeof f == "string" ? T.literal : T.object,
3863
+ value: f
3878
3864
  });
3879
3865
  continue;
3880
3866
  }
3881
- if (Yt(h)) {
3882
- var m = typeof h.style == "string" ? n.date[h.style] : Xe(h.style) ? h.style.parsedOptions : void 0;
3883
- s.push({
3867
+ if (Qt(h)) {
3868
+ var m = typeof h.style == "string" ? n.date[h.style] : Ve(h.style) ? h.style.parsedOptions : void 0;
3869
+ o.push({
3884
3870
  type: T.literal,
3885
- value: r.getDateTimeFormat(t, m).format(c)
3871
+ value: r.getDateTimeFormat(t, m).format(f)
3886
3872
  });
3887
3873
  continue;
3888
3874
  }
3889
- if (Kt(h)) {
3890
- var m = typeof h.style == "string" ? n.time[h.style] : Xe(h.style) ? h.style.parsedOptions : n.time.medium;
3891
- s.push({
3875
+ if (Jt(h)) {
3876
+ var m = typeof h.style == "string" ? n.time[h.style] : Ve(h.style) ? h.style.parsedOptions : n.time.medium;
3877
+ o.push({
3892
3878
  type: T.literal,
3893
- value: r.getDateTimeFormat(t, m).format(c)
3879
+ value: r.getDateTimeFormat(t, m).format(f)
3894
3880
  });
3895
3881
  continue;
3896
3882
  }
3897
- if (qt(h)) {
3898
- var m = typeof h.style == "string" ? n.number[h.style] : nr(h.style) ? h.style.parsedOptions : void 0;
3899
- m && m.scale && (c = c * (m.scale || 1)), s.push({
3883
+ if (Zt(h)) {
3884
+ var m = typeof h.style == "string" ? n.number[h.style] : er(h.style) ? h.style.parsedOptions : void 0;
3885
+ m && m.scale && (f = f * (m.scale || 1)), o.push({
3900
3886
  type: T.literal,
3901
- value: r.getNumberFormat(t, m).format(c)
3887
+ value: r.getNumberFormat(t, m).format(f)
3902
3888
  });
3903
3889
  continue;
3904
3890
  }
3905
- if (rr(h)) {
3891
+ if (Kt(h)) {
3906
3892
  var b = h.children, g = h.value, S = i[g];
3907
- if (!ui(S))
3908
- throw new oi(g, "function", a);
3909
- var P = ge(b, t, r, n, i, o), H = S(P.map(function(A) {
3910
- return A.value;
3893
+ if (!si(S))
3894
+ throw new ri(g, "function", a);
3895
+ var A = ge(b, t, r, n, i, s), H = S(A.map(function(O) {
3896
+ return O.value;
3911
3897
  }));
3912
- Array.isArray(H) || (H = [H]), s.push.apply(s, H.map(function(A) {
3898
+ Array.isArray(H) || (H = [H]), o.push.apply(o, H.map(function(O) {
3913
3899
  return {
3914
- type: typeof A == "string" ? T.literal : T.object,
3915
- value: A
3900
+ type: typeof O == "string" ? T.literal : T.object,
3901
+ value: O
3916
3902
  };
3917
3903
  }));
3918
3904
  }
3919
- if (er(h)) {
3920
- var w = h.options[c] || h.options.other;
3905
+ if (qt(h)) {
3906
+ var w = h.options[f] || h.options.other;
3921
3907
  if (!w)
3922
- throw new xt(h.value, c, Object.keys(h.options), a);
3923
- s.push.apply(s, ge(w.value, t, r, n, i));
3908
+ throw new vt(h.value, f, Object.keys(h.options), a);
3909
+ o.push.apply(o, ge(w.value, t, r, n, i));
3924
3910
  continue;
3925
3911
  }
3926
- if (tr(h)) {
3927
- var w = h.options["=".concat(c)];
3912
+ if (Yt(h)) {
3913
+ var w = h.options["=".concat(f)];
3928
3914
  if (!w) {
3929
3915
  if (!Intl.PluralRules)
3930
3916
  throw new He(`Intl.PluralRules is not available in this environment.
3931
3917
  Try polyfilling it using "@formatjs/intl-pluralrules"
3932
3918
  `, te.MISSING_INTL_API, a);
3933
- var L = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3934
- w = h.options[L] || h.options.other;
3919
+ var C = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3920
+ w = h.options[C] || h.options.other;
3935
3921
  }
3936
3922
  if (!w)
3937
- throw new xt(h.value, c, Object.keys(h.options), a);
3938
- s.push.apply(s, ge(w.value, t, r, n, i, c - (h.offset || 0)));
3923
+ throw new vt(h.value, f, Object.keys(h.options), a);
3924
+ o.push.apply(o, ge(w.value, t, r, n, i, f - (h.offset || 0)));
3939
3925
  continue;
3940
3926
  }
3941
3927
  }
3942
- return ai(s);
3928
+ return ii(o);
3943
3929
  }
3944
- function li(e, t) {
3945
- return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3946
- return r[n] = _(_({}, e[n]), t[n] || {}), r;
3930
+ function oi(e, t) {
3931
+ return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3932
+ return r[n] = v(v({}, e[n]), t[n] || {}), r;
3947
3933
  }, {})) : e;
3948
3934
  }
3949
- function hi(e, t) {
3935
+ function ai(e, t) {
3950
3936
  return t ? Object.keys(e).reduce(function(r, n) {
3951
- return r[n] = li(e[n], t[n]), r;
3952
- }, _({}, e)) : e;
3937
+ return r[n] = oi(e[n], t[n]), r;
3938
+ }, v({}, e)) : e;
3953
3939
  }
3954
3940
  function Ne(e) {
3955
3941
  return {
@@ -3965,13 +3951,13 @@ function Ne(e) {
3965
3951
  }
3966
3952
  };
3967
3953
  }
3968
- function ci(e) {
3954
+ function ui(e) {
3969
3955
  return e === void 0 && (e = {
3970
3956
  number: {},
3971
3957
  dateTime: {},
3972
3958
  pluralRules: {}
3973
3959
  }), {
3974
- getNumberFormat: Ce(function() {
3960
+ getNumberFormat: Ie(function() {
3975
3961
  for (var t, r = [], n = 0; n < arguments.length; n++)
3976
3962
  r[n] = arguments[n];
3977
3963
  return new ((t = Intl.NumberFormat).bind.apply(t, Y([void 0], r, !1)))();
@@ -3979,7 +3965,7 @@ function ci(e) {
3979
3965
  cache: Ne(e.number),
3980
3966
  strategy: Le.variadic
3981
3967
  }),
3982
- getDateTimeFormat: Ce(function() {
3968
+ getDateTimeFormat: Ie(function() {
3983
3969
  for (var t, r = [], n = 0; n < arguments.length; n++)
3984
3970
  r[n] = arguments[n];
3985
3971
  return new ((t = Intl.DateTimeFormat).bind.apply(t, Y([void 0], r, !1)))();
@@ -3987,7 +3973,7 @@ function ci(e) {
3987
3973
  cache: Ne(e.dateTime),
3988
3974
  strategy: Le.variadic
3989
3975
  }),
3990
- getPluralRules: Ce(function() {
3976
+ getPluralRules: Ie(function() {
3991
3977
  for (var t, r = [], n = 0; n < arguments.length; n++)
3992
3978
  r[n] = arguments[n];
3993
3979
  return new ((t = Intl.PluralRules).bind.apply(t, Y([void 0], r, !1)))();
@@ -3997,45 +3983,45 @@ function ci(e) {
3997
3983
  })
3998
3984
  };
3999
3985
  }
4000
- var fi = (
3986
+ var li = (
4001
3987
  /** @class */
4002
3988
  function() {
4003
3989
  function e(t, r, n, i) {
4004
3990
  r === void 0 && (r = e.defaultLocale);
4005
- var o = this;
3991
+ var s = this;
4006
3992
  if (this.formatterCache = {
4007
3993
  number: {},
4008
3994
  dateTime: {},
4009
3995
  pluralRules: {}
4010
3996
  }, this.format = function(l) {
4011
- var u = o.formatToParts(l);
3997
+ var u = s.formatToParts(l);
4012
3998
  if (u.length === 1)
4013
3999
  return u[0].value;
4014
- var h = u.reduce(function(f, c) {
4015
- return !f.length || c.type !== T.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
4000
+ var h = u.reduce(function(c, f) {
4001
+ return !c.length || f.type !== T.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
4016
4002
  }, []);
4017
4003
  return h.length <= 1 ? h[0] || "" : h;
4018
4004
  }, this.formatToParts = function(l) {
4019
- return ge(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
4005
+ return ge(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
4020
4006
  }, this.resolvedOptions = function() {
4021
4007
  var l;
4022
4008
  return {
4023
- locale: ((l = o.resolvedLocale) === null || l === void 0 ? void 0 : l.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
4009
+ locale: ((l = s.resolvedLocale) === null || l === void 0 ? void 0 : l.toString()) || Intl.NumberFormat.supportedLocalesOf(s.locales)[0]
4024
4010
  };
4025
4011
  }, this.getAst = function() {
4026
- return o.ast;
4012
+ return s.ast;
4027
4013
  }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
4028
4014
  if (this.message = t, !e.__parse)
4029
4015
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
4030
4016
  var a = i || {};
4031
4017
  a.formatters;
4032
- var s = Vr(a, ["formatters"]);
4033
- this.ast = e.__parse(t, _(_({}, s), { locale: this.resolvedLocale }));
4018
+ var o = Gr(a, ["formatters"]);
4019
+ this.ast = e.__parse(t, v(v({}, o), { locale: this.resolvedLocale }));
4034
4020
  } else
4035
4021
  this.ast = t;
4036
4022
  if (!Array.isArray(this.ast))
4037
4023
  throw new TypeError("A message must be provided as a String or AST.");
4038
- this.formats = hi(e.formats, n), this.formatters = i && i.formatters || ci(this.formatterCache);
4024
+ this.formats = ai(e.formats, n), this.formatters = i && i.formatters || ui(this.formatterCache);
4039
4025
  }
4040
4026
  return Object.defineProperty(e, "defaultLocale", {
4041
4027
  get: function() {
@@ -4048,7 +4034,7 @@ var fi = (
4048
4034
  var r = Intl.NumberFormat.supportedLocalesOf(t);
4049
4035
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
4050
4036
  }
4051
- }, e.__parse = ii, e.formats = {
4037
+ }, e.__parse = ti, e.formats = {
4052
4038
  number: {
4053
4039
  integer: {
4054
4040
  maximumFractionDigits: 0
@@ -4109,7 +4095,7 @@ var fi = (
4109
4095
  }, e;
4110
4096
  }()
4111
4097
  );
4112
- function di(e, t) {
4098
+ function hi(e, t) {
4113
4099
  if (t == null)
4114
4100
  return;
4115
4101
  if (t in e)
@@ -4119,9 +4105,9 @@ function di(e, t) {
4119
4105
  for (let i = 0; i < r.length; i++)
4120
4106
  if (typeof n == "object") {
4121
4107
  if (i > 0) {
4122
- const o = r.slice(i, r.length).join(".");
4123
- if (o in n) {
4124
- n = n[o];
4108
+ const s = r.slice(i, r.length).join(".");
4109
+ if (s in n) {
4110
+ n = n[s];
4125
4111
  break;
4126
4112
  }
4127
4113
  }
@@ -4130,92 +4116,92 @@ function di(e, t) {
4130
4116
  n = void 0;
4131
4117
  return n;
4132
4118
  }
4133
- const F = {}, pi = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), cr = (e, t) => {
4119
+ const F = {}, fi = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), ur = (e, t) => {
4134
4120
  if (t == null)
4135
4121
  return;
4136
4122
  if (t in F && e in F[t])
4137
4123
  return F[t][e];
4138
4124
  const r = Be(t);
4139
4125
  for (let n = 0; n < r.length; n++) {
4140
- const i = r[n], o = bi(i, e);
4141
- if (o)
4142
- return pi(e, t, o);
4126
+ const i = r[n], s = di(i, e);
4127
+ if (s)
4128
+ return fi(e, t, s);
4143
4129
  }
4144
4130
  };
4145
- let rt;
4146
- const ce = Te({});
4147
- function mi(e) {
4148
- return rt[e] || null;
4131
+ let et;
4132
+ const fe = Te({});
4133
+ function ci(e) {
4134
+ return et[e] || null;
4149
4135
  }
4150
- function fr(e) {
4151
- return e in rt;
4136
+ function lr(e) {
4137
+ return e in et;
4152
4138
  }
4153
- function bi(e, t) {
4154
- if (!fr(e))
4139
+ function di(e, t) {
4140
+ if (!lr(e))
4155
4141
  return null;
4156
- const r = mi(e);
4157
- return di(r, t);
4142
+ const r = ci(e);
4143
+ return hi(r, t);
4158
4144
  }
4159
- function yi(e) {
4145
+ function pi(e) {
4160
4146
  if (e == null)
4161
4147
  return;
4162
4148
  const t = Be(e);
4163
4149
  for (let r = 0; r < t.length; r++) {
4164
4150
  const n = t[r];
4165
- if (fr(n))
4151
+ if (lr(n))
4166
4152
  return n;
4167
4153
  }
4168
4154
  }
4169
- function dr(e, ...t) {
4170
- delete F[e], ce.update((r) => (r[e] = xn.all([r[e] || {}, ...t]), r));
4155
+ function hr(e, ...t) {
4156
+ delete F[e], fe.update((r) => (r[e] = gn.all([r[e] || {}, ...t]), r));
4171
4157
  }
4172
4158
  ne(
4173
- [ce],
4159
+ [fe],
4174
4160
  ([e]) => Object.keys(e)
4175
4161
  );
4176
- ce.subscribe((e) => rt = e);
4177
- const ve = {};
4178
- function gi(e, t) {
4179
- ve[e].delete(t), ve[e].size === 0 && delete ve[e];
4162
+ fe.subscribe((e) => et = e);
4163
+ const _e = {};
4164
+ function mi(e, t) {
4165
+ _e[e].delete(t), _e[e].size === 0 && delete _e[e];
4180
4166
  }
4181
- function pr(e) {
4182
- return ve[e];
4167
+ function fr(e) {
4168
+ return _e[e];
4183
4169
  }
4184
- function vi(e) {
4170
+ function bi(e) {
4185
4171
  return Be(e).map((t) => {
4186
- const r = pr(t);
4172
+ const r = fr(t);
4187
4173
  return [t, r ? [...r] : []];
4188
4174
  }).filter(([, t]) => t.length > 0);
4189
4175
  }
4190
- function qe(e) {
4176
+ function Je(e) {
4191
4177
  return e == null ? !1 : Be(e).some(
4192
4178
  (t) => {
4193
4179
  var r;
4194
- return (r = pr(t)) == null ? void 0 : r.size;
4180
+ return (r = fr(t)) == null ? void 0 : r.size;
4195
4181
  }
4196
4182
  );
4197
4183
  }
4198
- function _i(e, t) {
4184
+ function yi(e, t) {
4199
4185
  return Promise.all(
4200
- t.map((n) => (gi(e, n), n().then((i) => i.default || i)))
4201
- ).then((n) => dr(e, ...n));
4202
- }
4203
- const se = {};
4204
- function mr(e) {
4205
- if (!qe(e))
4206
- return e in se ? se[e] : Promise.resolve();
4207
- const t = vi(e);
4208
- return se[e] = Promise.all(
4186
+ t.map((n) => (mi(e, n), n().then((i) => i.default || i)))
4187
+ ).then((n) => hr(e, ...n));
4188
+ }
4189
+ const oe = {};
4190
+ function cr(e) {
4191
+ if (!Je(e))
4192
+ return e in oe ? oe[e] : Promise.resolve();
4193
+ const t = bi(e);
4194
+ return oe[e] = Promise.all(
4209
4195
  t.map(
4210
- ([r, n]) => _i(r, n)
4196
+ ([r, n]) => yi(r, n)
4211
4197
  )
4212
4198
  ).then(() => {
4213
- if (qe(e))
4214
- return mr(e);
4215
- delete se[e];
4216
- }), se[e];
4199
+ if (Je(e))
4200
+ return cr(e);
4201
+ delete oe[e];
4202
+ }), oe[e];
4217
4203
  }
4218
- const Ei = {
4204
+ const gi = {
4219
4205
  number: {
4220
4206
  scientific: { notation: "scientific" },
4221
4207
  engineering: { notation: "engineering" },
@@ -4244,57 +4230,57 @@ const Ei = {
4244
4230
  timeZoneName: "short"
4245
4231
  }
4246
4232
  }
4247
- }, xi = {
4233
+ }, _i = {
4248
4234
  fallbackLocale: null,
4249
4235
  loadingDelay: 200,
4250
- formats: Ei,
4236
+ formats: gi,
4251
4237
  warnOnMissingMessages: !0,
4252
4238
  handleMissingMessage: void 0,
4253
4239
  ignoreTag: !0
4254
- }, Si = xi;
4240
+ }, vi = _i;
4255
4241
  function re() {
4256
- return Si;
4257
- }
4258
- const Re = Te(!1);
4259
- var wi = Object.defineProperty, Ti = Object.defineProperties, Hi = Object.getOwnPropertyDescriptors, St = Object.getOwnPropertySymbols, Bi = Object.prototype.hasOwnProperty, Pi = Object.prototype.propertyIsEnumerable, wt = (e, t, r) => t in e ? wi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ai = (e, t) => {
4260
- for (var r in t || (t = {}))
4261
- Bi.call(t, r) && wt(e, r, t[r]);
4262
- if (St)
4263
- for (var r of St(t))
4264
- Pi.call(t, r) && wt(e, r, t[r]);
4242
+ return vi;
4243
+ }
4244
+ const Me = Te(!1);
4245
+ var Ei = Object.defineProperty, xi = Object.defineProperties, Si = Object.getOwnPropertyDescriptors, Et = Object.getOwnPropertySymbols, wi = Object.prototype.hasOwnProperty, Ti = Object.prototype.propertyIsEnumerable, xt = (e, t, r) => t in e ? Ei(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Hi = (e, t) => {
4246
+ for (var r in t)
4247
+ wi.call(t, r) && xt(e, r, t[r]);
4248
+ if (Et)
4249
+ for (var r of Et(t))
4250
+ Ti.call(t, r) && xt(e, r, t[r]);
4265
4251
  return e;
4266
- }, Oi = (e, t) => Ti(e, Hi(t));
4267
- let Ye;
4268
- const _e = Te(null);
4269
- function Tt(e) {
4252
+ }, Bi = (e, t) => xi(e, Si(t));
4253
+ let qe;
4254
+ const ve = Te(null);
4255
+ function St(e) {
4270
4256
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4271
4257
  }
4272
4258
  function Be(e, t = re().fallbackLocale) {
4273
- const r = Tt(e);
4274
- return t ? [.../* @__PURE__ */ new Set([...r, ...Tt(t)])] : r;
4259
+ const r = St(e);
4260
+ return t ? [.../* @__PURE__ */ new Set([...r, ...St(t)])] : r;
4275
4261
  }
4276
- function z() {
4277
- return Ye ?? void 0;
4262
+ function W() {
4263
+ return qe ?? void 0;
4278
4264
  }
4279
- _e.subscribe((e) => {
4280
- Ye = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4265
+ ve.subscribe((e) => {
4266
+ qe = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4281
4267
  });
4282
- const Ii = (e) => {
4283
- if (e && yi(e) && qe(e)) {
4268
+ const Pi = (e) => {
4269
+ if (e && pi(e) && Je(e)) {
4284
4270
  const { loadingDelay: t } = re();
4285
4271
  let r;
4286
- return typeof window < "u" && z() != null && t ? r = window.setTimeout(
4287
- () => Re.set(!0),
4272
+ return typeof window < "u" && W() != null && t ? r = window.setTimeout(
4273
+ () => Me.set(!0),
4288
4274
  t
4289
- ) : Re.set(!0), mr(e).then(() => {
4290
- _e.set(e);
4275
+ ) : Me.set(!0), cr(e).then(() => {
4276
+ ve.set(e);
4291
4277
  }).finally(() => {
4292
- clearTimeout(r), Re.set(!1);
4278
+ clearTimeout(r), Me.set(!1);
4293
4279
  });
4294
4280
  }
4295
- return _e.set(e);
4296
- }, ie = Oi(Ai({}, _e), {
4297
- set: Ii
4281
+ return ve.set(e);
4282
+ }, ie = Bi(Hi({}, ve), {
4283
+ set: Pi
4298
4284
  }), Pe = (e) => {
4299
4285
  const t = /* @__PURE__ */ Object.create(null);
4300
4286
  return (n) => {
@@ -4302,20 +4288,20 @@ const Ii = (e) => {
4302
4288
  return i in t ? t[i] : t[i] = e(n);
4303
4289
  };
4304
4290
  };
4305
- var Ci = Object.defineProperty, Ee = Object.getOwnPropertySymbols, br = Object.prototype.hasOwnProperty, yr = Object.prototype.propertyIsEnumerable, Ht = (e, t, r) => t in e ? Ci(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, nt = (e, t) => {
4291
+ var Ai = Object.defineProperty, Ee = Object.getOwnPropertySymbols, dr = Object.prototype.hasOwnProperty, pr = Object.prototype.propertyIsEnumerable, wt = (e, t, r) => t in e ? Ai(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, tt = (e, t) => {
4306
4292
  for (var r in t || (t = {}))
4307
- br.call(t, r) && Ht(e, r, t[r]);
4293
+ dr.call(t, r) && wt(e, r, t[r]);
4308
4294
  if (Ee)
4309
4295
  for (var r of Ee(t))
4310
- yr.call(t, r) && Ht(e, r, t[r]);
4296
+ pr.call(t, r) && wt(e, r, t[r]);
4311
4297
  return e;
4312
- }, oe = (e, t) => {
4298
+ }, se = (e, t) => {
4313
4299
  var r = {};
4314
4300
  for (var n in e)
4315
- br.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4301
+ dr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4316
4302
  if (e != null && Ee)
4317
4303
  for (var n of Ee(e))
4318
- t.indexOf(n) < 0 && yr.call(e, n) && (r[n] = e[n]);
4304
+ t.indexOf(n) < 0 && pr.call(e, n) && (r[n] = e[n]);
4319
4305
  return r;
4320
4306
  };
4321
4307
  const he = (e, t) => {
@@ -4323,97 +4309,97 @@ const he = (e, t) => {
4323
4309
  if (e in r && t in r[e])
4324
4310
  return r[e][t];
4325
4311
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4326
- }, Li = Pe(
4312
+ }, Oi = Pe(
4327
4313
  (e) => {
4328
- var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4314
+ var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
4329
4315
  if (r == null)
4330
4316
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4331
4317
  return n && (i = he("number", n)), new Intl.NumberFormat(r, i);
4332
4318
  }
4333
- ), Mi = Pe(
4319
+ ), Ii = Pe(
4334
4320
  (e) => {
4335
- var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4321
+ var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
4336
4322
  if (r == null)
4337
4323
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4338
4324
  return n ? i = he("date", n) : Object.keys(i).length === 0 && (i = he("date", "short")), new Intl.DateTimeFormat(r, i);
4339
4325
  }
4340
- ), Ni = Pe(
4326
+ ), Li = Pe(
4341
4327
  (e) => {
4342
- var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4328
+ var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
4343
4329
  if (r == null)
4344
4330
  throw new Error(
4345
4331
  '[svelte-i18n] A "locale" must be set to format time values'
4346
4332
  );
4347
4333
  return n ? i = he("time", n) : Object.keys(i).length === 0 && (i = he("time", "short")), new Intl.DateTimeFormat(r, i);
4348
4334
  }
4349
- ), Ri = (e = {}) => {
4335
+ ), Ci = (e = {}) => {
4350
4336
  var t = e, {
4351
- locale: r = z()
4352
- } = t, n = oe(t, [
4337
+ locale: r = W()
4338
+ } = t, n = se(t, [
4353
4339
  "locale"
4354
4340
  ]);
4355
- return Li(nt({ locale: r }, n));
4356
- }, $i = (e = {}) => {
4341
+ return Oi(tt({ locale: r }, n));
4342
+ }, Ni = (e = {}) => {
4357
4343
  var t = e, {
4358
- locale: r = z()
4359
- } = t, n = oe(t, [
4344
+ locale: r = W()
4345
+ } = t, n = se(t, [
4360
4346
  "locale"
4361
4347
  ]);
4362
- return Mi(nt({ locale: r }, n));
4363
- }, Di = (e = {}) => {
4348
+ return Ii(tt({ locale: r }, n));
4349
+ }, Mi = (e = {}) => {
4364
4350
  var t = e, {
4365
- locale: r = z()
4366
- } = t, n = oe(t, [
4351
+ locale: r = W()
4352
+ } = t, n = se(t, [
4367
4353
  "locale"
4368
4354
  ]);
4369
- return Ni(nt({ locale: r }, n));
4370
- }, Ui = Pe(
4355
+ return Li(tt({ locale: r }, n));
4356
+ }, Ri = Pe(
4371
4357
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4372
- (e, t = z()) => new fi(e, t, re().formats, {
4358
+ (e, t = W()) => new li(e, t, re().formats, {
4373
4359
  ignoreTag: re().ignoreTag
4374
4360
  })
4375
- ), Gi = (e, t = {}) => {
4376
- var r, n, i, o;
4361
+ ), $i = (e, t = {}) => {
4362
+ var r, n, i, s;
4377
4363
  let a = t;
4378
4364
  typeof e == "object" && (a = e, e = a.id);
4379
4365
  const {
4380
- values: s,
4381
- locale: l = z(),
4366
+ values: o,
4367
+ locale: l = W(),
4382
4368
  default: u
4383
4369
  } = a;
4384
4370
  if (l == null)
4385
4371
  throw new Error(
4386
4372
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4387
4373
  );
4388
- let h = cr(e, l);
4374
+ let h = ur(e, l);
4389
4375
  if (!h)
4390
- h = (o = (i = (n = (r = re()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4376
+ h = (s = (i = (n = (r = re()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
4391
4377
  else if (typeof h != "string")
4392
4378
  return console.warn(
4393
4379
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
4394
4380
  ), h;
4395
- if (!s)
4381
+ if (!o)
4396
4382
  return h;
4397
- let f = h;
4383
+ let c = h;
4398
4384
  try {
4399
- f = Ui(h, l).format(s);
4400
- } catch (c) {
4401
- c instanceof Error && console.warn(
4385
+ c = Ri(h, l).format(o);
4386
+ } catch (f) {
4387
+ f instanceof Error && console.warn(
4402
4388
  `[svelte-i18n] Message "${e}" has syntax error:`,
4403
- c.message
4389
+ f.message
4404
4390
  );
4405
4391
  }
4406
- return f;
4407
- }, Fi = (e, t) => Di(t).format(e), ji = (e, t) => $i(t).format(e), ki = (e, t) => Ri(t).format(e), Vi = (e, t = z()) => cr(e, t), Xi = ne([ie, ce], () => Gi);
4408
- ne([ie], () => Fi);
4409
- ne([ie], () => ji);
4410
- ne([ie], () => ki);
4411
- ne([ie, ce], () => Vi);
4412
- window.emWidgets = { topic: on };
4413
- const gr = (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)), Wi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4414
- function wo(e, t) {
4392
+ return c;
4393
+ }, Di = (e, t) => Mi(t).format(e), Ui = (e, t) => Ni(t).format(e), Gi = (e, t) => Ci(t).format(e), Fi = (e, t = W()) => ur(e, t), ji = ne([ie, fe], () => $i);
4394
+ ne([ie], () => Di);
4395
+ ne([ie], () => Ui);
4396
+ ne([ie], () => Gi);
4397
+ ne([ie, fe], () => Fi);
4398
+ window.emWidgets = { topic: en };
4399
+ const mr = (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)), ki = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4400
+ function vs(e, t) {
4415
4401
  const r = window.navigator.userAgent;
4416
- return gr(r) ? t = e.filter((n) => {
4402
+ return mr(r) ? t = e.filter((n) => {
4417
4403
  if (n.gameModel && (n.gameModel.platform.includes("iPad") || n.gameModel.platform.includes("iPhone") || n.gameModel.platform.includes("Android")))
4418
4404
  return n;
4419
4405
  }) : t = e.filter((n) => {
@@ -4421,13 +4407,13 @@ function wo(e, t) {
4421
4407
  return n;
4422
4408
  }), t;
4423
4409
  }
4424
- function zi(e, t) {
4410
+ function Vi(e, t) {
4425
4411
  if (e) {
4426
4412
  const r = document.createElement("style");
4427
4413
  r.innerHTML = t, e.appendChild(r);
4428
4414
  }
4429
4415
  }
4430
- function Zi(e, t) {
4416
+ function Xi(e, t) {
4431
4417
  const r = new URL(t);
4432
4418
  fetch(r.href).then((n) => n.text()).then((n) => {
4433
4419
  const i = document.createElement("style");
@@ -4436,7 +4422,7 @@ function Zi(e, t) {
4436
4422
  console.error("There was an error while trying to load client styling from URL", n);
4437
4423
  });
4438
4424
  }
4439
- function Qi(e, t, r) {
4425
+ function Wi(e, t, r) {
4440
4426
  if (window.emMessageBus) {
4441
4427
  const n = document.createElement("style");
4442
4428
  window.emMessageBus.subscribe(t, (i) => {
@@ -4444,13 +4430,13 @@ function Qi(e, t, r) {
4444
4430
  });
4445
4431
  }
4446
4432
  }
4447
- function Bt(e, t) {
4448
- dr(e, t);
4433
+ function Tt(e, t) {
4434
+ hr(e, t);
4449
4435
  }
4450
- function Ji(e) {
4436
+ function zi(e) {
4451
4437
  ie.set(e);
4452
4438
  }
4453
- const Pt = {
4439
+ const Ht = {
4454
4440
  en: {
4455
4441
  error: "500 Error - Internal Server Error"
4456
4442
  },
@@ -4482,7 +4468,7 @@ if (typeof window < "u") {
4482
4468
  }
4483
4469
  };
4484
4470
  };
4485
- customElements.define = e(customElements.define), import("./CasinoCalendarDailyDetails-D_IsmUxa.js").then(({ default: t }) => {
4471
+ customElements.define = e(customElements.define), import("./CasinoCalendarDailyDetails-BCVIut1W.js").then(({ default: t }) => {
4486
4472
  !customElements.get("casino-calendar-daily-details") && customElements.define("casino-calendar-daily-details", t.element);
4487
4473
  });
4488
4474
  }
@@ -4498,70 +4484,70 @@ if (typeof window < "u") {
4498
4484
  }
4499
4485
  };
4500
4486
  };
4501
- customElements.define = e(customElements.define), import("./CasinoCalendarDailyItem-lgiTsDmQ.js").then(({ default: t }) => {
4487
+ customElements.define = e(customElements.define), import("./CasinoCalendarDailyItem-C1ADnaTt.js").then(({ default: t }) => {
4502
4488
  !customElements.get("casino-calendar-daily-item") && customElements.define("casino-calendar-daily-item", t.element);
4503
4489
  });
4504
4490
  }
4505
- function qi(e) {
4506
- wr(e, "svelte-5u3c97", `.svelte-5u3c97{font-family:inherit}.CasinoCalendarItem.svelte-5u3c97{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-5u3c97{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-5u3c97{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-5u3c97{display:block;width:80px;height:80px;margin:0 auto
4491
+ function Zi(e) {
4492
+ vr(e, "svelte-5u3c97", `.svelte-5u3c97{font-family:inherit}.CasinoCalendarItem.svelte-5u3c97{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-5u3c97{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-5u3c97{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-5u3c97{display:block;width:80px;height:80px;margin:0 auto
4507
4493
  }.LoadingSpinner.svelte-5u3c97: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, #22B04E));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E)) transparent;animation:svelte-5u3c97-LoadingSpinner 1.2s linear infinite}@keyframes svelte-5u3c97-LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}`);
4508
4494
  }
4509
- function At(e, t, r) {
4495
+ function Bt(e, t, r) {
4510
4496
  const n = e.slice();
4511
4497
  return n[26] = t[r], n[28] = r, n;
4512
4498
  }
4513
- function Yi(e) {
4514
- let t, r, n, i = st(
4499
+ function Qi(e) {
4500
+ let t, r, n, i = it(
4515
4501
  /*calendarCollections*/
4516
4502
  e[6]
4517
- ), o = [];
4518
- for (let s = 0; s < i.length; s += 1)
4519
- o[s] = Ot(At(e, i, s));
4503
+ ), s = [];
4504
+ for (let o = 0; o < i.length; o += 1)
4505
+ s[o] = Pt(Bt(e, i, o));
4520
4506
  let a = (
4521
4507
  /*calendarModalOpened*/
4522
- e[11] == !0 && It(e)
4508
+ e[11] == !0 && At(e)
4523
4509
  );
4524
4510
  return {
4525
4511
  c() {
4526
4512
  t = R("div");
4527
- for (let s = 0; s < o.length; s += 1)
4528
- o[s].c();
4529
- r = Ar(), a && a.c(), j(t, "class", n = "CasinoCalendarItem " + /*mobileView*/
4513
+ for (let o = 0; o < s.length; o += 1)
4514
+ s[o].c();
4515
+ r = Tr(), a && a.c(), j(t, "class", n = "CasinoCalendarItem " + /*mobileView*/
4530
4516
  (e[10] ? "Mobile" : "") + " svelte-5u3c97");
4531
4517
  },
4532
- m(s, l) {
4533
- k(s, t, l);
4534
- for (let u = 0; u < o.length; u += 1)
4535
- o[u] && o[u].m(t, null);
4518
+ m(o, l) {
4519
+ k(o, t, l);
4520
+ for (let u = 0; u < s.length; u += 1)
4521
+ s[u] && s[u].m(t, null);
4536
4522
  Se(t, r), a && a.m(t, null);
4537
4523
  },
4538
- p(s, l) {
4524
+ p(o, l) {
4539
4525
  if (l & /*calendarCollections, lang, clientstyling, clientstylingurl, mbsource, translationurl*/
4540
4526
  95) {
4541
- i = st(
4527
+ i = it(
4542
4528
  /*calendarCollections*/
4543
- s[6]
4529
+ o[6]
4544
4530
  );
4545
4531
  let u;
4546
4532
  for (u = 0; u < i.length; u += 1) {
4547
- const h = At(s, i, u);
4548
- o[u] ? o[u].p(h, l) : (o[u] = Ot(h), o[u].c(), o[u].m(t, r));
4533
+ const h = Bt(o, i, u);
4534
+ s[u] ? s[u].p(h, l) : (s[u] = Pt(h), s[u].c(), s[u].m(t, r));
4549
4535
  }
4550
- for (; u < o.length; u += 1)
4551
- o[u].d(1);
4552
- o.length = i.length;
4536
+ for (; u < s.length; u += 1)
4537
+ s[u].d(1);
4538
+ s.length = i.length;
4553
4539
  }
4554
4540
  /*calendarModalOpened*/
4555
- s[11] == !0 ? a ? a.p(s, l) : (a = It(s), a.c(), a.m(t, null)) : a && (a.d(1), a = null), l & /*mobileView*/
4541
+ o[11] == !0 ? a ? a.p(o, l) : (a = At(o), a.c(), a.m(t, null)) : a && (a.d(1), a = null), l & /*mobileView*/
4556
4542
  1024 && n !== (n = "CasinoCalendarItem " + /*mobileView*/
4557
- (s[10] ? "Mobile" : "") + " svelte-5u3c97") && j(t, "class", n);
4543
+ (o[10] ? "Mobile" : "") + " svelte-5u3c97") && j(t, "class", n);
4558
4544
  },
4559
- d(s) {
4560
- s && D(t), Br(o, s), a && a.d();
4545
+ d(o) {
4546
+ o && D(t), Sr(s, o), a && a.d();
4561
4547
  }
4562
4548
  };
4563
4549
  }
4564
- function Ki(e) {
4550
+ function Ji(e) {
4565
4551
  let t;
4566
4552
  return {
4567
4553
  c() {
@@ -4570,42 +4556,42 @@ function Ki(e) {
4570
4556
  m(r, n) {
4571
4557
  k(r, t, n);
4572
4558
  },
4573
- p: B,
4559
+ p: P,
4574
4560
  d(r) {
4575
4561
  r && D(t);
4576
4562
  }
4577
4563
  };
4578
4564
  }
4579
- function eo(e) {
4565
+ function qi(e) {
4580
4566
  let t, r = (
4581
4567
  /*$_*/
4582
4568
  e[12]("error") + ""
4583
4569
  ), n;
4584
4570
  return {
4585
4571
  c() {
4586
- t = R("p"), n = Ke(r), j(t, "class", "SearchLoading svelte-5u3c97");
4572
+ t = R("p"), n = Ye(r), j(t, "class", "SearchLoading svelte-5u3c97");
4587
4573
  },
4588
- m(i, o) {
4589
- k(i, t, o), Se(t, n);
4574
+ m(i, s) {
4575
+ k(i, t, s), Se(t, n);
4590
4576
  },
4591
- p(i, o) {
4592
- o & /*$_*/
4577
+ p(i, s) {
4578
+ s & /*$_*/
4593
4579
  4096 && r !== (r = /*$_*/
4594
- i[12]("error") + "") && Ir(n, r);
4580
+ i[12]("error") + "") && Br(n, r);
4595
4581
  },
4596
4582
  d(i) {
4597
4583
  i && D(t);
4598
4584
  }
4599
4585
  };
4600
4586
  }
4601
- function Ot(e) {
4602
- let t, r, n, i, o, a;
4587
+ function Pt(e) {
4588
+ let t, r, n, i, s, a;
4603
4589
  return {
4604
4590
  c() {
4605
4591
  t = R("casino-calendar-daily-item"), d(t, "dailybackground", r = /*dailyCalendarData*/
4606
4592
  e[26].dailyBackground), d(t, "dailyicon", n = /*dailyCalendarData*/
4607
4593
  e[26].dailyIcon), d(t, "dailyday", i = /*dailyCalendarData*/
4608
- e[26].dailyDay), d(t, "dailydescription", o = /*dailyCalendarData*/
4594
+ e[26].dailyDay), d(t, "dailydescription", s = /*dailyCalendarData*/
4609
4595
  e[26].dailyDescription), d(t, "dailybuttontitle", a = /*dailyCalendarData*/
4610
4596
  e[26].dailyButtonTitle), d(
4611
4597
  t,
@@ -4639,59 +4625,59 @@ function Ot(e) {
4639
4625
  e[3]
4640
4626
  ), d(t, "class", "svelte-5u3c97");
4641
4627
  },
4642
- m(s, l) {
4643
- k(s, t, l);
4628
+ m(o, l) {
4629
+ k(o, t, l);
4644
4630
  },
4645
- p(s, l) {
4631
+ p(o, l) {
4646
4632
  l & /*calendarCollections*/
4647
4633
  64 && r !== (r = /*dailyCalendarData*/
4648
- s[26].dailyBackground) && d(t, "dailybackground", r), l & /*calendarCollections*/
4634
+ o[26].dailyBackground) && d(t, "dailybackground", r), l & /*calendarCollections*/
4649
4635
  64 && n !== (n = /*dailyCalendarData*/
4650
- s[26].dailyIcon) && d(t, "dailyicon", n), l & /*calendarCollections*/
4636
+ o[26].dailyIcon) && d(t, "dailyicon", n), l & /*calendarCollections*/
4651
4637
  64 && i !== (i = /*dailyCalendarData*/
4652
- s[26].dailyDay) && d(t, "dailyday", i), l & /*calendarCollections*/
4653
- 64 && o !== (o = /*dailyCalendarData*/
4654
- s[26].dailyDescription) && d(t, "dailydescription", o), l & /*calendarCollections*/
4638
+ o[26].dailyDay) && d(t, "dailyday", i), l & /*calendarCollections*/
4639
+ 64 && s !== (s = /*dailyCalendarData*/
4640
+ o[26].dailyDescription) && d(t, "dailydescription", s), l & /*calendarCollections*/
4655
4641
  64 && a !== (a = /*dailyCalendarData*/
4656
- s[26].dailyButtonTitle) && d(t, "dailybuttontitle", a), l & /*lang*/
4642
+ o[26].dailyButtonTitle) && d(t, "dailybuttontitle", a), l & /*lang*/
4657
4643
  1 && d(
4658
4644
  t,
4659
4645
  "lang",
4660
4646
  /*lang*/
4661
- s[0]
4647
+ o[0]
4662
4648
  ), l & /*clientstyling*/
4663
4649
  2 && d(
4664
4650
  t,
4665
4651
  "clientstyling",
4666
4652
  /*clientstyling*/
4667
- s[1]
4653
+ o[1]
4668
4654
  ), l & /*clientstylingurl*/
4669
4655
  4 && d(
4670
4656
  t,
4671
4657
  "clientstylingurl",
4672
4658
  /*clientstylingurl*/
4673
- s[2]
4659
+ o[2]
4674
4660
  ), l & /*mbsource*/
4675
4661
  16 && d(
4676
4662
  t,
4677
4663
  "mbsource",
4678
4664
  /*mbsource*/
4679
- s[4]
4665
+ o[4]
4680
4666
  ), l & /*translationurl*/
4681
4667
  8 && d(
4682
4668
  t,
4683
4669
  "translationurl",
4684
4670
  /*translationurl*/
4685
- s[3]
4671
+ o[3]
4686
4672
  );
4687
4673
  },
4688
- d(s) {
4689
- s && D(t);
4674
+ d(o) {
4675
+ o && D(t);
4690
4676
  }
4691
4677
  };
4692
4678
  }
4693
- function It(e) {
4694
- let t, r, n, i, o, a, s, l;
4679
+ function At(e) {
4680
+ let t, r, n, i, s, a, o, l;
4695
4681
  return {
4696
4682
  c() {
4697
4683
  t = R("div"), r = R("casino-calendar-daily-details"), d(r, "dailybackground", n = /*calendarCollections*/
@@ -4702,7 +4688,7 @@ function It(e) {
4702
4688
  e[6][
4703
4689
  /*selectedIndex*/
4704
4690
  e[7]
4705
- ].dailyButtonTitle), d(r, "dailyday", o = /*calendarCollections*/
4691
+ ].dailyButtonTitle), d(r, "dailyday", s = /*calendarCollections*/
4706
4692
  e[6][
4707
4693
  /*selectedIndex*/
4708
4694
  e[7]
@@ -4710,7 +4696,7 @@ function It(e) {
4710
4696
  e[6][
4711
4697
  /*selectedIndex*/
4712
4698
  e[7]
4713
- ].dailyDescription), d(r, "dailyicon", s = /*calendarCollections*/
4699
+ ].dailyDescription), d(r, "dailyicon", o = /*calendarCollections*/
4714
4700
  e[6][
4715
4701
  /*selectedIndex*/
4716
4702
  e[7]
@@ -4760,21 +4746,21 @@ function It(e) {
4760
4746
  /*selectedIndex*/
4761
4747
  u[7]
4762
4748
  ].dailyButtonTitle) && d(r, "dailybuttontitle", i), h & /*calendarCollections, selectedIndex*/
4763
- 192 && o !== (o = /*calendarCollections*/
4749
+ 192 && s !== (s = /*calendarCollections*/
4764
4750
  u[6][
4765
4751
  /*selectedIndex*/
4766
4752
  u[7]
4767
- ].dailyDay) && d(r, "dailyday", o), h & /*calendarCollections, selectedIndex*/
4753
+ ].dailyDay) && d(r, "dailyday", s), h & /*calendarCollections, selectedIndex*/
4768
4754
  192 && a !== (a = /*calendarCollections*/
4769
4755
  u[6][
4770
4756
  /*selectedIndex*/
4771
4757
  u[7]
4772
4758
  ].dailyDescription) && d(r, "dailydescription", a), h & /*calendarCollections, selectedIndex*/
4773
- 192 && s !== (s = /*calendarCollections*/
4759
+ 192 && o !== (o = /*calendarCollections*/
4774
4760
  u[6][
4775
4761
  /*selectedIndex*/
4776
4762
  u[7]
4777
- ].dailyIcon) && d(r, "dailyicon", s), h & /*calendarCollections, selectedIndex*/
4763
+ ].dailyIcon) && d(r, "dailyicon", o), h & /*calendarCollections, selectedIndex*/
4778
4764
  192 && l !== (l = /*calendarCollections*/
4779
4765
  u[6][
4780
4766
  /*selectedIndex*/
@@ -4816,81 +4802,81 @@ function It(e) {
4816
4802
  }
4817
4803
  };
4818
4804
  }
4819
- function to(e) {
4805
+ function Yi(e) {
4820
4806
  let t;
4821
- function r(o, a) {
4807
+ function r(s, a) {
4822
4808
  if (
4823
4809
  /*hasErrors*/
4824
- o[9]
4810
+ s[9]
4825
4811
  )
4826
- return eo;
4812
+ return qi;
4827
4813
  if (
4828
4814
  /*isLoading*/
4829
- o[8]
4815
+ s[8]
4830
4816
  )
4831
- return Ki;
4817
+ return Ji;
4832
4818
  if (
4833
4819
  /*calendarCollections*/
4834
- o[6]?.length
4820
+ s[6]?.length
4835
4821
  )
4836
- return Yi;
4822
+ return Qi;
4837
4823
  }
4838
4824
  let n = r(e), i = n && n(e);
4839
4825
  return {
4840
4826
  c() {
4841
4827
  t = R("div"), i && i.c(), j(t, "class", "svelte-5u3c97");
4842
4828
  },
4843
- m(o, a) {
4844
- k(o, t, a), i && i.m(t, null), e[16](t);
4829
+ m(s, a) {
4830
+ k(s, t, a), i && i.m(t, null), e[16](t);
4845
4831
  },
4846
- p(o, [a]) {
4847
- n === (n = r(o)) && i ? i.p(o, a) : (i && i.d(1), i = n && n(o), i && (i.c(), i.m(t, null)));
4832
+ p(s, [a]) {
4833
+ n === (n = r(s)) && i ? i.p(s, a) : (i && i.d(1), i = n && n(s), i && (i.c(), i.m(t, null)));
4848
4834
  },
4849
- i: B,
4850
- o: B,
4851
- d(o) {
4852
- o && D(t), i && i.d(), e[16](null);
4835
+ i: P,
4836
+ o: P,
4837
+ d(s) {
4838
+ s && D(t), i && i.d(), e[16](null);
4853
4839
  }
4854
4840
  };
4855
4841
  }
4856
- function ro(e, t, r) {
4842
+ function Ki(e, t, r) {
4857
4843
  let n;
4858
- Sr(e, Xi, (p) => r(12, n = p));
4859
- let { cmsendpoint: i = "" } = t, { env: o = "" } = t, { userroles: a = "" } = t, { lang: s = "en" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: h } = t, { mbsource: f } = t, c, m, b = 0, g = !0, S = !1, P = !1, H = window.navigator.userAgent, w = !1, L;
4860
- const A = () => {
4861
- Ji(s);
4844
+ _r(e, ji, (p) => r(12, n = p));
4845
+ let { cmsendpoint: i = "" } = t, { env: s = "" } = t, { userroles: a = "" } = t, { lang: o = "en" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: h } = t, { mbsource: c } = t, f, m, b = 0, g = !0, S = !1, A = !1, H = window.navigator.userAgent, w = !1;
4846
+ const C = () => {
4847
+ zi(o);
4862
4848
  };
4863
- Object.keys(Pt).forEach((p) => {
4864
- Bt(p, Pt[p]);
4849
+ Object.keys(Ht).forEach((p) => {
4850
+ Tt(p, Ht[p]);
4865
4851
  });
4866
- const M = () => {
4852
+ const O = () => {
4867
4853
  let p = h;
4868
4854
  if (p)
4869
- return fetch(p).then((C) => C.json()).then((C) => {
4870
- Object.keys(C).forEach((G) => {
4871
- Bt(G, C[G]);
4855
+ return fetch(p).then((L) => L.json()).then((L) => {
4856
+ Object.keys(L).forEach((G) => {
4857
+ Tt(G, L[G]);
4872
4858
  });
4873
- }).catch((C) => {
4874
- console.log(C);
4859
+ }).catch((L) => {
4860
+ console.log(L);
4875
4861
  });
4876
- }, x = () => {
4862
+ }, N = () => {
4877
4863
  r(8, g = !0);
4878
- let p = new URL(`${i}/${s}/daily-calendar`);
4879
- p.searchParams.append("userRoles", a), p.searchParams.append("env", o);
4880
- let C = Wi(H);
4881
- C && (C === "PC" ? p.searchParams.append("device", "dk") : C === "iPad" || C === "iPhone" ? p.searchParams.append("device", "ios") : p.searchParams.append("device", "mtWeb")), fetch(p.href).then((G) => G.json()).then((G) => {
4864
+ let p = new URL(`${i}/${o}/daily-calendar`);
4865
+ p.searchParams.append("userRoles", a), p.searchParams.append("env", s);
4866
+ let L = ki(H);
4867
+ L && (L === "PC" ? p.searchParams.append("device", "dk") : L === "iPad" || L === "iPhone" ? p.searchParams.append("device", "ios") : p.searchParams.append("device", "mtWeb")), fetch(p.href).then((G) => G.json()).then((G) => {
4882
4868
  r(6, m = G);
4883
4869
  }).catch((G) => {
4884
4870
  console.log(G), r(9, S = !0);
4885
4871
  }).finally(() => {
4886
- O(), r(8, g = !1);
4872
+ x(), r(8, g = !1);
4887
4873
  });
4888
- }, O = () => {
4889
- const p = c.getRootNode().host;
4874
+ }, x = () => {
4875
+ const p = f.getRootNode().host;
4890
4876
  p.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: p } }));
4891
4877
  }, I = () => {
4892
- x();
4893
- }, V = (p) => {
4878
+ N();
4879
+ }, B = (p) => {
4894
4880
  p.data && p.data.type == "OpenCalendar" && (r(7, b = p.data.index), r(11, w = !0), window.postMessage(
4895
4881
  {
4896
4882
  type: "ShowModal",
@@ -4903,52 +4889,52 @@ function ro(e, t, r) {
4903
4889
  data: m[b]?.dailyEvents
4904
4890
  })), p.data && p.data.type == "ModalClosed" && r(11, w = !1);
4905
4891
  };
4906
- Lr(() => (window.addEventListener("message", V, !1), gr(H) && r(10, P = !0), () => {
4907
- window.emMessageBus && L && window.emMessageBus.unsubscribe("Casino.Style"), window.removeEventListener("message", V);
4892
+ Ar(() => (window.addEventListener("message", B, !1), mr(H) && r(10, A = !0), () => {
4893
+ window.removeEventListener("message", B);
4908
4894
  }));
4909
- function _r(p) {
4910
- $e[p ? "unshift" : "push"](() => {
4911
- c = p, r(5, c);
4895
+ function z(p) {
4896
+ Re[p ? "unshift" : "push"](() => {
4897
+ f = p, r(5, f);
4912
4898
  });
4913
4899
  }
4914
4900
  return e.$$set = (p) => {
4915
- "cmsendpoint" in p && r(13, i = p.cmsendpoint), "env" in p && r(14, o = p.env), "userroles" in p && r(15, a = p.userroles), "lang" in p && r(0, s = p.lang), "clientstyling" in p && r(1, l = p.clientstyling), "clientstylingurl" in p && r(2, u = p.clientstylingurl), "translationurl" in p && r(3, h = p.translationurl), "mbsource" in p && r(4, f = p.mbsource);
4901
+ "cmsendpoint" in p && r(13, i = p.cmsendpoint), "env" in p && r(14, s = p.env), "userroles" in p && r(15, a = p.userroles), "lang" in p && r(0, o = p.lang), "clientstyling" in p && r(1, l = p.clientstyling), "clientstylingurl" in p && r(2, u = p.clientstylingurl), "translationurl" in p && r(3, h = p.translationurl), "mbsource" in p && r(4, c = p.mbsource);
4916
4902
  }, e.$$.update = () => {
4917
4903
  e.$$.dirty & /*cmsendpoint, lang, env, userroles*/
4918
- 57345 && i && s && o && a && I(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4919
- 34 && l && c && zi(c, l), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4920
- 36 && u && c && Zi(c, u), e.$$.dirty & /*customStylingContainer, mbsource*/
4921
- 48 && c && Qi(c, `${f}.Style`), e.$$.dirty & /*lang*/
4922
- 1 && s && A(), e.$$.dirty & /*lang, translationurl*/
4923
- 9 && s && h && M();
4904
+ 57345 && i && o && s && a && I(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4905
+ 34 && l && f && Vi(f, l), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4906
+ 36 && u && f && Xi(f, u), e.$$.dirty & /*customStylingContainer, mbsource*/
4907
+ 48 && f && Wi(f, `${c}.Style`), e.$$.dirty & /*lang*/
4908
+ 1 && o && C(), e.$$.dirty & /*lang, translationurl*/
4909
+ 9 && o && h && O();
4924
4910
  }, [
4925
- s,
4911
+ o,
4926
4912
  l,
4927
4913
  u,
4928
4914
  h,
4929
- f,
4930
4915
  c,
4916
+ f,
4931
4917
  m,
4932
4918
  b,
4933
4919
  g,
4934
4920
  S,
4935
- P,
4921
+ A,
4936
4922
  w,
4937
4923
  n,
4938
4924
  i,
4939
- o,
4925
+ s,
4940
4926
  a,
4941
- _r
4927
+ z
4942
4928
  ];
4943
4929
  }
4944
- class vr extends jr {
4930
+ class br extends Dr {
4945
4931
  constructor(t) {
4946
- super(), Gr(
4932
+ super(), Rr(
4947
4933
  this,
4948
4934
  t,
4949
- ro,
4950
- to,
4951
- Lt,
4935
+ Ki,
4936
+ Yi,
4937
+ It,
4952
4938
  {
4953
4939
  cmsendpoint: 13,
4954
4940
  env: 14,
@@ -4959,119 +4945,119 @@ class vr extends jr {
4959
4945
  translationurl: 3,
4960
4946
  mbsource: 4
4961
4947
  },
4962
- qi
4948
+ Zi
4963
4949
  );
4964
4950
  }
4965
4951
  get cmsendpoint() {
4966
4952
  return this.$$.ctx[13];
4967
4953
  }
4968
4954
  set cmsendpoint(t) {
4969
- this.$$set({ cmsendpoint: t }), N();
4955
+ this.$$set({ cmsendpoint: t }), M();
4970
4956
  }
4971
4957
  get env() {
4972
4958
  return this.$$.ctx[14];
4973
4959
  }
4974
4960
  set env(t) {
4975
- this.$$set({ env: t }), N();
4961
+ this.$$set({ env: t }), M();
4976
4962
  }
4977
4963
  get userroles() {
4978
4964
  return this.$$.ctx[15];
4979
4965
  }
4980
4966
  set userroles(t) {
4981
- this.$$set({ userroles: t }), N();
4967
+ this.$$set({ userroles: t }), M();
4982
4968
  }
4983
4969
  get lang() {
4984
4970
  return this.$$.ctx[0];
4985
4971
  }
4986
4972
  set lang(t) {
4987
- this.$$set({ lang: t }), N();
4973
+ this.$$set({ lang: t }), M();
4988
4974
  }
4989
4975
  get clientstyling() {
4990
4976
  return this.$$.ctx[1];
4991
4977
  }
4992
4978
  set clientstyling(t) {
4993
- this.$$set({ clientstyling: t }), N();
4979
+ this.$$set({ clientstyling: t }), M();
4994
4980
  }
4995
4981
  get clientstylingurl() {
4996
4982
  return this.$$.ctx[2];
4997
4983
  }
4998
4984
  set clientstylingurl(t) {
4999
- this.$$set({ clientstylingurl: t }), N();
4985
+ this.$$set({ clientstylingurl: t }), M();
5000
4986
  }
5001
4987
  get translationurl() {
5002
4988
  return this.$$.ctx[3];
5003
4989
  }
5004
4990
  set translationurl(t) {
5005
- this.$$set({ translationurl: t }), N();
4991
+ this.$$set({ translationurl: t }), M();
5006
4992
  }
5007
4993
  get mbsource() {
5008
4994
  return this.$$.ctx[4];
5009
4995
  }
5010
4996
  set mbsource(t) {
5011
- this.$$set({ mbsource: t }), N();
4997
+ this.$$set({ mbsource: t }), M();
5012
4998
  }
5013
4999
  }
5014
- Fr(vr, { cmsendpoint: {}, env: {}, userroles: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
5015
- const To = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5000
+ $r(br, { cmsendpoint: {}, env: {}, userroles: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
5001
+ const Es = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5016
5002
  __proto__: null,
5017
- default: vr
5003
+ default: br
5018
5004
  }, Symbol.toStringTag, { value: "Module" }));
5019
5005
  export {
5020
5006
  ie as $,
5021
- ho as A,
5022
- so as B,
5023
- ao as C,
5024
- oo as D,
5025
- Ir as E,
5026
- Br as F,
5027
- B as G,
5007
+ as as A,
5008
+ ns as B,
5009
+ is as C,
5010
+ rs as D,
5011
+ Br as E,
5012
+ Sr as F,
5013
+ P as G,
5028
5014
  d as H,
5029
- no as I,
5030
- Xi as J,
5031
- Pr as K,
5032
- po as L,
5033
- W as M,
5034
- co as N,
5035
- ce as O,
5036
- Wi as P,
5037
- fo as Q,
5038
- mo as R,
5039
- jr as S,
5040
- lo as T,
5041
- bo as U,
5042
- go as V,
5043
- yo as W,
5044
- wo as X,
5045
- So as Y,
5046
- Eo as Z,
5047
- xo as _,
5048
- dr as a,
5049
- uo as a0,
5015
+ es as I,
5016
+ ji as J,
5017
+ wr as K,
5018
+ hs as L,
5019
+ X as M,
5020
+ us as N,
5021
+ fe as O,
5022
+ ki as P,
5023
+ ls as Q,
5024
+ fs as R,
5025
+ Dr as S,
5026
+ os as T,
5027
+ cs as U,
5028
+ ps as V,
5029
+ ds as W,
5030
+ vs as X,
5031
+ _s as Y,
5032
+ ys as Z,
5033
+ gs as _,
5034
+ hr as a,
5035
+ ss as a0,
5050
5036
  xe as a1,
5051
- To as a2,
5052
- wr as b,
5053
- Fr as c,
5037
+ Es as a2,
5038
+ vr as b,
5039
+ $r as c,
5054
5040
  k as d,
5055
5041
  R as e,
5056
- N as f,
5057
- _o as g,
5058
- Ut as h,
5059
- Gr as i,
5042
+ M as f,
5043
+ bs as g,
5044
+ $t as h,
5045
+ Rr as i,
5060
5046
  D as j,
5061
- Sr as k,
5062
- Zi as l,
5063
- Qi as m,
5064
- vo as n,
5065
- Lr as o,
5066
- gr as p,
5067
- $e as q,
5068
- zi as r,
5069
- Lt as s,
5070
- Rr as t,
5071
- io as u,
5072
- st as v,
5073
- Ar as w,
5074
- Ke as x,
5047
+ _r as k,
5048
+ ms as l,
5049
+ mr as m,
5050
+ Re as n,
5051
+ Ar as o,
5052
+ Vi as p,
5053
+ Xi as q,
5054
+ Wi as r,
5055
+ It as s,
5056
+ Lr as t,
5057
+ ts as u,
5058
+ it as v,
5059
+ Tr as w,
5060
+ Ye as x,
5075
5061
  j as y,
5076
5062
  Se as z
5077
5063
  };