@everymatrix/casino-lobby 1.54.0 → 1.54.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. package/components/{CasinoCalendar--_TG0VEV.js → CasinoCalendar-Ic3lq1UY.js} +1039 -1078
  2. package/components/{CasinoCalendarDailyDetails-BXGq5a2T.js → CasinoCalendarDailyDetails-buDoufAV.js} +1 -1
  3. package/components/{CasinoCalendarDailyItem-D2aX3lqV.js → CasinoCalendarDailyItem-koPRd703.js} +1 -1
  4. package/components/{CasinoCategoriesSlider-J5nWaz3g.js → CasinoCategoriesSlider-Bp9JHeM_.js} +3 -3
  5. package/components/{CasinoCollectionsProviders-CuCFosXw.js → CasinoCollectionsProviders-CrpNb22N.js} +237 -242
  6. package/components/{CasinoFavoritesSection-y1wno4sj.js → CasinoFavoritesSection-D_VjX8kh.js} +3 -3
  7. package/components/{CasinoFilter-Dzg88RIE.js → CasinoFilter-CYZHW74M.js} +53 -54
  8. package/components/{CasinoGamePage-D6-QXHCi.js → CasinoGamePage-CCqWDOmI.js} +1280 -1301
  9. package/components/{CasinoGameThumbnail-D0H15Csw.js → CasinoGameThumbnail-DuQXK0BS.js} +305 -321
  10. package/components/{CasinoGamesCategorySection-Cl_p9So4.js → CasinoGamesCategorySection-B7unf50a.js} +1107 -1145
  11. package/components/{CasinoJackpotBanner-BD8WK4Rz.js → CasinoJackpotBanner-CL7SMQDH.js} +153 -157
  12. package/components/{CasinoLastPlayedSection-ctqze_4r.js → CasinoLastPlayedSection-DtUKV7qS.js} +2 -2
  13. package/components/{CasinoLobby-CXaWKeNB.js → CasinoLobby-Bhufm6di.js} +13 -13
  14. package/components/{CasinoModal-BBqGUhwr.js → CasinoModal-z0xixUlG.js} +1 -1
  15. package/components/{CasinoMostPlayedSection-BeiZTG1A.js → CasinoMostPlayedSection-DATKT5NZ.js} +2 -2
  16. package/components/{CasinoMyGames-D_Eo_aAx.js → CasinoMyGames-CT8sf3p5.js} +71 -72
  17. package/components/{CasinoPage-DcCY3qwb.js → CasinoPage-CLrMZJtx.js} +803 -793
  18. package/components/{CasinoRandomGame-Cv4OhwGN.js → CasinoRandomGame-efA8CEqy.js} +231 -247
  19. package/components/{CasinoSearch-BXhg9VMw.js → CasinoSearch-DuPhm9II.js} +192 -194
  20. package/components/{CasinoSlider-CWFiUGzM.js → CasinoSlider-BPqJIB5d.js} +209 -215
  21. package/components/{CasinoSort-PDbvW-vI.js → CasinoSort-CBtcK7i0.js} +2 -3
  22. package/components/{CasinoWinners-D-uK3YLU.js → CasinoWinners-Db2ivy-R.js} +146 -148
  23. package/components/{GeneralAnimationLoading-oX4fYtDr.js → GeneralAnimationLoading-DiwFEyef.js} +1 -1
  24. package/esnext/casino-lobby.js +14 -0
  25. package/package.json +10 -14
  26. package/stencil/{casino-play-random-game-CdK9RTmU.js → casino-play-random-game-BrayzMrR.js} +44 -62
  27. package/stencil/{index-47910d1c-BJIxkb-p.js → index-47910d1c-CWwDm8i3.js} +222 -238
  28. package/components/CasinoCalendar-Bzrlnxmc.cjs +0 -9
  29. package/components/CasinoCalendarDailyDetails-H5yaxv9P.cjs +0 -1
  30. package/components/CasinoCalendarDailyItem-BvYs7mGd.cjs +0 -1
  31. package/components/CasinoCategoriesSlider-Dj810VWn.cjs +0 -1
  32. package/components/CasinoCollectionsProviders-CGAhYp6h.cjs +0 -1
  33. package/components/CasinoFavoritesSection-DSMFNuL7.cjs +0 -1
  34. package/components/CasinoFilter-DSWjEuYT.cjs +0 -1
  35. package/components/CasinoGamePage-DR56fBWR.cjs +0 -18
  36. package/components/CasinoGameThumbnail-Dtr9U58k.cjs +0 -38
  37. package/components/CasinoGamesCategorySection-BhY8_Szi.cjs +0 -1
  38. package/components/CasinoJackpotBanner-CNAYdfAP.cjs +0 -1
  39. package/components/CasinoLastPlayedSection-D4Y31NgL.cjs +0 -1
  40. package/components/CasinoLobby-DJkqmh-Q.cjs +0 -1
  41. package/components/CasinoModal-DqY-wVQ9.cjs +0 -1
  42. package/components/CasinoMostPlayedSection-Dj0QI5j_.cjs +0 -1
  43. package/components/CasinoMyGames-CHpklmlj.cjs +0 -1
  44. package/components/CasinoPage-SM6shSGz.cjs +0 -1
  45. package/components/CasinoRandomGame-Dldt___P.cjs +0 -2
  46. package/components/CasinoSearch-B4flIPra.cjs +0 -1
  47. package/components/CasinoSlider-UZ_dMYzs.cjs +0 -1
  48. package/components/CasinoSort-Cg-ANbV3.cjs +0 -1
  49. package/components/CasinoWinners-CSBr561I.cjs +0 -1
  50. package/components/GeneralAnimationLoading-CzSDAjam.cjs +0 -1
  51. package/es2015/casino-lobby.cjs +0 -1
  52. package/es2015/casino-lobby.js +0 -16
  53. package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +0 -1
  54. package/stencil/casino-play-random-game-D5-NhS5J.cjs +0 -371
  55. package/stencil/index-47910d1c-CDXxJ6XN.cjs +0 -1
