@everymatrix/casino-collections-providers 1.77.20 → 1.77.22

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