@everymatrix/casino-page-nd 1.53.0 → 1.53.11

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