@everymatrix/casino-page 1.57.0 → 1.58.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (69) hide show
  1. package/components/{CasinoCalendar-Beb-D9v5.js → CasinoCalendar-DSG6g7xU.js} +1093 -1115
  2. package/components/{CasinoCalendar-qVpbXj-D.js → CasinoCalendar-DiZrkgaV.js} +833 -855
  3. package/components/CasinoCalendar-df0Yv0_Y.cjs +19 -0
  4. package/components/{CasinoCalendarDailyDetails-C6Shuvfx.js → CasinoCalendarDailyDetails-CcuM0Eaq.js} +48 -48
  5. package/components/{CasinoCalendarDailyDetails-C6Lmn7pW.cjs → CasinoCalendarDailyDetails-DNnl20nr.cjs} +1 -1
  6. package/components/{CasinoCalendarDailyDetails-CmmQq8VR.js → CasinoCalendarDailyDetails-Dv1jxPLQ.js} +48 -48
  7. package/components/{CasinoCalendarDailyItem-BLMalLZx.js → CasinoCalendarDailyItem-BBaphFv2.js} +41 -41
  8. package/components/{CasinoCalendarDailyItem-DlHg6exr.js → CasinoCalendarDailyItem-DateMcJ_.js} +41 -41
  9. package/components/{CasinoCalendarDailyItem-D7q0pxAo.cjs → CasinoCalendarDailyItem-HkwdKiaQ.cjs} +1 -1
  10. package/components/{CasinoCollectionsProviders-BU9Vdk7f.js → CasinoCollectionsProviders-CQ42E76I.js} +62 -62
  11. package/components/{CasinoCollectionsProviders-CKeIv7Lm.cjs → CasinoCollectionsProviders-DlyhZFGW.cjs} +1 -1
  12. package/components/{CasinoCollectionsProviders-KxO7bWw9.js → CasinoCollectionsProviders-JONztOpa.js} +69 -69
  13. package/components/{CasinoFavoritesSection-BLcFCYkL.js → CasinoFavoritesSection-B35fc0WA.js} +23 -23
  14. package/components/{CasinoFavoritesSection-DfWNsUcD.js → CasinoFavoritesSection-Di0ChxzM.js} +23 -23
  15. package/components/{CasinoFavoritesSection-Bt1qroiI.cjs → CasinoFavoritesSection-KsIBcFcl.cjs} +1 -1
  16. package/components/{CasinoFilter-5P8W2ayY.js → CasinoFilter-D3nwp5eh.js} +230 -229
  17. package/components/{CasinoFilter-EmKNpmwo.js → CasinoFilter-DTSqCXdO.js} +242 -243
  18. package/components/CasinoFilter-w2jN5tFN.cjs +1 -0
  19. package/components/{CasinoGameThumbnail-kYpO7OYd.cjs → CasinoGameThumbnail-CFfgryHx.cjs} +11 -11
  20. package/components/{CasinoGameThumbnail-DLV5eXt3.js → CasinoGameThumbnail-CcXh2l2p.js} +1177 -1193
  21. package/components/{CasinoGameThumbnail-B-j-s0zl.js → CasinoGameThumbnail-DSJ5QN_S.js} +642 -626
  22. package/components/{CasinoGamesCategorySection-DxdFkiK0.js → CasinoGamesCategorySection-Bt_TCzHb.js} +246 -246
  23. package/components/{CasinoGamesCategorySection-C7wNGeVf.cjs → CasinoGamesCategorySection-CFrf0WgK.cjs} +1 -1
  24. package/components/{CasinoGamesCategorySection-CGLL37Ll.js → CasinoGamesCategorySection-DMsv60nN.js} +327 -327
  25. package/components/{CasinoJackpotBanner-o_Mbn9dc.cjs → CasinoJackpotBanner-Bc1JKlzX.cjs} +1 -1
  26. package/components/{CasinoJackpotBanner-CJWjyexm.js → CasinoJackpotBanner-CB4S1SRX.js} +72 -72
  27. package/components/{CasinoJackpotBanner-DquJdUya.js → CasinoJackpotBanner-DhUCd87f.js} +79 -79
  28. package/components/{CasinoLastPlayedSection-C1fXqsNf.js → CasinoLastPlayedSection-D2YhL3mI.js} +38 -38
  29. package/components/{CasinoLastPlayedSection-D3rQ6OIZ.cjs → CasinoLastPlayedSection-D7Nb9EcO.cjs} +1 -1
  30. package/components/{CasinoLastPlayedSection-Mwvag7Ds.js → CasinoLastPlayedSection-DisexHa1.js} +38 -38
  31. package/components/{CasinoMostPlayedSection-BjERkNCF.js → CasinoMostPlayedSection-BwTn0Z9W.js} +49 -49
  32. package/components/{CasinoMostPlayedSection-T3x41wRX.js → CasinoMostPlayedSection-Dt0krTX5.js} +49 -49
  33. package/components/{CasinoMostPlayedSection-CbOy3yAA.cjs → CasinoMostPlayedSection-vevxfvAK.cjs} +1 -1
  34. package/components/{CasinoMyGames-DCFnCBZ5.js → CasinoMyGames-BUsipYGW.js} +42 -42
  35. package/components/{CasinoMyGames-5bW8Sgi5.js → CasinoMyGames-D18ON4L8.js} +41 -41
  36. package/components/{CasinoMyGames-C_M_zFT2.cjs → CasinoMyGames-eqkYGMmg.cjs} +1 -1
  37. package/components/{CasinoPage-DMaRihI_.cjs → CasinoPage-DcvpXL92.cjs} +1 -1
  38. package/components/{CasinoPage-AJMpJvaQ.js → CasinoPage-YxRo44Cd.js} +96 -96
  39. package/components/{CasinoPage-YB6CY7ON.js → CasinoPage-ePE1Ypwz.js} +98 -98
  40. package/components/{CasinoRandomGame-B9Eg9Cv4.js → CasinoRandomGame-BdTCJXjk.js} +60 -60
  41. package/components/{CasinoRandomGame-CUHxVoyq.cjs → CasinoRandomGame-C723vTme.cjs} +1 -1
  42. package/components/{CasinoRandomGame-DR6TctHg.js → CasinoRandomGame-Cs6Mh9-O.js} +62 -62
  43. package/components/{CasinoSearch-Bjfocy3y.js → CasinoSearch-BTg9BmdC.js} +87 -87
  44. package/components/{CasinoSearch-CpBhzpsK.cjs → CasinoSearch-Cmgioy33.cjs} +1 -1
  45. package/components/{CasinoSearch-Bx4-nMU3.js → CasinoSearch-CwfU7YXU.js} +85 -85
  46. package/components/{CasinoSort-DvLkFtIz.js → CasinoSort-C9FqhPn1.js} +110 -111
  47. package/components/{CasinoSort-BygFei5r.js → CasinoSort-DJGB2rWX.js} +104 -103
  48. package/components/{CasinoSort-5x4S3mG_.cjs → CasinoSort-d7HpFn0y.cjs} +1 -1
  49. package/components/{CasinoWinners-DbQvZp-o.cjs → CasinoWinners-Br-OwXS1.cjs} +1 -1
  50. package/components/{CasinoWinners-tsFI0Qkd.js → CasinoWinners-Djt0qjWA.js} +146 -146
  51. package/components/{CasinoWinners-BZEiqOuZ.js → CasinoWinners-KCECqhoF.js} +145 -145
  52. package/components/{GeneralAnimationLoading-Bfdh1dfh.js → GeneralAnimationLoading-Dha7DXjj.js} +16 -16
  53. package/components/{GeneralAnimationLoading-BFfW6U-2.cjs → GeneralAnimationLoading-Dy1zCPsz.cjs} +1 -1
  54. package/components/{GeneralAnimationLoading-g0jjajHE.js → GeneralAnimationLoading-jXOehNwh.js} +16 -16
  55. package/es2015/casino-page.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-B9yaAMOE.js → casino-play-random-game-BOnTgUqC.js} +1 -1
  60. package/stencil/{casino-play-random-game-a53bUW_d.cjs → casino-play-random-game-DjdZ0XM0.cjs} +1 -1
  61. package/stencil/{casino-play-random-game-BTXyM5es.js → casino-play-random-game-NcJEjFWA.js} +1 -1
  62. package/stencil/index-510a6ba4-1RrL4Z6e.js +564 -0
  63. package/stencil/index-510a6ba4-CNr-xCZE.js +548 -0
  64. package/stencil/index-510a6ba4-eEczisTR.cjs +1 -0
  65. package/components/CasinoCalendar-zkVoyaEl.cjs +0 -19
  66. package/components/CasinoFilter-BLgXtVi-.cjs +0 -1
  67. package/stencil/index-510a6ba4-B9_VY7vu.cjs +0 -1
  68. package/stencil/index-510a6ba4-CYFuKFRQ.js +0 -564
  69. package/stencil/index-510a6ba4-CzpWs0jf.js +0 -548
