@everymatrix/casino-collections-providers 1.62.0 → 1.62.2

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