@everymatrix/casino-navigation-search 1.86.3 → 1.86.5

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 (39) hide show
  1. package/components/{CasinoCategories-eU_vuYrk.js → CasinoCategories-BIfo87kb.js} +653 -685
  2. package/components/CasinoCategories-B_XS4BnL.cjs +3 -0
  3. package/components/{CasinoCategories-DrneFv8D.js → CasinoCategories-EyDPHbRr.js} +578 -610
  4. package/components/{CasinoCategoriesProviders-BEOBNtWI.js → CasinoCategoriesProviders-C6jaH_bi.js} +28 -28
  5. package/components/{CasinoCategoriesProviders-ChK7lSMw.cjs → CasinoCategoriesProviders-DwzgJQIC.cjs} +1 -1
  6. package/components/{CasinoCategoriesProviders-KQAYMxbe.js → CasinoCategoriesProviders-wiBurw3I.js} +28 -28
  7. package/components/{CasinoGameThumbnail-BpFYjbGz.js → CasinoGameThumbnail-COVYIHKr.js} +1435 -1386
  8. package/components/CasinoGameThumbnail-DJvF4m00.cjs +62 -0
  9. package/components/{CasinoGameThumbnail-d1EHJYWV.js → CasinoGameThumbnail-UFeFBP15.js} +1431 -1382
  10. package/components/{CasinoNavigationSearch-sk-soLfX.js → CasinoNavigationSearch-7vC0vX_R.js} +16 -16
  11. package/components/{CasinoNavigationSearch-CBfMLDuj.js → CasinoNavigationSearch-DZnDLNrA.js} +14 -14
  12. package/components/{CasinoNavigationSearch-Di3x_0J5.cjs → CasinoNavigationSearch-DdLipJ-m.cjs} +1 -1
  13. package/components/{CasinoProviders-BNFTsjmP.js → CasinoProviders-CNXaeFol.js} +68 -68
  14. package/components/{CasinoProviders-rtKPIVYL.cjs → CasinoProviders-CXfeouVv.cjs} +1 -1
  15. package/components/{CasinoProviders-CuqUP0xe.js → CasinoProviders-unwzg6FV.js} +68 -68
  16. package/components/{CasinoSearch-CdzsYxkr.js → CasinoSearch-4z15LzHk.js} +74 -74
  17. package/components/{CasinoSearch-Bo_XYfW4.js → CasinoSearch-Axyir5wR.js} +72 -72
  18. package/components/{CasinoSearch-Bevf78kE.cjs → CasinoSearch-DVaxD--r.cjs} +1 -1
  19. package/es2015/casino-navigation-search.cjs +1 -1
  20. package/es2015/casino-navigation-search.js +1 -1
  21. package/esnext/casino-navigation-search.js +1 -1
  22. package/package.json +1 -1
  23. package/stencil/index-97d17652-B6BYeRne.js +542 -0
  24. package/stencil/index-97d17652-BOr4KAqq.js +558 -0
  25. package/stencil/index-97d17652-zTl06Vn9.cjs +1 -0
  26. package/stencil/{ui-image-BDXyFHck.cjs → ui-image-BX-FBhad.cjs} +1 -1
  27. package/stencil/{ui-image-Cc8wLmDe.js → ui-image-CP8Lp7fB.js} +1 -1
  28. package/stencil/{ui-image-wH6lu7wS.js → ui-image-Ch-GHki1.js} +1 -1
  29. package/stencil/{ui-image-b7b48fe5-CBB2FKRZ.js → ui-image-b7b48fe5-BKRtoUuG.js} +1 -1
  30. package/stencil/{ui-image-b7b48fe5-rCWcyktd.js → ui-image-b7b48fe5-HA45CrsG.js} +1 -1
  31. package/stencil/{ui-image-b7b48fe5-DjCO-ZF4.cjs → ui-image-b7b48fe5-MC0x5ZQd.cjs} +1 -1
  32. package/stencil/{ui-image_2-BESQEo1l.js → ui-image_2-CmVho0dS.js} +2 -2
  33. package/stencil/{ui-image_2-ZFidgTXM.cjs → ui-image_2-CyqE6j_W.cjs} +1 -1
  34. package/stencil/{ui-image_2-BfZmduAK.js → ui-image_2-Daq38JGa.js} +2 -2
  35. package/components/CasinoCategories-CalP-o1I.cjs +0 -16
  36. package/components/CasinoGameThumbnail-DwJ4MiwE.cjs +0 -49
  37. package/stencil/index-97d17652-DvplcHtm.js +0 -558
  38. package/stencil/index-97d17652-ILzgTtTR.cjs +0 -1
  39. package/stencil/index-97d17652-p-iQtjus.js +0 -542
@@ -1,4 +1,4 @@
1
- import "../stencil/ui-image-wH6lu7wS.js";
1
+ import "../stencil/ui-image-Ch-GHki1.js";
2
2
  function N() {
3
3
  }