@@ -1,35 +1,35 @@
1
- var Hr = Object.defineProperty, Br = Object.defineProperties;
2
- var Pr = Object.getOwnPropertyDescriptors;
3
- var ot = Object.getOwnPropertySymbols;
4
- var Ar = Object.prototype.hasOwnProperty, Or = Object.prototype.propertyIsEnumerable;
5
- var Oe = (e, t, r) => t in e ? Hr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, at = (e, t) => {
1
+ var Er = Object.defineProperty, xr = Object.defineProperties;
2
+ var Sr = Object.getOwnPropertyDescriptors;
3
+ var rt = Object.getOwnPropertySymbols;
4
+ var wr = Object.prototype.hasOwnProperty, Tr = Object.prototype.propertyIsEnumerable;
5
+ var Ae = (e, t, r) => t in e ? Er(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, nt = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- Ar.call(t, r) && Oe(e, r, t[r]);
8
- if (ot)
9
- for (var r of ot(t))
10
- Or.call(t, r) && Oe(e, r, t[r]);
7
+ wr.call(t, r) && Ae(e, r, t[r]);
8
+ if (rt)
9
+ for (var r of rt(t))
10
+ Tr.call(t, r) && Ae(e, r, t[r]);
11
11
  return e;
12
- }, ut = (e, t) => Br(e, Pr(t));
13
- var T = (e, t, r) => (Oe(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var lt = (e, t, r) => new Promise((n, i) => {
15
- var s = (l) => {
12
+ }, it = (e, t) => xr(e, Sr(t));
13
+ var T = (e, t, r) => (Ae(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var ot = (e, t, r) => new Promise((n, i) => {
15
+ var o = (l) => {
16
16
  try {
17
- o(r.next(l));
17
+ a(r.next(l));
18
18
  } catch (u) {
19
19
  i(u);
20
20
  }
21
- }, a = (l) => {
21
+ }, s = (l) => {
22
22
  try {
23
- o(r.throw(l));
23
+ a(r.throw(l));
24
24
  } catch (u) {
25
25
  i(u);
26
26
  }
27
- }, o = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(s, a);
28
- o((r = r.apply(e, t)).next());
27
+ }, a = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(o, s);
28
+ a((r = r.apply(e, t)).next());
29
29
  });
30
30
  function O() {
31
31
  }
32
- function Ir(e, t) {
32
+ function Hr(e, t) {
33
33
  for (const r in t)
34
34
  e[r] = t[r];
35
35
  return (
@@ -37,29 +37,29 @@ function Ir(e, t) {
37
37
  e
38
38
  );
39
39
  }
40
- function Dt(e) {
40
+ function Nt(e) {
41
41
  return e();
42
42
  }
43
- function ht() {
43
+ function st() {
44
44
  return /* @__PURE__ */ Object.create(null);
45
45
  }
46
46
  function W(e) {
47
- e.forEach(Dt);
47
+ e.forEach(Nt);
48
48
  }
49
- function Se(e) {
49
+ function xe(e) {
50
50
  return typeof e == "function";
51
51
  }
52
- function Ut(e, t) {
52
+ function Mt(e, t) {
53
53
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
54
54
  }
55
- let de;
56
- function ds(e, t) {
57
- return e === t ? !0 : (de || (de = document.createElement("a")), de.href = t, e === de.href);
55
+ let fe;
56
+ function lo(e, t) {
57
+ return e === t ? !0 : (fe || (fe = document.createElement("a")), fe.href = t, e === fe.href);
58
58
  }
59
- function Cr(e) {
59
+ function Br(e) {
60
60
  return Object.keys(e).length === 0;
61
61
  }
62
- function Gt(e, ...t) {
62
+ function Rt(e, ...t) {
63
63
  if (e == null) {
64
64
  for (const n of t)
65
65
  n(void 0);
@@ -68,40 +68,40 @@ function Gt(e, ...t) {
68
68
  const r = e.subscribe(...t);
69
69
  return r.unsubscribe ? () => r.unsubscribe() : r;
70
70
  }
71
- function Lr(e, t, r) {
72
- e.$$.on_destroy.push(Gt(t, r));
71
+ function Pr(e, t, r) {
72
+ e.$$.on_destroy.push(Rt(t, r));
73
73
  }
74
- function ps(e, t, r, n) {
74
+ function ho(e, t, r, n) {
75
75
  if (e) {
76
- const i = Ft(e, t, r, n);
76
+ const i = $t(e, t, r, n);
77
77
  return e[0](i);
78
78
  }
79
79
  }
80
- function Ft(e, t, r, n) {
81
- return e[1] && n ? Ir(r.ctx.slice(), e[1](n(t))) : r.ctx;
80
+ function $t(e, t, r, n) {
81
+ return e[1] && n ? Hr(r.ctx.slice(), e[1](n(t))) : r.ctx;
82
82
  }
83
- function ms(e, t, r, n) {
83
+ function co(e, t, r, n) {
84
84
  if (e[2] && n) {
85
85
  const i = e[2](n(r));
86
86
  if (t.dirty === void 0)
87
87
  return i;
88
88
  if (typeof i == "object") {
89
- const s = [], a = Math.max(t.dirty.length, i.length);
90
- for (let o = 0; o < a; o += 1)
91
- s[o] = t.dirty[o] | i[o];
92
- return s;
89
+ const o = [], s = Math.max(t.dirty.length, i.length);
90
+ for (let a = 0; a < s; a += 1)
91
+ o[a] = t.dirty[a] | i[a];
92
+ return o;
93
93
  }
94
94
  return t.dirty | i;
95
95
  }
96
96
  return t.dirty;
97
97
  }
98
- function bs(e, t, r, n, i, s) {
98
+ function fo(e, t, r, n, i, o) {
99
99
  if (i) {
100
- const a = Ft(t, r, n, s);
101
- e.p(a, i);
100
+ const s = $t(t, r, n, o);
101
+ e.p(s, i);
102
102
  }
103
103
  }
104
- function ys(e) {
104
+ function po(e) {
105
105
  if (e.ctx.length > 32) {
106
106
  const t = [], r = e.ctx.length / 32;
107
107
  for (let n = 0; n < r; n++)
@@ -110,20 +110,20 @@ function ys(e) {
110
110
  }
111
111
  return -1;
112
112
  }
113
- function gs(e) {
114
- return e && Se(e.destroy) ? e.destroy : O;
113
+ function mo(e) {
114
+ return e && xe(e.destroy) ? e.destroy : O;
115
115
  }
116
- function we(e, t) {
116
+ function Se(e, t) {
117
117
  e.appendChild(t);
118
118
  }
119
- function Mr(e, t, r) {
120
- const n = Nr(e);
119
+ function Ar(e, t, r) {
120
+ const n = Or(e);
121
121
  if (!n.getElementById(t)) {
122
122
  const i = $("style");
123
- i.id = t, i.textContent = r, Rr(n, i);
123
+ i.id = t, i.textContent = r, Ir(n, i);
124
124
  }
125
125
  }
126
- function Nr(e) {
126
+ function Or(e) {
127
127
  if (!e)
128
128
  return document;
129
129
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -133,8 +133,8 @@ function Nr(e) {
133
133
  t
134
134
  ) : e.ownerDocument;
135
135
  }
136
- function Rr(e, t) {
137
- return we(
136
+ function Ir(e, t) {
137
+ return Se(
138
138
  /** @type {Document} */
139
139
  e.head || e,
140
140
  t
@@ -146,29 +146,29 @@ function V(e, t, r) {
146
146
  function U(e) {
147
147
  e.parentNode && e.parentNode.removeChild(e);
148
148
  }
149
- function $r(e, t) {
149
+ function Cr(e, t) {
150
150
  for (let r = 0; r < e.length; r += 1)
151
151
  e[r] && e[r].d(t);
152
152
  }
153
153
  function $(e) {
154
154
  return document.createElement(e);
155
155
  }
156
- function Dr(e) {
156
+ function Lr(e) {
157
157
  return document.createElementNS("http://www.w3.org/2000/svg", e);
158
158
  }
159
- function tt(e) {
159
+ function Ke(e) {
160
160
  return document.createTextNode(e);
161
161
  }
162
- function Ur() {
163
- return tt(" ");
162
+ function Nr() {
163
+ return Ke(" ");
164
164
  }
165
- function vs() {
166
- return tt("");
165
+ function bo() {
166
+ return Ke("");
167
167
  }
168
- function _s(e, t, r, n) {
168
+ function yo(e, t, r, n) {
169
169
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
170
170
  }
171
- function Es(e) {
171
+ function go(e) {
172
172
  return function(t) {
173
173
  return t.stopPropagation(), e.call(this, t);
174
174
  };
@@ -176,27 +176,27 @@ function Es(e) {
176
176
  function k(e, t, r) {
177
177
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
178
178
  }
179
- function d(e, t, r) {
179
+ function p(e, t, r) {
180
180
  const n = t.toLowerCase();
181
181
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : k(e, t, r);
182
182
  }
183
- function Gr(e) {
183
+ function Mr(e) {
184
184
  return Array.from(e.childNodes);
185
185
  }
186
- function Fr(e, t) {
186
+ function Rr(e, t) {
187
187
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
188
188
  t);
189
189
  }
190
- function xs(e, t) {
190
+ function vo(e, t) {
191
191
  e.value = t == null ? "" : t;
192
192
  }
193
- function Ss(e, t, r, n) {
193
+ function _o(e, t, r, n) {
194
194
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
195
195
  }
196
- function ws(e, t, r) {
196
+ function Eo(e, t, r) {
197
197
  e.classList.toggle(t, !!r);
198
198
  }
199
- class Ts {
199
+ class xo {
200
200
  constructor(t = !1) {
201
201
  /**
202
202
  * @private
@@ -227,7 +227,7 @@ class Ts {
227
227
  * @returns {void}
228
228
  */
229
229
  m(t, r, n = null) {
230
- this.e || (this.is_svg ? this.e = Dr(
230
+ this.e || (this.is_svg ? this.e = Lr(
231
231
  /** @type {keyof SVGElementTagNameMap} */
232
232
  r.nodeName
233
233
  ) : this.e = $(
@@ -266,7 +266,7 @@ class Ts {
266
266
  this.n.forEach(U);
267
267
  }
268
268
  }
269
- function jr(e) {
269
+ function $r(e) {
270
270
  const t = {};
271
271
  return e.childNodes.forEach(
272
272
  /** @param {Element} node */
@@ -275,75 +275,75 @@ function jr(e) {
275
275
  }
276
276
  ), t;
277
277
  }
278
- let le;
279
- function ue(e) {
280
- le = e;
278
+ let ue;
279
+ function ae(e) {
280
+ ue = e;
281
281
  }
282
- function jt() {
283
- if (!le)
282
+ function Dt() {
283
+ if (!ue)
284
284
  throw new Error("Function called outside component initialization");
285
- return le;
285
+ return ue;
286
286
  }
287
- function kr(e) {
288
- jt().$$.on_mount.push(e);
287
+ function Dr(e) {
288
+ Dt().$$.on_mount.push(e);
289
289
  }
290
- function Hs(e) {
291
- jt().$$.on_destroy.push(e);
290
+ function So(e) {
291
+ Dt().$$.on_destroy.push(e);
292
292
  }
293
- const q = [], Ue = [];
294
- let Y = [];
295
- const ct = [], kt = /* @__PURE__ */ Promise.resolve();
296
- let Ge = !1;
297
- function Vt() {
298
- Ge || (Ge = !0, kt.then(R));
293
+ const J = [], $e = [];
294
+ let q = [];
295
+ const at = [], Ut = /* @__PURE__ */ Promise.resolve();
296
+ let De = !1;
297
+ function Gt() {
298
+ De || (De = !0, Ut.then(R));
299
299
  }
300
- function Bs() {
301
- return Vt(), kt;
300
+ function wo() {
301
+ return Gt(), Ut;
302
302
  }
303
- function Fe(e) {
304
- Y.push(e);
303
+ function Ue(e) {
304
+ q.push(e);
305
305
  }
306
- const Ie = /* @__PURE__ */ new Set();
307
- let Q = 0;
306
+ const Oe = /* @__PURE__ */ new Set();
307
+ let Z = 0;
308
308
  function R() {
309
- if (Q !== 0)
309
+ if (Z !== 0)
310
310
  return;
311
- const e = le;
311
+ const e = ue;
312
312
  do {
313
313
  try {
314
- for (; Q < q.length; ) {
315
- const t = q[Q];
316
- Q++, ue(t), Vr(t.$$);
314
+ for (; Z < J.length; ) {
315
+ const t = J[Z];
316
+ Z++, ae(t), Ur(t.$$);
317
317
  }
318
318
  } catch (t) {
319
- throw q.length = 0, Q = 0, t;
319
+ throw J.length = 0, Z = 0, t;
320
320
  }
321
- for (ue(null), q.length = 0, Q = 0; Ue.length; )
322
- Ue.pop()();
323
- for (let t = 0; t < Y.length; t += 1) {
324
- const r = Y[t];
325
- Ie.has(r) || (Ie.add(r), r());
321
+ for (ae(null), J.length = 0, Z = 0; $e.length; )
322
+ $e.pop()();
323
+ for (let t = 0; t < q.length; t += 1) {
324
+ const r = q[t];
325
+ Oe.has(r) || (Oe.add(r), r());
326
326
  }
327
- Y.length = 0;
328
- } while (q.length);
329
- for (; ct.length; )
330
- ct.pop()();
331
- Ge = !1, Ie.clear(), ue(e);
327
+ q.length = 0;
328
+ } while (J.length);
329
+ for (; at.length; )
330
+ at.pop()();
331
+ De = !1, Oe.clear(), ae(e);
332
332
  }
333
- function Vr(e) {
333
+ function Ur(e) {
334
334
  if (e.fragment !== null) {
335
335
  e.update(), W(e.before_update);
336
336
  const t = e.dirty;
337
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Fe);
337
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ue);
338
338
  }
339
339
  }
340
- function Xr(e) {
340
+ function Gr(e) {
341
341
  const t = [], r = [];
342
- Y.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Y = t;
342
+ q.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), q = t;
343
343
  }
344
- const be = /* @__PURE__ */ new Set();
344
+ const me = /* @__PURE__ */ new Set();
345
345
  let X;
346
- function Ps() {
346
+ function To() {
347
347
  X = {
348
348
  r: 0,
349
349
  c: [],
@@ -351,80 +351,80 @@ function Ps() {
351
351
  // parent group
352
352
  };
353
353
  }
354
- function As() {
354
+ function Ho() {
355
355
  X.r || W(X.c), X = X.p;
356
356
  }
357
- function Xt(e, t) {
358
- e && e.i && (be.delete(e), e.i(t));
357
+ function Ft(e, t) {
358
+ e && e.i && (me.delete(e), e.i(t));
359
359
  }
360
- function Os(e, t, r, n) {
360
+ function Bo(e, t, r, n) {
361
361
  if (e && e.o) {
362
- if (be.has(e))
362
+ if (me.has(e))
363
363
  return;
364
- be.add(e), X.c.push(() => {
365
- be.delete(e), n && (r && e.d(1), n());
364
+ me.add(e), X.c.push(() => {
365
+ me.delete(e), n && (r && e.d(1), n());
366
366
  }), e.o(t);
367
367
  } else
368
368
  n && n();
369
369
  }
370
- function ft(e) {
370
+ function ut(e) {
371
371
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
372
372
  }
373
- function Is(e, t) {
373
+ function Po(e, t) {
374
374
  e.d(1), t.delete(e.key);
375
375
  }
376
- function Cs(e, t, r, n, i, s, a, o, l, u, h, f) {
377
- let c = e.length, p = s.length, b = c;
376
+ function Ao(e, t, r, n, i, o, s, a, l, u, h, f) {
377
+ let c = e.length, m = o.length, b = c;
378
378
  const g = {};
379
379
  for (; b--; )
380
380
  g[e[b].key] = b;
381
381
  const S = [], I = /* @__PURE__ */ new Map(), P = /* @__PURE__ */ new Map(), w = [];
382
- for (b = p; b--; ) {
383
- const x = f(i, s, b), L = r(x);
384
- let A = a.get(L);
385
- A ? w.push(() => A.p(x, t)) : (A = u(L, x), A.c()), I.set(L, S[b] = A), L in g && P.set(L, Math.abs(b - g[L]));
382
+ for (b = m; b--; ) {
383
+ const x = f(i, o, b), A = r(x);
384
+ let L = s.get(A);
385
+ L ? w.push(() => L.p(x, t)) : (L = u(A, x), L.c()), I.set(A, S[b] = L), A in g && P.set(A, Math.abs(b - g[A]));
386
386
  }
387
- const M = /* @__PURE__ */ new Set(), C = /* @__PURE__ */ new Set();
388
- function N(x) {
389
- Xt(x, 1), x.m(o, h), a.set(x.key, x), h = x.first, p--;
387
+ const N = /* @__PURE__ */ new Set(), C = /* @__PURE__ */ new Set();
388
+ function M(x) {
389
+ Ft(x, 1), x.m(a, h), s.set(x.key, x), h = x.first, m--;
390
390
  }
391
- for (; c && p; ) {
392
- const x = S[p - 1], L = e[c - 1], A = x.key, Z = L.key;
393
- x === L ? (h = x.first, c--, p--) : I.has(Z) ? !a.has(A) || M.has(A) ? N(x) : C.has(Z) ? c-- : P.get(A) > P.get(Z) ? (C.add(A), N(x)) : (M.add(Z), c--) : (l(L, a), c--);
391
+ for (; c && m; ) {
392
+ const x = S[m - 1], A = e[c - 1], L = x.key, d = A.key;
393
+ x === A ? (h = x.first, c--, m--) : I.has(d) ? !s.has(L) || N.has(L) ? M(x) : C.has(d) ? c-- : P.get(L) > P.get(d) ? (C.add(L), M(x)) : (N.add(d), c--) : (l(A, s), c--);
394
394
  }
395
395
  for (; c--; ) {
396
396
  const x = e[c];
397
- I.has(x.key) || l(x, a);
397
+ I.has(x.key) || l(x, s);
398
398
  }
399
- for (; p; )
400
- N(S[p - 1]);
399
+ for (; m; )
400
+ M(S[m - 1]);
401
401
  return W(w), S;
402
402
  }
403
- function Wr(e, t, r) {
403
+ function Fr(e, t, r) {
404
404
  const { fragment: n, after_update: i } = e.$$;
405
- n && n.m(t, r), Fe(() => {
406
- const s = e.$$.on_mount.map(Dt).filter(Se);
407
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : W(s), e.$$.on_mount = [];
408
- }), i.forEach(Fe);
405
+ n && n.m(t, r), Ue(() => {
406
+ const o = e.$$.on_mount.map(Nt).filter(xe);
407
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : W(o), e.$$.on_mount = [];
408
+ }), i.forEach(Ue);
409
409
  }
410
- function zr(e, t) {
410
+ function jr(e, t) {
411
411
  const r = e.$$;
412
- r.fragment !== null && (Xr(r.after_update), W(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
412
+ r.fragment !== null && (Gr(r.after_update), W(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
413
413
  }
414
- function Zr(e, t) {
415
- e.$$.dirty[0] === -1 && (q.push(e), Vt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
414
+ function kr(e, t) {
415
+ e.$$.dirty[0] === -1 && (J.push(e), Gt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
416
416
  }
417
- function Qr(e, t, r, n, i, s, a = null, o = [-1]) {
418
- const l = le;
419
- ue(e);
417
+ function Vr(e, t, r, n, i, o, s = null, a = [-1]) {
418
+ const l = ue;
419
+ ae(e);
420
420
  const u = e.$$ = {
421
421
  fragment: null,
422
422
  ctx: [],
423
423
  // state
424
- props: s,
424
+ props: o,
425
425
  update: O,
426
426
  not_equal: i,
427
- bound: ht(),
427
+ bound: st(),
428
428
  // lifecycle
429
429
  on_mount: [],
430
430
  on_destroy: [],
@@ -433,28 +433,28 @@ function Qr(e, t, r, n, i, s, a = null, o = [-1]) {
433
433
  after_update: [],
434
434
  context: new Map(t.context || (l ? l.$$.context : [])),
435
435
  // everything else
436
- callbacks: ht(),
437
- dirty: o,
436
+ callbacks: st(),
437
+ dirty: a,
438
438
  skip_bound: !1,
439
439
  root: t.target || l.$$.root
440
440
  };
441
- a && a(u.root);
441
+ s && s(u.root);
442
442
  let h = !1;
443
- if (u.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
444
- const b = p.length ? p[0] : c;
445
- return u.ctx && i(u.ctx[f], u.ctx[f] = b) && (!u.skip_bound && u.bound[f] && u.bound[f](b), h && Zr(e, f)), c;
443
+ if (u.ctx = r ? r(e, t.props || {}, (f, c, ...m) => {
444
+ const b = m.length ? m[0] : c;
445
+ return u.ctx && i(u.ctx[f], u.ctx[f] = b) && (!u.skip_bound && u.bound[f] && u.bound[f](b), h && kr(e, f)), c;
446
446
  }) : [], u.update(), h = !0, W(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
447
447
  if (t.hydrate) {
448
- const f = Gr(t.target);
448
+ const f = Mr(t.target);
449
449
  u.fragment && u.fragment.l(f), f.forEach(U);
450
450
  } else
451
451
  u.fragment && u.fragment.c();
452
- t.intro && Xt(e.$$.fragment), Wr(e, t.target, t.anchor), R();
452
+ t.intro && Ft(e.$$.fragment), Fr(e, t.target, t.anchor), R();
453
453
  }
454
- ue(l);
454
+ ae(l);
455
455
  }
456
- let Wt;
457
- typeof HTMLElement == "function" && (Wt = class extends HTMLElement {
456
+ let jt;
457
+ typeof HTMLElement == "function" && (jt = class extends HTMLElement {
458
458
  constructor(t, r, n) {
459
459
  super();
460
460
  /** The Svelte component constructor */
@@ -491,42 +491,42 @@ typeof HTMLElement == "function" && (Wt = class extends HTMLElement {
491
491
  }
492
492
  }
493
493
  connectedCallback() {
494
- return lt(this, null, function* () {
494
+ return ot(this, null, function* () {
495
495
  if (this.$$cn = !0, !this.$$c) {
496
- let t = function(s) {
496
+ let t = function(o) {
497
497
  return () => {
498
- let a;
498
+ let s;
499
499
  return {
500
500
  c: function() {
501
- a = $("slot"), s !== "default" && k(a, "name", s);
501
+ s = $("slot"), o !== "default" && k(s, "name", o);
502
502
  },
503
503
  /**
504
504
  * @param {HTMLElement} target
505
505
  * @param {HTMLElement} [anchor]
506
506
  */
507
507
  m: function(u, h) {
508
- V(u, a, h);
508
+ V(u, s, h);
509
509
  },
510
510
  d: function(u) {
511
- u && U(a);
511
+ u && U(s);
512
512
  }
513
513
  };
514
514
  };
515
515
  };
516
516
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
517
517
  return;
518
- const r = {}, n = jr(this);
519
- for (const s of this.$$s)
520
- s in n && (r[s] = [t(s)]);
521
- for (const s of this.attributes) {
522
- const a = this.$$g_p(s.name);
523
- a in this.$$d || (this.$$d[a] = ye(a, s.value, this.$$p_d, "toProp"));
518
+ const r = {}, n = $r(this);
519
+ for (const o of this.$$s)
520
+ o in n && (r[o] = [t(o)]);
521
+ for (const o of this.attributes) {
522
+ const s = this.$$g_p(o.name);
523
+ s in this.$$d || (this.$$d[s] = be(s, o.value, this.$$p_d, "toProp"));
524
524
  }
525
- for (const s in this.$$p_d)
526
- !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
525
+ for (const o in this.$$p_d)
526
+ !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
527
527
  this.$$c = new this.$$ctor({
528
528
  target: this.shadowRoot || this,
529
- props: ut(at({}, this.$$d), {
529
+ props: it(nt({}, this.$$d), {
530
530
  $$slots: r,
531
531
  $$scope: {
532
532
  ctx: []
@@ -535,23 +535,23 @@ typeof HTMLElement == "function" && (Wt = class extends HTMLElement {
535
535
  });
536
536
  const i = () => {
537
537
  this.$$r = !0;
538
- for (const s in this.$$p_d)
539
- if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
540
- const a = ye(
541
- s,
542
- this.$$d[s],
538
+ for (const o in this.$$p_d)
539
+ if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
540
+ const s = be(
541
+ o,
542
+ this.$$d[o],
543
543
  this.$$p_d,
544
544
  "toAttribute"
545
545
  );
546
- a == null ? this.removeAttribute(this.$$p_d[s].attribute || s) : this.setAttribute(this.$$p_d[s].attribute || s, a);
546
+ s == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, s);
547
547
  }
548
548
  this.$$r = !1;
549
549
  };
550
550
  this.$$c.$$.after_update.push(i), i();
551
- for (const s in this.$$l)
552
- for (const a of this.$$l[s]) {
553
- const o = this.$$c.$on(s, a);
554
- this.$$l_u.set(a, o);
551
+ for (const o in this.$$l)
552
+ for (const s of this.$$l[o]) {
553
+ const a = this.$$c.$on(o, s);
554
+ this.$$l_u.set(s, a);
555
555
  }
556
556
  this.$$l = {};
557
557
  }
@@ -561,7 +561,7 @@ typeof HTMLElement == "function" && (Wt = class extends HTMLElement {
561
561
  // and setting attributes through setAttribute etc, this is helpful
562
562
  attributeChangedCallback(t, r, n) {
563
563
  var i;
564
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = ye(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
564
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = be(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
565
565
  }
566
566
  disconnectedCallback() {
567
567
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -574,9 +574,9 @@ typeof HTMLElement == "function" && (Wt = class extends HTMLElement {
574
574
  ) || t;
575
575
  }
576
576
  });
577
- function ye(e, t, r, n) {
578
- var s;
579
- const i = (s = r[e]) == null ? void 0 : s.type;
577
+ function be(e, t, r, n) {
578
+ var o;
579
+ const i = (o = r[e]) == null ? void 0 : o.type;
580
580
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
581
581
  return t;
582
582
  if (n === "toAttribute")
@@ -604,38 +604,38 @@ function ye(e, t, r, n) {
604
604
  return t;
605
605
  }
606
606
  }
607
- function Jr(e, t, r, n, i, s) {
608
- let a = class extends Wt {
607
+ function Xr(e, t, r, n, i, o) {
608
+ let s = class extends jt {
609
609
  constructor() {
610
610
  super(e, r, i), this.$$p_d = t;
611
611
  }
612
612
  static get observedAttributes() {
613
613
  return Object.keys(t).map(
614
- (o) => (t[o].attribute || o).toLowerCase()
614
+ (a) => (t[a].attribute || a).toLowerCase()
615
615
  );
616
616
  }
617
617
  };
618
- return Object.keys(t).forEach((o) => {
619
- Object.defineProperty(a.prototype, o, {
618
+ return Object.keys(t).forEach((a) => {
619
+ Object.defineProperty(s.prototype, a, {
620
620
  get() {
621
- return this.$$c && o in this.$$c ? this.$$c[o] : this.$$d[o];
621
+ return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
622
622
  },
623
623
  set(l) {
624
624
  var u;
625
- l = ye(o, l, t), this.$$d[o] = l, (u = this.$$c) == null || u.$set({ [o]: l });
625
+ l = be(a, l, t), this.$$d[a] = l, (u = this.$$c) == null || u.$set({ [a]: l });
626
626
  }
627
627
  });
628
- }), n.forEach((o) => {
629
- Object.defineProperty(a.prototype, o, {
628
+ }), n.forEach((a) => {
629
+ Object.defineProperty(s.prototype, a, {
630
630
  get() {
631
631
  var l;
632
- return (l = this.$$c) == null ? void 0 : l[o];
632
+ return (l = this.$$c) == null ? void 0 : l[a];
633
633
  }
634
634
  });
635
635
  }), e.element = /** @type {any} */
636
- a, a;
636
+ s, s;
637
637
  }
638
- class qr {
638
+ class Wr {
639
639
  constructor() {
640
640
  /**
641
641
  * ### PRIVATE API
@@ -656,7 +656,7 @@ class qr {
656
656
  }
657
657
  /** @returns {void} */
658
658
  $destroy() {
659
- zr(this, 1), this.$destroy = O;
659
+ jr(this, 1), this.$destroy = O;
660
660
  }
661
661
  /**
662
662
  * @template {Extract<keyof Events, string>} K
@@ -665,7 +665,7 @@ class qr {
665
665
  * @returns {() => void}
666
666
  */
667
667
  $on(t, r) {
668
- if (!Se(r))
668
+ if (!xe(r))
669
669
  return O;
670
670
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
671
671
  return n.push(r), () => {
@@ -678,11 +678,11 @@ class qr {
678
678
  * @returns {void}
679
679
  */
680
680
  $set(t) {
681
- this.$$set && !Cr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
681
+ this.$$set && !Br(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
682
682
  }
683
683
  }
684
- const Yr = "4";
685
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Yr);
684
+ const zr = "4";
685
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(zr);
686
686
  /*! *****************************************************************************
687
687
  Copyright (c) Microsoft Corporation.
688
688
 
@@ -697,18 +697,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
697
697
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
698
698
  PERFORMANCE OF THIS SOFTWARE.
699
699
  ***************************************************************************** */
700
- var je = function(e, t) {
701
- return je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
700
+ var Ge = function(e, t) {
701
+ return Ge = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
702
702
  r.__proto__ = n;
703
703
  } || function(r, n) {
704
704
  for (var i in n)
705
705
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
706
- }, je(e, t);
706
+ }, Ge(e, t);
707
707
  };
708
708
  function G(e, t) {
709
709
  if (typeof t != "function" && t !== null)
710
710
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
711
- je(e, t);
711
+ Ge(e, t);
712
712
  function r() {
713
713
  this.constructor = e;
714
714
  }
@@ -718,13 +718,13 @@ var _ = function() {
718
718
  return _ = Object.assign || function(t) {
719
719
  for (var r, n = 1, i = arguments.length; n < i; n++) {
720
720
  r = arguments[n];
721
- for (var s in r)
722
- Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
721
+ for (var o in r)
722
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
723
723
  }
724
724
  return t;
725
725
  }, _.apply(this, arguments);
726
726
  };
727
- function Kr(e, t) {
727
+ function Zr(e, t) {
728
728
  var r = {};
729
729
  for (var n in e)
730
730
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -733,7 +733,7 @@ function Kr(e, t) {
733
733
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
734
734
  return r;
735
735
  }
736
- function ke(e) {
736
+ function Fe(e) {
737
737
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
738
738
  if (r)
739
739
  return r.call(e);
@@ -745,42 +745,42 @@ function ke(e) {
745
745
  };
746
746
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
747
747
  }
748
- function Ve(e, t) {
748
+ function je(e, t) {
749
749
  var r = typeof Symbol == "function" && e[Symbol.iterator];
750
750
  if (!r)
751
751
  return e;
752
- var n = r.call(e), i, s = [], a;
752
+ var n = r.call(e), i, o = [], s;
753
753
  try {
754
754
  for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
755
- s.push(i.value);
756
- } catch (o) {
757
- a = { error: o };
755
+ o.push(i.value);
756
+ } catch (a) {
757
+ s = { error: a };
758
758
  } finally {
759
759
  try {
760
760
  i && !i.done && (r = n.return) && r.call(n);
761
761
  } finally {
762
- if (a)
763
- throw a.error;
762
+ if (s)
763
+ throw s.error;
764
764
  }
765
765
  }
766
- return s;
766
+ return o;
767
767
  }
768
- function K(e, t, r) {
768
+ function Y(e, t, r) {
769
769
  if (r || arguments.length === 2)
770
- for (var n = 0, i = t.length, s; n < i; n++)
771
- (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
772
- return e.concat(s || t);
770
+ for (var n = 0, i = t.length, o; n < i; n++)
771
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
772
+ return e.concat(o || t);
773
773
  }
774
774
  function D(e) {
775
775
  return typeof e == "function";
776
776
  }
777
- function zt(e) {
777
+ function kt(e) {
778
778
  var t = function(n) {
779
779
  Error.call(n), n.stack = new Error().stack;
780
780
  }, r = e(t);
781
781
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
782
782
  }
783
- var Ce = zt(function(e) {
783
+ var Ie = kt(function(e) {
784
784
  return function(r) {
785
785
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
786
786
  ` + r.map(function(n, i) {
@@ -789,25 +789,25 @@ var Ce = zt(function(e) {
789
789
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
790
790
  };
791
791
  });
792
- function Xe(e, t) {
792
+ function ke(e, t) {
793
793
  if (e) {
794
794
  var r = e.indexOf(t);
795
795
  0 <= r && e.splice(r, 1);
796
796
  }
797
797
  }
798
- var Te = function() {
798
+ var we = function() {
799
799
  function e(t) {
800
800
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
801
801
  }
802
802
  return e.prototype.unsubscribe = function() {
803
- var t, r, n, i, s;
803
+ var t, r, n, i, o;
804
804
  if (!this.closed) {
805
805
  this.closed = !0;
806
- var a = this._parentage;
807
- if (a)
808
- if (this._parentage = null, Array.isArray(a))
806
+ var s = this._parentage;
807
+ if (s)
808
+ if (this._parentage = null, Array.isArray(s))
809
809
  try {
810
- for (var o = ke(a), l = o.next(); !l.done; l = o.next()) {
810
+ for (var a = Fe(s), l = a.next(); !l.done; l = a.next()) {
811
811
  var u = l.value;
812
812
  u.remove(this);
813
813
  }
@@ -815,52 +815,52 @@ var Te = function() {
815
815
  t = { error: g };
816
816
  } finally {
817
817
  try {
818
- l && !l.done && (r = o.return) && r.call(o);
818
+ l && !l.done && (r = a.return) && r.call(a);
819
819
  } finally {
820
820
  if (t)
821
821
  throw t.error;
822
822
  }
823
823
  }
824
824
  else
825
- a.remove(this);
825
+ s.remove(this);
826
826
  var h = this.initialTeardown;
827
827
  if (D(h))
828
828
  try {
829
829
  h();
830
830
  } catch (g) {
831
- s = g instanceof Ce ? g.errors : [g];
831
+ o = g instanceof Ie ? g.errors : [g];
832
832
  }
833
833
  var f = this._finalizers;
834
834
  if (f) {
835
835
  this._finalizers = null;
836
836
  try {
837
- for (var c = ke(f), p = c.next(); !p.done; p = c.next()) {
838
- var b = p.value;
837
+ for (var c = Fe(f), m = c.next(); !m.done; m = c.next()) {
838
+ var b = m.value;
839
839
  try {
840
- dt(b);
840
+ lt(b);
841
841
  } catch (g) {
842
- s = s != null ? s : [], g instanceof Ce ? s = K(K([], Ve(s)), Ve(g.errors)) : s.push(g);
842
+ o = o != null ? o : [], g instanceof Ie ? o = Y(Y([], je(o)), je(g.errors)) : o.push(g);
843
843
  }
844
844
  }
845
845
  } catch (g) {
846
846
  n = { error: g };
847
847
  } finally {
848
848
  try {
849
- p && !p.done && (i = c.return) && i.call(c);
849
+ m && !m.done && (i = c.return) && i.call(c);
850
850
  } finally {
851
851
  if (n)
852
852
  throw n.error;
853
853
  }
854
854
  }
855
855
  }
856
- if (s)
857
- throw new Ce(s);
856
+ if (o)
857
+ throw new Ie(o);
858
858
  }
859
859
  }, e.prototype.add = function(t) {
860
860
  var r;
861
861
  if (t && t !== this)
862
862
  if (this.closed)
863
- dt(t);
863
+ lt(t);
864
864
  else {
865
865
  if (t instanceof e) {
866
866
  if (t.closed || t._hasParent(this))
@@ -877,56 +877,52 @@ var Te = function() {
877
877
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
878
878
  }, e.prototype._removeParent = function(t) {
879
879
  var r = this._parentage;
880
- r === t ? this._parentage = null : Array.isArray(r) && Xe(r, t);
880
+ r === t ? this._parentage = null : Array.isArray(r) && ke(r, t);
881
881
  }, e.prototype.remove = function(t) {
882
882
  var r = this._finalizers;
883
- r && Xe(r, t), t instanceof e && t._removeParent(this);
883
+ r && ke(r, t), t instanceof e && t._removeParent(this);
884
884
  }, e.EMPTY = function() {
885
885
  var t = new e();
886
886
  return t.closed = !0, t;
887
887
  }(), e;
888
- }(), Zt = Te.EMPTY;
889
- function Qt(e) {
890
- return e instanceof Te || e && "closed" in e && D(e.remove) && D(e.add) && D(e.unsubscribe);
888
+ }(), Vt = we.EMPTY;
889
+ function Xt(e) {
890
+ return e instanceof we || e && "closed" in e && D(e.remove) && D(e.add) && D(e.unsubscribe);
891
891
  }
892
- function dt(e) {
892
+ function lt(e) {
893
893
  D(e) ? e() : e.unsubscribe();
894
894
  }
895
- var Jt = {
896
- onUnhandledError: null,
897
- onStoppedNotification: null,
898
- Promise: void 0,
899
- useDeprecatedSynchronousErrorHandling: !1,
900
- useDeprecatedNextContext: !1
901
- }, en = {
895
+ var Qr = {
896
+ Promise: void 0
897
+ }, Jr = {
902
898
  setTimeout: function(e, t) {
903
899
  for (var r = [], n = 2; n < arguments.length; n++)
904
900
  r[n - 2] = arguments[n];
905
- return setTimeout.apply(void 0, K([e, t], Ve(r)));
901
+ return setTimeout.apply(void 0, Y([e, t], je(r)));
906
902
  },
907
903
  clearTimeout: function(e) {
908
904
  return clearTimeout(e);
909
905
  },
910
906
  delegate: void 0
911
907
  };
912
- function tn(e) {
913
- en.setTimeout(function() {
908
+ function qr(e) {
909
+ Jr.setTimeout(function() {
914
910
  throw e;
915
911
  });
916
912
  }
917
- function pt() {
913
+ function ht() {
918
914
  }
919
- function ge(e) {
915
+ function ye(e) {
920
916
  e();
921
917
  }
922
- var qt = function(e) {
918
+ var Wt = function(e) {
923
919
  G(t, e);
924
920
  function t(r) {
925
921
  var n = e.call(this) || this;
926
- return n.isStopped = !1, r ? (n.destination = r, Qt(r) && r.add(n)) : n.destination = on, n;
922
+ return n.isStopped = !1, r ? (n.destination = r, Xt(r) && r.add(n)) : n.destination = en, n;
927
923
  }
928
924
  return t.create = function(r, n, i) {
929
- return new We(r, n, i);
925
+ return new Ve(r, n, i);
930
926
  }, t.prototype.next = function(r) {
931
927
  this.isStopped || this._next(r);
932
928
  }, t.prototype.error = function(r) {
@@ -950,11 +946,7 @@ var qt = function(e) {
950
946
  this.unsubscribe();
951
947
  }
952
948
  }, t;
953
- }(Te), rn = Function.prototype.bind;
954
- function Le(e, t) {
955
- return rn.call(e, t);
956
- }
957
- var nn = function() {
949
+ }(we), Yr = function() {
958
950
  function e(t) {
959
951
  this.partialObserver = t;
960
952
  }
@@ -964,7 +956,7 @@ var nn = function() {
964
956
  try {
965
957
  r.next(t);
966
958
  } catch (n) {
967
- pe(n);
959
+ de(n);
968
960
  }
969
961
  }, e.prototype.error = function(t) {
970
962
  var r = this.partialObserver;
@@ -972,68 +964,56 @@ var nn = function() {
972
964
  try {
973
965
  r.error(t);
974
966
  } catch (n) {
975
- pe(n);
967
+ de(n);
976
968
  }
977
969
  else
978
- pe(t);
970
+ de(t);
979
971
  }, e.prototype.complete = function() {
980
972
  var t = this.partialObserver;
981
973
  if (t.complete)
982
974
  try {
983
975
  t.complete();
984
976
  } catch (r) {
985
- pe(r);
977
+ de(r);
986
978
  }
987
979
  }, e;
988
- }(), We = function(e) {
980
+ }(), Ve = function(e) {
989
981
  G(t, e);
990
982
  function t(r, n, i) {
991
- var s = e.call(this) || this, a;
992
- if (D(r) || !r)
993
- a = {
994
- next: r != null ? r : void 0,
995
- error: n != null ? n : void 0,
996
- complete: i != null ? i : void 0
997
- };
998
- else {
999
- var o;
1000
- s && Jt.useDeprecatedNextContext ? (o = Object.create(r), o.unsubscribe = function() {
1001
- return s.unsubscribe();
1002
- }, a = {
1003
- next: r.next && Le(r.next, o),
1004
- error: r.error && Le(r.error, o),
1005
- complete: r.complete && Le(r.complete, o)
1006
- }) : a = r;
1007
- }
1008
- return s.destination = new nn(a), s;
983
+ var o = e.call(this) || this, s;
984
+ return D(r) || !r ? s = {
985
+ next: r != null ? r : void 0,
986
+ error: n != null ? n : void 0,
987
+ complete: i != null ? i : void 0
988
+ } : s = r, o.destination = new Yr(s), o;
1009
989
  }
1010
990
  return t;
1011
- }(qt);
1012
- function pe(e) {
1013
- tn(e);
991
+ }(Wt);
992
+ function de(e) {
993
+ qr(e);
1014
994
  }
1015
- function sn(e) {
995
+ function Kr(e) {
1016
996
  throw e;
1017
997
  }
1018
- var on = {
998
+ var en = {
1019
999
  closed: !0,
1020
- next: pt,
1021
- error: sn,
1022
- complete: pt
1023
- }, an = function() {
1000
+ next: ht,
1001
+ error: Kr,
1002
+ complete: ht
1003
+ }, tn = function() {
1024
1004
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
1025
1005
  }();
1026
- function un(e) {
1006
+ function rn(e) {
1027
1007
  return e;
1028
1008
  }
1029
- function ln(e) {
1030
- return e.length === 0 ? un : e.length === 1 ? e[0] : function(r) {
1009
+ function nn(e) {
1010
+ return e.length === 0 ? rn : e.length === 1 ? e[0] : function(r) {
1031
1011
  return e.reduce(function(n, i) {
1032
1012
  return i(n);
1033
1013
  }, r);
1034
1014
  };
1035
1015
  }
1036
- var mt = function() {
1016
+ var ct = function() {
1037
1017
  function e(t) {
1038
1018
  t && (this._subscribe = t);
1039
1019
  }
@@ -1041,11 +1021,11 @@ var mt = function() {
1041
1021
  var r = new e();
1042
1022
  return r.source = this, r.operator = t, r;
1043
1023
  }, e.prototype.subscribe = function(t, r, n) {
1044
- var i = this, s = cn(t) ? t : new We(t, r, n);
1045
- return ge(function() {
1046
- var a = i, o = a.operator, l = a.source;
1047
- s.add(o ? o.call(s, l) : l ? i._subscribe(s) : i._trySubscribe(s));
1048
- }), s;
1024
+ var i = this, o = sn(t) ? t : new Ve(t, r, n);
1025
+ return ye(function() {
1026
+ var s = i, a = s.operator, l = s.source;
1027
+ o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
1028
+ }), o;
1049
1029
  }, e.prototype._trySubscribe = function(t) {
1050
1030
  try {
1051
1031
  return this._subscribe(t);
@@ -1054,87 +1034,87 @@ var mt = function() {
1054
1034
  }
1055
1035
  }, e.prototype.forEach = function(t, r) {
1056
1036
  var n = this;
1057
- return r = bt(r), new r(function(i, s) {
1058
- var a = new We({
1059
- next: function(o) {
1037
+ return r = ft(r), new r(function(i, o) {
1038
+ var s = new Ve({
1039
+ next: function(a) {
1060
1040
  try {
1061
- t(o);
1041
+ t(a);
1062
1042
  } catch (l) {
1063
- s(l), a.unsubscribe();
1043
+ o(l), s.unsubscribe();
1064
1044
  }
1065
1045
  },
1066
- error: s,
1046
+ error: o,
1067
1047
  complete: i
1068
1048
  });
1069
- n.subscribe(a);
1049
+ n.subscribe(s);
1070
1050
  });
1071
1051
  }, e.prototype._subscribe = function(t) {
1072
1052
  var r;
1073
1053
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
1074
- }, e.prototype[an] = function() {
1054
+ }, e.prototype[tn] = function() {
1075
1055
  return this;
1076
1056
  }, e.prototype.pipe = function() {
1077
1057
  for (var t = [], r = 0; r < arguments.length; r++)
1078
1058
  t[r] = arguments[r];
1079
- return ln(t)(this);
1059
+ return nn(t)(this);
1080
1060
  }, e.prototype.toPromise = function(t) {
1081
1061
  var r = this;
1082
- return t = bt(t), new t(function(n, i) {
1083
- var s;
1084
- r.subscribe(function(a) {
1085
- return s = a;
1086
- }, function(a) {
1087
- return i(a);
1062
+ return t = ft(t), new t(function(n, i) {
1063
+ var o;
1064
+ r.subscribe(function(s) {
1065
+ return o = s;
1066
+ }, function(s) {
1067
+ return i(s);
1088
1068
  }, function() {
1089
- return n(s);
1069
+ return n(o);
1090
1070
  });
1091
1071
  });
1092
1072
  }, e.create = function(t) {
1093
1073
  return new e(t);
1094
1074
  }, e;
1095
1075
  }();
1096
- function bt(e) {
1076
+ function ft(e) {
1097
1077
  var t;
1098
- return (t = e != null ? e : Jt.Promise) !== null && t !== void 0 ? t : Promise;
1078
+ return (t = e != null ? e : Qr.Promise) !== null && t !== void 0 ? t : Promise;
1099
1079
  }
1100
- function hn(e) {
1080
+ function on(e) {
1101
1081
  return e && D(e.next) && D(e.error) && D(e.complete);
1102
1082
  }
1103
- function cn(e) {
1104
- return e && e instanceof qt || hn(e) && Qt(e);
1083
+ function sn(e) {
1084
+ return e && e instanceof Wt || on(e) && Xt(e);
1105
1085
  }
1106
- var fn = zt(function(e) {
1086
+ var an = kt(function(e) {
1107
1087
  return function() {
1108
1088
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
1109
1089
  };
1110
- }), Yt = function(e) {
1090
+ }), zt = function(e) {
1111
1091
  G(t, e);
1112
1092
  function t() {
1113
1093
  var r = e.call(this) || this;
1114
1094
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
1115
1095
  }
1116
1096
  return t.prototype.lift = function(r) {
1117
- var n = new yt(this, this);
1097
+ var n = new dt(this, this);
1118
1098
  return n.operator = r, n;
1119
1099
  }, t.prototype._throwIfClosed = function() {
1120
1100
  if (this.closed)
1121
- throw new fn();
1101
+ throw new an();
1122
1102
  }, t.prototype.next = function(r) {
1123
1103
  var n = this;
1124
- ge(function() {
1125
- var i, s;
1104
+ ye(function() {
1105
+ var i, o;
1126
1106
  if (n._throwIfClosed(), !n.isStopped) {
1127
1107
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
1128
1108
  try {
1129
- for (var a = ke(n.currentObservers), o = a.next(); !o.done; o = a.next()) {
1130
- var l = o.value;
1109
+ for (var s = Fe(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
1110
+ var l = a.value;
1131
1111
  l.next(r);
1132
1112
  }
1133
1113
  } catch (u) {
1134
1114
  i = { error: u };
1135
1115
  } finally {
1136
1116
  try {
1137
- o && !o.done && (s = a.return) && s.call(a);
1117
+ a && !a.done && (o = s.return) && o.call(s);
1138
1118
  } finally {
1139
1119
  if (i)
1140
1120
  throw i.error;
@@ -1144,7 +1124,7 @@ var fn = zt(function(e) {
1144
1124
  });
1145
1125
  }, t.prototype.error = function(r) {
1146
1126
  var n = this;
1147
- ge(function() {
1127
+ ye(function() {
1148
1128
  if (n._throwIfClosed(), !n.isStopped) {
1149
1129
  n.hasError = n.isStopped = !0, n.thrownError = r;
1150
1130
  for (var i = n.observers; i.length; )
@@ -1153,7 +1133,7 @@ var fn = zt(function(e) {
1153
1133
  });
1154
1134
  }, t.prototype.complete = function() {
1155
1135
  var r = this;
1156
- ge(function() {
1136
+ ye(function() {
1157
1137
  if (r._throwIfClosed(), !r.isStopped) {
1158
1138
  r.isStopped = !0;
1159
1139
  for (var n = r.observers; n.length; )
@@ -1174,20 +1154,20 @@ var fn = zt(function(e) {
1174
1154
  }, t.prototype._subscribe = function(r) {
1175
1155
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1176
1156
  }, t.prototype._innerSubscribe = function(r) {
1177
- var n = this, i = this, s = i.hasError, a = i.isStopped, o = i.observers;
1178
- return s || a ? Zt : (this.currentObservers = null, o.push(r), new Te(function() {
1179
- n.currentObservers = null, Xe(o, r);
1157
+ var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
1158
+ return o || s ? Vt : (this.currentObservers = null, a.push(r), new we(function() {
1159
+ n.currentObservers = null, ke(a, r);
1180
1160
  }));
1181
1161
  }, t.prototype._checkFinalizedStatuses = function(r) {
1182
- var n = this, i = n.hasError, s = n.thrownError, a = n.isStopped;
1183
- i ? r.error(s) : a && r.complete();
1162
+ var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
1163
+ i ? r.error(o) : s && r.complete();
1184
1164
  }, t.prototype.asObservable = function() {
1185
- var r = new mt();
1165
+ var r = new ct();
1186
1166
  return r.source = this, r;
1187
1167
  }, t.create = function(r, n) {
1188
- return new yt(r, n);
1168
+ return new dt(r, n);
1189
1169
  }, t;
1190
- }(mt), yt = function(e) {
1170
+ }(ct), dt = function(e) {
1191
1171
  G(t, e);
1192
1172
  function t(r, n) {
1193
1173
  var i = e.call(this) || this;
@@ -1204,81 +1184,81 @@ var fn = zt(function(e) {
1204
1184
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1205
1185
  }, t.prototype._subscribe = function(r) {
1206
1186
  var n, i;
1207
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Zt;
1187
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Vt;
1208
1188
  }, t;
1209
- }(Yt), Kt = {
1189
+ }(zt), Zt = {
1210
1190
  now: function() {
1211
- return (Kt.delegate || Date).now();
1191
+ return (Zt.delegate || Date).now();
1212
1192
  },
1213
1193
  delegate: void 0
1214
- }, dn = function(e) {
1194
+ }, un = function(e) {
1215
1195
  G(t, e);
1216
1196
  function t(r, n, i) {
1217
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Kt);
1218
- var s = e.call(this) || this;
1219
- return s._bufferSize = r, s._windowTime = n, s._timestampProvider = i, s._buffer = [], s._infiniteTimeWindow = !0, s._infiniteTimeWindow = n === 1 / 0, s._bufferSize = Math.max(1, r), s._windowTime = Math.max(1, n), s;
1197
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Zt);
1198
+ var o = e.call(this) || this;
1199
+ 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;
1220
1200
  }
1221
1201
  return t.prototype.next = function(r) {
1222
- var n = this, i = n.isStopped, s = n._buffer, a = n._infiniteTimeWindow, o = n._timestampProvider, l = n._windowTime;
1223
- i || (s.push(r), !a && s.push(o.now() + l)), this._trimBuffer(), e.prototype.next.call(this, r);
1202
+ var n = this, i = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, a = n._timestampProvider, l = n._windowTime;
1203
+ i || (o.push(r), !s && o.push(a.now() + l)), this._trimBuffer(), e.prototype.next.call(this, r);
1224
1204
  }, t.prototype._subscribe = function(r) {
1225
1205
  this._throwIfClosed(), this._trimBuffer();
1226
- for (var n = this._innerSubscribe(r), i = this, s = i._infiniteTimeWindow, a = i._buffer, o = a.slice(), l = 0; l < o.length && !r.closed; l += s ? 1 : 2)
1227
- r.next(o[l]);
1206
+ for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, s = i._buffer, a = s.slice(), l = 0; l < a.length && !r.closed; l += o ? 1 : 2)
1207
+ r.next(a[l]);
1228
1208
  return this._checkFinalizedStatuses(r), n;
1229
1209
  }, t.prototype._trimBuffer = function() {
1230
- var r = this, n = r._bufferSize, i = r._timestampProvider, s = r._buffer, a = r._infiniteTimeWindow, o = (a ? 1 : 2) * n;
1231
- if (n < 1 / 0 && o < s.length && s.splice(0, s.length - o), !a) {
1232
- for (var l = i.now(), u = 0, h = 1; h < s.length && s[h] <= l; h += 2)
1210
+ var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * n;
1211
+ if (n < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
1212
+ for (var l = i.now(), u = 0, h = 1; h < o.length && o[h] <= l; h += 2)
1233
1213
  u = h;
1234
- u && s.splice(0, u + 1);
1214
+ u && o.splice(0, u + 1);
1235
1215
  }
1236
1216
  }, t;
1237
- }(Yt);
1238
- const gt = [], vt = {}, pn = (e, t = 0) => {
1239
- if (gt.indexOf(e) == -1) {
1240
- const r = new dn(t);
1241
- vt[e] = r, gt.push(e);
1217
+ }(zt);
1218
+ const pt = [], mt = {}, ln = (e, t = 0) => {
1219
+ if (pt.indexOf(e) == -1) {
1220
+ const r = new un(t);
1221
+ mt[e] = r, pt.push(e);
1242
1222
  }
1243
- return vt[e];
1244
- }, J = [];
1245
- function mn(e, t) {
1223
+ return mt[e];
1224
+ }, Q = [];
1225
+ function hn(e, t) {
1246
1226
  return {
1247
- subscribe: He(e, t).subscribe
1227
+ subscribe: Te(e, t).subscribe
1248
1228
  };
1249
1229
  }
1250
- function He(e, t = O) {
1230
+ function Te(e, t = O) {
1251
1231
  let r;
1252
1232
  const n = /* @__PURE__ */ new Set();
1253
- function i(o) {
1254
- if (Ut(e, o) && (e = o, r)) {
1255
- const l = !J.length;
1233
+ function i(a) {
1234
+ if (Mt(e, a) && (e = a, r)) {
1235
+ const l = !Q.length;
1256
1236
  for (const u of n)
1257
- u[1](), J.push(u, e);
1237
+ u[1](), Q.push(u, e);
1258
1238
  if (l) {
1259
- for (let u = 0; u < J.length; u += 2)
1260
- J[u][0](J[u + 1]);
1261
- J.length = 0;
1239
+ for (let u = 0; u < Q.length; u += 2)
1240
+ Q[u][0](Q[u + 1]);
1241
+ Q.length = 0;
1262
1242
  }
1263
1243
  }
1264
1244
  }
1265
- function s(o) {
1266
- i(o(e));
1245
+ function o(a) {
1246
+ i(a(e));
1267
1247
  }
1268
- function a(o, l = O) {
1269
- const u = [o, l];
1270
- return n.add(u), n.size === 1 && (r = t(i, s) || O), o(e), () => {
1248
+ function s(a, l = O) {
1249
+ const u = [a, l];
1250
+ return n.add(u), n.size === 1 && (r = t(i, o) || O), a(e), () => {
1271
1251
  n.delete(u), n.size === 0 && r && (r(), r = null);
1272
1252
  };
1273
1253
  }
1274
- return { set: i, update: s, subscribe: a };
1254
+ return { set: i, update: o, subscribe: s };
1275
1255
  }
1276
- function ie(e, t, r) {
1256
+ function ne(e, t, r) {
1277
1257
  const n = !Array.isArray(e), i = n ? [e] : e;
1278
1258
  if (!i.every(Boolean))
1279
1259
  throw new Error("derived() expects stores as input, got a falsy value");
1280
- const s = t.length < 2;
1281
- return mn(r, (a, o) => {
1260
+ const o = t.length < 2;
1261
+ return hn(r, (s, a) => {
1282
1262
  let l = !1;
1283
1263
  const u = [];
1284
1264
  let h = 0, f = O;
@@ -1286,10 +1266,10 @@ function ie(e, t, r) {
1286
1266
  if (h)
1287
1267
  return;
1288
1268
  f();
1289
- const b = t(n ? u[0] : u, a, o);
1290
- s ? a(b) : f = Se(b) ? b : O;
1291
- }, p = i.map(
1292
- (b, g) => Gt(
1269
+ const b = t(n ? u[0] : u, s, a);
1270
+ o ? s(b) : f = xe(b) ? b : O;
1271
+ }, m = i.map(
1272
+ (b, g) => Rt(
1293
1273
  b,
1294
1274
  (S) => {
1295
1275
  u[g] = S, h &= ~(1 << g), l && c();
@@ -1300,134 +1280,132 @@ function ie(e, t, r) {
1300
1280
  )
1301
1281
  );
1302
1282
  return l = !0, c(), function() {
1303
- W(p), f(), l = !1;
1283
+ W(m), f(), l = !1;
1304
1284
  };
1305
1285
  });
1306
1286
  }
1307
- function bn(e) {
1287
+ function cn(e) {
1308
1288
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1309
1289
  }
1310
- var yn = function(t) {
1311
- return gn(t) && !vn(t);
1290
+ var fn = function(t) {
1291
+ return dn(t) && !pn(t);
1312
1292
  };
1313
- function gn(e) {
1293
+ function dn(e) {
1314
1294
  return !!e && typeof e == "object";
1315
1295
  }
1316
- function vn(e) {
1296
+ function pn(e) {
1317
1297
  var t = Object.prototype.toString.call(e);
1318
- return t === "[object RegExp]" || t === "[object Date]" || xn(e);
1298
+ return t === "[object RegExp]" || t === "[object Date]" || yn(e);
1319
1299
  }
1320
- var _n = typeof Symbol == "function" && Symbol.for, En = _n ? Symbol.for("react.element") : 60103;
1321
- function xn(e) {
1322
- return e.$$typeof === En;
1300
+ var mn = typeof Symbol == "function" && Symbol.for, bn = mn ? Symbol.for("react.element") : 60103;
1301
+ function yn(e) {
1302
+ return e.$$typeof === bn;
1323
1303
  }
1324
- function Sn(e) {
1304
+ function gn(e) {
1325
1305
  return Array.isArray(e) ? [] : {};
1326
1306
  }
1327
- function he(e, t) {
1328
- return t.clone !== !1 && t.isMergeableObject(e) ? ee(Sn(e), e, t) : e;
1307
+ function le(e, t) {
1308
+ return t.clone !== !1 && t.isMergeableObject(e) ? K(gn(e), e, t) : e;
1329
1309
  }
1330
- function wn(e, t, r) {
1310
+ function vn(e, t, r) {
1331
1311
  return e.concat(t).map(function(n) {
1332
- return he(n, r);
1312
+ return le(n, r);
1333
1313
  });
1334
1314
  }
1335
- function Tn(e, t) {
1315
+ function _n(e, t) {
1336
1316
  if (!t.customMerge)
1337
- return ee;
1317
+ return K;
1338
1318
  var r = t.customMerge(e);
1339
- return typeof r == "function" ? r : ee;
1319
+ return typeof r == "function" ? r : K;
1340
1320
  }
1341
- function Hn(e) {
1321
+ function En(e) {
1342
1322
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1343
1323
  return Object.propertyIsEnumerable.call(e, t);
1344
1324
  }) : [];
1345
1325
  }
1346
- function _t(e) {
1347
- return Object.keys(e).concat(Hn(e));
1326
+ function bt(e) {
1327
+ return Object.keys(e).concat(En(e));
1348
1328
  }
1349
- function er(e, t) {
1329
+ function Qt(e, t) {
1350
1330
  try {
1351
1331
  return t in e;
1352
1332
  } catch (r) {
1353
1333
  return !1;
1354
1334
  }
1355
1335
  }
1356
- function Bn(e, t) {
1357
- return er(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1336
+ function xn(e, t) {
1337
+ return Qt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1358
1338
  }
1359
- function Pn(e, t, r) {
1339
+ function Sn(e, t, r) {
1360
1340
  var n = {};
1361
- return r.isMergeableObject(e) && _t(e).forEach(function(i) {
1362
- n[i] = he(e[i], r);
1363
- }), _t(t).forEach(function(i) {
1364
- Bn(e, i) || (er(e, i) && r.isMergeableObject(t[i]) ? n[i] = Tn(i, r)(e[i], t[i], r) : n[i] = he(t[i], r));
1341
+ return r.isMergeableObject(e) && bt(e).forEach(function(i) {
1342
+ n[i] = le(e[i], r);
1343
+ }), bt(t).forEach(function(i) {
1344
+ xn(e, i) || (Qt(e, i) && r.isMergeableObject(t[i]) ? n[i] = _n(i, r)(e[i], t[i], r) : n[i] = le(t[i], r));
1365
1345
  }), n;
1366
1346
  }
1367
- function ee(e, t, r) {
1368
- r = r || {}, r.arrayMerge = r.arrayMerge || wn, r.isMergeableObject = r.isMergeableObject || yn, r.cloneUnlessOtherwiseSpecified = he;
1369
- var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
1370
- return s ? n ? r.arrayMerge(e, t, r) : Pn(e, t, r) : he(t, r);
1347
+ function K(e, t, r) {
1348
+ r = r || {}, r.arrayMerge = r.arrayMerge || vn, r.isMergeableObject = r.isMergeableObject || fn, r.cloneUnlessOtherwiseSpecified = le;
1349
+ var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1350
+ return o ? n ? r.arrayMerge(e, t, r) : Sn(e, t, r) : le(t, r);
1371
1351
  }
1372
- ee.all = function(t, r) {
1352
+ K.all = function(t, r) {
1373
1353
  if (!Array.isArray(t))
1374
1354
  throw new Error("first argument should be an array");
1375
1355
  return t.reduce(function(n, i) {
1376
- return ee(n, i, r);
1356
+ return K(n, i, r);
1377
1357
  }, {});
1378
1358
  };
1379
- var An = ee, On = An;
1380
- const In = /* @__PURE__ */ bn(On);
1381
- function Me(e, t) {
1382
- var r = t && t.cache ? t.cache : $n, n = t && t.serializer ? t.serializer : Rn, i = t && t.strategy ? t.strategy : Ln;
1359
+ var wn = K, Tn = wn;
1360
+ const Hn = /* @__PURE__ */ cn(Tn);
1361
+ function Ce(e, t) {
1362
+ var r = t && t.cache ? t.cache : Ln, n = t && t.serializer ? t.serializer : In, i = t && t.strategy ? t.strategy : An;
1383
1363
  return i(e, {
1384
1364
  cache: r,
1385
1365
  serializer: n
1386
1366
  });
1387
1367
  }
1388
- function Cn(e) {
1368
+ function Bn(e) {
1389
1369
  return e == null || typeof e == "number" || typeof e == "boolean";
1390
1370
  }
1391
- function tr(e, t, r, n) {
1392
- var i = Cn(n) ? n : r(n), s = t.get(i);
1393
- return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
1371
+ function Pn(e, t, r, n) {
1372
+ var i = Bn(n) ? n : r(n), o = t.get(i);
1373
+ return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1394
1374
  }
1395
- function rr(e, t, r) {
1396
- var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
1397
- return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
1375
+ function Jt(e, t, r) {
1376
+ var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1377
+ return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1398
1378
  }
1399
- function rt(e, t, r, n, i) {
1379
+ function qt(e, t, r, n, i) {
1400
1380
  return r.bind(t, e, n, i);
1401
1381
  }
1402
- function Ln(e, t) {
1403
- var r = e.length === 1 ? tr : rr;
1404
- return rt(e, this, r, t.cache.create(), t.serializer);
1382
+ function An(e, t) {
1383
+ var r = e.length === 1 ? Pn : Jt;
1384
+ return qt(e, this, r, t.cache.create(), t.serializer);
1405
1385
  }
1406
- function Mn(e, t) {
1407
- return rt(e, this, rr, t.cache.create(), t.serializer);
1386
+ function On(e, t) {
1387
+ return qt(e, this, Jt, t.cache.create(), t.serializer);
1408
1388
  }
1409
- function Nn(e, t) {
1410
- return rt(e, this, tr, t.cache.create(), t.serializer);
1411
- }
1412
- var Rn = function() {
1389
+ var In = function() {
1413
1390
  return JSON.stringify(arguments);
1414
- };
1415
- function nt() {
1416
- this.cache = /* @__PURE__ */ Object.create(null);
1417
- }
1418
- nt.prototype.get = function(e) {
1419
- return this.cache[e];
1420
- };
1421
- nt.prototype.set = function(e, t) {
1422
- this.cache[e] = t;
1423
- };
1424
- var $n = {
1391
+ }, Cn = (
1392
+ /** @class */
1393
+ function() {
1394
+ function e() {
1395
+ this.cache = /* @__PURE__ */ Object.create(null);
1396
+ }
1397
+ return e.prototype.get = function(t) {
1398
+ return this.cache[t];
1399
+ }, e.prototype.set = function(t, r) {
1400
+ this.cache[t] = r;
1401
+ }, e;
1402
+ }()
1403
+ ), Ln = {
1425
1404
  create: function() {
1426
- return new nt();
1405
+ return new Cn();
1427
1406
  }
1428
- }, Ne = {
1429
- variadic: Mn,
1430
- monadic: Nn
1407
+ }, Le = {
1408
+ variadic: On
1431
1409
  }, y;
1432
1410
  (function(e) {
1433
1411
  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";
@@ -1436,47 +1414,47 @@ var E;
1436
1414
  (function(e) {
1437
1415
  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";
1438
1416
  })(E || (E = {}));
1439
- var te;
1417
+ var ee;
1440
1418
  (function(e) {
1441
1419
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1442
- })(te || (te = {}));
1443
- function Et(e) {
1420
+ })(ee || (ee = {}));
1421
+ function yt(e) {
1444
1422
  return e.type === E.literal;
1445
1423
  }
1446
- function Dn(e) {
1424
+ function Nn(e) {
1447
1425
  return e.type === E.argument;
1448
1426
  }
1449
- function nr(e) {
1427
+ function Yt(e) {
1450
1428
  return e.type === E.number;
1451
1429
  }
1452
- function ir(e) {
1430
+ function Kt(e) {
1453
1431
  return e.type === E.date;
1454
1432
  }
1455
- function sr(e) {
1433
+ function er(e) {
1456
1434
  return e.type === E.time;
1457
1435
  }
1458
- function or(e) {
1436
+ function tr(e) {
1459
1437
  return e.type === E.select;
1460
1438
  }
1461
- function ar(e) {
1439
+ function rr(e) {
1462
1440
  return e.type === E.plural;
1463
1441
  }
1464
- function Un(e) {
1442
+ function Mn(e) {
1465
1443
  return e.type === E.pound;
1466
1444
  }
1467
- function ur(e) {
1445
+ function nr(e) {
1468
1446
  return e.type === E.tag;
1469
1447
  }
1470
- function lr(e) {
1471
- return !!(e && typeof e == "object" && e.type === te.number);
1448
+ function ir(e) {
1449
+ return !!(e && typeof e == "object" && e.type === ee.number);
1472
1450
  }
1473
- function ze(e) {
1474
- return !!(e && typeof e == "object" && e.type === te.dateTime);
1451
+ function Xe(e) {
1452
+ return !!(e && typeof e == "object" && e.type === ee.dateTime);
1475
1453
  }
1476
- var hr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Gn = /(?:[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;
1477
- function Fn(e) {
1454
+ var or = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Rn = /(?:[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;
1455
+ function $n(e) {
1478
1456
  var t = {};
1479
- return e.replace(Gn, function(r) {
1457
+ return e.replace(Rn, function(r) {
1480
1458
  var n = r.length;
1481
1459
  switch (r[0]) {
1482
1460
  case "G":
@@ -1565,36 +1543,36 @@ function Fn(e) {
1565
1543
  return "";
1566
1544
  }), t;
1567
1545
  }
1568
- var jn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1569
- function kn(e) {
1546
+ var Dn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1547
+ function Un(e) {
1570
1548
  if (e.length === 0)
1571
1549
  throw new Error("Number skeleton cannot be empty");
1572
- for (var t = e.split(jn).filter(function(c) {
1550
+ for (var t = e.split(Dn).filter(function(c) {
1573
1551
  return c.length > 0;
1574
1552
  }), r = [], n = 0, i = t; n < i.length; n++) {
1575
- var s = i[n], a = s.split("/");
1576
- if (a.length === 0)
1553
+ var o = i[n], s = o.split("/");
1554
+ if (s.length === 0)
1577
1555
  throw new Error("Invalid number skeleton");
1578
- for (var o = a[0], l = a.slice(1), u = 0, h = l; u < h.length; u++) {
1556
+ for (var a = s[0], l = s.slice(1), u = 0, h = l; u < h.length; u++) {
1579
1557
  var f = h[u];
1580
1558
  if (f.length === 0)
1581
1559
  throw new Error("Invalid number skeleton");
1582
1560
  }
1583
- r.push({ stem: o, options: l });
1561
+ r.push({ stem: a, options: l });
1584
1562
  }
1585
1563
  return r;
1586
1564
  }
1587
- function Vn(e) {
1565
+ function Gn(e) {
1588
1566
  return e.replace(/^(.*?)-/, "");
1589
1567
  }
1590
- var xt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, cr = /^(@+)?(\+|#+)?[rs]?$/g, Xn = /(\*)(0+)|(#+)(0+)|(0+)/g, fr = /^(0+)$/;
1591
- function St(e) {
1568
+ var gt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, sr = /^(@+)?(\+|#+)?[rs]?$/g, Fn = /(\*)(0+)|(#+)(0+)|(0+)/g, ar = /^(0+)$/;
1569
+ function vt(e) {
1592
1570
  var t = {};
1593
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(cr, function(r, n, i) {
1571
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(sr, function(r, n, i) {
1594
1572
  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)), "";
1595
1573
  }), t;
1596
1574
  }
1597
- function dr(e) {
1575
+ function ur(e) {
1598
1576
  switch (e) {
1599
1577
  case "sign-auto":
1600
1578
  return {
@@ -1634,7 +1612,7 @@ function dr(e) {
1634
1612
  };
1635
1613
  }
1636
1614
  }
1637
- function Wn(e) {
1615
+ function jn(e) {
1638
1616
  var t;
1639
1617
  if (e[0] === "E" && e[1] === "E" ? (t = {
1640
1618
  notation: "engineering"
@@ -1642,17 +1620,17 @@ function Wn(e) {
1642
1620
  notation: "scientific"
1643
1621
  }, e = e.slice(1)), t) {
1644
1622
  var r = e.slice(0, 2);
1645
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !fr.test(e))
1623
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !ar.test(e))
1646
1624
  throw new Error("Malformed concise eng/scientific notation");
1647
1625
  t.minimumIntegerDigits = e.length;
1648
1626
  }
1649
1627
  return t;
1650
1628
  }
1651
- function wt(e) {
1652
- var t = {}, r = dr(e);
1629
+ function _t(e) {
1630
+ var t = {}, r = ur(e);
1653
1631
  return r || t;
1654
1632
  }
1655
- function zn(e) {
1633
+ function kn(e) {
1656
1634
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1657
1635
  var i = n[r];
1658
1636
  switch (i.stem) {
@@ -1676,7 +1654,7 @@ function zn(e) {
1676
1654
  continue;
1677
1655
  case "measure-unit":
1678
1656
  case "unit":
1679
- t.style = "unit", t.unit = Vn(i.options[0]);
1657
+ t.style = "unit", t.unit = Gn(i.options[0]);
1680
1658
  continue;
1681
1659
  case "compact-short":
1682
1660
  case "K":
@@ -1688,12 +1666,12 @@ function zn(e) {
1688
1666
  continue;
1689
1667
  case "scientific":
1690
1668
  t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1691
- return _(_({}, l), wt(u));
1669
+ return _(_({}, l), _t(u));
1692
1670
  }, {}));
1693
1671
  continue;
1694
1672
  case "engineering":
1695
1673
  t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1696
- return _(_({}, l), wt(u));
1674
+ return _(_({}, l), _t(u));
1697
1675
  }, {}));
1698
1676
  continue;
1699
1677
  case "notation-simple":
@@ -1738,45 +1716,45 @@ function zn(e) {
1738
1716
  case "integer-width":
1739
1717
  if (i.options.length > 1)
1740
1718
  throw new RangeError("integer-width stems only accept a single optional option");
1741
- i.options[0].replace(Xn, function(l, u, h, f, c, p) {
1719
+ i.options[0].replace(Fn, function(l, u, h, f, c, m) {
1742
1720
  if (u)
1743
1721
  t.minimumIntegerDigits = h.length;
1744
1722
  else {
1745
1723
  if (f && c)
1746
1724
  throw new Error("We currently do not support maximum integer digits");
1747
- if (p)
1725
+ if (m)
1748
1726
  throw new Error("We currently do not support exact integer digits");
1749
1727
  }
1750
1728
  return "";
1751
1729
  });
1752
1730
  continue;
1753
1731
  }
1754
- if (fr.test(i.stem)) {
1732
+ if (ar.test(i.stem)) {
1755
1733
  t.minimumIntegerDigits = i.stem.length;
1756
1734
  continue;
1757
1735
  }
1758
- if (xt.test(i.stem)) {
1736
+ if (gt.test(i.stem)) {
1759
1737
  if (i.options.length > 1)
1760
1738
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1761
- i.stem.replace(xt, function(l, u, h, f, c, p) {
1762
- return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && p ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1739
+ i.stem.replace(gt, function(l, u, h, f, c, m) {
1740
+ 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), "";
1763
1741
  });
1764
- var s = i.options[0];
1765
- s === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = _(_({}, t), St(s)));
1742
+ var o = i.options[0];
1743
+ o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), vt(o)));
1766
1744
  continue;
1767
1745
  }
1768
- if (cr.test(i.stem)) {
1769
- t = _(_({}, t), St(i.stem));
1746
+ if (sr.test(i.stem)) {
1747
+ t = _(_({}, t), vt(i.stem));
1770
1748
  continue;
1771
1749
  }
1772
- var a = dr(i.stem);
1750
+ var s = ur(i.stem);
1751
+ s && (t = _(_({}, t), s));
1752
+ var a = jn(i.stem);
1773
1753
  a && (t = _(_({}, t), a));
1774
- var o = Wn(i.stem);
1775
- o && (t = _(_({}, t), o));
1776
1754
  }
1777
1755
  return t;
1778
1756
  }
1779
- var me = {
1757
+ var pe = {
1780
1758
  "001": [
1781
1759
  "H",
1782
1760
  "h"
@@ -3191,23 +3169,23 @@ var me = {
3191
3169
  "h"
3192
3170
  ]
3193
3171
  };
3194
- function Zn(e, t) {
3172
+ function Vn(e, t) {
3195
3173
  for (var r = "", n = 0; n < e.length; n++) {
3196
3174
  var i = e.charAt(n);
3197
3175
  if (i === "j") {
3198
- for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3199
- s++, n++;
3200
- var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = Qn(t);
3201
- for ((u == "H" || u == "k") && (o = 0); o-- > 0; )
3176
+ for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3177
+ o++, n++;
3178
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Xn(t);
3179
+ for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
3202
3180
  r += l;
3203
- for (; a-- > 0; )
3181
+ for (; s-- > 0; )
3204
3182
  r = u + r;
3205
3183
  } else
3206
3184
  i === "J" ? r += "H" : r += i;
3207
3185
  }
3208
3186
  return r;
3209
3187
  }
3210
- function Qn(e) {
3188
+ function Xn(e) {
3211
3189
  var t = e.hourCycle;
3212
3190
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3213
3191
  e.hourCycles && // @ts-ignore
@@ -3226,23 +3204,23 @@ function Qn(e) {
3226
3204
  }
3227
3205
  var r = e.language, n;
3228
3206
  r !== "root" && (n = e.maximize().region);
3229
- var i = me[n || ""] || me[r || ""] || me["".concat(r, "-001")] || me["001"];
3207
+ var i = pe[n || ""] || pe[r || ""] || pe["".concat(r, "-001")] || pe["001"];
3230
3208
  return i[0];
3231
3209
  }
3232
- var Re, Jn = new RegExp("^".concat(hr.source, "*")), qn = new RegExp("".concat(hr.source, "*$"));
3210
+ var Ne, Wn = new RegExp("^".concat(or.source, "*")), zn = new RegExp("".concat(or.source, "*$"));
3233
3211
  function v(e, t) {
3234
3212
  return { start: e, end: t };
3235
3213
  }
3236
- var Yn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Kn = !!String.fromCodePoint, ei = !!Object.fromEntries, ti = !!String.prototype.codePointAt, ri = !!String.prototype.trimStart, ni = !!String.prototype.trimEnd, ii = !!Number.isSafeInteger, si = ii ? Number.isSafeInteger : function(e) {
3214
+ var Zn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Qn = !!String.fromCodePoint, Jn = !!Object.fromEntries, qn = !!String.prototype.codePointAt, Yn = !!String.prototype.trimStart, Kn = !!String.prototype.trimEnd, ei = !!Number.isSafeInteger, ti = ei ? Number.isSafeInteger : function(e) {
3237
3215
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3238
- }, Ze = !0;
3216
+ }, We = !0;
3239
3217
  try {
3240
- var oi = mr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3241
- Ze = ((Re = oi.exec("a")) === null || Re === void 0 ? void 0 : Re[0]) === "a";
3218
+ var ri = hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3219
+ We = ((Ne = ri.exec("a")) === null || Ne === void 0 ? void 0 : Ne[0]) === "a";
3242
3220
  } catch (e) {
3243
- Ze = !1;
3221
+ We = !1;
3244
3222
  }
3245
- var Tt = Yn ? (
3223
+ var Et = Zn ? (
3246
3224
  // Native
3247
3225
  function(t, r, n) {
3248
3226
  return t.startsWith(r, n);
@@ -3252,31 +3230,31 @@ var Tt = Yn ? (
3252
3230
  function(t, r, n) {
3253
3231
  return t.slice(n, n + r.length) === r;
3254
3232
  }
3255
- ), Qe = Kn ? String.fromCodePoint : (
3233
+ ), ze = Qn ? String.fromCodePoint : (
3256
3234
  // IE11
3257
3235
  function() {
3258
3236
  for (var t = [], r = 0; r < arguments.length; r++)
3259
3237
  t[r] = arguments[r];
3260
- for (var n = "", i = t.length, s = 0, a; i > s; ) {
3261
- if (a = t[s++], a > 1114111)
3262
- throw RangeError(a + " is not a valid code point");
3263
- n += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
3238
+ for (var n = "", i = t.length, o = 0, s; i > o; ) {
3239
+ if (s = t[o++], s > 1114111)
3240
+ throw RangeError(s + " is not a valid code point");
3241
+ n += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
3264
3242
  }
3265
3243
  return n;
3266
3244
  }
3267
- ), Ht = (
3245
+ ), xt = (
3268
3246
  // native
3269
- ei ? Object.fromEntries : (
3247
+ Jn ? Object.fromEntries : (
3270
3248
  // Ponyfill
3271
3249
  function(t) {
3272
3250
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
3273
- var s = i[n], a = s[0], o = s[1];
3274
- r[a] = o;
3251
+ var o = i[n], s = o[0], a = o[1];
3252
+ r[s] = a;
3275
3253
  }
3276
3254
  return r;
3277
3255
  }
3278
3256
  )
3279
- ), pr = ti ? (
3257
+ ), lr = qn ? (
3280
3258
  // Native
3281
3259
  function(t, r) {
3282
3260
  return t.codePointAt(r);
@@ -3286,11 +3264,11 @@ var Tt = Yn ? (
3286
3264
  function(t, r) {
3287
3265
  var n = t.length;
3288
3266
  if (!(r < 0 || r >= n)) {
3289
- var i = t.charCodeAt(r), s;
3290
- return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
3267
+ var i = t.charCodeAt(r), o;
3268
+ return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3291
3269
  }
3292
3270
  }
3293
- ), ai = ri ? (
3271
+ ), ni = Yn ? (
3294
3272
  // Native
3295
3273
  function(t) {
3296
3274
  return t.trimStart();
@@ -3298,9 +3276,9 @@ var Tt = Yn ? (
3298
3276
  ) : (
3299
3277
  // Ponyfill
3300
3278
  function(t) {
3301
- return t.replace(Jn, "");
3279
+ return t.replace(Wn, "");
3302
3280
  }
3303
- ), ui = ni ? (
3281
+ ), ii = Kn ? (
3304
3282
  // Native
3305
3283
  function(t) {
3306
3284
  return t.trimEnd();
@@ -3308,32 +3286,32 @@ var Tt = Yn ? (
3308
3286
  ) : (
3309
3287
  // Ponyfill
3310
3288
  function(t) {
3311
- return t.replace(qn, "");
3289
+ return t.replace(zn, "");
3312
3290
  }
3313
3291
  );
3314
- function mr(e, t) {
3292
+ function hr(e, t) {
3315
3293
  return new RegExp(e, t);
3316
3294
  }
3317
- var Je;
3318
- if (Ze) {
3319
- var Bt = mr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3320
- Je = function(t, r) {
3295
+ var Ze;
3296
+ if (We) {
3297
+ var St = hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3298
+ Ze = function(t, r) {
3321
3299
  var n;
3322
- Bt.lastIndex = r;
3323
- var i = Bt.exec(t);
3300
+ St.lastIndex = r;
3301
+ var i = St.exec(t);
3324
3302
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3325
3303
  };
3326
3304
  } else
3327
- Je = function(t, r) {
3305
+ Ze = function(t, r) {
3328
3306
  for (var n = []; ; ) {
3329
- var i = pr(t, r);
3330
- if (i === void 0 || br(i) || fi(i))
3307
+ var i = lr(t, r);
3308
+ if (i === void 0 || cr(i) || ui(i))
3331
3309
  break;
3332
3310
  n.push(i), r += i >= 65536 ? 2 : 1;
3333
3311
  }
3334
- return Qe.apply(void 0, n);
3312
+ return ze.apply(void 0, n);
3335
3313
  };
3336
- var li = (
3314
+ var oi = (
3337
3315
  /** @class */
3338
3316
  function() {
3339
3317
  function e(t, r) {
@@ -3345,35 +3323,35 @@ var li = (
3345
3323
  return this.parseMessage(0, "", !1);
3346
3324
  }, e.prototype.parseMessage = function(t, r, n) {
3347
3325
  for (var i = []; !this.isEOF(); ) {
3348
- var s = this.char();
3349
- if (s === 123) {
3350
- var a = this.parseArgument(t, n);
3351
- if (a.err)
3352
- return a;
3353
- i.push(a.val);
3326
+ var o = this.char();
3327
+ if (o === 123) {
3328
+ var s = this.parseArgument(t, n);
3329
+ if (s.err)
3330
+ return s;
3331
+ i.push(s.val);
3354
3332
  } else {
3355
- if (s === 125 && t > 0)
3333
+ if (o === 125 && t > 0)
3356
3334
  break;
3357
- if (s === 35 && (r === "plural" || r === "selectordinal")) {
3358
- var o = this.clonePosition();
3335
+ if (o === 35 && (r === "plural" || r === "selectordinal")) {
3336
+ var a = this.clonePosition();
3359
3337
  this.bump(), i.push({
3360
3338
  type: E.pound,
3361
- location: v(o, this.clonePosition())
3339
+ location: v(a, this.clonePosition())
3362
3340
  });
3363
- } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
3341
+ } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3364
3342
  if (n)
3365
3343
  break;
3366
3344
  return this.error(y.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
3367
- } else if (s === 60 && !this.ignoreTag && qe(this.peek() || 0)) {
3368
- var a = this.parseTag(t, r);
3369
- if (a.err)
3370
- return a;
3371
- i.push(a.val);
3345
+ } else if (o === 60 && !this.ignoreTag && Qe(this.peek() || 0)) {
3346
+ var s = this.parseTag(t, r);
3347
+ if (s.err)
3348
+ return s;
3349
+ i.push(s.val);
3372
3350
  } else {
3373
- var a = this.parseLiteral(t, r);
3374
- if (a.err)
3375
- return a;
3376
- i.push(a.val);
3351
+ var s = this.parseLiteral(t, r);
3352
+ if (s.err)
3353
+ return s;
3354
+ i.push(s.val);
3377
3355
  }
3378
3356
  }
3379
3357
  }
@@ -3392,49 +3370,49 @@ var li = (
3392
3370
  err: null
3393
3371
  };
3394
3372
  if (this.bumpIf(">")) {
3395
- var s = this.parseMessage(t + 1, r, !0);
3396
- if (s.err)
3397
- return s;
3398
- var a = s.val, o = this.clonePosition();
3373
+ var o = this.parseMessage(t + 1, r, !0);
3374
+ if (o.err)
3375
+ return o;
3376
+ var s = o.val, a = this.clonePosition();
3399
3377
  if (this.bumpIf("</")) {
3400
- if (this.isEOF() || !qe(this.char()))
3401
- return this.error(y.INVALID_TAG, v(o, this.clonePosition()));
3378
+ if (this.isEOF() || !Qe(this.char()))
3379
+ return this.error(y.INVALID_TAG, v(a, this.clonePosition()));
3402
3380
  var l = this.clonePosition(), u = this.parseTagName();
3403
3381
  return i !== u ? this.error(y.UNMATCHED_CLOSING_TAG, v(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3404
3382
  val: {
3405
3383
  type: E.tag,
3406
3384
  value: i,
3407
- children: a,
3385
+ children: s,
3408
3386
  location: v(n, this.clonePosition())
3409
3387
  },
3410
3388
  err: null
3411
- } : this.error(y.INVALID_TAG, v(o, this.clonePosition())));
3389
+ } : this.error(y.INVALID_TAG, v(a, this.clonePosition())));
3412
3390
  } else
3413
3391
  return this.error(y.UNCLOSED_TAG, v(n, this.clonePosition()));
3414
3392
  } else
3415
3393
  return this.error(y.INVALID_TAG, v(n, this.clonePosition()));
3416
3394
  }, e.prototype.parseTagName = function() {
3417
3395
  var t = this.offset();
3418
- for (this.bump(); !this.isEOF() && ci(this.char()); )
3396
+ for (this.bump(); !this.isEOF() && ai(this.char()); )
3419
3397
  this.bump();
3420
3398
  return this.message.slice(t, this.offset());
3421
3399
  }, e.prototype.parseLiteral = function(t, r) {
3422
3400
  for (var n = this.clonePosition(), i = ""; ; ) {
3423
- var s = this.tryParseQuote(r);
3401
+ var o = this.tryParseQuote(r);
3402
+ if (o) {
3403
+ i += o;
3404
+ continue;
3405
+ }
3406
+ var s = this.tryParseUnquoted(t, r);
3424
3407
  if (s) {
3425
3408
  i += s;
3426
3409
  continue;
3427
3410
  }
3428
- var a = this.tryParseUnquoted(t, r);
3411
+ var a = this.tryParseLeftAngleBracket();
3429
3412
  if (a) {
3430
3413
  i += a;
3431
3414
  continue;
3432
3415
  }
3433
- var o = this.tryParseLeftAngleBracket();
3434
- if (o) {
3435
- i += o;
3436
- continue;
3437
- }
3438
3416
  break;
3439
3417
  }
3440
3418
  var l = v(n, this.clonePosition());
@@ -3444,7 +3422,7 @@ var li = (
3444
3422
  };
3445
3423
  }, e.prototype.tryParseLeftAngleBracket = function() {
3446
3424
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3447
- !hi(this.peek() || 0)) ? (this.bump(), "<") : null;
3425
+ !si(this.peek() || 0)) ? (this.bump(), "<") : null;
3448
3426
  }, e.prototype.tryParseQuote = function(t) {
3449
3427
  if (this.isEOF() || this.char() !== 39)
3450
3428
  return null;
@@ -3478,12 +3456,12 @@ var li = (
3478
3456
  r.push(n);
3479
3457
  this.bump();
3480
3458
  }
3481
- return Qe.apply(void 0, r);
3459
+ return ze.apply(void 0, r);
3482
3460
  }, e.prototype.tryParseUnquoted = function(t, r) {
3483
3461
  if (this.isEOF())
3484
3462
  return null;
3485
3463
  var n = this.char();
3486
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Qe(n));
3464
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ze(n));
3487
3465
  }, e.prototype.parseArgument = function(t, r) {
3488
3466
  var n = this.clonePosition();
3489
3467
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3512,15 +3490,15 @@ var li = (
3512
3490
  return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3513
3491
  }
3514
3492
  }, e.prototype.parseIdentifierIfPossible = function() {
3515
- var t = this.clonePosition(), r = this.offset(), n = Je(this.message, r), i = r + n.length;
3493
+ var t = this.clonePosition(), r = this.offset(), n = Ze(this.message, r), i = r + n.length;
3516
3494
  this.bumpTo(i);
3517
- var s = this.clonePosition(), a = v(t, s);
3518
- return { value: n, location: a };
3495
+ var o = this.clonePosition(), s = v(t, o);
3496
+ return { value: n, location: s };
3519
3497
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3520
- var s, a = this.clonePosition(), o = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3521
- switch (o) {
3498
+ var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3499
+ switch (a) {
3522
3500
  case "":
3523
- return this.error(y.EXPECT_ARGUMENT_TYPE, v(a, l));
3501
+ return this.error(y.EXPECT_ARGUMENT_TYPE, v(s, l));
3524
3502
  case "number":
3525
3503
  case "date":
3526
3504
  case "time": {
@@ -3531,19 +3509,19 @@ var li = (
3531
3509
  var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3532
3510
  if (f.err)
3533
3511
  return f;
3534
- var c = ui(f.val);
3512
+ var c = ii(f.val);
3535
3513
  if (c.length === 0)
3536
3514
  return this.error(y.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
3537
- var p = v(h, this.clonePosition());
3538
- u = { style: c, styleLocation: p };
3515
+ var m = v(h, this.clonePosition());
3516
+ u = { style: c, styleLocation: m };
3539
3517
  }
3540
3518
  var b = this.tryParseArgumentClose(i);
3541
3519
  if (b.err)
3542
3520
  return b;
3543
3521
  var g = v(i, this.clonePosition());
3544
- if (u && Tt(u == null ? void 0 : u.style, "::", 0)) {
3545
- var S = ai(u.style.slice(2));
3546
- if (o === "number") {
3522
+ if (u && Et(u == null ? void 0 : u.style, "::", 0)) {
3523
+ var S = ni(u.style.slice(2));
3524
+ if (a === "number") {
3547
3525
  var f = this.parseNumberSkeletonFromString(S, u.styleLocation);
3548
3526
  return f.err ? f : {
3549
3527
  val: { type: E.number, value: n, location: g, style: f.val },
@@ -3553,13 +3531,13 @@ var li = (
3553
3531
  if (S.length === 0)
3554
3532
  return this.error(y.EXPECT_DATE_TIME_SKELETON, g);
3555
3533
  var I = S;
3556
- this.locale && (I = Zn(S, this.locale));
3534
+ this.locale && (I = Vn(S, this.locale));
3557
3535
  var c = {
3558
- type: te.dateTime,
3536
+ type: ee.dateTime,
3559
3537
  pattern: I,
3560
3538
  location: u.styleLocation,
3561
- parsedOptions: this.shouldParseSkeletons ? Fn(I) : {}
3562
- }, P = o === "date" ? E.date : E.time;
3539
+ parsedOptions: this.shouldParseSkeletons ? $n(I) : {}
3540
+ }, P = a === "date" ? E.date : E.time;
3563
3541
  return {
3564
3542
  val: { type: P, value: n, location: g, style: c },
3565
3543
  err: null
@@ -3568,10 +3546,10 @@ var li = (
3568
3546
  }
3569
3547
  return {
3570
3548
  val: {
3571
- type: o === "number" ? E.number : o === "date" ? E.date : E.time,
3549
+ type: a === "number" ? E.number : a === "date" ? E.date : E.time,
3572
3550
  value: n,
3573
3551
  location: g,
3574
- style: (s = u == null ? void 0 : u.style) !== null && s !== void 0 ? s : null
3552
+ style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
3575
3553
  },
3576
3554
  err: null
3577
3555
  };
@@ -3583,28 +3561,28 @@ var li = (
3583
3561
  if (this.bumpSpace(), !this.bumpIf(","))
3584
3562
  return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(w, _({}, w)));
3585
3563
  this.bumpSpace();
3586
- var M = this.parseIdentifierIfPossible(), C = 0;
3587
- if (o !== "select" && M.value === "offset") {
3564
+ var N = this.parseIdentifierIfPossible(), C = 0;
3565
+ if (a !== "select" && N.value === "offset") {
3588
3566
  if (!this.bumpIf(":"))
3589
3567
  return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
3590
3568
  this.bumpSpace();
3591
3569
  var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3592
3570
  if (f.err)
3593
3571
  return f;
3594
- this.bumpSpace(), M = this.parseIdentifierIfPossible(), C = f.val;
3572
+ this.bumpSpace(), N = this.parseIdentifierIfPossible(), C = f.val;
3595
3573
  }
3596
- var N = this.tryParsePluralOrSelectOptions(t, o, r, M);
3597
- if (N.err)
3598
- return N;
3574
+ var M = this.tryParsePluralOrSelectOptions(t, a, r, N);
3575
+ if (M.err)
3576
+ return M;
3599
3577
  var b = this.tryParseArgumentClose(i);
3600
3578
  if (b.err)
3601
3579
  return b;
3602
3580
  var x = v(i, this.clonePosition());
3603
- return o === "select" ? {
3581
+ return a === "select" ? {
3604
3582
  val: {
3605
3583
  type: E.select,
3606
3584
  value: n,
3607
- options: Ht(N.val),
3585
+ options: xt(M.val),
3608
3586
  location: x
3609
3587
  },
3610
3588
  err: null
@@ -3612,16 +3590,16 @@ var li = (
3612
3590
  val: {
3613
3591
  type: E.plural,
3614
3592
  value: n,
3615
- options: Ht(N.val),
3593
+ options: xt(M.val),
3616
3594
  offset: C,
3617
- pluralType: o === "plural" ? "cardinal" : "ordinal",
3595
+ pluralType: a === "plural" ? "cardinal" : "ordinal",
3618
3596
  location: x
3619
3597
  },
3620
3598
  err: null
3621
3599
  };
3622
3600
  }
3623
3601
  default:
3624
- return this.error(y.INVALID_ARGUMENT_TYPE, v(a, l));
3602
+ return this.error(y.INVALID_ARGUMENT_TYPE, v(s, l));
3625
3603
  }
3626
3604
  }, e.prototype.tryParseArgumentClose = function(t) {
3627
3605
  return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
@@ -3663,21 +3641,21 @@ var li = (
3663
3641
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3664
3642
  var n = [];
3665
3643
  try {
3666
- n = kn(t);
3644
+ n = Un(t);
3667
3645
  } catch (i) {
3668
3646
  return this.error(y.INVALID_NUMBER_SKELETON, r);
3669
3647
  }
3670
3648
  return {
3671
3649
  val: {
3672
- type: te.number,
3650
+ type: ee.number,
3673
3651
  tokens: n,
3674
3652
  location: r,
3675
- parsedOptions: this.shouldParseSkeletons ? zn(n) : {}
3653
+ parsedOptions: this.shouldParseSkeletons ? kn(n) : {}
3676
3654
  },
3677
3655
  err: null
3678
3656
  };
3679
3657
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3680
- for (var s, a = !1, o = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
3658
+ for (var o, s = !1, a = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
3681
3659
  if (u.length === 0) {
3682
3660
  var f = this.clonePosition();
3683
3661
  if (r !== "select" && this.bumpIf("=")) {
@@ -3690,37 +3668,37 @@ var li = (
3690
3668
  }
3691
3669
  if (l.has(u))
3692
3670
  return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3693
- u === "other" && (a = !0), this.bumpSpace();
3694
- var p = this.clonePosition();
3671
+ u === "other" && (s = !0), this.bumpSpace();
3672
+ var m = this.clonePosition();
3695
3673
  if (!this.bumpIf("{"))
3696
3674
  return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
3697
3675
  var b = this.parseMessage(t + 1, r, n);
3698
3676
  if (b.err)
3699
3677
  return b;
3700
- var g = this.tryParseArgumentClose(p);
3678
+ var g = this.tryParseArgumentClose(m);
3701
3679
  if (g.err)
3702
3680
  return g;
3703
- o.push([
3681
+ a.push([
3704
3682
  u,
3705
3683
  {
3706
3684
  value: b.val,
3707
- location: v(p, this.clonePosition())
3685
+ location: v(m, this.clonePosition())
3708
3686
  }
3709
- ]), l.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, h = s.location;
3687
+ ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
3710
3688
  }
3711
- return o.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: o, err: null };
3689
+ return a.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(y.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3712
3690
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3713
3691
  var n = 1, i = this.clonePosition();
3714
3692
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3715
- for (var s = !1, a = 0; !this.isEOF(); ) {
3716
- var o = this.char();
3717
- if (o >= 48 && o <= 57)
3718
- s = !0, a = a * 10 + (o - 48), this.bump();
3693
+ for (var o = !1, s = 0; !this.isEOF(); ) {
3694
+ var a = this.char();
3695
+ if (a >= 48 && a <= 57)
3696
+ o = !0, s = s * 10 + (a - 48), this.bump();
3719
3697
  else
3720
3698
  break;
3721
3699
  }
3722
3700
  var l = v(i, this.clonePosition());
3723
- return s ? (a *= n, si(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3701
+ return o ? (s *= n, ti(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3724
3702
  }, e.prototype.offset = function() {
3725
3703
  return this.position.offset;
3726
3704
  }, e.prototype.isEOF = function() {
@@ -3735,7 +3713,7 @@ var li = (
3735
3713
  var t = this.position.offset;
3736
3714
  if (t >= this.message.length)
3737
3715
  throw Error("out of bound");
3738
- var r = pr(this.message, t);
3716
+ var r = lr(this.message, t);
3739
3717
  if (r === void 0)
3740
3718
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3741
3719
  return r;
@@ -3754,7 +3732,7 @@ var li = (
3754
3732
  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);
3755
3733
  }
3756
3734
  }, e.prototype.bumpIf = function(t) {
3757
- if (Tt(this.message, t, this.offset())) {
3735
+ if (Et(this.message, t, this.offset())) {
3758
3736
  for (var r = 0; r < t.length; r++)
3759
3737
  this.bump();
3760
3738
  return !0;
@@ -3776,7 +3754,7 @@ var li = (
3776
3754
  break;
3777
3755
  }
3778
3756
  }, e.prototype.bumpSpace = function() {
3779
- for (; !this.isEOF() && br(this.char()); )
3757
+ for (; !this.isEOF() && cr(this.char()); )
3780
3758
  this.bump();
3781
3759
  }, e.prototype.peek = function() {
3782
3760
  if (this.isEOF())
@@ -3786,204 +3764,204 @@ var li = (
3786
3764
  }, e;
3787
3765
  }()
3788
3766
  );
3789
- function qe(e) {
3767
+ function Qe(e) {
3790
3768
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3791
3769
  }
3792
- function hi(e) {
3793
- return qe(e) || e === 47;
3770
+ function si(e) {
3771
+ return Qe(e) || e === 47;
3794
3772
  }
3795
- function ci(e) {
3773
+ function ai(e) {
3796
3774
  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;
3797
3775
  }
3798
- function br(e) {
3776
+ function cr(e) {
3799
3777
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3800
3778
  }
3801
- function fi(e) {
3779
+ function ui(e) {
3802
3780
  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;
3803
3781
  }
3804
- function Ye(e) {
3782
+ function Je(e) {
3805
3783
  e.forEach(function(t) {
3806
- if (delete t.location, or(t) || ar(t))
3784
+ if (delete t.location, tr(t) || rr(t))
3807
3785
  for (var r in t.options)
3808
- delete t.options[r].location, Ye(t.options[r].value);
3786
+ delete t.options[r].location, Je(t.options[r].value);
3809
3787
  else
3810
- nr(t) && lr(t.style) || (ir(t) || sr(t)) && ze(t.style) ? delete t.style.location : ur(t) && Ye(t.children);
3788
+ Yt(t) && ir(t.style) || (Kt(t) || er(t)) && Xe(t.style) ? delete t.style.location : nr(t) && Je(t.children);
3811
3789
  });
3812
3790
  }
3813
- function di(e, t) {
3791
+ function li(e, t) {
3814
3792
  t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3815
- var r = new li(e, t).parse();
3793
+ var r = new oi(e, t).parse();
3816
3794
  if (r.err) {
3817
3795
  var n = SyntaxError(y[r.err.kind]);
3818
3796
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3819
3797
  }
3820
- return t != null && t.captureLocation || Ye(r.val), r.val;
3798
+ return t != null && t.captureLocation || Je(r.val), r.val;
3821
3799
  }
3822
- var re;
3800
+ var te;
3823
3801
  (function(e) {
3824
3802
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3825
- })(re || (re = {}));
3826
- var Be = (
3803
+ })(te || (te = {}));
3804
+ var He = (
3827
3805
  /** @class */
3828
3806
  function(e) {
3829
3807
  G(t, e);
3830
3808
  function t(r, n, i) {
3831
- var s = e.call(this, r) || this;
3832
- return s.code = n, s.originalMessage = i, s;
3809
+ var o = e.call(this, r) || this;
3810
+ return o.code = n, o.originalMessage = i, o;
3833
3811
  }
3834
3812
  return t.prototype.toString = function() {
3835
3813
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3836
3814
  }, t;
3837
3815
  }(Error)
3838
- ), Pt = (
3816
+ ), wt = (
3839
3817
  /** @class */
3840
3818
  function(e) {
3841
3819
  G(t, e);
3842
- function t(r, n, i, s) {
3843
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), re.INVALID_VALUE, s) || this;
3820
+ function t(r, n, i, o) {
3821
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), te.INVALID_VALUE, o) || this;
3844
3822
  }
3845
3823
  return t;
3846
- }(Be)
3847
- ), pi = (
3824
+ }(He)
3825
+ ), hi = (
3848
3826
  /** @class */
3849
3827
  function(e) {
3850
3828
  G(t, e);
3851
3829
  function t(r, n, i) {
3852
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), re.INVALID_VALUE, i) || this;
3830
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), te.INVALID_VALUE, i) || this;
3853
3831
  }
3854
3832
  return t;
3855
- }(Be)
3856
- ), mi = (
3833
+ }(He)
3834
+ ), ci = (
3857
3835
  /** @class */
3858
3836
  function(e) {
3859
3837
  G(t, e);
3860
3838
  function t(r, n) {
3861
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), re.MISSING_VALUE, n) || this;
3839
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), te.MISSING_VALUE, n) || this;
3862
3840
  }
3863
3841
  return t;
3864
- }(Be)
3842
+ }(He)
3865
3843
  ), H;
3866
3844
  (function(e) {
3867
3845
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3868
3846
  })(H || (H = {}));
3869
- function bi(e) {
3847
+ function fi(e) {
3870
3848
  return e.length < 2 ? e : e.reduce(function(t, r) {
3871
3849
  var n = t[t.length - 1];
3872
3850
  return !n || n.type !== H.literal || r.type !== H.literal ? t.push(r) : n.value += r.value, t;
3873
3851
  }, []);
3874
3852
  }
3875
- function yi(e) {
3853
+ function di(e) {
3876
3854
  return typeof e == "function";
3877
3855
  }
3878
- function ve(e, t, r, n, i, s, a) {
3879
- if (e.length === 1 && Et(e[0]))
3856
+ function ge(e, t, r, n, i, o, s) {
3857
+ if (e.length === 1 && yt(e[0]))
3880
3858
  return [
3881
3859
  {
3882
3860
  type: H.literal,
3883
3861
  value: e[0].value
3884
3862
  }
3885
3863
  ];
3886
- for (var o = [], l = 0, u = e; l < u.length; l++) {
3864
+ for (var a = [], l = 0, u = e; l < u.length; l++) {
3887
3865
  var h = u[l];
3888
- if (Et(h)) {
3889
- o.push({
3866
+ if (yt(h)) {
3867
+ a.push({
3890
3868
  type: H.literal,
3891
3869
  value: h.value
3892
3870
  });
3893
3871
  continue;
3894
3872
  }
3895
- if (Un(h)) {
3896
- typeof s == "number" && o.push({
3873
+ if (Mn(h)) {
3874
+ typeof o == "number" && a.push({
3897
3875
  type: H.literal,
3898
- value: r.getNumberFormat(t).format(s)
3876
+ value: r.getNumberFormat(t).format(o)
3899
3877
  });
3900
3878
  continue;
3901
3879
  }
3902
3880
  var f = h.value;
3903
3881
  if (!(i && f in i))
3904
- throw new mi(f, a);
3882
+ throw new ci(f, s);
3905
3883
  var c = i[f];
3906
- if (Dn(h)) {
3907
- (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), o.push({
3884
+ if (Nn(h)) {
3885
+ (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3908
3886
  type: typeof c == "string" ? H.literal : H.object,
3909
3887
  value: c
3910
3888
  });
3911
3889
  continue;
3912
3890
  }
3913
- if (ir(h)) {
3914
- var p = typeof h.style == "string" ? n.date[h.style] : ze(h.style) ? h.style.parsedOptions : void 0;
3915
- o.push({
3891
+ if (Kt(h)) {
3892
+ var m = typeof h.style == "string" ? n.date[h.style] : Xe(h.style) ? h.style.parsedOptions : void 0;
3893
+ a.push({
3916
3894
  type: H.literal,
3917
- value: r.getDateTimeFormat(t, p).format(c)
3895
+ value: r.getDateTimeFormat(t, m).format(c)
3918
3896
  });
3919
3897
  continue;
3920
3898
  }
3921
- if (sr(h)) {
3922
- var p = typeof h.style == "string" ? n.time[h.style] : ze(h.style) ? h.style.parsedOptions : n.time.medium;
3923
- o.push({
3899
+ if (er(h)) {
3900
+ var m = typeof h.style == "string" ? n.time[h.style] : Xe(h.style) ? h.style.parsedOptions : n.time.medium;
3901
+ a.push({
3924
3902
  type: H.literal,
3925
- value: r.getDateTimeFormat(t, p).format(c)
3903
+ value: r.getDateTimeFormat(t, m).format(c)
3926
3904
  });
3927
3905
  continue;
3928
3906
  }
3929
- if (nr(h)) {
3930
- var p = typeof h.style == "string" ? n.number[h.style] : lr(h.style) ? h.style.parsedOptions : void 0;
3931
- p && p.scale && (c = c * (p.scale || 1)), o.push({
3907
+ if (Yt(h)) {
3908
+ var m = typeof h.style == "string" ? n.number[h.style] : ir(h.style) ? h.style.parsedOptions : void 0;
3909
+ m && m.scale && (c = c * (m.scale || 1)), a.push({
3932
3910
  type: H.literal,
3933
- value: r.getNumberFormat(t, p).format(c)
3911
+ value: r.getNumberFormat(t, m).format(c)
3934
3912
  });
3935
3913
  continue;
3936
3914
  }
3937
- if (ur(h)) {
3915
+ if (nr(h)) {
3938
3916
  var b = h.children, g = h.value, S = i[g];
3939
- if (!yi(S))
3940
- throw new pi(g, "function", a);
3941
- var I = ve(b, t, r, n, i, s), P = S(I.map(function(C) {
3917
+ if (!di(S))
3918
+ throw new hi(g, "function", s);
3919
+ var I = ge(b, t, r, n, i, o), P = S(I.map(function(C) {
3942
3920
  return C.value;
3943
3921
  }));
3944
- Array.isArray(P) || (P = [P]), o.push.apply(o, P.map(function(C) {
3922
+ Array.isArray(P) || (P = [P]), a.push.apply(a, P.map(function(C) {
3945
3923
  return {
3946
3924
  type: typeof C == "string" ? H.literal : H.object,
3947
3925
  value: C
3948
3926
  };
3949
3927
  }));
3950
3928
  }
3951
- if (or(h)) {
3929
+ if (tr(h)) {
3952
3930
  var w = h.options[c] || h.options.other;
3953
3931
  if (!w)
3954
- throw new Pt(h.value, c, Object.keys(h.options), a);
3955
- o.push.apply(o, ve(w.value, t, r, n, i));
3932
+ throw new wt(h.value, c, Object.keys(h.options), s);
3933
+ a.push.apply(a, ge(w.value, t, r, n, i));
3956
3934
  continue;
3957
3935
  }
3958
- if (ar(h)) {
3936
+ if (rr(h)) {
3959
3937
  var w = h.options["=".concat(c)];
3960
3938
  if (!w) {
3961
3939
  if (!Intl.PluralRules)
3962
- throw new Be(`Intl.PluralRules is not available in this environment.
3940
+ throw new He(`Intl.PluralRules is not available in this environment.
3963
3941
  Try polyfilling it using "@formatjs/intl-pluralrules"
3964
- `, re.MISSING_INTL_API, a);
3965
- var M = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3966
- w = h.options[M] || h.options.other;
3942
+ `, te.MISSING_INTL_API, s);
3943
+ var N = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3944
+ w = h.options[N] || h.options.other;
3967
3945
  }
3968
3946
  if (!w)
3969
- throw new Pt(h.value, c, Object.keys(h.options), a);
3970
- o.push.apply(o, ve(w.value, t, r, n, i, c - (h.offset || 0)));
3947
+ throw new wt(h.value, c, Object.keys(h.options), s);
3948
+ a.push.apply(a, ge(w.value, t, r, n, i, c - (h.offset || 0)));
3971
3949
  continue;
3972
3950
  }
3973
3951
  }
3974
- return bi(o);
3952
+ return fi(a);
3975
3953
  }
3976
- function gi(e, t) {
3954
+ function pi(e, t) {
3977
3955
  return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3978
3956
  return r[n] = _(_({}, e[n]), t[n] || {}), r;
3979
3957
  }, {})) : e;
3980
3958
  }
3981
- function vi(e, t) {
3959
+ function mi(e, t) {
3982
3960
  return t ? Object.keys(e).reduce(function(r, n) {
3983
- return r[n] = gi(e[n], t[n]), r;
3961
+ return r[n] = pi(e[n], t[n]), r;
3984
3962
  }, _({}, e)) : e;
3985
3963
  }
3986
- function $e(e) {
3964
+ function Me(e) {
3987
3965
  return {
3988
3966
  create: function() {
3989
3967
  return {
@@ -3997,50 +3975,50 @@ function $e(e) {
3997
3975
  }
3998
3976
  };
3999
3977
  }
4000
- function _i(e) {
3978
+ function bi(e) {
4001
3979
  return e === void 0 && (e = {
4002
3980
  number: {},
4003
3981
  dateTime: {},
4004
3982
  pluralRules: {}
4005
3983
  }), {
4006
- getNumberFormat: Me(function() {
3984
+ getNumberFormat: Ce(function() {
4007
3985
  for (var t, r = [], n = 0; n < arguments.length; n++)
4008
3986
  r[n] = arguments[n];
4009
- return new ((t = Intl.NumberFormat).bind.apply(t, K([void 0], r, !1)))();
3987
+ return new ((t = Intl.NumberFormat).bind.apply(t, Y([void 0], r, !1)))();
4010
3988
  }, {
4011
- cache: $e(e.number),
4012
- strategy: Ne.variadic
3989
+ cache: Me(e.number),
3990
+ strategy: Le.variadic
4013
3991
  }),
4014
- getDateTimeFormat: Me(function() {
3992
+ getDateTimeFormat: Ce(function() {
4015
3993
  for (var t, r = [], n = 0; n < arguments.length; n++)
4016
3994
  r[n] = arguments[n];
4017
- return new ((t = Intl.DateTimeFormat).bind.apply(t, K([void 0], r, !1)))();
3995
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Y([void 0], r, !1)))();
4018
3996
  }, {
4019
- cache: $e(e.dateTime),
4020
- strategy: Ne.variadic
3997
+ cache: Me(e.dateTime),
3998
+ strategy: Le.variadic
4021
3999
  }),
4022
- getPluralRules: Me(function() {
4000
+ getPluralRules: Ce(function() {
4023
4001
  for (var t, r = [], n = 0; n < arguments.length; n++)
4024
4002
  r[n] = arguments[n];
4025
- return new ((t = Intl.PluralRules).bind.apply(t, K([void 0], r, !1)))();
4003
+ return new ((t = Intl.PluralRules).bind.apply(t, Y([void 0], r, !1)))();
4026
4004
  }, {
4027
- cache: $e(e.pluralRules),
4028
- strategy: Ne.variadic
4005
+ cache: Me(e.pluralRules),
4006
+ strategy: Le.variadic
4029
4007
  })
4030
4008
  };
4031
4009
  }
4032
- var Ei = (
4010
+ var yi = (
4033
4011
  /** @class */
4034
4012
  function() {
4035
4013
  function e(t, r, n, i) {
4036
4014
  r === void 0 && (r = e.defaultLocale);
4037
- var s = this;
4015
+ var o = this;
4038
4016
  if (this.formatterCache = {
4039
4017
  number: {},
4040
4018
  dateTime: {},
4041
4019
  pluralRules: {}
4042
4020
  }, this.format = function(l) {
4043
- var u = s.formatToParts(l);
4021
+ var u = o.formatToParts(l);
4044
4022
  if (u.length === 1)
4045
4023
  return u[0].value;
4046
4024
  var h = u.reduce(function(f, c) {
@@ -4048,26 +4026,26 @@ var Ei = (
4048
4026
  }, []);
4049
4027
  return h.length <= 1 ? h[0] || "" : h;
4050
4028
  }, this.formatToParts = function(l) {
4051
- return ve(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
4029
+ return ge(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
4052
4030
  }, this.resolvedOptions = function() {
4053
4031
  var l;
4054
4032
  return {
4055
- locale: ((l = s.resolvedLocale) === null || l === void 0 ? void 0 : l.toString()) || Intl.NumberFormat.supportedLocalesOf(s.locales)[0]
4033
+ locale: ((l = o.resolvedLocale) === null || l === void 0 ? void 0 : l.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
4056
4034
  };
4057
4035
  }, this.getAst = function() {
4058
- return s.ast;
4036
+ return o.ast;
4059
4037
  }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
4060
4038
  if (this.message = t, !e.__parse)
4061
4039
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
4062
- var a = i || {};
4063
- a.formatters;
4064
- var o = Kr(a, ["formatters"]);
4065
- this.ast = e.__parse(t, _(_({}, o), { locale: this.resolvedLocale }));
4040
+ var s = i || {};
4041
+ s.formatters;
4042
+ var a = Zr(s, ["formatters"]);
4043
+ this.ast = e.__parse(t, _(_({}, a), { locale: this.resolvedLocale }));
4066
4044
  } else
4067
4045
  this.ast = t;
4068
4046
  if (!Array.isArray(this.ast))
4069
4047
  throw new TypeError("A message must be provided as a String or AST.");
4070
- this.formats = vi(e.formats, n), this.formatters = i && i.formatters || _i(this.formatterCache);
4048
+ this.formats = mi(e.formats, n), this.formatters = i && i.formatters || bi(this.formatterCache);
4071
4049
  }
4072
4050
  return Object.defineProperty(e, "defaultLocale", {
4073
4051
  get: function() {
@@ -4080,7 +4058,7 @@ var Ei = (
4080
4058
  var r = Intl.NumberFormat.supportedLocalesOf(t);
4081
4059
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
4082
4060
  }
4083
- }, e.__parse = di, e.formats = {
4061
+ }, e.__parse = li, e.formats = {
4084
4062
  number: {
4085
4063
  integer: {
4086
4064
  maximumFractionDigits: 0
@@ -4141,7 +4119,7 @@ var Ei = (
4141
4119
  }, e;
4142
4120
  }()
4143
4121
  );
4144
- function xi(e, t) {
4122
+ function gi(e, t) {
4145
4123
  if (t == null)
4146
4124
  return;
4147
4125
  if (t in e)
@@ -4151,9 +4129,9 @@ function xi(e, t) {
4151
4129
  for (let i = 0; i < r.length; i++)
4152
4130
  if (typeof n == "object") {
4153
4131
  if (i > 0) {
4154
- const s = r.slice(i, r.length).join(".");
4155
- if (s in n) {
4156
- n = n[s];
4132
+ const o = r.slice(i, r.length).join(".");
4133
+ if (o in n) {
4134
+ n = n[o];
4157
4135
  break;
4158
4136
  }
4159
4137
  }
@@ -4162,92 +4140,92 @@ function xi(e, t) {
4162
4140
  n = void 0;
4163
4141
  return n;
4164
4142
  }
4165
- const j = {}, Si = (e, t, r) => r && (t in j || (j[t] = {}), e in j[t] || (j[t][e] = r), r), yr = (e, t) => {
4143
+ const j = {}, vi = (e, t, r) => r && (t in j || (j[t] = {}), e in j[t] || (j[t][e] = r), r), fr = (e, t) => {
4166
4144
  if (t == null)
4167
4145
  return;
4168
4146
  if (t in j && e in j[t])
4169
4147
  return j[t][e];
4170
- const r = Pe(t);
4148
+ const r = Be(t);
4171
4149
  for (let n = 0; n < r.length; n++) {
4172
- const i = r[n], s = Ti(i, e);
4173
- if (s)
4174
- return Si(e, t, s);
4150
+ const i = r[n], o = Ei(i, e);
4151
+ if (o)
4152
+ return vi(e, t, o);
4175
4153
  }
4176
4154
  };
4177
- let it;
4178
- const fe = He({});
4179
- function wi(e) {
4180
- return it[e] || null;
4155
+ let et;
4156
+ const ce = Te({});
4157
+ function _i(e) {
4158
+ return et[e] || null;
4181
4159
  }
4182
- function gr(e) {
4183
- return e in it;
4160
+ function dr(e) {
4161
+ return e in et;
4184
4162
  }
4185
- function Ti(e, t) {
4186
- if (!gr(e))
4163
+ function Ei(e, t) {
4164
+ if (!dr(e))
4187
4165
  return null;
4188
- const r = wi(e);
4189
- return xi(r, t);
4166
+ const r = _i(e);
4167
+ return gi(r, t);
4190
4168
  }
4191
- function Hi(e) {
4169
+ function xi(e) {
4192
4170
  if (e == null)
4193
4171
  return;
4194
- const t = Pe(e);
4172
+ const t = Be(e);
4195
4173
  for (let r = 0; r < t.length; r++) {
4196
4174
  const n = t[r];
4197
- if (gr(n))
4175
+ if (dr(n))
4198
4176
  return n;
4199
4177
  }
4200
4178
  }
4201
- function vr(e, ...t) {
4202
- delete j[e], fe.update((r) => (r[e] = In.all([r[e] || {}, ...t]), r));
4179
+ function pr(e, ...t) {
4180
+ delete j[e], ce.update((r) => (r[e] = Hn.all([r[e] || {}, ...t]), r));
4203
4181
  }
4204
- ie(
4205
- [fe],
4182
+ ne(
4183
+ [ce],
4206
4184
  ([e]) => Object.keys(e)
4207
4185
  );
4208
- fe.subscribe((e) => it = e);
4209
- const _e = {};
4210
- function Bi(e, t) {
4211
- _e[e].delete(t), _e[e].size === 0 && delete _e[e];
4186
+ ce.subscribe((e) => et = e);
4187
+ const ve = {};
4188
+ function Si(e, t) {
4189
+ ve[e].delete(t), ve[e].size === 0 && delete ve[e];
4212
4190
  }
4213
- function _r(e) {
4214
- return _e[e];
4191
+ function mr(e) {
4192
+ return ve[e];
4215
4193
  }
4216
- function Pi(e) {
4217
- return Pe(e).map((t) => {
4218
- const r = _r(t);
4194
+ function wi(e) {
4195
+ return Be(e).map((t) => {
4196
+ const r = mr(t);
4219
4197
  return [t, r ? [...r] : []];
4220
4198
  }).filter(([, t]) => t.length > 0);
4221
4199
  }
4222
- function Ke(e) {
4223
- return e == null ? !1 : Pe(e).some(
4200
+ function qe(e) {
4201
+ return e == null ? !1 : Be(e).some(
4224
4202
  (t) => {
4225
4203
  var r;
4226
- return (r = _r(t)) == null ? void 0 : r.size;
4204
+ return (r = mr(t)) == null ? void 0 : r.size;
4227
4205
  }
4228
4206
  );
4229
4207
  }
4230
- function Ai(e, t) {
4208
+ function Ti(e, t) {
4231
4209
  return Promise.all(
4232
- t.map((n) => (Bi(e, n), n().then((i) => i.default || i)))
4233
- ).then((n) => vr(e, ...n));
4234
- }
4235
- const ae = {};
4236
- function Er(e) {
4237
- if (!Ke(e))
4238
- return e in ae ? ae[e] : Promise.resolve();
4239
- const t = Pi(e);
4240
- return ae[e] = Promise.all(
4210
+ t.map((n) => (Si(e, n), n().then((i) => i.default || i)))
4211
+ ).then((n) => pr(e, ...n));
4212
+ }
4213
+ const se = {};
4214
+ function br(e) {
4215
+ if (!qe(e))
4216
+ return e in se ? se[e] : Promise.resolve();
4217
+ const t = wi(e);
4218
+ return se[e] = Promise.all(
4241
4219
  t.map(
4242
- ([r, n]) => Ai(r, n)
4220
+ ([r, n]) => Ti(r, n)
4243
4221
  )
4244
4222
  ).then(() => {
4245
- if (Ke(e))
4246
- return Er(e);
4247
- delete ae[e];
4248
- }), ae[e];
4223
+ if (qe(e))
4224
+ return br(e);
4225
+ delete se[e];
4226
+ }), se[e];
4249
4227
  }
4250
- const Oi = {
4228
+ const Hi = {
4251
4229
  number: {
4252
4230
  scientific: { notation: "scientific" },
4253
4231
  engineering: { notation: "engineering" },
@@ -4276,159 +4254,159 @@ const Oi = {
4276
4254
  timeZoneName: "short"
4277
4255
  }
4278
4256
  }
4279
- }, Ii = {
4257
+ }, Bi = {
4280
4258
  fallbackLocale: null,
4281
4259
  loadingDelay: 200,
4282
- formats: Oi,
4260
+ formats: Hi,
4283
4261
  warnOnMissingMessages: !0,
4284
4262
  handleMissingMessage: void 0,
4285
4263
  ignoreTag: !0
4286
- }, Ci = Ii;
4287
- function ne() {
4288
- return Ci;
4264
+ }, Pi = Bi;
4265
+ function re() {
4266
+ return Pi;
4289
4267
  }
4290
- const De = He(!1);
4291
- var Li = Object.defineProperty, Mi = Object.defineProperties, Ni = Object.getOwnPropertyDescriptors, At = Object.getOwnPropertySymbols, Ri = Object.prototype.hasOwnProperty, $i = Object.prototype.propertyIsEnumerable, Ot = (e, t, r) => t in e ? Li(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Di = (e, t) => {
4268
+ const Re = Te(!1);
4269
+ var Ai = Object.defineProperty, Oi = Object.defineProperties, Ii = Object.getOwnPropertyDescriptors, Tt = Object.getOwnPropertySymbols, Ci = Object.prototype.hasOwnProperty, Li = Object.prototype.propertyIsEnumerable, Ht = (e, t, r) => t in e ? Ai(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ni = (e, t) => {
4292
4270
  for (var r in t || (t = {}))
4293
- Ri.call(t, r) && Ot(e, r, t[r]);
4294
- if (At)
4295
- for (var r of At(t))
4296
- $i.call(t, r) && Ot(e, r, t[r]);
4271
+ Ci.call(t, r) && Ht(e, r, t[r]);
4272
+ if (Tt)
4273
+ for (var r of Tt(t))
4274
+ Li.call(t, r) && Ht(e, r, t[r]);
4297
4275
  return e;
4298
- }, Ui = (e, t) => Mi(e, Ni(t));
4299
- let et;
4300
- const Ee = He(null);
4301
- function It(e) {
4276
+ }, Mi = (e, t) => Oi(e, Ii(t));
4277
+ let Ye;
4278
+ const _e = Te(null);
4279
+ function Bt(e) {
4302
4280
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4303
4281
  }
4304
- function Pe(e, t = ne().fallbackLocale) {
4305
- const r = It(e);
4306
- return t ? [.../* @__PURE__ */ new Set([...r, ...It(t)])] : r;
4282
+ function Be(e, t = re().fallbackLocale) {
4283
+ const r = Bt(e);
4284
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Bt(t)])] : r;
4307
4285
  }
4308
4286
  function z() {
4309
- return et != null ? et : void 0;
4287
+ return Ye != null ? Ye : void 0;
4310
4288
  }
4311
- Ee.subscribe((e) => {
4312
- et = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4289
+ _e.subscribe((e) => {
4290
+ Ye = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4313
4291
  });
4314
- const Gi = (e) => {
4315
- if (e && Hi(e) && Ke(e)) {
4316
- const { loadingDelay: t } = ne();
4292
+ const Ri = (e) => {
4293
+ if (e && xi(e) && qe(e)) {
4294
+ const { loadingDelay: t } = re();
4317
4295
  let r;
4318
4296
  return typeof window != "undefined" && z() != null && t ? r = window.setTimeout(
4319
- () => De.set(!0),
4297
+ () => Re.set(!0),
4320
4298
  t
4321
- ) : De.set(!0), Er(e).then(() => {
4322
- Ee.set(e);
4299
+ ) : Re.set(!0), br(e).then(() => {
4300
+ _e.set(e);
4323
4301
  }).finally(() => {
4324
- clearTimeout(r), De.set(!1);
4302
+ clearTimeout(r), Re.set(!1);
4325
4303
  });
4326
4304
  }
4327
- return Ee.set(e);
4328
- }, se = Ui(Di({}, Ee), {
4329
- set: Gi
4330
- }), Ae = (e) => {
4305
+ return _e.set(e);
4306
+ }, ie = Mi(Ni({}, _e), {
4307
+ set: Ri
4308
+ }), Pe = (e) => {
4331
4309
  const t = /* @__PURE__ */ Object.create(null);
4332
4310
  return (n) => {
4333
4311
  const i = JSON.stringify(n);
4334
4312
  return i in t ? t[i] : t[i] = e(n);
4335
4313
  };
4336
4314
  };
4337
- var Fi = Object.defineProperty, xe = Object.getOwnPropertySymbols, xr = Object.prototype.hasOwnProperty, Sr = Object.prototype.propertyIsEnumerable, Ct = (e, t, r) => t in e ? Fi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, st = (e, t) => {
4315
+ var $i = Object.defineProperty, Ee = Object.getOwnPropertySymbols, yr = Object.prototype.hasOwnProperty, gr = Object.prototype.propertyIsEnumerable, Pt = (e, t, r) => t in e ? $i(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, tt = (e, t) => {
4338
4316
  for (var r in t || (t = {}))
4339
- xr.call(t, r) && Ct(e, r, t[r]);
4340
- if (xe)
4341
- for (var r of xe(t))
4342
- Sr.call(t, r) && Ct(e, r, t[r]);
4317
+ yr.call(t, r) && Pt(e, r, t[r]);
4318
+ if (Ee)
4319
+ for (var r of Ee(t))
4320
+ gr.call(t, r) && Pt(e, r, t[r]);
4343
4321
  return e;
4344
4322
  }, oe = (e, t) => {
4345
4323
  var r = {};
4346
4324
  for (var n in e)
4347
- xr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4348
- if (e != null && xe)
4349
- for (var n of xe(e))
4350
- t.indexOf(n) < 0 && Sr.call(e, n) && (r[n] = e[n]);
4325
+ yr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4326
+ if (e != null && Ee)
4327
+ for (var n of Ee(e))
4328
+ t.indexOf(n) < 0 && gr.call(e, n) && (r[n] = e[n]);
4351
4329
  return r;
4352
4330
  };
4353
- const ce = (e, t) => {
4354
- const { formats: r } = ne();
4331
+ const he = (e, t) => {
4332
+ const { formats: r } = re();
4355
4333
  if (e in r && t in r[e])
4356
4334
  return r[e][t];
4357
4335
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4358
- }, ji = Ae(
4336
+ }, Di = Pe(
4359
4337
  (e) => {
4360
4338
  var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4361
4339
  if (r == null)
4362
4340
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4363
- return n && (i = ce("number", n)), new Intl.NumberFormat(r, i);
4341
+ return n && (i = he("number", n)), new Intl.NumberFormat(r, i);
4364
4342
  }
4365
- ), ki = Ae(
4343
+ ), Ui = Pe(
4366
4344
  (e) => {
4367
4345
  var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4368
4346
  if (r == null)
4369
4347
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4370
- return n ? i = ce("date", n) : Object.keys(i).length === 0 && (i = ce("date", "short")), new Intl.DateTimeFormat(r, i);
4348
+ return n ? i = he("date", n) : Object.keys(i).length === 0 && (i = he("date", "short")), new Intl.DateTimeFormat(r, i);
4371
4349
  }
4372
- ), Vi = Ae(
4350
+ ), Gi = Pe(
4373
4351
  (e) => {
4374
4352
  var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4375
4353
  if (r == null)
4376
4354
  throw new Error(
4377
4355
  '[svelte-i18n] A "locale" must be set to format time values'
4378
4356
  );
4379
- return n ? i = ce("time", n) : Object.keys(i).length === 0 && (i = ce("time", "short")), new Intl.DateTimeFormat(r, i);
4357
+ return n ? i = he("time", n) : Object.keys(i).length === 0 && (i = he("time", "short")), new Intl.DateTimeFormat(r, i);
4380
4358
  }
4381
- ), Xi = (e = {}) => {
4359
+ ), Fi = (e = {}) => {
4382
4360
  var t = e, {
4383
4361
  locale: r = z()
4384
4362
  } = t, n = oe(t, [
4385
4363
  "locale"
4386
4364
  ]);
4387
- return ji(st({ locale: r }, n));
4388
- }, Wi = (e = {}) => {
4365
+ return Di(tt({ locale: r }, n));
4366
+ }, ji = (e = {}) => {
4389
4367
  var t = e, {
4390
4368
  locale: r = z()
4391
4369
  } = t, n = oe(t, [
4392
4370
  "locale"
4393
4371
  ]);
4394
- return ki(st({ locale: r }, n));
4395
- }, zi = (e = {}) => {
4372
+ return Ui(tt({ locale: r }, n));
4373
+ }, ki = (e = {}) => {
4396
4374
  var t = e, {
4397
4375
  locale: r = z()
4398
4376
  } = t, n = oe(t, [
4399
4377
  "locale"
4400
4378
  ]);
4401
- return Vi(st({ locale: r }, n));
4402
- }, Zi = Ae(
4379
+ return Gi(tt({ locale: r }, n));
4380
+ }, Vi = Pe(
4403
4381
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4404
- (e, t = z()) => new Ei(e, t, ne().formats, {
4405
- ignoreTag: ne().ignoreTag
4382
+ (e, t = z()) => new yi(e, t, re().formats, {
4383
+ ignoreTag: re().ignoreTag
4406
4384
  })
4407
- ), Qi = (e, t = {}) => {
4408
- var r, n, i, s;
4409
- let a = t;
4410
- typeof e == "object" && (a = e, e = a.id);
4385
+ ), Xi = (e, t = {}) => {
4386
+ var r, n, i, o;
4387
+ let s = t;
4388
+ typeof e == "object" && (s = e, e = s.id);
4411
4389
  const {
4412
- values: o,
4390
+ values: a,
4413
4391
  locale: l = z(),
4414
4392
  default: u
4415
- } = a;
4393
+ } = s;
4416
4394
  if (l == null)
4417
4395
  throw new Error(
4418
4396
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4419
4397
  );
4420
- let h = yr(e, l);
4398
+ let h = fr(e, l);
4421
4399
  if (!h)
4422
- h = (s = (i = (n = (r = ne()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
4400
+ 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;
4423
4401
  else if (typeof h != "string")
4424
4402
  return console.warn(
4425
4403
  `[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.`
4426
4404
  ), h;
4427
- if (!o)
4405
+ if (!a)
4428
4406
  return h;
4429
4407
  let f = h;
4430
4408
  try {
4431
- f = Zi(h, l).format(o);
4409
+ f = Vi(h, l).format(a);
4432
4410
  } catch (c) {
4433
4411
  c instanceof Error && console.warn(
4434
4412
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4436,16 +4414,16 @@ const ce = (e, t) => {
4436
4414
  );
4437
4415
  }
4438
4416
  return f;
4439
- }, Ji = (e, t) => zi(t).format(e), qi = (e, t) => Wi(t).format(e), Yi = (e, t) => Xi(t).format(e), Ki = (e, t = z()) => yr(e, t), es = ie([se, fe], () => Qi);
4440
- ie([se], () => Ji);
4441
- ie([se], () => qi);
4442
- ie([se], () => Yi);
4443
- ie([se, fe], () => Ki);
4444
- window.emWidgets = { topic: pn };
4445
- const wr = (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)), ts = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4446
- function Ls(e, t) {
4417
+ }, Wi = (e, t) => ki(t).format(e), zi = (e, t) => ji(t).format(e), Zi = (e, t) => Fi(t).format(e), Qi = (e, t = z()) => fr(e, t), Ji = ne([ie, ce], () => Xi);
4418
+ ne([ie], () => Wi);
4419
+ ne([ie], () => zi);
4420
+ ne([ie], () => Zi);
4421
+ ne([ie, ce], () => Qi);
4422
+ window.emWidgets = { topic: ln };
4423
+ const vr = (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)), qi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4424
+ function Oo(e, t) {
4447
4425
  const r = window.navigator.userAgent;
4448
- return wr(r) ? t = e.filter((n) => {
4426
+ return vr(r) ? t = e.filter((n) => {
4449
4427
  if (n.gameModel && (n.gameModel.platform.includes("iPad") || n.gameModel.platform.includes("iPhone") || n.gameModel.platform.includes("Android")))
4450
4428
  return n;
4451
4429
  }) : t = e.filter((n) => {
@@ -4453,13 +4431,13 @@ function Ls(e, t) {
4453
4431
  return n;
4454
4432
  }), t;
4455
4433
  }
4456
- function rs(e, t) {
4434
+ function Yi(e, t) {
4457
4435
  if (e) {
4458
4436
  const r = document.createElement("style");
4459
4437
  r.innerHTML = t, e.appendChild(r);
4460
4438
  }
4461
4439
  }
4462
- function ns(e, t) {
4440
+ function Ki(e, t) {
4463
4441
  const r = new URL(t);
4464
4442
  fetch(r.href).then((n) => n.text()).then((n) => {
4465
4443
  const i = document.createElement("style");
@@ -4468,7 +4446,7 @@ function ns(e, t) {
4468
4446
  console.error("There was an error while trying to load client styling from URL", n);
4469
4447
  });
4470
4448
  }
4471
- function is(e, t, r) {
4449
+ function eo(e, t, r) {
4472
4450
  if (window.emMessageBus) {
4473
4451
  const n = document.createElement("style");
4474
4452
  window.emMessageBus.subscribe(t, (i) => {
@@ -4476,13 +4454,13 @@ function is(e, t, r) {
4476
4454
  });
4477
4455
  }
4478
4456
  }
4479
- function Lt(e, t) {
4480
- vr(e, t);
4457
+ function At(e, t) {
4458
+ pr(e, t);
4481
4459
  }
4482
- function ss(e) {
4483
- se.set(e);
4460
+ function to(e) {
4461
+ ie.set(e);
4484
4462
  }
4485
- const Mt = {
4463
+ const Ot = {
4486
4464
  en: {
4487
4465
  error: "500 Error - Internal Server Error"
4488
4466
  },
@@ -4514,7 +4492,7 @@ if (typeof window != "undefined") {
4514
4492
  }
4515
4493
  };
4516
4494
  };
4517
- customElements.define = e(customElements.define), import("./CasinoCalendarDailyDetails-C6Shuvfx.js").then(({ default: t }) => {
4495
+ customElements.define = e(customElements.define), import("./CasinoCalendarDailyDetails-Dv1jxPLQ.js").then(({ default: t }) => {
4518
4496
  !customElements.get("casino-calendar-daily-details") && customElements.define("casino-calendar-daily-details", t.element);
4519
4497
  });
4520
4498
  }
@@ -4530,70 +4508,70 @@ if (typeof window != "undefined") {
4530
4508
  }
4531
4509
  };
4532
4510
  };
4533
- customElements.define = e(customElements.define), import("./CasinoCalendarDailyItem-BLMalLZx.js").then(({ default: t }) => {
4511
+ customElements.define = e(customElements.define), import("./CasinoCalendarDailyItem-BBaphFv2.js").then(({ default: t }) => {
4534
4512
  !customElements.get("casino-calendar-daily-item") && customElements.define("casino-calendar-daily-item", t.element);
4535
4513
  });
4536
4514
  }
4537
- function os(e) {
4538
- Mr(e, "svelte-61avp5", `.svelte-61avp5{font-family:inherit}.CasinoCalendarItem.svelte-61avp5{display:flex;flex-direction:row;flex-wrap:nowrap;text-align:left;gap:10px;overflow-x:auto;overflow-y:hidden;justify-content:space-evenly}.Mobile.svelte-61avp5{padding:0 10px;height:286px;overflow-y:visible;overflow-x:scroll;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.CalendarDetailsWrapper.svelte-61avp5{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0;background-color:var(--emw--color-dark-gray, rgba(0, 0, 0, 0.9))}.LoadingSpinner.svelte-61avp5{display:block;width:80px;height:80px;margin:0 auto
4515
+ function ro(e) {
4516
+ Ar(e, "svelte-61avp5", `.svelte-61avp5{font-family:inherit}.CasinoCalendarItem.svelte-61avp5{display:flex;flex-direction:row;flex-wrap:nowrap;text-align:left;gap:10px;overflow-x:auto;overflow-y:hidden;justify-content:space-evenly}.Mobile.svelte-61avp5{padding:0 10px;height:286px;overflow-y:visible;overflow-x:scroll;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.CalendarDetailsWrapper.svelte-61avp5{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0;background-color:var(--emw--color-dark-gray, rgba(0, 0, 0, 0.9))}.LoadingSpinner.svelte-61avp5{display:block;width:80px;height:80px;margin:0 auto
4539
4517
  }.LoadingSpinner.svelte-61avp5:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent;animation:svelte-61avp5-LoadingSpinner 1.2s linear infinite}@keyframes svelte-61avp5-LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}`);
4540
4518
  }
4541
- function Nt(e, t, r) {
4519
+ function It(e, t, r) {
4542
4520
  const n = e.slice();
4543
4521
  return n[25] = t[r], n[27] = r, n;
4544
4522
  }
4545
- function as(e) {
4546
- let t, r, n, i = ft(
4523
+ function no(e) {
4524
+ let t, r, n, i = ut(
4547
4525
  /*calendarCollections*/
4548
4526
  e[6]
4549
- ), s = [];
4550
- for (let o = 0; o < i.length; o += 1)
4551
- s[o] = Rt(Nt(e, i, o));
4552
- let a = (
4527
+ ), o = [];
4528
+ for (let a = 0; a < i.length; a += 1)
4529
+ o[a] = Ct(It(e, i, a));
4530
+ let s = (
4553
4531
  /*calendarModalOpened*/
4554
- e[11] == !0 && $t(e)
4532
+ e[11] == !0 && Lt(e)
4555
4533
  );
4556
4534
  return {
4557
4535
  c() {
4558
4536
  t = $("div");
4559
- for (let o = 0; o < s.length; o += 1)
4560
- s[o].c();
4561
- r = Ur(), a && a.c(), k(t, "class", n = "CasinoCalendarItem " + /*mobileView*/
4537
+ for (let a = 0; a < o.length; a += 1)
4538
+ o[a].c();
4539
+ r = Nr(), s && s.c(), k(t, "class", n = "CasinoCalendarItem " + /*mobileView*/
4562
4540
  (e[10] ? "Mobile" : "") + " svelte-61avp5");
4563
4541
  },
4564
- m(o, l) {
4565
- V(o, t, l);
4566
- for (let u = 0; u < s.length; u += 1)
4567
- s[u] && s[u].m(t, null);
4568
- we(t, r), a && a.m(t, null);
4542
+ m(a, l) {
4543
+ V(a, t, l);
4544
+ for (let u = 0; u < o.length; u += 1)
4545
+ o[u] && o[u].m(t, null);
4546
+ Se(t, r), s && s.m(t, null);
4569
4547
  },
4570
- p(o, l) {
4548
+ p(a, l) {
4571
4549
  if (l & /*calendarCollections, lang, clientstyling, clientstylingurl, mbsource, translationurl*/
4572
4550
  95) {
4573
- i = ft(
4551
+ i = ut(
4574
4552
  /*calendarCollections*/
4575
- o[6]
4553
+ a[6]
4576
4554
  );
4577
4555
  let u;
4578
4556
  for (u = 0; u < i.length; u += 1) {
4579
- const h = Nt(o, i, u);
4580
- s[u] ? s[u].p(h, l) : (s[u] = Rt(h), s[u].c(), s[u].m(t, r));
4557
+ const h = It(a, i, u);
4558
+ o[u] ? o[u].p(h, l) : (o[u] = Ct(h), o[u].c(), o[u].m(t, r));
4581
4559
  }
4582
- for (; u < s.length; u += 1)
4583
- s[u].d(1);
4584
- s.length = i.length;
4560
+ for (; u < o.length; u += 1)
4561
+ o[u].d(1);
4562
+ o.length = i.length;
4585
4563
  }
4586
4564
  /*calendarModalOpened*/
4587
- o[11] == !0 ? a ? a.p(o, l) : (a = $t(o), a.c(), a.m(t, null)) : a && (a.d(1), a = null), l & /*mobileView*/
4565
+ a[11] == !0 ? s ? s.p(a, l) : (s = Lt(a), s.c(), s.m(t, null)) : s && (s.d(1), s = null), l & /*mobileView*/
4588
4566
  1024 && n !== (n = "CasinoCalendarItem " + /*mobileView*/
4589
- (o[10] ? "Mobile" : "") + " svelte-61avp5") && k(t, "class", n);
4567
+ (a[10] ? "Mobile" : "") + " svelte-61avp5") && k(t, "class", n);
4590
4568
  },
4591
- d(o) {
4592
- o && U(t), $r(s, o), a && a.d();
4569
+ d(a) {
4570
+ a && U(t), Cr(o, a), s && s.d();
4593
4571
  }
4594
4572
  };
4595
4573
  }
4596
- function us(e) {
4574
+ function io(e) {
4597
4575
  let t;
4598
4576
  return {
4599
4577
  c() {
@@ -4608,177 +4586,177 @@ function us(e) {
4608
4586
  }
4609
4587
  };
4610
4588
  }
4611
- function ls(e) {
4589
+ function oo(e) {
4612
4590
  let t, r = (
4613
4591
  /*$_*/
4614
4592
  e[12]("error") + ""
4615
4593
  ), n;
4616
4594
  return {
4617
4595
  c() {
4618
- t = $("p"), n = tt(r), k(t, "class", "SearchLoading svelte-61avp5");
4596
+ t = $("p"), n = Ke(r), k(t, "class", "SearchLoading svelte-61avp5");
4619
4597
  },
4620
- m(i, s) {
4621
- V(i, t, s), we(t, n);
4598
+ m(i, o) {
4599
+ V(i, t, o), Se(t, n);
4622
4600
  },
4623
- p(i, s) {
4624
- s & /*$_*/
4601
+ p(i, o) {
4602
+ o & /*$_*/
4625
4603
  4096 && r !== (r = /*$_*/
4626
- i[12]("error") + "") && Fr(n, r);
4604
+ i[12]("error") + "") && Rr(n, r);
4627
4605
  },
4628
4606
  d(i) {
4629
4607
  i && U(t);
4630
4608
  }
4631
4609
  };
4632
4610
  }
4633
- function Rt(e) {
4634
- let t, r, n, i, s, a;
4611
+ function Ct(e) {
4612
+ let t, r, n, i, o, s;
4635
4613
  return {
4636
4614
  c() {
4637
- t = $("casino-calendar-daily-item"), d(t, "dailybackground", r = /*dailyCalendarData*/
4638
- e[25].dailyBackground), d(t, "dailyicon", n = /*dailyCalendarData*/
4639
- e[25].dailyIcon), d(t, "dailyday", i = /*dailyCalendarData*/
4640
- e[25].dailyDay), d(t, "dailydescription", s = /*dailyCalendarData*/
4641
- e[25].dailyDescription), d(t, "dailybuttontitle", a = /*dailyCalendarData*/
4642
- e[25].dailyButtonTitle), d(
4615
+ t = $("casino-calendar-daily-item"), p(t, "dailybackground", r = /*dailyCalendarData*/
4616
+ e[25].dailyBackground), p(t, "dailyicon", n = /*dailyCalendarData*/
4617
+ e[25].dailyIcon), p(t, "dailyday", i = /*dailyCalendarData*/
4618
+ e[25].dailyDay), p(t, "dailydescription", o = /*dailyCalendarData*/
4619
+ e[25].dailyDescription), p(t, "dailybuttontitle", s = /*dailyCalendarData*/
4620
+ e[25].dailyButtonTitle), p(
4643
4621
  t,
4644
4622
  "index",
4645
4623
  /*index*/
4646
4624
  e[27]
4647
- ), d(
4625
+ ), p(
4648
4626
  t,
4649
4627
  "lang",
4650
4628
  /*lang*/
4651
4629
  e[0]
4652
- ), d(
4630
+ ), p(
4653
4631
  t,
4654
4632
  "clientstyling",
4655
4633
  /*clientstyling*/
4656
4634
  e[1]
4657
- ), d(
4635
+ ), p(
4658
4636
  t,
4659
4637
  "clientstylingurl",
4660
4638
  /*clientstylingurl*/
4661
4639
  e[2]
4662
- ), d(
4640
+ ), p(
4663
4641
  t,
4664
4642
  "mbsource",
4665
4643
  /*mbsource*/
4666
4644
  e[4]
4667
- ), d(
4645
+ ), p(
4668
4646
  t,
4669
4647
  "translationurl",
4670
4648
  /*translationurl*/
4671
4649
  e[3]
4672
- ), d(t, "class", "svelte-61avp5");
4650
+ ), p(t, "class", "svelte-61avp5");
4673
4651
  },
4674
- m(o, l) {
4675
- V(o, t, l);
4652
+ m(a, l) {
4653
+ V(a, t, l);
4676
4654
  },
4677
- p(o, l) {
4655
+ p(a, l) {
4678
4656
  l & /*calendarCollections*/
4679
4657
  64 && r !== (r = /*dailyCalendarData*/
4680
- o[25].dailyBackground) && d(t, "dailybackground", r), l & /*calendarCollections*/
4658
+ a[25].dailyBackground) && p(t, "dailybackground", r), l & /*calendarCollections*/
4681
4659
  64 && n !== (n = /*dailyCalendarData*/
4682
- o[25].dailyIcon) && d(t, "dailyicon", n), l & /*calendarCollections*/
4660
+ a[25].dailyIcon) && p(t, "dailyicon", n), l & /*calendarCollections*/
4683
4661
  64 && i !== (i = /*dailyCalendarData*/
4684
- o[25].dailyDay) && d(t, "dailyday", i), l & /*calendarCollections*/
4662
+ a[25].dailyDay) && p(t, "dailyday", i), l & /*calendarCollections*/
4663
+ 64 && o !== (o = /*dailyCalendarData*/
4664
+ a[25].dailyDescription) && p(t, "dailydescription", o), l & /*calendarCollections*/
4685
4665
  64 && s !== (s = /*dailyCalendarData*/
4686
- o[25].dailyDescription) && d(t, "dailydescription", s), l & /*calendarCollections*/
4687
- 64 && a !== (a = /*dailyCalendarData*/
4688
- o[25].dailyButtonTitle) && d(t, "dailybuttontitle", a), l & /*lang*/
4689
- 1 && d(
4666
+ a[25].dailyButtonTitle) && p(t, "dailybuttontitle", s), l & /*lang*/
4667
+ 1 && p(
4690
4668
  t,
4691
4669
  "lang",
4692
4670
  /*lang*/
4693
- o[0]
4671
+ a[0]
4694
4672
  ), l & /*clientstyling*/
4695
- 2 && d(
4673
+ 2 && p(
4696
4674
  t,
4697
4675
  "clientstyling",
4698
4676
  /*clientstyling*/
4699
- o[1]
4677
+ a[1]
4700
4678
  ), l & /*clientstylingurl*/
4701
- 4 && d(
4679
+ 4 && p(
4702
4680
  t,
4703
4681
  "clientstylingurl",
4704
4682
  /*clientstylingurl*/
4705
- o[2]
4683
+ a[2]
4706
4684
  ), l & /*mbsource*/
4707
- 16 && d(
4685
+ 16 && p(
4708
4686
  t,
4709
4687
  "mbsource",
4710
4688
  /*mbsource*/
4711
- o[4]
4689
+ a[4]
4712
4690
  ), l & /*translationurl*/
4713
- 8 && d(
4691
+ 8 && p(
4714
4692
  t,
4715
4693
  "translationurl",
4716
4694
  /*translationurl*/
4717
- o[3]
4695
+ a[3]
4718
4696
  );
4719
4697
  },
4720
- d(o) {
4721
- o && U(t);
4698
+ d(a) {
4699
+ a && U(t);
4722
4700
  }
4723
4701
  };
4724
4702
  }
4725
- function $t(e) {
4726
- let t, r, n, i, s, a, o, l;
4703
+ function Lt(e) {
4704
+ let t, r, n, i, o, s, a, l;
4727
4705
  return {
4728
4706
  c() {
4729
- t = $("div"), r = $("casino-calendar-daily-details"), d(r, "dailybackground", n = /*calendarCollections*/
4707
+ t = $("div"), r = $("casino-calendar-daily-details"), p(r, "dailybackground", n = /*calendarCollections*/
4730
4708
  e[6][
4731
4709
  /*selectedIndex*/
4732
4710
  e[7]
4733
- ].dailyBackground), d(r, "dailybuttontitle", i = /*calendarCollections*/
4711
+ ].dailyBackground), p(r, "dailybuttontitle", i = /*calendarCollections*/
4734
4712
  e[6][
4735
4713
  /*selectedIndex*/
4736
4714
  e[7]
4737
- ].dailyButtonTitle), d(r, "dailyday", s = /*calendarCollections*/
4715
+ ].dailyButtonTitle), p(r, "dailyday", o = /*calendarCollections*/
4738
4716
  e[6][
4739
4717
  /*selectedIndex*/
4740
4718
  e[7]
4741
- ].dailyDay), d(r, "dailydescription", a = /*calendarCollections*/
4719
+ ].dailyDay), p(r, "dailydescription", s = /*calendarCollections*/
4742
4720
  e[6][
4743
4721
  /*selectedIndex*/
4744
4722
  e[7]
4745
- ].dailyDescription), d(r, "dailyicon", o = /*calendarCollections*/
4723
+ ].dailyDescription), p(r, "dailyicon", a = /*calendarCollections*/
4746
4724
  e[6][
4747
4725
  /*selectedIndex*/
4748
4726
  e[7]
4749
- ].dailyIcon), d(r, "dailytitle", l = /*calendarCollections*/
4727
+ ].dailyIcon), p(r, "dailytitle", l = /*calendarCollections*/
4750
4728
  e[6][
4751
4729
  /*selectedIndex*/
4752
4730
  e[7]
4753
- ].dailyTitle), d(
4731
+ ].dailyTitle), p(
4754
4732
  r,
4755
4733
  "lang",
4756
4734
  /*lang*/
4757
4735
  e[0]
4758
- ), d(
4736
+ ), p(
4759
4737
  r,
4760
4738
  "clientstyling",
4761
4739
  /*clientstyling*/
4762
4740
  e[1]
4763
- ), d(
4741
+ ), p(
4764
4742
  r,
4765
4743
  "clientstylingurl",
4766
4744
  /*clientstylingurl*/
4767
4745
  e[2]
4768
- ), d(
4746
+ ), p(
4769
4747
  r,
4770
4748
  "mbsource",
4771
4749
  /*mbsource*/
4772
4750
  e[4]
4773
- ), d(
4751
+ ), p(
4774
4752
  r,
4775
4753
  "translationurl",
4776
4754
  /*translationurl*/
4777
4755
  e[3]
4778
- ), d(r, "class", "svelte-61avp5"), k(t, "class", "CalendarDetailsWrapper svelte-61avp5");
4756
+ ), p(r, "class", "svelte-61avp5"), k(t, "class", "CalendarDetailsWrapper svelte-61avp5");
4779
4757
  },
4780
4758
  m(u, h) {
4781
- V(u, t, h), we(t, r);
4759
+ V(u, t, h), Se(t, r);
4782
4760
  },
4783
4761
  p(u, h) {
4784
4762
  h & /*calendarCollections, selectedIndex*/
@@ -4786,57 +4764,57 @@ function $t(e) {
4786
4764
  u[6][
4787
4765
  /*selectedIndex*/
4788
4766
  u[7]
4789
- ].dailyBackground) && d(r, "dailybackground", n), h & /*calendarCollections, selectedIndex*/
4767
+ ].dailyBackground) && p(r, "dailybackground", n), h & /*calendarCollections, selectedIndex*/
4790
4768
  192 && i !== (i = /*calendarCollections*/
4791
4769
  u[6][
4792
4770
  /*selectedIndex*/
4793
4771
  u[7]
4794
- ].dailyButtonTitle) && d(r, "dailybuttontitle", i), h & /*calendarCollections, selectedIndex*/
4795
- 192 && s !== (s = /*calendarCollections*/
4772
+ ].dailyButtonTitle) && p(r, "dailybuttontitle", i), h & /*calendarCollections, selectedIndex*/
4773
+ 192 && o !== (o = /*calendarCollections*/
4796
4774
  u[6][
4797
4775
  /*selectedIndex*/
4798
4776
  u[7]
4799
- ].dailyDay) && d(r, "dailyday", s), h & /*calendarCollections, selectedIndex*/
4800
- 192 && a !== (a = /*calendarCollections*/
4777
+ ].dailyDay) && p(r, "dailyday", o), h & /*calendarCollections, selectedIndex*/
4778
+ 192 && s !== (s = /*calendarCollections*/
4801
4779
  u[6][
4802
4780
  /*selectedIndex*/
4803
4781
  u[7]
4804
- ].dailyDescription) && d(r, "dailydescription", a), h & /*calendarCollections, selectedIndex*/
4805
- 192 && o !== (o = /*calendarCollections*/
4782
+ ].dailyDescription) && p(r, "dailydescription", s), h & /*calendarCollections, selectedIndex*/
4783
+ 192 && a !== (a = /*calendarCollections*/
4806
4784
  u[6][
4807
4785
  /*selectedIndex*/
4808
4786
  u[7]
4809
- ].dailyIcon) && d(r, "dailyicon", o), h & /*calendarCollections, selectedIndex*/
4787
+ ].dailyIcon) && p(r, "dailyicon", a), h & /*calendarCollections, selectedIndex*/
4810
4788
  192 && l !== (l = /*calendarCollections*/
4811
4789
  u[6][
4812
4790
  /*selectedIndex*/
4813
4791
  u[7]
4814
- ].dailyTitle) && d(r, "dailytitle", l), h & /*lang*/
4815
- 1 && d(
4792
+ ].dailyTitle) && p(r, "dailytitle", l), h & /*lang*/
4793
+ 1 && p(
4816
4794
  r,
4817
4795
  "lang",
4818
4796
  /*lang*/
4819
4797
  u[0]
4820
4798
  ), h & /*clientstyling*/
4821
- 2 && d(
4799
+ 2 && p(
4822
4800
  r,
4823
4801
  "clientstyling",
4824
4802
  /*clientstyling*/
4825
4803
  u[1]
4826
4804
  ), h & /*clientstylingurl*/
4827
- 4 && d(
4805
+ 4 && p(
4828
4806
  r,
4829
4807
  "clientstylingurl",
4830
4808
  /*clientstylingurl*/
4831
4809
  u[2]
4832
4810
  ), h & /*mbsource*/
4833
- 16 && d(
4811
+ 16 && p(
4834
4812
  r,
4835
4813
  "mbsource",
4836
4814
  /*mbsource*/
4837
4815
  u[4]
4838
4816
  ), h & /*translationurl*/
4839
- 8 && d(
4817
+ 8 && p(
4840
4818
  r,
4841
4819
  "translationurl",
4842
4820
  /*translationurl*/
@@ -4848,81 +4826,81 @@ function $t(e) {
4848
4826
  }
4849
4827
  };
4850
4828
  }
4851
- function hs(e) {
4829
+ function so(e) {
4852
4830
  let t;
4853
- function r(s, a) {
4854
- var o;
4831
+ function r(o, s) {
4832
+ var a;
4855
4833
  if (
4856
4834
  /*hasErrors*/
4857
- s[9]
4835
+ o[9]
4858
4836
  )
4859
- return ls;
4837
+ return oo;
4860
4838
  if (
4861
4839
  /*isLoading*/
4862
- s[8]
4840
+ o[8]
4863
4841
  )
4864
- return us;
4842
+ return io;
4865
4843
  if (
4866
4844
  /*calendarCollections*/
4867
- (o = s[6]) != null && o.length
4845
+ (a = o[6]) != null && a.length
4868
4846
  )
4869
- return as;
4847
+ return no;
4870
4848
  }
4871
4849
  let n = r(e), i = n && n(e);
4872
4850
  return {
4873
4851
  c() {
4874
4852
  t = $("div"), i && i.c(), k(t, "class", "svelte-61avp5");
4875
4853
  },
4876
- m(s, a) {
4877
- V(s, t, a), i && i.m(t, null), e[16](t);
4854
+ m(o, s) {
4855
+ V(o, t, s), i && i.m(t, null), e[16](t);
4878
4856
  },
4879
- p(s, [a]) {
4880
- n === (n = r(s)) && i ? i.p(s, a) : (i && i.d(1), i = n && n(s), i && (i.c(), i.m(t, null)));
4857
+ p(o, [s]) {
4858
+ n === (n = r(o)) && i ? i.p(o, s) : (i && i.d(1), i = n && n(o), i && (i.c(), i.m(t, null)));
4881
4859
  },
4882
4860
  i: O,
4883
4861
  o: O,
4884
- d(s) {
4885
- s && U(t), i && i.d(), e[16](null);
4862
+ d(o) {
4863
+ o && U(t), i && i.d(), e[16](null);
4886
4864
  }
4887
4865
  };
4888
4866
  }
4889
- function cs(e, t, r) {
4867
+ function ao(e, t, r) {
4890
4868
  let n;
4891
- Lr(e, es, (m) => r(12, n = m));
4892
- let { cmsendpoint: i = "" } = t, { env: s = "" } = t, { userroles: a = "" } = t, { lang: o = "en" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: h } = t, { mbsource: f } = t, c, p, b = 0, g = !0, S = !1, I = !1, P = window.navigator.userAgent, w = !1, M;
4893
- const C = () => {
4894
- ss(o);
4869
+ Pr(e, Ji, (d) => r(12, n = d));
4870
+ let { cmsendpoint: i = "" } = t, { env: o = "" } = t, { userroles: s = "" } = t, { lang: a = "en" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: h } = t, { mbsource: f } = t, c, m, b = 0, g = !0, S = !1, I = !1, P = window.navigator.userAgent, w = !1;
4871
+ const N = () => {
4872
+ to(a);
4895
4873
  };
4896
- Object.keys(Mt).forEach((m) => {
4897
- Lt(m, Mt[m]);
4874
+ Object.keys(Ot).forEach((d) => {
4875
+ At(d, Ot[d]);
4898
4876
  });
4899
- const N = () => {
4900
- let m = h;
4901
- if (m)
4902
- return fetch(m).then((B) => B.json()).then((B) => {
4877
+ const C = () => {
4878
+ let d = h;
4879
+ if (d)
4880
+ return fetch(d).then((B) => B.json()).then((B) => {
4903
4881
  Object.keys(B).forEach((F) => {
4904
- Lt(F, B[F]);
4882
+ At(F, B[F]);
4905
4883
  });
4906
4884
  }).catch((B) => {
4907
4885
  console.log(B);
4908
4886
  });
4909
- }, x = () => {
4887
+ }, M = () => {
4910
4888
  r(8, g = !0);
4911
- let m = new URL(`${i}/${o}/daily-calendar`);
4912
- m.searchParams.append("userRoles", a), m.searchParams.append("env", s);
4913
- let B = ts(P);
4914
- B && (B === "PC" ? m.searchParams.append("device", "dk") : B === "iPad" || B === "iPhone" ? m.searchParams.append("device", "ios") : m.searchParams.append("device", "mtWeb")), fetch(m.href).then((F) => F.json()).then((F) => {
4915
- r(6, p = F);
4889
+ let d = new URL(`${i}/${a}/daily-calendar`);
4890
+ d.searchParams.append("userRoles", s), d.searchParams.append("env", o);
4891
+ let B = qi(P);
4892
+ B && (B === "PC" ? d.searchParams.append("device", "dk") : B === "iPad" || B === "iPhone" ? d.searchParams.append("device", "ios") : d.searchParams.append("device", "mtWeb")), fetch(d.href).then((F) => F.json()).then((F) => {
4893
+ r(6, m = F);
4916
4894
  }).catch((F) => {
4917
4895
  console.log(F), r(9, S = !0);
4918
4896
  }).finally(() => {
4919
4897
  r(8, g = !1);
4920
4898
  });
4921
- }, L = () => {
4922
- x();
4923
- }, A = (m) => {
4899
+ }, x = () => {
4900
+ M();
4901
+ }, A = (d) => {
4924
4902
  var B;
4925
- m.data && m.data.type == "OpenCalendar" && (r(7, b = m.data.index), r(11, w = !0), window.postMessage(
4903
+ d.data && d.data.type == "OpenCalendar" && (r(7, b = d.data.index), r(11, w = !0), window.postMessage(
4926
4904
  {
4927
4905
  type: "ShowModal",
4928
4906
  selectedIndex: b,
@@ -4931,35 +4909,35 @@ function cs(e, t, r) {
4931
4909
  window.location.href
4932
4910
  ), window.postMessage({
4933
4911
  type: "DailyEventsData",
4934
- data: (B = p[b]) == null ? void 0 : B.dailyEvents
4935
- })), m.data && m.data.type == "ModalClosed" && r(11, w = !1);
4912
+ data: (B = m[b]) == null ? void 0 : B.dailyEvents
4913
+ })), d.data && d.data.type == "ModalClosed" && r(11, w = !1);
4936
4914
  };
4937
- kr(() => (window.addEventListener("message", A, !1), wr(P) && r(10, I = !0), () => {
4938
- window.emMessageBus && M && window.emMessageBus.unsubscribe("Casino.Style"), window.removeEventListener("message", A);
4915
+ Dr(() => (window.addEventListener("message", A, !1), vr(P) && r(10, I = !0), () => {
4916
+ window.removeEventListener("message", A);
4939
4917
  }));
4940
- function Z(m) {
4941
- Ue[m ? "unshift" : "push"](() => {
4942
- c = m, r(5, c);
4918
+ function L(d) {
4919
+ $e[d ? "unshift" : "push"](() => {
4920
+ c = d, r(5, c);
4943
4921
  });
4944
4922
  }
4945
- return e.$$set = (m) => {
4946
- "cmsendpoint" in m && r(13, i = m.cmsendpoint), "env" in m && r(14, s = m.env), "userroles" in m && r(15, a = m.userroles), "lang" in m && r(0, o = m.lang), "clientstyling" in m && r(1, l = m.clientstyling), "clientstylingurl" in m && r(2, u = m.clientstylingurl), "translationurl" in m && r(3, h = m.translationurl), "mbsource" in m && r(4, f = m.mbsource);
4923
+ return e.$$set = (d) => {
4924
+ "cmsendpoint" in d && r(13, i = d.cmsendpoint), "env" in d && r(14, o = d.env), "userroles" in d && r(15, s = d.userroles), "lang" in d && r(0, a = d.lang), "clientstyling" in d && r(1, l = d.clientstyling), "clientstylingurl" in d && r(2, u = d.clientstylingurl), "translationurl" in d && r(3, h = d.translationurl), "mbsource" in d && r(4, f = d.mbsource);
4947
4925
  }, e.$$.update = () => {
4948
4926
  e.$$.dirty & /*cmsendpoint, lang, env, userroles*/
4949
- 57345 && i && o && s && a && L(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4950
- 34 && l && c && rs(c, l), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4951
- 36 && u && c && ns(c, u), e.$$.dirty & /*customStylingContainer, mbsource*/
4952
- 48 && c && is(c, `${f}.Style`), e.$$.dirty & /*lang*/
4953
- 1 && o && C(), e.$$.dirty & /*lang, translationurl*/
4954
- 9 && o && h && N();
4927
+ 57345 && i && a && o && s && x(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4928
+ 34 && l && c && Yi(c, l), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4929
+ 36 && u && c && Ki(c, u), e.$$.dirty & /*customStylingContainer, mbsource*/
4930
+ 48 && c && eo(c, `${f}.Style`), e.$$.dirty & /*lang*/
4931
+ 1 && a && N(), e.$$.dirty & /*lang, translationurl*/
4932
+ 9 && a && h && C();
4955
4933
  }, [
4956
- o,
4934
+ a,
4957
4935
  l,
4958
4936
  u,
4959
4937
  h,
4960
4938
  f,
4961
4939
  c,
4962
- p,
4940
+ m,
4963
4941
  b,
4964
4942
  g,
4965
4943
  S,
@@ -4967,19 +4945,19 @@ function cs(e, t, r) {
4967
4945
  w,
4968
4946
  n,
4969
4947
  i,
4948
+ o,
4970
4949
  s,
4971
- a,
4972
- Z
4950
+ L
4973
4951
  ];
4974
4952
  }
4975
- class Tr extends qr {
4953
+ class _r extends Wr {
4976
4954
  constructor(t) {
4977
- super(), Qr(
4955
+ super(), Vr(
4978
4956
  this,
4979
4957
  t,
4980
- cs,
4981
- hs,
4982
- Ut,
4958
+ ao,
4959
+ so,
4960
+ Mt,
4983
4961
  {
4984
4962
  cmsendpoint: 13,
4985
4963
  env: 14,
@@ -4990,7 +4968,7 @@ class Tr extends qr {
4990
4968
  translationurl: 3,
4991
4969
  mbsource: 4
4992
4970
  },
4993
- os
4971
+ ro
4994
4972
  );
4995
4973
  }
4996
4974
  get cmsendpoint() {
@@ -5042,66 +5020,66 @@ class Tr extends qr {
5042
5020
  this.$$set({ mbsource: t }), R();
5043
5021
  }
5044
5022
  }
5045
- Jr(Tr, { cmsendpoint: {}, env: {}, userroles: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
5046
- const Ms = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5023
+ Xr(_r, { cmsendpoint: {}, env: {}, userroles: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
5024
+ const Io = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5047
5025
  __proto__: null,
5048
- default: Tr
5026
+ default: _r
5049
5027
  }, Symbol.toStringTag, { value: "Module" }));
5050
5028
  export {
5051
- se as $,
5052
- _s as A,
5053
- bs as B,
5054
- ys as C,
5055
- ms as D,
5056
- Fr as E,
5057
- $r as F,
5058
- O as G,
5059
- ds as H,
5060
- es as I,
5061
- Dr as J,
5062
- vs as K,
5063
- Ss as L,
5064
- Ts as M,
5029
+ ie as $,
5030
+ yo as A,
5031
+ Nr as B,
5032
+ $e as C,
5033
+ lo as D,
5034
+ Lr as E,
5035
+ bo as F,
5036
+ _o as G,
5037
+ xo as H,
5038
+ Yi as I,
5039
+ Ki as J,
5040
+ eo as K,
5041
+ Xr as L,
5042
+ Ji as M,
5065
5043
  W as N,
5066
- Es as O,
5067
- fe as P,
5068
- d as Q,
5069
- ts as R,
5070
- qr as S,
5071
- xs as T,
5072
- ws as U,
5073
- Bs as V,
5074
- Ls as W,
5075
- Cs as X,
5076
- Is as Y,
5077
- Hs as Z,
5078
- gs as _,
5079
- vr as a,
5080
- Se as a0,
5081
- Ms as a1,
5082
- Mr as b,
5083
- Jr as c,
5084
- V as d,
5085
- $ as e,
5044
+ go as O,
5045
+ ce as P,
5046
+ p as Q,
5047
+ qi as R,
5048
+ Wr as S,
5049
+ vo as T,
5050
+ Eo as U,
5051
+ wo as V,
5052
+ Oo as W,
5053
+ Ao as X,
5054
+ Po as Y,
5055
+ So as Z,
5056
+ mo as _,
5057
+ pr as a,
5058
+ xe as a0,
5059
+ Io as a1,
5060
+ Ar as b,
5061
+ Ft as c,
5062
+ U as d,
5063
+ Ho as e,
5086
5064
  R as f,
5087
- As as g,
5088
- Xt as h,
5089
- Qr as i,
5090
- U as j,
5091
- Lr as k,
5092
- ns as l,
5093
- is as m,
5094
- Ps as n,
5095
- kr as o,
5096
- wr as p,
5097
- Ue as q,
5098
- rs as r,
5099
- Ut as s,
5100
- Os as t,
5101
- ps as u,
5102
- ft as v,
5103
- Ur as w,
5104
- tt as x,
5105
- k as y,
5106
- we as z
5065
+ To as g,
5066
+ V as h,
5067
+ Vr as i,
5068
+ $ as j,
5069
+ Pr as k,
5070
+ vr as l,
5071
+ Rr as m,
5072
+ O as n,
5073
+ Dr as o,
5074
+ Se as p,
5075
+ Ke as q,
5076
+ k as r,
5077
+ Mt as s,
5078
+ Bo as t,
5079
+ ho as u,
5080
+ ut as v,
5081
+ Cr as w,
5082
+ fo as x,
5083
+ po as y,
5084
+ co as z
5107
5085
  };