@everymatrix/casino-favorites-section 1.86.1 → 1.86.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/components/{CasinoFavoritesSection-C0BiG4De.js → CasinoFavoritesSection-BSWvNSiz.js} +634 -602
  2. package/components/CasinoFavoritesSection-Dz_vSG0j.cjs +16 -0
  3. package/components/{CasinoFavoritesSection-DDuAvc6Y.js → CasinoFavoritesSection-omzgsFZy.js} +1068 -1036
  4. package/components/CasinoFilter-BOpzFVBE.cjs +3 -0
  5. package/components/{CasinoFilter-ByAU_0b7.js → CasinoFilter-C6gQmN6a.js} +373 -423
  6. package/components/{CasinoFilter-D8gwSSCO.js → CasinoFilter-CZXG2Oak.js} +398 -446
  7. package/components/CasinoGameThumbnail-Bm9xO5LS.cjs +47 -0
  8. package/components/{CasinoGameThumbnail-BtpCjxYS.js → CasinoGameThumbnail-Ddw_Rsvb.js} +1269 -1253
  9. package/components/{CasinoGameThumbnail-3lArHpJI.js → CasinoGameThumbnail-qBh8_Pok.js} +763 -779
  10. package/components/{CasinoGamesCategorySection-Cjoeiofx.cjs → CasinoGamesCategorySection-B2XeoqBW.cjs} +1 -1
  11. package/components/{CasinoGamesCategorySection-Db11EW4j.js → CasinoGamesCategorySection-BAWouCoL.js} +279 -279
  12. package/components/{CasinoGamesCategorySection-MWgg6AM2.js → CasinoGamesCategorySection-BfVdT10D.js} +248 -248
  13. package/components/{CasinoSort-BZv2SPft.js → CasinoSort-BWkFJYPq.js} +117 -116
  14. package/components/{CasinoSort-CZx3iOfc.cjs → CasinoSort-BhQOLchm.cjs} +1 -1
  15. package/components/{CasinoSort-DSRa4P-s.js → CasinoSort-BmqGWyfc.js} +108 -109
  16. package/es2015/casino-favorites-section.cjs +1 -1
  17. package/es2015/casino-favorites-section.js +1 -1
  18. package/esnext/casino-favorites-section.js +1 -1
  19. package/package.json +1 -1
  20. package/stencil/index-97d17652-DvplcHtm.js +558 -0
  21. package/stencil/index-97d17652-ILzgTtTR.cjs +1 -0
  22. package/stencil/index-97d17652-p-iQtjus.js +542 -0
  23. package/stencil/{ui-image-BX-FBhad.cjs → ui-image-BDXyFHck.cjs} +1 -1
  24. package/stencil/{ui-image-CP8Lp7fB.js → ui-image-Cc8wLmDe.js} +1 -1
  25. package/stencil/{ui-image-b7b48fe5-BKRtoUuG.js → ui-image-b7b48fe5-CBB2FKRZ.js} +1 -1
  26. package/stencil/{ui-image-b7b48fe5-MC0x5ZQd.cjs → ui-image-b7b48fe5-DjCO-ZF4.cjs} +1 -1
  27. package/stencil/{ui-image-b7b48fe5-HA45CrsG.js → ui-image-b7b48fe5-rCWcyktd.js} +1 -1
  28. package/stencil/{ui-image-Ch-GHki1.js → ui-image-wH6lu7wS.js} +1 -1
  29. package/stencil/{ui-image_2-CmVho0dS.js → ui-image_2-BESQEo1l.js} +2 -2
  30. package/stencil/{ui-image_2-Daq38JGa.js → ui-image_2-BfZmduAK.js} +2 -2
  31. package/stencil/{ui-image_2-CyqE6j_W.cjs → ui-image_2-ZFidgTXM.cjs} +1 -1
  32. package/components/CasinoFavoritesSection-nIdSraW4.cjs +0 -3
  33. package/components/CasinoFilter-DvfBwDnB.cjs +0 -16
  34. package/components/CasinoGameThumbnail-8WwPBAK9.cjs +0 -47
  35. package/stencil/index-97d17652-B6BYeRne.js +0 -542
  36. package/stencil/index-97d17652-BOr4KAqq.js +0 -558
  37. package/stencil/index-97d17652-zTl06Vn9.cjs +0 -1
