@everymatrix/casino-collections-providers 1.77.18 → 1.77.20

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,28 +1,28 @@
1
1
  function A() {
2
2
  }
3
- function Xt(e) {
3
+ function Dt(e) {
4
4
  return e();
5
5
  }
6
- function mt() {
6
+ function ht() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
- function ee(e) {
10
- e.forEach(Xt);
9
+ function te(e) {
10
+ e.forEach(Dt);
11
11
  }
12
- function ot(e) {
12
+ function et(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function Wt(e, t) {
15
+ function Ft(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
18
  let ce;
19
19
  function ve(e, t) {
20
20
  return e === t ? !0 : (ce || (ce = document.createElement("a")), ce.href = t, e === ce.href);
21
21
  }
22
- function Gr(e) {
22
+ function Ir(e) {
23
23
  return Object.keys(e).length === 0;
24
24
  }
25
- function zt(e, ...t) {
25
+ function jt(e, ...t) {
26
26
  if (e == null) {
27
27
  for (const n of t)
28
28
  n(void 0);
@@ -31,20 +31,20 @@ function zt(e, ...t) {
31
31
  const r = e.subscribe(...t);
32
32
  return r.unsubscribe ? () => r.unsubscribe() : r;
33
33
  }
34
- function Ur(e, t, r) {
35
- e.$$.on_destroy.push(zt(t, r));
34
+ function Nr(e, t, r) {
35
+ e.$$.on_destroy.push(jt(t, r));
36
36
  }
37
37
  function H(e, t) {
38
38
  e.appendChild(t);
39
39
  }
40
- function Dr(e, t, r) {
41
- const n = Fr(e);
40
+ function Mr(e, t, r) {
41
+ const n = Rr(e);
42
42
  if (!n.getElementById(t)) {
43
43
  const i = C("style");
44
- i.id = t, i.textContent = r, jr(n, i);
44
+ i.id = t, i.textContent = r, $r(n, i);
45
45
  }
46
46
  }
47
- function Fr(e) {
47
+ function Rr(e) {
48
48
  if (!e)
49
49
  return document;
50
50
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -54,54 +54,54 @@ function Fr(e) {
54
54
  t
55
55
  ) : e.ownerDocument;
56
56
  }
57
- function jr(e, t) {
57
+ function $r(e, t) {
58
58
  return H(
59
59
  /** @type {Document} */
60
60
  e.head || e,
61
61
  t
62
62
  ), t.sheet;
63
63
  }
64
- function G(e, t, r) {
64
+ function $(e, t, r) {
65
65
  e.insertBefore(t, r || null);
66
66
  }
67
67
  function I(e) {
68
68
  e.parentNode && e.parentNode.removeChild(e);
69
69
  }
70
- function Zt(e, t) {
70
+ function kt(e, t) {
71
71
  for (let r = 0; r < e.length; r += 1)
72
72
  e[r] && e[r].d(t);
73
73
  }
74
74
  function C(e) {
75
75
  return document.createElement(e);
76
76
  }
77
- function Te(e) {
77
+ function we(e) {
78
78
  return document.createTextNode(e);
79
79
  }
80
80
  function k() {
81
- return Te(" ");
81
+ return we(" ");
82
82
  }
83
83
  function ye(e, t, r, n) {
84
84
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
85
85
  }
86
- function kr(e) {
86
+ function Gr(e) {
87
87
  return function(t) {
88
88
  return t.stopPropagation(), e.call(this, t);
89
89
  };
90
90
  }
91
- function E(e, t, r) {
91
+ function x(e, t, r) {
92
92
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
93
93
  }
94
- function Vr(e) {
94
+ function Ur(e) {
95
95
  return Array.from(e.childNodes);
96
96
  }
97
- function st(e, t) {
97
+ function tt(e, t) {
98
98
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
99
99
  t);
100
100
  }
101
- function Ie(e, t, r, n) {
101
+ function Oe(e, t, r, n) {
102
102
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
103
103
  }
104
- function Xr(e) {
104
+ function Dr(e) {
105
105
  const t = {};
106
106
  return e.childNodes.forEach(
107
107
  /** @param {Element} node */
@@ -110,98 +110,98 @@ function Xr(e) {
110
110
  }
111
111
  ), t;
112
112
  }
113
- let se;
114
- function oe(e) {
115
- se = e;
113
+ let ae;
114
+ function se(e) {
115
+ ae = e;
116
116
  }
117
- function Wr() {
118
- if (!se)
117
+ function Fr() {
118
+ if (!ae)
119
119
  throw new Error("Function called outside component initialization");
120
- return se;
120
+ return ae;
121
121
  }
122
- function zr(e) {
123
- Wr().$$.on_mount.push(e);
122
+ function jr(e) {
123
+ Fr().$$.on_mount.push(e);
124
124
  }
125
125
  const Z = [], _e = [];
126
126
  let Q = [];
127
- const bt = [], Zr = /* @__PURE__ */ Promise.resolve();
128
- let je = !1;
129
- function Qr() {
130
- je || (je = !0, Zr.then(O));
127
+ const ct = [], kr = /* @__PURE__ */ Promise.resolve();
128
+ let Ue = !1;
129
+ function Vr() {
130
+ Ue || (Ue = !0, kr.then(O));
131
131
  }
132
- function ke(e) {
132
+ function De(e) {
133
133
  Q.push(e);
134
134
  }
135
- const Ne = /* @__PURE__ */ new Set();
135
+ const Le = /* @__PURE__ */ new Set();
136
136
  let W = 0;
137
137
  function O() {
138
138
  if (W !== 0)
139
139
  return;
140
- const e = se;
140
+ const e = ae;
141
141
  do {
142
142
  try {
143
143
  for (; W < Z.length; ) {
144
144
  const t = Z[W];
145
- W++, oe(t), Jr(t.$$);
145
+ W++, se(t), Xr(t.$$);
146
146
  }
147
147
  } catch (t) {
148
148
  throw Z.length = 0, W = 0, t;
149
149
  }
150
- for (oe(null), Z.length = 0, W = 0; _e.length; )
150
+ for (se(null), Z.length = 0, W = 0; _e.length; )
151
151
  _e.pop()();
152
152
  for (let t = 0; t < Q.length; t += 1) {
153
153
  const r = Q[t];
154
- Ne.has(r) || (Ne.add(r), r());
154
+ Le.has(r) || (Le.add(r), r());
155
155
  }
156
156
  Q.length = 0;
157
157
  } while (Z.length);
158
- for (; bt.length; )
159
- bt.pop()();
160
- je = !1, Ne.clear(), oe(e);
158
+ for (; ct.length; )
159
+ ct.pop()();
160
+ Ue = !1, Le.clear(), se(e);
161
161
  }
162
- function Jr(e) {
162
+ function Xr(e) {
163
163
  if (e.fragment !== null) {
164
- e.update(), ee(e.before_update);
164
+ e.update(), te(e.before_update);
165
165
  const t = e.dirty;
166
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ke);
166
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(De);
167
167
  }
168
168
  }
169
- function qr(e) {
169
+ function Wr(e) {
170
170
  const t = [], r = [];
171
171
  Q.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Q = t;
172
172
  }
173
- const Yr = /* @__PURE__ */ new Set();
174
- function Kr(e, t) {
175
- e && e.i && (Yr.delete(e), e.i(t));
173
+ const zr = /* @__PURE__ */ new Set();
174
+ function Zr(e, t) {
175
+ e && e.i && (zr.delete(e), e.i(t));
176
176
  }
177
177
  function Ee(e) {
178
178
  return e?.length !== void 0 ? e : Array.from(e);
179
179
  }
180
- function en(e, t, r) {
180
+ function Qr(e, t, r) {
181
181
  const { fragment: n, after_update: i } = e.$$;
182
- n && n.m(t, r), ke(() => {
183
- const o = e.$$.on_mount.map(Xt).filter(ot);
184
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ee(o), e.$$.on_mount = [];
185
- }), i.forEach(ke);
182
+ n && n.m(t, r), De(() => {
183
+ const o = e.$$.on_mount.map(Dt).filter(et);
184
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : te(o), e.$$.on_mount = [];
185
+ }), i.forEach(De);
186
186
  }
187
- function tn(e, t) {
187
+ function Jr(e, t) {
188
188
  const r = e.$$;
189
- r.fragment !== null && (qr(r.after_update), ee(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
189
+ r.fragment !== null && (Wr(r.after_update), te(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
190
190
  }
191
- function rn(e, t) {
192
- e.$$.dirty[0] === -1 && (Z.push(e), Qr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
191
+ function qr(e, t) {
192
+ e.$$.dirty[0] === -1 && (Z.push(e), Vr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
193
193
  }
194
- function nn(e, t, r, n, i, o, s = null, a = [-1]) {
195
- const h = se;
196
- oe(e);
197
- const l = e.$$ = {
194
+ function Yr(e, t, r, n, i, o, s = null, a = [-1]) {
195
+ const h = ae;
196
+ se(e);
197
+ const u = e.$$ = {
198
198
  fragment: null,
199
199
  ctx: [],
200
200
  // state
201
201
  props: o,
202
202
  update: A,
203
203
  not_equal: i,
204
- bound: mt(),
204
+ bound: ht(),
205
205
  // lifecycle
206
206
  on_mount: [],
207
207
  on_destroy: [],
@@ -210,28 +210,28 @@ function nn(e, t, r, n, i, o, s = null, a = [-1]) {
210
210
  after_update: [],
211
211
  context: new Map(t.context || (h ? h.$$.context : [])),
212
212
  // everything else
213
- callbacks: mt(),
213
+ callbacks: ht(),
214
214
  dirty: a,
215
215
  skip_bound: !1,
216
216
  root: t.target || h.$$.root
217
217
  };
218
- s && s(l.root);
219
- let u = !1;
220
- if (l.ctx = r ? r(e, t.props || {}, (f, c, ...d) => {
218
+ s && s(u.root);
219
+ let l = !1;
220
+ if (u.ctx = r ? r(e, t.props || {}, (f, c, ...d) => {
221
221
  const m = d.length ? d[0] : c;
222
- return l.ctx && i(l.ctx[f], l.ctx[f] = m) && (!l.skip_bound && l.bound[f] && l.bound[f](m), u && rn(e, f)), c;
223
- }) : [], l.update(), u = !0, ee(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
222
+ return u.ctx && i(u.ctx[f], u.ctx[f] = m) && (!u.skip_bound && u.bound[f] && u.bound[f](m), l && qr(e, f)), c;
223
+ }) : [], u.update(), l = !0, te(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
224
224
  if (t.hydrate) {
225
- const f = Vr(t.target);
226
- l.fragment && l.fragment.l(f), f.forEach(I);
225
+ const f = Ur(t.target);
226
+ u.fragment && u.fragment.l(f), f.forEach(I);
227
227
  } else
228
- l.fragment && l.fragment.c();
229
- t.intro && Kr(e.$$.fragment), en(e, t.target, t.anchor), O();
228
+ u.fragment && u.fragment.c();
229
+ t.intro && Zr(e.$$.fragment), Qr(e, t.target, t.anchor), O();
230
230
  }
231
- oe(h);
231
+ se(h);
232
232
  }
233
- let Qt;
234
- typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
233
+ let Vt;
234
+ typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
235
235
  /** The Svelte component constructor */
236
236
  $$ctor;
237
237
  /** Slots */
@@ -273,14 +273,14 @@ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
273
273
  let o;
274
274
  return {
275
275
  c: function() {
276
- o = C("slot"), i !== "default" && E(o, "name", i);
276
+ o = C("slot"), i !== "default" && x(o, "name", i);
277
277
  },
278
278
  /**
279
279
  * @param {HTMLElement} target
280
280
  * @param {HTMLElement} [anchor]
281
281
  */
282
- m: function(h, l) {
283
- G(h, o, l);
282
+ m: function(h, u) {
283
+ $(h, o, u);
284
284
  },
285
285
  d: function(h) {
286
286
  h && I(o);
@@ -290,7 +290,7 @@ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
290
290
  };
291
291
  if (await Promise.resolve(), !this.$$cn || this.$$c)
292
292
  return;
293
- const t = {}, r = Xr(this);
293
+ const t = {}, r = Dr(this);
294
294
  for (const i of this.$$s)
295
295
  i in r && (t[i] = [e(i)]);
296
296
  for (const i of this.attributes) {
@@ -377,8 +377,8 @@ function pe(e, t, r, n) {
377
377
  return t;
378
378
  }
379
379
  }
380
- function on(e, t, r, n, i, o) {
381
- let s = class extends Qt {
380
+ function Kr(e, t, r, n, i, o) {
381
+ let s = class extends Vt {
382
382
  constructor() {
383
383
  super(e, r, i), this.$$p_d = t;
384
384
  }
@@ -406,7 +406,7 @@ function on(e, t, r, n, i, o) {
406
406
  }), e.element = /** @type {any} */
407
407
  s, s;
408
408
  }
409
- class sn {
409
+ class en {
410
410
  /**
411
411
  * ### PRIVATE API
412
412
  *
@@ -425,7 +425,7 @@ class sn {
425
425
  $$set = void 0;
426
426
  /** @returns {void} */
427
427
  $destroy() {
428
- tn(this, 1), this.$destroy = A;
428
+ Jr(this, 1), this.$destroy = A;
429
429
  }
430
430
  /**
431
431
  * @template {Extract<keyof Events, string>} K
@@ -434,7 +434,7 @@ class sn {
434
434
  * @returns {() => void}
435
435
  */
436
436
  $on(t, r) {
437
- if (!ot(r))
437
+ if (!et(r))
438
438
  return A;
439
439
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
440
440
  return n.push(r), () => {
@@ -447,28 +447,28 @@ class sn {
447
447
  * @returns {void}
448
448
  */
449
449
  $set(t) {
450
- this.$$set && !Gr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
450
+ this.$$set && !Ir(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
451
451
  }
452
452
  }
453
- const an = "4";
454
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(an);
453
+ const tn = "4";
454
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(tn);
455
455
  const z = [];
456
- function un(e, t) {
456
+ function rn(e, t) {
457
457
  return {
458
- subscribe: He(e, t).subscribe
458
+ subscribe: Te(e, t).subscribe
459
459
  };
460
460
  }
461
- function He(e, t = A) {
461
+ function Te(e, t = A) {
462
462
  let r;
463
463
  const n = /* @__PURE__ */ new Set();
464
464
  function i(a) {
465
- if (Wt(e, a) && (e = a, r)) {
465
+ if (Ft(e, a) && (e = a, r)) {
466
466
  const h = !z.length;
467
- for (const l of n)
468
- l[1](), z.push(l, e);
467
+ for (const u of n)
468
+ u[1](), z.push(u, e);
469
469
  if (h) {
470
- for (let l = 0; l < z.length; l += 2)
471
- z[l][0](z[l + 1]);
470
+ for (let u = 0; u < z.length; u += 2)
471
+ z[u][0](z[u + 1]);
472
472
  z.length = 0;
473
473
  }
474
474
  }
@@ -477,146 +477,160 @@ function He(e, t = A) {
477
477
  i(a(e));
478
478
  }
479
479
  function s(a, h = A) {
480
- const l = [a, h];
481
- return n.add(l), n.size === 1 && (r = t(i, o) || A), a(e), () => {
482
- n.delete(l), n.size === 0 && r && (r(), r = null);
480
+ const u = [a, h];
481
+ return n.add(u), n.size === 1 && (r = t(i, o) || A), a(e), () => {
482
+ n.delete(u), n.size === 0 && r && (r(), r = null);
483
483
  };
484
484
  }
485
485
  return { set: i, update: o, subscribe: s };
486
486
  }
487
- function te(e, t, r) {
487
+ function re(e, t, r) {
488
488
  const n = !Array.isArray(e), i = n ? [e] : e;
489
489
  if (!i.every(Boolean))
490
490
  throw new Error("derived() expects stores as input, got a falsy value");
491
491
  const o = t.length < 2;
492
- return un(r, (s, a) => {
492
+ return rn(r, (s, a) => {
493
493
  let h = !1;
494
- const l = [];
495
- let u = 0, f = A;
494
+ const u = [];
495
+ let l = 0, f = A;
496
496
  const c = () => {
497
- if (u)
497
+ if (l)
498
498
  return;
499
499
  f();
500
- const m = t(n ? l[0] : l, s, a);
501
- o ? s(m) : f = ot(m) ? m : A;
500
+ const m = t(n ? u[0] : u, s, a);
501
+ o ? s(m) : f = et(m) ? m : A;
502
502
  }, d = i.map(
503
- (m, b) => zt(
503
+ (m, b) => jt(
504
504
  m,
505
505
  (g) => {
506
- l[b] = g, u &= ~(1 << b), h && c();
506
+ u[b] = g, l &= ~(1 << b), h && c();
507
507
  },
508
508
  () => {
509
- u |= 1 << b;
509
+ l |= 1 << b;
510
510
  }
511
511
  )
512
512
  );
513
513
  return h = !0, c(), function() {
514
- ee(d), f(), h = !1;
514
+ te(d), f(), h = !1;
515
515
  };
516
516
  });
517
517
  }
518
- function ln(e) {
518
+ function nn(e) {
519
519
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
520
520
  }
521
- var hn = function(t) {
522
- return cn(t) && !fn(t);
521
+ var on = function(t) {
522
+ return sn(t) && !an(t);
523
523
  };
524
- function cn(e) {
524
+ function sn(e) {
525
525
  return !!e && typeof e == "object";
526
526
  }
527
- function fn(e) {
527
+ function an(e) {
528
528
  var t = Object.prototype.toString.call(e);
529
- return t === "[object RegExp]" || t === "[object Date]" || mn(e);
529
+ return t === "[object RegExp]" || t === "[object Date]" || hn(e);
530
530
  }
531
- var dn = typeof Symbol == "function" && Symbol.for, pn = dn ? Symbol.for("react.element") : 60103;
532
- function mn(e) {
533
- return e.$$typeof === pn;
531
+ var ln = typeof Symbol == "function" && Symbol.for, un = ln ? Symbol.for("react.element") : 60103;
532
+ function hn(e) {
533
+ return e.$$typeof === un;
534
534
  }
535
- function bn(e) {
535
+ function cn(e) {
536
536
  return Array.isArray(e) ? [] : {};
537
537
  }
538
- function ae(e, t) {
539
- return t.clone !== !1 && t.isMergeableObject(e) ? J(bn(e), e, t) : e;
538
+ function le(e, t) {
539
+ return t.clone !== !1 && t.isMergeableObject(e) ? q(cn(e), e, t) : e;
540
540
  }
541
- function gn(e, t, r) {
541
+ function fn(e, t, r) {
542
542
  return e.concat(t).map(function(n) {
543
- return ae(n, r);
543
+ return le(n, r);
544
544
  });
545
545
  }
546
- function vn(e, t) {
546
+ function dn(e, t) {
547
547
  if (!t.customMerge)
548
- return J;
548
+ return q;
549
549
  var r = t.customMerge(e);
550
- return typeof r == "function" ? r : J;
550
+ return typeof r == "function" ? r : q;
551
551
  }
552
- function yn(e) {
552
+ function pn(e) {
553
553
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
554
554
  return Object.propertyIsEnumerable.call(e, t);
555
555
  }) : [];
556
556
  }
557
- function gt(e) {
558
- return Object.keys(e).concat(yn(e));
557
+ function ft(e) {
558
+ return Object.keys(e).concat(pn(e));
559
559
  }
560
- function Jt(e, t) {
560
+ function Xt(e, t) {
561
561
  try {
562
562
  return t in e;
563
563
  } catch {
564
564
  return !1;
565
565
  }
566
566
  }
567
- function _n(e, t) {
568
- return Jt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
567
+ function mn(e, t) {
568
+ return Xt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
569
569
  }
570
- function En(e, t, r) {
570
+ function bn(e, t, r) {
571
571
  var n = {};
572
- return r.isMergeableObject(e) && gt(e).forEach(function(i) {
573
- n[i] = ae(e[i], r);
574
- }), gt(t).forEach(function(i) {
575
- _n(e, i) || (Jt(e, i) && r.isMergeableObject(t[i]) ? n[i] = vn(i, r)(e[i], t[i], r) : n[i] = ae(t[i], r));
572
+ return r.isMergeableObject(e) && ft(e).forEach(function(i) {
573
+ n[i] = le(e[i], r);
574
+ }), ft(t).forEach(function(i) {
575
+ mn(e, i) || (Xt(e, i) && r.isMergeableObject(t[i]) ? n[i] = dn(i, r)(e[i], t[i], r) : n[i] = le(t[i], r));
576
576
  }), n;
577
577
  }
578
- function J(e, t, r) {
579
- r = r || {}, r.arrayMerge = r.arrayMerge || gn, r.isMergeableObject = r.isMergeableObject || hn, r.cloneUnlessOtherwiseSpecified = ae;
578
+ function q(e, t, r) {
579
+ r = r || {}, r.arrayMerge = r.arrayMerge || fn, r.isMergeableObject = r.isMergeableObject || on, r.cloneUnlessOtherwiseSpecified = le;
580
580
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
581
- return o ? n ? r.arrayMerge(e, t, r) : En(e, t, r) : ae(t, r);
581
+ return o ? n ? r.arrayMerge(e, t, r) : bn(e, t, r) : le(t, r);
582
582
  }
583
- J.all = function(t, r) {
583
+ q.all = function(t, r) {
584
584
  if (!Array.isArray(t))
585
585
  throw new Error("first argument should be an array");
586
586
  return t.reduce(function(n, i) {
587
- return J(n, i, r);
587
+ return q(n, i, r);
588
588
  }, {});
589
589
  };
590
- var xn = J, Sn = xn;
591
- const wn = /* @__PURE__ */ ln(Sn);
592
- var Ve = function(e, t) {
593
- return Ve = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
590
+ var gn = q, vn = gn;
591
+ const yn = /* @__PURE__ */ nn(vn);
592
+ /*! *****************************************************************************
593
+ Copyright (c) Microsoft Corporation.
594
+
595
+ Permission to use, copy, modify, and/or distribute this software for any
596
+ purpose with or without fee is hereby granted.
597
+
598
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
599
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
600
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
601
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
602
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
603
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
604
+ PERFORMANCE OF THIS SOFTWARE.
605
+ ***************************************************************************** */
606
+ var Fe = function(e, t) {
607
+ return Fe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
594
608
  r.__proto__ = n;
595
609
  } || function(r, n) {
596
610
  for (var i in n)
597
611
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
598
- }, Ve(e, t);
612
+ }, Fe(e, t);
599
613
  };
600
- function Ce(e, t) {
614
+ function U(e, t) {
601
615
  if (typeof t != "function" && t !== null)
602
616
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
603
- Ve(e, t);
617
+ Fe(e, t);
604
618
  function r() {
605
619
  this.constructor = e;
606
620
  }
607
621
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
608
622
  }
609
- var $ = function() {
610
- return $ = Object.assign || function(t) {
623
+ var _ = function() {
624
+ return _ = Object.assign || function(t) {
611
625
  for (var r, n = 1, i = arguments.length; n < i; n++) {
612
626
  r = arguments[n];
613
627
  for (var o in r)
614
628
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
615
629
  }
616
630
  return t;
617
- }, $.apply(this, arguments);
631
+ }, _.apply(this, arguments);
618
632
  };
619
- function Tn(e, t) {
633
+ function _n(e, t) {
620
634
  var r = {};
621
635
  for (var n in e)
622
636
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -625,43 +639,75 @@ function Tn(e, t) {
625
639
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
626
640
  return r;
627
641
  }
628
- function Me(e, t, r) {
642
+ function je(e) {
643
+ var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
644
+ if (r)
645
+ return r.call(e);
646
+ if (e && typeof e.length == "number")
647
+ return {
648
+ next: function() {
649
+ return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
650
+ }
651
+ };
652
+ throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
653
+ }
654
+ function ke(e, t) {
655
+ var r = typeof Symbol == "function" && e[Symbol.iterator];
656
+ if (!r)
657
+ return e;
658
+ var n = r.call(e), i, o = [], s;
659
+ try {
660
+ for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
661
+ o.push(i.value);
662
+ } catch (a) {
663
+ s = { error: a };
664
+ } finally {
665
+ try {
666
+ i && !i.done && (r = n.return) && r.call(n);
667
+ } finally {
668
+ if (s)
669
+ throw s.error;
670
+ }
671
+ }
672
+ return o;
673
+ }
674
+ function J(e, t, r) {
629
675
  if (r || arguments.length === 2)
630
676
  for (var n = 0, i = t.length, o; n < i; n++)
631
677
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
632
- return e.concat(o || Array.prototype.slice.call(t));
678
+ return e.concat(o || t);
633
679
  }
634
- function Re(e, t) {
635
- var r = t && t.cache ? t.cache : Ln, n = t && t.serializer ? t.serializer : An, i = t && t.strategy ? t.strategy : Pn;
680
+ function Ie(e, t) {
681
+ var r = t && t.cache ? t.cache : Cn, n = t && t.serializer ? t.serializer : Tn, i = t && t.strategy ? t.strategy : Sn;
636
682
  return i(e, {
637
683
  cache: r,
638
684
  serializer: n
639
685
  });
640
686
  }
641
- function Hn(e) {
687
+ function En(e) {
642
688
  return e == null || typeof e == "number" || typeof e == "boolean";
643
689
  }
644
- function Cn(e, t, r, n) {
645
- var i = Hn(n) ? n : r(n), o = t.get(i);
690
+ function xn(e, t, r, n) {
691
+ var i = En(n) ? n : r(n), o = t.get(i);
646
692
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
647
693
  }
648
- function qt(e, t, r) {
694
+ function Wt(e, t, r) {
649
695
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
650
696
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
651
697
  }
652
- function Yt(e, t, r, n, i) {
698
+ function zt(e, t, r, n, i) {
653
699
  return r.bind(t, e, n, i);
654
700
  }
655
- function Pn(e, t) {
656
- var r = e.length === 1 ? Cn : qt;
657
- return Yt(e, this, r, t.cache.create(), t.serializer);
701
+ function Sn(e, t) {
702
+ var r = e.length === 1 ? xn : Wt;
703
+ return zt(e, this, r, t.cache.create(), t.serializer);
658
704
  }
659
- function Bn(e, t) {
660
- return Yt(e, this, qt, t.cache.create(), t.serializer);
705
+ function wn(e, t) {
706
+ return zt(e, this, Wt, t.cache.create(), t.serializer);
661
707
  }
662
- var An = function() {
708
+ var Tn = function() {
663
709
  return JSON.stringify(arguments);
664
- }, On = (
710
+ }, Hn = (
665
711
  /** @class */
666
712
  function() {
667
713
  function e() {
@@ -673,71 +719,61 @@ var An = function() {
673
719
  this.cache[t] = r;
674
720
  }, e;
675
721
  }()
676
- ), Ln = {
722
+ ), Cn = {
677
723
  create: function() {
678
- return new On();
724
+ return new Hn();
679
725
  }
680
- }, $e = {
681
- variadic: Bn
682
- }, xe = function() {
683
- return xe = Object.assign || function(t) {
684
- for (var r, n = 1, i = arguments.length; n < i; n++) {
685
- r = arguments[n];
686
- for (var o in r)
687
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
688
- }
689
- return t;
690
- }, xe.apply(this, arguments);
691
- };
692
- var v;
726
+ }, Ne = {
727
+ variadic: wn
728
+ }, v;
693
729
  (function(e) {
694
730
  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";
695
731
  })(v || (v = {}));
696
- var S;
732
+ var w;
697
733
  (function(e) {
698
734
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
699
- })(S || (S = {}));
700
- var q;
735
+ })(w || (w = {}));
736
+ var Y;
701
737
  (function(e) {
702
738
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
703
- })(q || (q = {}));
704
- function vt(e) {
705
- return e.type === S.literal;
739
+ })(Y || (Y = {}));
740
+ function dt(e) {
741
+ return e.type === w.literal;
706
742
  }
707
- function In(e) {
708
- return e.type === S.argument;
743
+ function Pn(e) {
744
+ return e.type === w.argument;
709
745
  }
710
- function Kt(e) {
711
- return e.type === S.number;
746
+ function Zt(e) {
747
+ return e.type === w.number;
712
748
  }
713
- function er(e) {
714
- return e.type === S.date;
749
+ function Qt(e) {
750
+ return e.type === w.date;
715
751
  }
716
- function tr(e) {
717
- return e.type === S.time;
752
+ function Jt(e) {
753
+ return e.type === w.time;
718
754
  }
719
- function rr(e) {
720
- return e.type === S.select;
755
+ function qt(e) {
756
+ return e.type === w.select;
721
757
  }
722
- function nr(e) {
723
- return e.type === S.plural;
758
+ function Yt(e) {
759
+ return e.type === w.plural;
724
760
  }
725
- function Nn(e) {
726
- return e.type === S.pound;
761
+ function Bn(e) {
762
+ return e.type === w.pound;
727
763
  }
728
- function ir(e) {
729
- return e.type === S.tag;
764
+ function Kt(e) {
765
+ return e.type === w.tag;
730
766
  }
731
- function or(e) {
732
- return !!(e && typeof e == "object" && e.type === q.number);
767
+ function er(e) {
768
+ return !!(e && typeof e == "object" && e.type === Y.number);
733
769
  }
734
- function Xe(e) {
735
- return !!(e && typeof e == "object" && e.type === q.dateTime);
770
+ function Ve(e) {
771
+ return !!(e && typeof e == "object" && e.type === Y.dateTime);
736
772
  }
737
- var sr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Mn = /(?:[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;
738
- function Rn(e) {
773
+ var tr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, An = /(?:[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;
774
+ function On(e) {
739
775
  var t = {};
740
- return e.replace(Mn, function(r) {
776
+ return e.replace(An, function(r) {
741
777
  var n = r.length;
742
778
  switch (r[0]) {
743
779
  case "G":
@@ -826,28 +862,18 @@ function Rn(e) {
826
862
  return "";
827
863
  }), t;
828
864
  }
829
- var w = function() {
830
- return w = Object.assign || function(t) {
831
- for (var r, n = 1, i = arguments.length; n < i; n++) {
832
- r = arguments[n];
833
- for (var o in r)
834
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
835
- }
836
- return t;
837
- }, w.apply(this, arguments);
838
- };
839
- var $n = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
840
- function Gn(e) {
865
+ var Ln = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
866
+ function In(e) {
841
867
  if (e.length === 0)
842
868
  throw new Error("Number skeleton cannot be empty");
843
- for (var t = e.split($n).filter(function(c) {
869
+ for (var t = e.split(Ln).filter(function(c) {
844
870
  return c.length > 0;
845
871
  }), r = [], n = 0, i = t; n < i.length; n++) {
846
872
  var o = i[n], s = o.split("/");
847
873
  if (s.length === 0)
848
874
  throw new Error("Invalid number skeleton");
849
- for (var a = s[0], h = s.slice(1), l = 0, u = h; l < u.length; l++) {
850
- var f = u[l];
875
+ for (var a = s[0], h = s.slice(1), u = 0, l = h; u < l.length; u++) {
876
+ var f = l[u];
851
877
  if (f.length === 0)
852
878
  throw new Error("Invalid number skeleton");
853
879
  }
@@ -855,17 +881,17 @@ function Gn(e) {
855
881
  }
856
882
  return r;
857
883
  }
858
- function Un(e) {
884
+ function Nn(e) {
859
885
  return e.replace(/^(.*?)-/, "");
860
886
  }
861
- var yt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ar = /^(@+)?(\+|#+)?[rs]?$/g, Dn = /(\*)(0+)|(#+)(0+)|(0+)/g, ur = /^(0+)$/;
862
- function _t(e) {
887
+ var pt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, rr = /^(@+)?(\+|#+)?[rs]?$/g, Mn = /(\*)(0+)|(#+)(0+)|(0+)/g, nr = /^(0+)$/;
888
+ function mt(e) {
863
889
  var t = {};
864
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(ar, function(r, n, i) {
890
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(rr, function(r, n, i) {
865
891
  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)), "";
866
892
  }), t;
867
893
  }
868
- function lr(e) {
894
+ function ir(e) {
869
895
  switch (e) {
870
896
  case "sign-auto":
871
897
  return {
@@ -905,7 +931,7 @@ function lr(e) {
905
931
  };
906
932
  }
907
933
  }
908
- function Fn(e) {
934
+ function Rn(e) {
909
935
  var t;
910
936
  if (e[0] === "E" && e[1] === "E" ? (t = {
911
937
  notation: "engineering"
@@ -913,17 +939,17 @@ function Fn(e) {
913
939
  notation: "scientific"
914
940
  }, e = e.slice(1)), t) {
915
941
  var r = e.slice(0, 2);
916
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !ur.test(e))
942
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !nr.test(e))
917
943
  throw new Error("Malformed concise eng/scientific notation");
918
944
  t.minimumIntegerDigits = e.length;
919
945
  }
920
946
  return t;
921
947
  }
922
- function Et(e) {
923
- var t = {}, r = lr(e);
948
+ function bt(e) {
949
+ var t = {}, r = ir(e);
924
950
  return r || t;
925
951
  }
926
- function jn(e) {
952
+ function $n(e) {
927
953
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
928
954
  var i = n[r];
929
955
  switch (i.stem) {
@@ -947,7 +973,7 @@ function jn(e) {
947
973
  continue;
948
974
  case "measure-unit":
949
975
  case "unit":
950
- t.style = "unit", t.unit = Un(i.options[0]);
976
+ t.style = "unit", t.unit = Nn(i.options[0]);
951
977
  continue;
952
978
  case "compact-short":
953
979
  case "K":
@@ -958,13 +984,13 @@ function jn(e) {
958
984
  t.notation = "compact", t.compactDisplay = "long";
959
985
  continue;
960
986
  case "scientific":
961
- t = w(w(w({}, t), { notation: "scientific" }), i.options.reduce(function(h, l) {
962
- return w(w({}, h), Et(l));
987
+ t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
988
+ return _(_({}, h), bt(u));
963
989
  }, {}));
964
990
  continue;
965
991
  case "engineering":
966
- t = w(w(w({}, t), { notation: "engineering" }), i.options.reduce(function(h, l) {
967
- return w(w({}, h), Et(l));
992
+ t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
993
+ return _(_({}, h), bt(u));
968
994
  }, {}));
969
995
  continue;
970
996
  case "notation-simple":
@@ -1009,9 +1035,9 @@ function jn(e) {
1009
1035
  case "integer-width":
1010
1036
  if (i.options.length > 1)
1011
1037
  throw new RangeError("integer-width stems only accept a single optional option");
1012
- i.options[0].replace(Dn, function(h, l, u, f, c, d) {
1013
- if (l)
1014
- t.minimumIntegerDigits = u.length;
1038
+ i.options[0].replace(Mn, function(h, u, l, f, c, d) {
1039
+ if (u)
1040
+ t.minimumIntegerDigits = l.length;
1015
1041
  else {
1016
1042
  if (f && c)
1017
1043
  throw new Error("We currently do not support maximum integer digits");
@@ -1022,28 +1048,28 @@ function jn(e) {
1022
1048
  });
1023
1049
  continue;
1024
1050
  }
1025
- if (ur.test(i.stem)) {
1051
+ if (nr.test(i.stem)) {
1026
1052
  t.minimumIntegerDigits = i.stem.length;
1027
1053
  continue;
1028
1054
  }
1029
- if (yt.test(i.stem)) {
1055
+ if (pt.test(i.stem)) {
1030
1056
  if (i.options.length > 1)
1031
1057
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1032
- i.stem.replace(yt, function(h, l, u, f, c, d) {
1033
- return u === "*" ? t.minimumFractionDigits = l.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1058
+ i.stem.replace(pt, function(h, u, l, f, c, d) {
1059
+ 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), "";
1034
1060
  });
1035
1061
  var o = i.options[0];
1036
- o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t), _t(o)));
1062
+ o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), mt(o)));
1037
1063
  continue;
1038
1064
  }
1039
- if (ar.test(i.stem)) {
1040
- t = w(w({}, t), _t(i.stem));
1065
+ if (rr.test(i.stem)) {
1066
+ t = _(_({}, t), mt(i.stem));
1041
1067
  continue;
1042
1068
  }
1043
- var s = lr(i.stem);
1044
- s && (t = w(w({}, t), s));
1045
- var a = Fn(i.stem);
1046
- a && (t = w(w({}, t), a));
1069
+ var s = ir(i.stem);
1070
+ s && (t = _(_({}, t), s));
1071
+ var a = Rn(i.stem);
1072
+ a && (t = _(_({}, t), a));
1047
1073
  }
1048
1074
  return t;
1049
1075
  }
@@ -2462,23 +2488,23 @@ var fe = {
2462
2488
  "h"
2463
2489
  ]
2464
2490
  };
2465
- function kn(e, t) {
2491
+ function Gn(e, t) {
2466
2492
  for (var r = "", n = 0; n < e.length; n++) {
2467
2493
  var i = e.charAt(n);
2468
2494
  if (i === "j") {
2469
2495
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2470
2496
  o++, n++;
2471
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", l = Vn(t);
2472
- for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
2497
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Un(t);
2498
+ for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2473
2499
  r += h;
2474
2500
  for (; s-- > 0; )
2475
- r = l + r;
2501
+ r = u + r;
2476
2502
  } else
2477
2503
  i === "J" ? r += "H" : r += i;
2478
2504
  }
2479
2505
  return r;
2480
2506
  }
2481
- function Vn(e) {
2507
+ function Un(e) {
2482
2508
  var t = e.hourCycle;
2483
2509
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2484
2510
  e.hourCycles && // @ts-ignore
@@ -2500,20 +2526,20 @@ function Vn(e) {
2500
2526
  var i = fe[n || ""] || fe[r || ""] || fe["".concat(r, "-001")] || fe["001"];
2501
2527
  return i[0];
2502
2528
  }
2503
- var Ge, Xn = new RegExp("^".concat(sr.source, "*")), Wn = new RegExp("".concat(sr.source, "*$"));
2529
+ var Me, Dn = new RegExp("^".concat(tr.source, "*")), Fn = new RegExp("".concat(tr.source, "*$"));
2504
2530
  function y(e, t) {
2505
2531
  return { start: e, end: t };
2506
2532
  }
2507
- var zn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Zn = !!String.fromCodePoint, Qn = !!Object.fromEntries, Jn = !!String.prototype.codePointAt, qn = !!String.prototype.trimStart, Yn = !!String.prototype.trimEnd, Kn = !!Number.isSafeInteger, ei = Kn ? Number.isSafeInteger : function(e) {
2533
+ var jn = !!String.prototype.startsWith && "_a".startsWith("a", 1), kn = !!String.fromCodePoint, Vn = !!Object.fromEntries, Xn = !!String.prototype.codePointAt, Wn = !!String.prototype.trimStart, zn = !!String.prototype.trimEnd, Zn = !!Number.isSafeInteger, Qn = Zn ? Number.isSafeInteger : function(e) {
2508
2534
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2509
- }, We = !0;
2535
+ }, Xe = !0;
2510
2536
  try {
2511
- var ti = cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2512
- We = ((Ge = ti.exec("a")) === null || Ge === void 0 ? void 0 : Ge[0]) === "a";
2537
+ var Jn = sr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2538
+ Xe = ((Me = Jn.exec("a")) === null || Me === void 0 ? void 0 : Me[0]) === "a";
2513
2539
  } catch {
2514
- We = !1;
2540
+ Xe = !1;
2515
2541
  }
2516
- var xt = zn ? (
2542
+ var gt = jn ? (
2517
2543
  // Native
2518
2544
  function(t, r, n) {
2519
2545
  return t.startsWith(r, n);
@@ -2523,7 +2549,7 @@ var xt = zn ? (
2523
2549
  function(t, r, n) {
2524
2550
  return t.slice(n, n + r.length) === r;
2525
2551
  }
2526
- ), ze = Zn ? String.fromCodePoint : (
2552
+ ), We = kn ? String.fromCodePoint : (
2527
2553
  // IE11
2528
2554
  function() {
2529
2555
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2535,9 +2561,9 @@ var xt = zn ? (
2535
2561
  }
2536
2562
  return n;
2537
2563
  }
2538
- ), St = (
2564
+ ), vt = (
2539
2565
  // native
2540
- Qn ? Object.fromEntries : (
2566
+ Vn ? Object.fromEntries : (
2541
2567
  // Ponyfill
2542
2568
  function(t) {
2543
2569
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2547,7 +2573,7 @@ var xt = zn ? (
2547
2573
  return r;
2548
2574
  }
2549
2575
  )
2550
- ), hr = Jn ? (
2576
+ ), or = Xn ? (
2551
2577
  // Native
2552
2578
  function(t, r) {
2553
2579
  return t.codePointAt(r);
@@ -2561,7 +2587,7 @@ var xt = zn ? (
2561
2587
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2562
2588
  }
2563
2589
  }
2564
- ), ri = qn ? (
2590
+ ), qn = Wn ? (
2565
2591
  // Native
2566
2592
  function(t) {
2567
2593
  return t.trimStart();
@@ -2569,9 +2595,9 @@ var xt = zn ? (
2569
2595
  ) : (
2570
2596
  // Ponyfill
2571
2597
  function(t) {
2572
- return t.replace(Xn, "");
2598
+ return t.replace(Dn, "");
2573
2599
  }
2574
- ), ni = Yn ? (
2600
+ ), Yn = zn ? (
2575
2601
  // Native
2576
2602
  function(t) {
2577
2603
  return t.trimEnd();
@@ -2579,32 +2605,32 @@ var xt = zn ? (
2579
2605
  ) : (
2580
2606
  // Ponyfill
2581
2607
  function(t) {
2582
- return t.replace(Wn, "");
2608
+ return t.replace(Fn, "");
2583
2609
  }
2584
2610
  );
2585
- function cr(e, t) {
2611
+ function sr(e, t) {
2586
2612
  return new RegExp(e, t);
2587
2613
  }
2588
- var Ze;
2589
- if (We) {
2590
- var wt = cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2591
- Ze = function(t, r) {
2614
+ var ze;
2615
+ if (Xe) {
2616
+ var yt = sr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2617
+ ze = function(t, r) {
2592
2618
  var n;
2593
- wt.lastIndex = r;
2594
- var i = wt.exec(t);
2619
+ yt.lastIndex = r;
2620
+ var i = yt.exec(t);
2595
2621
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2596
2622
  };
2597
2623
  } else
2598
- Ze = function(t, r) {
2624
+ ze = function(t, r) {
2599
2625
  for (var n = []; ; ) {
2600
- var i = hr(t, r);
2601
- if (i === void 0 || fr(i) || ai(i))
2626
+ var i = or(t, r);
2627
+ if (i === void 0 || ar(i) || ri(i))
2602
2628
  break;
2603
2629
  n.push(i), r += i >= 65536 ? 2 : 1;
2604
2630
  }
2605
- return ze.apply(void 0, n);
2631
+ return We.apply(void 0, n);
2606
2632
  };
2607
- var ii = (
2633
+ var Kn = (
2608
2634
  /** @class */
2609
2635
  function() {
2610
2636
  function e(t, r) {
@@ -2628,14 +2654,14 @@ var ii = (
2628
2654
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
2629
2655
  var a = this.clonePosition();
2630
2656
  this.bump(), i.push({
2631
- type: S.pound,
2657
+ type: w.pound,
2632
2658
  location: y(a, this.clonePosition())
2633
2659
  });
2634
2660
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2635
2661
  if (n)
2636
2662
  break;
2637
2663
  return this.error(v.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
2638
- } else if (o === 60 && !this.ignoreTag && Qe(this.peek() || 0)) {
2664
+ } else if (o === 60 && !this.ignoreTag && Ze(this.peek() || 0)) {
2639
2665
  var s = this.parseTag(t, r);
2640
2666
  if (s.err)
2641
2667
  return s;
@@ -2656,7 +2682,7 @@ var ii = (
2656
2682
  if (this.bumpSpace(), this.bumpIf("/>"))
2657
2683
  return {
2658
2684
  val: {
2659
- type: S.literal,
2685
+ type: w.literal,
2660
2686
  value: "<".concat(i, "/>"),
2661
2687
  location: y(n, this.clonePosition())
2662
2688
  },
@@ -2668,12 +2694,12 @@ var ii = (
2668
2694
  return o;
2669
2695
  var s = o.val, a = this.clonePosition();
2670
2696
  if (this.bumpIf("</")) {
2671
- if (this.isEOF() || !Qe(this.char()))
2697
+ if (this.isEOF() || !Ze(this.char()))
2672
2698
  return this.error(v.INVALID_TAG, y(a, this.clonePosition()));
2673
- var h = this.clonePosition(), l = this.parseTagName();
2674
- return i !== l ? this.error(v.UNMATCHED_CLOSING_TAG, y(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2699
+ var h = this.clonePosition(), u = this.parseTagName();
2700
+ return i !== u ? this.error(v.UNMATCHED_CLOSING_TAG, y(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2675
2701
  val: {
2676
- type: S.tag,
2702
+ type: w.tag,
2677
2703
  value: i,
2678
2704
  children: s,
2679
2705
  location: y(n, this.clonePosition())
@@ -2686,7 +2712,7 @@ var ii = (
2686
2712
  return this.error(v.INVALID_TAG, y(n, this.clonePosition()));
2687
2713
  }, e.prototype.parseTagName = function() {
2688
2714
  var t = this.offset();
2689
- for (this.bump(); !this.isEOF() && si(this.char()); )
2715
+ for (this.bump(); !this.isEOF() && ti(this.char()); )
2690
2716
  this.bump();
2691
2717
  return this.message.slice(t, this.offset());
2692
2718
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2710,12 +2736,12 @@ var ii = (
2710
2736
  }
2711
2737
  var h = y(n, this.clonePosition());
2712
2738
  return {
2713
- val: { type: S.literal, value: i, location: h },
2739
+ val: { type: w.literal, value: i, location: h },
2714
2740
  err: null
2715
2741
  };
2716
2742
  }, e.prototype.tryParseLeftAngleBracket = function() {
2717
2743
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2718
- !oi(this.peek() || 0)) ? (this.bump(), "<") : null;
2744
+ !ei(this.peek() || 0)) ? (this.bump(), "<") : null;
2719
2745
  }, e.prototype.tryParseQuote = function(t) {
2720
2746
  if (this.isEOF() || this.char() !== 39)
2721
2747
  return null;
@@ -2749,12 +2775,12 @@ var ii = (
2749
2775
  r.push(n);
2750
2776
  this.bump();
2751
2777
  }
2752
- return ze.apply(void 0, r);
2778
+ return We.apply(void 0, r);
2753
2779
  }, e.prototype.tryParseUnquoted = function(t, r) {
2754
2780
  if (this.isEOF())
2755
2781
  return null;
2756
2782
  var n = this.char();
2757
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ze(n));
2783
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), We(n));
2758
2784
  }, e.prototype.parseArgument = function(t, r) {
2759
2785
  var n = this.clonePosition();
2760
2786
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -2770,7 +2796,7 @@ var ii = (
2770
2796
  case 125:
2771
2797
  return this.bump(), {
2772
2798
  val: {
2773
- type: S.argument,
2799
+ type: w.argument,
2774
2800
  // value does not include the opening and closing braces.
2775
2801
  value: i,
2776
2802
  location: y(n, this.clonePosition())
@@ -2783,7 +2809,7 @@ var ii = (
2783
2809
  return this.error(v.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
2784
2810
  }
2785
2811
  }, e.prototype.parseIdentifierIfPossible = function() {
2786
- var t = this.clonePosition(), r = this.offset(), n = Ze(this.message, r), i = r + n.length;
2812
+ var t = this.clonePosition(), r = this.offset(), n = ze(this.message, r), i = r + n.length;
2787
2813
  this.bumpTo(i);
2788
2814
  var o = this.clonePosition(), s = y(t, o);
2789
2815
  return { value: n, location: s };
@@ -2796,53 +2822,53 @@ var ii = (
2796
2822
  case "date":
2797
2823
  case "time": {
2798
2824
  this.bumpSpace();
2799
- var l = null;
2825
+ var u = null;
2800
2826
  if (this.bumpIf(",")) {
2801
2827
  this.bumpSpace();
2802
- var u = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
2828
+ var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
2803
2829
  if (f.err)
2804
2830
  return f;
2805
- var c = ni(f.val);
2831
+ var c = Yn(f.val);
2806
2832
  if (c.length === 0)
2807
2833
  return this.error(v.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
2808
- var d = y(u, this.clonePosition());
2809
- l = { style: c, styleLocation: d };
2834
+ var d = y(l, this.clonePosition());
2835
+ u = { style: c, styleLocation: d };
2810
2836
  }
2811
2837
  var m = this.tryParseArgumentClose(i);
2812
2838
  if (m.err)
2813
2839
  return m;
2814
2840
  var b = y(i, this.clonePosition());
2815
- if (l && xt(l?.style, "::", 0)) {
2816
- var g = ri(l.style.slice(2));
2841
+ if (u && gt(u?.style, "::", 0)) {
2842
+ var g = qn(u.style.slice(2));
2817
2843
  if (a === "number") {
2818
- var f = this.parseNumberSkeletonFromString(g, l.styleLocation);
2844
+ var f = this.parseNumberSkeletonFromString(g, u.styleLocation);
2819
2845
  return f.err ? f : {
2820
- val: { type: S.number, value: n, location: b, style: f.val },
2846
+ val: { type: w.number, value: n, location: b, style: f.val },
2821
2847
  err: null
2822
2848
  };
2823
2849
  } else {
2824
2850
  if (g.length === 0)
2825
2851
  return this.error(v.EXPECT_DATE_TIME_SKELETON, b);
2826
- var x = g;
2827
- this.locale && (x = kn(g, this.locale));
2852
+ var S = g;
2853
+ this.locale && (S = Gn(g, this.locale));
2828
2854
  var c = {
2829
- type: q.dateTime,
2830
- pattern: x,
2831
- location: l.styleLocation,
2832
- parsedOptions: this.shouldParseSkeletons ? Rn(x) : {}
2833
- }, _ = a === "date" ? S.date : S.time;
2855
+ type: Y.dateTime,
2856
+ pattern: S,
2857
+ location: u.styleLocation,
2858
+ parsedOptions: this.shouldParseSkeletons ? On(S) : {}
2859
+ }, E = a === "date" ? w.date : w.time;
2834
2860
  return {
2835
- val: { type: _, value: n, location: b, style: c },
2861
+ val: { type: E, value: n, location: b, style: c },
2836
2862
  err: null
2837
2863
  };
2838
2864
  }
2839
2865
  }
2840
2866
  return {
2841
2867
  val: {
2842
- type: a === "number" ? S.number : a === "date" ? S.date : S.time,
2868
+ type: a === "number" ? w.number : a === "date" ? w.date : w.time,
2843
2869
  value: n,
2844
2870
  location: b,
2845
- style: (o = l?.style) !== null && o !== void 0 ? o : null
2871
+ style: (o = u?.style) !== null && o !== void 0 ? o : null
2846
2872
  },
2847
2873
  err: null
2848
2874
  };
@@ -2852,7 +2878,7 @@ var ii = (
2852
2878
  case "select": {
2853
2879
  var T = this.clonePosition();
2854
2880
  if (this.bumpSpace(), !this.bumpIf(","))
2855
- return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, y(T, xe({}, T)));
2881
+ return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, y(T, _({}, T)));
2856
2882
  this.bumpSpace();
2857
2883
  var D = this.parseIdentifierIfPossible(), L = 0;
2858
2884
  if (a !== "select" && D.value === "offset") {
@@ -2873,17 +2899,17 @@ var ii = (
2873
2899
  var X = y(i, this.clonePosition());
2874
2900
  return a === "select" ? {
2875
2901
  val: {
2876
- type: S.select,
2902
+ type: w.select,
2877
2903
  value: n,
2878
- options: St(j.val),
2904
+ options: vt(j.val),
2879
2905
  location: X
2880
2906
  },
2881
2907
  err: null
2882
2908
  } : {
2883
2909
  val: {
2884
- type: S.plural,
2910
+ type: w.plural,
2885
2911
  value: n,
2886
- options: St(j.val),
2912
+ options: vt(j.val),
2887
2913
  offset: L,
2888
2914
  pluralType: a === "plural" ? "cardinal" : "ordinal",
2889
2915
  location: X
@@ -2934,34 +2960,34 @@ var ii = (
2934
2960
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2935
2961
  var n = [];
2936
2962
  try {
2937
- n = Gn(t);
2963
+ n = In(t);
2938
2964
  } catch {
2939
2965
  return this.error(v.INVALID_NUMBER_SKELETON, r);
2940
2966
  }
2941
2967
  return {
2942
2968
  val: {
2943
- type: q.number,
2969
+ type: Y.number,
2944
2970
  tokens: n,
2945
2971
  location: r,
2946
- parsedOptions: this.shouldParseSkeletons ? jn(n) : {}
2972
+ parsedOptions: this.shouldParseSkeletons ? $n(n) : {}
2947
2973
  },
2948
2974
  err: null
2949
2975
  };
2950
2976
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
2951
- for (var o, s = !1, a = [], h = /* @__PURE__ */ new Set(), l = i.value, u = i.location; ; ) {
2952
- if (l.length === 0) {
2977
+ for (var o, s = !1, a = [], h = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
2978
+ if (u.length === 0) {
2953
2979
  var f = this.clonePosition();
2954
2980
  if (r !== "select" && this.bumpIf("=")) {
2955
2981
  var c = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_SELECTOR, v.INVALID_PLURAL_ARGUMENT_SELECTOR);
2956
2982
  if (c.err)
2957
2983
  return c;
2958
- u = y(f, this.clonePosition()), l = this.message.slice(f.offset, this.offset());
2984
+ l = y(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
2959
2985
  } else
2960
2986
  break;
2961
2987
  }
2962
- if (h.has(l))
2963
- return this.error(r === "select" ? v.DUPLICATE_SELECT_ARGUMENT_SELECTOR : v.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, u);
2964
- l === "other" && (s = !0), this.bumpSpace();
2988
+ if (h.has(u))
2989
+ return this.error(r === "select" ? v.DUPLICATE_SELECT_ARGUMENT_SELECTOR : v.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
2990
+ u === "other" && (s = !0), this.bumpSpace();
2965
2991
  var d = this.clonePosition();
2966
2992
  if (!this.bumpIf("{"))
2967
2993
  return this.error(r === "select" ? v.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : v.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, y(this.clonePosition(), this.clonePosition()));
@@ -2972,12 +2998,12 @@ var ii = (
2972
2998
  if (b.err)
2973
2999
  return b;
2974
3000
  a.push([
2975
- l,
3001
+ u,
2976
3002
  {
2977
3003
  value: m.val,
2978
3004
  location: y(d, this.clonePosition())
2979
3005
  }
2980
- ]), h.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, u = o.location;
3006
+ ]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
2981
3007
  }
2982
3008
  return a.length === 0 ? this.error(r === "select" ? v.EXPECT_SELECT_ARGUMENT_SELECTOR : v.EXPECT_PLURAL_ARGUMENT_SELECTOR, y(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(v.MISSING_OTHER_CLAUSE, y(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
2983
3009
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
@@ -2991,7 +3017,7 @@ var ii = (
2991
3017
  break;
2992
3018
  }
2993
3019
  var h = y(i, this.clonePosition());
2994
- return o ? (s *= n, ei(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3020
+ return o ? (s *= n, Qn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
2995
3021
  }, e.prototype.offset = function() {
2996
3022
  return this.position.offset;
2997
3023
  }, e.prototype.isEOF = function() {
@@ -3006,7 +3032,7 @@ var ii = (
3006
3032
  var t = this.position.offset;
3007
3033
  if (t >= this.message.length)
3008
3034
  throw Error("out of bound");
3009
- var r = hr(this.message, t);
3035
+ var r = or(this.message, t);
3010
3036
  if (r === void 0)
3011
3037
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3012
3038
  return r;
@@ -3025,7 +3051,7 @@ var ii = (
3025
3051
  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);
3026
3052
  }
3027
3053
  }, e.prototype.bumpIf = function(t) {
3028
- if (xt(this.message, t, this.offset())) {
3054
+ if (gt(this.message, t, this.offset())) {
3029
3055
  for (var r = 0; r < t.length; r++)
3030
3056
  this.bump();
3031
3057
  return !0;
@@ -3047,7 +3073,7 @@ var ii = (
3047
3073
  break;
3048
3074
  }
3049
3075
  }, e.prototype.bumpSpace = function() {
3050
- for (; !this.isEOF() && fr(this.char()); )
3076
+ for (; !this.isEOF() && ar(this.char()); )
3051
3077
  this.bump();
3052
3078
  }, e.prototype.peek = function() {
3053
3079
  if (this.isEOF())
@@ -3057,47 +3083,47 @@ var ii = (
3057
3083
  }, e;
3058
3084
  }()
3059
3085
  );
3060
- function Qe(e) {
3086
+ function Ze(e) {
3061
3087
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3062
3088
  }
3063
- function oi(e) {
3064
- return Qe(e) || e === 47;
3089
+ function ei(e) {
3090
+ return Ze(e) || e === 47;
3065
3091
  }
3066
- function si(e) {
3092
+ function ti(e) {
3067
3093
  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;
3068
3094
  }
3069
- function fr(e) {
3095
+ function ar(e) {
3070
3096
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3071
3097
  }
3072
- function ai(e) {
3098
+ function ri(e) {
3073
3099
  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;
3074
3100
  }
3075
- function Je(e) {
3101
+ function Qe(e) {
3076
3102
  e.forEach(function(t) {
3077
- if (delete t.location, rr(t) || nr(t))
3103
+ if (delete t.location, qt(t) || Yt(t))
3078
3104
  for (var r in t.options)
3079
- delete t.options[r].location, Je(t.options[r].value);
3105
+ delete t.options[r].location, Qe(t.options[r].value);
3080
3106
  else
3081
- Kt(t) && or(t.style) || (er(t) || tr(t)) && Xe(t.style) ? delete t.style.location : ir(t) && Je(t.children);
3107
+ Zt(t) && er(t.style) || (Qt(t) || Jt(t)) && Ve(t.style) ? delete t.style.location : Kt(t) && Qe(t.children);
3082
3108
  });
3083
3109
  }
3084
- function ui(e, t) {
3085
- t === void 0 && (t = {}), t = xe({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3086
- var r = new ii(e, t).parse();
3110
+ function ni(e, t) {
3111
+ t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3112
+ var r = new Kn(e, t).parse();
3087
3113
  if (r.err) {
3088
3114
  var n = SyntaxError(v[r.err.kind]);
3089
3115
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3090
3116
  }
3091
- return t?.captureLocation || Je(r.val), r.val;
3117
+ return t?.captureLocation || Qe(r.val), r.val;
3092
3118
  }
3093
- var Y;
3119
+ var K;
3094
3120
  (function(e) {
3095
3121
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3096
- })(Y || (Y = {}));
3097
- var Pe = (
3122
+ })(K || (K = {}));
3123
+ var He = (
3098
3124
  /** @class */
3099
3125
  function(e) {
3100
- Ce(t, e);
3126
+ U(t, e);
3101
3127
  function t(r, n, i) {
3102
3128
  var o = e.call(this, r) || this;
3103
3129
  return o.code = n, o.originalMessage = i, o;
@@ -3106,155 +3132,155 @@ var Pe = (
3106
3132
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3107
3133
  }, t;
3108
3134
  }(Error)
3109
- ), Tt = (
3135
+ ), _t = (
3110
3136
  /** @class */
3111
3137
  function(e) {
3112
- Ce(t, e);
3138
+ U(t, e);
3113
3139
  function t(r, n, i, o) {
3114
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Y.INVALID_VALUE, o) || this;
3140
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), K.INVALID_VALUE, o) || this;
3115
3141
  }
3116
3142
  return t;
3117
- }(Pe)
3118
- ), li = (
3143
+ }(He)
3144
+ ), ii = (
3119
3145
  /** @class */
3120
3146
  function(e) {
3121
- Ce(t, e);
3147
+ U(t, e);
3122
3148
  function t(r, n, i) {
3123
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Y.INVALID_VALUE, i) || this;
3149
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), K.INVALID_VALUE, i) || this;
3124
3150
  }
3125
3151
  return t;
3126
- }(Pe)
3127
- ), hi = (
3152
+ }(He)
3153
+ ), oi = (
3128
3154
  /** @class */
3129
3155
  function(e) {
3130
- Ce(t, e);
3156
+ U(t, e);
3131
3157
  function t(r, n) {
3132
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Y.MISSING_VALUE, n) || this;
3158
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), K.MISSING_VALUE, n) || this;
3133
3159
  }
3134
3160
  return t;
3135
- }(Pe)
3161
+ }(He)
3136
3162
  ), B;
3137
3163
  (function(e) {
3138
3164
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3139
3165
  })(B || (B = {}));
3140
- function ci(e) {
3166
+ function si(e) {
3141
3167
  return e.length < 2 ? e : e.reduce(function(t, r) {
3142
3168
  var n = t[t.length - 1];
3143
3169
  return !n || n.type !== B.literal || r.type !== B.literal ? t.push(r) : n.value += r.value, t;
3144
3170
  }, []);
3145
3171
  }
3146
- function fi(e) {
3172
+ function ai(e) {
3147
3173
  return typeof e == "function";
3148
3174
  }
3149
3175
  function me(e, t, r, n, i, o, s) {
3150
- if (e.length === 1 && vt(e[0]))
3176
+ if (e.length === 1 && dt(e[0]))
3151
3177
  return [
3152
3178
  {
3153
3179
  type: B.literal,
3154
3180
  value: e[0].value
3155
3181
  }
3156
3182
  ];
3157
- for (var a = [], h = 0, l = e; h < l.length; h++) {
3158
- var u = l[h];
3159
- if (vt(u)) {
3183
+ for (var a = [], h = 0, u = e; h < u.length; h++) {
3184
+ var l = u[h];
3185
+ if (dt(l)) {
3160
3186
  a.push({
3161
3187
  type: B.literal,
3162
- value: u.value
3188
+ value: l.value
3163
3189
  });
3164
3190
  continue;
3165
3191
  }
3166
- if (Nn(u)) {
3192
+ if (Bn(l)) {
3167
3193
  typeof o == "number" && a.push({
3168
3194
  type: B.literal,
3169
3195
  value: r.getNumberFormat(t).format(o)
3170
3196
  });
3171
3197
  continue;
3172
3198
  }
3173
- var f = u.value;
3199
+ var f = l.value;
3174
3200
  if (!(i && f in i))
3175
- throw new hi(f, s);
3201
+ throw new oi(f, s);
3176
3202
  var c = i[f];
3177
- if (In(u)) {
3203
+ if (Pn(l)) {
3178
3204
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3179
3205
  type: typeof c == "string" ? B.literal : B.object,
3180
3206
  value: c
3181
3207
  });
3182
3208
  continue;
3183
3209
  }
3184
- if (er(u)) {
3185
- var d = typeof u.style == "string" ? n.date[u.style] : Xe(u.style) ? u.style.parsedOptions : void 0;
3210
+ if (Qt(l)) {
3211
+ var d = typeof l.style == "string" ? n.date[l.style] : Ve(l.style) ? l.style.parsedOptions : void 0;
3186
3212
  a.push({
3187
3213
  type: B.literal,
3188
3214
  value: r.getDateTimeFormat(t, d).format(c)
3189
3215
  });
3190
3216
  continue;
3191
3217
  }
3192
- if (tr(u)) {
3193
- var d = typeof u.style == "string" ? n.time[u.style] : Xe(u.style) ? u.style.parsedOptions : n.time.medium;
3218
+ if (Jt(l)) {
3219
+ var d = typeof l.style == "string" ? n.time[l.style] : Ve(l.style) ? l.style.parsedOptions : n.time.medium;
3194
3220
  a.push({
3195
3221
  type: B.literal,
3196
3222
  value: r.getDateTimeFormat(t, d).format(c)
3197
3223
  });
3198
3224
  continue;
3199
3225
  }
3200
- if (Kt(u)) {
3201
- var d = typeof u.style == "string" ? n.number[u.style] : or(u.style) ? u.style.parsedOptions : void 0;
3226
+ if (Zt(l)) {
3227
+ var d = typeof l.style == "string" ? n.number[l.style] : er(l.style) ? l.style.parsedOptions : void 0;
3202
3228
  d && d.scale && (c = c * (d.scale || 1)), a.push({
3203
3229
  type: B.literal,
3204
3230
  value: r.getNumberFormat(t, d).format(c)
3205
3231
  });
3206
3232
  continue;
3207
3233
  }
3208
- if (ir(u)) {
3209
- var m = u.children, b = u.value, g = i[b];
3210
- if (!fi(g))
3211
- throw new li(b, "function", s);
3212
- var x = me(m, t, r, n, i, o), _ = g(x.map(function(L) {
3234
+ if (Kt(l)) {
3235
+ var m = l.children, b = l.value, g = i[b];
3236
+ if (!ai(g))
3237
+ throw new ii(b, "function", s);
3238
+ var S = me(m, t, r, n, i, o), E = g(S.map(function(L) {
3213
3239
  return L.value;
3214
3240
  }));
3215
- Array.isArray(_) || (_ = [_]), a.push.apply(a, _.map(function(L) {
3241
+ Array.isArray(E) || (E = [E]), a.push.apply(a, E.map(function(L) {
3216
3242
  return {
3217
3243
  type: typeof L == "string" ? B.literal : B.object,
3218
3244
  value: L
3219
3245
  };
3220
3246
  }));
3221
3247
  }
3222
- if (rr(u)) {
3223
- var T = u.options[c] || u.options.other;
3248
+ if (qt(l)) {
3249
+ var T = l.options[c] || l.options.other;
3224
3250
  if (!T)
3225
- throw new Tt(u.value, c, Object.keys(u.options), s);
3251
+ throw new _t(l.value, c, Object.keys(l.options), s);
3226
3252
  a.push.apply(a, me(T.value, t, r, n, i));
3227
3253
  continue;
3228
3254
  }
3229
- if (nr(u)) {
3230
- var T = u.options["=".concat(c)];
3255
+ if (Yt(l)) {
3256
+ var T = l.options["=".concat(c)];
3231
3257
  if (!T) {
3232
3258
  if (!Intl.PluralRules)
3233
- throw new Pe(`Intl.PluralRules is not available in this environment.
3259
+ throw new He(`Intl.PluralRules is not available in this environment.
3234
3260
  Try polyfilling it using "@formatjs/intl-pluralrules"
3235
- `, Y.MISSING_INTL_API, s);
3236
- var D = r.getPluralRules(t, { type: u.pluralType }).select(c - (u.offset || 0));
3237
- T = u.options[D] || u.options.other;
3261
+ `, K.MISSING_INTL_API, s);
3262
+ var D = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3263
+ T = l.options[D] || l.options.other;
3238
3264
  }
3239
3265
  if (!T)
3240
- throw new Tt(u.value, c, Object.keys(u.options), s);
3241
- a.push.apply(a, me(T.value, t, r, n, i, c - (u.offset || 0)));
3266
+ throw new _t(l.value, c, Object.keys(l.options), s);
3267
+ a.push.apply(a, me(T.value, t, r, n, i, c - (l.offset || 0)));
3242
3268
  continue;
3243
3269
  }
3244
3270
  }
3245
- return ci(a);
3271
+ return si(a);
3246
3272
  }
3247
- function di(e, t) {
3248
- return t ? $($($({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3249
- return r[n] = $($({}, e[n]), t[n] || {}), r;
3273
+ function li(e, t) {
3274
+ return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3275
+ return r[n] = _(_({}, e[n]), t[n] || {}), r;
3250
3276
  }, {})) : e;
3251
3277
  }
3252
- function pi(e, t) {
3278
+ function ui(e, t) {
3253
3279
  return t ? Object.keys(e).reduce(function(r, n) {
3254
- return r[n] = di(e[n], t[n]), r;
3255
- }, $({}, e)) : e;
3280
+ return r[n] = li(e[n], t[n]), r;
3281
+ }, _({}, e)) : e;
3256
3282
  }
3257
- function Ue(e) {
3283
+ function Re(e) {
3258
3284
  return {
3259
3285
  create: function() {
3260
3286
  return {
@@ -3268,39 +3294,39 @@ function Ue(e) {
3268
3294
  }
3269
3295
  };
3270
3296
  }
3271
- function mi(e) {
3297
+ function hi(e) {
3272
3298
  return e === void 0 && (e = {
3273
3299
  number: {},
3274
3300
  dateTime: {},
3275
3301
  pluralRules: {}
3276
3302
  }), {
3277
- getNumberFormat: Re(function() {
3303
+ getNumberFormat: Ie(function() {
3278
3304
  for (var t, r = [], n = 0; n < arguments.length; n++)
3279
3305
  r[n] = arguments[n];
3280
- return new ((t = Intl.NumberFormat).bind.apply(t, Me([void 0], r, !1)))();
3306
+ return new ((t = Intl.NumberFormat).bind.apply(t, J([void 0], r, !1)))();
3281
3307
  }, {
3282
- cache: Ue(e.number),
3283
- strategy: $e.variadic
3308
+ cache: Re(e.number),
3309
+ strategy: Ne.variadic
3284
3310
  }),
3285
- getDateTimeFormat: Re(function() {
3311
+ getDateTimeFormat: Ie(function() {
3286
3312
  for (var t, r = [], n = 0; n < arguments.length; n++)
3287
3313
  r[n] = arguments[n];
3288
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Me([void 0], r, !1)))();
3314
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, J([void 0], r, !1)))();
3289
3315
  }, {
3290
- cache: Ue(e.dateTime),
3291
- strategy: $e.variadic
3316
+ cache: Re(e.dateTime),
3317
+ strategy: Ne.variadic
3292
3318
  }),
3293
- getPluralRules: Re(function() {
3319
+ getPluralRules: Ie(function() {
3294
3320
  for (var t, r = [], n = 0; n < arguments.length; n++)
3295
3321
  r[n] = arguments[n];
3296
- return new ((t = Intl.PluralRules).bind.apply(t, Me([void 0], r, !1)))();
3322
+ return new ((t = Intl.PluralRules).bind.apply(t, J([void 0], r, !1)))();
3297
3323
  }, {
3298
- cache: Ue(e.pluralRules),
3299
- strategy: $e.variadic
3324
+ cache: Re(e.pluralRules),
3325
+ strategy: Ne.variadic
3300
3326
  })
3301
3327
  };
3302
3328
  }
3303
- var bi = (
3329
+ var ci = (
3304
3330
  /** @class */
3305
3331
  function() {
3306
3332
  function e(t, r, n, i) {
@@ -3311,13 +3337,13 @@ var bi = (
3311
3337
  dateTime: {},
3312
3338
  pluralRules: {}
3313
3339
  }, this.format = function(h) {
3314
- var l = o.formatToParts(h);
3315
- if (l.length === 1)
3316
- return l[0].value;
3317
- var u = l.reduce(function(f, c) {
3340
+ var u = o.formatToParts(h);
3341
+ if (u.length === 1)
3342
+ return u[0].value;
3343
+ var l = u.reduce(function(f, c) {
3318
3344
  return !f.length || c.type !== B.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3319
3345
  }, []);
3320
- return u.length <= 1 ? u[0] || "" : u;
3346
+ return l.length <= 1 ? l[0] || "" : l;
3321
3347
  }, this.formatToParts = function(h) {
3322
3348
  return me(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3323
3349
  }, this.resolvedOptions = function() {
@@ -3332,13 +3358,13 @@ var bi = (
3332
3358
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3333
3359
  var s = i || {};
3334
3360
  s.formatters;
3335
- var a = Tn(s, ["formatters"]);
3336
- this.ast = e.__parse(t, $($({}, a), { locale: this.resolvedLocale }));
3361
+ var a = _n(s, ["formatters"]);
3362
+ this.ast = e.__parse(t, _(_({}, a), { locale: this.resolvedLocale }));
3337
3363
  } else
3338
3364
  this.ast = t;
3339
3365
  if (!Array.isArray(this.ast))
3340
3366
  throw new TypeError("A message must be provided as a String or AST.");
3341
- this.formats = pi(e.formats, n), this.formatters = i && i.formatters || mi(this.formatterCache);
3367
+ this.formats = ui(e.formats, n), this.formatters = i && i.formatters || hi(this.formatterCache);
3342
3368
  }
3343
3369
  return Object.defineProperty(e, "defaultLocale", {
3344
3370
  get: function() {
@@ -3351,7 +3377,7 @@ var bi = (
3351
3377
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3352
3378
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3353
3379
  }
3354
- }, e.__parse = ui, e.formats = {
3380
+ }, e.__parse = ni, e.formats = {
3355
3381
  number: {
3356
3382
  integer: {
3357
3383
  maximumFractionDigits: 0
@@ -3412,7 +3438,7 @@ var bi = (
3412
3438
  }, e;
3413
3439
  }()
3414
3440
  );
3415
- function gi(e, t) {
3441
+ function fi(e, t) {
3416
3442
  if (t == null)
3417
3443
  return;
3418
3444
  if (t in e)
@@ -3433,92 +3459,92 @@ function gi(e, t) {
3433
3459
  n = void 0;
3434
3460
  return n;
3435
3461
  }
3436
- const F = {}, vi = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), dr = (e, t) => {
3462
+ const F = {}, di = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), lr = (e, t) => {
3437
3463
  if (t == null)
3438
3464
  return;
3439
3465
  if (t in F && e in F[t])
3440
3466
  return F[t][e];
3441
- const r = Be(t);
3467
+ const r = Ce(t);
3442
3468
  for (let n = 0; n < r.length; n++) {
3443
- const i = r[n], o = _i(i, e);
3469
+ const i = r[n], o = mi(i, e);
3444
3470
  if (o)
3445
- return vi(e, t, o);
3471
+ return di(e, t, o);
3446
3472
  }
3447
3473
  };
3448
- let at;
3449
- const le = He({});
3450
- function yi(e) {
3451
- return at[e] || null;
3474
+ let rt;
3475
+ const he = Te({});
3476
+ function pi(e) {
3477
+ return rt[e] || null;
3452
3478
  }
3453
- function pr(e) {
3454
- return e in at;
3479
+ function ur(e) {
3480
+ return e in rt;
3455
3481
  }
3456
- function _i(e, t) {
3457
- if (!pr(e))
3482
+ function mi(e, t) {
3483
+ if (!ur(e))
3458
3484
  return null;
3459
- const r = yi(e);
3460
- return gi(r, t);
3485
+ const r = pi(e);
3486
+ return fi(r, t);
3461
3487
  }
3462
- function Ei(e) {
3488
+ function bi(e) {
3463
3489
  if (e == null)
3464
3490
  return;
3465
- const t = Be(e);
3491
+ const t = Ce(e);
3466
3492
  for (let r = 0; r < t.length; r++) {
3467
3493
  const n = t[r];
3468
- if (pr(n))
3494
+ if (ur(n))
3469
3495
  return n;
3470
3496
  }
3471
3497
  }
3472
- function mr(e, ...t) {
3473
- delete F[e], le.update((r) => (r[e] = wn.all([r[e] || {}, ...t]), r));
3498
+ function hr(e, ...t) {
3499
+ delete F[e], he.update((r) => (r[e] = yn.all([r[e] || {}, ...t]), r));
3474
3500
  }
3475
- te(
3476
- [le],
3501
+ re(
3502
+ [he],
3477
3503
  ([e]) => Object.keys(e)
3478
3504
  );
3479
- le.subscribe((e) => at = e);
3505
+ he.subscribe((e) => rt = e);
3480
3506
  const be = {};
3481
- function xi(e, t) {
3507
+ function gi(e, t) {
3482
3508
  be[e].delete(t), be[e].size === 0 && delete be[e];
3483
3509
  }
3484
- function br(e) {
3510
+ function cr(e) {
3485
3511
  return be[e];
3486
3512
  }
3487
- function Si(e) {
3488
- return Be(e).map((t) => {
3489
- const r = br(t);
3513
+ function vi(e) {
3514
+ return Ce(e).map((t) => {
3515
+ const r = cr(t);
3490
3516
  return [t, r ? [...r] : []];
3491
3517
  }).filter(([, t]) => t.length > 0);
3492
3518
  }
3493
- function qe(e) {
3494
- return e == null ? !1 : Be(e).some(
3519
+ function Je(e) {
3520
+ return e == null ? !1 : Ce(e).some(
3495
3521
  (t) => {
3496
3522
  var r;
3497
- return (r = br(t)) == null ? void 0 : r.size;
3523
+ return (r = cr(t)) == null ? void 0 : r.size;
3498
3524
  }
3499
3525
  );
3500
3526
  }
3501
- function wi(e, t) {
3527
+ function yi(e, t) {
3502
3528
  return Promise.all(
3503
- t.map((n) => (xi(e, n), n().then((i) => i.default || i)))
3504
- ).then((n) => mr(e, ...n));
3529
+ t.map((n) => (gi(e, n), n().then((i) => i.default || i)))
3530
+ ).then((n) => hr(e, ...n));
3505
3531
  }
3506
- const ie = {};
3507
- function gr(e) {
3508
- if (!qe(e))
3509
- return e in ie ? ie[e] : Promise.resolve();
3510
- const t = Si(e);
3511
- return ie[e] = Promise.all(
3532
+ const oe = {};
3533
+ function fr(e) {
3534
+ if (!Je(e))
3535
+ return e in oe ? oe[e] : Promise.resolve();
3536
+ const t = vi(e);
3537
+ return oe[e] = Promise.all(
3512
3538
  t.map(
3513
- ([r, n]) => wi(r, n)
3539
+ ([r, n]) => yi(r, n)
3514
3540
  )
3515
3541
  ).then(() => {
3516
- if (qe(e))
3517
- return gr(e);
3518
- delete ie[e];
3519
- }), ie[e];
3542
+ if (Je(e))
3543
+ return fr(e);
3544
+ delete oe[e];
3545
+ }), oe[e];
3520
3546
  }
3521
- const Ti = {
3547
+ const _i = {
3522
3548
  number: {
3523
3549
  scientific: { notation: "scientific" },
3524
3550
  engineering: { notation: "engineering" },
@@ -3547,159 +3573,159 @@ const Ti = {
3547
3573
  timeZoneName: "short"
3548
3574
  }
3549
3575
  }
3550
- }, Hi = {
3576
+ }, Ei = {
3551
3577
  fallbackLocale: null,
3552
3578
  loadingDelay: 200,
3553
- formats: Ti,
3579
+ formats: _i,
3554
3580
  warnOnMissingMessages: !0,
3555
3581
  handleMissingMessage: void 0,
3556
3582
  ignoreTag: !0
3557
- }, Ci = Hi;
3558
- function K() {
3559
- return Ci;
3583
+ }, xi = Ei;
3584
+ function ee() {
3585
+ return xi;
3560
3586
  }
3561
- const De = He(!1);
3562
- var Pi = Object.defineProperty, Bi = Object.defineProperties, Ai = Object.getOwnPropertyDescriptors, Ht = Object.getOwnPropertySymbols, Oi = Object.prototype.hasOwnProperty, Li = Object.prototype.propertyIsEnumerable, Ct = (e, t, r) => t in e ? Pi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ii = (e, t) => {
3587
+ const $e = Te(!1);
3588
+ var Si = Object.defineProperty, wi = Object.defineProperties, Ti = Object.getOwnPropertyDescriptors, Et = Object.getOwnPropertySymbols, Hi = Object.prototype.hasOwnProperty, Ci = Object.prototype.propertyIsEnumerable, xt = (e, t, r) => t in e ? Si(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Pi = (e, t) => {
3563
3589
  for (var r in t || (t = {}))
3564
- Oi.call(t, r) && Ct(e, r, t[r]);
3565
- if (Ht)
3566
- for (var r of Ht(t))
3567
- Li.call(t, r) && Ct(e, r, t[r]);
3590
+ Hi.call(t, r) && xt(e, r, t[r]);
3591
+ if (Et)
3592
+ for (var r of Et(t))
3593
+ Ci.call(t, r) && xt(e, r, t[r]);
3568
3594
  return e;
3569
- }, Ni = (e, t) => Bi(e, Ai(t));
3570
- let Ye;
3571
- const Se = He(null);
3572
- function Pt(e) {
3595
+ }, Bi = (e, t) => wi(e, Ti(t));
3596
+ let qe;
3597
+ const xe = Te(null);
3598
+ function St(e) {
3573
3599
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3574
3600
  }
3575
- function Be(e, t = K().fallbackLocale) {
3576
- const r = Pt(e);
3577
- return t ? [.../* @__PURE__ */ new Set([...r, ...Pt(t)])] : r;
3601
+ function Ce(e, t = ee().fallbackLocale) {
3602
+ const r = St(e);
3603
+ return t ? [.../* @__PURE__ */ new Set([...r, ...St(t)])] : r;
3578
3604
  }
3579
3605
  function V() {
3580
- return Ye ?? void 0;
3606
+ return qe ?? void 0;
3581
3607
  }
3582
- Se.subscribe((e) => {
3583
- Ye = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3608
+ xe.subscribe((e) => {
3609
+ qe = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3584
3610
  });
3585
- const Mi = (e) => {
3586
- if (e && Ei(e) && qe(e)) {
3587
- const { loadingDelay: t } = K();
3611
+ const Ai = (e) => {
3612
+ if (e && bi(e) && Je(e)) {
3613
+ const { loadingDelay: t } = ee();
3588
3614
  let r;
3589
3615
  return typeof window < "u" && V() != null && t ? r = window.setTimeout(
3590
- () => De.set(!0),
3616
+ () => $e.set(!0),
3591
3617
  t
3592
- ) : De.set(!0), gr(e).then(() => {
3593
- Se.set(e);
3618
+ ) : $e.set(!0), fr(e).then(() => {
3619
+ xe.set(e);
3594
3620
  }).finally(() => {
3595
- clearTimeout(r), De.set(!1);
3621
+ clearTimeout(r), $e.set(!1);
3596
3622
  });
3597
3623
  }
3598
- return Se.set(e);
3599
- }, re = Ni(Ii({}, Se), {
3600
- set: Mi
3601
- }), Ae = (e) => {
3624
+ return xe.set(e);
3625
+ }, ne = Bi(Pi({}, xe), {
3626
+ set: Ai
3627
+ }), Pe = (e) => {
3602
3628
  const t = /* @__PURE__ */ Object.create(null);
3603
3629
  return (n) => {
3604
3630
  const i = JSON.stringify(n);
3605
3631
  return i in t ? t[i] : t[i] = e(n);
3606
3632
  };
3607
3633
  };
3608
- var Ri = Object.defineProperty, we = Object.getOwnPropertySymbols, vr = Object.prototype.hasOwnProperty, yr = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? Ri(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ut = (e, t) => {
3634
+ var Oi = Object.defineProperty, Se = Object.getOwnPropertySymbols, dr = Object.prototype.hasOwnProperty, pr = Object.prototype.propertyIsEnumerable, wt = (e, t, r) => t in e ? Oi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, nt = (e, t) => {
3609
3635
  for (var r in t || (t = {}))
3610
- vr.call(t, r) && Bt(e, r, t[r]);
3611
- if (we)
3612
- for (var r of we(t))
3613
- yr.call(t, r) && Bt(e, r, t[r]);
3636
+ dr.call(t, r) && wt(e, r, t[r]);
3637
+ if (Se)
3638
+ for (var r of Se(t))
3639
+ pr.call(t, r) && wt(e, r, t[r]);
3614
3640
  return e;
3615
- }, ne = (e, t) => {
3641
+ }, ie = (e, t) => {
3616
3642
  var r = {};
3617
3643
  for (var n in e)
3618
- vr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3619
- if (e != null && we)
3620
- for (var n of we(e))
3621
- t.indexOf(n) < 0 && yr.call(e, n) && (r[n] = e[n]);
3644
+ dr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3645
+ if (e != null && Se)
3646
+ for (var n of Se(e))
3647
+ t.indexOf(n) < 0 && pr.call(e, n) && (r[n] = e[n]);
3622
3648
  return r;
3623
3649
  };
3624
3650
  const ue = (e, t) => {
3625
- const { formats: r } = K();
3651
+ const { formats: r } = ee();
3626
3652
  if (e in r && t in r[e])
3627
3653
  return r[e][t];
3628
3654
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3629
- }, $i = Ae(
3655
+ }, Li = Pe(
3630
3656
  (e) => {
3631
- var t = e, { locale: r, format: n } = t, i = ne(t, ["locale", "format"]);
3657
+ var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
3632
3658
  if (r == null)
3633
3659
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3634
3660
  return n && (i = ue("number", n)), new Intl.NumberFormat(r, i);
3635
3661
  }
3636
- ), Gi = Ae(
3662
+ ), Ii = Pe(
3637
3663
  (e) => {
3638
- var t = e, { locale: r, format: n } = t, i = ne(t, ["locale", "format"]);
3664
+ var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
3639
3665
  if (r == null)
3640
3666
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3641
3667
  return n ? i = ue("date", n) : Object.keys(i).length === 0 && (i = ue("date", "short")), new Intl.DateTimeFormat(r, i);
3642
3668
  }
3643
- ), Ui = Ae(
3669
+ ), Ni = Pe(
3644
3670
  (e) => {
3645
- var t = e, { locale: r, format: n } = t, i = ne(t, ["locale", "format"]);
3671
+ var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
3646
3672
  if (r == null)
3647
3673
  throw new Error(
3648
3674
  '[svelte-i18n] A "locale" must be set to format time values'
3649
3675
  );
3650
3676
  return n ? i = ue("time", n) : Object.keys(i).length === 0 && (i = ue("time", "short")), new Intl.DateTimeFormat(r, i);
3651
3677
  }
3652
- ), Di = (e = {}) => {
3678
+ ), Mi = (e = {}) => {
3653
3679
  var t = e, {
3654
3680
  locale: r = V()
3655
- } = t, n = ne(t, [
3681
+ } = t, n = ie(t, [
3656
3682
  "locale"
3657
3683
  ]);
3658
- return $i(ut({ locale: r }, n));
3659
- }, Fi = (e = {}) => {
3684
+ return Li(nt({ locale: r }, n));
3685
+ }, Ri = (e = {}) => {
3660
3686
  var t = e, {
3661
3687
  locale: r = V()
3662
- } = t, n = ne(t, [
3688
+ } = t, n = ie(t, [
3663
3689
  "locale"
3664
3690
  ]);
3665
- return Gi(ut({ locale: r }, n));
3666
- }, ji = (e = {}) => {
3691
+ return Ii(nt({ locale: r }, n));
3692
+ }, $i = (e = {}) => {
3667
3693
  var t = e, {
3668
3694
  locale: r = V()
3669
- } = t, n = ne(t, [
3695
+ } = t, n = ie(t, [
3670
3696
  "locale"
3671
3697
  ]);
3672
- return Ui(ut({ locale: r }, n));
3673
- }, ki = Ae(
3698
+ return Ni(nt({ locale: r }, n));
3699
+ }, Gi = Pe(
3674
3700
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3675
- (e, t = V()) => new bi(e, t, K().formats, {
3676
- ignoreTag: K().ignoreTag
3701
+ (e, t = V()) => new ci(e, t, ee().formats, {
3702
+ ignoreTag: ee().ignoreTag
3677
3703
  })
3678
- ), Vi = (e, t = {}) => {
3704
+ ), Ui = (e, t = {}) => {
3679
3705
  var r, n, i, o;
3680
3706
  let s = t;
3681
3707
  typeof e == "object" && (s = e, e = s.id);
3682
3708
  const {
3683
3709
  values: a,
3684
3710
  locale: h = V(),
3685
- default: l
3711
+ default: u
3686
3712
  } = s;
3687
3713
  if (h == null)
3688
3714
  throw new Error(
3689
3715
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3690
3716
  );
3691
- let u = dr(e, h);
3692
- if (!u)
3693
- u = (o = (i = (n = (r = K()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
3694
- else if (typeof u != "string")
3717
+ let l = lr(e, h);
3718
+ if (!l)
3719
+ l = (o = (i = (n = (r = ee()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
3720
+ else if (typeof l != "string")
3695
3721
  return console.warn(
3696
- `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
3697
- ), u;
3722
+ `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
3723
+ ), l;
3698
3724
  if (!a)
3699
- return u;
3700
- let f = u;
3725
+ return l;
3726
+ let f = l;
3701
3727
  try {
3702
- f = ki(u, h).format(a);
3728
+ f = Gi(l, h).format(a);
3703
3729
  } catch (c) {
3704
3730
  c instanceof Error && console.warn(
3705
3731
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3707,18 +3733,18 @@ const ue = (e, t) => {
3707
3733
  );
3708
3734
  }
3709
3735
  return f;
3710
- }, Xi = (e, t) => ji(t).format(e), Wi = (e, t) => Fi(t).format(e), zi = (e, t) => Di(t).format(e), Zi = (e, t = V()) => dr(e, t), Qi = te([re, le], () => Vi);
3711
- te([re], () => Xi);
3712
- te([re], () => Wi);
3713
- te([re], () => zi);
3714
- te([re, le], () => Zi);
3715
- function At(e, t) {
3716
- mr(e, t);
3717
- }
3718
- function Ji(e) {
3719
- re.set(e);
3720
- }
3721
- const Ot = {
3736
+ }, Di = (e, t) => $i(t).format(e), Fi = (e, t) => Ri(t).format(e), ji = (e, t) => Mi(t).format(e), ki = (e, t = V()) => lr(e, t), Vi = re([ne, he], () => Ui);
3737
+ re([ne], () => Di);
3738
+ re([ne], () => Fi);
3739
+ re([ne], () => ji);
3740
+ re([ne, he], () => ki);
3741
+ function Tt(e, t) {
3742
+ hr(e, t);
3743
+ }
3744
+ function Xi(e) {
3745
+ ne.set(e);
3746
+ }
3747
+ const Ht = {
3722
3748
  en: {
3723
3749
  collections: "Game Collections",
3724
3750
  providers: "Game Providers",
@@ -3815,85 +3841,16 @@ const Ot = {
3815
3841
  loading: "Loading, please wait ..."
3816
3842
  }
3817
3843
  };
3818
- /*! *****************************************************************************
3819
- Copyright (c) Microsoft Corporation.
3820
-
3821
- Permission to use, copy, modify, and/or distribute this software for any
3822
- purpose with or without fee is hereby granted.
3823
-
3824
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
3825
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
3826
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
3827
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
3828
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
3829
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
3830
- PERFORMANCE OF THIS SOFTWARE.
3831
- ***************************************************************************** */
3832
- var Ke = function(e, t) {
3833
- return Ke = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
3834
- r.__proto__ = n;
3835
- } || function(r, n) {
3836
- for (var i in n)
3837
- Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
3838
- }, Ke(e, t);
3839
- };
3840
- function he(e, t) {
3841
- if (typeof t != "function" && t !== null)
3842
- throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
3843
- Ke(e, t);
3844
- function r() {
3845
- this.constructor = e;
3846
- }
3847
- e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
3848
- }
3849
- function et(e) {
3850
- var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
3851
- if (r)
3852
- return r.call(e);
3853
- if (e && typeof e.length == "number")
3854
- return {
3855
- next: function() {
3856
- return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
3857
- }
3858
- };
3859
- throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
3860
- }
3861
- function tt(e, t) {
3862
- var r = typeof Symbol == "function" && e[Symbol.iterator];
3863
- if (!r)
3864
- return e;
3865
- var n = r.call(e), i, o = [], s;
3866
- try {
3867
- for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
3868
- o.push(i.value);
3869
- } catch (a) {
3870
- s = { error: a };
3871
- } finally {
3872
- try {
3873
- i && !i.done && (r = n.return) && r.call(n);
3874
- } finally {
3875
- if (s)
3876
- throw s.error;
3877
- }
3878
- }
3879
- return o;
3880
- }
3881
- function rt(e, t, r) {
3882
- if (arguments.length === 2)
3883
- for (var n = 0, i = t.length, o; n < i; n++)
3884
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
3885
- return e.concat(o || t);
3886
- }
3887
- function U(e) {
3844
+ function G(e) {
3888
3845
  return typeof e == "function";
3889
3846
  }
3890
- function _r(e) {
3847
+ function mr(e) {
3891
3848
  var t = function(n) {
3892
3849
  Error.call(n), n.stack = new Error().stack;
3893
3850
  }, r = e(t);
3894
3851
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
3895
3852
  }
3896
- var Fe = _r(function(e) {
3853
+ var Ge = mr(function(e) {
3897
3854
  return function(r) {
3898
3855
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
3899
3856
  ` + r.map(function(n, i) {
@@ -3902,13 +3859,13 @@ var Fe = _r(function(e) {
3902
3859
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
3903
3860
  };
3904
3861
  });
3905
- function nt(e, t) {
3862
+ function Ye(e, t) {
3906
3863
  if (e) {
3907
3864
  var r = e.indexOf(t);
3908
3865
  0 <= r && e.splice(r, 1);
3909
3866
  }
3910
3867
  }
3911
- var Oe = function() {
3868
+ var Be = function() {
3912
3869
  function e(t) {
3913
3870
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
3914
3871
  }
@@ -3920,9 +3877,9 @@ var Oe = function() {
3920
3877
  if (s)
3921
3878
  if (this._parentage = null, Array.isArray(s))
3922
3879
  try {
3923
- for (var a = et(s), h = a.next(); !h.done; h = a.next()) {
3924
- var l = h.value;
3925
- l.remove(this);
3880
+ for (var a = je(s), h = a.next(); !h.done; h = a.next()) {
3881
+ var u = h.value;
3882
+ u.remove(this);
3926
3883
  }
3927
3884
  } catch (b) {
3928
3885
  t = { error: b };
@@ -3936,23 +3893,23 @@ var Oe = function() {
3936
3893
  }
3937
3894
  else
3938
3895
  s.remove(this);
3939
- var u = this.initialTeardown;
3940
- if (U(u))
3896
+ var l = this.initialTeardown;
3897
+ if (G(l))
3941
3898
  try {
3942
- u();
3899
+ l();
3943
3900
  } catch (b) {
3944
- o = b instanceof Fe ? b.errors : [b];
3901
+ o = b instanceof Ge ? b.errors : [b];
3945
3902
  }
3946
3903
  var f = this._finalizers;
3947
3904
  if (f) {
3948
3905
  this._finalizers = null;
3949
3906
  try {
3950
- for (var c = et(f), d = c.next(); !d.done; d = c.next()) {
3907
+ for (var c = je(f), d = c.next(); !d.done; d = c.next()) {
3951
3908
  var m = d.value;
3952
3909
  try {
3953
- Lt(m);
3910
+ Ct(m);
3954
3911
  } catch (b) {
3955
- o = o ?? [], b instanceof Fe ? o = rt(rt([], tt(o)), tt(b.errors)) : o.push(b);
3912
+ o = o ?? [], b instanceof Ge ? o = J(J([], ke(o)), ke(b.errors)) : o.push(b);
3956
3913
  }
3957
3914
  }
3958
3915
  } catch (b) {
@@ -3967,13 +3924,13 @@ var Oe = function() {
3967
3924
  }
3968
3925
  }
3969
3926
  if (o)
3970
- throw new Fe(o);
3927
+ throw new Ge(o);
3971
3928
  }
3972
3929
  }, e.prototype.add = function(t) {
3973
3930
  var r;
3974
3931
  if (t && t !== this)
3975
3932
  if (this.closed)
3976
- Lt(t);
3933
+ Ct(t);
3977
3934
  else {
3978
3935
  if (t instanceof e) {
3979
3936
  if (t.closed || t._hasParent(this))
@@ -3990,52 +3947,52 @@ var Oe = function() {
3990
3947
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
3991
3948
  }, e.prototype._removeParent = function(t) {
3992
3949
  var r = this._parentage;
3993
- r === t ? this._parentage = null : Array.isArray(r) && nt(r, t);
3950
+ r === t ? this._parentage = null : Array.isArray(r) && Ye(r, t);
3994
3951
  }, e.prototype.remove = function(t) {
3995
3952
  var r = this._finalizers;
3996
- r && nt(r, t), t instanceof e && t._removeParent(this);
3953
+ r && Ye(r, t), t instanceof e && t._removeParent(this);
3997
3954
  }, e.EMPTY = function() {
3998
3955
  var t = new e();
3999
3956
  return t.closed = !0, t;
4000
3957
  }(), e;
4001
- }(), Er = Oe.EMPTY;
4002
- function xr(e) {
4003
- return e instanceof Oe || e && "closed" in e && U(e.remove) && U(e.add) && U(e.unsubscribe);
3958
+ }(), br = Be.EMPTY;
3959
+ function gr(e) {
3960
+ return e instanceof Be || e && "closed" in e && G(e.remove) && G(e.add) && G(e.unsubscribe);
4004
3961
  }
4005
- function Lt(e) {
4006
- U(e) ? e() : e.unsubscribe();
3962
+ function Ct(e) {
3963
+ G(e) ? e() : e.unsubscribe();
4007
3964
  }
4008
- var qi = {
3965
+ var Wi = {
4009
3966
  Promise: void 0
4010
- }, Yi = {
3967
+ }, zi = {
4011
3968
  setTimeout: function(e, t) {
4012
3969
  for (var r = [], n = 2; n < arguments.length; n++)
4013
3970
  r[n - 2] = arguments[n];
4014
- return setTimeout.apply(void 0, rt([e, t], tt(r)));
3971
+ return setTimeout.apply(void 0, J([e, t], ke(r)));
4015
3972
  },
4016
3973
  clearTimeout: function(e) {
4017
3974
  return clearTimeout(e);
4018
3975
  },
4019
3976
  delegate: void 0
4020
3977
  };
4021
- function Ki(e) {
4022
- Yi.setTimeout(function() {
3978
+ function Zi(e) {
3979
+ zi.setTimeout(function() {
4023
3980
  throw e;
4024
3981
  });
4025
3982
  }
4026
- function It() {
3983
+ function Pt() {
4027
3984
  }
4028
3985
  function ge(e) {
4029
3986
  e();
4030
3987
  }
4031
- var Sr = function(e) {
4032
- he(t, e);
3988
+ var vr = function(e) {
3989
+ U(t, e);
4033
3990
  function t(r) {
4034
3991
  var n = e.call(this) || this;
4035
- return n.isStopped = !1, r ? (n.destination = r, xr(r) && r.add(n)) : n.destination = ro, n;
3992
+ return n.isStopped = !1, r ? (n.destination = r, gr(r) && r.add(n)) : n.destination = qi, n;
4036
3993
  }
4037
3994
  return t.create = function(r, n, i) {
4038
- return new it(r, n, i);
3995
+ return new Ke(r, n, i);
4039
3996
  }, t.prototype.next = function(r) {
4040
3997
  this.isStopped || this._next(r);
4041
3998
  }, t.prototype.error = function(r) {
@@ -4059,7 +4016,7 @@ var Sr = function(e) {
4059
4016
  this.unsubscribe();
4060
4017
  }
4061
4018
  }, t;
4062
- }(Oe), eo = function() {
4019
+ }(Be), Qi = function() {
4063
4020
  function e(t) {
4064
4021
  this.partialObserver = t;
4065
4022
  }
@@ -4090,43 +4047,43 @@ var Sr = function(e) {
4090
4047
  de(r);
4091
4048
  }
4092
4049
  }, e;
4093
- }(), it = function(e) {
4094
- he(t, e);
4050
+ }(), Ke = function(e) {
4051
+ U(t, e);
4095
4052
  function t(r, n, i) {
4096
4053
  var o = e.call(this) || this, s;
4097
- return U(r) || !r ? s = {
4054
+ return G(r) || !r ? s = {
4098
4055
  next: r ?? void 0,
4099
4056
  error: n ?? void 0,
4100
4057
  complete: i ?? void 0
4101
- } : s = r, o.destination = new eo(s), o;
4058
+ } : s = r, o.destination = new Qi(s), o;
4102
4059
  }
4103
4060
  return t;
4104
- }(Sr);
4061
+ }(vr);
4105
4062
  function de(e) {
4106
- Ki(e);
4063
+ Zi(e);
4107
4064
  }
4108
- function to(e) {
4065
+ function Ji(e) {
4109
4066
  throw e;
4110
4067
  }
4111
- var ro = {
4068
+ var qi = {
4112
4069
  closed: !0,
4113
- next: It,
4114
- error: to,
4115
- complete: It
4116
- }, no = function() {
4070
+ next: Pt,
4071
+ error: Ji,
4072
+ complete: Pt
4073
+ }, Yi = function() {
4117
4074
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
4118
4075
  }();
4119
- function io(e) {
4076
+ function Ki(e) {
4120
4077
  return e;
4121
4078
  }
4122
- function oo(e) {
4123
- return e.length === 0 ? io : e.length === 1 ? e[0] : function(r) {
4079
+ function eo(e) {
4080
+ return e.length === 0 ? Ki : e.length === 1 ? e[0] : function(r) {
4124
4081
  return e.reduce(function(n, i) {
4125
4082
  return i(n);
4126
4083
  }, r);
4127
4084
  };
4128
4085
  }
4129
- var Nt = function() {
4086
+ var Bt = function() {
4130
4087
  function e(t) {
4131
4088
  t && (this._subscribe = t);
4132
4089
  }
@@ -4134,7 +4091,7 @@ var Nt = function() {
4134
4091
  var r = new e();
4135
4092
  return r.source = this, r.operator = t, r;
4136
4093
  }, e.prototype.subscribe = function(t, r, n) {
4137
- var i = this, o = ao(t) ? t : new it(t, r, n);
4094
+ var i = this, o = ro(t) ? t : new Ke(t, r, n);
4138
4095
  return ge(function() {
4139
4096
  var s = i, a = s.operator, h = s.source;
4140
4097
  o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
@@ -4147,8 +4104,8 @@ var Nt = function() {
4147
4104
  }
4148
4105
  }, e.prototype.forEach = function(t, r) {
4149
4106
  var n = this;
4150
- return r = Mt(r), new r(function(i, o) {
4151
- var s = new it({
4107
+ return r = At(r), new r(function(i, o) {
4108
+ var s = new Ke({
4152
4109
  next: function(a) {
4153
4110
  try {
4154
4111
  t(a);
@@ -4164,15 +4121,15 @@ var Nt = function() {
4164
4121
  }, e.prototype._subscribe = function(t) {
4165
4122
  var r;
4166
4123
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
4167
- }, e.prototype[no] = function() {
4124
+ }, e.prototype[Yi] = function() {
4168
4125
  return this;
4169
4126
  }, e.prototype.pipe = function() {
4170
4127
  for (var t = [], r = 0; r < arguments.length; r++)
4171
4128
  t[r] = arguments[r];
4172
- return oo(t)(this);
4129
+ return eo(t)(this);
4173
4130
  }, e.prototype.toPromise = function(t) {
4174
4131
  var r = this;
4175
- return t = Mt(t), new t(function(n, i) {
4132
+ return t = At(t), new t(function(n, i) {
4176
4133
  var o;
4177
4134
  r.subscribe(function(s) {
4178
4135
  return o = s;
@@ -4186,32 +4143,32 @@ var Nt = function() {
4186
4143
  return new e(t);
4187
4144
  }, e;
4188
4145
  }();
4189
- function Mt(e) {
4146
+ function At(e) {
4190
4147
  var t;
4191
- return (t = e ?? qi.Promise) !== null && t !== void 0 ? t : Promise;
4148
+ return (t = e ?? Wi.Promise) !== null && t !== void 0 ? t : Promise;
4192
4149
  }
4193
- function so(e) {
4194
- return e && U(e.next) && U(e.error) && U(e.complete);
4150
+ function to(e) {
4151
+ return e && G(e.next) && G(e.error) && G(e.complete);
4195
4152
  }
4196
- function ao(e) {
4197
- return e && e instanceof Sr || so(e) && xr(e);
4153
+ function ro(e) {
4154
+ return e && e instanceof vr || to(e) && gr(e);
4198
4155
  }
4199
- var uo = _r(function(e) {
4156
+ var no = mr(function(e) {
4200
4157
  return function() {
4201
4158
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
4202
4159
  };
4203
- }), wr = function(e) {
4204
- he(t, e);
4160
+ }), yr = function(e) {
4161
+ U(t, e);
4205
4162
  function t() {
4206
4163
  var r = e.call(this) || this;
4207
4164
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
4208
4165
  }
4209
4166
  return t.prototype.lift = function(r) {
4210
- var n = new Rt(this, this);
4167
+ var n = new Ot(this, this);
4211
4168
  return n.operator = r, n;
4212
4169
  }, t.prototype._throwIfClosed = function() {
4213
4170
  if (this.closed)
4214
- throw new uo();
4171
+ throw new no();
4215
4172
  }, t.prototype.next = function(r) {
4216
4173
  var n = this;
4217
4174
  ge(function() {
@@ -4219,12 +4176,12 @@ var uo = _r(function(e) {
4219
4176
  if (n._throwIfClosed(), !n.isStopped) {
4220
4177
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
4221
4178
  try {
4222
- for (var s = et(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
4179
+ for (var s = je(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
4223
4180
  var h = a.value;
4224
4181
  h.next(r);
4225
4182
  }
4226
- } catch (l) {
4227
- i = { error: l };
4183
+ } catch (u) {
4184
+ i = { error: u };
4228
4185
  } finally {
4229
4186
  try {
4230
4187
  a && !a.done && (o = s.return) && o.call(s);
@@ -4268,20 +4225,20 @@ var uo = _r(function(e) {
4268
4225
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
4269
4226
  }, t.prototype._innerSubscribe = function(r) {
4270
4227
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
4271
- return o || s ? Er : (this.currentObservers = null, a.push(r), new Oe(function() {
4272
- n.currentObservers = null, nt(a, r);
4228
+ return o || s ? br : (this.currentObservers = null, a.push(r), new Be(function() {
4229
+ n.currentObservers = null, Ye(a, r);
4273
4230
  }));
4274
4231
  }, t.prototype._checkFinalizedStatuses = function(r) {
4275
4232
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
4276
4233
  i ? r.error(o) : s && r.complete();
4277
4234
  }, t.prototype.asObservable = function() {
4278
- var r = new Nt();
4235
+ var r = new Bt();
4279
4236
  return r.source = this, r;
4280
4237
  }, t.create = function(r, n) {
4281
- return new Rt(r, n);
4238
+ return new Ot(r, n);
4282
4239
  }, t;
4283
- }(Nt), Rt = function(e) {
4284
- he(t, e);
4240
+ }(Bt), Ot = function(e) {
4241
+ U(t, e);
4285
4242
  function t(r, n) {
4286
4243
  var i = e.call(this) || this;
4287
4244
  return i.destination = r, i.source = n, i;
@@ -4297,17 +4254,17 @@ var uo = _r(function(e) {
4297
4254
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
4298
4255
  }, t.prototype._subscribe = function(r) {
4299
4256
  var n, i;
4300
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Er;
4257
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : br;
4301
4258
  }, t;
4302
- }(wr), Tr = {
4259
+ }(yr), _r = {
4303
4260
  now: function() {
4304
- return (Tr.delegate || Date).now();
4261
+ return (_r.delegate || Date).now();
4305
4262
  },
4306
4263
  delegate: void 0
4307
- }, lo = function(e) {
4308
- he(t, e);
4264
+ }, io = function(e) {
4265
+ U(t, e);
4309
4266
  function t(r, n, i) {
4310
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Tr);
4267
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = _r);
4311
4268
  var o = e.call(this) || this;
4312
4269
  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;
4313
4270
  }
@@ -4322,28 +4279,28 @@ var uo = _r(function(e) {
4322
4279
  }, t.prototype._trimBuffer = function() {
4323
4280
  var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * n;
4324
4281
  if (n < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
4325
- for (var h = i.now(), l = 0, u = 1; u < o.length && o[u] <= h; u += 2)
4326
- l = u;
4327
- l && o.splice(0, l + 1);
4282
+ for (var h = i.now(), u = 0, l = 1; l < o.length && o[l] <= h; l += 2)
4283
+ u = l;
4284
+ u && o.splice(0, u + 1);
4328
4285
  }
4329
4286
  }, t;
4330
- }(wr);
4331
- const $t = [], Gt = {}, ho = (e, t = 0) => {
4332
- if ($t.indexOf(e) == -1) {
4333
- const r = new lo(t);
4334
- Gt[e] = r, $t.push(e);
4287
+ }(yr);
4288
+ const Lt = [], It = {}, oo = (e, t = 0) => {
4289
+ if (Lt.indexOf(e) == -1) {
4290
+ const r = new io(t);
4291
+ It[e] = r, Lt.push(e);
4335
4292
  }
4336
- return Gt[e];
4293
+ return It[e];
4337
4294
  };
4338
- window.emWidgets = { topic: ho };
4339
- const co = (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));
4340
- function fo(e, t) {
4295
+ window.emWidgets = { topic: oo };
4296
+ const so = (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));
4297
+ function ao(e, t) {
4341
4298
  if (e) {
4342
4299
  const r = document.createElement("style");
4343
4300
  r.innerHTML = t, e.appendChild(r);
4344
4301
  }
4345
4302
  }
4346
- function po(e, t) {
4303
+ function lo(e, t) {
4347
4304
  const r = new URL(t);
4348
4305
  fetch(r.href).then((n) => n.text()).then((n) => {
4349
4306
  const i = document.createElement("style");
@@ -4352,7 +4309,7 @@ function po(e, t) {
4352
4309
  console.error("There was an error while trying to load client styling from URL", n);
4353
4310
  });
4354
4311
  }
4355
- function mo(e, t, r) {
4312
+ function uo(e, t, r) {
4356
4313
  if (window.emMessageBus) {
4357
4314
  const n = document.createElement("style");
4358
4315
  window.emMessageBus.subscribe(t, (i) => {
@@ -4360,18 +4317,18 @@ function mo(e, t, r) {
4360
4317
  });
4361
4318
  }
4362
4319
  }
4363
- function bo(e) {
4364
- Dr(e, "svelte-nnjza6", '*,*::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));background-color:inherit;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:var(--emw--border-radius-medium, 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:var(--emw--border-radius-medium, 10px);width:70px;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:var(--emw--border-radius-medium, 10px);width:60px;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, #22B04E));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
4320
+ function ho(e) {
4321
+ Mr(e, "svelte-nnjza6", '*,*::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));background-color:inherit;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:var(--emw--border-radius-medium, 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:var(--emw--border-radius-medium, 10px);width:70px;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:var(--emw--border-radius-medium, 10px);width:60px;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, #22B04E));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
4365
4322
  }
4366
- function Ut(e, t, r) {
4323
+ function Nt(e, t, r) {
4367
4324
  const n = e.slice();
4368
4325
  return n[41] = t[r], n;
4369
4326
  }
4370
- function Dt(e, t, r) {
4327
+ function Mt(e, t, r) {
4371
4328
  const n = e.slice();
4372
4329
  return n[44] = t[r], n;
4373
4330
  }
4374
- function go(e) {
4331
+ function co(e) {
4375
4332
  let t, r, n, i = (
4376
4333
  /*type*/
4377
4334
  (e[0] === "vendor" ? (
@@ -4381,27 +4338,27 @@ function go(e) {
4381
4338
  /*$_*/
4382
4339
  e[10]("collections")
4383
4340
  )) + ""
4384
- ), o, s, a, h, l, u = (
4341
+ ), o, s, a, h, u, l = (
4385
4342
  /*numberOfSlides*/
4386
4343
  e[7] > /*numberOfVisibleSlides*/
4387
- e[8] && Ft(e)
4344
+ e[8] && Rt(e)
4388
4345
  ), f = Ee(
4389
4346
  /*gameCategories*/
4390
4347
  e[3]
4391
4348
  ), c = [];
4392
4349
  for (let d = 0; d < f.length; d += 1)
4393
- c[d] = Vt(Ut(e, f, d));
4350
+ c[d] = Ut(Nt(e, f, d));
4394
4351
  return {
4395
4352
  c() {
4396
- t = C("div"), r = C("div"), n = C("p"), o = Te(i), s = k(), u && u.c(), a = k(), h = C("div");
4353
+ t = C("div"), r = C("div"), n = C("p"), o = we(i), s = k(), l && l.c(), a = k(), h = C("div");
4397
4354
  for (let d = 0; d < c.length; d += 1)
4398
4355
  c[d].c();
4399
- E(n, "class", "Title"), E(r, "class", "CategoriesHeader"), E(h, "class", "CategoriesSlider"), E(t, "class", l = "CasinoCollectionsProviders " + /*mobile*/
4356
+ x(n, "class", "Title"), x(r, "class", "CategoriesHeader"), x(h, "class", "CategoriesSlider"), x(t, "class", u = "CasinoCollectionsProviders " + /*mobile*/
4400
4357
  (e[9] ? "Mobile" : "") + " " + /*type*/
4401
4358
  (e[0] === "vendor" ? "Providers" : "Collections"));
4402
4359
  },
4403
4360
  m(d, m) {
4404
- G(d, t, m), H(t, r), H(r, n), H(n, o), H(r, s), u && u.m(r, null), H(t, a), H(t, h);
4361
+ $(d, t, m), H(t, r), H(r, n), H(n, o), H(r, s), l && l.m(r, null), H(t, a), H(t, h);
4405
4362
  for (let b = 0; b < c.length; b += 1)
4406
4363
  c[b] && c[b].m(h, null);
4407
4364
  e[25](h);
@@ -4415,9 +4372,9 @@ function go(e) {
4415
4372
  ) : (
4416
4373
  /*$_*/
4417
4374
  d[10]("collections")
4418
- )) + "") && st(o, i), /*numberOfSlides*/
4375
+ )) + "") && tt(o, i), /*numberOfSlides*/
4419
4376
  d[7] > /*numberOfVisibleSlides*/
4420
- d[8] ? u ? u.p(d, m) : (u = Ft(d), u.c(), u.m(r, null)) : u && (u.d(1), u = null), m[0] & /*gameCategories, openCategory, collectionprovidersgamenames, openGame, titletype*/
4377
+ d[8] ? l ? l.p(d, m) : (l = Rt(d), l.c(), l.m(r, null)) : l && (l.d(1), l = null), m[0] & /*gameCategories, openCategory, collectionprovidersgamenames, openGame, titletype*/
4421
4378
  24590) {
4422
4379
  f = Ee(
4423
4380
  /*gameCategories*/
@@ -4425,31 +4382,31 @@ function go(e) {
4425
4382
  );
4426
4383
  let b;
4427
4384
  for (b = 0; b < f.length; b += 1) {
4428
- const g = Ut(d, f, b);
4429
- c[b] ? c[b].p(g, m) : (c[b] = Vt(g), c[b].c(), c[b].m(h, null));
4385
+ const g = Nt(d, f, b);
4386
+ c[b] ? c[b].p(g, m) : (c[b] = Ut(g), c[b].c(), c[b].m(h, null));
4430
4387
  }
4431
4388
  for (; b < c.length; b += 1)
4432
4389
  c[b].d(1);
4433
4390
  c.length = f.length;
4434
4391
  }
4435
4392
  m[0] & /*mobile, type*/
4436
- 513 && l !== (l = "CasinoCollectionsProviders " + /*mobile*/
4393
+ 513 && u !== (u = "CasinoCollectionsProviders " + /*mobile*/
4437
4394
  (d[9] ? "Mobile" : "") + " " + /*type*/
4438
- (d[0] === "vendor" ? "Providers" : "Collections")) && E(t, "class", l);
4395
+ (d[0] === "vendor" ? "Providers" : "Collections")) && x(t, "class", u);
4439
4396
  },
4440
4397
  d(d) {
4441
- d && I(t), u && u.d(), Zt(c, d), e[25](null);
4398
+ d && I(t), l && l.d(), kt(c, d), e[25](null);
4442
4399
  }
4443
4400
  };
4444
4401
  }
4445
- function vo(e) {
4402
+ function fo(e) {
4446
4403
  let t;
4447
4404
  return {
4448
4405
  c() {
4449
- t = C("div"), E(t, "class", "LoadingSpinner");
4406
+ t = C("div"), x(t, "class", "LoadingSpinner");
4450
4407
  },
4451
4408
  m(r, n) {
4452
- G(r, t, n);
4409
+ $(r, t, n);
4453
4410
  },
4454
4411
  p: A,
4455
4412
  d(r) {
@@ -4457,14 +4414,14 @@ function vo(e) {
4457
4414
  }
4458
4415
  };
4459
4416
  }
4460
- function Ft(e) {
4417
+ function Rt(e) {
4461
4418
  let t, r, n, i, o, s;
4462
4419
  return {
4463
4420
  c() {
4464
- t = C("div"), r = C("button"), r.innerHTML = '<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(14.656 0) rotate(90)" fill="#fff"></path></svg>', n = k(), i = C("button"), i.innerHTML = '<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(0 24.656) rotate(-90)" fill="#fff"></path></svg>', E(t, "class", "ButtonsContainer");
4421
+ t = C("div"), r = C("button"), r.innerHTML = '<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(14.656 0) rotate(90)" fill="#fff"></path></svg>', n = k(), i = C("button"), i.innerHTML = '<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(0 24.656) rotate(-90)" fill="#fff"></path></svg>', x(t, "class", "ButtonsContainer");
4465
4422
  },
4466
4423
  m(a, h) {
4467
- G(a, t, h), H(t, r), H(t, n), H(t, i), o || (s = [
4424
+ $(a, t, h), H(t, r), H(t, n), H(t, i), o || (s = [
4468
4425
  ye(
4469
4426
  r,
4470
4427
  "click",
@@ -4481,83 +4438,83 @@ function Ft(e) {
4481
4438
  },
4482
4439
  p: A,
4483
4440
  d(a) {
4484
- a && I(t), o = !1, ee(s);
4441
+ a && I(t), o = !1, te(s);
4485
4442
  }
4486
4443
  };
4487
4444
  }
4488
- function yo(e) {
4445
+ function po(e) {
4489
4446
  let t, r = (
4490
4447
  /*category*/
4491
4448
  e[41].name + ""
4492
4449
  ), n;
4493
4450
  return {
4494
4451
  c() {
4495
- t = C("p"), n = Te(r), E(t, "class", "CategorySlideTitle");
4452
+ t = C("p"), n = we(r), x(t, "class", "CategorySlideTitle");
4496
4453
  },
4497
4454
  m(i, o) {
4498
- G(i, t, o), H(t, n);
4455
+ $(i, t, o), H(t, n);
4499
4456
  },
4500
4457
  p(i, o) {
4501
4458
  o[0] & /*gameCategories*/
4502
4459
  8 && r !== (r = /*category*/
4503
- i[41].name + "") && st(n, r);
4460
+ i[41].name + "") && tt(n, r);
4504
4461
  },
4505
4462
  d(i) {
4506
4463
  i && I(t);
4507
4464
  }
4508
4465
  };
4509
4466
  }
4510
- function _o(e) {
4467
+ function mo(e) {
4511
4468
  let t, r, n;
4512
4469
  return {
4513
4470
  c() {
4514
- t = C("img"), E(t, "class", "CategorySlideLogo"), ve(t.src, r = /*category*/
4515
- e[41].icon) || E(t, "src", r), E(t, "alt", n = /*category*/
4471
+ t = C("img"), x(t, "class", "CategorySlideLogo"), ve(t.src, r = /*category*/
4472
+ e[41].icon) || x(t, "src", r), x(t, "alt", n = /*category*/
4516
4473
  e[41].name + " icon");
4517
4474
  },
4518
4475
  m(i, o) {
4519
- G(i, t, o);
4476
+ $(i, t, o);
4520
4477
  },
4521
4478
  p(i, o) {
4522
4479
  o[0] & /*gameCategories*/
4523
4480
  8 && !ve(t.src, r = /*category*/
4524
- i[41].icon) && E(t, "src", r), o[0] & /*gameCategories*/
4481
+ i[41].icon) && x(t, "src", r), o[0] & /*gameCategories*/
4525
4482
  8 && n !== (n = /*category*/
4526
- i[41].name + " icon") && E(t, "alt", n);
4483
+ i[41].name + " icon") && x(t, "alt", n);
4527
4484
  },
4528
4485
  d(i) {
4529
4486
  i && I(t);
4530
4487
  }
4531
4488
  };
4532
4489
  }
4533
- function jt(e) {
4490
+ function $t(e) {
4534
4491
  let t, r = (
4535
4492
  /*game*/
4536
4493
  e[44].name + ""
4537
4494
  ), n, i;
4538
4495
  return {
4539
4496
  c() {
4540
- t = C("p"), n = Te(r), E(t, "title", i = /*game*/
4497
+ t = C("p"), n = we(r), x(t, "title", i = /*game*/
4541
4498
  e[44].name);
4542
4499
  },
4543
4500
  m(o, s) {
4544
- G(o, t, s), H(t, n);
4501
+ $(o, t, s), H(t, n);
4545
4502
  },
4546
4503
  p(o, s) {
4547
4504
  s[0] & /*gameCategories*/
4548
4505
  8 && r !== (r = /*game*/
4549
- o[44].name + "") && st(n, r), s[0] & /*gameCategories*/
4506
+ o[44].name + "") && tt(n, r), s[0] & /*gameCategories*/
4550
4507
  8 && i !== (i = /*game*/
4551
- o[44].name) && E(t, "title", i);
4508
+ o[44].name) && x(t, "title", i);
4552
4509
  },
4553
4510
  d(o) {
4554
4511
  o && I(t);
4555
4512
  }
4556
4513
  };
4557
4514
  }
4558
- function kt(e) {
4515
+ function Gt(e) {
4559
4516
  let t, r, n, i, o, s, a, h;
4560
- function l() {
4517
+ function u() {
4561
4518
  return (
4562
4519
  /*click_handler*/
4563
4520
  e[23](
@@ -4566,52 +4523,52 @@ function kt(e) {
4566
4523
  )
4567
4524
  );
4568
4525
  }
4569
- let u = (
4526
+ let l = (
4570
4527
  /*collectionprovidersgamenames*/
4571
- e[2] == "true" && jt(e)
4528
+ e[2] == "true" && $t(e)
4572
4529
  );
4573
4530
  return {
4574
4531
  c() {
4575
- t = C("div"), r = C("img"), o = k(), u && u.c(), s = k(), E(r, "class", "CategorySlideGameImage"), ve(r.src, n = /*game*/
4576
- e[44].defaultThumbnail) || E(r, "src", n), E(r, "alt", i = /*game*/
4577
- e[44].name), E(t, "class", "CategorySlideGames");
4532
+ t = C("div"), r = C("img"), o = k(), l && l.c(), s = k(), x(r, "class", "CategorySlideGameImage"), ve(r.src, n = /*game*/
4533
+ e[44].defaultThumbnail) || x(r, "src", n), x(r, "alt", i = /*game*/
4534
+ e[44].name), x(t, "class", "CategorySlideGames");
4578
4535
  },
4579
4536
  m(f, c) {
4580
- G(f, t, c), H(t, r), H(t, o), u && u.m(t, null), H(t, s), a || (h = ye(r, "click", kr(l)), a = !0);
4537
+ $(f, t, c), H(t, r), H(t, o), l && l.m(t, null), H(t, s), a || (h = ye(r, "click", Gr(u)), a = !0);
4581
4538
  },
4582
4539
  p(f, c) {
4583
4540
  e = f, c[0] & /*gameCategories*/
4584
4541
  8 && !ve(r.src, n = /*game*/
4585
- e[44].defaultThumbnail) && E(r, "src", n), c[0] & /*gameCategories*/
4542
+ e[44].defaultThumbnail) && x(r, "src", n), c[0] & /*gameCategories*/
4586
4543
  8 && i !== (i = /*game*/
4587
- e[44].name) && E(r, "alt", i), /*collectionprovidersgamenames*/
4588
- e[2] == "true" ? u ? u.p(e, c) : (u = jt(e), u.c(), u.m(t, s)) : u && (u.d(1), u = null);
4544
+ e[44].name) && x(r, "alt", i), /*collectionprovidersgamenames*/
4545
+ e[2] == "true" ? l ? l.p(e, c) : (l = $t(e), l.c(), l.m(t, s)) : l && (l.d(1), l = null);
4589
4546
  },
4590
4547
  d(f) {
4591
- f && I(t), u && u.d(), a = !1, h();
4548
+ f && I(t), l && l.d(), a = !1, h();
4592
4549
  }
4593
4550
  };
4594
4551
  }
4595
- function Vt(e) {
4596
- let t, r, n, i, o, s, a, h, l;
4597
- function u(g, x) {
4552
+ function Ut(e) {
4553
+ let t, r, n, i, o, s, a, h, u;
4554
+ function l(g, S) {
4598
4555
  if (
4599
4556
  /*titletype*/
4600
4557
  g[1] === "logo"
4601
4558
  )
4602
- return _o;
4559
+ return mo;
4603
4560
  if (
4604
4561
  /*titletype*/
4605
4562
  g[1] === "title"
4606
4563
  )
4607
- return yo;
4564
+ return po;
4608
4565
  }
4609
- let f = u(e), c = f && f(e), d = Ee(
4566
+ let f = l(e), c = f && f(e), d = Ee(
4610
4567
  /*category*/
4611
4568
  e[41].games
4612
4569
  ), m = [];
4613
4570
  for (let g = 0; g < d.length; g += 1)
4614
- m[g] = kt(Dt(e, d, g));
4571
+ m[g] = Gt(Mt(e, d, g));
4615
4572
  function b() {
4616
4573
  return (
4617
4574
  /*click_handler_1*/
@@ -4626,49 +4583,49 @@ function Vt(e) {
4626
4583
  t = C("div"), r = C("div"), n = C("div"), c && c.c(), i = k(), o = C("div");
4627
4584
  for (let g = 0; g < m.length; g += 1)
4628
4585
  m[g].c();
4629
- a = k(), E(n, "class", "CategorySlideTopContainer"), E(o, "class", "CategorySlideGameContainer"), E(r, "class", s = "CategorySlide " + /*category*/
4630
- (e[41]?.flag[0] === "vendor" ? "CategorySlideNoHighlight" : "")), Ie(r, "background-image", "url(" + /*category*/
4631
- e[41]?.background + ")"), Ie(r, "background-size", "cover"), E(t, "class", "CategoriesSliderWrapper Animation");
4586
+ a = k(), x(n, "class", "CategorySlideTopContainer"), x(o, "class", "CategorySlideGameContainer"), x(r, "class", s = "CategorySlide " + /*category*/
4587
+ (e[41]?.flag[0] === "vendor" ? "CategorySlideNoHighlight" : "")), Oe(r, "background-image", "url(" + /*category*/
4588
+ e[41]?.background + ")"), Oe(r, "background-size", "cover"), x(t, "class", "CategoriesSliderWrapper Animation");
4632
4589
  },
4633
- m(g, x) {
4634
- G(g, t, x), H(t, r), H(r, n), c && c.m(n, null), H(r, i), H(r, o);
4635
- for (let _ = 0; _ < m.length; _ += 1)
4636
- m[_] && m[_].m(o, null);
4637
- H(t, a), h || (l = ye(r, "click", b), h = !0);
4590
+ m(g, S) {
4591
+ $(g, t, S), H(t, r), H(r, n), c && c.m(n, null), H(r, i), H(r, o);
4592
+ for (let E = 0; E < m.length; E += 1)
4593
+ m[E] && m[E].m(o, null);
4594
+ H(t, a), h || (u = ye(r, "click", b), h = !0);
4638
4595
  },
4639
- p(g, x) {
4640
- if (e = g, f === (f = u(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*/
4596
+ p(g, S) {
4597
+ if (e = g, f === (f = l(e)) && c ? c.p(e, S) : (c && c.d(1), c = f && f(e), c && (c.c(), c.m(n, null))), S[0] & /*gameCategories, collectionprovidersgamenames, openGame*/
4641
4598
  8204) {
4642
4599
  d = Ee(
4643
4600
  /*category*/
4644
4601
  e[41].games
4645
4602
  );
4646
- let _;
4647
- for (_ = 0; _ < d.length; _ += 1) {
4648
- const T = Dt(e, d, _);
4649
- m[_] ? m[_].p(T, x) : (m[_] = kt(T), m[_].c(), m[_].m(o, null));
4603
+ let E;
4604
+ for (E = 0; E < d.length; E += 1) {
4605
+ const T = Mt(e, d, E);
4606
+ m[E] ? m[E].p(T, S) : (m[E] = Gt(T), m[E].c(), m[E].m(o, null));
4650
4607
  }
4651
- for (; _ < m.length; _ += 1)
4652
- m[_].d(1);
4608
+ for (; E < m.length; E += 1)
4609
+ m[E].d(1);
4653
4610
  m.length = d.length;
4654
4611
  }
4655
- x[0] & /*gameCategories*/
4612
+ S[0] & /*gameCategories*/
4656
4613
  8 && s !== (s = "CategorySlide " + /*category*/
4657
- (e[41]?.flag[0] === "vendor" ? "CategorySlideNoHighlight" : "")) && E(r, "class", s), x[0] & /*gameCategories*/
4658
- 8 && Ie(r, "background-image", "url(" + /*category*/
4614
+ (e[41]?.flag[0] === "vendor" ? "CategorySlideNoHighlight" : "")) && x(r, "class", s), S[0] & /*gameCategories*/
4615
+ 8 && Oe(r, "background-image", "url(" + /*category*/
4659
4616
  e[41]?.background + ")");
4660
4617
  },
4661
4618
  d(g) {
4662
- g && I(t), c && c.d(), Zt(m, g), h = !1, l();
4619
+ g && I(t), c && c.d(), kt(m, g), h = !1, u();
4663
4620
  }
4664
4621
  };
4665
4622
  }
4666
- function Eo(e) {
4623
+ function bo(e) {
4667
4624
  let t;
4668
4625
  function r(o, s) {
4669
4626
  return (
4670
4627
  /*isLoading*/
4671
- o[6] ? vo : go
4628
+ o[6] ? fo : co
4672
4629
  );
4673
4630
  }
4674
4631
  let n = r(e), i = n(e);
@@ -4677,7 +4634,7 @@ function Eo(e) {
4677
4634
  t = C("div"), i.c();
4678
4635
  },
4679
4636
  m(o, s) {
4680
- G(o, t, s), i.m(t, null), e[26](t);
4637
+ $(o, t, s), i.m(t, null), e[26](t);
4681
4638
  },
4682
4639
  p(o, s) {
4683
4640
  n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
@@ -4689,52 +4646,52 @@ function Eo(e) {
4689
4646
  }
4690
4647
  };
4691
4648
  }
4692
- function xo(e, t, r) {
4649
+ function go(e, t, r) {
4693
4650
  let n;
4694
- Ur(e, Qi, (p) => r(10, n = p));
4695
- let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "" } = t, { type: a = "" } = t, { titletype: h = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: f = "" } = t, { collectionprovidersgamenames: c = "" } = t, { mbsource: d } = t, m = [], b = !0, g, x = 0, _ = 0, T = 0, D, L, j = 0, X = 50, Le = !1, N, Hr = window.navigator.userAgent, lt;
4696
- const Cr = () => {
4651
+ Nr(e, Vi, (p) => r(10, n = p));
4652
+ 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, S = 0, E = 0, T = 0, D, L, j = 0, X = 50, Ae = !1, N, Er = window.navigator.userAgent, it;
4653
+ const xr = () => {
4697
4654
  fetch(f).then((P) => P.json()).then((P) => {
4698
4655
  Object.keys(P).forEach((M) => {
4699
- At(M, P[M]);
4656
+ Tt(M, P[M]);
4700
4657
  });
4701
4658
  }).catch((P) => {
4702
4659
  console.log(P);
4703
4660
  });
4704
4661
  };
4705
- Object.keys(Ot).forEach((p) => {
4706
- At(p, Ot[p]);
4662
+ Object.keys(Ht).forEach((p) => {
4663
+ Tt(p, Ht[p]);
4707
4664
  });
4708
- const ht = () => {
4665
+ const ot = () => {
4709
4666
  const p = new URL(`${i}/v2/casino/groups/${o}`);
4710
4667
  p.searchParams.append("language", s), p.searchParams.append("expand", "games"), p.searchParams.append("filter", `$and(flags=${a})`), p.searchParams.append("pagination", `offset=${j},limit=${X}`), fetch(p.href).then((P) => P.json()).then((P) => {
4711
- r(6, b = !1), P.total > X && (j += 50, X += 50, r(22, Le = !0));
4668
+ r(6, b = !1), P.total > X && (j += 50, X += 50, r(22, Ae = !0));
4712
4669
  let M = P.items.map((R) => ({
4713
4670
  id: R.id,
4714
4671
  name: R.name,
4715
4672
  icon: R.icon ? R.icon : R.vendors?.items[0]?.subVendors[0]?.logo,
4716
- games: R.games.items.slice(0, 4).map(($r) => $r),
4673
+ games: R.games.items.slice(0, 4).map((Lr) => Lr),
4717
4674
  background: R.background,
4718
4675
  flag: R.flags
4719
4676
  }));
4720
- r(3, m = [...m, ...M]), r(7, _ = m.length), Pr();
4677
+ r(3, m = [...m, ...M]), r(7, E = m.length), Sr();
4721
4678
  });
4722
- }, Pr = () => {
4679
+ }, Sr = () => {
4723
4680
  const p = N.getRootNode().host;
4724
4681
  p.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: p } }));
4725
- }, ct = (p) => {
4682
+ }, st = (p) => {
4726
4683
  L = [...g.children], L.forEach((P, M) => {
4727
4684
  P.style.transform = `translateX(${100 * (p ? M - p : M)}%)`;
4728
- }), D = L[0]?.getBoundingClientRect().width, Br();
4729
- }, Br = () => {
4685
+ }), D = L[0]?.getBoundingClientRect().width, wr();
4686
+ }, wr = () => {
4730
4687
  r(8, T = Math.floor(g.clientWidth / D));
4731
- }, ft = () => {
4732
- ct(x);
4733
- }, Ar = () => {
4734
- x === 0 ? x = _ - T : x - T < -1 ? x = 0 : x--, ft();
4735
- }, Or = () => {
4736
- x === _ - T ? x = 0 : _ - T < x + 1 ? x = _ - T : x++, ft();
4737
- }, dt = (p, P, M, R) => {
4688
+ }, at = () => {
4689
+ st(S);
4690
+ }, Tr = () => {
4691
+ S === 0 ? S = E - T : S - T < -1 ? S = 0 : S--, at();
4692
+ }, Hr = () => {
4693
+ S === E - T ? S = 0 : E - T < S + 1 ? S = E - T : S++, at();
4694
+ }, lt = (p, P, M, R) => {
4738
4695
  window.postMessage(
4739
4696
  {
4740
4697
  type: "OpenCollectionsProvidersGame",
@@ -4748,7 +4705,7 @@ function xo(e, t, r) {
4748
4705
  context: "CollectionsProviders",
4749
4706
  gameName: `${M}`
4750
4707
  });
4751
- }, pt = (p) => {
4708
+ }, ut = (p) => {
4752
4709
  window.postMessage(
4753
4710
  {
4754
4711
  type: "OpenCollectionsProvidersCategory",
@@ -4756,34 +4713,34 @@ function xo(e, t, r) {
4756
4713
  },
4757
4714
  window.location.href
4758
4715
  );
4759
- }, Lr = () => {
4760
- Ji(s);
4716
+ }, Cr = () => {
4717
+ Xi(s);
4761
4718
  };
4762
- zr(() => (r(9, lt = co(Hr)), () => {
4719
+ jr(() => (r(9, it = so(Er)), () => {
4763
4720
  }));
4764
- const Ir = (p) => dt(p.gameId, p.launchUrl, p.name, p.subVendor), Nr = (p) => pt(p.id);
4765
- function Mr(p) {
4721
+ const Pr = (p) => lt(p.gameId, p.launchUrl, p.name, p.subVendor), Br = (p) => ut(p.id);
4722
+ function Ar(p) {
4766
4723
  _e[p ? "unshift" : "push"](() => {
4767
4724
  g = p, r(4, g);
4768
4725
  });
4769
4726
  }
4770
- function Rr(p) {
4727
+ function Or(p) {
4771
4728
  _e[p ? "unshift" : "push"](() => {
4772
4729
  N = p, r(5, N);
4773
4730
  });
4774
4731
  }
4775
4732
  return e.$$set = (p) => {
4776
- "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, l = p.clientstyling), "clientstylingurl" in p && r(19, u = 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);
4733
+ "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);
4777
4734
  }, e.$$.update = () => {
4778
4735
  e.$$.dirty[0] & /*endpoint, datasource, lang*/
4779
- 229376 && i && o && s && ht(), e.$$.dirty[0] & /*gameCategories, categoriesSlider*/
4780
- 24 && m && g && ct(), e.$$.dirty[0] & /*lang*/
4781
- 131072 && s && Lr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4782
- 262176 && l && N && fo(N, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4783
- 524320 && u && N && po(N, u), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
4784
- 2097184 && N && mo(N, `${d}.Style`), e.$$.dirty[0] & /*translationurl*/
4785
- 1048576 && f && Cr(), e.$$.dirty[0] & /*paginationrequired*/
4786
- 4194304 && Le && ht();
4736
+ 229376 && i && o && s && ot(), e.$$.dirty[0] & /*gameCategories, categoriesSlider*/
4737
+ 24 && m && g && st(), e.$$.dirty[0] & /*lang*/
4738
+ 131072 && s && Cr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4739
+ 262176 && u && N && ao(N, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4740
+ 524320 && l && N && lo(N, l), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
4741
+ 2097184 && N && uo(N, `${d}.Style`), e.$$.dirty[0] & /*translationurl*/
4742
+ 1048576 && f && xr(), e.$$.dirty[0] & /*paginationrequired*/
4743
+ 4194304 && Ae && ot();
4787
4744
  }, [
4788
4745
  a,
4789
4746
  h,
@@ -4792,36 +4749,36 @@ function xo(e, t, r) {
4792
4749
  g,
4793
4750
  N,
4794
4751
  b,
4795
- _,
4752
+ E,
4796
4753
  T,
4797
- lt,
4754
+ it,
4798
4755
  n,
4799
- Ar,
4800
- Or,
4801
- dt,
4802
- pt,
4756
+ Tr,
4757
+ Hr,
4758
+ lt,
4759
+ ut,
4803
4760
  i,
4804
4761
  o,
4805
4762
  s,
4806
- l,
4807
4763
  u,
4764
+ l,
4808
4765
  f,
4809
4766
  d,
4810
- Le,
4811
- Ir,
4812
- Nr,
4813
- Mr,
4814
- Rr
4767
+ Ae,
4768
+ Pr,
4769
+ Br,
4770
+ Ar,
4771
+ Or
4815
4772
  ];
4816
4773
  }
4817
- class So extends sn {
4774
+ class vo extends en {
4818
4775
  constructor(t) {
4819
- super(), nn(
4776
+ super(), Yr(
4820
4777
  this,
4821
4778
  t,
4822
- xo,
4823
- Eo,
4824
- Wt,
4779
+ go,
4780
+ bo,
4781
+ Ft,
4825
4782
  {
4826
4783
  endpoint: 15,
4827
4784
  datasource: 16,
@@ -4834,7 +4791,7 @@ class So extends sn {
4834
4791
  collectionprovidersgamenames: 2,
4835
4792
  mbsource: 21
4836
4793
  },
4837
- bo,
4794
+ ho,
4838
4795
  [-1, -1]
4839
4796
  );
4840
4797
  }
@@ -4899,7 +4856,7 @@ class So extends sn {
4899
4856
  this.$$set({ mbsource: t }), O();
4900
4857
  }
4901
4858
  }
4902
- on(So, { endpoint: {}, datasource: {}, lang: {}, type: {}, titletype: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, collectionprovidersgamenames: {}, mbsource: {} }, [], [], !0);
4859
+ Kr(vo, { endpoint: {}, datasource: {}, lang: {}, type: {}, titletype: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, collectionprovidersgamenames: {}, mbsource: {} }, [], [], !0);
4903
4860
  export {
4904
- So as C
4861
+ vo as C
4905
4862
  };