@everymatrix/casino-page 1.77.20 → 1.77.22

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 (82) hide show
  1. package/components/CasinoCalendar-BEFWuyZL.cjs +19 -0
  2. package/components/{CasinoCalendar-CTJzAFDS.js → CasinoCalendar-OJZrTCla.js} +803 -760
  3. package/components/{CasinoCalendar-h4BEb4z4.js → CasinoCalendar-nkrznZpo.js} +824 -781
  4. package/components/{CasinoCalendarDailyDetails-BDg2pTmQ.cjs → CasinoCalendarDailyDetails-B0uEWbbt.cjs} +1 -1
  5. package/components/{CasinoCalendarDailyDetails-CNr6Gtgp.js → CasinoCalendarDailyDetails-D-PrPj8s.js} +2 -2
  6. package/components/{CasinoCalendarDailyDetails-DI0Ileg6.js → CasinoCalendarDailyDetails-Jxs5L-1T.js} +2 -2
  7. package/components/{CasinoCalendarDailyItem-Crg8LOyT.cjs → CasinoCalendarDailyItem-BJHwZkKJ.cjs} +1 -1
  8. package/components/{CasinoCalendarDailyItem-Dv2dxEUu.js → CasinoCalendarDailyItem-D24LBmnc.js} +2 -2
  9. package/components/{CasinoCalendarDailyItem-DRvU4SG9.js → CasinoCalendarDailyItem-DrZ46wZq.js} +2 -2
  10. package/components/{CasinoCollectionsProviders-CaJz5TsV.js → CasinoCollectionsProviders-CTlOHOW4.js} +1 -1
  11. package/components/{CasinoCollectionsProviders-DThEq70X.cjs → CasinoCollectionsProviders-CzBxsowK.cjs} +1 -1
  12. package/components/{CasinoCollectionsProviders-C4T01Ap8.js → CasinoCollectionsProviders-DBLRCWWo.js} +1 -1
  13. package/components/{CasinoFavoritesSection-CwU3VPSE.cjs → CasinoFavoritesSection-BurItg-S.cjs} +1 -1
  14. package/components/{CasinoFavoritesSection-fUZyhxEg.js → CasinoFavoritesSection-CqaFWWNw.js} +2 -2
  15. package/components/{CasinoFavoritesSection-DPt2GVps.js → CasinoFavoritesSection-DraV0MSt.js} +2 -2
  16. package/components/{CasinoFilter-CE1TpUk0.js → CasinoFilter-5hTa8CKw.js} +1 -1
  17. package/components/{CasinoFilter-C21_0UAN.cjs → CasinoFilter-BAo8wmWH.cjs} +1 -1
  18. package/components/{CasinoFilter-BxMocecG.js → CasinoFilter-CTkRb1UC.js} +1 -1
  19. package/components/{CasinoGameThumbnail-CGY6Xje5.js → CasinoGameThumbnail-7tgQYm_R.js} +2 -2
  20. package/components/{CasinoGameThumbnail-lrb0Lt69.cjs → CasinoGameThumbnail-RQtdJeDy.cjs} +1 -1
  21. package/components/{CasinoGameThumbnail-BmU1cmCN.js → CasinoGameThumbnail-ggwIl1Pw.js} +2 -2
  22. package/components/{CasinoGamesCategorySection-BTleP4rC.js → CasinoGamesCategorySection-C2ELh_D0.js} +5 -5
  23. package/components/{CasinoGamesCategorySection-DOLF3uWq.cjs → CasinoGamesCategorySection-C5V7hmwW.cjs} +1 -1
  24. package/components/{CasinoGamesCategorySection-CrbxYGPQ.js → CasinoGamesCategorySection-vNzKJNTE.js} +5 -5
  25. package/components/{CasinoJackpotBanner-8YIX2iSa.js → CasinoJackpotBanner-C51E4rGA.js} +2 -2
  26. package/components/{CasinoJackpotBanner-9KzD6zNg.js → CasinoJackpotBanner-CTxmfDSK.js} +2 -2
  27. package/components/{CasinoJackpotBanner-BpQbxm_o.cjs → CasinoJackpotBanner-DBer4LlE.cjs} +1 -1
  28. package/components/{CasinoLastPlayedSection-BALY7Ty1.js → CasinoLastPlayedSection-BVaBQx_r.js} +2 -2
  29. package/components/{CasinoLastPlayedSection-cE2zaRUS.js → CasinoLastPlayedSection-D4zSf-iH.js} +2 -2
  30. package/components/{CasinoLastPlayedSection-CzF64a5F.cjs → CasinoLastPlayedSection-DvqOceHg.cjs} +1 -1
  31. package/components/{CasinoMostPlayedSection-X4SciTf4.cjs → CasinoMostPlayedSection-67rPpLwO.cjs} +1 -1
  32. package/components/{CasinoMostPlayedSection-0tUiiHsT.js → CasinoMostPlayedSection-BtBK3dNe.js} +2 -2
  33. package/components/{CasinoMostPlayedSection-Bz_nW7nu.js → CasinoMostPlayedSection-C-yob1Wg.js} +2 -2
  34. package/components/{CasinoMyGames-BS-U24Zz.cjs → CasinoMyGames-C4HjhxAp.cjs} +1 -1
  35. package/components/{CasinoMyGames-Dt-INPH0.js → CasinoMyGames-CGk2YIXc.js} +4 -4
  36. package/components/{CasinoMyGames-BLpx4_59.js → CasinoMyGames-on4J8rS0.js} +4 -4
  37. package/components/{CasinoPage-Dmar_nNM.cjs → CasinoPage-0D_mE0t7.cjs} +1 -1
  38. package/components/{CasinoPage-D1d04snD.js → CasinoPage-B3fr6oUR.js} +11 -11
  39. package/components/{CasinoPage-LewyFuwv.js → CasinoPage-hmXNQabF.js} +11 -11
  40. package/components/{CasinoRandomGame-Cw1wWC4b.js → CasinoRandomGame-BAEkb2tu.js} +1 -1
  41. package/components/{CasinoRandomGame-ZDhQiyNU.js → CasinoRandomGame-BmMyshhG.js} +1 -1
  42. package/components/{CasinoRandomGame-DaTo0w8P.cjs → CasinoRandomGame-KabCqklE.cjs} +1 -1
  43. package/components/{CasinoSearch-C1QNYMfC.js → CasinoSearch-BpiOTe-d.js} +2 -2
  44. package/components/{CasinoSearch-yC-Q9ezK.cjs → CasinoSearch-RK-64XQL.cjs} +1 -1
  45. package/components/{CasinoSearch-D5bJE_Y0.js → CasinoSearch-RUGp93EK.js} +2 -2
  46. package/components/{CasinoSort-BIoO1YKc.js → CasinoSort-Bq2rlwaB.js} +1 -1
  47. package/components/{CasinoSort-MTzlRyDr.cjs → CasinoSort-DoQJjcDE.cjs} +1 -1
  48. package/components/{CasinoSort-CGbIZ-F7.js → CasinoSort-DuhCSjcj.js} +1 -1
  49. package/components/{CasinoWinners-BCEhjLxw.js → CasinoWinners-BW3nKr2t.js} +2 -2
  50. package/components/{CasinoWinners-CKYfMeQF.cjs → CasinoWinners-D7mQLu0o.cjs} +1 -1
  51. package/components/{CasinoWinners-xahwvwce.js → CasinoWinners-DrPaYn8M.js} +2 -2
  52. package/components/{GeneralAnimationLoading-C1nhTQZC.js → GeneralAnimationLoading-BK4eHT2E.js} +1 -1
  53. package/components/{GeneralAnimationLoading-DvSAyKrW.js → GeneralAnimationLoading-BlaU9rOM.js} +1 -1
  54. package/components/{GeneralAnimationLoading-afgF9tKY.cjs → GeneralAnimationLoading-QrfZPZRh.cjs} +1 -1
  55. package/es2015/casino-page.cjs +1 -1
  56. package/es2015/casino-page.js +1 -1
  57. package/esnext/casino-page.js +1 -1
  58. package/package.json +1 -1
  59. package/stencil/{casino-play-random-game-ABfwAfPN.cjs → casino-play-random-game-9IuvoPt4.cjs} +1 -1
  60. package/stencil/{casino-play-random-game-CfiV-fsU.js → casino-play-random-game-Cokl6Z0T.js} +1 -1
  61. package/stencil/{casino-play-random-game-qcuW8hxM.js → casino-play-random-game-aAxIDx1E.js} +1 -1
  62. package/stencil/{casino-play-random-game_2-CYMt-B8n.js → casino-play-random-game_2-C4OzRB6p.js} +1 -1
  63. package/stencil/{casino-play-random-game_2-OBohykCB.cjs → casino-play-random-game_2-CW63Z1oW.cjs} +1 -1
  64. package/stencil/{casino-play-random-game_2-BK-YJ99s.js → casino-play-random-game_2-DQXJFV3B.js} +1 -1
  65. package/stencil/{index-328e660d-BPIf0cie.js → index-328e660d-B68qAbuh.js} +170 -170
  66. package/stencil/{index-328e660d-Ddq5YC3Z.js → index-328e660d-Bw8nOXsd.js} +2 -2
  67. package/stencil/index-328e660d-r819jp36.cjs +1 -0
  68. package/stencil/{index-97d17652-D6HPqRtr.js → index-97d17652--F7PvMq9.js} +2 -2
  69. package/stencil/index-97d17652-BhLhk_xz.cjs +1 -0
  70. package/stencil/{index-97d17652-B0NIExnR.js → index-97d17652-CCFHkzJw.js} +2 -2
  71. package/stencil/{ui-image-BGKMDvh6.js → ui-image-2_i-_1cj.js} +1 -1
  72. package/stencil/{ui-image-b7b48fe5-BXmf73Ou.js → ui-image-b7b48fe5-ByRuJtdE.js} +1 -1
  73. package/stencil/{ui-image-b7b48fe5-c0NIgcTj.js → ui-image-b7b48fe5-D6iig_uN.js} +1 -1
  74. package/stencil/{ui-image-b7b48fe5-DaWM2RbJ.cjs → ui-image-b7b48fe5-DG83WzAo.cjs} +1 -1
  75. package/stencil/{ui-image-2AZlMiHS.js → ui-image-bN_3pDWc.js} +1 -1
  76. package/stencil/{ui-image-D8iqM9v9.cjs → ui-image-eY8BEG3a.cjs} +1 -1
  77. package/stencil/{ui-image_2-L-CYescb.js → ui-image_2-Bm97-wkj.js} +2 -2
  78. package/stencil/{ui-image_2-Cdo33umq.cjs → ui-image_2-DdFjzzNO.cjs} +1 -1
  79. package/stencil/{ui-image_2-DbQ7SENq.js → ui-image_2-qO3reSlr.js} +2 -2
  80. package/components/CasinoCalendar-N2R2M56f.cjs +0 -19
  81. package/stencil/index-328e660d-CIcbxWDj.cjs +0 -1
  82. package/stencil/index-97d17652-DNpK20ur.cjs +0 -1
@@ -1,6 +1,6 @@
1
1
  function P() {
2
2
  }