@@ -6,18 +6,18 @@ function nt(e) {
6
6
  function Fe() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
- function W(e) {
9
+ function X(e) {
10
10
  e.forEach(nt);
11
11
  }
12
- function $e(e) {
12
+ function Me(e) {
13
13
  return typeof e == "function";
14
14
  }
15
15
  function it(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
- let ie;
19
- function Jn(e, t) {
20
- return e === t ? !0 : (ie || (ie = document.createElement("a")), ie.href = t, e === ie.href);
18
+ let ne;
19
+ function qn(e, t) {
20
+ return e === t ? !0 : (ne || (ne = document.createElement("a")), ne.href = t, e === ne.href);
21
21
  }
22
22
  function Mt(e) {
23
23
  return Object.keys(e).length === 0;
@@ -31,7 +31,7 @@ function st(e, ...t) {
31
31
  const r = e.subscribe(...t);
32
32
  return r.unsubscribe ? () => r.unsubscribe() : r;
33
33
  }
34
- function Yn(e, t, r) {
34
+ function Jn(e, t, r) {
35
35
  e.$$.on_destroy.push(st(t, r));
36
36
  }
37
37
  function Rt(e, t) {
@@ -40,7 +40,7 @@ function Rt(e, t) {
40
40
  function $t(e, t, r) {
41
41
  const n = Ut(e);
42
42
  if (!n.getElementById(t)) {
43
- const i = re("style");
43
+ const i = te("style");
44
44
  i.id = t, i.textContent = r, Dt(n, i);
45
45
  }
46
46
  }
@@ -61,17 +61,17 @@ function Dt(e, t) {
61
61
  t
62
62
  ), t.sheet;
63
63
  }
64
- function ce(e, t, r) {
64
+ function le(e, t, r) {
65
65
  e.insertBefore(t, r || null);
66
66
  }
67
- function te(e) {
67
+ function ee(e) {
68
68
  e.parentNode && e.parentNode.removeChild(e);
69
69
  }
70
- function Kn(e, t) {
70
+ function Yn(e, t) {
71
71
  for (let r = 0; r < e.length; r += 1)
72
72
  e[r] && e[r].d(t);
73
73
  }
74
- function re(e) {
74
+ function te(e) {
75
75
  return document.createElement(e);
76
76
  }
77
77
  function Gt(e) {
@@ -80,36 +80,36 @@ function Gt(e) {
80
80
  function at(e) {
81
81
  return document.createTextNode(e);
82
82
  }
83
- function ei() {
83
+ function Kn() {
84
84
  return at(" ");
85
85
  }
86
- function ti() {
86
+ function ei() {
87
87
  return at("");
88
88
  }
89
- function ri(e, t, r, n) {
89
+ function ti(e, t, r, n) {
90
90
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
91
91
  }
92
- function Ue(e, t, r) {
92
+ function Re(e, t, r) {
93
93
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
94
94
  }
95
95
  function g(e, t, r) {
96
96
  const n = t.toLowerCase();
97
- n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : Ue(e, t, r);
97
+ n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : Re(e, t, r);
98
98
  }
99
99
  function Ft(e) {
100
100
  return Array.from(e.childNodes);
101
101
  }
102
- function ni(e, t) {
102
+ function ri(e, t) {
103
103
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
104
104
  t);
105
105
  }
106
- function ii(e, t) {
106
+ function ni(e, t) {
107
107
  e.value = t ?? "";
108
108
  }
109
- function si(e, t, r) {
109
+ function ii(e, t, r) {
110
110
  e.classList.toggle(t, !!r);
111
111
  }
112
- class ai {
112
+ class si {
113
113
  /**
114
114
  * @private
115
115
  * @default false
@@ -143,7 +143,7 @@ class ai {
143
143
  this.e || (this.is_svg ? this.e = Gt(
144
144
  /** @type {keyof SVGElementTagNameMap} */
145
145
  r.nodeName
146
- ) : this.e = re(
146
+ ) : this.e = te(
147
147
  /** @type {keyof HTMLElementTagNameMap} */
148
148
  r.nodeType === 11 ? "TEMPLATE" : r.nodeName
149
149
  ), this.t = r.tagName !== "TEMPLATE" ? r : (
@@ -164,7 +164,7 @@ class ai {
164
164
  * @returns {void} */
165
165
  i(t) {
166
166
  for (let r = 0; r < this.n.length; r += 1)
167
- ce(this.t, this.n[r], t);
167
+ le(this.t, this.n[r], t);
168
168
  }
169
169
  /**
170
170
  * @param {string} html
@@ -176,7 +176,7 @@ class ai {
176
176
  /**
177
177
  * @returns {void} */
178
178
  d() {
179
- this.n.forEach(te);
179
+ this.n.forEach(ee);
180
180
  }
181
181
  }
182
182
  function jt(e) {
@@ -188,127 +188,127 @@ function jt(e) {
188
188
  }
189
189
  ), t;
190
190
  }
191
- let Y;
192
- function J(e) {
193
- Y = e;
191
+ let J;
192
+ function q(e) {
193
+ J = e;
194
194
  }
195
195
  function ot() {
196
- if (!Y)
196
+ if (!J)
197
197
  throw new Error("Function called outside component initialization");
198
- return Y;
198
+ return J;
199
199
  }
200
200
  function kt(e) {
201
201
  ot().$$.on_mount.push(e);
202
202
  }
203
- function oi(e) {
203
+ function ai(e) {
204
204
  ot().$$.on_destroy.push(e);
205
205
  }
206
- const G = [], Se = [];
207
- let F = [];
206
+ const D = [], He = [];
207
+ let G = [];
208
208
  const je = [], ut = /* @__PURE__ */ Promise.resolve();
209
- let Be = !1;
209
+ let Te = !1;
210
210
  function ht() {
211
- Be || (Be = !0, ut.then(H));
211
+ Te || (Te = !0, ut.then(H));
212
212
  }
213
- function ui() {
213
+ function oi() {
214
214
  return ht(), ut;
215
215
  }
216
- function Ae(e) {
217
- F.push(e);
216
+ function Se(e) {
217
+ G.push(e);
218
218
  }
219
- const ye = /* @__PURE__ */ new Set();
220
- let U = 0;
219
+ const be = /* @__PURE__ */ new Set();
220
+ let $ = 0;
221
221
  function H() {
222
- if (U !== 0)
222
+ if ($ !== 0)
223
223
  return;
224
- const e = Y;
224
+ const e = J;
225
225
  do {
226
226
  try {
227
- for (; U < G.length; ) {
228
- const t = G[U];
229
- U++, J(t), Vt(t.$$);
227
+ for (; $ < D.length; ) {
228
+ const t = D[$];
229
+ $++, q(t), Vt(t.$$);
230
230
  }
231
231
  } catch (t) {
232
- throw G.length = 0, U = 0, t;
232
+ throw D.length = 0, $ = 0, t;
233
233
  }
234
- for (J(null), G.length = 0, U = 0; Se.length; )
235
- Se.pop()();
236
- for (let t = 0; t < F.length; t += 1) {
237
- const r = F[t];
238
- ye.has(r) || (ye.add(r), r());
234
+ for (q(null), D.length = 0, $ = 0; He.length; )
235
+ He.pop()();
236
+ for (let t = 0; t < G.length; t += 1) {
237
+ const r = G[t];
238
+ be.has(r) || (be.add(r), r());
239
239
  }
240
- F.length = 0;
241
- } while (G.length);
240
+ G.length = 0;
241
+ } while (D.length);
242
242
  for (; je.length; )
243
243
  je.pop()();
244
- Be = !1, ye.clear(), J(e);
244
+ Te = !1, be.clear(), q(e);
245
245
  }
246
246
  function Vt(e) {
247
247
  if (e.fragment !== null) {
248
- e.update(), W(e.before_update);
248
+ e.update(), X(e.before_update);
249
249
  const t = e.dirty;
250
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ae);
250
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Se);
251
251
  }
252
252
  }
253
253
  function Xt(e) {
254
254
  const t = [], r = [];
255
- F.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), F = t;
255
+ G.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), G = t;
256
256
  }
257
- const Wt = /* @__PURE__ */ new Set();
257
+ const zt = /* @__PURE__ */ new Set();
258
258
  function lt(e, t) {
259
- e && e.i && (Wt.delete(e), e.i(t));
259
+ e && e.i && (zt.delete(e), e.i(t));
260
260
  }
261
- function hi(e) {
261
+ function ui(e) {
262
262
  return e?.length !== void 0 ? e : Array.from(e);
263
263
  }
264
- function li(e, t) {
264
+ function hi(e, t) {
265
265
  e.d(1), t.delete(e.key);
266
266
  }
267
- function fi(e, t, r, n, i, s, u, o, l, a, h, c) {
267
+ function li(e, t, r, n, i, s, a, o, l, u, h, c) {
268
268
  let f = e.length, b = s.length, y = f;
269
269
  const x = {};
270
270
  for (; y--; )
271
271
  x[e[y].key] = y;
272
272
  const S = [], N = /* @__PURE__ */ new Map(), P = /* @__PURE__ */ new Map(), B = [];
273
273
  for (y = b; y--; ) {
274
- const v = c(i, s, y), m = r(v);
275
- let L = u.get(m);
276
- L ? B.push(() => L.p(v, t)) : (L = a(m, v), L.c()), N.set(m, S[y] = L), m in x && P.set(m, Math.abs(y - x[m]));
274
+ const _ = c(i, s, y), m = r(_);
275
+ let L = a.get(m);
276
+ L ? B.push(() => L.p(_, t)) : (L = u(m, _), L.c()), N.set(m, S[y] = L), m in x && P.set(m, Math.abs(y - x[m]));
277
277
  }
278
278
  const O = /* @__PURE__ */ new Set(), w = /* @__PURE__ */ new Set();
279
- function T(v) {
280
- lt(v, 1), v.m(o, h), u.set(v.key, v), h = v.first, b--;
279
+ function T(_) {
280
+ lt(_, 1), _.m(o, h), a.set(_.key, _), h = _.first, b--;
281
281
  }
282
282
  for (; f && b; ) {
283
- const v = S[b - 1], m = e[f - 1], L = v.key, ne = m.key;
284
- v === m ? (h = v.first, f--, b--) : N.has(ne) ? !u.has(L) || O.has(L) ? T(v) : w.has(ne) ? f-- : P.get(L) > P.get(ne) ? (w.add(L), T(v)) : (O.add(ne), f--) : (l(m, u), f--);
283
+ const _ = S[b - 1], m = e[f - 1], L = _.key, re = m.key;
284
+ _ === m ? (h = _.first, f--, b--) : N.has(re) ? !a.has(L) || O.has(L) ? T(_) : w.has(re) ? f-- : P.get(L) > P.get(re) ? (w.add(L), T(_)) : (O.add(re), f--) : (l(m, a), f--);
285
285
  }
286
286
  for (; f--; ) {
287
- const v = e[f];
288
- N.has(v.key) || l(v, u);
287
+ const _ = e[f];
288
+ N.has(_.key) || l(_, a);
289
289
  }
290
290
  for (; b; )
291
291
  T(S[b - 1]);
292
- return W(B), S;
292
+ return X(B), S;
293
293
  }
294
- function zt(e, t, r) {
294
+ function Wt(e, t, r) {
295
295
  const { fragment: n, after_update: i } = e.$$;
296
- n && n.m(t, r), Ae(() => {
297
- const s = e.$$.on_mount.map(nt).filter($e);
298
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : W(s), e.$$.on_mount = [];
299
- }), i.forEach(Ae);
296
+ n && n.m(t, r), Se(() => {
297
+ const s = e.$$.on_mount.map(nt).filter(Me);
298
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : X(s), e.$$.on_mount = [];
299
+ }), i.forEach(Se);
300
300
  }
301
301
  function Zt(e, t) {
302
302
  const r = e.$$;
303
- r.fragment !== null && (Xt(r.after_update), W(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
303
+ r.fragment !== null && (Xt(r.after_update), X(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
304
304
  }
305
305
  function Qt(e, t) {
306
- e.$$.dirty[0] === -1 && (G.push(e), ht(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
306
+ e.$$.dirty[0] === -1 && (D.push(e), ht(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
307
307
  }
308
- function qt(e, t, r, n, i, s, u = null, o = [-1]) {
309
- const l = Y;
310
- J(e);
311
- const a = e.$$ = {
308
+ function qt(e, t, r, n, i, s, a = null, o = [-1]) {
309
+ const l = J;
310
+ q(e);
311
+ const u = e.$$ = {
312
312
  fragment: null,
313
313
  ctx: [],
314
314
  // state
@@ -329,20 +329,20 @@ function qt(e, t, r, n, i, s, u = null, o = [-1]) {
329
329
  skip_bound: !1,
330
330
  root: t.target || l.$$.root
331
331
  };
332
- u && u(a.root);
332
+ a && a(u.root);
333
333
  let h = !1;
334
- if (a.ctx = r ? r(e, t.props || {}, (c, f, ...b) => {
334
+ if (u.ctx = r ? r(e, t.props || {}, (c, f, ...b) => {
335
335
  const y = b.length ? b[0] : f;
336
- return a.ctx && i(a.ctx[c], a.ctx[c] = y) && (!a.skip_bound && a.bound[c] && a.bound[c](y), h && Qt(e, c)), f;
337
- }) : [], a.update(), h = !0, W(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
336
+ return u.ctx && i(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), h && Qt(e, c)), f;
337
+ }) : [], u.update(), h = !0, X(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
338
338
  if (t.hydrate) {
339
339
  const c = Ft(t.target);
340
- a.fragment && a.fragment.l(c), c.forEach(te);
340
+ u.fragment && u.fragment.l(c), c.forEach(ee);
341
341
  } else
342
- a.fragment && a.fragment.c();
343
- t.intro && lt(e.$$.fragment), zt(e, t.target, t.anchor), H();
342
+ u.fragment && u.fragment.c();
343
+ t.intro && lt(e.$$.fragment), Wt(e, t.target, t.anchor), H();
344
344
  }
345
- J(l);
345
+ q(l);
346
346
  }
347
347
  let ft;
348
348
  typeof HTMLElement == "function" && (ft = class extends HTMLElement {
@@ -387,17 +387,17 @@ typeof HTMLElement == "function" && (ft = class extends HTMLElement {
387
387
  let s;
388
388
  return {
389
389
  c: function() {
390
- s = re("slot"), i !== "default" && Ue(s, "name", i);
390
+ s = te("slot"), i !== "default" && Re(s, "name", i);
391
391
  },
392
392
  /**
393
393
  * @param {HTMLElement} target
394
394
  * @param {HTMLElement} [anchor]
395
395
  */
396
- m: function(l, a) {
397
- ce(l, s, a);
396
+ m: function(l, u) {
397
+ le(l, s, u);
398
398
  },
399
399
  d: function(l) {
400
- l && te(s);
400
+ l && ee(s);
401
401
  }
402
402
  };
403
403
  };
@@ -409,7 +409,7 @@ typeof HTMLElement == "function" && (ft = class extends HTMLElement {
409
409
  i in r && (t[i] = [e(i)]);
410
410
  for (const i of this.attributes) {
411
411
  const s = this.$$g_p(i.name);
412
- s in this.$$d || (this.$$d[s] = ae(s, i.value, this.$$p_d, "toProp"));
412
+ s in this.$$d || (this.$$d[s] = se(s, i.value, this.$$p_d, "toProp"));
413
413
  }
414
414
  for (const i in this.$$p_d)
415
415
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -427,7 +427,7 @@ typeof HTMLElement == "function" && (ft = class extends HTMLElement {
427
427
  this.$$r = !0;
428
428
  for (const i in this.$$p_d)
429
429
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
430
- const s = ae(
430
+ const s = se(
431
431
  i,
432
432
  this.$$d[i],
433
433
  this.$$p_d,
@@ -440,8 +440,8 @@ typeof HTMLElement == "function" && (ft = class extends HTMLElement {
440
440
  this.$$c.$$.after_update.push(n), n();
441
441
  for (const i in this.$$l)
442
442
  for (const s of this.$$l[i]) {
443
- const u = this.$$c.$on(i, s);
444
- this.$$l_u.set(s, u);
443
+ const a = this.$$c.$on(i, s);
444
+ this.$$l_u.set(s, a);
445
445
  }
446
446
  this.$$l = {};
447
447
  }
@@ -449,7 +449,7 @@ typeof HTMLElement == "function" && (ft = class extends HTMLElement {
449
449
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
450
450
  // and setting attributes through setAttribute etc, this is helpful
451
451
  attributeChangedCallback(e, t, r) {
452
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = ae(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
452
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = se(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
453
453
  }
454
454
  disconnectedCallback() {
455
455
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -462,7 +462,7 @@ typeof HTMLElement == "function" && (ft = class extends HTMLElement {
462
462
  ) || e;
463
463
  }
464
464
  });
465
- function ae(e, t, r, n) {
465
+ function se(e, t, r, n) {
466
466
  const i = r[e]?.type;
467
467
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
468
468
  return t;
@@ -492,7 +492,7 @@ function ae(e, t, r, n) {
492
492
  }
493
493
  }
494
494
  function Jt(e, t, r, n, i, s) {
495
- let u = class extends ft {
495
+ let a = class extends ft {
496
496
  constructor() {
497
497
  super(e, r, i), this.$$p_d = t;
498
498
  }
@@ -503,22 +503,22 @@ function Jt(e, t, r, n, i, s) {
503
503
  }
504
504
  };
505
505
  return Object.keys(t).forEach((o) => {
506
- Object.defineProperty(u.prototype, o, {
506
+ Object.defineProperty(a.prototype, o, {
507
507
  get() {
508
508
  return this.$$c && o in this.$$c ? this.$$c[o] : this.$$d[o];
509
509
  },
510
510
  set(l) {
511
- l = ae(o, l, t), this.$$d[o] = l, this.$$c?.$set({ [o]: l });
511
+ l = se(o, l, t), this.$$d[o] = l, this.$$c?.$set({ [o]: l });
512
512
  }
513
513
  });
514
514
  }), n.forEach((o) => {
515
- Object.defineProperty(u.prototype, o, {
515
+ Object.defineProperty(a.prototype, o, {
516
516
  get() {
517
517
  return this.$$c?.[o];
518
518
  }
519
519
  });
520
520
  }), e.element = /** @type {any} */
521
- u, u;
521
+ a, a;
522
522
  }
523
523
  class Yt {
524
524
  /**
@@ -548,7 +548,7 @@ class Yt {
548
548
  * @returns {() => void}
549
549
  */
550
550
  $on(t, r) {
551
- if (!$e(r))
551
+ if (!Me(r))
552
552
  return I;
553
553
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
554
554
  return n.push(r), () => {
@@ -566,58 +566,58 @@ class Yt {
566
566
  }
567
567
  const Kt = "4";
568
568
  typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Kt);
569
- const D = [];
569
+ const U = [];
570
570
  function er(e, t) {
571
571
  return {
572
- subscribe: me(e, t).subscribe
572
+ subscribe: fe(e, t).subscribe
573
573
  };
574
574
  }
575
- function me(e, t = I) {
575
+ function fe(e, t = I) {
576
576
  let r;
577
577
  const n = /* @__PURE__ */ new Set();
578
578
  function i(o) {
579
579
  if (it(e, o) && (e = o, r)) {
580
- const l = !D.length;
581
- for (const a of n)
582
- a[1](), D.push(a, e);
580
+ const l = !U.length;
581
+ for (const u of n)
582
+ u[1](), U.push(u, e);
583
583
  if (l) {
584
- for (let a = 0; a < D.length; a += 2)
585
- D[a][0](D[a + 1]);
586
- D.length = 0;
584
+ for (let u = 0; u < U.length; u += 2)
585
+ U[u][0](U[u + 1]);
586
+ U.length = 0;
587
587
  }
588
588
  }
589
589
  }
590
590
  function s(o) {
591
591
  i(o(e));
592
592
  }
593
- function u(o, l = I) {
594
- const a = [o, l];
595
- return n.add(a), n.size === 1 && (r = t(i, s) || I), o(e), () => {
596
- n.delete(a), n.size === 0 && r && (r(), r = null);
593
+ function a(o, l = I) {
594
+ const u = [o, l];
595
+ return n.add(u), n.size === 1 && (r = t(i, s) || I), o(e), () => {
596
+ n.delete(u), n.size === 0 && r && (r(), r = null);
597
597
  };
598
598
  }
599
- return { set: i, update: s, subscribe: u };
599
+ return { set: i, update: s, subscribe: a };
600
600
  }
601
601
  function z(e, t, r) {
602
602
  const n = !Array.isArray(e), i = n ? [e] : e;
603
603
  if (!i.every(Boolean))
604
604
  throw new Error("derived() expects stores as input, got a falsy value");
605
605
  const s = t.length < 2;
606
- return er(r, (u, o) => {
606
+ return er(r, (a, o) => {
607
607
  let l = !1;
608
- const a = [];
608
+ const u = [];
609
609
  let h = 0, c = I;
610
610
  const f = () => {
611
611
  if (h)
612
612
  return;
613
613
  c();
614
- const y = t(n ? a[0] : a, u, o);
615
- s ? u(y) : c = $e(y) ? y : I;
614
+ const y = t(n ? u[0] : u, a, o);
615
+ s ? a(y) : c = Me(y) ? y : I;
616
616
  }, b = i.map(
617
617
  (y, x) => st(
618
618
  y,
619
619
  (S) => {
620
- a[x] = S, h &= ~(1 << x), l && f();
620
+ u[x] = S, h &= ~(1 << x), l && f();
621
621
  },
622
622
  () => {
623
623
  h |= 1 << x;
@@ -625,7 +625,7 @@ function z(e, t, r) {
625
625
  )
626
626
  );
627
627
  return l = !0, f(), function() {
628
- W(b), c(), l = !1;
628
+ X(b), c(), l = !1;
629
629
  };
630
630
  });
631
631
  }
@@ -649,19 +649,19 @@ function or(e) {
649
649
  function ur(e) {
650
650
  return Array.isArray(e) ? [] : {};
651
651
  }
652
- function K(e, t) {
653
- return t.clone !== !1 && t.isMergeableObject(e) ? j(ur(e), e, t) : e;
652
+ function Y(e, t) {
653
+ return t.clone !== !1 && t.isMergeableObject(e) ? F(ur(e), e, t) : e;
654
654
  }
655
655
  function hr(e, t, r) {
656
656
  return e.concat(t).map(function(n) {
657
- return K(n, r);
657
+ return Y(n, r);
658
658
  });
659
659
  }
660
660
  function lr(e, t) {
661
661
  if (!t.customMerge)
662
- return j;
662
+ return F;
663
663
  var r = t.customMerge(e);
664
- return typeof r == "function" ? r : j;
664
+ return typeof r == "function" ? r : F;
665
665
  }
666
666
  function fr(e) {
667
667
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
@@ -684,51 +684,65 @@ function cr(e, t) {
684
684
  function mr(e, t, r) {
685
685
  var n = {};
686
686
  return r.isMergeableObject(e) && ke(e).forEach(function(i) {
687
- n[i] = K(e[i], r);
687
+ n[i] = Y(e[i], r);
688
688
  }), ke(t).forEach(function(i) {
689
- cr(e, i) || (ct(e, i) && r.isMergeableObject(t[i]) ? n[i] = lr(i, r)(e[i], t[i], r) : n[i] = K(t[i], r));
689
+ cr(e, i) || (ct(e, i) && r.isMergeableObject(t[i]) ? n[i] = lr(i, r)(e[i], t[i], r) : n[i] = Y(t[i], r));
690
690
  }), n;
691
691
  }
692
- function j(e, t, r) {
693
- r = r || {}, r.arrayMerge = r.arrayMerge || hr, r.isMergeableObject = r.isMergeableObject || rr, r.cloneUnlessOtherwiseSpecified = K;
692
+ function F(e, t, r) {
693
+ r = r || {}, r.arrayMerge = r.arrayMerge || hr, r.isMergeableObject = r.isMergeableObject || rr, r.cloneUnlessOtherwiseSpecified = Y;
694
694
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
695
- return s ? n ? r.arrayMerge(e, t, r) : mr(e, t, r) : K(t, r);
695
+ return s ? n ? r.arrayMerge(e, t, r) : mr(e, t, r) : Y(t, r);
696
696
  }
697
- j.all = function(t, r) {
697
+ F.all = function(t, r) {
698
698
  if (!Array.isArray(t))
699
699
  throw new Error("first argument should be an array");
700
700
  return t.reduce(function(n, i) {
701
- return j(n, i, r);
701
+ return F(n, i, r);
702
702
  }, {});
703
703
  };
704
- var gr = j, dr = gr;
704
+ var gr = F, dr = gr;
705
705
  const br = /* @__PURE__ */ tr(dr);
706
- var we = function(e, t) {
707
- return we = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
706
+ /*! *****************************************************************************
707
+ Copyright (c) Microsoft Corporation.
708
+
709
+ Permission to use, copy, modify, and/or distribute this software for any
710
+ purpose with or without fee is hereby granted.
711
+
712
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
713
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
714
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
715
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
716
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
717
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
718
+ PERFORMANCE OF THIS SOFTWARE.
719
+ ***************************************************************************** */
720
+ var Be = function(e, t) {
721
+ return Be = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
708
722
  r.__proto__ = n;
709
723
  } || function(r, n) {
710
724
  for (var i in n)
711
725
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
712
- }, we(e, t);
726
+ }, Be(e, t);
713
727
  };
714
- function ge(e, t) {
728
+ function ce(e, t) {
715
729
  if (typeof t != "function" && t !== null)
716
730
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
717
- we(e, t);
731
+ Be(e, t);
718
732
  function r() {
719
733
  this.constructor = e;
720
734
  }
721
735
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
722
736
  }
723
- var C = function() {
724
- return C = Object.assign || function(t) {
737
+ var E = function() {
738
+ return E = Object.assign || function(t) {
725
739
  for (var r, n = 1, i = arguments.length; n < i; n++) {
726
740
  r = arguments[n];
727
741
  for (var s in r)
728
742
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
729
743
  }
730
744
  return t;
731
- }, C.apply(this, arguments);
745
+ }, E.apply(this, arguments);
732
746
  };
733
747
  function pr(e, t) {
734
748
  var r = {};
@@ -739,14 +753,46 @@ function pr(e, t) {
739
753
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
740
754
  return r;
741
755
  }
742
- function Ee(e, t, r) {
756
+ function fi(e) {
757
+ var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
758
+ if (r)
759
+ return r.call(e);
760
+ if (e && typeof e.length == "number")
761
+ return {
762
+ next: function() {
763
+ return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
764
+ }
765
+ };
766
+ throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
767
+ }
768
+ function ci(e, t) {
769
+ var r = typeof Symbol == "function" && e[Symbol.iterator];
770
+ if (!r)
771
+ return e;
772
+ var n = r.call(e), i, s = [], a;
773
+ try {
774
+ for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
775
+ s.push(i.value);
776
+ } catch (o) {
777
+ a = { error: o };
778
+ } finally {
779
+ try {
780
+ i && !i.done && (r = n.return) && r.call(n);
781
+ } finally {
782
+ if (a)
783
+ throw a.error;
784
+ }
785
+ }
786
+ return s;
787
+ }
788
+ function pe(e, t, r) {
743
789
  if (r || arguments.length === 2)
744
790
  for (var n = 0, i = t.length, s; n < i; n++)
745
791
  (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
746
- return e.concat(s || Array.prototype.slice.call(t));
792
+ return e.concat(s || t);
747
793
  }
748
- function ve(e, t) {
749
- var r = t && t.cache ? t.cache : Tr, n = t && t.serializer ? t.serializer : xr, i = t && t.strategy ? t.strategy : vr;
794
+ function ye(e, t) {
795
+ var r = t && t.cache ? t.cache : Hr, n = t && t.serializer ? t.serializer : xr, i = t && t.strategy ? t.strategy : Er;
750
796
  return i(e, {
751
797
  cache: r,
752
798
  serializer: n
@@ -755,103 +801,95 @@ function ve(e, t) {
755
801
  function yr(e) {
756
802
  return e == null || typeof e == "number" || typeof e == "boolean";
757
803
  }
758
- function Er(e, t, r, n) {
804
+ function mt(e, t, r, n) {
759
805
  var i = yr(n) ? n : r(n), s = t.get(i);
760
806
  return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
761
807
  }
762
- function mt(e, t, r) {
808
+ function gt(e, t, r) {
763
809
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
764
810
  return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
765
811
  }
766
- function gt(e, t, r, n, i) {
812
+ function $e(e, t, r, n, i) {
767
813
  return r.bind(t, e, n, i);
768
814
  }
815
+ function Er(e, t) {
816
+ var r = e.length === 1 ? mt : gt;
817
+ return $e(e, this, r, t.cache.create(), t.serializer);
818
+ }
769
819
  function vr(e, t) {
770
- var r = e.length === 1 ? Er : mt;
771
- return gt(e, this, r, t.cache.create(), t.serializer);
820
+ return $e(e, this, gt, t.cache.create(), t.serializer);
772
821
  }
773
822
  function _r(e, t) {
774
- return gt(e, this, mt, t.cache.create(), t.serializer);
823
+ return $e(e, this, mt, t.cache.create(), t.serializer);
775
824
  }
776
825
  var xr = function() {
777
826
  return JSON.stringify(arguments);
778
- }, Hr = (
779
- /** @class */
780
- function() {
781
- function e() {
782
- this.cache = /* @__PURE__ */ Object.create(null);
783
- }
784
- return e.prototype.get = function(t) {
785
- return this.cache[t];
786
- }, e.prototype.set = function(t, r) {
787
- this.cache[t] = r;
788
- }, e;
789
- }()
790
- ), Tr = {
827
+ };
828
+ function Ue() {
829
+ this.cache = /* @__PURE__ */ Object.create(null);
830
+ }
831
+ Ue.prototype.get = function(e) {
832
+ return this.cache[e];
833
+ };
834
+ Ue.prototype.set = function(e, t) {
835
+ this.cache[e] = t;
836
+ };
837
+ var Hr = {
791
838
  create: function() {
792
- return new Hr();
839
+ return new Ue();
793
840
  }
794
- }, _e = {
795
- variadic: _r
796
- }, he = function() {
797
- return he = Object.assign || function(t) {
798
- for (var r, n = 1, i = arguments.length; n < i; n++) {
799
- r = arguments[n];
800
- for (var s in r)
801
- Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
802
- }
803
- return t;
804
- }, he.apply(this, arguments);
805
- };
806
- var d;
841
+ }, Ee = {
842
+ variadic: vr,
843
+ monadic: _r
844
+ }, d;
807
845
  (function(e) {
808
846
  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";
809
847
  })(d || (d = {}));
810
- var E;
848
+ var v;
811
849
  (function(e) {
812
850
  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";
813
- })(E || (E = {}));
814
- var k;
851
+ })(v || (v = {}));
852
+ var j;
815
853
  (function(e) {
816
854
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
817
- })(k || (k = {}));
855
+ })(j || (j = {}));
818
856
  function Ve(e) {
819
- return e.type === E.literal;
857
+ return e.type === v.literal;
820
858
  }
821
- function Sr(e) {
822
- return e.type === E.argument;
859
+ function Tr(e) {
860
+ return e.type === v.argument;
823
861
  }
824
862
  function dt(e) {
825
- return e.type === E.number;
863
+ return e.type === v.number;
826
864
  }
827
865
  function bt(e) {
828
- return e.type === E.date;
866
+ return e.type === v.date;
829
867
  }
830
868
  function pt(e) {
831
- return e.type === E.time;
869
+ return e.type === v.time;
832
870
  }
833
871
  function yt(e) {
834
- return e.type === E.select;
872
+ return e.type === v.select;
835
873
  }
836
874
  function Et(e) {
837
- return e.type === E.plural;
875
+ return e.type === v.plural;
838
876
  }
839
- function Br(e) {
840
- return e.type === E.pound;
877
+ function Sr(e) {
878
+ return e.type === v.pound;
841
879
  }
842
880
  function vt(e) {
843
- return e.type === E.tag;
881
+ return e.type === v.tag;
844
882
  }
845
883
  function _t(e) {
846
- return !!(e && typeof e == "object" && e.type === k.number);
884
+ return !!(e && typeof e == "object" && e.type === j.number);
847
885
  }
848
- function Pe(e) {
849
- return !!(e && typeof e == "object" && e.type === k.dateTime);
886
+ function Ae(e) {
887
+ return !!(e && typeof e == "object" && e.type === j.dateTime);
850
888
  }
851
- var xt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ar = /(?:[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;
852
- function wr(e) {
889
+ var xt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Br = /(?:[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;
890
+ function Ar(e) {
853
891
  var t = {};
854
- return e.replace(Ar, function(r) {
892
+ return e.replace(Br, function(r) {
855
893
  var n = r.length;
856
894
  switch (r[0]) {
857
895
  case "G":
@@ -940,28 +978,18 @@ function wr(e) {
940
978
  return "";
941
979
  }), t;
942
980
  }
943
- var _ = function() {
944
- return _ = Object.assign || function(t) {
945
- for (var r, n = 1, i = arguments.length; n < i; n++) {
946
- r = arguments[n];
947
- for (var s in r)
948
- Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
949
- }
950
- return t;
951
- }, _.apply(this, arguments);
952
- };
953
- var Pr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
954
- function Nr(e) {
981
+ var wr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
982
+ function Pr(e) {
955
983
  if (e.length === 0)
956
984
  throw new Error("Number skeleton cannot be empty");
957
- for (var t = e.split(Pr).filter(function(f) {
985
+ for (var t = e.split(wr).filter(function(f) {
958
986
  return f.length > 0;
959
987
  }), r = [], n = 0, i = t; n < i.length; n++) {
960
- var s = i[n], u = s.split("/");
961
- if (u.length === 0)
988
+ var s = i[n], a = s.split("/");
989
+ if (a.length === 0)
962
990
  throw new Error("Invalid number skeleton");
963
- for (var o = u[0], l = u.slice(1), a = 0, h = l; a < h.length; a++) {
964
- var c = h[a];
991
+ for (var o = a[0], l = a.slice(1), u = 0, h = l; u < h.length; u++) {
992
+ var c = h[u];
965
993
  if (c.length === 0)
966
994
  throw new Error("Invalid number skeleton");
967
995
  }
@@ -969,11 +997,11 @@ function Nr(e) {
969
997
  }
970
998
  return r;
971
999
  }
972
- function Or(e) {
1000
+ function Nr(e) {
973
1001
  return e.replace(/^(.*?)-/, "");
974
1002
  }
975
- var Xe = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Ht = /^(@+)?(\+|#+)?[rs]?$/g, Ir = /(\*)(0+)|(#+)(0+)|(0+)/g, Tt = /^(0+)$/;
976
- function We(e) {
1003
+ var Xe = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Ht = /^(@+)?(\+|#+)?[rs]?$/g, Or = /(\*)(0+)|(#+)(0+)|(0+)/g, Tt = /^(0+)$/;
1004
+ function ze(e) {
977
1005
  var t = {};
978
1006
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Ht, function(r, n, i) {
979
1007
  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)), "";
@@ -1019,7 +1047,7 @@ function St(e) {
1019
1047
  };
1020
1048
  }
1021
1049
  }
1022
- function Lr(e) {
1050
+ function Ir(e) {
1023
1051
  var t;
1024
1052
  if (e[0] === "E" && e[1] === "E" ? (t = {
1025
1053
  notation: "engineering"
@@ -1033,11 +1061,11 @@ function Lr(e) {
1033
1061
  }
1034
1062
  return t;
1035
1063
  }
1036
- function ze(e) {
1064
+ function We(e) {
1037
1065
  var t = {}, r = St(e);
1038
1066
  return r || t;
1039
1067
  }
1040
- function Cr(e) {
1068
+ function Lr(e) {
1041
1069
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1042
1070
  var i = n[r];
1043
1071
  switch (i.stem) {
@@ -1061,7 +1089,7 @@ function Cr(e) {
1061
1089
  continue;
1062
1090
  case "measure-unit":
1063
1091
  case "unit":
1064
- t.style = "unit", t.unit = Or(i.options[0]);
1092
+ t.style = "unit", t.unit = Nr(i.options[0]);
1065
1093
  continue;
1066
1094
  case "compact-short":
1067
1095
  case "K":
@@ -1072,13 +1100,13 @@ function Cr(e) {
1072
1100
  t.notation = "compact", t.compactDisplay = "long";
1073
1101
  continue;
1074
1102
  case "scientific":
1075
- t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(l, a) {
1076
- return _(_({}, l), ze(a));
1103
+ t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1104
+ return E(E({}, l), We(u));
1077
1105
  }, {}));
1078
1106
  continue;
1079
1107
  case "engineering":
1080
- t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(l, a) {
1081
- return _(_({}, l), ze(a));
1108
+ t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1109
+ return E(E({}, l), We(u));
1082
1110
  }, {}));
1083
1111
  continue;
1084
1112
  case "notation-simple":
@@ -1123,8 +1151,8 @@ function Cr(e) {
1123
1151
  case "integer-width":
1124
1152
  if (i.options.length > 1)
1125
1153
  throw new RangeError("integer-width stems only accept a single optional option");
1126
- i.options[0].replace(Ir, function(l, a, h, c, f, b) {
1127
- if (a)
1154
+ i.options[0].replace(Or, function(l, u, h, c, f, b) {
1155
+ if (u)
1128
1156
  t.minimumIntegerDigits = h.length;
1129
1157
  else {
1130
1158
  if (c && f)
@@ -1143,25 +1171,25 @@ function Cr(e) {
1143
1171
  if (Xe.test(i.stem)) {
1144
1172
  if (i.options.length > 1)
1145
1173
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1146
- i.stem.replace(Xe, function(l, a, h, c, f, b) {
1147
- return h === "*" ? t.minimumFractionDigits = a.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && b ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + b.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
1174
+ i.stem.replace(Xe, function(l, u, h, c, f, b) {
1175
+ return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && b ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + b.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1148
1176
  });
1149
1177
  var s = i.options[0];
1150
- s === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = _(_({}, t), We(s)));
1178
+ s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t), ze(s)));
1151
1179
  continue;
1152
1180
  }
1153
1181
  if (Ht.test(i.stem)) {
1154
- t = _(_({}, t), We(i.stem));
1182
+ t = E(E({}, t), ze(i.stem));
1155
1183
  continue;
1156
1184
  }
1157
- var u = St(i.stem);
1158
- u && (t = _(_({}, t), u));
1159
- var o = Lr(i.stem);
1160
- o && (t = _(_({}, t), o));
1185
+ var a = St(i.stem);
1186
+ a && (t = E(E({}, t), a));
1187
+ var o = Ir(i.stem);
1188
+ o && (t = E(E({}, t), o));
1161
1189
  }
1162
1190
  return t;
1163
1191
  }
1164
- var se = {
1192
+ var ie = {
1165
1193
  "001": [
1166
1194
  "H",
1167
1195
  "h"
@@ -2576,23 +2604,23 @@ var se = {
2576
2604
  "h"
2577
2605
  ]
2578
2606
  };
2579
- function Mr(e, t) {
2607
+ function Cr(e, t) {
2580
2608
  for (var r = "", n = 0; n < e.length; n++) {
2581
2609
  var i = e.charAt(n);
2582
2610
  if (i === "j") {
2583
2611
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2584
2612
  s++, n++;
2585
- var u = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", a = Rr(t);
2586
- for ((a == "H" || a == "k") && (o = 0); o-- > 0; )
2613
+ var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = Mr(t);
2614
+ for ((u == "H" || u == "k") && (o = 0); o-- > 0; )
2587
2615
  r += l;
2588
- for (; u-- > 0; )
2589
- r = a + r;
2616
+ for (; a-- > 0; )
2617
+ r = u + r;
2590
2618
  } else
2591
2619
  i === "J" ? r += "H" : r += i;
2592
2620
  }
2593
2621
  return r;
2594
2622
  }
2595
- function Rr(e) {
2623
+ function Mr(e) {
2596
2624
  var t = e.hourCycle;
2597
2625
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2598
2626
  e.hourCycles && // @ts-ignore
@@ -2611,23 +2639,23 @@ function Rr(e) {
2611
2639
  }
2612
2640
  var r = e.language, n;
2613
2641
  r !== "root" && (n = e.maximize().region);
2614
- var i = se[n || ""] || se[r || ""] || se["".concat(r, "-001")] || se["001"];
2642
+ var i = ie[n || ""] || ie[r || ""] || ie["".concat(r, "-001")] || ie["001"];
2615
2643
  return i[0];
2616
2644
  }
2617
- var xe, $r = new RegExp("^".concat(xt.source, "*")), Ur = new RegExp("".concat(xt.source, "*$"));
2645
+ var ve, Rr = new RegExp("^".concat(xt.source, "*")), $r = new RegExp("".concat(xt.source, "*$"));
2618
2646
  function p(e, t) {
2619
2647
  return { start: e, end: t };
2620
2648
  }
2621
- var Dr = !!String.prototype.startsWith && "_a".startsWith("a", 1), Gr = !!String.fromCodePoint, Fr = !!Object.fromEntries, jr = !!String.prototype.codePointAt, kr = !!String.prototype.trimStart, Vr = !!String.prototype.trimEnd, Xr = !!Number.isSafeInteger, Wr = Xr ? Number.isSafeInteger : function(e) {
2649
+ var Ur = !!String.prototype.startsWith && "_a".startsWith("a", 1), Dr = !!String.fromCodePoint, Gr = !!Object.fromEntries, Fr = !!String.prototype.codePointAt, jr = !!String.prototype.trimStart, kr = !!String.prototype.trimEnd, Vr = !!Number.isSafeInteger, Xr = Vr ? Number.isSafeInteger : function(e) {
2622
2650
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2623
- }, Ne = !0;
2651
+ }, we = !0;
2624
2652
  try {
2625
2653
  var zr = At("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2626
- Ne = ((xe = zr.exec("a")) === null || xe === void 0 ? void 0 : xe[0]) === "a";
2654
+ we = ((ve = zr.exec("a")) === null || ve === void 0 ? void 0 : ve[0]) === "a";
2627
2655
  } catch {
2628
- Ne = !1;
2656
+ we = !1;
2629
2657
  }
2630
- var Ze = Dr ? (
2658
+ var Ze = Ur ? (
2631
2659
  // Native
2632
2660
  function(t, r, n) {
2633
2661
  return t.startsWith(r, n);
@@ -2637,31 +2665,31 @@ var Ze = Dr ? (
2637
2665
  function(t, r, n) {
2638
2666
  return t.slice(n, n + r.length) === r;
2639
2667
  }
2640
- ), Oe = Gr ? String.fromCodePoint : (
2668
+ ), Pe = Dr ? String.fromCodePoint : (
2641
2669
  // IE11
2642
2670
  function() {
2643
2671
  for (var t = [], r = 0; r < arguments.length; r++)
2644
2672
  t[r] = arguments[r];
2645
- for (var n = "", i = t.length, s = 0, u; i > s; ) {
2646
- if (u = t[s++], u > 1114111)
2647
- throw RangeError(u + " is not a valid code point");
2648
- n += u < 65536 ? String.fromCharCode(u) : String.fromCharCode(((u -= 65536) >> 10) + 55296, u % 1024 + 56320);
2673
+ for (var n = "", i = t.length, s = 0, a; i > s; ) {
2674
+ if (a = t[s++], a > 1114111)
2675
+ throw RangeError(a + " is not a valid code point");
2676
+ n += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
2649
2677
  }
2650
2678
  return n;
2651
2679
  }
2652
2680
  ), Qe = (
2653
2681
  // native
2654
- Fr ? Object.fromEntries : (
2682
+ Gr ? Object.fromEntries : (
2655
2683
  // Ponyfill
2656
2684
  function(t) {
2657
2685
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
2658
- var s = i[n], u = s[0], o = s[1];
2659
- r[u] = o;
2686
+ var s = i[n], a = s[0], o = s[1];
2687
+ r[a] = o;
2660
2688
  }
2661
2689
  return r;
2662
2690
  }
2663
2691
  )
2664
- ), Bt = jr ? (
2692
+ ), Bt = Fr ? (
2665
2693
  // Native
2666
2694
  function(t, r) {
2667
2695
  return t.codePointAt(r);
@@ -2675,7 +2703,7 @@ var Ze = Dr ? (
2675
2703
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2676
2704
  }
2677
2705
  }
2678
- ), Zr = kr ? (
2706
+ ), Wr = jr ? (
2679
2707
  // Native
2680
2708
  function(t) {
2681
2709
  return t.trimStart();
@@ -2683,9 +2711,9 @@ var Ze = Dr ? (
2683
2711
  ) : (
2684
2712
  // Ponyfill
2685
2713
  function(t) {
2686
- return t.replace($r, "");
2714
+ return t.replace(Rr, "");
2687
2715
  }
2688
- ), Qr = Vr ? (
2716
+ ), Zr = kr ? (
2689
2717
  // Native
2690
2718
  function(t) {
2691
2719
  return t.trimEnd();
@@ -2693,32 +2721,32 @@ var Ze = Dr ? (
2693
2721
  ) : (
2694
2722
  // Ponyfill
2695
2723
  function(t) {
2696
- return t.replace(Ur, "");
2724
+ return t.replace($r, "");
2697
2725
  }
2698
2726
  );
2699
2727
  function At(e, t) {
2700
2728
  return new RegExp(e, t);
2701
2729
  }
2702
- var Ie;
2703
- if (Ne) {
2730
+ var Ne;
2731
+ if (we) {
2704
2732
  var qe = At("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2705
- Ie = function(t, r) {
2733
+ Ne = function(t, r) {
2706
2734
  var n;
2707
2735
  qe.lastIndex = r;
2708
2736
  var i = qe.exec(t);
2709
2737
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2710
2738
  };
2711
2739
  } else
2712
- Ie = function(t, r) {
2740
+ Ne = function(t, r) {
2713
2741
  for (var n = []; ; ) {
2714
2742
  var i = Bt(t, r);
2715
- if (i === void 0 || wt(i) || Kr(i))
2743
+ if (i === void 0 || wt(i) || Yr(i))
2716
2744
  break;
2717
2745
  n.push(i), r += i >= 65536 ? 2 : 1;
2718
2746
  }
2719
- return Oe.apply(void 0, n);
2747
+ return Pe.apply(void 0, n);
2720
2748
  };
2721
- var qr = (
2749
+ var Qr = (
2722
2750
  /** @class */
2723
2751
  function() {
2724
2752
  function e(t, r) {
@@ -2732,33 +2760,33 @@ var qr = (
2732
2760
  for (var i = []; !this.isEOF(); ) {
2733
2761
  var s = this.char();
2734
2762
  if (s === 123) {
2735
- var u = this.parseArgument(t, n);
2736
- if (u.err)
2737
- return u;
2738
- i.push(u.val);
2763
+ var a = this.parseArgument(t, n);
2764
+ if (a.err)
2765
+ return a;
2766
+ i.push(a.val);
2739
2767
  } else {
2740
2768
  if (s === 125 && t > 0)
2741
2769
  break;
2742
2770
  if (s === 35 && (r === "plural" || r === "selectordinal")) {
2743
2771
  var o = this.clonePosition();
2744
2772
  this.bump(), i.push({
2745
- type: E.pound,
2773
+ type: v.pound,
2746
2774
  location: p(o, this.clonePosition())
2747
2775
  });
2748
2776
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2749
2777
  if (n)
2750
2778
  break;
2751
2779
  return this.error(d.UNMATCHED_CLOSING_TAG, p(this.clonePosition(), this.clonePosition()));
2752
- } else if (s === 60 && !this.ignoreTag && Le(this.peek() || 0)) {
2753
- var u = this.parseTag(t, r);
2754
- if (u.err)
2755
- return u;
2756
- i.push(u.val);
2780
+ } else if (s === 60 && !this.ignoreTag && Oe(this.peek() || 0)) {
2781
+ var a = this.parseTag(t, r);
2782
+ if (a.err)
2783
+ return a;
2784
+ i.push(a.val);
2757
2785
  } else {
2758
- var u = this.parseLiteral(t, r);
2759
- if (u.err)
2760
- return u;
2761
- i.push(u.val);
2786
+ var a = this.parseLiteral(t, r);
2787
+ if (a.err)
2788
+ return a;
2789
+ i.push(a.val);
2762
2790
  }
2763
2791
  }
2764
2792
  }
@@ -2770,7 +2798,7 @@ var qr = (
2770
2798
  if (this.bumpSpace(), this.bumpIf("/>"))
2771
2799
  return {
2772
2800
  val: {
2773
- type: E.literal,
2801
+ type: v.literal,
2774
2802
  value: "<".concat(i, "/>"),
2775
2803
  location: p(n, this.clonePosition())
2776
2804
  },
@@ -2780,16 +2808,16 @@ var qr = (
2780
2808
  var s = this.parseMessage(t + 1, r, !0);
2781
2809
  if (s.err)
2782
2810
  return s;
2783
- var u = s.val, o = this.clonePosition();
2811
+ var a = s.val, o = this.clonePosition();
2784
2812
  if (this.bumpIf("</")) {
2785
- if (this.isEOF() || !Le(this.char()))
2813
+ if (this.isEOF() || !Oe(this.char()))
2786
2814
  return this.error(d.INVALID_TAG, p(o, this.clonePosition()));
2787
- var l = this.clonePosition(), a = this.parseTagName();
2788
- return i !== a ? this.error(d.UNMATCHED_CLOSING_TAG, p(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2815
+ var l = this.clonePosition(), u = this.parseTagName();
2816
+ return i !== u ? this.error(d.UNMATCHED_CLOSING_TAG, p(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2789
2817
  val: {
2790
- type: E.tag,
2818
+ type: v.tag,
2791
2819
  value: i,
2792
- children: u,
2820
+ children: a,
2793
2821
  location: p(n, this.clonePosition())
2794
2822
  },
2795
2823
  err: null
@@ -2800,7 +2828,7 @@ var qr = (
2800
2828
  return this.error(d.INVALID_TAG, p(n, this.clonePosition()));
2801
2829
  }, e.prototype.parseTagName = function() {
2802
2830
  var t = this.offset();
2803
- for (this.bump(); !this.isEOF() && Yr(this.char()); )
2831
+ for (this.bump(); !this.isEOF() && Jr(this.char()); )
2804
2832
  this.bump();
2805
2833
  return this.message.slice(t, this.offset());
2806
2834
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2810,9 +2838,9 @@ var qr = (
2810
2838
  i += s;
2811
2839
  continue;
2812
2840
  }
2813
- var u = this.tryParseUnquoted(t, r);
2814
- if (u) {
2815
- i += u;
2841
+ var a = this.tryParseUnquoted(t, r);
2842
+ if (a) {
2843
+ i += a;
2816
2844
  continue;
2817
2845
  }
2818
2846
  var o = this.tryParseLeftAngleBracket();
@@ -2824,12 +2852,12 @@ var qr = (
2824
2852
  }
2825
2853
  var l = p(n, this.clonePosition());
2826
2854
  return {
2827
- val: { type: E.literal, value: i, location: l },
2855
+ val: { type: v.literal, value: i, location: l },
2828
2856
  err: null
2829
2857
  };
2830
2858
  }, e.prototype.tryParseLeftAngleBracket = function() {
2831
2859
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2832
- !Jr(this.peek() || 0)) ? (this.bump(), "<") : null;
2860
+ !qr(this.peek() || 0)) ? (this.bump(), "<") : null;
2833
2861
  }, e.prototype.tryParseQuote = function(t) {
2834
2862
  if (this.isEOF() || this.char() !== 39)
2835
2863
  return null;
@@ -2863,12 +2891,12 @@ var qr = (
2863
2891
  r.push(n);
2864
2892
  this.bump();
2865
2893
  }
2866
- return Oe.apply(void 0, r);
2894
+ return Pe.apply(void 0, r);
2867
2895
  }, e.prototype.tryParseUnquoted = function(t, r) {
2868
2896
  if (this.isEOF())
2869
2897
  return null;
2870
2898
  var n = this.char();
2871
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Oe(n));
2899
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Pe(n));
2872
2900
  }, e.prototype.parseArgument = function(t, r) {
2873
2901
  var n = this.clonePosition();
2874
2902
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -2884,7 +2912,7 @@ var qr = (
2884
2912
  case 125:
2885
2913
  return this.bump(), {
2886
2914
  val: {
2887
- type: E.argument,
2915
+ type: v.argument,
2888
2916
  // value does not include the opening and closing braces.
2889
2917
  value: i,
2890
2918
  location: p(n, this.clonePosition())
@@ -2897,54 +2925,54 @@ var qr = (
2897
2925
  return this.error(d.MALFORMED_ARGUMENT, p(n, this.clonePosition()));
2898
2926
  }
2899
2927
  }, e.prototype.parseIdentifierIfPossible = function() {
2900
- var t = this.clonePosition(), r = this.offset(), n = Ie(this.message, r), i = r + n.length;
2928
+ var t = this.clonePosition(), r = this.offset(), n = Ne(this.message, r), i = r + n.length;
2901
2929
  this.bumpTo(i);
2902
- var s = this.clonePosition(), u = p(t, s);
2903
- return { value: n, location: u };
2930
+ var s = this.clonePosition(), a = p(t, s);
2931
+ return { value: n, location: a };
2904
2932
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2905
- var s, u = this.clonePosition(), o = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2933
+ var s, a = this.clonePosition(), o = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2906
2934
  switch (o) {
2907
2935
  case "":
2908
- return this.error(d.EXPECT_ARGUMENT_TYPE, p(u, l));
2936
+ return this.error(d.EXPECT_ARGUMENT_TYPE, p(a, l));
2909
2937
  case "number":
2910
2938
  case "date":
2911
2939
  case "time": {
2912
2940
  this.bumpSpace();
2913
- var a = null;
2941
+ var u = null;
2914
2942
  if (this.bumpIf(",")) {
2915
2943
  this.bumpSpace();
2916
2944
  var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2917
2945
  if (c.err)
2918
2946
  return c;
2919
- var f = Qr(c.val);
2947
+ var f = Zr(c.val);
2920
2948
  if (f.length === 0)
2921
2949
  return this.error(d.EXPECT_ARGUMENT_STYLE, p(this.clonePosition(), this.clonePosition()));
2922
2950
  var b = p(h, this.clonePosition());
2923
- a = { style: f, styleLocation: b };
2951
+ u = { style: f, styleLocation: b };
2924
2952
  }
2925
2953
  var y = this.tryParseArgumentClose(i);
2926
2954
  if (y.err)
2927
2955
  return y;
2928
2956
  var x = p(i, this.clonePosition());
2929
- if (a && Ze(a?.style, "::", 0)) {
2930
- var S = Zr(a.style.slice(2));
2957
+ if (u && Ze(u?.style, "::", 0)) {
2958
+ var S = Wr(u.style.slice(2));
2931
2959
  if (o === "number") {
2932
- var c = this.parseNumberSkeletonFromString(S, a.styleLocation);
2960
+ var c = this.parseNumberSkeletonFromString(S, u.styleLocation);
2933
2961
  return c.err ? c : {
2934
- val: { type: E.number, value: n, location: x, style: c.val },
2962
+ val: { type: v.number, value: n, location: x, style: c.val },
2935
2963
  err: null
2936
2964
  };
2937
2965
  } else {
2938
2966
  if (S.length === 0)
2939
2967
  return this.error(d.EXPECT_DATE_TIME_SKELETON, x);
2940
2968
  var N = S;
2941
- this.locale && (N = Mr(S, this.locale));
2969
+ this.locale && (N = Cr(S, this.locale));
2942
2970
  var f = {
2943
- type: k.dateTime,
2971
+ type: j.dateTime,
2944
2972
  pattern: N,
2945
- location: a.styleLocation,
2946
- parsedOptions: this.shouldParseSkeletons ? wr(N) : {}
2947
- }, P = o === "date" ? E.date : E.time;
2973
+ location: u.styleLocation,
2974
+ parsedOptions: this.shouldParseSkeletons ? Ar(N) : {}
2975
+ }, P = o === "date" ? v.date : v.time;
2948
2976
  return {
2949
2977
  val: { type: P, value: n, location: x, style: f },
2950
2978
  err: null
@@ -2953,10 +2981,10 @@ var qr = (
2953
2981
  }
2954
2982
  return {
2955
2983
  val: {
2956
- type: o === "number" ? E.number : o === "date" ? E.date : E.time,
2984
+ type: o === "number" ? v.number : o === "date" ? v.date : v.time,
2957
2985
  value: n,
2958
2986
  location: x,
2959
- style: (s = a?.style) !== null && s !== void 0 ? s : null
2987
+ style: (s = u?.style) !== null && s !== void 0 ? s : null
2960
2988
  },
2961
2989
  err: null
2962
2990
  };
@@ -2966,7 +2994,7 @@ var qr = (
2966
2994
  case "select": {
2967
2995
  var B = this.clonePosition();
2968
2996
  if (this.bumpSpace(), !this.bumpIf(","))
2969
- return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, p(B, he({}, B)));
2997
+ return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, p(B, E({}, B)));
2970
2998
  this.bumpSpace();
2971
2999
  var O = this.parseIdentifierIfPossible(), w = 0;
2972
3000
  if (o !== "select" && O.value === "offset") {
@@ -2984,29 +3012,29 @@ var qr = (
2984
3012
  var y = this.tryParseArgumentClose(i);
2985
3013
  if (y.err)
2986
3014
  return y;
2987
- var v = p(i, this.clonePosition());
3015
+ var _ = p(i, this.clonePosition());
2988
3016
  return o === "select" ? {
2989
3017
  val: {
2990
- type: E.select,
3018
+ type: v.select,
2991
3019
  value: n,
2992
3020
  options: Qe(T.val),
2993
- location: v
3021
+ location: _
2994
3022
  },
2995
3023
  err: null
2996
3024
  } : {
2997
3025
  val: {
2998
- type: E.plural,
3026
+ type: v.plural,
2999
3027
  value: n,
3000
3028
  options: Qe(T.val),
3001
3029
  offset: w,
3002
3030
  pluralType: o === "plural" ? "cardinal" : "ordinal",
3003
- location: v
3031
+ location: _
3004
3032
  },
3005
3033
  err: null
3006
3034
  };
3007
3035
  }
3008
3036
  default:
3009
- return this.error(d.INVALID_ARGUMENT_TYPE, p(u, l));
3037
+ return this.error(d.INVALID_ARGUMENT_TYPE, p(a, l));
3010
3038
  }
3011
3039
  }, e.prototype.tryParseArgumentClose = function(t) {
3012
3040
  return this.isEOF() || this.char() !== 125 ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, p(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
@@ -3048,34 +3076,34 @@ var qr = (
3048
3076
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3049
3077
  var n = [];
3050
3078
  try {
3051
- n = Nr(t);
3079
+ n = Pr(t);
3052
3080
  } catch {
3053
3081
  return this.error(d.INVALID_NUMBER_SKELETON, r);
3054
3082
  }
3055
3083
  return {
3056
3084
  val: {
3057
- type: k.number,
3085
+ type: j.number,
3058
3086
  tokens: n,
3059
3087
  location: r,
3060
- parsedOptions: this.shouldParseSkeletons ? Cr(n) : {}
3088
+ parsedOptions: this.shouldParseSkeletons ? Lr(n) : {}
3061
3089
  },
3062
3090
  err: null
3063
3091
  };
3064
3092
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3065
- for (var s, u = !1, o = [], l = /* @__PURE__ */ new Set(), a = i.value, h = i.location; ; ) {
3066
- if (a.length === 0) {
3093
+ for (var s, a = !1, o = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
3094
+ if (u.length === 0) {
3067
3095
  var c = this.clonePosition();
3068
3096
  if (r !== "select" && this.bumpIf("=")) {
3069
3097
  var f = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_SELECTOR, d.INVALID_PLURAL_ARGUMENT_SELECTOR);
3070
3098
  if (f.err)
3071
3099
  return f;
3072
- h = p(c, this.clonePosition()), a = this.message.slice(c.offset, this.offset());
3100
+ h = p(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3073
3101
  } else
3074
3102
  break;
3075
3103
  }
3076
- if (l.has(a))
3104
+ if (l.has(u))
3077
3105
  return this.error(r === "select" ? d.DUPLICATE_SELECT_ARGUMENT_SELECTOR : d.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3078
- a === "other" && (u = !0), this.bumpSpace();
3106
+ u === "other" && (a = !0), this.bumpSpace();
3079
3107
  var b = this.clonePosition();
3080
3108
  if (!this.bumpIf("{"))
3081
3109
  return this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : d.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, p(this.clonePosition(), this.clonePosition()));
@@ -3086,26 +3114,26 @@ var qr = (
3086
3114
  if (x.err)
3087
3115
  return x;
3088
3116
  o.push([
3089
- a,
3117
+ u,
3090
3118
  {
3091
3119
  value: y.val,
3092
3120
  location: p(b, this.clonePosition())
3093
3121
  }
3094
- ]), l.add(a), this.bumpSpace(), s = this.parseIdentifierIfPossible(), a = s.value, h = s.location;
3122
+ ]), l.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, h = s.location;
3095
3123
  }
3096
- return o.length === 0 ? this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR : d.EXPECT_PLURAL_ARGUMENT_SELECTOR, p(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !u ? this.error(d.MISSING_OTHER_CLAUSE, p(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
3124
+ return o.length === 0 ? this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR : d.EXPECT_PLURAL_ARGUMENT_SELECTOR, p(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(d.MISSING_OTHER_CLAUSE, p(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
3097
3125
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3098
3126
  var n = 1, i = this.clonePosition();
3099
3127
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3100
- for (var s = !1, u = 0; !this.isEOF(); ) {
3128
+ for (var s = !1, a = 0; !this.isEOF(); ) {
3101
3129
  var o = this.char();
3102
3130
  if (o >= 48 && o <= 57)
3103
- s = !0, u = u * 10 + (o - 48), this.bump();
3131
+ s = !0, a = a * 10 + (o - 48), this.bump();
3104
3132
  else
3105
3133
  break;
3106
3134
  }
3107
3135
  var l = p(i, this.clonePosition());
3108
- return s ? (u *= n, Wr(u) ? { val: u, err: null } : this.error(r, l)) : this.error(t, l);
3136
+ return s ? (a *= n, Xr(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3109
3137
  }, e.prototype.offset = function() {
3110
3138
  return this.position.offset;
3111
3139
  }, e.prototype.isEOF = function() {
@@ -3171,47 +3199,47 @@ var qr = (
3171
3199
  }, e;
3172
3200
  }()
3173
3201
  );
3174
- function Le(e) {
3202
+ function Oe(e) {
3175
3203
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3176
3204
  }
3177
- function Jr(e) {
3178
- return Le(e) || e === 47;
3205
+ function qr(e) {
3206
+ return Oe(e) || e === 47;
3179
3207
  }
3180
- function Yr(e) {
3208
+ function Jr(e) {
3181
3209
  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;
3182
3210
  }
3183
3211
  function wt(e) {
3184
3212
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3185
3213
  }
3186
- function Kr(e) {
3214
+ function Yr(e) {
3187
3215
  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;
3188
3216
  }
3189
- function Ce(e) {
3217
+ function Ie(e) {
3190
3218
  e.forEach(function(t) {
3191
3219
  if (delete t.location, yt(t) || Et(t))
3192
3220
  for (var r in t.options)
3193
- delete t.options[r].location, Ce(t.options[r].value);
3221
+ delete t.options[r].location, Ie(t.options[r].value);
3194
3222
  else
3195
- dt(t) && _t(t.style) || (bt(t) || pt(t)) && Pe(t.style) ? delete t.style.location : vt(t) && Ce(t.children);
3223
+ dt(t) && _t(t.style) || (bt(t) || pt(t)) && Ae(t.style) ? delete t.style.location : vt(t) && Ie(t.children);
3196
3224
  });
3197
3225
  }
3198
- function en(e, t) {
3199
- t === void 0 && (t = {}), t = he({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3200
- var r = new qr(e, t).parse();
3226
+ function Kr(e, t) {
3227
+ t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3228
+ var r = new Qr(e, t).parse();
3201
3229
  if (r.err) {
3202
3230
  var n = SyntaxError(d[r.err.kind]);
3203
3231
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3204
3232
  }
3205
- return t?.captureLocation || Ce(r.val), r.val;
3233
+ return t?.captureLocation || Ie(r.val), r.val;
3206
3234
  }
3207
- var V;
3235
+ var k;
3208
3236
  (function(e) {
3209
3237
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3210
- })(V || (V = {}));
3211
- var de = (
3238
+ })(k || (k = {}));
3239
+ var me = (
3212
3240
  /** @class */
3213
3241
  function(e) {
3214
- ge(t, e);
3242
+ ce(t, e);
3215
3243
  function t(r, n, i) {
3216
3244
  var s = e.call(this, r) || this;
3217
3245
  return s.code = n, s.originalMessage = i, s;
@@ -3223,44 +3251,44 @@ var de = (
3223
3251
  ), Je = (
3224
3252
  /** @class */
3225
3253
  function(e) {
3226
- ge(t, e);
3254
+ ce(t, e);
3227
3255
  function t(r, n, i, s) {
3228
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), V.INVALID_VALUE, s) || this;
3256
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), k.INVALID_VALUE, s) || this;
3229
3257
  }
3230
3258
  return t;
3231
- }(de)
3232
- ), tn = (
3259
+ }(me)
3260
+ ), en = (
3233
3261
  /** @class */
3234
3262
  function(e) {
3235
- ge(t, e);
3263
+ ce(t, e);
3236
3264
  function t(r, n, i) {
3237
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), V.INVALID_VALUE, i) || this;
3265
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), k.INVALID_VALUE, i) || this;
3238
3266
  }
3239
3267
  return t;
3240
- }(de)
3241
- ), rn = (
3268
+ }(me)
3269
+ ), tn = (
3242
3270
  /** @class */
3243
3271
  function(e) {
3244
- ge(t, e);
3272
+ ce(t, e);
3245
3273
  function t(r, n) {
3246
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), V.MISSING_VALUE, n) || this;
3274
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), k.MISSING_VALUE, n) || this;
3247
3275
  }
3248
3276
  return t;
3249
- }(de)
3277
+ }(me)
3250
3278
  ), A;
3251
3279
  (function(e) {
3252
3280
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3253
3281
  })(A || (A = {}));
3254
- function nn(e) {
3282
+ function rn(e) {
3255
3283
  return e.length < 2 ? e : e.reduce(function(t, r) {
3256
3284
  var n = t[t.length - 1];
3257
3285
  return !n || n.type !== A.literal || r.type !== A.literal ? t.push(r) : n.value += r.value, t;
3258
3286
  }, []);
3259
3287
  }
3260
- function sn(e) {
3288
+ function nn(e) {
3261
3289
  return typeof e == "function";
3262
3290
  }
3263
- function oe(e, t, r, n, i, s, u) {
3291
+ function ae(e, t, r, n, i, s, a) {
3264
3292
  if (e.length === 1 && Ve(e[0]))
3265
3293
  return [
3266
3294
  {
@@ -3268,8 +3296,8 @@ function oe(e, t, r, n, i, s, u) {
3268
3296
  value: e[0].value
3269
3297
  }
3270
3298
  ];
3271
- for (var o = [], l = 0, a = e; l < a.length; l++) {
3272
- var h = a[l];
3299
+ for (var o = [], l = 0, u = e; l < u.length; l++) {
3300
+ var h = u[l];
3273
3301
  if (Ve(h)) {
3274
3302
  o.push({
3275
3303
  type: A.literal,
@@ -3277,7 +3305,7 @@ function oe(e, t, r, n, i, s, u) {
3277
3305
  });
3278
3306
  continue;
3279
3307
  }
3280
- if (Br(h)) {
3308
+ if (Sr(h)) {
3281
3309
  typeof s == "number" && o.push({
3282
3310
  type: A.literal,
3283
3311
  value: r.getNumberFormat(t).format(s)
@@ -3286,9 +3314,9 @@ function oe(e, t, r, n, i, s, u) {
3286
3314
  }
3287
3315
  var c = h.value;
3288
3316
  if (!(i && c in i))
3289
- throw new rn(c, u);
3317
+ throw new tn(c, a);
3290
3318
  var f = i[c];
3291
- if (Sr(h)) {
3319
+ if (Tr(h)) {
3292
3320
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), o.push({
3293
3321
  type: typeof f == "string" ? A.literal : A.object,
3294
3322
  value: f
@@ -3296,7 +3324,7 @@ function oe(e, t, r, n, i, s, u) {
3296
3324
  continue;
3297
3325
  }
3298
3326
  if (bt(h)) {
3299
- var b = typeof h.style == "string" ? n.date[h.style] : Pe(h.style) ? h.style.parsedOptions : void 0;
3327
+ var b = typeof h.style == "string" ? n.date[h.style] : Ae(h.style) ? h.style.parsedOptions : void 0;
3300
3328
  o.push({
3301
3329
  type: A.literal,
3302
3330
  value: r.getDateTimeFormat(t, b).format(f)
@@ -3304,7 +3332,7 @@ function oe(e, t, r, n, i, s, u) {
3304
3332
  continue;
3305
3333
  }
3306
3334
  if (pt(h)) {
3307
- var b = typeof h.style == "string" ? n.time[h.style] : Pe(h.style) ? h.style.parsedOptions : n.time.medium;
3335
+ var b = typeof h.style == "string" ? n.time[h.style] : Ae(h.style) ? h.style.parsedOptions : n.time.medium;
3308
3336
  o.push({
3309
3337
  type: A.literal,
3310
3338
  value: r.getDateTimeFormat(t, b).format(f)
@@ -3321,9 +3349,9 @@ function oe(e, t, r, n, i, s, u) {
3321
3349
  }
3322
3350
  if (vt(h)) {
3323
3351
  var y = h.children, x = h.value, S = i[x];
3324
- if (!sn(S))
3325
- throw new tn(x, "function", u);
3326
- var N = oe(y, t, r, n, i, s), P = S(N.map(function(w) {
3352
+ if (!nn(S))
3353
+ throw new en(x, "function", a);
3354
+ var N = ae(y, t, r, n, i, s), P = S(N.map(function(w) {
3327
3355
  return w.value;
3328
3356
  }));
3329
3357
  Array.isArray(P) || (P = [P]), o.push.apply(o, P.map(function(w) {
@@ -3336,39 +3364,39 @@ function oe(e, t, r, n, i, s, u) {
3336
3364
  if (yt(h)) {
3337
3365
  var B = h.options[f] || h.options.other;
3338
3366
  if (!B)
3339
- throw new Je(h.value, f, Object.keys(h.options), u);
3340
- o.push.apply(o, oe(B.value, t, r, n, i));
3367
+ throw new Je(h.value, f, Object.keys(h.options), a);
3368
+ o.push.apply(o, ae(B.value, t, r, n, i));
3341
3369
  continue;
3342
3370
  }
3343
3371
  if (Et(h)) {
3344
3372
  var B = h.options["=".concat(f)];
3345
3373
  if (!B) {
3346
3374
  if (!Intl.PluralRules)
3347
- throw new de(`Intl.PluralRules is not available in this environment.
3375
+ throw new me(`Intl.PluralRules is not available in this environment.
3348
3376
  Try polyfilling it using "@formatjs/intl-pluralrules"
3349
- `, V.MISSING_INTL_API, u);
3377
+ `, k.MISSING_INTL_API, a);
3350
3378
  var O = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3351
3379
  B = h.options[O] || h.options.other;
3352
3380
  }
3353
3381
  if (!B)
3354
- throw new Je(h.value, f, Object.keys(h.options), u);
3355
- o.push.apply(o, oe(B.value, t, r, n, i, f - (h.offset || 0)));
3382
+ throw new Je(h.value, f, Object.keys(h.options), a);
3383
+ o.push.apply(o, ae(B.value, t, r, n, i, f - (h.offset || 0)));
3356
3384
  continue;
3357
3385
  }
3358
3386
  }
3359
- return nn(o);
3387
+ return rn(o);
3360
3388
  }
3361
- function an(e, t) {
3362
- return t ? C(C(C({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3363
- return r[n] = C(C({}, e[n]), t[n] || {}), r;
3389
+ function sn(e, t) {
3390
+ return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3391
+ return r[n] = E(E({}, e[n]), t[n] || {}), r;
3364
3392
  }, {})) : e;
3365
3393
  }
3366
- function on(e, t) {
3394
+ function an(e, t) {
3367
3395
  return t ? Object.keys(e).reduce(function(r, n) {
3368
- return r[n] = an(e[n], t[n]), r;
3369
- }, C({}, e)) : e;
3396
+ return r[n] = sn(e[n], t[n]), r;
3397
+ }, E({}, e)) : e;
3370
3398
  }
3371
- function He(e) {
3399
+ function _e(e) {
3372
3400
  return {
3373
3401
  create: function() {
3374
3402
  return {
@@ -3382,39 +3410,39 @@ function He(e) {
3382
3410
  }
3383
3411
  };
3384
3412
  }
3385
- function un(e) {
3413
+ function on(e) {
3386
3414
  return e === void 0 && (e = {
3387
3415
  number: {},
3388
3416
  dateTime: {},
3389
3417
  pluralRules: {}
3390
3418
  }), {
3391
- getNumberFormat: ve(function() {
3419
+ getNumberFormat: ye(function() {
3392
3420
  for (var t, r = [], n = 0; n < arguments.length; n++)
3393
3421
  r[n] = arguments[n];
3394
- return new ((t = Intl.NumberFormat).bind.apply(t, Ee([void 0], r, !1)))();
3422
+ return new ((t = Intl.NumberFormat).bind.apply(t, pe([void 0], r, !1)))();
3395
3423
  }, {
3396
- cache: He(e.number),
3397
- strategy: _e.variadic
3424
+ cache: _e(e.number),
3425
+ strategy: Ee.variadic
3398
3426
  }),
3399
- getDateTimeFormat: ve(function() {
3427
+ getDateTimeFormat: ye(function() {
3400
3428
  for (var t, r = [], n = 0; n < arguments.length; n++)
3401
3429
  r[n] = arguments[n];
3402
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Ee([void 0], r, !1)))();
3430
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, pe([void 0], r, !1)))();
3403
3431
  }, {
3404
- cache: He(e.dateTime),
3405
- strategy: _e.variadic
3432
+ cache: _e(e.dateTime),
3433
+ strategy: Ee.variadic
3406
3434
  }),
3407
- getPluralRules: ve(function() {
3435
+ getPluralRules: ye(function() {
3408
3436
  for (var t, r = [], n = 0; n < arguments.length; n++)
3409
3437
  r[n] = arguments[n];
3410
- return new ((t = Intl.PluralRules).bind.apply(t, Ee([void 0], r, !1)))();
3438
+ return new ((t = Intl.PluralRules).bind.apply(t, pe([void 0], r, !1)))();
3411
3439
  }, {
3412
- cache: He(e.pluralRules),
3413
- strategy: _e.variadic
3440
+ cache: _e(e.pluralRules),
3441
+ strategy: Ee.variadic
3414
3442
  })
3415
3443
  };
3416
3444
  }
3417
- var hn = (
3445
+ var un = (
3418
3446
  /** @class */
3419
3447
  function() {
3420
3448
  function e(t, r, n, i) {
@@ -3425,15 +3453,15 @@ var hn = (
3425
3453
  dateTime: {},
3426
3454
  pluralRules: {}
3427
3455
  }, this.format = function(l) {
3428
- var a = s.formatToParts(l);
3429
- if (a.length === 1)
3430
- return a[0].value;
3431
- var h = a.reduce(function(c, f) {
3456
+ var u = s.formatToParts(l);
3457
+ if (u.length === 1)
3458
+ return u[0].value;
3459
+ var h = u.reduce(function(c, f) {
3432
3460
  return !c.length || f.type !== A.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3433
3461
  }, []);
3434
3462
  return h.length <= 1 ? h[0] || "" : h;
3435
3463
  }, this.formatToParts = function(l) {
3436
- return oe(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3464
+ return ae(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3437
3465
  }, this.resolvedOptions = function() {
3438
3466
  var l;
3439
3467
  return {
@@ -3444,15 +3472,15 @@ var hn = (
3444
3472
  }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
3445
3473
  if (this.message = t, !e.__parse)
3446
3474
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3447
- var u = i || {};
3448
- u.formatters;
3449
- var o = pr(u, ["formatters"]);
3450
- this.ast = e.__parse(t, C(C({}, o), { locale: this.resolvedLocale }));
3475
+ var a = i || {};
3476
+ a.formatters;
3477
+ var o = pr(a, ["formatters"]);
3478
+ this.ast = e.__parse(t, E(E({}, o), { locale: this.resolvedLocale }));
3451
3479
  } else
3452
3480
  this.ast = t;
3453
3481
  if (!Array.isArray(this.ast))
3454
3482
  throw new TypeError("A message must be provided as a String or AST.");
3455
- this.formats = on(e.formats, n), this.formatters = i && i.formatters || un(this.formatterCache);
3483
+ this.formats = an(e.formats, n), this.formatters = i && i.formatters || on(this.formatterCache);
3456
3484
  }
3457
3485
  return Object.defineProperty(e, "defaultLocale", {
3458
3486
  get: function() {
@@ -3465,7 +3493,7 @@ var hn = (
3465
3493
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3466
3494
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3467
3495
  }
3468
- }, e.__parse = en, e.formats = {
3496
+ }, e.__parse = Kr, e.formats = {
3469
3497
  number: {
3470
3498
  integer: {
3471
3499
  maximumFractionDigits: 0
@@ -3526,7 +3554,7 @@ var hn = (
3526
3554
  }, e;
3527
3555
  }()
3528
3556
  );
3529
- function ln(e, t) {
3557
+ function hn(e, t) {
3530
3558
  if (t == null)
3531
3559
  return;
3532
3560
  if (t in e)
@@ -3547,92 +3575,92 @@ function ln(e, t) {
3547
3575
  n = void 0;
3548
3576
  return n;
3549
3577
  }
3550
- const M = {}, fn = (e, t, r) => r && (t in M || (M[t] = {}), e in M[t] || (M[t][e] = r), r), Pt = (e, t) => {
3578
+ const C = {}, ln = (e, t, r) => r && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = r), r), Pt = (e, t) => {
3551
3579
  if (t == null)
3552
3580
  return;
3553
- if (t in M && e in M[t])
3554
- return M[t][e];
3555
- const r = be(t);
3581
+ if (t in C && e in C[t])
3582
+ return C[t][e];
3583
+ const r = ge(t);
3556
3584
  for (let n = 0; n < r.length; n++) {
3557
- const i = r[n], s = mn(i, e);
3585
+ const i = r[n], s = cn(i, e);
3558
3586
  if (s)
3559
- return fn(e, t, s);
3587
+ return ln(e, t, s);
3560
3588
  }
3561
3589
  };
3562
3590
  let De;
3563
- const Z = me({});
3564
- function cn(e) {
3591
+ const W = fe({});
3592
+ function fn(e) {
3565
3593
  return De[e] || null;
3566
3594
  }
3567
3595
  function Nt(e) {
3568
3596
  return e in De;
3569
3597
  }
3570
- function mn(e, t) {
3598
+ function cn(e, t) {
3571
3599
  if (!Nt(e))
3572
3600
  return null;
3573
- const r = cn(e);
3574
- return ln(r, t);
3601
+ const r = fn(e);
3602
+ return hn(r, t);
3575
3603
  }
3576
- function gn(e) {
3604
+ function mn(e) {
3577
3605
  if (e == null)
3578
3606
  return;
3579
- const t = be(e);
3607
+ const t = ge(e);
3580
3608
  for (let r = 0; r < t.length; r++) {
3581
3609
  const n = t[r];
3582
3610
  if (Nt(n))
3583
3611
  return n;
3584
3612
  }
3585
3613
  }
3586
- function dn(e, ...t) {
3587
- delete M[e], Z.update((r) => (r[e] = br.all([r[e] || {}, ...t]), r));
3614
+ function gn(e, ...t) {
3615
+ delete C[e], W.update((r) => (r[e] = br.all([r[e] || {}, ...t]), r));
3588
3616
  }
3589
3617
  z(
3590
- [Z],
3618
+ [W],
3591
3619
  ([e]) => Object.keys(e)
3592
3620
  );
3593
- Z.subscribe((e) => De = e);
3594
- const ue = {};
3595
- function bn(e, t) {
3596
- ue[e].delete(t), ue[e].size === 0 && delete ue[e];
3621
+ W.subscribe((e) => De = e);
3622
+ const oe = {};
3623
+ function dn(e, t) {
3624
+ oe[e].delete(t), oe[e].size === 0 && delete oe[e];
3597
3625
  }
3598
3626
  function Ot(e) {
3599
- return ue[e];
3627
+ return oe[e];
3600
3628
  }
3601
- function pn(e) {
3602
- return be(e).map((t) => {
3629
+ function bn(e) {
3630
+ return ge(e).map((t) => {
3603
3631
  const r = Ot(t);
3604
3632
  return [t, r ? [...r] : []];
3605
3633
  }).filter(([, t]) => t.length > 0);
3606
3634
  }
3607
- function Me(e) {
3608
- return e == null ? !1 : be(e).some(
3635
+ function Le(e) {
3636
+ return e == null ? !1 : ge(e).some(
3609
3637
  (t) => {
3610
3638
  var r;
3611
3639
  return (r = Ot(t)) == null ? void 0 : r.size;
3612
3640
  }
3613
3641
  );
3614
3642
  }
3615
- function yn(e, t) {
3643
+ function pn(e, t) {
3616
3644
  return Promise.all(
3617
- t.map((n) => (bn(e, n), n().then((i) => i.default || i)))
3618
- ).then((n) => dn(e, ...n));
3645
+ t.map((n) => (dn(e, n), n().then((i) => i.default || i)))
3646
+ ).then((n) => gn(e, ...n));
3619
3647
  }
3620
- const q = {};
3648
+ const Q = {};
3621
3649
  function It(e) {
3622
- if (!Me(e))
3623
- return e in q ? q[e] : Promise.resolve();
3624
- const t = pn(e);
3625
- return q[e] = Promise.all(
3650
+ if (!Le(e))
3651
+ return e in Q ? Q[e] : Promise.resolve();
3652
+ const t = bn(e);
3653
+ return Q[e] = Promise.all(
3626
3654
  t.map(
3627
- ([r, n]) => yn(r, n)
3655
+ ([r, n]) => pn(r, n)
3628
3656
  )
3629
3657
  ).then(() => {
3630
- if (Me(e))
3658
+ if (Le(e))
3631
3659
  return It(e);
3632
- delete q[e];
3633
- }), q[e];
3660
+ delete Q[e];
3661
+ }), Q[e];
3634
3662
  }
3635
- const En = {
3663
+ const yn = {
3636
3664
  number: {
3637
3665
  scientific: { notation: "scientific" },
3638
3666
  engineering: { notation: "engineering" },
@@ -3661,150 +3689,150 @@ const En = {
3661
3689
  timeZoneName: "short"
3662
3690
  }
3663
3691
  }
3664
- }, vn = {
3692
+ }, En = {
3665
3693
  fallbackLocale: null,
3666
3694
  loadingDelay: 200,
3667
- formats: En,
3695
+ formats: yn,
3668
3696
  warnOnMissingMessages: !0,
3669
3697
  handleMissingMessage: void 0,
3670
3698
  ignoreTag: !0
3671
- }, _n = vn;
3672
- function X() {
3673
- return _n;
3699
+ }, vn = En;
3700
+ function V() {
3701
+ return vn;
3674
3702
  }
3675
- const Te = me(!1);
3676
- var xn = Object.defineProperty, Hn = Object.defineProperties, Tn = Object.getOwnPropertyDescriptors, Ye = Object.getOwnPropertySymbols, Sn = Object.prototype.hasOwnProperty, Bn = Object.prototype.propertyIsEnumerable, Ke = (e, t, r) => t in e ? xn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, An = (e, t) => {
3703
+ const xe = fe(!1);
3704
+ var _n = Object.defineProperty, xn = Object.defineProperties, Hn = Object.getOwnPropertyDescriptors, Ye = Object.getOwnPropertySymbols, Tn = Object.prototype.hasOwnProperty, Sn = Object.prototype.propertyIsEnumerable, Ke = (e, t, r) => t in e ? _n(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Bn = (e, t) => {
3677
3705
  for (var r in t || (t = {}))
3678
- Sn.call(t, r) && Ke(e, r, t[r]);
3706
+ Tn.call(t, r) && Ke(e, r, t[r]);
3679
3707
  if (Ye)
3680
3708
  for (var r of Ye(t))
3681
- Bn.call(t, r) && Ke(e, r, t[r]);
3709
+ Sn.call(t, r) && Ke(e, r, t[r]);
3682
3710
  return e;
3683
- }, wn = (e, t) => Hn(e, Tn(t));
3684
- let Re;
3685
- const le = me(null);
3711
+ }, An = (e, t) => xn(e, Hn(t));
3712
+ let Ce;
3713
+ const ue = fe(null);
3686
3714
  function et(e) {
3687
3715
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3688
3716
  }
3689
- function be(e, t = X().fallbackLocale) {
3717
+ function ge(e, t = V().fallbackLocale) {
3690
3718
  const r = et(e);
3691
3719
  return t ? [.../* @__PURE__ */ new Set([...r, ...et(t)])] : r;
3692
3720
  }
3693
- function $() {
3694
- return Re ?? void 0;
3721
+ function R() {
3722
+ return Ce ?? void 0;
3695
3723
  }
3696
- le.subscribe((e) => {
3697
- Re = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3724
+ ue.subscribe((e) => {
3725
+ Ce = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3698
3726
  });
3699
- const Pn = (e) => {
3700
- if (e && gn(e) && Me(e)) {
3701
- const { loadingDelay: t } = X();
3727
+ const wn = (e) => {
3728
+ if (e && mn(e) && Le(e)) {
3729
+ const { loadingDelay: t } = V();
3702
3730
  let r;
3703
- return typeof window < "u" && $() != null && t ? r = window.setTimeout(
3704
- () => Te.set(!0),
3731
+ return typeof window < "u" && R() != null && t ? r = window.setTimeout(
3732
+ () => xe.set(!0),
3705
3733
  t
3706
- ) : Te.set(!0), It(e).then(() => {
3707
- le.set(e);
3734
+ ) : xe.set(!0), It(e).then(() => {
3735
+ ue.set(e);
3708
3736
  }).finally(() => {
3709
- clearTimeout(r), Te.set(!1);
3737
+ clearTimeout(r), xe.set(!1);
3710
3738
  });
3711
3739
  }
3712
- return le.set(e);
3713
- }, R = wn(An({}, le), {
3714
- set: Pn
3715
- }), pe = (e) => {
3740
+ return ue.set(e);
3741
+ }, M = An(Bn({}, ue), {
3742
+ set: wn
3743
+ }), de = (e) => {
3716
3744
  const t = /* @__PURE__ */ Object.create(null);
3717
3745
  return (n) => {
3718
3746
  const i = JSON.stringify(n);
3719
3747
  return i in t ? t[i] : t[i] = e(n);
3720
3748
  };
3721
3749
  };
3722
- var Nn = Object.defineProperty, fe = Object.getOwnPropertySymbols, Lt = Object.prototype.hasOwnProperty, Ct = Object.prototype.propertyIsEnumerable, tt = (e, t, r) => t in e ? Nn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ge = (e, t) => {
3750
+ var Pn = Object.defineProperty, he = Object.getOwnPropertySymbols, Lt = Object.prototype.hasOwnProperty, Ct = Object.prototype.propertyIsEnumerable, tt = (e, t, r) => t in e ? Pn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ge = (e, t) => {
3723
3751
  for (var r in t || (t = {}))
3724
3752
  Lt.call(t, r) && tt(e, r, t[r]);
3725
- if (fe)
3726
- for (var r of fe(t))
3753
+ if (he)
3754
+ for (var r of he(t))
3727
3755
  Ct.call(t, r) && tt(e, r, t[r]);
3728
3756
  return e;
3729
- }, Q = (e, t) => {
3757
+ }, Z = (e, t) => {
3730
3758
  var r = {};
3731
3759
  for (var n in e)
3732
3760
  Lt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3733
- if (e != null && fe)
3734
- for (var n of fe(e))
3761
+ if (e != null && he)
3762
+ for (var n of he(e))
3735
3763
  t.indexOf(n) < 0 && Ct.call(e, n) && (r[n] = e[n]);
3736
3764
  return r;
3737
3765
  };
3738
- const ee = (e, t) => {
3739
- const { formats: r } = X();
3766
+ const K = (e, t) => {
3767
+ const { formats: r } = V();
3740
3768
  if (e in r && t in r[e])
3741
3769
  return r[e][t];
3742
3770
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3743
- }, On = pe(
3771
+ }, Nn = de(
3744
3772
  (e) => {
3745
- var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
3773
+ var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
3746
3774
  if (r == null)
3747
3775
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3748
- return n && (i = ee("number", n)), new Intl.NumberFormat(r, i);
3776
+ return n && (i = K("number", n)), new Intl.NumberFormat(r, i);
3749
3777
  }
3750
- ), In = pe(
3778
+ ), On = de(
3751
3779
  (e) => {
3752
- var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
3780
+ var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
3753
3781
  if (r == null)
3754
3782
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3755
- return n ? i = ee("date", n) : Object.keys(i).length === 0 && (i = ee("date", "short")), new Intl.DateTimeFormat(r, i);
3783
+ return n ? i = K("date", n) : Object.keys(i).length === 0 && (i = K("date", "short")), new Intl.DateTimeFormat(r, i);
3756
3784
  }
3757
- ), Ln = pe(
3785
+ ), In = de(
3758
3786
  (e) => {
3759
- var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
3787
+ var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
3760
3788
  if (r == null)
3761
3789
  throw new Error(
3762
3790
  '[svelte-i18n] A "locale" must be set to format time values'
3763
3791
  );
3764
- return n ? i = ee("time", n) : Object.keys(i).length === 0 && (i = ee("time", "short")), new Intl.DateTimeFormat(r, i);
3792
+ return n ? i = K("time", n) : Object.keys(i).length === 0 && (i = K("time", "short")), new Intl.DateTimeFormat(r, i);
3765
3793
  }
3766
- ), Cn = (e = {}) => {
3794
+ ), Ln = (e = {}) => {
3767
3795
  var t = e, {
3768
- locale: r = $()
3769
- } = t, n = Q(t, [
3796
+ locale: r = R()
3797
+ } = t, n = Z(t, [
3770
3798
  "locale"
3771
3799
  ]);
3772
- return On(Ge({ locale: r }, n));
3773
- }, Mn = (e = {}) => {
3800
+ return Nn(Ge({ locale: r }, n));
3801
+ }, Cn = (e = {}) => {
3774
3802
  var t = e, {
3775
- locale: r = $()
3776
- } = t, n = Q(t, [
3803
+ locale: r = R()
3804
+ } = t, n = Z(t, [
3777
3805
  "locale"
3778
3806
  ]);
3779
- return In(Ge({ locale: r }, n));
3780
- }, Rn = (e = {}) => {
3807
+ return On(Ge({ locale: r }, n));
3808
+ }, Mn = (e = {}) => {
3781
3809
  var t = e, {
3782
- locale: r = $()
3783
- } = t, n = Q(t, [
3810
+ locale: r = R()
3811
+ } = t, n = Z(t, [
3784
3812
  "locale"
3785
3813
  ]);
3786
- return Ln(Ge({ locale: r }, n));
3787
- }, $n = pe(
3814
+ return In(Ge({ locale: r }, n));
3815
+ }, Rn = de(
3788
3816
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3789
- (e, t = $()) => new hn(e, t, X().formats, {
3790
- ignoreTag: X().ignoreTag
3817
+ (e, t = R()) => new un(e, t, V().formats, {
3818
+ ignoreTag: V().ignoreTag
3791
3819
  })
3792
- ), Un = (e, t = {}) => {
3820
+ ), $n = (e, t = {}) => {
3793
3821
  var r, n, i, s;
3794
- let u = t;
3795
- typeof e == "object" && (u = e, e = u.id);
3822
+ let a = t;
3823
+ typeof e == "object" && (a = e, e = a.id);
3796
3824
  const {
3797
3825
  values: o,
3798
- locale: l = $(),
3799
- default: a
3800
- } = u;
3826
+ locale: l = R(),
3827
+ default: u
3828
+ } = a;
3801
3829
  if (l == null)
3802
3830
  throw new Error(
3803
3831
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3804
3832
  );
3805
3833
  let h = Pt(e, l);
3806
3834
  if (!h)
3807
- h = (s = (i = (n = (r = X()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: a })) != null ? i : a) != null ? s : e;
3835
+ h = (s = (i = (n = (r = V()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
3808
3836
  else if (typeof h != "string")
3809
3837
  return console.warn(
3810
3838
  `[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.`
@@ -3813,7 +3841,7 @@ const ee = (e, t) => {
3813
3841
  return h;
3814
3842
  let c = h;
3815
3843
  try {
3816
- c = $n(h, l).format(o);
3844
+ c = Rn(h, l).format(o);
3817
3845
  } catch (f) {
3818
3846
  f instanceof Error && console.warn(
3819
3847
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3821,23 +3849,23 @@ const ee = (e, t) => {
3821
3849
  );
3822
3850
  }
3823
3851
  return c;
3824
- }, Dn = (e, t) => Rn(t).format(e), Gn = (e, t) => Mn(t).format(e), Fn = (e, t) => Cn(t).format(e), jn = (e, t = $()) => Pt(e, t), ci = z([R, Z], () => Un);
3825
- z([R], () => Dn);
3826
- z([R], () => Gn);
3827
- z([R], () => Fn);
3828
- z([R, Z], () => jn);
3829
- function kn({ withLocale: e, translations: t }) {
3830
- R.subscribe((r) => {
3831
- r == null && (Z.set(t), R.set(e));
3852
+ }, Un = (e, t) => Mn(t).format(e), Dn = (e, t) => Cn(t).format(e), Gn = (e, t) => Ln(t).format(e), Fn = (e, t = R()) => Pt(e, t), mi = z([M, W], () => $n);
3853
+ z([M], () => Un);
3854
+ z([M], () => Dn);
3855
+ z([M], () => Gn);
3856
+ z([M, W], () => Fn);
3857
+ function jn({ withLocale: e, translations: t }) {
3858
+ M.subscribe((r) => {
3859
+ r == null && (W.set(t), M.set(e));
3832
3860
  });
3833
3861
  }
3834
- function Vn(e, t) {
3862
+ function kn(e, t) {
3835
3863
  if (e) {
3836
3864
  const r = document.createElement("style");
3837
3865
  r.innerHTML = t, e.appendChild(r);
3838
3866
  }
3839
3867
  }
3840
- function Xn(e, t) {
3868
+ function Vn(e, t) {
3841
3869
  if (!e || !t)
3842
3870
  return;
3843
3871
  const r = new URL(t);
@@ -3848,7 +3876,7 @@ function Xn(e, t) {
3848
3876
  console.error("There was an error while trying to load client styling from URL", n);
3849
3877
  });
3850
3878
  }
3851
- function Wn(e, t, r) {
3879
+ function Xn(e, t, r) {
3852
3880
  if (window.emMessageBus) {
3853
3881
  const n = document.createElement("style");
3854
3882
  window.emMessageBus.subscribe(t, (i) => {
@@ -3868,7 +3896,7 @@ if (typeof window < "u") {
3868
3896
  }
3869
3897
  };
3870
3898
  };
3871
- customElements.define = e(customElements.define), import("./CasinoGamesCategorySection-Db11EW4j.js").then(({ default: t }) => {
3899
+ customElements.define = e(customElements.define), import("./CasinoGamesCategorySection-BAWouCoL.js").then(({ default: t }) => {
3872
3900
  !customElements.get("casino-games-category-section") && customElements.define("casino-games-category-section", t.element);
3873
3901
  });
3874
3902
  }
@@ -3879,7 +3907,7 @@ function rt(e) {
3879
3907
  let t;
3880
3908
  return {
3881
3909
  c() {
3882
- t = re("casino-games-category-section"), g(
3910
+ t = te("casino-games-category-section"), g(
3883
3911
  t,
3884
3912
  "session",
3885
3913
  /*session*/
@@ -3977,7 +4005,7 @@ function rt(e) {
3977
4005
  );
3978
4006
  },
3979
4007
  m(r, n) {
3980
- ce(r, t, n);
4008
+ le(r, t, n);
3981
4009
  },
3982
4010
  p(r, n) {
3983
4011
  n & /*session*/
@@ -4097,21 +4125,21 @@ function rt(e) {
4097
4125
  );
4098
4126
  },
4099
4127
  d(r) {
4100
- r && te(t);
4128
+ r && ee(t);
4101
4129
  }
4102
4130
  };
4103
4131
  }
4104
- function Zn(e) {
4132
+ function Wn(e) {
4105
4133
  let t, r = (
4106
4134
  /*session*/
4107
4135
  e[4] && rt(e)
4108
4136
  );
4109
4137
  return {
4110
4138
  c() {
4111
- t = re("div"), r && r.c(), Ue(t, "class", "CasinoFavoritesSectionContainer");
4139
+ t = te("div"), r && r.c(), Re(t, "class", "CasinoFavoritesSectionContainer");
4112
4140
  },
4113
4141
  m(n, i) {
4114
- ce(n, t, i), r && r.m(t, null), e[20](t);
4142
+ le(n, t, i), r && r.m(t, null), e[20](t);
4115
4143
  },
4116
4144
  p(n, [i]) {
4117
4145
  /*session*/
@@ -4120,34 +4148,34 @@ function Zn(e) {
4120
4148
  i: I,
4121
4149
  o: I,
4122
4150
  d(n) {
4123
- n && te(t), r && r.d(), e[20](null);
4151
+ n && ee(t), r && r.d(), e[20](null);
4124
4152
  }
4125
4153
  };
4126
4154
  }
4127
- function Qn(e, t, r) {
4128
- let { endpoint: n = "" } = t, { datasource: i = "" } = t, { currency: s = "" } = t, { lang: u = "" } = t, { session: o = "" } = t, { userid: l = "" } = t, { clientstyling: a = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: c = "" } = t, { livecasino: f = "false" } = t, { integratedgameframemobile: b = "false" } = t, { integratedgameframedesktop: y = "false" } = t, { showgamename: x = "" } = t, { gamepagemodalurl: S = "false" } = t, { visiblegames: N = "" } = t, { favorites: P = "" } = t, { casinomygames: B = "false" } = t, { fetchviaevent: O = "true" } = t, { mbsource: w } = t, T;
4129
- kn({ withLocale: "en", translations: {} }), kt(() => () => {
4155
+ function Zn(e, t, r) {
4156
+ let { endpoint: n = "" } = t, { datasource: i = "" } = t, { currency: s = "" } = t, { lang: a = "" } = t, { session: o = "" } = t, { userid: l = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: c = "" } = t, { livecasino: f = "false" } = t, { integratedgameframemobile: b = "false" } = t, { integratedgameframedesktop: y = "false" } = t, { showgamename: x = "" } = t, { gamepagemodalurl: S = "false" } = t, { visiblegames: N = "" } = t, { favorites: P = "" } = t, { casinomygames: B = "false" } = t, { fetchviaevent: O = "true" } = t, { mbsource: w } = t, T;
4157
+ jn({ withLocale: "en", translations: {} }), kt(() => () => {
4130
4158
  });
4131
- function v(m) {
4132
- Se[m ? "unshift" : "push"](() => {
4159
+ function _(m) {
4160
+ He[m ? "unshift" : "push"](() => {
4133
4161
  T = m, r(19, T);
4134
4162
  });
4135
4163
  }
4136
4164
  return e.$$set = (m) => {
4137
- "endpoint" in m && r(0, n = m.endpoint), "datasource" in m && r(1, i = m.datasource), "currency" in m && r(2, s = m.currency), "lang" in m && r(3, u = m.lang), "session" in m && r(4, o = m.session), "userid" in m && r(5, l = m.userid), "clientstyling" in m && r(6, a = m.clientstyling), "clientstylingurl" in m && r(7, h = m.clientstylingurl), "translationurl" in m && r(8, c = m.translationurl), "livecasino" in m && r(9, f = m.livecasino), "integratedgameframemobile" in m && r(10, b = m.integratedgameframemobile), "integratedgameframedesktop" in m && r(11, y = m.integratedgameframedesktop), "showgamename" in m && r(12, x = m.showgamename), "gamepagemodalurl" in m && r(13, S = m.gamepagemodalurl), "visiblegames" in m && r(14, N = m.visiblegames), "favorites" in m && r(15, P = m.favorites), "casinomygames" in m && r(16, B = m.casinomygames), "fetchviaevent" in m && r(17, O = m.fetchviaevent), "mbsource" in m && r(18, w = m.mbsource);
4165
+ "endpoint" in m && r(0, n = m.endpoint), "datasource" in m && r(1, i = m.datasource), "currency" in m && r(2, s = m.currency), "lang" in m && r(3, a = m.lang), "session" in m && r(4, o = m.session), "userid" in m && r(5, l = m.userid), "clientstyling" in m && r(6, u = m.clientstyling), "clientstylingurl" in m && r(7, h = m.clientstylingurl), "translationurl" in m && r(8, c = m.translationurl), "livecasino" in m && r(9, f = m.livecasino), "integratedgameframemobile" in m && r(10, b = m.integratedgameframemobile), "integratedgameframedesktop" in m && r(11, y = m.integratedgameframedesktop), "showgamename" in m && r(12, x = m.showgamename), "gamepagemodalurl" in m && r(13, S = m.gamepagemodalurl), "visiblegames" in m && r(14, N = m.visiblegames), "favorites" in m && r(15, P = m.favorites), "casinomygames" in m && r(16, B = m.casinomygames), "fetchviaevent" in m && r(17, O = m.fetchviaevent), "mbsource" in m && r(18, w = m.mbsource);
4138
4166
  }, e.$$.update = () => {
4139
4167
  e.$$.dirty & /*clientstyling, customStylingContainer*/
4140
- 524352 && a && T && Vn(T, a), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4141
- 524416 && h && T && Xn(T, h), e.$$.dirty & /*customStylingContainer, mbsource*/
4142
- 786432 && T && Wn(T, `${w}.Style`);
4168
+ 524352 && u && T && kn(T, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4169
+ 524416 && h && T && Vn(T, h), e.$$.dirty & /*customStylingContainer, mbsource*/
4170
+ 786432 && T && Xn(T, `${w}.Style`);
4143
4171
  }, [
4144
4172
  n,
4145
4173
  i,
4146
4174
  s,
4147
- u,
4175
+ a,
4148
4176
  o,
4149
4177
  l,
4150
- a,
4178
+ u,
4151
4179
  h,
4152
4180
  c,
4153
4181
  f,
@@ -4161,16 +4189,16 @@ function Qn(e, t, r) {
4161
4189
  O,
4162
4190
  w,
4163
4191
  T,
4164
- v
4192
+ _
4165
4193
  ];
4166
4194
  }
4167
- class qn extends Yt {
4195
+ class Qn extends Yt {
4168
4196
  constructor(t) {
4169
4197
  super(), qt(
4170
4198
  this,
4171
4199
  t,
4172
- Qn,
4173
4200
  Zn,
4201
+ Wn,
4174
4202
  it,
4175
4203
  {
4176
4204
  endpoint: 0,
@@ -4311,47 +4339,51 @@ class qn extends Yt {
4311
4339
  this.$$set({ mbsource: t }), H();
4312
4340
  }
4313
4341
  }
4314
- Jt(qn, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, showgamename: {}, gamepagemodalurl: {}, visiblegames: {}, favorites: {}, casinomygames: {}, fetchviaevent: {}, mbsource: {} }, [], [], !0);
4342
+ Jt(Qn, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, showgamename: {}, gamepagemodalurl: {}, visiblegames: {}, favorites: {}, casinomygames: {}, fetchviaevent: {}, mbsource: {} }, [], [], !0);
4315
4343
  export {
4316
- R as $,
4317
- Xn as A,
4318
- Wn as B,
4319
- Jt as C,
4320
- ci as D,
4321
- g as E,
4322
- si as F,
4323
- ti as G,
4324
- ai as H,
4325
- ui as I,
4326
- oi as J,
4327
- fi as K,
4328
- li as L,
4329
- qn as M,
4344
+ M as $,
4345
+ ti as A,
4346
+ ri as B,
4347
+ Yn as C,
4348
+ X as D,
4349
+ ni as E,
4350
+ mi as F,
4351
+ qn as G,
4352
+ g as H,
4353
+ ii as I,
4354
+ ei as J,
4355
+ si as K,
4356
+ oi as L,
4357
+ ai as M,
4358
+ li as N,
4359
+ hi as O,
4360
+ Qn as P,
4330
4361
  Yt as S,
4331
- Z as a,
4332
- dn as b,
4333
- $t as c,
4334
- te as d,
4335
- ce as e,
4362
+ fi as _,
4363
+ pe as a,
4364
+ ci as b,
4365
+ ce as c,
4366
+ W as d,
4367
+ gn as e,
4336
4368
  H as f,
4337
- re as g,
4338
- Yn as h,
4369
+ Jt as g,
4370
+ $t as h,
4339
4371
  qt as i,
4340
- Se as j,
4341
- Ue as k,
4342
- hi as l,
4343
- Kn as m,
4372
+ te as j,
4373
+ le as k,
4374
+ ee as l,
4375
+ Jn as m,
4344
4376
  I as n,
4345
4377
  kt as o,
4346
- ni as p,
4347
- Rt as q,
4348
- W as r,
4378
+ He as p,
4379
+ kn as q,
4380
+ Vn as r,
4349
4381
  it as s,
4350
- ri as t,
4351
- Gt as u,
4352
- ei as v,
4353
- at as w,
4354
- ii as x,
4355
- Jn as y,
4356
- Vn as z
4382
+ Xn as t,
4383
+ ui as u,
4384
+ Gt as v,
4385
+ Kn as w,
4386
+ at as x,
4387
+ Re as y,
4388
+ Rt as z
4357
4389
  };