@everymatrix/casino-collections-providers 1.54.11 → 1.55.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,50 +1,50 @@
1
- function I() {
1
+ function O() {
2
2
  }
3
- function Dt(e) {
3
+ function Vt(e) {
4
4
  return e();
5
5
  }
6
- function ht() {
6
+ function pt() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
9
  function ee(e) {
10
- e.forEach(Dt);
10
+ e.forEach(Vt);
11
11
  }
12
- function et(e) {
12
+ function tt(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function Ft(e, t) {
15
+ function Xt(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
18
  let fe;
19
19
  function _e(e, t) {
20
20
  return e === t ? !0 : (fe || (fe = document.createElement("a")), fe.href = t, e === fe.href);
21
21
  }
22
- function Mr(e) {
22
+ function Gr(e) {
23
23
  return Object.keys(e).length === 0;
24
24
  }
25
- function kt(e, ...t) {
25
+ function zt(e, ...t) {
26
26
  if (e == null) {
27
27
  for (const n of t)
28
28
  n(void 0);
29
- return I;
29
+ return O;
30
30
  }
31
31
  const r = e.subscribe(...t);
32
32
  return r.unsubscribe ? () => r.unsubscribe() : r;
33
33
  }
34
- function Rr(e, t, r) {
35
- e.$$.on_destroy.push(kt(t, r));
34
+ function Ur(e, t, r) {
35
+ e.$$.on_destroy.push(zt(t, r));
36
36
  }
37
- function T(e, t) {
37
+ function H(e, t) {
38
38
  e.appendChild(t);
39
39
  }
40
- function $r(e, t, r) {
41
- const n = Gr(e);
40
+ function Dr(e, t, r) {
41
+ const n = Fr(e);
42
42
  if (!n.getElementById(t)) {
43
- const i = H("style");
44
- i.id = t, i.textContent = r, Ur(n, i);
43
+ const i = C("style");
44
+ i.id = t, i.textContent = r, kr(n, i);
45
45
  }
46
46
  }
47
- function Gr(e) {
47
+ function Fr(e) {
48
48
  if (!e) return document;
49
49
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
50
50
  return t && /** @type {ShadowRoot} */
@@ -53,47 +53,47 @@ function Gr(e) {
53
53
  t
54
54
  ) : e.ownerDocument;
55
55
  }
56
- function Ur(e, t) {
57
- return T(
56
+ function kr(e, t) {
57
+ return H(
58
58
  /** @type {Document} */
59
59
  e.head || e,
60
60
  t
61
61
  ), t.sheet;
62
62
  }
63
- function R(e, t, r) {
63
+ function $(e, t, r) {
64
64
  e.insertBefore(t, r || null);
65
65
  }
66
66
  function N(e) {
67
67
  e.parentNode && e.parentNode.removeChild(e);
68
68
  }
69
- function jt(e, t) {
69
+ function Wt(e, t) {
70
70
  for (let r = 0; r < e.length; r += 1)
71
71
  e[r] && e[r].d(t);
72
72
  }
73
- function H(e) {
73
+ function C(e) {
74
74
  return document.createElement(e);
75
75
  }
76
76
  function He(e) {
77
77
  return document.createTextNode(e);
78
78
  }
79
- function F() {
79
+ function k() {
80
80
  return He(" ");
81
81
  }
82
82
  function Q(e, t, r, n) {
83
83
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
84
84
  }
85
- function Dr(e) {
85
+ function jr(e) {
86
86
  return function(t) {
87
87
  return t.stopPropagation(), e.call(this, t);
88
88
  };
89
89
  }
90
- function E(e, t, r) {
90
+ function S(e, t, r) {
91
91
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
92
92
  }
93
- function Fr(e) {
93
+ function Vr(e) {
94
94
  return Array.from(e.childNodes);
95
95
  }
96
- function tt(e, t) {
96
+ function rt(e, t) {
97
97
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
98
98
  t);
99
99
  }
@@ -101,7 +101,7 @@ function Ie(e, t, r, n) {
101
101
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
102
102
  }
103
103
  let de;
104
- function kr() {
104
+ function Xr() {
105
105
  if (de === void 0) {
106
106
  de = !1;
107
107
  try {
@@ -112,14 +112,14 @@ function kr() {
112
112
  }
113
113
  return de;
114
114
  }
115
- function jr(e, t) {
115
+ function zr(e, t) {
116
116
  getComputedStyle(e).position === "static" && (e.style.position = "relative");
117
- const n = H("iframe");
117
+ const n = C("iframe");
118
118
  n.setAttribute(
119
119
  "style",
120
120
  "display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"
121
121
  ), n.setAttribute("aria-hidden", "true"), n.tabIndex = -1;
122
- const i = kr();
122
+ const i = Xr();
123
123
  let o;
124
124
  return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", o = Q(
125
125
  window,
@@ -130,11 +130,11 @@ function jr(e, t) {
130
130
  }
131
131
  )) : (n.src = "about:blank", n.onload = () => {
132
132
  o = Q(n.contentWindow, "resize", t), t();
133
- }), T(e, n), () => {
133
+ }), H(e, n), () => {
134
134
  (i || o && n.contentWindow) && o(), N(n);
135
135
  };
136
136
  }
137
- function Vr(e) {
137
+ function Wr(e) {
138
138
  const t = {};
139
139
  return e.childNodes.forEach(
140
140
  /** @param {Element} node */
@@ -143,96 +143,96 @@ function Vr(e) {
143
143
  }
144
144
  ), t;
145
145
  }
146
- let le;
147
- function ae(e) {
148
- le = e;
146
+ let ae;
147
+ function se(e) {
148
+ ae = e;
149
149
  }
150
- function Xr() {
151
- if (!le) throw new Error("Function called outside component initialization");
152
- return le;
150
+ function Zr() {
151
+ if (!ae) throw new Error("Function called outside component initialization");
152
+ return ae;
153
153
  }
154
- function Wr(e) {
155
- Xr().$$.on_mount.push(e);
154
+ function Qr(e) {
155
+ Zr().$$.on_mount.push(e);
156
156
  }
157
- const W = [], xe = [];
158
- let z = [];
159
- const ct = [], zr = /* @__PURE__ */ Promise.resolve();
160
- let De = !1;
161
- function Zr() {
162
- De || (De = !0, zr.then(M));
157
+ const z = [], Ee = [];
158
+ let W = [];
159
+ const mt = [], Jr = /* @__PURE__ */ Promise.resolve();
160
+ let Fe = !1;
161
+ function Yr() {
162
+ Fe || (Fe = !0, Jr.then(L));
163
163
  }
164
- function Ee(e) {
165
- z.push(e);
164
+ function xe(e) {
165
+ W.push(e);
166
166
  }
167
167
  const Le = /* @__PURE__ */ new Set();
168
168
  let V = 0;
169
- function M() {
169
+ function L() {
170
170
  if (V !== 0)
171
171
  return;
172
- const e = le;
172
+ const e = ae;
173
173
  do {
174
174
  try {
175
- for (; V < W.length; ) {
176
- const t = W[V];
177
- V++, ae(t), Qr(t.$$);
175
+ for (; V < z.length; ) {
176
+ const t = z[V];
177
+ V++, se(t), qr(t.$$);
178
178
  }
179
179
  } catch (t) {
180
- throw W.length = 0, V = 0, t;
180
+ throw z.length = 0, V = 0, t;
181
181
  }
182
- for (ae(null), W.length = 0, V = 0; xe.length; ) xe.pop()();
183
- for (let t = 0; t < z.length; t += 1) {
184
- const r = z[t];
182
+ for (se(null), z.length = 0, V = 0; Ee.length; ) Ee.pop()();
183
+ for (let t = 0; t < W.length; t += 1) {
184
+ const r = W[t];
185
185
  Le.has(r) || (Le.add(r), r());
186
186
  }
187
- z.length = 0;
188
- } while (W.length);
189
- for (; ct.length; )
190
- ct.pop()();
191
- De = !1, Le.clear(), ae(e);
187
+ W.length = 0;
188
+ } while (z.length);
189
+ for (; mt.length; )
190
+ mt.pop()();
191
+ Fe = !1, Le.clear(), se(e);
192
192
  }
193
- function Qr(e) {
193
+ function qr(e) {
194
194
  if (e.fragment !== null) {
195
195
  e.update(), ee(e.before_update);
196
196
  const t = e.dirty;
197
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ee);
197
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(xe);
198
198
  }
199
199
  }
200
- function Jr(e) {
200
+ function Kr(e) {
201
201
  const t = [], r = [];
202
- z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), z = t;
202
+ W.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), W = t;
203
203
  }
204
- const Yr = /* @__PURE__ */ new Set();
205
- function qr(e, t) {
206
- e && e.i && (Yr.delete(e), e.i(t));
204
+ const en = /* @__PURE__ */ new Set();
205
+ function tn(e, t) {
206
+ e && e.i && (en.delete(e), e.i(t));
207
207
  }
208
208
  function Se(e) {
209
209
  return e?.length !== void 0 ? e : Array.from(e);
210
210
  }
211
- function Kr(e, t, r) {
211
+ function rn(e, t, r) {
212
212
  const { fragment: n, after_update: i } = e.$$;
213
- n && n.m(t, r), Ee(() => {
214
- const o = e.$$.on_mount.map(Dt).filter(et);
213
+ n && n.m(t, r), xe(() => {
214
+ const o = e.$$.on_mount.map(Vt).filter(tt);
215
215
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ee(o), e.$$.on_mount = [];
216
- }), i.forEach(Ee);
216
+ }), i.forEach(xe);
217
217
  }
218
- function en(e, t) {
218
+ function nn(e, t) {
219
219
  const r = e.$$;
220
- r.fragment !== null && (Jr(r.after_update), ee(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
220
+ r.fragment !== null && (Kr(r.after_update), ee(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
221
221
  }
222
- function tn(e, t) {
223
- e.$$.dirty[0] === -1 && (W.push(e), Zr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
222
+ function on(e, t) {
223
+ e.$$.dirty[0] === -1 && (z.push(e), Yr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
224
224
  }
225
- function rn(e, t, r, n, i, o, s = null, a = [-1]) {
226
- const u = le;
227
- ae(e);
225
+ function sn(e, t, r, n, i, o, s = null, a = [-1]) {
226
+ const u = ae;
227
+ se(e);
228
228
  const h = e.$$ = {
229
229
  fragment: null,
230
230
  ctx: [],
231
231
  // state
232
232
  props: o,
233
- update: I,
233
+ update: O,
234
234
  not_equal: i,
235
- bound: ht(),
235
+ bound: pt(),
236
236
  // lifecycle
237
237
  on_mount: [],
238
238
  on_destroy: [],
@@ -241,28 +241,28 @@ function rn(e, t, r, n, i, o, s = null, a = [-1]) {
241
241
  after_update: [],
242
242
  context: new Map(t.context || (u ? u.$$.context : [])),
243
243
  // everything else
244
- callbacks: ht(),
244
+ callbacks: pt(),
245
245
  dirty: a,
246
246
  skip_bound: !1,
247
247
  root: t.target || u.$$.root
248
248
  };
249
249
  s && s(h.root);
250
250
  let l = !1;
251
- if (h.ctx = r ? r(e, t.props || {}, (c, f, ...m) => {
252
- const d = m.length ? m[0] : f;
253
- return h.ctx && i(h.ctx[c], h.ctx[c] = d) && (!h.skip_bound && h.bound[c] && h.bound[c](d), l && tn(e, c)), f;
251
+ if (h.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
252
+ const d = p.length ? p[0] : f;
253
+ return h.ctx && i(h.ctx[c], h.ctx[c] = d) && (!h.skip_bound && h.bound[c] && h.bound[c](d), l && on(e, c)), f;
254
254
  }) : [], h.update(), l = !0, ee(h.before_update), h.fragment = n ? n(h.ctx) : !1, t.target) {
255
255
  if (t.hydrate) {
256
- const c = Fr(t.target);
256
+ const c = Vr(t.target);
257
257
  h.fragment && h.fragment.l(c), c.forEach(N);
258
258
  } else
259
259
  h.fragment && h.fragment.c();
260
- t.intro && qr(e.$$.fragment), Kr(e, t.target, t.anchor), M();
260
+ t.intro && tn(e.$$.fragment), rn(e, t.target, t.anchor), L();
261
261
  }
262
- ae(u);
262
+ se(u);
263
263
  }
264
- let Vt;
265
- typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
264
+ let Zt;
265
+ typeof HTMLElement == "function" && (Zt = class extends HTMLElement {
266
266
  /** The Svelte component constructor */
267
267
  $$ctor;
268
268
  /** Slots */
@@ -304,14 +304,14 @@ typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
304
304
  let o;
305
305
  return {
306
306
  c: function() {
307
- o = H("slot"), i !== "default" && E(o, "name", i);
307
+ o = C("slot"), i !== "default" && S(o, "name", i);
308
308
  },
309
309
  /**
310
310
  * @param {HTMLElement} target
311
311
  * @param {HTMLElement} [anchor]
312
312
  */
313
313
  m: function(u, h) {
314
- R(u, o, h);
314
+ $(u, o, h);
315
315
  },
316
316
  d: function(u) {
317
317
  u && N(o);
@@ -321,7 +321,7 @@ typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
321
321
  };
322
322
  if (await Promise.resolve(), !this.$$cn || this.$$c)
323
323
  return;
324
- const t = {}, r = Vr(this);
324
+ const t = {}, r = Wr(this);
325
325
  for (const i of this.$$s)
326
326
  i in r && (t[i] = [e(i)]);
327
327
  for (const i of this.attributes) {
@@ -408,8 +408,8 @@ function be(e, t, r, n) {
408
408
  return t;
409
409
  }
410
410
  }
411
- function nn(e, t, r, n, i, o) {
412
- let s = class extends Vt {
411
+ function an(e, t, r, n, i, o) {
412
+ let s = class extends Zt {
413
413
  constructor() {
414
414
  super(e, r, i), this.$$p_d = t;
415
415
  }
@@ -437,7 +437,7 @@ function nn(e, t, r, n, i, o) {
437
437
  }), e.element = /** @type {any} */
438
438
  s, s;
439
439
  }
440
- class on {
440
+ class ln {
441
441
  /**
442
442
  * ### PRIVATE API
443
443
  *
@@ -456,7 +456,7 @@ class on {
456
456
  $$set = void 0;
457
457
  /** @returns {void} */
458
458
  $destroy() {
459
- en(this, 1), this.$destroy = I;
459
+ nn(this, 1), this.$destroy = O;
460
460
  }
461
461
  /**
462
462
  * @template {Extract<keyof Events, string>} K
@@ -465,8 +465,8 @@ class on {
465
465
  * @returns {() => void}
466
466
  */
467
467
  $on(t, r) {
468
- if (!et(r))
469
- return I;
468
+ if (!tt(r))
469
+ return O;
470
470
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
471
471
  return n.push(r), () => {
472
472
  const i = n.indexOf(r);
@@ -478,22 +478,22 @@ class on {
478
478
  * @returns {void}
479
479
  */
480
480
  $set(t) {
481
- this.$$set && !Mr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
481
+ this.$$set && !Gr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
482
482
  }
483
483
  }
484
- const sn = "4";
485
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(sn);
484
+ const un = "4";
485
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(un);
486
486
  const X = [];
487
- function an(e, t) {
487
+ function hn(e, t) {
488
488
  return {
489
489
  subscribe: Ce(e, t).subscribe
490
490
  };
491
491
  }
492
- function Ce(e, t = I) {
492
+ function Ce(e, t = O) {
493
493
  let r;
494
494
  const n = /* @__PURE__ */ new Set();
495
495
  function i(a) {
496
- if (Ft(e, a) && (e = a, r)) {
496
+ if (Xt(e, a) && (e = a, r)) {
497
497
  const u = !X.length;
498
498
  for (const h of n)
499
499
  h[1](), X.push(h, e);
@@ -507,9 +507,9 @@ function Ce(e, t = I) {
507
507
  function o(a) {
508
508
  i(a(e));
509
509
  }
510
- function s(a, u = I) {
510
+ function s(a, u = O) {
511
511
  const h = [a, u];
512
- return n.add(h), n.size === 1 && (r = t(i, o) || I), a(e), () => {
512
+ return n.add(h), n.size === 1 && (r = t(i, o) || O), a(e), () => {
513
513
  n.delete(h), n.size === 0 && r && (r(), r = null);
514
514
  };
515
515
  }
@@ -520,21 +520,21 @@ function te(e, t, r) {
520
520
  if (!i.every(Boolean))
521
521
  throw new Error("derived() expects stores as input, got a falsy value");
522
522
  const o = t.length < 2;
523
- return an(r, (s, a) => {
523
+ return hn(r, (s, a) => {
524
524
  let u = !1;
525
525
  const h = [];
526
- let l = 0, c = I;
526
+ let l = 0, c = O;
527
527
  const f = () => {
528
528
  if (l)
529
529
  return;
530
530
  c();
531
531
  const d = t(n ? h[0] : h, s, a);
532
- o ? s(d) : c = et(d) ? d : I;
533
- }, m = i.map(
534
- (d, g) => kt(
532
+ o ? s(d) : c = tt(d) ? d : O;
533
+ }, p = i.map(
534
+ (d, g) => zt(
535
535
  d,
536
- (p) => {
537
- h[g] = p, l &= ~(1 << g), u && f();
536
+ (m) => {
537
+ h[g] = m, l &= ~(1 << g), u && f();
538
538
  },
539
539
  () => {
540
540
  l |= 1 << g;
@@ -542,74 +542,74 @@ function te(e, t, r) {
542
542
  )
543
543
  );
544
544
  return u = !0, f(), function() {
545
- ee(m), c(), u = !1;
545
+ ee(p), c(), u = !1;
546
546
  };
547
547
  });
548
548
  }
549
- function ln(e) {
549
+ function cn(e) {
550
550
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
551
551
  }
552
- var un = function(t) {
553
- return hn(t) && !cn(t);
552
+ var fn = function(t) {
553
+ return dn(t) && !pn(t);
554
554
  };
555
- function hn(e) {
555
+ function dn(e) {
556
556
  return !!e && typeof e == "object";
557
557
  }
558
- function cn(e) {
558
+ function pn(e) {
559
559
  var t = Object.prototype.toString.call(e);
560
- return t === "[object RegExp]" || t === "[object Date]" || pn(e);
560
+ return t === "[object RegExp]" || t === "[object Date]" || gn(e);
561
561
  }
562
- var fn = typeof Symbol == "function" && Symbol.for, dn = fn ? Symbol.for("react.element") : 60103;
563
- function pn(e) {
564
- return e.$$typeof === dn;
562
+ var mn = typeof Symbol == "function" && Symbol.for, bn = mn ? Symbol.for("react.element") : 60103;
563
+ function gn(e) {
564
+ return e.$$typeof === bn;
565
565
  }
566
- function mn(e) {
566
+ function vn(e) {
567
567
  return Array.isArray(e) ? [] : {};
568
568
  }
569
- function ue(e, t) {
570
- return t.clone !== !1 && t.isMergeableObject(e) ? J(mn(e), e, t) : e;
569
+ function le(e, t) {
570
+ return t.clone !== !1 && t.isMergeableObject(e) ? J(vn(e), e, t) : e;
571
571
  }
572
- function bn(e, t, r) {
572
+ function yn(e, t, r) {
573
573
  return e.concat(t).map(function(n) {
574
- return ue(n, r);
574
+ return le(n, r);
575
575
  });
576
576
  }
577
- function gn(e, t) {
577
+ function _n(e, t) {
578
578
  if (!t.customMerge)
579
579
  return J;
580
580
  var r = t.customMerge(e);
581
581
  return typeof r == "function" ? r : J;
582
582
  }
583
- function vn(e) {
583
+ function En(e) {
584
584
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
585
585
  return Object.propertyIsEnumerable.call(e, t);
586
586
  }) : [];
587
587
  }
588
- function ft(e) {
589
- return Object.keys(e).concat(vn(e));
588
+ function bt(e) {
589
+ return Object.keys(e).concat(En(e));
590
590
  }
591
- function Xt(e, t) {
591
+ function Qt(e, t) {
592
592
  try {
593
593
  return t in e;
594
594
  } catch {
595
595
  return !1;
596
596
  }
597
597
  }
598
- function yn(e, t) {
599
- return Xt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
598
+ function xn(e, t) {
599
+ return Qt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
600
600
  }
601
- function _n(e, t, r) {
601
+ function Sn(e, t, r) {
602
602
  var n = {};
603
- return r.isMergeableObject(e) && ft(e).forEach(function(i) {
604
- n[i] = ue(e[i], r);
605
- }), ft(t).forEach(function(i) {
606
- yn(e, i) || (Xt(e, i) && r.isMergeableObject(t[i]) ? n[i] = gn(i, r)(e[i], t[i], r) : n[i] = ue(t[i], r));
603
+ return r.isMergeableObject(e) && bt(e).forEach(function(i) {
604
+ n[i] = le(e[i], r);
605
+ }), bt(t).forEach(function(i) {
606
+ xn(e, i) || (Qt(e, i) && r.isMergeableObject(t[i]) ? n[i] = _n(i, r)(e[i], t[i], r) : n[i] = le(t[i], r));
607
607
  }), n;
608
608
  }
609
609
  function J(e, t, r) {
610
- r = r || {}, r.arrayMerge = r.arrayMerge || bn, r.isMergeableObject = r.isMergeableObject || un, r.cloneUnlessOtherwiseSpecified = ue;
610
+ r = r || {}, r.arrayMerge = r.arrayMerge || yn, r.isMergeableObject = r.isMergeableObject || fn, r.cloneUnlessOtherwiseSpecified = le;
611
611
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
612
- return o ? n ? r.arrayMerge(e, t, r) : _n(e, t, r) : ue(t, r);
612
+ return o ? n ? r.arrayMerge(e, t, r) : Sn(e, t, r) : le(t, r);
613
613
  }
614
614
  J.all = function(t, r) {
615
615
  if (!Array.isArray(t))
@@ -618,34 +618,34 @@ J.all = function(t, r) {
618
618
  return J(n, i, r);
619
619
  }, {});
620
620
  };
621
- var xn = J, En = xn;
622
- const Sn = /* @__PURE__ */ ln(En);
623
- var Fe = function(e, t) {
624
- return Fe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
621
+ var wn = J, Tn = wn;
622
+ const Hn = /* @__PURE__ */ cn(Tn);
623
+ var ke = function(e, t) {
624
+ return ke = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
625
625
  r.__proto__ = n;
626
626
  } || function(r, n) {
627
627
  for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
628
- }, Fe(e, t);
628
+ }, ke(e, t);
629
629
  };
630
630
  function U(e, t) {
631
631
  if (typeof t != "function" && t !== null)
632
632
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
633
- Fe(e, t);
633
+ ke(e, t);
634
634
  function r() {
635
635
  this.constructor = e;
636
636
  }
637
637
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
638
638
  }
639
- var x = function() {
640
- return x = Object.assign || function(t) {
639
+ var _ = function() {
640
+ return _ = Object.assign || function(t) {
641
641
  for (var r, n = 1, i = arguments.length; n < i; n++) {
642
642
  r = arguments[n];
643
643
  for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
644
644
  }
645
645
  return t;
646
- }, x.apply(this, arguments);
646
+ }, _.apply(this, arguments);
647
647
  };
648
- function wn(e, t) {
648
+ function Cn(e, t) {
649
649
  var r = {};
650
650
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
651
651
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -653,7 +653,7 @@ function wn(e, t) {
653
653
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
654
654
  return r;
655
655
  }
656
- function ke(e) {
656
+ function je(e) {
657
657
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
658
658
  if (r) return r.call(e);
659
659
  if (e && typeof e.length == "number") return {
@@ -663,7 +663,7 @@ function ke(e) {
663
663
  };
664
664
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
665
665
  }
666
- function je(e, t) {
666
+ function Ve(e, t) {
667
667
  var r = typeof Symbol == "function" && e[Symbol.iterator];
668
668
  if (!r) return e;
669
669
  var n = r.call(e), i, o = [], s;
@@ -686,53 +686,55 @@ function Z(e, t, r) {
686
686
  return e.concat(o || Array.prototype.slice.call(t));
687
687
  }
688
688
  function Ne(e, t) {
689
- var r = t && t.cache ? t.cache : On, n = t && t.serializer ? t.serializer : Bn, i = t && t.strategy ? t.strategy : Cn;
689
+ var r = t && t.cache ? t.cache : Ln, n = t && t.serializer ? t.serializer : In, i = t && t.strategy ? t.strategy : Bn;
690
690
  return i(e, {
691
691
  cache: r,
692
692
  serializer: n
693
693
  });
694
694
  }
695
- function Tn(e) {
695
+ function Pn(e) {
696
696
  return e == null || typeof e == "number" || typeof e == "boolean";
697
697
  }
698
- function Hn(e, t, r, n) {
699
- var i = Tn(n) ? n : r(n), o = t.get(i);
698
+ function Jt(e, t, r, n) {
699
+ var i = Pn(n) ? n : r(n), o = t.get(i);
700
700
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
701
701
  }
702
- function Wt(e, t, r) {
702
+ function Yt(e, t, r) {
703
703
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
704
704
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
705
705
  }
706
- function zt(e, t, r, n, i) {
706
+ function nt(e, t, r, n, i) {
707
707
  return r.bind(t, e, n, i);
708
708
  }
709
- function Cn(e, t) {
710
- var r = e.length === 1 ? Hn : Wt;
711
- return zt(e, this, r, t.cache.create(), t.serializer);
709
+ function Bn(e, t) {
710
+ var r = e.length === 1 ? Jt : Yt;
711
+ return nt(e, this, r, t.cache.create(), t.serializer);
712
712
  }
713
- function Pn(e, t) {
714
- return zt(e, this, Wt, t.cache.create(), t.serializer);
713
+ function An(e, t) {
714
+ return nt(e, this, Yt, t.cache.create(), t.serializer);
715
715
  }
716
- var Bn = function() {
716
+ function On(e, t) {
717
+ return nt(e, this, Jt, t.cache.create(), t.serializer);
718
+ }
719
+ var In = function() {
717
720
  return JSON.stringify(arguments);
718
- }, An = (
719
- /** @class */
720
- function() {
721
- function e() {
722
- this.cache = /* @__PURE__ */ Object.create(null);
723
- }
724
- return e.prototype.get = function(t) {
725
- return this.cache[t];
726
- }, e.prototype.set = function(t, r) {
727
- this.cache[t] = r;
728
- }, e;
729
- }()
730
- ), On = {
721
+ };
722
+ function it() {
723
+ this.cache = /* @__PURE__ */ Object.create(null);
724
+ }
725
+ it.prototype.get = function(e) {
726
+ return this.cache[e];
727
+ };
728
+ it.prototype.set = function(e, t) {
729
+ this.cache[e] = t;
730
+ };
731
+ var Ln = {
731
732
  create: function() {
732
- return new An();
733
+ return new it();
733
734
  }
734
735
  }, Me = {
735
- variadic: Pn
736
+ variadic: An,
737
+ monadic: On
736
738
  }, v;
737
739
  (function(e) {
738
740
  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";
@@ -745,43 +747,43 @@ var Y;
745
747
  (function(e) {
746
748
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
747
749
  })(Y || (Y = {}));
748
- function dt(e) {
750
+ function gt(e) {
749
751
  return e.type === w.literal;
750
752
  }
751
- function In(e) {
753
+ function Nn(e) {
752
754
  return e.type === w.argument;
753
755
  }
754
- function Zt(e) {
756
+ function qt(e) {
755
757
  return e.type === w.number;
756
758
  }
757
- function Qt(e) {
759
+ function Kt(e) {
758
760
  return e.type === w.date;
759
761
  }
760
- function Jt(e) {
762
+ function er(e) {
761
763
  return e.type === w.time;
762
764
  }
763
- function Yt(e) {
765
+ function tr(e) {
764
766
  return e.type === w.select;
765
767
  }
766
- function qt(e) {
768
+ function rr(e) {
767
769
  return e.type === w.plural;
768
770
  }
769
- function Ln(e) {
771
+ function Mn(e) {
770
772
  return e.type === w.pound;
771
773
  }
772
- function Kt(e) {
774
+ function nr(e) {
773
775
  return e.type === w.tag;
774
776
  }
775
- function er(e) {
777
+ function ir(e) {
776
778
  return !!(e && typeof e == "object" && e.type === Y.number);
777
779
  }
778
- function Ve(e) {
780
+ function Xe(e) {
779
781
  return !!(e && typeof e == "object" && e.type === Y.dateTime);
780
782
  }
781
- var tr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Nn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
782
- function Mn(e) {
783
+ var or = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Rn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
784
+ function $n(e) {
783
785
  var t = {};
784
- return e.replace(Nn, function(r) {
786
+ return e.replace(Rn, function(r) {
785
787
  var n = r.length;
786
788
  switch (r[0]) {
787
789
  case "G":
@@ -870,11 +872,11 @@ function Mn(e) {
870
872
  return "";
871
873
  }), t;
872
874
  }
873
- var Rn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
874
- function $n(e) {
875
+ var Gn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
876
+ function Un(e) {
875
877
  if (e.length === 0)
876
878
  throw new Error("Number skeleton cannot be empty");
877
- for (var t = e.split(Rn).filter(function(f) {
879
+ for (var t = e.split(Gn).filter(function(f) {
878
880
  return f.length > 0;
879
881
  }), r = [], n = 0, i = t; n < i.length; n++) {
880
882
  var o = i[n], s = o.split("/");
@@ -889,17 +891,17 @@ function $n(e) {
889
891
  }
890
892
  return r;
891
893
  }
892
- function Gn(e) {
894
+ function Dn(e) {
893
895
  return e.replace(/^(.*?)-/, "");
894
896
  }
895
- var pt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, rr = /^(@+)?(\+|#+)?[rs]?$/g, Un = /(\*)(0+)|(#+)(0+)|(0+)/g, nr = /^(0+)$/;
896
- function mt(e) {
897
+ var vt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, sr = /^(@+)?(\+|#+)?[rs]?$/g, Fn = /(\*)(0+)|(#+)(0+)|(0+)/g, ar = /^(0+)$/;
898
+ function yt(e) {
897
899
  var t = {};
898
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(rr, function(r, n, i) {
900
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(sr, function(r, n, i) {
899
901
  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)), "";
900
902
  }), t;
901
903
  }
902
- function ir(e) {
904
+ function lr(e) {
903
905
  switch (e) {
904
906
  case "sign-auto":
905
907
  return {
@@ -939,7 +941,7 @@ function ir(e) {
939
941
  };
940
942
  }
941
943
  }
942
- function Dn(e) {
944
+ function kn(e) {
943
945
  var t;
944
946
  if (e[0] === "E" && e[1] === "E" ? (t = {
945
947
  notation: "engineering"
@@ -947,17 +949,17 @@ function Dn(e) {
947
949
  notation: "scientific"
948
950
  }, e = e.slice(1)), t) {
949
951
  var r = e.slice(0, 2);
950
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !nr.test(e))
952
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !ar.test(e))
951
953
  throw new Error("Malformed concise eng/scientific notation");
952
954
  t.minimumIntegerDigits = e.length;
953
955
  }
954
956
  return t;
955
957
  }
956
- function bt(e) {
957
- var t = {}, r = ir(e);
958
+ function _t(e) {
959
+ var t = {}, r = lr(e);
958
960
  return r || t;
959
961
  }
960
- function Fn(e) {
962
+ function jn(e) {
961
963
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
962
964
  var i = n[r];
963
965
  switch (i.stem) {
@@ -981,7 +983,7 @@ function Fn(e) {
981
983
  continue;
982
984
  case "measure-unit":
983
985
  case "unit":
984
- t.style = "unit", t.unit = Gn(i.options[0]);
986
+ t.style = "unit", t.unit = Dn(i.options[0]);
985
987
  continue;
986
988
  case "compact-short":
987
989
  case "K":
@@ -992,13 +994,13 @@ function Fn(e) {
992
994
  t.notation = "compact", t.compactDisplay = "long";
993
995
  continue;
994
996
  case "scientific":
995
- t = x(x(x({}, t), { notation: "scientific" }), i.options.reduce(function(u, h) {
996
- return x(x({}, u), bt(h));
997
+ t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(u, h) {
998
+ return _(_({}, u), _t(h));
997
999
  }, {}));
998
1000
  continue;
999
1001
  case "engineering":
1000
- t = x(x(x({}, t), { notation: "engineering" }), i.options.reduce(function(u, h) {
1001
- return x(x({}, u), bt(h));
1002
+ t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(u, h) {
1003
+ return _(_({}, u), _t(h));
1002
1004
  }, {}));
1003
1005
  continue;
1004
1006
  case "notation-simple":
@@ -1043,41 +1045,41 @@ function Fn(e) {
1043
1045
  case "integer-width":
1044
1046
  if (i.options.length > 1)
1045
1047
  throw new RangeError("integer-width stems only accept a single optional option");
1046
- i.options[0].replace(Un, function(u, h, l, c, f, m) {
1048
+ i.options[0].replace(Fn, function(u, h, l, c, f, p) {
1047
1049
  if (h)
1048
1050
  t.minimumIntegerDigits = l.length;
1049
1051
  else {
1050
1052
  if (c && f)
1051
1053
  throw new Error("We currently do not support maximum integer digits");
1052
- if (m)
1054
+ if (p)
1053
1055
  throw new Error("We currently do not support exact integer digits");
1054
1056
  }
1055
1057
  return "";
1056
1058
  });
1057
1059
  continue;
1058
1060
  }
1059
- if (nr.test(i.stem)) {
1061
+ if (ar.test(i.stem)) {
1060
1062
  t.minimumIntegerDigits = i.stem.length;
1061
1063
  continue;
1062
1064
  }
1063
- if (pt.test(i.stem)) {
1065
+ if (vt.test(i.stem)) {
1064
1066
  if (i.options.length > 1)
1065
1067
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1066
- i.stem.replace(pt, function(u, h, l, c, f, m) {
1067
- return l === "*" ? t.minimumFractionDigits = h.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && m ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + m.length) : (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length), "";
1068
+ i.stem.replace(vt, function(u, h, l, c, f, p) {
1069
+ return l === "*" ? t.minimumFractionDigits = h.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length), "";
1068
1070
  });
1069
1071
  var o = i.options[0];
1070
- o === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = x(x({}, t), mt(o)));
1072
+ o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), yt(o)));
1071
1073
  continue;
1072
1074
  }
1073
- if (rr.test(i.stem)) {
1074
- t = x(x({}, t), mt(i.stem));
1075
+ if (sr.test(i.stem)) {
1076
+ t = _(_({}, t), yt(i.stem));
1075
1077
  continue;
1076
1078
  }
1077
- var s = ir(i.stem);
1078
- s && (t = x(x({}, t), s));
1079
- var a = Dn(i.stem);
1080
- a && (t = x(x({}, t), a));
1079
+ var s = lr(i.stem);
1080
+ s && (t = _(_({}, t), s));
1081
+ var a = kn(i.stem);
1082
+ a && (t = _(_({}, t), a));
1081
1083
  }
1082
1084
  return t;
1083
1085
  }
@@ -2496,13 +2498,13 @@ var pe = {
2496
2498
  "h"
2497
2499
  ]
2498
2500
  };
2499
- function kn(e, t) {
2501
+ function Vn(e, t) {
2500
2502
  for (var r = "", n = 0; n < e.length; n++) {
2501
2503
  var i = e.charAt(n);
2502
2504
  if (i === "j") {
2503
2505
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2504
2506
  o++, n++;
2505
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", h = jn(t);
2507
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", h = Xn(t);
2506
2508
  for ((h == "H" || h == "k") && (a = 0); a-- > 0; )
2507
2509
  r += u;
2508
2510
  for (; s-- > 0; )
@@ -2511,7 +2513,7 @@ function kn(e, t) {
2511
2513
  }
2512
2514
  return r;
2513
2515
  }
2514
- function jn(e) {
2516
+ function Xn(e) {
2515
2517
  var t = e.hourCycle;
2516
2518
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2517
2519
  e.hourCycles && // @ts-ignore
@@ -2533,20 +2535,20 @@ function jn(e) {
2533
2535
  var i = pe[n || ""] || pe[r || ""] || pe["".concat(r, "-001")] || pe["001"];
2534
2536
  return i[0];
2535
2537
  }
2536
- var Re, Vn = new RegExp("^".concat(tr.source, "*")), Xn = new RegExp("".concat(tr.source, "*$"));
2538
+ var Re, zn = new RegExp("^".concat(or.source, "*")), Wn = new RegExp("".concat(or.source, "*$"));
2537
2539
  function y(e, t) {
2538
2540
  return { start: e, end: t };
2539
2541
  }
2540
- var Wn = !!String.prototype.startsWith && "_a".startsWith("a", 1), zn = !!String.fromCodePoint, Zn = !!Object.fromEntries, Qn = !!String.prototype.codePointAt, Jn = !!String.prototype.trimStart, Yn = !!String.prototype.trimEnd, qn = !!Number.isSafeInteger, Kn = qn ? Number.isSafeInteger : function(e) {
2542
+ var Zn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Qn = !!String.fromCodePoint, Jn = !!Object.fromEntries, Yn = !!String.prototype.codePointAt, qn = !!String.prototype.trimStart, Kn = !!String.prototype.trimEnd, ei = !!Number.isSafeInteger, ti = ei ? Number.isSafeInteger : function(e) {
2541
2543
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2542
- }, Xe = !0;
2544
+ }, ze = !0;
2543
2545
  try {
2544
- var ei = sr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2545
- Xe = ((Re = ei.exec("a")) === null || Re === void 0 ? void 0 : Re[0]) === "a";
2546
+ var ri = hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2547
+ ze = ((Re = ri.exec("a")) === null || Re === void 0 ? void 0 : Re[0]) === "a";
2546
2548
  } catch {
2547
- Xe = !1;
2549
+ ze = !1;
2548
2550
  }
2549
- var gt = Wn ? (
2551
+ var Et = Zn ? (
2550
2552
  // Native
2551
2553
  function(t, r, n) {
2552
2554
  return t.startsWith(r, n);
@@ -2556,7 +2558,7 @@ var gt = Wn ? (
2556
2558
  function(t, r, n) {
2557
2559
  return t.slice(n, n + r.length) === r;
2558
2560
  }
2559
- ), We = zn ? String.fromCodePoint : (
2561
+ ), We = Qn ? String.fromCodePoint : (
2560
2562
  // IE11
2561
2563
  function() {
2562
2564
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2568,9 +2570,9 @@ var gt = Wn ? (
2568
2570
  }
2569
2571
  return n;
2570
2572
  }
2571
- ), vt = (
2573
+ ), xt = (
2572
2574
  // native
2573
- Zn ? Object.fromEntries : (
2575
+ Jn ? Object.fromEntries : (
2574
2576
  // Ponyfill
2575
2577
  function(t) {
2576
2578
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2580,7 +2582,7 @@ var gt = Wn ? (
2580
2582
  return r;
2581
2583
  }
2582
2584
  )
2583
- ), or = Qn ? (
2585
+ ), ur = Yn ? (
2584
2586
  // Native
2585
2587
  function(t, r) {
2586
2588
  return t.codePointAt(r);
@@ -2594,7 +2596,7 @@ var gt = Wn ? (
2594
2596
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2595
2597
  }
2596
2598
  }
2597
- ), ti = Jn ? (
2599
+ ), ni = qn ? (
2598
2600
  // Native
2599
2601
  function(t) {
2600
2602
  return t.trimStart();
@@ -2602,9 +2604,9 @@ var gt = Wn ? (
2602
2604
  ) : (
2603
2605
  // Ponyfill
2604
2606
  function(t) {
2605
- return t.replace(Vn, "");
2607
+ return t.replace(zn, "");
2606
2608
  }
2607
- ), ri = Yn ? (
2609
+ ), ii = Kn ? (
2608
2610
  // Native
2609
2611
  function(t) {
2610
2612
  return t.trimEnd();
@@ -2612,32 +2614,32 @@ var gt = Wn ? (
2612
2614
  ) : (
2613
2615
  // Ponyfill
2614
2616
  function(t) {
2615
- return t.replace(Xn, "");
2617
+ return t.replace(Wn, "");
2616
2618
  }
2617
2619
  );
2618
- function sr(e, t) {
2620
+ function hr(e, t) {
2619
2621
  return new RegExp(e, t);
2620
2622
  }
2621
- var ze;
2622
- if (Xe) {
2623
- var yt = sr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2624
- ze = function(t, r) {
2623
+ var Ze;
2624
+ if (ze) {
2625
+ var St = hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2626
+ Ze = function(t, r) {
2625
2627
  var n;
2626
- yt.lastIndex = r;
2627
- var i = yt.exec(t);
2628
+ St.lastIndex = r;
2629
+ var i = St.exec(t);
2628
2630
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2629
2631
  };
2630
2632
  } else
2631
- ze = function(t, r) {
2633
+ Ze = function(t, r) {
2632
2634
  for (var n = []; ; ) {
2633
- var i = or(t, r);
2634
- if (i === void 0 || ar(i) || si(i))
2635
+ var i = ur(t, r);
2636
+ if (i === void 0 || cr(i) || li(i))
2635
2637
  break;
2636
2638
  n.push(i), r += i >= 65536 ? 2 : 1;
2637
2639
  }
2638
2640
  return We.apply(void 0, n);
2639
2641
  };
2640
- var ni = (
2642
+ var oi = (
2641
2643
  /** @class */
2642
2644
  function() {
2643
2645
  function e(t, r) {
@@ -2668,7 +2670,7 @@ var ni = (
2668
2670
  if (n)
2669
2671
  break;
2670
2672
  return this.error(v.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
2671
- } else if (o === 60 && !this.ignoreTag && Ze(this.peek() || 0)) {
2673
+ } else if (o === 60 && !this.ignoreTag && Qe(this.peek() || 0)) {
2672
2674
  var s = this.parseTag(t, r);
2673
2675
  if (s.err)
2674
2676
  return s;
@@ -2701,7 +2703,7 @@ var ni = (
2701
2703
  return o;
2702
2704
  var s = o.val, a = this.clonePosition();
2703
2705
  if (this.bumpIf("</")) {
2704
- if (this.isEOF() || !Ze(this.char()))
2706
+ if (this.isEOF() || !Qe(this.char()))
2705
2707
  return this.error(v.INVALID_TAG, y(a, this.clonePosition()));
2706
2708
  var u = this.clonePosition(), h = this.parseTagName();
2707
2709
  return i !== h ? this.error(v.UNMATCHED_CLOSING_TAG, y(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -2719,7 +2721,7 @@ var ni = (
2719
2721
  return this.error(v.INVALID_TAG, y(n, this.clonePosition()));
2720
2722
  }, e.prototype.parseTagName = function() {
2721
2723
  var t = this.offset();
2722
- for (this.bump(); !this.isEOF() && oi(this.char()); )
2724
+ for (this.bump(); !this.isEOF() && ai(this.char()); )
2723
2725
  this.bump();
2724
2726
  return this.message.slice(t, this.offset());
2725
2727
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2748,7 +2750,7 @@ var ni = (
2748
2750
  };
2749
2751
  }, e.prototype.tryParseLeftAngleBracket = function() {
2750
2752
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2751
- !ii(this.peek() || 0)) ? (this.bump(), "<") : null;
2753
+ !si(this.peek() || 0)) ? (this.bump(), "<") : null;
2752
2754
  }, e.prototype.tryParseQuote = function(t) {
2753
2755
  if (this.isEOF() || this.char() !== 39)
2754
2756
  return null;
@@ -2816,7 +2818,7 @@ var ni = (
2816
2818
  return this.error(v.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
2817
2819
  }
2818
2820
  }, e.prototype.parseIdentifierIfPossible = function() {
2819
- var t = this.clonePosition(), r = this.offset(), n = ze(this.message, r), i = r + n.length;
2821
+ var t = this.clonePosition(), r = this.offset(), n = Ze(this.message, r), i = r + n.length;
2820
2822
  this.bumpTo(i);
2821
2823
  var o = this.clonePosition(), s = y(t, o);
2822
2824
  return { value: n, location: s };
@@ -2835,37 +2837,37 @@ var ni = (
2835
2837
  var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2836
2838
  if (c.err)
2837
2839
  return c;
2838
- var f = ri(c.val);
2840
+ var f = ii(c.val);
2839
2841
  if (f.length === 0)
2840
2842
  return this.error(v.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
2841
- var m = y(l, this.clonePosition());
2842
- h = { style: f, styleLocation: m };
2843
+ var p = y(l, this.clonePosition());
2844
+ h = { style: f, styleLocation: p };
2843
2845
  }
2844
2846
  var d = this.tryParseArgumentClose(i);
2845
2847
  if (d.err)
2846
2848
  return d;
2847
2849
  var g = y(i, this.clonePosition());
2848
- if (h && gt(h?.style, "::", 0)) {
2849
- var p = ti(h.style.slice(2));
2850
+ if (h && Et(h?.style, "::", 0)) {
2851
+ var m = ni(h.style.slice(2));
2850
2852
  if (a === "number") {
2851
- var c = this.parseNumberSkeletonFromString(p, h.styleLocation);
2853
+ var c = this.parseNumberSkeletonFromString(m, h.styleLocation);
2852
2854
  return c.err ? c : {
2853
2855
  val: { type: w.number, value: n, location: g, style: c.val },
2854
2856
  err: null
2855
2857
  };
2856
2858
  } else {
2857
- if (p.length === 0)
2859
+ if (m.length === 0)
2858
2860
  return this.error(v.EXPECT_DATE_TIME_SKELETON, g);
2859
- var S = p;
2860
- this.locale && (S = kn(p, this.locale));
2861
+ var x = m;
2862
+ this.locale && (x = Vn(m, this.locale));
2861
2863
  var f = {
2862
2864
  type: Y.dateTime,
2863
- pattern: S,
2865
+ pattern: x,
2864
2866
  location: h.styleLocation,
2865
- parsedOptions: this.shouldParseSkeletons ? Mn(S) : {}
2866
- }, _ = a === "date" ? w.date : w.time;
2867
+ parsedOptions: this.shouldParseSkeletons ? $n(x) : {}
2868
+ }, E = a === "date" ? w.date : w.time;
2867
2869
  return {
2868
- val: { type: _, value: n, location: g, style: f },
2870
+ val: { type: E, value: n, location: g, style: f },
2869
2871
  err: null
2870
2872
  };
2871
2873
  }
@@ -2883,43 +2885,43 @@ var ni = (
2883
2885
  case "plural":
2884
2886
  case "selectordinal":
2885
2887
  case "select": {
2886
- var P = this.clonePosition();
2888
+ var T = this.clonePosition();
2887
2889
  if (this.bumpSpace(), !this.bumpIf(","))
2888
- return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, y(P, x({}, P)));
2890
+ return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, y(T, _({}, T)));
2889
2891
  this.bumpSpace();
2890
- var $ = this.parseIdentifierIfPossible(), B = 0;
2891
- if (a !== "select" && $.value === "offset") {
2892
+ var D = this.parseIdentifierIfPossible(), M = 0;
2893
+ if (a !== "select" && D.value === "offset") {
2892
2894
  if (!this.bumpIf(":"))
2893
2895
  return this.error(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
2894
2896
  this.bumpSpace();
2895
2897
  var c = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2896
2898
  if (c.err)
2897
2899
  return c;
2898
- this.bumpSpace(), $ = this.parseIdentifierIfPossible(), B = c.val;
2900
+ this.bumpSpace(), D = this.parseIdentifierIfPossible(), M = c.val;
2899
2901
  }
2900
- var j = this.tryParsePluralOrSelectOptions(t, a, r, $);
2901
- if (j.err)
2902
- return j;
2902
+ var B = this.tryParsePluralOrSelectOptions(t, a, r, D);
2903
+ if (B.err)
2904
+ return B;
2903
2905
  var d = this.tryParseArgumentClose(i);
2904
2906
  if (d.err)
2905
2907
  return d;
2906
- var ie = y(i, this.clonePosition());
2908
+ var ce = y(i, this.clonePosition());
2907
2909
  return a === "select" ? {
2908
2910
  val: {
2909
2911
  type: w.select,
2910
2912
  value: n,
2911
- options: vt(j.val),
2912
- location: ie
2913
+ options: xt(B.val),
2914
+ location: ce
2913
2915
  },
2914
2916
  err: null
2915
2917
  } : {
2916
2918
  val: {
2917
2919
  type: w.plural,
2918
2920
  value: n,
2919
- options: vt(j.val),
2920
- offset: B,
2921
+ options: xt(B.val),
2922
+ offset: M,
2921
2923
  pluralType: a === "plural" ? "cardinal" : "ordinal",
2922
- location: ie
2924
+ location: ce
2923
2925
  },
2924
2926
  err: null
2925
2927
  };
@@ -2967,7 +2969,7 @@ var ni = (
2967
2969
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2968
2970
  var n = [];
2969
2971
  try {
2970
- n = $n(t);
2972
+ n = Un(t);
2971
2973
  } catch {
2972
2974
  return this.error(v.INVALID_NUMBER_SKELETON, r);
2973
2975
  }
@@ -2976,7 +2978,7 @@ var ni = (
2976
2978
  type: Y.number,
2977
2979
  tokens: n,
2978
2980
  location: r,
2979
- parsedOptions: this.shouldParseSkeletons ? Fn(n) : {}
2981
+ parsedOptions: this.shouldParseSkeletons ? jn(n) : {}
2980
2982
  },
2981
2983
  err: null
2982
2984
  };
@@ -2995,20 +2997,20 @@ var ni = (
2995
2997
  if (u.has(h))
2996
2998
  return this.error(r === "select" ? v.DUPLICATE_SELECT_ARGUMENT_SELECTOR : v.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
2997
2999
  h === "other" && (s = !0), this.bumpSpace();
2998
- var m = this.clonePosition();
3000
+ var p = this.clonePosition();
2999
3001
  if (!this.bumpIf("{"))
3000
3002
  return this.error(r === "select" ? v.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : v.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, y(this.clonePosition(), this.clonePosition()));
3001
3003
  var d = this.parseMessage(t + 1, r, n);
3002
3004
  if (d.err)
3003
3005
  return d;
3004
- var g = this.tryParseArgumentClose(m);
3006
+ var g = this.tryParseArgumentClose(p);
3005
3007
  if (g.err)
3006
3008
  return g;
3007
3009
  a.push([
3008
3010
  h,
3009
3011
  {
3010
3012
  value: d.val,
3011
- location: y(m, this.clonePosition())
3013
+ location: y(p, this.clonePosition())
3012
3014
  }
3013
3015
  ]), u.add(h), this.bumpSpace(), o = this.parseIdentifierIfPossible(), h = o.value, l = o.location;
3014
3016
  }
@@ -3024,7 +3026,7 @@ var ni = (
3024
3026
  break;
3025
3027
  }
3026
3028
  var u = y(i, this.clonePosition());
3027
- return o ? (s *= n, Kn(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3029
+ return o ? (s *= n, ti(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3028
3030
  }, e.prototype.offset = function() {
3029
3031
  return this.position.offset;
3030
3032
  }, e.prototype.isEOF = function() {
@@ -3039,7 +3041,7 @@ var ni = (
3039
3041
  var t = this.position.offset;
3040
3042
  if (t >= this.message.length)
3041
3043
  throw Error("out of bound");
3042
- var r = or(this.message, t);
3044
+ var r = ur(this.message, t);
3043
3045
  if (r === void 0)
3044
3046
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3045
3047
  return r;
@@ -3058,7 +3060,7 @@ var ni = (
3058
3060
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
3059
3061
  }
3060
3062
  }, e.prototype.bumpIf = function(t) {
3061
- if (gt(this.message, t, this.offset())) {
3063
+ if (Et(this.message, t, this.offset())) {
3062
3064
  for (var r = 0; r < t.length; r++)
3063
3065
  this.bump();
3064
3066
  return !0;
@@ -3080,7 +3082,7 @@ var ni = (
3080
3082
  break;
3081
3083
  }
3082
3084
  }, e.prototype.bumpSpace = function() {
3083
- for (; !this.isEOF() && ar(this.char()); )
3085
+ for (; !this.isEOF() && cr(this.char()); )
3084
3086
  this.bump();
3085
3087
  }, e.prototype.peek = function() {
3086
3088
  if (this.isEOF())
@@ -3090,37 +3092,37 @@ var ni = (
3090
3092
  }, e;
3091
3093
  }()
3092
3094
  );
3093
- function Ze(e) {
3095
+ function Qe(e) {
3094
3096
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3095
3097
  }
3096
- function ii(e) {
3097
- return Ze(e) || e === 47;
3098
+ function si(e) {
3099
+ return Qe(e) || e === 47;
3098
3100
  }
3099
- function oi(e) {
3101
+ function ai(e) {
3100
3102
  return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
3101
3103
  }
3102
- function ar(e) {
3104
+ function cr(e) {
3103
3105
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3104
3106
  }
3105
- function si(e) {
3107
+ function li(e) {
3106
3108
  return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
3107
3109
  }
3108
- function Qe(e) {
3110
+ function Je(e) {
3109
3111
  e.forEach(function(t) {
3110
- if (delete t.location, Yt(t) || qt(t))
3112
+ if (delete t.location, tr(t) || rr(t))
3111
3113
  for (var r in t.options)
3112
- delete t.options[r].location, Qe(t.options[r].value);
3113
- else Zt(t) && er(t.style) || (Qt(t) || Jt(t)) && Ve(t.style) ? delete t.style.location : Kt(t) && Qe(t.children);
3114
+ delete t.options[r].location, Je(t.options[r].value);
3115
+ else qt(t) && ir(t.style) || (Kt(t) || er(t)) && Xe(t.style) ? delete t.style.location : nr(t) && Je(t.children);
3114
3116
  });
3115
3117
  }
3116
- function ai(e, t) {
3117
- t === void 0 && (t = {}), t = x({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3118
- var r = new ni(e, t).parse();
3118
+ function ui(e, t) {
3119
+ t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3120
+ var r = new oi(e, t).parse();
3119
3121
  if (r.err) {
3120
3122
  var n = SyntaxError(v[r.err.kind]);
3121
3123
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3122
3124
  }
3123
- return t?.captureLocation || Qe(r.val), r.val;
3125
+ return t?.captureLocation || Je(r.val), r.val;
3124
3126
  }
3125
3127
  var q;
3126
3128
  (function(e) {
@@ -3138,7 +3140,7 @@ var Pe = (
3138
3140
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3139
3141
  }, t;
3140
3142
  }(Error)
3141
- ), _t = (
3143
+ ), wt = (
3142
3144
  /** @class */
3143
3145
  function(e) {
3144
3146
  U(t, e);
@@ -3147,7 +3149,7 @@ var Pe = (
3147
3149
  }
3148
3150
  return t;
3149
3151
  }(Pe)
3150
- ), li = (
3152
+ ), hi = (
3151
3153
  /** @class */
3152
3154
  function(e) {
3153
3155
  U(t, e);
@@ -3156,7 +3158,7 @@ var Pe = (
3156
3158
  }
3157
3159
  return t;
3158
3160
  }(Pe)
3159
- ), ui = (
3161
+ ), ci = (
3160
3162
  /** @class */
3161
3163
  function(e) {
3162
3164
  U(t, e);
@@ -3165,126 +3167,126 @@ var Pe = (
3165
3167
  }
3166
3168
  return t;
3167
3169
  }(Pe)
3168
- ), A;
3170
+ ), P;
3169
3171
  (function(e) {
3170
3172
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3171
- })(A || (A = {}));
3172
- function hi(e) {
3173
+ })(P || (P = {}));
3174
+ function fi(e) {
3173
3175
  return e.length < 2 ? e : e.reduce(function(t, r) {
3174
3176
  var n = t[t.length - 1];
3175
- return !n || n.type !== A.literal || r.type !== A.literal ? t.push(r) : n.value += r.value, t;
3177
+ return !n || n.type !== P.literal || r.type !== P.literal ? t.push(r) : n.value += r.value, t;
3176
3178
  }, []);
3177
3179
  }
3178
- function ci(e) {
3180
+ function di(e) {
3179
3181
  return typeof e == "function";
3180
3182
  }
3181
3183
  function ge(e, t, r, n, i, o, s) {
3182
- if (e.length === 1 && dt(e[0]))
3184
+ if (e.length === 1 && gt(e[0]))
3183
3185
  return [
3184
3186
  {
3185
- type: A.literal,
3187
+ type: P.literal,
3186
3188
  value: e[0].value
3187
3189
  }
3188
3190
  ];
3189
3191
  for (var a = [], u = 0, h = e; u < h.length; u++) {
3190
3192
  var l = h[u];
3191
- if (dt(l)) {
3193
+ if (gt(l)) {
3192
3194
  a.push({
3193
- type: A.literal,
3195
+ type: P.literal,
3194
3196
  value: l.value
3195
3197
  });
3196
3198
  continue;
3197
3199
  }
3198
- if (Ln(l)) {
3200
+ if (Mn(l)) {
3199
3201
  typeof o == "number" && a.push({
3200
- type: A.literal,
3202
+ type: P.literal,
3201
3203
  value: r.getNumberFormat(t).format(o)
3202
3204
  });
3203
3205
  continue;
3204
3206
  }
3205
3207
  var c = l.value;
3206
3208
  if (!(i && c in i))
3207
- throw new ui(c, s);
3209
+ throw new ci(c, s);
3208
3210
  var f = i[c];
3209
- if (In(l)) {
3211
+ if (Nn(l)) {
3210
3212
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3211
- type: typeof f == "string" ? A.literal : A.object,
3213
+ type: typeof f == "string" ? P.literal : P.object,
3212
3214
  value: f
3213
3215
  });
3214
3216
  continue;
3215
3217
  }
3216
- if (Qt(l)) {
3217
- var m = typeof l.style == "string" ? n.date[l.style] : Ve(l.style) ? l.style.parsedOptions : void 0;
3218
+ if (Kt(l)) {
3219
+ var p = typeof l.style == "string" ? n.date[l.style] : Xe(l.style) ? l.style.parsedOptions : void 0;
3218
3220
  a.push({
3219
- type: A.literal,
3220
- value: r.getDateTimeFormat(t, m).format(f)
3221
+ type: P.literal,
3222
+ value: r.getDateTimeFormat(t, p).format(f)
3221
3223
  });
3222
3224
  continue;
3223
3225
  }
3224
- if (Jt(l)) {
3225
- var m = typeof l.style == "string" ? n.time[l.style] : Ve(l.style) ? l.style.parsedOptions : n.time.medium;
3226
+ if (er(l)) {
3227
+ var p = typeof l.style == "string" ? n.time[l.style] : Xe(l.style) ? l.style.parsedOptions : n.time.medium;
3226
3228
  a.push({
3227
- type: A.literal,
3228
- value: r.getDateTimeFormat(t, m).format(f)
3229
+ type: P.literal,
3230
+ value: r.getDateTimeFormat(t, p).format(f)
3229
3231
  });
3230
3232
  continue;
3231
3233
  }
3232
- if (Zt(l)) {
3233
- var m = typeof l.style == "string" ? n.number[l.style] : er(l.style) ? l.style.parsedOptions : void 0;
3234
- m && m.scale && (f = f * (m.scale || 1)), a.push({
3235
- type: A.literal,
3236
- value: r.getNumberFormat(t, m).format(f)
3234
+ if (qt(l)) {
3235
+ var p = typeof l.style == "string" ? n.number[l.style] : ir(l.style) ? l.style.parsedOptions : void 0;
3236
+ p && p.scale && (f = f * (p.scale || 1)), a.push({
3237
+ type: P.literal,
3238
+ value: r.getNumberFormat(t, p).format(f)
3237
3239
  });
3238
3240
  continue;
3239
3241
  }
3240
- if (Kt(l)) {
3241
- var d = l.children, g = l.value, p = i[g];
3242
- if (!ci(p))
3243
- throw new li(g, "function", s);
3244
- var S = ge(d, t, r, n, i, o), _ = p(S.map(function(B) {
3245
- return B.value;
3242
+ if (nr(l)) {
3243
+ var d = l.children, g = l.value, m = i[g];
3244
+ if (!di(m))
3245
+ throw new hi(g, "function", s);
3246
+ var x = ge(d, t, r, n, i, o), E = m(x.map(function(M) {
3247
+ return M.value;
3246
3248
  }));
3247
- Array.isArray(_) || (_ = [_]), a.push.apply(a, _.map(function(B) {
3249
+ Array.isArray(E) || (E = [E]), a.push.apply(a, E.map(function(M) {
3248
3250
  return {
3249
- type: typeof B == "string" ? A.literal : A.object,
3250
- value: B
3251
+ type: typeof M == "string" ? P.literal : P.object,
3252
+ value: M
3251
3253
  };
3252
3254
  }));
3253
3255
  }
3254
- if (Yt(l)) {
3255
- var P = l.options[f] || l.options.other;
3256
- if (!P)
3257
- throw new _t(l.value, f, Object.keys(l.options), s);
3258
- a.push.apply(a, ge(P.value, t, r, n, i));
3256
+ if (tr(l)) {
3257
+ var T = l.options[f] || l.options.other;
3258
+ if (!T)
3259
+ throw new wt(l.value, f, Object.keys(l.options), s);
3260
+ a.push.apply(a, ge(T.value, t, r, n, i));
3259
3261
  continue;
3260
3262
  }
3261
- if (qt(l)) {
3262
- var P = l.options["=".concat(f)];
3263
- if (!P) {
3263
+ if (rr(l)) {
3264
+ var T = l.options["=".concat(f)];
3265
+ if (!T) {
3264
3266
  if (!Intl.PluralRules)
3265
3267
  throw new Pe(`Intl.PluralRules is not available in this environment.
3266
3268
  Try polyfilling it using "@formatjs/intl-pluralrules"
3267
3269
  `, q.MISSING_INTL_API, s);
3268
- var $ = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3269
- P = l.options[$] || l.options.other;
3270
+ var D = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3271
+ T = l.options[D] || l.options.other;
3270
3272
  }
3271
- if (!P)
3272
- throw new _t(l.value, f, Object.keys(l.options), s);
3273
- a.push.apply(a, ge(P.value, t, r, n, i, f - (l.offset || 0)));
3273
+ if (!T)
3274
+ throw new wt(l.value, f, Object.keys(l.options), s);
3275
+ a.push.apply(a, ge(T.value, t, r, n, i, f - (l.offset || 0)));
3274
3276
  continue;
3275
3277
  }
3276
3278
  }
3277
- return hi(a);
3279
+ return fi(a);
3278
3280
  }
3279
- function fi(e, t) {
3280
- return t ? x(x(x({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3281
- return r[n] = x(x({}, e[n]), t[n] || {}), r;
3281
+ function pi(e, t) {
3282
+ return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3283
+ return r[n] = _(_({}, e[n]), t[n] || {}), r;
3282
3284
  }, {})) : e;
3283
3285
  }
3284
- function di(e, t) {
3286
+ function mi(e, t) {
3285
3287
  return t ? Object.keys(e).reduce(function(r, n) {
3286
- return r[n] = fi(e[n], t[n]), r;
3287
- }, x({}, e)) : e;
3288
+ return r[n] = pi(e[n], t[n]), r;
3289
+ }, _({}, e)) : e;
3288
3290
  }
3289
3291
  function $e(e) {
3290
3292
  return {
@@ -3300,7 +3302,7 @@ function $e(e) {
3300
3302
  }
3301
3303
  };
3302
3304
  }
3303
- function pi(e) {
3305
+ function bi(e) {
3304
3306
  return e === void 0 && (e = {
3305
3307
  number: {},
3306
3308
  dateTime: {},
@@ -3332,7 +3334,7 @@ function pi(e) {
3332
3334
  })
3333
3335
  };
3334
3336
  }
3335
- var mi = (
3337
+ var gi = (
3336
3338
  /** @class */
3337
3339
  function() {
3338
3340
  function e(t, r, n, i) {
@@ -3347,7 +3349,7 @@ var mi = (
3347
3349
  if (h.length === 1)
3348
3350
  return h[0].value;
3349
3351
  var l = h.reduce(function(c, f) {
3350
- return !c.length || f.type !== A.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3352
+ return !c.length || f.type !== P.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3351
3353
  }, []);
3352
3354
  return l.length <= 1 ? l[0] || "" : l;
3353
3355
  }, this.formatToParts = function(u) {
@@ -3364,13 +3366,13 @@ var mi = (
3364
3366
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3365
3367
  var s = i || {};
3366
3368
  s.formatters;
3367
- var a = wn(s, ["formatters"]);
3368
- this.ast = e.__parse(t, x(x({}, a), { locale: this.resolvedLocale }));
3369
+ var a = Cn(s, ["formatters"]);
3370
+ this.ast = e.__parse(t, _(_({}, a), { locale: this.resolvedLocale }));
3369
3371
  } else
3370
3372
  this.ast = t;
3371
3373
  if (!Array.isArray(this.ast))
3372
3374
  throw new TypeError("A message must be provided as a String or AST.");
3373
- this.formats = di(e.formats, n), this.formatters = i && i.formatters || pi(this.formatterCache);
3375
+ this.formats = mi(e.formats, n), this.formatters = i && i.formatters || bi(this.formatterCache);
3374
3376
  }
3375
3377
  return Object.defineProperty(e, "defaultLocale", {
3376
3378
  get: function() {
@@ -3383,7 +3385,7 @@ var mi = (
3383
3385
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3384
3386
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3385
3387
  }
3386
- }, e.__parse = ai, e.formats = {
3388
+ }, e.__parse = ui, e.formats = {
3387
3389
  number: {
3388
3390
  integer: {
3389
3391
  maximumFractionDigits: 0
@@ -3444,7 +3446,7 @@ var mi = (
3444
3446
  }, e;
3445
3447
  }()
3446
3448
  );
3447
- function bi(e, t) {
3449
+ function vi(e, t) {
3448
3450
  if (t == null)
3449
3451
  return;
3450
3452
  if (t in e)
@@ -3465,92 +3467,92 @@ function bi(e, t) {
3465
3467
  n = void 0;
3466
3468
  return n;
3467
3469
  }
3468
- const D = {}, gi = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r), lr = (e, t) => {
3470
+ const F = {}, yi = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), fr = (e, t) => {
3469
3471
  if (t == null)
3470
3472
  return;
3471
- if (t in D && e in D[t])
3472
- return D[t][e];
3473
+ if (t in F && e in F[t])
3474
+ return F[t][e];
3473
3475
  const r = Be(t);
3474
3476
  for (let n = 0; n < r.length; n++) {
3475
- const i = r[n], o = yi(i, e);
3477
+ const i = r[n], o = Ei(i, e);
3476
3478
  if (o)
3477
- return gi(e, t, o);
3479
+ return yi(e, t, o);
3478
3480
  }
3479
3481
  };
3480
- let rt;
3481
- const ce = Ce({});
3482
- function vi(e) {
3483
- return rt[e] || null;
3482
+ let ot;
3483
+ const he = Ce({});
3484
+ function _i(e) {
3485
+ return ot[e] || null;
3484
3486
  }
3485
- function ur(e) {
3486
- return e in rt;
3487
+ function dr(e) {
3488
+ return e in ot;
3487
3489
  }
3488
- function yi(e, t) {
3489
- if (!ur(e))
3490
+ function Ei(e, t) {
3491
+ if (!dr(e))
3490
3492
  return null;
3491
- const r = vi(e);
3492
- return bi(r, t);
3493
+ const r = _i(e);
3494
+ return vi(r, t);
3493
3495
  }
3494
- function _i(e) {
3496
+ function xi(e) {
3495
3497
  if (e == null)
3496
3498
  return;
3497
3499
  const t = Be(e);
3498
3500
  for (let r = 0; r < t.length; r++) {
3499
3501
  const n = t[r];
3500
- if (ur(n))
3502
+ if (dr(n))
3501
3503
  return n;
3502
3504
  }
3503
3505
  }
3504
- function hr(e, ...t) {
3505
- delete D[e], ce.update((r) => (r[e] = Sn.all([r[e] || {}, ...t]), r));
3506
+ function pr(e, ...t) {
3507
+ delete F[e], he.update((r) => (r[e] = Hn.all([r[e] || {}, ...t]), r));
3506
3508
  }
3507
3509
  te(
3508
- [ce],
3510
+ [he],
3509
3511
  ([e]) => Object.keys(e)
3510
3512
  );
3511
- ce.subscribe((e) => rt = e);
3513
+ he.subscribe((e) => ot = e);
3512
3514
  const ve = {};
3513
- function xi(e, t) {
3515
+ function Si(e, t) {
3514
3516
  ve[e].delete(t), ve[e].size === 0 && delete ve[e];
3515
3517
  }
3516
- function cr(e) {
3518
+ function mr(e) {
3517
3519
  return ve[e];
3518
3520
  }
3519
- function Ei(e) {
3521
+ function wi(e) {
3520
3522
  return Be(e).map((t) => {
3521
- const r = cr(t);
3523
+ const r = mr(t);
3522
3524
  return [t, r ? [...r] : []];
3523
3525
  }).filter(([, t]) => t.length > 0);
3524
3526
  }
3525
- function Je(e) {
3527
+ function Ye(e) {
3526
3528
  return e == null ? !1 : Be(e).some(
3527
3529
  (t) => {
3528
3530
  var r;
3529
- return (r = cr(t)) == null ? void 0 : r.size;
3531
+ return (r = mr(t)) == null ? void 0 : r.size;
3530
3532
  }
3531
3533
  );
3532
3534
  }
3533
- function Si(e, t) {
3535
+ function Ti(e, t) {
3534
3536
  return Promise.all(
3535
- t.map((n) => (xi(e, n), n().then((i) => i.default || i)))
3536
- ).then((n) => hr(e, ...n));
3537
- }
3538
- const se = {};
3539
- function fr(e) {
3540
- if (!Je(e))
3541
- return e in se ? se[e] : Promise.resolve();
3542
- const t = Ei(e);
3543
- return se[e] = Promise.all(
3537
+ t.map((n) => (Si(e, n), n().then((i) => i.default || i)))
3538
+ ).then((n) => pr(e, ...n));
3539
+ }
3540
+ const oe = {};
3541
+ function br(e) {
3542
+ if (!Ye(e))
3543
+ return e in oe ? oe[e] : Promise.resolve();
3544
+ const t = wi(e);
3545
+ return oe[e] = Promise.all(
3544
3546
  t.map(
3545
- ([r, n]) => Si(r, n)
3547
+ ([r, n]) => Ti(r, n)
3546
3548
  )
3547
3549
  ).then(() => {
3548
- if (Je(e))
3549
- return fr(e);
3550
- delete se[e];
3551
- }), se[e];
3550
+ if (Ye(e))
3551
+ return br(e);
3552
+ delete oe[e];
3553
+ }), oe[e];
3552
3554
  }
3553
- const wi = {
3555
+ const Hi = {
3554
3556
  number: {
3555
3557
  scientific: { notation: "scientific" },
3556
3558
  engineering: { notation: "engineering" },
@@ -3579,57 +3581,57 @@ const wi = {
3579
3581
  timeZoneName: "short"
3580
3582
  }
3581
3583
  }
3582
- }, Ti = {
3584
+ }, Ci = {
3583
3585
  fallbackLocale: null,
3584
3586
  loadingDelay: 200,
3585
- formats: wi,
3587
+ formats: Hi,
3586
3588
  warnOnMissingMessages: !0,
3587
3589
  handleMissingMessage: void 0,
3588
3590
  ignoreTag: !0
3589
- }, Hi = Ti;
3591
+ }, Pi = Ci;
3590
3592
  function K() {
3591
- return Hi;
3593
+ return Pi;
3592
3594
  }
3593
3595
  const Ge = Ce(!1);
3594
- var Ci = Object.defineProperty, Pi = Object.defineProperties, Bi = Object.getOwnPropertyDescriptors, xt = Object.getOwnPropertySymbols, Ai = Object.prototype.hasOwnProperty, Oi = Object.prototype.propertyIsEnumerable, Et = (e, t, r) => t in e ? Ci(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ii = (e, t) => {
3596
+ var Bi = Object.defineProperty, Ai = Object.defineProperties, Oi = Object.getOwnPropertyDescriptors, Tt = Object.getOwnPropertySymbols, Ii = Object.prototype.hasOwnProperty, Li = Object.prototype.propertyIsEnumerable, Ht = (e, t, r) => t in e ? Bi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ni = (e, t) => {
3595
3597
  for (var r in t || (t = {}))
3596
- Ai.call(t, r) && Et(e, r, t[r]);
3597
- if (xt)
3598
- for (var r of xt(t))
3599
- Oi.call(t, r) && Et(e, r, t[r]);
3598
+ Ii.call(t, r) && Ht(e, r, t[r]);
3599
+ if (Tt)
3600
+ for (var r of Tt(t))
3601
+ Li.call(t, r) && Ht(e, r, t[r]);
3600
3602
  return e;
3601
- }, Li = (e, t) => Pi(e, Bi(t));
3602
- let Ye;
3603
+ }, Mi = (e, t) => Ai(e, Oi(t));
3604
+ let qe;
3603
3605
  const we = Ce(null);
3604
- function St(e) {
3606
+ function Ct(e) {
3605
3607
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3606
3608
  }
3607
3609
  function Be(e, t = K().fallbackLocale) {
3608
- const r = St(e);
3609
- return t ? [.../* @__PURE__ */ new Set([...r, ...St(t)])] : r;
3610
+ const r = Ct(e);
3611
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Ct(t)])] : r;
3610
3612
  }
3611
- function k() {
3612
- return Ye ?? void 0;
3613
+ function j() {
3614
+ return qe ?? void 0;
3613
3615
  }
3614
3616
  we.subscribe((e) => {
3615
- Ye = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3617
+ qe = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3616
3618
  });
3617
- const Ni = (e) => {
3618
- if (e && _i(e) && Je(e)) {
3619
+ const Ri = (e) => {
3620
+ if (e && xi(e) && Ye(e)) {
3619
3621
  const { loadingDelay: t } = K();
3620
3622
  let r;
3621
- return typeof window < "u" && k() != null && t ? r = window.setTimeout(
3623
+ return typeof window < "u" && j() != null && t ? r = window.setTimeout(
3622
3624
  () => Ge.set(!0),
3623
3625
  t
3624
- ) : Ge.set(!0), fr(e).then(() => {
3626
+ ) : Ge.set(!0), br(e).then(() => {
3625
3627
  we.set(e);
3626
3628
  }).finally(() => {
3627
3629
  clearTimeout(r), Ge.set(!1);
3628
3630
  });
3629
3631
  }
3630
3632
  return we.set(e);
3631
- }, re = Li(Ii({}, we), {
3632
- set: Ni
3633
+ }, re = Mi(Ni({}, we), {
3634
+ set: Ri
3633
3635
  }), Ae = (e) => {
3634
3636
  const t = /* @__PURE__ */ Object.create(null);
3635
3637
  return (n) => {
@@ -3637,90 +3639,90 @@ const Ni = (e) => {
3637
3639
  return i in t ? t[i] : t[i] = e(n);
3638
3640
  };
3639
3641
  };
3640
- var Mi = Object.defineProperty, Te = Object.getOwnPropertySymbols, dr = Object.prototype.hasOwnProperty, pr = Object.prototype.propertyIsEnumerable, wt = (e, t, r) => t in e ? Mi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, nt = (e, t) => {
3642
+ var $i = Object.defineProperty, Te = Object.getOwnPropertySymbols, gr = Object.prototype.hasOwnProperty, vr = Object.prototype.propertyIsEnumerable, Pt = (e, t, r) => t in e ? $i(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, st = (e, t) => {
3641
3643
  for (var r in t || (t = {}))
3642
- dr.call(t, r) && wt(e, r, t[r]);
3644
+ gr.call(t, r) && Pt(e, r, t[r]);
3643
3645
  if (Te)
3644
3646
  for (var r of Te(t))
3645
- pr.call(t, r) && wt(e, r, t[r]);
3647
+ vr.call(t, r) && Pt(e, r, t[r]);
3646
3648
  return e;
3647
3649
  }, ne = (e, t) => {
3648
3650
  var r = {};
3649
3651
  for (var n in e)
3650
- dr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3652
+ gr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3651
3653
  if (e != null && Te)
3652
3654
  for (var n of Te(e))
3653
- t.indexOf(n) < 0 && pr.call(e, n) && (r[n] = e[n]);
3655
+ t.indexOf(n) < 0 && vr.call(e, n) && (r[n] = e[n]);
3654
3656
  return r;
3655
3657
  };
3656
- const he = (e, t) => {
3658
+ const ue = (e, t) => {
3657
3659
  const { formats: r } = K();
3658
3660
  if (e in r && t in r[e])
3659
3661
  return r[e][t];
3660
3662
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3661
- }, Ri = Ae(
3663
+ }, Gi = Ae(
3662
3664
  (e) => {
3663
3665
  var t = e, { locale: r, format: n } = t, i = ne(t, ["locale", "format"]);
3664
3666
  if (r == null)
3665
3667
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3666
- return n && (i = he("number", n)), new Intl.NumberFormat(r, i);
3668
+ return n && (i = ue("number", n)), new Intl.NumberFormat(r, i);
3667
3669
  }
3668
- ), $i = Ae(
3670
+ ), Ui = Ae(
3669
3671
  (e) => {
3670
3672
  var t = e, { locale: r, format: n } = t, i = ne(t, ["locale", "format"]);
3671
3673
  if (r == null)
3672
3674
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3673
- return n ? i = he("date", n) : Object.keys(i).length === 0 && (i = he("date", "short")), new Intl.DateTimeFormat(r, i);
3675
+ return n ? i = ue("date", n) : Object.keys(i).length === 0 && (i = ue("date", "short")), new Intl.DateTimeFormat(r, i);
3674
3676
  }
3675
- ), Gi = Ae(
3677
+ ), Di = Ae(
3676
3678
  (e) => {
3677
3679
  var t = e, { locale: r, format: n } = t, i = ne(t, ["locale", "format"]);
3678
3680
  if (r == null)
3679
3681
  throw new Error(
3680
3682
  '[svelte-i18n] A "locale" must be set to format time values'
3681
3683
  );
3682
- return n ? i = he("time", n) : Object.keys(i).length === 0 && (i = he("time", "short")), new Intl.DateTimeFormat(r, i);
3684
+ return n ? i = ue("time", n) : Object.keys(i).length === 0 && (i = ue("time", "short")), new Intl.DateTimeFormat(r, i);
3683
3685
  }
3684
- ), Ui = (e = {}) => {
3686
+ ), Fi = (e = {}) => {
3685
3687
  var t = e, {
3686
- locale: r = k()
3688
+ locale: r = j()
3687
3689
  } = t, n = ne(t, [
3688
3690
  "locale"
3689
3691
  ]);
3690
- return Ri(nt({ locale: r }, n));
3691
- }, Di = (e = {}) => {
3692
+ return Gi(st({ locale: r }, n));
3693
+ }, ki = (e = {}) => {
3692
3694
  var t = e, {
3693
- locale: r = k()
3695
+ locale: r = j()
3694
3696
  } = t, n = ne(t, [
3695
3697
  "locale"
3696
3698
  ]);
3697
- return $i(nt({ locale: r }, n));
3698
- }, Fi = (e = {}) => {
3699
+ return Ui(st({ locale: r }, n));
3700
+ }, ji = (e = {}) => {
3699
3701
  var t = e, {
3700
- locale: r = k()
3702
+ locale: r = j()
3701
3703
  } = t, n = ne(t, [
3702
3704
  "locale"
3703
3705
  ]);
3704
- return Gi(nt({ locale: r }, n));
3705
- }, ki = Ae(
3706
+ return Di(st({ locale: r }, n));
3707
+ }, Vi = Ae(
3706
3708
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3707
- (e, t = k()) => new mi(e, t, K().formats, {
3709
+ (e, t = j()) => new gi(e, t, K().formats, {
3708
3710
  ignoreTag: K().ignoreTag
3709
3711
  })
3710
- ), ji = (e, t = {}) => {
3712
+ ), Xi = (e, t = {}) => {
3711
3713
  var r, n, i, o;
3712
3714
  let s = t;
3713
3715
  typeof e == "object" && (s = e, e = s.id);
3714
3716
  const {
3715
3717
  values: a,
3716
- locale: u = k(),
3718
+ locale: u = j(),
3717
3719
  default: h
3718
3720
  } = s;
3719
3721
  if (u == null)
3720
3722
  throw new Error(
3721
3723
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3722
3724
  );
3723
- let l = lr(e, u);
3725
+ let l = fr(e, u);
3724
3726
  if (!l)
3725
3727
  l = (o = (i = (n = (r = K()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: h })) != null ? i : h) != null ? o : e;
3726
3728
  else if (typeof l != "string")
@@ -3731,7 +3733,7 @@ const he = (e, t) => {
3731
3733
  return l;
3732
3734
  let c = l;
3733
3735
  try {
3734
- c = ki(l, u).format(a);
3736
+ c = Vi(l, u).format(a);
3735
3737
  } catch (f) {
3736
3738
  f instanceof Error && console.warn(
3737
3739
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3739,18 +3741,18 @@ const he = (e, t) => {
3739
3741
  );
3740
3742
  }
3741
3743
  return c;
3742
- }, Vi = (e, t) => Fi(t).format(e), Xi = (e, t) => Di(t).format(e), Wi = (e, t) => Ui(t).format(e), zi = (e, t = k()) => lr(e, t), Zi = te([re, ce], () => ji);
3743
- te([re], () => Vi);
3744
- te([re], () => Xi);
3744
+ }, zi = (e, t) => ji(t).format(e), Wi = (e, t) => ki(t).format(e), Zi = (e, t) => Fi(t).format(e), Qi = (e, t = j()) => fr(e, t), Ji = te([re, he], () => Xi);
3745
+ te([re], () => zi);
3745
3746
  te([re], () => Wi);
3746
- te([re, ce], () => zi);
3747
- function Tt(e, t) {
3748
- hr(e, t);
3747
+ te([re], () => Zi);
3748
+ te([re, he], () => Qi);
3749
+ function Bt(e, t) {
3750
+ pr(e, t);
3749
3751
  }
3750
- function Qi(e) {
3752
+ function Yi(e) {
3751
3753
  re.set(e);
3752
3754
  }
3753
- const Ht = {
3755
+ const At = {
3754
3756
  en: {
3755
3757
  collections: "Game Collections",
3756
3758
  providers: "Game Providers",
@@ -3850,13 +3852,13 @@ const Ht = {
3850
3852
  function G(e) {
3851
3853
  return typeof e == "function";
3852
3854
  }
3853
- function mr(e) {
3855
+ function yr(e) {
3854
3856
  var t = function(n) {
3855
3857
  Error.call(n), n.stack = new Error().stack;
3856
3858
  }, r = e(t);
3857
3859
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
3858
3860
  }
3859
- var Ue = mr(function(e) {
3861
+ var Ue = yr(function(e) {
3860
3862
  return function(r) {
3861
3863
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
3862
3864
  ` + r.map(function(n, i) {
@@ -3865,7 +3867,7 @@ var Ue = mr(function(e) {
3865
3867
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
3866
3868
  };
3867
3869
  });
3868
- function qe(e, t) {
3870
+ function Ke(e, t) {
3869
3871
  if (e) {
3870
3872
  var r = e.indexOf(t);
3871
3873
  0 <= r && e.splice(r, 1);
@@ -3883,7 +3885,7 @@ var Oe = function() {
3883
3885
  if (s)
3884
3886
  if (this._parentage = null, Array.isArray(s))
3885
3887
  try {
3886
- for (var a = ke(s), u = a.next(); !u.done; u = a.next()) {
3888
+ for (var a = je(s), u = a.next(); !u.done; u = a.next()) {
3887
3889
  var h = u.value;
3888
3890
  h.remove(this);
3889
3891
  }
@@ -3909,19 +3911,19 @@ var Oe = function() {
3909
3911
  if (c) {
3910
3912
  this._finalizers = null;
3911
3913
  try {
3912
- for (var f = ke(c), m = f.next(); !m.done; m = f.next()) {
3913
- var d = m.value;
3914
+ for (var f = je(c), p = f.next(); !p.done; p = f.next()) {
3915
+ var d = p.value;
3914
3916
  try {
3915
- Ct(d);
3917
+ Ot(d);
3916
3918
  } catch (g) {
3917
- o = o ?? [], g instanceof Ue ? o = Z(Z([], je(o)), je(g.errors)) : o.push(g);
3919
+ o = o ?? [], g instanceof Ue ? o = Z(Z([], Ve(o)), Ve(g.errors)) : o.push(g);
3918
3920
  }
3919
3921
  }
3920
3922
  } catch (g) {
3921
3923
  n = { error: g };
3922
3924
  } finally {
3923
3925
  try {
3924
- m && !m.done && (i = f.return) && i.call(f);
3926
+ p && !p.done && (i = f.return) && i.call(f);
3925
3927
  } finally {
3926
3928
  if (n) throw n.error;
3927
3929
  }
@@ -3934,7 +3936,7 @@ var Oe = function() {
3934
3936
  var r;
3935
3937
  if (t && t !== this)
3936
3938
  if (this.closed)
3937
- Ct(t);
3939
+ Ot(t);
3938
3940
  else {
3939
3941
  if (t instanceof e) {
3940
3942
  if (t.closed || t._hasParent(this))
@@ -3951,52 +3953,56 @@ var Oe = function() {
3951
3953
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
3952
3954
  }, e.prototype._removeParent = function(t) {
3953
3955
  var r = this._parentage;
3954
- r === t ? this._parentage = null : Array.isArray(r) && qe(r, t);
3956
+ r === t ? this._parentage = null : Array.isArray(r) && Ke(r, t);
3955
3957
  }, e.prototype.remove = function(t) {
3956
3958
  var r = this._finalizers;
3957
- r && qe(r, t), t instanceof e && t._removeParent(this);
3959
+ r && Ke(r, t), t instanceof e && t._removeParent(this);
3958
3960
  }, e.EMPTY = function() {
3959
3961
  var t = new e();
3960
3962
  return t.closed = !0, t;
3961
3963
  }(), e;
3962
- }(), br = Oe.EMPTY;
3963
- function gr(e) {
3964
+ }(), _r = Oe.EMPTY;
3965
+ function Er(e) {
3964
3966
  return e instanceof Oe || e && "closed" in e && G(e.remove) && G(e.add) && G(e.unsubscribe);
3965
3967
  }
3966
- function Ct(e) {
3968
+ function Ot(e) {
3967
3969
  G(e) ? e() : e.unsubscribe();
3968
3970
  }
3969
- var Ji = {
3970
- Promise: void 0
3971
- }, Yi = {
3971
+ var xr = {
3972
+ onUnhandledError: null,
3973
+ onStoppedNotification: null,
3974
+ Promise: void 0,
3975
+ useDeprecatedSynchronousErrorHandling: !1,
3976
+ useDeprecatedNextContext: !1
3977
+ }, qi = {
3972
3978
  setTimeout: function(e, t) {
3973
3979
  for (var r = [], n = 2; n < arguments.length; n++)
3974
3980
  r[n - 2] = arguments[n];
3975
- return setTimeout.apply(void 0, Z([e, t], je(r)));
3981
+ return setTimeout.apply(void 0, Z([e, t], Ve(r)));
3976
3982
  },
3977
3983
  clearTimeout: function(e) {
3978
3984
  return clearTimeout(e);
3979
3985
  },
3980
3986
  delegate: void 0
3981
3987
  };
3982
- function qi(e) {
3983
- Yi.setTimeout(function() {
3988
+ function Ki(e) {
3989
+ qi.setTimeout(function() {
3984
3990
  throw e;
3985
3991
  });
3986
3992
  }
3987
- function Pt() {
3993
+ function It() {
3988
3994
  }
3989
3995
  function ye(e) {
3990
3996
  e();
3991
3997
  }
3992
- var vr = function(e) {
3998
+ var Sr = function(e) {
3993
3999
  U(t, e);
3994
4000
  function t(r) {
3995
4001
  var n = e.call(this) || this;
3996
- return n.isStopped = !1, r ? (n.destination = r, gr(r) && r.add(n)) : n.destination = to, n;
4002
+ return n.isStopped = !1, r ? (n.destination = r, Er(r) && r.add(n)) : n.destination = no, n;
3997
4003
  }
3998
4004
  return t.create = function(r, n, i) {
3999
- return new Ke(r, n, i);
4005
+ return new et(r, n, i);
4000
4006
  }, t.prototype.next = function(r) {
4001
4007
  this.isStopped || this._next(r);
4002
4008
  }, t.prototype.error = function(r) {
@@ -4020,7 +4026,11 @@ var vr = function(e) {
4020
4026
  this.unsubscribe();
4021
4027
  }
4022
4028
  }, t;
4023
- }(Oe), Ki = function() {
4029
+ }(Oe), eo = Function.prototype.bind;
4030
+ function De(e, t) {
4031
+ return eo.call(e, t);
4032
+ }
4033
+ var to = function() {
4024
4034
  function e(t) {
4025
4035
  this.partialObserver = t;
4026
4036
  }
@@ -4051,43 +4061,55 @@ var vr = function(e) {
4051
4061
  me(r);
4052
4062
  }
4053
4063
  }, e;
4054
- }(), Ke = function(e) {
4064
+ }(), et = function(e) {
4055
4065
  U(t, e);
4056
4066
  function t(r, n, i) {
4057
4067
  var o = e.call(this) || this, s;
4058
- return G(r) || !r ? s = {
4059
- next: r ?? void 0,
4060
- error: n ?? void 0,
4061
- complete: i ?? void 0
4062
- } : s = r, o.destination = new Ki(s), o;
4068
+ if (G(r) || !r)
4069
+ s = {
4070
+ next: r ?? void 0,
4071
+ error: n ?? void 0,
4072
+ complete: i ?? void 0
4073
+ };
4074
+ else {
4075
+ var a;
4076
+ o && xr.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
4077
+ return o.unsubscribe();
4078
+ }, s = {
4079
+ next: r.next && De(r.next, a),
4080
+ error: r.error && De(r.error, a),
4081
+ complete: r.complete && De(r.complete, a)
4082
+ }) : s = r;
4083
+ }
4084
+ return o.destination = new to(s), o;
4063
4085
  }
4064
4086
  return t;
4065
- }(vr);
4087
+ }(Sr);
4066
4088
  function me(e) {
4067
- qi(e);
4089
+ Ki(e);
4068
4090
  }
4069
- function eo(e) {
4091
+ function ro(e) {
4070
4092
  throw e;
4071
4093
  }
4072
- var to = {
4094
+ var no = {
4073
4095
  closed: !0,
4074
- next: Pt,
4075
- error: eo,
4076
- complete: Pt
4077
- }, ro = function() {
4096
+ next: It,
4097
+ error: ro,
4098
+ complete: It
4099
+ }, io = function() {
4078
4100
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
4079
4101
  }();
4080
- function no(e) {
4102
+ function oo(e) {
4081
4103
  return e;
4082
4104
  }
4083
- function io(e) {
4084
- return e.length === 0 ? no : e.length === 1 ? e[0] : function(r) {
4105
+ function so(e) {
4106
+ return e.length === 0 ? oo : e.length === 1 ? e[0] : function(r) {
4085
4107
  return e.reduce(function(n, i) {
4086
4108
  return i(n);
4087
4109
  }, r);
4088
4110
  };
4089
4111
  }
4090
- var Bt = function() {
4112
+ var Lt = function() {
4091
4113
  function e(t) {
4092
4114
  t && (this._subscribe = t);
4093
4115
  }
@@ -4095,7 +4117,7 @@ var Bt = function() {
4095
4117
  var r = new e();
4096
4118
  return r.source = this, r.operator = t, r;
4097
4119
  }, e.prototype.subscribe = function(t, r, n) {
4098
- var i = this, o = so(t) ? t : new Ke(t, r, n);
4120
+ var i = this, o = lo(t) ? t : new et(t, r, n);
4099
4121
  return ye(function() {
4100
4122
  var s = i, a = s.operator, u = s.source;
4101
4123
  o.add(a ? a.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
@@ -4108,8 +4130,8 @@ var Bt = function() {
4108
4130
  }
4109
4131
  }, e.prototype.forEach = function(t, r) {
4110
4132
  var n = this;
4111
- return r = At(r), new r(function(i, o) {
4112
- var s = new Ke({
4133
+ return r = Nt(r), new r(function(i, o) {
4134
+ var s = new et({
4113
4135
  next: function(a) {
4114
4136
  try {
4115
4137
  t(a);
@@ -4125,15 +4147,15 @@ var Bt = function() {
4125
4147
  }, e.prototype._subscribe = function(t) {
4126
4148
  var r;
4127
4149
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
4128
- }, e.prototype[ro] = function() {
4150
+ }, e.prototype[io] = function() {
4129
4151
  return this;
4130
4152
  }, e.prototype.pipe = function() {
4131
4153
  for (var t = [], r = 0; r < arguments.length; r++)
4132
4154
  t[r] = arguments[r];
4133
- return io(t)(this);
4155
+ return so(t)(this);
4134
4156
  }, e.prototype.toPromise = function(t) {
4135
4157
  var r = this;
4136
- return t = At(t), new t(function(n, i) {
4158
+ return t = Nt(t), new t(function(n, i) {
4137
4159
  var o;
4138
4160
  r.subscribe(function(s) {
4139
4161
  return o = s;
@@ -4147,32 +4169,32 @@ var Bt = function() {
4147
4169
  return new e(t);
4148
4170
  }, e;
4149
4171
  }();
4150
- function At(e) {
4172
+ function Nt(e) {
4151
4173
  var t;
4152
- return (t = e ?? Ji.Promise) !== null && t !== void 0 ? t : Promise;
4174
+ return (t = e ?? xr.Promise) !== null && t !== void 0 ? t : Promise;
4153
4175
  }
4154
- function oo(e) {
4176
+ function ao(e) {
4155
4177
  return e && G(e.next) && G(e.error) && G(e.complete);
4156
4178
  }
4157
- function so(e) {
4158
- return e && e instanceof vr || oo(e) && gr(e);
4179
+ function lo(e) {
4180
+ return e && e instanceof Sr || ao(e) && Er(e);
4159
4181
  }
4160
- var ao = mr(function(e) {
4182
+ var uo = yr(function(e) {
4161
4183
  return function() {
4162
4184
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
4163
4185
  };
4164
- }), yr = function(e) {
4186
+ }), wr = function(e) {
4165
4187
  U(t, e);
4166
4188
  function t() {
4167
4189
  var r = e.call(this) || this;
4168
4190
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
4169
4191
  }
4170
4192
  return t.prototype.lift = function(r) {
4171
- var n = new Ot(this, this);
4193
+ var n = new Mt(this, this);
4172
4194
  return n.operator = r, n;
4173
4195
  }, t.prototype._throwIfClosed = function() {
4174
4196
  if (this.closed)
4175
- throw new ao();
4197
+ throw new uo();
4176
4198
  }, t.prototype.next = function(r) {
4177
4199
  var n = this;
4178
4200
  ye(function() {
@@ -4180,7 +4202,7 @@ var ao = mr(function(e) {
4180
4202
  if (n._throwIfClosed(), !n.isStopped) {
4181
4203
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
4182
4204
  try {
4183
- for (var s = ke(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
4205
+ for (var s = je(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
4184
4206
  var u = a.value;
4185
4207
  u.next(r);
4186
4208
  }
@@ -4228,19 +4250,19 @@ var ao = mr(function(e) {
4228
4250
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
4229
4251
  }, t.prototype._innerSubscribe = function(r) {
4230
4252
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
4231
- return o || s ? br : (this.currentObservers = null, a.push(r), new Oe(function() {
4232
- n.currentObservers = null, qe(a, r);
4253
+ return o || s ? _r : (this.currentObservers = null, a.push(r), new Oe(function() {
4254
+ n.currentObservers = null, Ke(a, r);
4233
4255
  }));
4234
4256
  }, t.prototype._checkFinalizedStatuses = function(r) {
4235
4257
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
4236
4258
  i ? r.error(o) : s && r.complete();
4237
4259
  }, t.prototype.asObservable = function() {
4238
- var r = new Bt();
4260
+ var r = new Lt();
4239
4261
  return r.source = this, r;
4240
4262
  }, t.create = function(r, n) {
4241
- return new Ot(r, n);
4263
+ return new Mt(r, n);
4242
4264
  }, t;
4243
- }(Bt), Ot = function(e) {
4265
+ }(Lt), Mt = function(e) {
4244
4266
  U(t, e);
4245
4267
  function t(r, n) {
4246
4268
  var i = e.call(this) || this;
@@ -4257,17 +4279,17 @@ var ao = mr(function(e) {
4257
4279
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
4258
4280
  }, t.prototype._subscribe = function(r) {
4259
4281
  var n, i;
4260
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : br;
4282
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : _r;
4261
4283
  }, t;
4262
- }(yr), _r = {
4284
+ }(wr), Tr = {
4263
4285
  now: function() {
4264
- return (_r.delegate || Date).now();
4286
+ return (Tr.delegate || Date).now();
4265
4287
  },
4266
4288
  delegate: void 0
4267
- }, lo = function(e) {
4289
+ }, ho = function(e) {
4268
4290
  U(t, e);
4269
4291
  function t(r, n, i) {
4270
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = _r);
4292
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Tr);
4271
4293
  var o = e.call(this) || this;
4272
4294
  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;
4273
4295
  }
@@ -4287,28 +4309,51 @@ var ao = mr(function(e) {
4287
4309
  h && o.splice(0, h + 1);
4288
4310
  }
4289
4311
  }, t;
4290
- }(yr);
4291
- const It = [], Lt = {}, uo = (e, t = 0) => {
4292
- if (It.indexOf(e) == -1) {
4293
- const r = new lo(t);
4294
- Lt[e] = r, It.push(e);
4312
+ }(wr);
4313
+ const Rt = [], $t = {}, co = (e, t = 0) => {
4314
+ if (Rt.indexOf(e) == -1) {
4315
+ const r = new ho(t);
4316
+ $t[e] = r, Rt.push(e);
4295
4317
  }
4296
- return Lt[e];
4318
+ return $t[e];
4297
4319
  };
4298
- window.emWidgets = { topic: uo };
4299
- 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));
4300
- function co(e) {
4301
- $r(e, "svelte-1myc38z", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CasinoCollectionsProviders{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;height:330px;margin:0 auto;margin-top:24px}.CategoriesHeader{display:flex;justify-content:space-between;height:70px}.CategoriesHeader .Title{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:22px;font-weight:500}.CategoriesHeader .ButtonsContainer button{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px;cursor:pointer}.CategoriesHeader .ButtonsContainer button:active{opacity:0.7}.CategoriesSlider{position:relative;height:230px;overflow:hidden;cursor:pointer}.CategoriesSliderWrapper{position:absolute;top:0;left:0}.CategoriesSlider .Animation{transition:transform 0.8s}.CategoriesSlider .CategorySlide{border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;height:200px;width:400px;margin-right:15px;background-size:cover}.CategoriesSlider .CategorySlide:not(.CategorySlideNoHighlight){background-color:#808080;background-blend-mode:multiply}.CategoriesSlider .CategorySlideTopContainer{height:100px;display:flex;align-items:center}.CategoriesSlider .CategorySlideLogo{transform:translate(-50%, -50%);max-width:175px;top:30%;max-height:100%;position:absolute}.CategoriesSlider .CategorySlideTitle{color:var(--emw--casino-typography, var(--emw--color-constrast, #FFFFFF));font-size:18px;letter-spacing:1px}.CategoriesSlider .CategorySlideGameContainer{display:flex;width:40px;justify-content:center;gap:10%;min-height:85px}.CategoriesSlider .CategorySlideGameImage{border-radius:10px;width:auto;height:55px;object-fit:cover}.CategoriesSlider .CategorySlideGames{color:white;text-align:center}.CategoriesSlider .CategorySlideGames p{font-size:8px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.Mobile.Providers{padding:25px 10px}.Mobile.Collections{padding:25px 10px}.Mobile.CasinoCollectionsProviders{padding:25px 10px}.Mobile .CategoriesSlider{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.Mobile .CategoriesSlider::-webkit-scrollbar{display:none}.Mobile .CategorySlide{width:80vw;scroll-snap-align:start}.Mobile .ButtonsContainer{display:none}.Mobile .CategorySlideGameImage{border-radius:10px;width:auto;height:40px;object-fit:cover}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
4320
+ window.emWidgets = { topic: co };
4321
+ const fo = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4322
+ function po(e, t) {
4323
+ if (e) {
4324
+ const r = document.createElement("style");
4325
+ r.innerHTML = t, e.appendChild(r);
4326
+ }
4302
4327
  }
4303
- function Nt(e, t, r) {
4328
+ function mo(e, t) {
4329
+ const r = new URL(t);
4330
+ fetch(r.href).then((n) => n.text()).then((n) => {
4331
+ const i = document.createElement("style");
4332
+ i.innerHTML = n, e && e.appendChild(i);
4333
+ }).catch((n) => {
4334
+ console.error("There was an error while trying to load client styling from URL", n);
4335
+ });
4336
+ }
4337
+ function bo(e, t, r) {
4338
+ if (window.emMessageBus) {
4339
+ const n = document.createElement("style");
4340
+ window.emMessageBus.subscribe(t, (i) => {
4341
+ n.innerHTML = i, e && e.appendChild(n);
4342
+ });
4343
+ }
4344
+ }
4345
+ function go(e) {
4346
+ Dr(e, "svelte-1myc38z", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CasinoCollectionsProviders{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;height:330px;margin:0 auto;margin-top:24px}.CategoriesHeader{display:flex;justify-content:space-between;height:70px}.CategoriesHeader .Title{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:22px;font-weight:500}.CategoriesHeader .ButtonsContainer button{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px;cursor:pointer}.CategoriesHeader .ButtonsContainer button:active{opacity:0.7}.CategoriesSlider{position:relative;height:230px;overflow:hidden;cursor:pointer}.CategoriesSliderWrapper{position:absolute;top:0;left:0}.CategoriesSlider .Animation{transition:transform 0.8s}.CategoriesSlider .CategorySlide{border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;height:200px;width:400px;margin-right:15px;background-size:cover}.CategoriesSlider .CategorySlide:not(.CategorySlideNoHighlight){background-color:#808080;background-blend-mode:multiply}.CategoriesSlider .CategorySlideTopContainer{height:100px;display:flex;align-items:center}.CategoriesSlider .CategorySlideLogo{transform:translate(-50%, -50%);max-width:175px;top:30%;max-height:100%;position:absolute}.CategoriesSlider .CategorySlideTitle{color:var(--emw--casino-typography, var(--emw--color-constrast, #FFFFFF));font-size:18px;letter-spacing:1px}.CategoriesSlider .CategorySlideGameContainer{display:flex;width:40px;justify-content:center;gap:10%;min-height:85px}.CategoriesSlider .CategorySlideGameImage{border-radius:10px;width:auto;height:55px;object-fit:cover}.CategoriesSlider .CategorySlideGames{color:white;text-align:center}.CategoriesSlider .CategorySlideGames p{font-size:8px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.Mobile.Providers{padding:25px 10px}.Mobile.Collections{padding:25px 10px}.Mobile.CasinoCollectionsProviders{padding:25px 10px}.Mobile .CategoriesSlider{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.Mobile .CategoriesSlider::-webkit-scrollbar{display:none}.Mobile .CategorySlide{width:80vw;scroll-snap-align:start}.Mobile .ButtonsContainer{display:none}.Mobile .CategorySlideGameImage{border-radius:10px;width:auto;height:40px;object-fit:cover}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
4347
+ }
4348
+ function Gt(e, t, r) {
4304
4349
  const n = e.slice();
4305
4350
  return n[41] = t[r], n;
4306
4351
  }
4307
- function Mt(e, t, r) {
4352
+ function Ut(e, t, r) {
4308
4353
  const n = e.slice();
4309
4354
  return n[44] = t[r], n;
4310
4355
  }
4311
- function fo(e) {
4356
+ function vo(e) {
4312
4357
  let t, r, n, i = (
4313
4358
  /*type*/
4314
4359
  (e[0] == "vendor" ? (
@@ -4321,33 +4366,33 @@ function fo(e) {
4321
4366
  ), o, s, a, u, h, l, c = (
4322
4367
  /*numberOfSlides*/
4323
4368
  e[8] > /*numberOfVisibleSlides*/
4324
- e[9] && Rt(e)
4369
+ e[9] && Dt(e)
4325
4370
  ), f = Se(
4326
4371
  /*gameCategories*/
4327
4372
  e[3]
4328
- ), m = [];
4373
+ ), p = [];
4329
4374
  for (let d = 0; d < f.length; d += 1)
4330
- m[d] = Ut(Nt(e, f, d));
4375
+ p[d] = jt(Gt(e, f, d));
4331
4376
  return {
4332
4377
  c() {
4333
- t = H("div"), r = H("div"), n = H("p"), o = He(i), s = F(), c && c.c(), a = F(), u = H("div");
4334
- for (let d = 0; d < m.length; d += 1)
4335
- m[d].c();
4336
- E(n, "class", "Title"), E(r, "class", "CategoriesHeader"), E(u, "class", "CategoriesSlider"), Ee(() => (
4378
+ t = C("div"), r = C("div"), n = C("p"), o = He(i), s = k(), c && c.c(), a = k(), u = C("div");
4379
+ for (let d = 0; d < p.length; d += 1)
4380
+ p[d].c();
4381
+ S(n, "class", "Title"), S(r, "class", "CategoriesHeader"), S(u, "class", "CategoriesSlider"), xe(() => (
4337
4382
  /*div1_elementresize_handler*/
4338
- e[27].call(u)
4339
- )), E(t, "class", l = "CasinoCollectionsProviders " + /*mobile*/
4383
+ e[28].call(u)
4384
+ )), S(t, "class", l = "CasinoCollectionsProviders " + /*mobile*/
4340
4385
  (e[10] ? "Mobile" : "") + " " + /*type*/
4341
4386
  (e[0] === "vendor" ? "Providers" : "Collections"));
4342
4387
  },
4343
4388
  m(d, g) {
4344
- R(d, t, g), T(t, r), T(r, n), T(n, o), T(r, s), c && c.m(r, null), T(t, a), T(t, u);
4345
- for (let p = 0; p < m.length; p += 1)
4346
- m[p] && m[p].m(u, null);
4347
- e[26](u), h = jr(
4389
+ $(d, t, g), H(t, r), H(r, n), H(n, o), H(r, s), c && c.m(r, null), H(t, a), H(t, u);
4390
+ for (let m = 0; m < p.length; m += 1)
4391
+ p[m] && p[m].m(u, null);
4392
+ e[27](u), h = zr(
4348
4393
  u,
4349
4394
  /*div1_elementresize_handler*/
4350
- e[27].bind(u)
4395
+ e[28].bind(u)
4351
4396
  );
4352
4397
  },
4353
4398
  p(d, g) {
@@ -4359,152 +4404,152 @@ function fo(e) {
4359
4404
  ) : (
4360
4405
  /*$_*/
4361
4406
  d[11]("collections")
4362
- )) + "") && tt(o, i), /*numberOfSlides*/
4407
+ )) + "") && rt(o, i), /*numberOfSlides*/
4363
4408
  d[8] > /*numberOfVisibleSlides*/
4364
- d[9] ? c ? c.p(d, g) : (c = Rt(d), c.c(), c.m(r, null)) : c && (c.d(1), c = null), g[0] & /*gameCategories, openCategory, collectionprovidersgamenames, openGame, titletype*/
4409
+ d[9] ? c ? c.p(d, g) : (c = Dt(d), c.c(), c.m(r, null)) : c && (c.d(1), c = null), g[0] & /*gameCategories, openCategory, collectionprovidersgamenames, openGame, titletype*/
4365
4410
  49166) {
4366
4411
  f = Se(
4367
4412
  /*gameCategories*/
4368
4413
  d[3]
4369
4414
  );
4370
- let p;
4371
- for (p = 0; p < f.length; p += 1) {
4372
- const S = Nt(d, f, p);
4373
- m[p] ? m[p].p(S, g) : (m[p] = Ut(S), m[p].c(), m[p].m(u, null));
4415
+ let m;
4416
+ for (m = 0; m < f.length; m += 1) {
4417
+ const x = Gt(d, f, m);
4418
+ p[m] ? p[m].p(x, g) : (p[m] = jt(x), p[m].c(), p[m].m(u, null));
4374
4419
  }
4375
- for (; p < m.length; p += 1)
4376
- m[p].d(1);
4377
- m.length = f.length;
4420
+ for (; m < p.length; m += 1)
4421
+ p[m].d(1);
4422
+ p.length = f.length;
4378
4423
  }
4379
4424
  g[0] & /*mobile, type*/
4380
4425
  1025 && l !== (l = "CasinoCollectionsProviders " + /*mobile*/
4381
4426
  (d[10] ? "Mobile" : "") + " " + /*type*/
4382
- (d[0] === "vendor" ? "Providers" : "Collections")) && E(t, "class", l);
4427
+ (d[0] === "vendor" ? "Providers" : "Collections")) && S(t, "class", l);
4383
4428
  },
4384
4429
  d(d) {
4385
- d && N(t), c && c.d(), jt(m, d), e[26](null), h();
4430
+ d && N(t), c && c.d(), Wt(p, d), e[27](null), h();
4386
4431
  }
4387
4432
  };
4388
4433
  }
4389
- function po(e) {
4434
+ function yo(e) {
4390
4435
  let t;
4391
4436
  return {
4392
4437
  c() {
4393
- t = H("div"), E(t, "class", "LoadingSpinner");
4438
+ t = C("div"), S(t, "class", "LoadingSpinner");
4394
4439
  },
4395
4440
  m(r, n) {
4396
- R(r, t, n);
4441
+ $(r, t, n);
4397
4442
  },
4398
- p: I,
4443
+ p: O,
4399
4444
  d(r) {
4400
4445
  r && N(t);
4401
4446
  }
4402
4447
  };
4403
4448
  }
4404
- function Rt(e) {
4449
+ function Dt(e) {
4405
4450
  let t, r, n, i, o, s;
4406
4451
  return {
4407
4452
  c() {
4408
- t = H("div"), r = H("button"), r.innerHTML = '<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(14.656 0) rotate(90)" fill="#fff"></path></svg>', n = F(), i = H("button"), i.innerHTML = '<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(0 24.656) rotate(-90)" fill="#fff"></path></svg>', E(t, "class", "ButtonsContainer");
4453
+ t = C("div"), r = C("button"), r.innerHTML = '<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(14.656 0) rotate(90)" fill="#fff"></path></svg>', n = k(), i = C("button"), i.innerHTML = '<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(0 24.656) rotate(-90)" fill="#fff"></path></svg>', S(t, "class", "ButtonsContainer");
4409
4454
  },
4410
4455
  m(a, u) {
4411
- R(a, t, u), T(t, r), T(t, n), T(t, i), o || (s = [
4456
+ $(a, t, u), H(t, r), H(t, n), H(t, i), o || (s = [
4412
4457
  Q(
4413
4458
  r,
4414
4459
  "click",
4415
4460
  /*click_handler*/
4416
- e[22]
4461
+ e[23]
4417
4462
  ),
4418
4463
  Q(
4419
4464
  i,
4420
4465
  "click",
4421
4466
  /*click_handler_1*/
4422
- e[23]
4467
+ e[24]
4423
4468
  )
4424
4469
  ], o = !0);
4425
4470
  },
4426
- p: I,
4471
+ p: O,
4427
4472
  d(a) {
4428
4473
  a && N(t), o = !1, ee(s);
4429
4474
  }
4430
4475
  };
4431
4476
  }
4432
- function mo(e) {
4477
+ function _o(e) {
4433
4478
  let t, r = (
4434
4479
  /*category*/
4435
4480
  e[41].name + ""
4436
4481
  ), n;
4437
4482
  return {
4438
4483
  c() {
4439
- t = H("p"), n = He(r), E(t, "class", "CategorySlideTitle");
4484
+ t = C("p"), n = He(r), S(t, "class", "CategorySlideTitle");
4440
4485
  },
4441
4486
  m(i, o) {
4442
- R(i, t, o), T(t, n);
4487
+ $(i, t, o), H(t, n);
4443
4488
  },
4444
4489
  p(i, o) {
4445
4490
  o[0] & /*gameCategories*/
4446
4491
  8 && r !== (r = /*category*/
4447
- i[41].name + "") && tt(n, r);
4492
+ i[41].name + "") && rt(n, r);
4448
4493
  },
4449
4494
  d(i) {
4450
4495
  i && N(t);
4451
4496
  }
4452
4497
  };
4453
4498
  }
4454
- function bo(e) {
4499
+ function Eo(e) {
4455
4500
  let t, r, n;
4456
4501
  return {
4457
4502
  c() {
4458
- t = H("img"), E(t, "class", "CategorySlideLogo"), _e(t.src, r = /*category*/
4459
- e[41].icon) || E(t, "src", r), E(t, "alt", n = /*category*/
4503
+ t = C("img"), S(t, "class", "CategorySlideLogo"), _e(t.src, r = /*category*/
4504
+ e[41].icon) || S(t, "src", r), S(t, "alt", n = /*category*/
4460
4505
  e[41].name + " icon");
4461
4506
  },
4462
4507
  m(i, o) {
4463
- R(i, t, o);
4508
+ $(i, t, o);
4464
4509
  },
4465
4510
  p(i, o) {
4466
4511
  o[0] & /*gameCategories*/
4467
4512
  8 && !_e(t.src, r = /*category*/
4468
- i[41].icon) && E(t, "src", r), o[0] & /*gameCategories*/
4513
+ i[41].icon) && S(t, "src", r), o[0] & /*gameCategories*/
4469
4514
  8 && n !== (n = /*category*/
4470
- i[41].name + " icon") && E(t, "alt", n);
4515
+ i[41].name + " icon") && S(t, "alt", n);
4471
4516
  },
4472
4517
  d(i) {
4473
4518
  i && N(t);
4474
4519
  }
4475
4520
  };
4476
4521
  }
4477
- function $t(e) {
4522
+ function Ft(e) {
4478
4523
  let t, r = (
4479
4524
  /*game*/
4480
4525
  e[44].name + ""
4481
4526
  ), n, i;
4482
4527
  return {
4483
4528
  c() {
4484
- t = H("p"), n = He(r), E(t, "title", i = /*game*/
4529
+ t = C("p"), n = He(r), S(t, "title", i = /*game*/
4485
4530
  e[44].name);
4486
4531
  },
4487
4532
  m(o, s) {
4488
- R(o, t, s), T(t, n);
4533
+ $(o, t, s), H(t, n);
4489
4534
  },
4490
4535
  p(o, s) {
4491
4536
  s[0] & /*gameCategories*/
4492
4537
  8 && r !== (r = /*game*/
4493
- o[44].name + "") && tt(n, r), s[0] & /*gameCategories*/
4538
+ o[44].name + "") && rt(n, r), s[0] & /*gameCategories*/
4494
4539
  8 && i !== (i = /*game*/
4495
- o[44].name) && E(t, "title", i);
4540
+ o[44].name) && S(t, "title", i);
4496
4541
  },
4497
4542
  d(o) {
4498
4543
  o && N(t);
4499
4544
  }
4500
4545
  };
4501
4546
  }
4502
- function Gt(e) {
4547
+ function kt(e) {
4503
4548
  let t, r, n, i, o, s, a, u;
4504
4549
  function h() {
4505
4550
  return (
4506
4551
  /*click_handler_2*/
4507
- e[24](
4552
+ e[25](
4508
4553
  /*game*/
4509
4554
  e[44]
4510
4555
  )
@@ -4512,52 +4557,52 @@ function Gt(e) {
4512
4557
  }
4513
4558
  let l = (
4514
4559
  /*collectionprovidersgamenames*/
4515
- e[2] == "true" && $t(e)
4560
+ e[2] == "true" && Ft(e)
4516
4561
  );
4517
4562
  return {
4518
4563
  c() {
4519
- t = H("div"), r = H("img"), o = F(), l && l.c(), s = F(), E(r, "class", "CategorySlideGameImage"), _e(r.src, n = /*game*/
4520
- e[44].defaultThumbnail) || E(r, "src", n), E(r, "alt", i = /*game*/
4521
- e[44].name), E(t, "class", "CategorySlideGames");
4564
+ t = C("div"), r = C("img"), o = k(), l && l.c(), s = k(), S(r, "class", "CategorySlideGameImage"), _e(r.src, n = /*game*/
4565
+ e[44].defaultThumbnail) || S(r, "src", n), S(r, "alt", i = /*game*/
4566
+ e[44].name), S(t, "class", "CategorySlideGames");
4522
4567
  },
4523
4568
  m(c, f) {
4524
- R(c, t, f), T(t, r), T(t, o), l && l.m(t, null), T(t, s), a || (u = Q(r, "click", Dr(h)), a = !0);
4569
+ $(c, t, f), H(t, r), H(t, o), l && l.m(t, null), H(t, s), a || (u = Q(r, "click", jr(h)), a = !0);
4525
4570
  },
4526
4571
  p(c, f) {
4527
4572
  e = c, f[0] & /*gameCategories*/
4528
4573
  8 && !_e(r.src, n = /*game*/
4529
- e[44].defaultThumbnail) && E(r, "src", n), f[0] & /*gameCategories*/
4574
+ e[44].defaultThumbnail) && S(r, "src", n), f[0] & /*gameCategories*/
4530
4575
  8 && i !== (i = /*game*/
4531
- e[44].name) && E(r, "alt", i), /*collectionprovidersgamenames*/
4532
- e[2] == "true" ? l ? l.p(e, f) : (l = $t(e), l.c(), l.m(t, s)) : l && (l.d(1), l = null);
4576
+ e[44].name) && S(r, "alt", i), /*collectionprovidersgamenames*/
4577
+ e[2] == "true" ? l ? l.p(e, f) : (l = Ft(e), l.c(), l.m(t, s)) : l && (l.d(1), l = null);
4533
4578
  },
4534
4579
  d(c) {
4535
4580
  c && N(t), l && l.d(), a = !1, u();
4536
4581
  }
4537
4582
  };
4538
4583
  }
4539
- function Ut(e) {
4584
+ function jt(e) {
4540
4585
  let t, r, n, i, o, s, a, u, h;
4541
- function l(p, S) {
4586
+ function l(m, x) {
4542
4587
  if (
4543
4588
  /*titletype*/
4544
- p[1] == "logo"
4545
- ) return bo;
4589
+ m[1] == "logo"
4590
+ ) return Eo;
4546
4591
  if (
4547
4592
  /*titletype*/
4548
- p[1] == "title"
4549
- ) return mo;
4593
+ m[1] == "title"
4594
+ ) return _o;
4550
4595
  }
4551
- let c = l(e), f = c && c(e), m = Se(
4596
+ let c = l(e), f = c && c(e), p = Se(
4552
4597
  /*category*/
4553
4598
  e[41].games
4554
4599
  ), d = [];
4555
- for (let p = 0; p < m.length; p += 1)
4556
- d[p] = Gt(Mt(e, m, p));
4600
+ for (let m = 0; m < p.length; m += 1)
4601
+ d[m] = kt(Ut(e, p, m));
4557
4602
  function g() {
4558
4603
  return (
4559
4604
  /*click_handler_3*/
4560
- e[25](
4605
+ e[26](
4561
4606
  /*category*/
4562
4607
  e[41]
4563
4608
  )
@@ -4565,129 +4610,129 @@ function Ut(e) {
4565
4610
  }
4566
4611
  return {
4567
4612
  c() {
4568
- t = H("div"), r = H("div"), n = H("div"), f && f.c(), i = F(), o = H("div");
4569
- for (let p = 0; p < d.length; p += 1)
4570
- d[p].c();
4571
- a = F(), E(n, "class", "CategorySlideTopContainer"), E(o, "class", "CategorySlideGameContainer"), E(r, "class", s = "CategorySlide " + /*category*/
4613
+ t = C("div"), r = C("div"), n = C("div"), f && f.c(), i = k(), o = C("div");
4614
+ for (let m = 0; m < d.length; m += 1)
4615
+ d[m].c();
4616
+ a = k(), S(n, "class", "CategorySlideTopContainer"), S(o, "class", "CategorySlideGameContainer"), S(r, "class", s = "CategorySlide " + /*category*/
4572
4617
  (e[41]?.flag[0] == "vendor" ? "CategorySlideNoHighlight" : "")), Ie(r, "background-image", "url(" + /*category*/
4573
- e[41]?.background + ")"), Ie(r, "background-size", "cover"), E(t, "class", "CategoriesSliderWrapper Animation");
4618
+ e[41]?.background + ")"), Ie(r, "background-size", "cover"), S(t, "class", "CategoriesSliderWrapper Animation");
4574
4619
  },
4575
- m(p, S) {
4576
- R(p, t, S), T(t, r), T(r, n), f && f.m(n, null), T(r, i), T(r, o);
4577
- for (let _ = 0; _ < d.length; _ += 1)
4578
- d[_] && d[_].m(o, null);
4579
- T(t, a), u || (h = Q(r, "click", g), u = !0);
4620
+ m(m, x) {
4621
+ $(m, t, x), H(t, r), H(r, n), f && f.m(n, null), H(r, i), H(r, o);
4622
+ for (let E = 0; E < d.length; E += 1)
4623
+ d[E] && d[E].m(o, null);
4624
+ H(t, a), u || (h = Q(r, "click", g), u = !0);
4580
4625
  },
4581
- p(p, S) {
4582
- if (e = p, c === (c = l(e)) && f ? f.p(e, S) : (f && f.d(1), f = c && c(e), f && (f.c(), f.m(n, null))), S[0] & /*gameCategories, collectionprovidersgamenames, openGame*/
4626
+ p(m, x) {
4627
+ if (e = m, c === (c = l(e)) && f ? f.p(e, x) : (f && f.d(1), f = c && c(e), f && (f.c(), f.m(n, null))), x[0] & /*gameCategories, collectionprovidersgamenames, openGame*/
4583
4628
  16396) {
4584
- m = Se(
4629
+ p = Se(
4585
4630
  /*category*/
4586
4631
  e[41].games
4587
4632
  );
4588
- let _;
4589
- for (_ = 0; _ < m.length; _ += 1) {
4590
- const P = Mt(e, m, _);
4591
- d[_] ? d[_].p(P, S) : (d[_] = Gt(P), d[_].c(), d[_].m(o, null));
4633
+ let E;
4634
+ for (E = 0; E < p.length; E += 1) {
4635
+ const T = Ut(e, p, E);
4636
+ d[E] ? d[E].p(T, x) : (d[E] = kt(T), d[E].c(), d[E].m(o, null));
4592
4637
  }
4593
- for (; _ < d.length; _ += 1)
4594
- d[_].d(1);
4595
- d.length = m.length;
4638
+ for (; E < d.length; E += 1)
4639
+ d[E].d(1);
4640
+ d.length = p.length;
4596
4641
  }
4597
- S[0] & /*gameCategories*/
4642
+ x[0] & /*gameCategories*/
4598
4643
  8 && s !== (s = "CategorySlide " + /*category*/
4599
- (e[41]?.flag[0] == "vendor" ? "CategorySlideNoHighlight" : "")) && E(r, "class", s), S[0] & /*gameCategories*/
4644
+ (e[41]?.flag[0] == "vendor" ? "CategorySlideNoHighlight" : "")) && S(r, "class", s), x[0] & /*gameCategories*/
4600
4645
  8 && Ie(r, "background-image", "url(" + /*category*/
4601
4646
  e[41]?.background + ")");
4602
4647
  },
4603
- d(p) {
4604
- p && N(t), f && f.d(), jt(d, p), u = !1, h();
4648
+ d(m) {
4649
+ m && N(t), f && f.d(), Wt(d, m), u = !1, h();
4605
4650
  }
4606
4651
  };
4607
4652
  }
4608
- function go(e) {
4653
+ function xo(e) {
4609
4654
  let t;
4610
4655
  function r(o, s) {
4611
4656
  return (
4612
4657
  /*isLoading*/
4613
- o[7] ? po : fo
4658
+ o[7] ? yo : vo
4614
4659
  );
4615
4660
  }
4616
4661
  let n = r(e), i = n(e);
4617
4662
  return {
4618
4663
  c() {
4619
- t = H("div"), i.c();
4664
+ t = C("div"), i.c();
4620
4665
  },
4621
4666
  m(o, s) {
4622
- R(o, t, s), i.m(t, null), e[28](t);
4667
+ $(o, t, s), i.m(t, null), e[29](t);
4623
4668
  },
4624
4669
  p(o, s) {
4625
4670
  n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
4626
4671
  },
4627
- i: I,
4628
- o: I,
4672
+ i: O,
4673
+ o: O,
4629
4674
  d(o) {
4630
- o && N(t), i.d(), e[28](null);
4675
+ o && N(t), i.d(), e[29](null);
4631
4676
  }
4632
4677
  };
4633
4678
  }
4634
- function vo(e, t, r) {
4679
+ function So(e, t, r) {
4635
4680
  let n;
4636
- Rr(e, Zi, (b) => r(11, n = b));
4637
- let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "" } = t, { type: a = "" } = t, { titletype: u = "" } = t, { clientstyling: h = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: c = "" } = t, { collectionprovidersgamenames: f = "" } = t, m = [], d = !0, g, p = 0, S = 0, _ = 0, P, $, B, j = window.navigator.userAgent, ie, oe = 0;
4638
- const xr = () => {
4639
- fetch(c).then((C) => C.json()).then((C) => {
4640
- Object.keys(C).forEach((O) => {
4641
- Tt(O, C[O]);
4681
+ Ur(e, Ji, (b) => r(11, n = b));
4682
+ let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "" } = t, { type: a = "" } = t, { titletype: u = "" } = t, { clientstyling: h = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: c = "" } = t, { collectionprovidersgamenames: f = "" } = t, { mbsource: p } = t, d = [], g = !0, m, x = 0, E = 0, T = 0, D, M, B, ce = window.navigator.userAgent, at, ie = 0;
4683
+ const Hr = () => {
4684
+ fetch(c).then((A) => A.json()).then((A) => {
4685
+ Object.keys(A).forEach((R) => {
4686
+ Bt(R, A[R]);
4642
4687
  });
4643
- }).catch((C) => {
4644
- console.log(C);
4688
+ }).catch((A) => {
4689
+ console.log(A);
4645
4690
  });
4646
4691
  };
4647
- Object.keys(Ht).forEach((b) => {
4648
- Tt(b, Ht[b]);
4692
+ Object.keys(At).forEach((b) => {
4693
+ Bt(b, At[b]);
4649
4694
  });
4650
- const Er = () => {
4695
+ const Cr = () => {
4651
4696
  const b = new URL(`${i}/v2/casino/groups/${o}`);
4652
- b.searchParams.append("language", s), b.searchParams.append("expand", "games"), fetch(b.href).then((C) => C.json()).then((C) => {
4653
- r(7, d = !1);
4654
- let O = C.items.filter((L) => L.flags == a);
4655
- r(3, m = O.map((L) => ({
4656
- id: L.id,
4657
- name: L.name,
4658
- icon: L.icon ? L.icon : L.vendors?.items[0]?.subVendors[0]?.logo,
4659
- games: L.games.items.slice(0, 4).map((Nr) => Nr),
4660
- background: L.background,
4661
- flag: L.flags
4662
- }))), r(8, S = m.length);
4697
+ b.searchParams.append("language", s), b.searchParams.append("expand", "games"), fetch(b.href).then((A) => A.json()).then((A) => {
4698
+ r(7, g = !1);
4699
+ let R = A.items.filter((I) => I.flags == a);
4700
+ r(3, d = R.map((I) => ({
4701
+ id: I.id,
4702
+ name: I.name,
4703
+ icon: I.icon ? I.icon : I.vendors?.items[0]?.subVendors[0]?.logo,
4704
+ games: I.games.items.slice(0, 4).map(($r) => $r),
4705
+ background: I.background,
4706
+ flag: I.flags
4707
+ }))), r(8, E = d.length);
4663
4708
  });
4664
- }, it = (b) => {
4665
- $ = [...g.children], $.forEach((C, O) => {
4666
- C.style.transform = `translateX(${100 * (b ? O - b : O)}%)`;
4667
- }), P = $[0].getBoundingClientRect().width, Sr();
4668
- }, Sr = () => {
4669
- r(9, _ = Math.floor(oe / P));
4670
- }, ot = () => {
4671
- it(p);
4672
- }, st = () => {
4673
- p === 0 ? p = S - _ : p - _ < -1 ? p = 0 : p--, ot();
4674
- }, at = () => {
4675
- p === S - _ ? p = 0 : S - _ < p + 1 ? p = S - _ : p++, ot();
4676
- }, lt = (b, C, O, L) => {
4709
+ }, lt = (b) => {
4710
+ M = [...m.children], M.forEach((A, R) => {
4711
+ A.style.transform = `translateX(${100 * (b ? R - b : R)}%)`;
4712
+ }), D = M[0].getBoundingClientRect().width, Pr();
4713
+ }, Pr = () => {
4714
+ r(9, T = Math.floor(ie / D));
4715
+ }, ut = () => {
4716
+ lt(x);
4717
+ }, ht = () => {
4718
+ x === 0 ? x = E - T : x - T < -1 ? x = 0 : x--, ut();
4719
+ }, ct = () => {
4720
+ x === E - T ? x = 0 : E - T < x + 1 ? x = E - T : x++, ut();
4721
+ }, ft = (b, A, R, I) => {
4677
4722
  window.postMessage(
4678
4723
  {
4679
4724
  type: "OpenCollectionsProvidersGame",
4680
4725
  gameId: b,
4681
- launchUrl: C,
4682
- gameName: O,
4683
- subVendor: L
4726
+ launchUrl: A,
4727
+ gameName: R,
4728
+ subVendor: I
4684
4729
  },
4685
4730
  window.location.href
4686
4731
  ), typeof gtag == "function" && gtag("event", "OpenGame", {
4687
4732
  context: "CollectionsProviders",
4688
- gameName: `${O}`
4733
+ gameName: `${R}`
4689
4734
  });
4690
- }, ut = (b) => {
4735
+ }, dt = (b) => {
4691
4736
  window.postMessage(
4692
4737
  {
4693
4738
  type: "OpenCollectionsProvidersCategory",
@@ -4695,89 +4740,77 @@ function vo(e, t, r) {
4695
4740
  },
4696
4741
  window.location.href
4697
4742
  );
4698
- }, wr = () => {
4699
- Qi(s);
4700
- }, Tr = () => {
4701
- let b = document.createElement("style");
4702
- b.innerHTML = h, B.appendChild(b);
4703
- }, Hr = () => {
4704
- let b = new URL(l), C = document.createElement("style");
4705
- fetch(b.href).then((O) => O.text()).then((O) => {
4706
- C.innerHTML = O, setTimeout(
4707
- () => {
4708
- B.appendChild(C);
4709
- },
4710
- 1
4711
- );
4712
- });
4743
+ }, Br = () => {
4744
+ Yi(s);
4713
4745
  };
4714
- Wr(() => {
4715
- r(10, ie = ho(j));
4716
- });
4717
- const Cr = () => st(), Pr = () => at(), Br = (b) => lt(b.gameId, b.launchUrl, b.name, b.subVendor), Ar = (b) => ut(b.id);
4718
- function Or(b) {
4719
- xe[b ? "unshift" : "push"](() => {
4720
- g = b, r(4, g);
4746
+ Qr(() => (r(10, at = fo(ce)), () => {
4747
+ }));
4748
+ const Ar = () => ht(), Or = () => ct(), Ir = (b) => ft(b.gameId, b.launchUrl, b.name, b.subVendor), Lr = (b) => dt(b.id);
4749
+ function Nr(b) {
4750
+ Ee[b ? "unshift" : "push"](() => {
4751
+ m = b, r(4, m);
4721
4752
  });
4722
4753
  }
4723
- function Ir() {
4724
- oe = this.clientWidth, r(6, oe);
4754
+ function Mr() {
4755
+ ie = this.clientWidth, r(6, ie);
4725
4756
  }
4726
- function Lr(b) {
4727
- xe[b ? "unshift" : "push"](() => {
4757
+ function Rr(b) {
4758
+ Ee[b ? "unshift" : "push"](() => {
4728
4759
  B = b, r(5, B);
4729
4760
  });
4730
4761
  }
4731
4762
  return e.$$set = (b) => {
4732
- "endpoint" in b && r(16, i = b.endpoint), "datasource" in b && r(17, o = b.datasource), "lang" in b && r(18, s = b.lang), "type" in b && r(0, a = b.type), "titletype" in b && r(1, u = b.titletype), "clientstyling" in b && r(19, h = b.clientstyling), "clientstylingurl" in b && r(20, l = b.clientstylingurl), "translationurl" in b && r(21, c = b.translationurl), "collectionprovidersgamenames" in b && r(2, f = b.collectionprovidersgamenames);
4763
+ "endpoint" in b && r(16, i = b.endpoint), "datasource" in b && r(17, o = b.datasource), "lang" in b && r(18, s = b.lang), "type" in b && r(0, a = b.type), "titletype" in b && r(1, u = b.titletype), "clientstyling" in b && r(19, h = b.clientstyling), "clientstylingurl" in b && r(20, l = b.clientstylingurl), "translationurl" in b && r(21, c = b.translationurl), "collectionprovidersgamenames" in b && r(2, f = b.collectionprovidersgamenames), "mbsource" in b && r(22, p = b.mbsource);
4733
4764
  }, e.$$.update = () => {
4734
4765
  e.$$.dirty[0] & /*endpoint, datasource, lang*/
4735
- 458752 && i && o && s && Er(), e.$$.dirty[0] & /*categoriesSliderWidth, gameCategories, categoriesSlider*/
4736
- 88 && oe && m && g && it(), e.$$.dirty[0] & /*lang*/
4737
- 262144 && s && wr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4738
- 524320 && h && B && Tr(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4739
- 1048608 && l && B && Hr(), e.$$.dirty[0] & /*translationurl*/
4740
- 2097152 && c && xr();
4766
+ 458752 && i && o && s && Cr(), e.$$.dirty[0] & /*categoriesSliderWidth, gameCategories, categoriesSlider*/
4767
+ 88 && ie && d && m && lt(), e.$$.dirty[0] & /*lang*/
4768
+ 262144 && s && Br(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4769
+ 524320 && h && B && po(B, h), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4770
+ 1048608 && l && B && mo(B, l), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
4771
+ 4194336 && B && bo(B, `${p}.Style`), e.$$.dirty[0] & /*translationurl*/
4772
+ 2097152 && c && Hr();
4741
4773
  }, [
4742
4774
  a,
4743
4775
  u,
4744
4776
  f,
4777
+ d,
4745
4778
  m,
4746
- g,
4747
4779
  B,
4748
- oe,
4749
- d,
4750
- S,
4751
- _,
4752
4780
  ie,
4753
- n,
4754
- st,
4781
+ g,
4782
+ E,
4783
+ T,
4755
4784
  at,
4756
- lt,
4757
- ut,
4785
+ n,
4786
+ ht,
4787
+ ct,
4788
+ ft,
4789
+ dt,
4758
4790
  i,
4759
4791
  o,
4760
4792
  s,
4761
4793
  h,
4762
4794
  l,
4763
4795
  c,
4764
- Cr,
4765
- Pr,
4766
- Br,
4796
+ p,
4767
4797
  Ar,
4768
4798
  Or,
4769
4799
  Ir,
4770
- Lr
4800
+ Lr,
4801
+ Nr,
4802
+ Mr,
4803
+ Rr
4771
4804
  ];
4772
4805
  }
4773
- class yo extends on {
4806
+ class wo extends ln {
4774
4807
  constructor(t) {
4775
- super(), rn(
4808
+ super(), sn(
4776
4809
  this,
4777
4810
  t,
4778
- vo,
4779
- go,
4780
- Ft,
4811
+ So,
4812
+ xo,
4813
+ Xt,
4781
4814
  {
4782
4815
  endpoint: 16,
4783
4816
  datasource: 17,
@@ -4787,9 +4820,10 @@ class yo extends on {
4787
4820
  clientstyling: 19,
4788
4821
  clientstylingurl: 20,
4789
4822
  translationurl: 21,
4790
- collectionprovidersgamenames: 2
4823
+ collectionprovidersgamenames: 2,
4824
+ mbsource: 22
4791
4825
  },
4792
- co,
4826
+ go,
4793
4827
  [-1, -1]
4794
4828
  );
4795
4829
  }
@@ -4797,58 +4831,64 @@ class yo extends on {
4797
4831
  return this.$$.ctx[16];
4798
4832
  }
4799
4833
  set endpoint(t) {
4800
- this.$$set({ endpoint: t }), M();
4834
+ this.$$set({ endpoint: t }), L();
4801
4835
  }
4802
4836
  get datasource() {
4803
4837
  return this.$$.ctx[17];
4804
4838
  }
4805
4839
  set datasource(t) {
4806
- this.$$set({ datasource: t }), M();
4840
+ this.$$set({ datasource: t }), L();
4807
4841
  }
4808
4842
  get lang() {
4809
4843
  return this.$$.ctx[18];
4810
4844
  }
4811
4845
  set lang(t) {
4812
- this.$$set({ lang: t }), M();
4846
+ this.$$set({ lang: t }), L();
4813
4847
  }
4814
4848
  get type() {
4815
4849
  return this.$$.ctx[0];
4816
4850
  }
4817
4851
  set type(t) {
4818
- this.$$set({ type: t }), M();
4852
+ this.$$set({ type: t }), L();
4819
4853
  }
4820
4854
  get titletype() {
4821
4855
  return this.$$.ctx[1];
4822
4856
  }
4823
4857
  set titletype(t) {
4824
- this.$$set({ titletype: t }), M();
4858
+ this.$$set({ titletype: t }), L();
4825
4859
  }
4826
4860
  get clientstyling() {
4827
4861
  return this.$$.ctx[19];
4828
4862
  }
4829
4863
  set clientstyling(t) {
4830
- this.$$set({ clientstyling: t }), M();
4864
+ this.$$set({ clientstyling: t }), L();
4831
4865
  }
4832
4866
  get clientstylingurl() {
4833
4867
  return this.$$.ctx[20];
4834
4868
  }
4835
4869
  set clientstylingurl(t) {
4836
- this.$$set({ clientstylingurl: t }), M();
4870
+ this.$$set({ clientstylingurl: t }), L();
4837
4871
  }
4838
4872
  get translationurl() {
4839
4873
  return this.$$.ctx[21];
4840
4874
  }
4841
4875
  set translationurl(t) {
4842
- this.$$set({ translationurl: t }), M();
4876
+ this.$$set({ translationurl: t }), L();
4843
4877
  }
4844
4878
  get collectionprovidersgamenames() {
4845
4879
  return this.$$.ctx[2];
4846
4880
  }
4847
4881
  set collectionprovidersgamenames(t) {
4848
- this.$$set({ collectionprovidersgamenames: t }), M();
4882
+ this.$$set({ collectionprovidersgamenames: t }), L();
4883
+ }
4884
+ get mbsource() {
4885
+ return this.$$.ctx[22];
4886
+ }
4887
+ set mbsource(t) {
4888
+ this.$$set({ mbsource: t }), L();
4849
4889
  }
4850
4890
  }
4851
- nn(yo, { endpoint: {}, datasource: {}, lang: {}, type: {}, titletype: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, collectionprovidersgamenames: {} }, [], [], !0);
4891
+ an(wo, { endpoint: {}, datasource: {}, lang: {}, type: {}, titletype: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, collectionprovidersgamenames: {}, mbsource: {} }, [], [], !0);
4852
4892
  export {
4853
- yo as C
4893
+ wo as C
4854
4894
  };