3
- function br(e, t) {
3
+ function Er(e, t) {
4
4
  for (const r in t)
5
5
  e[r] = t[r];
6
6
  return (
@@ -8,29 +8,29 @@ function br(e, t) {
8
8
  e
9
9
  );
10
10
  }
11
- function At(e) {
11
+ function Nt(e) {
12
12
  return e();
13
13
  }
14
- function tt() {
14
+ function st() {
15
15
  return /* @__PURE__ */ Object.create(null);
16
16
  }
17
17
  function X(e) {
18
- e.forEach(At);
18
+ e.forEach(Nt);
19
19
  }
20
- function xe(e) {
20
+ function Se(e) {
21
21
  return typeof e == "function";
22
22
  }
23
- function Ot(e, t) {
23
+ function Mt(e, t) {
24
24
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
25
25
  }
26
26
  let fe;
27
- function Ki(e, t) {
27
+ function io(e, t) {
28
28
  return e === t ? !0 : (fe || (fe = document.createElement("a")), fe.href = t, e === fe.href);
29
29
  }
30
- function yr(e) {
30
+ function xr(e) {
31
31
  return Object.keys(e).length === 0;
32
32
  }
33
- function It(e, ...t) {
33
+ function Rt(e, ...t) {
34
34
  if (e == null) {
35
35
  for (const n of t)
36
36
  n(void 0);
@@ -39,19 +39,19 @@ function It(e, ...t) {
39
39
  const r = e.subscribe(...t);
40
40
  return r.unsubscribe ? () => r.unsubscribe() : r;
41
41
  }
42
- function gr(e, t, r) {
43
- e.$$.on_destroy.push(It(t, r));
42
+ function Sr(e, t, r) {
43
+ e.$$.on_destroy.push(Rt(t, r));
44
44
  }
45
- function eo(e, t, r, n) {
45
+ function oo(e, t, r, n) {
46
46
  if (e) {
47
- const i = Lt(e, t, r, n);
47
+ const i = $t(e, t, r, n);
48
48
  return e[0](i);
49
49
  }
50
50
  }
51
- function Lt(e, t, r, n) {
52
- return e[1] && n ? br(r.ctx.slice(), e[1](n(t))) : r.ctx;
51
+ function $t(e, t, r, n) {
52
+ return e[1] && n ? Er(r.ctx.slice(), e[1](n(t))) : r.ctx;
53
53
  }
54
- function to(e, t, r, n) {
54
+ function so(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 to(e, t, r, n) {
66
66
  }
67
67
  return t.dirty;
68
68
  }
69
- function ro(e, t, r, n, i, o) {
69
+ function ao(e, t, r, n, i, o) {
70
70
  if (i) {
71
- const a = Lt(t, r, n, o);
71
+ const a = $t(t, r, n, o);
72
72
  e.p(a, i);
73
73
  }
74
74
  }
75
- function no(e) {
75
+ function uo(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 no(e) {
81
81
  }
82
82
  return -1;
83
83
  }
84
- function io(e) {
85
- return e && xe(e.destroy) ? e.destroy : P;
84
+ function lo(e) {
85
+ return e && Se(e.destroy) ? e.destroy : P;
86
86
  }
87
- function Se(e, t) {
87
+ function we(e, t) {
88
88
  e.appendChild(t);
89
89
  }
90
- function vr(e, t, r) {
91
- const n = _r(e);
90
+ function wr(e, t, r) {
91
+ const n = Tr(e);
92
92
  if (!n.getElementById(t)) {
93
- const i = R("style");
94
- i.id = t, i.textContent = r, Er(n, i);
93
+ const i = $("style");
94
+ i.id = t, i.textContent = r, Hr(n, i);
95
95
  }
96
96
  }
97
- function _r(e) {
97
+ function Tr(e) {
98
98
  if (!e)
99
99
  return document;
100
100
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -104,8 +104,8 @@ function _r(e) {
104
104
  t
105
105
  ) : e.ownerDocument;
106
106
  }
107
- function Er(e, t) {
108
- return Se(
107
+ function Hr(e, t) {
108
+ return we(
109
109
  /** @type {Document} */
110
110
  e.head || e,
111
111
  t
@@ -114,32 +114,32 @@ function Er(e, t) {
114
114
  function k(e, t, r) {
115
115
  e.insertBefore(t, r || null);
116
116
  }
117
- function D(e) {
117
+ function U(e) {
118
118
  e.parentNode && e.parentNode.removeChild(e);
119
119
  }
120
- function xr(e, t) {
120
+ function Br(e, t) {
121
121
  for (let r = 0; r < e.length; r += 1)
122
122
  e[r] && e[r].d(t);
123
123
  }
124
- function R(e) {
124
+ function $(e) {
125
125
  return document.createElement(e);
126
126
  }
127
- function Sr(e) {
127
+ function Pr(e) {
128
128
  return document.createElementNS("http://www.w3.org/2000/svg", e);
129
129
  }
130
- function Ye(e) {
130
+ function nt(e) {
131
131
  return document.createTextNode(e);
132
132
  }
133
- function wr() {
134
- return Ye(" ");
133
+ function Ar() {
134
+ return nt(" ");
135
135
  }
136
- function oo() {
137
- return Ye("");
136
+ function ho() {
137
+ return nt("");
138
138
  }
139
- function so(e, t, r, n) {
139
+ function co(e, t, r, n) {
140
140
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
141
141
  }
142
- function ao(e) {
142
+ function fo(e) {
143
143
  return function(t) {
144
144
  return t.stopPropagation(), e.call(this, t);
145
145
  };
@@ -151,23 +151,23 @@ function d(e, t, r) {
151
151
  const n = t.toLowerCase();
152
152
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : j(e, t, r);
153
153
  }
154
- function Tr(e) {
154
+ function Or(e) {
155
155
  return Array.from(e.childNodes);
156
156
  }
157
- function Hr(e, t) {
157
+ function Ir(e, t) {
158
158
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
159
159
  t);
160
160
  }
161
- function uo(e, t) {
161
+ function po(e, t) {
162
162
  e.value = t ?? "";
163
163
  }
164
- function lo(e, t, r, n) {
164
+ function mo(e, t, r, n) {
165
165
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
166
166
  }
167
- function ho(e, t, r) {
167
+ function bo(e, t, r) {
168
168
  e.classList.toggle(t, !!r);
169
169
  }
170
- class co {
170
+ class yo {
171
171
  /**
172
172
  * @private
173
173
  * @default false
@@ -198,10 +198,10 @@ class co {
198
198
  * @returns {void}
199
199
  */
200
200
  m(t, r, n = null) {
201
- this.e || (this.is_svg ? this.e = Sr(
201
+ this.e || (this.is_svg ? this.e = Pr(
202
202
  /** @type {keyof SVGElementTagNameMap} */
203
203
  r.nodeName
204
- ) : this.e = R(
204
+ ) : this.e = $(
205
205
  /** @type {keyof HTMLElementTagNameMap} */
206
206
  r.nodeType === 11 ? "TEMPLATE" : r.nodeName
207
207
  ), this.t = r.tagName !== "TEMPLATE" ? r : (
@@ -234,10 +234,10 @@ class co {
234
234
  /**
235
235
  * @returns {void} */
236
236
  d() {
237
- this.n.forEach(D);
237
+ this.n.forEach(U);
238
238
  }
239
239
  }
240
- function Br(e) {
240
+ function Lr(e) {
241
241
  const t = {};
242
242
  return e.childNodes.forEach(
243
243
  /** @param {Element} node */
@@ -246,75 +246,75 @@ function Br(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 Ct() {
254
- if (!ue)
253
+ function Dt() {
254
+ if (!ae)
255
255
  throw new Error("Function called outside component initialization");
256
- return ue;
256
+ return ae;
257
257
  }
258
- function Pr(e) {
259
- Ct().$$.on_mount.push(e);
258
+ function Cr(e) {
259
+ Dt().$$.on_mount.push(e);
260
260
  }
261
- function fo(e) {
262
- Ct().$$.on_destroy.push(e);
261
+ function go(e) {
262
+ Dt().$$.on_destroy.push(e);
263
263
  }
264
- const J = [], Re = [];
264
+ const J = [], Ue = [];
265
265
  let q = [];
266
- const rt = [], Nt = /* @__PURE__ */ Promise.resolve();
267
- let $e = !1;
268
- function Mt() {
269
- $e || ($e = !0, Nt.then(M));
266
+ const at = [], Ut = /* @__PURE__ */ Promise.resolve();
267
+ let Ge = !1;
268
+ function Gt() {
269
+ Ge || (Ge = !0, Ut.then(M));
270
270
  }
271
- function po() {
272
- return Mt(), Nt;
271
+ function _o() {
272
+ return Gt(), Ut;
273
273
  }
274
- function De(e) {
274
+ function Fe(e) {
275
275
  q.push(e);
276
276
  }
277
- const Ae = /* @__PURE__ */ new Set();
277
+ const Ie = /* @__PURE__ */ new Set();
278
278
  let Z = 0;
279
279
  function M() {
280
280
  if (Z !== 0)
281
281
  return;
282
- const e = ue;
282
+ const e = ae;
283
283
  do {
284
284
  try {
285
285
  for (; Z < J.length; ) {
286
286
  const t = J[Z];
287
- Z++, ae(t), Ar(t.$$);
287
+ Z++, se(t), Nr(t.$$);
288
288
  }
289
289
  } catch (t) {
290
290
  throw J.length = 0, Z = 0, t;
291
291
  }
292
- for (ae(null), J.length = 0, Z = 0; Re.length; )
293
- Re.pop()();
292
+ for (se(null), J.length = 0, Z = 0; Ue.length; )
293
+ Ue.pop()();
294
294
  for (let t = 0; t < q.length; t += 1) {
295
295
  const r = q[t];
296
- Ae.has(r) || (Ae.add(r), r());
296
+ Ie.has(r) || (Ie.add(r), r());
297
297
  }
298
298
  q.length = 0;
299
299
  } while (J.length);
300
- for (; rt.length; )
301
- rt.pop()();
302
- $e = !1, Ae.clear(), ae(e);
300
+ for (; at.length; )
301
+ at.pop()();
302
+ Ge = !1, Ie.clear(), se(e);
303
303
  }
304
- function Ar(e) {
304
+ function Nr(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(De);
308
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Fe);
309
309
  }
310
310
  }
311
- function Or(e) {
311
+ function Mr(e) {
312
312
  const t = [], r = [];
313
313
  q.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), q = t;
314
314
  }
315
315
  const me = /* @__PURE__ */ new Set();
316
316
  let V;
317
- function mo() {
317
+ function vo() {
318
318
  V = {
319
319
  r: 0,
320
320
  c: [],
@@ -322,13 +322,13 @@ function mo() {
322
322
  // parent group
323
323
  };
324
324
  }
325
- function bo() {
325
+ function Eo() {
326
326
  V.r || X(V.c), V = V.p;
327
327
  }
328
- function Rt(e, t) {
328
+ function Ft(e, t) {
329
329
  e && e.i && (me.delete(e), e.i(t));
330
330
  }
331
- function Ir(e, t, r, n) {
331
+ function Rr(e, t, r, n) {
332
332
  if (e && e.o) {
333
333
  if (me.has(e))
334
334
  return;
@@ -338,61 +338,61 @@ function Ir(e, t, r, n) {
338
338
  } else
339
339
  n && n();
340
340
  }
341
- function nt(e) {
341
+ function ut(e) {
342
342
  return e?.length !== void 0 ? e : Array.from(e);
343
343
  }
344
- function yo(e, t) {
344
+ function xo(e, t) {
345
345
  e.d(1), t.delete(e.key);
346
346
  }
347
- function go(e, t) {
348
- Ir(e, 1, 1, () => {
347
+ function So(e, t) {
348
+ Rr(e, 1, 1, () => {
349
349
  t.delete(e.key);
350
350
  });
351
351
  }
352
- function vo(e, t, r, n, i, o, a, s, l, u, h, f) {
352
+ function wo(e, t, r, n, i, o, a, s, l, u, h, f) {
353
353
  let c = e.length, m = o.length, b = c;
354
354
  const g = {};
355
355
  for (; b--; )
356
356
  g[e[b].key] = b;
357
357
  const S = [], A = /* @__PURE__ */ new Map(), H = /* @__PURE__ */ new Map(), w = [];
358
358
  for (b = m; b--; ) {
359
- const x = f(i, o, b), I = r(x);
359
+ const E = f(i, o, b), I = r(E);
360
360
  let B = a.get(I);
361
- B ? w.push(() => B.p(x, t)) : (B = u(I, x), B.c()), A.set(I, S[b] = B), I in g && H.set(I, Math.abs(b - g[I]));
361
+ B ? w.push(() => B.p(E, t)) : (B = u(I, E), B.c()), A.set(I, S[b] = B), I in g && H.set(I, Math.abs(b - g[I]));
362
362
  }
363
363
  const C = /* @__PURE__ */ new Set(), O = /* @__PURE__ */ new Set();
364
- function N(x) {
365
- Rt(x, 1), x.m(s, h), a.set(x.key, x), h = x.first, m--;
364
+ function N(E) {
365
+ Ft(E, 1), E.m(s, h), a.set(E.key, E), h = E.first, m--;
366
366
  }
367
367
  for (; c && m; ) {
368
- const x = S[m - 1], I = e[c - 1], B = x.key, z = I.key;
369
- x === I ? (h = x.first, c--, m--) : A.has(z) ? !a.has(B) || C.has(B) ? N(x) : O.has(z) ? c-- : H.get(B) > H.get(z) ? (O.add(B), N(x)) : (C.add(z), c--) : (l(I, a), c--);
368
+ const E = S[m - 1], I = e[c - 1], B = E.key, z = I.key;
369
+ E === I ? (h = E.first, c--, m--) : A.has(z) ? !a.has(B) || C.has(B) ? N(E) : O.has(z) ? c-- : H.get(B) > H.get(z) ? (O.add(B), N(E)) : (C.add(z), c--) : (l(I, a), c--);
370
370
  }
371
371
  for (; c--; ) {
372
- const x = e[c];
373
- A.has(x.key) || l(x, a);
372
+ const E = e[c];
373
+ A.has(E.key) || l(E, a);
374
374
  }
375
375
  for (; m; )
376
376
  N(S[m - 1]);
377
377
  return X(w), S;
378
378
  }
379
- function Lr(e, t, r) {
379
+ function $r(e, t, r) {
380
380
  const { fragment: n, after_update: i } = e.$$;
381
- n && n.m(t, r), De(() => {
382
- const o = e.$$.on_mount.map(At).filter(xe);
381
+ n && n.m(t, r), Fe(() => {
382
+ const o = e.$$.on_mount.map(Nt).filter(Se);
383
383
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : X(o), e.$$.on_mount = [];
384
- }), i.forEach(De);
384
+ }), i.forEach(Fe);
385
385
  }
386
- function Cr(e, t) {
386
+ function Dr(e, t) {
387
387
  const r = e.$$;
388
- r.fragment !== null && (Or(r.after_update), X(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
388
+ 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 = []);
389
389
  }
390
- function Nr(e, t) {
391
- e.$$.dirty[0] === -1 && (J.push(e), Mt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
390
+ function Ur(e, t) {
391
+ e.$$.dirty[0] === -1 && (J.push(e), Gt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
392
392
  }
393
- function Mr(e, t, r, n, i, o, a = null, s = [-1]) {
394
- const l = ue;
395
- ae(e);
393
+ function Gr(e, t, r, n, i, o, a = null, s = [-1]) {
394
+ const l = ae;
395
+ se(e);
396
396
  const u = e.$$ = {
397
397
  fragment: null,
398
398
  ctx: [],
@@ -400,7 +400,7 @@ function Mr(e, t, r, n, i, o, a = null, s = [-1]) {
400
400
  props: o,
401
401
  update: P,
402
402
  not_equal: i,
403
- bound: tt(),
403
+ bound: st(),
404
404
  // lifecycle
405
405
  on_mount: [],
406
406
  on_destroy: [],
@@ -409,7 +409,7 @@ function Mr(e, t, r, n, i, o, a = null, s = [-1]) {
409
409
  after_update: [],
410
410
  context: new Map(t.context || (l ? l.$$.context : [])),
411
411
  // everything else
412
- callbacks: tt(),
412
+ callbacks: st(),
413
413
  dirty: s,
414
414
  skip_bound: !1,
415
415
  root: t.target || l.$$.root
@@ -418,19 +418,19 @@ function Mr(e, t, r, n, i, o, a = null, s = [-1]) {
418
418
  let h = !1;
419
419
  if (u.ctx = r ? r(e, t.props || {}, (f, c, ...m) => {
420
420
  const b = m.length ? m[0] : c;
421
- return u.ctx && i(u.ctx[f], u.ctx[f] = b) && (!u.skip_bound && u.bound[f] && u.bound[f](b), h && Nr(e, f)), c;
421
+ return u.ctx && i(u.ctx[f], u.ctx[f] = b) && (!u.skip_bound && u.bound[f] && u.bound[f](b), h && Ur(e, f)), c;
422
422
  }) : [], u.update(), h = !0, X(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
423
423
  if (t.hydrate) {
424
- const f = Tr(t.target);
425
- u.fragment && u.fragment.l(f), f.forEach(D);
424
+ const f = Or(t.target);
425
+ u.fragment && u.fragment.l(f), f.forEach(U);
426
426
  } else
427
427
  u.fragment && u.fragment.c();
428
- t.intro && Rt(e.$$.fragment), Lr(e, t.target, t.anchor), M();
428
+ t.intro && Ft(e.$$.fragment), $r(e, t.target, t.anchor), M();
429
429
  }
430
- ae(l);
430
+ se(l);
431
431
  }
432
- let $t;
433
- typeof HTMLElement == "function" && ($t = class extends HTMLElement {
432
+ let jt;
433
+ typeof HTMLElement == "function" && (jt = class extends HTMLElement {
434
434
  /** The Svelte component constructor */
435
435
  $$ctor;
436
436
  /** Slots */
@@ -472,7 +472,7 @@ typeof HTMLElement == "function" && ($t = class extends HTMLElement {
472
472
  let o;
473
473
  return {
474
474
  c: function() {
475
- o = R("slot"), i !== "default" && j(o, "name", i);
475
+ o = $("slot"), i !== "default" && j(o, "name", i);
476
476
  },
477
477
  /**
478
478
  * @param {HTMLElement} target
@@ -482,14 +482,14 @@ typeof HTMLElement == "function" && ($t = class extends HTMLElement {
482
482
  k(l, o, u);
483
483
  },
484
484
  d: function(l) {
485
- l && D(o);
485
+ l && U(o);
486
486
  }
487
487
  };
488
488
  };
489
489
  };
490
490
  if (await Promise.resolve(), !this.$$cn || this.$$c)
491
491
  return;
492
- const t = {}, r = Br(this);
492
+ const t = {}, r = Lr(this);
493
493
  for (const i of this.$$s)
494
494
  i in r && (t[i] = [e(i)]);
495
495
  for (const i of this.attributes) {
@@ -576,8 +576,8 @@ function be(e, t, r, n) {
576
576
  return t;
577
577
  }
578
578
  }
579
- function Rr(e, t, r, n, i, o) {
580
- let a = class extends $t {
579
+ function Fr(e, t, r, n, i, o) {
580
+ let a = class extends jt {
581
581
  constructor() {
582
582
  super(e, r, i), this.$$p_d = t;
583
583
  }
@@ -605,7 +605,7 @@ function Rr(e, t, r, n, i, o) {
605
605
  }), e.element = /** @type {any} */
606
606
  a, a;
607
607
  }
608
- class $r {
608
+ class jr {
609
609
  /**
610
610
  * ### PRIVATE API
611
611
  *
@@ -624,7 +624,7 @@ class $r {
624
624
  $$set = void 0;
625
625
  /** @returns {void} */
626
626
  $destroy() {
627
- Cr(this, 1), this.$destroy = P;
627
+ Dr(this, 1), this.$destroy = P;
628
628
  }
629
629
  /**
630
630
  * @template {Extract<keyof Events, string>} K
@@ -633,7 +633,7 @@ class $r {
633
633
  * @returns {() => void}
634
634
  */
635
635
  $on(t, r) {
636
- if (!xe(r))
636
+ if (!Se(r))
637
637
  return P;
638
638
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
639
639
  return n.push(r), () => {
@@ -646,11 +646,11 @@ class $r {
646
646
  * @returns {void}
647
647
  */
648
648
  $set(t) {
649
- this.$$set && !yr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
649
+ this.$$set && !xr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
650
650
  }
651
651
  }
652
- const Dr = "4";
653
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Dr);
652
+ const kr = "4";
653
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(kr);
654
654
  /*! *****************************************************************************
655
655
  Copyright (c) Microsoft Corporation.
656
656
 
@@ -665,43 +665,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
665
665
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
666
666
  PERFORMANCE OF THIS SOFTWARE.
667
667
  ***************************************************************************** */
668
- var Ue = function(e, t) {
669
- return Ue = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
668
+ var je = function(e, t) {
669
+ return je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
670
670
  r.__proto__ = n;
671
671
  } || function(r, n) {
672
672
  for (var i in n)
673
673
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
674
- }, Ue(e, t);
674
+ }, je(e, t);
675
675
  };
676
- function U(e, t) {
676
+ function he(e, t) {
677
677
  if (typeof t != "function" && t !== null)
678
678
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
679
- Ue(e, t);
679
+ je(e, t);
680
680
  function r() {
681
681
  this.constructor = e;
682
682
  }
683
683
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
684
684
  }
685
- var _ = function() {
686
- return _ = Object.assign || function(t) {
687
- for (var r, n = 1, i = arguments.length; n < i; n++) {
688
- r = arguments[n];
689
- for (var o in r)
690
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
691
- }
692
- return t;
693
- }, _.apply(this, arguments);
694
- };
695
- function Ur(e, t) {
696
- var r = {};
697
- for (var n in e)
698
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
699
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
700
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
701
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
702
- return r;
703
- }
704
- function Ge(e) {
685
+ function ke(e) {
705
686
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
706
687
  if (r)
707
688
  return r.call(e);
@@ -713,7 +694,7 @@ function Ge(e) {
713
694
  };
714
695
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
715
696
  }
716
- function Fe(e, t) {
697
+ function Ve(e, t) {
717
698
  var r = typeof Symbol == "function" && e[Symbol.iterator];
718
699
  if (!r)
719
700
  return e;
@@ -733,22 +714,22 @@ function Fe(e, t) {
733
714
  }
734
715
  return o;
735
716
  }
736
- function Y(e, t, r) {
737
- if (r || arguments.length === 2)
717
+ function Xe(e, t, r) {
718
+ if (arguments.length === 2)
738
719
  for (var n = 0, i = t.length, o; n < i; n++)
739
720
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
740
721
  return e.concat(o || t);
741
722
  }
742
- function $(e) {
723
+ function D(e) {
743
724
  return typeof e == "function";
744
725
  }
745
- function Dt(e) {
726
+ function kt(e) {
746
727
  var t = function(n) {
747
728
  Error.call(n), n.stack = new Error().stack;
748
729
  }, r = e(t);
749
730
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
750
731
  }
751
- var Oe = Dt(function(e) {
732
+ var Le = kt(function(e) {
752
733
  return function(r) {
753
734
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
754
735
  ` + r.map(function(n, i) {
@@ -757,13 +738,13 @@ var Oe = Dt(function(e) {
757
738
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
758
739
  };
759
740
  });
760
- function je(e, t) {
741
+ function We(e, t) {
761
742
  if (e) {
762
743
  var r = e.indexOf(t);
763
744
  0 <= r && e.splice(r, 1);
764
745
  }
765
746
  }
766
- var we = function() {
747
+ var Te = function() {
767
748
  function e(t) {
768
749
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
769
750
  }
@@ -775,7 +756,7 @@ var we = function() {
775
756
  if (a)
776
757
  if (this._parentage = null, Array.isArray(a))
777
758
  try {
778
- for (var s = Ge(a), l = s.next(); !l.done; l = s.next()) {
759
+ for (var s = ke(a), l = s.next(); !l.done; l = s.next()) {
779
760
  var u = l.value;
780
761
  u.remove(this);
781
762
  }
@@ -792,22 +773,22 @@ var we = function() {
792
773
  else
793
774
  a.remove(this);
794
775
  var h = this.initialTeardown;
795
- if ($(h))
776
+ if (D(h))
796
777
  try {
797
778
  h();
798
779
  } catch (g) {
799
- o = g instanceof Oe ? g.errors : [g];
780
+ o = g instanceof Le ? g.errors : [g];
800
781
  }
801
782
  var f = this._finalizers;
802
783
  if (f) {
803
784
  this._finalizers = null;
804
785
  try {
805
- for (var c = Ge(f), m = c.next(); !m.done; m = c.next()) {
786
+ for (var c = ke(f), m = c.next(); !m.done; m = c.next()) {
806
787
  var b = m.value;
807
788
  try {
808
- it(b);
789
+ lt(b);
809
790
  } catch (g) {
810
- o = o ?? [], g instanceof Oe ? o = Y(Y([], Fe(o)), Fe(g.errors)) : o.push(g);
791
+ o = o ?? [], g instanceof Le ? o = Xe(Xe([], Ve(o)), Ve(g.errors)) : o.push(g);
811
792
  }
812
793
  }
813
794
  } catch (g) {
@@ -822,13 +803,13 @@ var we = function() {
822
803
  }
823
804
  }
824
805
  if (o)
825
- throw new Oe(o);
806
+ throw new Le(o);
826
807
  }
827
808
  }, e.prototype.add = function(t) {
828
809
  var r;
829
810
  if (t && t !== this)
830
811
  if (this.closed)
831
- it(t);
812
+ lt(t);
832
813
  else {
833
814
  if (t instanceof e) {
834
815
  if (t.closed || t._hasParent(this))
@@ -845,52 +826,52 @@ var we = function() {
845
826
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
846
827
  }, e.prototype._removeParent = function(t) {
847
828
  var r = this._parentage;
848
- r === t ? this._parentage = null : Array.isArray(r) && je(r, t);
829
+ r === t ? this._parentage = null : Array.isArray(r) && We(r, t);
849
830
  }, e.prototype.remove = function(t) {
850
831
  var r = this._finalizers;
851
- r && je(r, t), t instanceof e && t._removeParent(this);
832
+ r && We(r, t), t instanceof e && t._removeParent(this);
852
833
  }, e.EMPTY = function() {
853
834
  var t = new e();
854
835
  return t.closed = !0, t;
855
836
  }(), e;
856
- }(), Ut = we.EMPTY;
857
- function Gt(e) {
858
- return e instanceof we || e && "closed" in e && $(e.remove) && $(e.add) && $(e.unsubscribe);
837
+ }(), Vt = Te.EMPTY;
838
+ function Xt(e) {
839
+ return e instanceof Te || e && "closed" in e && D(e.remove) && D(e.add) && D(e.unsubscribe);
859
840
  }
860
- function it(e) {
861
- $(e) ? e() : e.unsubscribe();
841
+ function lt(e) {
842
+ D(e) ? e() : e.unsubscribe();
862
843
  }
863
- var Gr = {
844
+ var Vr = {
864
845
  Promise: void 0
865
- }, Fr = {
846
+ }, Xr = {
866
847
  setTimeout: function(e, t) {
867
848
  for (var r = [], n = 2; n < arguments.length; n++)
868
849
  r[n - 2] = arguments[n];
869
- return setTimeout.apply(void 0, Y([e, t], Fe(r)));
850
+ return setTimeout.apply(void 0, Xe([e, t], Ve(r)));
870
851
  },
871
852
  clearTimeout: function(e) {
872
853
  return clearTimeout(e);
873
854
  },
874
855
  delegate: void 0
875
856
  };
876
- function jr(e) {
877
- Fr.setTimeout(function() {
857
+ function Wr(e) {
858
+ Xr.setTimeout(function() {
878
859
  throw e;
879
860
  });
880
861
  }
881
- function ot() {
862
+ function ht() {
882
863
  }
883
864
  function ye(e) {
884
865
  e();
885
866
  }
886
- var Ft = function(e) {
887
- U(t, e);
867
+ var Wt = function(e) {
868
+ he(t, e);
888
869
  function t(r) {
889
870
  var n = e.call(this) || this;
890
- return n.isStopped = !1, r ? (n.destination = r, Gt(r) && r.add(n)) : n.destination = Xr, n;
871
+ return n.isStopped = !1, r ? (n.destination = r, Xt(r) && r.add(n)) : n.destination = Qr, n;
891
872
  }
892
873
  return t.create = function(r, n, i) {
893
- return new ke(r, n, i);
874
+ return new ze(r, n, i);
894
875
  }, t.prototype.next = function(r) {
895
876
  this.isStopped || this._next(r);
896
877
  }, t.prototype.error = function(r) {
@@ -914,7 +895,7 @@ var Ft = function(e) {
914
895
  this.unsubscribe();
915
896
  }
916
897
  }, t;
917
- }(we), kr = function() {
898
+ }(Te), zr = function() {
918
899
  function e(t) {
919
900
  this.partialObserver = t;
920
901
  }
@@ -945,43 +926,43 @@ var Ft = function(e) {
945
926
  de(r);
946
927
  }
947
928
  }, e;
948
- }(), ke = function(e) {
949
- U(t, e);
929
+ }(), ze = function(e) {
930
+ he(t, e);
950
931
  function t(r, n, i) {
951
932
  var o = e.call(this) || this, a;
952
- return $(r) || !r ? a = {
933
+ return D(r) || !r ? a = {
953
934
  next: r ?? void 0,
954
935
  error: n ?? void 0,
955
936
  complete: i ?? void 0
956
- } : a = r, o.destination = new kr(a), o;
937
+ } : a = r, o.destination = new zr(a), o;
957
938
  }
958
939
  return t;
959
- }(Ft);
940
+ }(Wt);
960
941
  function de(e) {
961
- jr(e);
942
+ Wr(e);
962
943
  }
963
- function Vr(e) {
944
+ function Zr(e) {
964
945
  throw e;
965
946
  }
966
- var Xr = {
947
+ var Qr = {
967
948
  closed: !0,
968
- next: ot,
969
- error: Vr,
970
- complete: ot
971
- }, Wr = function() {
949
+ next: ht,
950
+ error: Zr,
951
+ complete: ht
952
+ }, Jr = function() {
972
953
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
973
954
  }();
974
- function zr(e) {
955
+ function qr(e) {
975
956
  return e;
976
957
  }
977
- function Zr(e) {
978
- return e.length === 0 ? zr : e.length === 1 ? e[0] : function(r) {
958
+ function Yr(e) {
959
+ return e.length === 0 ? qr : e.length === 1 ? e[0] : function(r) {
979
960
  return e.reduce(function(n, i) {
980
961
  return i(n);
981
962
  }, r);
982
963
  };
983
964
  }
984
- var st = function() {
965
+ var ct = function() {
985
966
  function e(t) {
986
967
  t && (this._subscribe = t);
987
968
  }
@@ -989,7 +970,7 @@ var st = function() {
989
970
  var r = new e();
990
971
  return r.source = this, r.operator = t, r;
991
972
  }, e.prototype.subscribe = function(t, r, n) {
992
- var i = this, o = Jr(t) ? t : new ke(t, r, n);
973
+ var i = this, o = en(t) ? t : new ze(t, r, n);
993
974
  return ye(function() {
994
975
  var a = i, s = a.operator, l = a.source;
995
976
  o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
@@ -1002,8 +983,8 @@ var st = function() {
1002
983
  }
1003
984
  }, e.prototype.forEach = function(t, r) {
1004
985
  var n = this;
1005
- return r = at(r), new r(function(i, o) {
1006
- var a = new ke({
986
+ return r = ft(r), new r(function(i, o) {
987
+ var a = new ze({
1007
988
  next: function(s) {
1008
989
  try {
1009
990
  t(s);
@@ -1019,15 +1000,15 @@ var st = function() {
1019
1000
  }, e.prototype._subscribe = function(t) {
1020
1001
  var r;
1021
1002
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
1022
- }, e.prototype[Wr] = function() {
1003
+ }, e.prototype[Jr] = function() {
1023
1004
  return this;
1024
1005
  }, e.prototype.pipe = function() {
1025
1006
  for (var t = [], r = 0; r < arguments.length; r++)
1026
1007
  t[r] = arguments[r];
1027
- return Zr(t)(this);
1008
+ return Yr(t)(this);
1028
1009
  }, e.prototype.toPromise = function(t) {
1029
1010
  var r = this;
1030
- return t = at(t), new t(function(n, i) {
1011
+ return t = ft(t), new t(function(n, i) {
1031
1012
  var o;
1032
1013
  r.subscribe(function(a) {
1033
1014
  return o = a;
@@ -1041,32 +1022,32 @@ var st = function() {
1041
1022
  return new e(t);
1042
1023
  }, e;
1043
1024
  }();
1044
- function at(e) {
1025
+ function ft(e) {
1045
1026
  var t;
1046
- return (t = e ?? Gr.Promise) !== null && t !== void 0 ? t : Promise;
1027
+ return (t = e ?? Vr.Promise) !== null && t !== void 0 ? t : Promise;
1047
1028
  }
1048
- function Qr(e) {
1049
- return e && $(e.next) && $(e.error) && $(e.complete);
1029
+ function Kr(e) {
1030
+ return e && D(e.next) && D(e.error) && D(e.complete);
1050
1031
  }
1051
- function Jr(e) {
1052
- return e && e instanceof Ft || Qr(e) && Gt(e);
1032
+ function en(e) {
1033
+ return e && e instanceof Wt || Kr(e) && Xt(e);
1053
1034
  }
1054
- var qr = Dt(function(e) {
1035
+ var tn = kt(function(e) {
1055
1036
  return function() {
1056
1037
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
1057
1038
  };
1058
- }), jt = function(e) {
1059
- U(t, e);
1039
+ }), zt = function(e) {
1040
+ he(t, e);
1060
1041
  function t() {
1061
1042
  var r = e.call(this) || this;
1062
1043
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
1063
1044
  }
1064
1045
  return t.prototype.lift = function(r) {
1065
- var n = new ut(this, this);
1046
+ var n = new dt(this, this);
1066
1047
  return n.operator = r, n;
1067
1048
  }, t.prototype._throwIfClosed = function() {
1068
1049
  if (this.closed)
1069
- throw new qr();
1050
+ throw new tn();
1070
1051
  }, t.prototype.next = function(r) {
1071
1052
  var n = this;
1072
1053
  ye(function() {
@@ -1074,7 +1055,7 @@ var qr = Dt(function(e) {
1074
1055
  if (n._throwIfClosed(), !n.isStopped) {
1075
1056
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
1076
1057
  try {
1077
- for (var a = Ge(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
1058
+ for (var a = ke(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
1078
1059
  var l = s.value;
1079
1060
  l.next(r);
1080
1061
  }
@@ -1123,20 +1104,20 @@ var qr = Dt(function(e) {
1123
1104
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1124
1105
  }, t.prototype._innerSubscribe = function(r) {
1125
1106
  var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
1126
- return o || a ? Ut : (this.currentObservers = null, s.push(r), new we(function() {
1127
- n.currentObservers = null, je(s, r);
1107
+ return o || a ? Vt : (this.currentObservers = null, s.push(r), new Te(function() {
1108
+ n.currentObservers = null, We(s, r);
1128
1109
  }));
1129
1110
  }, t.prototype._checkFinalizedStatuses = function(r) {
1130
1111
  var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
1131
1112
  i ? r.error(o) : a && r.complete();
1132
1113
  }, t.prototype.asObservable = function() {
1133
- var r = new st();
1114
+ var r = new ct();
1134
1115
  return r.source = this, r;
1135
1116
  }, t.create = function(r, n) {
1136
- return new ut(r, n);
1117
+ return new dt(r, n);
1137
1118
  }, t;
1138
- }(st), ut = function(e) {
1139
- U(t, e);
1119
+ }(ct), dt = function(e) {
1120
+ he(t, e);
1140
1121
  function t(r, n) {
1141
1122
  var i = e.call(this) || this;
1142
1123
  return i.destination = r, i.source = n, i;
@@ -1152,17 +1133,17 @@ var qr = Dt(function(e) {
1152
1133
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1153
1134
  }, t.prototype._subscribe = function(r) {
1154
1135
  var n, i;
1155
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Ut;
1136
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Vt;
1156
1137
  }, t;
1157
- }(jt), kt = {
1138
+ }(zt), Zt = {
1158
1139
  now: function() {
1159
- return (kt.delegate || Date).now();
1140
+ return (Zt.delegate || Date).now();
1160
1141
  },
1161
1142
  delegate: void 0
1162
- }, Yr = function(e) {
1163
- U(t, e);
1143
+ }, rn = function(e) {
1144
+ he(t, e);
1164
1145
  function t(r, n, i) {
1165
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = kt);
1146
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Zt);
1166
1147
  var o = e.call(this) || this;
1167
1148
  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;
1168
1149
  }
@@ -1182,24 +1163,24 @@ var qr = Dt(function(e) {
1182
1163
  u && o.splice(0, u + 1);
1183
1164
  }
1184
1165
  }, t;
1185
- }(jt);
1186
- const lt = [], ht = {}, Kr = (e, t = 0) => {
1187
- if (lt.indexOf(e) == -1) {
1188
- const r = new Yr(t);
1189
- ht[e] = r, lt.push(e);
1166
+ }(zt);
1167
+ const pt = [], mt = {}, nn = (e, t = 0) => {
1168
+ if (pt.indexOf(e) == -1) {
1169
+ const r = new rn(t);
1170
+ mt[e] = r, pt.push(e);
1190
1171
  }
1191
- return ht[e];
1172
+ return mt[e];
1192
1173
  }, Q = [];
1193
- function en(e, t) {
1174
+ function on(e, t) {
1194
1175
  return {
1195
- subscribe: Te(e, t).subscribe
1176
+ subscribe: He(e, t).subscribe
1196
1177
  };
1197
1178
  }
1198
- function Te(e, t = P) {
1179
+ function He(e, t = P) {
1199
1180
  let r;
1200
1181
  const n = /* @__PURE__ */ new Set();
1201
1182
  function i(s) {
1202
- if (Ot(e, s) && (e = s, r)) {
1183
+ if (Mt(e, s) && (e = s, r)) {
1203
1184
  const l = !Q.length;
1204
1185
  for (const u of n)
1205
1186
  u[1](), Q.push(u, e);
@@ -1221,12 +1202,12 @@ function Te(e, t = P) {
1221
1202
  }
1222
1203
  return { set: i, update: o, subscribe: a };
1223
1204
  }
1224
- function ne(e, t, r) {
1205
+ function re(e, t, r) {
1225
1206
  const n = !Array.isArray(e), i = n ? [e] : e;
1226
1207
  if (!i.every(Boolean))
1227
1208
  throw new Error("derived() expects stores as input, got a falsy value");
1228
1209
  const o = t.length < 2;
1229
- return en(r, (a, s) => {
1210
+ return on(r, (a, s) => {
1230
1211
  let l = !1;
1231
1212
  const u = [];
1232
1213
  let h = 0, f = P;
@@ -1235,9 +1216,9 @@ function ne(e, t, r) {
1235
1216
  return;
1236
1217
  f();
1237
1218
  const b = t(n ? u[0] : u, a, s);
1238
- o ? a(b) : f = xe(b) ? b : P;
1219
+ o ? a(b) : f = Se(b) ? b : P;
1239
1220
  }, m = i.map(
1240
- (b, g) => It(
1221
+ (b, g) => Rt(
1241
1222
  b,
1242
1223
  (S) => {
1243
1224
  u[g] = S, h &= ~(1 << g), l && c();
@@ -1252,111 +1233,153 @@ function ne(e, t, r) {
1252
1233
  };
1253
1234
  });
1254
1235
  }
1255
- function tn(e) {
1236
+ function sn(e) {
1256
1237
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1257
1238
  }
1258
- var rn = function(t) {
1259
- return nn(t) && !on(t);
1239
+ var an = function(t) {
1240
+ return un(t) && !ln(t);
1260
1241
  };
1261
- function nn(e) {
1242
+ function un(e) {
1262
1243
  return !!e && typeof e == "object";
1263
1244
  }
1264
- function on(e) {
1245
+ function ln(e) {
1265
1246
  var t = Object.prototype.toString.call(e);
1266
- return t === "[object RegExp]" || t === "[object Date]" || un(e);
1247
+ return t === "[object RegExp]" || t === "[object Date]" || fn(e);
1267
1248
  }
1268
- var sn = typeof Symbol == "function" && Symbol.for, an = sn ? Symbol.for("react.element") : 60103;
1269
- function un(e) {
1270
- return e.$$typeof === an;
1249
+ var hn = typeof Symbol == "function" && Symbol.for, cn = hn ? Symbol.for("react.element") : 60103;
1250
+ function fn(e) {
1251
+ return e.$$typeof === cn;
1271
1252
  }
1272
- function ln(e) {
1253
+ function dn(e) {
1273
1254
  return Array.isArray(e) ? [] : {};
1274
1255
  }
1275
- function le(e, t) {
1276
- return t.clone !== !1 && t.isMergeableObject(e) ? K(ln(e), e, t) : e;
1256
+ function ue(e, t) {
1257
+ return t.clone !== !1 && t.isMergeableObject(e) ? Y(dn(e), e, t) : e;
1277
1258
  }
1278
- function hn(e, t, r) {
1259
+ function pn(e, t, r) {
1279
1260
  return e.concat(t).map(function(n) {
1280
- return le(n, r);
1261
+ return ue(n, r);
1281
1262
  });
1282
1263
  }
1283
- function cn(e, t) {
1264
+ function mn(e, t) {
1284
1265
  if (!t.customMerge)
1285
- return K;
1266
+ return Y;
1286
1267
  var r = t.customMerge(e);
1287
- return typeof r == "function" ? r : K;
1268
+ return typeof r == "function" ? r : Y;
1288
1269
  }
1289
- function fn(e) {
1270
+ function bn(e) {
1290
1271
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1291
1272
  return Object.propertyIsEnumerable.call(e, t);
1292
1273
  }) : [];
1293
1274
  }
1294
- function ct(e) {
1295
- return Object.keys(e).concat(fn(e));
1275
+ function bt(e) {
1276
+ return Object.keys(e).concat(bn(e));
1296
1277
  }
1297
- function Vt(e, t) {
1278
+ function Qt(e, t) {
1298
1279
  try {
1299
1280
  return t in e;
1300
1281
  } catch {
1301
1282
  return !1;
1302
1283
  }
1303
1284
  }
1304
- function dn(e, t) {
1305
- return Vt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1285
+ function yn(e, t) {
1286
+ return Qt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1306
1287
  }
1307
- function pn(e, t, r) {
1288
+ function gn(e, t, r) {
1308
1289
  var n = {};
1309
- return r.isMergeableObject(e) && ct(e).forEach(function(i) {
1310
- n[i] = le(e[i], r);
1311
- }), ct(t).forEach(function(i) {
1312
- dn(e, i) || (Vt(e, i) && r.isMergeableObject(t[i]) ? n[i] = cn(i, r)(e[i], t[i], r) : n[i] = le(t[i], r));
1290
+ return r.isMergeableObject(e) && bt(e).forEach(function(i) {
1291
+ n[i] = ue(e[i], r);
1292
+ }), bt(t).forEach(function(i) {
1293
+ yn(e, i) || (Qt(e, i) && r.isMergeableObject(t[i]) ? n[i] = mn(i, r)(e[i], t[i], r) : n[i] = ue(t[i], r));
1313
1294
  }), n;
1314
1295
  }
1315
- function K(e, t, r) {
1316
- r = r || {}, r.arrayMerge = r.arrayMerge || hn, r.isMergeableObject = r.isMergeableObject || rn, r.cloneUnlessOtherwiseSpecified = le;
1296
+ function Y(e, t, r) {
1297
+ r = r || {}, r.arrayMerge = r.arrayMerge || pn, r.isMergeableObject = r.isMergeableObject || an, r.cloneUnlessOtherwiseSpecified = ue;
1317
1298
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1318
- return o ? n ? r.arrayMerge(e, t, r) : pn(e, t, r) : le(t, r);
1299
+ return o ? n ? r.arrayMerge(e, t, r) : gn(e, t, r) : ue(t, r);
1319
1300
  }
1320
- K.all = function(t, r) {
1301
+ Y.all = function(t, r) {
1321
1302
  if (!Array.isArray(t))
1322
1303
  throw new Error("first argument should be an array");
1323
1304
  return t.reduce(function(n, i) {
1324
- return K(n, i, r);
1305
+ return Y(n, i, r);
1325
1306
  }, {});
1326
1307
  };
1327
- var mn = K, bn = mn;
1328
- const yn = /* @__PURE__ */ tn(bn);
1329
- function Ie(e, t) {
1330
- var r = t && t.cache ? t.cache : wn, n = t && t.serializer ? t.serializer : xn, i = t && t.strategy ? t.strategy : _n;
1308
+ var _n = Y, vn = _n;
1309
+ const En = /* @__PURE__ */ sn(vn);
1310
+ var Ze = function(e, t) {
1311
+ return Ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1312
+ r.__proto__ = n;
1313
+ } || function(r, n) {
1314
+ for (var i in n)
1315
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1316
+ }, Ze(e, t);
1317
+ };
1318
+ function Be(e, t) {
1319
+ if (typeof t != "function" && t !== null)
1320
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1321
+ Ze(e, t);
1322
+ function r() {
1323
+ this.constructor = e;
1324
+ }
1325
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1326
+ }
1327
+ var R = function() {
1328
+ return R = Object.assign || function(t) {
1329
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1330
+ r = arguments[n];
1331
+ for (var o in r)
1332
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1333
+ }
1334
+ return t;
1335
+ }, R.apply(this, arguments);
1336
+ };
1337
+ function xn(e, t) {
1338
+ var r = {};
1339
+ for (var n in e)
1340
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1341
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
1342
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1343
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1344
+ return r;
1345
+ }
1346
+ function Ce(e, t, r) {
1347
+ if (r || arguments.length === 2)
1348
+ for (var n = 0, i = t.length, o; n < i; n++)
1349
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1350
+ return e.concat(o || Array.prototype.slice.call(t));
1351
+ }
1352
+ function Ne(e, t) {
1353
+ var r = t && t.cache ? t.cache : An, n = t && t.serializer ? t.serializer : Bn, i = t && t.strategy ? t.strategy : Tn;
1331
1354
  return i(e, {
1332
1355
  cache: r,
1333
1356
  serializer: n
1334
1357
  });
1335
1358
  }
1336
- function gn(e) {
1359
+ function Sn(e) {
1337
1360
  return e == null || typeof e == "number" || typeof e == "boolean";
1338
1361
  }
1339
- function vn(e, t, r, n) {
1340
- var i = gn(n) ? n : r(n), o = t.get(i);
1362
+ function wn(e, t, r, n) {
1363
+ var i = Sn(n) ? n : r(n), o = t.get(i);
1341
1364
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1342
1365
  }
1343
- function Xt(e, t, r) {
1366
+ function Jt(e, t, r) {
1344
1367
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1345
1368
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1346
1369
  }
1347
- function Wt(e, t, r, n, i) {
1370
+ function qt(e, t, r, n, i) {
1348
1371
  return r.bind(t, e, n, i);
1349
1372
  }
1350
- function _n(e, t) {
1351
- var r = e.length === 1 ? vn : Xt;
1352
- return Wt(e, this, r, t.cache.create(), t.serializer);
1373
+ function Tn(e, t) {
1374
+ var r = e.length === 1 ? wn : Jt;
1375
+ return qt(e, this, r, t.cache.create(), t.serializer);
1353
1376
  }
1354
- function En(e, t) {
1355
- return Wt(e, this, Xt, t.cache.create(), t.serializer);
1377
+ function Hn(e, t) {
1378
+ return qt(e, this, Jt, t.cache.create(), t.serializer);
1356
1379
  }
1357
- var xn = function() {
1380
+ var Bn = function() {
1358
1381
  return JSON.stringify(arguments);
1359
- }, Sn = (
1382
+ }, Pn = (
1360
1383
  /** @class */
1361
1384
  function() {
1362
1385
  function e() {
@@ -1368,61 +1391,71 @@ var xn = function() {
1368
1391
  this.cache[t] = r;
1369
1392
  }, e;
1370
1393
  }()
1371
- ), wn = {
1394
+ ), An = {
1372
1395
  create: function() {
1373
- return new Sn();
1396
+ return new Pn();
1374
1397
  }
1375
- }, Le = {
1376
- variadic: En
1377
- }, y;
1398
+ }, Me = {
1399
+ variadic: Hn
1400
+ }, ve = function() {
1401
+ return ve = Object.assign || function(t) {
1402
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1403
+ r = arguments[n];
1404
+ for (var o in r)
1405
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1406
+ }
1407
+ return t;
1408
+ }, ve.apply(this, arguments);
1409
+ };
1410
+ var y;
1378
1411
  (function(e) {
1379
1412
  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";
1380
1413
  })(y || (y = {}));
1381
- var E;
1414
+ var v;
1382
1415
  (function(e) {
1383
1416
  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";
1384
- })(E || (E = {}));
1385
- var ee;
1417
+ })(v || (v = {}));
1418
+ var K;
1386
1419
  (function(e) {
1387
1420
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1388
- })(ee || (ee = {}));
1389
- function ft(e) {
1390
- return e.type === E.literal;
1421
+ })(K || (K = {}));
1422
+ function yt(e) {
1423
+ return e.type === v.literal;
1391
1424
  }
1392
- function Tn(e) {
1393
- return e.type === E.argument;
1425
+ function On(e) {
1426
+ return e.type === v.argument;
1394
1427
  }
1395
- function zt(e) {
1396
- return e.type === E.number;
1428
+ function Yt(e) {
1429
+ return e.type === v.number;
1397
1430
  }
1398
- function Zt(e) {
1399
- return e.type === E.date;
1431
+ function Kt(e) {
1432
+ return e.type === v.date;
1400
1433
  }
1401
- function Qt(e) {
1402
- return e.type === E.time;
1434
+ function er(e) {
1435
+ return e.type === v.time;
1403
1436
  }
1404
- function Jt(e) {
1405
- return e.type === E.select;
1437
+ function tr(e) {
1438
+ return e.type === v.select;
1406
1439
  }
1407
- function qt(e) {
1408
- return e.type === E.plural;
1440
+ function rr(e) {
1441
+ return e.type === v.plural;
1409
1442
  }
1410
- function Hn(e) {
1411
- return e.type === E.pound;
1443
+ function In(e) {
1444
+ return e.type === v.pound;
1412
1445
  }
1413
- function Yt(e) {
1414
- return e.type === E.tag;
1446
+ function nr(e) {
1447
+ return e.type === v.tag;
1415
1448
  }
1416
- function Kt(e) {
1417
- return !!(e && typeof e == "object" && e.type === ee.number);
1449
+ function ir(e) {
1450
+ return !!(e && typeof e == "object" && e.type === K.number);
1418
1451
  }
1419
- function Ve(e) {
1420
- return !!(e && typeof e == "object" && e.type === ee.dateTime);
1452
+ function Qe(e) {
1453
+ return !!(e && typeof e == "object" && e.type === K.dateTime);
1421
1454
  }
1422
- var er = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Bn = /(?:[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;
1423
- function Pn(e) {
1455
+ var or = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ln = /(?:[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;
1456
+ function Cn(e) {
1424
1457
  var t = {};
1425
- return e.replace(Bn, function(r) {
1458
+ return e.replace(Ln, function(r) {
1426
1459
  var n = r.length;
1427
1460
  switch (r[0]) {
1428
1461
  case "G":
@@ -1511,11 +1544,21 @@ function Pn(e) {
1511
1544
  return "";
1512
1545
  }), t;
1513
1546
  }
1514
- var An = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1515
- function On(e) {
1547
+ var x = function() {
1548
+ return x = Object.assign || function(t) {
1549
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1550
+ r = arguments[n];
1551
+ for (var o in r)
1552
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1553
+ }
1554
+ return t;
1555
+ }, x.apply(this, arguments);
1556
+ };
1557
+ var Nn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1558
+ function Mn(e) {
1516
1559
  if (e.length === 0)
1517
1560
  throw new Error("Number skeleton cannot be empty");
1518
- for (var t = e.split(An).filter(function(c) {
1561
+ for (var t = e.split(Nn).filter(function(c) {
1519
1562
  return c.length > 0;
1520
1563
  }), r = [], n = 0, i = t; n < i.length; n++) {
1521
1564
  var o = i[n], a = o.split("/");
@@ -1530,17 +1573,17 @@ function On(e) {
1530
1573
  }
1531
1574
  return r;
1532
1575
  }
1533
- function In(e) {
1576
+ function Rn(e) {
1534
1577
  return e.replace(/^(.*?)-/, "");
1535
1578
  }
1536
- var dt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, tr = /^(@+)?(\+|#+)?[rs]?$/g, Ln = /(\*)(0+)|(#+)(0+)|(0+)/g, rr = /^(0+)$/;
1537
- function pt(e) {
1579
+ var gt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, sr = /^(@+)?(\+|#+)?[rs]?$/g, $n = /(\*)(0+)|(#+)(0+)|(0+)/g, ar = /^(0+)$/;
1580
+ function _t(e) {
1538
1581
  var t = {};
1539
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(tr, function(r, n, i) {
1582
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(sr, function(r, n, i) {
1540
1583
  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)), "";
1541
1584
  }), t;
1542
1585
  }
1543
- function nr(e) {
1586
+ function ur(e) {
1544
1587
  switch (e) {
1545
1588
  case "sign-auto":
1546
1589
  return {
@@ -1580,7 +1623,7 @@ function nr(e) {
1580
1623
  };
1581
1624
  }
1582
1625
  }
1583
- function Cn(e) {
1626
+ function Dn(e) {
1584
1627
  var t;
1585
1628
  if (e[0] === "E" && e[1] === "E" ? (t = {
1586
1629
  notation: "engineering"
@@ -1588,17 +1631,17 @@ function Cn(e) {
1588
1631
  notation: "scientific"
1589
1632
  }, e = e.slice(1)), t) {
1590
1633
  var r = e.slice(0, 2);
1591
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !rr.test(e))
1634
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !ar.test(e))
1592
1635
  throw new Error("Malformed concise eng/scientific notation");
1593
1636
  t.minimumIntegerDigits = e.length;
1594
1637
  }
1595
1638
  return t;
1596
1639
  }
1597
- function mt(e) {
1598
- var t = {}, r = nr(e);
1640
+ function vt(e) {
1641
+ var t = {}, r = ur(e);
1599
1642
  return r || t;
1600
1643
  }
1601
- function Nn(e) {
1644
+ function Un(e) {
1602
1645
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1603
1646
  var i = n[r];
1604
1647
  switch (i.stem) {
@@ -1622,7 +1665,7 @@ function Nn(e) {
1622
1665
  continue;
1623
1666
  case "measure-unit":
1624
1667
  case "unit":
1625
- t.style = "unit", t.unit = In(i.options[0]);
1668
+ t.style = "unit", t.unit = Rn(i.options[0]);
1626
1669
  continue;
1627
1670
  case "compact-short":
1628
1671
  case "K":
@@ -1633,13 +1676,13 @@ function Nn(e) {
1633
1676
  t.notation = "compact", t.compactDisplay = "long";
1634
1677
  continue;
1635
1678
  case "scientific":
1636
- t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1637
- return _(_({}, l), mt(u));
1679
+ t = x(x(x({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1680
+ return x(x({}, l), vt(u));
1638
1681
  }, {}));
1639
1682
  continue;
1640
1683
  case "engineering":
1641
- t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1642
- return _(_({}, l), mt(u));
1684
+ t = x(x(x({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1685
+ return x(x({}, l), vt(u));
1643
1686
  }, {}));
1644
1687
  continue;
1645
1688
  case "notation-simple":
@@ -1684,7 +1727,7 @@ function Nn(e) {
1684
1727
  case "integer-width":
1685
1728
  if (i.options.length > 1)
1686
1729
  throw new RangeError("integer-width stems only accept a single optional option");
1687
- i.options[0].replace(Ln, function(l, u, h, f, c, m) {
1730
+ i.options[0].replace($n, function(l, u, h, f, c, m) {
1688
1731
  if (u)
1689
1732
  t.minimumIntegerDigits = h.length;
1690
1733
  else {
@@ -1697,28 +1740,28 @@ function Nn(e) {
1697
1740
  });
1698
1741
  continue;
1699
1742
  }
1700
- if (rr.test(i.stem)) {
1743
+ if (ar.test(i.stem)) {
1701
1744
  t.minimumIntegerDigits = i.stem.length;
1702
1745
  continue;
1703
1746
  }
1704
- if (dt.test(i.stem)) {
1747
+ if (gt.test(i.stem)) {
1705
1748
  if (i.options.length > 1)
1706
1749
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1707
- i.stem.replace(dt, function(l, u, h, f, c, m) {
1750
+ i.stem.replace(gt, function(l, u, h, f, c, m) {
1708
1751
  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), "";
1709
1752
  });
1710
1753
  var o = i.options[0];
1711
- o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), pt(o)));
1754
+ o === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = x(x({}, t), _t(o)));
1712
1755
  continue;
1713
1756
  }
1714
- if (tr.test(i.stem)) {
1715
- t = _(_({}, t), pt(i.stem));
1757
+ if (sr.test(i.stem)) {
1758
+ t = x(x({}, t), _t(i.stem));
1716
1759
  continue;
1717
1760
  }
1718
- var a = nr(i.stem);
1719
- a && (t = _(_({}, t), a));
1720
- var s = Cn(i.stem);
1721
- s && (t = _(_({}, t), s));
1761
+ var a = ur(i.stem);
1762
+ a && (t = x(x({}, t), a));
1763
+ var s = Dn(i.stem);
1764
+ s && (t = x(x({}, t), s));
1722
1765
  }
1723
1766
  return t;
1724
1767
  }
@@ -3137,13 +3180,13 @@ var pe = {
3137
3180
  "h"
3138
3181
  ]
3139
3182
  };
3140
- function Mn(e, t) {
3183
+ function Gn(e, t) {
3141
3184
  for (var r = "", n = 0; n < e.length; n++) {
3142
3185
  var i = e.charAt(n);
3143
3186
  if (i === "j") {
3144
3187
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3145
3188
  o++, n++;
3146
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Rn(t);
3189
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Fn(t);
3147
3190
  for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
3148
3191
  r += l;
3149
3192
  for (; a-- > 0; )
@@ -3153,7 +3196,7 @@ function Mn(e, t) {
3153
3196
  }
3154
3197
  return r;
3155
3198
  }
3156
- function Rn(e) {
3199
+ function Fn(e) {
3157
3200
  var t = e.hourCycle;
3158
3201
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3159
3202
  e.hourCycles && // @ts-ignore
@@ -3175,20 +3218,20 @@ function Rn(e) {
3175
3218
  var i = pe[n || ""] || pe[r || ""] || pe["".concat(r, "-001")] || pe["001"];
3176
3219
  return i[0];
3177
3220
  }
3178
- var Ce, $n = new RegExp("^".concat(er.source, "*")), Dn = new RegExp("".concat(er.source, "*$"));
3179
- function v(e, t) {
3221
+ var Re, jn = new RegExp("^".concat(or.source, "*")), kn = new RegExp("".concat(or.source, "*$"));
3222
+ function _(e, t) {
3180
3223
  return { start: e, end: t };
3181
3224
  }
3182
- var Un = !!String.prototype.startsWith && "_a".startsWith("a", 1), Gn = !!String.fromCodePoint, Fn = !!Object.fromEntries, jn = !!String.prototype.codePointAt, kn = !!String.prototype.trimStart, Vn = !!String.prototype.trimEnd, Xn = !!Number.isSafeInteger, Wn = Xn ? Number.isSafeInteger : function(e) {
3225
+ var Vn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Xn = !!String.fromCodePoint, Wn = !!Object.fromEntries, zn = !!String.prototype.codePointAt, Zn = !!String.prototype.trimStart, Qn = !!String.prototype.trimEnd, Jn = !!Number.isSafeInteger, qn = Jn ? Number.isSafeInteger : function(e) {
3183
3226
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3184
- }, Xe = !0;
3227
+ }, Je = !0;
3185
3228
  try {
3186
- var zn = or("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3187
- Xe = ((Ce = zn.exec("a")) === null || Ce === void 0 ? void 0 : Ce[0]) === "a";
3229
+ var Yn = hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3230
+ Je = ((Re = Yn.exec("a")) === null || Re === void 0 ? void 0 : Re[0]) === "a";
3188
3231
  } catch {
3189
- Xe = !1;
3232
+ Je = !1;
3190
3233
  }
3191
- var bt = Un ? (
3234
+ var Et = Vn ? (
3192
3235
  // Native
3193
3236
  function(t, r, n) {
3194
3237
  return t.startsWith(r, n);
@@ -3198,7 +3241,7 @@ var bt = Un ? (
3198
3241
  function(t, r, n) {
3199
3242
  return t.slice(n, n + r.length) === r;
3200
3243
  }
3201
- ), We = Gn ? String.fromCodePoint : (
3244
+ ), qe = Xn ? String.fromCodePoint : (
3202
3245
  // IE11
3203
3246
  function() {
3204
3247
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3210,9 +3253,9 @@ var bt = Un ? (
3210
3253
  }
3211
3254
  return n;
3212
3255
  }
3213
- ), yt = (
3256
+ ), xt = (
3214
3257
  // native
3215
- Fn ? Object.fromEntries : (
3258
+ Wn ? Object.fromEntries : (
3216
3259
  // Ponyfill
3217
3260
  function(t) {
3218
3261
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3222,7 +3265,7 @@ var bt = Un ? (
3222
3265
  return r;
3223
3266
  }
3224
3267
  )
3225
- ), ir = jn ? (
3268
+ ), lr = zn ? (
3226
3269
  // Native
3227
3270
  function(t, r) {
3228
3271
  return t.codePointAt(r);
@@ -3236,7 +3279,7 @@ var bt = Un ? (
3236
3279
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3237
3280
  }
3238
3281
  }
3239
- ), Zn = kn ? (
3282
+ ), Kn = Zn ? (
3240
3283
  // Native
3241
3284
  function(t) {
3242
3285
  return t.trimStart();
@@ -3244,9 +3287,9 @@ var bt = Un ? (
3244
3287
  ) : (
3245
3288
  // Ponyfill
3246
3289
  function(t) {
3247
- return t.replace($n, "");
3290
+ return t.replace(jn, "");
3248
3291
  }
3249
- ), Qn = Vn ? (
3292
+ ), ei = Qn ? (
3250
3293
  // Native
3251
3294
  function(t) {
3252
3295
  return t.trimEnd();
@@ -3254,32 +3297,32 @@ var bt = Un ? (
3254
3297
  ) : (
3255
3298
  // Ponyfill
3256
3299
  function(t) {
3257
- return t.replace(Dn, "");
3300
+ return t.replace(kn, "");
3258
3301
  }
3259
3302
  );
3260
- function or(e, t) {
3303
+ function hr(e, t) {
3261
3304
  return new RegExp(e, t);
3262
3305
  }
3263
- var ze;
3264
- if (Xe) {
3265
- var gt = or("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3266
- ze = function(t, r) {
3306
+ var Ye;
3307
+ if (Je) {
3308
+ var St = hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3309
+ Ye = function(t, r) {
3267
3310
  var n;
3268
- gt.lastIndex = r;
3269
- var i = gt.exec(t);
3311
+ St.lastIndex = r;
3312
+ var i = St.exec(t);
3270
3313
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3271
3314
  };
3272
3315
  } else
3273
- ze = function(t, r) {
3316
+ Ye = function(t, r) {
3274
3317
  for (var n = []; ; ) {
3275
- var i = ir(t, r);
3276
- if (i === void 0 || sr(i) || Kn(i))
3318
+ var i = lr(t, r);
3319
+ if (i === void 0 || cr(i) || ii(i))
3277
3320
  break;
3278
3321
  n.push(i), r += i >= 65536 ? 2 : 1;
3279
3322
  }
3280
- return We.apply(void 0, n);
3323
+ return qe.apply(void 0, n);
3281
3324
  };
3282
- var Jn = (
3325
+ var ti = (
3283
3326
  /** @class */
3284
3327
  function() {
3285
3328
  function e(t, r) {
@@ -3303,14 +3346,14 @@ var Jn = (
3303
3346
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3304
3347
  var s = this.clonePosition();
3305
3348
  this.bump(), i.push({
3306
- type: E.pound,
3307
- location: v(s, this.clonePosition())
3349
+ type: v.pound,
3350
+ location: _(s, this.clonePosition())
3308
3351
  });
3309
3352
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3310
3353
  if (n)
3311
3354
  break;
3312
- return this.error(y.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
3313
- } else if (o === 60 && !this.ignoreTag && Ze(this.peek() || 0)) {
3355
+ return this.error(y.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
3356
+ } else if (o === 60 && !this.ignoreTag && Ke(this.peek() || 0)) {
3314
3357
  var a = this.parseTag(t, r);
3315
3358
  if (a.err)
3316
3359
  return a;
@@ -3331,9 +3374,9 @@ var Jn = (
3331
3374
  if (this.bumpSpace(), this.bumpIf("/>"))
3332
3375
  return {
3333
3376
  val: {
3334
- type: E.literal,
3377
+ type: v.literal,
3335
3378
  value: "<".concat(i, "/>"),
3336
- location: v(n, this.clonePosition())
3379
+ location: _(n, this.clonePosition())
3337
3380
  },
3338
3381
  err: null
3339
3382
  };
@@ -3343,25 +3386,25 @@ var Jn = (
3343
3386
  return o;
3344
3387
  var a = o.val, s = this.clonePosition();
3345
3388
  if (this.bumpIf("</")) {
3346
- if (this.isEOF() || !Ze(this.char()))
3347
- return this.error(y.INVALID_TAG, v(s, this.clonePosition()));
3389
+ if (this.isEOF() || !Ke(this.char()))
3390
+ return this.error(y.INVALID_TAG, _(s, this.clonePosition()));
3348
3391
  var l = this.clonePosition(), u = this.parseTagName();
3349
- return i !== u ? this.error(y.UNMATCHED_CLOSING_TAG, v(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3392
+ return i !== u ? this.error(y.UNMATCHED_CLOSING_TAG, _(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3350
3393
  val: {
3351
- type: E.tag,
3394
+ type: v.tag,
3352
3395
  value: i,
3353
3396
  children: a,
3354
- location: v(n, this.clonePosition())
3397
+ location: _(n, this.clonePosition())
3355
3398
  },
3356
3399
  err: null
3357
- } : this.error(y.INVALID_TAG, v(s, this.clonePosition())));
3400
+ } : this.error(y.INVALID_TAG, _(s, this.clonePosition())));
3358
3401
  } else
3359
- return this.error(y.UNCLOSED_TAG, v(n, this.clonePosition()));
3402
+ return this.error(y.UNCLOSED_TAG, _(n, this.clonePosition()));
3360
3403
  } else
3361
- return this.error(y.INVALID_TAG, v(n, this.clonePosition()));
3404
+ return this.error(y.INVALID_TAG, _(n, this.clonePosition()));
3362
3405
  }, e.prototype.parseTagName = function() {
3363
3406
  var t = this.offset();
3364
- for (this.bump(); !this.isEOF() && Yn(this.char()); )
3407
+ for (this.bump(); !this.isEOF() && ni(this.char()); )
3365
3408
  this.bump();
3366
3409
  return this.message.slice(t, this.offset());
3367
3410
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3383,14 +3426,14 @@ var Jn = (
3383
3426
  }
3384
3427
  break;
3385
3428
  }
3386
- var l = v(n, this.clonePosition());
3429
+ var l = _(n, this.clonePosition());
3387
3430
  return {
3388
- val: { type: E.literal, value: i, location: l },
3431
+ val: { type: v.literal, value: i, location: l },
3389
3432
  err: null
3390
3433
  };
3391
3434
  }, e.prototype.tryParseLeftAngleBracket = function() {
3392
3435
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3393
- !qn(this.peek() || 0)) ? (this.bump(), "<") : null;
3436
+ !ri(this.peek() || 0)) ? (this.bump(), "<") : null;
3394
3437
  }, e.prototype.tryParseQuote = function(t) {
3395
3438
  if (this.isEOF() || this.char() !== 39)
3396
3439
  return null;
@@ -3424,49 +3467,49 @@ var Jn = (
3424
3467
  r.push(n);
3425
3468
  this.bump();
3426
3469
  }
3427
- return We.apply(void 0, r);
3470
+ return qe.apply(void 0, r);
3428
3471
  }, e.prototype.tryParseUnquoted = function(t, r) {
3429
3472
  if (this.isEOF())
3430
3473
  return null;
3431
3474
  var n = this.char();
3432
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), We(n));
3475
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), qe(n));
3433
3476
  }, e.prototype.parseArgument = function(t, r) {
3434
3477
  var n = this.clonePosition();
3435
3478
  if (this.bump(), this.bumpSpace(), this.isEOF())
3436
- return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
3479
+ return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
3437
3480
  if (this.char() === 125)
3438
- return this.bump(), this.error(y.EMPTY_ARGUMENT, v(n, this.clonePosition()));
3481
+ return this.bump(), this.error(y.EMPTY_ARGUMENT, _(n, this.clonePosition()));
3439
3482
  var i = this.parseIdentifierIfPossible().value;
3440
3483
  if (!i)
3441
- return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3484
+ return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
3442
3485
  if (this.bumpSpace(), this.isEOF())
3443
- return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
3486
+ return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
3444
3487
  switch (this.char()) {
3445
3488
  case 125:
3446
3489
  return this.bump(), {
3447
3490
  val: {
3448
- type: E.argument,
3491
+ type: v.argument,
3449
3492
  // value does not include the opening and closing braces.
3450
3493
  value: i,
3451
- location: v(n, this.clonePosition())
3494
+ location: _(n, this.clonePosition())
3452
3495
  },
3453
3496
  err: null
3454
3497
  };
3455
3498
  case 44:
3456
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3499
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3457
3500
  default:
3458
- return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3501
+ return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
3459
3502
  }
3460
3503
  }, e.prototype.parseIdentifierIfPossible = function() {
3461
- var t = this.clonePosition(), r = this.offset(), n = ze(this.message, r), i = r + n.length;
3504
+ var t = this.clonePosition(), r = this.offset(), n = Ye(this.message, r), i = r + n.length;
3462
3505
  this.bumpTo(i);
3463
- var o = this.clonePosition(), a = v(t, o);
3506
+ var o = this.clonePosition(), a = _(t, o);
3464
3507
  return { value: n, location: a };
3465
3508
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3466
3509
  var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3467
3510
  switch (s) {
3468
3511
  case "":
3469
- return this.error(y.EXPECT_ARGUMENT_TYPE, v(a, l));
3512
+ return this.error(y.EXPECT_ARGUMENT_TYPE, _(a, l));
3470
3513
  case "number":
3471
3514
  case "date":
3472
3515
  case "time": {
@@ -3477,35 +3520,35 @@ var Jn = (
3477
3520
  var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3478
3521
  if (f.err)
3479
3522
  return f;
3480
- var c = Qn(f.val);
3523
+ var c = ei(f.val);
3481
3524
  if (c.length === 0)
3482
- return this.error(y.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
3483
- var m = v(h, this.clonePosition());
3525
+ return this.error(y.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
3526
+ var m = _(h, this.clonePosition());
3484
3527
  u = { style: c, styleLocation: m };
3485
3528
  }
3486
3529
  var b = this.tryParseArgumentClose(i);
3487
3530
  if (b.err)
3488
3531
  return b;
3489
- var g = v(i, this.clonePosition());
3490
- if (u && bt(u?.style, "::", 0)) {
3491
- var S = Zn(u.style.slice(2));
3532
+ var g = _(i, this.clonePosition());
3533
+ if (u && Et(u?.style, "::", 0)) {
3534
+ var S = Kn(u.style.slice(2));
3492
3535
  if (s === "number") {
3493
3536
  var f = this.parseNumberSkeletonFromString(S, u.styleLocation);
3494
3537
  return f.err ? f : {
3495
- val: { type: E.number, value: n, location: g, style: f.val },
3538
+ val: { type: v.number, value: n, location: g, style: f.val },
3496
3539
  err: null
3497
3540
  };
3498
3541
  } else {
3499
3542
  if (S.length === 0)
3500
3543
  return this.error(y.EXPECT_DATE_TIME_SKELETON, g);
3501
3544
  var A = S;
3502
- this.locale && (A = Mn(S, this.locale));
3545
+ this.locale && (A = Gn(S, this.locale));
3503
3546
  var c = {
3504
- type: ee.dateTime,
3547
+ type: K.dateTime,
3505
3548
  pattern: A,
3506
3549
  location: u.styleLocation,
3507
- parsedOptions: this.shouldParseSkeletons ? Pn(A) : {}
3508
- }, H = s === "date" ? E.date : E.time;
3550
+ parsedOptions: this.shouldParseSkeletons ? Cn(A) : {}
3551
+ }, H = s === "date" ? v.date : v.time;
3509
3552
  return {
3510
3553
  val: { type: H, value: n, location: g, style: c },
3511
3554
  err: null
@@ -3514,7 +3557,7 @@ var Jn = (
3514
3557
  }
3515
3558
  return {
3516
3559
  val: {
3517
- type: s === "number" ? E.number : s === "date" ? E.date : E.time,
3560
+ type: s === "number" ? v.number : s === "date" ? v.date : v.time,
3518
3561
  value: n,
3519
3562
  location: g,
3520
3563
  style: (o = u?.style) !== null && o !== void 0 ? o : null
@@ -3527,12 +3570,12 @@ var Jn = (
3527
3570
  case "select": {
3528
3571
  var w = this.clonePosition();
3529
3572
  if (this.bumpSpace(), !this.bumpIf(","))
3530
- return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(w, _({}, w)));
3573
+ return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, _(w, ve({}, w)));
3531
3574
  this.bumpSpace();
3532
3575
  var C = this.parseIdentifierIfPossible(), O = 0;
3533
3576
  if (s !== "select" && C.value === "offset") {
3534
3577
  if (!this.bumpIf(":"))
3535
- return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
3578
+ return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
3536
3579
  this.bumpSpace();
3537
3580
  var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3538
3581
  if (f.err)
@@ -3545,32 +3588,32 @@ var Jn = (
3545
3588
  var b = this.tryParseArgumentClose(i);
3546
3589
  if (b.err)
3547
3590
  return b;
3548
- var x = v(i, this.clonePosition());
3591
+ var E = _(i, this.clonePosition());
3549
3592
  return s === "select" ? {
3550
3593
  val: {
3551
- type: E.select,
3594
+ type: v.select,
3552
3595
  value: n,
3553
- options: yt(N.val),
3554
- location: x
3596
+ options: xt(N.val),
3597
+ location: E
3555
3598
  },
3556
3599
  err: null
3557
3600
  } : {
3558
3601
  val: {
3559
- type: E.plural,
3602
+ type: v.plural,
3560
3603
  value: n,
3561
- options: yt(N.val),
3604
+ options: xt(N.val),
3562
3605
  offset: O,
3563
3606
  pluralType: s === "plural" ? "cardinal" : "ordinal",
3564
- location: x
3607
+ location: E
3565
3608
  },
3566
3609
  err: null
3567
3610
  };
3568
3611
  }
3569
3612
  default:
3570
- return this.error(y.INVALID_ARGUMENT_TYPE, v(a, l));
3613
+ return this.error(y.INVALID_ARGUMENT_TYPE, _(a, l));
3571
3614
  }
3572
3615
  }, e.prototype.tryParseArgumentClose = function(t) {
3573
- return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3616
+ return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3574
3617
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3575
3618
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3576
3619
  var n = this.char();
@@ -3579,7 +3622,7 @@ var Jn = (
3579
3622
  this.bump();
3580
3623
  var i = this.clonePosition();
3581
3624
  if (!this.bumpUntil("'"))
3582
- return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, v(i, this.clonePosition()));
3625
+ return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, _(i, this.clonePosition()));
3583
3626
  this.bump();
3584
3627
  break;
3585
3628
  }
@@ -3609,16 +3652,16 @@ var Jn = (
3609
3652
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3610
3653
  var n = [];
3611
3654
  try {
3612
- n = On(t);
3655
+ n = Mn(t);
3613
3656
  } catch {
3614
3657
  return this.error(y.INVALID_NUMBER_SKELETON, r);
3615
3658
  }
3616
3659
  return {
3617
3660
  val: {
3618
- type: ee.number,
3661
+ type: K.number,
3619
3662
  tokens: n,
3620
3663
  location: r,
3621
- parsedOptions: this.shouldParseSkeletons ? Nn(n) : {}
3664
+ parsedOptions: this.shouldParseSkeletons ? Un(n) : {}
3622
3665
  },
3623
3666
  err: null
3624
3667
  };
@@ -3630,7 +3673,7 @@ var Jn = (
3630
3673
  var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
3631
3674
  if (c.err)
3632
3675
  return c;
3633
- h = v(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3676
+ h = _(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3634
3677
  } else
3635
3678
  break;
3636
3679
  }
@@ -3639,7 +3682,7 @@ var Jn = (
3639
3682
  u === "other" && (a = !0), this.bumpSpace();
3640
3683
  var m = this.clonePosition();
3641
3684
  if (!this.bumpIf("{"))
3642
- return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
3685
+ return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
3643
3686
  var b = this.parseMessage(t + 1, r, n);
3644
3687
  if (b.err)
3645
3688
  return b;
@@ -3650,11 +3693,11 @@ var Jn = (
3650
3693
  u,
3651
3694
  {
3652
3695
  value: b.val,
3653
- location: v(m, this.clonePosition())
3696
+ location: _(m, this.clonePosition())
3654
3697
  }
3655
3698
  ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
3656
3699
  }
3657
- return s.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(y.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3700
+ return s.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(y.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3658
3701
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3659
3702
  var n = 1, i = this.clonePosition();
3660
3703
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3665,8 +3708,8 @@ var Jn = (
3665
3708
  else
3666
3709
  break;
3667
3710
  }
3668
- var l = v(i, this.clonePosition());
3669
- return o ? (a *= n, Wn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3711
+ var l = _(i, this.clonePosition());
3712
+ return o ? (a *= n, qn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3670
3713
  }, e.prototype.offset = function() {
3671
3714
  return this.position.offset;
3672
3715
  }, e.prototype.isEOF = function() {
@@ -3681,7 +3724,7 @@ var Jn = (
3681
3724
  var t = this.position.offset;
3682
3725
  if (t >= this.message.length)
3683
3726
  throw Error("out of bound");
3684
- var r = ir(this.message, t);
3727
+ var r = lr(this.message, t);
3685
3728
  if (r === void 0)
3686
3729
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3687
3730
  return r;
@@ -3700,7 +3743,7 @@ var Jn = (
3700
3743
  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);
3701
3744
  }
3702
3745
  }, e.prototype.bumpIf = function(t) {
3703
- if (bt(this.message, t, this.offset())) {
3746
+ if (Et(this.message, t, this.offset())) {
3704
3747
  for (var r = 0; r < t.length; r++)
3705
3748
  this.bump();
3706
3749
  return !0;
@@ -3722,7 +3765,7 @@ var Jn = (
3722
3765
  break;
3723
3766
  }
3724
3767
  }, e.prototype.bumpSpace = function() {
3725
- for (; !this.isEOF() && sr(this.char()); )
3768
+ for (; !this.isEOF() && cr(this.char()); )
3726
3769
  this.bump();
3727
3770
  }, e.prototype.peek = function() {
3728
3771
  if (this.isEOF())
@@ -3732,47 +3775,47 @@ var Jn = (
3732
3775
  }, e;
3733
3776
  }()
3734
3777
  );
3735
- function Ze(e) {
3778
+ function Ke(e) {
3736
3779
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3737
3780
  }
3738
- function qn(e) {
3739
- return Ze(e) || e === 47;
3781
+ function ri(e) {
3782
+ return Ke(e) || e === 47;
3740
3783
  }
3741
- function Yn(e) {
3784
+ function ni(e) {
3742
3785
  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;
3743
3786
  }
3744
- function sr(e) {
3787
+ function cr(e) {
3745
3788
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3746
3789
  }
3747
- function Kn(e) {
3790
+ function ii(e) {
3748
3791
  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;
3749
3792
  }
3750
- function Qe(e) {
3793
+ function et(e) {
3751
3794
  e.forEach(function(t) {
3752
- if (delete t.location, Jt(t) || qt(t))
3795
+ if (delete t.location, tr(t) || rr(t))
3753
3796
  for (var r in t.options)
3754
- delete t.options[r].location, Qe(t.options[r].value);
3797
+ delete t.options[r].location, et(t.options[r].value);
3755
3798
  else
3756
- zt(t) && Kt(t.style) || (Zt(t) || Qt(t)) && Ve(t.style) ? delete t.style.location : Yt(t) && Qe(t.children);
3799
+ Yt(t) && ir(t.style) || (Kt(t) || er(t)) && Qe(t.style) ? delete t.style.location : nr(t) && et(t.children);
3757
3800
  });
3758
3801
  }
3759
- function ei(e, t) {
3760
- t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3761
- var r = new Jn(e, t).parse();
3802
+ function oi(e, t) {
3803
+ t === void 0 && (t = {}), t = ve({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3804
+ var r = new ti(e, t).parse();
3762
3805
  if (r.err) {
3763
3806
  var n = SyntaxError(y[r.err.kind]);
3764
3807
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3765
3808
  }
3766
- return t?.captureLocation || Qe(r.val), r.val;
3809
+ return t?.captureLocation || et(r.val), r.val;
3767
3810
  }
3768
- var te;
3811
+ var ee;
3769
3812
  (function(e) {
3770
3813
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3771
- })(te || (te = {}));
3772
- var He = (
3814
+ })(ee || (ee = {}));
3815
+ var Pe = (
3773
3816
  /** @class */
3774
3817
  function(e) {
3775
- U(t, e);
3818
+ Be(t, e);
3776
3819
  function t(r, n, i) {
3777
3820
  var o = e.call(this, r) || this;
3778
3821
  return o.code = n, o.originalMessage = i, o;
@@ -3781,48 +3824,48 @@ var He = (
3781
3824
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3782
3825
  }, t;
3783
3826
  }(Error)
3784
- ), vt = (
3827
+ ), wt = (
3785
3828
  /** @class */
3786
3829
  function(e) {
3787
- U(t, e);
3830
+ Be(t, e);
3788
3831
  function t(r, n, i, o) {
3789
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), te.INVALID_VALUE, o) || this;
3832
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ee.INVALID_VALUE, o) || this;
3790
3833
  }
3791
3834
  return t;
3792
- }(He)
3793
- ), ti = (
3835
+ }(Pe)
3836
+ ), si = (
3794
3837
  /** @class */
3795
3838
  function(e) {
3796
- U(t, e);
3839
+ Be(t, e);
3797
3840
  function t(r, n, i) {
3798
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), te.INVALID_VALUE, i) || this;
3841
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ee.INVALID_VALUE, i) || this;
3799
3842
  }
3800
3843
  return t;
3801
- }(He)
3802
- ), ri = (
3844
+ }(Pe)
3845
+ ), ai = (
3803
3846
  /** @class */
3804
3847
  function(e) {
3805
- U(t, e);
3848
+ Be(t, e);
3806
3849
  function t(r, n) {
3807
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), te.MISSING_VALUE, n) || this;
3850
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ee.MISSING_VALUE, n) || this;
3808
3851
  }
3809
3852
  return t;
3810
- }(He)
3853
+ }(Pe)
3811
3854
  ), T;
3812
3855
  (function(e) {
3813
3856
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3814
3857
  })(T || (T = {}));
3815
- function ni(e) {
3858
+ function ui(e) {
3816
3859
  return e.length < 2 ? e : e.reduce(function(t, r) {
3817
3860
  var n = t[t.length - 1];
3818
3861
  return !n || n.type !== T.literal || r.type !== T.literal ? t.push(r) : n.value += r.value, t;
3819
3862
  }, []);
3820
3863
  }
3821
- function ii(e) {
3864
+ function li(e) {
3822
3865
  return typeof e == "function";
3823
3866
  }
3824
3867
  function ge(e, t, r, n, i, o, a) {
3825
- if (e.length === 1 && ft(e[0]))
3868
+ if (e.length === 1 && yt(e[0]))
3826
3869
  return [
3827
3870
  {
3828
3871
  type: T.literal,
@@ -3831,14 +3874,14 @@ function ge(e, t, r, n, i, o, a) {
3831
3874
  ];
3832
3875
  for (var s = [], l = 0, u = e; l < u.length; l++) {
3833
3876
  var h = u[l];
3834
- if (ft(h)) {
3877
+ if (yt(h)) {
3835
3878
  s.push({
3836
3879
  type: T.literal,
3837
3880
  value: h.value
3838
3881
  });
3839
3882
  continue;
3840
3883
  }
3841
- if (Hn(h)) {
3884
+ if (In(h)) {
3842
3885
  typeof o == "number" && s.push({
3843
3886
  type: T.literal,
3844
3887
  value: r.getNumberFormat(t).format(o)
@@ -3847,43 +3890,43 @@ function ge(e, t, r, n, i, o, a) {
3847
3890
  }
3848
3891
  var f = h.value;
3849
3892
  if (!(i && f in i))
3850
- throw new ri(f, a);
3893
+ throw new ai(f, a);
3851
3894
  var c = i[f];
3852
- if (Tn(h)) {
3895
+ if (On(h)) {
3853
3896
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), s.push({
3854
3897
  type: typeof c == "string" ? T.literal : T.object,
3855
3898
  value: c
3856
3899
  });
3857
3900
  continue;
3858
3901
  }
3859
- if (Zt(h)) {
3860
- var m = typeof h.style == "string" ? n.date[h.style] : Ve(h.style) ? h.style.parsedOptions : void 0;
3902
+ if (Kt(h)) {
3903
+ var m = typeof h.style == "string" ? n.date[h.style] : Qe(h.style) ? h.style.parsedOptions : void 0;
3861
3904
  s.push({
3862
3905
  type: T.literal,
3863
3906
  value: r.getDateTimeFormat(t, m).format(c)
3864
3907
  });
3865
3908
  continue;
3866
3909
  }
3867
- if (Qt(h)) {
3868
- var m = typeof h.style == "string" ? n.time[h.style] : Ve(h.style) ? h.style.parsedOptions : n.time.medium;
3910
+ if (er(h)) {
3911
+ var m = typeof h.style == "string" ? n.time[h.style] : Qe(h.style) ? h.style.parsedOptions : n.time.medium;
3869
3912
  s.push({
3870
3913
  type: T.literal,
3871
3914
  value: r.getDateTimeFormat(t, m).format(c)
3872
3915
  });
3873
3916
  continue;
3874
3917
  }
3875
- if (zt(h)) {
3876
- var m = typeof h.style == "string" ? n.number[h.style] : Kt(h.style) ? h.style.parsedOptions : void 0;
3918
+ if (Yt(h)) {
3919
+ var m = typeof h.style == "string" ? n.number[h.style] : ir(h.style) ? h.style.parsedOptions : void 0;
3877
3920
  m && m.scale && (c = c * (m.scale || 1)), s.push({
3878
3921
  type: T.literal,
3879
3922
  value: r.getNumberFormat(t, m).format(c)
3880
3923
  });
3881
3924
  continue;
3882
3925
  }
3883
- if (Yt(h)) {
3926
+ if (nr(h)) {
3884
3927
  var b = h.children, g = h.value, S = i[g];
3885
- if (!ii(S))
3886
- throw new ti(g, "function", a);
3928
+ if (!li(S))
3929
+ throw new si(g, "function", a);
3887
3930
  var A = ge(b, t, r, n, i, o), H = S(A.map(function(O) {
3888
3931
  return O.value;
3889
3932
  }));
@@ -3894,42 +3937,42 @@ function ge(e, t, r, n, i, o, a) {
3894
3937
  };
3895
3938
  }));
3896
3939
  }
3897
- if (Jt(h)) {
3940
+ if (tr(h)) {
3898
3941
  var w = h.options[c] || h.options.other;
3899
3942
  if (!w)
3900
- throw new vt(h.value, c, Object.keys(h.options), a);
3943
+ throw new wt(h.value, c, Object.keys(h.options), a);
3901
3944
  s.push.apply(s, ge(w.value, t, r, n, i));
3902
3945
  continue;
3903
3946
  }
3904
- if (qt(h)) {
3947
+ if (rr(h)) {
3905
3948
  var w = h.options["=".concat(c)];
3906
3949
  if (!w) {
3907
3950
  if (!Intl.PluralRules)
3908
- throw new He(`Intl.PluralRules is not available in this environment.
3951
+ throw new Pe(`Intl.PluralRules is not available in this environment.
3909
3952
  Try polyfilling it using "@formatjs/intl-pluralrules"
3910
- `, te.MISSING_INTL_API, a);
3953
+ `, ee.MISSING_INTL_API, a);
3911
3954
  var C = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3912
3955
  w = h.options[C] || h.options.other;
3913
3956
  }
3914
3957
  if (!w)
3915
- throw new vt(h.value, c, Object.keys(h.options), a);
3958
+ throw new wt(h.value, c, Object.keys(h.options), a);
3916
3959
  s.push.apply(s, ge(w.value, t, r, n, i, c - (h.offset || 0)));
3917
3960
  continue;
3918
3961
  }
3919
3962
  }
3920
- return ni(s);
3963
+ return ui(s);
3921
3964
  }
3922
- function oi(e, t) {
3923
- return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3924
- return r[n] = _(_({}, e[n]), t[n] || {}), r;
3965
+ function hi(e, t) {
3966
+ return t ? R(R(R({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3967
+ return r[n] = R(R({}, e[n]), t[n] || {}), r;
3925
3968
  }, {})) : e;
3926
3969
  }
3927
- function si(e, t) {
3970
+ function ci(e, t) {
3928
3971
  return t ? Object.keys(e).reduce(function(r, n) {
3929
- return r[n] = oi(e[n], t[n]), r;
3930
- }, _({}, e)) : e;
3972
+ return r[n] = hi(e[n], t[n]), r;
3973
+ }, R({}, e)) : e;
3931
3974
  }
3932
- function Ne(e) {
3975
+ function $e(e) {
3933
3976
  return {
3934
3977
  create: function() {
3935
3978
  return {
@@ -3943,39 +3986,39 @@ function Ne(e) {
3943
3986
  }
3944
3987
  };
3945
3988
  }
3946
- function ai(e) {
3989
+ function fi(e) {
3947
3990
  return e === void 0 && (e = {
3948
3991
  number: {},
3949
3992
  dateTime: {},
3950
3993
  pluralRules: {}
3951
3994
  }), {
3952
- getNumberFormat: Ie(function() {
3995
+ getNumberFormat: Ne(function() {
3953
3996
  for (var t, r = [], n = 0; n < arguments.length; n++)
3954
3997
  r[n] = arguments[n];
3955
- return new ((t = Intl.NumberFormat).bind.apply(t, Y([void 0], r, !1)))();
3998
+ return new ((t = Intl.NumberFormat).bind.apply(t, Ce([void 0], r, !1)))();
3956
3999
  }, {
3957
- cache: Ne(e.number),
3958
- strategy: Le.variadic
4000
+ cache: $e(e.number),
4001
+ strategy: Me.variadic
3959
4002
  }),
3960
- getDateTimeFormat: Ie(function() {
4003
+ getDateTimeFormat: Ne(function() {
3961
4004
  for (var t, r = [], n = 0; n < arguments.length; n++)
3962
4005
  r[n] = arguments[n];
3963
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Y([void 0], r, !1)))();
4006
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Ce([void 0], r, !1)))();
3964
4007
  }, {
3965
- cache: Ne(e.dateTime),
3966
- strategy: Le.variadic
4008
+ cache: $e(e.dateTime),
4009
+ strategy: Me.variadic
3967
4010
  }),
3968
- getPluralRules: Ie(function() {
4011
+ getPluralRules: Ne(function() {
3969
4012
  for (var t, r = [], n = 0; n < arguments.length; n++)
3970
4013
  r[n] = arguments[n];
3971
- return new ((t = Intl.PluralRules).bind.apply(t, Y([void 0], r, !1)))();
4014
+ return new ((t = Intl.PluralRules).bind.apply(t, Ce([void 0], r, !1)))();
3972
4015
  }, {
3973
- cache: Ne(e.pluralRules),
3974
- strategy: Le.variadic
4016
+ cache: $e(e.pluralRules),
4017
+ strategy: Me.variadic
3975
4018
  })
3976
4019
  };
3977
4020
  }
3978
- var ui = (
4021
+ var di = (
3979
4022
  /** @class */
3980
4023
  function() {
3981
4024
  function e(t, r, n, i) {
@@ -4007,13 +4050,13 @@ var ui = (
4007
4050
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
4008
4051
  var a = i || {};
4009
4052
  a.formatters;
4010
- var s = Ur(a, ["formatters"]);
4011
- this.ast = e.__parse(t, _(_({}, s), { locale: this.resolvedLocale }));
4053
+ var s = xn(a, ["formatters"]);
4054
+ this.ast = e.__parse(t, R(R({}, s), { locale: this.resolvedLocale }));
4012
4055
  } else
4013
4056
  this.ast = t;
4014
4057
  if (!Array.isArray(this.ast))
4015
4058
  throw new TypeError("A message must be provided as a String or AST.");
4016
- this.formats = si(e.formats, n), this.formatters = i && i.formatters || ai(this.formatterCache);
4059
+ this.formats = ci(e.formats, n), this.formatters = i && i.formatters || fi(this.formatterCache);
4017
4060
  }
4018
4061
  return Object.defineProperty(e, "defaultLocale", {
4019
4062
  get: function() {
@@ -4026,7 +4069,7 @@ var ui = (
4026
4069
  var r = Intl.NumberFormat.supportedLocalesOf(t);
4027
4070
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
4028
4071
  }
4029
- }, e.__parse = ei, e.formats = {
4072
+ }, e.__parse = oi, e.formats = {
4030
4073
  number: {
4031
4074
  integer: {
4032
4075
  maximumFractionDigits: 0
@@ -4087,7 +4130,7 @@ var ui = (
4087
4130
  }, e;
4088
4131
  }()
4089
4132
  );
4090
- function li(e, t) {
4133
+ function pi(e, t) {
4091
4134
  if (t == null)
4092
4135
  return;
4093
4136
  if (t in e)
@@ -4108,92 +4151,92 @@ function li(e, t) {
4108
4151
  n = void 0;
4109
4152
  return n;
4110
4153
  }
4111
- const F = {}, hi = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), ar = (e, t) => {
4154
+ const F = {}, mi = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), fr = (e, t) => {
4112
4155
  if (t == null)
4113
4156
  return;
4114
4157
  if (t in F && e in F[t])
4115
4158
  return F[t][e];
4116
- const r = Be(t);
4159
+ const r = Ae(t);
4117
4160
  for (let n = 0; n < r.length; n++) {
4118
- const i = r[n], o = fi(i, e);
4161
+ const i = r[n], o = yi(i, e);
4119
4162
  if (o)
4120
- return hi(e, t, o);
4163
+ return mi(e, t, o);
4121
4164
  }
4122
4165
  };
4123
- let Ke;
4124
- const ce = Te({});
4125
- function ci(e) {
4126
- return Ke[e] || null;
4166
+ let it;
4167
+ const ce = He({});
4168
+ function bi(e) {
4169
+ return it[e] || null;
4127
4170
  }
4128
- function ur(e) {
4129
- return e in Ke;
4171
+ function dr(e) {
4172
+ return e in it;
4130
4173
  }
4131
- function fi(e, t) {
4132
- if (!ur(e))
4174
+ function yi(e, t) {
4175
+ if (!dr(e))
4133
4176
  return null;
4134
- const r = ci(e);
4135
- return li(r, t);
4177
+ const r = bi(e);
4178
+ return pi(r, t);
4136
4179
  }
4137
- function di(e) {
4180
+ function gi(e) {
4138
4181
  if (e == null)
4139
4182
  return;
4140
- const t = Be(e);
4183
+ const t = Ae(e);
4141
4184
  for (let r = 0; r < t.length; r++) {
4142
4185
  const n = t[r];
4143
- if (ur(n))
4186
+ if (dr(n))
4144
4187
  return n;
4145
4188
  }
4146
4189
  }
4147
- function lr(e, ...t) {
4148
- delete F[e], ce.update((r) => (r[e] = yn.all([r[e] || {}, ...t]), r));
4190
+ function pr(e, ...t) {
4191
+ delete F[e], ce.update((r) => (r[e] = En.all([r[e] || {}, ...t]), r));
4149
4192
  }
4150
- ne(
4193
+ re(
4151
4194
  [ce],
4152
4195
  ([e]) => Object.keys(e)
4153
4196
  );
4154
- ce.subscribe((e) => Ke = e);
4155
- const ve = {};
4156
- function pi(e, t) {
4157
- ve[e].delete(t), ve[e].size === 0 && delete ve[e];
4197
+ ce.subscribe((e) => it = e);
4198
+ const _e = {};
4199
+ function _i(e, t) {
4200
+ _e[e].delete(t), _e[e].size === 0 && delete _e[e];
4158
4201
  }
4159
- function hr(e) {
4160
- return ve[e];
4202
+ function mr(e) {
4203
+ return _e[e];
4161
4204
  }
4162
- function mi(e) {
4163
- return Be(e).map((t) => {
4164
- const r = hr(t);
4205
+ function vi(e) {
4206
+ return Ae(e).map((t) => {
4207
+ const r = mr(t);
4165
4208
  return [t, r ? [...r] : []];
4166
4209
  }).filter(([, t]) => t.length > 0);
4167
4210
  }
4168
- function Je(e) {
4169
- return e == null ? !1 : Be(e).some(
4211
+ function tt(e) {
4212
+ return e == null ? !1 : Ae(e).some(
4170
4213
  (t) => {
4171
4214
  var r;
4172
- return (r = hr(t)) == null ? void 0 : r.size;
4215
+ return (r = mr(t)) == null ? void 0 : r.size;
4173
4216
  }
4174
4217
  );
4175
4218
  }
4176
- function bi(e, t) {
4219
+ function Ei(e, t) {
4177
4220
  return Promise.all(
4178
- t.map((n) => (pi(e, n), n().then((i) => i.default || i)))
4179
- ).then((n) => lr(e, ...n));
4180
- }
4181
- const se = {};
4182
- function cr(e) {
4183
- if (!Je(e))
4184
- return e in se ? se[e] : Promise.resolve();
4185
- const t = mi(e);
4186
- return se[e] = Promise.all(
4221
+ t.map((n) => (_i(e, n), n().then((i) => i.default || i)))
4222
+ ).then((n) => pr(e, ...n));
4223
+ }
4224
+ const oe = {};
4225
+ function br(e) {
4226
+ if (!tt(e))
4227
+ return e in oe ? oe[e] : Promise.resolve();
4228
+ const t = vi(e);
4229
+ return oe[e] = Promise.all(
4187
4230
  t.map(
4188
- ([r, n]) => bi(r, n)
4231
+ ([r, n]) => Ei(r, n)
4189
4232
  )
4190
4233
  ).then(() => {
4191
- if (Je(e))
4192
- return cr(e);
4193
- delete se[e];
4194
- }), se[e];
4234
+ if (tt(e))
4235
+ return br(e);
4236
+ delete oe[e];
4237
+ }), oe[e];
4195
4238
  }
4196
- const yi = {
4239
+ const xi = {
4197
4240
  number: {
4198
4241
  scientific: { notation: "scientific" },
4199
4242
  engineering: { notation: "engineering" },
@@ -4222,135 +4265,135 @@ const yi = {
4222
4265
  timeZoneName: "short"
4223
4266
  }
4224
4267
  }
4225
- }, gi = {
4268
+ }, Si = {
4226
4269
  fallbackLocale: null,
4227
4270
  loadingDelay: 200,
4228
- formats: yi,
4271
+ formats: xi,
4229
4272
  warnOnMissingMessages: !0,
4230
4273
  handleMissingMessage: void 0,
4231
4274
  ignoreTag: !0
4232
- }, vi = gi;
4233
- function re() {
4234
- return vi;
4275
+ }, wi = Si;
4276
+ function te() {
4277
+ return wi;
4235
4278
  }
4236
- const Me = Te(!1);
4237
- var _i = Object.defineProperty, Ei = Object.defineProperties, xi = Object.getOwnPropertyDescriptors, _t = Object.getOwnPropertySymbols, Si = Object.prototype.hasOwnProperty, wi = Object.prototype.propertyIsEnumerable, Et = (e, t, r) => t in e ? _i(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ti = (e, t) => {
4279
+ const De = He(!1);
4280
+ var Ti = Object.defineProperty, Hi = Object.defineProperties, Bi = Object.getOwnPropertyDescriptors, Tt = Object.getOwnPropertySymbols, Pi = Object.prototype.hasOwnProperty, Ai = Object.prototype.propertyIsEnumerable, Ht = (e, t, r) => t in e ? Ti(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Oi = (e, t) => {
4238
4281
  for (var r in t || (t = {}))
4239
- Si.call(t, r) && Et(e, r, t[r]);
4240
- if (_t)
4241
- for (var r of _t(t))
4242
- wi.call(t, r) && Et(e, r, t[r]);
4282
+ Pi.call(t, r) && Ht(e, r, t[r]);
4283
+ if (Tt)
4284
+ for (var r of Tt(t))
4285
+ Ai.call(t, r) && Ht(e, r, t[r]);
4243
4286
  return e;
4244
- }, Hi = (e, t) => Ei(e, xi(t));
4245
- let qe;
4246
- const _e = Te(null);
4247
- function xt(e) {
4287
+ }, Ii = (e, t) => Hi(e, Bi(t));
4288
+ let rt;
4289
+ const Ee = He(null);
4290
+ function Bt(e) {
4248
4291
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4249
4292
  }
4250
- function Be(e, t = re().fallbackLocale) {
4251
- const r = xt(e);
4252
- return t ? [.../* @__PURE__ */ new Set([...r, ...xt(t)])] : r;
4293
+ function Ae(e, t = te().fallbackLocale) {
4294
+ const r = Bt(e);
4295
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Bt(t)])] : r;
4253
4296
  }
4254
4297
  function W() {
4255
- return qe ?? void 0;
4298
+ return rt ?? void 0;
4256
4299
  }
4257
- _e.subscribe((e) => {
4258
- qe = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4300
+ Ee.subscribe((e) => {
4301
+ rt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4259
4302
  });
4260
- const Bi = (e) => {
4261
- if (e && di(e) && Je(e)) {
4262
- const { loadingDelay: t } = re();
4303
+ const Li = (e) => {
4304
+ if (e && gi(e) && tt(e)) {
4305
+ const { loadingDelay: t } = te();
4263
4306
  let r;
4264
4307
  return typeof window < "u" && W() != null && t ? r = window.setTimeout(
4265
- () => Me.set(!0),
4308
+ () => De.set(!0),
4266
4309
  t
4267
- ) : Me.set(!0), cr(e).then(() => {
4268
- _e.set(e);
4310
+ ) : De.set(!0), br(e).then(() => {
4311
+ Ee.set(e);
4269
4312
  }).finally(() => {
4270
- clearTimeout(r), Me.set(!1);
4313
+ clearTimeout(r), De.set(!1);
4271
4314
  });
4272
4315
  }
4273
- return _e.set(e);
4274
- }, ie = Hi(Ti({}, _e), {
4275
- set: Bi
4276
- }), Pe = (e) => {
4316
+ return Ee.set(e);
4317
+ }, ne = Ii(Oi({}, Ee), {
4318
+ set: Li
4319
+ }), Oe = (e) => {
4277
4320
  const t = /* @__PURE__ */ Object.create(null);
4278
4321
  return (n) => {
4279
4322
  const i = JSON.stringify(n);
4280
4323
  return i in t ? t[i] : t[i] = e(n);
4281
4324
  };
4282
4325
  };
4283
- var Pi = Object.defineProperty, Ee = Object.getOwnPropertySymbols, fr = Object.prototype.hasOwnProperty, dr = Object.prototype.propertyIsEnumerable, St = (e, t, r) => t in e ? Pi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, et = (e, t) => {
4326
+ var Ci = Object.defineProperty, xe = Object.getOwnPropertySymbols, yr = Object.prototype.hasOwnProperty, gr = Object.prototype.propertyIsEnumerable, Pt = (e, t, r) => t in e ? Ci(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ot = (e, t) => {
4284
4327
  for (var r in t || (t = {}))
4285
- fr.call(t, r) && St(e, r, t[r]);
4286
- if (Ee)
4287
- for (var r of Ee(t))
4288
- dr.call(t, r) && St(e, r, t[r]);
4328
+ yr.call(t, r) && Pt(e, r, t[r]);
4329
+ if (xe)
4330
+ for (var r of xe(t))
4331
+ gr.call(t, r) && Pt(e, r, t[r]);
4289
4332
  return e;
4290
- }, oe = (e, t) => {
4333
+ }, ie = (e, t) => {
4291
4334
  var r = {};
4292
4335
  for (var n in e)
4293
- fr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4294
- if (e != null && Ee)
4295
- for (var n of Ee(e))
4296
- t.indexOf(n) < 0 && dr.call(e, n) && (r[n] = e[n]);
4336
+ yr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4337
+ if (e != null && xe)
4338
+ for (var n of xe(e))
4339
+ t.indexOf(n) < 0 && gr.call(e, n) && (r[n] = e[n]);
4297
4340
  return r;
4298
4341
  };
4299
- const he = (e, t) => {
4300
- const { formats: r } = re();
4342
+ const le = (e, t) => {
4343
+ const { formats: r } = te();
4301
4344
  if (e in r && t in r[e])
4302
4345
  return r[e][t];
4303
4346
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4304
- }, Ai = Pe(
4347
+ }, Ni = Oe(
4305
4348
  (e) => {
4306
- var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4349
+ var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
4307
4350
  if (r == null)
4308
4351
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4309
- return n && (i = he("number", n)), new Intl.NumberFormat(r, i);
4352
+ return n && (i = le("number", n)), new Intl.NumberFormat(r, i);
4310
4353
  }
4311
- ), Oi = Pe(
4354
+ ), Mi = Oe(
4312
4355
  (e) => {
4313
- var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4356
+ var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
4314
4357
  if (r == null)
4315
4358
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4316
- return n ? i = he("date", n) : Object.keys(i).length === 0 && (i = he("date", "short")), new Intl.DateTimeFormat(r, i);
4359
+ return n ? i = le("date", n) : Object.keys(i).length === 0 && (i = le("date", "short")), new Intl.DateTimeFormat(r, i);
4317
4360
  }
4318
- ), Ii = Pe(
4361
+ ), Ri = Oe(
4319
4362
  (e) => {
4320
- var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4363
+ var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
4321
4364
  if (r == null)
4322
4365
  throw new Error(
4323
4366
  '[svelte-i18n] A "locale" must be set to format time values'
4324
4367
  );
4325
- return n ? i = he("time", n) : Object.keys(i).length === 0 && (i = he("time", "short")), new Intl.DateTimeFormat(r, i);
4368
+ return n ? i = le("time", n) : Object.keys(i).length === 0 && (i = le("time", "short")), new Intl.DateTimeFormat(r, i);
4326
4369
  }
4327
- ), Li = (e = {}) => {
4370
+ ), $i = (e = {}) => {
4328
4371
  var t = e, {
4329
4372
  locale: r = W()
4330
- } = t, n = oe(t, [
4373
+ } = t, n = ie(t, [
4331
4374
  "locale"
4332
4375
  ]);
4333
- return Ai(et({ locale: r }, n));
4334
- }, Ci = (e = {}) => {
4376
+ return Ni(ot({ locale: r }, n));
4377
+ }, Di = (e = {}) => {
4335
4378
  var t = e, {
4336
4379
  locale: r = W()
4337
- } = t, n = oe(t, [
4380
+ } = t, n = ie(t, [
4338
4381
  "locale"
4339
4382
  ]);
4340
- return Oi(et({ locale: r }, n));
4341
- }, Ni = (e = {}) => {
4383
+ return Mi(ot({ locale: r }, n));
4384
+ }, Ui = (e = {}) => {
4342
4385
  var t = e, {
4343
4386
  locale: r = W()
4344
- } = t, n = oe(t, [
4387
+ } = t, n = ie(t, [
4345
4388
  "locale"
4346
4389
  ]);
4347
- return Ii(et({ locale: r }, n));
4348
- }, Mi = Pe(
4390
+ return Ri(ot({ locale: r }, n));
4391
+ }, Gi = Oe(
4349
4392
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4350
- (e, t = W()) => new ui(e, t, re().formats, {
4351
- ignoreTag: re().ignoreTag
4393
+ (e, t = W()) => new di(e, t, te().formats, {
4394
+ ignoreTag: te().ignoreTag
4352
4395
  })
4353
- ), Ri = (e, t = {}) => {
4396
+ ), Fi = (e, t = {}) => {
4354
4397
  var r, n, i, o;
4355
4398
  let a = t;
4356
4399
  typeof e == "object" && (a = e, e = a.id);
@@ -4363,9 +4406,9 @@ const he = (e, t) => {
4363
4406
  throw new Error(
4364
4407
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4365
4408
  );
4366
- let h = ar(e, l);
4409
+ let h = fr(e, l);
4367
4410
  if (!h)
4368
- 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;
4411
+ 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;
4369
4412
  else if (typeof h != "string")
4370
4413
  return console.warn(
4371
4414
  `[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.`
@@ -4374,7 +4417,7 @@ const he = (e, t) => {
4374
4417
  return h;
4375
4418
  let f = h;
4376
4419
  try {
4377
- f = Mi(h, l).format(s);
4420
+ f = Gi(h, l).format(s);
4378
4421
  } catch (c) {
4379
4422
  c instanceof Error && console.warn(
4380
4423
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4382,16 +4425,16 @@ const he = (e, t) => {
4382
4425
  );
4383
4426
  }
4384
4427
  return f;
4385
- }, $i = (e, t) => Ni(t).format(e), Di = (e, t) => Ci(t).format(e), Ui = (e, t) => Li(t).format(e), Gi = (e, t = W()) => ar(e, t), Fi = ne([ie, ce], () => Ri);
4386
- ne([ie], () => $i);
4387
- ne([ie], () => Di);
4388
- ne([ie], () => Ui);
4389
- ne([ie, ce], () => Gi);
4390
- window.emWidgets = { topic: Kr };
4391
- const pr = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), ji = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4392
- function _o(e, t) {
4428
+ }, ji = (e, t) => Ui(t).format(e), ki = (e, t) => Di(t).format(e), Vi = (e, t) => $i(t).format(e), Xi = (e, t = W()) => fr(e, t), Wi = re([ne, ce], () => Fi);
4429
+ re([ne], () => ji);
4430
+ re([ne], () => ki);
4431
+ re([ne], () => Vi);
4432
+ re([ne, ce], () => Xi);
4433
+ window.emWidgets = { topic: nn };
4434
+ const _r = (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)), zi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4435
+ function To(e, t) {
4393
4436
  const r = window.navigator.userAgent;
4394
- return pr(r) ? t = e.filter((n) => {
4437
+ return _r(r) ? t = e.filter((n) => {
4395
4438
  if (n.gameModel && (n.gameModel.platform.includes("iPad") || n.gameModel.platform.includes("iPhone") || n.gameModel.platform.includes("Android")))
4396
4439
  return n;
4397
4440
  }) : t = e.filter((n) => {
@@ -4399,13 +4442,13 @@ function _o(e, t) {
4399
4442
  return n;
4400
4443
  }), t;
4401
4444
  }
4402
- function ki(e, t) {
4445
+ function Zi(e, t) {
4403
4446
  if (e) {
4404
4447
  const r = document.createElement("style");
4405
4448
  r.innerHTML = t, e.appendChild(r);
4406
4449
  }
4407
4450
  }
4408
- function Vi(e, t) {
4451
+ function Qi(e, t) {
4409
4452
  const r = new URL(t);
4410
4453
  fetch(r.href).then((n) => n.text()).then((n) => {
4411
4454
  const i = document.createElement("style");
@@ -4414,7 +4457,7 @@ function Vi(e, t) {
4414
4457
  console.error("There was an error while trying to load client styling from URL", n);
4415
4458
  });
4416
4459
  }
4417
- function Xi(e, t, r) {
4460
+ function Ji(e, t, r) {
4418
4461
  if (window.emMessageBus) {
4419
4462
  const n = document.createElement("style");
4420
4463
  window.emMessageBus.subscribe(t, (i) => {
@@ -4422,13 +4465,13 @@ function Xi(e, t, r) {
4422
4465
  });
4423
4466
  }
4424
4467
  }
4425
- function wt(e, t) {
4426
- lr(e, t);
4468
+ function At(e, t) {
4469
+ pr(e, t);
4427
4470
  }
4428
- function Wi(e) {
4429
- ie.set(e);
4471
+ function qi(e) {
4472
+ ne.set(e);
4430
4473
  }
4431
- const Tt = {
4474
+ const Ot = {
4432
4475
  en: {
4433
4476
  error: "500 Error - Internal Server Error"
4434
4477
  },
@@ -4460,7 +4503,7 @@ if (typeof window < "u") {
4460
4503
  }
4461
4504
  };
4462
4505
  };
4463
- customElements.define = e(customElements.define), import("./CasinoCalendarDailyDetails-CNr6Gtgp.js").then(({ default: t }) => {
4506
+ customElements.define = e(customElements.define), import("./CasinoCalendarDailyDetails-D-PrPj8s.js").then(({ default: t }) => {
4464
4507
  !customElements.get("casino-calendar-daily-details") && customElements.define("casino-calendar-daily-details", t.element);
4465
4508
  });
4466
4509
  }
@@ -4476,111 +4519,111 @@ if (typeof window < "u") {
4476
4519
  }
4477
4520
  };
4478
4521
  };
4479
- customElements.define = e(customElements.define), import("./CasinoCalendarDailyItem-Dv2dxEUu.js").then(({ default: t }) => {
4522
+ customElements.define = e(customElements.define), import("./CasinoCalendarDailyItem-D24LBmnc.js").then(({ default: t }) => {
4480
4523
  !customElements.get("casino-calendar-daily-item") && customElements.define("casino-calendar-daily-item", t.element);
4481
4524
  });
4482
4525
  }
4483
- function zi(e) {
4484
- vr(e, "svelte-5u3c97", `.svelte-5u3c97{font-family:inherit}.CasinoCalendarItem.svelte-5u3c97{display:flex;flex-direction:row;flex-wrap:nowrap;text-align:left;gap:10px;overflow-x:auto;overflow-y:hidden;justify-content:space-evenly}.Mobile.svelte-5u3c97{padding:0 10px;height:286px;overflow-y:visible;overflow-x:scroll;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.CalendarDetailsWrapper.svelte-5u3c97{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0;background-color:var(--emw--color-dark-gray, rgba(0, 0, 0, 0.9))}.LoadingSpinner.svelte-5u3c97{display:block;width:80px;height:80px;margin:0 auto
4526
+ function Yi(e) {
4527
+ wr(e, "svelte-5u3c97", `.svelte-5u3c97{font-family:inherit}.CasinoCalendarItem.svelte-5u3c97{display:flex;flex-direction:row;flex-wrap:nowrap;text-align:left;gap:10px;overflow-x:auto;overflow-y:hidden;justify-content:space-evenly}.Mobile.svelte-5u3c97{padding:0 10px;height:286px;overflow-y:visible;overflow-x:scroll;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.CalendarDetailsWrapper.svelte-5u3c97{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0;background-color:var(--emw--color-dark-gray, rgba(0, 0, 0, 0.9))}.LoadingSpinner.svelte-5u3c97{display:block;width:80px;height:80px;margin:0 auto
4485
4528
  }.LoadingSpinner.svelte-5u3c97:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E)) transparent;animation:svelte-5u3c97-LoadingSpinner 1.2s linear infinite}@keyframes svelte-5u3c97-LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}`);
4486
4529
  }
4487
- function Ht(e, t, r) {
4530
+ function It(e, t, r) {
4488
4531
  const n = e.slice();
4489
4532
  return n[26] = t[r], n[28] = r, n;
4490
4533
  }
4491
- function Zi(e) {
4492
- let t, r, n, i = nt(
4534
+ function Ki(e) {
4535
+ let t, r, n, i = ut(
4493
4536
  /*calendarCollections*/
4494
4537
  e[6]
4495
4538
  ), o = [];
4496
4539
  for (let s = 0; s < i.length; s += 1)
4497
- o[s] = Bt(Ht(e, i, s));
4540
+ o[s] = Lt(It(e, i, s));
4498
4541
  let a = (
4499
4542
  /*calendarModalOpened*/
4500
- e[11] == !0 && Pt(e)
4543
+ e[11] == !0 && Ct(e)
4501
4544
  );
4502
4545
  return {
4503
4546
  c() {
4504
- t = R("div");
4547
+ t = $("div");
4505
4548
  for (let s = 0; s < o.length; s += 1)
4506
4549
  o[s].c();
4507
- r = wr(), a && a.c(), j(t, "class", n = "CasinoCalendarItem " + /*mobileView*/
4550
+ r = Ar(), a && a.c(), j(t, "class", n = "CasinoCalendarItem " + /*mobileView*/
4508
4551
  (e[10] ? "Mobile" : "") + " svelte-5u3c97");
4509
4552
  },
4510
4553
  m(s, l) {
4511
4554
  k(s, t, l);
4512
4555
  for (let u = 0; u < o.length; u += 1)
4513
4556
  o[u] && o[u].m(t, null);
4514
- Se(t, r), a && a.m(t, null);
4557
+ we(t, r), a && a.m(t, null);
4515
4558
  },
4516
4559
  p(s, l) {
4517
4560
  if (l & /*calendarCollections, lang, clientstyling, clientstylingurl, mbsource, translationurl*/
4518
4561
  95) {
4519
- i = nt(
4562
+ i = ut(
4520
4563
  /*calendarCollections*/
4521
4564
  s[6]
4522
4565
  );
4523
4566
  let u;
4524
4567
  for (u = 0; u < i.length; u += 1) {
4525
- const h = Ht(s, i, u);
4526
- o[u] ? o[u].p(h, l) : (o[u] = Bt(h), o[u].c(), o[u].m(t, r));
4568
+ const h = It(s, i, u);
4569
+ o[u] ? o[u].p(h, l) : (o[u] = Lt(h), o[u].c(), o[u].m(t, r));
4527
4570
  }
4528
4571
  for (; u < o.length; u += 1)
4529
4572
  o[u].d(1);
4530
4573
  o.length = i.length;
4531
4574
  }
4532
4575
  /*calendarModalOpened*/
4533
- s[11] == !0 ? a ? a.p(s, l) : (a = Pt(s), a.c(), a.m(t, null)) : a && (a.d(1), a = null), l & /*mobileView*/
4576
+ s[11] == !0 ? a ? a.p(s, l) : (a = Ct(s), a.c(), a.m(t, null)) : a && (a.d(1), a = null), l & /*mobileView*/
4534
4577
  1024 && n !== (n = "CasinoCalendarItem " + /*mobileView*/
4535
4578
  (s[10] ? "Mobile" : "") + " svelte-5u3c97") && j(t, "class", n);
4536
4579
  },
4537
4580
  d(s) {
4538
- s && D(t), xr(o, s), a && a.d();
4581
+ s && U(t), Br(o, s), a && a.d();
4539
4582
  }
4540
4583
  };
4541
4584
  }
4542
- function Qi(e) {
4585
+ function eo(e) {
4543
4586
  let t;
4544
4587
  return {
4545
4588
  c() {
4546
- t = R("div"), j(t, "class", "LoadingSpinner svelte-5u3c97");
4589
+ t = $("div"), j(t, "class", "LoadingSpinner svelte-5u3c97");
4547
4590
  },
4548
4591
  m(r, n) {
4549
4592
  k(r, t, n);
4550
4593
  },
4551
4594
  p: P,
4552
4595
  d(r) {
4553
- r && D(t);
4596
+ r && U(t);
4554
4597
  }
4555
4598
  };
4556
4599
  }
4557
- function Ji(e) {
4600
+ function to(e) {
4558
4601
  let t, r = (
4559
4602
  /*$_*/
4560
4603
  e[12]("error") + ""
4561
4604
  ), n;
4562
4605
  return {
4563
4606
  c() {
4564
- t = R("p"), n = Ye(r), j(t, "class", "SearchLoading svelte-5u3c97");
4607
+ t = $("p"), n = nt(r), j(t, "class", "SearchLoading svelte-5u3c97");
4565
4608
  },
4566
4609
  m(i, o) {
4567
- k(i, t, o), Se(t, n);
4610
+ k(i, t, o), we(t, n);
4568
4611
  },
4569
4612
  p(i, o) {
4570
4613
  o & /*$_*/
4571
4614
  4096 && r !== (r = /*$_*/
4572
- i[12]("error") + "") && Hr(n, r);
4615
+ i[12]("error") + "") && Ir(n, r);
4573
4616
  },
4574
4617
  d(i) {
4575
- i && D(t);
4618
+ i && U(t);
4576
4619
  }
4577
4620
  };
4578
4621
  }
4579
- function Bt(e) {
4622
+ function Lt(e) {
4580
4623
  let t, r, n, i, o, a;
4581
4624
  return {
4582
4625
  c() {
4583
- t = R("casino-calendar-daily-item"), d(t, "dailybackground", r = /*dailyCalendarData*/
4626
+ t = $("casino-calendar-daily-item"), d(t, "dailybackground", r = /*dailyCalendarData*/
4584
4627
  e[26].dailyBackground), d(t, "dailyicon", n = /*dailyCalendarData*/
4585
4628
  e[26].dailyIcon), d(t, "dailyday", i = /*dailyCalendarData*/
4586
4629
  e[26].dailyDay), d(t, "dailydescription", o = /*dailyCalendarData*/
@@ -4664,15 +4707,15 @@ function Bt(e) {
4664
4707
  );
4665
4708
  },
4666
4709
  d(s) {
4667
- s && D(t);
4710
+ s && U(t);
4668
4711
  }
4669
4712
  };
4670
4713
  }
4671
- function Pt(e) {
4714
+ function Ct(e) {
4672
4715
  let t, r, n, i, o, a, s, l;
4673
4716
  return {
4674
4717
  c() {
4675
- t = R("div"), r = R("casino-calendar-daily-details"), d(r, "dailybackground", n = /*calendarCollections*/
4718
+ t = $("div"), r = $("casino-calendar-daily-details"), d(r, "dailybackground", n = /*calendarCollections*/
4676
4719
  e[6][
4677
4720
  /*selectedIndex*/
4678
4721
  e[7]
@@ -4724,7 +4767,7 @@ function Pt(e) {
4724
4767
  ), d(r, "class", "svelte-5u3c97"), j(t, "class", "CalendarDetailsWrapper svelte-5u3c97");
4725
4768
  },
4726
4769
  m(u, h) {
4727
- k(u, t, h), Se(t, r);
4770
+ k(u, t, h), we(t, r);
4728
4771
  },
4729
4772
  p(u, h) {
4730
4773
  h & /*calendarCollections, selectedIndex*/
@@ -4790,33 +4833,33 @@ function Pt(e) {
4790
4833
  );
4791
4834
  },
4792
4835
  d(u) {
4793
- u && D(t);
4836
+ u && U(t);
4794
4837
  }
4795
4838
  };
4796
4839
  }
4797
- function qi(e) {
4840
+ function ro(e) {
4798
4841
  let t;
4799
4842
  function r(o, a) {
4800
4843
  if (
4801
4844
  /*hasErrors*/
4802
4845
  o[9]
4803
4846
  )
4804
- return Ji;
4847
+ return to;
4805
4848
  if (
4806
4849
  /*isLoading*/
4807
4850
  o[8]
4808
4851
  )
4809
- return Qi;
4852
+ return eo;
4810
4853
  if (
4811
4854
  /*calendarCollections*/
4812
4855
  o[6]?.length
4813
4856
  )
4814
- return Zi;
4857
+ return Ki;
4815
4858
  }
4816
4859
  let n = r(e), i = n && n(e);
4817
4860
  return {
4818
4861
  c() {
4819
- t = R("div"), i && i.c(), j(t, "class", "svelte-5u3c97");
4862
+ t = $("div"), i && i.c(), j(t, "class", "svelte-5u3c97");
4820
4863
  },
4821
4864
  m(o, a) {
4822
4865
  k(o, t, a), i && i.m(t, null), e[16](t);
@@ -4827,26 +4870,26 @@ function qi(e) {
4827
4870
  i: P,
4828
4871
  o: P,
4829
4872
  d(o) {
4830
- o && D(t), i && i.d(), e[16](null);
4873
+ o && U(t), i && i.d(), e[16](null);
4831
4874
  }
4832
4875
  };
4833
4876
  }
4834
- function Yi(e, t, r) {
4877
+ function no(e, t, r) {
4835
4878
  let n;
4836
- gr(e, Fi, (p) => r(12, n = p));
4879
+ Sr(e, Wi, (p) => r(12, n = p));
4837
4880
  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;
4838
4881
  const C = () => {
4839
- Wi(s);
4882
+ qi(s);
4840
4883
  };
4841
- Object.keys(Tt).forEach((p) => {
4842
- wt(p, Tt[p]);
4884
+ Object.keys(Ot).forEach((p) => {
4885
+ At(p, Ot[p]);
4843
4886
  });
4844
4887
  const O = () => {
4845
4888
  let p = h;
4846
4889
  if (p)
4847
4890
  return fetch(p).then((L) => L.json()).then((L) => {
4848
4891
  Object.keys(L).forEach((G) => {
4849
- wt(G, L[G]);
4892
+ At(G, L[G]);
4850
4893
  });
4851
4894
  }).catch((L) => {
4852
4895
  console.log(L);
@@ -4855,15 +4898,15 @@ function Yi(e, t, r) {
4855
4898
  r(8, g = !0);
4856
4899
  let p = new URL(`${i}/${s}/daily-calendar`);
4857
4900
  p.searchParams.append("userRoles", a), p.searchParams.append("env", o);
4858
- let L = ji(H);
4901
+ let L = zi(H);
4859
4902
  L && (L === "PC" ? p.searchParams.append("device", "dk") : L === "iPad" || L === "iPhone" ? p.searchParams.append("device", "ios") : p.searchParams.append("device", "mtWeb")), fetch(p.href).then((G) => G.json()).then((G) => {
4860
4903
  r(6, m = G);
4861
4904
  }).catch((G) => {
4862
4905
  console.log(G), r(9, S = !0);
4863
4906
  }).finally(() => {
4864
- x(), r(8, g = !1);
4907
+ E(), r(8, g = !1);
4865
4908
  });
4866
- }, x = () => {
4909
+ }, E = () => {
4867
4910
  const p = c.getRootNode().host;
4868
4911
  p.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: p } }));
4869
4912
  }, I = () => {
@@ -4881,11 +4924,11 @@ function Yi(e, t, r) {
4881
4924
  data: m[b]?.dailyEvents
4882
4925
  })), p.data && p.data.type == "ModalClosed" && r(11, w = !1);
4883
4926
  };
4884
- Pr(() => (window.addEventListener("message", B, !1), pr(H) && r(10, A = !0), () => {
4927
+ Cr(() => (window.addEventListener("message", B, !1), _r(H) && r(10, A = !0), () => {
4885
4928
  window.removeEventListener("message", B);
4886
4929
  }));
4887
4930
  function z(p) {
4888
- Re[p ? "unshift" : "push"](() => {
4931
+ Ue[p ? "unshift" : "push"](() => {
4889
4932
  c = p, r(5, c);
4890
4933
  });
4891
4934
  }
@@ -4894,9 +4937,9 @@ function Yi(e, t, r) {
4894
4937
  }, e.$$.update = () => {
4895
4938
  e.$$.dirty & /*cmsendpoint, lang, env, userroles*/
4896
4939
  57345 && i && s && o && a && I(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4897
- 34 && l && c && ki(c, l), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4898
- 36 && u && c && Vi(c, u), e.$$.dirty & /*customStylingContainer, mbsource*/
4899
- 48 && c && Xi(c, `${f}.Style`), e.$$.dirty & /*lang*/
4940
+ 34 && l && c && Zi(c, l), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4941
+ 36 && u && c && Qi(c, u), e.$$.dirty & /*customStylingContainer, mbsource*/
4942
+ 48 && c && Ji(c, `${f}.Style`), e.$$.dirty & /*lang*/
4900
4943
  1 && s && C(), e.$$.dirty & /*lang, translationurl*/
4901
4944
  9 && s && h && O();
4902
4945
  }, [
@@ -4919,14 +4962,14 @@ function Yi(e, t, r) {
4919
4962
  z
4920
4963
  ];
4921
4964
  }
4922
- class mr extends $r {
4965
+ class vr extends jr {
4923
4966
  constructor(t) {
4924
- super(), Mr(
4967
+ super(), Gr(
4925
4968
  this,
4926
4969
  t,
4927
- Yi,
4928
- qi,
4929
- Ot,
4970
+ no,
4971
+ ro,
4972
+ Mt,
4930
4973
  {
4931
4974
  cmsendpoint: 13,
4932
4975
  env: 14,
@@ -4937,7 +4980,7 @@ class mr extends $r {
4937
4980
  translationurl: 3,
4938
4981
  mbsource: 4
4939
4982
  },
4940
- zi
4983
+ Yi
4941
4984
  );
4942
4985
  }
4943
4986
  get cmsendpoint() {
@@ -4989,67 +5032,67 @@ class mr extends $r {
4989
5032
  this.$$set({ mbsource: t }), M();
4990
5033
  }
4991
5034
  }
4992
- Rr(mr, { cmsendpoint: {}, env: {}, userroles: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
4993
- const Eo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5035
+ Fr(vr, { cmsendpoint: {}, env: {}, userroles: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
5036
+ const Ho = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4994
5037
  __proto__: null,
4995
- default: mr
5038
+ default: vr
4996
5039
  }, Symbol.toStringTag, { value: "Module" }));
4997
5040
  export {
4998
- ie as $,
4999
- so as A,
5000
- wr as B,
5001
- Re as C,
5002
- Ki as D,
5041
+ ne as $,
5042
+ co as A,
5043
+ Ar as B,
5044
+ Ue as C,
5045
+ io as D,
5003
5046
  d as E,
5004
- Sr as F,
5005
- lo as G,
5006
- ki as H,
5007
- Vi as I,
5008
- Xi as J,
5009
- Rr as K,
5010
- Fi as L,
5047
+ Pr as F,
5048
+ mo as G,
5049
+ Zi as H,
5050
+ Qi as I,
5051
+ Ji as J,
5052
+ Fr as K,
5053
+ Wi as L,
5011
5054
  X as M,
5012
- ao as N,
5055
+ fo as N,
5013
5056
  ce as O,
5014
- ji as P,
5015
- uo as Q,
5016
- ho as R,
5017
- $r as S,
5018
- oo as T,
5019
- co as U,
5020
- po as V,
5021
- fo as W,
5022
- _o as X,
5023
- vo as Y,
5024
- yo as Z,
5025
- io as _,
5026
- lr as a,
5027
- go as a0,
5028
- xe as a1,
5029
- Eo as a2,
5030
- vr as b,
5031
- Rt as c,
5032
- D as d,
5033
- bo as e,
5057
+ zi as P,
5058
+ po as Q,
5059
+ bo as R,
5060
+ jr as S,
5061
+ ho as T,
5062
+ yo as U,
5063
+ _o as V,
5064
+ go as W,
5065
+ To as X,
5066
+ wo as Y,
5067
+ xo as Z,
5068
+ lo as _,
5069
+ pr as a,
5070
+ So as a0,
5071
+ Se as a1,
5072
+ Ho as a2,
5073
+ wr as b,
5074
+ Ft as c,
5075
+ U as d,
5076
+ Eo as e,
5034
5077
  M as f,
5035
- mo as g,
5078
+ vo as g,
5036
5079
  k as h,
5037
- Mr as i,
5038
- R as j,
5039
- gr as k,
5040
- pr as l,
5041
- Hr as m,
5080
+ Gr as i,
5081
+ $ as j,
5082
+ Sr as k,
5083
+ _r as l,
5084
+ Ir as m,
5042
5085
  P as n,
5043
- Pr as o,
5044
- Se as p,
5045
- Ye as q,
5086
+ Cr as o,
5087
+ we as p,
5088
+ nt as q,
5046
5089
  j as r,
5047
- Ot as s,
5048
- Ir as t,
5049
- eo as u,
5050
- nt as v,
5051
- xr as w,
5052
- ro as x,
5053
- no as y,
5054
- to as z
5090
+ Mt as s,
5091
+ Rr as t,
5092
+ oo as u,
5093
+ ut as v,
5094
+ Br as w,
5095
+ ao as x,
5096
+ uo as y,
5097
+ so as z
5055
5098
  };