@everymatrix/casino-collections-providers 1.61.0 → 1.62.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,29 +1,29 @@
1
- import "../stencil/ui-image-BNrzgSpe.js";
1
+ import "../stencil/ui-image-BQa5UbqU.js";
2
2
  function A() {
3
3
  }
4
- function Ft(e) {
4
+ function Vt(e) {
5
5
  return e();
6
6
  }
7
- function ct() {
7
+ function pt() {
8
8
  return /* @__PURE__ */ Object.create(null);
9
9
  }
10
10
  function re(e) {
11
- e.forEach(Ft);
11
+ e.forEach(Vt);
12
12
  }
13
- function tt(e) {
13
+ function rt(e) {
14
14
  return typeof e == "function";
15
15
  }
16
- function jt(e, t) {
16
+ function Xt(e, t) {
17
17
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
18
18
  }
19
19
  let fe;
20
20
  function ye(e, t) {
21
21
  return e === t ? !0 : (fe || (fe = document.createElement("a")), fe.href = t, e === fe.href);
22
22
  }
23
- function Nr(e) {
23
+ function Gr(e) {
24
24
  return Object.keys(e).length === 0;
25
25
  }
26
- function kt(e, ...t) {
26
+ function Wt(e, ...t) {
27
27
  if (e == null) {
28
28
  for (const n of t)
29
29
  n(void 0);
@@ -32,20 +32,20 @@ function kt(e, ...t) {
32
32
  const r = e.subscribe(...t);
33
33
  return r.unsubscribe ? () => r.unsubscribe() : r;
34
34
  }
35
- function Mr(e, t, r) {
36
- e.$$.on_destroy.push(kt(t, r));
35
+ function Ur(e, t, r) {
36
+ e.$$.on_destroy.push(Wt(t, r));
37
37
  }
38
38
  function T(e, t) {
39
39
  e.appendChild(t);
40
40
  }
41
- function Rr(e, t, r) {
42
- const n = $r(e);
41
+ function Dr(e, t, r) {
42
+ const n = Fr(e);
43
43
  if (!n.getElementById(t)) {
44
44
  const i = H("style");
45
- i.id = t, i.textContent = r, Gr(n, i);
45
+ i.id = t, i.textContent = r, jr(n, i);
46
46
  }
47
47
  }
48
- function $r(e) {
48
+ function Fr(e) {
49
49
  if (!e)
50
50
  return document;
51
51
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -55,7 +55,7 @@ function $r(e) {
55
55
  t
56
56
  ) : e.ownerDocument;
57
57
  }
58
- function Gr(e, t) {
58
+ function jr(e, t) {
59
59
  return T(
60
60
  /** @type {Document} */
61
61
  e.head || e,
@@ -68,7 +68,7 @@ function G(e, t, r) {
68
68
  function I(e) {
69
69
  e.parentNode && e.parentNode.removeChild(e);
70
70
  }
71
- function Vt(e, t) {
71
+ function zt(e, t) {
72
72
  for (let r = 0; r < e.length; r += 1)
73
73
  e[r] && e[r].d(t);
74
74
  }
@@ -84,7 +84,7 @@ function V() {
84
84
  function _e(e, t, r, n) {
85
85
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
86
86
  }
87
- function Ur(e) {
87
+ function kr(e) {
88
88
  return function(t) {
89
89
  return t.stopPropagation(), e.call(this, t);
90
90
  };
@@ -96,17 +96,17 @@ function $(e, t, r) {
96
96
  const n = t.toLowerCase();
97
97
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : C(e, t, r);
98
98
  }
99
- function Dr(e) {
99
+ function Vr(e) {
100
100
  return Array.from(e.childNodes);
101
101
  }
102
- function rt(e, t) {
102
+ function nt(e, t) {
103
103
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
104
104
  t);
105
105
  }
106
106
  function Le(e, t, r, n) {
107
107
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
108
108
  }
109
- function Fr(e) {
109
+ function Xr(e) {
110
110
  const t = {};
111
111
  return e.childNodes.forEach(
112
112
  /** @param {Element} node */
@@ -119,22 +119,22 @@ let le;
119
119
  function ae(e) {
120
120
  le = e;
121
121
  }
122
- function jr() {
122
+ function Wr() {
123
123
  if (!le)
124
124
  throw new Error("Function called outside component initialization");
125
125
  return le;
126
126
  }
127
- function kr(e) {
128
- jr().$$.on_mount.push(e);
127
+ function zr(e) {
128
+ Wr().$$.on_mount.push(e);
129
129
  }
130
- const Q = [], xe = [];
130
+ const Q = [], Ee = [];
131
131
  let q = [];
132
- const ft = [], Vr = /* @__PURE__ */ Promise.resolve();
133
- let De = !1;
134
- function Xr() {
135
- De || (De = !0, Vr.then(O));
132
+ const mt = [], Zr = /* @__PURE__ */ Promise.resolve();
133
+ let Fe = !1;
134
+ function Qr() {
135
+ Fe || (Fe = !0, Zr.then(O));
136
136
  }
137
- function Fe(e) {
137
+ function je(e) {
138
138
  q.push(e);
139
139
  }
140
140
  const Ie = /* @__PURE__ */ new Set();
@@ -147,56 +147,56 @@ function O() {
147
147
  try {
148
148
  for (; z < Q.length; ) {
149
149
  const t = Q[z];
150
- z++, ae(t), Wr(t.$$);
150
+ z++, ae(t), qr(t.$$);
151
151
  }
152
152
  } catch (t) {
153
153
  throw Q.length = 0, z = 0, t;
154
154
  }
155
- for (ae(null), Q.length = 0, z = 0; xe.length; )
156
- xe.pop()();
155
+ for (ae(null), Q.length = 0, z = 0; Ee.length; )
156
+ Ee.pop()();
157
157
  for (let t = 0; t < q.length; t += 1) {
158
158
  const r = q[t];
159
159
  Ie.has(r) || (Ie.add(r), r());
160
160
  }
161
161
  q.length = 0;
162
162
  } while (Q.length);
163
- for (; ft.length; )
164
- ft.pop()();
165
- De = !1, Ie.clear(), ae(e);
163
+ for (; mt.length; )
164
+ mt.pop()();
165
+ Fe = !1, Ie.clear(), ae(e);
166
166
  }
167
- function Wr(e) {
167
+ function qr(e) {
168
168
  if (e.fragment !== null) {
169
169
  e.update(), re(e.before_update);
170
170
  const t = e.dirty;
171
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Fe);
171
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(je);
172
172
  }
173
173
  }
174
- function zr(e) {
174
+ function Jr(e) {
175
175
  const t = [], r = [];
176
176
  q.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), q = t;
177
177
  }
178
- const Zr = /* @__PURE__ */ new Set();
179
- function Qr(e, t) {
180
- e && e.i && (Zr.delete(e), e.i(t));
178
+ const Yr = /* @__PURE__ */ new Set();
179
+ function Kr(e, t) {
180
+ e && e.i && (Yr.delete(e), e.i(t));
181
181
  }
182
- function Ee(e) {
182
+ function xe(e) {
183
183
  return e?.length !== void 0 ? e : Array.from(e);
184
184
  }
185
- function qr(e, t, r) {
185
+ function en(e, t, r) {
186
186
  const { fragment: n, after_update: i } = e.$$;
187
- n && n.m(t, r), Fe(() => {
188
- const o = e.$$.on_mount.map(Ft).filter(tt);
187
+ n && n.m(t, r), je(() => {
188
+ const o = e.$$.on_mount.map(Vt).filter(rt);
189
189
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : re(o), e.$$.on_mount = [];
190
- }), i.forEach(Fe);
190
+ }), i.forEach(je);
191
191
  }
192
- function Jr(e, t) {
192
+ function tn(e, t) {
193
193
  const r = e.$$;
194
- r.fragment !== null && (zr(r.after_update), re(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
194
+ r.fragment !== null && (Jr(r.after_update), re(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
195
195
  }
196
- function Yr(e, t) {
197
- e.$$.dirty[0] === -1 && (Q.push(e), Xr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
196
+ function rn(e, t) {
197
+ e.$$.dirty[0] === -1 && (Q.push(e), Qr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
198
198
  }
199
- function Kr(e, t, r, n, i, o, s = null, a = [-1]) {
199
+ function nn(e, t, r, n, i, o, s = null, a = [-1]) {
200
200
  const h = le;
201
201
  ae(e);
202
202
  const u = e.$$ = {
@@ -206,7 +206,7 @@ function Kr(e, t, r, n, i, o, s = null, a = [-1]) {
206
206
  props: o,
207
207
  update: A,
208
208
  not_equal: i,
209
- bound: ct(),
209
+ bound: pt(),
210
210
  // lifecycle
211
211
  on_mount: [],
212
212
  on_destroy: [],
@@ -215,7 +215,7 @@ function Kr(e, t, r, n, i, o, s = null, a = [-1]) {
215
215
  after_update: [],
216
216
  context: new Map(t.context || (h ? h.$$.context : [])),
217
217
  // everything else
218
- callbacks: ct(),
218
+ callbacks: pt(),
219
219
  dirty: a,
220
220
  skip_bound: !1,
221
221
  root: t.target || h.$$.root
@@ -224,19 +224,19 @@ function Kr(e, t, r, n, i, o, s = null, a = [-1]) {
224
224
  let l = !1;
225
225
  if (u.ctx = r ? r(e, t.props || {}, (f, c, ...d) => {
226
226
  const m = d.length ? d[0] : c;
227
- return u.ctx && i(u.ctx[f], u.ctx[f] = m) && (!u.skip_bound && u.bound[f] && u.bound[f](m), l && Yr(e, f)), c;
227
+ return u.ctx && i(u.ctx[f], u.ctx[f] = m) && (!u.skip_bound && u.bound[f] && u.bound[f](m), l && rn(e, f)), c;
228
228
  }) : [], u.update(), l = !0, re(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
229
229
  if (t.hydrate) {
230
- const f = Dr(t.target);
230
+ const f = Vr(t.target);
231
231
  u.fragment && u.fragment.l(f), f.forEach(I);
232
232
  } else
233
233
  u.fragment && u.fragment.c();
234
- t.intro && Qr(e.$$.fragment), qr(e, t.target, t.anchor), O();
234
+ t.intro && Kr(e.$$.fragment), en(e, t.target, t.anchor), O();
235
235
  }
236
236
  ae(h);
237
237
  }
238
- let Xt;
239
- typeof HTMLElement == "function" && (Xt = class extends HTMLElement {
238
+ let Zt;
239
+ typeof HTMLElement == "function" && (Zt = class extends HTMLElement {
240
240
  /** The Svelte component constructor */
241
241
  $$ctor;
242
242
  /** Slots */
@@ -295,7 +295,7 @@ typeof HTMLElement == "function" && (Xt = class extends HTMLElement {
295
295
  };
296
296
  if (await Promise.resolve(), !this.$$cn || this.$$c)
297
297
  return;
298
- const t = {}, r = Fr(this);
298
+ const t = {}, r = Xr(this);
299
299
  for (const i of this.$$s)
300
300
  i in r && (t[i] = [e(i)]);
301
301
  for (const i of this.attributes) {
@@ -382,8 +382,8 @@ function me(e, t, r, n) {
382
382
  return t;
383
383
  }
384
384
  }
385
- function en(e, t, r, n, i, o) {
386
- let s = class extends Xt {
385
+ function on(e, t, r, n, i, o) {
386
+ let s = class extends Zt {
387
387
  constructor() {
388
388
  super(e, r, i), this.$$p_d = t;
389
389
  }
@@ -411,7 +411,7 @@ function en(e, t, r, n, i, o) {
411
411
  }), e.element = /** @type {any} */
412
412
  s, s;
413
413
  }
414
- class tn {
414
+ class sn {
415
415
  /**
416
416
  * ### PRIVATE API
417
417
  *
@@ -430,7 +430,7 @@ class tn {
430
430
  $$set = void 0;
431
431
  /** @returns {void} */
432
432
  $destroy() {
433
- Jr(this, 1), this.$destroy = A;
433
+ tn(this, 1), this.$destroy = A;
434
434
  }
435
435
  /**
436
436
  * @template {Extract<keyof Events, string>} K
@@ -439,7 +439,7 @@ class tn {
439
439
  * @returns {() => void}
440
440
  */
441
441
  $on(t, r) {
442
- if (!tt(r))
442
+ if (!rt(r))
443
443
  return A;
444
444
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
445
445
  return n.push(r), () => {
@@ -452,13 +452,13 @@ class tn {
452
452
  * @returns {void}
453
453
  */
454
454
  $set(t) {
455
- this.$$set && !Nr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
455
+ this.$$set && !Gr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
456
456
  }
457
457
  }
458
- const rn = "4";
459
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(rn);
458
+ const an = "4";
459
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(an);
460
460
  const Z = [];
461
- function nn(e, t) {
461
+ function ln(e, t) {
462
462
  return {
463
463
  subscribe: He(e, t).subscribe
464
464
  };
@@ -467,7 +467,7 @@ function He(e, t = A) {
467
467
  let r;
468
468
  const n = /* @__PURE__ */ new Set();
469
469
  function i(a) {
470
- if (jt(e, a) && (e = a, r)) {
470
+ if (Xt(e, a) && (e = a, r)) {
471
471
  const h = !Z.length;
472
472
  for (const u of n)
473
473
  u[1](), Z.push(u, e);
@@ -494,7 +494,7 @@ function ne(e, t, r) {
494
494
  if (!i.every(Boolean))
495
495
  throw new Error("derived() expects stores as input, got a falsy value");
496
496
  const o = t.length < 2;
497
- return nn(r, (s, a) => {
497
+ return ln(r, (s, a) => {
498
498
  let h = !1;
499
499
  const u = [];
500
500
  let l = 0, f = A;
@@ -503,9 +503,9 @@ function ne(e, t, r) {
503
503
  return;
504
504
  f();
505
505
  const m = t(n ? u[0] : u, s, a);
506
- o ? s(m) : f = tt(m) ? m : A;
506
+ o ? s(m) : f = rt(m) ? m : A;
507
507
  }, d = i.map(
508
- (m, b) => kt(
508
+ (m, b) => Wt(
509
509
  m,
510
510
  (g) => {
511
511
  u[b] = g, l &= ~(1 << b), h && c();
@@ -520,70 +520,70 @@ function ne(e, t, r) {
520
520
  };
521
521
  });
522
522
  }
523
- function on(e) {
523
+ function un(e) {
524
524
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
525
525
  }
526
- var sn = function(t) {
527
- return an(t) && !ln(t);
526
+ var hn = function(t) {
527
+ return cn(t) && !fn(t);
528
528
  };
529
- function an(e) {
529
+ function cn(e) {
530
530
  return !!e && typeof e == "object";
531
531
  }
532
- function ln(e) {
532
+ function fn(e) {
533
533
  var t = Object.prototype.toString.call(e);
534
- return t === "[object RegExp]" || t === "[object Date]" || cn(e);
534
+ return t === "[object RegExp]" || t === "[object Date]" || mn(e);
535
535
  }
536
- var un = typeof Symbol == "function" && Symbol.for, hn = un ? Symbol.for("react.element") : 60103;
537
- function cn(e) {
538
- return e.$$typeof === hn;
536
+ var dn = typeof Symbol == "function" && Symbol.for, pn = dn ? Symbol.for("react.element") : 60103;
537
+ function mn(e) {
538
+ return e.$$typeof === pn;
539
539
  }
540
- function fn(e) {
540
+ function bn(e) {
541
541
  return Array.isArray(e) ? [] : {};
542
542
  }
543
543
  function ue(e, t) {
544
- return t.clone !== !1 && t.isMergeableObject(e) ? Y(fn(e), e, t) : e;
544
+ return t.clone !== !1 && t.isMergeableObject(e) ? Y(bn(e), e, t) : e;
545
545
  }
546
- function dn(e, t, r) {
546
+ function gn(e, t, r) {
547
547
  return e.concat(t).map(function(n) {
548
548
  return ue(n, r);
549
549
  });
550
550
  }
551
- function pn(e, t) {
551
+ function vn(e, t) {
552
552
  if (!t.customMerge)
553
553
  return Y;
554
554
  var r = t.customMerge(e);
555
555
  return typeof r == "function" ? r : Y;
556
556
  }
557
- function mn(e) {
557
+ function yn(e) {
558
558
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
559
559
  return Object.propertyIsEnumerable.call(e, t);
560
560
  }) : [];
561
561
  }
562
- function dt(e) {
563
- return Object.keys(e).concat(mn(e));
562
+ function bt(e) {
563
+ return Object.keys(e).concat(yn(e));
564
564
  }
565
- function Wt(e, t) {
565
+ function Qt(e, t) {
566
566
  try {
567
567
  return t in e;
568
568
  } catch {
569
569
  return !1;
570
570
  }
571
571
  }
572
- function bn(e, t) {
573
- return Wt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
572
+ function _n(e, t) {
573
+ return Qt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
574
574
  }
575
- function gn(e, t, r) {
575
+ function En(e, t, r) {
576
576
  var n = {};
577
- return r.isMergeableObject(e) && dt(e).forEach(function(i) {
577
+ return r.isMergeableObject(e) && bt(e).forEach(function(i) {
578
578
  n[i] = ue(e[i], r);
579
- }), dt(t).forEach(function(i) {
580
- bn(e, i) || (Wt(e, i) && r.isMergeableObject(t[i]) ? n[i] = pn(i, r)(e[i], t[i], r) : n[i] = ue(t[i], r));
579
+ }), bt(t).forEach(function(i) {
580
+ _n(e, i) || (Qt(e, i) && r.isMergeableObject(t[i]) ? n[i] = vn(i, r)(e[i], t[i], r) : n[i] = ue(t[i], r));
581
581
  }), n;
582
582
  }
583
583
  function Y(e, t, r) {
584
- r = r || {}, r.arrayMerge = r.arrayMerge || dn, r.isMergeableObject = r.isMergeableObject || sn, r.cloneUnlessOtherwiseSpecified = ue;
584
+ r = r || {}, r.arrayMerge = r.arrayMerge || gn, r.isMergeableObject = r.isMergeableObject || hn, r.cloneUnlessOtherwiseSpecified = ue;
585
585
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
586
- return o ? n ? r.arrayMerge(e, t, r) : gn(e, t, r) : ue(t, r);
586
+ return o ? n ? r.arrayMerge(e, t, r) : En(e, t, r) : ue(t, r);
587
587
  }
588
588
  Y.all = function(t, r) {
589
589
  if (!Array.isArray(t))
@@ -592,8 +592,8 @@ Y.all = function(t, r) {
592
592
  return Y(n, i, r);
593
593
  }, {});
594
594
  };
595
- var vn = Y, yn = vn;
596
- const _n = /* @__PURE__ */ on(yn);
595
+ var xn = Y, Sn = xn;
596
+ const wn = /* @__PURE__ */ un(Sn);
597
597
  /*! *****************************************************************************
598
598
  Copyright (c) Microsoft Corporation.
599
599
 
@@ -608,18 +608,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
608
608
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
609
609
  PERFORMANCE OF THIS SOFTWARE.
610
610
  ***************************************************************************** */
611
- var je = function(e, t) {
612
- return je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
611
+ var ke = function(e, t) {
612
+ return ke = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
613
613
  r.__proto__ = n;
614
614
  } || function(r, n) {
615
615
  for (var i in n)
616
616
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
617
- }, je(e, t);
617
+ }, ke(e, t);
618
618
  };
619
619
  function D(e, t) {
620
620
  if (typeof t != "function" && t !== null)
621
621
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
622
- je(e, t);
622
+ ke(e, t);
623
623
  function r() {
624
624
  this.constructor = e;
625
625
  }
@@ -635,7 +635,7 @@ var _ = function() {
635
635
  return t;
636
636
  }, _.apply(this, arguments);
637
637
  };
638
- function xn(e, t) {
638
+ function Tn(e, t) {
639
639
  var r = {};
640
640
  for (var n in e)
641
641
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -644,7 +644,7 @@ function xn(e, t) {
644
644
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
645
645
  return r;
646
646
  }
647
- function ke(e) {
647
+ function Ve(e) {
648
648
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
649
649
  if (r)
650
650
  return r.call(e);
@@ -656,7 +656,7 @@ function ke(e) {
656
656
  };
657
657
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
658
658
  }
659
- function Ve(e, t) {
659
+ function Xe(e, t) {
660
660
  var r = typeof Symbol == "function" && e[Symbol.iterator];
661
661
  if (!r)
662
662
  return e;
@@ -683,53 +683,55 @@ function J(e, t, r) {
683
683
  return e.concat(o || t);
684
684
  }
685
685
  function Ne(e, t) {
686
- var r = t && t.cache ? t.cache : Pn, n = t && t.serializer ? t.serializer : Hn, i = t && t.strategy ? t.strategy : wn;
686
+ var r = t && t.cache ? t.cache : On, n = t && t.serializer ? t.serializer : An, i = t && t.strategy ? t.strategy : Cn;
687
687
  return i(e, {
688
688
  cache: r,
689
689
  serializer: n
690
690
  });
691
691
  }
692
- function En(e) {
692
+ function Hn(e) {
693
693
  return e == null || typeof e == "number" || typeof e == "boolean";
694
694
  }
695
- function Sn(e, t, r, n) {
696
- var i = En(n) ? n : r(n), o = t.get(i);
695
+ function qt(e, t, r, n) {
696
+ var i = Hn(n) ? n : r(n), o = t.get(i);
697
697
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
698
698
  }
699
- function zt(e, t, r) {
699
+ function Jt(e, t, r) {
700
700
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
701
701
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
702
702
  }
703
- function Zt(e, t, r, n, i) {
703
+ function it(e, t, r, n, i) {
704
704
  return r.bind(t, e, n, i);
705
705
  }
706
- function wn(e, t) {
707
- var r = e.length === 1 ? Sn : zt;
708
- return Zt(e, this, r, t.cache.create(), t.serializer);
706
+ function Cn(e, t) {
707
+ var r = e.length === 1 ? qt : Jt;
708
+ return it(e, this, r, t.cache.create(), t.serializer);
709
709
  }
710
- function Tn(e, t) {
711
- return Zt(e, this, zt, t.cache.create(), t.serializer);
710
+ function Pn(e, t) {
711
+ return it(e, this, Jt, t.cache.create(), t.serializer);
712
+ }
713
+ function Bn(e, t) {
714
+ return it(e, this, qt, t.cache.create(), t.serializer);
712
715
  }
713
- var Hn = function() {
716
+ var An = function() {
714
717
  return JSON.stringify(arguments);
715
- }, Cn = (
716
- /** @class */
717
- function() {
718
- function e() {
719
- this.cache = /* @__PURE__ */ Object.create(null);
720
- }
721
- return e.prototype.get = function(t) {
722
- return this.cache[t];
723
- }, e.prototype.set = function(t, r) {
724
- this.cache[t] = r;
725
- }, e;
726
- }()
727
- ), Pn = {
718
+ };
719
+ function ot() {
720
+ this.cache = /* @__PURE__ */ Object.create(null);
721
+ }
722
+ ot.prototype.get = function(e) {
723
+ return this.cache[e];
724
+ };
725
+ ot.prototype.set = function(e, t) {
726
+ this.cache[e] = t;
727
+ };
728
+ var On = {
728
729
  create: function() {
729
- return new Cn();
730
+ return new ot();
730
731
  }
731
732
  }, Me = {
732
- variadic: Tn
733
+ variadic: Pn,
734
+ monadic: Bn
733
735
  }, v;
734
736
  (function(e) {
735
737
  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";
@@ -742,43 +744,43 @@ var K;
742
744
  (function(e) {
743
745
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
744
746
  })(K || (K = {}));
745
- function pt(e) {
747
+ function gt(e) {
746
748
  return e.type === S.literal;
747
749
  }
748
- function Bn(e) {
750
+ function Ln(e) {
749
751
  return e.type === S.argument;
750
752
  }
751
- function Qt(e) {
753
+ function Yt(e) {
752
754
  return e.type === S.number;
753
755
  }
754
- function qt(e) {
756
+ function Kt(e) {
755
757
  return e.type === S.date;
756
758
  }
757
- function Jt(e) {
759
+ function er(e) {
758
760
  return e.type === S.time;
759
761
  }
760
- function Yt(e) {
762
+ function tr(e) {
761
763
  return e.type === S.select;
762
764
  }
763
- function Kt(e) {
765
+ function rr(e) {
764
766
  return e.type === S.plural;
765
767
  }
766
- function An(e) {
768
+ function In(e) {
767
769
  return e.type === S.pound;
768
770
  }
769
- function er(e) {
771
+ function nr(e) {
770
772
  return e.type === S.tag;
771
773
  }
772
- function tr(e) {
774
+ function ir(e) {
773
775
  return !!(e && typeof e == "object" && e.type === K.number);
774
776
  }
775
- function Xe(e) {
777
+ function We(e) {
776
778
  return !!(e && typeof e == "object" && e.type === K.dateTime);
777
779
  }
778
- var rr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, On = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
779
- function Ln(e) {
780
+ var or = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Nn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
781
+ function Mn(e) {
780
782
  var t = {};
781
- return e.replace(On, function(r) {
783
+ return e.replace(Nn, function(r) {
782
784
  var n = r.length;
783
785
  switch (r[0]) {
784
786
  case "G":
@@ -867,11 +869,11 @@ function Ln(e) {
867
869
  return "";
868
870
  }), t;
869
871
  }
870
- var In = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
871
- function Nn(e) {
872
+ var Rn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
873
+ function $n(e) {
872
874
  if (e.length === 0)
873
875
  throw new Error("Number skeleton cannot be empty");
874
- for (var t = e.split(In).filter(function(c) {
876
+ for (var t = e.split(Rn).filter(function(c) {
875
877
  return c.length > 0;
876
878
  }), r = [], n = 0, i = t; n < i.length; n++) {
877
879
  var o = i[n], s = o.split("/");
@@ -886,17 +888,17 @@ function Nn(e) {
886
888
  }
887
889
  return r;
888
890
  }
889
- function Mn(e) {
891
+ function Gn(e) {
890
892
  return e.replace(/^(.*?)-/, "");
891
893
  }
892
- var mt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, nr = /^(@+)?(\+|#+)?[rs]?$/g, Rn = /(\*)(0+)|(#+)(0+)|(0+)/g, ir = /^(0+)$/;
893
- function bt(e) {
894
+ var vt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, sr = /^(@+)?(\+|#+)?[rs]?$/g, Un = /(\*)(0+)|(#+)(0+)|(0+)/g, ar = /^(0+)$/;
895
+ function yt(e) {
894
896
  var t = {};
895
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(nr, function(r, n, i) {
897
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(sr, function(r, n, i) {
896
898
  return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
897
899
  }), t;
898
900
  }
899
- function or(e) {
901
+ function lr(e) {
900
902
  switch (e) {
901
903
  case "sign-auto":
902
904
  return {
@@ -936,7 +938,7 @@ function or(e) {
936
938
  };
937
939
  }
938
940
  }
939
- function $n(e) {
941
+ function Dn(e) {
940
942
  var t;
941
943
  if (e[0] === "E" && e[1] === "E" ? (t = {
942
944
  notation: "engineering"
@@ -944,17 +946,17 @@ function $n(e) {
944
946
  notation: "scientific"
945
947
  }, e = e.slice(1)), t) {
946
948
  var r = e.slice(0, 2);
947
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !ir.test(e))
949
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !ar.test(e))
948
950
  throw new Error("Malformed concise eng/scientific notation");
949
951
  t.minimumIntegerDigits = e.length;
950
952
  }
951
953
  return t;
952
954
  }
953
- function gt(e) {
954
- var t = {}, r = or(e);
955
+ function _t(e) {
956
+ var t = {}, r = lr(e);
955
957
  return r || t;
956
958
  }
957
- function Gn(e) {
959
+ function Fn(e) {
958
960
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
959
961
  var i = n[r];
960
962
  switch (i.stem) {
@@ -978,7 +980,7 @@ function Gn(e) {
978
980
  continue;
979
981
  case "measure-unit":
980
982
  case "unit":
981
- t.style = "unit", t.unit = Mn(i.options[0]);
983
+ t.style = "unit", t.unit = Gn(i.options[0]);
982
984
  continue;
983
985
  case "compact-short":
984
986
  case "K":
@@ -990,12 +992,12 @@ function Gn(e) {
990
992
  continue;
991
993
  case "scientific":
992
994
  t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
993
- return _(_({}, h), gt(u));
995
+ return _(_({}, h), _t(u));
994
996
  }, {}));
995
997
  continue;
996
998
  case "engineering":
997
999
  t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
998
- return _(_({}, h), gt(u));
1000
+ return _(_({}, h), _t(u));
999
1001
  }, {}));
1000
1002
  continue;
1001
1003
  case "notation-simple":
@@ -1040,7 +1042,7 @@ function Gn(e) {
1040
1042
  case "integer-width":
1041
1043
  if (i.options.length > 1)
1042
1044
  throw new RangeError("integer-width stems only accept a single optional option");
1043
- i.options[0].replace(Rn, function(h, u, l, f, c, d) {
1045
+ i.options[0].replace(Un, function(h, u, l, f, c, d) {
1044
1046
  if (u)
1045
1047
  t.minimumIntegerDigits = l.length;
1046
1048
  else {
@@ -1053,27 +1055,27 @@ function Gn(e) {
1053
1055
  });
1054
1056
  continue;
1055
1057
  }
1056
- if (ir.test(i.stem)) {
1058
+ if (ar.test(i.stem)) {
1057
1059
  t.minimumIntegerDigits = i.stem.length;
1058
1060
  continue;
1059
1061
  }
1060
- if (mt.test(i.stem)) {
1062
+ if (vt.test(i.stem)) {
1061
1063
  if (i.options.length > 1)
1062
1064
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1063
- i.stem.replace(mt, function(h, u, l, f, c, d) {
1065
+ i.stem.replace(vt, function(h, u, l, f, c, d) {
1064
1066
  return l === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1065
1067
  });
1066
1068
  var o = i.options[0];
1067
- o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), bt(o)));
1069
+ o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), yt(o)));
1068
1070
  continue;
1069
1071
  }
1070
- if (nr.test(i.stem)) {
1071
- t = _(_({}, t), bt(i.stem));
1072
+ if (sr.test(i.stem)) {
1073
+ t = _(_({}, t), yt(i.stem));
1072
1074
  continue;
1073
1075
  }
1074
- var s = or(i.stem);
1076
+ var s = lr(i.stem);
1075
1077
  s && (t = _(_({}, t), s));
1076
- var a = $n(i.stem);
1078
+ var a = Dn(i.stem);
1077
1079
  a && (t = _(_({}, t), a));
1078
1080
  }
1079
1081
  return t;
@@ -2493,13 +2495,13 @@ var de = {
2493
2495
  "h"
2494
2496
  ]
2495
2497
  };
2496
- function Un(e, t) {
2498
+ function jn(e, t) {
2497
2499
  for (var r = "", n = 0; n < e.length; n++) {
2498
2500
  var i = e.charAt(n);
2499
2501
  if (i === "j") {
2500
2502
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2501
2503
  o++, n++;
2502
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Dn(t);
2504
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = kn(t);
2503
2505
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2504
2506
  r += h;
2505
2507
  for (; s-- > 0; )
@@ -2509,7 +2511,7 @@ function Un(e, t) {
2509
2511
  }
2510
2512
  return r;
2511
2513
  }
2512
- function Dn(e) {
2514
+ function kn(e) {
2513
2515
  var t = e.hourCycle;
2514
2516
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2515
2517
  e.hourCycles && // @ts-ignore
@@ -2531,20 +2533,20 @@ function Dn(e) {
2531
2533
  var i = de[n || ""] || de[r || ""] || de["".concat(r, "-001")] || de["001"];
2532
2534
  return i[0];
2533
2535
  }
2534
- var Re, Fn = new RegExp("^".concat(rr.source, "*")), jn = new RegExp("".concat(rr.source, "*$"));
2536
+ var Re, Vn = new RegExp("^".concat(or.source, "*")), Xn = new RegExp("".concat(or.source, "*$"));
2535
2537
  function y(e, t) {
2536
2538
  return { start: e, end: t };
2537
2539
  }
2538
- var kn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Vn = !!String.fromCodePoint, Xn = !!Object.fromEntries, Wn = !!String.prototype.codePointAt, zn = !!String.prototype.trimStart, Zn = !!String.prototype.trimEnd, Qn = !!Number.isSafeInteger, qn = Qn ? Number.isSafeInteger : function(e) {
2540
+ var Wn = !!String.prototype.startsWith && "_a".startsWith("a", 1), zn = !!String.fromCodePoint, Zn = !!Object.fromEntries, Qn = !!String.prototype.codePointAt, qn = !!String.prototype.trimStart, Jn = !!String.prototype.trimEnd, Yn = !!Number.isSafeInteger, Kn = Yn ? Number.isSafeInteger : function(e) {
2539
2541
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2540
- }, We = !0;
2542
+ }, ze = !0;
2541
2543
  try {
2542
- var Jn = ar("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2543
- We = ((Re = Jn.exec("a")) === null || Re === void 0 ? void 0 : Re[0]) === "a";
2544
+ var ei = hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2545
+ ze = ((Re = ei.exec("a")) === null || Re === void 0 ? void 0 : Re[0]) === "a";
2544
2546
  } catch {
2545
- We = !1;
2547
+ ze = !1;
2546
2548
  }
2547
- var vt = kn ? (
2549
+ var Et = Wn ? (
2548
2550
  // Native
2549
2551
  function(t, r, n) {
2550
2552
  return t.startsWith(r, n);
@@ -2554,7 +2556,7 @@ var vt = kn ? (
2554
2556
  function(t, r, n) {
2555
2557
  return t.slice(n, n + r.length) === r;
2556
2558
  }
2557
- ), ze = Vn ? String.fromCodePoint : (
2559
+ ), Ze = zn ? String.fromCodePoint : (
2558
2560
  // IE11
2559
2561
  function() {
2560
2562
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2566,9 +2568,9 @@ var vt = kn ? (
2566
2568
  }
2567
2569
  return n;
2568
2570
  }
2569
- ), yt = (
2571
+ ), xt = (
2570
2572
  // native
2571
- Xn ? Object.fromEntries : (
2573
+ Zn ? Object.fromEntries : (
2572
2574
  // Ponyfill
2573
2575
  function(t) {
2574
2576
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2578,7 +2580,7 @@ var vt = kn ? (
2578
2580
  return r;
2579
2581
  }
2580
2582
  )
2581
- ), sr = Wn ? (
2583
+ ), ur = Qn ? (
2582
2584
  // Native
2583
2585
  function(t, r) {
2584
2586
  return t.codePointAt(r);
@@ -2592,7 +2594,7 @@ var vt = kn ? (
2592
2594
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2593
2595
  }
2594
2596
  }
2595
- ), Yn = zn ? (
2597
+ ), ti = qn ? (
2596
2598
  // Native
2597
2599
  function(t) {
2598
2600
  return t.trimStart();
@@ -2600,9 +2602,9 @@ var vt = kn ? (
2600
2602
  ) : (
2601
2603
  // Ponyfill
2602
2604
  function(t) {
2603
- return t.replace(Fn, "");
2605
+ return t.replace(Vn, "");
2604
2606
  }
2605
- ), Kn = Zn ? (
2607
+ ), ri = Jn ? (
2606
2608
  // Native
2607
2609
  function(t) {
2608
2610
  return t.trimEnd();
@@ -2610,32 +2612,32 @@ var vt = kn ? (
2610
2612
  ) : (
2611
2613
  // Ponyfill
2612
2614
  function(t) {
2613
- return t.replace(jn, "");
2615
+ return t.replace(Xn, "");
2614
2616
  }
2615
2617
  );
2616
- function ar(e, t) {
2618
+ function hr(e, t) {
2617
2619
  return new RegExp(e, t);
2618
2620
  }
2619
- var Ze;
2620
- if (We) {
2621
- var _t = ar("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2622
- Ze = function(t, r) {
2621
+ var Qe;
2622
+ if (ze) {
2623
+ var St = hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2624
+ Qe = function(t, r) {
2623
2625
  var n;
2624
- _t.lastIndex = r;
2625
- var i = _t.exec(t);
2626
+ St.lastIndex = r;
2627
+ var i = St.exec(t);
2626
2628
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2627
2629
  };
2628
2630
  } else
2629
- Ze = function(t, r) {
2631
+ Qe = function(t, r) {
2630
2632
  for (var n = []; ; ) {
2631
- var i = sr(t, r);
2632
- if (i === void 0 || lr(i) || ni(i))
2633
+ var i = ur(t, r);
2634
+ if (i === void 0 || cr(i) || si(i))
2633
2635
  break;
2634
2636
  n.push(i), r += i >= 65536 ? 2 : 1;
2635
2637
  }
2636
- return ze.apply(void 0, n);
2638
+ return Ze.apply(void 0, n);
2637
2639
  };
2638
- var ei = (
2640
+ var ni = (
2639
2641
  /** @class */
2640
2642
  function() {
2641
2643
  function e(t, r) {
@@ -2666,7 +2668,7 @@ var ei = (
2666
2668
  if (n)
2667
2669
  break;
2668
2670
  return this.error(v.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
2669
- } else if (o === 60 && !this.ignoreTag && Qe(this.peek() || 0)) {
2671
+ } else if (o === 60 && !this.ignoreTag && qe(this.peek() || 0)) {
2670
2672
  var s = this.parseTag(t, r);
2671
2673
  if (s.err)
2672
2674
  return s;
@@ -2699,7 +2701,7 @@ var ei = (
2699
2701
  return o;
2700
2702
  var s = o.val, a = this.clonePosition();
2701
2703
  if (this.bumpIf("</")) {
2702
- if (this.isEOF() || !Qe(this.char()))
2704
+ if (this.isEOF() || !qe(this.char()))
2703
2705
  return this.error(v.INVALID_TAG, y(a, this.clonePosition()));
2704
2706
  var h = this.clonePosition(), u = this.parseTagName();
2705
2707
  return i !== u ? this.error(v.UNMATCHED_CLOSING_TAG, y(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -2717,7 +2719,7 @@ var ei = (
2717
2719
  return this.error(v.INVALID_TAG, y(n, this.clonePosition()));
2718
2720
  }, e.prototype.parseTagName = function() {
2719
2721
  var t = this.offset();
2720
- for (this.bump(); !this.isEOF() && ri(this.char()); )
2722
+ for (this.bump(); !this.isEOF() && oi(this.char()); )
2721
2723
  this.bump();
2722
2724
  return this.message.slice(t, this.offset());
2723
2725
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2746,7 +2748,7 @@ var ei = (
2746
2748
  };
2747
2749
  }, e.prototype.tryParseLeftAngleBracket = function() {
2748
2750
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2749
- !ti(this.peek() || 0)) ? (this.bump(), "<") : null;
2751
+ !ii(this.peek() || 0)) ? (this.bump(), "<") : null;
2750
2752
  }, e.prototype.tryParseQuote = function(t) {
2751
2753
  if (this.isEOF() || this.char() !== 39)
2752
2754
  return null;
@@ -2780,12 +2782,12 @@ var ei = (
2780
2782
  r.push(n);
2781
2783
  this.bump();
2782
2784
  }
2783
- return ze.apply(void 0, r);
2785
+ return Ze.apply(void 0, r);
2784
2786
  }, e.prototype.tryParseUnquoted = function(t, r) {
2785
2787
  if (this.isEOF())
2786
2788
  return null;
2787
2789
  var n = this.char();
2788
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ze(n));
2790
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ze(n));
2789
2791
  }, e.prototype.parseArgument = function(t, r) {
2790
2792
  var n = this.clonePosition();
2791
2793
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -2814,7 +2816,7 @@ var ei = (
2814
2816
  return this.error(v.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
2815
2817
  }
2816
2818
  }, e.prototype.parseIdentifierIfPossible = function() {
2817
- var t = this.clonePosition(), r = this.offset(), n = Ze(this.message, r), i = r + n.length;
2819
+ var t = this.clonePosition(), r = this.offset(), n = Qe(this.message, r), i = r + n.length;
2818
2820
  this.bumpTo(i);
2819
2821
  var o = this.clonePosition(), s = y(t, o);
2820
2822
  return { value: n, location: s };
@@ -2833,7 +2835,7 @@ var ei = (
2833
2835
  var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
2834
2836
  if (f.err)
2835
2837
  return f;
2836
- var c = Kn(f.val);
2838
+ var c = ri(f.val);
2837
2839
  if (c.length === 0)
2838
2840
  return this.error(v.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
2839
2841
  var d = y(l, this.clonePosition());
@@ -2843,8 +2845,8 @@ var ei = (
2843
2845
  if (m.err)
2844
2846
  return m;
2845
2847
  var b = y(i, this.clonePosition());
2846
- if (u && vt(u?.style, "::", 0)) {
2847
- var g = Yn(u.style.slice(2));
2848
+ if (u && Et(u?.style, "::", 0)) {
2849
+ var g = ti(u.style.slice(2));
2848
2850
  if (a === "number") {
2849
2851
  var f = this.parseNumberSkeletonFromString(g, u.styleLocation);
2850
2852
  return f.err ? f : {
@@ -2854,16 +2856,16 @@ var ei = (
2854
2856
  } else {
2855
2857
  if (g.length === 0)
2856
2858
  return this.error(v.EXPECT_DATE_TIME_SKELETON, b);
2857
- var E = g;
2858
- this.locale && (E = Un(g, this.locale));
2859
+ var x = g;
2860
+ this.locale && (x = jn(g, this.locale));
2859
2861
  var c = {
2860
2862
  type: K.dateTime,
2861
- pattern: E,
2863
+ pattern: x,
2862
2864
  location: u.styleLocation,
2863
- parsedOptions: this.shouldParseSkeletons ? Ln(E) : {}
2864
- }, x = a === "date" ? S.date : S.time;
2865
+ parsedOptions: this.shouldParseSkeletons ? Mn(x) : {}
2866
+ }, E = a === "date" ? S.date : S.time;
2865
2867
  return {
2866
- val: { type: x, value: n, location: b, style: c },
2868
+ val: { type: E, value: n, location: b, style: c },
2867
2869
  err: null
2868
2870
  };
2869
2871
  }
@@ -2906,7 +2908,7 @@ var ei = (
2906
2908
  val: {
2907
2909
  type: S.select,
2908
2910
  value: n,
2909
- options: yt(k.val),
2911
+ options: xt(k.val),
2910
2912
  location: W
2911
2913
  },
2912
2914
  err: null
@@ -2914,7 +2916,7 @@ var ei = (
2914
2916
  val: {
2915
2917
  type: S.plural,
2916
2918
  value: n,
2917
- options: yt(k.val),
2919
+ options: xt(k.val),
2918
2920
  offset: L,
2919
2921
  pluralType: a === "plural" ? "cardinal" : "ordinal",
2920
2922
  location: W
@@ -2965,7 +2967,7 @@ var ei = (
2965
2967
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2966
2968
  var n = [];
2967
2969
  try {
2968
- n = Nn(t);
2970
+ n = $n(t);
2969
2971
  } catch {
2970
2972
  return this.error(v.INVALID_NUMBER_SKELETON, r);
2971
2973
  }
@@ -2974,7 +2976,7 @@ var ei = (
2974
2976
  type: K.number,
2975
2977
  tokens: n,
2976
2978
  location: r,
2977
- parsedOptions: this.shouldParseSkeletons ? Gn(n) : {}
2979
+ parsedOptions: this.shouldParseSkeletons ? Fn(n) : {}
2978
2980
  },
2979
2981
  err: null
2980
2982
  };
@@ -3022,7 +3024,7 @@ var ei = (
3022
3024
  break;
3023
3025
  }
3024
3026
  var h = y(i, this.clonePosition());
3025
- return o ? (s *= n, qn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3027
+ return o ? (s *= n, Kn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3026
3028
  }, e.prototype.offset = function() {
3027
3029
  return this.position.offset;
3028
3030
  }, e.prototype.isEOF = function() {
@@ -3037,7 +3039,7 @@ var ei = (
3037
3039
  var t = this.position.offset;
3038
3040
  if (t >= this.message.length)
3039
3041
  throw Error("out of bound");
3040
- var r = sr(this.message, t);
3042
+ var r = ur(this.message, t);
3041
3043
  if (r === void 0)
3042
3044
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3043
3045
  return r;
@@ -3056,7 +3058,7 @@ var ei = (
3056
3058
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
3057
3059
  }
3058
3060
  }, e.prototype.bumpIf = function(t) {
3059
- if (vt(this.message, t, this.offset())) {
3061
+ if (Et(this.message, t, this.offset())) {
3060
3062
  for (var r = 0; r < t.length; r++)
3061
3063
  this.bump();
3062
3064
  return !0;
@@ -3078,7 +3080,7 @@ var ei = (
3078
3080
  break;
3079
3081
  }
3080
3082
  }, e.prototype.bumpSpace = function() {
3081
- for (; !this.isEOF() && lr(this.char()); )
3083
+ for (; !this.isEOF() && cr(this.char()); )
3082
3084
  this.bump();
3083
3085
  }, e.prototype.peek = function() {
3084
3086
  if (this.isEOF())
@@ -3088,38 +3090,38 @@ var ei = (
3088
3090
  }, e;
3089
3091
  }()
3090
3092
  );
3091
- function Qe(e) {
3093
+ function qe(e) {
3092
3094
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3093
3095
  }
3094
- function ti(e) {
3095
- return Qe(e) || e === 47;
3096
+ function ii(e) {
3097
+ return qe(e) || e === 47;
3096
3098
  }
3097
- function ri(e) {
3099
+ function oi(e) {
3098
3100
  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;
3099
3101
  }
3100
- function lr(e) {
3102
+ function cr(e) {
3101
3103
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3102
3104
  }
3103
- function ni(e) {
3105
+ function si(e) {
3104
3106
  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;
3105
3107
  }
3106
- function qe(e) {
3108
+ function Je(e) {
3107
3109
  e.forEach(function(t) {
3108
- if (delete t.location, Yt(t) || Kt(t))
3110
+ if (delete t.location, tr(t) || rr(t))
3109
3111
  for (var r in t.options)
3110
- delete t.options[r].location, qe(t.options[r].value);
3112
+ delete t.options[r].location, Je(t.options[r].value);
3111
3113
  else
3112
- Qt(t) && tr(t.style) || (qt(t) || Jt(t)) && Xe(t.style) ? delete t.style.location : er(t) && qe(t.children);
3114
+ Yt(t) && ir(t.style) || (Kt(t) || er(t)) && We(t.style) ? delete t.style.location : nr(t) && Je(t.children);
3113
3115
  });
3114
3116
  }
3115
- function ii(e, t) {
3117
+ function ai(e, t) {
3116
3118
  t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3117
- var r = new ei(e, t).parse();
3119
+ var r = new ni(e, t).parse();
3118
3120
  if (r.err) {
3119
3121
  var n = SyntaxError(v[r.err.kind]);
3120
3122
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3121
3123
  }
3122
- return t?.captureLocation || qe(r.val), r.val;
3124
+ return t?.captureLocation || Je(r.val), r.val;
3123
3125
  }
3124
3126
  var ee;
3125
3127
  (function(e) {
@@ -3137,7 +3139,7 @@ var Ce = (
3137
3139
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3138
3140
  }, t;
3139
3141
  }(Error)
3140
- ), xt = (
3142
+ ), wt = (
3141
3143
  /** @class */
3142
3144
  function(e) {
3143
3145
  D(t, e);
@@ -3146,7 +3148,7 @@ var Ce = (
3146
3148
  }
3147
3149
  return t;
3148
3150
  }(Ce)
3149
- ), oi = (
3151
+ ), li = (
3150
3152
  /** @class */
3151
3153
  function(e) {
3152
3154
  D(t, e);
@@ -3155,7 +3157,7 @@ var Ce = (
3155
3157
  }
3156
3158
  return t;
3157
3159
  }(Ce)
3158
- ), si = (
3160
+ ), ui = (
3159
3161
  /** @class */
3160
3162
  function(e) {
3161
3163
  D(t, e);
@@ -3168,17 +3170,17 @@ var Ce = (
3168
3170
  (function(e) {
3169
3171
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3170
3172
  })(B || (B = {}));
3171
- function ai(e) {
3173
+ function hi(e) {
3172
3174
  return e.length < 2 ? e : e.reduce(function(t, r) {
3173
3175
  var n = t[t.length - 1];
3174
3176
  return !n || n.type !== B.literal || r.type !== B.literal ? t.push(r) : n.value += r.value, t;
3175
3177
  }, []);
3176
3178
  }
3177
- function li(e) {
3179
+ function ci(e) {
3178
3180
  return typeof e == "function";
3179
3181
  }
3180
3182
  function be(e, t, r, n, i, o, s) {
3181
- if (e.length === 1 && pt(e[0]))
3183
+ if (e.length === 1 && gt(e[0]))
3182
3184
  return [
3183
3185
  {
3184
3186
  type: B.literal,
@@ -3187,14 +3189,14 @@ function be(e, t, r, n, i, o, s) {
3187
3189
  ];
3188
3190
  for (var a = [], h = 0, u = e; h < u.length; h++) {
3189
3191
  var l = u[h];
3190
- if (pt(l)) {
3192
+ if (gt(l)) {
3191
3193
  a.push({
3192
3194
  type: B.literal,
3193
3195
  value: l.value
3194
3196
  });
3195
3197
  continue;
3196
3198
  }
3197
- if (An(l)) {
3199
+ if (In(l)) {
3198
3200
  typeof o == "number" && a.push({
3199
3201
  type: B.literal,
3200
3202
  value: r.getNumberFormat(t).format(o)
@@ -3203,61 +3205,61 @@ function be(e, t, r, n, i, o, s) {
3203
3205
  }
3204
3206
  var f = l.value;
3205
3207
  if (!(i && f in i))
3206
- throw new si(f, s);
3208
+ throw new ui(f, s);
3207
3209
  var c = i[f];
3208
- if (Bn(l)) {
3210
+ if (Ln(l)) {
3209
3211
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3210
3212
  type: typeof c == "string" ? B.literal : B.object,
3211
3213
  value: c
3212
3214
  });
3213
3215
  continue;
3214
3216
  }
3215
- if (qt(l)) {
3216
- var d = typeof l.style == "string" ? n.date[l.style] : Xe(l.style) ? l.style.parsedOptions : void 0;
3217
+ if (Kt(l)) {
3218
+ var d = typeof l.style == "string" ? n.date[l.style] : We(l.style) ? l.style.parsedOptions : void 0;
3217
3219
  a.push({
3218
3220
  type: B.literal,
3219
3221
  value: r.getDateTimeFormat(t, d).format(c)
3220
3222
  });
3221
3223
  continue;
3222
3224
  }
3223
- if (Jt(l)) {
3224
- var d = typeof l.style == "string" ? n.time[l.style] : Xe(l.style) ? l.style.parsedOptions : n.time.medium;
3225
+ if (er(l)) {
3226
+ var d = typeof l.style == "string" ? n.time[l.style] : We(l.style) ? l.style.parsedOptions : n.time.medium;
3225
3227
  a.push({
3226
3228
  type: B.literal,
3227
3229
  value: r.getDateTimeFormat(t, d).format(c)
3228
3230
  });
3229
3231
  continue;
3230
3232
  }
3231
- if (Qt(l)) {
3232
- var d = typeof l.style == "string" ? n.number[l.style] : tr(l.style) ? l.style.parsedOptions : void 0;
3233
+ if (Yt(l)) {
3234
+ var d = typeof l.style == "string" ? n.number[l.style] : ir(l.style) ? l.style.parsedOptions : void 0;
3233
3235
  d && d.scale && (c = c * (d.scale || 1)), a.push({
3234
3236
  type: B.literal,
3235
3237
  value: r.getNumberFormat(t, d).format(c)
3236
3238
  });
3237
3239
  continue;
3238
3240
  }
3239
- if (er(l)) {
3241
+ if (nr(l)) {
3240
3242
  var m = l.children, b = l.value, g = i[b];
3241
- if (!li(g))
3242
- throw new oi(b, "function", s);
3243
- var E = be(m, t, r, n, i, o), x = g(E.map(function(L) {
3243
+ if (!ci(g))
3244
+ throw new li(b, "function", s);
3245
+ var x = be(m, t, r, n, i, o), E = g(x.map(function(L) {
3244
3246
  return L.value;
3245
3247
  }));
3246
- Array.isArray(x) || (x = [x]), a.push.apply(a, x.map(function(L) {
3248
+ Array.isArray(E) || (E = [E]), a.push.apply(a, E.map(function(L) {
3247
3249
  return {
3248
3250
  type: typeof L == "string" ? B.literal : B.object,
3249
3251
  value: L
3250
3252
  };
3251
3253
  }));
3252
3254
  }
3253
- if (Yt(l)) {
3255
+ if (tr(l)) {
3254
3256
  var w = l.options[c] || l.options.other;
3255
3257
  if (!w)
3256
- throw new xt(l.value, c, Object.keys(l.options), s);
3258
+ throw new wt(l.value, c, Object.keys(l.options), s);
3257
3259
  a.push.apply(a, be(w.value, t, r, n, i));
3258
3260
  continue;
3259
3261
  }
3260
- if (Kt(l)) {
3262
+ if (rr(l)) {
3261
3263
  var w = l.options["=".concat(c)];
3262
3264
  if (!w) {
3263
3265
  if (!Intl.PluralRules)
@@ -3268,21 +3270,21 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
3268
3270
  w = l.options[F] || l.options.other;
3269
3271
  }
3270
3272
  if (!w)
3271
- throw new xt(l.value, c, Object.keys(l.options), s);
3273
+ throw new wt(l.value, c, Object.keys(l.options), s);
3272
3274
  a.push.apply(a, be(w.value, t, r, n, i, c - (l.offset || 0)));
3273
3275
  continue;
3274
3276
  }
3275
3277
  }
3276
- return ai(a);
3278
+ return hi(a);
3277
3279
  }
3278
- function ui(e, t) {
3280
+ function fi(e, t) {
3279
3281
  return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3280
3282
  return r[n] = _(_({}, e[n]), t[n] || {}), r;
3281
3283
  }, {})) : e;
3282
3284
  }
3283
- function hi(e, t) {
3285
+ function di(e, t) {
3284
3286
  return t ? Object.keys(e).reduce(function(r, n) {
3285
- return r[n] = ui(e[n], t[n]), r;
3287
+ return r[n] = fi(e[n], t[n]), r;
3286
3288
  }, _({}, e)) : e;
3287
3289
  }
3288
3290
  function $e(e) {
@@ -3299,7 +3301,7 @@ function $e(e) {
3299
3301
  }
3300
3302
  };
3301
3303
  }
3302
- function ci(e) {
3304
+ function pi(e) {
3303
3305
  return e === void 0 && (e = {
3304
3306
  number: {},
3305
3307
  dateTime: {},
@@ -3331,7 +3333,7 @@ function ci(e) {
3331
3333
  })
3332
3334
  };
3333
3335
  }
3334
- var fi = (
3336
+ var mi = (
3335
3337
  /** @class */
3336
3338
  function() {
3337
3339
  function e(t, r, n, i) {
@@ -3363,13 +3365,13 @@ var fi = (
3363
3365
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3364
3366
  var s = i || {};
3365
3367
  s.formatters;
3366
- var a = xn(s, ["formatters"]);
3368
+ var a = Tn(s, ["formatters"]);
3367
3369
  this.ast = e.__parse(t, _(_({}, a), { locale: this.resolvedLocale }));
3368
3370
  } else
3369
3371
  this.ast = t;
3370
3372
  if (!Array.isArray(this.ast))
3371
3373
  throw new TypeError("A message must be provided as a String or AST.");
3372
- this.formats = hi(e.formats, n), this.formatters = i && i.formatters || ci(this.formatterCache);
3374
+ this.formats = di(e.formats, n), this.formatters = i && i.formatters || pi(this.formatterCache);
3373
3375
  }
3374
3376
  return Object.defineProperty(e, "defaultLocale", {
3375
3377
  get: function() {
@@ -3382,7 +3384,7 @@ var fi = (
3382
3384
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3383
3385
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3384
3386
  }
3385
- }, e.__parse = ii, e.formats = {
3387
+ }, e.__parse = ai, e.formats = {
3386
3388
  number: {
3387
3389
  integer: {
3388
3390
  maximumFractionDigits: 0
@@ -3443,7 +3445,7 @@ var fi = (
3443
3445
  }, e;
3444
3446
  }()
3445
3447
  );
3446
- function di(e, t) {
3448
+ function bi(e, t) {
3447
3449
  if (t == null)
3448
3450
  return;
3449
3451
  if (t in e)
@@ -3464,92 +3466,92 @@ function di(e, t) {
3464
3466
  n = void 0;
3465
3467
  return n;
3466
3468
  }
3467
- const j = {}, pi = (e, t, r) => r && (t in j || (j[t] = {}), e in j[t] || (j[t][e] = r), r), ur = (e, t) => {
3469
+ const j = {}, gi = (e, t, r) => r && (t in j || (j[t] = {}), e in j[t] || (j[t][e] = r), r), fr = (e, t) => {
3468
3470
  if (t == null)
3469
3471
  return;
3470
3472
  if (t in j && e in j[t])
3471
3473
  return j[t][e];
3472
3474
  const r = Pe(t);
3473
3475
  for (let n = 0; n < r.length; n++) {
3474
- const i = r[n], o = bi(i, e);
3476
+ const i = r[n], o = yi(i, e);
3475
3477
  if (o)
3476
- return pi(e, t, o);
3478
+ return gi(e, t, o);
3477
3479
  }
3478
3480
  };
3479
- let nt;
3481
+ let st;
3480
3482
  const ce = He({});
3481
- function mi(e) {
3482
- return nt[e] || null;
3483
+ function vi(e) {
3484
+ return st[e] || null;
3483
3485
  }
3484
- function hr(e) {
3485
- return e in nt;
3486
+ function dr(e) {
3487
+ return e in st;
3486
3488
  }
3487
- function bi(e, t) {
3488
- if (!hr(e))
3489
+ function yi(e, t) {
3490
+ if (!dr(e))
3489
3491
  return null;
3490
- const r = mi(e);
3491
- return di(r, t);
3492
+ const r = vi(e);
3493
+ return bi(r, t);
3492
3494
  }
3493
- function gi(e) {
3495
+ function _i(e) {
3494
3496
  if (e == null)
3495
3497
  return;
3496
3498
  const t = Pe(e);
3497
3499
  for (let r = 0; r < t.length; r++) {
3498
3500
  const n = t[r];
3499
- if (hr(n))
3501
+ if (dr(n))
3500
3502
  return n;
3501
3503
  }
3502
3504
  }
3503
- function cr(e, ...t) {
3504
- delete j[e], ce.update((r) => (r[e] = _n.all([r[e] || {}, ...t]), r));
3505
+ function pr(e, ...t) {
3506
+ delete j[e], ce.update((r) => (r[e] = wn.all([r[e] || {}, ...t]), r));
3505
3507
  }
3506
3508
  ne(
3507
3509
  [ce],
3508
3510
  ([e]) => Object.keys(e)
3509
3511
  );
3510
- ce.subscribe((e) => nt = e);
3512
+ ce.subscribe((e) => st = e);
3511
3513
  const ge = {};
3512
- function vi(e, t) {
3514
+ function Ei(e, t) {
3513
3515
  ge[e].delete(t), ge[e].size === 0 && delete ge[e];
3514
3516
  }
3515
- function fr(e) {
3517
+ function mr(e) {
3516
3518
  return ge[e];
3517
3519
  }
3518
- function yi(e) {
3520
+ function xi(e) {
3519
3521
  return Pe(e).map((t) => {
3520
- const r = fr(t);
3522
+ const r = mr(t);
3521
3523
  return [t, r ? [...r] : []];
3522
3524
  }).filter(([, t]) => t.length > 0);
3523
3525
  }
3524
- function Je(e) {
3526
+ function Ye(e) {
3525
3527
  return e == null ? !1 : Pe(e).some(
3526
3528
  (t) => {
3527
3529
  var r;
3528
- return (r = fr(t)) == null ? void 0 : r.size;
3530
+ return (r = mr(t)) == null ? void 0 : r.size;
3529
3531
  }
3530
3532
  );
3531
3533
  }
3532
- function _i(e, t) {
3534
+ function Si(e, t) {
3533
3535
  return Promise.all(
3534
- t.map((n) => (vi(e, n), n().then((i) => i.default || i)))
3535
- ).then((n) => cr(e, ...n));
3536
+ t.map((n) => (Ei(e, n), n().then((i) => i.default || i)))
3537
+ ).then((n) => pr(e, ...n));
3536
3538
  }
3537
3539
  const se = {};
3538
- function dr(e) {
3539
- if (!Je(e))
3540
+ function br(e) {
3541
+ if (!Ye(e))
3540
3542
  return e in se ? se[e] : Promise.resolve();
3541
- const t = yi(e);
3543
+ const t = xi(e);
3542
3544
  return se[e] = Promise.all(
3543
3545
  t.map(
3544
- ([r, n]) => _i(r, n)
3546
+ ([r, n]) => Si(r, n)
3545
3547
  )
3546
3548
  ).then(() => {
3547
- if (Je(e))
3548
- return dr(e);
3549
+ if (Ye(e))
3550
+ return br(e);
3549
3551
  delete se[e];
3550
3552
  }), se[e];
3551
3553
  }
3552
- const xi = {
3554
+ const wi = {
3553
3555
  number: {
3554
3556
  scientific: { notation: "scientific" },
3555
3557
  engineering: { notation: "engineering" },
@@ -3578,57 +3580,57 @@ const xi = {
3578
3580
  timeZoneName: "short"
3579
3581
  }
3580
3582
  }
3581
- }, Ei = {
3583
+ }, Ti = {
3582
3584
  fallbackLocale: null,
3583
3585
  loadingDelay: 200,
3584
- formats: xi,
3586
+ formats: wi,
3585
3587
  warnOnMissingMessages: !0,
3586
3588
  handleMissingMessage: void 0,
3587
3589
  ignoreTag: !0
3588
- }, Si = Ei;
3590
+ }, Hi = Ti;
3589
3591
  function te() {
3590
- return Si;
3592
+ return Hi;
3591
3593
  }
3592
3594
  const Ge = He(!1);
3593
- var wi = Object.defineProperty, Ti = Object.defineProperties, Hi = Object.getOwnPropertyDescriptors, Et = Object.getOwnPropertySymbols, Ci = Object.prototype.hasOwnProperty, Pi = Object.prototype.propertyIsEnumerable, St = (e, t, r) => t in e ? wi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Bi = (e, t) => {
3595
+ var Ci = Object.defineProperty, Pi = Object.defineProperties, Bi = Object.getOwnPropertyDescriptors, Tt = Object.getOwnPropertySymbols, Ai = Object.prototype.hasOwnProperty, Oi = Object.prototype.propertyIsEnumerable, Ht = (e, t, r) => t in e ? Ci(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Li = (e, t) => {
3594
3596
  for (var r in t || (t = {}))
3595
- Ci.call(t, r) && St(e, r, t[r]);
3596
- if (Et)
3597
- for (var r of Et(t))
3598
- Pi.call(t, r) && St(e, r, t[r]);
3597
+ Ai.call(t, r) && Ht(e, r, t[r]);
3598
+ if (Tt)
3599
+ for (var r of Tt(t))
3600
+ Oi.call(t, r) && Ht(e, r, t[r]);
3599
3601
  return e;
3600
- }, Ai = (e, t) => Ti(e, Hi(t));
3601
- let Ye;
3602
+ }, Ii = (e, t) => Pi(e, Bi(t));
3603
+ let Ke;
3602
3604
  const Se = He(null);
3603
- function wt(e) {
3605
+ function Ct(e) {
3604
3606
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3605
3607
  }
3606
3608
  function Pe(e, t = te().fallbackLocale) {
3607
- const r = wt(e);
3608
- return t ? [.../* @__PURE__ */ new Set([...r, ...wt(t)])] : r;
3609
+ const r = Ct(e);
3610
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Ct(t)])] : r;
3609
3611
  }
3610
3612
  function X() {
3611
- return Ye ?? void 0;
3613
+ return Ke ?? void 0;
3612
3614
  }
3613
3615
  Se.subscribe((e) => {
3614
- Ye = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3616
+ Ke = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3615
3617
  });
3616
- const Oi = (e) => {
3617
- if (e && gi(e) && Je(e)) {
3618
+ const Ni = (e) => {
3619
+ if (e && _i(e) && Ye(e)) {
3618
3620
  const { loadingDelay: t } = te();
3619
3621
  let r;
3620
3622
  return typeof window < "u" && X() != null && t ? r = window.setTimeout(
3621
3623
  () => Ge.set(!0),
3622
3624
  t
3623
- ) : Ge.set(!0), dr(e).then(() => {
3625
+ ) : Ge.set(!0), br(e).then(() => {
3624
3626
  Se.set(e);
3625
3627
  }).finally(() => {
3626
3628
  clearTimeout(r), Ge.set(!1);
3627
3629
  });
3628
3630
  }
3629
3631
  return Se.set(e);
3630
- }, ie = Ai(Bi({}, Se), {
3631
- set: Oi
3632
+ }, ie = Ii(Li({}, Se), {
3633
+ set: Ni
3632
3634
  }), Be = (e) => {
3633
3635
  const t = /* @__PURE__ */ Object.create(null);
3634
3636
  return (n) => {
@@ -3636,20 +3638,20 @@ const Oi = (e) => {
3636
3638
  return i in t ? t[i] : t[i] = e(n);
3637
3639
  };
3638
3640
  };
3639
- var Li = Object.defineProperty, we = Object.getOwnPropertySymbols, pr = Object.prototype.hasOwnProperty, mr = Object.prototype.propertyIsEnumerable, Tt = (e, t, r) => t in e ? Li(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, it = (e, t) => {
3641
+ var Mi = Object.defineProperty, we = Object.getOwnPropertySymbols, gr = Object.prototype.hasOwnProperty, vr = Object.prototype.propertyIsEnumerable, Pt = (e, t, r) => t in e ? Mi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, at = (e, t) => {
3640
3642
  for (var r in t || (t = {}))
3641
- pr.call(t, r) && Tt(e, r, t[r]);
3643
+ gr.call(t, r) && Pt(e, r, t[r]);
3642
3644
  if (we)
3643
3645
  for (var r of we(t))
3644
- mr.call(t, r) && Tt(e, r, t[r]);
3646
+ vr.call(t, r) && Pt(e, r, t[r]);
3645
3647
  return e;
3646
3648
  }, oe = (e, t) => {
3647
3649
  var r = {};
3648
3650
  for (var n in e)
3649
- pr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3651
+ gr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3650
3652
  if (e != null && we)
3651
3653
  for (var n of we(e))
3652
- t.indexOf(n) < 0 && mr.call(e, n) && (r[n] = e[n]);
3654
+ t.indexOf(n) < 0 && vr.call(e, n) && (r[n] = e[n]);
3653
3655
  return r;
3654
3656
  };
3655
3657
  const he = (e, t) => {
@@ -3657,21 +3659,21 @@ const he = (e, t) => {
3657
3659
  if (e in r && t in r[e])
3658
3660
  return r[e][t];
3659
3661
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3660
- }, Ii = Be(
3662
+ }, Ri = Be(
3661
3663
  (e) => {
3662
3664
  var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
3663
3665
  if (r == null)
3664
3666
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3665
3667
  return n && (i = he("number", n)), new Intl.NumberFormat(r, i);
3666
3668
  }
3667
- ), Ni = Be(
3669
+ ), $i = Be(
3668
3670
  (e) => {
3669
3671
  var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
3670
3672
  if (r == null)
3671
3673
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3672
3674
  return n ? i = he("date", n) : Object.keys(i).length === 0 && (i = he("date", "short")), new Intl.DateTimeFormat(r, i);
3673
3675
  }
3674
- ), Mi = Be(
3676
+ ), Gi = Be(
3675
3677
  (e) => {
3676
3678
  var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
3677
3679
  if (r == null)
@@ -3680,33 +3682,33 @@ const he = (e, t) => {
3680
3682
  );
3681
3683
  return n ? i = he("time", n) : Object.keys(i).length === 0 && (i = he("time", "short")), new Intl.DateTimeFormat(r, i);
3682
3684
  }
3683
- ), Ri = (e = {}) => {
3685
+ ), Ui = (e = {}) => {
3684
3686
  var t = e, {
3685
3687
  locale: r = X()
3686
3688
  } = t, n = oe(t, [
3687
3689
  "locale"
3688
3690
  ]);
3689
- return Ii(it({ locale: r }, n));
3690
- }, $i = (e = {}) => {
3691
+ return Ri(at({ locale: r }, n));
3692
+ }, Di = (e = {}) => {
3691
3693
  var t = e, {
3692
3694
  locale: r = X()
3693
3695
  } = t, n = oe(t, [
3694
3696
  "locale"
3695
3697
  ]);
3696
- return Ni(it({ locale: r }, n));
3697
- }, Gi = (e = {}) => {
3698
+ return $i(at({ locale: r }, n));
3699
+ }, Fi = (e = {}) => {
3698
3700
  var t = e, {
3699
3701
  locale: r = X()
3700
3702
  } = t, n = oe(t, [
3701
3703
  "locale"
3702
3704
  ]);
3703
- return Mi(it({ locale: r }, n));
3704
- }, Ui = Be(
3705
+ return Gi(at({ locale: r }, n));
3706
+ }, ji = Be(
3705
3707
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3706
- (e, t = X()) => new fi(e, t, te().formats, {
3708
+ (e, t = X()) => new mi(e, t, te().formats, {
3707
3709
  ignoreTag: te().ignoreTag
3708
3710
  })
3709
- ), Di = (e, t = {}) => {
3711
+ ), ki = (e, t = {}) => {
3710
3712
  var r, n, i, o;
3711
3713
  let s = t;
3712
3714
  typeof e == "object" && (s = e, e = s.id);
@@ -3719,7 +3721,7 @@ const he = (e, t) => {
3719
3721
  throw new Error(
3720
3722
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3721
3723
  );
3722
- let l = ur(e, h);
3724
+ let l = fr(e, h);
3723
3725
  if (!l)
3724
3726
  l = (o = (i = (n = (r = te()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
3725
3727
  else if (typeof l != "string")
@@ -3730,7 +3732,7 @@ const he = (e, t) => {
3730
3732
  return l;
3731
3733
  let f = l;
3732
3734
  try {
3733
- f = Ui(l, h).format(a);
3735
+ f = ji(l, h).format(a);
3734
3736
  } catch (c) {
3735
3737
  c instanceof Error && console.warn(
3736
3738
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3738,18 +3740,18 @@ const he = (e, t) => {
3738
3740
  );
3739
3741
  }
3740
3742
  return f;
3741
- }, Fi = (e, t) => Gi(t).format(e), ji = (e, t) => $i(t).format(e), ki = (e, t) => Ri(t).format(e), Vi = (e, t = X()) => ur(e, t), Xi = ne([ie, ce], () => Di);
3742
- ne([ie], () => Fi);
3743
- ne([ie], () => ji);
3744
- ne([ie], () => ki);
3745
- ne([ie, ce], () => Vi);
3746
- function Ht(e, t) {
3747
- cr(e, t);
3748
- }
3749
- function Wi(e) {
3743
+ }, Vi = (e, t) => Fi(t).format(e), Xi = (e, t) => Di(t).format(e), Wi = (e, t) => Ui(t).format(e), zi = (e, t = X()) => fr(e, t), Zi = ne([ie, ce], () => ki);
3744
+ ne([ie], () => Vi);
3745
+ ne([ie], () => Xi);
3746
+ ne([ie], () => Wi);
3747
+ ne([ie, ce], () => zi);
3748
+ function Bt(e, t) {
3749
+ pr(e, t);
3750
+ }
3751
+ function Qi(e) {
3750
3752
  ie.set(e);
3751
3753
  }
3752
- const Ct = {
3754
+ const At = {
3753
3755
  en: {
3754
3756
  collections: "Game Collections",
3755
3757
  providers: "Game Providers",
@@ -3849,13 +3851,13 @@ const Ct = {
3849
3851
  function U(e) {
3850
3852
  return typeof e == "function";
3851
3853
  }
3852
- function br(e) {
3854
+ function yr(e) {
3853
3855
  var t = function(n) {
3854
3856
  Error.call(n), n.stack = new Error().stack;
3855
3857
  }, r = e(t);
3856
3858
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
3857
3859
  }
3858
- var Ue = br(function(e) {
3860
+ var Ue = yr(function(e) {
3859
3861
  return function(r) {
3860
3862
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
3861
3863
  ` + r.map(function(n, i) {
@@ -3864,7 +3866,7 @@ var Ue = br(function(e) {
3864
3866
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
3865
3867
  };
3866
3868
  });
3867
- function Ke(e, t) {
3869
+ function et(e, t) {
3868
3870
  if (e) {
3869
3871
  var r = e.indexOf(t);
3870
3872
  0 <= r && e.splice(r, 1);
@@ -3882,7 +3884,7 @@ var Ae = function() {
3882
3884
  if (s)
3883
3885
  if (this._parentage = null, Array.isArray(s))
3884
3886
  try {
3885
- for (var a = ke(s), h = a.next(); !h.done; h = a.next()) {
3887
+ for (var a = Ve(s), h = a.next(); !h.done; h = a.next()) {
3886
3888
  var u = h.value;
3887
3889
  u.remove(this);
3888
3890
  }
@@ -3909,12 +3911,12 @@ var Ae = function() {
3909
3911
  if (f) {
3910
3912
  this._finalizers = null;
3911
3913
  try {
3912
- for (var c = ke(f), d = c.next(); !d.done; d = c.next()) {
3914
+ for (var c = Ve(f), d = c.next(); !d.done; d = c.next()) {
3913
3915
  var m = d.value;
3914
3916
  try {
3915
- Pt(m);
3917
+ Ot(m);
3916
3918
  } catch (b) {
3917
- o = o ?? [], b instanceof Ue ? o = J(J([], Ve(o)), Ve(b.errors)) : o.push(b);
3919
+ o = o ?? [], b instanceof Ue ? o = J(J([], Xe(o)), Xe(b.errors)) : o.push(b);
3918
3920
  }
3919
3921
  }
3920
3922
  } catch (b) {
@@ -3935,7 +3937,7 @@ var Ae = function() {
3935
3937
  var r;
3936
3938
  if (t && t !== this)
3937
3939
  if (this.closed)
3938
- Pt(t);
3940
+ Ot(t);
3939
3941
  else {
3940
3942
  if (t instanceof e) {
3941
3943
  if (t.closed || t._hasParent(this))
@@ -3952,52 +3954,56 @@ var Ae = function() {
3952
3954
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
3953
3955
  }, e.prototype._removeParent = function(t) {
3954
3956
  var r = this._parentage;
3955
- r === t ? this._parentage = null : Array.isArray(r) && Ke(r, t);
3957
+ r === t ? this._parentage = null : Array.isArray(r) && et(r, t);
3956
3958
  }, e.prototype.remove = function(t) {
3957
3959
  var r = this._finalizers;
3958
- r && Ke(r, t), t instanceof e && t._removeParent(this);
3960
+ r && et(r, t), t instanceof e && t._removeParent(this);
3959
3961
  }, e.EMPTY = function() {
3960
3962
  var t = new e();
3961
3963
  return t.closed = !0, t;
3962
3964
  }(), e;
3963
- }(), gr = Ae.EMPTY;
3964
- function vr(e) {
3965
+ }(), _r = Ae.EMPTY;
3966
+ function Er(e) {
3965
3967
  return e instanceof Ae || e && "closed" in e && U(e.remove) && U(e.add) && U(e.unsubscribe);
3966
3968
  }
3967
- function Pt(e) {
3969
+ function Ot(e) {
3968
3970
  U(e) ? e() : e.unsubscribe();
3969
3971
  }
3970
- var zi = {
3971
- Promise: void 0
3972
- }, Zi = {
3972
+ var xr = {
3973
+ onUnhandledError: null,
3974
+ onStoppedNotification: null,
3975
+ Promise: void 0,
3976
+ useDeprecatedSynchronousErrorHandling: !1,
3977
+ useDeprecatedNextContext: !1
3978
+ }, qi = {
3973
3979
  setTimeout: function(e, t) {
3974
3980
  for (var r = [], n = 2; n < arguments.length; n++)
3975
3981
  r[n - 2] = arguments[n];
3976
- return setTimeout.apply(void 0, J([e, t], Ve(r)));
3982
+ return setTimeout.apply(void 0, J([e, t], Xe(r)));
3977
3983
  },
3978
3984
  clearTimeout: function(e) {
3979
3985
  return clearTimeout(e);
3980
3986
  },
3981
3987
  delegate: void 0
3982
3988
  };
3983
- function Qi(e) {
3984
- Zi.setTimeout(function() {
3989
+ function Ji(e) {
3990
+ qi.setTimeout(function() {
3985
3991
  throw e;
3986
3992
  });
3987
3993
  }
3988
- function Bt() {
3994
+ function Lt() {
3989
3995
  }
3990
3996
  function ve(e) {
3991
3997
  e();
3992
3998
  }
3993
- var yr = function(e) {
3999
+ var Sr = function(e) {
3994
4000
  D(t, e);
3995
4001
  function t(r) {
3996
4002
  var n = e.call(this) || this;
3997
- return n.isStopped = !1, r ? (n.destination = r, vr(r) && r.add(n)) : n.destination = Yi, n;
4003
+ return n.isStopped = !1, r ? (n.destination = r, Er(r) && r.add(n)) : n.destination = to, n;
3998
4004
  }
3999
4005
  return t.create = function(r, n, i) {
4000
- return new et(r, n, i);
4006
+ return new tt(r, n, i);
4001
4007
  }, t.prototype.next = function(r) {
4002
4008
  this.isStopped || this._next(r);
4003
4009
  }, t.prototype.error = function(r) {
@@ -4021,7 +4027,11 @@ var yr = function(e) {
4021
4027
  this.unsubscribe();
4022
4028
  }
4023
4029
  }, t;
4024
- }(Ae), qi = function() {
4030
+ }(Ae), Yi = Function.prototype.bind;
4031
+ function De(e, t) {
4032
+ return Yi.call(e, t);
4033
+ }
4034
+ var Ki = function() {
4025
4035
  function e(t) {
4026
4036
  this.partialObserver = t;
4027
4037
  }
@@ -4052,43 +4062,55 @@ var yr = function(e) {
4052
4062
  pe(r);
4053
4063
  }
4054
4064
  }, e;
4055
- }(), et = function(e) {
4065
+ }(), tt = function(e) {
4056
4066
  D(t, e);
4057
4067
  function t(r, n, i) {
4058
4068
  var o = e.call(this) || this, s;
4059
- return U(r) || !r ? s = {
4060
- next: r ?? void 0,
4061
- error: n ?? void 0,
4062
- complete: i ?? void 0
4063
- } : s = r, o.destination = new qi(s), o;
4069
+ if (U(r) || !r)
4070
+ s = {
4071
+ next: r ?? void 0,
4072
+ error: n ?? void 0,
4073
+ complete: i ?? void 0
4074
+ };
4075
+ else {
4076
+ var a;
4077
+ o && xr.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
4078
+ return o.unsubscribe();
4079
+ }, s = {
4080
+ next: r.next && De(r.next, a),
4081
+ error: r.error && De(r.error, a),
4082
+ complete: r.complete && De(r.complete, a)
4083
+ }) : s = r;
4084
+ }
4085
+ return o.destination = new Ki(s), o;
4064
4086
  }
4065
4087
  return t;
4066
- }(yr);
4088
+ }(Sr);
4067
4089
  function pe(e) {
4068
- Qi(e);
4090
+ Ji(e);
4069
4091
  }
4070
- function Ji(e) {
4092
+ function eo(e) {
4071
4093
  throw e;
4072
4094
  }
4073
- var Yi = {
4095
+ var to = {
4074
4096
  closed: !0,
4075
- next: Bt,
4076
- error: Ji,
4077
- complete: Bt
4078
- }, Ki = function() {
4097
+ next: Lt,
4098
+ error: eo,
4099
+ complete: Lt
4100
+ }, ro = function() {
4079
4101
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
4080
4102
  }();
4081
- function eo(e) {
4103
+ function no(e) {
4082
4104
  return e;
4083
4105
  }
4084
- function to(e) {
4085
- return e.length === 0 ? eo : e.length === 1 ? e[0] : function(r) {
4106
+ function io(e) {
4107
+ return e.length === 0 ? no : e.length === 1 ? e[0] : function(r) {
4086
4108
  return e.reduce(function(n, i) {
4087
4109
  return i(n);
4088
4110
  }, r);
4089
4111
  };
4090
4112
  }
4091
- var At = function() {
4113
+ var It = function() {
4092
4114
  function e(t) {
4093
4115
  t && (this._subscribe = t);
4094
4116
  }
@@ -4096,7 +4118,7 @@ var At = function() {
4096
4118
  var r = new e();
4097
4119
  return r.source = this, r.operator = t, r;
4098
4120
  }, e.prototype.subscribe = function(t, r, n) {
4099
- var i = this, o = no(t) ? t : new et(t, r, n);
4121
+ var i = this, o = so(t) ? t : new tt(t, r, n);
4100
4122
  return ve(function() {
4101
4123
  var s = i, a = s.operator, h = s.source;
4102
4124
  o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
@@ -4109,8 +4131,8 @@ var At = function() {
4109
4131
  }
4110
4132
  }, e.prototype.forEach = function(t, r) {
4111
4133
  var n = this;
4112
- return r = Ot(r), new r(function(i, o) {
4113
- var s = new et({
4134
+ return r = Nt(r), new r(function(i, o) {
4135
+ var s = new tt({
4114
4136
  next: function(a) {
4115
4137
  try {
4116
4138
  t(a);
@@ -4126,15 +4148,15 @@ var At = function() {
4126
4148
  }, e.prototype._subscribe = function(t) {
4127
4149
  var r;
4128
4150
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
4129
- }, e.prototype[Ki] = function() {
4151
+ }, e.prototype[ro] = function() {
4130
4152
  return this;
4131
4153
  }, e.prototype.pipe = function() {
4132
4154
  for (var t = [], r = 0; r < arguments.length; r++)
4133
4155
  t[r] = arguments[r];
4134
- return to(t)(this);
4156
+ return io(t)(this);
4135
4157
  }, e.prototype.toPromise = function(t) {
4136
4158
  var r = this;
4137
- return t = Ot(t), new t(function(n, i) {
4159
+ return t = Nt(t), new t(function(n, i) {
4138
4160
  var o;
4139
4161
  r.subscribe(function(s) {
4140
4162
  return o = s;
@@ -4148,32 +4170,32 @@ var At = function() {
4148
4170
  return new e(t);
4149
4171
  }, e;
4150
4172
  }();
4151
- function Ot(e) {
4173
+ function Nt(e) {
4152
4174
  var t;
4153
- return (t = e ?? zi.Promise) !== null && t !== void 0 ? t : Promise;
4175
+ return (t = e ?? xr.Promise) !== null && t !== void 0 ? t : Promise;
4154
4176
  }
4155
- function ro(e) {
4177
+ function oo(e) {
4156
4178
  return e && U(e.next) && U(e.error) && U(e.complete);
4157
4179
  }
4158
- function no(e) {
4159
- return e && e instanceof yr || ro(e) && vr(e);
4180
+ function so(e) {
4181
+ return e && e instanceof Sr || oo(e) && Er(e);
4160
4182
  }
4161
- var io = br(function(e) {
4183
+ var ao = yr(function(e) {
4162
4184
  return function() {
4163
4185
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
4164
4186
  };
4165
- }), _r = function(e) {
4187
+ }), wr = function(e) {
4166
4188
  D(t, e);
4167
4189
  function t() {
4168
4190
  var r = e.call(this) || this;
4169
4191
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
4170
4192
  }
4171
4193
  return t.prototype.lift = function(r) {
4172
- var n = new Lt(this, this);
4194
+ var n = new Mt(this, this);
4173
4195
  return n.operator = r, n;
4174
4196
  }, t.prototype._throwIfClosed = function() {
4175
4197
  if (this.closed)
4176
- throw new io();
4198
+ throw new ao();
4177
4199
  }, t.prototype.next = function(r) {
4178
4200
  var n = this;
4179
4201
  ve(function() {
@@ -4181,7 +4203,7 @@ var io = br(function(e) {
4181
4203
  if (n._throwIfClosed(), !n.isStopped) {
4182
4204
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
4183
4205
  try {
4184
- for (var s = ke(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
4206
+ for (var s = Ve(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
4185
4207
  var h = a.value;
4186
4208
  h.next(r);
4187
4209
  }
@@ -4230,19 +4252,19 @@ var io = br(function(e) {
4230
4252
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
4231
4253
  }, t.prototype._innerSubscribe = function(r) {
4232
4254
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
4233
- return o || s ? gr : (this.currentObservers = null, a.push(r), new Ae(function() {
4234
- n.currentObservers = null, Ke(a, r);
4255
+ return o || s ? _r : (this.currentObservers = null, a.push(r), new Ae(function() {
4256
+ n.currentObservers = null, et(a, r);
4235
4257
  }));
4236
4258
  }, t.prototype._checkFinalizedStatuses = function(r) {
4237
4259
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
4238
4260
  i ? r.error(o) : s && r.complete();
4239
4261
  }, t.prototype.asObservable = function() {
4240
- var r = new At();
4262
+ var r = new It();
4241
4263
  return r.source = this, r;
4242
4264
  }, t.create = function(r, n) {
4243
- return new Lt(r, n);
4265
+ return new Mt(r, n);
4244
4266
  }, t;
4245
- }(At), Lt = function(e) {
4267
+ }(It), Mt = function(e) {
4246
4268
  D(t, e);
4247
4269
  function t(r, n) {
4248
4270
  var i = e.call(this) || this;
@@ -4259,17 +4281,17 @@ var io = br(function(e) {
4259
4281
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
4260
4282
  }, t.prototype._subscribe = function(r) {
4261
4283
  var n, i;
4262
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : gr;
4284
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : _r;
4263
4285
  }, t;
4264
- }(_r), xr = {
4286
+ }(wr), Tr = {
4265
4287
  now: function() {
4266
- return (xr.delegate || Date).now();
4288
+ return (Tr.delegate || Date).now();
4267
4289
  },
4268
4290
  delegate: void 0
4269
- }, oo = function(e) {
4291
+ }, lo = function(e) {
4270
4292
  D(t, e);
4271
4293
  function t(r, n, i) {
4272
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = xr);
4294
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Tr);
4273
4295
  var o = e.call(this) || this;
4274
4296
  return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
4275
4297
  }
@@ -4289,23 +4311,23 @@ var io = br(function(e) {
4289
4311
  u && o.splice(0, u + 1);
4290
4312
  }
4291
4313
  }, t;
4292
- }(_r);
4293
- const It = [], Nt = {}, so = (e, t = 0) => {
4294
- if (It.indexOf(e) == -1) {
4295
- const r = new oo(t);
4296
- Nt[e] = r, It.push(e);
4314
+ }(wr);
4315
+ const Rt = [], $t = {}, uo = (e, t = 0) => {
4316
+ if (Rt.indexOf(e) == -1) {
4317
+ const r = new lo(t);
4318
+ $t[e] = r, Rt.push(e);
4297
4319
  }
4298
- return Nt[e];
4320
+ return $t[e];
4299
4321
  };
4300
- window.emWidgets = { topic: so };
4301
- const ao = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4302
- function lo(e, t) {
4322
+ window.emWidgets = { topic: uo };
4323
+ const ho = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4324
+ function co(e, t) {
4303
4325
  if (e) {
4304
4326
  const r = document.createElement("style");
4305
4327
  r.innerHTML = t, e.appendChild(r);
4306
4328
  }
4307
4329
  }
4308
- function uo(e, t) {
4330
+ function fo(e, t) {
4309
4331
  const r = new URL(t);
4310
4332
  fetch(r.href).then((n) => n.text()).then((n) => {
4311
4333
  const i = document.createElement("style");
@@ -4314,7 +4336,7 @@ function uo(e, t) {
4314
4336
  console.error("There was an error while trying to load client styling from URL", n);
4315
4337
  });
4316
4338
  }
4317
- function ho(e, t, r) {
4339
+ function po(e, t, r) {
4318
4340
  if (window.emMessageBus) {
4319
4341
  const n = document.createElement("style");
4320
4342
  window.emMessageBus.subscribe(t, (i) => {
@@ -4322,18 +4344,18 @@ function ho(e, t, r) {
4322
4344
  });
4323
4345
  }
4324
4346
  }
4325
- function co(e) {
4326
- Rr(e, "svelte-3oqkg3", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoCollectionsProviders{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;height:330px;margin:0 auto;margin-top:24px}.CategoriesHeader{display:flex;justify-content:space-between;height:70px}.CategoriesHeader .Title{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:22px;font-weight:500}.CategoriesHeader .ButtonsContainer button{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px;cursor:pointer}.CategoriesHeader .ButtonsContainer button:active{opacity:0.7}.CategoriesSlider{position:relative;height:230px;overflow:hidden;cursor:pointer}.CategoriesSliderWrapper{position:absolute;top:0;left:0}.CategoriesSlider .Animation{transition:transform 0.8s}.CategoriesSlider .CategorySlide{border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;height:200px;width:400px;margin-right:15px;background-size:cover}.CategoriesSlider .CategorySlide:not(.CategorySlideNoHighlight){background-color:#808080;background-blend-mode:multiply}.CategoriesSlider .CategorySlideTopContainer{height:100px;display:flex;align-items:center}.CategoriesSlider .CategorySlideLogo{transform:translate(-50%, -50%);max-width:175px;top:30%;max-height:100%;position:absolute}.CategoriesSlider .CategorySlideTitle{color:var(--emw--casino-typography, var(--emw--color-constrast, #FFFFFF));font-size:18px;letter-spacing:1px}.CategoriesSlider .CategorySlideGameContainer{display:flex;width:40px;justify-content:center;gap:10%;min-height:85px}.CategoriesSlider .CategorySlideGameImage{border-radius:10px;width:auto;height:55px;object-fit:cover}.CategoriesSlider .CategorySlideGames{color:white;text-align:center}.CategoriesSlider .CategorySlideGames p{font-size:8px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.Mobile.Providers{padding:25px 10px}.Mobile.Collections{padding:25px 10px}.Mobile.CasinoCollectionsProviders{padding:25px 10px}.Mobile .CategoriesSlider{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.Mobile .CategoriesSlider::-webkit-scrollbar{display:none}.Mobile .CategorySlide{width:80vw;scroll-snap-align:start}.Mobile .ButtonsContainer{display:none}.Mobile .CategorySlideGameImage{border-radius:10px;width:auto;height:40px;object-fit:cover}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
4347
+ function mo(e) {
4348
+ Dr(e, "svelte-3oqkg3", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoCollectionsProviders{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;height:330px;margin:0 auto;margin-top:24px}.CategoriesHeader{display:flex;justify-content:space-between;height:70px}.CategoriesHeader .Title{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:22px;font-weight:500}.CategoriesHeader .ButtonsContainer button{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px;cursor:pointer}.CategoriesHeader .ButtonsContainer button:active{opacity:0.7}.CategoriesSlider{position:relative;height:230px;overflow:hidden;cursor:pointer}.CategoriesSliderWrapper{position:absolute;top:0;left:0}.CategoriesSlider .Animation{transition:transform 0.8s}.CategoriesSlider .CategorySlide{border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;height:200px;width:400px;margin-right:15px;background-size:cover}.CategoriesSlider .CategorySlide:not(.CategorySlideNoHighlight){background-color:#808080;background-blend-mode:multiply}.CategoriesSlider .CategorySlideTopContainer{height:100px;display:flex;align-items:center}.CategoriesSlider .CategorySlideLogo{transform:translate(-50%, -50%);max-width:175px;top:30%;max-height:100%;position:absolute}.CategoriesSlider .CategorySlideTitle{color:var(--emw--casino-typography, var(--emw--color-constrast, #FFFFFF));font-size:18px;letter-spacing:1px}.CategoriesSlider .CategorySlideGameContainer{display:flex;width:40px;justify-content:center;gap:10%;min-height:85px}.CategoriesSlider .CategorySlideGameImage{border-radius:10px;width:auto;height:55px;object-fit:cover}.CategoriesSlider .CategorySlideGames{color:white;text-align:center}.CategoriesSlider .CategorySlideGames p{font-size:8px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.Mobile.Providers{padding:25px 10px}.Mobile.Collections{padding:25px 10px}.Mobile.CasinoCollectionsProviders{padding:25px 10px}.Mobile .CategoriesSlider{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.Mobile .CategoriesSlider::-webkit-scrollbar{display:none}.Mobile .CategorySlide{width:80vw;scroll-snap-align:start}.Mobile .ButtonsContainer{display:none}.Mobile .CategorySlideGameImage{border-radius:10px;width:auto;height:40px;object-fit:cover}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
4327
4349
  }
4328
- function Mt(e, t, r) {
4350
+ function Gt(e, t, r) {
4329
4351
  const n = e.slice();
4330
4352
  return n[41] = t[r], n;
4331
4353
  }
4332
- function Rt(e, t, r) {
4354
+ function Ut(e, t, r) {
4333
4355
  const n = e.slice();
4334
4356
  return n[44] = t[r], n;
4335
4357
  }
4336
- function fo(e) {
4358
+ function bo(e) {
4337
4359
  let t, r, n, i = (
4338
4360
  /*type*/
4339
4361
  (e[0] === "vendor" ? (
@@ -4346,13 +4368,13 @@ function fo(e) {
4346
4368
  ), o, s, a, h, u, l = (
4347
4369
  /*numberOfSlides*/
4348
4370
  e[7] > /*numberOfVisibleSlides*/
4349
- e[8] && $t(e)
4350
- ), f = Ee(
4371
+ e[8] && Dt(e)
4372
+ ), f = xe(
4351
4373
  /*gameCategories*/
4352
4374
  e[3]
4353
4375
  ), c = [];
4354
4376
  for (let d = 0; d < f.length; d += 1)
4355
- c[d] = Dt(Mt(e, f, d));
4377
+ c[d] = kt(Gt(e, f, d));
4356
4378
  return {
4357
4379
  c() {
4358
4380
  t = H("div"), r = H("div"), n = H("p"), o = Te(i), s = V(), l && l.c(), a = V(), h = H("div");
@@ -4377,18 +4399,18 @@ function fo(e) {
4377
4399
  ) : (
4378
4400
  /*$_*/
4379
4401
  d[10]("collections")
4380
- )) + "") && rt(o, i), /*numberOfSlides*/
4402
+ )) + "") && nt(o, i), /*numberOfSlides*/
4381
4403
  d[7] > /*numberOfVisibleSlides*/
4382
- d[8] ? l ? l.p(d, m) : (l = $t(d), l.c(), l.m(r, null)) : l && (l.d(1), l = null), m[0] & /*gameCategories, openCategory, collectionprovidersgamenames, openGame, titletype*/
4404
+ d[8] ? l ? l.p(d, m) : (l = Dt(d), l.c(), l.m(r, null)) : l && (l.d(1), l = null), m[0] & /*gameCategories, openCategory, collectionprovidersgamenames, openGame, titletype*/
4383
4405
  24590) {
4384
- f = Ee(
4406
+ f = xe(
4385
4407
  /*gameCategories*/
4386
4408
  d[3]
4387
4409
  );
4388
4410
  let b;
4389
4411
  for (b = 0; b < f.length; b += 1) {
4390
- const g = Mt(d, f, b);
4391
- c[b] ? c[b].p(g, m) : (c[b] = Dt(g), c[b].c(), c[b].m(h, null));
4412
+ const g = Gt(d, f, b);
4413
+ c[b] ? c[b].p(g, m) : (c[b] = kt(g), c[b].c(), c[b].m(h, null));
4392
4414
  }
4393
4415
  for (; b < c.length; b += 1)
4394
4416
  c[b].d(1);
@@ -4400,11 +4422,11 @@ function fo(e) {
4400
4422
  (d[0] === "vendor" ? "Providers" : "Collections")) && C(t, "class", u);
4401
4423
  },
4402
4424
  d(d) {
4403
- d && I(t), l && l.d(), Vt(c, d), e[25](null);
4425
+ d && I(t), l && l.d(), zt(c, d), e[25](null);
4404
4426
  }
4405
4427
  };
4406
4428
  }
4407
- function po(e) {
4429
+ function go(e) {
4408
4430
  let t;
4409
4431
  return {
4410
4432
  c() {
@@ -4419,7 +4441,7 @@ function po(e) {
4419
4441
  }
4420
4442
  };
4421
4443
  }
4422
- function $t(e) {
4444
+ function Dt(e) {
4423
4445
  let t, r, n, i, o, s;
4424
4446
  return {
4425
4447
  c() {
@@ -4447,7 +4469,7 @@ function $t(e) {
4447
4469
  }
4448
4470
  };
4449
4471
  }
4450
- function mo(e) {
4472
+ function vo(e) {
4451
4473
  let t, r = (
4452
4474
  /*category*/
4453
4475
  e[41].name + ""
@@ -4462,14 +4484,14 @@ function mo(e) {
4462
4484
  p(i, o) {
4463
4485
  o[0] & /*gameCategories*/
4464
4486
  8 && r !== (r = /*category*/
4465
- i[41].name + "") && rt(n, r);
4487
+ i[41].name + "") && nt(n, r);
4466
4488
  },
4467
4489
  d(i) {
4468
4490
  i && I(t);
4469
4491
  }
4470
4492
  };
4471
4493
  }
4472
- function bo(e) {
4494
+ function yo(e) {
4473
4495
  let t, r, n;
4474
4496
  return {
4475
4497
  c() {
@@ -4492,7 +4514,7 @@ function bo(e) {
4492
4514
  }
4493
4515
  };
4494
4516
  }
4495
- function Gt(e) {
4517
+ function Ft(e) {
4496
4518
  let t, r = (
4497
4519
  /*game*/
4498
4520
  e[44].name + ""
@@ -4508,7 +4530,7 @@ function Gt(e) {
4508
4530
  p(o, s) {
4509
4531
  s[0] & /*gameCategories*/
4510
4532
  8 && r !== (r = /*game*/
4511
- o[44].name + "") && rt(n, r), s[0] & /*gameCategories*/
4533
+ o[44].name + "") && nt(n, r), s[0] & /*gameCategories*/
4512
4534
  8 && i !== (i = /*game*/
4513
4535
  o[44].name) && C(t, "title", i);
4514
4536
  },
@@ -4517,7 +4539,7 @@ function Gt(e) {
4517
4539
  }
4518
4540
  };
4519
4541
  }
4520
- function Ut(e) {
4542
+ function jt(e) {
4521
4543
  let t, r, n, i, o, s, a, h;
4522
4544
  function u() {
4523
4545
  return (
@@ -4530,7 +4552,7 @@ function Ut(e) {
4530
4552
  }
4531
4553
  let l = (
4532
4554
  /*collectionprovidersgamenames*/
4533
- e[2] == "true" && Gt(e)
4555
+ e[2] == "true" && Ft(e)
4534
4556
  );
4535
4557
  return {
4536
4558
  c() {
@@ -4539,7 +4561,7 @@ function Ut(e) {
4539
4561
  e[44].name), C(t, "class", "CategorySlideGames");
4540
4562
  },
4541
4563
  m(f, c) {
4542
- G(f, t, c), T(t, r), T(t, o), l && l.m(t, null), T(t, s), a || (h = _e(r, "click", Ur(u)), a = !0);
4564
+ G(f, t, c), T(t, r), T(t, o), l && l.m(t, null), T(t, s), a || (h = _e(r, "click", kr(u)), a = !0);
4543
4565
  },
4544
4566
  p(f, c) {
4545
4567
  e = f, c[0] & /*gameCategories*/
@@ -4547,33 +4569,33 @@ function Ut(e) {
4547
4569
  e[44].defaultThumbnail) && $(r, "src", n), c[0] & /*gameCategories*/
4548
4570
  8 && i !== (i = /*game*/
4549
4571
  e[44].name) && $(r, "alt", i), /*collectionprovidersgamenames*/
4550
- e[2] == "true" ? l ? l.p(e, c) : (l = Gt(e), l.c(), l.m(t, s)) : l && (l.d(1), l = null);
4572
+ e[2] == "true" ? l ? l.p(e, c) : (l = Ft(e), l.c(), l.m(t, s)) : l && (l.d(1), l = null);
4551
4573
  },
4552
4574
  d(f) {
4553
4575
  f && I(t), l && l.d(), a = !1, h();
4554
4576
  }
4555
4577
  };
4556
4578
  }
4557
- function Dt(e) {
4579
+ function kt(e) {
4558
4580
  let t, r, n, i, o, s, a, h, u;
4559
- function l(g, E) {
4581
+ function l(g, x) {
4560
4582
  if (
4561
4583
  /*titletype*/
4562
4584
  g[1] === "logo"
4563
4585
  )
4564
- return bo;
4586
+ return yo;
4565
4587
  if (
4566
4588
  /*titletype*/
4567
4589
  g[1] === "title"
4568
4590
  )
4569
- return mo;
4591
+ return vo;
4570
4592
  }
4571
- let f = l(e), c = f && f(e), d = Ee(
4593
+ let f = l(e), c = f && f(e), d = xe(
4572
4594
  /*category*/
4573
4595
  e[41].games
4574
4596
  ), m = [];
4575
4597
  for (let g = 0; g < d.length; g += 1)
4576
- m[g] = Ut(Rt(e, d, g));
4598
+ m[g] = jt(Ut(e, d, g));
4577
4599
  function b() {
4578
4600
  return (
4579
4601
  /*click_handler_1*/
@@ -4592,45 +4614,45 @@ function Dt(e) {
4592
4614
  (e[41]?.flag[0] === "vendor" ? "CategorySlideNoHighlight" : "")), Le(r, "background-image", "url(" + /*category*/
4593
4615
  e[41]?.background + ")"), Le(r, "background-size", "cover"), C(t, "class", "CategoriesSliderWrapper Animation");
4594
4616
  },
4595
- m(g, E) {
4596
- G(g, t, E), T(t, r), T(r, n), c && c.m(n, null), T(r, i), T(r, o);
4597
- for (let x = 0; x < m.length; x += 1)
4598
- m[x] && m[x].m(o, null);
4617
+ m(g, x) {
4618
+ G(g, t, x), T(t, r), T(r, n), c && c.m(n, null), T(r, i), T(r, o);
4619
+ for (let E = 0; E < m.length; E += 1)
4620
+ m[E] && m[E].m(o, null);
4599
4621
  T(t, a), h || (u = _e(r, "click", b), h = !0);
4600
4622
  },
4601
- p(g, E) {
4602
- if (e = g, f === (f = l(e)) && c ? c.p(e, E) : (c && c.d(1), c = f && f(e), c && (c.c(), c.m(n, null))), E[0] & /*gameCategories, collectionprovidersgamenames, openGame*/
4623
+ p(g, x) {
4624
+ if (e = g, f === (f = l(e)) && c ? c.p(e, x) : (c && c.d(1), c = f && f(e), c && (c.c(), c.m(n, null))), x[0] & /*gameCategories, collectionprovidersgamenames, openGame*/
4603
4625
  8204) {
4604
- d = Ee(
4626
+ d = xe(
4605
4627
  /*category*/
4606
4628
  e[41].games
4607
4629
  );
4608
- let x;
4609
- for (x = 0; x < d.length; x += 1) {
4610
- const w = Rt(e, d, x);
4611
- m[x] ? m[x].p(w, E) : (m[x] = Ut(w), m[x].c(), m[x].m(o, null));
4630
+ let E;
4631
+ for (E = 0; E < d.length; E += 1) {
4632
+ const w = Ut(e, d, E);
4633
+ m[E] ? m[E].p(w, x) : (m[E] = jt(w), m[E].c(), m[E].m(o, null));
4612
4634
  }
4613
- for (; x < m.length; x += 1)
4614
- m[x].d(1);
4635
+ for (; E < m.length; E += 1)
4636
+ m[E].d(1);
4615
4637
  m.length = d.length;
4616
4638
  }
4617
- E[0] & /*gameCategories*/
4639
+ x[0] & /*gameCategories*/
4618
4640
  8 && s !== (s = "CategorySlide " + /*category*/
4619
- (e[41]?.flag[0] === "vendor" ? "CategorySlideNoHighlight" : "")) && C(r, "class", s), E[0] & /*gameCategories*/
4641
+ (e[41]?.flag[0] === "vendor" ? "CategorySlideNoHighlight" : "")) && C(r, "class", s), x[0] & /*gameCategories*/
4620
4642
  8 && Le(r, "background-image", "url(" + /*category*/
4621
4643
  e[41]?.background + ")");
4622
4644
  },
4623
4645
  d(g) {
4624
- g && I(t), c && c.d(), Vt(m, g), h = !1, u();
4646
+ g && I(t), c && c.d(), zt(m, g), h = !1, u();
4625
4647
  }
4626
4648
  };
4627
4649
  }
4628
- function go(e) {
4650
+ function _o(e) {
4629
4651
  let t;
4630
4652
  function r(o, s) {
4631
4653
  return (
4632
4654
  /*isLoading*/
4633
- o[6] ? po : fo
4655
+ o[6] ? go : bo
4634
4656
  );
4635
4657
  }
4636
4658
  let n = r(e), i = n(e);
@@ -4651,23 +4673,23 @@ function go(e) {
4651
4673
  }
4652
4674
  };
4653
4675
  }
4654
- function vo(e, t, r) {
4676
+ function Eo(e, t, r) {
4655
4677
  let n;
4656
- Mr(e, Xi, (p) => r(10, n = p));
4657
- let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "" } = t, { type: a = "" } = t, { titletype: h = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: f = "" } = t, { collectionprovidersgamenames: c = "" } = t, { mbsource: d } = t, m = [], b = !0, g, E = 0, x = 0, w = 0, F, L, k = 0, W = 50, Oe = !1, N, Er = window.navigator.userAgent, ot;
4658
- const Sr = () => {
4678
+ Ur(e, Zi, (p) => r(10, n = p));
4679
+ let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "" } = t, { type: a = "" } = t, { titletype: h = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: f = "" } = t, { collectionprovidersgamenames: c = "" } = t, { mbsource: d } = t, m = [], b = !0, g, x = 0, E = 0, w = 0, F, L, k = 0, W = 50, Oe = !1, N, Hr = window.navigator.userAgent, lt;
4680
+ const Cr = () => {
4659
4681
  fetch(f).then((P) => P.json()).then((P) => {
4660
4682
  Object.keys(P).forEach((M) => {
4661
- Ht(M, P[M]);
4683
+ Bt(M, P[M]);
4662
4684
  });
4663
4685
  }).catch((P) => {
4664
4686
  console.log(P);
4665
4687
  });
4666
4688
  };
4667
- Object.keys(Ct).forEach((p) => {
4668
- Ht(p, Ct[p]);
4689
+ Object.keys(At).forEach((p) => {
4690
+ Bt(p, At[p]);
4669
4691
  });
4670
- const st = () => {
4692
+ const ut = () => {
4671
4693
  const p = new URL(`${i}/v2/casino/groups/${o}`);
4672
4694
  p.searchParams.append("language", s), p.searchParams.append("expand", "games"), p.searchParams.append("filter", `$and(flags=${a})`), p.searchParams.append("pagination", `offset=${k},limit=${W}`), fetch(p.href).then((P) => P.json()).then((P) => {
4673
4695
  r(6, b = !1), P.total > W && (k += 50, W += 50, r(22, Oe = !0));
@@ -4675,28 +4697,28 @@ function vo(e, t, r) {
4675
4697
  id: R.id,
4676
4698
  name: R.name,
4677
4699
  icon: R.icon ? R.icon : R.vendors?.items[0]?.subVendors[0]?.logo,
4678
- games: R.games.items.slice(0, 4).map((Ir) => Ir),
4700
+ games: R.games.items.slice(0, 4).map(($r) => $r),
4679
4701
  background: R.background,
4680
4702
  flag: R.flags
4681
4703
  }));
4682
- r(3, m = [...m, ...M]), r(7, x = m.length), wr();
4704
+ r(3, m = [...m, ...M]), r(7, E = m.length), Pr();
4683
4705
  });
4684
- }, wr = () => {
4706
+ }, Pr = () => {
4685
4707
  const p = N.getRootNode().host;
4686
4708
  p.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: p } }));
4687
- }, at = (p) => {
4709
+ }, ht = (p) => {
4688
4710
  L = [...g.children], L.forEach((P, M) => {
4689
4711
  P.style.transform = `translateX(${100 * (p ? M - p : M)}%)`;
4690
- }), F = L[0]?.getBoundingClientRect().width, Tr();
4691
- }, Tr = () => {
4712
+ }), F = L[0]?.getBoundingClientRect().width, Br();
4713
+ }, Br = () => {
4692
4714
  r(8, w = Math.floor(g.clientWidth / F));
4693
- }, lt = () => {
4694
- at(E);
4695
- }, Hr = () => {
4696
- E === 0 ? E = x - w : E - w < -1 ? E = 0 : E--, lt();
4697
- }, Cr = () => {
4698
- E === x - w ? E = 0 : x - w < E + 1 ? E = x - w : E++, lt();
4699
- }, ut = (p, P, M, R) => {
4715
+ }, ct = () => {
4716
+ ht(x);
4717
+ }, Ar = () => {
4718
+ x === 0 ? x = E - w : x - w < -1 ? x = 0 : x--, ct();
4719
+ }, Or = () => {
4720
+ x === E - w ? x = 0 : E - w < x + 1 ? x = E - w : x++, ct();
4721
+ }, ft = (p, P, M, R) => {
4700
4722
  window.postMessage(
4701
4723
  {
4702
4724
  type: "OpenCollectionsProvidersGame",
@@ -4710,7 +4732,7 @@ function vo(e, t, r) {
4710
4732
  context: "CollectionsProviders",
4711
4733
  gameName: `${M}`
4712
4734
  });
4713
- }, ht = (p) => {
4735
+ }, dt = (p) => {
4714
4736
  window.postMessage(
4715
4737
  {
4716
4738
  type: "OpenCollectionsProvidersCategory",
@@ -4718,19 +4740,19 @@ function vo(e, t, r) {
4718
4740
  },
4719
4741
  window.location.href
4720
4742
  );
4721
- }, Pr = () => {
4722
- Wi(s);
4743
+ }, Lr = () => {
4744
+ Qi(s);
4723
4745
  };
4724
- kr(() => (r(9, ot = ao(Er)), () => {
4746
+ zr(() => (r(9, lt = ho(Hr)), () => {
4725
4747
  }));
4726
- const Br = (p) => ut(p.gameId, p.launchUrl, p.name, p.subVendor), Ar = (p) => ht(p.id);
4727
- function Or(p) {
4728
- xe[p ? "unshift" : "push"](() => {
4748
+ const Ir = (p) => ft(p.gameId, p.launchUrl, p.name, p.subVendor), Nr = (p) => dt(p.id);
4749
+ function Mr(p) {
4750
+ Ee[p ? "unshift" : "push"](() => {
4729
4751
  g = p, r(4, g);
4730
4752
  });
4731
4753
  }
4732
- function Lr(p) {
4733
- xe[p ? "unshift" : "push"](() => {
4754
+ function Rr(p) {
4755
+ Ee[p ? "unshift" : "push"](() => {
4734
4756
  N = p, r(5, N);
4735
4757
  });
4736
4758
  }
@@ -4738,14 +4760,14 @@ function vo(e, t, r) {
4738
4760
  "endpoint" in p && r(15, i = p.endpoint), "datasource" in p && r(16, o = p.datasource), "lang" in p && r(17, s = p.lang), "type" in p && r(0, a = p.type), "titletype" in p && r(1, h = p.titletype), "clientstyling" in p && r(18, u = p.clientstyling), "clientstylingurl" in p && r(19, l = p.clientstylingurl), "translationurl" in p && r(20, f = p.translationurl), "collectionprovidersgamenames" in p && r(2, c = p.collectionprovidersgamenames), "mbsource" in p && r(21, d = p.mbsource);
4739
4761
  }, e.$$.update = () => {
4740
4762
  e.$$.dirty[0] & /*endpoint, datasource, lang*/
4741
- 229376 && i && o && s && st(), e.$$.dirty[0] & /*gameCategories, categoriesSlider*/
4742
- 24 && m && g && at(), e.$$.dirty[0] & /*lang*/
4743
- 131072 && s && Pr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4744
- 262176 && u && N && lo(N, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4745
- 524320 && l && N && uo(N, l), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
4746
- 2097184 && N && ho(N, `${d}.Style`), e.$$.dirty[0] & /*translationurl*/
4747
- 1048576 && f && Sr(), e.$$.dirty[0] & /*paginationrequired*/
4748
- 4194304 && Oe && st();
4763
+ 229376 && i && o && s && ut(), e.$$.dirty[0] & /*gameCategories, categoriesSlider*/
4764
+ 24 && m && g && ht(), e.$$.dirty[0] & /*lang*/
4765
+ 131072 && s && Lr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4766
+ 262176 && u && N && co(N, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4767
+ 524320 && l && N && fo(N, l), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
4768
+ 2097184 && N && po(N, `${d}.Style`), e.$$.dirty[0] & /*translationurl*/
4769
+ 1048576 && f && Cr(), e.$$.dirty[0] & /*paginationrequired*/
4770
+ 4194304 && Oe && ut();
4749
4771
  }, [
4750
4772
  a,
4751
4773
  h,
@@ -4754,14 +4776,14 @@ function vo(e, t, r) {
4754
4776
  g,
4755
4777
  N,
4756
4778
  b,
4757
- x,
4779
+ E,
4758
4780
  w,
4759
- ot,
4781
+ lt,
4760
4782
  n,
4761
- Hr,
4762
- Cr,
4763
- ut,
4764
- ht,
4783
+ Ar,
4784
+ Or,
4785
+ ft,
4786
+ dt,
4765
4787
  i,
4766
4788
  o,
4767
4789
  s,
@@ -4770,20 +4792,20 @@ function vo(e, t, r) {
4770
4792
  f,
4771
4793
  d,
4772
4794
  Oe,
4773
- Br,
4774
- Ar,
4775
- Or,
4776
- Lr
4795
+ Ir,
4796
+ Nr,
4797
+ Mr,
4798
+ Rr
4777
4799
  ];
4778
4800
  }
4779
- class yo extends tn {
4801
+ class xo extends sn {
4780
4802
  constructor(t) {
4781
- super(), Kr(
4803
+ super(), nn(
4782
4804
  this,
4783
4805
  t,
4784
- vo,
4785
- go,
4786
- jt,
4806
+ Eo,
4807
+ _o,
4808
+ Xt,
4787
4809
  {
4788
4810
  endpoint: 15,
4789
4811
  datasource: 16,
@@ -4796,7 +4818,7 @@ class yo extends tn {
4796
4818
  collectionprovidersgamenames: 2,
4797
4819
  mbsource: 21
4798
4820
  },
4799
- co,
4821
+ mo,
4800
4822
  [-1, -1]
4801
4823
  );
4802
4824
  }
@@ -4861,7 +4883,7 @@ class yo extends tn {
4861
4883
  this.$$set({ mbsource: t }), O();
4862
4884
  }
4863
4885
  }
4864
- en(yo, { endpoint: {}, datasource: {}, lang: {}, type: {}, titletype: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, collectionprovidersgamenames: {}, mbsource: {} }, [], [], !0);
4886
+ on(xo, { endpoint: {}, datasource: {}, lang: {}, type: {}, titletype: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, collectionprovidersgamenames: {}, mbsource: {} }, [], [], !0);
4865
4887
  export {
4866
- yo as C
4888
+ xo as C
4867
4889
  };