@@ -1,86 +1,57 @@
1
- var $n = Object.defineProperty, Dn = Object.defineProperties;
2
- var Un = Object.getOwnPropertyDescriptors;
3
- var ct = Object.getOwnPropertySymbols;
4
- var Gn = Object.prototype.hasOwnProperty, Fn = Object.prototype.propertyIsEnumerable;
5
- var Re = (e, t, n) => t in e ? $n(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, dt = (e, t) => {
6
- for (var n in t || (t = {}))
7
- Gn.call(t, n) && Re(e, n, t[n]);
8
- if (ct)
9
- for (var n of ct(t))
10
- Fn.call(t, n) && Re(e, n, t[n]);
11
- return e;
12
- }, pt = (e, t) => Dn(e, Un(t));
13
- var B = (e, t, n) => Re(e, typeof t != "symbol" ? t + "" : t, n);
14
- var mt = (e, t, n) => new Promise((r, i) => {
15
- var s = (l) => {
16
- try {
17
- o(n.next(l));
18
- } catch (u) {
19
- i(u);
20
- }
21
- }, a = (l) => {
22
- try {
23
- o(n.throw(l));
24
- } catch (u) {
25
- i(u);
26
- }
27
- }, o = (l) => l.done ? r(l.value) : Promise.resolve(l.value).then(s, a);
28
- o((n = n.apply(e, t)).next());
29
- });
30
- function I() {
1
+ function B() {
31
2
  }
32
- const jn = (e) => e;
33
- function kn(e, t) {
3
+ const In = (e) => e;
4
+ function Cn(e, t) {
34
5
  for (const n in t) e[n] = t[n];
35
6
  return (
36
7
  /** @type {T & S} */
37
8
  e
38
9
  );
39
10
  }
40
- function Wt(e) {
11
+ function Gt(e) {
41
12
  return e();
42
13
  }
43
- function bt() {
14
+ function ht() {
44
15
  return /* @__PURE__ */ Object.create(null);
45
16
  }
46
- function V(e) {
47
- e.forEach(Wt);
17
+ function k(e) {
18
+ e.forEach(Gt);
48
19
  }
49
- function pe(e) {
20
+ function de(e) {
50
21
  return typeof e == "function";
51
22
  }
52
- function zt(e, t) {
23
+ function Ft(e, t) {
53
24
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
54
25
  }
55
- let ye;
56
- function Is(e, t) {
57
- return e === t ? !0 : (ye || (ye = document.createElement("a")), ye.href = t, e === ye.href);
26
+ let be;
27
+ function _s(e, t) {
28
+ return e === t ? !0 : (be || (be = document.createElement("a")), be.href = t, e === be.href);
58
29
  }
59
- function Vn(e) {
30
+ function Ln(e) {
60
31
  return Object.keys(e).length === 0;
61
32
  }
62
- function qt(e, ...t) {
33
+ function jt(e, ...t) {
63
34
  if (e == null) {
64
35
  for (const r of t)
65
36
  r(void 0);
66
- return I;
37
+ return B;
67
38
  }
68
39
  const n = e.subscribe(...t);
69
40
  return n.unsubscribe ? () => n.unsubscribe() : n;
70
41
  }
71
- function Xn(e, t, n) {
72
- e.$$.on_destroy.push(qt(t, n));
42
+ function Nn(e, t, n) {
43
+ e.$$.on_destroy.push(jt(t, n));
73
44
  }
74
- function Cs(e, t, n, r) {
45
+ function vs(e, t, n, r) {
75
46
  if (e) {
76
- const i = Zt(e, t, n, r);
47
+ const i = kt(e, t, n, r);
77
48
  return e[0](i);
78
49
  }
79
50
  }
80
- function Zt(e, t, n, r) {
81
- return e[1] && r ? kn(n.ctx.slice(), e[1](r(t))) : n.ctx;
51
+ function kt(e, t, n, r) {
52
+ return e[1] && r ? Cn(n.ctx.slice(), e[1](r(t))) : n.ctx;
82
53
  }
83
- function Ls(e, t, n, r) {
54
+ function Es(e, t, n, r) {
84
55
  if (e[2] && r) {
85
56
  const i = e[2](r(n));
86
57
  if (t.dirty === void 0)
@@ -95,13 +66,13 @@ function Ls(e, t, n, r) {
95
66
  }
96
67
  return t.dirty;
97
68
  }
98
- function Ns(e, t, n, r, i, s) {
69
+ function xs(e, t, n, r, i, s) {
99
70
  if (i) {
100
- const a = Zt(t, n, r, s);
71
+ const a = kt(t, n, r, s);
101
72
  e.p(a, i);
102
73
  }
103
74
  }
104
- function Ms(e) {
75
+ function ws(e) {
105
76
  if (e.ctx.length > 32) {
106
77
  const t = [], n = e.ctx.length / 32;
107
78
  for (let r = 0; r < n; r++)
@@ -110,39 +81,39 @@ function Ms(e) {
110
81
  }
111
82
  return -1;
112
83
  }
113
- function Rs(e) {
114
- return e && pe(e.destroy) ? e.destroy : I;
84
+ function Ss(e) {
85
+ return e && de(e.destroy) ? e.destroy : B;
115
86
  }
116
- const Qt = typeof window != "undefined";
117
- let Wn = Qt ? () => window.performance.now() : () => Date.now(), ot = Qt ? (e) => requestAnimationFrame(e) : I;
118
- const Y = /* @__PURE__ */ new Set();
119
- function Jt(e) {
120
- Y.forEach((t) => {
121
- t.c(e) || (Y.delete(t), t.f());
122
- }), Y.size !== 0 && ot(Jt);
87
+ const Vt = typeof window < "u";
88
+ let Mn = Vt ? () => window.performance.now() : () => Date.now(), it = Vt ? (e) => requestAnimationFrame(e) : B;
89
+ const J = /* @__PURE__ */ new Set();
90
+ function Xt(e) {
91
+ J.forEach((t) => {
92
+ t.c(e) || (J.delete(t), t.f());
93
+ }), J.size !== 0 && it(Xt);
123
94
  }
124
- function zn(e) {
95
+ function Rn(e) {
125
96
  let t;
126
- return Y.size === 0 && ot(Jt), {
97
+ return J.size === 0 && it(Xt), {
127
98
  promise: new Promise((n) => {
128
- Y.add(t = { c: e, f: n });
99
+ J.add(t = { c: e, f: n });
129
100
  }),
130
101
  abort() {
131
- Y.delete(t);
102
+ J.delete(t);
132
103
  }
133
104
  };
134
105
  }
135
- function me(e, t) {
106
+ function pe(e, t) {
136
107
  e.appendChild(t);
137
108
  }
138
- function qn(e, t, n) {
139
- const r = at(e);
109
+ function $n(e, t, n) {
110
+ const r = st(e);
140
111
  if (!r.getElementById(t)) {
141
- const i = $("style");
142
- i.id = t, i.textContent = n, Yt(r, i);
112
+ const i = R("style");
113
+ i.id = t, i.textContent = n, Wt(r, i);
143
114
  }
144
115
  }
145
- function at(e) {
116
+ function st(e) {
146
117
  if (!e) return document;
147
118
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
148
119
  return t && /** @type {ShadowRoot} */
@@ -151,92 +122,92 @@ function at(e) {
151
122
  t
152
123
  ) : e.ownerDocument;
153
124
  }
154
- function Zn(e) {
155
- const t = $("style");
156
- return t.textContent = "/* empty */", Yt(at(e), t), t.sheet;
125
+ function Dn(e) {
126
+ const t = R("style");
127
+ return t.textContent = "/* empty */", Wt(st(e), t), t.sheet;
157
128
  }
158
- function Yt(e, t) {
159
- return me(
129
+ function Wt(e, t) {
130
+ return pe(
160
131
  /** @type {Document} */
161
132
  e.head || e,
162
133
  t
163
134
  ), t.sheet;
164
135
  }
165
- function X(e, t, n) {
136
+ function V(e, t, n) {
166
137
  e.insertBefore(t, n || null);
167
138
  }
168
- function D(e) {
139
+ function $(e) {
169
140
  e.parentNode && e.parentNode.removeChild(e);
170
141
  }
171
- function Qn(e, t) {
142
+ function Un(e, t) {
172
143
  for (let n = 0; n < e.length; n += 1)
173
144
  e[n] && e[n].d(t);
174
145
  }
175
- function $(e) {
146
+ function R(e) {
176
147
  return document.createElement(e);
177
148
  }
178
- function Jn(e) {
149
+ function Gn(e) {
179
150
  return document.createElementNS("http://www.w3.org/2000/svg", e);
180
151
  }
181
- function ut(e) {
152
+ function ot(e) {
182
153
  return document.createTextNode(e);
183
154
  }
184
- function Yn() {
185
- return ut(" ");
155
+ function Fn() {
156
+ return ot(" ");
186
157
  }
187
- function $s() {
188
- return ut("");
158
+ function Ts() {
159
+ return ot("");
189
160
  }
190
- function yt(e, t, n, r) {
161
+ function ft(e, t, n, r) {
191
162
  return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
192
163
  }
193
- function Ds(e) {
164
+ function Hs(e) {
194
165
  return function(t) {
195
166
  return t.stopPropagation(), e.call(this, t);
196
167
  };
197
168
  }
198
- function W(e, t, n) {
169
+ function X(e, t, n) {
199
170
  n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
200
171
  }
201
172
  function y(e, t, n) {
202
173
  const r = t.toLowerCase();
203
- r in e ? e[r] = typeof e[r] == "boolean" && n === "" ? !0 : n : t in e ? e[t] = typeof e[t] == "boolean" && n === "" ? !0 : n : W(e, t, n);
174
+ r in e ? e[r] = typeof e[r] == "boolean" && n === "" ? !0 : n : t in e ? e[t] = typeof e[t] == "boolean" && n === "" ? !0 : n : X(e, t, n);
204
175
  }
205
- function Kn(e) {
176
+ function jn(e) {
206
177
  return Array.from(e.childNodes);
207
178
  }
208
- function er(e, t) {
179
+ function kn(e, t) {
209
180
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
210
181
  t);
211
182
  }
212
- function Us(e, t) {
213
- e.value = t == null ? "" : t;
183
+ function Ps(e, t) {
184
+ e.value = t ?? "";
214
185
  }
215
- function Gs(e, t, n, r) {
186
+ function As(e, t, n, r) {
216
187
  n == null ? e.style.removeProperty(t) : e.style.setProperty(t, n, "");
217
188
  }
218
- let ge;
219
- function tr() {
220
- if (ge === void 0) {
221
- ge = !1;
189
+ let ye;
190
+ function Vn() {
191
+ if (ye === void 0) {
192
+ ye = !1;
222
193
  try {
223
- typeof window != "undefined" && window.parent && window.parent.document;
224
- } catch (e) {
225
- ge = !0;
194
+ typeof window < "u" && window.parent && window.parent.document;
195
+ } catch {
196
+ ye = !0;
226
197
  }
227
198
  }
228
- return ge;
199
+ return ye;
229
200
  }
230
- function Fs(e, t) {
201
+ function Bs(e, t) {
231
202
  getComputedStyle(e).position === "static" && (e.style.position = "relative");
232
- const r = $("iframe");
203
+ const r = R("iframe");
233
204
  r.setAttribute(
234
205
  "style",
235
206
  "display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"
236
207
  ), r.setAttribute("aria-hidden", "true"), r.tabIndex = -1;
237
- const i = tr();
208
+ const i = Vn();
238
209
  let s;
239
- return i ? (r.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", s = yt(
210
+ return i ? (r.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", s = ft(
240
211
  window,
241
212
  "message",
242
213
  /** @param {MessageEvent} event */
@@ -244,32 +215,32 @@ function Fs(e, t) {
244
215
  a.source === r.contentWindow && t();
245
216
  }
246
217
  )) : (r.src = "about:blank", r.onload = () => {
247
- s = yt(r.contentWindow, "resize", t), t();
248
- }), me(e, r), () => {
249
- (i || s && r.contentWindow) && s(), D(r);
218
+ s = ft(r.contentWindow, "resize", t), t();
219
+ }), pe(e, r), () => {
220
+ (i || s && r.contentWindow) && s(), $(r);
250
221
  };
251
222
  }
252
- function js(e, t, n) {
223
+ function Os(e, t, n) {
253
224
  e.classList.toggle(t, !!n);
254
225
  }
255
- function nr(e, t, { bubbles: n = !1, cancelable: r = !1 } = {}) {
226
+ function Xn(e, t, { bubbles: n = !1, cancelable: r = !1 } = {}) {
256
227
  return new CustomEvent(e, { detail: t, bubbles: n, cancelable: r });
257
228
  }
258
- class ks {
229
+ class Is {
230
+ /**
231
+ * @private
232
+ * @default false
233
+ */
234
+ is_svg = !1;
235
+ /** parent for creating node */
236
+ e = void 0;
237
+ /** html tag nodes */
238
+ n = void 0;
239
+ /** target */
240
+ t = void 0;
241
+ /** anchor */
242
+ a = void 0;
259
243
  constructor(t = !1) {
260
- /**
261
- * @private
262
- * @default false
263
- */
264
- B(this, "is_svg", !1);
265
- /** parent for creating node */
266
- B(this, "e");
267
- /** html tag nodes */
268
- B(this, "n");
269
- /** target */
270
- B(this, "t");
271
- /** anchor */
272
- B(this, "a");
273
244
  this.is_svg = t, this.e = this.n = null;
274
245
  }
275
246
  /**
@@ -286,10 +257,10 @@ class ks {
286
257
  * @returns {void}
287
258
  */
288
259
  m(t, n, r = null) {
289
- this.e || (this.is_svg ? this.e = Jn(
260
+ this.e || (this.is_svg ? this.e = Gn(
290
261
  /** @type {keyof SVGElementTagNameMap} */
291
262
  n.nodeName
292
- ) : this.e = $(
263
+ ) : this.e = R(
293
264
  /** @type {keyof HTMLElementTagNameMap} */
294
265
  n.nodeType === 11 ? "TEMPLATE" : n.nodeName
295
266
  ), this.t = n.tagName !== "TEMPLATE" ? n : (
@@ -310,7 +281,7 @@ class ks {
310
281
  * @returns {void} */
311
282
  i(t) {
312
283
  for (let n = 0; n < this.n.length; n += 1)
313
- X(this.t, this.n[n], t);
284
+ V(this.t, this.n[n], t);
314
285
  }
315
286
  /**
316
287
  * @param {string} html
@@ -322,10 +293,10 @@ class ks {
322
293
  /**
323
294
  * @returns {void} */
324
295
  d() {
325
- this.n.forEach(D);
296
+ this.n.forEach($);
326
297
  }
327
298
  }
328
- function rr(e) {
299
+ function Wn(e) {
329
300
  const t = {};
330
301
  return e.childNodes.forEach(
331
302
  /** @param {Element} node */
@@ -334,18 +305,18 @@ function rr(e) {
334
305
  }
335
306
  ), t;
336
307
  }
337
- const He = /* @__PURE__ */ new Map();
338
- let Pe = 0;
339
- function ir(e) {
308
+ const Te = /* @__PURE__ */ new Map();
309
+ let He = 0;
310
+ function zn(e) {
340
311
  let t = 5381, n = e.length;
341
312
  for (; n--; ) t = (t << 5) - t ^ e.charCodeAt(n);
342
313
  return t >>> 0;
343
314
  }
344
- function sr(e, t) {
345
- const n = { stylesheet: Zn(t), rules: {} };
346
- return He.set(e, n), n;
315
+ function qn(e, t) {
316
+ const n = { stylesheet: Dn(t), rules: {} };
317
+ return Te.set(e, n), n;
347
318
  }
348
- function gt(e, t, n, r, i, s, a, o = 0) {
319
+ function ct(e, t, n, r, i, s, a, o = 0) {
349
320
  const l = 16.666 / r;
350
321
  let u = `{
351
322
  `;
@@ -355,128 +326,128 @@ function gt(e, t, n, r, i, s, a, o = 0) {
355
326
  `;
356
327
  }
357
328
  const h = u + `100% {${a(n, 1 - n)}}
358
- }`, f = `__svelte_${ir(h)}_${o}`, c = at(e), { stylesheet: p, rules: d } = He.get(c) || sr(c, e);
329
+ }`, f = `__svelte_${zn(h)}_${o}`, c = st(e), { stylesheet: p, rules: d } = Te.get(c) || qn(c, e);
359
330
  d[f] || (d[f] = !0, p.insertRule(`@keyframes ${f} ${h}`, p.cssRules.length));
360
331
  const m = e.style.animation || "";
361
- return e.style.animation = `${m ? `${m}, ` : ""}${f} ${r}ms linear ${i}ms 1 both`, Pe += 1, f;
332
+ return e.style.animation = `${m ? `${m}, ` : ""}${f} ${r}ms linear ${i}ms 1 both`, He += 1, f;
362
333
  }
363
- function or(e, t) {
334
+ function Zn(e, t) {
364
335
  const n = (e.style.animation || "").split(", "), r = n.filter(
365
336
  t ? (s) => s.indexOf(t) < 0 : (s) => s.indexOf("__svelte") === -1
366
337
  // remove all Svelte animations
367
338
  ), i = n.length - r.length;
368
- i && (e.style.animation = r.join(", "), Pe -= i, Pe || ar());
339
+ i && (e.style.animation = r.join(", "), He -= i, He || Qn());
369
340
  }
370
- function ar() {
371
- ot(() => {
372
- Pe || (He.forEach((e) => {
341
+ function Qn() {
342
+ it(() => {
343
+ He || (Te.forEach((e) => {
373
344
  const { ownerNode: t } = e.stylesheet;
374
- t && D(t);
375
- }), He.clear());
345
+ t && $(t);
346
+ }), Te.clear());
376
347
  });
377
348
  }
378
- let fe;
379
- function he(e) {
380
- fe = e;
349
+ let he;
350
+ function le(e) {
351
+ he = e;
381
352
  }
382
- function Kt() {
383
- if (!fe) throw new Error("Function called outside component initialization");
384
- return fe;
353
+ function zt() {
354
+ if (!he) throw new Error("Function called outside component initialization");
355
+ return he;
385
356
  }
386
- function Vs(e) {
387
- Kt().$$.before_update.push(e);
357
+ function Cs(e) {
358
+ zt().$$.before_update.push(e);
388
359
  }
389
- function ur(e) {
390
- Kt().$$.on_mount.push(e);
360
+ function Jn(e) {
361
+ zt().$$.on_mount.push(e);
391
362
  }
392
- const J = [], Xe = [];
393
- let K = [];
394
- const _t = [], en = /* @__PURE__ */ Promise.resolve();
395
- let We = !1;
396
- function tn() {
397
- We || (We = !0, en.then(U));
363
+ const Q = [], ke = [];
364
+ let Y = [];
365
+ const dt = [], qt = /* @__PURE__ */ Promise.resolve();
366
+ let Ve = !1;
367
+ function Zt() {
368
+ Ve || (Ve = !0, qt.then(D));
398
369
  }
399
- function Xs() {
400
- return tn(), en;
370
+ function Ls() {
371
+ return Zt(), qt;
401
372
  }
402
- function Ae(e) {
403
- K.push(e);
373
+ function Pe(e) {
374
+ Y.push(e);
404
375
  }
405
- const $e = /* @__PURE__ */ new Set();
406
- let Z = 0;
407
- function U() {
408
- if (Z !== 0)
376
+ const Me = /* @__PURE__ */ new Set();
377
+ let q = 0;
378
+ function D() {
379
+ if (q !== 0)
409
380
  return;
410
- const e = fe;
381
+ const e = he;
411
382
  do {
412
383
  try {
413
- for (; Z < J.length; ) {
414
- const t = J[Z];
415
- Z++, he(t), lr(t.$$);
384
+ for (; q < Q.length; ) {
385
+ const t = Q[q];
386
+ q++, le(t), Yn(t.$$);
416
387
  }
417
388
  } catch (t) {
418
- throw J.length = 0, Z = 0, t;
389
+ throw Q.length = 0, q = 0, t;
419
390
  }
420
- for (he(null), J.length = 0, Z = 0; Xe.length; ) Xe.pop()();
421
- for (let t = 0; t < K.length; t += 1) {
422
- const n = K[t];
423
- $e.has(n) || ($e.add(n), n());
391
+ for (le(null), Q.length = 0, q = 0; ke.length; ) ke.pop()();
392
+ for (let t = 0; t < Y.length; t += 1) {
393
+ const n = Y[t];
394
+ Me.has(n) || (Me.add(n), n());
424
395
  }
425
- K.length = 0;
426
- } while (J.length);
427
- for (; _t.length; )
428
- _t.pop()();
429
- We = !1, $e.clear(), he(e);
396
+ Y.length = 0;
397
+ } while (Q.length);
398
+ for (; dt.length; )
399
+ dt.pop()();
400
+ Ve = !1, Me.clear(), le(e);
430
401
  }
431
- function lr(e) {
402
+ function Yn(e) {
432
403
  if (e.fragment !== null) {
433
- e.update(), V(e.before_update);
404
+ e.update(), k(e.before_update);
434
405
  const t = e.dirty;
435
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ae);
406
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Pe);
436
407
  }
437
408
  }
438
- function hr(e) {
409
+ function Kn(e) {
439
410
  const t = [], n = [];
440
- K.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), K = t;
411
+ Y.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), Y = t;
441
412
  }
442
- let ue;
443
- function fr() {
444
- return ue || (ue = Promise.resolve(), ue.then(() => {
445
- ue = null;
446
- })), ue;
413
+ let ae;
414
+ function er() {
415
+ return ae || (ae = Promise.resolve(), ae.then(() => {
416
+ ae = null;
417
+ })), ae;
447
418
  }
448
- function De(e, t, n) {
449
- e.dispatchEvent(nr(`${t ? "intro" : "outro"}${n}`));
419
+ function Re(e, t, n) {
420
+ e.dispatchEvent(Xn(`${t ? "intro" : "outro"}${n}`));
450
421
  }
451
- const Ee = /* @__PURE__ */ new Set();
452
- let G;
453
- function Ws() {
454
- G = {
422
+ const ve = /* @__PURE__ */ new Set();
423
+ let U;
424
+ function Ns() {
425
+ U = {
455
426
  r: 0,
456
427
  c: [],
457
- p: G
428
+ p: U
458
429
  // parent group
459
430
  };
460
431
  }
461
- function zs() {
462
- G.r || V(G.c), G = G.p;
432
+ function Ms() {
433
+ U.r || k(U.c), U = U.p;
463
434
  }
464
- function nn(e, t) {
465
- e && e.i && (Ee.delete(e), e.i(t));
435
+ function Qt(e, t) {
436
+ e && e.i && (ve.delete(e), e.i(t));
466
437
  }
467
- function qs(e, t, n, r) {
438
+ function Rs(e, t, n, r) {
468
439
  if (e && e.o) {
469
- if (Ee.has(e)) return;
470
- Ee.add(e), G.c.push(() => {
471
- Ee.delete(e), r && (n && e.d(1), r());
440
+ if (ve.has(e)) return;
441
+ ve.add(e), U.c.push(() => {
442
+ ve.delete(e), r && (n && e.d(1), r());
472
443
  }), e.o(t);
473
444
  } else r && r();
474
445
  }
475
- const cr = { duration: 0 };
476
- function Zs(e, t, n, r) {
446
+ const tr = { duration: 0 };
447
+ function $s(e, t, n, r) {
477
448
  let s = t(e, n, { direction: "both" }), a = r ? 0 : 1, o = null, l = null, u = null, h;
478
449
  function f() {
479
- u && or(e, u);
450
+ u && Zn(e, u);
480
451
  }
481
452
  function c(d, m) {
482
453
  const E = (
@@ -497,16 +468,16 @@ function Zs(e, t, n, r) {
497
468
  const {
498
469
  delay: m = 0,
499
470
  duration: E = 300,
500
- easing: S = jn,
501
- tick: H = I,
471
+ easing: S = In,
472
+ tick: H = B,
502
473
  css: T
503
- } = s || cr, C = {
504
- start: Wn() + m,
474
+ } = s || tr, O = {
475
+ start: Mn() + m,
505
476
  b: d
506
477
  };
507
- d || (C.group = G, G.r += 1), "inert" in e && (d ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
508
- e.inert, e.inert = !0)), o || l ? l = C : (T && (f(), u = gt(e, a, d, E, m, S, T)), d && H(0, 1), o = c(C, E), Ae(() => De(e, d, "start")), zn((P) => {
509
- if (l && P > l.start && (o = c(l, E), l = null, De(e, o.b, "start"), T && (f(), u = gt(
478
+ d || (O.group = U, U.r += 1), "inert" in e && (d ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
479
+ e.inert, e.inert = !0)), o || l ? l = O : (T && (f(), u = ct(e, a, d, E, m, S, T)), d && H(0, 1), o = c(O, E), Pe(() => Re(e, d, "start")), Rn((P) => {
480
+ if (l && P > l.start && (o = c(l, E), l = null, Re(e, o.b, "start"), T && (f(), u = ct(
510
481
  e,
511
482
  a,
512
483
  o.b,
@@ -516,10 +487,10 @@ function Zs(e, t, n, r) {
516
487
  s.css
517
488
  ))), o) {
518
489
  if (P >= o.end)
519
- H(a = o.b, 1 - a), De(e, o.b, "end"), l || (o.b ? f() : --o.group.r || V(o.group.c)), o = null;
490
+ H(a = o.b, 1 - a), Re(e, o.b, "end"), l || (o.b ? f() : --o.group.r || k(o.group.c)), o = null;
520
491
  else if (P >= o.start) {
521
- const L = P - o.start;
522
- a = o.a + o.d * S(L / o.duration), H(a, 1 - a);
492
+ const C = P - o.start;
493
+ a = o.a + o.d * S(C / o.duration), H(a, 1 - a);
523
494
  }
524
495
  }
525
496
  return !!(o || l);
@@ -527,7 +498,7 @@ function Zs(e, t, n, r) {
527
498
  }
528
499
  return {
529
500
  run(d) {
530
- pe(s) ? fr().then(() => {
501
+ de(s) ? er().then(() => {
531
502
  s = s({ direction: d ? "in" : "out" }), p(d);
532
503
  }) : p(d);
533
504
  },
@@ -536,62 +507,62 @@ function Zs(e, t, n, r) {
536
507
  }
537
508
  };
538
509
  }
539
- function vt(e) {
540
- return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
510
+ function pt(e) {
511
+ return e?.length !== void 0 ? e : Array.from(e);
541
512
  }
542
- function Qs(e, t) {
513
+ function Ds(e, t) {
543
514
  e.d(1), t.delete(e.key);
544
515
  }
545
- function Js(e, t, n, r, i, s, a, o, l, u, h, f) {
516
+ function Us(e, t, n, r, i, s, a, o, l, u, h, f) {
546
517
  let c = e.length, p = s.length, d = c;
547
518
  const m = {};
548
519
  for (; d--; ) m[e[d].key] = d;
549
520
  const E = [], S = /* @__PURE__ */ new Map(), H = /* @__PURE__ */ new Map(), T = [];
550
521
  for (d = p; d--; ) {
551
- const x = f(i, s, d), N = n(x);
552
- let M = a.get(N);
553
- M ? T.push(() => M.p(x, t)) : (M = u(N, x), M.c()), S.set(N, E[d] = M), N in m && H.set(N, Math.abs(d - m[N]));
522
+ const x = f(i, s, d), L = n(x);
523
+ let N = a.get(L);
524
+ N ? T.push(() => N.p(x, t)) : (N = u(L, x), N.c()), S.set(L, E[d] = N), L in m && H.set(L, Math.abs(d - m[L]));
554
525
  }
555
- const C = /* @__PURE__ */ new Set(), P = /* @__PURE__ */ new Set();
556
- function L(x) {
557
- nn(x, 1), x.m(o, h), a.set(x.key, x), h = x.first, p--;
526
+ const O = /* @__PURE__ */ new Set(), P = /* @__PURE__ */ new Set();
527
+ function C(x) {
528
+ Qt(x, 1), x.m(o, h), a.set(x.key, x), h = x.first, p--;
558
529
  }
559
530
  for (; c && p; ) {
560
- const x = E[p - 1], N = e[c - 1], M = x.key, q = N.key;
561
- x === N ? (h = x.first, c--, p--) : S.has(q) ? !a.has(M) || C.has(M) ? L(x) : P.has(q) ? c-- : H.get(M) > H.get(q) ? (P.add(M), L(x)) : (C.add(q), c--) : (l(N, a), c--);
531
+ const x = E[p - 1], L = e[c - 1], N = x.key, z = L.key;
532
+ x === L ? (h = x.first, c--, p--) : S.has(z) ? !a.has(N) || O.has(N) ? C(x) : P.has(z) ? c-- : H.get(N) > H.get(z) ? (P.add(N), C(x)) : (O.add(z), c--) : (l(L, a), c--);
562
533
  }
563
534
  for (; c--; ) {
564
535
  const x = e[c];
565
536
  S.has(x.key) || l(x, a);
566
537
  }
567
- for (; p; ) L(E[p - 1]);
568
- return V(T), E;
538
+ for (; p; ) C(E[p - 1]);
539
+ return k(T), E;
569
540
  }
570
- function dr(e, t, n) {
541
+ function nr(e, t, n) {
571
542
  const { fragment: r, after_update: i } = e.$$;
572
- r && r.m(t, n), Ae(() => {
573
- const s = e.$$.on_mount.map(Wt).filter(pe);
574
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : V(s), e.$$.on_mount = [];
575
- }), i.forEach(Ae);
543
+ r && r.m(t, n), Pe(() => {
544
+ const s = e.$$.on_mount.map(Gt).filter(de);
545
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : k(s), e.$$.on_mount = [];
546
+ }), i.forEach(Pe);
576
547
  }
577
- function pr(e, t) {
548
+ function rr(e, t) {
578
549
  const n = e.$$;
579
- n.fragment !== null && (hr(n.after_update), V(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
550
+ n.fragment !== null && (Kn(n.after_update), k(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
580
551
  }
581
- function mr(e, t) {
582
- e.$$.dirty[0] === -1 && (J.push(e), tn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
552
+ function ir(e, t) {
553
+ e.$$.dirty[0] === -1 && (Q.push(e), Zt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
583
554
  }
584
- function br(e, t, n, r, i, s, a = null, o = [-1]) {
585
- const l = fe;
586
- he(e);
555
+ function sr(e, t, n, r, i, s, a = null, o = [-1]) {
556
+ const l = he;
557
+ le(e);
587
558
  const u = e.$$ = {
588
559
  fragment: null,
589
560
  ctx: [],
590
561
  // state
591
562
  props: s,
592
- update: I,
563
+ update: B,
593
564
  not_equal: i,
594
- bound: bt(),
565
+ bound: ht(),
595
566
  // lifecycle
596
567
  on_mount: [],
597
568
  on_destroy: [],
@@ -600,7 +571,7 @@ function br(e, t, n, r, i, s, a = null, o = [-1]) {
600
571
  after_update: [],
601
572
  context: new Map(t.context || (l ? l.$$.context : [])),
602
573
  // everything else
603
- callbacks: bt(),
574
+ callbacks: ht(),
604
575
  dirty: o,
605
576
  skip_bound: !1,
606
577
  root: t.target || l.$$.root
@@ -609,141 +580,137 @@ function br(e, t, n, r, i, s, a = null, o = [-1]) {
609
580
  let h = !1;
610
581
  if (u.ctx = n ? n(e, t.props || {}, (f, c, ...p) => {
611
582
  const d = p.length ? p[0] : c;
612
- return u.ctx && i(u.ctx[f], u.ctx[f] = d) && (!u.skip_bound && u.bound[f] && u.bound[f](d), h && mr(e, f)), c;
613
- }) : [], u.update(), h = !0, V(u.before_update), u.fragment = r ? r(u.ctx) : !1, t.target) {
583
+ return u.ctx && i(u.ctx[f], u.ctx[f] = d) && (!u.skip_bound && u.bound[f] && u.bound[f](d), h && ir(e, f)), c;
584
+ }) : [], u.update(), h = !0, k(u.before_update), u.fragment = r ? r(u.ctx) : !1, t.target) {
614
585
  if (t.hydrate) {
615
- const f = Kn(t.target);
616
- u.fragment && u.fragment.l(f), f.forEach(D);
586
+ const f = jn(t.target);
587
+ u.fragment && u.fragment.l(f), f.forEach($);
617
588
  } else
618
589
  u.fragment && u.fragment.c();
619
- t.intro && nn(e.$$.fragment), dr(e, t.target, t.anchor), U();
590
+ t.intro && Qt(e.$$.fragment), nr(e, t.target, t.anchor), D();
620
591
  }
621
- he(l);
622
- }
623
- let rn;
624
- typeof HTMLElement == "function" && (rn = class extends HTMLElement {
625
- constructor(t, n, r) {
626
- super();
627
- /** The Svelte component constructor */
628
- B(this, "$$ctor");
629
- /** Slots */
630
- B(this, "$$s");
631
- /** The Svelte component instance */
632
- B(this, "$$c");
633
- /** Whether or not the custom element is connected */
634
- B(this, "$$cn", !1);
635
- /** Component props data */
636
- B(this, "$$d", {});
637
- /** `true` if currently in the process of reflecting component props back to attributes */
638
- B(this, "$$r", !1);
639
- /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
640
- B(this, "$$p_d", {});
641
- /** @type {Record<string, Function[]>} Event listeners */
642
- B(this, "$$l", {});
643
- /** @type {Map<Function, Function>} Event listener unsubscribe functions */
644
- B(this, "$$l_u", /* @__PURE__ */ new Map());
645
- this.$$ctor = t, this.$$s = n, r && this.attachShadow({ mode: "open" });
592
+ le(l);
593
+ }
594
+ let Jt;
595
+ typeof HTMLElement == "function" && (Jt = class extends HTMLElement {
596
+ /** The Svelte component constructor */
597
+ $$ctor;
598
+ /** Slots */
599
+ $$s;
600
+ /** The Svelte component instance */
601
+ $$c;
602
+ /** Whether or not the custom element is connected */
603
+ $$cn = !1;
604
+ /** Component props data */
605
+ $$d = {};
606
+ /** `true` if currently in the process of reflecting component props back to attributes */
607
+ $$r = !1;
608
+ /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
609
+ $$p_d = {};
610
+ /** @type {Record<string, Function[]>} Event listeners */
611
+ $$l = {};
612
+ /** @type {Map<Function, Function>} Event listener unsubscribe functions */
613
+ $$l_u = /* @__PURE__ */ new Map();
614
+ constructor(e, t, n) {
615
+ super(), this.$$ctor = e, this.$$s = t, n && this.attachShadow({ mode: "open" });
646
616
  }
647
- addEventListener(t, n, r) {
648
- if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(n), this.$$c) {
649
- const i = this.$$c.$on(t, n);
650
- this.$$l_u.set(n, i);
617
+ addEventListener(e, t, n) {
618
+ if (this.$$l[e] = this.$$l[e] || [], this.$$l[e].push(t), this.$$c) {
619
+ const r = this.$$c.$on(e, t);
620
+ this.$$l_u.set(t, r);
651
621
  }
652
- super.addEventListener(t, n, r);
622
+ super.addEventListener(e, t, n);
653
623
  }
654
- removeEventListener(t, n, r) {
655
- if (super.removeEventListener(t, n, r), this.$$c) {
656
- const i = this.$$l_u.get(n);
657
- i && (i(), this.$$l_u.delete(n));
624
+ removeEventListener(e, t, n) {
625
+ if (super.removeEventListener(e, t, n), this.$$c) {
626
+ const r = this.$$l_u.get(t);
627
+ r && (r(), this.$$l_u.delete(t));
658
628
  }
659
629
  }
660
- connectedCallback() {
661
- return mt(this, null, function* () {
662
- if (this.$$cn = !0, !this.$$c) {
663
- let t = function(s) {
664
- return () => {
665
- let a;
666
- return {
667
- c: function() {
668
- a = $("slot"), s !== "default" && W(a, "name", s);
669
- },
670
- /**
671
- * @param {HTMLElement} target
672
- * @param {HTMLElement} [anchor]
673
- */
674
- m: function(u, h) {
675
- X(u, a, h);
676
- },
677
- d: function(u) {
678
- u && D(a);
679
- }
680
- };
630
+ async connectedCallback() {
631
+ if (this.$$cn = !0, !this.$$c) {
632
+ let e = function(i) {
633
+ return () => {
634
+ let s;
635
+ return {
636
+ c: function() {
637
+ s = R("slot"), i !== "default" && X(s, "name", i);
638
+ },
639
+ /**
640
+ * @param {HTMLElement} target
641
+ * @param {HTMLElement} [anchor]
642
+ */
643
+ m: function(l, u) {
644
+ V(l, s, u);
645
+ },
646
+ d: function(l) {
647
+ l && $(s);
648
+ }
681
649
  };
682
650
  };
683
- if (yield Promise.resolve(), !this.$$cn || this.$$c)
684
- return;
685
- const n = {}, r = rr(this);
686
- for (const s of this.$$s)
687
- s in r && (n[s] = [t(s)]);
688
- for (const s of this.attributes) {
689
- const a = this.$$g_p(s.name);
690
- a in this.$$d || (this.$$d[a] = xe(a, s.value, this.$$p_d, "toProp"));
651
+ };
652
+ if (await Promise.resolve(), !this.$$cn || this.$$c)
653
+ return;
654
+ const t = {}, n = Wn(this);
655
+ for (const i of this.$$s)
656
+ i in n && (t[i] = [e(i)]);
657
+ for (const i of this.attributes) {
658
+ const s = this.$$g_p(i.name);
659
+ s in this.$$d || (this.$$d[s] = Ee(s, i.value, this.$$p_d, "toProp"));
660
+ }
661
+ for (const i in this.$$p_d)
662
+ !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
663
+ this.$$c = new this.$$ctor({
664
+ target: this.shadowRoot || this,
665
+ props: {
666
+ ...this.$$d,
667
+ $$slots: t,
668
+ $$scope: {
669
+ ctx: []
670
+ }
691
671
  }
692
- for (const s in this.$$p_d)
693
- !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
694
- this.$$c = new this.$$ctor({
695
- target: this.shadowRoot || this,
696
- props: pt(dt({}, this.$$d), {
697
- $$slots: n,
698
- $$scope: {
699
- ctx: []
700
- }
701
- })
702
- });
703
- const i = () => {
704
- this.$$r = !0;
705
- for (const s in this.$$p_d)
706
- if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
707
- const a = xe(
708
- s,
709
- this.$$d[s],
710
- this.$$p_d,
711
- "toAttribute"
712
- );
713
- a == null ? this.removeAttribute(this.$$p_d[s].attribute || s) : this.setAttribute(this.$$p_d[s].attribute || s, a);
714
- }
715
- this.$$r = !1;
716
- };
717
- this.$$c.$$.after_update.push(i), i();
718
- for (const s in this.$$l)
719
- for (const a of this.$$l[s]) {
720
- const o = this.$$c.$on(s, a);
721
- this.$$l_u.set(a, o);
672
+ });
673
+ const r = () => {
674
+ this.$$r = !0;
675
+ for (const i in this.$$p_d)
676
+ if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
677
+ const s = Ee(
678
+ i,
679
+ this.$$d[i],
680
+ this.$$p_d,
681
+ "toAttribute"
682
+ );
683
+ s == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, s);
722
684
  }
723
- this.$$l = {};
724
- }
725
- });
685
+ this.$$r = !1;
686
+ };
687
+ this.$$c.$$.after_update.push(r), r();
688
+ for (const i in this.$$l)
689
+ for (const s of this.$$l[i]) {
690
+ const a = this.$$c.$on(i, s);
691
+ this.$$l_u.set(s, a);
692
+ }
693
+ this.$$l = {};
694
+ }
726
695
  }
727
696
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
728
697
  // and setting attributes through setAttribute etc, this is helpful
729
- attributeChangedCallback(t, n, r) {
730
- var i;
731
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = xe(t, r, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
698
+ attributeChangedCallback(e, t, n) {
699
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = Ee(e, n, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
732
700
  }
733
701
  disconnectedCallback() {
734
702
  this.$$cn = !1, Promise.resolve().then(() => {
735
703
  !this.$$cn && this.$$c && (this.$$c.$destroy(), this.$$c = void 0);
736
704
  });
737
705
  }
738
- $$g_p(t) {
706
+ $$g_p(e) {
739
707
  return Object.keys(this.$$p_d).find(
740
- (n) => this.$$p_d[n].attribute === t || !this.$$p_d[n].attribute && n.toLowerCase() === t
741
- ) || t;
708
+ (t) => this.$$p_d[t].attribute === e || !this.$$p_d[t].attribute && t.toLowerCase() === e
709
+ ) || e;
742
710
  }
743
711
  });
744
- function xe(e, t, n, r) {
745
- var s;
746
- const i = (s = n[e]) == null ? void 0 : s.type;
712
+ function Ee(e, t, n, r) {
713
+ const i = n[e]?.type;
747
714
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !r || !n[e])
748
715
  return t;
749
716
  if (r === "toAttribute")
@@ -754,7 +721,7 @@ function xe(e, t, n, r) {
754
721
  case "Boolean":
755
722
  return t ? "" : null;
756
723
  case "Number":
757
- return t == null ? null : t;
724
+ return t ?? null;
758
725
  default:
759
726
  return t;
760
727
  }
@@ -771,8 +738,8 @@ function xe(e, t, n, r) {
771
738
  return t;
772
739
  }
773
740
  }
774
- function yr(e, t, n, r, i, s) {
775
- let a = class extends rn {
741
+ function or(e, t, n, r, i, s) {
742
+ let a = class extends Jt {
776
743
  constructor() {
777
744
  super(e, n, i), this.$$p_d = t;
778
745
  }
@@ -788,42 +755,38 @@ function yr(e, t, n, r, i, s) {
788
755
  return this.$$c && o in this.$$c ? this.$$c[o] : this.$$d[o];
789
756
  },
790
757
  set(l) {
791
- var u;
792
- l = xe(o, l, t), this.$$d[o] = l, (u = this.$$c) == null || u.$set({ [o]: l });
758
+ l = Ee(o, l, t), this.$$d[o] = l, this.$$c?.$set({ [o]: l });
793
759
  }
794
760
  });
795
761
  }), r.forEach((o) => {
796
762
  Object.defineProperty(a.prototype, o, {
797
763
  get() {
798
- var l;
799
- return (l = this.$$c) == null ? void 0 : l[o];
764
+ return this.$$c?.[o];
800
765
  }
801
766
  });
802
767
  }), e.element = /** @type {any} */
803
768
  a, a;
804
769
  }
805
- class gr {
806
- constructor() {
807
- /**
808
- * ### PRIVATE API
809
- *
810
- * Do not use, may change at any time
811
- *
812
- * @type {any}
813
- */
814
- B(this, "$$");
815
- /**
816
- * ### PRIVATE API
817
- *
818
- * Do not use, may change at any time
819
- *
820
- * @type {any}
821
- */
822
- B(this, "$$set");
823
- }
770
+ class ar {
771
+ /**
772
+ * ### PRIVATE API
773
+ *
774
+ * Do not use, may change at any time
775
+ *
776
+ * @type {any}
777
+ */
778
+ $$ = void 0;
779
+ /**
780
+ * ### PRIVATE API
781
+ *
782
+ * Do not use, may change at any time
783
+ *
784
+ * @type {any}
785
+ */
786
+ $$set = void 0;
824
787
  /** @returns {void} */
825
788
  $destroy() {
826
- pr(this, 1), this.$destroy = I;
789
+ rr(this, 1), this.$destroy = B;
827
790
  }
828
791
  /**
829
792
  * @template {Extract<keyof Events, string>} K
@@ -832,8 +795,8 @@ class gr {
832
795
  * @returns {() => void}
833
796
  */
834
797
  $on(t, n) {
835
- if (!pe(n))
836
- return I;
798
+ if (!de(n))
799
+ return B;
837
800
  const r = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
838
801
  return r.push(n), () => {
839
802
  const i = r.indexOf(n);
@@ -845,22 +808,22 @@ class gr {
845
808
  * @returns {void}
846
809
  */
847
810
  $set(t) {
848
- this.$$set && !Vn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
811
+ this.$$set && !Ln(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
849
812
  }
850
813
  }
851
- const _r = "4";
852
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(_r);
853
- var ze = function(e, t) {
854
- return ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
814
+ const ur = "4";
815
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(ur);
816
+ var Xe = function(e, t) {
817
+ return Xe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
855
818
  n.__proto__ = r;
856
819
  } || function(n, r) {
857
820
  for (var i in r) Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
858
- }, ze(e, t);
821
+ }, Xe(e, t);
859
822
  };
860
- function j(e, t) {
823
+ function F(e, t) {
861
824
  if (typeof t != "function" && t !== null)
862
825
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
863
- ze(e, t);
826
+ Xe(e, t);
864
827
  function n() {
865
828
  this.constructor = e;
866
829
  }
@@ -875,7 +838,7 @@ var v = function() {
875
838
  return t;
876
839
  }, v.apply(this, arguments);
877
840
  };
878
- function vr(e, t) {
841
+ function lr(e, t) {
879
842
  var n = {};
880
843
  for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
881
844
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -883,7 +846,7 @@ function vr(e, t) {
883
846
  t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
884
847
  return n;
885
848
  }
886
- function qe(e) {
849
+ function We(e) {
887
850
  var t = typeof Symbol == "function" && Symbol.iterator, n = t && e[t], r = 0;
888
851
  if (n) return n.call(e);
889
852
  if (e && typeof e.length == "number") return {
@@ -893,7 +856,7 @@ function qe(e) {
893
856
  };
894
857
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
895
858
  }
896
- function Ze(e, t) {
859
+ function ze(e, t) {
897
860
  var n = typeof Symbol == "function" && e[Symbol.iterator];
898
861
  if (!n) return e;
899
862
  var r = n.call(e), i, s = [], a;
@@ -910,21 +873,21 @@ function Ze(e, t) {
910
873
  }
911
874
  return s;
912
875
  }
913
- function ee(e, t, n) {
876
+ function K(e, t, n) {
914
877
  if (n || arguments.length === 2) for (var r = 0, i = t.length, s; r < i; r++)
915
878
  (s || !(r in t)) && (s || (s = Array.prototype.slice.call(t, 0, r)), s[r] = t[r]);
916
879
  return e.concat(s || Array.prototype.slice.call(t));
917
880
  }
918
- function F(e) {
881
+ function G(e) {
919
882
  return typeof e == "function";
920
883
  }
921
- function sn(e) {
884
+ function Yt(e) {
922
885
  var t = function(r) {
923
886
  Error.call(r), r.stack = new Error().stack;
924
887
  }, n = e(t);
925
888
  return n.prototype = Object.create(Error.prototype), n.prototype.constructor = n, n;
926
889
  }
927
- var Ue = sn(function(e) {
890
+ var $e = Yt(function(e) {
928
891
  return function(n) {
929
892
  e(this), this.message = n ? n.length + ` errors occurred during unsubscription:
930
893
  ` + n.map(function(r, i) {
@@ -933,13 +896,13 @@ var Ue = sn(function(e) {
933
896
  `) : "", this.name = "UnsubscriptionError", this.errors = n;
934
897
  };
935
898
  });
936
- function Qe(e, t) {
899
+ function qe(e, t) {
937
900
  if (e) {
938
901
  var n = e.indexOf(t);
939
902
  0 <= n && e.splice(n, 1);
940
903
  }
941
904
  }
942
- var Ie = function() {
905
+ var Oe = function() {
943
906
  function e(t) {
944
907
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
945
908
  }
@@ -951,7 +914,7 @@ var Ie = function() {
951
914
  if (a)
952
915
  if (this._parentage = null, Array.isArray(a))
953
916
  try {
954
- for (var o = qe(a), l = o.next(); !l.done; l = o.next()) {
917
+ for (var o = We(a), l = o.next(); !l.done; l = o.next()) {
955
918
  var u = l.value;
956
919
  u.remove(this);
957
920
  }
@@ -967,22 +930,22 @@ var Ie = function() {
967
930
  else
968
931
  a.remove(this);
969
932
  var h = this.initialTeardown;
970
- if (F(h))
933
+ if (G(h))
971
934
  try {
972
935
  h();
973
936
  } catch (m) {
974
- s = m instanceof Ue ? m.errors : [m];
937
+ s = m instanceof $e ? m.errors : [m];
975
938
  }
976
939
  var f = this._finalizers;
977
940
  if (f) {
978
941
  this._finalizers = null;
979
942
  try {
980
- for (var c = qe(f), p = c.next(); !p.done; p = c.next()) {
943
+ for (var c = We(f), p = c.next(); !p.done; p = c.next()) {
981
944
  var d = p.value;
982
945
  try {
983
- Et(d);
946
+ mt(d);
984
947
  } catch (m) {
985
- s = s != null ? s : [], m instanceof Ue ? s = ee(ee([], Ze(s)), Ze(m.errors)) : s.push(m);
948
+ s = s ?? [], m instanceof $e ? s = K(K([], ze(s)), ze(m.errors)) : s.push(m);
986
949
  }
987
950
  }
988
951
  } catch (m) {
@@ -996,13 +959,13 @@ var Ie = function() {
996
959
  }
997
960
  }
998
961
  if (s)
999
- throw new Ue(s);
962
+ throw new $e(s);
1000
963
  }
1001
964
  }, e.prototype.add = function(t) {
1002
965
  var n;
1003
966
  if (t && t !== this)
1004
967
  if (this.closed)
1005
- Et(t);
968
+ mt(t);
1006
969
  else {
1007
970
  if (t instanceof e) {
1008
971
  if (t.closed || t._hasParent(this))
@@ -1019,56 +982,56 @@ var Ie = function() {
1019
982
  this._parentage = Array.isArray(n) ? (n.push(t), n) : n ? [n, t] : t;
1020
983
  }, e.prototype._removeParent = function(t) {
1021
984
  var n = this._parentage;
1022
- n === t ? this._parentage = null : Array.isArray(n) && Qe(n, t);
985
+ n === t ? this._parentage = null : Array.isArray(n) && qe(n, t);
1023
986
  }, e.prototype.remove = function(t) {
1024
987
  var n = this._finalizers;
1025
- n && Qe(n, t), t instanceof e && t._removeParent(this);
988
+ n && qe(n, t), t instanceof e && t._removeParent(this);
1026
989
  }, e.EMPTY = function() {
1027
990
  var t = new e();
1028
991
  return t.closed = !0, t;
1029
992
  }(), e;
1030
- }(), on = Ie.EMPTY;
1031
- function an(e) {
1032
- return e instanceof Ie || e && "closed" in e && F(e.remove) && F(e.add) && F(e.unsubscribe);
993
+ }(), Kt = Oe.EMPTY;
994
+ function en(e) {
995
+ return e instanceof Oe || e && "closed" in e && G(e.remove) && G(e.add) && G(e.unsubscribe);
1033
996
  }
1034
- function Et(e) {
1035
- F(e) ? e() : e.unsubscribe();
997
+ function mt(e) {
998
+ G(e) ? e() : e.unsubscribe();
1036
999
  }
1037
- var Er = {
1000
+ var hr = {
1038
1001
  onUnhandledError: null,
1039
1002
  onStoppedNotification: null,
1040
1003
  Promise: void 0,
1041
1004
  useDeprecatedSynchronousErrorHandling: !1,
1042
1005
  useDeprecatedNextContext: !1
1043
- }, xr = {
1006
+ }, fr = {
1044
1007
  setTimeout: function(e, t) {
1045
1008
  for (var n = [], r = 2; r < arguments.length; r++)
1046
1009
  n[r - 2] = arguments[r];
1047
- return setTimeout.apply(void 0, ee([e, t], Ze(n)));
1010
+ return setTimeout.apply(void 0, K([e, t], ze(n)));
1048
1011
  },
1049
1012
  clearTimeout: function(e) {
1050
1013
  return clearTimeout(e);
1051
1014
  },
1052
1015
  delegate: void 0
1053
1016
  };
1054
- function wr(e) {
1055
- xr.setTimeout(function() {
1017
+ function cr(e) {
1018
+ fr.setTimeout(function() {
1056
1019
  throw e;
1057
1020
  });
1058
1021
  }
1059
- function xt() {
1022
+ function bt() {
1060
1023
  }
1061
- function we(e) {
1024
+ function xe(e) {
1062
1025
  e();
1063
1026
  }
1064
- var un = function(e) {
1065
- j(t, e);
1027
+ var tn = function(e) {
1028
+ F(t, e);
1066
1029
  function t(n) {
1067
1030
  var r = e.call(this) || this;
1068
- return r.isStopped = !1, n ? (r.destination = n, an(n) && n.add(r)) : r.destination = Hr, r;
1031
+ return r.isStopped = !1, n ? (r.destination = n, en(n) && n.add(r)) : r.destination = mr, r;
1069
1032
  }
1070
1033
  return t.create = function(n, r, i) {
1071
- return new Je(n, r, i);
1034
+ return new Ze(n, r, i);
1072
1035
  }, t.prototype.next = function(n) {
1073
1036
  this.isStopped || this._next(n);
1074
1037
  }, t.prototype.error = function(n) {
@@ -1092,7 +1055,7 @@ var un = function(e) {
1092
1055
  this.unsubscribe();
1093
1056
  }
1094
1057
  }, t;
1095
- }(Ie), Sr = function() {
1058
+ }(Oe), dr = function() {
1096
1059
  function e(t) {
1097
1060
  this.partialObserver = t;
1098
1061
  }
@@ -1102,7 +1065,7 @@ var un = function(e) {
1102
1065
  try {
1103
1066
  n.next(t);
1104
1067
  } catch (r) {
1105
- _e(r);
1068
+ ge(r);
1106
1069
  }
1107
1070
  }, e.prototype.error = function(t) {
1108
1071
  var n = this.partialObserver;
@@ -1110,56 +1073,56 @@ var un = function(e) {
1110
1073
  try {
1111
1074
  n.error(t);
1112
1075
  } catch (r) {
1113
- _e(r);
1076
+ ge(r);
1114
1077
  }
1115
1078
  else
1116
- _e(t);
1079
+ ge(t);
1117
1080
  }, e.prototype.complete = function() {
1118
1081
  var t = this.partialObserver;
1119
1082
  if (t.complete)
1120
1083
  try {
1121
1084
  t.complete();
1122
1085
  } catch (n) {
1123
- _e(n);
1086
+ ge(n);
1124
1087
  }
1125
1088
  }, e;
1126
- }(), Je = function(e) {
1127
- j(t, e);
1089
+ }(), Ze = function(e) {
1090
+ F(t, e);
1128
1091
  function t(n, r, i) {
1129
1092
  var s = e.call(this) || this, a;
1130
- return F(n) || !n ? a = {
1131
- next: n != null ? n : void 0,
1132
- error: r != null ? r : void 0,
1133
- complete: i != null ? i : void 0
1134
- } : a = n, s.destination = new Sr(a), s;
1093
+ return G(n) || !n ? a = {
1094
+ next: n ?? void 0,
1095
+ error: r ?? void 0,
1096
+ complete: i ?? void 0
1097
+ } : a = n, s.destination = new dr(a), s;
1135
1098
  }
1136
1099
  return t;
1137
- }(un);
1138
- function _e(e) {
1139
- wr(e);
1100
+ }(tn);
1101
+ function ge(e) {
1102
+ cr(e);
1140
1103
  }
1141
- function Tr(e) {
1104
+ function pr(e) {
1142
1105
  throw e;
1143
1106
  }
1144
- var Hr = {
1107
+ var mr = {
1145
1108
  closed: !0,
1146
- next: xt,
1147
- error: Tr,
1148
- complete: xt
1149
- }, Pr = function() {
1109
+ next: bt,
1110
+ error: pr,
1111
+ complete: bt
1112
+ }, br = function() {
1150
1113
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
1151
1114
  }();
1152
- function Ar(e) {
1115
+ function yr(e) {
1153
1116
  return e;
1154
1117
  }
1155
- function Br(e) {
1156
- return e.length === 0 ? Ar : e.length === 1 ? e[0] : function(n) {
1118
+ function gr(e) {
1119
+ return e.length === 0 ? yr : e.length === 1 ? e[0] : function(n) {
1157
1120
  return e.reduce(function(r, i) {
1158
1121
  return i(r);
1159
1122
  }, n);
1160
1123
  };
1161
1124
  }
1162
- var wt = function() {
1125
+ var yt = function() {
1163
1126
  function e(t) {
1164
1127
  t && (this._subscribe = t);
1165
1128
  }
@@ -1167,8 +1130,8 @@ var wt = function() {
1167
1130
  var n = new e();
1168
1131
  return n.source = this, n.operator = t, n;
1169
1132
  }, e.prototype.subscribe = function(t, n, r) {
1170
- var i = this, s = Ir(t) ? t : new Je(t, n, r);
1171
- return we(function() {
1133
+ var i = this, s = vr(t) ? t : new Ze(t, n, r);
1134
+ return xe(function() {
1172
1135
  var a = i, o = a.operator, l = a.source;
1173
1136
  s.add(o ? o.call(s, l) : l ? i._subscribe(s) : i._trySubscribe(s));
1174
1137
  }), s;
@@ -1180,8 +1143,8 @@ var wt = function() {
1180
1143
  }
1181
1144
  }, e.prototype.forEach = function(t, n) {
1182
1145
  var r = this;
1183
- return n = St(n), new n(function(i, s) {
1184
- var a = new Je({
1146
+ return n = gt(n), new n(function(i, s) {
1147
+ var a = new Ze({
1185
1148
  next: function(o) {
1186
1149
  try {
1187
1150
  t(o);
@@ -1197,15 +1160,15 @@ var wt = function() {
1197
1160
  }, e.prototype._subscribe = function(t) {
1198
1161
  var n;
1199
1162
  return (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(t);
1200
- }, e.prototype[Pr] = function() {
1163
+ }, e.prototype[br] = function() {
1201
1164
  return this;
1202
1165
  }, e.prototype.pipe = function() {
1203
1166
  for (var t = [], n = 0; n < arguments.length; n++)
1204
1167
  t[n] = arguments[n];
1205
- return Br(t)(this);
1168
+ return gr(t)(this);
1206
1169
  }, e.prototype.toPromise = function(t) {
1207
1170
  var n = this;
1208
- return t = St(t), new t(function(r, i) {
1171
+ return t = gt(t), new t(function(r, i) {
1209
1172
  var s;
1210
1173
  n.subscribe(function(a) {
1211
1174
  return s = a;
@@ -1219,40 +1182,40 @@ var wt = function() {
1219
1182
  return new e(t);
1220
1183
  }, e;
1221
1184
  }();
1222
- function St(e) {
1185
+ function gt(e) {
1223
1186
  var t;
1224
- return (t = e != null ? e : Er.Promise) !== null && t !== void 0 ? t : Promise;
1187
+ return (t = e ?? hr.Promise) !== null && t !== void 0 ? t : Promise;
1225
1188
  }
1226
- function Or(e) {
1227
- return e && F(e.next) && F(e.error) && F(e.complete);
1189
+ function _r(e) {
1190
+ return e && G(e.next) && G(e.error) && G(e.complete);
1228
1191
  }
1229
- function Ir(e) {
1230
- return e && e instanceof un || Or(e) && an(e);
1192
+ function vr(e) {
1193
+ return e && e instanceof tn || _r(e) && en(e);
1231
1194
  }
1232
- var Cr = sn(function(e) {
1195
+ var Er = Yt(function(e) {
1233
1196
  return function() {
1234
1197
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
1235
1198
  };
1236
- }), ln = function(e) {
1237
- j(t, e);
1199
+ }), nn = function(e) {
1200
+ F(t, e);
1238
1201
  function t() {
1239
1202
  var n = e.call(this) || this;
1240
1203
  return n.closed = !1, n.currentObservers = null, n.observers = [], n.isStopped = !1, n.hasError = !1, n.thrownError = null, n;
1241
1204
  }
1242
1205
  return t.prototype.lift = function(n) {
1243
- var r = new Tt(this, this);
1206
+ var r = new _t(this, this);
1244
1207
  return r.operator = n, r;
1245
1208
  }, t.prototype._throwIfClosed = function() {
1246
1209
  if (this.closed)
1247
- throw new Cr();
1210
+ throw new Er();
1248
1211
  }, t.prototype.next = function(n) {
1249
1212
  var r = this;
1250
- we(function() {
1213
+ xe(function() {
1251
1214
  var i, s;
1252
1215
  if (r._throwIfClosed(), !r.isStopped) {
1253
1216
  r.currentObservers || (r.currentObservers = Array.from(r.observers));
1254
1217
  try {
1255
- for (var a = qe(r.currentObservers), o = a.next(); !o.done; o = a.next()) {
1218
+ for (var a = We(r.currentObservers), o = a.next(); !o.done; o = a.next()) {
1256
1219
  var l = o.value;
1257
1220
  l.next(n);
1258
1221
  }
@@ -1269,7 +1232,7 @@ var Cr = sn(function(e) {
1269
1232
  });
1270
1233
  }, t.prototype.error = function(n) {
1271
1234
  var r = this;
1272
- we(function() {
1235
+ xe(function() {
1273
1236
  if (r._throwIfClosed(), !r.isStopped) {
1274
1237
  r.hasError = r.isStopped = !0, r.thrownError = n;
1275
1238
  for (var i = r.observers; i.length; )
@@ -1278,7 +1241,7 @@ var Cr = sn(function(e) {
1278
1241
  });
1279
1242
  }, t.prototype.complete = function() {
1280
1243
  var n = this;
1281
- we(function() {
1244
+ xe(function() {
1282
1245
  if (n._throwIfClosed(), !n.isStopped) {
1283
1246
  n.isStopped = !0;
1284
1247
  for (var r = n.observers; r.length; )
@@ -1300,20 +1263,20 @@ var Cr = sn(function(e) {
1300
1263
  return this._throwIfClosed(), this._checkFinalizedStatuses(n), this._innerSubscribe(n);
1301
1264
  }, t.prototype._innerSubscribe = function(n) {
1302
1265
  var r = this, i = this, s = i.hasError, a = i.isStopped, o = i.observers;
1303
- return s || a ? on : (this.currentObservers = null, o.push(n), new Ie(function() {
1304
- r.currentObservers = null, Qe(o, n);
1266
+ return s || a ? Kt : (this.currentObservers = null, o.push(n), new Oe(function() {
1267
+ r.currentObservers = null, qe(o, n);
1305
1268
  }));
1306
1269
  }, t.prototype._checkFinalizedStatuses = function(n) {
1307
1270
  var r = this, i = r.hasError, s = r.thrownError, a = r.isStopped;
1308
1271
  i ? n.error(s) : a && n.complete();
1309
1272
  }, t.prototype.asObservable = function() {
1310
- var n = new wt();
1273
+ var n = new yt();
1311
1274
  return n.source = this, n;
1312
1275
  }, t.create = function(n, r) {
1313
- return new Tt(n, r);
1276
+ return new _t(n, r);
1314
1277
  }, t;
1315
- }(wt), Tt = function(e) {
1316
- j(t, e);
1278
+ }(yt), _t = function(e) {
1279
+ F(t, e);
1317
1280
  function t(n, r) {
1318
1281
  var i = e.call(this) || this;
1319
1282
  return i.destination = n, i.source = r, i;
@@ -1329,17 +1292,17 @@ var Cr = sn(function(e) {
1329
1292
  (r = (n = this.destination) === null || n === void 0 ? void 0 : n.complete) === null || r === void 0 || r.call(n);
1330
1293
  }, t.prototype._subscribe = function(n) {
1331
1294
  var r, i;
1332
- return (i = (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(n)) !== null && i !== void 0 ? i : on;
1295
+ return (i = (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(n)) !== null && i !== void 0 ? i : Kt;
1333
1296
  }, t;
1334
- }(ln), hn = {
1297
+ }(nn), rn = {
1335
1298
  now: function() {
1336
- return (hn.delegate || Date).now();
1299
+ return (rn.delegate || Date).now();
1337
1300
  },
1338
1301
  delegate: void 0
1339
- }, Lr = function(e) {
1340
- j(t, e);
1302
+ }, xr = function(e) {
1303
+ F(t, e);
1341
1304
  function t(n, r, i) {
1342
- n === void 0 && (n = 1 / 0), r === void 0 && (r = 1 / 0), i === void 0 && (i = hn);
1305
+ n === void 0 && (n = 1 / 0), r === void 0 && (r = 1 / 0), i === void 0 && (i = rn);
1343
1306
  var s = e.call(this) || this;
1344
1307
  return s._bufferSize = n, s._windowTime = r, s._timestampProvider = i, s._buffer = [], s._infiniteTimeWindow = !0, s._infiniteTimeWindow = r === 1 / 0, s._bufferSize = Math.max(1, n), s._windowTime = Math.max(1, r), s;
1345
1308
  }
@@ -1359,62 +1322,62 @@ var Cr = sn(function(e) {
1359
1322
  u && s.splice(0, u + 1);
1360
1323
  }
1361
1324
  }, t;
1362
- }(ln);
1363
- const Ht = [], Pt = {}, Nr = (e, t = 0) => {
1364
- if (Ht.indexOf(e) == -1) {
1365
- const n = new Lr(t);
1366
- Pt[e] = n, Ht.push(e);
1325
+ }(nn);
1326
+ const vt = [], Et = {}, wr = (e, t = 0) => {
1327
+ if (vt.indexOf(e) == -1) {
1328
+ const n = new xr(t);
1329
+ Et[e] = n, vt.push(e);
1367
1330
  }
1368
- return Pt[e];
1369
- }, Q = [];
1370
- function Mr(e, t) {
1331
+ return Et[e];
1332
+ }, Z = [];
1333
+ function Sr(e, t) {
1371
1334
  return {
1372
- subscribe: Ce(e, t).subscribe
1335
+ subscribe: Ie(e, t).subscribe
1373
1336
  };
1374
1337
  }
1375
- function Ce(e, t = I) {
1338
+ function Ie(e, t = B) {
1376
1339
  let n;
1377
1340
  const r = /* @__PURE__ */ new Set();
1378
1341
  function i(o) {
1379
- if (zt(e, o) && (e = o, n)) {
1380
- const l = !Q.length;
1342
+ if (Ft(e, o) && (e = o, n)) {
1343
+ const l = !Z.length;
1381
1344
  for (const u of r)
1382
- u[1](), Q.push(u, e);
1345
+ u[1](), Z.push(u, e);
1383
1346
  if (l) {
1384
- for (let u = 0; u < Q.length; u += 2)
1385
- Q[u][0](Q[u + 1]);
1386
- Q.length = 0;
1347
+ for (let u = 0; u < Z.length; u += 2)
1348
+ Z[u][0](Z[u + 1]);
1349
+ Z.length = 0;
1387
1350
  }
1388
1351
  }
1389
1352
  }
1390
1353
  function s(o) {
1391
1354
  i(o(e));
1392
1355
  }
1393
- function a(o, l = I) {
1356
+ function a(o, l = B) {
1394
1357
  const u = [o, l];
1395
- return r.add(u), r.size === 1 && (n = t(i, s) || I), o(e), () => {
1358
+ return r.add(u), r.size === 1 && (n = t(i, s) || B), o(e), () => {
1396
1359
  r.delete(u), r.size === 0 && n && (n(), n = null);
1397
1360
  };
1398
1361
  }
1399
1362
  return { set: i, update: s, subscribe: a };
1400
1363
  }
1401
- function se(e, t, n) {
1364
+ function ie(e, t, n) {
1402
1365
  const r = !Array.isArray(e), i = r ? [e] : e;
1403
1366
  if (!i.every(Boolean))
1404
1367
  throw new Error("derived() expects stores as input, got a falsy value");
1405
1368
  const s = t.length < 2;
1406
- return Mr(n, (a, o) => {
1369
+ return Sr(n, (a, o) => {
1407
1370
  let l = !1;
1408
1371
  const u = [];
1409
- let h = 0, f = I;
1372
+ let h = 0, f = B;
1410
1373
  const c = () => {
1411
1374
  if (h)
1412
1375
  return;
1413
1376
  f();
1414
1377
  const d = t(r ? u[0] : u, a, o);
1415
- s ? a(d) : f = pe(d) ? d : I;
1378
+ s ? a(d) : f = de(d) ? d : B;
1416
1379
  }, p = i.map(
1417
- (d, m) => qt(
1380
+ (d, m) => jt(
1418
1381
  d,
1419
1382
  (E) => {
1420
1383
  u[m] = E, h &= ~(1 << m), l && c();
@@ -1425,118 +1388,118 @@ function se(e, t, n) {
1425
1388
  )
1426
1389
  );
1427
1390
  return l = !0, c(), function() {
1428
- V(p), f(), l = !1;
1391
+ k(p), f(), l = !1;
1429
1392
  };
1430
1393
  });
1431
1394
  }
1432
- function Rr(e) {
1395
+ function Tr(e) {
1433
1396
  return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1434
1397
  }
1435
- var $r = function(t) {
1436
- return Dr(t) && !Ur(t);
1398
+ var Hr = function(t) {
1399
+ return Pr(t) && !Ar(t);
1437
1400
  };
1438
- function Dr(e) {
1401
+ function Pr(e) {
1439
1402
  return !!e && typeof e == "object";
1440
1403
  }
1441
- function Ur(e) {
1404
+ function Ar(e) {
1442
1405
  var t = Object.prototype.toString.call(e);
1443
- return t === "[object RegExp]" || t === "[object Date]" || jr(e);
1406
+ return t === "[object RegExp]" || t === "[object Date]" || Ir(e);
1444
1407
  }
1445
- var Gr = typeof Symbol == "function" && Symbol.for, Fr = Gr ? Symbol.for("react.element") : 60103;
1446
- function jr(e) {
1447
- return e.$$typeof === Fr;
1408
+ var Br = typeof Symbol == "function" && Symbol.for, Or = Br ? Symbol.for("react.element") : 60103;
1409
+ function Ir(e) {
1410
+ return e.$$typeof === Or;
1448
1411
  }
1449
- function kr(e) {
1412
+ function Cr(e) {
1450
1413
  return Array.isArray(e) ? [] : {};
1451
1414
  }
1452
- function ce(e, t) {
1453
- return t.clone !== !1 && t.isMergeableObject(e) ? te(kr(e), e, t) : e;
1415
+ function fe(e, t) {
1416
+ return t.clone !== !1 && t.isMergeableObject(e) ? ee(Cr(e), e, t) : e;
1454
1417
  }
1455
- function Vr(e, t, n) {
1418
+ function Lr(e, t, n) {
1456
1419
  return e.concat(t).map(function(r) {
1457
- return ce(r, n);
1420
+ return fe(r, n);
1458
1421
  });
1459
1422
  }
1460
- function Xr(e, t) {
1423
+ function Nr(e, t) {
1461
1424
  if (!t.customMerge)
1462
- return te;
1425
+ return ee;
1463
1426
  var n = t.customMerge(e);
1464
- return typeof n == "function" ? n : te;
1427
+ return typeof n == "function" ? n : ee;
1465
1428
  }
1466
- function Wr(e) {
1429
+ function Mr(e) {
1467
1430
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1468
1431
  return Object.propertyIsEnumerable.call(e, t);
1469
1432
  }) : [];
1470
1433
  }
1471
- function At(e) {
1472
- return Object.keys(e).concat(Wr(e));
1434
+ function xt(e) {
1435
+ return Object.keys(e).concat(Mr(e));
1473
1436
  }
1474
- function fn(e, t) {
1437
+ function sn(e, t) {
1475
1438
  try {
1476
1439
  return t in e;
1477
- } catch (n) {
1440
+ } catch {
1478
1441
  return !1;
1479
1442
  }
1480
1443
  }
1481
- function zr(e, t) {
1482
- return fn(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1444
+ function Rr(e, t) {
1445
+ return sn(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1483
1446
  }
1484
- function qr(e, t, n) {
1447
+ function $r(e, t, n) {
1485
1448
  var r = {};
1486
- return n.isMergeableObject(e) && At(e).forEach(function(i) {
1487
- r[i] = ce(e[i], n);
1488
- }), At(t).forEach(function(i) {
1489
- zr(e, i) || (fn(e, i) && n.isMergeableObject(t[i]) ? r[i] = Xr(i, n)(e[i], t[i], n) : r[i] = ce(t[i], n));
1449
+ return n.isMergeableObject(e) && xt(e).forEach(function(i) {
1450
+ r[i] = fe(e[i], n);
1451
+ }), xt(t).forEach(function(i) {
1452
+ Rr(e, i) || (sn(e, i) && n.isMergeableObject(t[i]) ? r[i] = Nr(i, n)(e[i], t[i], n) : r[i] = fe(t[i], n));
1490
1453
  }), r;
1491
1454
  }
1492
- function te(e, t, n) {
1493
- n = n || {}, n.arrayMerge = n.arrayMerge || Vr, n.isMergeableObject = n.isMergeableObject || $r, n.cloneUnlessOtherwiseSpecified = ce;
1455
+ function ee(e, t, n) {
1456
+ n = n || {}, n.arrayMerge = n.arrayMerge || Lr, n.isMergeableObject = n.isMergeableObject || Hr, n.cloneUnlessOtherwiseSpecified = fe;
1494
1457
  var r = Array.isArray(t), i = Array.isArray(e), s = r === i;
1495
- return s ? r ? n.arrayMerge(e, t, n) : qr(e, t, n) : ce(t, n);
1458
+ return s ? r ? n.arrayMerge(e, t, n) : $r(e, t, n) : fe(t, n);
1496
1459
  }
1497
- te.all = function(t, n) {
1460
+ ee.all = function(t, n) {
1498
1461
  if (!Array.isArray(t))
1499
1462
  throw new Error("first argument should be an array");
1500
1463
  return t.reduce(function(r, i) {
1501
- return te(r, i, n);
1464
+ return ee(r, i, n);
1502
1465
  }, {});
1503
1466
  };
1504
- var Zr = te, Qr = Zr;
1505
- const Jr = /* @__PURE__ */ Rr(Qr);
1506
- function Ge(e, t) {
1507
- var n = t && t.cache ? t.cache : ii, r = t && t.serializer ? t.serializer : ni, i = t && t.strategy ? t.strategy : Kr;
1467
+ var Dr = ee, Ur = Dr;
1468
+ const Gr = /* @__PURE__ */ Tr(Ur);
1469
+ function De(e, t) {
1470
+ var n = t && t.cache ? t.cache : zr, r = t && t.serializer ? t.serializer : Xr, i = t && t.strategy ? t.strategy : jr;
1508
1471
  return i(e, {
1509
1472
  cache: n,
1510
1473
  serializer: r
1511
1474
  });
1512
1475
  }
1513
- function Yr(e) {
1476
+ function Fr(e) {
1514
1477
  return e == null || typeof e == "number" || typeof e == "boolean";
1515
1478
  }
1516
- function cn(e, t, n, r) {
1517
- var i = Yr(r) ? r : n(r), s = t.get(i);
1518
- return typeof s == "undefined" && (s = e.call(this, r), t.set(i, s)), s;
1479
+ function on(e, t, n, r) {
1480
+ var i = Fr(r) ? r : n(r), s = t.get(i);
1481
+ return typeof s > "u" && (s = e.call(this, r), t.set(i, s)), s;
1519
1482
  }
1520
- function dn(e, t, n) {
1483
+ function an(e, t, n) {
1521
1484
  var r = Array.prototype.slice.call(arguments, 3), i = n(r), s = t.get(i);
1522
- return typeof s == "undefined" && (s = e.apply(this, r), t.set(i, s)), s;
1485
+ return typeof s > "u" && (s = e.apply(this, r), t.set(i, s)), s;
1523
1486
  }
1524
- function lt(e, t, n, r, i) {
1487
+ function at(e, t, n, r, i) {
1525
1488
  return n.bind(t, e, r, i);
1526
1489
  }
1527
- function Kr(e, t) {
1528
- var n = e.length === 1 ? cn : dn;
1529
- return lt(e, this, n, t.cache.create(), t.serializer);
1490
+ function jr(e, t) {
1491
+ var n = e.length === 1 ? on : an;
1492
+ return at(e, this, n, t.cache.create(), t.serializer);
1530
1493
  }
1531
- function ei(e, t) {
1532
- return lt(e, this, dn, t.cache.create(), t.serializer);
1494
+ function kr(e, t) {
1495
+ return at(e, this, an, t.cache.create(), t.serializer);
1533
1496
  }
1534
- function ti(e, t) {
1535
- return lt(e, this, cn, t.cache.create(), t.serializer);
1497
+ function Vr(e, t) {
1498
+ return at(e, this, on, t.cache.create(), t.serializer);
1536
1499
  }
1537
- var ni = function() {
1500
+ var Xr = function() {
1538
1501
  return JSON.stringify(arguments);
1539
- }, ri = (
1502
+ }, Wr = (
1540
1503
  /** @class */
1541
1504
  function() {
1542
1505
  function e() {
@@ -1548,13 +1511,13 @@ var ni = function() {
1548
1511
  this.cache[t] = n;
1549
1512
  }, e;
1550
1513
  }()
1551
- ), ii = {
1514
+ ), zr = {
1552
1515
  create: function() {
1553
- return new ri();
1516
+ return new Wr();
1554
1517
  }
1555
- }, Fe = {
1556
- variadic: ei,
1557
- monadic: ti
1518
+ }, Ue = {
1519
+ variadic: kr,
1520
+ monadic: Vr
1558
1521
  }, g;
1559
1522
  (function(e) {
1560
1523
  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";
@@ -1563,47 +1526,47 @@ var w;
1563
1526
  (function(e) {
1564
1527
  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";
1565
1528
  })(w || (w = {}));
1566
- var ne;
1529
+ var te;
1567
1530
  (function(e) {
1568
1531
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1569
- })(ne || (ne = {}));
1570
- function Bt(e) {
1532
+ })(te || (te = {}));
1533
+ function wt(e) {
1571
1534
  return e.type === w.literal;
1572
1535
  }
1573
- function si(e) {
1536
+ function qr(e) {
1574
1537
  return e.type === w.argument;
1575
1538
  }
1576
- function pn(e) {
1539
+ function un(e) {
1577
1540
  return e.type === w.number;
1578
1541
  }
1579
- function mn(e) {
1542
+ function ln(e) {
1580
1543
  return e.type === w.date;
1581
1544
  }
1582
- function bn(e) {
1545
+ function hn(e) {
1583
1546
  return e.type === w.time;
1584
1547
  }
1585
- function yn(e) {
1548
+ function fn(e) {
1586
1549
  return e.type === w.select;
1587
1550
  }
1588
- function gn(e) {
1551
+ function cn(e) {
1589
1552
  return e.type === w.plural;
1590
1553
  }
1591
- function oi(e) {
1554
+ function Zr(e) {
1592
1555
  return e.type === w.pound;
1593
1556
  }
1594
- function _n(e) {
1557
+ function dn(e) {
1595
1558
  return e.type === w.tag;
1596
1559
  }
1597
- function vn(e) {
1598
- return !!(e && typeof e == "object" && e.type === ne.number);
1560
+ function pn(e) {
1561
+ return !!(e && typeof e == "object" && e.type === te.number);
1599
1562
  }
1600
- function Ye(e) {
1601
- return !!(e && typeof e == "object" && e.type === ne.dateTime);
1563
+ function Qe(e) {
1564
+ return !!(e && typeof e == "object" && e.type === te.dateTime);
1602
1565
  }
1603
- var En = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ai = /(?:[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;
1604
- function ui(e) {
1566
+ var mn = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Qr = /(?:[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;
1567
+ function Jr(e) {
1605
1568
  var t = {};
1606
- return e.replace(ai, function(n) {
1569
+ return e.replace(Qr, function(n) {
1607
1570
  var r = n.length;
1608
1571
  switch (n[0]) {
1609
1572
  case "G":
@@ -1692,11 +1655,11 @@ function ui(e) {
1692
1655
  return "";
1693
1656
  }), t;
1694
1657
  }
1695
- var li = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1696
- function hi(e) {
1658
+ var Yr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1659
+ function Kr(e) {
1697
1660
  if (e.length === 0)
1698
1661
  throw new Error("Number skeleton cannot be empty");
1699
- for (var t = e.split(li).filter(function(c) {
1662
+ for (var t = e.split(Yr).filter(function(c) {
1700
1663
  return c.length > 0;
1701
1664
  }), n = [], r = 0, i = t; r < i.length; r++) {
1702
1665
  var s = i[r], a = s.split("/");
@@ -1711,17 +1674,17 @@ function hi(e) {
1711
1674
  }
1712
1675
  return n;
1713
1676
  }
1714
- function fi(e) {
1677
+ function ei(e) {
1715
1678
  return e.replace(/^(.*?)-/, "");
1716
1679
  }
1717
- var Ot = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, xn = /^(@+)?(\+|#+)?[rs]?$/g, ci = /(\*)(0+)|(#+)(0+)|(0+)/g, wn = /^(0+)$/;
1718
- function It(e) {
1680
+ var St = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, bn = /^(@+)?(\+|#+)?[rs]?$/g, ti = /(\*)(0+)|(#+)(0+)|(0+)/g, yn = /^(0+)$/;
1681
+ function Tt(e) {
1719
1682
  var t = {};
1720
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(xn, function(n, r, i) {
1683
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(bn, function(n, r, i) {
1721
1684
  return typeof i != "string" ? (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length) : i === "+" ? t.minimumSignificantDigits = r.length : r[0] === "#" ? t.maximumSignificantDigits = r.length : (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length + (typeof i == "string" ? i.length : 0)), "";
1722
1685
  }), t;
1723
1686
  }
1724
- function Sn(e) {
1687
+ function gn(e) {
1725
1688
  switch (e) {
1726
1689
  case "sign-auto":
1727
1690
  return {
@@ -1761,7 +1724,7 @@ function Sn(e) {
1761
1724
  };
1762
1725
  }
1763
1726
  }
1764
- function di(e) {
1727
+ function ni(e) {
1765
1728
  var t;
1766
1729
  if (e[0] === "E" && e[1] === "E" ? (t = {
1767
1730
  notation: "engineering"
@@ -1769,17 +1732,17 @@ function di(e) {
1769
1732
  notation: "scientific"
1770
1733
  }, e = e.slice(1)), t) {
1771
1734
  var n = e.slice(0, 2);
1772
- if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !wn.test(e))
1735
+ if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !yn.test(e))
1773
1736
  throw new Error("Malformed concise eng/scientific notation");
1774
1737
  t.minimumIntegerDigits = e.length;
1775
1738
  }
1776
1739
  return t;
1777
1740
  }
1778
- function Ct(e) {
1779
- var t = {}, n = Sn(e);
1741
+ function Ht(e) {
1742
+ var t = {}, n = gn(e);
1780
1743
  return n || t;
1781
1744
  }
1782
- function pi(e) {
1745
+ function ri(e) {
1783
1746
  for (var t = {}, n = 0, r = e; n < r.length; n++) {
1784
1747
  var i = r[n];
1785
1748
  switch (i.stem) {
@@ -1803,7 +1766,7 @@ function pi(e) {
1803
1766
  continue;
1804
1767
  case "measure-unit":
1805
1768
  case "unit":
1806
- t.style = "unit", t.unit = fi(i.options[0]);
1769
+ t.style = "unit", t.unit = ei(i.options[0]);
1807
1770
  continue;
1808
1771
  case "compact-short":
1809
1772
  case "K":
@@ -1815,12 +1778,12 @@ function pi(e) {
1815
1778
  continue;
1816
1779
  case "scientific":
1817
1780
  t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1818
- return v(v({}, l), Ct(u));
1781
+ return v(v({}, l), Ht(u));
1819
1782
  }, {}));
1820
1783
  continue;
1821
1784
  case "engineering":
1822
1785
  t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1823
- return v(v({}, l), Ct(u));
1786
+ return v(v({}, l), Ht(u));
1824
1787
  }, {}));
1825
1788
  continue;
1826
1789
  case "notation-simple":
@@ -1865,7 +1828,7 @@ function pi(e) {
1865
1828
  case "integer-width":
1866
1829
  if (i.options.length > 1)
1867
1830
  throw new RangeError("integer-width stems only accept a single optional option");
1868
- i.options[0].replace(ci, function(l, u, h, f, c, p) {
1831
+ i.options[0].replace(ti, function(l, u, h, f, c, p) {
1869
1832
  if (u)
1870
1833
  t.minimumIntegerDigits = h.length;
1871
1834
  else {
@@ -1878,32 +1841,32 @@ function pi(e) {
1878
1841
  });
1879
1842
  continue;
1880
1843
  }
1881
- if (wn.test(i.stem)) {
1844
+ if (yn.test(i.stem)) {
1882
1845
  t.minimumIntegerDigits = i.stem.length;
1883
1846
  continue;
1884
1847
  }
1885
- if (Ot.test(i.stem)) {
1848
+ if (St.test(i.stem)) {
1886
1849
  if (i.options.length > 1)
1887
1850
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1888
- i.stem.replace(Ot, function(l, u, h, f, c, p) {
1851
+ i.stem.replace(St, function(l, u, h, f, c, p) {
1889
1852
  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), "";
1890
1853
  });
1891
1854
  var s = i.options[0];
1892
- s === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = v(v({}, t), It(s)));
1855
+ s === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = v(v({}, t), Tt(s)));
1893
1856
  continue;
1894
1857
  }
1895
- if (xn.test(i.stem)) {
1896
- t = v(v({}, t), It(i.stem));
1858
+ if (bn.test(i.stem)) {
1859
+ t = v(v({}, t), Tt(i.stem));
1897
1860
  continue;
1898
1861
  }
1899
- var a = Sn(i.stem);
1862
+ var a = gn(i.stem);
1900
1863
  a && (t = v(v({}, t), a));
1901
- var o = di(i.stem);
1864
+ var o = ni(i.stem);
1902
1865
  o && (t = v(v({}, t), o));
1903
1866
  }
1904
1867
  return t;
1905
1868
  }
1906
- var ve = {
1869
+ var _e = {
1907
1870
  "001": [
1908
1871
  "H",
1909
1872
  "h"
@@ -3318,13 +3281,13 @@ var ve = {
3318
3281
  "h"
3319
3282
  ]
3320
3283
  };
3321
- function mi(e, t) {
3284
+ function ii(e, t) {
3322
3285
  for (var n = "", r = 0; r < e.length; r++) {
3323
3286
  var i = e.charAt(r);
3324
3287
  if (i === "j") {
3325
3288
  for (var s = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
3326
3289
  s++, r++;
3327
- var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = bi(t);
3290
+ var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = si(t);
3328
3291
  for ((u == "H" || u == "k") && (o = 0); o-- > 0; )
3329
3292
  n += l;
3330
3293
  for (; a-- > 0; )
@@ -3333,7 +3296,7 @@ function mi(e, t) {
3333
3296
  }
3334
3297
  return n;
3335
3298
  }
3336
- function bi(e) {
3299
+ function si(e) {
3337
3300
  var t = e.hourCycle;
3338
3301
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3339
3302
  e.hourCycles && // @ts-ignore
@@ -3352,23 +3315,23 @@ function bi(e) {
3352
3315
  }
3353
3316
  var n = e.language, r;
3354
3317
  n !== "root" && (r = e.maximize().region);
3355
- var i = ve[r || ""] || ve[n || ""] || ve["".concat(n, "-001")] || ve["001"];
3318
+ var i = _e[r || ""] || _e[n || ""] || _e["".concat(n, "-001")] || _e["001"];
3356
3319
  return i[0];
3357
3320
  }
3358
- var je, yi = new RegExp("^".concat(En.source, "*")), gi = new RegExp("".concat(En.source, "*$"));
3321
+ var Ge, oi = new RegExp("^".concat(mn.source, "*")), ai = new RegExp("".concat(mn.source, "*$"));
3359
3322
  function _(e, t) {
3360
3323
  return { start: e, end: t };
3361
3324
  }
3362
- var _i = !!String.prototype.startsWith && "_a".startsWith("a", 1), vi = !!String.fromCodePoint, Ei = !!Object.fromEntries, xi = !!String.prototype.codePointAt, wi = !!String.prototype.trimStart, Si = !!String.prototype.trimEnd, Ti = !!Number.isSafeInteger, Hi = Ti ? Number.isSafeInteger : function(e) {
3325
+ var ui = !!String.prototype.startsWith && "_a".startsWith("a", 1), li = !!String.fromCodePoint, hi = !!Object.fromEntries, fi = !!String.prototype.codePointAt, ci = !!String.prototype.trimStart, di = !!String.prototype.trimEnd, pi = !!Number.isSafeInteger, mi = pi ? Number.isSafeInteger : function(e) {
3363
3326
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3364
- }, Ke = !0;
3327
+ }, Je = !0;
3365
3328
  try {
3366
- var Pi = Hn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3367
- Ke = ((je = Pi.exec("a")) === null || je === void 0 ? void 0 : je[0]) === "a";
3368
- } catch (e) {
3369
- Ke = !1;
3329
+ var bi = vn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3330
+ Je = ((Ge = bi.exec("a")) === null || Ge === void 0 ? void 0 : Ge[0]) === "a";
3331
+ } catch {
3332
+ Je = !1;
3370
3333
  }
3371
- var Lt = _i ? (
3334
+ var Pt = ui ? (
3372
3335
  // Native
3373
3336
  function(t, n, r) {
3374
3337
  return t.startsWith(n, r);
@@ -3378,7 +3341,7 @@ var Lt = _i ? (
3378
3341
  function(t, n, r) {
3379
3342
  return t.slice(r, r + n.length) === n;
3380
3343
  }
3381
- ), et = vi ? String.fromCodePoint : (
3344
+ ), Ye = li ? String.fromCodePoint : (
3382
3345
  // IE11
3383
3346
  function() {
3384
3347
  for (var t = [], n = 0; n < arguments.length; n++)
@@ -3390,9 +3353,9 @@ var Lt = _i ? (
3390
3353
  }
3391
3354
  return r;
3392
3355
  }
3393
- ), Nt = (
3356
+ ), At = (
3394
3357
  // native
3395
- Ei ? Object.fromEntries : (
3358
+ hi ? Object.fromEntries : (
3396
3359
  // Ponyfill
3397
3360
  function(t) {
3398
3361
  for (var n = {}, r = 0, i = t; r < i.length; r++) {
@@ -3402,7 +3365,7 @@ var Lt = _i ? (
3402
3365
  return n;
3403
3366
  }
3404
3367
  )
3405
- ), Tn = xi ? (
3368
+ ), _n = fi ? (
3406
3369
  // Native
3407
3370
  function(t, n) {
3408
3371
  return t.codePointAt(n);
@@ -3416,7 +3379,7 @@ var Lt = _i ? (
3416
3379
  return i < 55296 || i > 56319 || n + 1 === r || (s = t.charCodeAt(n + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
3417
3380
  }
3418
3381
  }
3419
- ), Ai = wi ? (
3382
+ ), yi = ci ? (
3420
3383
  // Native
3421
3384
  function(t) {
3422
3385
  return t.trimStart();
@@ -3424,9 +3387,9 @@ var Lt = _i ? (
3424
3387
  ) : (
3425
3388
  // Ponyfill
3426
3389
  function(t) {
3427
- return t.replace(yi, "");
3390
+ return t.replace(oi, "");
3428
3391
  }
3429
- ), Bi = Si ? (
3392
+ ), gi = di ? (
3430
3393
  // Native
3431
3394
  function(t) {
3432
3395
  return t.trimEnd();
@@ -3434,32 +3397,32 @@ var Lt = _i ? (
3434
3397
  ) : (
3435
3398
  // Ponyfill
3436
3399
  function(t) {
3437
- return t.replace(gi, "");
3400
+ return t.replace(ai, "");
3438
3401
  }
3439
3402
  );
3440
- function Hn(e, t) {
3403
+ function vn(e, t) {
3441
3404
  return new RegExp(e, t);
3442
3405
  }
3443
- var tt;
3444
- if (Ke) {
3445
- var Mt = Hn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3446
- tt = function(t, n) {
3406
+ var Ke;
3407
+ if (Je) {
3408
+ var Bt = vn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3409
+ Ke = function(t, n) {
3447
3410
  var r;
3448
- Mt.lastIndex = n;
3449
- var i = Mt.exec(t);
3411
+ Bt.lastIndex = n;
3412
+ var i = Bt.exec(t);
3450
3413
  return (r = i[1]) !== null && r !== void 0 ? r : "";
3451
3414
  };
3452
3415
  } else
3453
- tt = function(t, n) {
3416
+ Ke = function(t, n) {
3454
3417
  for (var r = []; ; ) {
3455
- var i = Tn(t, n);
3456
- if (i === void 0 || Pn(i) || Li(i))
3418
+ var i = _n(t, n);
3419
+ if (i === void 0 || En(i) || xi(i))
3457
3420
  break;
3458
3421
  r.push(i), n += i >= 65536 ? 2 : 1;
3459
3422
  }
3460
- return et.apply(void 0, r);
3423
+ return Ye.apply(void 0, r);
3461
3424
  };
3462
- var Oi = (
3425
+ var _i = (
3463
3426
  /** @class */
3464
3427
  function() {
3465
3428
  function e(t, n) {
@@ -3490,7 +3453,7 @@ var Oi = (
3490
3453
  if (r)
3491
3454
  break;
3492
3455
  return this.error(g.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
3493
- } else if (s === 60 && !this.ignoreTag && nt(this.peek() || 0)) {
3456
+ } else if (s === 60 && !this.ignoreTag && et(this.peek() || 0)) {
3494
3457
  var a = this.parseTag(t, n);
3495
3458
  if (a.err)
3496
3459
  return a;
@@ -3523,7 +3486,7 @@ var Oi = (
3523
3486
  return s;
3524
3487
  var a = s.val, o = this.clonePosition();
3525
3488
  if (this.bumpIf("</")) {
3526
- if (this.isEOF() || !nt(this.char()))
3489
+ if (this.isEOF() || !et(this.char()))
3527
3490
  return this.error(g.INVALID_TAG, _(o, this.clonePosition()));
3528
3491
  var l = this.clonePosition(), u = this.parseTagName();
3529
3492
  return i !== u ? this.error(g.UNMATCHED_CLOSING_TAG, _(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -3541,7 +3504,7 @@ var Oi = (
3541
3504
  return this.error(g.INVALID_TAG, _(r, this.clonePosition()));
3542
3505
  }, e.prototype.parseTagName = function() {
3543
3506
  var t = this.offset();
3544
- for (this.bump(); !this.isEOF() && Ci(this.char()); )
3507
+ for (this.bump(); !this.isEOF() && Ei(this.char()); )
3545
3508
  this.bump();
3546
3509
  return this.message.slice(t, this.offset());
3547
3510
  }, e.prototype.parseLiteral = function(t, n) {
@@ -3570,7 +3533,7 @@ var Oi = (
3570
3533
  };
3571
3534
  }, e.prototype.tryParseLeftAngleBracket = function() {
3572
3535
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3573
- !Ii(this.peek() || 0)) ? (this.bump(), "<") : null;
3536
+ !vi(this.peek() || 0)) ? (this.bump(), "<") : null;
3574
3537
  }, e.prototype.tryParseQuote = function(t) {
3575
3538
  if (this.isEOF() || this.char() !== 39)
3576
3539
  return null;
@@ -3604,12 +3567,12 @@ var Oi = (
3604
3567
  n.push(r);
3605
3568
  this.bump();
3606
3569
  }
3607
- return et.apply(void 0, n);
3570
+ return Ye.apply(void 0, n);
3608
3571
  }, e.prototype.tryParseUnquoted = function(t, n) {
3609
3572
  if (this.isEOF())
3610
3573
  return null;
3611
3574
  var r = this.char();
3612
- return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), et(r));
3575
+ return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), Ye(r));
3613
3576
  }, e.prototype.parseArgument = function(t, n) {
3614
3577
  var r = this.clonePosition();
3615
3578
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3638,7 +3601,7 @@ var Oi = (
3638
3601
  return this.error(g.MALFORMED_ARGUMENT, _(r, this.clonePosition()));
3639
3602
  }
3640
3603
  }, e.prototype.parseIdentifierIfPossible = function() {
3641
- var t = this.clonePosition(), n = this.offset(), r = tt(this.message, n), i = n + r.length;
3604
+ var t = this.clonePosition(), n = this.offset(), r = Ke(this.message, n), i = n + r.length;
3642
3605
  this.bumpTo(i);
3643
3606
  var s = this.clonePosition(), a = _(t, s);
3644
3607
  return { value: r, location: a };
@@ -3657,7 +3620,7 @@ var Oi = (
3657
3620
  var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3658
3621
  if (f.err)
3659
3622
  return f;
3660
- var c = Bi(f.val);
3623
+ var c = gi(f.val);
3661
3624
  if (c.length === 0)
3662
3625
  return this.error(g.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
3663
3626
  var p = _(h, this.clonePosition());
@@ -3667,8 +3630,8 @@ var Oi = (
3667
3630
  if (d.err)
3668
3631
  return d;
3669
3632
  var m = _(i, this.clonePosition());
3670
- if (u && Lt(u == null ? void 0 : u.style, "::", 0)) {
3671
- var E = Ai(u.style.slice(2));
3633
+ if (u && Pt(u?.style, "::", 0)) {
3634
+ var E = yi(u.style.slice(2));
3672
3635
  if (o === "number") {
3673
3636
  var f = this.parseNumberSkeletonFromString(E, u.styleLocation);
3674
3637
  return f.err ? f : {
@@ -3679,12 +3642,12 @@ var Oi = (
3679
3642
  if (E.length === 0)
3680
3643
  return this.error(g.EXPECT_DATE_TIME_SKELETON, m);
3681
3644
  var S = E;
3682
- this.locale && (S = mi(E, this.locale));
3645
+ this.locale && (S = ii(E, this.locale));
3683
3646
  var c = {
3684
- type: ne.dateTime,
3647
+ type: te.dateTime,
3685
3648
  pattern: S,
3686
3649
  location: u.styleLocation,
3687
- parsedOptions: this.shouldParseSkeletons ? ui(S) : {}
3650
+ parsedOptions: this.shouldParseSkeletons ? Jr(S) : {}
3688
3651
  }, H = o === "date" ? w.date : w.time;
3689
3652
  return {
3690
3653
  val: { type: H, value: r, location: m, style: c },
@@ -3697,7 +3660,7 @@ var Oi = (
3697
3660
  type: o === "number" ? w.number : o === "date" ? w.date : w.time,
3698
3661
  value: r,
3699
3662
  location: m,
3700
- style: (s = u == null ? void 0 : u.style) !== null && s !== void 0 ? s : null
3663
+ style: (s = u?.style) !== null && s !== void 0 ? s : null
3701
3664
  },
3702
3665
  err: null
3703
3666
  };
@@ -3709,19 +3672,19 @@ var Oi = (
3709
3672
  if (this.bumpSpace(), !this.bumpIf(","))
3710
3673
  return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS, _(T, v({}, T)));
3711
3674
  this.bumpSpace();
3712
- var C = this.parseIdentifierIfPossible(), P = 0;
3713
- if (o !== "select" && C.value === "offset") {
3675
+ var O = this.parseIdentifierIfPossible(), P = 0;
3676
+ if (o !== "select" && O.value === "offset") {
3714
3677
  if (!this.bumpIf(":"))
3715
3678
  return this.error(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
3716
3679
  this.bumpSpace();
3717
3680
  var f = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3718
3681
  if (f.err)
3719
3682
  return f;
3720
- this.bumpSpace(), C = this.parseIdentifierIfPossible(), P = f.val;
3683
+ this.bumpSpace(), O = this.parseIdentifierIfPossible(), P = f.val;
3721
3684
  }
3722
- var L = this.tryParsePluralOrSelectOptions(t, o, n, C);
3723
- if (L.err)
3724
- return L;
3685
+ var C = this.tryParsePluralOrSelectOptions(t, o, n, O);
3686
+ if (C.err)
3687
+ return C;
3725
3688
  var d = this.tryParseArgumentClose(i);
3726
3689
  if (d.err)
3727
3690
  return d;
@@ -3730,7 +3693,7 @@ var Oi = (
3730
3693
  val: {
3731
3694
  type: w.select,
3732
3695
  value: r,
3733
- options: Nt(L.val),
3696
+ options: At(C.val),
3734
3697
  location: x
3735
3698
  },
3736
3699
  err: null
@@ -3738,7 +3701,7 @@ var Oi = (
3738
3701
  val: {
3739
3702
  type: w.plural,
3740
3703
  value: r,
3741
- options: Nt(L.val),
3704
+ options: At(C.val),
3742
3705
  offset: P,
3743
3706
  pluralType: o === "plural" ? "cardinal" : "ordinal",
3744
3707
  location: x
@@ -3789,16 +3752,16 @@ var Oi = (
3789
3752
  }, e.prototype.parseNumberSkeletonFromString = function(t, n) {
3790
3753
  var r = [];
3791
3754
  try {
3792
- r = hi(t);
3793
- } catch (i) {
3755
+ r = Kr(t);
3756
+ } catch {
3794
3757
  return this.error(g.INVALID_NUMBER_SKELETON, n);
3795
3758
  }
3796
3759
  return {
3797
3760
  val: {
3798
- type: ne.number,
3761
+ type: te.number,
3799
3762
  tokens: r,
3800
3763
  location: n,
3801
- parsedOptions: this.shouldParseSkeletons ? pi(r) : {}
3764
+ parsedOptions: this.shouldParseSkeletons ? ri(r) : {}
3802
3765
  },
3803
3766
  err: null
3804
3767
  };
@@ -3846,7 +3809,7 @@ var Oi = (
3846
3809
  break;
3847
3810
  }
3848
3811
  var l = _(i, this.clonePosition());
3849
- return s ? (a *= r, Hi(a) ? { val: a, err: null } : this.error(n, l)) : this.error(t, l);
3812
+ return s ? (a *= r, mi(a) ? { val: a, err: null } : this.error(n, l)) : this.error(t, l);
3850
3813
  }, e.prototype.offset = function() {
3851
3814
  return this.position.offset;
3852
3815
  }, e.prototype.isEOF = function() {
@@ -3861,7 +3824,7 @@ var Oi = (
3861
3824
  var t = this.position.offset;
3862
3825
  if (t >= this.message.length)
3863
3826
  throw Error("out of bound");
3864
- var n = Tn(this.message, t);
3827
+ var n = _n(this.message, t);
3865
3828
  if (n === void 0)
3866
3829
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3867
3830
  return n;
@@ -3880,7 +3843,7 @@ var Oi = (
3880
3843
  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);
3881
3844
  }
3882
3845
  }, e.prototype.bumpIf = function(t) {
3883
- if (Lt(this.message, t, this.offset())) {
3846
+ if (Pt(this.message, t, this.offset())) {
3884
3847
  for (var n = 0; n < t.length; n++)
3885
3848
  this.bump();
3886
3849
  return !0;
@@ -3902,56 +3865,56 @@ var Oi = (
3902
3865
  break;
3903
3866
  }
3904
3867
  }, e.prototype.bumpSpace = function() {
3905
- for (; !this.isEOF() && Pn(this.char()); )
3868
+ for (; !this.isEOF() && En(this.char()); )
3906
3869
  this.bump();
3907
3870
  }, e.prototype.peek = function() {
3908
3871
  if (this.isEOF())
3909
3872
  return null;
3910
3873
  var t = this.char(), n = this.offset(), r = this.message.charCodeAt(n + (t >= 65536 ? 2 : 1));
3911
- return r != null ? r : null;
3874
+ return r ?? null;
3912
3875
  }, e;
3913
3876
  }()
3914
3877
  );
3915
- function nt(e) {
3878
+ function et(e) {
3916
3879
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3917
3880
  }
3918
- function Ii(e) {
3919
- return nt(e) || e === 47;
3881
+ function vi(e) {
3882
+ return et(e) || e === 47;
3920
3883
  }
3921
- function Ci(e) {
3884
+ function Ei(e) {
3922
3885
  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;
3923
3886
  }
3924
- function Pn(e) {
3887
+ function En(e) {
3925
3888
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3926
3889
  }
3927
- function Li(e) {
3890
+ function xi(e) {
3928
3891
  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;
3929
3892
  }
3930
- function rt(e) {
3893
+ function tt(e) {
3931
3894
  e.forEach(function(t) {
3932
- if (delete t.location, yn(t) || gn(t))
3895
+ if (delete t.location, fn(t) || cn(t))
3933
3896
  for (var n in t.options)
3934
- delete t.options[n].location, rt(t.options[n].value);
3935
- else pn(t) && vn(t.style) || (mn(t) || bn(t)) && Ye(t.style) ? delete t.style.location : _n(t) && rt(t.children);
3897
+ delete t.options[n].location, tt(t.options[n].value);
3898
+ else un(t) && pn(t.style) || (ln(t) || hn(t)) && Qe(t.style) ? delete t.style.location : dn(t) && tt(t.children);
3936
3899
  });
3937
3900
  }
3938
- function Ni(e, t) {
3901
+ function wi(e, t) {
3939
3902
  t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3940
- var n = new Oi(e, t).parse();
3903
+ var n = new _i(e, t).parse();
3941
3904
  if (n.err) {
3942
3905
  var r = SyntaxError(g[n.err.kind]);
3943
3906
  throw r.location = n.err.location, r.originalMessage = n.err.message, r;
3944
3907
  }
3945
- return t != null && t.captureLocation || rt(n.val), n.val;
3908
+ return t?.captureLocation || tt(n.val), n.val;
3946
3909
  }
3947
- var re;
3910
+ var ne;
3948
3911
  (function(e) {
3949
3912
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3950
- })(re || (re = {}));
3951
- var Le = (
3913
+ })(ne || (ne = {}));
3914
+ var Ce = (
3952
3915
  /** @class */
3953
3916
  function(e) {
3954
- j(t, e);
3917
+ F(t, e);
3955
3918
  function t(n, r, i) {
3956
3919
  var s = e.call(this, n) || this;
3957
3920
  return s.code = r, s.originalMessage = i, s;
@@ -3960,155 +3923,155 @@ var Le = (
3960
3923
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3961
3924
  }, t;
3962
3925
  }(Error)
3963
- ), Rt = (
3926
+ ), Ot = (
3964
3927
  /** @class */
3965
3928
  function(e) {
3966
- j(t, e);
3929
+ F(t, e);
3967
3930
  function t(n, r, i, s) {
3968
- return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), re.INVALID_VALUE, s) || this;
3931
+ return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ne.INVALID_VALUE, s) || this;
3969
3932
  }
3970
3933
  return t;
3971
- }(Le)
3972
- ), Mi = (
3934
+ }(Ce)
3935
+ ), Si = (
3973
3936
  /** @class */
3974
3937
  function(e) {
3975
- j(t, e);
3938
+ F(t, e);
3976
3939
  function t(n, r, i) {
3977
- return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), re.INVALID_VALUE, i) || this;
3940
+ return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), ne.INVALID_VALUE, i) || this;
3978
3941
  }
3979
3942
  return t;
3980
- }(Le)
3981
- ), Ri = (
3943
+ }(Ce)
3944
+ ), Ti = (
3982
3945
  /** @class */
3983
3946
  function(e) {
3984
- j(t, e);
3947
+ F(t, e);
3985
3948
  function t(n, r) {
3986
- return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), re.MISSING_VALUE, r) || this;
3949
+ return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), ne.MISSING_VALUE, r) || this;
3987
3950
  }
3988
3951
  return t;
3989
- }(Le)
3990
- ), O;
3952
+ }(Ce)
3953
+ ), A;
3991
3954
  (function(e) {
3992
3955
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3993
- })(O || (O = {}));
3994
- function $i(e) {
3956
+ })(A || (A = {}));
3957
+ function Hi(e) {
3995
3958
  return e.length < 2 ? e : e.reduce(function(t, n) {
3996
3959
  var r = t[t.length - 1];
3997
- return !r || r.type !== O.literal || n.type !== O.literal ? t.push(n) : r.value += n.value, t;
3960
+ return !r || r.type !== A.literal || n.type !== A.literal ? t.push(n) : r.value += n.value, t;
3998
3961
  }, []);
3999
3962
  }
4000
- function Di(e) {
3963
+ function Pi(e) {
4001
3964
  return typeof e == "function";
4002
3965
  }
4003
- function Se(e, t, n, r, i, s, a) {
4004
- if (e.length === 1 && Bt(e[0]))
3966
+ function we(e, t, n, r, i, s, a) {
3967
+ if (e.length === 1 && wt(e[0]))
4005
3968
  return [
4006
3969
  {
4007
- type: O.literal,
3970
+ type: A.literal,
4008
3971
  value: e[0].value
4009
3972
  }
4010
3973
  ];
4011
3974
  for (var o = [], l = 0, u = e; l < u.length; l++) {
4012
3975
  var h = u[l];
4013
- if (Bt(h)) {
3976
+ if (wt(h)) {
4014
3977
  o.push({
4015
- type: O.literal,
3978
+ type: A.literal,
4016
3979
  value: h.value
4017
3980
  });
4018
3981
  continue;
4019
3982
  }
4020
- if (oi(h)) {
3983
+ if (Zr(h)) {
4021
3984
  typeof s == "number" && o.push({
4022
- type: O.literal,
3985
+ type: A.literal,
4023
3986
  value: n.getNumberFormat(t).format(s)
4024
3987
  });
4025
3988
  continue;
4026
3989
  }
4027
3990
  var f = h.value;
4028
3991
  if (!(i && f in i))
4029
- throw new Ri(f, a);
3992
+ throw new Ti(f, a);
4030
3993
  var c = i[f];
4031
- if (si(h)) {
3994
+ if (qr(h)) {
4032
3995
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), o.push({
4033
- type: typeof c == "string" ? O.literal : O.object,
3996
+ type: typeof c == "string" ? A.literal : A.object,
4034
3997
  value: c
4035
3998
  });
4036
3999
  continue;
4037
4000
  }
4038
- if (mn(h)) {
4039
- var p = typeof h.style == "string" ? r.date[h.style] : Ye(h.style) ? h.style.parsedOptions : void 0;
4001
+ if (ln(h)) {
4002
+ var p = typeof h.style == "string" ? r.date[h.style] : Qe(h.style) ? h.style.parsedOptions : void 0;
4040
4003
  o.push({
4041
- type: O.literal,
4004
+ type: A.literal,
4042
4005
  value: n.getDateTimeFormat(t, p).format(c)
4043
4006
  });
4044
4007
  continue;
4045
4008
  }
4046
- if (bn(h)) {
4047
- var p = typeof h.style == "string" ? r.time[h.style] : Ye(h.style) ? h.style.parsedOptions : r.time.medium;
4009
+ if (hn(h)) {
4010
+ var p = typeof h.style == "string" ? r.time[h.style] : Qe(h.style) ? h.style.parsedOptions : r.time.medium;
4048
4011
  o.push({
4049
- type: O.literal,
4012
+ type: A.literal,
4050
4013
  value: n.getDateTimeFormat(t, p).format(c)
4051
4014
  });
4052
4015
  continue;
4053
4016
  }
4054
- if (pn(h)) {
4055
- var p = typeof h.style == "string" ? r.number[h.style] : vn(h.style) ? h.style.parsedOptions : void 0;
4017
+ if (un(h)) {
4018
+ var p = typeof h.style == "string" ? r.number[h.style] : pn(h.style) ? h.style.parsedOptions : void 0;
4056
4019
  p && p.scale && (c = c * (p.scale || 1)), o.push({
4057
- type: O.literal,
4020
+ type: A.literal,
4058
4021
  value: n.getNumberFormat(t, p).format(c)
4059
4022
  });
4060
4023
  continue;
4061
4024
  }
4062
- if (_n(h)) {
4025
+ if (dn(h)) {
4063
4026
  var d = h.children, m = h.value, E = i[m];
4064
- if (!Di(E))
4065
- throw new Mi(m, "function", a);
4066
- var S = Se(d, t, n, r, i, s), H = E(S.map(function(P) {
4027
+ if (!Pi(E))
4028
+ throw new Si(m, "function", a);
4029
+ var S = we(d, t, n, r, i, s), H = E(S.map(function(P) {
4067
4030
  return P.value;
4068
4031
  }));
4069
4032
  Array.isArray(H) || (H = [H]), o.push.apply(o, H.map(function(P) {
4070
4033
  return {
4071
- type: typeof P == "string" ? O.literal : O.object,
4034
+ type: typeof P == "string" ? A.literal : A.object,
4072
4035
  value: P
4073
4036
  };
4074
4037
  }));
4075
4038
  }
4076
- if (yn(h)) {
4039
+ if (fn(h)) {
4077
4040
  var T = h.options[c] || h.options.other;
4078
4041
  if (!T)
4079
- throw new Rt(h.value, c, Object.keys(h.options), a);
4080
- o.push.apply(o, Se(T.value, t, n, r, i));
4042
+ throw new Ot(h.value, c, Object.keys(h.options), a);
4043
+ o.push.apply(o, we(T.value, t, n, r, i));
4081
4044
  continue;
4082
4045
  }
4083
- if (gn(h)) {
4046
+ if (cn(h)) {
4084
4047
  var T = h.options["=".concat(c)];
4085
4048
  if (!T) {
4086
4049
  if (!Intl.PluralRules)
4087
- throw new Le(`Intl.PluralRules is not available in this environment.
4050
+ throw new Ce(`Intl.PluralRules is not available in this environment.
4088
4051
  Try polyfilling it using "@formatjs/intl-pluralrules"
4089
- `, re.MISSING_INTL_API, a);
4090
- var C = n.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
4091
- T = h.options[C] || h.options.other;
4052
+ `, ne.MISSING_INTL_API, a);
4053
+ var O = n.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
4054
+ T = h.options[O] || h.options.other;
4092
4055
  }
4093
4056
  if (!T)
4094
- throw new Rt(h.value, c, Object.keys(h.options), a);
4095
- o.push.apply(o, Se(T.value, t, n, r, i, c - (h.offset || 0)));
4057
+ throw new Ot(h.value, c, Object.keys(h.options), a);
4058
+ o.push.apply(o, we(T.value, t, n, r, i, c - (h.offset || 0)));
4096
4059
  continue;
4097
4060
  }
4098
4061
  }
4099
- return $i(o);
4062
+ return Hi(o);
4100
4063
  }
4101
- function Ui(e, t) {
4064
+ function Ai(e, t) {
4102
4065
  return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
4103
4066
  return n[r] = v(v({}, e[r]), t[r] || {}), n;
4104
4067
  }, {})) : e;
4105
4068
  }
4106
- function Gi(e, t) {
4069
+ function Bi(e, t) {
4107
4070
  return t ? Object.keys(e).reduce(function(n, r) {
4108
- return n[r] = Ui(e[r], t[r]), n;
4071
+ return n[r] = Ai(e[r], t[r]), n;
4109
4072
  }, v({}, e)) : e;
4110
4073
  }
4111
- function ke(e) {
4074
+ function Fe(e) {
4112
4075
  return {
4113
4076
  create: function() {
4114
4077
  return {
@@ -4122,39 +4085,39 @@ function ke(e) {
4122
4085
  }
4123
4086
  };
4124
4087
  }
4125
- function Fi(e) {
4088
+ function Oi(e) {
4126
4089
  return e === void 0 && (e = {
4127
4090
  number: {},
4128
4091
  dateTime: {},
4129
4092
  pluralRules: {}
4130
4093
  }), {
4131
- getNumberFormat: Ge(function() {
4094
+ getNumberFormat: De(function() {
4132
4095
  for (var t, n = [], r = 0; r < arguments.length; r++)
4133
4096
  n[r] = arguments[r];
4134
- return new ((t = Intl.NumberFormat).bind.apply(t, ee([void 0], n, !1)))();
4097
+ return new ((t = Intl.NumberFormat).bind.apply(t, K([void 0], n, !1)))();
4135
4098
  }, {
4136
- cache: ke(e.number),
4137
- strategy: Fe.variadic
4099
+ cache: Fe(e.number),
4100
+ strategy: Ue.variadic
4138
4101
  }),
4139
- getDateTimeFormat: Ge(function() {
4102
+ getDateTimeFormat: De(function() {
4140
4103
  for (var t, n = [], r = 0; r < arguments.length; r++)
4141
4104
  n[r] = arguments[r];
4142
- return new ((t = Intl.DateTimeFormat).bind.apply(t, ee([void 0], n, !1)))();
4105
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, K([void 0], n, !1)))();
4143
4106
  }, {
4144
- cache: ke(e.dateTime),
4145
- strategy: Fe.variadic
4107
+ cache: Fe(e.dateTime),
4108
+ strategy: Ue.variadic
4146
4109
  }),
4147
- getPluralRules: Ge(function() {
4110
+ getPluralRules: De(function() {
4148
4111
  for (var t, n = [], r = 0; r < arguments.length; r++)
4149
4112
  n[r] = arguments[r];
4150
- return new ((t = Intl.PluralRules).bind.apply(t, ee([void 0], n, !1)))();
4113
+ return new ((t = Intl.PluralRules).bind.apply(t, K([void 0], n, !1)))();
4151
4114
  }, {
4152
- cache: ke(e.pluralRules),
4153
- strategy: Fe.variadic
4115
+ cache: Fe(e.pluralRules),
4116
+ strategy: Ue.variadic
4154
4117
  })
4155
4118
  };
4156
4119
  }
4157
- var ji = (
4120
+ var Ii = (
4158
4121
  /** @class */
4159
4122
  function() {
4160
4123
  function e(t, n, r, i) {
@@ -4169,11 +4132,11 @@ var ji = (
4169
4132
  if (u.length === 1)
4170
4133
  return u[0].value;
4171
4134
  var h = u.reduce(function(f, c) {
4172
- return !f.length || c.type !== O.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
4135
+ return !f.length || c.type !== A.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
4173
4136
  }, []);
4174
4137
  return h.length <= 1 ? h[0] || "" : h;
4175
4138
  }, this.formatToParts = function(l) {
4176
- return Se(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
4139
+ return we(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
4177
4140
  }, this.resolvedOptions = function() {
4178
4141
  var l;
4179
4142
  return {
@@ -4186,13 +4149,13 @@ var ji = (
4186
4149
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
4187
4150
  var a = i || {};
4188
4151
  a.formatters;
4189
- var o = vr(a, ["formatters"]);
4152
+ var o = lr(a, ["formatters"]);
4190
4153
  this.ast = e.__parse(t, v(v({}, o), { locale: this.resolvedLocale }));
4191
4154
  } else
4192
4155
  this.ast = t;
4193
4156
  if (!Array.isArray(this.ast))
4194
4157
  throw new TypeError("A message must be provided as a String or AST.");
4195
- this.formats = Gi(e.formats, r), this.formatters = i && i.formatters || Fi(this.formatterCache);
4158
+ this.formats = Bi(e.formats, r), this.formatters = i && i.formatters || Oi(this.formatterCache);
4196
4159
  }
4197
4160
  return Object.defineProperty(e, "defaultLocale", {
4198
4161
  get: function() {
@@ -4201,11 +4164,11 @@ var ji = (
4201
4164
  enumerable: !1,
4202
4165
  configurable: !0
4203
4166
  }), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
4204
- if (typeof Intl.Locale != "undefined") {
4167
+ if (!(typeof Intl.Locale > "u")) {
4205
4168
  var n = Intl.NumberFormat.supportedLocalesOf(t);
4206
4169
  return n.length > 0 ? new Intl.Locale(n[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
4207
4170
  }
4208
- }, e.__parse = Ni, e.formats = {
4171
+ }, e.__parse = wi, e.formats = {
4209
4172
  number: {
4210
4173
  integer: {
4211
4174
  maximumFractionDigits: 0
@@ -4266,7 +4229,7 @@ var ji = (
4266
4229
  }, e;
4267
4230
  }()
4268
4231
  );
4269
- function ki(e, t) {
4232
+ function Ci(e, t) {
4270
4233
  if (t == null)
4271
4234
  return;
4272
4235
  if (t in e)
@@ -4287,92 +4250,92 @@ function ki(e, t) {
4287
4250
  r = void 0;
4288
4251
  return r;
4289
4252
  }
4290
- const k = {}, Vi = (e, t, n) => n && (t in k || (k[t] = {}), e in k[t] || (k[t][e] = n), n), An = (e, t) => {
4253
+ const j = {}, Li = (e, t, n) => n && (t in j || (j[t] = {}), e in j[t] || (j[t][e] = n), n), xn = (e, t) => {
4291
4254
  if (t == null)
4292
4255
  return;
4293
- if (t in k && e in k[t])
4294
- return k[t][e];
4295
- const n = Ne(t);
4256
+ if (t in j && e in j[t])
4257
+ return j[t][e];
4258
+ const n = Le(t);
4296
4259
  for (let r = 0; r < n.length; r++) {
4297
- const i = n[r], s = Wi(i, e);
4260
+ const i = n[r], s = Mi(i, e);
4298
4261
  if (s)
4299
- return Vi(e, t, s);
4262
+ return Li(e, t, s);
4300
4263
  }
4301
4264
  };
4302
- let ht;
4303
- const be = Ce({});
4304
- function Xi(e) {
4305
- return ht[e] || null;
4265
+ let ut;
4266
+ const me = Ie({});
4267
+ function Ni(e) {
4268
+ return ut[e] || null;
4306
4269
  }
4307
- function Bn(e) {
4308
- return e in ht;
4270
+ function wn(e) {
4271
+ return e in ut;
4309
4272
  }
4310
- function Wi(e, t) {
4311
- if (!Bn(e))
4273
+ function Mi(e, t) {
4274
+ if (!wn(e))
4312
4275
  return null;
4313
- const n = Xi(e);
4314
- return ki(n, t);
4276
+ const n = Ni(e);
4277
+ return Ci(n, t);
4315
4278
  }
4316
- function zi(e) {
4279
+ function Ri(e) {
4317
4280
  if (e == null)
4318
4281
  return;
4319
- const t = Ne(e);
4282
+ const t = Le(e);
4320
4283
  for (let n = 0; n < t.length; n++) {
4321
4284
  const r = t[n];
4322
- if (Bn(r))
4285
+ if (wn(r))
4323
4286
  return r;
4324
4287
  }
4325
4288
  }
4326
- function On(e, ...t) {
4327
- delete k[e], be.update((n) => (n[e] = Jr.all([n[e] || {}, ...t]), n));
4289
+ function Sn(e, ...t) {
4290
+ delete j[e], me.update((n) => (n[e] = Gr.all([n[e] || {}, ...t]), n));
4328
4291
  }
4329
- se(
4330
- [be],
4292
+ ie(
4293
+ [me],
4331
4294
  ([e]) => Object.keys(e)
4332
4295
  );
4333
- be.subscribe((e) => ht = e);
4334
- const Te = {};
4335
- function qi(e, t) {
4336
- Te[e].delete(t), Te[e].size === 0 && delete Te[e];
4296
+ me.subscribe((e) => ut = e);
4297
+ const Se = {};
4298
+ function $i(e, t) {
4299
+ Se[e].delete(t), Se[e].size === 0 && delete Se[e];
4337
4300
  }
4338
- function In(e) {
4339
- return Te[e];
4301
+ function Tn(e) {
4302
+ return Se[e];
4340
4303
  }
4341
- function Zi(e) {
4342
- return Ne(e).map((t) => {
4343
- const n = In(t);
4304
+ function Di(e) {
4305
+ return Le(e).map((t) => {
4306
+ const n = Tn(t);
4344
4307
  return [t, n ? [...n] : []];
4345
4308
  }).filter(([, t]) => t.length > 0);
4346
4309
  }
4347
- function it(e) {
4348
- return e == null ? !1 : Ne(e).some(
4310
+ function nt(e) {
4311
+ return e == null ? !1 : Le(e).some(
4349
4312
  (t) => {
4350
4313
  var n;
4351
- return (n = In(t)) == null ? void 0 : n.size;
4314
+ return (n = Tn(t)) == null ? void 0 : n.size;
4352
4315
  }
4353
4316
  );
4354
4317
  }
4355
- function Qi(e, t) {
4318
+ function Ui(e, t) {
4356
4319
  return Promise.all(
4357
- t.map((r) => (qi(e, r), r().then((i) => i.default || i)))
4358
- ).then((r) => On(e, ...r));
4359
- }
4360
- const le = {};
4361
- function Cn(e) {
4362
- if (!it(e))
4363
- return e in le ? le[e] : Promise.resolve();
4364
- const t = Zi(e);
4365
- return le[e] = Promise.all(
4320
+ t.map((r) => ($i(e, r), r().then((i) => i.default || i)))
4321
+ ).then((r) => Sn(e, ...r));
4322
+ }
4323
+ const ue = {};
4324
+ function Hn(e) {
4325
+ if (!nt(e))
4326
+ return e in ue ? ue[e] : Promise.resolve();
4327
+ const t = Di(e);
4328
+ return ue[e] = Promise.all(
4366
4329
  t.map(
4367
- ([n, r]) => Qi(n, r)
4330
+ ([n, r]) => Ui(n, r)
4368
4331
  )
4369
4332
  ).then(() => {
4370
- if (it(e))
4371
- return Cn(e);
4372
- delete le[e];
4373
- }), le[e];
4333
+ if (nt(e))
4334
+ return Hn(e);
4335
+ delete ue[e];
4336
+ }), ue[e];
4374
4337
  }
4375
- const Ji = {
4338
+ const Gi = {
4376
4339
  number: {
4377
4340
  scientific: { notation: "scientific" },
4378
4341
  engineering: { notation: "engineering" },
@@ -4401,150 +4364,150 @@ const Ji = {
4401
4364
  timeZoneName: "short"
4402
4365
  }
4403
4366
  }
4404
- }, Yi = {
4367
+ }, Fi = {
4405
4368
  fallbackLocale: null,
4406
4369
  loadingDelay: 200,
4407
- formats: Ji,
4370
+ formats: Gi,
4408
4371
  warnOnMissingMessages: !0,
4409
4372
  handleMissingMessage: void 0,
4410
4373
  ignoreTag: !0
4411
- }, Ki = Yi;
4412
- function ie() {
4413
- return Ki;
4374
+ }, ji = Fi;
4375
+ function re() {
4376
+ return ji;
4414
4377
  }
4415
- const Ve = Ce(!1);
4416
- var es = Object.defineProperty, ts = Object.defineProperties, ns = Object.getOwnPropertyDescriptors, $t = Object.getOwnPropertySymbols, rs = Object.prototype.hasOwnProperty, is = Object.prototype.propertyIsEnumerable, Dt = (e, t, n) => t in e ? es(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, ss = (e, t) => {
4378
+ const je = Ie(!1);
4379
+ var ki = Object.defineProperty, Vi = Object.defineProperties, Xi = Object.getOwnPropertyDescriptors, It = Object.getOwnPropertySymbols, Wi = Object.prototype.hasOwnProperty, zi = Object.prototype.propertyIsEnumerable, Ct = (e, t, n) => t in e ? ki(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, qi = (e, t) => {
4417
4380
  for (var n in t)
4418
- rs.call(t, n) && Dt(e, n, t[n]);
4419
- if ($t)
4420
- for (var n of $t(t))
4421
- is.call(t, n) && Dt(e, n, t[n]);
4381
+ Wi.call(t, n) && Ct(e, n, t[n]);
4382
+ if (It)
4383
+ for (var n of It(t))
4384
+ zi.call(t, n) && Ct(e, n, t[n]);
4422
4385
  return e;
4423
- }, os = (e, t) => ts(e, ns(t));
4424
- let st;
4425
- const Be = Ce(null);
4426
- function Ut(e) {
4386
+ }, Zi = (e, t) => Vi(e, Xi(t));
4387
+ let rt;
4388
+ const Ae = Ie(null);
4389
+ function Lt(e) {
4427
4390
  return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
4428
4391
  }
4429
- function Ne(e, t = ie().fallbackLocale) {
4430
- const n = Ut(e);
4431
- return t ? [.../* @__PURE__ */ new Set([...n, ...Ut(t)])] : n;
4392
+ function Le(e, t = re().fallbackLocale) {
4393
+ const n = Lt(e);
4394
+ return t ? [.../* @__PURE__ */ new Set([...n, ...Lt(t)])] : n;
4432
4395
  }
4433
- function z() {
4434
- return st != null ? st : void 0;
4396
+ function W() {
4397
+ return rt ?? void 0;
4435
4398
  }
4436
- Be.subscribe((e) => {
4437
- st = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4399
+ Ae.subscribe((e) => {
4400
+ rt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4438
4401
  });
4439
- const as = (e) => {
4440
- if (e && zi(e) && it(e)) {
4441
- const { loadingDelay: t } = ie();
4402
+ const Qi = (e) => {
4403
+ if (e && Ri(e) && nt(e)) {
4404
+ const { loadingDelay: t } = re();
4442
4405
  let n;
4443
- return typeof window != "undefined" && z() != null && t ? n = window.setTimeout(
4444
- () => Ve.set(!0),
4406
+ return typeof window < "u" && W() != null && t ? n = window.setTimeout(
4407
+ () => je.set(!0),
4445
4408
  t
4446
- ) : Ve.set(!0), Cn(e).then(() => {
4447
- Be.set(e);
4409
+ ) : je.set(!0), Hn(e).then(() => {
4410
+ Ae.set(e);
4448
4411
  }).finally(() => {
4449
- clearTimeout(n), Ve.set(!1);
4412
+ clearTimeout(n), je.set(!1);
4450
4413
  });
4451
4414
  }
4452
- return Be.set(e);
4453
- }, oe = os(ss({}, Be), {
4454
- set: as
4455
- }), Me = (e) => {
4415
+ return Ae.set(e);
4416
+ }, se = Zi(qi({}, Ae), {
4417
+ set: Qi
4418
+ }), Ne = (e) => {
4456
4419
  const t = /* @__PURE__ */ Object.create(null);
4457
4420
  return (r) => {
4458
4421
  const i = JSON.stringify(r);
4459
4422
  return i in t ? t[i] : t[i] = e(r);
4460
4423
  };
4461
4424
  };
4462
- var us = Object.defineProperty, Oe = Object.getOwnPropertySymbols, Ln = Object.prototype.hasOwnProperty, Nn = Object.prototype.propertyIsEnumerable, Gt = (e, t, n) => t in e ? us(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, ft = (e, t) => {
4425
+ var Ji = Object.defineProperty, Be = Object.getOwnPropertySymbols, Pn = Object.prototype.hasOwnProperty, An = Object.prototype.propertyIsEnumerable, Nt = (e, t, n) => t in e ? Ji(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, lt = (e, t) => {
4463
4426
  for (var n in t || (t = {}))
4464
- Ln.call(t, n) && Gt(e, n, t[n]);
4465
- if (Oe)
4466
- for (var n of Oe(t))
4467
- Nn.call(t, n) && Gt(e, n, t[n]);
4427
+ Pn.call(t, n) && Nt(e, n, t[n]);
4428
+ if (Be)
4429
+ for (var n of Be(t))
4430
+ An.call(t, n) && Nt(e, n, t[n]);
4468
4431
  return e;
4469
- }, ae = (e, t) => {
4432
+ }, oe = (e, t) => {
4470
4433
  var n = {};
4471
4434
  for (var r in e)
4472
- Ln.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
4473
- if (e != null && Oe)
4474
- for (var r of Oe(e))
4475
- t.indexOf(r) < 0 && Nn.call(e, r) && (n[r] = e[r]);
4435
+ Pn.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
4436
+ if (e != null && Be)
4437
+ for (var r of Be(e))
4438
+ t.indexOf(r) < 0 && An.call(e, r) && (n[r] = e[r]);
4476
4439
  return n;
4477
4440
  };
4478
- const de = (e, t) => {
4479
- const { formats: n } = ie();
4441
+ const ce = (e, t) => {
4442
+ const { formats: n } = re();
4480
4443
  if (e in n && t in n[e])
4481
4444
  return n[e][t];
4482
4445
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4483
- }, ls = Me(
4446
+ }, Yi = Ne(
4484
4447
  (e) => {
4485
- var t = e, { locale: n, format: r } = t, i = ae(t, ["locale", "format"]);
4448
+ var t = e, { locale: n, format: r } = t, i = oe(t, ["locale", "format"]);
4486
4449
  if (n == null)
4487
4450
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4488
- return r && (i = de("number", r)), new Intl.NumberFormat(n, i);
4451
+ return r && (i = ce("number", r)), new Intl.NumberFormat(n, i);
4489
4452
  }
4490
- ), hs = Me(
4453
+ ), Ki = Ne(
4491
4454
  (e) => {
4492
- var t = e, { locale: n, format: r } = t, i = ae(t, ["locale", "format"]);
4455
+ var t = e, { locale: n, format: r } = t, i = oe(t, ["locale", "format"]);
4493
4456
  if (n == null)
4494
4457
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4495
- return r ? i = de("date", r) : Object.keys(i).length === 0 && (i = de("date", "short")), new Intl.DateTimeFormat(n, i);
4458
+ return r ? i = ce("date", r) : Object.keys(i).length === 0 && (i = ce("date", "short")), new Intl.DateTimeFormat(n, i);
4496
4459
  }
4497
- ), fs = Me(
4460
+ ), es = Ne(
4498
4461
  (e) => {
4499
- var t = e, { locale: n, format: r } = t, i = ae(t, ["locale", "format"]);
4462
+ var t = e, { locale: n, format: r } = t, i = oe(t, ["locale", "format"]);
4500
4463
  if (n == null)
4501
4464
  throw new Error(
4502
4465
  '[svelte-i18n] A "locale" must be set to format time values'
4503
4466
  );
4504
- return r ? i = de("time", r) : Object.keys(i).length === 0 && (i = de("time", "short")), new Intl.DateTimeFormat(n, i);
4467
+ return r ? i = ce("time", r) : Object.keys(i).length === 0 && (i = ce("time", "short")), new Intl.DateTimeFormat(n, i);
4505
4468
  }
4506
- ), cs = (e = {}) => {
4469
+ ), ts = (e = {}) => {
4507
4470
  var t = e, {
4508
- locale: n = z()
4509
- } = t, r = ae(t, [
4471
+ locale: n = W()
4472
+ } = t, r = oe(t, [
4510
4473
  "locale"
4511
4474
  ]);
4512
- return ls(ft({ locale: n }, r));
4513
- }, ds = (e = {}) => {
4475
+ return Yi(lt({ locale: n }, r));
4476
+ }, ns = (e = {}) => {
4514
4477
  var t = e, {
4515
- locale: n = z()
4516
- } = t, r = ae(t, [
4478
+ locale: n = W()
4479
+ } = t, r = oe(t, [
4517
4480
  "locale"
4518
4481
  ]);
4519
- return hs(ft({ locale: n }, r));
4520
- }, ps = (e = {}) => {
4482
+ return Ki(lt({ locale: n }, r));
4483
+ }, rs = (e = {}) => {
4521
4484
  var t = e, {
4522
- locale: n = z()
4523
- } = t, r = ae(t, [
4485
+ locale: n = W()
4486
+ } = t, r = oe(t, [
4524
4487
  "locale"
4525
4488
  ]);
4526
- return fs(ft({ locale: n }, r));
4527
- }, ms = Me(
4489
+ return es(lt({ locale: n }, r));
4490
+ }, is = Ne(
4528
4491
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4529
- (e, t = z()) => new ji(e, t, ie().formats, {
4530
- ignoreTag: ie().ignoreTag
4492
+ (e, t = W()) => new Ii(e, t, re().formats, {
4493
+ ignoreTag: re().ignoreTag
4531
4494
  })
4532
- ), bs = (e, t = {}) => {
4495
+ ), ss = (e, t = {}) => {
4533
4496
  var n, r, i, s;
4534
4497
  let a = t;
4535
4498
  typeof e == "object" && (a = e, e = a.id);
4536
4499
  const {
4537
4500
  values: o,
4538
- locale: l = z(),
4501
+ locale: l = W(),
4539
4502
  default: u
4540
4503
  } = a;
4541
4504
  if (l == null)
4542
4505
  throw new Error(
4543
4506
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4544
4507
  );
4545
- let h = An(e, l);
4508
+ let h = xn(e, l);
4546
4509
  if (!h)
4547
- h = (s = (i = (r = (n = ie()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
4510
+ h = (s = (i = (r = (n = re()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
4548
4511
  else if (typeof h != "string")
4549
4512
  return console.warn(
4550
4513
  `[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.`
@@ -4553,7 +4516,7 @@ const de = (e, t) => {
4553
4516
  return h;
4554
4517
  let f = h;
4555
4518
  try {
4556
- f = ms(h, l).format(o);
4519
+ f = is(h, l).format(o);
4557
4520
  } catch (c) {
4558
4521
  c instanceof Error && console.warn(
4559
4522
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4561,16 +4524,16 @@ const de = (e, t) => {
4561
4524
  );
4562
4525
  }
4563
4526
  return f;
4564
- }, ys = (e, t) => ps(t).format(e), gs = (e, t) => ds(t).format(e), _s = (e, t) => cs(t).format(e), vs = (e, t = z()) => An(e, t), Es = se([oe, be], () => bs);
4565
- se([oe], () => ys);
4566
- se([oe], () => gs);
4567
- se([oe], () => _s);
4568
- se([oe, be], () => vs);
4569
- window.emWidgets = { topic: Nr };
4570
- const Mn = (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)), xs = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4571
- function Ys(e, t) {
4527
+ }, os = (e, t) => rs(t).format(e), as = (e, t) => ns(t).format(e), us = (e, t) => ts(t).format(e), ls = (e, t = W()) => xn(e, t), hs = ie([se, me], () => ss);
4528
+ ie([se], () => os);
4529
+ ie([se], () => as);
4530
+ ie([se], () => us);
4531
+ ie([se, me], () => ls);
4532
+ window.emWidgets = { topic: wr };
4533
+ const Bn = (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)), fs = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4534
+ function Gs(e, t) {
4572
4535
  const n = window.navigator.userAgent;
4573
- return Mn(n) ? t = e.filter((r) => {
4536
+ return Bn(n) ? t = e.filter((r) => {
4574
4537
  if (r.gameModel && (r.gameModel.platform.includes("iPad") || r.gameModel.platform.includes("iPhone") || r.gameModel.platform.includes("Android")))
4575
4538
  return r;
4576
4539
  }) : t = e.filter((r) => {
@@ -4578,7 +4541,7 @@ function Ys(e, t) {
4578
4541
  return r;
4579
4542
  }), t;
4580
4543
  }
4581
- function Ks(e, t) {
4544
+ function Fs(e, t) {
4582
4545
  return new Promise((n, r) => {
4583
4546
  const i = new Headers();
4584
4547
  i.append("X-SessionID", t);
@@ -4589,13 +4552,13 @@ function Ks(e, t) {
4589
4552
  fetch(`${e}/v1/player/session/player`, s).then((a) => a.json()).then((a) => n(a)).catch((a) => r(a));
4590
4553
  });
4591
4554
  }
4592
- function Ft(e, t) {
4593
- On(e, t);
4555
+ function Mt(e, t) {
4556
+ Sn(e, t);
4594
4557
  }
4595
- function ws(e) {
4596
- oe.set(e);
4558
+ function cs(e) {
4559
+ se.set(e);
4597
4560
  }
4598
- const jt = {
4561
+ const Rt = {
4599
4562
  en: {
4600
4563
  error: "500 Error - Internal Server Error"
4601
4564
  },
@@ -4615,7 +4578,7 @@ const jt = {
4615
4578
  error: "500 Error - Internal Server Error"
4616
4579
  }
4617
4580
  };
4618
- if (typeof window != "undefined") {
4581
+ if (typeof window < "u") {
4619
4582
  let e = function(t) {
4620
4583
  return function(...n) {
4621
4584
  try {
@@ -4627,11 +4590,11 @@ if (typeof window != "undefined") {
4627
4590
  }
4628
4591
  };
4629
4592
  };
4630
- customElements.define = e(customElements.define), import("./CasinoCalendarDailyDetails-BXGq5a2T.js").then(({ default: t }) => {
4593
+ customElements.define = e(customElements.define), import("./CasinoCalendarDailyDetails-buDoufAV.js").then(({ default: t }) => {
4631
4594
  !customElements.get("casino-calendar-daily-details") && customElements.define("casino-calendar-daily-details", t.element);
4632
4595
  });
4633
4596
  }
4634
- if (typeof window != "undefined") {
4597
+ if (typeof window < "u") {
4635
4598
  let e = function(t) {
4636
4599
  return function(...n) {
4637
4600
  try {
@@ -4643,111 +4606,111 @@ if (typeof window != "undefined") {
4643
4606
  }
4644
4607
  };
4645
4608
  };
4646
- customElements.define = e(customElements.define), import("./CasinoCalendarDailyItem-D2aX3lqV.js").then(({ default: t }) => {
4609
+ customElements.define = e(customElements.define), import("./CasinoCalendarDailyItem-koPRd703.js").then(({ default: t }) => {
4647
4610
  !customElements.get("casino-calendar-daily-item") && customElements.define("casino-calendar-daily-item", t.element);
4648
4611
  });
4649
4612
  }
4650
- function Ss(e) {
4651
- qn(e, "svelte-1bqenf9", `.CasinoCalendarItem.svelte-1bqenf9{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-1bqenf9{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-1bqenf9{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-1bqenf9{display:block;width:80px;height:80px;margin:0 auto
4613
+ function ds(e) {
4614
+ $n(e, "svelte-1bqenf9", `.CasinoCalendarItem.svelte-1bqenf9{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-1bqenf9{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-1bqenf9{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-1bqenf9{display:block;width:80px;height:80px;margin:0 auto
4652
4615
  }.LoadingSpinner.svelte-1bqenf9: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-1bqenf9-LoadingSpinner 1.2s linear infinite}@keyframes svelte-1bqenf9-LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}`);
4653
4616
  }
4654
- function kt(e, t, n) {
4617
+ function $t(e, t, n) {
4655
4618
  const r = e.slice();
4656
4619
  return r[26] = t[n], r[28] = n, r;
4657
4620
  }
4658
- function Ts(e) {
4659
- let t, n, r, i = vt(
4621
+ function ps(e) {
4622
+ let t, n, r, i = pt(
4660
4623
  /*calendarCollections*/
4661
4624
  e[5]
4662
4625
  ), s = [];
4663
4626
  for (let o = 0; o < i.length; o += 1)
4664
- s[o] = Vt(kt(e, i, o));
4627
+ s[o] = Dt($t(e, i, o));
4665
4628
  let a = (
4666
4629
  /*calendarModalOpened*/
4667
- e[10] == !0 && Xt(e)
4630
+ e[10] == !0 && Ut(e)
4668
4631
  );
4669
4632
  return {
4670
4633
  c() {
4671
- t = $("div");
4634
+ t = R("div");
4672
4635
  for (let o = 0; o < s.length; o += 1)
4673
4636
  s[o].c();
4674
- n = Yn(), a && a.c(), W(t, "class", r = "CasinoCalendarItem " + /*mobileView*/
4637
+ n = Fn(), a && a.c(), X(t, "class", r = "CasinoCalendarItem " + /*mobileView*/
4675
4638
  (e[9] ? "Mobile" : "") + " svelte-1bqenf9");
4676
4639
  },
4677
4640
  m(o, l) {
4678
- X(o, t, l);
4641
+ V(o, t, l);
4679
4642
  for (let u = 0; u < s.length; u += 1)
4680
4643
  s[u] && s[u].m(t, null);
4681
- me(t, n), a && a.m(t, null);
4644
+ pe(t, n), a && a.m(t, null);
4682
4645
  },
4683
4646
  p(o, l) {
4684
4647
  if (l & /*calendarCollections, lang, clientstyling, clientstylingurl, translationurl*/
4685
4648
  47) {
4686
- i = vt(
4649
+ i = pt(
4687
4650
  /*calendarCollections*/
4688
4651
  o[5]
4689
4652
  );
4690
4653
  let u;
4691
4654
  for (u = 0; u < i.length; u += 1) {
4692
- const h = kt(o, i, u);
4693
- s[u] ? s[u].p(h, l) : (s[u] = Vt(h), s[u].c(), s[u].m(t, n));
4655
+ const h = $t(o, i, u);
4656
+ s[u] ? s[u].p(h, l) : (s[u] = Dt(h), s[u].c(), s[u].m(t, n));
4694
4657
  }
4695
4658
  for (; u < s.length; u += 1)
4696
4659
  s[u].d(1);
4697
4660
  s.length = i.length;
4698
4661
  }
4699
4662
  /*calendarModalOpened*/
4700
- o[10] == !0 ? a ? a.p(o, l) : (a = Xt(o), a.c(), a.m(t, null)) : a && (a.d(1), a = null), l & /*mobileView*/
4663
+ o[10] == !0 ? a ? a.p(o, l) : (a = Ut(o), a.c(), a.m(t, null)) : a && (a.d(1), a = null), l & /*mobileView*/
4701
4664
  512 && r !== (r = "CasinoCalendarItem " + /*mobileView*/
4702
- (o[9] ? "Mobile" : "") + " svelte-1bqenf9") && W(t, "class", r);
4665
+ (o[9] ? "Mobile" : "") + " svelte-1bqenf9") && X(t, "class", r);
4703
4666
  },
4704
4667
  d(o) {
4705
- o && D(t), Qn(s, o), a && a.d();
4668
+ o && $(t), Un(s, o), a && a.d();
4706
4669
  }
4707
4670
  };
4708
4671
  }
4709
- function Hs(e) {
4672
+ function ms(e) {
4710
4673
  let t;
4711
4674
  return {
4712
4675
  c() {
4713
- t = $("div"), W(t, "class", "LoadingSpinner svelte-1bqenf9");
4676
+ t = R("div"), X(t, "class", "LoadingSpinner svelte-1bqenf9");
4714
4677
  },
4715
4678
  m(n, r) {
4716
- X(n, t, r);
4679
+ V(n, t, r);
4717
4680
  },
4718
- p: I,
4681
+ p: B,
4719
4682
  d(n) {
4720
- n && D(t);
4683
+ n && $(t);
4721
4684
  }
4722
4685
  };
4723
4686
  }
4724
- function Ps(e) {
4687
+ function bs(e) {
4725
4688
  let t, n = (
4726
4689
  /*$_*/
4727
4690
  e[11]("error") + ""
4728
4691
  ), r;
4729
4692
  return {
4730
4693
  c() {
4731
- t = $("p"), r = ut(n), W(t, "class", "SearchLoading");
4694
+ t = R("p"), r = ot(n), X(t, "class", "SearchLoading");
4732
4695
  },
4733
4696
  m(i, s) {
4734
- X(i, t, s), me(t, r);
4697
+ V(i, t, s), pe(t, r);
4735
4698
  },
4736
4699
  p(i, s) {
4737
4700
  s & /*$_*/
4738
4701
  2048 && n !== (n = /*$_*/
4739
- i[11]("error") + "") && er(r, n);
4702
+ i[11]("error") + "") && kn(r, n);
4740
4703
  },
4741
4704
  d(i) {
4742
- i && D(t);
4705
+ i && $(t);
4743
4706
  }
4744
4707
  };
4745
4708
  }
4746
- function Vt(e) {
4709
+ function Dt(e) {
4747
4710
  let t, n, r, i, s, a;
4748
4711
  return {
4749
4712
  c() {
4750
- t = $("casino-calendar-daily-item"), y(t, "dailybackground", n = /*dailyCalendarData*/
4713
+ t = R("casino-calendar-daily-item"), y(t, "dailybackground", n = /*dailyCalendarData*/
4751
4714
  e[26].dailyBackground), y(t, "dailyicon", r = /*dailyCalendarData*/
4752
4715
  e[26].dailyIcon), y(t, "dailyday", i = /*dailyCalendarData*/
4753
4716
  e[26].dailyDay), y(t, "dailydescription", s = /*dailyCalendarData*/
@@ -4780,7 +4743,7 @@ function Vt(e) {
4780
4743
  );
4781
4744
  },
4782
4745
  m(o, l) {
4783
- X(o, t, l);
4746
+ V(o, t, l);
4784
4747
  },
4785
4748
  p(o, l) {
4786
4749
  l & /*calendarCollections*/
@@ -4820,15 +4783,15 @@ function Vt(e) {
4820
4783
  );
4821
4784
  },
4822
4785
  d(o) {
4823
- o && D(t);
4786
+ o && $(t);
4824
4787
  }
4825
4788
  };
4826
4789
  }
4827
- function Xt(e) {
4790
+ function Ut(e) {
4828
4791
  let t, n, r, i, s, a, o, l;
4829
4792
  return {
4830
4793
  c() {
4831
- t = $("div"), n = $("casino-calendar-daily-details"), y(n, "dailybackground", r = /*calendarCollections*/
4794
+ t = R("div"), n = R("casino-calendar-daily-details"), y(n, "dailybackground", r = /*calendarCollections*/
4832
4795
  e[5][
4833
4796
  /*selectedIndex*/
4834
4797
  e[6]
@@ -4872,10 +4835,10 @@ function Xt(e) {
4872
4835
  "translationurl",
4873
4836
  /*translationurl*/
4874
4837
  e[3]
4875
- ), W(t, "class", "CalendarDetailsWrapper svelte-1bqenf9");
4838
+ ), X(t, "class", "CalendarDetailsWrapper svelte-1bqenf9");
4876
4839
  },
4877
4840
  m(u, h) {
4878
- X(u, t, h), me(t, n);
4841
+ V(u, t, h), pe(t, n);
4879
4842
  },
4880
4843
  p(u, h) {
4881
4844
  h & /*calendarCollections, selectedIndex*/
@@ -4935,81 +4898,79 @@ function Xt(e) {
4935
4898
  );
4936
4899
  },
4937
4900
  d(u) {
4938
- u && D(t);
4901
+ u && $(t);
4939
4902
  }
4940
4903
  };
4941
4904
  }
4942
- function As(e) {
4905
+ function ys(e) {
4943
4906
  let t;
4944
4907
  function n(s, a) {
4945
- var o;
4946
4908
  if (
4947
4909
  /*hasErrors*/
4948
4910
  s[8]
4949
- ) return Ps;
4911
+ ) return bs;
4950
4912
  if (
4951
4913
  /*isLoading*/
4952
4914
  s[7]
4953
- ) return Hs;
4915
+ ) return ms;
4954
4916
  if (
4955
4917
  /*calendarCollections*/
4956
- (o = s[5]) != null && o.length
4957
- ) return Ts;
4918
+ s[5]?.length
4919
+ ) return ps;
4958
4920
  }
4959
4921
  let r = n(e), i = r && r(e);
4960
4922
  return {
4961
4923
  c() {
4962
- t = $("div"), i && i.c();
4924
+ t = R("div"), i && i.c();
4963
4925
  },
4964
4926
  m(s, a) {
4965
- X(s, t, a), i && i.m(t, null), e[15](t);
4927
+ V(s, t, a), i && i.m(t, null), e[15](t);
4966
4928
  },
4967
4929
  p(s, [a]) {
4968
4930
  r === (r = n(s)) && i ? i.p(s, a) : (i && i.d(1), i = r && r(s), i && (i.c(), i.m(t, null)));
4969
4931
  },
4970
- i: I,
4971
- o: I,
4932
+ i: B,
4933
+ o: B,
4972
4934
  d(s) {
4973
- s && D(t), i && i.d(), e[15](null);
4935
+ s && $(t), i && i.d(), e[15](null);
4974
4936
  }
4975
4937
  };
4976
4938
  }
4977
- function Bs(e, t, n) {
4939
+ function gs(e, t, n) {
4978
4940
  let r;
4979
- Xn(e, Es, (b) => n(11, r = b));
4941
+ Nn(e, hs, (b) => n(11, r = b));
4980
4942
  let { cmsendpoint: i = "" } = t, { env: s = "" } = t, { userroles: a = "" } = t, { lang: o = "en" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: h } = t, f, c, p = 0, d = !0, m = !1, E = !1, S = window.navigator.userAgent, H = !1;
4981
4943
  const T = () => {
4982
- ws(o);
4944
+ cs(o);
4983
4945
  };
4984
- Object.keys(jt).forEach((b) => {
4985
- Ft(b, jt[b]);
4946
+ Object.keys(Rt).forEach((b) => {
4947
+ Mt(b, Rt[b]);
4986
4948
  });
4987
- const C = () => {
4949
+ const O = () => {
4988
4950
  let b = h;
4989
4951
  if (b)
4990
- return fetch(b).then((A) => A.json()).then((A) => {
4991
- Object.keys(A).forEach((R) => {
4992
- Ft(R, A[R]);
4952
+ return fetch(b).then((I) => I.json()).then((I) => {
4953
+ Object.keys(I).forEach((M) => {
4954
+ Mt(M, I[M]);
4993
4955
  });
4994
- }).catch((A) => {
4995
- console.log(A);
4956
+ }).catch((I) => {
4957
+ console.log(I);
4996
4958
  });
4997
4959
  }, P = () => {
4998
4960
  n(7, d = !0);
4999
4961
  let b = new URL(`${i}/${o}/daily-calendar`);
5000
4962
  b.searchParams.append("userRoles", a), b.searchParams.append("env", s);
5001
- let A = xs(S);
5002
- A && (A === "PC" ? b.searchParams.append("device", "dk") : A === "iPad" || A === "iPhone" ? b.searchParams.append("device", "ios") : b.searchParams.append("device", "mtWeb")), fetch(b.href).then((R) => R.json()).then((R) => {
5003
- n(5, c = R);
5004
- }).catch((R) => {
5005
- console.log(R), n(8, m = !0);
4963
+ let I = fs(S);
4964
+ I && (I === "PC" ? b.searchParams.append("device", "dk") : I === "iPad" || I === "iPhone" ? b.searchParams.append("device", "ios") : b.searchParams.append("device", "mtWeb")), fetch(b.href).then((M) => M.json()).then((M) => {
4965
+ n(5, c = M);
4966
+ }).catch((M) => {
4967
+ console.log(M), n(8, m = !0);
5006
4968
  }).finally(() => {
5007
4969
  n(7, d = !1);
5008
4970
  });
5009
- }, L = () => {
4971
+ }, C = () => {
5010
4972
  P();
5011
4973
  }, x = (b) => {
5012
- var A;
5013
4974
  b.data && b.data.type == "OpenCalendar" && (n(6, p = b.data.index), n(10, H = !0), window.postMessage(
5014
4975
  {
5015
4976
  type: "ShowModal",
@@ -5019,17 +4980,17 @@ function Bs(e, t, n) {
5019
4980
  window.location.href
5020
4981
  ), window.postMessage({
5021
4982
  type: "DailyEventsData",
5022
- data: (A = c[p]) == null ? void 0 : A.dailyEvents
4983
+ data: c[p]?.dailyEvents
5023
4984
  })), b.data && b.data.type == "ModalClosed" && n(10, H = !1);
5024
- }, N = () => {
4985
+ }, L = () => {
5025
4986
  let b = document.createElement("style");
5026
4987
  b.innerHTML = l, f.appendChild(b);
5027
- }, M = () => {
5028
- let b = new URL(u), A = document.createElement("style");
5029
- fetch(b.href).then((R) => R.text()).then((R) => {
5030
- A.innerHTML = R, setTimeout(
4988
+ }, N = () => {
4989
+ let b = new URL(u), I = document.createElement("style");
4990
+ fetch(b.href).then((M) => M.text()).then((M) => {
4991
+ I.innerHTML = M, setTimeout(
5031
4992
  () => {
5032
- f.appendChild(A);
4993
+ f.appendChild(I);
5033
4994
  },
5034
4995
  1
5035
4996
  ), setTimeout(
@@ -5039,11 +5000,11 @@ function Bs(e, t, n) {
5039
5000
  );
5040
5001
  });
5041
5002
  };
5042
- ur(() => (window.addEventListener("message", x, !1), Mn(S) && n(9, E = !0), () => {
5003
+ Jn(() => (window.addEventListener("message", x, !1), Bn(S) && n(9, E = !0), () => {
5043
5004
  window.removeEventListener("message", x);
5044
5005
  }));
5045
- function q(b) {
5046
- Xe[b ? "unshift" : "push"](() => {
5006
+ function z(b) {
5007
+ ke[b ? "unshift" : "push"](() => {
5047
5008
  f = b, n(4, f);
5048
5009
  });
5049
5010
  }
@@ -5051,11 +5012,11 @@ function Bs(e, t, n) {
5051
5012
  "cmsendpoint" in b && n(12, i = b.cmsendpoint), "env" in b && n(13, s = b.env), "userroles" in b && n(14, a = b.userroles), "lang" in b && n(0, o = b.lang), "clientstyling" in b && n(1, l = b.clientstyling), "clientstylingurl" in b && n(2, u = b.clientstylingurl), "translationurl" in b && n(3, h = b.translationurl);
5052
5013
  }, e.$$.update = () => {
5053
5014
  e.$$.dirty & /*cmsendpoint, lang, env, userroles*/
5054
- 28673 && i && o && s && a && L(), e.$$.dirty & /*clientstyling, customStylingContainer*/
5055
- 18 && l && f && N(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
5056
- 20 && u && f && M(), e.$$.dirty & /*lang*/
5015
+ 28673 && i && o && s && a && C(), e.$$.dirty & /*clientstyling, customStylingContainer*/
5016
+ 18 && l && f && L(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
5017
+ 20 && u && f && N(), e.$$.dirty & /*lang*/
5057
5018
  1 && o && T(), e.$$.dirty & /*lang, translationurl*/
5058
- 9 && o && h && C();
5019
+ 9 && o && h && O();
5059
5020
  }, [
5060
5021
  o,
5061
5022
  l,
@@ -5072,17 +5033,17 @@ function Bs(e, t, n) {
5072
5033
  i,
5073
5034
  s,
5074
5035
  a,
5075
- q
5036
+ z
5076
5037
  ];
5077
5038
  }
5078
- class Rn extends gr {
5039
+ class On extends ar {
5079
5040
  constructor(t) {
5080
- super(), br(
5041
+ super(), sr(
5081
5042
  this,
5082
5043
  t,
5083
- Bs,
5084
- As,
5085
- zt,
5044
+ gs,
5045
+ ys,
5046
+ Ft,
5086
5047
  {
5087
5048
  cmsendpoint: 12,
5088
5049
  env: 13,
@@ -5092,114 +5053,114 @@ class Rn extends gr {
5092
5053
  clientstylingurl: 2,
5093
5054
  translationurl: 3
5094
5055
  },
5095
- Ss
5056
+ ds
5096
5057
  );
5097
5058
  }
5098
5059
  get cmsendpoint() {
5099
5060
  return this.$$.ctx[12];
5100
5061
  }
5101
5062
  set cmsendpoint(t) {
5102
- this.$$set({ cmsendpoint: t }), U();
5063
+ this.$$set({ cmsendpoint: t }), D();
5103
5064
  }
5104
5065
  get env() {
5105
5066
  return this.$$.ctx[13];
5106
5067
  }
5107
5068
  set env(t) {
5108
- this.$$set({ env: t }), U();
5069
+ this.$$set({ env: t }), D();
5109
5070
  }
5110
5071
  get userroles() {
5111
5072
  return this.$$.ctx[14];
5112
5073
  }
5113
5074
  set userroles(t) {
5114
- this.$$set({ userroles: t }), U();
5075
+ this.$$set({ userroles: t }), D();
5115
5076
  }
5116
5077
  get lang() {
5117
5078
  return this.$$.ctx[0];
5118
5079
  }
5119
5080
  set lang(t) {
5120
- this.$$set({ lang: t }), U();
5081
+ this.$$set({ lang: t }), D();
5121
5082
  }
5122
5083
  get clientstyling() {
5123
5084
  return this.$$.ctx[1];
5124
5085
  }
5125
5086
  set clientstyling(t) {
5126
- this.$$set({ clientstyling: t }), U();
5087
+ this.$$set({ clientstyling: t }), D();
5127
5088
  }
5128
5089
  get clientstylingurl() {
5129
5090
  return this.$$.ctx[2];
5130
5091
  }
5131
5092
  set clientstylingurl(t) {
5132
- this.$$set({ clientstylingurl: t }), U();
5093
+ this.$$set({ clientstylingurl: t }), D();
5133
5094
  }
5134
5095
  get translationurl() {
5135
5096
  return this.$$.ctx[3];
5136
5097
  }
5137
5098
  set translationurl(t) {
5138
- this.$$set({ translationurl: t }), U();
5099
+ this.$$set({ translationurl: t }), D();
5139
5100
  }
5140
5101
  }
5141
- yr(Rn, { cmsendpoint: {}, env: {}, userroles: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
5142
- const eo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5102
+ or(On, { cmsendpoint: {}, env: {}, userroles: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
5103
+ const js = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5143
5104
  __proto__: null,
5144
- default: Rn
5105
+ default: On
5145
5106
  }, Symbol.toStringTag, { value: "Module" }));
5146
5107
  export {
5147
- oe as $,
5148
- Ls as A,
5149
- er as B,
5150
- Qn as C,
5151
- I as D,
5152
- Is as E,
5153
- Es as F,
5154
- Jn as G,
5155
- $s as H,
5156
- Gs as I,
5157
- ks as J,
5158
- xs as K,
5108
+ se as $,
5109
+ Es as A,
5110
+ kn as B,
5111
+ Un as C,
5112
+ B as D,
5113
+ _s as E,
5114
+ hs as F,
5115
+ Gn as G,
5116
+ Ts as H,
5117
+ As as I,
5118
+ Is as J,
5119
+ fs as K,
5159
5120
  y as L,
5160
- Rs as M,
5161
- Xs as N,
5162
- Ae as O,
5163
- Fs as P,
5164
- V as Q,
5165
- Ds as R,
5166
- gr as S,
5167
- be as T,
5168
- Us as U,
5169
- Vs as V,
5170
- Ks as W,
5171
- js as X,
5172
- Ys as Y,
5173
- Js as Z,
5174
- Qs as _,
5175
- On as a,
5176
- jn as a0,
5177
- Zs as a1,
5178
- pe as a2,
5179
- eo as a3,
5180
- qn as b,
5181
- yr as c,
5182
- X as d,
5183
- $ as e,
5184
- U as f,
5185
- zs as g,
5186
- nn as h,
5187
- br as i,
5188
- D as j,
5189
- Xn as k,
5190
- Ws as l,
5191
- Mn as m,
5192
- Xe as n,
5193
- ur as o,
5194
- Cs as p,
5195
- vt as q,
5196
- Yn as r,
5197
- zt as s,
5198
- qs as t,
5199
- ut as u,
5200
- W as v,
5201
- me as w,
5202
- yt as x,
5203
- Ns as y,
5204
- Ms as z
5121
+ Ss as M,
5122
+ Ls as N,
5123
+ Pe as O,
5124
+ Bs as P,
5125
+ k as Q,
5126
+ Hs as R,
5127
+ ar as S,
5128
+ me as T,
5129
+ Ps as U,
5130
+ Cs as V,
5131
+ Fs as W,
5132
+ Os as X,
5133
+ Gs as Y,
5134
+ Us as Z,
5135
+ Ds as _,
5136
+ Sn as a,
5137
+ In as a0,
5138
+ $s as a1,
5139
+ de as a2,
5140
+ js as a3,
5141
+ $n as b,
5142
+ or as c,
5143
+ V as d,
5144
+ R as e,
5145
+ D as f,
5146
+ Ms as g,
5147
+ Qt as h,
5148
+ sr as i,
5149
+ $ as j,
5150
+ Nn as k,
5151
+ Ns as l,
5152
+ Bn as m,
5153
+ ke as n,
5154
+ Jn as o,
5155
+ vs as p,
5156
+ pt as q,
5157
+ Fn as r,
5158
+ Ft as s,
5159
+ Rs as t,
5160
+ ot as u,
5161
+ X as v,
5162
+ pe as w,
5163
+ ft as x,
5164
+ xs as y,
5165
+ ws as z
5205
5166
  };