@everymatrix/casino-page-nd 1.57.0 → 1.58.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (71) hide show
  1. package/components/{CasinoCalendar-Beb-D9v5.js → CasinoCalendar-DSG6g7xU.js} +1093 -1115
  2. package/components/{CasinoCalendar-qVpbXj-D.js → CasinoCalendar-DiZrkgaV.js} +833 -855
  3. package/components/CasinoCalendar-df0Yv0_Y.cjs +19 -0
  4. package/components/{CasinoCalendarDailyDetails-C6Shuvfx.js → CasinoCalendarDailyDetails-CcuM0Eaq.js} +48 -48
  5. package/components/{CasinoCalendarDailyDetails-C6Lmn7pW.cjs → CasinoCalendarDailyDetails-DNnl20nr.cjs} +1 -1
  6. package/components/{CasinoCalendarDailyDetails-CmmQq8VR.js → CasinoCalendarDailyDetails-Dv1jxPLQ.js} +48 -48
  7. package/components/{CasinoCalendarDailyItem-BLMalLZx.js → CasinoCalendarDailyItem-BBaphFv2.js} +41 -41
  8. package/components/{CasinoCalendarDailyItem-DlHg6exr.js → CasinoCalendarDailyItem-DateMcJ_.js} +41 -41
  9. package/components/{CasinoCalendarDailyItem-D7q0pxAo.cjs → CasinoCalendarDailyItem-HkwdKiaQ.cjs} +1 -1
  10. package/components/{CasinoCollectionsProviders-BU9Vdk7f.js → CasinoCollectionsProviders-CQ42E76I.js} +62 -62
  11. package/components/{CasinoCollectionsProviders-CKeIv7Lm.cjs → CasinoCollectionsProviders-DlyhZFGW.cjs} +1 -1
  12. package/components/{CasinoCollectionsProviders-KxO7bWw9.js → CasinoCollectionsProviders-JONztOpa.js} +69 -69
  13. package/components/{CasinoFavoritesSectionNd-B6eGVKwL.js → CasinoFavoritesSectionNd-ATr7IIaY.js} +84 -84
  14. package/components/{CasinoFavoritesSectionNd-KuBsOlJI.js → CasinoFavoritesSectionNd-BSrQfl8F.js} +84 -84
  15. package/components/{CasinoFavoritesSectionNd-BP1OHrZH.cjs → CasinoFavoritesSectionNd-CwvCXm1r.cjs} +1 -1
  16. package/components/{CasinoFilter-5P8W2ayY.js → CasinoFilter-D3nwp5eh.js} +230 -229
  17. package/components/{CasinoFilter-EmKNpmwo.js → CasinoFilter-DTSqCXdO.js} +242 -243
  18. package/components/CasinoFilter-w2jN5tFN.cjs +1 -0
  19. package/components/{CasinoGameThumbnailNd-B0au4q34.cjs → CasinoGameThumbnailNd-BH2dRX58.cjs} +1 -1
  20. package/components/{CasinoGameThumbnailNd-CBP0Dwi-.js → CasinoGameThumbnailNd-Bbz2LIXF.js} +161 -161
  21. package/components/{CasinoGameThumbnailNd-CDbQyDrE.js → CasinoGameThumbnailNd-iZtSs_jC.js} +161 -161
  22. package/components/{CasinoGamesCategorySectionNd-Bdvqc877.cjs → CasinoGamesCategorySectionNd-CD6gB3VP.cjs} +1 -1
  23. package/components/{CasinoGamesCategorySectionNd-CiaLHNwg.js → CasinoGamesCategorySectionNd-CfFKc9wx.js} +90 -90
  24. package/components/{CasinoGamesCategorySectionNd-DrkQNzat.js → CasinoGamesCategorySectionNd-CxoRqMJF.js} +92 -92
  25. package/components/{CasinoJackpotBanner-o_Mbn9dc.cjs → CasinoJackpotBanner-Bc1JKlzX.cjs} +1 -1
  26. package/components/{CasinoJackpotBanner-CJWjyexm.js → CasinoJackpotBanner-CB4S1SRX.js} +72 -72
  27. package/components/{CasinoJackpotBanner-DquJdUya.js → CasinoJackpotBanner-DhUCd87f.js} +79 -79
  28. package/components/{CasinoLastPlayedSectionNd-Ck4zj6YG.js → CasinoLastPlayedSectionNd-B-n269-s.js} +40 -40
  29. package/components/{CasinoLastPlayedSectionNd-DMIObHTX.js → CasinoLastPlayedSectionNd-CQPUK7a2.js} +40 -40
  30. package/components/{CasinoLastPlayedSectionNd-BPmkjL98.cjs → CasinoLastPlayedSectionNd-CYAcEpfP.cjs} +1 -1
  31. package/components/{CasinoMostPlayedSectionNd-C22bkiGI.cjs → CasinoMostPlayedSectionNd-Bp6uBo0l.cjs} +1 -1
  32. package/components/{CasinoMostPlayedSectionNd--5Pa-sA9.js → CasinoMostPlayedSectionNd-DCpLfek7.js} +49 -49
  33. package/components/{CasinoMostPlayedSectionNd-5XKFLNY-.js → CasinoMostPlayedSectionNd-nE2y7G8a.js} +49 -49
  34. package/components/{CasinoMyGamesNd-56Zbf9NJ.js → CasinoMyGamesNd-BO_tVNke.js} +42 -42
  35. package/components/{CasinoMyGamesNd-DC9u9wLU.js → CasinoMyGamesNd-CGwaiRfg.js} +43 -43
  36. package/components/{CasinoMyGamesNd-X6TN-N1_.cjs → CasinoMyGamesNd-Cro1d_2s.cjs} +1 -1
  37. package/components/CasinoPageNd-CYDEIIJS.cjs +1 -0
  38. package/components/{CasinoPageNd-DSKUaPmH.js → CasinoPageNd-D97Kdc-6.js} +89 -89
  39. package/components/{CasinoPageNd-BWLAQwMS.js → CasinoPageNd-Dk4cCzob.js} +91 -91
  40. package/components/{CasinoRandomGame-B9Eg9Cv4.js → CasinoRandomGame-BdTCJXjk.js} +60 -60
  41. package/components/{CasinoRandomGame-CUHxVoyq.cjs → CasinoRandomGame-C723vTme.cjs} +1 -1
  42. package/components/{CasinoRandomGame-DR6TctHg.js → CasinoRandomGame-Cs6Mh9-O.js} +62 -62
  43. package/components/CasinoSearchNd-B5CiyikN.cjs +1 -0
  44. package/components/{CasinoSearchNd-e8PZoPu9.js → CasinoSearchNd-BeAkV3B-.js} +54 -54
  45. package/components/{CasinoSearchNd-C0LJM6ba.js → CasinoSearchNd-DPtiOjMG.js} +54 -54
  46. package/components/{CasinoSort-DvLkFtIz.js → CasinoSort-C9FqhPn1.js} +110 -111
  47. package/components/{CasinoSort-BygFei5r.js → CasinoSort-DJGB2rWX.js} +104 -103
  48. package/components/{CasinoSort-5x4S3mG_.cjs → CasinoSort-d7HpFn0y.cjs} +1 -1
  49. package/components/{CasinoWinners-DbQvZp-o.cjs → CasinoWinners-Br-OwXS1.cjs} +1 -1
  50. package/components/{CasinoWinners-tsFI0Qkd.js → CasinoWinners-Djt0qjWA.js} +146 -146
  51. package/components/{CasinoWinners-BZEiqOuZ.js → CasinoWinners-KCECqhoF.js} +145 -145
  52. package/components/{GeneralAnimationLoading-Bfdh1dfh.js → GeneralAnimationLoading-Dha7DXjj.js} +16 -16
  53. package/components/{GeneralAnimationLoading-BFfW6U-2.cjs → GeneralAnimationLoading-Dy1zCPsz.cjs} +1 -1
  54. package/components/{GeneralAnimationLoading-g0jjajHE.js → GeneralAnimationLoading-jXOehNwh.js} +16 -16
  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 +3 -2
  59. package/stencil/{casino-play-random-game-B9yaAMOE.js → casino-play-random-game-BOnTgUqC.js} +1 -1
  60. package/stencil/{casino-play-random-game-a53bUW_d.cjs → casino-play-random-game-DjdZ0XM0.cjs} +1 -1
  61. package/stencil/{casino-play-random-game-BTXyM5es.js → casino-play-random-game-NcJEjFWA.js} +1 -1
  62. package/stencil/index-510a6ba4-1RrL4Z6e.js +564 -0
  63. package/stencil/index-510a6ba4-CNr-xCZE.js +548 -0
  64. package/stencil/index-510a6ba4-eEczisTR.cjs +1 -0
  65. package/components/CasinoCalendar-zkVoyaEl.cjs +0 -19
  66. package/components/CasinoFilter-BLgXtVi-.cjs +0 -1
  67. package/components/CasinoPageNd-DBYFCIwV.cjs +0 -1
  68. package/components/CasinoSearchNd-BDsM4W1x.cjs +0 -1
  69. package/stencil/index-510a6ba4-B9_VY7vu.cjs +0 -1
  70. package/stencil/index-510a6ba4-CYFuKFRQ.js +0 -564
  71. package/stencil/index-510a6ba4-CzpWs0jf.js +0 -548
@@ -1,6 +1,6 @@
1
1
  function P() {
2
2
  }