4
4
  function bt(e) {
@@ -7,20 +7,20 @@ function bt(e) {
7
7
  function Qe() {
8
8
  return /* @__PURE__ */ Object.create(null);
9
9
  }
10
- function ae(e) {
10
+ function ue(e) {
11
11
  e.forEach(bt);
12
12
  }
13
- function ke(e) {
13
+ function Xe(e) {
14
14
  return typeof e == "function";
15
15
  }
16
16
  function _t(e, t) {
17
17
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
18
18
  }
19
- let le;
20
- function de(e, t) {
21
- return e === t ? !0 : (le || (le = document.createElement("a")), le.href = t, e === le.href);
19
+ let fe;
20
+ function be(e, t) {
21
+ return e === t ? !0 : (fe || (fe = document.createElement("a")), fe.href = t, e === fe.href);
22
22
  }
23
- function qt(e) {
23
+ function Jt(e) {
24
24
  return Object.keys(e).length === 0;
25
25
  }
26
26
  function yt(e, ...t) {
@@ -41,7 +41,7 @@ function v(e, t) {
41
41
  function Kt(e, t, r) {
42
42
  const n = er(e);
43
43
  if (!n.getElementById(t)) {
44
- const i = S("style");
44
+ const i = A("style");
45
45
  i.id = t, i.textContent = r, tr(n, i);
46
46
  }
47
47
  }
@@ -62,30 +62,30 @@ function tr(e, t) {
62
62
  t
63
63
  ), t.sheet;
64
64
  }
65
- function k(e, t, r) {
65
+ function V(e, t, r) {
66
66
  e.insertBefore(t, r || null);
67
67
  }
68
- function F(e) {
68
+ function j(e) {
69
69
  e.parentNode && e.parentNode.removeChild(e);
70
70
  }
71
- function Je(e, t) {
71
+ function qe(e, t) {
72
72
  for (let r = 0; r < e.length; r += 1)
73
73
  e[r] && e[r].d(t);
74
74
  }
75
- function S(e) {
75
+ function A(e) {
76
76
  return document.createElement(e);
77
77
  }
78
78
  function rr(e) {
79
79
  return document.createElementNS("http://www.w3.org/2000/svg", e);
80
80
  }
81
- function U(e) {
81
+ function G(e) {
82
82
  return document.createTextNode(e);
83
83
  }
84
- function R() {
85
- return U(" ");
84
+ function U() {
85
+ return G(" ");
86
86
  }
87
- function di() {
88
- return U("");
87
+ function bi() {
88
+ return G("");
89
89
  }
90
90
  function Et(e, t, r, n) {
91
91
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
@@ -100,17 +100,17 @@ function $(e, t, r) {
100
100
  function nr(e) {
101
101
  return Array.from(e.childNodes);
102
102
  }
103
- function D(e, t) {
103
+ function F(e, t) {
104
104
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
105
105
  t);
106
106
  }
107
- function bi(e, t) {
107
+ function _i(e, t) {
108
108
  e.value = t ?? "";
109
109
  }
110
- function _i(e, t, r) {
110
+ function yi(e, t, r) {
111
111
  e.classList.toggle(t, !!r);
112
112
  }
113
- class yi {
113
+ class Ei {
114
114
  /**
115
115
  * @private
116
116
  * @default false
@@ -144,7 +144,7 @@ class yi {
144
144
  this.e || (this.is_svg ? this.e = rr(
145
145
  /** @type {keyof SVGElementTagNameMap} */
146
146
  r.nodeName
147
- ) : this.e = S(
147
+ ) : this.e = A(
148
148
  /** @type {keyof HTMLElementTagNameMap} */
149
149
  r.nodeType === 11 ? "TEMPLATE" : r.nodeName
150
150
  ), this.t = r.tagName !== "TEMPLATE" ? r : (
@@ -165,7 +165,7 @@ class yi {
165
165
  * @returns {void} */
166
166
  i(t) {
167
167
  for (let r = 0; r < this.n.length; r += 1)
168
- k(this.t, this.n[r], t);
168
+ V(this.t, this.n[r], t);
169
169
  }
170
170
  /**
171
171
  * @param {string} html
@@ -177,7 +177,7 @@ class yi {
177
177
  /**
178
178
  * @returns {void} */
179
179
  d() {
180
- this.n.forEach(F);
180
+ this.n.forEach(j);
181
181
  }
182
182
  }
183
183
  function ir(e) {
@@ -189,94 +189,94 @@ function ir(e) {
189
189
  }
190
190
  ), t;
191
191
  }
192
- let ie;
193
- function ne(e) {
194
- ie = e;
192
+ let se;
193
+ function ie(e) {
194
+ se = e;
195
195
  }
196
196
  function sr() {
197
- if (!ie)
197
+ if (!se)
198
198
  throw new Error("Function called outside component initialization");
199
- return ie;
199
+ return se;
200
200
  }
201
201
  function or(e) {
202
202
  sr().$$.on_mount.push(e);
203
203
  }
204
- const W = [], Pe = [];
205
- let Z = [];
206
- const qe = [], xt = /* @__PURE__ */ Promise.resolve();
207
- let Ne = !1;
208
- function vt() {
209
- Ne || (Ne = !0, xt.then(I));
204
+ const Z = [], Le = [];
205
+ let Q = [];
206
+ const Je = [], vt = /* @__PURE__ */ Promise.resolve();
207
+ let Ie = !1;
208
+ function xt() {
209
+ Ie || (Ie = !0, vt.then(I));
210
210
  }
211
- function Ei() {
212
- return vt(), xt;
211
+ function vi() {
212
+ return xt(), vt;
213
213
  }
214
- function Le(e) {
215
- Z.push(e);
214
+ function Me(e) {
215
+ Q.push(e);
216
216
  }
217
- const He = /* @__PURE__ */ new Set();
218
- let X = 0;
217
+ const Se = /* @__PURE__ */ new Set();
218
+ let z = 0;
219
219
  function I() {
220
- if (X !== 0)
220
+ if (z !== 0)
221
221
  return;
222
- const e = ie;
222
+ const e = se;
223
223
  do {
224
224
  try {
225
- for (; X < W.length; ) {
226
- const t = W[X];
227
- X++, ne(t), ar(t.$$);
225
+ for (; z < Z.length; ) {
226
+ const t = Z[z];
227
+ z++, ie(t), ar(t.$$);
228
228
  }
229
229
  } catch (t) {
230
- throw W.length = 0, X = 0, t;
230
+ throw Z.length = 0, z = 0, t;
231
231
  }
232
- for (ne(null), W.length = 0, X = 0; Pe.length; )
233
- Pe.pop()();
234
- for (let t = 0; t < Z.length; t += 1) {
235
- const r = Z[t];
236
- He.has(r) || (He.add(r), r());
232
+ for (ie(null), Z.length = 0, z = 0; Le.length; )
233
+ Le.pop()();
234
+ for (let t = 0; t < Q.length; t += 1) {
235
+ const r = Q[t];
236
+ Se.has(r) || (Se.add(r), r());
237
237
  }
238
- Z.length = 0;
239
- } while (W.length);
240
- for (; qe.length; )
241
- qe.pop()();
242
- Ne = !1, He.clear(), ne(e);
238
+ Q.length = 0;
239
+ } while (Z.length);
240
+ for (; Je.length; )
241
+ Je.pop()();
242
+ Ie = !1, Se.clear(), ie(e);
243
243
  }
244
244
  function ar(e) {
245
245
  if (e.fragment !== null) {
246
- e.update(), ae(e.before_update);
246
+ e.update(), ue(e.before_update);
247
247
  const t = e.dirty;
248
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Le);
248
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Me);
249
249
  }
250
250
  }
251
251
  function ur(e) {
252
252
  const t = [], r = [];
253
- Z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Z = t;
253
+ Q.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Q = t;
254
254
  }
255
255
  const hr = /* @__PURE__ */ new Set();
256
256
  function lr(e, t) {
257
257
  e && e.i && (hr.delete(e), e.i(t));
258
258
  }
259
- function fe(e) {
259
+ function ce(e) {
260
260
  return e?.length !== void 0 ? e : Array.from(e);
261
261
  }
262
262
  function fr(e, t, r) {
263
263
  const { fragment: n, after_update: i } = e.$$;
264
- n && n.m(t, r), Le(() => {
265
- const s = e.$$.on_mount.map(bt).filter(ke);
266
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ae(s), e.$$.on_mount = [];
267
- }), i.forEach(Le);
264
+ n && n.m(t, r), Me(() => {
265
+ const s = e.$$.on_mount.map(bt).filter(Xe);
266
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ue(s), e.$$.on_mount = [];
267
+ }), i.forEach(Me);
268
268
  }
269
269
  function cr(e, t) {
270
270
  const r = e.$$;
271
- r.fragment !== null && (ur(r.after_update), ae(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
271
+ r.fragment !== null && (ur(r.after_update), ue(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
272
272
  }
273
273
  function gr(e, t) {
274
- e.$$.dirty[0] === -1 && (W.push(e), vt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
274
+ e.$$.dirty[0] === -1 && (Z.push(e), xt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
275
275
  }
276
- function mr(e, t, r, n, i, s, o = null, a = [-1]) {
277
- const l = ie;
278
- ne(e);
279
- const u = e.$$ = {
276
+ function mr(e, t, r, n, i, s, o = null, u = [-1]) {
277
+ const l = se;
278
+ ie(e);
279
+ const a = e.$$ = {
280
280
  fragment: null,
281
281
  ctx: [],
282
282
  // state
@@ -293,24 +293,24 @@ function mr(e, t, r, n, i, s, o = null, a = [-1]) {
293
293
  context: new Map(t.context || (l ? l.$$.context : [])),
294
294
  // everything else
295
295
  callbacks: Qe(),
296
- dirty: a,
296
+ dirty: u,
297
297
  skip_bound: !1,
298
298
  root: t.target || l.$$.root
299
299
  };
300
- o && o(u.root);
300
+ o && o(a.root);
301
301
  let h = !1;
302
- if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
302
+ if (a.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
303
303
  const d = p.length ? p[0] : f;
304
- return u.ctx && i(u.ctx[c], u.ctx[c] = d) && (!u.skip_bound && u.bound[c] && u.bound[c](d), h && gr(e, c)), f;
305
- }) : [], u.update(), h = !0, ae(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
304
+ return a.ctx && i(a.ctx[c], a.ctx[c] = d) && (!a.skip_bound && a.bound[c] && a.bound[c](d), h && gr(e, c)), f;
305
+ }) : [], a.update(), h = !0, ue(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
306
306
  if (t.hydrate) {
307
307
  const c = nr(t.target);
308
- u.fragment && u.fragment.l(c), c.forEach(F);
308
+ a.fragment && a.fragment.l(c), c.forEach(j);
309
309
  } else
310
- u.fragment && u.fragment.c();
310
+ a.fragment && a.fragment.c();
311
311
  t.intro && lr(e.$$.fragment), fr(e, t.target, t.anchor), I();
312
312
  }
313
- ne(l);
313
+ ie(l);
314
314
  }
315
315
  let Tt;
316
316
  typeof HTMLElement == "function" && (Tt = class extends HTMLElement {
@@ -355,17 +355,17 @@ typeof HTMLElement == "function" && (Tt = class extends HTMLElement {
355
355
  let s;
356
356
  return {
357
357
  c: function() {
358
- s = S("slot"), i !== "default" && L(s, "name", i);
358
+ s = A("slot"), i !== "default" && L(s, "name", i);
359
359
  },
360
360
  /**
361
361
  * @param {HTMLElement} target
362
362
  * @param {HTMLElement} [anchor]
363
363
  */
364
- m: function(l, u) {
365
- k(l, s, u);
364
+ m: function(l, a) {
365
+ V(l, s, a);
366
366
  },
367
367
  d: function(l) {
368
- l && F(s);
368
+ l && j(s);
369
369
  }
370
370
  };
371
371
  };
@@ -377,7 +377,7 @@ typeof HTMLElement == "function" && (Tt = class extends HTMLElement {
377
377
  i in r && (t[i] = [e(i)]);
378
378
  for (const i of this.attributes) {
379
379
  const s = this.$$g_p(i.name);
380
- s in this.$$d || (this.$$d[s] = ge(s, i.value, this.$$p_d, "toProp"));
380
+ s in this.$$d || (this.$$d[s] = me(s, i.value, this.$$p_d, "toProp"));
381
381
  }
382
382
  for (const i in this.$$p_d)
383
383
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -395,7 +395,7 @@ typeof HTMLElement == "function" && (Tt = class extends HTMLElement {
395
395
  this.$$r = !0;
396
396
  for (const i in this.$$p_d)
397
397
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
398
- const s = ge(
398
+ const s = me(
399
399
  i,
400
400
  this.$$d[i],
401
401
  this.$$p_d,
@@ -417,7 +417,7 @@ typeof HTMLElement == "function" && (Tt = class extends HTMLElement {
417
417
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
418
418
  // and setting attributes through setAttribute etc, this is helpful
419
419
  attributeChangedCallback(e, t, r) {
420
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = ge(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
420
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = me(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
421
421
  }
422
422
  disconnectedCallback() {
423
423
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -430,7 +430,7 @@ typeof HTMLElement == "function" && (Tt = class extends HTMLElement {
430
430
  ) || e;
431
431
  }
432
432
  });
433
- function ge(e, t, r, n) {
433
+ function me(e, t, r, n) {
434
434
  const i = r[e]?.type;
435
435
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
436
436
  return t;
@@ -466,23 +466,23 @@ function pr(e, t, r, n, i, s) {
466
466
  }
467
467
  static get observedAttributes() {
468
468
  return Object.keys(t).map(
469
- (a) => (t[a].attribute || a).toLowerCase()
469
+ (u) => (t[u].attribute || u).toLowerCase()
470
470
  );
471
471
  }
472
472
  };
473
- return Object.keys(t).forEach((a) => {
474
- Object.defineProperty(o.prototype, a, {
473
+ return Object.keys(t).forEach((u) => {
474
+ Object.defineProperty(o.prototype, u, {
475
475
  get() {
476
- return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
476
+ return this.$$c && u in this.$$c ? this.$$c[u] : this.$$d[u];
477
477
  },
478
478
  set(l) {
479
- l = ge(a, l, t), this.$$d[a] = l, this.$$c?.$set({ [a]: l });
479
+ l = me(u, l, t), this.$$d[u] = l, this.$$c?.$set({ [u]: l });
480
480
  }
481
481
  });
482
- }), n.forEach((a) => {
483
- Object.defineProperty(o.prototype, a, {
482
+ }), n.forEach((u) => {
483
+ Object.defineProperty(o.prototype, u, {
484
484
  get() {
485
- return this.$$c?.[a];
485
+ return this.$$c?.[u];
486
486
  }
487
487
  });
488
488
  }), e.element = /** @type {any} */
@@ -516,7 +516,7 @@ class dr {
516
516
  * @returns {() => void}
517
517
  */
518
518
  $on(t, r) {
519
- if (!ke(r))
519
+ if (!Xe(r))
520
520
  return N;
521
521
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
522
522
  return n.push(r), () => {
@@ -529,7 +529,7 @@ class dr {
529
529
  * @returns {void}
530
530
  */
531
531
  $set(t) {
532
- this.$$set && !qt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
532
+ this.$$set && !Jt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
533
533
  }
534
534
  }
535
535
  const br = "4";
@@ -559,58 +559,58 @@ function Er(e, t, r) {
559
559
  });
560
560
  }
561
561
  }
562
- const z = [];
563
- function xr(e, t) {
562
+ const W = [];
563
+ function vr(e, t) {
564
564
  return {
565
- subscribe: ye(e, t).subscribe
565
+ subscribe: ve(e, t).subscribe
566
566
  };
567
567
  }
568
- function ye(e, t = N) {
568
+ function ve(e, t = N) {
569
569
  let r;
570
570
  const n = /* @__PURE__ */ new Set();
571
- function i(a) {
572
- if (_t(e, a) && (e = a, r)) {
573
- const l = !z.length;
574
- for (const u of n)
575
- u[1](), z.push(u, e);
571
+ function i(u) {
572
+ if (_t(e, u) && (e = u, r)) {
573
+ const l = !W.length;
574
+ for (const a of n)
575
+ a[1](), W.push(a, e);
576
576
  if (l) {
577
- for (let u = 0; u < z.length; u += 2)
578
- z[u][0](z[u + 1]);
579
- z.length = 0;
577
+ for (let a = 0; a < W.length; a += 2)
578
+ W[a][0](W[a + 1]);
579
+ W.length = 0;
580
580
  }
581
581
  }
582
582
  }
583
- function s(a) {
584
- i(a(e));
583
+ function s(u) {
584
+ i(u(e));
585
585
  }
586
- function o(a, l = N) {
587
- const u = [a, l];
588
- return n.add(u), n.size === 1 && (r = t(i, s) || N), a(e), () => {
589
- n.delete(u), n.size === 0 && r && (r(), r = null);
586
+ function o(u, l = N) {
587
+ const a = [u, l];
588
+ return n.add(a), n.size === 1 && (r = t(i, s) || N), u(e), () => {
589
+ n.delete(a), n.size === 0 && r && (r(), r = null);
590
590
  };
591
591
  }
592
592
  return { set: i, update: s, subscribe: o };
593
593
  }
594
- function K(e, t, r) {
594
+ function ee(e, t, r) {
595
595
  const n = !Array.isArray(e), i = n ? [e] : e;
596
596
  if (!i.every(Boolean))
597
597
  throw new Error("derived() expects stores as input, got a falsy value");
598
598
  const s = t.length < 2;
599
- return xr(r, (o, a) => {
599
+ return vr(r, (o, u) => {
600
600
  let l = !1;
601
- const u = [];
601
+ const a = [];
602
602
  let h = 0, c = N;
603
603
  const f = () => {
604
604
  if (h)
605
605
  return;
606
606
  c();
607
- const d = t(n ? u[0] : u, o, a);
608
- s ? o(d) : c = ke(d) ? d : N;
607
+ const d = t(n ? a[0] : a, o, u);
608
+ s ? o(d) : c = Xe(d) ? d : N;
609
609
  }, p = i.map(
610
610
  (d, g) => yt(
611
611
  d,
612
- (x) => {
613
- u[g] = x, h &= ~(1 << g), l && f();
612
+ (E) => {
613
+ a[g] = E, h &= ~(1 << g), l && f();
614
614
  },
615
615
  () => {
616
616
  h |= 1 << g;
@@ -618,43 +618,43 @@ function K(e, t, r) {
618
618
  )
619
619
  );
620
620
  return l = !0, f(), function() {
621
- ae(p), c(), l = !1;
621
+ ue(p), c(), l = !1;
622
622
  };
623
623
  });
624
624
  }
625
- function vr(e) {
625
+ function xr(e) {
626
626
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
627
627
  }
628
628
  var Tr = function(t) {
629
- return Hr(t) && !Cr(t);
629
+ return Cr(t) && !Hr(t);
630
630
  };
631
- function Hr(e) {
631
+ function Cr(e) {
632
632
  return !!e && typeof e == "object";
633
633
  }
634
- function Cr(e) {
634
+ function Hr(e) {
635
635
  var t = Object.prototype.toString.call(e);
636
636
  return t === "[object RegExp]" || t === "[object Date]" || Br(e);
637
637
  }
638
- var Ar = typeof Symbol == "function" && Symbol.for, Sr = Ar ? Symbol.for("react.element") : 60103;
638
+ var Sr = typeof Symbol == "function" && Symbol.for, Ar = Sr ? Symbol.for("react.element") : 60103;
639
639
  function Br(e) {
640
- return e.$$typeof === Sr;
640
+ return e.$$typeof === Ar;
641
641
  }
642
642
  function wr(e) {
643
643
  return Array.isArray(e) ? [] : {};
644
644
  }
645
- function se(e, t) {
646
- return t.clone !== !1 && t.isMergeableObject(e) ? Q(wr(e), e, t) : e;
645
+ function oe(e, t) {
646
+ return t.clone !== !1 && t.isMergeableObject(e) ? q(wr(e), e, t) : e;
647
647
  }
648
648
  function Or(e, t, r) {
649
649
  return e.concat(t).map(function(n) {
650
- return se(n, r);
650
+ return oe(n, r);
651
651
  });
652
652
  }
653
653
  function Pr(e, t) {
654
654
  if (!t.customMerge)
655
- return Q;
655
+ return q;
656
656
  var r = t.customMerge(e);
657
- return typeof r == "function" ? r : Q;
657
+ return typeof r == "function" ? r : q;
658
658
  }
659
659
  function Nr(e) {
660
660
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
@@ -664,7 +664,7 @@ function Nr(e) {
664
664
  function Ye(e) {
665
665
  return Object.keys(e).concat(Nr(e));
666
666
  }
667
- function Ht(e, t) {
667
+ function Ct(e, t) {
668
668
  try {
669
669
  return t in e;
670
670
  } catch {
@@ -672,70 +672,56 @@ function Ht(e, t) {
672
672
  }
673
673
  }
674
674
  function Lr(e, t) {
675
- return Ht(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
675
+ return Ct(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
676
676
  }
677
677
  function Ir(e, t, r) {
678
678
  var n = {};
679
679
  return r.isMergeableObject(e) && Ye(e).forEach(function(i) {
680
- n[i] = se(e[i], r);
680
+ n[i] = oe(e[i], r);
681
681
  }), Ye(t).forEach(function(i) {
682
- Lr(e, i) || (Ht(e, i) && r.isMergeableObject(t[i]) ? n[i] = Pr(i, r)(e[i], t[i], r) : n[i] = se(t[i], r));
682
+ Lr(e, i) || (Ct(e, i) && r.isMergeableObject(t[i]) ? n[i] = Pr(i, r)(e[i], t[i], r) : n[i] = oe(t[i], r));
683
683
  }), n;
684
684
  }
685
- function Q(e, t, r) {
686
- r = r || {}, r.arrayMerge = r.arrayMerge || Or, r.isMergeableObject = r.isMergeableObject || Tr, r.cloneUnlessOtherwiseSpecified = se;
685
+ function q(e, t, r) {
686
+ r = r || {}, r.arrayMerge = r.arrayMerge || Or, r.isMergeableObject = r.isMergeableObject || Tr, r.cloneUnlessOtherwiseSpecified = oe;
687
687
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
688
- return s ? n ? r.arrayMerge(e, t, r) : Ir(e, t, r) : se(t, r);
688
+ return s ? n ? r.arrayMerge(e, t, r) : Ir(e, t, r) : oe(t, r);
689
689
  }
690
- Q.all = function(t, r) {
690
+ q.all = function(t, r) {
691
691
  if (!Array.isArray(t))
692
692
  throw new Error("first argument should be an array");
693
693
  return t.reduce(function(n, i) {
694
- return Q(n, i, r);
694
+ return q(n, i, r);
695
695
  }, {});
696
696
  };
697
- var Mr = Q, $r = Mr;
698
- const Rr = /* @__PURE__ */ vr($r);
699
- /*! *****************************************************************************
700
- Copyright (c) Microsoft Corporation.
701
-
702
- Permission to use, copy, modify, and/or distribute this software for any
703
- purpose with or without fee is hereby granted.
704
-
705
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
706
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
707
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
708
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
709
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
710
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
711
- PERFORMANCE OF THIS SOFTWARE.
712
- ***************************************************************************** */
713
- var Ie = function(e, t) {
714
- return Ie = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
697
+ var Mr = q, $r = Mr;
698
+ const Rr = /* @__PURE__ */ xr($r);
699
+ var $e = function(e, t) {
700
+ return $e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
715
701
  r.__proto__ = n;
716
702
  } || function(r, n) {
717
703
  for (var i in n)
718
704
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
719
- }, Ie(e, t);
705
+ }, $e(e, t);
720
706
  };
721
- function Ee(e, t) {
707
+ function xe(e, t) {
722
708
  if (typeof t != "function" && t !== null)
723
709
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
724
- Ie(e, t);
710
+ $e(e, t);
725
711
  function r() {
726
712
  this.constructor = e;
727
713
  }
728
714
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
729
715
  }
730
- var E = function() {
731
- return E = Object.assign || function(t) {
716
+ var R = function() {
717
+ return R = Object.assign || function(t) {
732
718
  for (var r, n = 1, i = arguments.length; n < i; n++) {
733
719
  r = arguments[n];
734
720
  for (var s in r)
735
721
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
736
722
  }
737
723
  return t;
738
- }, E.apply(this, arguments);
724
+ }, R.apply(this, arguments);
739
725
  };
740
726
  function Ur(e, t) {
741
727
  var r = {};
@@ -746,46 +732,14 @@ function Ur(e, t) {
746
732
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
747
733
  return r;
748
734
  }
749
- function xi(e) {
750
- var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
751
- if (r)
752
- return r.call(e);
753
- if (e && typeof e.length == "number")
754
- return {
755
- next: function() {
756
- return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
757
- }
758
- };
759
- throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
760
- }
761
- function vi(e, t) {
762
- var r = typeof Symbol == "function" && e[Symbol.iterator];
763
- if (!r)
764
- return e;
765
- var n = r.call(e), i, s = [], o;
766
- try {
767
- for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
768
- s.push(i.value);
769
- } catch (a) {
770
- o = { error: a };
771
- } finally {
772
- try {
773
- i && !i.done && (r = n.return) && r.call(n);
774
- } finally {
775
- if (o)
776
- throw o.error;
777
- }
778
- }
779
- return s;
780
- }
781
- function Ce(e, t, r) {
735
+ function Ae(e, t, r) {
782
736
  if (r || arguments.length === 2)
783
737
  for (var n = 0, i = t.length, s; n < i; n++)
784
738
  (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
785
- return e.concat(s || t);
739
+ return e.concat(s || Array.prototype.slice.call(t));
786
740
  }
787
- function Ae(e, t) {
788
- var r = t && t.cache ? t.cache : Vr, n = t && t.serializer ? t.serializer : kr, i = t && t.strategy ? t.strategy : Dr;
741
+ function Be(e, t) {
742
+ var r = t && t.cache ? t.cache : Xr, n = t && t.serializer ? t.serializer : kr, i = t && t.strategy ? t.strategy : Fr;
789
743
  return i(e, {
790
744
  cache: r,
791
745
  serializer: n
@@ -794,95 +748,103 @@ function Ae(e, t) {
794
748
  function Gr(e) {
795
749
  return e == null || typeof e == "number" || typeof e == "boolean";
796
750
  }
797
- function Ct(e, t, r, n) {
751
+ function Dr(e, t, r, n) {
798
752
  var i = Gr(n) ? n : r(n), s = t.get(i);
799
753
  return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
800
754
  }
801
- function At(e, t, r) {
755
+ function Ht(e, t, r) {
802
756
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
803
757
  return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
804
758
  }
805
- function Ve(e, t, r, n, i) {
759
+ function St(e, t, r, n, i) {
806
760
  return r.bind(t, e, n, i);
807
761
  }
808
- function Dr(e, t) {
809
- var r = e.length === 1 ? Ct : At;
810
- return Ve(e, this, r, t.cache.create(), t.serializer);
811
- }
812
762
  function Fr(e, t) {
813
- return Ve(e, this, At, t.cache.create(), t.serializer);
763
+ var r = e.length === 1 ? Dr : Ht;
764
+ return St(e, this, r, t.cache.create(), t.serializer);
814
765
  }
815
766
  function jr(e, t) {
816
- return Ve(e, this, Ct, t.cache.create(), t.serializer);
767
+ return St(e, this, Ht, t.cache.create(), t.serializer);
817
768
  }
818
769
  var kr = function() {
819
770
  return JSON.stringify(arguments);
820
- };
821
- function Xe() {
822
- this.cache = /* @__PURE__ */ Object.create(null);
823
- }
824
- Xe.prototype.get = function(e) {
825
- return this.cache[e];
826
- };
827
- Xe.prototype.set = function(e, t) {
828
- this.cache[e] = t;
829
- };
830
- var Vr = {
771
+ }, Vr = (
772
+ /** @class */
773
+ function() {
774
+ function e() {
775
+ this.cache = /* @__PURE__ */ Object.create(null);
776
+ }
777
+ return e.prototype.get = function(t) {
778
+ return this.cache[t];
779
+ }, e.prototype.set = function(t, r) {
780
+ this.cache[t] = r;
781
+ }, e;
782
+ }()
783
+ ), Xr = {
831
784
  create: function() {
832
- return new Xe();
785
+ return new Vr();
833
786
  }
834
- }, Se = {
835
- variadic: Fr,
836
- monadic: jr
837
- }, _;
787
+ }, we = {
788
+ variadic: jr
789
+ }, _e = function() {
790
+ return _e = Object.assign || function(t) {
791
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
792
+ r = arguments[n];
793
+ for (var s in r)
794
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
795
+ }
796
+ return t;
797
+ }, _e.apply(this, arguments);
798
+ };
799
+ var _;
838
800
  (function(e) {
839
801
  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";
840
802
  })(_ || (_ = {}));
841
- var T;
803
+ var x;
842
804
  (function(e) {
843
805
  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";
844
- })(T || (T = {}));
806
+ })(x || (x = {}));
845
807
  var J;
846
808
  (function(e) {
847
809
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
848
810
  })(J || (J = {}));
849
811
  function Ke(e) {
850
- return e.type === T.literal;
812
+ return e.type === x.literal;
851
813
  }
852
- function Xr(e) {
853
- return e.type === T.argument;
814
+ function zr(e) {
815
+ return e.type === x.argument;
854
816
  }
855
- function St(e) {
856
- return e.type === T.number;
817
+ function At(e) {
818
+ return e.type === x.number;
857
819
  }
858
820
  function Bt(e) {
859
- return e.type === T.date;
821
+ return e.type === x.date;
860
822
  }
861
823
  function wt(e) {
862
- return e.type === T.time;
824
+ return e.type === x.time;
863
825
  }
864
826
  function Ot(e) {
865
- return e.type === T.select;
827
+ return e.type === x.select;
866
828
  }
867
829
  function Pt(e) {
868
- return e.type === T.plural;
830
+ return e.type === x.plural;
869
831
  }
870
- function zr(e) {
871
- return e.type === T.pound;
832
+ function Wr(e) {
833
+ return e.type === x.pound;
872
834
  }
873
835
  function Nt(e) {
874
- return e.type === T.tag;
836
+ return e.type === x.tag;
875
837
  }
876
838
  function Lt(e) {
877
839
  return !!(e && typeof e == "object" && e.type === J.number);
878
840
  }
879
- function Me(e) {
841
+ function Re(e) {
880
842
  return !!(e && typeof e == "object" && e.type === J.dateTime);
881
843
  }
882
- var It = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Wr = /(?:[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;
883
- function Zr(e) {
844
+ var It = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Zr = /(?:[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;
845
+ function Qr(e) {
884
846
  var t = {};
885
- return e.replace(Wr, function(r) {
847
+ return e.replace(Zr, function(r) {
886
848
  var n = r.length;
887
849
  switch (r[0]) {
888
850
  case "G":
@@ -971,29 +933,39 @@ function Zr(e) {
971
933
  return "";
972
934
  }), t;
973
935
  }
974
- var Qr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
936
+ var C = function() {
937
+ return C = Object.assign || function(t) {
938
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
939
+ r = arguments[n];
940
+ for (var s in r)
941
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
942
+ }
943
+ return t;
944
+ }, C.apply(this, arguments);
945
+ };
946
+ var qr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
975
947
  function Jr(e) {
976
948
  if (e.length === 0)
977
949
  throw new Error("Number skeleton cannot be empty");
978
- for (var t = e.split(Qr).filter(function(f) {
950
+ for (var t = e.split(qr).filter(function(f) {
979
951
  return f.length > 0;
980
952
  }), r = [], n = 0, i = t; n < i.length; n++) {
981
953
  var s = i[n], o = s.split("/");
982
954
  if (o.length === 0)
983
955
  throw new Error("Invalid number skeleton");
984
- for (var a = o[0], l = o.slice(1), u = 0, h = l; u < h.length; u++) {
985
- var c = h[u];
956
+ for (var u = o[0], l = o.slice(1), a = 0, h = l; a < h.length; a++) {
957
+ var c = h[a];
986
958
  if (c.length === 0)
987
959
  throw new Error("Invalid number skeleton");
988
960
  }
989
- r.push({ stem: a, options: l });
961
+ r.push({ stem: u, options: l });
990
962
  }
991
963
  return r;
992
964
  }
993
- function qr(e) {
965
+ function Yr(e) {
994
966
  return e.replace(/^(.*?)-/, "");
995
967
  }
996
- var et = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Mt = /^(@+)?(\+|#+)?[rs]?$/g, Yr = /(\*)(0+)|(#+)(0+)|(0+)/g, $t = /^(0+)$/;
968
+ var et = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Mt = /^(@+)?(\+|#+)?[rs]?$/g, Kr = /(\*)(0+)|(#+)(0+)|(0+)/g, $t = /^(0+)$/;
997
969
  function tt(e) {
998
970
  var t = {};
999
971
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Mt, function(r, n, i) {
@@ -1040,7 +1012,7 @@ function Rt(e) {
1040
1012
  };
1041
1013
  }
1042
1014
  }
1043
- function Kr(e) {
1015
+ function en(e) {
1044
1016
  var t;
1045
1017
  if (e[0] === "E" && e[1] === "E" ? (t = {
1046
1018
  notation: "engineering"
@@ -1058,7 +1030,7 @@ function rt(e) {
1058
1030
  var t = {}, r = Rt(e);
1059
1031
  return r || t;
1060
1032
  }
1061
- function en(e) {
1033
+ function tn(e) {
1062
1034
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1063
1035
  var i = n[r];
1064
1036
  switch (i.stem) {
@@ -1082,7 +1054,7 @@ function en(e) {
1082
1054
  continue;
1083
1055
  case "measure-unit":
1084
1056
  case "unit":
1085
- t.style = "unit", t.unit = qr(i.options[0]);
1057
+ t.style = "unit", t.unit = Yr(i.options[0]);
1086
1058
  continue;
1087
1059
  case "compact-short":
1088
1060
  case "K":
@@ -1093,13 +1065,13 @@ function en(e) {
1093
1065
  t.notation = "compact", t.compactDisplay = "long";
1094
1066
  continue;
1095
1067
  case "scientific":
1096
- t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1097
- return E(E({}, l), rt(u));
1068
+ t = C(C(C({}, t), { notation: "scientific" }), i.options.reduce(function(l, a) {
1069
+ return C(C({}, l), rt(a));
1098
1070
  }, {}));
1099
1071
  continue;
1100
1072
  case "engineering":
1101
- t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1102
- return E(E({}, l), rt(u));
1073
+ t = C(C(C({}, t), { notation: "engineering" }), i.options.reduce(function(l, a) {
1074
+ return C(C({}, l), rt(a));
1103
1075
  }, {}));
1104
1076
  continue;
1105
1077
  case "notation-simple":
@@ -1144,8 +1116,8 @@ function en(e) {
1144
1116
  case "integer-width":
1145
1117
  if (i.options.length > 1)
1146
1118
  throw new RangeError("integer-width stems only accept a single optional option");
1147
- i.options[0].replace(Yr, function(l, u, h, c, f, p) {
1148
- if (u)
1119
+ i.options[0].replace(Kr, function(l, a, h, c, f, p) {
1120
+ if (a)
1149
1121
  t.minimumIntegerDigits = h.length;
1150
1122
  else {
1151
1123
  if (c && f)
@@ -1164,25 +1136,25 @@ function en(e) {
1164
1136
  if (et.test(i.stem)) {
1165
1137
  if (i.options.length > 1)
1166
1138
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1167
- i.stem.replace(et, function(l, u, h, c, f, p) {
1168
- return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1139
+ i.stem.replace(et, function(l, a, h, c, f, p) {
1140
+ return h === "*" ? t.minimumFractionDigits = a.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
1169
1141
  });
1170
1142
  var s = i.options[0];
1171
- s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t), tt(s)));
1143
+ s === "w" ? t = C(C({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = C(C({}, t), tt(s)));
1172
1144
  continue;
1173
1145
  }
1174
1146
  if (Mt.test(i.stem)) {
1175
- t = E(E({}, t), tt(i.stem));
1147
+ t = C(C({}, t), tt(i.stem));
1176
1148
  continue;
1177
1149
  }
1178
1150
  var o = Rt(i.stem);
1179
- o && (t = E(E({}, t), o));
1180
- var a = Kr(i.stem);
1181
- a && (t = E(E({}, t), a));
1151
+ o && (t = C(C({}, t), o));
1152
+ var u = en(i.stem);
1153
+ u && (t = C(C({}, t), u));
1182
1154
  }
1183
1155
  return t;
1184
1156
  }
1185
- var ce = {
1157
+ var ge = {
1186
1158
  "001": [
1187
1159
  "H",
1188
1160
  "h"
@@ -2597,23 +2569,23 @@ var ce = {
2597
2569
  "h"
2598
2570
  ]
2599
2571
  };
2600
- function tn(e, t) {
2572
+ function rn(e, t) {
2601
2573
  for (var r = "", n = 0; n < e.length; n++) {
2602
2574
  var i = e.charAt(n);
2603
2575
  if (i === "j") {
2604
2576
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2605
2577
  s++, n++;
2606
- var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = rn(t);
2607
- for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2578
+ var o = 1 + (s & 1), u = s < 2 ? 1 : 3 + (s >> 1), l = "a", a = nn(t);
2579
+ for ((a == "H" || a == "k") && (u = 0); u-- > 0; )
2608
2580
  r += l;
2609
2581
  for (; o-- > 0; )
2610
- r = u + r;
2582
+ r = a + r;
2611
2583
  } else
2612
2584
  i === "J" ? r += "H" : r += i;
2613
2585
  }
2614
2586
  return r;
2615
2587
  }
2616
- function rn(e) {
2588
+ function nn(e) {
2617
2589
  var t = e.hourCycle;
2618
2590
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2619
2591
  e.hourCycles && // @ts-ignore
@@ -2632,23 +2604,23 @@ function rn(e) {
2632
2604
  }
2633
2605
  var r = e.language, n;
2634
2606
  r !== "root" && (n = e.maximize().region);
2635
- var i = ce[n || ""] || ce[r || ""] || ce["".concat(r, "-001")] || ce["001"];
2607
+ var i = ge[n || ""] || ge[r || ""] || ge["".concat(r, "-001")] || ge["001"];
2636
2608
  return i[0];
2637
2609
  }
2638
- var Be, nn = new RegExp("^".concat(It.source, "*")), sn = new RegExp("".concat(It.source, "*$"));
2610
+ var Oe, sn = new RegExp("^".concat(It.source, "*")), on = new RegExp("".concat(It.source, "*$"));
2639
2611
  function y(e, t) {
2640
2612
  return { start: e, end: t };
2641
2613
  }
2642
- var on = !!String.prototype.startsWith && "_a".startsWith("a", 1), an = !!String.fromCodePoint, un = !!Object.fromEntries, hn = !!String.prototype.codePointAt, ln = !!String.prototype.trimStart, fn = !!String.prototype.trimEnd, cn = !!Number.isSafeInteger, gn = cn ? Number.isSafeInteger : function(e) {
2614
+ var an = !!String.prototype.startsWith && "_a".startsWith("a", 1), un = !!String.fromCodePoint, hn = !!Object.fromEntries, ln = !!String.prototype.codePointAt, fn = !!String.prototype.trimStart, cn = !!String.prototype.trimEnd, gn = !!Number.isSafeInteger, mn = gn ? Number.isSafeInteger : function(e) {
2643
2615
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2644
- }, $e = !0;
2616
+ }, Ue = !0;
2645
2617
  try {
2646
- var mn = Gt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2647
- $e = ((Be = mn.exec("a")) === null || Be === void 0 ? void 0 : Be[0]) === "a";
2618
+ var pn = Gt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2619
+ Ue = ((Oe = pn.exec("a")) === null || Oe === void 0 ? void 0 : Oe[0]) === "a";
2648
2620
  } catch {
2649
- $e = !1;
2621
+ Ue = !1;
2650
2622
  }
2651
- var nt = on ? (
2623
+ var nt = an ? (
2652
2624
  // Native
2653
2625
  function(t, r, n) {
2654
2626
  return t.startsWith(r, n);
@@ -2658,7 +2630,7 @@ var nt = on ? (
2658
2630
  function(t, r, n) {
2659
2631
  return t.slice(n, n + r.length) === r;
2660
2632
  }
2661
- ), Re = an ? String.fromCodePoint : (
2633
+ ), Ge = un ? String.fromCodePoint : (
2662
2634
  // IE11
2663
2635
  function() {
2664
2636
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2672,17 +2644,17 @@ var nt = on ? (
2672
2644
  }
2673
2645
  ), it = (
2674
2646
  // native
2675
- un ? Object.fromEntries : (
2647
+ hn ? Object.fromEntries : (
2676
2648
  // Ponyfill
2677
2649
  function(t) {
2678
2650
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
2679
- var s = i[n], o = s[0], a = s[1];
2680
- r[o] = a;
2651
+ var s = i[n], o = s[0], u = s[1];
2652
+ r[o] = u;
2681
2653
  }
2682
2654
  return r;
2683
2655
  }
2684
2656
  )
2685
- ), Ut = hn ? (
2657
+ ), Ut = ln ? (
2686
2658
  // Native
2687
2659
  function(t, r) {
2688
2660
  return t.codePointAt(r);
@@ -2696,7 +2668,7 @@ var nt = on ? (
2696
2668
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2697
2669
  }
2698
2670
  }
2699
- ), pn = ln ? (
2671
+ ), dn = fn ? (
2700
2672
  // Native
2701
2673
  function(t) {
2702
2674
  return t.trimStart();
@@ -2704,9 +2676,9 @@ var nt = on ? (
2704
2676
  ) : (
2705
2677
  // Ponyfill
2706
2678
  function(t) {
2707
- return t.replace(nn, "");
2679
+ return t.replace(sn, "");
2708
2680
  }
2709
- ), dn = fn ? (
2681
+ ), bn = cn ? (
2710
2682
  // Native
2711
2683
  function(t) {
2712
2684
  return t.trimEnd();
@@ -2714,32 +2686,32 @@ var nt = on ? (
2714
2686
  ) : (
2715
2687
  // Ponyfill
2716
2688
  function(t) {
2717
- return t.replace(sn, "");
2689
+ return t.replace(on, "");
2718
2690
  }
2719
2691
  );
2720
2692
  function Gt(e, t) {
2721
2693
  return new RegExp(e, t);
2722
2694
  }
2723
- var Ue;
2724
- if ($e) {
2695
+ var De;
2696
+ if (Ue) {
2725
2697
  var st = Gt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2726
- Ue = function(t, r) {
2698
+ De = function(t, r) {
2727
2699
  var n;
2728
2700
  st.lastIndex = r;
2729
2701
  var i = st.exec(t);
2730
2702
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2731
2703
  };
2732
2704
  } else
2733
- Ue = function(t, r) {
2705
+ De = function(t, r) {
2734
2706
  for (var n = []; ; ) {
2735
2707
  var i = Ut(t, r);
2736
- if (i === void 0 || Dt(i) || En(i))
2708
+ if (i === void 0 || Dt(i) || vn(i))
2737
2709
  break;
2738
2710
  n.push(i), r += i >= 65536 ? 2 : 1;
2739
2711
  }
2740
- return Re.apply(void 0, n);
2712
+ return Ge.apply(void 0, n);
2741
2713
  };
2742
- var bn = (
2714
+ var _n = (
2743
2715
  /** @class */
2744
2716
  function() {
2745
2717
  function e(t, r) {
@@ -2761,16 +2733,16 @@ var bn = (
2761
2733
  if (s === 125 && t > 0)
2762
2734
  break;
2763
2735
  if (s === 35 && (r === "plural" || r === "selectordinal")) {
2764
- var a = this.clonePosition();
2736
+ var u = this.clonePosition();
2765
2737
  this.bump(), i.push({
2766
- type: T.pound,
2767
- location: y(a, this.clonePosition())
2738
+ type: x.pound,
2739
+ location: y(u, this.clonePosition())
2768
2740
  });
2769
2741
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2770
2742
  if (n)
2771
2743
  break;
2772
2744
  return this.error(_.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
2773
- } else if (s === 60 && !this.ignoreTag && Ge(this.peek() || 0)) {
2745
+ } else if (s === 60 && !this.ignoreTag && Fe(this.peek() || 0)) {
2774
2746
  var o = this.parseTag(t, r);
2775
2747
  if (o.err)
2776
2748
  return o;
@@ -2791,7 +2763,7 @@ var bn = (
2791
2763
  if (this.bumpSpace(), this.bumpIf("/>"))
2792
2764
  return {
2793
2765
  val: {
2794
- type: T.literal,
2766
+ type: x.literal,
2795
2767
  value: "<".concat(i, "/>"),
2796
2768
  location: y(n, this.clonePosition())
2797
2769
  },
@@ -2801,27 +2773,27 @@ var bn = (
2801
2773
  var s = this.parseMessage(t + 1, r, !0);
2802
2774
  if (s.err)
2803
2775
  return s;
2804
- var o = s.val, a = this.clonePosition();
2776
+ var o = s.val, u = this.clonePosition();
2805
2777
  if (this.bumpIf("</")) {
2806
- if (this.isEOF() || !Ge(this.char()))
2807
- return this.error(_.INVALID_TAG, y(a, this.clonePosition()));
2808
- var l = this.clonePosition(), u = this.parseTagName();
2809
- return i !== u ? this.error(_.UNMATCHED_CLOSING_TAG, y(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2778
+ if (this.isEOF() || !Fe(this.char()))
2779
+ return this.error(_.INVALID_TAG, y(u, this.clonePosition()));
2780
+ var l = this.clonePosition(), a = this.parseTagName();
2781
+ return i !== a ? this.error(_.UNMATCHED_CLOSING_TAG, y(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2810
2782
  val: {
2811
- type: T.tag,
2783
+ type: x.tag,
2812
2784
  value: i,
2813
2785
  children: o,
2814
2786
  location: y(n, this.clonePosition())
2815
2787
  },
2816
2788
  err: null
2817
- } : this.error(_.INVALID_TAG, y(a, this.clonePosition())));
2789
+ } : this.error(_.INVALID_TAG, y(u, this.clonePosition())));
2818
2790
  } else
2819
2791
  return this.error(_.UNCLOSED_TAG, y(n, this.clonePosition()));
2820
2792
  } else
2821
2793
  return this.error(_.INVALID_TAG, y(n, this.clonePosition()));
2822
2794
  }, e.prototype.parseTagName = function() {
2823
2795
  var t = this.offset();
2824
- for (this.bump(); !this.isEOF() && yn(this.char()); )
2796
+ for (this.bump(); !this.isEOF() && En(this.char()); )
2825
2797
  this.bump();
2826
2798
  return this.message.slice(t, this.offset());
2827
2799
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2836,21 +2808,21 @@ var bn = (
2836
2808
  i += o;
2837
2809
  continue;
2838
2810
  }
2839
- var a = this.tryParseLeftAngleBracket();
2840
- if (a) {
2841
- i += a;
2811
+ var u = this.tryParseLeftAngleBracket();
2812
+ if (u) {
2813
+ i += u;
2842
2814
  continue;
2843
2815
  }
2844
2816
  break;
2845
2817
  }
2846
2818
  var l = y(n, this.clonePosition());
2847
2819
  return {
2848
- val: { type: T.literal, value: i, location: l },
2820
+ val: { type: x.literal, value: i, location: l },
2849
2821
  err: null
2850
2822
  };
2851
2823
  }, e.prototype.tryParseLeftAngleBracket = function() {
2852
2824
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2853
- !_n(this.peek() || 0)) ? (this.bump(), "<") : null;
2825
+ !yn(this.peek() || 0)) ? (this.bump(), "<") : null;
2854
2826
  }, e.prototype.tryParseQuote = function(t) {
2855
2827
  if (this.isEOF() || this.char() !== 39)
2856
2828
  return null;
@@ -2884,12 +2856,12 @@ var bn = (
2884
2856
  r.push(n);
2885
2857
  this.bump();
2886
2858
  }
2887
- return Re.apply(void 0, r);
2859
+ return Ge.apply(void 0, r);
2888
2860
  }, e.prototype.tryParseUnquoted = function(t, r) {
2889
2861
  if (this.isEOF())
2890
2862
  return null;
2891
2863
  var n = this.char();
2892
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Re(n));
2864
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ge(n));
2893
2865
  }, e.prototype.parseArgument = function(t, r) {
2894
2866
  var n = this.clonePosition();
2895
2867
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -2905,7 +2877,7 @@ var bn = (
2905
2877
  case 125:
2906
2878
  return this.bump(), {
2907
2879
  val: {
2908
- type: T.argument,
2880
+ type: x.argument,
2909
2881
  // value does not include the opening and closing braces.
2910
2882
  value: i,
2911
2883
  location: y(n, this.clonePosition())
@@ -2918,66 +2890,66 @@ var bn = (
2918
2890
  return this.error(_.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
2919
2891
  }
2920
2892
  }, e.prototype.parseIdentifierIfPossible = function() {
2921
- var t = this.clonePosition(), r = this.offset(), n = Ue(this.message, r), i = r + n.length;
2893
+ var t = this.clonePosition(), r = this.offset(), n = De(this.message, r), i = r + n.length;
2922
2894
  this.bumpTo(i);
2923
2895
  var s = this.clonePosition(), o = y(t, s);
2924
2896
  return { value: n, location: o };
2925
2897
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2926
- var s, o = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2927
- switch (a) {
2898
+ var s, o = this.clonePosition(), u = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2899
+ switch (u) {
2928
2900
  case "":
2929
2901
  return this.error(_.EXPECT_ARGUMENT_TYPE, y(o, l));
2930
2902
  case "number":
2931
2903
  case "date":
2932
2904
  case "time": {
2933
2905
  this.bumpSpace();
2934
- var u = null;
2906
+ var a = null;
2935
2907
  if (this.bumpIf(",")) {
2936
2908
  this.bumpSpace();
2937
2909
  var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2938
2910
  if (c.err)
2939
2911
  return c;
2940
- var f = dn(c.val);
2912
+ var f = bn(c.val);
2941
2913
  if (f.length === 0)
2942
2914
  return this.error(_.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
2943
2915
  var p = y(h, this.clonePosition());
2944
- u = { style: f, styleLocation: p };
2916
+ a = { style: f, styleLocation: p };
2945
2917
  }
2946
2918
  var d = this.tryParseArgumentClose(i);
2947
2919
  if (d.err)
2948
2920
  return d;
2949
2921
  var g = y(i, this.clonePosition());
2950
- if (u && nt(u?.style, "::", 0)) {
2951
- var x = pn(u.style.slice(2));
2952
- if (a === "number") {
2953
- var c = this.parseNumberSkeletonFromString(x, u.styleLocation);
2922
+ if (a && nt(a?.style, "::", 0)) {
2923
+ var E = dn(a.style.slice(2));
2924
+ if (u === "number") {
2925
+ var c = this.parseNumberSkeletonFromString(E, a.styleLocation);
2954
2926
  return c.err ? c : {
2955
- val: { type: T.number, value: n, location: g, style: c.val },
2927
+ val: { type: x.number, value: n, location: g, style: c.val },
2956
2928
  err: null
2957
2929
  };
2958
2930
  } else {
2959
- if (x.length === 0)
2931
+ if (E.length === 0)
2960
2932
  return this.error(_.EXPECT_DATE_TIME_SKELETON, g);
2961
- var m = x;
2962
- this.locale && (m = tn(x, this.locale));
2933
+ var m = E;
2934
+ this.locale && (m = rn(E, this.locale));
2963
2935
  var f = {
2964
2936
  type: J.dateTime,
2965
2937
  pattern: m,
2966
- location: u.styleLocation,
2967
- parsedOptions: this.shouldParseSkeletons ? Zr(m) : {}
2968
- }, H = a === "date" ? T.date : T.time;
2938
+ location: a.styleLocation,
2939
+ parsedOptions: this.shouldParseSkeletons ? Qr(m) : {}
2940
+ }, T = u === "date" ? x.date : x.time;
2969
2941
  return {
2970
- val: { type: H, value: n, location: g, style: f },
2942
+ val: { type: T, value: n, location: g, style: f },
2971
2943
  err: null
2972
2944
  };
2973
2945
  }
2974
2946
  }
2975
2947
  return {
2976
2948
  val: {
2977
- type: a === "number" ? T.number : a === "date" ? T.date : T.time,
2949
+ type: u === "number" ? x.number : u === "date" ? x.date : x.time,
2978
2950
  value: n,
2979
2951
  location: g,
2980
- style: (s = u?.style) !== null && s !== void 0 ? s : null
2952
+ style: (s = a?.style) !== null && s !== void 0 ? s : null
2981
2953
  },
2982
2954
  err: null
2983
2955
  };
@@ -2985,12 +2957,12 @@ var bn = (
2985
2957
  case "plural":
2986
2958
  case "selectordinal":
2987
2959
  case "select": {
2988
- var A = this.clonePosition();
2960
+ var S = this.clonePosition();
2989
2961
  if (this.bumpSpace(), !this.bumpIf(","))
2990
- return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, y(A, E({}, A)));
2962
+ return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, y(S, _e({}, S)));
2991
2963
  this.bumpSpace();
2992
2964
  var O = this.parseIdentifierIfPossible(), B = 0;
2993
- if (a !== "select" && O.value === "offset") {
2965
+ if (u !== "select" && O.value === "offset") {
2994
2966
  if (!this.bumpIf(":"))
2995
2967
  return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
2996
2968
  this.bumpSpace();
@@ -2999,28 +2971,28 @@ var bn = (
2999
2971
  return c;
3000
2972
  this.bumpSpace(), O = this.parseIdentifierIfPossible(), B = c.val;
3001
2973
  }
3002
- var C = this.tryParsePluralOrSelectOptions(t, a, r, O);
3003
- if (C.err)
3004
- return C;
2974
+ var H = this.tryParsePluralOrSelectOptions(t, u, r, O);
2975
+ if (H.err)
2976
+ return H;
3005
2977
  var d = this.tryParseArgumentClose(i);
3006
2978
  if (d.err)
3007
2979
  return d;
3008
2980
  var P = y(i, this.clonePosition());
3009
- return a === "select" ? {
2981
+ return u === "select" ? {
3010
2982
  val: {
3011
- type: T.select,
2983
+ type: x.select,
3012
2984
  value: n,
3013
- options: it(C.val),
2985
+ options: it(H.val),
3014
2986
  location: P
3015
2987
  },
3016
2988
  err: null
3017
2989
  } : {
3018
2990
  val: {
3019
- type: T.plural,
2991
+ type: x.plural,
3020
2992
  value: n,
3021
- options: it(C.val),
2993
+ options: it(H.val),
3022
2994
  offset: B,
3023
- pluralType: a === "plural" ? "cardinal" : "ordinal",
2995
+ pluralType: u === "plural" ? "cardinal" : "ordinal",
3024
2996
  location: P
3025
2997
  },
3026
2998
  err: null
@@ -3078,25 +3050,25 @@ var bn = (
3078
3050
  type: J.number,
3079
3051
  tokens: n,
3080
3052
  location: r,
3081
- parsedOptions: this.shouldParseSkeletons ? en(n) : {}
3053
+ parsedOptions: this.shouldParseSkeletons ? tn(n) : {}
3082
3054
  },
3083
3055
  err: null
3084
3056
  };
3085
3057
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3086
- for (var s, o = !1, a = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
3087
- if (u.length === 0) {
3058
+ for (var s, o = !1, u = [], l = /* @__PURE__ */ new Set(), a = i.value, h = i.location; ; ) {
3059
+ if (a.length === 0) {
3088
3060
  var c = this.clonePosition();
3089
3061
  if (r !== "select" && this.bumpIf("=")) {
3090
3062
  var f = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_SELECTOR, _.INVALID_PLURAL_ARGUMENT_SELECTOR);
3091
3063
  if (f.err)
3092
3064
  return f;
3093
- h = y(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3065
+ h = y(c, this.clonePosition()), a = this.message.slice(c.offset, this.offset());
3094
3066
  } else
3095
3067
  break;
3096
3068
  }
3097
- if (l.has(u))
3069
+ if (l.has(a))
3098
3070
  return this.error(r === "select" ? _.DUPLICATE_SELECT_ARGUMENT_SELECTOR : _.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3099
- u === "other" && (o = !0), this.bumpSpace();
3071
+ a === "other" && (o = !0), this.bumpSpace();
3100
3072
  var p = this.clonePosition();
3101
3073
  if (!this.bumpIf("{"))
3102
3074
  return this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : _.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, y(this.clonePosition(), this.clonePosition()));
@@ -3106,27 +3078,27 @@ var bn = (
3106
3078
  var g = this.tryParseArgumentClose(p);
3107
3079
  if (g.err)
3108
3080
  return g;
3109
- a.push([
3110
- u,
3081
+ u.push([
3082
+ a,
3111
3083
  {
3112
3084
  value: d.val,
3113
3085
  location: y(p, this.clonePosition())
3114
3086
  }
3115
- ]), l.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, h = s.location;
3087
+ ]), l.add(a), this.bumpSpace(), s = this.parseIdentifierIfPossible(), a = s.value, h = s.location;
3116
3088
  }
3117
- return a.length === 0 ? this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR : _.EXPECT_PLURAL_ARGUMENT_SELECTOR, y(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(_.MISSING_OTHER_CLAUSE, y(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3089
+ return u.length === 0 ? this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR : _.EXPECT_PLURAL_ARGUMENT_SELECTOR, y(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(_.MISSING_OTHER_CLAUSE, y(this.clonePosition(), this.clonePosition())) : { val: u, err: null };
3118
3090
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3119
3091
  var n = 1, i = this.clonePosition();
3120
3092
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3121
3093
  for (var s = !1, o = 0; !this.isEOF(); ) {
3122
- var a = this.char();
3123
- if (a >= 48 && a <= 57)
3124
- s = !0, o = o * 10 + (a - 48), this.bump();
3094
+ var u = this.char();
3095
+ if (u >= 48 && u <= 57)
3096
+ s = !0, o = o * 10 + (u - 48), this.bump();
3125
3097
  else
3126
3098
  break;
3127
3099
  }
3128
3100
  var l = y(i, this.clonePosition());
3129
- return s ? (o *= n, gn(o) ? { val: o, err: null } : this.error(r, l)) : this.error(t, l);
3101
+ return s ? (o *= n, mn(o) ? { val: o, err: null } : this.error(r, l)) : this.error(t, l);
3130
3102
  }, e.prototype.offset = function() {
3131
3103
  return this.position.offset;
3132
3104
  }, e.prototype.isEOF = function() {
@@ -3192,47 +3164,47 @@ var bn = (
3192
3164
  }, e;
3193
3165
  }()
3194
3166
  );
3195
- function Ge(e) {
3167
+ function Fe(e) {
3196
3168
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3197
3169
  }
3198
- function _n(e) {
3199
- return Ge(e) || e === 47;
3200
- }
3201
3170
  function yn(e) {
3171
+ return Fe(e) || e === 47;
3172
+ }
3173
+ function En(e) {
3202
3174
  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;
3203
3175
  }
3204
3176
  function Dt(e) {
3205
3177
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3206
3178
  }
3207
- function En(e) {
3179
+ function vn(e) {
3208
3180
  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;
3209
3181
  }
3210
- function De(e) {
3182
+ function je(e) {
3211
3183
  e.forEach(function(t) {
3212
3184
  if (delete t.location, Ot(t) || Pt(t))
3213
3185
  for (var r in t.options)
3214
- delete t.options[r].location, De(t.options[r].value);
3186
+ delete t.options[r].location, je(t.options[r].value);
3215
3187
  else
3216
- St(t) && Lt(t.style) || (Bt(t) || wt(t)) && Me(t.style) ? delete t.style.location : Nt(t) && De(t.children);
3188
+ At(t) && Lt(t.style) || (Bt(t) || wt(t)) && Re(t.style) ? delete t.style.location : Nt(t) && je(t.children);
3217
3189
  });
3218
3190
  }
3219
3191
  function xn(e, t) {
3220
- t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3221
- var r = new bn(e, t).parse();
3192
+ t === void 0 && (t = {}), t = _e({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3193
+ var r = new _n(e, t).parse();
3222
3194
  if (r.err) {
3223
3195
  var n = SyntaxError(_[r.err.kind]);
3224
3196
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3225
3197
  }
3226
- return t?.captureLocation || De(r.val), r.val;
3198
+ return t?.captureLocation || je(r.val), r.val;
3227
3199
  }
3228
- var q;
3200
+ var Y;
3229
3201
  (function(e) {
3230
3202
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3231
- })(q || (q = {}));
3232
- var xe = (
3203
+ })(Y || (Y = {}));
3204
+ var Te = (
3233
3205
  /** @class */
3234
3206
  function(e) {
3235
- Ee(t, e);
3207
+ xe(t, e);
3236
3208
  function t(r, n, i) {
3237
3209
  var s = e.call(this, r) || this;
3238
3210
  return s.code = n, s.originalMessage = i, s;
@@ -3244,30 +3216,30 @@ var xe = (
3244
3216
  ), ot = (
3245
3217
  /** @class */
3246
3218
  function(e) {
3247
- Ee(t, e);
3219
+ xe(t, e);
3248
3220
  function t(r, n, i, s) {
3249
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), q.INVALID_VALUE, s) || this;
3221
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Y.INVALID_VALUE, s) || this;
3250
3222
  }
3251
3223
  return t;
3252
- }(xe)
3253
- ), vn = (
3224
+ }(Te)
3225
+ ), Tn = (
3254
3226
  /** @class */
3255
3227
  function(e) {
3256
- Ee(t, e);
3228
+ xe(t, e);
3257
3229
  function t(r, n, i) {
3258
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), q.INVALID_VALUE, i) || this;
3230
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Y.INVALID_VALUE, i) || this;
3259
3231
  }
3260
3232
  return t;
3261
- }(xe)
3262
- ), Tn = (
3233
+ }(Te)
3234
+ ), Cn = (
3263
3235
  /** @class */
3264
3236
  function(e) {
3265
- Ee(t, e);
3237
+ xe(t, e);
3266
3238
  function t(r, n) {
3267
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), q.MISSING_VALUE, n) || this;
3239
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Y.MISSING_VALUE, n) || this;
3268
3240
  }
3269
3241
  return t;
3270
- }(xe)
3242
+ }(Te)
3271
3243
  ), w;
3272
3244
  (function(e) {
3273
3245
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
@@ -3278,10 +3250,10 @@ function Hn(e) {
3278
3250
  return !n || n.type !== w.literal || r.type !== w.literal ? t.push(r) : n.value += r.value, t;
3279
3251
  }, []);
3280
3252
  }
3281
- function Cn(e) {
3253
+ function Sn(e) {
3282
3254
  return typeof e == "function";
3283
3255
  }
3284
- function me(e, t, r, n, i, s, o) {
3256
+ function pe(e, t, r, n, i, s, o) {
3285
3257
  if (e.length === 1 && Ke(e[0]))
3286
3258
  return [
3287
3259
  {
@@ -3289,17 +3261,17 @@ function me(e, t, r, n, i, s, o) {
3289
3261
  value: e[0].value
3290
3262
  }
3291
3263
  ];
3292
- for (var a = [], l = 0, u = e; l < u.length; l++) {
3293
- var h = u[l];
3264
+ for (var u = [], l = 0, a = e; l < a.length; l++) {
3265
+ var h = a[l];
3294
3266
  if (Ke(h)) {
3295
- a.push({
3267
+ u.push({
3296
3268
  type: w.literal,
3297
3269
  value: h.value
3298
3270
  });
3299
3271
  continue;
3300
3272
  }
3301
- if (zr(h)) {
3302
- typeof s == "number" && a.push({
3273
+ if (Wr(h)) {
3274
+ typeof s == "number" && u.push({
3303
3275
  type: w.literal,
3304
3276
  value: r.getNumberFormat(t).format(s)
3305
3277
  });
@@ -3307,47 +3279,47 @@ function me(e, t, r, n, i, s, o) {
3307
3279
  }
3308
3280
  var c = h.value;
3309
3281
  if (!(i && c in i))
3310
- throw new Tn(c, o);
3282
+ throw new Cn(c, o);
3311
3283
  var f = i[c];
3312
- if (Xr(h)) {
3313
- (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3284
+ if (zr(h)) {
3285
+ (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), u.push({
3314
3286
  type: typeof f == "string" ? w.literal : w.object,
3315
3287
  value: f
3316
3288
  });
3317
3289
  continue;
3318
3290
  }
3319
3291
  if (Bt(h)) {
3320
- var p = typeof h.style == "string" ? n.date[h.style] : Me(h.style) ? h.style.parsedOptions : void 0;
3321
- a.push({
3292
+ var p = typeof h.style == "string" ? n.date[h.style] : Re(h.style) ? h.style.parsedOptions : void 0;
3293
+ u.push({
3322
3294
  type: w.literal,
3323
3295
  value: r.getDateTimeFormat(t, p).format(f)
3324
3296
  });
3325
3297
  continue;
3326
3298
  }
3327
3299
  if (wt(h)) {
3328
- var p = typeof h.style == "string" ? n.time[h.style] : Me(h.style) ? h.style.parsedOptions : n.time.medium;
3329
- a.push({
3300
+ var p = typeof h.style == "string" ? n.time[h.style] : Re(h.style) ? h.style.parsedOptions : n.time.medium;
3301
+ u.push({
3330
3302
  type: w.literal,
3331
3303
  value: r.getDateTimeFormat(t, p).format(f)
3332
3304
  });
3333
3305
  continue;
3334
3306
  }
3335
- if (St(h)) {
3307
+ if (At(h)) {
3336
3308
  var p = typeof h.style == "string" ? n.number[h.style] : Lt(h.style) ? h.style.parsedOptions : void 0;
3337
- p && p.scale && (f = f * (p.scale || 1)), a.push({
3309
+ p && p.scale && (f = f * (p.scale || 1)), u.push({
3338
3310
  type: w.literal,
3339
3311
  value: r.getNumberFormat(t, p).format(f)
3340
3312
  });
3341
3313
  continue;
3342
3314
  }
3343
3315
  if (Nt(h)) {
3344
- var d = h.children, g = h.value, x = i[g];
3345
- if (!Cn(x))
3346
- throw new vn(g, "function", o);
3347
- var m = me(d, t, r, n, i, s), H = x(m.map(function(B) {
3316
+ var d = h.children, g = h.value, E = i[g];
3317
+ if (!Sn(E))
3318
+ throw new Tn(g, "function", o);
3319
+ var m = pe(d, t, r, n, i, s), T = E(m.map(function(B) {
3348
3320
  return B.value;
3349
3321
  }));
3350
- Array.isArray(H) || (H = [H]), a.push.apply(a, H.map(function(B) {
3322
+ Array.isArray(T) || (T = [T]), u.push.apply(u, T.map(function(B) {
3351
3323
  return {
3352
3324
  type: typeof B == "string" ? w.literal : w.object,
3353
3325
  value: B
@@ -3355,41 +3327,41 @@ function me(e, t, r, n, i, s, o) {
3355
3327
  }));
3356
3328
  }
3357
3329
  if (Ot(h)) {
3358
- var A = h.options[f] || h.options.other;
3359
- if (!A)
3330
+ var S = h.options[f] || h.options.other;
3331
+ if (!S)
3360
3332
  throw new ot(h.value, f, Object.keys(h.options), o);
3361
- a.push.apply(a, me(A.value, t, r, n, i));
3333
+ u.push.apply(u, pe(S.value, t, r, n, i));
3362
3334
  continue;
3363
3335
  }
3364
3336
  if (Pt(h)) {
3365
- var A = h.options["=".concat(f)];
3366
- if (!A) {
3337
+ var S = h.options["=".concat(f)];
3338
+ if (!S) {
3367
3339
  if (!Intl.PluralRules)
3368
- throw new xe(`Intl.PluralRules is not available in this environment.
3340
+ throw new Te(`Intl.PluralRules is not available in this environment.
3369
3341
  Try polyfilling it using "@formatjs/intl-pluralrules"
3370
- `, q.MISSING_INTL_API, o);
3342
+ `, Y.MISSING_INTL_API, o);
3371
3343
  var O = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3372
- A = h.options[O] || h.options.other;
3344
+ S = h.options[O] || h.options.other;
3373
3345
  }
3374
- if (!A)
3346
+ if (!S)
3375
3347
  throw new ot(h.value, f, Object.keys(h.options), o);
3376
- a.push.apply(a, me(A.value, t, r, n, i, f - (h.offset || 0)));
3348
+ u.push.apply(u, pe(S.value, t, r, n, i, f - (h.offset || 0)));
3377
3349
  continue;
3378
3350
  }
3379
3351
  }
3380
- return Hn(a);
3352
+ return Hn(u);
3381
3353
  }
3382
3354
  function An(e, t) {
3383
- return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3384
- return r[n] = E(E({}, e[n]), t[n] || {}), r;
3355
+ return t ? R(R(R({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3356
+ return r[n] = R(R({}, e[n]), t[n] || {}), r;
3385
3357
  }, {})) : e;
3386
3358
  }
3387
- function Sn(e, t) {
3359
+ function Bn(e, t) {
3388
3360
  return t ? Object.keys(e).reduce(function(r, n) {
3389
3361
  return r[n] = An(e[n], t[n]), r;
3390
- }, E({}, e)) : e;
3362
+ }, R({}, e)) : e;
3391
3363
  }
3392
- function we(e) {
3364
+ function Pe(e) {
3393
3365
  return {
3394
3366
  create: function() {
3395
3367
  return {
@@ -3403,39 +3375,39 @@ function we(e) {
3403
3375
  }
3404
3376
  };
3405
3377
  }
3406
- function Bn(e) {
3378
+ function wn(e) {
3407
3379
  return e === void 0 && (e = {
3408
3380
  number: {},
3409
3381
  dateTime: {},
3410
3382
  pluralRules: {}
3411
3383
  }), {
3412
- getNumberFormat: Ae(function() {
3384
+ getNumberFormat: Be(function() {
3413
3385
  for (var t, r = [], n = 0; n < arguments.length; n++)
3414
3386
  r[n] = arguments[n];
3415
- return new ((t = Intl.NumberFormat).bind.apply(t, Ce([void 0], r, !1)))();
3387
+ return new ((t = Intl.NumberFormat).bind.apply(t, Ae([void 0], r, !1)))();
3416
3388
  }, {
3417
- cache: we(e.number),
3418
- strategy: Se.variadic
3389
+ cache: Pe(e.number),
3390
+ strategy: we.variadic
3419
3391
  }),
3420
- getDateTimeFormat: Ae(function() {
3392
+ getDateTimeFormat: Be(function() {
3421
3393
  for (var t, r = [], n = 0; n < arguments.length; n++)
3422
3394
  r[n] = arguments[n];
3423
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Ce([void 0], r, !1)))();
3395
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Ae([void 0], r, !1)))();
3424
3396
  }, {
3425
- cache: we(e.dateTime),
3426
- strategy: Se.variadic
3397
+ cache: Pe(e.dateTime),
3398
+ strategy: we.variadic
3427
3399
  }),
3428
- getPluralRules: Ae(function() {
3400
+ getPluralRules: Be(function() {
3429
3401
  for (var t, r = [], n = 0; n < arguments.length; n++)
3430
3402
  r[n] = arguments[n];
3431
- return new ((t = Intl.PluralRules).bind.apply(t, Ce([void 0], r, !1)))();
3403
+ return new ((t = Intl.PluralRules).bind.apply(t, Ae([void 0], r, !1)))();
3432
3404
  }, {
3433
- cache: we(e.pluralRules),
3434
- strategy: Se.variadic
3405
+ cache: Pe(e.pluralRules),
3406
+ strategy: we.variadic
3435
3407
  })
3436
3408
  };
3437
3409
  }
3438
- var wn = (
3410
+ var On = (
3439
3411
  /** @class */
3440
3412
  function() {
3441
3413
  function e(t, r, n, i) {
@@ -3446,15 +3418,15 @@ var wn = (
3446
3418
  dateTime: {},
3447
3419
  pluralRules: {}
3448
3420
  }, this.format = function(l) {
3449
- var u = s.formatToParts(l);
3450
- if (u.length === 1)
3451
- return u[0].value;
3452
- var h = u.reduce(function(c, f) {
3421
+ var a = s.formatToParts(l);
3422
+ if (a.length === 1)
3423
+ return a[0].value;
3424
+ var h = a.reduce(function(c, f) {
3453
3425
  return !c.length || f.type !== w.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3454
3426
  }, []);
3455
3427
  return h.length <= 1 ? h[0] || "" : h;
3456
3428
  }, this.formatToParts = function(l) {
3457
- return me(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3429
+ return pe(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3458
3430
  }, this.resolvedOptions = function() {
3459
3431
  var l;
3460
3432
  return {
@@ -3467,13 +3439,13 @@ var wn = (
3467
3439
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3468
3440
  var o = i || {};
3469
3441
  o.formatters;
3470
- var a = Ur(o, ["formatters"]);
3471
- this.ast = e.__parse(t, E(E({}, a), { locale: this.resolvedLocale }));
3442
+ var u = Ur(o, ["formatters"]);
3443
+ this.ast = e.__parse(t, R(R({}, u), { locale: this.resolvedLocale }));
3472
3444
  } else
3473
3445
  this.ast = t;
3474
3446
  if (!Array.isArray(this.ast))
3475
3447
  throw new TypeError("A message must be provided as a String or AST.");
3476
- this.formats = Sn(e.formats, n), this.formatters = i && i.formatters || Bn(this.formatterCache);
3448
+ this.formats = Bn(e.formats, n), this.formatters = i && i.formatters || wn(this.formatterCache);
3477
3449
  }
3478
3450
  return Object.defineProperty(e, "defaultLocale", {
3479
3451
  get: function() {
@@ -3547,7 +3519,7 @@ var wn = (
3547
3519
  }, e;
3548
3520
  }()
3549
3521
  );
3550
- function On(e, t) {
3522
+ function Pn(e, t) {
3551
3523
  if (t == null)
3552
3524
  return;
3553
3525
  if (t in e)
@@ -3568,36 +3540,36 @@ function On(e, t) {
3568
3540
  n = void 0;
3569
3541
  return n;
3570
3542
  }
3571
- const G = {}, Pn = (e, t, r) => r && (t in G || (G[t] = {}), e in G[t] || (G[t][e] = r), r), Ft = (e, t) => {
3543
+ const D = {}, Nn = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r), Ft = (e, t) => {
3572
3544
  if (t == null)
3573
3545
  return;
3574
- if (t in G && e in G[t])
3575
- return G[t][e];
3576
- const r = ve(t);
3546
+ if (t in D && e in D[t])
3547
+ return D[t][e];
3548
+ const r = Ce(t);
3577
3549
  for (let n = 0; n < r.length; n++) {
3578
- const i = r[n], s = Ln(i, e);
3550
+ const i = r[n], s = In(i, e);
3579
3551
  if (s)
3580
- return Pn(e, t, s);
3552
+ return Nn(e, t, s);
3581
3553
  }
3582
3554
  };
3583
3555
  let ze;
3584
- const ue = ye({});
3585
- function Nn(e) {
3556
+ const he = ve({});
3557
+ function Ln(e) {
3586
3558
  return ze[e] || null;
3587
3559
  }
3588
3560
  function jt(e) {
3589
3561
  return e in ze;
3590
3562
  }
3591
- function Ln(e, t) {
3563
+ function In(e, t) {
3592
3564
  if (!jt(e))
3593
3565
  return null;
3594
- const r = Nn(e);
3595
- return On(r, t);
3566
+ const r = Ln(e);
3567
+ return Pn(r, t);
3596
3568
  }
3597
- function In(e) {
3569
+ function Mn(e) {
3598
3570
  if (e == null)
3599
3571
  return;
3600
- const t = ve(e);
3572
+ const t = Ce(e);
3601
3573
  for (let r = 0; r < t.length; r++) {
3602
3574
  const n = t[r];
3603
3575
  if (jt(n))
@@ -3605,55 +3577,55 @@ function In(e) {
3605
3577
  }
3606
3578
  }
3607
3579
  function kt(e, ...t) {
3608
- delete G[e], ue.update((r) => (r[e] = Rr.all([r[e] || {}, ...t]), r));
3580
+ delete D[e], he.update((r) => (r[e] = Rr.all([r[e] || {}, ...t]), r));
3609
3581
  }
3610
- K(
3611
- [ue],
3582
+ ee(
3583
+ [he],
3612
3584
  ([e]) => Object.keys(e)
3613
3585
  );
3614
- ue.subscribe((e) => ze = e);
3615
- const pe = {};
3616
- function Mn(e, t) {
3617
- pe[e].delete(t), pe[e].size === 0 && delete pe[e];
3586
+ he.subscribe((e) => ze = e);
3587
+ const de = {};
3588
+ function $n(e, t) {
3589
+ de[e].delete(t), de[e].size === 0 && delete de[e];
3618
3590
  }
3619
3591
  function Vt(e) {
3620
- return pe[e];
3592
+ return de[e];
3621
3593
  }
3622
- function $n(e) {
3623
- return ve(e).map((t) => {
3594
+ function Rn(e) {
3595
+ return Ce(e).map((t) => {
3624
3596
  const r = Vt(t);
3625
3597
  return [t, r ? [...r] : []];
3626
3598
  }).filter(([, t]) => t.length > 0);
3627
3599
  }
3628
- function Fe(e) {
3629
- return e == null ? !1 : ve(e).some(
3600
+ function ke(e) {
3601
+ return e == null ? !1 : Ce(e).some(
3630
3602
  (t) => {
3631
3603
  var r;
3632
3604
  return (r = Vt(t)) == null ? void 0 : r.size;
3633
3605
  }
3634
3606
  );
3635
3607
  }
3636
- function Rn(e, t) {
3608
+ function Un(e, t) {
3637
3609
  return Promise.all(
3638
- t.map((n) => (Mn(e, n), n().then((i) => i.default || i)))
3610
+ t.map((n) => ($n(e, n), n().then((i) => i.default || i)))
3639
3611
  ).then((n) => kt(e, ...n));
3640
3612
  }
3641
- const re = {};
3613
+ const ne = {};
3642
3614
  function Xt(e) {
3643
- if (!Fe(e))
3644
- return e in re ? re[e] : Promise.resolve();
3645
- const t = $n(e);
3646
- return re[e] = Promise.all(
3615
+ if (!ke(e))
3616
+ return e in ne ? ne[e] : Promise.resolve();
3617
+ const t = Rn(e);
3618
+ return ne[e] = Promise.all(
3647
3619
  t.map(
3648
- ([r, n]) => Rn(r, n)
3620
+ ([r, n]) => Un(r, n)
3649
3621
  )
3650
3622
  ).then(() => {
3651
- if (Fe(e))
3623
+ if (ke(e))
3652
3624
  return Xt(e);
3653
- delete re[e];
3654
- }), re[e];
3625
+ delete ne[e];
3626
+ }), ne[e];
3655
3627
  }
3656
- const Un = {
3628
+ const Gn = {
3657
3629
  number: {
3658
3630
  scientific: { notation: "scientific" },
3659
3631
  engineering: { notation: "engineering" },
@@ -3682,142 +3654,142 @@ const Un = {
3682
3654
  timeZoneName: "short"
3683
3655
  }
3684
3656
  }
3685
- }, Gn = {
3657
+ }, Dn = {
3686
3658
  fallbackLocale: null,
3687
3659
  loadingDelay: 200,
3688
- formats: Un,
3660
+ formats: Gn,
3689
3661
  warnOnMissingMessages: !0,
3690
3662
  handleMissingMessage: void 0,
3691
3663
  ignoreTag: !0
3692
- }, Dn = Gn;
3693
- function Y() {
3694
- return Dn;
3664
+ }, Fn = Dn;
3665
+ function K() {
3666
+ return Fn;
3695
3667
  }
3696
- const Oe = ye(!1);
3697
- var Fn = Object.defineProperty, jn = Object.defineProperties, kn = Object.getOwnPropertyDescriptors, at = Object.getOwnPropertySymbols, Vn = Object.prototype.hasOwnProperty, Xn = Object.prototype.propertyIsEnumerable, ut = (e, t, r) => t in e ? Fn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, zn = (e, t) => {
3668
+ const Ne = ve(!1);
3669
+ var jn = Object.defineProperty, kn = Object.defineProperties, Vn = Object.getOwnPropertyDescriptors, at = Object.getOwnPropertySymbols, Xn = Object.prototype.hasOwnProperty, zn = Object.prototype.propertyIsEnumerable, ut = (e, t, r) => t in e ? jn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Wn = (e, t) => {
3698
3670
  for (var r in t || (t = {}))
3699
- Vn.call(t, r) && ut(e, r, t[r]);
3671
+ Xn.call(t, r) && ut(e, r, t[r]);
3700
3672
  if (at)
3701
3673
  for (var r of at(t))
3702
- Xn.call(t, r) && ut(e, r, t[r]);
3674
+ zn.call(t, r) && ut(e, r, t[r]);
3703
3675
  return e;
3704
- }, Wn = (e, t) => jn(e, kn(t));
3705
- let je;
3706
- const be = ye(null);
3676
+ }, Zn = (e, t) => kn(e, Vn(t));
3677
+ let Ve;
3678
+ const ye = ve(null);
3707
3679
  function ht(e) {
3708
3680
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3709
3681
  }
3710
- function ve(e, t = Y().fallbackLocale) {
3682
+ function Ce(e, t = K().fallbackLocale) {
3711
3683
  const r = ht(e);
3712
3684
  return t ? [.../* @__PURE__ */ new Set([...r, ...ht(t)])] : r;
3713
3685
  }
3714
- function V() {
3715
- return je ?? void 0;
3686
+ function X() {
3687
+ return Ve ?? void 0;
3716
3688
  }
3717
- be.subscribe((e) => {
3718
- je = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3689
+ ye.subscribe((e) => {
3690
+ Ve = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3719
3691
  });
3720
- const Zn = (e) => {
3721
- if (e && In(e) && Fe(e)) {
3722
- const { loadingDelay: t } = Y();
3692
+ const Qn = (e) => {
3693
+ if (e && Mn(e) && ke(e)) {
3694
+ const { loadingDelay: t } = K();
3723
3695
  let r;
3724
- return typeof window < "u" && V() != null && t ? r = window.setTimeout(
3725
- () => Oe.set(!0),
3696
+ return typeof window < "u" && X() != null && t ? r = window.setTimeout(
3697
+ () => Ne.set(!0),
3726
3698
  t
3727
- ) : Oe.set(!0), Xt(e).then(() => {
3728
- be.set(e);
3699
+ ) : Ne.set(!0), Xt(e).then(() => {
3700
+ ye.set(e);
3729
3701
  }).finally(() => {
3730
- clearTimeout(r), Oe.set(!1);
3702
+ clearTimeout(r), Ne.set(!1);
3731
3703
  });
3732
3704
  }
3733
- return be.set(e);
3734
- }, ee = Wn(zn({}, be), {
3735
- set: Zn
3736
- }), Te = (e) => {
3705
+ return ye.set(e);
3706
+ }, te = Zn(Wn({}, ye), {
3707
+ set: Qn
3708
+ }), He = (e) => {
3737
3709
  const t = /* @__PURE__ */ Object.create(null);
3738
3710
  return (n) => {
3739
3711
  const i = JSON.stringify(n);
3740
3712
  return i in t ? t[i] : t[i] = e(n);
3741
3713
  };
3742
3714
  };
3743
- var Qn = Object.defineProperty, _e = Object.getOwnPropertySymbols, zt = Object.prototype.hasOwnProperty, Wt = Object.prototype.propertyIsEnumerable, lt = (e, t, r) => t in e ? Qn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, We = (e, t) => {
3715
+ var qn = Object.defineProperty, Ee = Object.getOwnPropertySymbols, zt = Object.prototype.hasOwnProperty, Wt = Object.prototype.propertyIsEnumerable, lt = (e, t, r) => t in e ? qn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, We = (e, t) => {
3744
3716
  for (var r in t || (t = {}))
3745
3717
  zt.call(t, r) && lt(e, r, t[r]);
3746
- if (_e)
3747
- for (var r of _e(t))
3718
+ if (Ee)
3719
+ for (var r of Ee(t))
3748
3720
  Wt.call(t, r) && lt(e, r, t[r]);
3749
3721
  return e;
3750
- }, te = (e, t) => {
3722
+ }, re = (e, t) => {
3751
3723
  var r = {};
3752
3724
  for (var n in e)
3753
3725
  zt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3754
- if (e != null && _e)
3755
- for (var n of _e(e))
3726
+ if (e != null && Ee)
3727
+ for (var n of Ee(e))
3756
3728
  t.indexOf(n) < 0 && Wt.call(e, n) && (r[n] = e[n]);
3757
3729
  return r;
3758
3730
  };
3759
- const oe = (e, t) => {
3760
- const { formats: r } = Y();
3731
+ const ae = (e, t) => {
3732
+ const { formats: r } = K();
3761
3733
  if (e in r && t in r[e])
3762
3734
  return r[e][t];
3763
3735
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3764
- }, Jn = Te(
3736
+ }, Jn = He(
3765
3737
  (e) => {
3766
- var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
3738
+ var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
3767
3739
  if (r == null)
3768
3740
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3769
- return n && (i = oe("number", n)), new Intl.NumberFormat(r, i);
3741
+ return n && (i = ae("number", n)), new Intl.NumberFormat(r, i);
3770
3742
  }
3771
- ), qn = Te(
3743
+ ), Yn = He(
3772
3744
  (e) => {
3773
- var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
3745
+ var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
3774
3746
  if (r == null)
3775
3747
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3776
- return n ? i = oe("date", n) : Object.keys(i).length === 0 && (i = oe("date", "short")), new Intl.DateTimeFormat(r, i);
3748
+ return n ? i = ae("date", n) : Object.keys(i).length === 0 && (i = ae("date", "short")), new Intl.DateTimeFormat(r, i);
3777
3749
  }
3778
- ), Yn = Te(
3750
+ ), Kn = He(
3779
3751
  (e) => {
3780
- var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
3752
+ var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
3781
3753
  if (r == null)
3782
3754
  throw new Error(
3783
3755
  '[svelte-i18n] A "locale" must be set to format time values'
3784
3756
  );
3785
- return n ? i = oe("time", n) : Object.keys(i).length === 0 && (i = oe("time", "short")), new Intl.DateTimeFormat(r, i);
3757
+ return n ? i = ae("time", n) : Object.keys(i).length === 0 && (i = ae("time", "short")), new Intl.DateTimeFormat(r, i);
3786
3758
  }
3787
- ), Kn = (e = {}) => {
3759
+ ), ei = (e = {}) => {
3788
3760
  var t = e, {
3789
- locale: r = V()
3790
- } = t, n = te(t, [
3761
+ locale: r = X()
3762
+ } = t, n = re(t, [
3791
3763
  "locale"
3792
3764
  ]);
3793
3765
  return Jn(We({ locale: r }, n));
3794
- }, ei = (e = {}) => {
3766
+ }, ti = (e = {}) => {
3795
3767
  var t = e, {
3796
- locale: r = V()
3797
- } = t, n = te(t, [
3768
+ locale: r = X()
3769
+ } = t, n = re(t, [
3798
3770
  "locale"
3799
3771
  ]);
3800
- return qn(We({ locale: r }, n));
3801
- }, ti = (e = {}) => {
3772
+ return Yn(We({ locale: r }, n));
3773
+ }, ri = (e = {}) => {
3802
3774
  var t = e, {
3803
- locale: r = V()
3804
- } = t, n = te(t, [
3775
+ locale: r = X()
3776
+ } = t, n = re(t, [
3805
3777
  "locale"
3806
3778
  ]);
3807
- return Yn(We({ locale: r }, n));
3808
- }, ri = Te(
3779
+ return Kn(We({ locale: r }, n));
3780
+ }, ni = He(
3809
3781
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3810
- (e, t = V()) => new wn(e, t, Y().formats, {
3811
- ignoreTag: Y().ignoreTag
3782
+ (e, t = X()) => new On(e, t, K().formats, {
3783
+ ignoreTag: K().ignoreTag
3812
3784
  })
3813
- ), ni = (e, t = {}) => {
3785
+ ), ii = (e, t = {}) => {
3814
3786
  var r, n, i, s;
3815
3787
  let o = t;
3816
3788
  typeof e == "object" && (o = e, e = o.id);
3817
3789
  const {
3818
- values: a,
3819
- locale: l = V(),
3820
- default: u
3790
+ values: u,
3791
+ locale: l = X(),
3792
+ default: a
3821
3793
  } = o;
3822
3794
  if (l == null)
3823
3795
  throw new Error(
@@ -3825,16 +3797,16 @@ const oe = (e, t) => {
3825
3797
  );
3826
3798
  let h = Ft(e, l);
3827
3799
  if (!h)
3828
- h = (s = (i = (n = (r = Y()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
3800
+ h = (s = (i = (n = (r = K()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: a })) != null ? i : a) != null ? s : e;
3829
3801
  else if (typeof h != "string")
3830
3802
  return console.warn(
3831
3803
  `[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.`
3832
3804
  ), h;
3833
- if (!a)
3805
+ if (!u)
3834
3806
  return h;
3835
3807
  let c = h;
3836
3808
  try {
3837
- c = ri(h, l).format(a);
3809
+ c = ni(h, l).format(u);
3838
3810
  } catch (f) {
3839
3811
  f instanceof Error && console.warn(
3840
3812
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3842,16 +3814,16 @@ const oe = (e, t) => {
3842
3814
  );
3843
3815
  }
3844
3816
  return c;
3845
- }, ii = (e, t) => ti(t).format(e), si = (e, t) => ei(t).format(e), oi = (e, t) => Kn(t).format(e), ai = (e, t = V()) => Ft(e, t), ui = K([ee, ue], () => ni);
3846
- K([ee], () => ii);
3847
- K([ee], () => si);
3848
- K([ee], () => oi);
3849
- K([ee, ue], () => ai);
3817
+ }, si = (e, t) => ri(t).format(e), oi = (e, t) => ti(t).format(e), ai = (e, t) => ei(t).format(e), ui = (e, t = X()) => Ft(e, t), hi = ee([te, he], () => ii);
3818
+ ee([te], () => si);
3819
+ ee([te], () => oi);
3820
+ ee([te], () => ai);
3821
+ ee([te, he], () => ui);
3850
3822
  function ft(e, t) {
3851
3823
  kt(e, t);
3852
3824
  }
3853
- function hi(e) {
3854
- ee.set(e);
3825
+ function li(e) {
3826
+ te.set(e);
3855
3827
  }
3856
3828
  const ct = {
3857
3829
  en: {
@@ -3963,7 +3935,7 @@ const ct = {
3963
3935
  games: "games"
3964
3936
  }
3965
3937
  };
3966
- function li(e) {
3938
+ function fi(e) {
3967
3939
  Kt(e, "svelte-2l182v", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.CasinoCategories{display:flex;flex-direction:column;gap:1rem;padding:10px 60px}.CategoryTitle{font-weight:500;position:relative;right:30px;margin:10px 0;font-size:18px;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.Category{border-radius:7px;display:flex;align-items:center;gap:16px;max-width:300px}.Category.Active{box-shadow:15px 15px 30px var(--emw--color-gray-100, #E6E6E6)}.CategoryTextContainer{display:flex;flex-direction:column;justify-content:center;gap:10px;font-size:15px;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.CategoryTextContainer p:first-child{font-weight:600;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.CategoryTextContainer p:last-child{color:var(--emw--color-gray-150, #828282);font-weight:300}.CategoryImage{border-radius:4px;object-fit:cover;height:64px;width:64px;font-weight:100}.Message{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);font-weight:600}");
3968
3940
  }
3969
3941
  function gt(e, t, r) {
@@ -3974,20 +3946,20 @@ function mt(e, t, r) {
3974
3946
  const n = e.slice();
3975
3947
  return n[23] = t[r], n;
3976
3948
  }
3977
- function fi(e) {
3949
+ function ci(e) {
3978
3950
  let t, r, n = (
3979
3951
  /*$_*/
3980
3952
  e[5]("topCategories") + ""
3981
- ), i, s, o, a, l = (
3953
+ ), i, s, o, u, l = (
3982
3954
  /*$_*/
3983
3955
  e[5]("otherCategories") + ""
3984
- ), u, h, c = fe(
3956
+ ), a, h, c = ce(
3985
3957
  /*topCategories*/
3986
3958
  e[3]
3987
3959
  ), f = [];
3988
3960
  for (let g = 0; g < c.length; g += 1)
3989
3961
  f[g] = pt(mt(e, c, g));
3990
- let p = fe(
3962
+ let p = ce(
3991
3963
  /*otherCategories*/
3992
3964
  e[4]
3993
3965
  ), d = [];
@@ -3995,52 +3967,52 @@ function fi(e) {
3995
3967
  d[g] = dt(gt(e, p, g));
3996
3968
  return {
3997
3969
  c() {
3998
- t = S("div"), r = S("h4"), i = U(n), s = R();
3970
+ t = A("div"), r = A("h4"), i = G(n), s = U();
3999
3971
  for (let g = 0; g < f.length; g += 1)
4000
3972
  f[g].c();
4001
- o = R(), a = S("h4"), u = U(l), h = R();
3973
+ o = U(), u = A("h4"), a = G(l), h = U();
4002
3974
  for (let g = 0; g < d.length; g += 1)
4003
3975
  d[g].c();
4004
- L(r, "class", "CategoryTitle"), L(a, "class", "CategoryTitle"), L(t, "class", "CasinoCategories");
3976
+ L(r, "class", "CategoryTitle"), L(u, "class", "CategoryTitle"), L(t, "class", "CasinoCategories");
4005
3977
  },
4006
- m(g, x) {
4007
- k(g, t, x), v(t, r), v(r, i), v(t, s);
3978
+ m(g, E) {
3979
+ V(g, t, E), v(t, r), v(r, i), v(t, s);
4008
3980
  for (let m = 0; m < f.length; m += 1)
4009
3981
  f[m] && f[m].m(t, null);
4010
- v(t, o), v(t, a), v(a, u), v(t, h);
3982
+ v(t, o), v(t, u), v(u, a), v(t, h);
4011
3983
  for (let m = 0; m < d.length; m += 1)
4012
3984
  d[m] && d[m].m(t, null);
4013
3985
  },
4014
- p(g, x) {
4015
- if (x & /*$_*/
3986
+ p(g, E) {
3987
+ if (E & /*$_*/
4016
3988
  32 && n !== (n = /*$_*/
4017
- g[5]("topCategories") + "") && D(i, n), x & /*activecategory, topCategories, openGameCategory, $_*/
3989
+ g[5]("topCategories") + "") && F(i, n), E & /*activecategory, topCategories, openGameCategory, $_*/
4018
3990
  105) {
4019
- c = fe(
3991
+ c = ce(
4020
3992
  /*topCategories*/
4021
3993
  g[3]
4022
3994
  );
4023
3995
  let m;
4024
3996
  for (m = 0; m < c.length; m += 1) {
4025
- const H = mt(g, c, m);
4026
- f[m] ? f[m].p(H, x) : (f[m] = pt(H), f[m].c(), f[m].m(t, o));
3997
+ const T = mt(g, c, m);
3998
+ f[m] ? f[m].p(T, E) : (f[m] = pt(T), f[m].c(), f[m].m(t, o));
4027
3999
  }
4028
4000
  for (; m < f.length; m += 1)
4029
4001
  f[m].d(1);
4030
4002
  f.length = c.length;
4031
4003
  }
4032
- if (x & /*$_*/
4004
+ if (E & /*$_*/
4033
4005
  32 && l !== (l = /*$_*/
4034
- g[5]("otherCategories") + "") && D(u, l), x & /*activecategory, otherCategories, openGameCategory, $_*/
4006
+ g[5]("otherCategories") + "") && F(a, l), E & /*activecategory, otherCategories, openGameCategory, $_*/
4035
4007
  113) {
4036
- p = fe(
4008
+ p = ce(
4037
4009
  /*otherCategories*/
4038
4010
  g[4]
4039
4011
  );
4040
4012
  let m;
4041
4013
  for (m = 0; m < p.length; m += 1) {
4042
- const H = gt(g, p, m);
4043
- d[m] ? d[m].p(H, x) : (d[m] = dt(H), d[m].c(), d[m].m(t, null));
4014
+ const T = gt(g, p, m);
4015
+ d[m] ? d[m].p(T, E) : (d[m] = dt(T), d[m].c(), d[m].m(t, null));
4044
4016
  }
4045
4017
  for (; m < d.length; m += 1)
4046
4018
  d[m].d(1);
@@ -4048,36 +4020,36 @@ function fi(e) {
4048
4020
  }
4049
4021
  },
4050
4022
  d(g) {
4051
- g && F(t), Je(f, g), Je(d, g);
4023
+ g && j(t), qe(f, g), qe(d, g);
4052
4024
  }
4053
4025
  };
4054
4026
  }
4055
- function ci(e) {
4027
+ function gi(e) {
4056
4028
  let t;
4057
4029
  return {
4058
4030
  c() {
4059
- t = S("p"), t.textContent = "Loading, please wait...", L(t, "class", "Message");
4031
+ t = A("p"), t.textContent = "Loading, please wait...", L(t, "class", "Message");
4060
4032
  },
4061
4033
  m(r, n) {
4062
- k(r, t, n);
4034
+ V(r, t, n);
4063
4035
  },
4064
4036
  p: N,
4065
4037
  d(r) {
4066
- r && F(t);
4038
+ r && j(t);
4067
4039
  }
4068
4040
  };
4069
4041
  }
4070
4042
  function pt(e) {
4071
- let t, r, n, i, s, o, a, l = (
4043
+ let t, r, n, i, s, o, u, l = (
4072
4044
  /*category*/
4073
4045
  e[23].name + ""
4074
- ), u, h, c, f = (
4046
+ ), a, h, c, f = (
4075
4047
  /*category*/
4076
4048
  e[23].games.count + ""
4077
4049
  ), p, d, g = (
4078
4050
  /*$_*/
4079
4051
  e[5]("games") + ""
4080
- ), x, m, H, A;
4052
+ ), E, m, T, S;
4081
4053
  function O() {
4082
4054
  return (
4083
4055
  /*click_handler*/
@@ -4089,47 +4061,47 @@ function pt(e) {
4089
4061
  }
4090
4062
  return {
4091
4063
  c() {
4092
- t = S("div"), r = S("ui-image"), s = R(), o = S("div"), a = S("p"), u = U(l), h = R(), c = S("p"), p = U(f), d = R(), x = U(g), de(r.src, n = /*category*/
4064
+ t = A("div"), r = A("ui-image"), s = U(), o = A("div"), u = A("p"), a = G(l), h = U(), c = A("p"), p = G(f), d = U(), E = G(g), be(r.src, n = /*category*/
4093
4065
  e[23].icon) || $(r, "src", n), $(r, "alt", i = /*category*/
4094
4066
  e[23].name), $(r, "class", "CategoryImage"), L(o, "class", "CategoryTextContainer"), L(t, "class", m = "Category " + /*activecategory*/
4095
4067
  (e[0] === /*category*/
4096
4068
  e[23].id ? "Active" : ""));
4097
4069
  },
4098
- m(B, C) {
4099
- k(B, t, C), v(t, r), v(t, s), v(t, o), v(o, a), v(a, u), v(o, h), v(o, c), v(c, p), v(c, d), v(c, x), H || (A = Et(t, "click", O), H = !0);
4070
+ m(B, H) {
4071
+ V(B, t, H), v(t, r), v(t, s), v(t, o), v(o, u), v(u, a), v(o, h), v(o, c), v(c, p), v(c, d), v(c, E), T || (S = Et(t, "click", O), T = !0);
4100
4072
  },
4101
- p(B, C) {
4102
- e = B, C & /*topCategories*/
4103
- 8 && !de(r.src, n = /*category*/
4104
- e[23].icon) && $(r, "src", n), C & /*topCategories*/
4073
+ p(B, H) {
4074
+ e = B, H & /*topCategories*/
4075
+ 8 && !be(r.src, n = /*category*/
4076
+ e[23].icon) && $(r, "src", n), H & /*topCategories*/
4105
4077
  8 && i !== (i = /*category*/
4106
- e[23].name) && $(r, "alt", i), C & /*topCategories*/
4078
+ e[23].name) && $(r, "alt", i), H & /*topCategories*/
4107
4079
  8 && l !== (l = /*category*/
4108
- e[23].name + "") && D(u, l), C & /*topCategories*/
4080
+ e[23].name + "") && F(a, l), H & /*topCategories*/
4109
4081
  8 && f !== (f = /*category*/
4110
- e[23].games.count + "") && D(p, f), C & /*$_*/
4082
+ e[23].games.count + "") && F(p, f), H & /*$_*/
4111
4083
  32 && g !== (g = /*$_*/
4112
- e[5]("games") + "") && D(x, g), C & /*activecategory, topCategories*/
4084
+ e[5]("games") + "") && F(E, g), H & /*activecategory, topCategories*/
4113
4085
  9 && m !== (m = "Category " + /*activecategory*/
4114
4086
  (e[0] === /*category*/
4115
4087
  e[23].id ? "Active" : "")) && L(t, "class", m);
4116
4088
  },
4117
4089
  d(B) {
4118
- B && F(t), H = !1, A();
4090
+ B && j(t), T = !1, S();
4119
4091
  }
4120
4092
  };
4121
4093
  }
4122
4094
  function dt(e) {
4123
- let t, r, n, i, s, o, a, l = (
4095
+ let t, r, n, i, s, o, u, l = (
4124
4096
  /*category*/
4125
4097
  e[23].name + ""
4126
- ), u, h, c, f = (
4098
+ ), a, h, c, f = (
4127
4099
  /*category*/
4128
4100
  e[23].games.count + ""
4129
4101
  ), p, d, g = (
4130
4102
  /*$_*/
4131
4103
  e[5]("games") + ""
4132
- ), x, m, H, A, O;
4104
+ ), E, m, T, S, O;
4133
4105
  function B() {
4134
4106
  return (
4135
4107
  /*click_handler_1*/
@@ -4141,51 +4113,51 @@ function dt(e) {
4141
4113
  }
4142
4114
  return {
4143
4115
  c() {
4144
- t = S("div"), r = S("ui-image"), s = R(), o = S("div"), a = S("p"), u = U(l), h = R(), c = S("p"), p = U(f), d = R(), x = U(g), m = R(), de(r.src, n = /*category*/
4116
+ t = A("div"), r = A("ui-image"), s = U(), o = A("div"), u = A("p"), a = G(l), h = U(), c = A("p"), p = G(f), d = U(), E = G(g), m = U(), be(r.src, n = /*category*/
4145
4117
  e[23].icon) || $(r, "src", n), $(r, "alt", i = /*category*/
4146
- e[23].name), $(r, "class", "CategoryImage"), L(o, "class", "CategoryTextContainer"), L(t, "class", H = "Category " + /*activecategory*/
4118
+ e[23].name), $(r, "class", "CategoryImage"), L(o, "class", "CategoryTextContainer"), L(t, "class", T = "Category " + /*activecategory*/
4147
4119
  (e[0] === /*category*/
4148
4120
  e[23].id ? "Active" : ""));
4149
4121
  },
4150
- m(C, P) {
4151
- k(C, t, P), v(t, r), v(t, s), v(t, o), v(o, a), v(a, u), v(o, h), v(o, c), v(c, p), v(c, d), v(c, x), v(t, m), A || (O = Et(t, "click", B), A = !0);
4122
+ m(H, P) {
4123
+ V(H, t, P), v(t, r), v(t, s), v(t, o), v(o, u), v(u, a), v(o, h), v(o, c), v(c, p), v(c, d), v(c, E), v(t, m), S || (O = Et(t, "click", B), S = !0);
4152
4124
  },
4153
- p(C, P) {
4154
- e = C, P & /*otherCategories*/
4155
- 16 && !de(r.src, n = /*category*/
4125
+ p(H, P) {
4126
+ e = H, P & /*otherCategories*/
4127
+ 16 && !be(r.src, n = /*category*/
4156
4128
  e[23].icon) && $(r, "src", n), P & /*otherCategories*/
4157
4129
  16 && i !== (i = /*category*/
4158
4130
  e[23].name) && $(r, "alt", i), P & /*otherCategories*/
4159
4131
  16 && l !== (l = /*category*/
4160
- e[23].name + "") && D(u, l), P & /*otherCategories*/
4132
+ e[23].name + "") && F(a, l), P & /*otherCategories*/
4161
4133
  16 && f !== (f = /*category*/
4162
- e[23].games.count + "") && D(p, f), P & /*$_*/
4134
+ e[23].games.count + "") && F(p, f), P & /*$_*/
4163
4135
  32 && g !== (g = /*$_*/
4164
- e[5]("games") + "") && D(x, g), P & /*activecategory, otherCategories*/
4165
- 17 && H !== (H = "Category " + /*activecategory*/
4136
+ e[5]("games") + "") && F(E, g), P & /*activecategory, otherCategories*/
4137
+ 17 && T !== (T = "Category " + /*activecategory*/
4166
4138
  (e[0] === /*category*/
4167
- e[23].id ? "Active" : "")) && L(t, "class", H);
4139
+ e[23].id ? "Active" : "")) && L(t, "class", T);
4168
4140
  },
4169
- d(C) {
4170
- C && F(t), A = !1, O();
4141
+ d(H) {
4142
+ H && j(t), S = !1, O();
4171
4143
  }
4172
4144
  };
4173
4145
  }
4174
- function gi(e) {
4146
+ function mi(e) {
4175
4147
  let t;
4176
4148
  function r(s, o) {
4177
4149
  return (
4178
4150
  /*isLoading*/
4179
- s[2] ? ci : fi
4151
+ s[2] ? gi : ci
4180
4152
  );
4181
4153
  }
4182
4154
  let n = r(e), i = n(e);
4183
4155
  return {
4184
4156
  c() {
4185
- t = S("div"), i.c();
4157
+ t = A("div"), i.c();
4186
4158
  },
4187
4159
  m(s, o) {
4188
- k(s, t, o), i.m(t, null), e[17](t);
4160
+ V(s, t, o), i.m(t, null), e[17](t);
4189
4161
  },
4190
4162
  p(s, [o]) {
4191
4163
  n === (n = r(s)) && i ? i.p(s, o) : (i.d(1), i = n(s), i && (i.c(), i.m(t, null)));
@@ -4193,65 +4165,65 @@ function gi(e) {
4193
4165
  i: N,
4194
4166
  o: N,
4195
4167
  d(s) {
4196
- s && F(t), i.d(), e[17](null);
4168
+ s && j(t), i.d(), e[17](null);
4197
4169
  }
4198
4170
  };
4199
4171
  }
4200
- function mi(e, t, r) {
4172
+ function pi(e, t, r) {
4201
4173
  let n;
4202
- Yt(e, ui, (b) => r(5, n = b));
4203
- let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "en" } = t, { activecategory: a = "" } = t, { excludedflags: l = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: c = "" } = t, { mbsource: f } = t, p, d = !1;
4174
+ Yt(e, hi, (b) => r(5, n = b));
4175
+ let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "en" } = t, { activecategory: u = "" } = t, { excludedflags: l = "" } = t, { clientstyling: a = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: c = "" } = t, { mbsource: f } = t, p, d = !1;
4204
4176
  const g = [];
4205
- let x = [], m = [];
4177
+ let E = [], m = [];
4206
4178
  Object.keys(ct).forEach((b) => {
4207
4179
  ft(b, ct[b]);
4208
4180
  });
4209
- const H = () => {
4181
+ const T = () => {
4210
4182
  fetch(c).then((M) => M.json()).then((M) => {
4211
- Object.keys(M).forEach((he) => {
4212
- ft(he, M[he]);
4183
+ Object.keys(M).forEach((le) => {
4184
+ ft(le, M[le]);
4213
4185
  });
4214
4186
  }).catch((M) => {
4215
4187
  console.log(M);
4216
4188
  });
4217
- }, A = () => {
4189
+ }, S = () => {
4218
4190
  r(2, d = !0);
4219
4191
  const b = new URL(`${i}/v1/casino/groups/${s}`);
4220
4192
  b.searchParams.append("language", o), fetch(b).then((M) => M.json()).then((M) => {
4221
4193
  r(2, d = !1);
4222
- const he = l.split(",").map((j) => j.trim());
4194
+ const le = l.split(",").map((k) => k.trim());
4223
4195
  g.push(...M.items);
4224
- const Ze = g.filter((j) => !he.some((Jt) => j.flags?.indexOf(Jt) >= 0));
4225
- r(3, x = Ze.filter((j) => j.isTopCategory === !0)), r(4, m = Ze.filter((j) => j.isTopCategory === !1));
4196
+ const Ze = g.filter((k) => !le.some((qt) => k.flags?.indexOf(qt) >= 0));
4197
+ r(3, E = Ze.filter((k) => k.isTopCategory === !0)), r(4, m = Ze.filter((k) => k.isTopCategory === !1));
4226
4198
  });
4227
4199
  }, O = (b) => {
4228
4200
  window.postMessage({ type: "OpenGameCategory", categoryId: b }, window.location.href);
4229
4201
  }, B = () => {
4230
- hi(o);
4202
+ li(o);
4231
4203
  };
4232
4204
  or(() => () => {
4233
4205
  });
4234
- const C = (b) => O(b.id), P = (b) => O(b.id);
4206
+ const H = (b) => O(b.id), P = (b) => O(b.id);
4235
4207
  function Qt(b) {
4236
- Pe[b ? "unshift" : "push"](() => {
4208
+ Le[b ? "unshift" : "push"](() => {
4237
4209
  p = b, r(1, p);
4238
4210
  });
4239
4211
  }
4240
4212
  return e.$$set = (b) => {
4241
- "endpoint" in b && r(7, i = b.endpoint), "datasource" in b && r(8, s = b.datasource), "lang" in b && r(9, o = b.lang), "activecategory" in b && r(0, a = b.activecategory), "excludedflags" in b && r(10, l = b.excludedflags), "clientstyling" in b && r(11, u = b.clientstyling), "clientstylingurl" in b && r(12, h = b.clientstylingurl), "translationurl" in b && r(13, c = b.translationurl), "mbsource" in b && r(14, f = b.mbsource);
4213
+ "endpoint" in b && r(7, i = b.endpoint), "datasource" in b && r(8, s = b.datasource), "lang" in b && r(9, o = b.lang), "activecategory" in b && r(0, u = b.activecategory), "excludedflags" in b && r(10, l = b.excludedflags), "clientstyling" in b && r(11, a = b.clientstyling), "clientstylingurl" in b && r(12, h = b.clientstylingurl), "translationurl" in b && r(13, c = b.translationurl), "mbsource" in b && r(14, f = b.mbsource);
4242
4214
  }, e.$$.update = () => {
4243
4215
  e.$$.dirty & /*endpoint, datasource*/
4244
- 384 && i && s && A(), e.$$.dirty & /*translationurl*/
4245
- 8192 && c && H(), e.$$.dirty & /*lang*/
4216
+ 384 && i && s && S(), e.$$.dirty & /*translationurl*/
4217
+ 8192 && c && T(), e.$$.dirty & /*lang*/
4246
4218
  512 && o && B(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4247
- 2050 && u && p && _r(p, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4219
+ 2050 && a && p && _r(p, a), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4248
4220
  4098 && h && p && yr(p, h), e.$$.dirty & /*mbsource, customStylingContainer*/
4249
4221
  16386 && f && p && Er(p, `${f}.Style`);
4250
4222
  }, [
4251
- a,
4223
+ u,
4252
4224
  p,
4253
4225
  d,
4254
- x,
4226
+ E,
4255
4227
  m,
4256
4228
  n,
4257
4229
  O,
@@ -4259,11 +4231,11 @@ function mi(e, t, r) {
4259
4231
  s,
4260
4232
  o,
4261
4233
  l,
4262
- u,
4234
+ a,
4263
4235
  h,
4264
4236
  c,
4265
4237
  f,
4266
- C,
4238
+ H,
4267
4239
  P,
4268
4240
  Qt
4269
4241
  ];
@@ -4273,8 +4245,8 @@ class Zt extends dr {
4273
4245
  super(), mr(
4274
4246
  this,
4275
4247
  t,
4248
+ pi,
4276
4249
  mi,
4277
- gi,
4278
4250
  _t,
4279
4251
  {
4280
4252
  endpoint: 7,
@@ -4287,7 +4259,7 @@ class Zt extends dr {
4287
4259
  translationurl: 13,
4288
4260
  mbsource: 14
4289
4261
  },
4290
- li
4262
+ fi
4291
4263
  );
4292
4264
  }
4293
4265
  get endpoint() {
@@ -4346,50 +4318,46 @@ class Zt extends dr {
4346
4318
  }
4347
4319
  }
4348
4320
  pr(Zt, { endpoint: {}, datasource: {}, lang: {}, activecategory: {}, excludedflags: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
4349
- const Ti = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4321
+ const xi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4350
4322
  __proto__: null,
4351
4323
  default: Zt
4352
4324
  }, Symbol.toStringTag, { value: "Module" }));
4353
4325
  export {
4354
- ee as $,
4355
- vi as A,
4356
- Ee as B,
4357
- de as C,
4358
- _i as D,
4359
- di as E,
4360
- fe as F,
4361
- Je as G,
4362
- yi as H,
4363
- Ei as I,
4364
- rr as J,
4365
- bi as K,
4366
- Ti as L,
4326
+ te as $,
4327
+ yi as A,
4328
+ bi as B,
4329
+ ce as C,
4330
+ qe as D,
4331
+ vi as E,
4332
+ rr as F,
4333
+ _i as G,
4334
+ Ei as H,
4335
+ xi as I,
4367
4336
  dr as S,
4368
- xi as _,
4369
4337
  kt as a,
4370
4338
  Kt as b,
4371
- pr as c,
4372
- R as d,
4373
- S as e,
4339
+ F as c,
4340
+ j as d,
4341
+ L as e,
4374
4342
  I as f,
4375
- L as g,
4376
- $ as h,
4343
+ $ as g,
4344
+ V as h,
4377
4345
  mr as i,
4378
- k as j,
4379
- v as k,
4346
+ v as j,
4347
+ A as k,
4380
4348
  Et as l,
4381
- D as m,
4349
+ U as m,
4382
4350
  N as n,
4383
- F as o,
4384
- Yt as p,
4385
- or as q,
4386
- ae as r,
4351
+ Yt as o,
4352
+ or as p,
4353
+ Le as q,
4354
+ ue as r,
4387
4355
  _t as s,
4388
- U as t,
4389
- Er as u,
4390
- Pe as v,
4391
- _r as w,
4392
- yr as x,
4393
- ui as y,
4394
- Ce as z
4356
+ G as t,
4357
+ _r as u,
4358
+ yr as v,
4359
+ Er as w,
4360
+ pr as x,
4361
+ hi as y,
4362
+ be as z
4395
4363
  };