3
- function _r(e, t) {
3
+ function mr(e, t) {
4
4
  for (const r in t)
5
5
  e[r] = t[r];
6
6
  return (
@@ -8,29 +8,29 @@ function _r(e, t) {
8
8
  e
9
9
  );
10
10
  }
11
- function Ct(e) {
11
+ function Pt(e) {
12
12
  return e();
13
13
  }
14
- function it() {
14
+ function et() {
15
15
  return /* @__PURE__ */ Object.create(null);
16
16
  }
17
17
  function X(e) {
18
- e.forEach(Ct);
18
+ e.forEach(Pt);
19
19
  }
20
- function xe(e) {
20
+ function Ee(e) {
21
21
  return typeof e == "function";
22
22
  }
23
- function Lt(e, t) {
23
+ function At(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 to(e, t) {
28
- return e === t ? !0 : (fe || (fe = document.createElement("a")), fe.href = t, e === fe.href);
26
+ let ce;
27
+ function qi(e, t) {
28
+ return e === t ? !0 : (ce || (ce = document.createElement("a")), ce.href = t, e === ce.href);
29
29
  }
30
- function Er(e) {
30
+ function br(e) {
31
31
  return Object.keys(e).length === 0;
32
32
  }
33
- function Mt(e, ...t) {
33
+ function Ot(e, ...t) {
34
34
  if (e == null) {
35
35
  for (const n of t)
36
36
  n(void 0);
@@ -39,19 +39,19 @@ function Mt(e, ...t) {
39
39
  const r = e.subscribe(...t);
40
40
  return r.unsubscribe ? () => r.unsubscribe() : r;
41
41
  }
42
- function xr(e, t, r) {
43
- e.$$.on_destroy.push(Mt(t, r));
42
+ function yr(e, t, r) {
43
+ e.$$.on_destroy.push(Ot(t, r));
44
44
  }
45
- function ro(e, t, r, n) {
45
+ function Yi(e, t, r, n) {
46
46
  if (e) {
47
- const i = Nt(e, t, r, n);
47
+ const i = It(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 ? _r(r.ctx.slice(), e[1](n(t))) : r.ctx;
51
+ function It(e, t, r, n) {
52
+ return e[1] && n ? mr(r.ctx.slice(), e[1](n(t))) : r.ctx;
53
53
  }
54
- function no(e, t, r, n) {
54
+ function Ki(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)
@@ -66,13 +66,13 @@ function no(e, t, r, n) {
66
66
  }
67
67
  return t.dirty;
68
68
  }
69
- function io(e, t, r, n, i, o) {
69
+ function eo(e, t, r, n, i, o) {
70
70
  if (i) {
71
- const a = Nt(t, r, n, o);
71
+ const a = It(t, r, n, o);
72
72
  e.p(a, i);
73
73
  }
74
74
  }
75
- function oo(e) {
75
+ function to(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 oo(e) {
81
81
  }
82
82
  return -1;
83
83
  }
84
- function so(e) {
85
- return e && xe(e.destroy) ? e.destroy : P;
84
+ function ro(e) {
85
+ return e && Ee(e.destroy) ? e.destroy : P;
86
86
  }
87
- function Se(e, t) {
87
+ function xe(e, t) {
88
88
  e.appendChild(t);
89
89
  }
90
- function Sr(e, t, r) {
91
- const n = wr(e);
90
+ function gr(e, t, r) {
91
+ const n = vr(e);
92
92
  if (!n.getElementById(t)) {
93
93
  const i = R("style");
94
- i.id = t, i.textContent = r, Tr(n, i);
94
+ i.id = t, i.textContent = r, _r(n, i);
95
95
  }
96
96
  }
97
- function wr(e) {
97
+ function vr(e) {
98
98
  if (!e)
99
99
  return document;
100
100
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -104,8 +104,8 @@ function wr(e) {
104
104
  t
105
105
  ) : e.ownerDocument;
106
106
  }
107
- function Tr(e, t) {
108
- return Se(
107
+ function _r(e, t) {
108
+ return xe(
109
109
  /** @type {Document} */
110
110
  e.head || e,
111
111
  t
@@ -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 Hr(e, t) {
120
+ function Er(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 Br(e) {
127
+ function xr(e) {
128
128
  return document.createElementNS("http://www.w3.org/2000/svg", e);
129
129
  }
130
- function Ke(e) {
130
+ function qe(e) {
131
131
  return document.createTextNode(e);
132
132
  }
133
- function Pr() {
134
- return Ke(" ");
133
+ function Sr() {
134
+ return qe(" ");
135
135
  }
136
- function ao() {
137
- return Ke("");
136
+ function no() {
137
+ return qe("");
138
138
  }
139
- function uo(e, t, r, n) {
139
+ function io(e, t, r, n) {
140
140
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
141
141
  }
142
- function lo(e) {
142
+ function oo(e) {
143
143
  return function(t) {
144
144
  return t.stopPropagation(), e.call(this, t);
145
145
  };
@@ -147,27 +147,27 @@ function lo(e) {
147
147
  function j(e, t, r) {
148
148
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
149
149
  }
150
- function d(e, t, r) {
150
+ function p(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 Ar(e) {
154
+ function wr(e) {
155
155
  return Array.from(e.childNodes);
156
156
  }
157
- function Or(e, t) {
157
+ function Tr(e, t) {
158
158
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
159
159
  t);
160
160
  }
161
- function ho(e, t) {
161
+ function so(e, t) {
162
162
  e.value = t ?? "";
163
163
  }
164
- function co(e, t, r, n) {
164
+ function ao(e, t, r, n) {
165
165
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
166
166
  }
167
- function fo(e, t, r) {
167
+ function uo(e, t, r) {
168
168
  e.classList.toggle(t, !!r);
169
169
  }
170
- class po {
170
+ class lo {
171
171
  /**
172
172
  * @private
173
173
  * @default false
@@ -198,7 +198,7 @@ class po {
198
198
  * @returns {void}
199
199
  */
200
200
  m(t, r, n = null) {
201
- this.e || (this.is_svg ? this.e = Br(
201
+ this.e || (this.is_svg ? this.e = xr(
202
202
  /** @type {keyof SVGElementTagNameMap} */
203
203
  r.nodeName
204
204
  ) : this.e = R(
@@ -237,7 +237,7 @@ class po {
237
237
  this.n.forEach(D);
238
238
  }
239
239
  }
240
- function Ir(e) {
240
+ function Hr(e) {
241
241
  const t = {};
242
242
  return e.childNodes.forEach(
243
243
  /** @param {Element} node */
@@ -246,75 +246,75 @@ function Ir(e) {
246
246
  }
247
247
  ), t;
248
248
  }
249
- let ue;
250
- function ae(e) {
251
- ue = e;
249
+ let ae;
250
+ function se(e) {
251
+ ae = e;
252
252
  }
253
- function Rt() {
254
- if (!ue)
253
+ function Ct() {
254
+ if (!ae)
255
255
  throw new Error("Function called outside component initialization");
256
- return ue;
256
+ return ae;
257
257
  }
258
- function Cr(e) {
259
- Rt().$$.on_mount.push(e);
258
+ function Br(e) {
259
+ Ct().$$.on_mount.push(e);
260
260
  }
261
- function mo(e) {
262
- Rt().$$.on_destroy.push(e);
261
+ function ho(e) {
262
+ Ct().$$.on_destroy.push(e);
263
263
  }
264
- const J = [], $e = [];
265
- let q = [];
266
- const ot = [], $t = /* @__PURE__ */ Promise.resolve();
267
- let De = !1;
268
- function Dt() {
269
- De || (De = !0, $t.then(N));
264
+ const Q = [], Me = [];
265
+ let J = [];
266
+ const tt = [], Lt = /* @__PURE__ */ Promise.resolve();
267
+ let Re = !1;
268
+ function Nt() {
269
+ Re || (Re = !0, Lt.then(M));
270
270
  }
271
- function bo() {
272
- return Dt(), $t;
271
+ function co() {
272
+ return Nt(), Lt;
273
273
  }
274
- function Ue(e) {
275
- q.push(e);
274
+ function $e(e) {
275
+ J.push(e);
276
276
  }
277
- const Ae = /* @__PURE__ */ new Set();
278
- let Z = 0;
279
- function N() {
280
- if (Z !== 0)
277
+ const Pe = /* @__PURE__ */ new Set();
278
+ let z = 0;
279
+ function M() {
280
+ if (z !== 0)
281
281
  return;
282
- const e = ue;
282
+ const e = ae;
283
283
  do {
284
284
  try {
285
- for (; Z < J.length; ) {
286
- const t = J[Z];
287
- Z++, ae(t), Lr(t.$$);
285
+ for (; z < Q.length; ) {
286
+ const t = Q[z];
287
+ z++, se(t), Pr(t.$$);
288
288
  }
289
289
  } catch (t) {
290
- throw J.length = 0, Z = 0, t;
290
+ throw Q.length = 0, z = 0, t;
291
291
  }
292
- for (ae(null), J.length = 0, Z = 0; $e.length; )
293
- $e.pop()();
294
- for (let t = 0; t < q.length; t += 1) {
295
- const r = q[t];
296
- Ae.has(r) || (Ae.add(r), r());
292
+ for (se(null), Q.length = 0, z = 0; Me.length; )
293
+ Me.pop()();
294
+ for (let t = 0; t < J.length; t += 1) {
295
+ const r = J[t];
296
+ Pe.has(r) || (Pe.add(r), r());
297
297
  }
298
- q.length = 0;
299
- } while (J.length);
300
- for (; ot.length; )
301
- ot.pop()();
302
- De = !1, Ae.clear(), ae(e);
298
+ J.length = 0;
299
+ } while (Q.length);
300
+ for (; tt.length; )
301
+ tt.pop()();
302
+ Re = !1, Pe.clear(), se(e);
303
303
  }
304
- function Lr(e) {
304
+ function Pr(e) {
305
305
  if (e.fragment !== null) {
306
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($e);
309
309
  }
310
310
  }
311
- function Mr(e) {
311
+ function Ar(e) {
312
312
  const t = [], r = [];
313
- q.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), q = t;
313
+ J.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), J = t;
314
314
  }
315
- const me = /* @__PURE__ */ new Set();
315
+ const pe = /* @__PURE__ */ new Set();
316
316
  let V;
317
- function yo() {
317
+ function fo() {
318
318
  V = {
319
319
  r: 0,
320
320
  c: [],
@@ -322,72 +322,72 @@ function yo() {
322
322
  // parent group
323
323
  };
324
324
  }
325
- function go() {
325
+ function po() {
326
326
  V.r || X(V.c), V = V.p;
327
327
  }
328
- function Ut(e, t) {
329
- e && e.i && (me.delete(e), e.i(t));
328
+ function Mt(e, t) {
329
+ e && e.i && (pe.delete(e), e.i(t));
330
330
  }
331
- function vo(e, t, r, n) {
331
+ function mo(e, t, r, n) {
332
332
  if (e && e.o) {
333
- if (me.has(e))
333
+ if (pe.has(e))
334
334
  return;
335
- me.add(e), V.c.push(() => {
336
- me.delete(e), n && (r && e.d(1), n());
335
+ pe.add(e), V.c.push(() => {
336
+ pe.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 rt(e) {
342
342
  return e?.length !== void 0 ? e : Array.from(e);
343
343
  }
344
- function _o(e, t) {
344
+ function bo(e, t) {
345
345
  e.d(1), t.delete(e.key);
346
346
  }
347
- function Eo(e, t, r, n, i, o, a, s, l, u, h, f) {
348
- let c = e.length, p = o.length, b = c;
347
+ function yo(e, t, r, n, i, o, a, s, l, u, h, f) {
348
+ let c = e.length, m = o.length, b = c;
349
349
  const g = {};
350
350
  for (; b--; )
351
351
  g[e[b].key] = b;
352
352
  const S = [], A = /* @__PURE__ */ new Map(), H = /* @__PURE__ */ new Map(), w = [];
353
- for (b = p; b--; ) {
354
- const x = f(i, o, b), I = r(x);
355
- let B = a.get(I);
356
- 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]));
353
+ for (b = m; b--; ) {
354
+ const x = f(i, o, b), B = r(x);
355
+ let I = a.get(B);
356
+ I ? w.push(() => I.p(x, t)) : (I = u(B, x), I.c()), A.set(B, S[b] = I), B in g && H.set(B, Math.abs(b - g[B]));
357
357
  }
358
358
  const L = /* @__PURE__ */ new Set(), O = /* @__PURE__ */ new Set();
359
- function M(x) {
360
- Ut(x, 1), x.m(s, h), a.set(x.key, x), h = x.first, p--;
359
+ function N(x) {
360
+ Mt(x, 1), x.m(s, h), a.set(x.key, x), h = x.first, m--;
361
361
  }
362
- for (; c && p; ) {
363
- const x = S[p - 1], I = e[c - 1], B = x.key, z = I.key;
364
- x === I ? (h = x.first, c--, p--) : A.has(z) ? !a.has(B) || L.has(B) ? M(x) : O.has(z) ? c-- : H.get(B) > H.get(z) ? (O.add(B), M(x)) : (L.add(z), c--) : (l(I, a), c--);
362
+ for (; c && m; ) {
363
+ const x = S[m - 1], B = e[c - 1], I = x.key, d = B.key;
364
+ x === B ? (h = x.first, c--, m--) : A.has(d) ? !a.has(I) || L.has(I) ? N(x) : O.has(d) ? c-- : H.get(I) > H.get(d) ? (O.add(I), N(x)) : (L.add(d), c--) : (l(B, a), c--);
365
365
  }
366
366
  for (; c--; ) {
367
367
  const x = e[c];
368
368
  A.has(x.key) || l(x, a);
369
369
  }
370
- for (; p; )
371
- M(S[p - 1]);
370
+ for (; m; )
371
+ N(S[m - 1]);
372
372
  return X(w), S;
373
373
  }
374
- function Nr(e, t, r) {
374
+ function Or(e, t, r) {
375
375
  const { fragment: n, after_update: i } = e.$$;
376
- n && n.m(t, r), Ue(() => {
377
- const o = e.$$.on_mount.map(Ct).filter(xe);
376
+ n && n.m(t, r), $e(() => {
377
+ const o = e.$$.on_mount.map(Pt).filter(Ee);
378
378
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : X(o), e.$$.on_mount = [];
379
- }), i.forEach(Ue);
379
+ }), i.forEach($e);
380
380
  }
381
- function Rr(e, t) {
381
+ function Ir(e, t) {
382
382
  const r = e.$$;
383
- r.fragment !== null && (Mr(r.after_update), X(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
383
+ r.fragment !== null && (Ar(r.after_update), X(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
384
384
  }
385
- function $r(e, t) {
386
- e.$$.dirty[0] === -1 && (J.push(e), Dt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
385
+ function Cr(e, t) {
386
+ e.$$.dirty[0] === -1 && (Q.push(e), Nt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
387
387
  }
388
- function Dr(e, t, r, n, i, o, a = null, s = [-1]) {
389
- const l = ue;
390
- ae(e);
388
+ function Lr(e, t, r, n, i, o, a = null, s = [-1]) {
389
+ const l = ae;
390
+ se(e);
391
391
  const u = e.$$ = {
392
392
  fragment: null,
393
393
  ctx: [],
@@ -395,7 +395,7 @@ function Dr(e, t, r, n, i, o, a = null, s = [-1]) {
395
395
  props: o,
396
396
  update: P,
397
397
  not_equal: i,
398
- bound: it(),
398
+ bound: et(),
399
399
  // lifecycle
400
400
  on_mount: [],
401
401
  on_destroy: [],
@@ -404,28 +404,28 @@ function Dr(e, t, r, n, i, o, a = null, s = [-1]) {
404
404
  after_update: [],
405
405
  context: new Map(t.context || (l ? l.$$.context : [])),
406
406
  // everything else
407
- callbacks: it(),
407
+ callbacks: et(),
408
408
  dirty: s,
409
409
  skip_bound: !1,
410
410
  root: t.target || l.$$.root
411
411
  };
412
412
  a && a(u.root);
413
413
  let h = !1;
414
- if (u.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
415
- const b = p.length ? p[0] : c;
416
- return u.ctx && i(u.ctx[f], u.ctx[f] = b) && (!u.skip_bound && u.bound[f] && u.bound[f](b), h && $r(e, f)), c;
414
+ if (u.ctx = r ? r(e, t.props || {}, (f, c, ...m) => {
415
+ const b = m.length ? m[0] : c;
416
+ return u.ctx && i(u.ctx[f], u.ctx[f] = b) && (!u.skip_bound && u.bound[f] && u.bound[f](b), h && Cr(e, f)), c;
417
417
  }) : [], u.update(), h = !0, X(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
418
418
  if (t.hydrate) {
419
- const f = Ar(t.target);
419
+ const f = wr(t.target);
420
420
  u.fragment && u.fragment.l(f), f.forEach(D);
421
421
  } else
422
422
  u.fragment && u.fragment.c();
423
- t.intro && Ut(e.$$.fragment), Nr(e, t.target, t.anchor), N();
423
+ t.intro && Mt(e.$$.fragment), Or(e, t.target, t.anchor), M();
424
424
  }
425
- ae(l);
425
+ se(l);
426
426
  }
427
- let Gt;
428
- typeof HTMLElement == "function" && (Gt = class extends HTMLElement {
427
+ let Rt;
428
+ typeof HTMLElement == "function" && (Rt = class extends HTMLElement {
429
429
  /** The Svelte component constructor */
430
430
  $$ctor;
431
431
  /** Slots */
@@ -484,12 +484,12 @@ typeof HTMLElement == "function" && (Gt = class extends HTMLElement {
484
484
  };
485
485
  if (await Promise.resolve(), !this.$$cn || this.$$c)
486
486
  return;
487
- const t = {}, r = Ir(this);
487
+ const t = {}, r = Hr(this);
488
488
  for (const i of this.$$s)
489
489
  i in r && (t[i] = [e(i)]);
490
490
  for (const i of this.attributes) {
491
491
  const o = this.$$g_p(i.name);
492
- o in this.$$d || (this.$$d[o] = be(o, i.value, this.$$p_d, "toProp"));
492
+ o in this.$$d || (this.$$d[o] = me(o, i.value, this.$$p_d, "toProp"));
493
493
  }
494
494
  for (const i in this.$$p_d)
495
495
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -507,7 +507,7 @@ typeof HTMLElement == "function" && (Gt = class extends HTMLElement {
507
507
  this.$$r = !0;
508
508
  for (const i in this.$$p_d)
509
509
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
510
- const o = be(
510
+ const o = me(
511
511
  i,
512
512
  this.$$d[i],
513
513
  this.$$p_d,
@@ -529,7 +529,7 @@ typeof HTMLElement == "function" && (Gt = class extends HTMLElement {
529
529
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
530
530
  // and setting attributes through setAttribute etc, this is helpful
531
531
  attributeChangedCallback(e, t, r) {
532
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = be(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
532
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = me(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
533
533
  }
534
534
  disconnectedCallback() {
535
535
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -542,7 +542,7 @@ typeof HTMLElement == "function" && (Gt = class extends HTMLElement {
542
542
  ) || e;
543
543
  }
544
544
  });
545
- function be(e, t, r, n) {
545
+ function me(e, t, r, n) {
546
546
  const i = r[e]?.type;
547
547
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
548
548
  return t;
@@ -571,8 +571,8 @@ function be(e, t, r, n) {
571
571
  return t;
572
572
  }
573
573
  }
574
- function Ur(e, t, r, n, i, o) {
575
- let a = class extends Gt {
574
+ function Nr(e, t, r, n, i, o) {
575
+ let a = class extends Rt {
576
576
  constructor() {
577
577
  super(e, r, i), this.$$p_d = t;
578
578
  }
@@ -588,7 +588,7 @@ function Ur(e, t, r, n, i, o) {
588
588
  return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
589
589
  },
590
590
  set(l) {
591
- l = be(s, l, t), this.$$d[s] = l, this.$$c?.$set({ [s]: l });
591
+ l = me(s, l, t), this.$$d[s] = l, this.$$c?.$set({ [s]: l });
592
592
  }
593
593
  });
594
594
  }), n.forEach((s) => {
@@ -600,7 +600,7 @@ function Ur(e, t, r, n, i, o) {
600
600
  }), e.element = /** @type {any} */
601
601
  a, a;
602
602
  }
603
- class Gr {
603
+ class Mr {
604
604
  /**
605
605
  * ### PRIVATE API
606
606
  *
@@ -619,7 +619,7 @@ class Gr {
619
619
  $$set = void 0;
620
620
  /** @returns {void} */
621
621
  $destroy() {
622
- Rr(this, 1), this.$destroy = P;
622
+ Ir(this, 1), this.$destroy = P;
623
623
  }
624
624
  /**
625
625
  * @template {Extract<keyof Events, string>} K
@@ -628,7 +628,7 @@ class Gr {
628
628
  * @returns {() => void}
629
629
  */
630
630
  $on(t, r) {
631
- if (!xe(r))
631
+ if (!Ee(r))
632
632
  return P;
633
633
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
634
634
  return n.push(r), () => {
@@ -641,11 +641,11 @@ class Gr {
641
641
  * @returns {void}
642
642
  */
643
643
  $set(t) {
644
- this.$$set && !Er(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
644
+ this.$$set && !br(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
645
645
  }
646
646
  }
647
- const Fr = "4";
648
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Fr);
647
+ const Rr = "4";
648
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Rr);
649
649
  /*! *****************************************************************************
650
650
  Copyright (c) Microsoft Corporation.
651
651
 
@@ -660,18 +660,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
660
660
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
661
661
  PERFORMANCE OF THIS SOFTWARE.
662
662
  ***************************************************************************** */
663
- var Ge = function(e, t) {
664
- return Ge = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
663
+ var De = function(e, t) {
664
+ return De = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
665
665
  r.__proto__ = n;
666
666
  } || function(r, n) {
667
667
  for (var i in n)
668
668
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
669
- }, Ge(e, t);
669
+ }, De(e, t);
670
670
  };
671
671
  function U(e, t) {
672
672
  if (typeof t != "function" && t !== null)
673
673
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
674
- Ge(e, t);
674
+ De(e, t);
675
675
  function r() {
676
676
  this.constructor = e;
677
677
  }
@@ -687,7 +687,7 @@ var _ = function() {
687
687
  return t;
688
688
  }, _.apply(this, arguments);
689
689
  };
690
- function jr(e, t) {
690
+ function $r(e, t) {
691
691
  var r = {};
692
692
  for (var n in e)
693
693
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -696,7 +696,7 @@ function jr(e, t) {
696
696
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
697
697
  return r;
698
698
  }
699
- function Fe(e) {
699
+ function Ue(e) {
700
700
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
701
701
  if (r)
702
702
  return r.call(e);
@@ -708,7 +708,7 @@ function Fe(e) {
708
708
  };
709
709
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
710
710
  }
711
- function je(e, t) {
711
+ function Ge(e, t) {
712
712
  var r = typeof Symbol == "function" && e[Symbol.iterator];
713
713
  if (!r)
714
714
  return e;
@@ -728,7 +728,7 @@ function je(e, t) {
728
728
  }
729
729
  return o;
730
730
  }
731
- function Y(e, t, r) {
731
+ function q(e, t, r) {
732
732
  if (r || arguments.length === 2)
733
733
  for (var n = 0, i = t.length, o; n < i; n++)
734
734
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
@@ -737,13 +737,13 @@ function Y(e, t, r) {
737
737
  function $(e) {
738
738
  return typeof e == "function";
739
739
  }
740
- function Ft(e) {
740
+ function $t(e) {
741
741
  var t = function(n) {
742
742
  Error.call(n), n.stack = new Error().stack;
743
743
  }, r = e(t);
744
744
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
745
745
  }
746
- var Oe = Ft(function(e) {
746
+ var Ae = $t(function(e) {
747
747
  return function(r) {
748
748
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
749
749
  ` + r.map(function(n, i) {
@@ -752,13 +752,13 @@ var Oe = Ft(function(e) {
752
752
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
753
753
  };
754
754
  });
755
- function ke(e, t) {
755
+ function Fe(e, t) {
756
756
  if (e) {
757
757
  var r = e.indexOf(t);
758
758
  0 <= r && e.splice(r, 1);
759
759
  }
760
760
  }
761
- var we = function() {
761
+ var Se = function() {
762
762
  function e(t) {
763
763
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
764
764
  }
@@ -770,7 +770,7 @@ var we = function() {
770
770
  if (a)
771
771
  if (this._parentage = null, Array.isArray(a))
772
772
  try {
773
- for (var s = Fe(a), l = s.next(); !l.done; l = s.next()) {
773
+ for (var s = Ue(a), l = s.next(); !l.done; l = s.next()) {
774
774
  var u = l.value;
775
775
  u.remove(this);
776
776
  }
@@ -791,25 +791,25 @@ var we = function() {
791
791
  try {
792
792
  h();
793
793
  } catch (g) {
794
- o = g instanceof Oe ? g.errors : [g];
794
+ o = g instanceof Ae ? g.errors : [g];
795
795
  }
796
796
  var f = this._finalizers;
797
797
  if (f) {
798
798
  this._finalizers = null;
799
799
  try {
800
- for (var c = Fe(f), p = c.next(); !p.done; p = c.next()) {
801
- var b = p.value;
800
+ for (var c = Ue(f), m = c.next(); !m.done; m = c.next()) {
801
+ var b = m.value;
802
802
  try {
803
- at(b);
803
+ nt(b);
804
804
  } catch (g) {
805
- o = o ?? [], g instanceof Oe ? o = Y(Y([], je(o)), je(g.errors)) : o.push(g);
805
+ o = o ?? [], g instanceof Ae ? o = q(q([], Ge(o)), Ge(g.errors)) : o.push(g);
806
806
  }
807
807
  }
808
808
  } catch (g) {
809
809
  n = { error: g };
810
810
  } finally {
811
811
  try {
812
- p && !p.done && (i = c.return) && i.call(c);
812
+ m && !m.done && (i = c.return) && i.call(c);
813
813
  } finally {
814
814
  if (n)
815
815
  throw n.error;
@@ -817,13 +817,13 @@ var we = function() {
817
817
  }
818
818
  }
819
819
  if (o)
820
- throw new Oe(o);
820
+ throw new Ae(o);
821
821
  }
822
822
  }, e.prototype.add = function(t) {
823
823
  var r;
824
824
  if (t && t !== this)
825
825
  if (this.closed)
826
- at(t);
826
+ nt(t);
827
827
  else {
828
828
  if (t instanceof e) {
829
829
  if (t.closed || t._hasParent(this))
@@ -840,56 +840,52 @@ var we = function() {
840
840
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
841
841
  }, e.prototype._removeParent = function(t) {
842
842
  var r = this._parentage;
843
- r === t ? this._parentage = null : Array.isArray(r) && ke(r, t);
843
+ r === t ? this._parentage = null : Array.isArray(r) && Fe(r, t);
844
844
  }, e.prototype.remove = function(t) {
845
845
  var r = this._finalizers;
846
- r && ke(r, t), t instanceof e && t._removeParent(this);
846
+ r && Fe(r, t), t instanceof e && t._removeParent(this);
847
847
  }, e.EMPTY = function() {
848
848
  var t = new e();
849
849
  return t.closed = !0, t;
850
850
  }(), e;
851
- }(), jt = we.EMPTY;
852
- function kt(e) {
853
- return e instanceof we || e && "closed" in e && $(e.remove) && $(e.add) && $(e.unsubscribe);
851
+ }(), Dt = Se.EMPTY;
852
+ function Ut(e) {
853
+ return e instanceof Se || e && "closed" in e && $(e.remove) && $(e.add) && $(e.unsubscribe);
854
854
  }
855
- function at(e) {
855
+ function nt(e) {
856
856
  $(e) ? e() : e.unsubscribe();
857
857
  }
858
- var Vt = {
859
- onUnhandledError: null,
860
- onStoppedNotification: null,
861
- Promise: void 0,
862
- useDeprecatedSynchronousErrorHandling: !1,
863
- useDeprecatedNextContext: !1
864
- }, kr = {
858
+ var Dr = {
859
+ Promise: void 0
860
+ }, Ur = {
865
861
  setTimeout: function(e, t) {
866
862
  for (var r = [], n = 2; n < arguments.length; n++)
867
863
  r[n - 2] = arguments[n];
868
- return setTimeout.apply(void 0, Y([e, t], je(r)));
864
+ return setTimeout.apply(void 0, q([e, t], Ge(r)));
869
865
  },
870
866
  clearTimeout: function(e) {
871
867
  return clearTimeout(e);
872
868
  },
873
869
  delegate: void 0
874
870
  };
875
- function Vr(e) {
876
- kr.setTimeout(function() {
871
+ function Gr(e) {
872
+ Ur.setTimeout(function() {
877
873
  throw e;
878
874
  });
879
875
  }
880
- function ut() {
876
+ function it() {
881
877
  }
882
- function ye(e) {
878
+ function be(e) {
883
879
  e();
884
880
  }
885
- var Xt = function(e) {
881
+ var Gt = function(e) {
886
882
  U(t, e);
887
883
  function t(r) {
888
884
  var n = e.call(this) || this;
889
- return n.isStopped = !1, r ? (n.destination = r, kt(r) && r.add(n)) : n.destination = Zr, n;
885
+ return n.isStopped = !1, r ? (n.destination = r, Ut(r) && r.add(n)) : n.destination = kr, n;
890
886
  }
891
887
  return t.create = function(r, n, i) {
892
- return new Ve(r, n, i);
888
+ return new je(r, n, i);
893
889
  }, t.prototype.next = function(r) {
894
890
  this.isStopped || this._next(r);
895
891
  }, t.prototype.error = function(r) {
@@ -913,11 +909,7 @@ var Xt = function(e) {
913
909
  this.unsubscribe();
914
910
  }
915
911
  }, t;
916
- }(we), Xr = Function.prototype.bind;
917
- function Ie(e, t) {
918
- return Xr.call(e, t);
919
- }
920
- var Wr = function() {
912
+ }(Se), Fr = function() {
921
913
  function e(t) {
922
914
  this.partialObserver = t;
923
915
  }
@@ -927,7 +919,7 @@ var Wr = function() {
927
919
  try {
928
920
  r.next(t);
929
921
  } catch (n) {
930
- de(n);
922
+ fe(n);
931
923
  }
932
924
  }, e.prototype.error = function(t) {
933
925
  var r = this.partialObserver;
@@ -935,68 +927,56 @@ var Wr = function() {
935
927
  try {
936
928
  r.error(t);
937
929
  } catch (n) {
938
- de(n);
930
+ fe(n);
939
931
  }
940
932
  else
941
- de(t);
933
+ fe(t);
942
934
  }, e.prototype.complete = function() {
943
935
  var t = this.partialObserver;
944
936
  if (t.complete)
945
937
  try {
946
938
  t.complete();
947
939
  } catch (r) {
948
- de(r);
940
+ fe(r);
949
941
  }
950
942
  }, e;
951
- }(), Ve = function(e) {
943
+ }(), je = function(e) {
952
944
  U(t, e);
953
945
  function t(r, n, i) {
954
946
  var o = e.call(this) || this, a;
955
- if ($(r) || !r)
956
- a = {
957
- next: r ?? void 0,
958
- error: n ?? void 0,
959
- complete: i ?? void 0
960
- };
961
- else {
962
- var s;
963
- o && Vt.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
964
- return o.unsubscribe();
965
- }, a = {
966
- next: r.next && Ie(r.next, s),
967
- error: r.error && Ie(r.error, s),
968
- complete: r.complete && Ie(r.complete, s)
969
- }) : a = r;
970
- }
971
- return o.destination = new Wr(a), o;
947
+ return $(r) || !r ? a = {
948
+ next: r ?? void 0,
949
+ error: n ?? void 0,
950
+ complete: i ?? void 0
951
+ } : a = r, o.destination = new Fr(a), o;
972
952
  }
973
953
  return t;
974
- }(Xt);
975
- function de(e) {
976
- Vr(e);
954
+ }(Gt);
955
+ function fe(e) {
956
+ Gr(e);
977
957
  }
978
- function zr(e) {
958
+ function jr(e) {
979
959
  throw e;
980
960
  }
981
- var Zr = {
961
+ var kr = {
982
962
  closed: !0,
983
- next: ut,
984
- error: zr,
985
- complete: ut
986
- }, Qr = function() {
963
+ next: it,
964
+ error: jr,
965
+ complete: it
966
+ }, Vr = function() {
987
967
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
988
968
  }();
989
- function Jr(e) {
969
+ function Xr(e) {
990
970
  return e;
991
971
  }
992
- function qr(e) {
993
- return e.length === 0 ? Jr : e.length === 1 ? e[0] : function(r) {
972
+ function Wr(e) {
973
+ return e.length === 0 ? Xr : e.length === 1 ? e[0] : function(r) {
994
974
  return e.reduce(function(n, i) {
995
975
  return i(n);
996
976
  }, r);
997
977
  };
998
978
  }
999
- var lt = function() {
979
+ var ot = function() {
1000
980
  function e(t) {
1001
981
  t && (this._subscribe = t);
1002
982
  }
@@ -1004,8 +984,8 @@ var lt = function() {
1004
984
  var r = new e();
1005
985
  return r.source = this, r.operator = t, r;
1006
986
  }, e.prototype.subscribe = function(t, r, n) {
1007
- var i = this, o = Kr(t) ? t : new Ve(t, r, n);
1008
- return ye(function() {
987
+ var i = this, o = Zr(t) ? t : new je(t, r, n);
988
+ return be(function() {
1009
989
  var a = i, s = a.operator, l = a.source;
1010
990
  o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
1011
991
  }), o;
@@ -1017,8 +997,8 @@ var lt = function() {
1017
997
  }
1018
998
  }, e.prototype.forEach = function(t, r) {
1019
999
  var n = this;
1020
- return r = ht(r), new r(function(i, o) {
1021
- var a = new Ve({
1000
+ return r = st(r), new r(function(i, o) {
1001
+ var a = new je({
1022
1002
  next: function(s) {
1023
1003
  try {
1024
1004
  t(s);
@@ -1034,15 +1014,15 @@ var lt = function() {
1034
1014
  }, e.prototype._subscribe = function(t) {
1035
1015
  var r;
1036
1016
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
1037
- }, e.prototype[Qr] = function() {
1017
+ }, e.prototype[Vr] = function() {
1038
1018
  return this;
1039
1019
  }, e.prototype.pipe = function() {
1040
1020
  for (var t = [], r = 0; r < arguments.length; r++)
1041
1021
  t[r] = arguments[r];
1042
- return qr(t)(this);
1022
+ return Wr(t)(this);
1043
1023
  }, e.prototype.toPromise = function(t) {
1044
1024
  var r = this;
1045
- return t = ht(t), new t(function(n, i) {
1025
+ return t = st(t), new t(function(n, i) {
1046
1026
  var o;
1047
1027
  r.subscribe(function(a) {
1048
1028
  return o = a;
@@ -1056,40 +1036,40 @@ var lt = function() {
1056
1036
  return new e(t);
1057
1037
  }, e;
1058
1038
  }();
1059
- function ht(e) {
1039
+ function st(e) {
1060
1040
  var t;
1061
- return (t = e ?? Vt.Promise) !== null && t !== void 0 ? t : Promise;
1041
+ return (t = e ?? Dr.Promise) !== null && t !== void 0 ? t : Promise;
1062
1042
  }
1063
- function Yr(e) {
1043
+ function zr(e) {
1064
1044
  return e && $(e.next) && $(e.error) && $(e.complete);
1065
1045
  }
1066
- function Kr(e) {
1067
- return e && e instanceof Xt || Yr(e) && kt(e);
1046
+ function Zr(e) {
1047
+ return e && e instanceof Gt || zr(e) && Ut(e);
1068
1048
  }
1069
- var en = Ft(function(e) {
1049
+ var Qr = $t(function(e) {
1070
1050
  return function() {
1071
1051
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
1072
1052
  };
1073
- }), Wt = function(e) {
1053
+ }), Ft = function(e) {
1074
1054
  U(t, e);
1075
1055
  function t() {
1076
1056
  var r = e.call(this) || this;
1077
1057
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
1078
1058
  }
1079
1059
  return t.prototype.lift = function(r) {
1080
- var n = new ct(this, this);
1060
+ var n = new at(this, this);
1081
1061
  return n.operator = r, n;
1082
1062
  }, t.prototype._throwIfClosed = function() {
1083
1063
  if (this.closed)
1084
- throw new en();
1064
+ throw new Qr();
1085
1065
  }, t.prototype.next = function(r) {
1086
1066
  var n = this;
1087
- ye(function() {
1067
+ be(function() {
1088
1068
  var i, o;
1089
1069
  if (n._throwIfClosed(), !n.isStopped) {
1090
1070
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
1091
1071
  try {
1092
- for (var a = Fe(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
1072
+ for (var a = Ue(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
1093
1073
  var l = s.value;
1094
1074
  l.next(r);
1095
1075
  }
@@ -1107,7 +1087,7 @@ var en = Ft(function(e) {
1107
1087
  });
1108
1088
  }, t.prototype.error = function(r) {
1109
1089
  var n = this;
1110
- ye(function() {
1090
+ be(function() {
1111
1091
  if (n._throwIfClosed(), !n.isStopped) {
1112
1092
  n.hasError = n.isStopped = !0, n.thrownError = r;
1113
1093
  for (var i = n.observers; i.length; )
@@ -1116,7 +1096,7 @@ var en = Ft(function(e) {
1116
1096
  });
1117
1097
  }, t.prototype.complete = function() {
1118
1098
  var r = this;
1119
- ye(function() {
1099
+ be(function() {
1120
1100
  if (r._throwIfClosed(), !r.isStopped) {
1121
1101
  r.isStopped = !0;
1122
1102
  for (var n = r.observers; n.length; )
@@ -1138,19 +1118,19 @@ var en = Ft(function(e) {
1138
1118
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1139
1119
  }, t.prototype._innerSubscribe = function(r) {
1140
1120
  var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
1141
- return o || a ? jt : (this.currentObservers = null, s.push(r), new we(function() {
1142
- n.currentObservers = null, ke(s, r);
1121
+ return o || a ? Dt : (this.currentObservers = null, s.push(r), new Se(function() {
1122
+ n.currentObservers = null, Fe(s, r);
1143
1123
  }));
1144
1124
  }, t.prototype._checkFinalizedStatuses = function(r) {
1145
1125
  var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
1146
1126
  i ? r.error(o) : a && r.complete();
1147
1127
  }, t.prototype.asObservable = function() {
1148
- var r = new lt();
1128
+ var r = new ot();
1149
1129
  return r.source = this, r;
1150
1130
  }, t.create = function(r, n) {
1151
- return new ct(r, n);
1131
+ return new at(r, n);
1152
1132
  }, t;
1153
- }(lt), ct = function(e) {
1133
+ }(ot), at = function(e) {
1154
1134
  U(t, e);
1155
1135
  function t(r, n) {
1156
1136
  var i = e.call(this) || this;
@@ -1167,17 +1147,17 @@ var en = Ft(function(e) {
1167
1147
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1168
1148
  }, t.prototype._subscribe = function(r) {
1169
1149
  var n, i;
1170
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : jt;
1150
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Dt;
1171
1151
  }, t;
1172
- }(Wt), zt = {
1152
+ }(Ft), jt = {
1173
1153
  now: function() {
1174
- return (zt.delegate || Date).now();
1154
+ return (jt.delegate || Date).now();
1175
1155
  },
1176
1156
  delegate: void 0
1177
- }, tn = function(e) {
1157
+ }, Jr = function(e) {
1178
1158
  U(t, e);
1179
1159
  function t(r, n, i) {
1180
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = zt);
1160
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = jt);
1181
1161
  var o = e.call(this) || this;
1182
1162
  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;
1183
1163
  }
@@ -1197,31 +1177,31 @@ var en = Ft(function(e) {
1197
1177
  u && o.splice(0, u + 1);
1198
1178
  }
1199
1179
  }, t;
1200
- }(Wt);
1201
- const ft = [], dt = {}, rn = (e, t = 0) => {
1202
- if (ft.indexOf(e) == -1) {
1203
- const r = new tn(t);
1204
- dt[e] = r, ft.push(e);
1180
+ }(Ft);
1181
+ const ut = [], lt = {}, qr = (e, t = 0) => {
1182
+ if (ut.indexOf(e) == -1) {
1183
+ const r = new Jr(t);
1184
+ lt[e] = r, ut.push(e);
1205
1185
  }
1206
- return dt[e];
1207
- }, Q = [];
1208
- function nn(e, t) {
1186
+ return lt[e];
1187
+ }, Z = [];
1188
+ function Yr(e, t) {
1209
1189
  return {
1210
- subscribe: Te(e, t).subscribe
1190
+ subscribe: we(e, t).subscribe
1211
1191
  };
1212
1192
  }
1213
- function Te(e, t = P) {
1193
+ function we(e, t = P) {
1214
1194
  let r;
1215
1195
  const n = /* @__PURE__ */ new Set();
1216
1196
  function i(s) {
1217
- if (Lt(e, s) && (e = s, r)) {
1218
- const l = !Q.length;
1197
+ if (At(e, s) && (e = s, r)) {
1198
+ const l = !Z.length;
1219
1199
  for (const u of n)
1220
- u[1](), Q.push(u, e);
1200
+ u[1](), Z.push(u, e);
1221
1201
  if (l) {
1222
- for (let u = 0; u < Q.length; u += 2)
1223
- Q[u][0](Q[u + 1]);
1224
- Q.length = 0;
1202
+ for (let u = 0; u < Z.length; u += 2)
1203
+ Z[u][0](Z[u + 1]);
1204
+ Z.length = 0;
1225
1205
  }
1226
1206
  }
1227
1207
  }
@@ -1236,12 +1216,12 @@ function Te(e, t = P) {
1236
1216
  }
1237
1217
  return { set: i, update: o, subscribe: a };
1238
1218
  }
1239
- function ne(e, t, r) {
1219
+ function re(e, t, r) {
1240
1220
  const n = !Array.isArray(e), i = n ? [e] : e;
1241
1221
  if (!i.every(Boolean))
1242
1222
  throw new Error("derived() expects stores as input, got a falsy value");
1243
1223
  const o = t.length < 2;
1244
- return nn(r, (a, s) => {
1224
+ return Yr(r, (a, s) => {
1245
1225
  let l = !1;
1246
1226
  const u = [];
1247
1227
  let h = 0, f = P;
@@ -1250,9 +1230,9 @@ function ne(e, t, r) {
1250
1230
  return;
1251
1231
  f();
1252
1232
  const b = t(n ? u[0] : u, a, s);
1253
- o ? a(b) : f = xe(b) ? b : P;
1254
- }, p = i.map(
1255
- (b, g) => Mt(
1233
+ o ? a(b) : f = Ee(b) ? b : P;
1234
+ }, m = i.map(
1235
+ (b, g) => Ot(
1256
1236
  b,
1257
1237
  (S) => {
1258
1238
  u[g] = S, h &= ~(1 << g), l && c();
@@ -1263,134 +1243,132 @@ function ne(e, t, r) {
1263
1243
  )
1264
1244
  );
1265
1245
  return l = !0, c(), function() {
1266
- X(p), f(), l = !1;
1246
+ X(m), f(), l = !1;
1267
1247
  };
1268
1248
  });
1269
1249
  }
1270
- function on(e) {
1250
+ function Kr(e) {
1271
1251
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1272
1252
  }
1273
- var sn = function(t) {
1274
- return an(t) && !un(t);
1253
+ var en = function(t) {
1254
+ return tn(t) && !rn(t);
1275
1255
  };
1276
- function an(e) {
1256
+ function tn(e) {
1277
1257
  return !!e && typeof e == "object";
1278
1258
  }
1279
- function un(e) {
1259
+ function rn(e) {
1280
1260
  var t = Object.prototype.toString.call(e);
1281
- return t === "[object RegExp]" || t === "[object Date]" || cn(e);
1261
+ return t === "[object RegExp]" || t === "[object Date]" || sn(e);
1282
1262
  }
1283
- var ln = typeof Symbol == "function" && Symbol.for, hn = ln ? Symbol.for("react.element") : 60103;
1284
- function cn(e) {
1285
- return e.$$typeof === hn;
1263
+ var nn = typeof Symbol == "function" && Symbol.for, on = nn ? Symbol.for("react.element") : 60103;
1264
+ function sn(e) {
1265
+ return e.$$typeof === on;
1286
1266
  }
1287
- function fn(e) {
1267
+ function an(e) {
1288
1268
  return Array.isArray(e) ? [] : {};
1289
1269
  }
1290
- function le(e, t) {
1291
- return t.clone !== !1 && t.isMergeableObject(e) ? K(fn(e), e, t) : e;
1270
+ function ue(e, t) {
1271
+ return t.clone !== !1 && t.isMergeableObject(e) ? Y(an(e), e, t) : e;
1292
1272
  }
1293
- function dn(e, t, r) {
1273
+ function un(e, t, r) {
1294
1274
  return e.concat(t).map(function(n) {
1295
- return le(n, r);
1275
+ return ue(n, r);
1296
1276
  });
1297
1277
  }
1298
- function pn(e, t) {
1278
+ function ln(e, t) {
1299
1279
  if (!t.customMerge)
1300
- return K;
1280
+ return Y;
1301
1281
  var r = t.customMerge(e);
1302
- return typeof r == "function" ? r : K;
1282
+ return typeof r == "function" ? r : Y;
1303
1283
  }
1304
- function mn(e) {
1284
+ function hn(e) {
1305
1285
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1306
1286
  return Object.propertyIsEnumerable.call(e, t);
1307
1287
  }) : [];
1308
1288
  }
1309
- function pt(e) {
1310
- return Object.keys(e).concat(mn(e));
1289
+ function ht(e) {
1290
+ return Object.keys(e).concat(hn(e));
1311
1291
  }
1312
- function Zt(e, t) {
1292
+ function kt(e, t) {
1313
1293
  try {
1314
1294
  return t in e;
1315
1295
  } catch {
1316
1296
  return !1;
1317
1297
  }
1318
1298
  }
1319
- function bn(e, t) {
1320
- return Zt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1299
+ function cn(e, t) {
1300
+ return kt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1321
1301
  }
1322
- function yn(e, t, r) {
1302
+ function fn(e, t, r) {
1323
1303
  var n = {};
1324
- return r.isMergeableObject(e) && pt(e).forEach(function(i) {
1325
- n[i] = le(e[i], r);
1326
- }), pt(t).forEach(function(i) {
1327
- bn(e, i) || (Zt(e, i) && r.isMergeableObject(t[i]) ? n[i] = pn(i, r)(e[i], t[i], r) : n[i] = le(t[i], r));
1304
+ return r.isMergeableObject(e) && ht(e).forEach(function(i) {
1305
+ n[i] = ue(e[i], r);
1306
+ }), ht(t).forEach(function(i) {
1307
+ cn(e, i) || (kt(e, i) && r.isMergeableObject(t[i]) ? n[i] = ln(i, r)(e[i], t[i], r) : n[i] = ue(t[i], r));
1328
1308
  }), n;
1329
1309
  }
1330
- function K(e, t, r) {
1331
- r = r || {}, r.arrayMerge = r.arrayMerge || dn, r.isMergeableObject = r.isMergeableObject || sn, r.cloneUnlessOtherwiseSpecified = le;
1310
+ function Y(e, t, r) {
1311
+ r = r || {}, r.arrayMerge = r.arrayMerge || un, r.isMergeableObject = r.isMergeableObject || en, r.cloneUnlessOtherwiseSpecified = ue;
1332
1312
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1333
- return o ? n ? r.arrayMerge(e, t, r) : yn(e, t, r) : le(t, r);
1313
+ return o ? n ? r.arrayMerge(e, t, r) : fn(e, t, r) : ue(t, r);
1334
1314
  }
1335
- K.all = function(t, r) {
1315
+ Y.all = function(t, r) {
1336
1316
  if (!Array.isArray(t))
1337
1317
  throw new Error("first argument should be an array");
1338
1318
  return t.reduce(function(n, i) {
1339
- return K(n, i, r);
1319
+ return Y(n, i, r);
1340
1320
  }, {});
1341
1321
  };
1342
- var gn = K, vn = gn;
1343
- const _n = /* @__PURE__ */ on(vn);
1344
- function Ce(e, t) {
1345
- var r = t && t.cache ? t.cache : Hn, n = t && t.serializer ? t.serializer : Tn, i = t && t.strategy ? t.strategy : xn;
1322
+ var dn = Y, pn = dn;
1323
+ const mn = /* @__PURE__ */ Kr(pn);
1324
+ function Oe(e, t) {
1325
+ var r = t && t.cache ? t.cache : xn, n = t && t.serializer ? t.serializer : _n, i = t && t.strategy ? t.strategy : gn;
1346
1326
  return i(e, {
1347
1327
  cache: r,
1348
1328
  serializer: n
1349
1329
  });
1350
1330
  }
1351
- function En(e) {
1331
+ function bn(e) {
1352
1332
  return e == null || typeof e == "number" || typeof e == "boolean";
1353
1333
  }
1354
- function Qt(e, t, r, n) {
1355
- var i = En(n) ? n : r(n), o = t.get(i);
1334
+ function yn(e, t, r, n) {
1335
+ var i = bn(n) ? n : r(n), o = t.get(i);
1356
1336
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1357
1337
  }
1358
- function Jt(e, t, r) {
1338
+ function Vt(e, t, r) {
1359
1339
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1360
1340
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1361
1341
  }
1362
- function et(e, t, r, n, i) {
1342
+ function Xt(e, t, r, n, i) {
1363
1343
  return r.bind(t, e, n, i);
1364
1344
  }
1365
- function xn(e, t) {
1366
- var r = e.length === 1 ? Qt : Jt;
1367
- return et(e, this, r, t.cache.create(), t.serializer);
1368
- }
1369
- function Sn(e, t) {
1370
- return et(e, this, Jt, t.cache.create(), t.serializer);
1345
+ function gn(e, t) {
1346
+ var r = e.length === 1 ? yn : Vt;
1347
+ return Xt(e, this, r, t.cache.create(), t.serializer);
1371
1348
  }
1372
- function wn(e, t) {
1373
- return et(e, this, Qt, t.cache.create(), t.serializer);
1349
+ function vn(e, t) {
1350
+ return Xt(e, this, Vt, t.cache.create(), t.serializer);
1374
1351
  }
1375
- var Tn = function() {
1352
+ var _n = function() {
1376
1353
  return JSON.stringify(arguments);
1377
- };
1378
- function tt() {
1379
- this.cache = /* @__PURE__ */ Object.create(null);
1380
- }
1381
- tt.prototype.get = function(e) {
1382
- return this.cache[e];
1383
- };
1384
- tt.prototype.set = function(e, t) {
1385
- this.cache[e] = t;
1386
- };
1387
- var Hn = {
1354
+ }, En = (
1355
+ /** @class */
1356
+ function() {
1357
+ function e() {
1358
+ this.cache = /* @__PURE__ */ Object.create(null);
1359
+ }
1360
+ return e.prototype.get = function(t) {
1361
+ return this.cache[t];
1362
+ }, e.prototype.set = function(t, r) {
1363
+ this.cache[t] = r;
1364
+ }, e;
1365
+ }()
1366
+ ), xn = {
1388
1367
  create: function() {
1389
- return new tt();
1368
+ return new En();
1390
1369
  }
1391
- }, Le = {
1392
- variadic: Sn,
1393
- monadic: wn
1370
+ }, Ie = {
1371
+ variadic: vn
1394
1372
  }, y;
1395
1373
  (function(e) {
1396
1374
  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";
@@ -1399,47 +1377,47 @@ var E;
1399
1377
  (function(e) {
1400
1378
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
1401
1379
  })(E || (E = {}));
1402
- var ee;
1380
+ var K;
1403
1381
  (function(e) {
1404
1382
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1405
- })(ee || (ee = {}));
1406
- function mt(e) {
1383
+ })(K || (K = {}));
1384
+ function ct(e) {
1407
1385
  return e.type === E.literal;
1408
1386
  }
1409
- function Bn(e) {
1387
+ function Sn(e) {
1410
1388
  return e.type === E.argument;
1411
1389
  }
1412
- function qt(e) {
1390
+ function Wt(e) {
1413
1391
  return e.type === E.number;
1414
1392
  }
1415
- function Yt(e) {
1393
+ function zt(e) {
1416
1394
  return e.type === E.date;
1417
1395
  }
1418
- function Kt(e) {
1396
+ function Zt(e) {
1419
1397
  return e.type === E.time;
1420
1398
  }
1421
- function er(e) {
1399
+ function Qt(e) {
1422
1400
  return e.type === E.select;
1423
1401
  }
1424
- function tr(e) {
1402
+ function Jt(e) {
1425
1403
  return e.type === E.plural;
1426
1404
  }
1427
- function Pn(e) {
1405
+ function wn(e) {
1428
1406
  return e.type === E.pound;
1429
1407
  }
1430
- function rr(e) {
1408
+ function qt(e) {
1431
1409
  return e.type === E.tag;
1432
1410
  }
1433
- function nr(e) {
1434
- return !!(e && typeof e == "object" && e.type === ee.number);
1411
+ function Yt(e) {
1412
+ return !!(e && typeof e == "object" && e.type === K.number);
1435
1413
  }
1436
- function Xe(e) {
1437
- return !!(e && typeof e == "object" && e.type === ee.dateTime);
1414
+ function ke(e) {
1415
+ return !!(e && typeof e == "object" && e.type === K.dateTime);
1438
1416
  }
1439
- var ir = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, An = /(?:[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;
1440
- function On(e) {
1417
+ var Kt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Tn = /(?:[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;
1418
+ function Hn(e) {
1441
1419
  var t = {};
1442
- return e.replace(An, function(r) {
1420
+ return e.replace(Tn, function(r) {
1443
1421
  var n = r.length;
1444
1422
  switch (r[0]) {
1445
1423
  case "G":
@@ -1528,11 +1506,11 @@ function On(e) {
1528
1506
  return "";
1529
1507
  }), t;
1530
1508
  }
1531
- var In = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1532
- function Cn(e) {
1509
+ var Bn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1510
+ function Pn(e) {
1533
1511
  if (e.length === 0)
1534
1512
  throw new Error("Number skeleton cannot be empty");
1535
- for (var t = e.split(In).filter(function(c) {
1513
+ for (var t = e.split(Bn).filter(function(c) {
1536
1514
  return c.length > 0;
1537
1515
  }), r = [], n = 0, i = t; n < i.length; n++) {
1538
1516
  var o = i[n], a = o.split("/");
@@ -1547,17 +1525,17 @@ function Cn(e) {
1547
1525
  }
1548
1526
  return r;
1549
1527
  }
1550
- function Ln(e) {
1528
+ function An(e) {
1551
1529
  return e.replace(/^(.*?)-/, "");
1552
1530
  }
1553
- var bt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, or = /^(@+)?(\+|#+)?[rs]?$/g, Mn = /(\*)(0+)|(#+)(0+)|(0+)/g, sr = /^(0+)$/;
1554
- function yt(e) {
1531
+ var ft = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, er = /^(@+)?(\+|#+)?[rs]?$/g, On = /(\*)(0+)|(#+)(0+)|(0+)/g, tr = /^(0+)$/;
1532
+ function dt(e) {
1555
1533
  var t = {};
1556
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(or, function(r, n, i) {
1534
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(er, function(r, n, i) {
1557
1535
  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)), "";
1558
1536
  }), t;
1559
1537
  }
1560
- function ar(e) {
1538
+ function rr(e) {
1561
1539
  switch (e) {
1562
1540
  case "sign-auto":
1563
1541
  return {
@@ -1597,7 +1575,7 @@ function ar(e) {
1597
1575
  };
1598
1576
  }
1599
1577
  }
1600
- function Nn(e) {
1578
+ function In(e) {
1601
1579
  var t;
1602
1580
  if (e[0] === "E" && e[1] === "E" ? (t = {
1603
1581
  notation: "engineering"
@@ -1605,17 +1583,17 @@ function Nn(e) {
1605
1583
  notation: "scientific"
1606
1584
  }, e = e.slice(1)), t) {
1607
1585
  var r = e.slice(0, 2);
1608
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !sr.test(e))
1586
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !tr.test(e))
1609
1587
  throw new Error("Malformed concise eng/scientific notation");
1610
1588
  t.minimumIntegerDigits = e.length;
1611
1589
  }
1612
1590
  return t;
1613
1591
  }
1614
- function gt(e) {
1615
- var t = {}, r = ar(e);
1592
+ function pt(e) {
1593
+ var t = {}, r = rr(e);
1616
1594
  return r || t;
1617
1595
  }
1618
- function Rn(e) {
1596
+ function Cn(e) {
1619
1597
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1620
1598
  var i = n[r];
1621
1599
  switch (i.stem) {
@@ -1639,7 +1617,7 @@ function Rn(e) {
1639
1617
  continue;
1640
1618
  case "measure-unit":
1641
1619
  case "unit":
1642
- t.style = "unit", t.unit = Ln(i.options[0]);
1620
+ t.style = "unit", t.unit = An(i.options[0]);
1643
1621
  continue;
1644
1622
  case "compact-short":
1645
1623
  case "K":
@@ -1651,12 +1629,12 @@ function Rn(e) {
1651
1629
  continue;
1652
1630
  case "scientific":
1653
1631
  t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1654
- return _(_({}, l), gt(u));
1632
+ return _(_({}, l), pt(u));
1655
1633
  }, {}));
1656
1634
  continue;
1657
1635
  case "engineering":
1658
1636
  t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1659
- return _(_({}, l), gt(u));
1637
+ return _(_({}, l), pt(u));
1660
1638
  }, {}));
1661
1639
  continue;
1662
1640
  case "notation-simple":
@@ -1701,45 +1679,45 @@ function Rn(e) {
1701
1679
  case "integer-width":
1702
1680
  if (i.options.length > 1)
1703
1681
  throw new RangeError("integer-width stems only accept a single optional option");
1704
- i.options[0].replace(Mn, function(l, u, h, f, c, p) {
1682
+ i.options[0].replace(On, function(l, u, h, f, c, m) {
1705
1683
  if (u)
1706
1684
  t.minimumIntegerDigits = h.length;
1707
1685
  else {
1708
1686
  if (f && c)
1709
1687
  throw new Error("We currently do not support maximum integer digits");
1710
- if (p)
1688
+ if (m)
1711
1689
  throw new Error("We currently do not support exact integer digits");
1712
1690
  }
1713
1691
  return "";
1714
1692
  });
1715
1693
  continue;
1716
1694
  }
1717
- if (sr.test(i.stem)) {
1695
+ if (tr.test(i.stem)) {
1718
1696
  t.minimumIntegerDigits = i.stem.length;
1719
1697
  continue;
1720
1698
  }
1721
- if (bt.test(i.stem)) {
1699
+ if (ft.test(i.stem)) {
1722
1700
  if (i.options.length > 1)
1723
1701
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1724
- i.stem.replace(bt, function(l, u, h, f, c, p) {
1725
- return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && p ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1702
+ i.stem.replace(ft, function(l, u, h, f, c, m) {
1703
+ 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), "";
1726
1704
  });
1727
1705
  var o = i.options[0];
1728
- o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), yt(o)));
1706
+ o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), dt(o)));
1729
1707
  continue;
1730
1708
  }
1731
- if (or.test(i.stem)) {
1732
- t = _(_({}, t), yt(i.stem));
1709
+ if (er.test(i.stem)) {
1710
+ t = _(_({}, t), dt(i.stem));
1733
1711
  continue;
1734
1712
  }
1735
- var a = ar(i.stem);
1713
+ var a = rr(i.stem);
1736
1714
  a && (t = _(_({}, t), a));
1737
- var s = Nn(i.stem);
1715
+ var s = In(i.stem);
1738
1716
  s && (t = _(_({}, t), s));
1739
1717
  }
1740
1718
  return t;
1741
1719
  }
1742
- var pe = {
1720
+ var de = {
1743
1721
  "001": [
1744
1722
  "H",
1745
1723
  "h"
@@ -3154,13 +3132,13 @@ var pe = {
3154
3132
  "h"
3155
3133
  ]
3156
3134
  };
3157
- function $n(e, t) {
3135
+ function Ln(e, t) {
3158
3136
  for (var r = "", n = 0; n < e.length; n++) {
3159
3137
  var i = e.charAt(n);
3160
3138
  if (i === "j") {
3161
3139
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3162
3140
  o++, n++;
3163
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Dn(t);
3141
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Nn(t);
3164
3142
  for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
3165
3143
  r += l;
3166
3144
  for (; a-- > 0; )
@@ -3170,7 +3148,7 @@ function $n(e, t) {
3170
3148
  }
3171
3149
  return r;
3172
3150
  }
3173
- function Dn(e) {
3151
+ function Nn(e) {
3174
3152
  var t = e.hourCycle;
3175
3153
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3176
3154
  e.hourCycles && // @ts-ignore
@@ -3189,23 +3167,23 @@ function Dn(e) {
3189
3167
  }
3190
3168
  var r = e.language, n;
3191
3169
  r !== "root" && (n = e.maximize().region);
3192
- var i = pe[n || ""] || pe[r || ""] || pe["".concat(r, "-001")] || pe["001"];
3170
+ var i = de[n || ""] || de[r || ""] || de["".concat(r, "-001")] || de["001"];
3193
3171
  return i[0];
3194
3172
  }
3195
- var Me, Un = new RegExp("^".concat(ir.source, "*")), Gn = new RegExp("".concat(ir.source, "*$"));
3173
+ var Ce, Mn = new RegExp("^".concat(Kt.source, "*")), Rn = new RegExp("".concat(Kt.source, "*$"));
3196
3174
  function v(e, t) {
3197
3175
  return { start: e, end: t };
3198
3176
  }
3199
- var Fn = !!String.prototype.startsWith && "_a".startsWith("a", 1), jn = !!String.fromCodePoint, kn = !!Object.fromEntries, Vn = !!String.prototype.codePointAt, Xn = !!String.prototype.trimStart, Wn = !!String.prototype.trimEnd, zn = !!Number.isSafeInteger, Zn = zn ? Number.isSafeInteger : function(e) {
3177
+ var $n = !!String.prototype.startsWith && "_a".startsWith("a", 1), Dn = !!String.fromCodePoint, Un = !!Object.fromEntries, Gn = !!String.prototype.codePointAt, Fn = !!String.prototype.trimStart, jn = !!String.prototype.trimEnd, kn = !!Number.isSafeInteger, Vn = kn ? Number.isSafeInteger : function(e) {
3200
3178
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3201
- }, We = !0;
3179
+ }, Ve = !0;
3202
3180
  try {
3203
- var Qn = lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3204
- We = ((Me = Qn.exec("a")) === null || Me === void 0 ? void 0 : Me[0]) === "a";
3181
+ var Xn = ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3182
+ Ve = ((Ce = Xn.exec("a")) === null || Ce === void 0 ? void 0 : Ce[0]) === "a";
3205
3183
  } catch {
3206
- We = !1;
3184
+ Ve = !1;
3207
3185
  }
3208
- var vt = Fn ? (
3186
+ var mt = $n ? (
3209
3187
  // Native
3210
3188
  function(t, r, n) {
3211
3189
  return t.startsWith(r, n);
@@ -3215,7 +3193,7 @@ var vt = Fn ? (
3215
3193
  function(t, r, n) {
3216
3194
  return t.slice(n, n + r.length) === r;
3217
3195
  }
3218
- ), ze = jn ? String.fromCodePoint : (
3196
+ ), Xe = Dn ? String.fromCodePoint : (
3219
3197
  // IE11
3220
3198
  function() {
3221
3199
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3227,9 +3205,9 @@ var vt = Fn ? (
3227
3205
  }
3228
3206
  return n;
3229
3207
  }
3230
- ), _t = (
3208
+ ), bt = (
3231
3209
  // native
3232
- kn ? Object.fromEntries : (
3210
+ Un ? Object.fromEntries : (
3233
3211
  // Ponyfill
3234
3212
  function(t) {
3235
3213
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3239,7 +3217,7 @@ var vt = Fn ? (
3239
3217
  return r;
3240
3218
  }
3241
3219
  )
3242
- ), ur = Vn ? (
3220
+ ), nr = Gn ? (
3243
3221
  // Native
3244
3222
  function(t, r) {
3245
3223
  return t.codePointAt(r);
@@ -3253,7 +3231,7 @@ var vt = Fn ? (
3253
3231
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3254
3232
  }
3255
3233
  }
3256
- ), Jn = Xn ? (
3234
+ ), Wn = Fn ? (
3257
3235
  // Native
3258
3236
  function(t) {
3259
3237
  return t.trimStart();
@@ -3261,9 +3239,9 @@ var vt = Fn ? (
3261
3239
  ) : (
3262
3240
  // Ponyfill
3263
3241
  function(t) {
3264
- return t.replace(Un, "");
3242
+ return t.replace(Mn, "");
3265
3243
  }
3266
- ), qn = Wn ? (
3244
+ ), zn = jn ? (
3267
3245
  // Native
3268
3246
  function(t) {
3269
3247
  return t.trimEnd();
@@ -3271,32 +3249,32 @@ var vt = Fn ? (
3271
3249
  ) : (
3272
3250
  // Ponyfill
3273
3251
  function(t) {
3274
- return t.replace(Gn, "");
3252
+ return t.replace(Rn, "");
3275
3253
  }
3276
3254
  );
3277
- function lr(e, t) {
3255
+ function ir(e, t) {
3278
3256
  return new RegExp(e, t);
3279
3257
  }
3280
- var Ze;
3281
- if (We) {
3282
- var Et = lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3283
- Ze = function(t, r) {
3258
+ var We;
3259
+ if (Ve) {
3260
+ var yt = ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3261
+ We = function(t, r) {
3284
3262
  var n;
3285
- Et.lastIndex = r;
3286
- var i = Et.exec(t);
3263
+ yt.lastIndex = r;
3264
+ var i = yt.exec(t);
3287
3265
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3288
3266
  };
3289
3267
  } else
3290
- Ze = function(t, r) {
3268
+ We = function(t, r) {
3291
3269
  for (var n = []; ; ) {
3292
- var i = ur(t, r);
3293
- if (i === void 0 || hr(i) || ti(i))
3270
+ var i = nr(t, r);
3271
+ if (i === void 0 || or(i) || qn(i))
3294
3272
  break;
3295
3273
  n.push(i), r += i >= 65536 ? 2 : 1;
3296
3274
  }
3297
- return ze.apply(void 0, n);
3275
+ return Xe.apply(void 0, n);
3298
3276
  };
3299
- var Yn = (
3277
+ var Zn = (
3300
3278
  /** @class */
3301
3279
  function() {
3302
3280
  function e(t, r) {
@@ -3327,7 +3305,7 @@ var Yn = (
3327
3305
  if (n)
3328
3306
  break;
3329
3307
  return this.error(y.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
3330
- } else if (o === 60 && !this.ignoreTag && Qe(this.peek() || 0)) {
3308
+ } else if (o === 60 && !this.ignoreTag && ze(this.peek() || 0)) {
3331
3309
  var a = this.parseTag(t, r);
3332
3310
  if (a.err)
3333
3311
  return a;
@@ -3360,7 +3338,7 @@ var Yn = (
3360
3338
  return o;
3361
3339
  var a = o.val, s = this.clonePosition();
3362
3340
  if (this.bumpIf("</")) {
3363
- if (this.isEOF() || !Qe(this.char()))
3341
+ if (this.isEOF() || !ze(this.char()))
3364
3342
  return this.error(y.INVALID_TAG, v(s, this.clonePosition()));
3365
3343
  var l = this.clonePosition(), u = this.parseTagName();
3366
3344
  return i !== u ? this.error(y.UNMATCHED_CLOSING_TAG, v(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -3378,7 +3356,7 @@ var Yn = (
3378
3356
  return this.error(y.INVALID_TAG, v(n, this.clonePosition()));
3379
3357
  }, e.prototype.parseTagName = function() {
3380
3358
  var t = this.offset();
3381
- for (this.bump(); !this.isEOF() && ei(this.char()); )
3359
+ for (this.bump(); !this.isEOF() && Jn(this.char()); )
3382
3360
  this.bump();
3383
3361
  return this.message.slice(t, this.offset());
3384
3362
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3407,7 +3385,7 @@ var Yn = (
3407
3385
  };
3408
3386
  }, e.prototype.tryParseLeftAngleBracket = function() {
3409
3387
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3410
- !Kn(this.peek() || 0)) ? (this.bump(), "<") : null;
3388
+ !Qn(this.peek() || 0)) ? (this.bump(), "<") : null;
3411
3389
  }, e.prototype.tryParseQuote = function(t) {
3412
3390
  if (this.isEOF() || this.char() !== 39)
3413
3391
  return null;
@@ -3441,12 +3419,12 @@ var Yn = (
3441
3419
  r.push(n);
3442
3420
  this.bump();
3443
3421
  }
3444
- return ze.apply(void 0, r);
3422
+ return Xe.apply(void 0, r);
3445
3423
  }, e.prototype.tryParseUnquoted = function(t, r) {
3446
3424
  if (this.isEOF())
3447
3425
  return null;
3448
3426
  var n = this.char();
3449
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ze(n));
3427
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Xe(n));
3450
3428
  }, e.prototype.parseArgument = function(t, r) {
3451
3429
  var n = this.clonePosition();
3452
3430
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3475,7 +3453,7 @@ var Yn = (
3475
3453
  return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3476
3454
  }
3477
3455
  }, e.prototype.parseIdentifierIfPossible = function() {
3478
- var t = this.clonePosition(), r = this.offset(), n = Ze(this.message, r), i = r + n.length;
3456
+ var t = this.clonePosition(), r = this.offset(), n = We(this.message, r), i = r + n.length;
3479
3457
  this.bumpTo(i);
3480
3458
  var o = this.clonePosition(), a = v(t, o);
3481
3459
  return { value: n, location: a };
@@ -3494,18 +3472,18 @@ var Yn = (
3494
3472
  var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3495
3473
  if (f.err)
3496
3474
  return f;
3497
- var c = qn(f.val);
3475
+ var c = zn(f.val);
3498
3476
  if (c.length === 0)
3499
3477
  return this.error(y.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
3500
- var p = v(h, this.clonePosition());
3501
- u = { style: c, styleLocation: p };
3478
+ var m = v(h, this.clonePosition());
3479
+ u = { style: c, styleLocation: m };
3502
3480
  }
3503
3481
  var b = this.tryParseArgumentClose(i);
3504
3482
  if (b.err)
3505
3483
  return b;
3506
3484
  var g = v(i, this.clonePosition());
3507
- if (u && vt(u?.style, "::", 0)) {
3508
- var S = Jn(u.style.slice(2));
3485
+ if (u && mt(u?.style, "::", 0)) {
3486
+ var S = Wn(u.style.slice(2));
3509
3487
  if (s === "number") {
3510
3488
  var f = this.parseNumberSkeletonFromString(S, u.styleLocation);
3511
3489
  return f.err ? f : {
@@ -3516,12 +3494,12 @@ var Yn = (
3516
3494
  if (S.length === 0)
3517
3495
  return this.error(y.EXPECT_DATE_TIME_SKELETON, g);
3518
3496
  var A = S;
3519
- this.locale && (A = $n(S, this.locale));
3497
+ this.locale && (A = Ln(S, this.locale));
3520
3498
  var c = {
3521
- type: ee.dateTime,
3499
+ type: K.dateTime,
3522
3500
  pattern: A,
3523
3501
  location: u.styleLocation,
3524
- parsedOptions: this.shouldParseSkeletons ? On(A) : {}
3502
+ parsedOptions: this.shouldParseSkeletons ? Hn(A) : {}
3525
3503
  }, H = s === "date" ? E.date : E.time;
3526
3504
  return {
3527
3505
  val: { type: H, value: n, location: g, style: c },
@@ -3556,9 +3534,9 @@ var Yn = (
3556
3534
  return f;
3557
3535
  this.bumpSpace(), L = this.parseIdentifierIfPossible(), O = f.val;
3558
3536
  }
3559
- var M = this.tryParsePluralOrSelectOptions(t, s, r, L);
3560
- if (M.err)
3561
- return M;
3537
+ var N = this.tryParsePluralOrSelectOptions(t, s, r, L);
3538
+ if (N.err)
3539
+ return N;
3562
3540
  var b = this.tryParseArgumentClose(i);
3563
3541
  if (b.err)
3564
3542
  return b;
@@ -3567,7 +3545,7 @@ var Yn = (
3567
3545
  val: {
3568
3546
  type: E.select,
3569
3547
  value: n,
3570
- options: _t(M.val),
3548
+ options: bt(N.val),
3571
3549
  location: x
3572
3550
  },
3573
3551
  err: null
@@ -3575,7 +3553,7 @@ var Yn = (
3575
3553
  val: {
3576
3554
  type: E.plural,
3577
3555
  value: n,
3578
- options: _t(M.val),
3556
+ options: bt(N.val),
3579
3557
  offset: O,
3580
3558
  pluralType: s === "plural" ? "cardinal" : "ordinal",
3581
3559
  location: x
@@ -3626,16 +3604,16 @@ var Yn = (
3626
3604
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3627
3605
  var n = [];
3628
3606
  try {
3629
- n = Cn(t);
3607
+ n = Pn(t);
3630
3608
  } catch {
3631
3609
  return this.error(y.INVALID_NUMBER_SKELETON, r);
3632
3610
  }
3633
3611
  return {
3634
3612
  val: {
3635
- type: ee.number,
3613
+ type: K.number,
3636
3614
  tokens: n,
3637
3615
  location: r,
3638
- parsedOptions: this.shouldParseSkeletons ? Rn(n) : {}
3616
+ parsedOptions: this.shouldParseSkeletons ? Cn(n) : {}
3639
3617
  },
3640
3618
  err: null
3641
3619
  };
@@ -3654,20 +3632,20 @@ var Yn = (
3654
3632
  if (l.has(u))
3655
3633
  return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3656
3634
  u === "other" && (a = !0), this.bumpSpace();
3657
- var p = this.clonePosition();
3635
+ var m = this.clonePosition();
3658
3636
  if (!this.bumpIf("{"))
3659
3637
  return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
3660
3638
  var b = this.parseMessage(t + 1, r, n);
3661
3639
  if (b.err)
3662
3640
  return b;
3663
- var g = this.tryParseArgumentClose(p);
3641
+ var g = this.tryParseArgumentClose(m);
3664
3642
  if (g.err)
3665
3643
  return g;
3666
3644
  s.push([
3667
3645
  u,
3668
3646
  {
3669
3647
  value: b.val,
3670
- location: v(p, this.clonePosition())
3648
+ location: v(m, this.clonePosition())
3671
3649
  }
3672
3650
  ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
3673
3651
  }
@@ -3683,7 +3661,7 @@ var Yn = (
3683
3661
  break;
3684
3662
  }
3685
3663
  var l = v(i, this.clonePosition());
3686
- return o ? (a *= n, Zn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3664
+ return o ? (a *= n, Vn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3687
3665
  }, e.prototype.offset = function() {
3688
3666
  return this.position.offset;
3689
3667
  }, e.prototype.isEOF = function() {
@@ -3698,7 +3676,7 @@ var Yn = (
3698
3676
  var t = this.position.offset;
3699
3677
  if (t >= this.message.length)
3700
3678
  throw Error("out of bound");
3701
- var r = ur(this.message, t);
3679
+ var r = nr(this.message, t);
3702
3680
  if (r === void 0)
3703
3681
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3704
3682
  return r;
@@ -3717,7 +3695,7 @@ var Yn = (
3717
3695
  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);
3718
3696
  }
3719
3697
  }, e.prototype.bumpIf = function(t) {
3720
- if (vt(this.message, t, this.offset())) {
3698
+ if (mt(this.message, t, this.offset())) {
3721
3699
  for (var r = 0; r < t.length; r++)
3722
3700
  this.bump();
3723
3701
  return !0;
@@ -3739,7 +3717,7 @@ var Yn = (
3739
3717
  break;
3740
3718
  }
3741
3719
  }, e.prototype.bumpSpace = function() {
3742
- for (; !this.isEOF() && hr(this.char()); )
3720
+ for (; !this.isEOF() && or(this.char()); )
3743
3721
  this.bump();
3744
3722
  }, e.prototype.peek = function() {
3745
3723
  if (this.isEOF())
@@ -3749,44 +3727,44 @@ var Yn = (
3749
3727
  }, e;
3750
3728
  }()
3751
3729
  );
3752
- function Qe(e) {
3730
+ function ze(e) {
3753
3731
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3754
3732
  }
3755
- function Kn(e) {
3756
- return Qe(e) || e === 47;
3733
+ function Qn(e) {
3734
+ return ze(e) || e === 47;
3757
3735
  }
3758
- function ei(e) {
3736
+ function Jn(e) {
3759
3737
  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;
3760
3738
  }
3761
- function hr(e) {
3739
+ function or(e) {
3762
3740
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3763
3741
  }
3764
- function ti(e) {
3742
+ function qn(e) {
3765
3743
  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;
3766
3744
  }
3767
- function Je(e) {
3745
+ function Ze(e) {
3768
3746
  e.forEach(function(t) {
3769
- if (delete t.location, er(t) || tr(t))
3747
+ if (delete t.location, Qt(t) || Jt(t))
3770
3748
  for (var r in t.options)
3771
- delete t.options[r].location, Je(t.options[r].value);
3749
+ delete t.options[r].location, Ze(t.options[r].value);
3772
3750
  else
3773
- qt(t) && nr(t.style) || (Yt(t) || Kt(t)) && Xe(t.style) ? delete t.style.location : rr(t) && Je(t.children);
3751
+ Wt(t) && Yt(t.style) || (zt(t) || Zt(t)) && ke(t.style) ? delete t.style.location : qt(t) && Ze(t.children);
3774
3752
  });
3775
3753
  }
3776
- function ri(e, t) {
3754
+ function Yn(e, t) {
3777
3755
  t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3778
- var r = new Yn(e, t).parse();
3756
+ var r = new Zn(e, t).parse();
3779
3757
  if (r.err) {
3780
3758
  var n = SyntaxError(y[r.err.kind]);
3781
3759
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3782
3760
  }
3783
- return t?.captureLocation || Je(r.val), r.val;
3761
+ return t?.captureLocation || Ze(r.val), r.val;
3784
3762
  }
3785
- var te;
3763
+ var ee;
3786
3764
  (function(e) {
3787
3765
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3788
- })(te || (te = {}));
3789
- var He = (
3766
+ })(ee || (ee = {}));
3767
+ var Te = (
3790
3768
  /** @class */
3791
3769
  function(e) {
3792
3770
  U(t, e);
@@ -3798,48 +3776,48 @@ var He = (
3798
3776
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3799
3777
  }, t;
3800
3778
  }(Error)
3801
- ), xt = (
3779
+ ), gt = (
3802
3780
  /** @class */
3803
3781
  function(e) {
3804
3782
  U(t, e);
3805
3783
  function t(r, n, i, o) {
3806
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), te.INVALID_VALUE, o) || this;
3784
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ee.INVALID_VALUE, o) || this;
3807
3785
  }
3808
3786
  return t;
3809
- }(He)
3810
- ), ni = (
3787
+ }(Te)
3788
+ ), Kn = (
3811
3789
  /** @class */
3812
3790
  function(e) {
3813
3791
  U(t, e);
3814
3792
  function t(r, n, i) {
3815
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), te.INVALID_VALUE, i) || this;
3793
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ee.INVALID_VALUE, i) || this;
3816
3794
  }
3817
3795
  return t;
3818
- }(He)
3819
- ), ii = (
3796
+ }(Te)
3797
+ ), ei = (
3820
3798
  /** @class */
3821
3799
  function(e) {
3822
3800
  U(t, e);
3823
3801
  function t(r, n) {
3824
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), te.MISSING_VALUE, n) || this;
3802
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ee.MISSING_VALUE, n) || this;
3825
3803
  }
3826
3804
  return t;
3827
- }(He)
3805
+ }(Te)
3828
3806
  ), T;
3829
3807
  (function(e) {
3830
3808
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3831
3809
  })(T || (T = {}));
3832
- function oi(e) {
3810
+ function ti(e) {
3833
3811
  return e.length < 2 ? e : e.reduce(function(t, r) {
3834
3812
  var n = t[t.length - 1];
3835
3813
  return !n || n.type !== T.literal || r.type !== T.literal ? t.push(r) : n.value += r.value, t;
3836
3814
  }, []);
3837
3815
  }
3838
- function si(e) {
3816
+ function ri(e) {
3839
3817
  return typeof e == "function";
3840
3818
  }
3841
- function ge(e, t, r, n, i, o, a) {
3842
- if (e.length === 1 && mt(e[0]))
3819
+ function ye(e, t, r, n, i, o, a) {
3820
+ if (e.length === 1 && ct(e[0]))
3843
3821
  return [
3844
3822
  {
3845
3823
  type: T.literal,
@@ -3848,14 +3826,14 @@ function ge(e, t, r, n, i, o, a) {
3848
3826
  ];
3849
3827
  for (var s = [], l = 0, u = e; l < u.length; l++) {
3850
3828
  var h = u[l];
3851
- if (mt(h)) {
3829
+ if (ct(h)) {
3852
3830
  s.push({
3853
3831
  type: T.literal,
3854
3832
  value: h.value
3855
3833
  });
3856
3834
  continue;
3857
3835
  }
3858
- if (Pn(h)) {
3836
+ if (wn(h)) {
3859
3837
  typeof o == "number" && s.push({
3860
3838
  type: T.literal,
3861
3839
  value: r.getNumberFormat(t).format(o)
@@ -3864,44 +3842,44 @@ function ge(e, t, r, n, i, o, a) {
3864
3842
  }
3865
3843
  var f = h.value;
3866
3844
  if (!(i && f in i))
3867
- throw new ii(f, a);
3845
+ throw new ei(f, a);
3868
3846
  var c = i[f];
3869
- if (Bn(h)) {
3847
+ if (Sn(h)) {
3870
3848
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), s.push({
3871
3849
  type: typeof c == "string" ? T.literal : T.object,
3872
3850
  value: c
3873
3851
  });
3874
3852
  continue;
3875
3853
  }
3876
- if (Yt(h)) {
3877
- var p = typeof h.style == "string" ? n.date[h.style] : Xe(h.style) ? h.style.parsedOptions : void 0;
3854
+ if (zt(h)) {
3855
+ var m = typeof h.style == "string" ? n.date[h.style] : ke(h.style) ? h.style.parsedOptions : void 0;
3878
3856
  s.push({
3879
3857
  type: T.literal,
3880
- value: r.getDateTimeFormat(t, p).format(c)
3858
+ value: r.getDateTimeFormat(t, m).format(c)
3881
3859
  });
3882
3860
  continue;
3883
3861
  }
3884
- if (Kt(h)) {
3885
- var p = typeof h.style == "string" ? n.time[h.style] : Xe(h.style) ? h.style.parsedOptions : n.time.medium;
3862
+ if (Zt(h)) {
3863
+ var m = typeof h.style == "string" ? n.time[h.style] : ke(h.style) ? h.style.parsedOptions : n.time.medium;
3886
3864
  s.push({
3887
3865
  type: T.literal,
3888
- value: r.getDateTimeFormat(t, p).format(c)
3866
+ value: r.getDateTimeFormat(t, m).format(c)
3889
3867
  });
3890
3868
  continue;
3891
3869
  }
3892
- if (qt(h)) {
3893
- var p = typeof h.style == "string" ? n.number[h.style] : nr(h.style) ? h.style.parsedOptions : void 0;
3894
- p && p.scale && (c = c * (p.scale || 1)), s.push({
3870
+ if (Wt(h)) {
3871
+ var m = typeof h.style == "string" ? n.number[h.style] : Yt(h.style) ? h.style.parsedOptions : void 0;
3872
+ m && m.scale && (c = c * (m.scale || 1)), s.push({
3895
3873
  type: T.literal,
3896
- value: r.getNumberFormat(t, p).format(c)
3874
+ value: r.getNumberFormat(t, m).format(c)
3897
3875
  });
3898
3876
  continue;
3899
3877
  }
3900
- if (rr(h)) {
3878
+ if (qt(h)) {
3901
3879
  var b = h.children, g = h.value, S = i[g];
3902
- if (!si(S))
3903
- throw new ni(g, "function", a);
3904
- var A = ge(b, t, r, n, i, o), H = S(A.map(function(O) {
3880
+ if (!ri(S))
3881
+ throw new Kn(g, "function", a);
3882
+ var A = ye(b, t, r, n, i, o), H = S(A.map(function(O) {
3905
3883
  return O.value;
3906
3884
  }));
3907
3885
  Array.isArray(H) || (H = [H]), s.push.apply(s, H.map(function(O) {
@@ -3911,42 +3889,42 @@ function ge(e, t, r, n, i, o, a) {
3911
3889
  };
3912
3890
  }));
3913
3891
  }
3914
- if (er(h)) {
3892
+ if (Qt(h)) {
3915
3893
  var w = h.options[c] || h.options.other;
3916
3894
  if (!w)
3917
- throw new xt(h.value, c, Object.keys(h.options), a);
3918
- s.push.apply(s, ge(w.value, t, r, n, i));
3895
+ throw new gt(h.value, c, Object.keys(h.options), a);
3896
+ s.push.apply(s, ye(w.value, t, r, n, i));
3919
3897
  continue;
3920
3898
  }
3921
- if (tr(h)) {
3899
+ if (Jt(h)) {
3922
3900
  var w = h.options["=".concat(c)];
3923
3901
  if (!w) {
3924
3902
  if (!Intl.PluralRules)
3925
- throw new He(`Intl.PluralRules is not available in this environment.
3903
+ throw new Te(`Intl.PluralRules is not available in this environment.
3926
3904
  Try polyfilling it using "@formatjs/intl-pluralrules"
3927
- `, te.MISSING_INTL_API, a);
3905
+ `, ee.MISSING_INTL_API, a);
3928
3906
  var L = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3929
3907
  w = h.options[L] || h.options.other;
3930
3908
  }
3931
3909
  if (!w)
3932
- throw new xt(h.value, c, Object.keys(h.options), a);
3933
- s.push.apply(s, ge(w.value, t, r, n, i, c - (h.offset || 0)));
3910
+ throw new gt(h.value, c, Object.keys(h.options), a);
3911
+ s.push.apply(s, ye(w.value, t, r, n, i, c - (h.offset || 0)));
3934
3912
  continue;
3935
3913
  }
3936
3914
  }
3937
- return oi(s);
3915
+ return ti(s);
3938
3916
  }
3939
- function ai(e, t) {
3917
+ function ni(e, t) {
3940
3918
  return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3941
3919
  return r[n] = _(_({}, e[n]), t[n] || {}), r;
3942
3920
  }, {})) : e;
3943
3921
  }
3944
- function ui(e, t) {
3922
+ function ii(e, t) {
3945
3923
  return t ? Object.keys(e).reduce(function(r, n) {
3946
- return r[n] = ai(e[n], t[n]), r;
3924
+ return r[n] = ni(e[n], t[n]), r;
3947
3925
  }, _({}, e)) : e;
3948
3926
  }
3949
- function Ne(e) {
3927
+ function Le(e) {
3950
3928
  return {
3951
3929
  create: function() {
3952
3930
  return {
@@ -3960,39 +3938,39 @@ function Ne(e) {
3960
3938
  }
3961
3939
  };
3962
3940
  }
3963
- function li(e) {
3941
+ function oi(e) {
3964
3942
  return e === void 0 && (e = {
3965
3943
  number: {},
3966
3944
  dateTime: {},
3967
3945
  pluralRules: {}
3968
3946
  }), {
3969
- getNumberFormat: Ce(function() {
3947
+ getNumberFormat: Oe(function() {
3970
3948
  for (var t, r = [], n = 0; n < arguments.length; n++)
3971
3949
  r[n] = arguments[n];
3972
- return new ((t = Intl.NumberFormat).bind.apply(t, Y([void 0], r, !1)))();
3950
+ return new ((t = Intl.NumberFormat).bind.apply(t, q([void 0], r, !1)))();
3973
3951
  }, {
3974
- cache: Ne(e.number),
3975
- strategy: Le.variadic
3952
+ cache: Le(e.number),
3953
+ strategy: Ie.variadic
3976
3954
  }),
3977
- getDateTimeFormat: Ce(function() {
3955
+ getDateTimeFormat: Oe(function() {
3978
3956
  for (var t, r = [], n = 0; n < arguments.length; n++)
3979
3957
  r[n] = arguments[n];
3980
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Y([void 0], r, !1)))();
3958
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, q([void 0], r, !1)))();
3981
3959
  }, {
3982
- cache: Ne(e.dateTime),
3983
- strategy: Le.variadic
3960
+ cache: Le(e.dateTime),
3961
+ strategy: Ie.variadic
3984
3962
  }),
3985
- getPluralRules: Ce(function() {
3963
+ getPluralRules: Oe(function() {
3986
3964
  for (var t, r = [], n = 0; n < arguments.length; n++)
3987
3965
  r[n] = arguments[n];
3988
- return new ((t = Intl.PluralRules).bind.apply(t, Y([void 0], r, !1)))();
3966
+ return new ((t = Intl.PluralRules).bind.apply(t, q([void 0], r, !1)))();
3989
3967
  }, {
3990
- cache: Ne(e.pluralRules),
3991
- strategy: Le.variadic
3968
+ cache: Le(e.pluralRules),
3969
+ strategy: Ie.variadic
3992
3970
  })
3993
3971
  };
3994
3972
  }
3995
- var hi = (
3973
+ var si = (
3996
3974
  /** @class */
3997
3975
  function() {
3998
3976
  function e(t, r, n, i) {
@@ -4011,7 +3989,7 @@ var hi = (
4011
3989
  }, []);
4012
3990
  return h.length <= 1 ? h[0] || "" : h;
4013
3991
  }, this.formatToParts = function(l) {
4014
- return ge(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3992
+ return ye(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
4015
3993
  }, this.resolvedOptions = function() {
4016
3994
  var l;
4017
3995
  return {
@@ -4024,13 +4002,13 @@ var hi = (
4024
4002
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
4025
4003
  var a = i || {};
4026
4004
  a.formatters;
4027
- var s = jr(a, ["formatters"]);
4005
+ var s = $r(a, ["formatters"]);
4028
4006
  this.ast = e.__parse(t, _(_({}, s), { locale: this.resolvedLocale }));
4029
4007
  } else
4030
4008
  this.ast = t;
4031
4009
  if (!Array.isArray(this.ast))
4032
4010
  throw new TypeError("A message must be provided as a String or AST.");
4033
- this.formats = ui(e.formats, n), this.formatters = i && i.formatters || li(this.formatterCache);
4011
+ this.formats = ii(e.formats, n), this.formatters = i && i.formatters || oi(this.formatterCache);
4034
4012
  }
4035
4013
  return Object.defineProperty(e, "defaultLocale", {
4036
4014
  get: function() {
@@ -4043,7 +4021,7 @@ var hi = (
4043
4021
  var r = Intl.NumberFormat.supportedLocalesOf(t);
4044
4022
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
4045
4023
  }
4046
- }, e.__parse = ri, e.formats = {
4024
+ }, e.__parse = Yn, e.formats = {
4047
4025
  number: {
4048
4026
  integer: {
4049
4027
  maximumFractionDigits: 0
@@ -4104,7 +4082,7 @@ var hi = (
4104
4082
  }, e;
4105
4083
  }()
4106
4084
  );
4107
- function ci(e, t) {
4085
+ function ai(e, t) {
4108
4086
  if (t == null)
4109
4087
  return;
4110
4088
  if (t in e)
@@ -4125,92 +4103,92 @@ function ci(e, t) {
4125
4103
  n = void 0;
4126
4104
  return n;
4127
4105
  }
4128
- const F = {}, fi = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), cr = (e, t) => {
4106
+ const F = {}, ui = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), sr = (e, t) => {
4129
4107
  if (t == null)
4130
4108
  return;
4131
4109
  if (t in F && e in F[t])
4132
4110
  return F[t][e];
4133
- const r = Be(t);
4111
+ const r = He(t);
4134
4112
  for (let n = 0; n < r.length; n++) {
4135
- const i = r[n], o = pi(i, e);
4113
+ const i = r[n], o = hi(i, e);
4136
4114
  if (o)
4137
- return fi(e, t, o);
4115
+ return ui(e, t, o);
4138
4116
  }
4139
4117
  };
4140
- let rt;
4141
- const ce = Te({});
4142
- function di(e) {
4143
- return rt[e] || null;
4118
+ let Ye;
4119
+ const he = we({});
4120
+ function li(e) {
4121
+ return Ye[e] || null;
4144
4122
  }
4145
- function fr(e) {
4146
- return e in rt;
4123
+ function ar(e) {
4124
+ return e in Ye;
4147
4125
  }
4148
- function pi(e, t) {
4149
- if (!fr(e))
4126
+ function hi(e, t) {
4127
+ if (!ar(e))
4150
4128
  return null;
4151
- const r = di(e);
4152
- return ci(r, t);
4129
+ const r = li(e);
4130
+ return ai(r, t);
4153
4131
  }
4154
- function mi(e) {
4132
+ function ci(e) {
4155
4133
  if (e == null)
4156
4134
  return;
4157
- const t = Be(e);
4135
+ const t = He(e);
4158
4136
  for (let r = 0; r < t.length; r++) {
4159
4137
  const n = t[r];
4160
- if (fr(n))
4138
+ if (ar(n))
4161
4139
  return n;
4162
4140
  }
4163
4141
  }
4164
- function dr(e, ...t) {
4165
- delete F[e], ce.update((r) => (r[e] = _n.all([r[e] || {}, ...t]), r));
4142
+ function ur(e, ...t) {
4143
+ delete F[e], he.update((r) => (r[e] = mn.all([r[e] || {}, ...t]), r));
4166
4144
  }
4167
- ne(
4168
- [ce],
4145
+ re(
4146
+ [he],
4169
4147
  ([e]) => Object.keys(e)
4170
4148
  );
4171
- ce.subscribe((e) => rt = e);
4172
- const ve = {};
4173
- function bi(e, t) {
4174
- ve[e].delete(t), ve[e].size === 0 && delete ve[e];
4149
+ he.subscribe((e) => Ye = e);
4150
+ const ge = {};
4151
+ function fi(e, t) {
4152
+ ge[e].delete(t), ge[e].size === 0 && delete ge[e];
4175
4153
  }
4176
- function pr(e) {
4177
- return ve[e];
4154
+ function lr(e) {
4155
+ return ge[e];
4178
4156
  }
4179
- function yi(e) {
4180
- return Be(e).map((t) => {
4181
- const r = pr(t);
4157
+ function di(e) {
4158
+ return He(e).map((t) => {
4159
+ const r = lr(t);
4182
4160
  return [t, r ? [...r] : []];
4183
4161
  }).filter(([, t]) => t.length > 0);
4184
4162
  }
4185
- function qe(e) {
4186
- return e == null ? !1 : Be(e).some(
4163
+ function Qe(e) {
4164
+ return e == null ? !1 : He(e).some(
4187
4165
  (t) => {
4188
4166
  var r;
4189
- return (r = pr(t)) == null ? void 0 : r.size;
4167
+ return (r = lr(t)) == null ? void 0 : r.size;
4190
4168
  }
4191
4169
  );
4192
4170
  }
4193
- function gi(e, t) {
4171
+ function pi(e, t) {
4194
4172
  return Promise.all(
4195
- t.map((n) => (bi(e, n), n().then((i) => i.default || i)))
4196
- ).then((n) => dr(e, ...n));
4197
- }
4198
- const se = {};
4199
- function mr(e) {
4200
- if (!qe(e))
4201
- return e in se ? se[e] : Promise.resolve();
4202
- const t = yi(e);
4203
- return se[e] = Promise.all(
4173
+ t.map((n) => (fi(e, n), n().then((i) => i.default || i)))
4174
+ ).then((n) => ur(e, ...n));
4175
+ }
4176
+ const oe = {};
4177
+ function hr(e) {
4178
+ if (!Qe(e))
4179
+ return e in oe ? oe[e] : Promise.resolve();
4180
+ const t = di(e);
4181
+ return oe[e] = Promise.all(
4204
4182
  t.map(
4205
- ([r, n]) => gi(r, n)
4183
+ ([r, n]) => pi(r, n)
4206
4184
  )
4207
4185
  ).then(() => {
4208
- if (qe(e))
4209
- return mr(e);
4210
- delete se[e];
4211
- }), se[e];
4186
+ if (Qe(e))
4187
+ return hr(e);
4188
+ delete oe[e];
4189
+ }), oe[e];
4212
4190
  }
4213
- const vi = {
4191
+ const mi = {
4214
4192
  number: {
4215
4193
  scientific: { notation: "scientific" },
4216
4194
  engineering: { notation: "engineering" },
@@ -4239,135 +4217,135 @@ const vi = {
4239
4217
  timeZoneName: "short"
4240
4218
  }
4241
4219
  }
4242
- }, _i = {
4220
+ }, bi = {
4243
4221
  fallbackLocale: null,
4244
4222
  loadingDelay: 200,
4245
- formats: vi,
4223
+ formats: mi,
4246
4224
  warnOnMissingMessages: !0,
4247
4225
  handleMissingMessage: void 0,
4248
4226
  ignoreTag: !0
4249
- }, Ei = _i;
4250
- function re() {
4251
- return Ei;
4227
+ }, yi = bi;
4228
+ function te() {
4229
+ return yi;
4252
4230
  }
4253
- const Re = Te(!1);
4254
- var xi = Object.defineProperty, Si = Object.defineProperties, wi = Object.getOwnPropertyDescriptors, St = Object.getOwnPropertySymbols, Ti = Object.prototype.hasOwnProperty, Hi = Object.prototype.propertyIsEnumerable, wt = (e, t, r) => t in e ? xi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Bi = (e, t) => {
4231
+ const Ne = we(!1);
4232
+ var gi = Object.defineProperty, vi = Object.defineProperties, _i = Object.getOwnPropertyDescriptors, vt = Object.getOwnPropertySymbols, Ei = Object.prototype.hasOwnProperty, xi = Object.prototype.propertyIsEnumerable, _t = (e, t, r) => t in e ? gi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Si = (e, t) => {
4255
4233
  for (var r in t || (t = {}))
4256
- Ti.call(t, r) && wt(e, r, t[r]);
4257
- if (St)
4258
- for (var r of St(t))
4259
- Hi.call(t, r) && wt(e, r, t[r]);
4234
+ Ei.call(t, r) && _t(e, r, t[r]);
4235
+ if (vt)
4236
+ for (var r of vt(t))
4237
+ xi.call(t, r) && _t(e, r, t[r]);
4260
4238
  return e;
4261
- }, Pi = (e, t) => Si(e, wi(t));
4262
- let Ye;
4263
- const _e = Te(null);
4264
- function Tt(e) {
4239
+ }, wi = (e, t) => vi(e, _i(t));
4240
+ let Je;
4241
+ const ve = we(null);
4242
+ function Et(e) {
4265
4243
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4266
4244
  }
4267
- function Be(e, t = re().fallbackLocale) {
4268
- const r = Tt(e);
4269
- return t ? [.../* @__PURE__ */ new Set([...r, ...Tt(t)])] : r;
4245
+ function He(e, t = te().fallbackLocale) {
4246
+ const r = Et(e);
4247
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Et(t)])] : r;
4270
4248
  }
4271
4249
  function W() {
4272
- return Ye ?? void 0;
4250
+ return Je ?? void 0;
4273
4251
  }
4274
- _e.subscribe((e) => {
4275
- Ye = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4252
+ ve.subscribe((e) => {
4253
+ Je = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4276
4254
  });
4277
- const Ai = (e) => {
4278
- if (e && mi(e) && qe(e)) {
4279
- const { loadingDelay: t } = re();
4255
+ const Ti = (e) => {
4256
+ if (e && ci(e) && Qe(e)) {
4257
+ const { loadingDelay: t } = te();
4280
4258
  let r;
4281
4259
  return typeof window < "u" && W() != null && t ? r = window.setTimeout(
4282
- () => Re.set(!0),
4260
+ () => Ne.set(!0),
4283
4261
  t
4284
- ) : Re.set(!0), mr(e).then(() => {
4285
- _e.set(e);
4262
+ ) : Ne.set(!0), hr(e).then(() => {
4263
+ ve.set(e);
4286
4264
  }).finally(() => {
4287
- clearTimeout(r), Re.set(!1);
4265
+ clearTimeout(r), Ne.set(!1);
4288
4266
  });
4289
4267
  }
4290
- return _e.set(e);
4291
- }, ie = Pi(Bi({}, _e), {
4292
- set: Ai
4293
- }), Pe = (e) => {
4268
+ return ve.set(e);
4269
+ }, ne = wi(Si({}, ve), {
4270
+ set: Ti
4271
+ }), Be = (e) => {
4294
4272
  const t = /* @__PURE__ */ Object.create(null);
4295
4273
  return (n) => {
4296
4274
  const i = JSON.stringify(n);
4297
4275
  return i in t ? t[i] : t[i] = e(n);
4298
4276
  };
4299
4277
  };
4300
- var Oi = Object.defineProperty, Ee = Object.getOwnPropertySymbols, br = Object.prototype.hasOwnProperty, yr = Object.prototype.propertyIsEnumerable, Ht = (e, t, r) => t in e ? Oi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, nt = (e, t) => {
4278
+ var Hi = Object.defineProperty, _e = Object.getOwnPropertySymbols, cr = Object.prototype.hasOwnProperty, fr = Object.prototype.propertyIsEnumerable, xt = (e, t, r) => t in e ? Hi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ke = (e, t) => {
4301
4279
  for (var r in t || (t = {}))
4302
- br.call(t, r) && Ht(e, r, t[r]);
4303
- if (Ee)
4304
- for (var r of Ee(t))
4305
- yr.call(t, r) && Ht(e, r, t[r]);
4280
+ cr.call(t, r) && xt(e, r, t[r]);
4281
+ if (_e)
4282
+ for (var r of _e(t))
4283
+ fr.call(t, r) && xt(e, r, t[r]);
4306
4284
  return e;
4307
- }, oe = (e, t) => {
4285
+ }, ie = (e, t) => {
4308
4286
  var r = {};
4309
4287
  for (var n in e)
4310
- br.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4311
- if (e != null && Ee)
4312
- for (var n of Ee(e))
4313
- t.indexOf(n) < 0 && yr.call(e, n) && (r[n] = e[n]);
4288
+ cr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4289
+ if (e != null && _e)
4290
+ for (var n of _e(e))
4291
+ t.indexOf(n) < 0 && fr.call(e, n) && (r[n] = e[n]);
4314
4292
  return r;
4315
4293
  };
4316
- const he = (e, t) => {
4317
- const { formats: r } = re();
4294
+ const le = (e, t) => {
4295
+ const { formats: r } = te();
4318
4296
  if (e in r && t in r[e])
4319
4297
  return r[e][t];
4320
4298
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4321
- }, Ii = Pe(
4299
+ }, Bi = Be(
4322
4300
  (e) => {
4323
- var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4301
+ var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
4324
4302
  if (r == null)
4325
4303
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4326
- return n && (i = he("number", n)), new Intl.NumberFormat(r, i);
4304
+ return n && (i = le("number", n)), new Intl.NumberFormat(r, i);
4327
4305
  }
4328
- ), Ci = Pe(
4306
+ ), Pi = Be(
4329
4307
  (e) => {
4330
- var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4308
+ var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
4331
4309
  if (r == null)
4332
4310
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4333
- return n ? i = he("date", n) : Object.keys(i).length === 0 && (i = he("date", "short")), new Intl.DateTimeFormat(r, i);
4311
+ return n ? i = le("date", n) : Object.keys(i).length === 0 && (i = le("date", "short")), new Intl.DateTimeFormat(r, i);
4334
4312
  }
4335
- ), Li = Pe(
4313
+ ), Ai = Be(
4336
4314
  (e) => {
4337
- var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4315
+ var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
4338
4316
  if (r == null)
4339
4317
  throw new Error(
4340
4318
  '[svelte-i18n] A "locale" must be set to format time values'
4341
4319
  );
4342
- return n ? i = he("time", n) : Object.keys(i).length === 0 && (i = he("time", "short")), new Intl.DateTimeFormat(r, i);
4320
+ return n ? i = le("time", n) : Object.keys(i).length === 0 && (i = le("time", "short")), new Intl.DateTimeFormat(r, i);
4343
4321
  }
4344
- ), Mi = (e = {}) => {
4322
+ ), Oi = (e = {}) => {
4345
4323
  var t = e, {
4346
4324
  locale: r = W()
4347
- } = t, n = oe(t, [
4325
+ } = t, n = ie(t, [
4348
4326
  "locale"
4349
4327
  ]);
4350
- return Ii(nt({ locale: r }, n));
4351
- }, Ni = (e = {}) => {
4328
+ return Bi(Ke({ locale: r }, n));
4329
+ }, Ii = (e = {}) => {
4352
4330
  var t = e, {
4353
4331
  locale: r = W()
4354
- } = t, n = oe(t, [
4332
+ } = t, n = ie(t, [
4355
4333
  "locale"
4356
4334
  ]);
4357
- return Ci(nt({ locale: r }, n));
4358
- }, Ri = (e = {}) => {
4335
+ return Pi(Ke({ locale: r }, n));
4336
+ }, Ci = (e = {}) => {
4359
4337
  var t = e, {
4360
4338
  locale: r = W()
4361
- } = t, n = oe(t, [
4339
+ } = t, n = ie(t, [
4362
4340
  "locale"
4363
4341
  ]);
4364
- return Li(nt({ locale: r }, n));
4365
- }, $i = Pe(
4342
+ return Ai(Ke({ locale: r }, n));
4343
+ }, Li = Be(
4366
4344
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4367
- (e, t = W()) => new hi(e, t, re().formats, {
4368
- ignoreTag: re().ignoreTag
4345
+ (e, t = W()) => new si(e, t, te().formats, {
4346
+ ignoreTag: te().ignoreTag
4369
4347
  })
4370
- ), Di = (e, t = {}) => {
4348
+ ), Ni = (e, t = {}) => {
4371
4349
  var r, n, i, o;
4372
4350
  let a = t;
4373
4351
  typeof e == "object" && (a = e, e = a.id);
@@ -4380,9 +4358,9 @@ const he = (e, t) => {
4380
4358
  throw new Error(
4381
4359
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4382
4360
  );
4383
- let h = cr(e, l);
4361
+ let h = sr(e, l);
4384
4362
  if (!h)
4385
- 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;
4363
+ h = (o = (i = (n = (r = te()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4386
4364
  else if (typeof h != "string")
4387
4365
  return console.warn(
4388
4366
  `[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.`
@@ -4391,7 +4369,7 @@ const he = (e, t) => {
4391
4369
  return h;
4392
4370
  let f = h;
4393
4371
  try {
4394
- f = $i(h, l).format(s);
4372
+ f = Li(h, l).format(s);
4395
4373
  } catch (c) {
4396
4374
  c instanceof Error && console.warn(
4397
4375
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4399,16 +4377,16 @@ const he = (e, t) => {
4399
4377
  );
4400
4378
  }
4401
4379
  return f;
4402
- }, Ui = (e, t) => Ri(t).format(e), Gi = (e, t) => Ni(t).format(e), Fi = (e, t) => Mi(t).format(e), ji = (e, t = W()) => cr(e, t), ki = ne([ie, ce], () => Di);
4403
- ne([ie], () => Ui);
4404
- ne([ie], () => Gi);
4405
- ne([ie], () => Fi);
4406
- ne([ie, ce], () => ji);
4407
- window.emWidgets = { topic: rn };
4408
- 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)), Vi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4409
- function xo(e, t) {
4380
+ }, Mi = (e, t) => Ci(t).format(e), Ri = (e, t) => Ii(t).format(e), $i = (e, t) => Oi(t).format(e), Di = (e, t = W()) => sr(e, t), Ui = re([ne, he], () => Ni);
4381
+ re([ne], () => Mi);
4382
+ re([ne], () => Ri);
4383
+ re([ne], () => $i);
4384
+ re([ne, he], () => Di);
4385
+ window.emWidgets = { topic: qr };
4386
+ const dr = (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)), Gi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4387
+ function go(e, t) {
4410
4388
  const r = window.navigator.userAgent;
4411
- return gr(r) ? t = e.filter((n) => {
4389
+ return dr(r) ? t = e.filter((n) => {
4412
4390
  if (n.gameModel && (n.gameModel.platform.includes("iPad") || n.gameModel.platform.includes("iPhone") || n.gameModel.platform.includes("Android")))
4413
4391
  return n;
4414
4392
  }) : t = e.filter((n) => {
@@ -4416,13 +4394,13 @@ function xo(e, t) {
4416
4394
  return n;
4417
4395
  }), t;
4418
4396
  }
4419
- function Xi(e, t) {
4397
+ function Fi(e, t) {
4420
4398
  if (e) {
4421
4399
  const r = document.createElement("style");
4422
4400
  r.innerHTML = t, e.appendChild(r);
4423
4401
  }
4424
4402
  }
4425
- function Wi(e, t) {
4403
+ function ji(e, t) {
4426
4404
  const r = new URL(t);
4427
4405
  fetch(r.href).then((n) => n.text()).then((n) => {
4428
4406
  const i = document.createElement("style");
@@ -4431,7 +4409,7 @@ function Wi(e, t) {
4431
4409
  console.error("There was an error while trying to load client styling from URL", n);
4432
4410
  });
4433
4411
  }
4434
- function zi(e, t, r) {
4412
+ function ki(e, t, r) {
4435
4413
  if (window.emMessageBus) {
4436
4414
  const n = document.createElement("style");
4437
4415
  window.emMessageBus.subscribe(t, (i) => {
@@ -4439,13 +4417,13 @@ function zi(e, t, r) {
4439
4417
  });
4440
4418
  }
4441
4419
  }
4442
- function Bt(e, t) {
4443
- dr(e, t);
4420
+ function St(e, t) {
4421
+ ur(e, t);
4444
4422
  }
4445
- function Zi(e) {
4446
- ie.set(e);
4423
+ function Vi(e) {
4424
+ ne.set(e);
4447
4425
  }
4448
- const Pt = {
4426
+ const wt = {
4449
4427
  en: {
4450
4428
  error: "500 Error - Internal Server Error"
4451
4429
  },
@@ -4477,7 +4455,7 @@ if (typeof window < "u") {
4477
4455
  }
4478
4456
  };
4479
4457
  };
4480
- customElements.define = e(customElements.define), import("./CasinoCalendarDailyDetails-CmmQq8VR.js").then(({ default: t }) => {
4458
+ customElements.define = e(customElements.define), import("./CasinoCalendarDailyDetails-CcuM0Eaq.js").then(({ default: t }) => {
4481
4459
  !customElements.get("casino-calendar-daily-details") && customElements.define("casino-calendar-daily-details", t.element);
4482
4460
  });
4483
4461
  }
@@ -4493,70 +4471,70 @@ if (typeof window < "u") {
4493
4471
  }
4494
4472
  };
4495
4473
  };
4496
- customElements.define = e(customElements.define), import("./CasinoCalendarDailyItem-DlHg6exr.js").then(({ default: t }) => {
4474
+ customElements.define = e(customElements.define), import("./CasinoCalendarDailyItem-DateMcJ_.js").then(({ default: t }) => {
4497
4475
  !customElements.get("casino-calendar-daily-item") && customElements.define("casino-calendar-daily-item", t.element);
4498
4476
  });
4499
4477
  }
4500
- function Qi(e) {
4501
- Sr(e, "svelte-61avp5", `.svelte-61avp5{font-family:inherit}.CasinoCalendarItem.svelte-61avp5{display:flex;flex-direction:row;flex-wrap:nowrap;text-align:left;gap:10px;overflow-x:auto;overflow-y:hidden;justify-content:space-evenly}.Mobile.svelte-61avp5{padding:0 10px;height:286px;overflow-y:visible;overflow-x:scroll;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.CalendarDetailsWrapper.svelte-61avp5{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0;background-color:var(--emw--color-dark-gray, rgba(0, 0, 0, 0.9))}.LoadingSpinner.svelte-61avp5{display:block;width:80px;height:80px;margin:0 auto
4478
+ function Xi(e) {
4479
+ gr(e, "svelte-61avp5", `.svelte-61avp5{font-family:inherit}.CasinoCalendarItem.svelte-61avp5{display:flex;flex-direction:row;flex-wrap:nowrap;text-align:left;gap:10px;overflow-x:auto;overflow-y:hidden;justify-content:space-evenly}.Mobile.svelte-61avp5{padding:0 10px;height:286px;overflow-y:visible;overflow-x:scroll;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.CalendarDetailsWrapper.svelte-61avp5{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0;background-color:var(--emw--color-dark-gray, rgba(0, 0, 0, 0.9))}.LoadingSpinner.svelte-61avp5{display:block;width:80px;height:80px;margin:0 auto
4502
4480
  }.LoadingSpinner.svelte-61avp5:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent;animation:svelte-61avp5-LoadingSpinner 1.2s linear infinite}@keyframes svelte-61avp5-LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}`);
4503
4481
  }
4504
- function At(e, t, r) {
4482
+ function Tt(e, t, r) {
4505
4483
  const n = e.slice();
4506
4484
  return n[25] = t[r], n[27] = r, n;
4507
4485
  }
4508
- function Ji(e) {
4509
- let t, r, n, i = st(
4486
+ function Wi(e) {
4487
+ let t, r, n, i = rt(
4510
4488
  /*calendarCollections*/
4511
4489
  e[6]
4512
4490
  ), o = [];
4513
4491
  for (let s = 0; s < i.length; s += 1)
4514
- o[s] = Ot(At(e, i, s));
4492
+ o[s] = Ht(Tt(e, i, s));
4515
4493
  let a = (
4516
4494
  /*calendarModalOpened*/
4517
- e[11] == !0 && It(e)
4495
+ e[11] == !0 && Bt(e)
4518
4496
  );
4519
4497
  return {
4520
4498
  c() {
4521
4499
  t = R("div");
4522
4500
  for (let s = 0; s < o.length; s += 1)
4523
4501
  o[s].c();
4524
- r = Pr(), a && a.c(), j(t, "class", n = "CasinoCalendarItem " + /*mobileView*/
4502
+ r = Sr(), a && a.c(), j(t, "class", n = "CasinoCalendarItem " + /*mobileView*/
4525
4503
  (e[10] ? "Mobile" : "") + " svelte-61avp5");
4526
4504
  },
4527
4505
  m(s, l) {
4528
4506
  k(s, t, l);
4529
4507
  for (let u = 0; u < o.length; u += 1)
4530
4508
  o[u] && o[u].m(t, null);
4531
- Se(t, r), a && a.m(t, null);
4509
+ xe(t, r), a && a.m(t, null);
4532
4510
  },
4533
4511
  p(s, l) {
4534
4512
  if (l & /*calendarCollections, lang, clientstyling, clientstylingurl, mbsource, translationurl*/
4535
4513
  95) {
4536
- i = st(
4514
+ i = rt(
4537
4515
  /*calendarCollections*/
4538
4516
  s[6]
4539
4517
  );
4540
4518
  let u;
4541
4519
  for (u = 0; u < i.length; u += 1) {
4542
- const h = At(s, i, u);
4543
- o[u] ? o[u].p(h, l) : (o[u] = Ot(h), o[u].c(), o[u].m(t, r));
4520
+ const h = Tt(s, i, u);
4521
+ o[u] ? o[u].p(h, l) : (o[u] = Ht(h), o[u].c(), o[u].m(t, r));
4544
4522
  }
4545
4523
  for (; u < o.length; u += 1)
4546
4524
  o[u].d(1);
4547
4525
  o.length = i.length;
4548
4526
  }
4549
4527
  /*calendarModalOpened*/
4550
- 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*/
4528
+ s[11] == !0 ? a ? a.p(s, l) : (a = Bt(s), a.c(), a.m(t, null)) : a && (a.d(1), a = null), l & /*mobileView*/
4551
4529
  1024 && n !== (n = "CasinoCalendarItem " + /*mobileView*/
4552
4530
  (s[10] ? "Mobile" : "") + " svelte-61avp5") && j(t, "class", n);
4553
4531
  },
4554
4532
  d(s) {
4555
- s && D(t), Hr(o, s), a && a.d();
4533
+ s && D(t), Er(o, s), a && a.d();
4556
4534
  }
4557
4535
  };
4558
4536
  }
4559
- function qi(e) {
4537
+ function zi(e) {
4560
4538
  let t;
4561
4539
  return {
4562
4540
  c() {
@@ -4571,68 +4549,68 @@ function qi(e) {
4571
4549
  }
4572
4550
  };
4573
4551
  }
4574
- function Yi(e) {
4552
+ function Zi(e) {
4575
4553
  let t, r = (
4576
4554
  /*$_*/
4577
4555
  e[12]("error") + ""
4578
4556
  ), n;
4579
4557
  return {
4580
4558
  c() {
4581
- t = R("p"), n = Ke(r), j(t, "class", "SearchLoading svelte-61avp5");
4559
+ t = R("p"), n = qe(r), j(t, "class", "SearchLoading svelte-61avp5");
4582
4560
  },
4583
4561
  m(i, o) {
4584
- k(i, t, o), Se(t, n);
4562
+ k(i, t, o), xe(t, n);
4585
4563
  },
4586
4564
  p(i, o) {
4587
4565
  o & /*$_*/
4588
4566
  4096 && r !== (r = /*$_*/
4589
- i[12]("error") + "") && Or(n, r);
4567
+ i[12]("error") + "") && Tr(n, r);
4590
4568
  },
4591
4569
  d(i) {
4592
4570
  i && D(t);
4593
4571
  }
4594
4572
  };
4595
4573
  }
4596
- function Ot(e) {
4574
+ function Ht(e) {
4597
4575
  let t, r, n, i, o, a;
4598
4576
  return {
4599
4577
  c() {
4600
- t = R("casino-calendar-daily-item"), d(t, "dailybackground", r = /*dailyCalendarData*/
4601
- e[25].dailyBackground), d(t, "dailyicon", n = /*dailyCalendarData*/
4602
- e[25].dailyIcon), d(t, "dailyday", i = /*dailyCalendarData*/
4603
- e[25].dailyDay), d(t, "dailydescription", o = /*dailyCalendarData*/
4604
- e[25].dailyDescription), d(t, "dailybuttontitle", a = /*dailyCalendarData*/
4605
- e[25].dailyButtonTitle), d(
4578
+ t = R("casino-calendar-daily-item"), p(t, "dailybackground", r = /*dailyCalendarData*/
4579
+ e[25].dailyBackground), p(t, "dailyicon", n = /*dailyCalendarData*/
4580
+ e[25].dailyIcon), p(t, "dailyday", i = /*dailyCalendarData*/
4581
+ e[25].dailyDay), p(t, "dailydescription", o = /*dailyCalendarData*/
4582
+ e[25].dailyDescription), p(t, "dailybuttontitle", a = /*dailyCalendarData*/
4583
+ e[25].dailyButtonTitle), p(
4606
4584
  t,
4607
4585
  "index",
4608
4586
  /*index*/
4609
4587
  e[27]
4610
- ), d(
4588
+ ), p(
4611
4589
  t,
4612
4590
  "lang",
4613
4591
  /*lang*/
4614
4592
  e[0]
4615
- ), d(
4593
+ ), p(
4616
4594
  t,
4617
4595
  "clientstyling",
4618
4596
  /*clientstyling*/
4619
4597
  e[1]
4620
- ), d(
4598
+ ), p(
4621
4599
  t,
4622
4600
  "clientstylingurl",
4623
4601
  /*clientstylingurl*/
4624
4602
  e[2]
4625
- ), d(
4603
+ ), p(
4626
4604
  t,
4627
4605
  "mbsource",
4628
4606
  /*mbsource*/
4629
4607
  e[4]
4630
- ), d(
4608
+ ), p(
4631
4609
  t,
4632
4610
  "translationurl",
4633
4611
  /*translationurl*/
4634
4612
  e[3]
4635
- ), d(t, "class", "svelte-61avp5");
4613
+ ), p(t, "class", "svelte-61avp5");
4636
4614
  },
4637
4615
  m(s, l) {
4638
4616
  k(s, t, l);
@@ -4640,40 +4618,40 @@ function Ot(e) {
4640
4618
  p(s, l) {
4641
4619
  l & /*calendarCollections*/
4642
4620
  64 && r !== (r = /*dailyCalendarData*/
4643
- s[25].dailyBackground) && d(t, "dailybackground", r), l & /*calendarCollections*/
4621
+ s[25].dailyBackground) && p(t, "dailybackground", r), l & /*calendarCollections*/
4644
4622
  64 && n !== (n = /*dailyCalendarData*/
4645
- s[25].dailyIcon) && d(t, "dailyicon", n), l & /*calendarCollections*/
4623
+ s[25].dailyIcon) && p(t, "dailyicon", n), l & /*calendarCollections*/
4646
4624
  64 && i !== (i = /*dailyCalendarData*/
4647
- s[25].dailyDay) && d(t, "dailyday", i), l & /*calendarCollections*/
4625
+ s[25].dailyDay) && p(t, "dailyday", i), l & /*calendarCollections*/
4648
4626
  64 && o !== (o = /*dailyCalendarData*/
4649
- s[25].dailyDescription) && d(t, "dailydescription", o), l & /*calendarCollections*/
4627
+ s[25].dailyDescription) && p(t, "dailydescription", o), l & /*calendarCollections*/
4650
4628
  64 && a !== (a = /*dailyCalendarData*/
4651
- s[25].dailyButtonTitle) && d(t, "dailybuttontitle", a), l & /*lang*/
4652
- 1 && d(
4629
+ s[25].dailyButtonTitle) && p(t, "dailybuttontitle", a), l & /*lang*/
4630
+ 1 && p(
4653
4631
  t,
4654
4632
  "lang",
4655
4633
  /*lang*/
4656
4634
  s[0]
4657
4635
  ), l & /*clientstyling*/
4658
- 2 && d(
4636
+ 2 && p(
4659
4637
  t,
4660
4638
  "clientstyling",
4661
4639
  /*clientstyling*/
4662
4640
  s[1]
4663
4641
  ), l & /*clientstylingurl*/
4664
- 4 && d(
4642
+ 4 && p(
4665
4643
  t,
4666
4644
  "clientstylingurl",
4667
4645
  /*clientstylingurl*/
4668
4646
  s[2]
4669
4647
  ), l & /*mbsource*/
4670
- 16 && d(
4648
+ 16 && p(
4671
4649
  t,
4672
4650
  "mbsource",
4673
4651
  /*mbsource*/
4674
4652
  s[4]
4675
4653
  ), l & /*translationurl*/
4676
- 8 && d(
4654
+ 8 && p(
4677
4655
  t,
4678
4656
  "translationurl",
4679
4657
  /*translationurl*/
@@ -4685,63 +4663,63 @@ function Ot(e) {
4685
4663
  }
4686
4664
  };
4687
4665
  }
4688
- function It(e) {
4666
+ function Bt(e) {
4689
4667
  let t, r, n, i, o, a, s, l;
4690
4668
  return {
4691
4669
  c() {
4692
- t = R("div"), r = R("casino-calendar-daily-details"), d(r, "dailybackground", n = /*calendarCollections*/
4670
+ t = R("div"), r = R("casino-calendar-daily-details"), p(r, "dailybackground", n = /*calendarCollections*/
4693
4671
  e[6][
4694
4672
  /*selectedIndex*/
4695
4673
  e[7]
4696
- ].dailyBackground), d(r, "dailybuttontitle", i = /*calendarCollections*/
4674
+ ].dailyBackground), p(r, "dailybuttontitle", i = /*calendarCollections*/
4697
4675
  e[6][
4698
4676
  /*selectedIndex*/
4699
4677
  e[7]
4700
- ].dailyButtonTitle), d(r, "dailyday", o = /*calendarCollections*/
4678
+ ].dailyButtonTitle), p(r, "dailyday", o = /*calendarCollections*/
4701
4679
  e[6][
4702
4680
  /*selectedIndex*/
4703
4681
  e[7]
4704
- ].dailyDay), d(r, "dailydescription", a = /*calendarCollections*/
4682
+ ].dailyDay), p(r, "dailydescription", a = /*calendarCollections*/
4705
4683
  e[6][
4706
4684
  /*selectedIndex*/
4707
4685
  e[7]
4708
- ].dailyDescription), d(r, "dailyicon", s = /*calendarCollections*/
4686
+ ].dailyDescription), p(r, "dailyicon", s = /*calendarCollections*/
4709
4687
  e[6][
4710
4688
  /*selectedIndex*/
4711
4689
  e[7]
4712
- ].dailyIcon), d(r, "dailytitle", l = /*calendarCollections*/
4690
+ ].dailyIcon), p(r, "dailytitle", l = /*calendarCollections*/
4713
4691
  e[6][
4714
4692
  /*selectedIndex*/
4715
4693
  e[7]
4716
- ].dailyTitle), d(
4694
+ ].dailyTitle), p(
4717
4695
  r,
4718
4696
  "lang",
4719
4697
  /*lang*/
4720
4698
  e[0]
4721
- ), d(
4699
+ ), p(
4722
4700
  r,
4723
4701
  "clientstyling",
4724
4702
  /*clientstyling*/
4725
4703
  e[1]
4726
- ), d(
4704
+ ), p(
4727
4705
  r,
4728
4706
  "clientstylingurl",
4729
4707
  /*clientstylingurl*/
4730
4708
  e[2]
4731
- ), d(
4709
+ ), p(
4732
4710
  r,
4733
4711
  "mbsource",
4734
4712
  /*mbsource*/
4735
4713
  e[4]
4736
- ), d(
4714
+ ), p(
4737
4715
  r,
4738
4716
  "translationurl",
4739
4717
  /*translationurl*/
4740
4718
  e[3]
4741
- ), d(r, "class", "svelte-61avp5"), j(t, "class", "CalendarDetailsWrapper svelte-61avp5");
4719
+ ), p(r, "class", "svelte-61avp5"), j(t, "class", "CalendarDetailsWrapper svelte-61avp5");
4742
4720
  },
4743
4721
  m(u, h) {
4744
- k(u, t, h), Se(t, r);
4722
+ k(u, t, h), xe(t, r);
4745
4723
  },
4746
4724
  p(u, h) {
4747
4725
  h & /*calendarCollections, selectedIndex*/
@@ -4749,57 +4727,57 @@ function It(e) {
4749
4727
  u[6][
4750
4728
  /*selectedIndex*/
4751
4729
  u[7]
4752
- ].dailyBackground) && d(r, "dailybackground", n), h & /*calendarCollections, selectedIndex*/
4730
+ ].dailyBackground) && p(r, "dailybackground", n), h & /*calendarCollections, selectedIndex*/
4753
4731
  192 && i !== (i = /*calendarCollections*/
4754
4732
  u[6][
4755
4733
  /*selectedIndex*/
4756
4734
  u[7]
4757
- ].dailyButtonTitle) && d(r, "dailybuttontitle", i), h & /*calendarCollections, selectedIndex*/
4735
+ ].dailyButtonTitle) && p(r, "dailybuttontitle", i), h & /*calendarCollections, selectedIndex*/
4758
4736
  192 && o !== (o = /*calendarCollections*/
4759
4737
  u[6][
4760
4738
  /*selectedIndex*/
4761
4739
  u[7]
4762
- ].dailyDay) && d(r, "dailyday", o), h & /*calendarCollections, selectedIndex*/
4740
+ ].dailyDay) && p(r, "dailyday", o), h & /*calendarCollections, selectedIndex*/
4763
4741
  192 && a !== (a = /*calendarCollections*/
4764
4742
  u[6][
4765
4743
  /*selectedIndex*/
4766
4744
  u[7]
4767
- ].dailyDescription) && d(r, "dailydescription", a), h & /*calendarCollections, selectedIndex*/
4745
+ ].dailyDescription) && p(r, "dailydescription", a), h & /*calendarCollections, selectedIndex*/
4768
4746
  192 && s !== (s = /*calendarCollections*/
4769
4747
  u[6][
4770
4748
  /*selectedIndex*/
4771
4749
  u[7]
4772
- ].dailyIcon) && d(r, "dailyicon", s), h & /*calendarCollections, selectedIndex*/
4750
+ ].dailyIcon) && p(r, "dailyicon", s), h & /*calendarCollections, selectedIndex*/
4773
4751
  192 && l !== (l = /*calendarCollections*/
4774
4752
  u[6][
4775
4753
  /*selectedIndex*/
4776
4754
  u[7]
4777
- ].dailyTitle) && d(r, "dailytitle", l), h & /*lang*/
4778
- 1 && d(
4755
+ ].dailyTitle) && p(r, "dailytitle", l), h & /*lang*/
4756
+ 1 && p(
4779
4757
  r,
4780
4758
  "lang",
4781
4759
  /*lang*/
4782
4760
  u[0]
4783
4761
  ), h & /*clientstyling*/
4784
- 2 && d(
4762
+ 2 && p(
4785
4763
  r,
4786
4764
  "clientstyling",
4787
4765
  /*clientstyling*/
4788
4766
  u[1]
4789
4767
  ), h & /*clientstylingurl*/
4790
- 4 && d(
4768
+ 4 && p(
4791
4769
  r,
4792
4770
  "clientstylingurl",
4793
4771
  /*clientstylingurl*/
4794
4772
  u[2]
4795
4773
  ), h & /*mbsource*/
4796
- 16 && d(
4774
+ 16 && p(
4797
4775
  r,
4798
4776
  "mbsource",
4799
4777
  /*mbsource*/
4800
4778
  u[4]
4801
4779
  ), h & /*translationurl*/
4802
- 8 && d(
4780
+ 8 && p(
4803
4781
  r,
4804
4782
  "translationurl",
4805
4783
  /*translationurl*/
@@ -4811,24 +4789,24 @@ function It(e) {
4811
4789
  }
4812
4790
  };
4813
4791
  }
4814
- function Ki(e) {
4792
+ function Qi(e) {
4815
4793
  let t;
4816
4794
  function r(o, a) {
4817
4795
  if (
4818
4796
  /*hasErrors*/
4819
4797
  o[9]
4820
4798
  )
4821
- return Yi;
4799
+ return Zi;
4822
4800
  if (
4823
4801
  /*isLoading*/
4824
4802
  o[8]
4825
4803
  )
4826
- return qi;
4804
+ return zi;
4827
4805
  if (
4828
4806
  /*calendarCollections*/
4829
4807
  o[6]?.length
4830
4808
  )
4831
- return Ji;
4809
+ return Wi;
4832
4810
  }
4833
4811
  let n = r(e), i = n && n(e);
4834
4812
  return {
@@ -4848,42 +4826,42 @@ function Ki(e) {
4848
4826
  }
4849
4827
  };
4850
4828
  }
4851
- function eo(e, t, r) {
4829
+ function Ji(e, t, r) {
4852
4830
  let n;
4853
- xr(e, ki, (m) => r(12, n = m));
4854
- 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, p, b = 0, g = !0, S = !1, A = !1, H = window.navigator.userAgent, w = !1, L;
4855
- const O = () => {
4856
- Zi(s);
4831
+ yr(e, Ui, (d) => r(12, n = d));
4832
+ 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, A = !1, H = window.navigator.userAgent, w = !1;
4833
+ const L = () => {
4834
+ Vi(s);
4857
4835
  };
4858
- Object.keys(Pt).forEach((m) => {
4859
- Bt(m, Pt[m]);
4836
+ Object.keys(wt).forEach((d) => {
4837
+ St(d, wt[d]);
4860
4838
  });
4861
- const M = () => {
4862
- let m = h;
4863
- if (m)
4864
- return fetch(m).then((C) => C.json()).then((C) => {
4839
+ const O = () => {
4840
+ let d = h;
4841
+ if (d)
4842
+ return fetch(d).then((C) => C.json()).then((C) => {
4865
4843
  Object.keys(C).forEach((G) => {
4866
- Bt(G, C[G]);
4844
+ St(G, C[G]);
4867
4845
  });
4868
4846
  }).catch((C) => {
4869
4847
  console.log(C);
4870
4848
  });
4871
- }, x = () => {
4849
+ }, N = () => {
4872
4850
  r(8, g = !0);
4873
- let m = new URL(`${i}/${s}/daily-calendar`);
4874
- m.searchParams.append("userRoles", a), m.searchParams.append("env", o);
4875
- let C = Vi(H);
4876
- C && (C === "PC" ? m.searchParams.append("device", "dk") : C === "iPad" || C === "iPhone" ? m.searchParams.append("device", "ios") : m.searchParams.append("device", "mtWeb")), fetch(m.href).then((G) => G.json()).then((G) => {
4877
- r(6, p = G);
4851
+ let d = new URL(`${i}/${s}/daily-calendar`);
4852
+ d.searchParams.append("userRoles", a), d.searchParams.append("env", o);
4853
+ let C = Gi(H);
4854
+ C && (C === "PC" ? d.searchParams.append("device", "dk") : C === "iPad" || C === "iPhone" ? d.searchParams.append("device", "ios") : d.searchParams.append("device", "mtWeb")), fetch(d.href).then((G) => G.json()).then((G) => {
4855
+ r(6, m = G);
4878
4856
  }).catch((G) => {
4879
4857
  console.log(G), r(9, S = !0);
4880
4858
  }).finally(() => {
4881
4859
  r(8, g = !1);
4882
4860
  });
4883
- }, I = () => {
4884
- x();
4885
- }, B = (m) => {
4886
- m.data && m.data.type == "OpenCalendar" && (r(7, b = m.data.index), r(11, w = !0), window.postMessage(
4861
+ }, x = () => {
4862
+ N();
4863
+ }, B = (d) => {
4864
+ d.data && d.data.type == "OpenCalendar" && (r(7, b = d.data.index), r(11, w = !0), window.postMessage(
4887
4865
  {
4888
4866
  type: "ShowModal",
4889
4867
  selectedIndex: b,
@@ -4892,27 +4870,27 @@ function eo(e, t, r) {
4892
4870
  window.location.href
4893
4871
  ), window.postMessage({
4894
4872
  type: "DailyEventsData",
4895
- data: p[b]?.dailyEvents
4896
- })), m.data && m.data.type == "ModalClosed" && r(11, w = !1);
4873
+ data: m[b]?.dailyEvents
4874
+ })), d.data && d.data.type == "ModalClosed" && r(11, w = !1);
4897
4875
  };
4898
- Cr(() => (window.addEventListener("message", B, !1), gr(H) && r(10, A = !0), () => {
4899
- window.emMessageBus && L && window.emMessageBus.unsubscribe("Casino.Style"), window.removeEventListener("message", B);
4876
+ Br(() => (window.addEventListener("message", B, !1), dr(H) && r(10, A = !0), () => {
4877
+ window.removeEventListener("message", B);
4900
4878
  }));
4901
- function z(m) {
4902
- $e[m ? "unshift" : "push"](() => {
4903
- c = m, r(5, c);
4879
+ function I(d) {
4880
+ Me[d ? "unshift" : "push"](() => {
4881
+ c = d, r(5, c);
4904
4882
  });
4905
4883
  }
4906
- return e.$$set = (m) => {
4907
- "cmsendpoint" in m && r(13, i = m.cmsendpoint), "env" in m && r(14, o = m.env), "userroles" in m && r(15, a = m.userroles), "lang" in m && r(0, s = m.lang), "clientstyling" in m && r(1, l = m.clientstyling), "clientstylingurl" in m && r(2, u = m.clientstylingurl), "translationurl" in m && r(3, h = m.translationurl), "mbsource" in m && r(4, f = m.mbsource);
4884
+ return e.$$set = (d) => {
4885
+ "cmsendpoint" in d && r(13, i = d.cmsendpoint), "env" in d && r(14, o = d.env), "userroles" in d && r(15, a = d.userroles), "lang" in d && r(0, s = d.lang), "clientstyling" in d && r(1, l = d.clientstyling), "clientstylingurl" in d && r(2, u = d.clientstylingurl), "translationurl" in d && r(3, h = d.translationurl), "mbsource" in d && r(4, f = d.mbsource);
4908
4886
  }, e.$$.update = () => {
4909
4887
  e.$$.dirty & /*cmsendpoint, lang, env, userroles*/
4910
- 57345 && i && s && o && a && I(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4911
- 34 && l && c && Xi(c, l), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4912
- 36 && u && c && Wi(c, u), e.$$.dirty & /*customStylingContainer, mbsource*/
4913
- 48 && c && zi(c, `${f}.Style`), e.$$.dirty & /*lang*/
4914
- 1 && s && O(), e.$$.dirty & /*lang, translationurl*/
4915
- 9 && s && h && M();
4888
+ 57345 && i && s && o && a && x(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4889
+ 34 && l && c && Fi(c, l), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4890
+ 36 && u && c && ji(c, u), e.$$.dirty & /*customStylingContainer, mbsource*/
4891
+ 48 && c && ki(c, `${f}.Style`), e.$$.dirty & /*lang*/
4892
+ 1 && s && L(), e.$$.dirty & /*lang, translationurl*/
4893
+ 9 && s && h && O();
4916
4894
  }, [
4917
4895
  s,
4918
4896
  l,
@@ -4920,7 +4898,7 @@ function eo(e, t, r) {
4920
4898
  h,
4921
4899
  f,
4922
4900
  c,
4923
- p,
4901
+ m,
4924
4902
  b,
4925
4903
  g,
4926
4904
  S,
@@ -4930,17 +4908,17 @@ function eo(e, t, r) {
4930
4908
  i,
4931
4909
  o,
4932
4910
  a,
4933
- z
4911
+ I
4934
4912
  ];
4935
4913
  }
4936
- class vr extends Gr {
4914
+ class pr extends Mr {
4937
4915
  constructor(t) {
4938
- super(), Dr(
4916
+ super(), Lr(
4939
4917
  this,
4940
4918
  t,
4941
- eo,
4942
- Ki,
4943
- Lt,
4919
+ Ji,
4920
+ Qi,
4921
+ At,
4944
4922
  {
4945
4923
  cmsendpoint: 13,
4946
4924
  env: 14,
@@ -4951,118 +4929,118 @@ class vr extends Gr {
4951
4929
  translationurl: 3,
4952
4930
  mbsource: 4
4953
4931
  },
4954
- Qi
4932
+ Xi
4955
4933
  );
4956
4934
  }
4957
4935
  get cmsendpoint() {
4958
4936
  return this.$$.ctx[13];
4959
4937
  }
4960
4938
  set cmsendpoint(t) {
4961
- this.$$set({ cmsendpoint: t }), N();
4939
+ this.$$set({ cmsendpoint: t }), M();
4962
4940
  }
4963
4941
  get env() {
4964
4942
  return this.$$.ctx[14];
4965
4943
  }
4966
4944
  set env(t) {
4967
- this.$$set({ env: t }), N();
4945
+ this.$$set({ env: t }), M();
4968
4946
  }
4969
4947
  get userroles() {
4970
4948
  return this.$$.ctx[15];
4971
4949
  }
4972
4950
  set userroles(t) {
4973
- this.$$set({ userroles: t }), N();
4951
+ this.$$set({ userroles: t }), M();
4974
4952
  }
4975
4953
  get lang() {
4976
4954
  return this.$$.ctx[0];
4977
4955
  }
4978
4956
  set lang(t) {
4979
- this.$$set({ lang: t }), N();
4957
+ this.$$set({ lang: t }), M();
4980
4958
  }
4981
4959
  get clientstyling() {
4982
4960
  return this.$$.ctx[1];
4983
4961
  }
4984
4962
  set clientstyling(t) {
4985
- this.$$set({ clientstyling: t }), N();
4963
+ this.$$set({ clientstyling: t }), M();
4986
4964
  }
4987
4965
  get clientstylingurl() {
4988
4966
  return this.$$.ctx[2];
4989
4967
  }
4990
4968
  set clientstylingurl(t) {
4991
- this.$$set({ clientstylingurl: t }), N();
4969
+ this.$$set({ clientstylingurl: t }), M();
4992
4970
  }
4993
4971
  get translationurl() {
4994
4972
  return this.$$.ctx[3];
4995
4973
  }
4996
4974
  set translationurl(t) {
4997
- this.$$set({ translationurl: t }), N();
4975
+ this.$$set({ translationurl: t }), M();
4998
4976
  }
4999
4977
  get mbsource() {
5000
4978
  return this.$$.ctx[4];
5001
4979
  }
5002
4980
  set mbsource(t) {
5003
- this.$$set({ mbsource: t }), N();
4981
+ this.$$set({ mbsource: t }), M();
5004
4982
  }
5005
4983
  }
5006
- Ur(vr, { cmsendpoint: {}, env: {}, userroles: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
5007
- const So = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4984
+ Nr(pr, { cmsendpoint: {}, env: {}, userroles: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
4985
+ const vo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5008
4986
  __proto__: null,
5009
- default: vr
4987
+ default: pr
5010
4988
  }, Symbol.toStringTag, { value: "Module" }));
5011
4989
  export {
5012
- ie as $,
5013
- uo as A,
5014
- io as B,
5015
- oo as C,
5016
- no as D,
5017
- Or as E,
5018
- Hr as F,
5019
- P as G,
5020
- to as H,
5021
- ki as I,
5022
- Br as J,
5023
- ao as K,
5024
- co as L,
5025
- po as M,
4990
+ ne as $,
4991
+ io as A,
4992
+ Sr as B,
4993
+ Me as C,
4994
+ qi as D,
4995
+ xr as E,
4996
+ no as F,
4997
+ ao as G,
4998
+ lo as H,
4999
+ Fi as I,
5000
+ ji as J,
5001
+ ki as K,
5002
+ Nr as L,
5003
+ Ui as M,
5026
5004
  X as N,
5027
- lo as O,
5028
- ce as P,
5029
- d as Q,
5030
- Vi as R,
5031
- Gr as S,
5032
- ho as T,
5033
- fo as U,
5034
- bo as V,
5035
- xo as W,
5036
- Eo as X,
5037
- _o as Y,
5038
- mo as Z,
5039
- so as _,
5040
- dr as a,
5041
- xe as a0,
5042
- So as a1,
5043
- Sr as b,
5044
- Ur as c,
5045
- k as d,
5046
- R as e,
5047
- N as f,
5048
- go as g,
5049
- Ut as h,
5050
- Dr as i,
5051
- D as j,
5052
- xr as k,
5053
- Wi as l,
5054
- zi as m,
5055
- yo as n,
5056
- Cr as o,
5057
- gr as p,
5058
- $e as q,
5059
- Xi as r,
5060
- Lt as s,
5061
- vo as t,
5062
- ro as u,
5063
- st as v,
5064
- Pr as w,
5065
- Ke as x,
5066
- j as y,
5067
- Se as z
5005
+ oo as O,
5006
+ he as P,
5007
+ p as Q,
5008
+ Gi as R,
5009
+ Mr as S,
5010
+ so as T,
5011
+ uo as U,
5012
+ co as V,
5013
+ go as W,
5014
+ yo as X,
5015
+ bo as Y,
5016
+ ho as Z,
5017
+ ro as _,
5018
+ ur as a,
5019
+ Ee as a0,
5020
+ vo as a1,
5021
+ gr as b,
5022
+ Mt as c,
5023
+ D as d,
5024
+ po as e,
5025
+ M as f,
5026
+ fo as g,
5027
+ k as h,
5028
+ Lr as i,
5029
+ R as j,
5030
+ yr as k,
5031
+ dr as l,
5032
+ Tr as m,
5033
+ P as n,
5034
+ Br as o,
5035
+ xe as p,
5036
+ qe as q,
5037
+ j as r,
5038
+ At as s,
5039
+ mo as t,
5040
+ Yi as u,
5041
+ rt as v,
5042
+ Er as w,
5043
+ eo as x,
5044
+ to as y,
5045
+ Ki as z
5068
5046
  };