@everymatrix/casino-collections-providers 1.60.1 → 1.61.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,28 +1,29 @@
1
+ import "../stencil/ui-image-BNrzgSpe.js";
1
2
  function A() {
2
3
  }
3
- function kt(e) {
4
+ function Ft(e) {
4
5
  return e();
5
6
  }
6
- function dt() {
7
+ function ct() {
7
8
  return /* @__PURE__ */ Object.create(null);
8
9
  }
9
- function te(e) {
10
- e.forEach(kt);
10
+ function re(e) {
11
+ e.forEach(Ft);
11
12
  }
12
13
  function tt(e) {
13
14
  return typeof e == "function";
14
15
  }
15
- function Vt(e, t) {
16
+ function jt(e, t) {
16
17
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
18
  }
18
- let ce;
19
- function ve(e, t) {
20
- return e === t ? !0 : (ce || (ce = document.createElement("a")), ce.href = t, e === ce.href);
19
+ let fe;
20
+ function ye(e, t) {
21
+ return e === t ? !0 : (fe || (fe = document.createElement("a")), fe.href = t, e === fe.href);
21
22
  }
22
- function $r(e) {
23
+ function Nr(e) {
23
24
  return Object.keys(e).length === 0;
24
25
  }
25
- function Xt(e, ...t) {
26
+ function kt(e, ...t) {
26
27
  if (e == null) {
27
28
  for (const n of t)
28
29
  n(void 0);
@@ -31,20 +32,20 @@ function Xt(e, ...t) {
31
32
  const r = e.subscribe(...t);
32
33
  return r.unsubscribe ? () => r.unsubscribe() : r;
33
34
  }
34
- function Gr(e, t, r) {
35
- e.$$.on_destroy.push(Xt(t, r));
35
+ function Mr(e, t, r) {
36
+ e.$$.on_destroy.push(kt(t, r));
36
37
  }
37
- function H(e, t) {
38
+ function T(e, t) {
38
39
  e.appendChild(t);
39
40
  }
40
- function Ur(e, t, r) {
41
- const n = Dr(e);
41
+ function Rr(e, t, r) {
42
+ const n = $r(e);
42
43
  if (!n.getElementById(t)) {
43
- const i = C("style");
44
- i.id = t, i.textContent = r, Fr(n, i);
44
+ const i = H("style");
45
+ i.id = t, i.textContent = r, Gr(n, i);
45
46
  }
46
47
  }
47
- function Dr(e) {
48
+ function $r(e) {
48
49
  if (!e)
49
50
  return document;
50
51
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -54,54 +55,58 @@ function Dr(e) {
54
55
  t
55
56
  ) : e.ownerDocument;
56
57
  }
57
- function Fr(e, t) {
58
- return H(
58
+ function Gr(e, t) {
59
+ return T(
59
60
  /** @type {Document} */
60
61
  e.head || e,
61
62
  t
62
63
  ), t.sheet;
63
64
  }
64
- function $(e, t, r) {
65
+ function G(e, t, r) {
65
66
  e.insertBefore(t, r || null);
66
67
  }
67
68
  function I(e) {
68
69
  e.parentNode && e.parentNode.removeChild(e);
69
70
  }
70
- function Wt(e, t) {
71
+ function Vt(e, t) {
71
72
  for (let r = 0; r < e.length; r += 1)
72
73
  e[r] && e[r].d(t);
73
74
  }
74
- function C(e) {
75
+ function H(e) {
75
76
  return document.createElement(e);
76
77
  }
77
- function we(e) {
78
+ function Te(e) {
78
79
  return document.createTextNode(e);
79
80
  }
80
- function k() {
81
- return we(" ");
81
+ function V() {
82
+ return Te(" ");
82
83
  }
83
- function ye(e, t, r, n) {
84
+ function _e(e, t, r, n) {
84
85
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
85
86
  }
86
- function jr(e) {
87
+ function Ur(e) {
87
88
  return function(t) {
88
89
  return t.stopPropagation(), e.call(this, t);
89
90
  };
90
91
  }
91
- function x(e, t, r) {
92
+ function C(e, t, r) {
92
93
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
93
94
  }
94
- function kr(e) {
95
+ function $(e, t, r) {
96
+ const n = t.toLowerCase();
97
+ n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : C(e, t, r);
98
+ }
99
+ function Dr(e) {
95
100
  return Array.from(e.childNodes);
96
101
  }
97
102
  function rt(e, t) {
98
103
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
99
104
  t);
100
105
  }
101
- function Oe(e, t, r, n) {
106
+ function Le(e, t, r, n) {
102
107
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
103
108
  }
104
- function Vr(e) {
109
+ function Fr(e) {
105
110
  const t = {};
106
111
  return e.childNodes.forEach(
107
112
  /** @param {Element} node */
@@ -110,90 +115,90 @@ function Vr(e) {
110
115
  }
111
116
  ), t;
112
117
  }
113
- let ae;
114
- function se(e) {
115
- ae = e;
118
+ let le;
119
+ function ae(e) {
120
+ le = e;
116
121
  }
117
- function Xr() {
118
- if (!ae)
122
+ function jr() {
123
+ if (!le)
119
124
  throw new Error("Function called outside component initialization");
120
- return ae;
125
+ return le;
121
126
  }
122
- function Wr(e) {
123
- Xr().$$.on_mount.push(e);
127
+ function kr(e) {
128
+ jr().$$.on_mount.push(e);
124
129
  }
125
- const Z = [], _e = [];
126
- let Q = [];
127
- const pt = [], zr = /* @__PURE__ */ Promise.resolve();
130
+ const Q = [], xe = [];
131
+ let q = [];
132
+ const ft = [], Vr = /* @__PURE__ */ Promise.resolve();
128
133
  let De = !1;
129
- function Zr() {
130
- De || (De = !0, zr.then(O));
134
+ function Xr() {
135
+ De || (De = !0, Vr.then(O));
131
136
  }
132
137
  function Fe(e) {
133
- Q.push(e);
138
+ q.push(e);
134
139
  }
135
- const Le = /* @__PURE__ */ new Set();
136
- let W = 0;
140
+ const Ie = /* @__PURE__ */ new Set();
141
+ let z = 0;
137
142
  function O() {
138
- if (W !== 0)
143
+ if (z !== 0)
139
144
  return;
140
- const e = ae;
145
+ const e = le;
141
146
  do {
142
147
  try {
143
- for (; W < Z.length; ) {
144
- const t = Z[W];
145
- W++, se(t), Qr(t.$$);
148
+ for (; z < Q.length; ) {
149
+ const t = Q[z];
150
+ z++, ae(t), Wr(t.$$);
146
151
  }
147
152
  } catch (t) {
148
- throw Z.length = 0, W = 0, t;
153
+ throw Q.length = 0, z = 0, t;
149
154
  }
150
- for (se(null), Z.length = 0, W = 0; _e.length; )
151
- _e.pop()();
152
- for (let t = 0; t < Q.length; t += 1) {
153
- const r = Q[t];
154
- Le.has(r) || (Le.add(r), r());
155
+ for (ae(null), Q.length = 0, z = 0; xe.length; )
156
+ xe.pop()();
157
+ for (let t = 0; t < q.length; t += 1) {
158
+ const r = q[t];
159
+ Ie.has(r) || (Ie.add(r), r());
155
160
  }
156
- Q.length = 0;
157
- } while (Z.length);
158
- for (; pt.length; )
159
- pt.pop()();
160
- De = !1, Le.clear(), se(e);
161
+ q.length = 0;
162
+ } while (Q.length);
163
+ for (; ft.length; )
164
+ ft.pop()();
165
+ De = !1, Ie.clear(), ae(e);
161
166
  }
162
- function Qr(e) {
167
+ function Wr(e) {
163
168
  if (e.fragment !== null) {
164
- e.update(), te(e.before_update);
169
+ e.update(), re(e.before_update);
165
170
  const t = e.dirty;
166
171
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Fe);
167
172
  }
168
173
  }
169
- function qr(e) {
174
+ function zr(e) {
170
175
  const t = [], r = [];
171
- Q.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Q = t;
176
+ q.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), q = t;
172
177
  }
173
- const Jr = /* @__PURE__ */ new Set();
174
- function Yr(e, t) {
175
- e && e.i && (Jr.delete(e), e.i(t));
178
+ const Zr = /* @__PURE__ */ new Set();
179
+ function Qr(e, t) {
180
+ e && e.i && (Zr.delete(e), e.i(t));
176
181
  }
177
182
  function Ee(e) {
178
183
  return e?.length !== void 0 ? e : Array.from(e);
179
184
  }
180
- function Kr(e, t, r) {
185
+ function qr(e, t, r) {
181
186
  const { fragment: n, after_update: i } = e.$$;
182
187
  n && n.m(t, r), Fe(() => {
183
- const o = e.$$.on_mount.map(kt).filter(tt);
184
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : te(o), e.$$.on_mount = [];
188
+ const o = e.$$.on_mount.map(Ft).filter(tt);
189
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : re(o), e.$$.on_mount = [];
185
190
  }), i.forEach(Fe);
186
191
  }
187
- function en(e, t) {
192
+ function Jr(e, t) {
188
193
  const r = e.$$;
189
- r.fragment !== null && (qr(r.after_update), te(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
194
+ r.fragment !== null && (zr(r.after_update), re(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
190
195
  }
191
- function tn(e, t) {
192
- e.$$.dirty[0] === -1 && (Z.push(e), Zr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
196
+ function Yr(e, t) {
197
+ e.$$.dirty[0] === -1 && (Q.push(e), Xr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
193
198
  }
194
- function rn(e, t, r, n, i, o, s = null, a = [-1]) {
195
- const h = ae;
196
- se(e);
199
+ function Kr(e, t, r, n, i, o, s = null, a = [-1]) {
200
+ const h = le;
201
+ ae(e);
197
202
  const u = e.$$ = {
198
203
  fragment: null,
199
204
  ctx: [],
@@ -201,7 +206,7 @@ function rn(e, t, r, n, i, o, s = null, a = [-1]) {
201
206
  props: o,
202
207
  update: A,
203
208
  not_equal: i,
204
- bound: dt(),
209
+ bound: ct(),
205
210
  // lifecycle
206
211
  on_mount: [],
207
212
  on_destroy: [],
@@ -210,7 +215,7 @@ function rn(e, t, r, n, i, o, s = null, a = [-1]) {
210
215
  after_update: [],
211
216
  context: new Map(t.context || (h ? h.$$.context : [])),
212
217
  // everything else
213
- callbacks: dt(),
218
+ callbacks: ct(),
214
219
  dirty: a,
215
220
  skip_bound: !1,
216
221
  root: t.target || h.$$.root
@@ -219,19 +224,19 @@ function rn(e, t, r, n, i, o, s = null, a = [-1]) {
219
224
  let l = !1;
220
225
  if (u.ctx = r ? r(e, t.props || {}, (f, c, ...d) => {
221
226
  const m = d.length ? d[0] : c;
222
- return u.ctx && i(u.ctx[f], u.ctx[f] = m) && (!u.skip_bound && u.bound[f] && u.bound[f](m), l && tn(e, f)), c;
223
- }) : [], u.update(), l = !0, te(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
227
+ return u.ctx && i(u.ctx[f], u.ctx[f] = m) && (!u.skip_bound && u.bound[f] && u.bound[f](m), l && Yr(e, f)), c;
228
+ }) : [], u.update(), l = !0, re(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
224
229
  if (t.hydrate) {
225
- const f = kr(t.target);
230
+ const f = Dr(t.target);
226
231
  u.fragment && u.fragment.l(f), f.forEach(I);
227
232
  } else
228
233
  u.fragment && u.fragment.c();
229
- t.intro && Yr(e.$$.fragment), Kr(e, t.target, t.anchor), O();
234
+ t.intro && Qr(e.$$.fragment), qr(e, t.target, t.anchor), O();
230
235
  }
231
- se(h);
236
+ ae(h);
232
237
  }
233
- let zt;
234
- typeof HTMLElement == "function" && (zt = class extends HTMLElement {
238
+ let Xt;
239
+ typeof HTMLElement == "function" && (Xt = class extends HTMLElement {
235
240
  /** The Svelte component constructor */
236
241
  $$ctor;
237
242
  /** Slots */
@@ -273,14 +278,14 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
273
278
  let o;
274
279
  return {
275
280
  c: function() {
276
- o = C("slot"), i !== "default" && x(o, "name", i);
281
+ o = H("slot"), i !== "default" && C(o, "name", i);
277
282
  },
278
283
  /**
279
284
  * @param {HTMLElement} target
280
285
  * @param {HTMLElement} [anchor]
281
286
  */
282
287
  m: function(h, u) {
283
- $(h, o, u);
288
+ G(h, o, u);
284
289
  },
285
290
  d: function(h) {
286
291
  h && I(o);
@@ -290,12 +295,12 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
290
295
  };
291
296
  if (await Promise.resolve(), !this.$$cn || this.$$c)
292
297
  return;
293
- const t = {}, r = Vr(this);
298
+ const t = {}, r = Fr(this);
294
299
  for (const i of this.$$s)
295
300
  i in r && (t[i] = [e(i)]);
296
301
  for (const i of this.attributes) {
297
302
  const o = this.$$g_p(i.name);
298
- o in this.$$d || (this.$$d[o] = pe(o, i.value, this.$$p_d, "toProp"));
303
+ o in this.$$d || (this.$$d[o] = me(o, i.value, this.$$p_d, "toProp"));
299
304
  }
300
305
  for (const i in this.$$p_d)
301
306
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -313,7 +318,7 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
313
318
  this.$$r = !0;
314
319
  for (const i in this.$$p_d)
315
320
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
316
- const o = pe(
321
+ const o = me(
317
322
  i,
318
323
  this.$$d[i],
319
324
  this.$$p_d,
@@ -335,7 +340,7 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
335
340
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
336
341
  // and setting attributes through setAttribute etc, this is helpful
337
342
  attributeChangedCallback(e, t, r) {
338
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = pe(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
343
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = me(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
339
344
  }
340
345
  disconnectedCallback() {
341
346
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -348,7 +353,7 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
348
353
  ) || e;
349
354
  }
350
355
  });
351
- function pe(e, t, r, n) {
356
+ function me(e, t, r, n) {
352
357
  const i = r[e]?.type;
353
358
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
354
359
  return t;
@@ -377,8 +382,8 @@ function pe(e, t, r, n) {
377
382
  return t;
378
383
  }
379
384
  }
380
- function nn(e, t, r, n, i, o) {
381
- let s = class extends zt {
385
+ function en(e, t, r, n, i, o) {
386
+ let s = class extends Xt {
382
387
  constructor() {
383
388
  super(e, r, i), this.$$p_d = t;
384
389
  }
@@ -394,7 +399,7 @@ function nn(e, t, r, n, i, o) {
394
399
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
395
400
  },
396
401
  set(h) {
397
- h = pe(a, h, t), this.$$d[a] = h, this.$$c?.$set({ [a]: h });
402
+ h = me(a, h, t), this.$$d[a] = h, this.$$c?.$set({ [a]: h });
398
403
  }
399
404
  });
400
405
  }), n.forEach((a) => {
@@ -406,7 +411,7 @@ function nn(e, t, r, n, i, o) {
406
411
  }), e.element = /** @type {any} */
407
412
  s, s;
408
413
  }
409
- class on {
414
+ class tn {
410
415
  /**
411
416
  * ### PRIVATE API
412
417
  *
@@ -425,7 +430,7 @@ class on {
425
430
  $$set = void 0;
426
431
  /** @returns {void} */
427
432
  $destroy() {
428
- en(this, 1), this.$destroy = A;
433
+ Jr(this, 1), this.$destroy = A;
429
434
  }
430
435
  /**
431
436
  * @template {Extract<keyof Events, string>} K
@@ -447,29 +452,29 @@ class on {
447
452
  * @returns {void}
448
453
  */
449
454
  $set(t) {
450
- this.$$set && !$r(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
455
+ this.$$set && !Nr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
451
456
  }
452
457
  }
453
- const sn = "4";
454
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(sn);
455
- const z = [];
456
- function an(e, t) {
458
+ const rn = "4";
459
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(rn);
460
+ const Z = [];
461
+ function nn(e, t) {
457
462
  return {
458
- subscribe: Te(e, t).subscribe
463
+ subscribe: He(e, t).subscribe
459
464
  };
460
465
  }
461
- function Te(e, t = A) {
466
+ function He(e, t = A) {
462
467
  let r;
463
468
  const n = /* @__PURE__ */ new Set();
464
469
  function i(a) {
465
- if (Vt(e, a) && (e = a, r)) {
466
- const h = !z.length;
470
+ if (jt(e, a) && (e = a, r)) {
471
+ const h = !Z.length;
467
472
  for (const u of n)
468
- u[1](), z.push(u, e);
473
+ u[1](), Z.push(u, e);
469
474
  if (h) {
470
- for (let u = 0; u < z.length; u += 2)
471
- z[u][0](z[u + 1]);
472
- z.length = 0;
475
+ for (let u = 0; u < Z.length; u += 2)
476
+ Z[u][0](Z[u + 1]);
477
+ Z.length = 0;
473
478
  }
474
479
  }
475
480
  }
@@ -484,12 +489,12 @@ function Te(e, t = A) {
484
489
  }
485
490
  return { set: i, update: o, subscribe: s };
486
491
  }
487
- function re(e, t, r) {
492
+ function ne(e, t, r) {
488
493
  const n = !Array.isArray(e), i = n ? [e] : e;
489
494
  if (!i.every(Boolean))
490
495
  throw new Error("derived() expects stores as input, got a falsy value");
491
496
  const o = t.length < 2;
492
- return an(r, (s, a) => {
497
+ return nn(r, (s, a) => {
493
498
  let h = !1;
494
499
  const u = [];
495
500
  let l = 0, f = A;
@@ -500,7 +505,7 @@ function re(e, t, r) {
500
505
  const m = t(n ? u[0] : u, s, a);
501
506
  o ? s(m) : f = tt(m) ? m : A;
502
507
  }, d = i.map(
503
- (m, b) => Xt(
508
+ (m, b) => kt(
504
509
  m,
505
510
  (g) => {
506
511
  u[b] = g, l &= ~(1 << b), h && c();
@@ -511,84 +516,84 @@ function re(e, t, r) {
511
516
  )
512
517
  );
513
518
  return h = !0, c(), function() {
514
- te(d), f(), h = !1;
519
+ re(d), f(), h = !1;
515
520
  };
516
521
  });
517
522
  }
518
- function ln(e) {
523
+ function on(e) {
519
524
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
520
525
  }
521
- var un = function(t) {
522
- return hn(t) && !cn(t);
526
+ var sn = function(t) {
527
+ return an(t) && !ln(t);
523
528
  };
524
- function hn(e) {
529
+ function an(e) {
525
530
  return !!e && typeof e == "object";
526
531
  }
527
- function cn(e) {
532
+ function ln(e) {
528
533
  var t = Object.prototype.toString.call(e);
529
- return t === "[object RegExp]" || t === "[object Date]" || pn(e);
534
+ return t === "[object RegExp]" || t === "[object Date]" || cn(e);
530
535
  }
531
- var fn = typeof Symbol == "function" && Symbol.for, dn = fn ? Symbol.for("react.element") : 60103;
532
- function pn(e) {
533
- return e.$$typeof === dn;
536
+ var un = typeof Symbol == "function" && Symbol.for, hn = un ? Symbol.for("react.element") : 60103;
537
+ function cn(e) {
538
+ return e.$$typeof === hn;
534
539
  }
535
- function mn(e) {
540
+ function fn(e) {
536
541
  return Array.isArray(e) ? [] : {};
537
542
  }
538
- function le(e, t) {
539
- return t.clone !== !1 && t.isMergeableObject(e) ? J(mn(e), e, t) : e;
543
+ function ue(e, t) {
544
+ return t.clone !== !1 && t.isMergeableObject(e) ? Y(fn(e), e, t) : e;
540
545
  }
541
- function bn(e, t, r) {
546
+ function dn(e, t, r) {
542
547
  return e.concat(t).map(function(n) {
543
- return le(n, r);
548
+ return ue(n, r);
544
549
  });
545
550
  }
546
- function gn(e, t) {
551
+ function pn(e, t) {
547
552
  if (!t.customMerge)
548
- return J;
553
+ return Y;
549
554
  var r = t.customMerge(e);
550
- return typeof r == "function" ? r : J;
555
+ return typeof r == "function" ? r : Y;
551
556
  }
552
- function vn(e) {
557
+ function mn(e) {
553
558
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
554
559
  return Object.propertyIsEnumerable.call(e, t);
555
560
  }) : [];
556
561
  }
557
- function mt(e) {
558
- return Object.keys(e).concat(vn(e));
562
+ function dt(e) {
563
+ return Object.keys(e).concat(mn(e));
559
564
  }
560
- function Zt(e, t) {
565
+ function Wt(e, t) {
561
566
  try {
562
567
  return t in e;
563
568
  } catch {
564
569
  return !1;
565
570
  }
566
571
  }
567
- function yn(e, t) {
568
- return Zt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
572
+ function bn(e, t) {
573
+ return Wt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
569
574
  }
570
- function _n(e, t, r) {
575
+ function gn(e, t, r) {
571
576
  var n = {};
572
- return r.isMergeableObject(e) && mt(e).forEach(function(i) {
573
- n[i] = le(e[i], r);
574
- }), mt(t).forEach(function(i) {
575
- yn(e, i) || (Zt(e, i) && r.isMergeableObject(t[i]) ? n[i] = gn(i, r)(e[i], t[i], r) : n[i] = le(t[i], r));
577
+ return r.isMergeableObject(e) && dt(e).forEach(function(i) {
578
+ n[i] = ue(e[i], r);
579
+ }), dt(t).forEach(function(i) {
580
+ bn(e, i) || (Wt(e, i) && r.isMergeableObject(t[i]) ? n[i] = pn(i, r)(e[i], t[i], r) : n[i] = ue(t[i], r));
576
581
  }), n;
577
582
  }
578
- function J(e, t, r) {
579
- r = r || {}, r.arrayMerge = r.arrayMerge || bn, r.isMergeableObject = r.isMergeableObject || un, r.cloneUnlessOtherwiseSpecified = le;
583
+ function Y(e, t, r) {
584
+ r = r || {}, r.arrayMerge = r.arrayMerge || dn, r.isMergeableObject = r.isMergeableObject || sn, r.cloneUnlessOtherwiseSpecified = ue;
580
585
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
581
- return o ? n ? r.arrayMerge(e, t, r) : _n(e, t, r) : le(t, r);
586
+ return o ? n ? r.arrayMerge(e, t, r) : gn(e, t, r) : ue(t, r);
582
587
  }
583
- J.all = function(t, r) {
588
+ Y.all = function(t, r) {
584
589
  if (!Array.isArray(t))
585
590
  throw new Error("first argument should be an array");
586
591
  return t.reduce(function(n, i) {
587
- return J(n, i, r);
592
+ return Y(n, i, r);
588
593
  }, {});
589
594
  };
590
- var En = J, xn = En;
591
- const Sn = /* @__PURE__ */ ln(xn);
595
+ var vn = Y, yn = vn;
596
+ const _n = /* @__PURE__ */ on(yn);
592
597
  /*! *****************************************************************************
593
598
  Copyright (c) Microsoft Corporation.
594
599
 
@@ -611,7 +616,7 @@ var je = function(e, t) {
611
616
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
612
617
  }, je(e, t);
613
618
  };
614
- function U(e, t) {
619
+ function D(e, t) {
615
620
  if (typeof t != "function" && t !== null)
616
621
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
617
622
  je(e, t);
@@ -630,7 +635,7 @@ var _ = function() {
630
635
  return t;
631
636
  }, _.apply(this, arguments);
632
637
  };
633
- function wn(e, t) {
638
+ function xn(e, t) {
634
639
  var r = {};
635
640
  for (var n in e)
636
641
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -671,111 +676,109 @@ function Ve(e, t) {
671
676
  }
672
677
  return o;
673
678
  }
674
- function q(e, t, r) {
679
+ function J(e, t, r) {
675
680
  if (r || arguments.length === 2)
676
681
  for (var n = 0, i = t.length, o; n < i; n++)
677
682
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
678
683
  return e.concat(o || t);
679
684
  }
680
- function Ie(e, t) {
681
- var r = t && t.cache ? t.cache : An, n = t && t.serializer ? t.serializer : Bn, i = t && t.strategy ? t.strategy : Hn;
685
+ function Ne(e, t) {
686
+ var r = t && t.cache ? t.cache : Pn, n = t && t.serializer ? t.serializer : Hn, i = t && t.strategy ? t.strategy : wn;
682
687
  return i(e, {
683
688
  cache: r,
684
689
  serializer: n
685
690
  });
686
691
  }
687
- function Tn(e) {
692
+ function En(e) {
688
693
  return e == null || typeof e == "number" || typeof e == "boolean";
689
694
  }
690
- function Qt(e, t, r, n) {
691
- var i = Tn(n) ? n : r(n), o = t.get(i);
695
+ function Sn(e, t, r, n) {
696
+ var i = En(n) ? n : r(n), o = t.get(i);
692
697
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
693
698
  }
694
- function qt(e, t, r) {
699
+ function zt(e, t, r) {
695
700
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
696
701
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
697
702
  }
698
- function nt(e, t, r, n, i) {
703
+ function Zt(e, t, r, n, i) {
699
704
  return r.bind(t, e, n, i);
700
705
  }
701
- function Hn(e, t) {
702
- var r = e.length === 1 ? Qt : qt;
703
- return nt(e, this, r, t.cache.create(), t.serializer);
704
- }
705
- function Cn(e, t) {
706
- return nt(e, this, qt, t.cache.create(), t.serializer);
706
+ function wn(e, t) {
707
+ var r = e.length === 1 ? Sn : zt;
708
+ return Zt(e, this, r, t.cache.create(), t.serializer);
707
709
  }
708
- function Pn(e, t) {
709
- return nt(e, this, Qt, t.cache.create(), t.serializer);
710
+ function Tn(e, t) {
711
+ return Zt(e, this, zt, t.cache.create(), t.serializer);
710
712
  }
711
- var Bn = function() {
713
+ var Hn = function() {
712
714
  return JSON.stringify(arguments);
713
- };
714
- function it() {
715
- this.cache = /* @__PURE__ */ Object.create(null);
716
- }
717
- it.prototype.get = function(e) {
718
- return this.cache[e];
719
- };
720
- it.prototype.set = function(e, t) {
721
- this.cache[e] = t;
722
- };
723
- var An = {
715
+ }, Cn = (
716
+ /** @class */
717
+ function() {
718
+ function e() {
719
+ this.cache = /* @__PURE__ */ Object.create(null);
720
+ }
721
+ return e.prototype.get = function(t) {
722
+ return this.cache[t];
723
+ }, e.prototype.set = function(t, r) {
724
+ this.cache[t] = r;
725
+ }, e;
726
+ }()
727
+ ), Pn = {
724
728
  create: function() {
725
- return new it();
729
+ return new Cn();
726
730
  }
727
- }, Ne = {
728
- variadic: Cn,
729
- monadic: Pn
731
+ }, Me = {
732
+ variadic: Tn
730
733
  }, v;
731
734
  (function(e) {
732
735
  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";
733
736
  })(v || (v = {}));
734
- var w;
737
+ var S;
735
738
  (function(e) {
736
739
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
737
- })(w || (w = {}));
738
- var Y;
740
+ })(S || (S = {}));
741
+ var K;
739
742
  (function(e) {
740
743
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
741
- })(Y || (Y = {}));
742
- function bt(e) {
743
- return e.type === w.literal;
744
+ })(K || (K = {}));
745
+ function pt(e) {
746
+ return e.type === S.literal;
744
747
  }
745
- function On(e) {
746
- return e.type === w.argument;
748
+ function Bn(e) {
749
+ return e.type === S.argument;
750
+ }
751
+ function Qt(e) {
752
+ return e.type === S.number;
753
+ }
754
+ function qt(e) {
755
+ return e.type === S.date;
747
756
  }
748
757
  function Jt(e) {
749
- return e.type === w.number;
758
+ return e.type === S.time;
750
759
  }
751
760
  function Yt(e) {
752
- return e.type === w.date;
761
+ return e.type === S.select;
753
762
  }
754
763
  function Kt(e) {
755
- return e.type === w.time;
764
+ return e.type === S.plural;
765
+ }
766
+ function An(e) {
767
+ return e.type === S.pound;
756
768
  }
757
769
  function er(e) {
758
- return e.type === w.select;
770
+ return e.type === S.tag;
759
771
  }
760
772
  function tr(e) {
761
- return e.type === w.plural;
762
- }
763
- function Ln(e) {
764
- return e.type === w.pound;
765
- }
766
- function rr(e) {
767
- return e.type === w.tag;
768
- }
769
- function nr(e) {
770
- return !!(e && typeof e == "object" && e.type === Y.number);
773
+ return !!(e && typeof e == "object" && e.type === K.number);
771
774
  }
772
775
  function Xe(e) {
773
- return !!(e && typeof e == "object" && e.type === Y.dateTime);
776
+ return !!(e && typeof e == "object" && e.type === K.dateTime);
774
777
  }
775
- var ir = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, In = /(?:[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;
776
- function Nn(e) {
778
+ var rr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, On = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
779
+ function Ln(e) {
777
780
  var t = {};
778
- return e.replace(In, function(r) {
781
+ return e.replace(On, function(r) {
779
782
  var n = r.length;
780
783
  switch (r[0]) {
781
784
  case "G":
@@ -864,11 +867,11 @@ function Nn(e) {
864
867
  return "";
865
868
  }), t;
866
869
  }
867
- var Mn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
868
- function Rn(e) {
870
+ var In = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
871
+ function Nn(e) {
869
872
  if (e.length === 0)
870
873
  throw new Error("Number skeleton cannot be empty");
871
- for (var t = e.split(Mn).filter(function(c) {
874
+ for (var t = e.split(In).filter(function(c) {
872
875
  return c.length > 0;
873
876
  }), r = [], n = 0, i = t; n < i.length; n++) {
874
877
  var o = i[n], s = o.split("/");
@@ -883,17 +886,17 @@ function Rn(e) {
883
886
  }
884
887
  return r;
885
888
  }
886
- function $n(e) {
889
+ function Mn(e) {
887
890
  return e.replace(/^(.*?)-/, "");
888
891
  }
889
- var gt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, or = /^(@+)?(\+|#+)?[rs]?$/g, Gn = /(\*)(0+)|(#+)(0+)|(0+)/g, sr = /^(0+)$/;
890
- function vt(e) {
892
+ var mt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, nr = /^(@+)?(\+|#+)?[rs]?$/g, Rn = /(\*)(0+)|(#+)(0+)|(0+)/g, ir = /^(0+)$/;
893
+ function bt(e) {
891
894
  var t = {};
892
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(or, function(r, n, i) {
895
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(nr, function(r, n, i) {
893
896
  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)), "";
894
897
  }), t;
895
898
  }
896
- function ar(e) {
899
+ function or(e) {
897
900
  switch (e) {
898
901
  case "sign-auto":
899
902
  return {
@@ -933,7 +936,7 @@ function ar(e) {
933
936
  };
934
937
  }
935
938
  }
936
- function Un(e) {
939
+ function $n(e) {
937
940
  var t;
938
941
  if (e[0] === "E" && e[1] === "E" ? (t = {
939
942
  notation: "engineering"
@@ -941,17 +944,17 @@ function Un(e) {
941
944
  notation: "scientific"
942
945
  }, e = e.slice(1)), t) {
943
946
  var r = e.slice(0, 2);
944
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !sr.test(e))
947
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !ir.test(e))
945
948
  throw new Error("Malformed concise eng/scientific notation");
946
949
  t.minimumIntegerDigits = e.length;
947
950
  }
948
951
  return t;
949
952
  }
950
- function yt(e) {
951
- var t = {}, r = ar(e);
953
+ function gt(e) {
954
+ var t = {}, r = or(e);
952
955
  return r || t;
953
956
  }
954
- function Dn(e) {
957
+ function Gn(e) {
955
958
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
956
959
  var i = n[r];
957
960
  switch (i.stem) {
@@ -975,7 +978,7 @@ function Dn(e) {
975
978
  continue;
976
979
  case "measure-unit":
977
980
  case "unit":
978
- t.style = "unit", t.unit = $n(i.options[0]);
981
+ t.style = "unit", t.unit = Mn(i.options[0]);
979
982
  continue;
980
983
  case "compact-short":
981
984
  case "K":
@@ -987,12 +990,12 @@ function Dn(e) {
987
990
  continue;
988
991
  case "scientific":
989
992
  t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
990
- return _(_({}, h), yt(u));
993
+ return _(_({}, h), gt(u));
991
994
  }, {}));
992
995
  continue;
993
996
  case "engineering":
994
997
  t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
995
- return _(_({}, h), yt(u));
998
+ return _(_({}, h), gt(u));
996
999
  }, {}));
997
1000
  continue;
998
1001
  case "notation-simple":
@@ -1037,7 +1040,7 @@ function Dn(e) {
1037
1040
  case "integer-width":
1038
1041
  if (i.options.length > 1)
1039
1042
  throw new RangeError("integer-width stems only accept a single optional option");
1040
- i.options[0].replace(Gn, function(h, u, l, f, c, d) {
1043
+ i.options[0].replace(Rn, function(h, u, l, f, c, d) {
1041
1044
  if (u)
1042
1045
  t.minimumIntegerDigits = l.length;
1043
1046
  else {
@@ -1050,32 +1053,32 @@ function Dn(e) {
1050
1053
  });
1051
1054
  continue;
1052
1055
  }
1053
- if (sr.test(i.stem)) {
1056
+ if (ir.test(i.stem)) {
1054
1057
  t.minimumIntegerDigits = i.stem.length;
1055
1058
  continue;
1056
1059
  }
1057
- if (gt.test(i.stem)) {
1060
+ if (mt.test(i.stem)) {
1058
1061
  if (i.options.length > 1)
1059
1062
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1060
- i.stem.replace(gt, function(h, u, l, f, c, d) {
1063
+ i.stem.replace(mt, function(h, u, l, f, c, d) {
1061
1064
  return l === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1062
1065
  });
1063
1066
  var o = i.options[0];
1064
- o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), vt(o)));
1067
+ o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), bt(o)));
1065
1068
  continue;
1066
1069
  }
1067
- if (or.test(i.stem)) {
1068
- t = _(_({}, t), vt(i.stem));
1070
+ if (nr.test(i.stem)) {
1071
+ t = _(_({}, t), bt(i.stem));
1069
1072
  continue;
1070
1073
  }
1071
- var s = ar(i.stem);
1074
+ var s = or(i.stem);
1072
1075
  s && (t = _(_({}, t), s));
1073
- var a = Un(i.stem);
1076
+ var a = $n(i.stem);
1074
1077
  a && (t = _(_({}, t), a));
1075
1078
  }
1076
1079
  return t;
1077
1080
  }
1078
- var fe = {
1081
+ var de = {
1079
1082
  "001": [
1080
1083
  "H",
1081
1084
  "h"
@@ -2490,13 +2493,13 @@ var fe = {
2490
2493
  "h"
2491
2494
  ]
2492
2495
  };
2493
- function Fn(e, t) {
2496
+ function Un(e, t) {
2494
2497
  for (var r = "", n = 0; n < e.length; n++) {
2495
2498
  var i = e.charAt(n);
2496
2499
  if (i === "j") {
2497
2500
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2498
2501
  o++, n++;
2499
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = jn(t);
2502
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Dn(t);
2500
2503
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2501
2504
  r += h;
2502
2505
  for (; s-- > 0; )
@@ -2506,7 +2509,7 @@ function Fn(e, t) {
2506
2509
  }
2507
2510
  return r;
2508
2511
  }
2509
- function jn(e) {
2512
+ function Dn(e) {
2510
2513
  var t = e.hourCycle;
2511
2514
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2512
2515
  e.hourCycles && // @ts-ignore
@@ -2525,23 +2528,23 @@ function jn(e) {
2525
2528
  }
2526
2529
  var r = e.language, n;
2527
2530
  r !== "root" && (n = e.maximize().region);
2528
- var i = fe[n || ""] || fe[r || ""] || fe["".concat(r, "-001")] || fe["001"];
2531
+ var i = de[n || ""] || de[r || ""] || de["".concat(r, "-001")] || de["001"];
2529
2532
  return i[0];
2530
2533
  }
2531
- var Me, kn = new RegExp("^".concat(ir.source, "*")), Vn = new RegExp("".concat(ir.source, "*$"));
2534
+ var Re, Fn = new RegExp("^".concat(rr.source, "*")), jn = new RegExp("".concat(rr.source, "*$"));
2532
2535
  function y(e, t) {
2533
2536
  return { start: e, end: t };
2534
2537
  }
2535
- var Xn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Wn = !!String.fromCodePoint, zn = !!Object.fromEntries, Zn = !!String.prototype.codePointAt, Qn = !!String.prototype.trimStart, qn = !!String.prototype.trimEnd, Jn = !!Number.isSafeInteger, Yn = Jn ? Number.isSafeInteger : function(e) {
2538
+ var kn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Vn = !!String.fromCodePoint, Xn = !!Object.fromEntries, Wn = !!String.prototype.codePointAt, zn = !!String.prototype.trimStart, Zn = !!String.prototype.trimEnd, Qn = !!Number.isSafeInteger, qn = Qn ? Number.isSafeInteger : function(e) {
2536
2539
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2537
2540
  }, We = !0;
2538
2541
  try {
2539
- var Kn = ur("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2540
- We = ((Me = Kn.exec("a")) === null || Me === void 0 ? void 0 : Me[0]) === "a";
2542
+ var Jn = ar("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2543
+ We = ((Re = Jn.exec("a")) === null || Re === void 0 ? void 0 : Re[0]) === "a";
2541
2544
  } catch {
2542
2545
  We = !1;
2543
2546
  }
2544
- var _t = Xn ? (
2547
+ var vt = kn ? (
2545
2548
  // Native
2546
2549
  function(t, r, n) {
2547
2550
  return t.startsWith(r, n);
@@ -2551,7 +2554,7 @@ var _t = Xn ? (
2551
2554
  function(t, r, n) {
2552
2555
  return t.slice(n, n + r.length) === r;
2553
2556
  }
2554
- ), ze = Wn ? String.fromCodePoint : (
2557
+ ), ze = Vn ? String.fromCodePoint : (
2555
2558
  // IE11
2556
2559
  function() {
2557
2560
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2563,9 +2566,9 @@ var _t = Xn ? (
2563
2566
  }
2564
2567
  return n;
2565
2568
  }
2566
- ), Et = (
2569
+ ), yt = (
2567
2570
  // native
2568
- zn ? Object.fromEntries : (
2571
+ Xn ? Object.fromEntries : (
2569
2572
  // Ponyfill
2570
2573
  function(t) {
2571
2574
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2575,7 +2578,7 @@ var _t = Xn ? (
2575
2578
  return r;
2576
2579
  }
2577
2580
  )
2578
- ), lr = Zn ? (
2581
+ ), sr = Wn ? (
2579
2582
  // Native
2580
2583
  function(t, r) {
2581
2584
  return t.codePointAt(r);
@@ -2589,7 +2592,7 @@ var _t = Xn ? (
2589
2592
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2590
2593
  }
2591
2594
  }
2592
- ), ei = Qn ? (
2595
+ ), Yn = zn ? (
2593
2596
  // Native
2594
2597
  function(t) {
2595
2598
  return t.trimStart();
@@ -2597,9 +2600,9 @@ var _t = Xn ? (
2597
2600
  ) : (
2598
2601
  // Ponyfill
2599
2602
  function(t) {
2600
- return t.replace(kn, "");
2603
+ return t.replace(Fn, "");
2601
2604
  }
2602
- ), ti = qn ? (
2605
+ ), Kn = Zn ? (
2603
2606
  // Native
2604
2607
  function(t) {
2605
2608
  return t.trimEnd();
@@ -2607,32 +2610,32 @@ var _t = Xn ? (
2607
2610
  ) : (
2608
2611
  // Ponyfill
2609
2612
  function(t) {
2610
- return t.replace(Vn, "");
2613
+ return t.replace(jn, "");
2611
2614
  }
2612
2615
  );
2613
- function ur(e, t) {
2616
+ function ar(e, t) {
2614
2617
  return new RegExp(e, t);
2615
2618
  }
2616
2619
  var Ze;
2617
2620
  if (We) {
2618
- var xt = ur("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2621
+ var _t = ar("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2619
2622
  Ze = function(t, r) {
2620
2623
  var n;
2621
- xt.lastIndex = r;
2622
- var i = xt.exec(t);
2624
+ _t.lastIndex = r;
2625
+ var i = _t.exec(t);
2623
2626
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2624
2627
  };
2625
2628
  } else
2626
2629
  Ze = function(t, r) {
2627
2630
  for (var n = []; ; ) {
2628
- var i = lr(t, r);
2629
- if (i === void 0 || hr(i) || oi(i))
2631
+ var i = sr(t, r);
2632
+ if (i === void 0 || lr(i) || ni(i))
2630
2633
  break;
2631
2634
  n.push(i), r += i >= 65536 ? 2 : 1;
2632
2635
  }
2633
2636
  return ze.apply(void 0, n);
2634
2637
  };
2635
- var ri = (
2638
+ var ei = (
2636
2639
  /** @class */
2637
2640
  function() {
2638
2641
  function e(t, r) {
@@ -2656,7 +2659,7 @@ var ri = (
2656
2659
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
2657
2660
  var a = this.clonePosition();
2658
2661
  this.bump(), i.push({
2659
- type: w.pound,
2662
+ type: S.pound,
2660
2663
  location: y(a, this.clonePosition())
2661
2664
  });
2662
2665
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
@@ -2684,7 +2687,7 @@ var ri = (
2684
2687
  if (this.bumpSpace(), this.bumpIf("/>"))
2685
2688
  return {
2686
2689
  val: {
2687
- type: w.literal,
2690
+ type: S.literal,
2688
2691
  value: "<".concat(i, "/>"),
2689
2692
  location: y(n, this.clonePosition())
2690
2693
  },
@@ -2701,7 +2704,7 @@ var ri = (
2701
2704
  var h = this.clonePosition(), u = this.parseTagName();
2702
2705
  return i !== u ? this.error(v.UNMATCHED_CLOSING_TAG, y(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2703
2706
  val: {
2704
- type: w.tag,
2707
+ type: S.tag,
2705
2708
  value: i,
2706
2709
  children: s,
2707
2710
  location: y(n, this.clonePosition())
@@ -2714,7 +2717,7 @@ var ri = (
2714
2717
  return this.error(v.INVALID_TAG, y(n, this.clonePosition()));
2715
2718
  }, e.prototype.parseTagName = function() {
2716
2719
  var t = this.offset();
2717
- for (this.bump(); !this.isEOF() && ii(this.char()); )
2720
+ for (this.bump(); !this.isEOF() && ri(this.char()); )
2718
2721
  this.bump();
2719
2722
  return this.message.slice(t, this.offset());
2720
2723
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2738,12 +2741,12 @@ var ri = (
2738
2741
  }
2739
2742
  var h = y(n, this.clonePosition());
2740
2743
  return {
2741
- val: { type: w.literal, value: i, location: h },
2744
+ val: { type: S.literal, value: i, location: h },
2742
2745
  err: null
2743
2746
  };
2744
2747
  }, e.prototype.tryParseLeftAngleBracket = function() {
2745
2748
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2746
- !ni(this.peek() || 0)) ? (this.bump(), "<") : null;
2749
+ !ti(this.peek() || 0)) ? (this.bump(), "<") : null;
2747
2750
  }, e.prototype.tryParseQuote = function(t) {
2748
2751
  if (this.isEOF() || this.char() !== 39)
2749
2752
  return null;
@@ -2798,7 +2801,7 @@ var ri = (
2798
2801
  case 125:
2799
2802
  return this.bump(), {
2800
2803
  val: {
2801
- type: w.argument,
2804
+ type: S.argument,
2802
2805
  // value does not include the opening and closing braces.
2803
2806
  value: i,
2804
2807
  location: y(n, this.clonePosition())
@@ -2830,7 +2833,7 @@ var ri = (
2830
2833
  var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
2831
2834
  if (f.err)
2832
2835
  return f;
2833
- var c = ti(f.val);
2836
+ var c = Kn(f.val);
2834
2837
  if (c.length === 0)
2835
2838
  return this.error(v.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
2836
2839
  var d = y(l, this.clonePosition());
@@ -2840,34 +2843,34 @@ var ri = (
2840
2843
  if (m.err)
2841
2844
  return m;
2842
2845
  var b = y(i, this.clonePosition());
2843
- if (u && _t(u?.style, "::", 0)) {
2844
- var g = ei(u.style.slice(2));
2846
+ if (u && vt(u?.style, "::", 0)) {
2847
+ var g = Yn(u.style.slice(2));
2845
2848
  if (a === "number") {
2846
2849
  var f = this.parseNumberSkeletonFromString(g, u.styleLocation);
2847
2850
  return f.err ? f : {
2848
- val: { type: w.number, value: n, location: b, style: f.val },
2851
+ val: { type: S.number, value: n, location: b, style: f.val },
2849
2852
  err: null
2850
2853
  };
2851
2854
  } else {
2852
2855
  if (g.length === 0)
2853
2856
  return this.error(v.EXPECT_DATE_TIME_SKELETON, b);
2854
- var S = g;
2855
- this.locale && (S = Fn(g, this.locale));
2857
+ var E = g;
2858
+ this.locale && (E = Un(g, this.locale));
2856
2859
  var c = {
2857
- type: Y.dateTime,
2858
- pattern: S,
2860
+ type: K.dateTime,
2861
+ pattern: E,
2859
2862
  location: u.styleLocation,
2860
- parsedOptions: this.shouldParseSkeletons ? Nn(S) : {}
2861
- }, E = a === "date" ? w.date : w.time;
2863
+ parsedOptions: this.shouldParseSkeletons ? Ln(E) : {}
2864
+ }, x = a === "date" ? S.date : S.time;
2862
2865
  return {
2863
- val: { type: E, value: n, location: b, style: c },
2866
+ val: { type: x, value: n, location: b, style: c },
2864
2867
  err: null
2865
2868
  };
2866
2869
  }
2867
2870
  }
2868
2871
  return {
2869
2872
  val: {
2870
- type: a === "number" ? w.number : a === "date" ? w.date : w.time,
2873
+ type: a === "number" ? S.number : a === "date" ? S.date : S.time,
2871
2874
  value: n,
2872
2875
  location: b,
2873
2876
  style: (o = u?.style) !== null && o !== void 0 ? o : null
@@ -2878,43 +2881,43 @@ var ri = (
2878
2881
  case "plural":
2879
2882
  case "selectordinal":
2880
2883
  case "select": {
2881
- var T = this.clonePosition();
2884
+ var w = this.clonePosition();
2882
2885
  if (this.bumpSpace(), !this.bumpIf(","))
2883
- return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, y(T, _({}, T)));
2886
+ return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, y(w, _({}, w)));
2884
2887
  this.bumpSpace();
2885
- var D = this.parseIdentifierIfPossible(), L = 0;
2886
- if (a !== "select" && D.value === "offset") {
2888
+ var F = this.parseIdentifierIfPossible(), L = 0;
2889
+ if (a !== "select" && F.value === "offset") {
2887
2890
  if (!this.bumpIf(":"))
2888
2891
  return this.error(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
2889
2892
  this.bumpSpace();
2890
2893
  var f = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2891
2894
  if (f.err)
2892
2895
  return f;
2893
- this.bumpSpace(), D = this.parseIdentifierIfPossible(), L = f.val;
2896
+ this.bumpSpace(), F = this.parseIdentifierIfPossible(), L = f.val;
2894
2897
  }
2895
- var j = this.tryParsePluralOrSelectOptions(t, a, r, D);
2896
- if (j.err)
2897
- return j;
2898
+ var k = this.tryParsePluralOrSelectOptions(t, a, r, F);
2899
+ if (k.err)
2900
+ return k;
2898
2901
  var m = this.tryParseArgumentClose(i);
2899
2902
  if (m.err)
2900
2903
  return m;
2901
- var X = y(i, this.clonePosition());
2904
+ var W = y(i, this.clonePosition());
2902
2905
  return a === "select" ? {
2903
2906
  val: {
2904
- type: w.select,
2907
+ type: S.select,
2905
2908
  value: n,
2906
- options: Et(j.val),
2907
- location: X
2909
+ options: yt(k.val),
2910
+ location: W
2908
2911
  },
2909
2912
  err: null
2910
2913
  } : {
2911
2914
  val: {
2912
- type: w.plural,
2915
+ type: S.plural,
2913
2916
  value: n,
2914
- options: Et(j.val),
2917
+ options: yt(k.val),
2915
2918
  offset: L,
2916
2919
  pluralType: a === "plural" ? "cardinal" : "ordinal",
2917
- location: X
2920
+ location: W
2918
2921
  },
2919
2922
  err: null
2920
2923
  };
@@ -2962,16 +2965,16 @@ var ri = (
2962
2965
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2963
2966
  var n = [];
2964
2967
  try {
2965
- n = Rn(t);
2968
+ n = Nn(t);
2966
2969
  } catch {
2967
2970
  return this.error(v.INVALID_NUMBER_SKELETON, r);
2968
2971
  }
2969
2972
  return {
2970
2973
  val: {
2971
- type: Y.number,
2974
+ type: K.number,
2972
2975
  tokens: n,
2973
2976
  location: r,
2974
- parsedOptions: this.shouldParseSkeletons ? Dn(n) : {}
2977
+ parsedOptions: this.shouldParseSkeletons ? Gn(n) : {}
2975
2978
  },
2976
2979
  err: null
2977
2980
  };
@@ -3019,7 +3022,7 @@ var ri = (
3019
3022
  break;
3020
3023
  }
3021
3024
  var h = y(i, this.clonePosition());
3022
- return o ? (s *= n, Yn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3025
+ return o ? (s *= n, qn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3023
3026
  }, e.prototype.offset = function() {
3024
3027
  return this.position.offset;
3025
3028
  }, e.prototype.isEOF = function() {
@@ -3034,7 +3037,7 @@ var ri = (
3034
3037
  var t = this.position.offset;
3035
3038
  if (t >= this.message.length)
3036
3039
  throw Error("out of bound");
3037
- var r = lr(this.message, t);
3040
+ var r = sr(this.message, t);
3038
3041
  if (r === void 0)
3039
3042
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3040
3043
  return r;
@@ -3053,7 +3056,7 @@ var ri = (
3053
3056
  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);
3054
3057
  }
3055
3058
  }, e.prototype.bumpIf = function(t) {
3056
- if (_t(this.message, t, this.offset())) {
3059
+ if (vt(this.message, t, this.offset())) {
3057
3060
  for (var r = 0; r < t.length; r++)
3058
3061
  this.bump();
3059
3062
  return !0;
@@ -3075,7 +3078,7 @@ var ri = (
3075
3078
  break;
3076
3079
  }
3077
3080
  }, e.prototype.bumpSpace = function() {
3078
- for (; !this.isEOF() && hr(this.char()); )
3081
+ for (; !this.isEOF() && lr(this.char()); )
3079
3082
  this.bump();
3080
3083
  }, e.prototype.peek = function() {
3081
3084
  if (this.isEOF())
@@ -3088,44 +3091,44 @@ var ri = (
3088
3091
  function Qe(e) {
3089
3092
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3090
3093
  }
3091
- function ni(e) {
3094
+ function ti(e) {
3092
3095
  return Qe(e) || e === 47;
3093
3096
  }
3094
- function ii(e) {
3097
+ function ri(e) {
3095
3098
  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;
3096
3099
  }
3097
- function hr(e) {
3100
+ function lr(e) {
3098
3101
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3099
3102
  }
3100
- function oi(e) {
3103
+ function ni(e) {
3101
3104
  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;
3102
3105
  }
3103
3106
  function qe(e) {
3104
3107
  e.forEach(function(t) {
3105
- if (delete t.location, er(t) || tr(t))
3108
+ if (delete t.location, Yt(t) || Kt(t))
3106
3109
  for (var r in t.options)
3107
3110
  delete t.options[r].location, qe(t.options[r].value);
3108
3111
  else
3109
- Jt(t) && nr(t.style) || (Yt(t) || Kt(t)) && Xe(t.style) ? delete t.style.location : rr(t) && qe(t.children);
3112
+ Qt(t) && tr(t.style) || (qt(t) || Jt(t)) && Xe(t.style) ? delete t.style.location : er(t) && qe(t.children);
3110
3113
  });
3111
3114
  }
3112
- function si(e, t) {
3115
+ function ii(e, t) {
3113
3116
  t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3114
- var r = new ri(e, t).parse();
3117
+ var r = new ei(e, t).parse();
3115
3118
  if (r.err) {
3116
3119
  var n = SyntaxError(v[r.err.kind]);
3117
3120
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3118
3121
  }
3119
3122
  return t?.captureLocation || qe(r.val), r.val;
3120
3123
  }
3121
- var K;
3124
+ var ee;
3122
3125
  (function(e) {
3123
3126
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3124
- })(K || (K = {}));
3125
- var He = (
3127
+ })(ee || (ee = {}));
3128
+ var Ce = (
3126
3129
  /** @class */
3127
3130
  function(e) {
3128
- U(t, e);
3131
+ D(t, e);
3129
3132
  function t(r, n, i) {
3130
3133
  var o = e.call(this, r) || this;
3131
3134
  return o.code = n, o.originalMessage = i, o;
@@ -3134,48 +3137,48 @@ var He = (
3134
3137
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3135
3138
  }, t;
3136
3139
  }(Error)
3137
- ), St = (
3140
+ ), xt = (
3138
3141
  /** @class */
3139
3142
  function(e) {
3140
- U(t, e);
3143
+ D(t, e);
3141
3144
  function t(r, n, i, o) {
3142
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), K.INVALID_VALUE, o) || this;
3145
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ee.INVALID_VALUE, o) || this;
3143
3146
  }
3144
3147
  return t;
3145
- }(He)
3146
- ), ai = (
3148
+ }(Ce)
3149
+ ), oi = (
3147
3150
  /** @class */
3148
3151
  function(e) {
3149
- U(t, e);
3152
+ D(t, e);
3150
3153
  function t(r, n, i) {
3151
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), K.INVALID_VALUE, i) || this;
3154
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ee.INVALID_VALUE, i) || this;
3152
3155
  }
3153
3156
  return t;
3154
- }(He)
3155
- ), li = (
3157
+ }(Ce)
3158
+ ), si = (
3156
3159
  /** @class */
3157
3160
  function(e) {
3158
- U(t, e);
3161
+ D(t, e);
3159
3162
  function t(r, n) {
3160
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), K.MISSING_VALUE, n) || this;
3163
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ee.MISSING_VALUE, n) || this;
3161
3164
  }
3162
3165
  return t;
3163
- }(He)
3166
+ }(Ce)
3164
3167
  ), B;
3165
3168
  (function(e) {
3166
3169
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3167
3170
  })(B || (B = {}));
3168
- function ui(e) {
3171
+ function ai(e) {
3169
3172
  return e.length < 2 ? e : e.reduce(function(t, r) {
3170
3173
  var n = t[t.length - 1];
3171
3174
  return !n || n.type !== B.literal || r.type !== B.literal ? t.push(r) : n.value += r.value, t;
3172
3175
  }, []);
3173
3176
  }
3174
- function hi(e) {
3177
+ function li(e) {
3175
3178
  return typeof e == "function";
3176
3179
  }
3177
- function me(e, t, r, n, i, o, s) {
3178
- if (e.length === 1 && bt(e[0]))
3180
+ function be(e, t, r, n, i, o, s) {
3181
+ if (e.length === 1 && pt(e[0]))
3179
3182
  return [
3180
3183
  {
3181
3184
  type: B.literal,
@@ -3184,14 +3187,14 @@ function me(e, t, r, n, i, o, s) {
3184
3187
  ];
3185
3188
  for (var a = [], h = 0, u = e; h < u.length; h++) {
3186
3189
  var l = u[h];
3187
- if (bt(l)) {
3190
+ if (pt(l)) {
3188
3191
  a.push({
3189
3192
  type: B.literal,
3190
3193
  value: l.value
3191
3194
  });
3192
3195
  continue;
3193
3196
  }
3194
- if (Ln(l)) {
3197
+ if (An(l)) {
3195
3198
  typeof o == "number" && a.push({
3196
3199
  type: B.literal,
3197
3200
  value: r.getNumberFormat(t).format(o)
@@ -3200,16 +3203,16 @@ function me(e, t, r, n, i, o, s) {
3200
3203
  }
3201
3204
  var f = l.value;
3202
3205
  if (!(i && f in i))
3203
- throw new li(f, s);
3206
+ throw new si(f, s);
3204
3207
  var c = i[f];
3205
- if (On(l)) {
3208
+ if (Bn(l)) {
3206
3209
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3207
3210
  type: typeof c == "string" ? B.literal : B.object,
3208
3211
  value: c
3209
3212
  });
3210
3213
  continue;
3211
3214
  }
3212
- if (Yt(l)) {
3215
+ if (qt(l)) {
3213
3216
  var d = typeof l.style == "string" ? n.date[l.style] : Xe(l.style) ? l.style.parsedOptions : void 0;
3214
3217
  a.push({
3215
3218
  type: B.literal,
@@ -3217,7 +3220,7 @@ function me(e, t, r, n, i, o, s) {
3217
3220
  });
3218
3221
  continue;
3219
3222
  }
3220
- if (Kt(l)) {
3223
+ if (Jt(l)) {
3221
3224
  var d = typeof l.style == "string" ? n.time[l.style] : Xe(l.style) ? l.style.parsedOptions : n.time.medium;
3222
3225
  a.push({
3223
3226
  type: B.literal,
@@ -3225,64 +3228,64 @@ function me(e, t, r, n, i, o, s) {
3225
3228
  });
3226
3229
  continue;
3227
3230
  }
3228
- if (Jt(l)) {
3229
- var d = typeof l.style == "string" ? n.number[l.style] : nr(l.style) ? l.style.parsedOptions : void 0;
3231
+ if (Qt(l)) {
3232
+ var d = typeof l.style == "string" ? n.number[l.style] : tr(l.style) ? l.style.parsedOptions : void 0;
3230
3233
  d && d.scale && (c = c * (d.scale || 1)), a.push({
3231
3234
  type: B.literal,
3232
3235
  value: r.getNumberFormat(t, d).format(c)
3233
3236
  });
3234
3237
  continue;
3235
3238
  }
3236
- if (rr(l)) {
3239
+ if (er(l)) {
3237
3240
  var m = l.children, b = l.value, g = i[b];
3238
- if (!hi(g))
3239
- throw new ai(b, "function", s);
3240
- var S = me(m, t, r, n, i, o), E = g(S.map(function(L) {
3241
+ if (!li(g))
3242
+ throw new oi(b, "function", s);
3243
+ var E = be(m, t, r, n, i, o), x = g(E.map(function(L) {
3241
3244
  return L.value;
3242
3245
  }));
3243
- Array.isArray(E) || (E = [E]), a.push.apply(a, E.map(function(L) {
3246
+ Array.isArray(x) || (x = [x]), a.push.apply(a, x.map(function(L) {
3244
3247
  return {
3245
3248
  type: typeof L == "string" ? B.literal : B.object,
3246
3249
  value: L
3247
3250
  };
3248
3251
  }));
3249
3252
  }
3250
- if (er(l)) {
3251
- var T = l.options[c] || l.options.other;
3252
- if (!T)
3253
- throw new St(l.value, c, Object.keys(l.options), s);
3254
- a.push.apply(a, me(T.value, t, r, n, i));
3253
+ if (Yt(l)) {
3254
+ var w = l.options[c] || l.options.other;
3255
+ if (!w)
3256
+ throw new xt(l.value, c, Object.keys(l.options), s);
3257
+ a.push.apply(a, be(w.value, t, r, n, i));
3255
3258
  continue;
3256
3259
  }
3257
- if (tr(l)) {
3258
- var T = l.options["=".concat(c)];
3259
- if (!T) {
3260
+ if (Kt(l)) {
3261
+ var w = l.options["=".concat(c)];
3262
+ if (!w) {
3260
3263
  if (!Intl.PluralRules)
3261
- throw new He(`Intl.PluralRules is not available in this environment.
3264
+ throw new Ce(`Intl.PluralRules is not available in this environment.
3262
3265
  Try polyfilling it using "@formatjs/intl-pluralrules"
3263
- `, K.MISSING_INTL_API, s);
3264
- var D = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3265
- T = l.options[D] || l.options.other;
3266
+ `, ee.MISSING_INTL_API, s);
3267
+ var F = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3268
+ w = l.options[F] || l.options.other;
3266
3269
  }
3267
- if (!T)
3268
- throw new St(l.value, c, Object.keys(l.options), s);
3269
- a.push.apply(a, me(T.value, t, r, n, i, c - (l.offset || 0)));
3270
+ if (!w)
3271
+ throw new xt(l.value, c, Object.keys(l.options), s);
3272
+ a.push.apply(a, be(w.value, t, r, n, i, c - (l.offset || 0)));
3270
3273
  continue;
3271
3274
  }
3272
3275
  }
3273
- return ui(a);
3276
+ return ai(a);
3274
3277
  }
3275
- function ci(e, t) {
3278
+ function ui(e, t) {
3276
3279
  return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3277
3280
  return r[n] = _(_({}, e[n]), t[n] || {}), r;
3278
3281
  }, {})) : e;
3279
3282
  }
3280
- function fi(e, t) {
3283
+ function hi(e, t) {
3281
3284
  return t ? Object.keys(e).reduce(function(r, n) {
3282
- return r[n] = ci(e[n], t[n]), r;
3285
+ return r[n] = ui(e[n], t[n]), r;
3283
3286
  }, _({}, e)) : e;
3284
3287
  }
3285
- function Re(e) {
3288
+ function $e(e) {
3286
3289
  return {
3287
3290
  create: function() {
3288
3291
  return {
@@ -3296,39 +3299,39 @@ function Re(e) {
3296
3299
  }
3297
3300
  };
3298
3301
  }
3299
- function di(e) {
3302
+ function ci(e) {
3300
3303
  return e === void 0 && (e = {
3301
3304
  number: {},
3302
3305
  dateTime: {},
3303
3306
  pluralRules: {}
3304
3307
  }), {
3305
- getNumberFormat: Ie(function() {
3308
+ getNumberFormat: Ne(function() {
3306
3309
  for (var t, r = [], n = 0; n < arguments.length; n++)
3307
3310
  r[n] = arguments[n];
3308
- return new ((t = Intl.NumberFormat).bind.apply(t, q([void 0], r, !1)))();
3311
+ return new ((t = Intl.NumberFormat).bind.apply(t, J([void 0], r, !1)))();
3309
3312
  }, {
3310
- cache: Re(e.number),
3311
- strategy: Ne.variadic
3313
+ cache: $e(e.number),
3314
+ strategy: Me.variadic
3312
3315
  }),
3313
- getDateTimeFormat: Ie(function() {
3316
+ getDateTimeFormat: Ne(function() {
3314
3317
  for (var t, r = [], n = 0; n < arguments.length; n++)
3315
3318
  r[n] = arguments[n];
3316
- return new ((t = Intl.DateTimeFormat).bind.apply(t, q([void 0], r, !1)))();
3319
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, J([void 0], r, !1)))();
3317
3320
  }, {
3318
- cache: Re(e.dateTime),
3319
- strategy: Ne.variadic
3321
+ cache: $e(e.dateTime),
3322
+ strategy: Me.variadic
3320
3323
  }),
3321
- getPluralRules: Ie(function() {
3324
+ getPluralRules: Ne(function() {
3322
3325
  for (var t, r = [], n = 0; n < arguments.length; n++)
3323
3326
  r[n] = arguments[n];
3324
- return new ((t = Intl.PluralRules).bind.apply(t, q([void 0], r, !1)))();
3327
+ return new ((t = Intl.PluralRules).bind.apply(t, J([void 0], r, !1)))();
3325
3328
  }, {
3326
- cache: Re(e.pluralRules),
3327
- strategy: Ne.variadic
3329
+ cache: $e(e.pluralRules),
3330
+ strategy: Me.variadic
3328
3331
  })
3329
3332
  };
3330
3333
  }
3331
- var pi = (
3334
+ var fi = (
3332
3335
  /** @class */
3333
3336
  function() {
3334
3337
  function e(t, r, n, i) {
@@ -3347,7 +3350,7 @@ var pi = (
3347
3350
  }, []);
3348
3351
  return l.length <= 1 ? l[0] || "" : l;
3349
3352
  }, this.formatToParts = function(h) {
3350
- return me(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3353
+ return be(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3351
3354
  }, this.resolvedOptions = function() {
3352
3355
  var h;
3353
3356
  return {
@@ -3360,13 +3363,13 @@ var pi = (
3360
3363
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3361
3364
  var s = i || {};
3362
3365
  s.formatters;
3363
- var a = wn(s, ["formatters"]);
3366
+ var a = xn(s, ["formatters"]);
3364
3367
  this.ast = e.__parse(t, _(_({}, a), { locale: this.resolvedLocale }));
3365
3368
  } else
3366
3369
  this.ast = t;
3367
3370
  if (!Array.isArray(this.ast))
3368
3371
  throw new TypeError("A message must be provided as a String or AST.");
3369
- this.formats = fi(e.formats, n), this.formatters = i && i.formatters || di(this.formatterCache);
3372
+ this.formats = hi(e.formats, n), this.formatters = i && i.formatters || ci(this.formatterCache);
3370
3373
  }
3371
3374
  return Object.defineProperty(e, "defaultLocale", {
3372
3375
  get: function() {
@@ -3379,7 +3382,7 @@ var pi = (
3379
3382
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3380
3383
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3381
3384
  }
3382
- }, e.__parse = si, e.formats = {
3385
+ }, e.__parse = ii, e.formats = {
3383
3386
  number: {
3384
3387
  integer: {
3385
3388
  maximumFractionDigits: 0
@@ -3440,7 +3443,7 @@ var pi = (
3440
3443
  }, e;
3441
3444
  }()
3442
3445
  );
3443
- function mi(e, t) {
3446
+ function di(e, t) {
3444
3447
  if (t == null)
3445
3448
  return;
3446
3449
  if (t in e)
@@ -3461,92 +3464,92 @@ function mi(e, t) {
3461
3464
  n = void 0;
3462
3465
  return n;
3463
3466
  }
3464
- const F = {}, bi = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), cr = (e, t) => {
3467
+ const j = {}, pi = (e, t, r) => r && (t in j || (j[t] = {}), e in j[t] || (j[t][e] = r), r), ur = (e, t) => {
3465
3468
  if (t == null)
3466
3469
  return;
3467
- if (t in F && e in F[t])
3468
- return F[t][e];
3469
- const r = Ce(t);
3470
+ if (t in j && e in j[t])
3471
+ return j[t][e];
3472
+ const r = Pe(t);
3470
3473
  for (let n = 0; n < r.length; n++) {
3471
- const i = r[n], o = vi(i, e);
3474
+ const i = r[n], o = bi(i, e);
3472
3475
  if (o)
3473
- return bi(e, t, o);
3476
+ return pi(e, t, o);
3474
3477
  }
3475
3478
  };
3476
- let ot;
3477
- const he = Te({});
3478
- function gi(e) {
3479
- return ot[e] || null;
3479
+ let nt;
3480
+ const ce = He({});
3481
+ function mi(e) {
3482
+ return nt[e] || null;
3480
3483
  }
3481
- function fr(e) {
3482
- return e in ot;
3484
+ function hr(e) {
3485
+ return e in nt;
3483
3486
  }
3484
- function vi(e, t) {
3485
- if (!fr(e))
3487
+ function bi(e, t) {
3488
+ if (!hr(e))
3486
3489
  return null;
3487
- const r = gi(e);
3488
- return mi(r, t);
3490
+ const r = mi(e);
3491
+ return di(r, t);
3489
3492
  }
3490
- function yi(e) {
3493
+ function gi(e) {
3491
3494
  if (e == null)
3492
3495
  return;
3493
- const t = Ce(e);
3496
+ const t = Pe(e);
3494
3497
  for (let r = 0; r < t.length; r++) {
3495
3498
  const n = t[r];
3496
- if (fr(n))
3499
+ if (hr(n))
3497
3500
  return n;
3498
3501
  }
3499
3502
  }
3500
- function dr(e, ...t) {
3501
- delete F[e], he.update((r) => (r[e] = Sn.all([r[e] || {}, ...t]), r));
3503
+ function cr(e, ...t) {
3504
+ delete j[e], ce.update((r) => (r[e] = _n.all([r[e] || {}, ...t]), r));
3502
3505
  }
3503
- re(
3504
- [he],
3506
+ ne(
3507
+ [ce],
3505
3508
  ([e]) => Object.keys(e)
3506
3509
  );
3507
- he.subscribe((e) => ot = e);
3508
- const be = {};
3509
- function _i(e, t) {
3510
- be[e].delete(t), be[e].size === 0 && delete be[e];
3510
+ ce.subscribe((e) => nt = e);
3511
+ const ge = {};
3512
+ function vi(e, t) {
3513
+ ge[e].delete(t), ge[e].size === 0 && delete ge[e];
3511
3514
  }
3512
- function pr(e) {
3513
- return be[e];
3515
+ function fr(e) {
3516
+ return ge[e];
3514
3517
  }
3515
- function Ei(e) {
3516
- return Ce(e).map((t) => {
3517
- const r = pr(t);
3518
+ function yi(e) {
3519
+ return Pe(e).map((t) => {
3520
+ const r = fr(t);
3518
3521
  return [t, r ? [...r] : []];
3519
3522
  }).filter(([, t]) => t.length > 0);
3520
3523
  }
3521
3524
  function Je(e) {
3522
- return e == null ? !1 : Ce(e).some(
3525
+ return e == null ? !1 : Pe(e).some(
3523
3526
  (t) => {
3524
3527
  var r;
3525
- return (r = pr(t)) == null ? void 0 : r.size;
3528
+ return (r = fr(t)) == null ? void 0 : r.size;
3526
3529
  }
3527
3530
  );
3528
3531
  }
3529
- function xi(e, t) {
3532
+ function _i(e, t) {
3530
3533
  return Promise.all(
3531
- t.map((n) => (_i(e, n), n().then((i) => i.default || i)))
3532
- ).then((n) => dr(e, ...n));
3534
+ t.map((n) => (vi(e, n), n().then((i) => i.default || i)))
3535
+ ).then((n) => cr(e, ...n));
3533
3536
  }
3534
- const oe = {};
3535
- function mr(e) {
3537
+ const se = {};
3538
+ function dr(e) {
3536
3539
  if (!Je(e))
3537
- return e in oe ? oe[e] : Promise.resolve();
3538
- const t = Ei(e);
3539
- return oe[e] = Promise.all(
3540
+ return e in se ? se[e] : Promise.resolve();
3541
+ const t = yi(e);
3542
+ return se[e] = Promise.all(
3540
3543
  t.map(
3541
- ([r, n]) => xi(r, n)
3544
+ ([r, n]) => _i(r, n)
3542
3545
  )
3543
3546
  ).then(() => {
3544
3547
  if (Je(e))
3545
- return mr(e);
3546
- delete oe[e];
3547
- }), oe[e];
3548
+ return dr(e);
3549
+ delete se[e];
3550
+ }), se[e];
3548
3551
  }
3549
- const Si = {
3552
+ const xi = {
3550
3553
  number: {
3551
3554
  scientific: { notation: "scientific" },
3552
3555
  engineering: { notation: "engineering" },
@@ -3575,150 +3578,150 @@ const Si = {
3575
3578
  timeZoneName: "short"
3576
3579
  }
3577
3580
  }
3578
- }, wi = {
3581
+ }, Ei = {
3579
3582
  fallbackLocale: null,
3580
3583
  loadingDelay: 200,
3581
- formats: Si,
3584
+ formats: xi,
3582
3585
  warnOnMissingMessages: !0,
3583
3586
  handleMissingMessage: void 0,
3584
3587
  ignoreTag: !0
3585
- }, Ti = wi;
3586
- function ee() {
3587
- return Ti;
3588
+ }, Si = Ei;
3589
+ function te() {
3590
+ return Si;
3588
3591
  }
3589
- const $e = Te(!1);
3590
- var Hi = Object.defineProperty, Ci = Object.defineProperties, Pi = Object.getOwnPropertyDescriptors, wt = Object.getOwnPropertySymbols, Bi = Object.prototype.hasOwnProperty, Ai = Object.prototype.propertyIsEnumerable, Tt = (e, t, r) => t in e ? Hi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Oi = (e, t) => {
3592
+ const Ge = He(!1);
3593
+ var wi = Object.defineProperty, Ti = Object.defineProperties, Hi = Object.getOwnPropertyDescriptors, Et = Object.getOwnPropertySymbols, Ci = Object.prototype.hasOwnProperty, Pi = Object.prototype.propertyIsEnumerable, St = (e, t, r) => t in e ? wi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Bi = (e, t) => {
3591
3594
  for (var r in t || (t = {}))
3592
- Bi.call(t, r) && Tt(e, r, t[r]);
3593
- if (wt)
3594
- for (var r of wt(t))
3595
- Ai.call(t, r) && Tt(e, r, t[r]);
3595
+ Ci.call(t, r) && St(e, r, t[r]);
3596
+ if (Et)
3597
+ for (var r of Et(t))
3598
+ Pi.call(t, r) && St(e, r, t[r]);
3596
3599
  return e;
3597
- }, Li = (e, t) => Ci(e, Pi(t));
3600
+ }, Ai = (e, t) => Ti(e, Hi(t));
3598
3601
  let Ye;
3599
- const xe = Te(null);
3600
- function Ht(e) {
3602
+ const Se = He(null);
3603
+ function wt(e) {
3601
3604
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3602
3605
  }
3603
- function Ce(e, t = ee().fallbackLocale) {
3604
- const r = Ht(e);
3605
- return t ? [.../* @__PURE__ */ new Set([...r, ...Ht(t)])] : r;
3606
+ function Pe(e, t = te().fallbackLocale) {
3607
+ const r = wt(e);
3608
+ return t ? [.../* @__PURE__ */ new Set([...r, ...wt(t)])] : r;
3606
3609
  }
3607
- function V() {
3610
+ function X() {
3608
3611
  return Ye ?? void 0;
3609
3612
  }
3610
- xe.subscribe((e) => {
3613
+ Se.subscribe((e) => {
3611
3614
  Ye = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3612
3615
  });
3613
- const Ii = (e) => {
3614
- if (e && yi(e) && Je(e)) {
3615
- const { loadingDelay: t } = ee();
3616
+ const Oi = (e) => {
3617
+ if (e && gi(e) && Je(e)) {
3618
+ const { loadingDelay: t } = te();
3616
3619
  let r;
3617
- return typeof window < "u" && V() != null && t ? r = window.setTimeout(
3618
- () => $e.set(!0),
3620
+ return typeof window < "u" && X() != null && t ? r = window.setTimeout(
3621
+ () => Ge.set(!0),
3619
3622
  t
3620
- ) : $e.set(!0), mr(e).then(() => {
3621
- xe.set(e);
3623
+ ) : Ge.set(!0), dr(e).then(() => {
3624
+ Se.set(e);
3622
3625
  }).finally(() => {
3623
- clearTimeout(r), $e.set(!1);
3626
+ clearTimeout(r), Ge.set(!1);
3624
3627
  });
3625
3628
  }
3626
- return xe.set(e);
3627
- }, ne = Li(Oi({}, xe), {
3628
- set: Ii
3629
- }), Pe = (e) => {
3629
+ return Se.set(e);
3630
+ }, ie = Ai(Bi({}, Se), {
3631
+ set: Oi
3632
+ }), Be = (e) => {
3630
3633
  const t = /* @__PURE__ */ Object.create(null);
3631
3634
  return (n) => {
3632
3635
  const i = JSON.stringify(n);
3633
3636
  return i in t ? t[i] : t[i] = e(n);
3634
3637
  };
3635
3638
  };
3636
- var Ni = Object.defineProperty, Se = Object.getOwnPropertySymbols, br = Object.prototype.hasOwnProperty, gr = Object.prototype.propertyIsEnumerable, Ct = (e, t, r) => t in e ? Ni(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, st = (e, t) => {
3639
+ var Li = Object.defineProperty, we = Object.getOwnPropertySymbols, pr = Object.prototype.hasOwnProperty, mr = Object.prototype.propertyIsEnumerable, Tt = (e, t, r) => t in e ? Li(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, it = (e, t) => {
3637
3640
  for (var r in t || (t = {}))
3638
- br.call(t, r) && Ct(e, r, t[r]);
3639
- if (Se)
3640
- for (var r of Se(t))
3641
- gr.call(t, r) && Ct(e, r, t[r]);
3641
+ pr.call(t, r) && Tt(e, r, t[r]);
3642
+ if (we)
3643
+ for (var r of we(t))
3644
+ mr.call(t, r) && Tt(e, r, t[r]);
3642
3645
  return e;
3643
- }, ie = (e, t) => {
3646
+ }, oe = (e, t) => {
3644
3647
  var r = {};
3645
3648
  for (var n in e)
3646
- br.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3647
- if (e != null && Se)
3648
- for (var n of Se(e))
3649
- t.indexOf(n) < 0 && gr.call(e, n) && (r[n] = e[n]);
3649
+ pr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3650
+ if (e != null && we)
3651
+ for (var n of we(e))
3652
+ t.indexOf(n) < 0 && mr.call(e, n) && (r[n] = e[n]);
3650
3653
  return r;
3651
3654
  };
3652
- const ue = (e, t) => {
3653
- const { formats: r } = ee();
3655
+ const he = (e, t) => {
3656
+ const { formats: r } = te();
3654
3657
  if (e in r && t in r[e])
3655
3658
  return r[e][t];
3656
3659
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3657
- }, Mi = Pe(
3660
+ }, Ii = Be(
3658
3661
  (e) => {
3659
- var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
3662
+ var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
3660
3663
  if (r == null)
3661
3664
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3662
- return n && (i = ue("number", n)), new Intl.NumberFormat(r, i);
3665
+ return n && (i = he("number", n)), new Intl.NumberFormat(r, i);
3663
3666
  }
3664
- ), Ri = Pe(
3667
+ ), Ni = Be(
3665
3668
  (e) => {
3666
- var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
3669
+ var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
3667
3670
  if (r == null)
3668
3671
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3669
- return n ? i = ue("date", n) : Object.keys(i).length === 0 && (i = ue("date", "short")), new Intl.DateTimeFormat(r, i);
3672
+ return n ? i = he("date", n) : Object.keys(i).length === 0 && (i = he("date", "short")), new Intl.DateTimeFormat(r, i);
3670
3673
  }
3671
- ), $i = Pe(
3674
+ ), Mi = Be(
3672
3675
  (e) => {
3673
- var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
3676
+ var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
3674
3677
  if (r == null)
3675
3678
  throw new Error(
3676
3679
  '[svelte-i18n] A "locale" must be set to format time values'
3677
3680
  );
3678
- return n ? i = ue("time", n) : Object.keys(i).length === 0 && (i = ue("time", "short")), new Intl.DateTimeFormat(r, i);
3681
+ return n ? i = he("time", n) : Object.keys(i).length === 0 && (i = he("time", "short")), new Intl.DateTimeFormat(r, i);
3679
3682
  }
3680
- ), Gi = (e = {}) => {
3683
+ ), Ri = (e = {}) => {
3681
3684
  var t = e, {
3682
- locale: r = V()
3683
- } = t, n = ie(t, [
3685
+ locale: r = X()
3686
+ } = t, n = oe(t, [
3684
3687
  "locale"
3685
3688
  ]);
3686
- return Mi(st({ locale: r }, n));
3687
- }, Ui = (e = {}) => {
3689
+ return Ii(it({ locale: r }, n));
3690
+ }, $i = (e = {}) => {
3688
3691
  var t = e, {
3689
- locale: r = V()
3690
- } = t, n = ie(t, [
3692
+ locale: r = X()
3693
+ } = t, n = oe(t, [
3691
3694
  "locale"
3692
3695
  ]);
3693
- return Ri(st({ locale: r }, n));
3694
- }, Di = (e = {}) => {
3696
+ return Ni(it({ locale: r }, n));
3697
+ }, Gi = (e = {}) => {
3695
3698
  var t = e, {
3696
- locale: r = V()
3697
- } = t, n = ie(t, [
3699
+ locale: r = X()
3700
+ } = t, n = oe(t, [
3698
3701
  "locale"
3699
3702
  ]);
3700
- return $i(st({ locale: r }, n));
3701
- }, Fi = Pe(
3703
+ return Mi(it({ locale: r }, n));
3704
+ }, Ui = Be(
3702
3705
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3703
- (e, t = V()) => new pi(e, t, ee().formats, {
3704
- ignoreTag: ee().ignoreTag
3706
+ (e, t = X()) => new fi(e, t, te().formats, {
3707
+ ignoreTag: te().ignoreTag
3705
3708
  })
3706
- ), ji = (e, t = {}) => {
3709
+ ), Di = (e, t = {}) => {
3707
3710
  var r, n, i, o;
3708
3711
  let s = t;
3709
3712
  typeof e == "object" && (s = e, e = s.id);
3710
3713
  const {
3711
3714
  values: a,
3712
- locale: h = V(),
3715
+ locale: h = X(),
3713
3716
  default: u
3714
3717
  } = s;
3715
3718
  if (h == null)
3716
3719
  throw new Error(
3717
3720
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3718
3721
  );
3719
- let l = cr(e, h);
3722
+ let l = ur(e, h);
3720
3723
  if (!l)
3721
- l = (o = (i = (n = (r = ee()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
3724
+ l = (o = (i = (n = (r = te()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
3722
3725
  else if (typeof l != "string")
3723
3726
  return console.warn(
3724
3727
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -3727,7 +3730,7 @@ const ue = (e, t) => {
3727
3730
  return l;
3728
3731
  let f = l;
3729
3732
  try {
3730
- f = Fi(l, h).format(a);
3733
+ f = Ui(l, h).format(a);
3731
3734
  } catch (c) {
3732
3735
  c instanceof Error && console.warn(
3733
3736
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3735,18 +3738,18 @@ const ue = (e, t) => {
3735
3738
  );
3736
3739
  }
3737
3740
  return f;
3738
- }, ki = (e, t) => Di(t).format(e), Vi = (e, t) => Ui(t).format(e), Xi = (e, t) => Gi(t).format(e), Wi = (e, t = V()) => cr(e, t), zi = re([ne, he], () => ji);
3739
- re([ne], () => ki);
3740
- re([ne], () => Vi);
3741
- re([ne], () => Xi);
3742
- re([ne, he], () => Wi);
3743
- function Pt(e, t) {
3744
- dr(e, t);
3745
- }
3746
- function Zi(e) {
3747
- ne.set(e);
3748
- }
3749
- const Bt = {
3741
+ }, Fi = (e, t) => Gi(t).format(e), ji = (e, t) => $i(t).format(e), ki = (e, t) => Ri(t).format(e), Vi = (e, t = X()) => ur(e, t), Xi = ne([ie, ce], () => Di);
3742
+ ne([ie], () => Fi);
3743
+ ne([ie], () => ji);
3744
+ ne([ie], () => ki);
3745
+ ne([ie, ce], () => Vi);
3746
+ function Ht(e, t) {
3747
+ cr(e, t);
3748
+ }
3749
+ function Wi(e) {
3750
+ ie.set(e);
3751
+ }
3752
+ const Ct = {
3750
3753
  en: {
3751
3754
  collections: "Game Collections",
3752
3755
  providers: "Game Providers",
@@ -3843,16 +3846,16 @@ const Bt = {
3843
3846
  loading: "Loading, please wait ..."
3844
3847
  }
3845
3848
  };
3846
- function G(e) {
3849
+ function U(e) {
3847
3850
  return typeof e == "function";
3848
3851
  }
3849
- function vr(e) {
3852
+ function br(e) {
3850
3853
  var t = function(n) {
3851
3854
  Error.call(n), n.stack = new Error().stack;
3852
3855
  }, r = e(t);
3853
3856
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
3854
3857
  }
3855
- var Ge = vr(function(e) {
3858
+ var Ue = br(function(e) {
3856
3859
  return function(r) {
3857
3860
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
3858
3861
  ` + r.map(function(n, i) {
@@ -3867,7 +3870,7 @@ function Ke(e, t) {
3867
3870
  0 <= r && e.splice(r, 1);
3868
3871
  }
3869
3872
  }
3870
- var Be = function() {
3873
+ var Ae = function() {
3871
3874
  function e(t) {
3872
3875
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
3873
3876
  }
@@ -3896,11 +3899,11 @@ var Be = function() {
3896
3899
  else
3897
3900
  s.remove(this);
3898
3901
  var l = this.initialTeardown;
3899
- if (G(l))
3902
+ if (U(l))
3900
3903
  try {
3901
3904
  l();
3902
3905
  } catch (b) {
3903
- o = b instanceof Ge ? b.errors : [b];
3906
+ o = b instanceof Ue ? b.errors : [b];
3904
3907
  }
3905
3908
  var f = this._finalizers;
3906
3909
  if (f) {
@@ -3909,9 +3912,9 @@ var Be = function() {
3909
3912
  for (var c = ke(f), d = c.next(); !d.done; d = c.next()) {
3910
3913
  var m = d.value;
3911
3914
  try {
3912
- At(m);
3915
+ Pt(m);
3913
3916
  } catch (b) {
3914
- o = o ?? [], b instanceof Ge ? o = q(q([], Ve(o)), Ve(b.errors)) : o.push(b);
3917
+ o = o ?? [], b instanceof Ue ? o = J(J([], Ve(o)), Ve(b.errors)) : o.push(b);
3915
3918
  }
3916
3919
  }
3917
3920
  } catch (b) {
@@ -3926,13 +3929,13 @@ var Be = function() {
3926
3929
  }
3927
3930
  }
3928
3931
  if (o)
3929
- throw new Ge(o);
3932
+ throw new Ue(o);
3930
3933
  }
3931
3934
  }, e.prototype.add = function(t) {
3932
3935
  var r;
3933
3936
  if (t && t !== this)
3934
3937
  if (this.closed)
3935
- At(t);
3938
+ Pt(t);
3936
3939
  else {
3937
3940
  if (t instanceof e) {
3938
3941
  if (t.closed || t._hasParent(this))
@@ -3957,45 +3960,41 @@ var Be = function() {
3957
3960
  var t = new e();
3958
3961
  return t.closed = !0, t;
3959
3962
  }(), e;
3960
- }(), yr = Be.EMPTY;
3961
- function _r(e) {
3962
- return e instanceof Be || e && "closed" in e && G(e.remove) && G(e.add) && G(e.unsubscribe);
3963
- }
3964
- function At(e) {
3965
- G(e) ? e() : e.unsubscribe();
3966
- }
3967
- var Er = {
3968
- onUnhandledError: null,
3969
- onStoppedNotification: null,
3970
- Promise: void 0,
3971
- useDeprecatedSynchronousErrorHandling: !1,
3972
- useDeprecatedNextContext: !1
3973
- }, Qi = {
3963
+ }(), gr = Ae.EMPTY;
3964
+ function vr(e) {
3965
+ return e instanceof Ae || e && "closed" in e && U(e.remove) && U(e.add) && U(e.unsubscribe);
3966
+ }
3967
+ function Pt(e) {
3968
+ U(e) ? e() : e.unsubscribe();
3969
+ }
3970
+ var zi = {
3971
+ Promise: void 0
3972
+ }, Zi = {
3974
3973
  setTimeout: function(e, t) {
3975
3974
  for (var r = [], n = 2; n < arguments.length; n++)
3976
3975
  r[n - 2] = arguments[n];
3977
- return setTimeout.apply(void 0, q([e, t], Ve(r)));
3976
+ return setTimeout.apply(void 0, J([e, t], Ve(r)));
3978
3977
  },
3979
3978
  clearTimeout: function(e) {
3980
3979
  return clearTimeout(e);
3981
3980
  },
3982
3981
  delegate: void 0
3983
3982
  };
3984
- function qi(e) {
3985
- Qi.setTimeout(function() {
3983
+ function Qi(e) {
3984
+ Zi.setTimeout(function() {
3986
3985
  throw e;
3987
3986
  });
3988
3987
  }
3989
- function Ot() {
3988
+ function Bt() {
3990
3989
  }
3991
- function ge(e) {
3990
+ function ve(e) {
3992
3991
  e();
3993
3992
  }
3994
- var xr = function(e) {
3995
- U(t, e);
3993
+ var yr = function(e) {
3994
+ D(t, e);
3996
3995
  function t(r) {
3997
3996
  var n = e.call(this) || this;
3998
- return n.isStopped = !1, r ? (n.destination = r, _r(r) && r.add(n)) : n.destination = eo, n;
3997
+ return n.isStopped = !1, r ? (n.destination = r, vr(r) && r.add(n)) : n.destination = Yi, n;
3999
3998
  }
4000
3999
  return t.create = function(r, n, i) {
4001
4000
  return new et(r, n, i);
@@ -4022,11 +4021,7 @@ var xr = function(e) {
4022
4021
  this.unsubscribe();
4023
4022
  }
4024
4023
  }, t;
4025
- }(Be), Ji = Function.prototype.bind;
4026
- function Ue(e, t) {
4027
- return Ji.call(e, t);
4028
- }
4029
- var Yi = function() {
4024
+ }(Ae), qi = function() {
4030
4025
  function e(t) {
4031
4026
  this.partialObserver = t;
4032
4027
  }
@@ -4036,7 +4031,7 @@ var Yi = function() {
4036
4031
  try {
4037
4032
  r.next(t);
4038
4033
  } catch (n) {
4039
- de(n);
4034
+ pe(n);
4040
4035
  }
4041
4036
  }, e.prototype.error = function(t) {
4042
4037
  var r = this.partialObserver;
@@ -4044,68 +4039,56 @@ var Yi = function() {
4044
4039
  try {
4045
4040
  r.error(t);
4046
4041
  } catch (n) {
4047
- de(n);
4042
+ pe(n);
4048
4043
  }
4049
4044
  else
4050
- de(t);
4045
+ pe(t);
4051
4046
  }, e.prototype.complete = function() {
4052
4047
  var t = this.partialObserver;
4053
4048
  if (t.complete)
4054
4049
  try {
4055
4050
  t.complete();
4056
4051
  } catch (r) {
4057
- de(r);
4052
+ pe(r);
4058
4053
  }
4059
4054
  }, e;
4060
4055
  }(), et = function(e) {
4061
- U(t, e);
4056
+ D(t, e);
4062
4057
  function t(r, n, i) {
4063
4058
  var o = e.call(this) || this, s;
4064
- if (G(r) || !r)
4065
- s = {
4066
- next: r ?? void 0,
4067
- error: n ?? void 0,
4068
- complete: i ?? void 0
4069
- };
4070
- else {
4071
- var a;
4072
- o && Er.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
4073
- return o.unsubscribe();
4074
- }, s = {
4075
- next: r.next && Ue(r.next, a),
4076
- error: r.error && Ue(r.error, a),
4077
- complete: r.complete && Ue(r.complete, a)
4078
- }) : s = r;
4079
- }
4080
- return o.destination = new Yi(s), o;
4059
+ return U(r) || !r ? s = {
4060
+ next: r ?? void 0,
4061
+ error: n ?? void 0,
4062
+ complete: i ?? void 0
4063
+ } : s = r, o.destination = new qi(s), o;
4081
4064
  }
4082
4065
  return t;
4083
- }(xr);
4084
- function de(e) {
4085
- qi(e);
4066
+ }(yr);
4067
+ function pe(e) {
4068
+ Qi(e);
4086
4069
  }
4087
- function Ki(e) {
4070
+ function Ji(e) {
4088
4071
  throw e;
4089
4072
  }
4090
- var eo = {
4073
+ var Yi = {
4091
4074
  closed: !0,
4092
- next: Ot,
4093
- error: Ki,
4094
- complete: Ot
4095
- }, to = function() {
4075
+ next: Bt,
4076
+ error: Ji,
4077
+ complete: Bt
4078
+ }, Ki = function() {
4096
4079
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
4097
4080
  }();
4098
- function ro(e) {
4081
+ function eo(e) {
4099
4082
  return e;
4100
4083
  }
4101
- function no(e) {
4102
- return e.length === 0 ? ro : e.length === 1 ? e[0] : function(r) {
4084
+ function to(e) {
4085
+ return e.length === 0 ? eo : e.length === 1 ? e[0] : function(r) {
4103
4086
  return e.reduce(function(n, i) {
4104
4087
  return i(n);
4105
4088
  }, r);
4106
4089
  };
4107
4090
  }
4108
- var Lt = function() {
4091
+ var At = function() {
4109
4092
  function e(t) {
4110
4093
  t && (this._subscribe = t);
4111
4094
  }
@@ -4113,8 +4096,8 @@ var Lt = function() {
4113
4096
  var r = new e();
4114
4097
  return r.source = this, r.operator = t, r;
4115
4098
  }, e.prototype.subscribe = function(t, r, n) {
4116
- var i = this, o = oo(t) ? t : new et(t, r, n);
4117
- return ge(function() {
4099
+ var i = this, o = no(t) ? t : new et(t, r, n);
4100
+ return ve(function() {
4118
4101
  var s = i, a = s.operator, h = s.source;
4119
4102
  o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
4120
4103
  }), o;
@@ -4126,7 +4109,7 @@ var Lt = function() {
4126
4109
  }
4127
4110
  }, e.prototype.forEach = function(t, r) {
4128
4111
  var n = this;
4129
- return r = It(r), new r(function(i, o) {
4112
+ return r = Ot(r), new r(function(i, o) {
4130
4113
  var s = new et({
4131
4114
  next: function(a) {
4132
4115
  try {
@@ -4143,15 +4126,15 @@ var Lt = function() {
4143
4126
  }, e.prototype._subscribe = function(t) {
4144
4127
  var r;
4145
4128
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
4146
- }, e.prototype[to] = function() {
4129
+ }, e.prototype[Ki] = function() {
4147
4130
  return this;
4148
4131
  }, e.prototype.pipe = function() {
4149
4132
  for (var t = [], r = 0; r < arguments.length; r++)
4150
4133
  t[r] = arguments[r];
4151
- return no(t)(this);
4134
+ return to(t)(this);
4152
4135
  }, e.prototype.toPromise = function(t) {
4153
4136
  var r = this;
4154
- return t = It(t), new t(function(n, i) {
4137
+ return t = Ot(t), new t(function(n, i) {
4155
4138
  var o;
4156
4139
  r.subscribe(function(s) {
4157
4140
  return o = s;
@@ -4165,35 +4148,35 @@ var Lt = function() {
4165
4148
  return new e(t);
4166
4149
  }, e;
4167
4150
  }();
4168
- function It(e) {
4151
+ function Ot(e) {
4169
4152
  var t;
4170
- return (t = e ?? Er.Promise) !== null && t !== void 0 ? t : Promise;
4153
+ return (t = e ?? zi.Promise) !== null && t !== void 0 ? t : Promise;
4171
4154
  }
4172
- function io(e) {
4173
- return e && G(e.next) && G(e.error) && G(e.complete);
4155
+ function ro(e) {
4156
+ return e && U(e.next) && U(e.error) && U(e.complete);
4174
4157
  }
4175
- function oo(e) {
4176
- return e && e instanceof xr || io(e) && _r(e);
4158
+ function no(e) {
4159
+ return e && e instanceof yr || ro(e) && vr(e);
4177
4160
  }
4178
- var so = vr(function(e) {
4161
+ var io = br(function(e) {
4179
4162
  return function() {
4180
4163
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
4181
4164
  };
4182
- }), Sr = function(e) {
4183
- U(t, e);
4165
+ }), _r = function(e) {
4166
+ D(t, e);
4184
4167
  function t() {
4185
4168
  var r = e.call(this) || this;
4186
4169
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
4187
4170
  }
4188
4171
  return t.prototype.lift = function(r) {
4189
- var n = new Nt(this, this);
4172
+ var n = new Lt(this, this);
4190
4173
  return n.operator = r, n;
4191
4174
  }, t.prototype._throwIfClosed = function() {
4192
4175
  if (this.closed)
4193
- throw new so();
4176
+ throw new io();
4194
4177
  }, t.prototype.next = function(r) {
4195
4178
  var n = this;
4196
- ge(function() {
4179
+ ve(function() {
4197
4180
  var i, o;
4198
4181
  if (n._throwIfClosed(), !n.isStopped) {
4199
4182
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
@@ -4216,7 +4199,7 @@ var so = vr(function(e) {
4216
4199
  });
4217
4200
  }, t.prototype.error = function(r) {
4218
4201
  var n = this;
4219
- ge(function() {
4202
+ ve(function() {
4220
4203
  if (n._throwIfClosed(), !n.isStopped) {
4221
4204
  n.hasError = n.isStopped = !0, n.thrownError = r;
4222
4205
  for (var i = n.observers; i.length; )
@@ -4225,7 +4208,7 @@ var so = vr(function(e) {
4225
4208
  });
4226
4209
  }, t.prototype.complete = function() {
4227
4210
  var r = this;
4228
- ge(function() {
4211
+ ve(function() {
4229
4212
  if (r._throwIfClosed(), !r.isStopped) {
4230
4213
  r.isStopped = !0;
4231
4214
  for (var n = r.observers; n.length; )
@@ -4247,20 +4230,20 @@ var so = vr(function(e) {
4247
4230
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
4248
4231
  }, t.prototype._innerSubscribe = function(r) {
4249
4232
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
4250
- return o || s ? yr : (this.currentObservers = null, a.push(r), new Be(function() {
4233
+ return o || s ? gr : (this.currentObservers = null, a.push(r), new Ae(function() {
4251
4234
  n.currentObservers = null, Ke(a, r);
4252
4235
  }));
4253
4236
  }, t.prototype._checkFinalizedStatuses = function(r) {
4254
4237
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
4255
4238
  i ? r.error(o) : s && r.complete();
4256
4239
  }, t.prototype.asObservable = function() {
4257
- var r = new Lt();
4240
+ var r = new At();
4258
4241
  return r.source = this, r;
4259
4242
  }, t.create = function(r, n) {
4260
- return new Nt(r, n);
4243
+ return new Lt(r, n);
4261
4244
  }, t;
4262
- }(Lt), Nt = function(e) {
4263
- U(t, e);
4245
+ }(At), Lt = function(e) {
4246
+ D(t, e);
4264
4247
  function t(r, n) {
4265
4248
  var i = e.call(this) || this;
4266
4249
  return i.destination = r, i.source = n, i;
@@ -4276,17 +4259,17 @@ var so = vr(function(e) {
4276
4259
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
4277
4260
  }, t.prototype._subscribe = function(r) {
4278
4261
  var n, i;
4279
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : yr;
4262
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : gr;
4280
4263
  }, t;
4281
- }(Sr), wr = {
4264
+ }(_r), xr = {
4282
4265
  now: function() {
4283
- return (wr.delegate || Date).now();
4266
+ return (xr.delegate || Date).now();
4284
4267
  },
4285
4268
  delegate: void 0
4286
- }, ao = function(e) {
4287
- U(t, e);
4269
+ }, oo = function(e) {
4270
+ D(t, e);
4288
4271
  function t(r, n, i) {
4289
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = wr);
4272
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = xr);
4290
4273
  var o = e.call(this) || this;
4291
4274
  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;
4292
4275
  }
@@ -4306,23 +4289,23 @@ var so = vr(function(e) {
4306
4289
  u && o.splice(0, u + 1);
4307
4290
  }
4308
4291
  }, t;
4309
- }(Sr);
4310
- const Mt = [], Rt = {}, lo = (e, t = 0) => {
4311
- if (Mt.indexOf(e) == -1) {
4312
- const r = new ao(t);
4313
- Rt[e] = r, Mt.push(e);
4292
+ }(_r);
4293
+ const It = [], Nt = {}, so = (e, t = 0) => {
4294
+ if (It.indexOf(e) == -1) {
4295
+ const r = new oo(t);
4296
+ Nt[e] = r, It.push(e);
4314
4297
  }
4315
- return Rt[e];
4298
+ return Nt[e];
4316
4299
  };
4317
- window.emWidgets = { topic: lo };
4318
- const uo = (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));
4319
- function ho(e, t) {
4300
+ window.emWidgets = { topic: so };
4301
+ const ao = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4302
+ function lo(e, t) {
4320
4303
  if (e) {
4321
4304
  const r = document.createElement("style");
4322
4305
  r.innerHTML = t, e.appendChild(r);
4323
4306
  }
4324
4307
  }
4325
- function co(e, t) {
4308
+ function uo(e, t) {
4326
4309
  const r = new URL(t);
4327
4310
  fetch(r.href).then((n) => n.text()).then((n) => {
4328
4311
  const i = document.createElement("style");
@@ -4331,7 +4314,7 @@ function co(e, t) {
4331
4314
  console.error("There was an error while trying to load client styling from URL", n);
4332
4315
  });
4333
4316
  }
4334
- function fo(e, t, r) {
4317
+ function ho(e, t, r) {
4335
4318
  if (window.emMessageBus) {
4336
4319
  const n = document.createElement("style");
4337
4320
  window.emMessageBus.subscribe(t, (i) => {
@@ -4339,18 +4322,18 @@ function fo(e, t, r) {
4339
4322
  });
4340
4323
  }
4341
4324
  }
4342
- function po(e) {
4343
- Ur(e, "svelte-3oqkg3", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoCollectionsProviders{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;height:330px;margin:0 auto;margin-top:24px}.CategoriesHeader{display:flex;justify-content:space-between;height:70px}.CategoriesHeader .Title{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:22px;font-weight:500}.CategoriesHeader .ButtonsContainer button{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px;cursor:pointer}.CategoriesHeader .ButtonsContainer button:active{opacity:0.7}.CategoriesSlider{position:relative;height:230px;overflow:hidden;cursor:pointer}.CategoriesSliderWrapper{position:absolute;top:0;left:0}.CategoriesSlider .Animation{transition:transform 0.8s}.CategoriesSlider .CategorySlide{border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;height:200px;width:400px;margin-right:15px;background-size:cover}.CategoriesSlider .CategorySlide:not(.CategorySlideNoHighlight){background-color:#808080;background-blend-mode:multiply}.CategoriesSlider .CategorySlideTopContainer{height:100px;display:flex;align-items:center}.CategoriesSlider .CategorySlideLogo{transform:translate(-50%, -50%);max-width:175px;top:30%;max-height:100%;position:absolute}.CategoriesSlider .CategorySlideTitle{color:var(--emw--casino-typography, var(--emw--color-constrast, #FFFFFF));font-size:18px;letter-spacing:1px}.CategoriesSlider .CategorySlideGameContainer{display:flex;width:40px;justify-content:center;gap:10%;min-height:85px}.CategoriesSlider .CategorySlideGameImage{border-radius:10px;width:auto;height:55px;object-fit:cover}.CategoriesSlider .CategorySlideGames{color:white;text-align:center}.CategoriesSlider .CategorySlideGames p{font-size:8px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.Mobile.Providers{padding:25px 10px}.Mobile.Collections{padding:25px 10px}.Mobile.CasinoCollectionsProviders{padding:25px 10px}.Mobile .CategoriesSlider{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.Mobile .CategoriesSlider::-webkit-scrollbar{display:none}.Mobile .CategorySlide{width:80vw;scroll-snap-align:start}.Mobile .ButtonsContainer{display:none}.Mobile .CategorySlideGameImage{border-radius:10px;width:auto;height:40px;object-fit:cover}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
4325
+ function co(e) {
4326
+ Rr(e, "svelte-3oqkg3", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoCollectionsProviders{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;height:330px;margin:0 auto;margin-top:24px}.CategoriesHeader{display:flex;justify-content:space-between;height:70px}.CategoriesHeader .Title{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:22px;font-weight:500}.CategoriesHeader .ButtonsContainer button{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px;cursor:pointer}.CategoriesHeader .ButtonsContainer button:active{opacity:0.7}.CategoriesSlider{position:relative;height:230px;overflow:hidden;cursor:pointer}.CategoriesSliderWrapper{position:absolute;top:0;left:0}.CategoriesSlider .Animation{transition:transform 0.8s}.CategoriesSlider .CategorySlide{border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;height:200px;width:400px;margin-right:15px;background-size:cover}.CategoriesSlider .CategorySlide:not(.CategorySlideNoHighlight){background-color:#808080;background-blend-mode:multiply}.CategoriesSlider .CategorySlideTopContainer{height:100px;display:flex;align-items:center}.CategoriesSlider .CategorySlideLogo{transform:translate(-50%, -50%);max-width:175px;top:30%;max-height:100%;position:absolute}.CategoriesSlider .CategorySlideTitle{color:var(--emw--casino-typography, var(--emw--color-constrast, #FFFFFF));font-size:18px;letter-spacing:1px}.CategoriesSlider .CategorySlideGameContainer{display:flex;width:40px;justify-content:center;gap:10%;min-height:85px}.CategoriesSlider .CategorySlideGameImage{border-radius:10px;width:auto;height:55px;object-fit:cover}.CategoriesSlider .CategorySlideGames{color:white;text-align:center}.CategoriesSlider .CategorySlideGames p{font-size:8px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.Mobile.Providers{padding:25px 10px}.Mobile.Collections{padding:25px 10px}.Mobile.CasinoCollectionsProviders{padding:25px 10px}.Mobile .CategoriesSlider{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.Mobile .CategoriesSlider::-webkit-scrollbar{display:none}.Mobile .CategorySlide{width:80vw;scroll-snap-align:start}.Mobile .ButtonsContainer{display:none}.Mobile .CategorySlideGameImage{border-radius:10px;width:auto;height:40px;object-fit:cover}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
4344
4327
  }
4345
- function $t(e, t, r) {
4328
+ function Mt(e, t, r) {
4346
4329
  const n = e.slice();
4347
4330
  return n[41] = t[r], n;
4348
4331
  }
4349
- function Gt(e, t, r) {
4332
+ function Rt(e, t, r) {
4350
4333
  const n = e.slice();
4351
4334
  return n[44] = t[r], n;
4352
4335
  }
4353
- function mo(e) {
4336
+ function fo(e) {
4354
4337
  let t, r, n, i = (
4355
4338
  /*type*/
4356
4339
  (e[0] === "vendor" ? (
@@ -4363,24 +4346,24 @@ function mo(e) {
4363
4346
  ), o, s, a, h, u, l = (
4364
4347
  /*numberOfSlides*/
4365
4348
  e[7] > /*numberOfVisibleSlides*/
4366
- e[8] && Ut(e)
4349
+ e[8] && $t(e)
4367
4350
  ), f = Ee(
4368
4351
  /*gameCategories*/
4369
4352
  e[3]
4370
4353
  ), c = [];
4371
4354
  for (let d = 0; d < f.length; d += 1)
4372
- c[d] = jt($t(e, f, d));
4355
+ c[d] = Dt(Mt(e, f, d));
4373
4356
  return {
4374
4357
  c() {
4375
- t = C("div"), r = C("div"), n = C("p"), o = we(i), s = k(), l && l.c(), a = k(), h = C("div");
4358
+ t = H("div"), r = H("div"), n = H("p"), o = Te(i), s = V(), l && l.c(), a = V(), h = H("div");
4376
4359
  for (let d = 0; d < c.length; d += 1)
4377
4360
  c[d].c();
4378
- x(n, "class", "Title"), x(r, "class", "CategoriesHeader"), x(h, "class", "CategoriesSlider"), x(t, "class", u = "CasinoCollectionsProviders " + /*mobile*/
4361
+ C(n, "class", "Title"), C(r, "class", "CategoriesHeader"), C(h, "class", "CategoriesSlider"), C(t, "class", u = "CasinoCollectionsProviders " + /*mobile*/
4379
4362
  (e[9] ? "Mobile" : "") + " " + /*type*/
4380
4363
  (e[0] === "vendor" ? "Providers" : "Collections"));
4381
4364
  },
4382
4365
  m(d, m) {
4383
- $(d, t, m), H(t, r), H(r, n), H(n, o), H(r, s), l && l.m(r, null), H(t, a), H(t, h);
4366
+ G(d, t, m), T(t, r), T(r, n), T(n, o), T(r, s), l && l.m(r, null), T(t, a), T(t, h);
4384
4367
  for (let b = 0; b < c.length; b += 1)
4385
4368
  c[b] && c[b].m(h, null);
4386
4369
  e[25](h);
@@ -4396,7 +4379,7 @@ function mo(e) {
4396
4379
  d[10]("collections")
4397
4380
  )) + "") && rt(o, i), /*numberOfSlides*/
4398
4381
  d[7] > /*numberOfVisibleSlides*/
4399
- d[8] ? l ? l.p(d, m) : (l = Ut(d), l.c(), l.m(r, null)) : l && (l.d(1), l = null), m[0] & /*gameCategories, openCategory, collectionprovidersgamenames, openGame, titletype*/
4382
+ d[8] ? l ? l.p(d, m) : (l = $t(d), l.c(), l.m(r, null)) : l && (l.d(1), l = null), m[0] & /*gameCategories, openCategory, collectionprovidersgamenames, openGame, titletype*/
4400
4383
  24590) {
4401
4384
  f = Ee(
4402
4385
  /*gameCategories*/
@@ -4404,8 +4387,8 @@ function mo(e) {
4404
4387
  );
4405
4388
  let b;
4406
4389
  for (b = 0; b < f.length; b += 1) {
4407
- const g = $t(d, f, b);
4408
- c[b] ? c[b].p(g, m) : (c[b] = jt(g), c[b].c(), c[b].m(h, null));
4390
+ const g = Mt(d, f, b);
4391
+ c[b] ? c[b].p(g, m) : (c[b] = Dt(g), c[b].c(), c[b].m(h, null));
4409
4392
  }
4410
4393
  for (; b < c.length; b += 1)
4411
4394
  c[b].d(1);
@@ -4414,21 +4397,21 @@ function mo(e) {
4414
4397
  m[0] & /*mobile, type*/
4415
4398
  513 && u !== (u = "CasinoCollectionsProviders " + /*mobile*/
4416
4399
  (d[9] ? "Mobile" : "") + " " + /*type*/
4417
- (d[0] === "vendor" ? "Providers" : "Collections")) && x(t, "class", u);
4400
+ (d[0] === "vendor" ? "Providers" : "Collections")) && C(t, "class", u);
4418
4401
  },
4419
4402
  d(d) {
4420
- d && I(t), l && l.d(), Wt(c, d), e[25](null);
4403
+ d && I(t), l && l.d(), Vt(c, d), e[25](null);
4421
4404
  }
4422
4405
  };
4423
4406
  }
4424
- function bo(e) {
4407
+ function po(e) {
4425
4408
  let t;
4426
4409
  return {
4427
4410
  c() {
4428
- t = C("div"), x(t, "class", "LoadingSpinner");
4411
+ t = H("div"), C(t, "class", "LoadingSpinner");
4429
4412
  },
4430
4413
  m(r, n) {
4431
- $(r, t, n);
4414
+ G(r, t, n);
4432
4415
  },
4433
4416
  p: A,
4434
4417
  d(r) {
@@ -4436,21 +4419,21 @@ function bo(e) {
4436
4419
  }
4437
4420
  };
4438
4421
  }
4439
- function Ut(e) {
4422
+ function $t(e) {
4440
4423
  let t, r, n, i, o, s;
4441
4424
  return {
4442
4425
  c() {
4443
- t = C("div"), r = C("button"), r.innerHTML = '<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(14.656 0) rotate(90)" fill="#fff"></path></svg>', n = k(), i = C("button"), i.innerHTML = '<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(0 24.656) rotate(-90)" fill="#fff"></path></svg>', x(t, "class", "ButtonsContainer");
4426
+ t = H("div"), r = H("button"), r.innerHTML = '<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(14.656 0) rotate(90)" fill="#fff"></path></svg>', n = V(), i = H("button"), i.innerHTML = '<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(0 24.656) rotate(-90)" fill="#fff"></path></svg>', C(t, "class", "ButtonsContainer");
4444
4427
  },
4445
4428
  m(a, h) {
4446
- $(a, t, h), H(t, r), H(t, n), H(t, i), o || (s = [
4447
- ye(
4429
+ G(a, t, h), T(t, r), T(t, n), T(t, i), o || (s = [
4430
+ _e(
4448
4431
  r,
4449
4432
  "click",
4450
4433
  /*sliderScrollLeft*/
4451
4434
  e[11]
4452
4435
  ),
4453
- ye(
4436
+ _e(
4454
4437
  i,
4455
4438
  "click",
4456
4439
  /*sliderScrollRight*/
@@ -4460,21 +4443,21 @@ function Ut(e) {
4460
4443
  },
4461
4444
  p: A,
4462
4445
  d(a) {
4463
- a && I(t), o = !1, te(s);
4446
+ a && I(t), o = !1, re(s);
4464
4447
  }
4465
4448
  };
4466
4449
  }
4467
- function go(e) {
4450
+ function mo(e) {
4468
4451
  let t, r = (
4469
4452
  /*category*/
4470
4453
  e[41].name + ""
4471
4454
  ), n;
4472
4455
  return {
4473
4456
  c() {
4474
- t = C("p"), n = we(r), x(t, "class", "CategorySlideTitle");
4457
+ t = H("p"), n = Te(r), C(t, "class", "CategorySlideTitle");
4475
4458
  },
4476
4459
  m(i, o) {
4477
- $(i, t, o), H(t, n);
4460
+ G(i, t, o), T(t, n);
4478
4461
  },
4479
4462
  p(i, o) {
4480
4463
  o[0] & /*gameCategories*/
@@ -4486,55 +4469,55 @@ function go(e) {
4486
4469
  }
4487
4470
  };
4488
4471
  }
4489
- function vo(e) {
4472
+ function bo(e) {
4490
4473
  let t, r, n;
4491
4474
  return {
4492
4475
  c() {
4493
- t = C("img"), x(t, "class", "CategorySlideLogo"), ve(t.src, r = /*category*/
4494
- e[41].icon) || x(t, "src", r), x(t, "alt", n = /*category*/
4476
+ t = H("ui-image"), $(t, "imgClass", "CategorySlideLogo"), ye(t.src, r = /*category*/
4477
+ e[41].icon) || $(t, "src", r), $(t, "alt", n = /*category*/
4495
4478
  e[41].name + " icon");
4496
4479
  },
4497
4480
  m(i, o) {
4498
- $(i, t, o);
4481
+ G(i, t, o);
4499
4482
  },
4500
4483
  p(i, o) {
4501
4484
  o[0] & /*gameCategories*/
4502
- 8 && !ve(t.src, r = /*category*/
4503
- i[41].icon) && x(t, "src", r), o[0] & /*gameCategories*/
4485
+ 8 && !ye(t.src, r = /*category*/
4486
+ i[41].icon) && $(t, "src", r), o[0] & /*gameCategories*/
4504
4487
  8 && n !== (n = /*category*/
4505
- i[41].name + " icon") && x(t, "alt", n);
4488
+ i[41].name + " icon") && $(t, "alt", n);
4506
4489
  },
4507
4490
  d(i) {
4508
4491
  i && I(t);
4509
4492
  }
4510
4493
  };
4511
4494
  }
4512
- function Dt(e) {
4495
+ function Gt(e) {
4513
4496
  let t, r = (
4514
4497
  /*game*/
4515
4498
  e[44].name + ""
4516
4499
  ), n, i;
4517
4500
  return {
4518
4501
  c() {
4519
- t = C("p"), n = we(r), x(t, "title", i = /*game*/
4502
+ t = H("p"), n = Te(r), C(t, "title", i = /*game*/
4520
4503
  e[44].name);
4521
4504
  },
4522
4505
  m(o, s) {
4523
- $(o, t, s), H(t, n);
4506
+ G(o, t, s), T(t, n);
4524
4507
  },
4525
4508
  p(o, s) {
4526
4509
  s[0] & /*gameCategories*/
4527
4510
  8 && r !== (r = /*game*/
4528
4511
  o[44].name + "") && rt(n, r), s[0] & /*gameCategories*/
4529
4512
  8 && i !== (i = /*game*/
4530
- o[44].name) && x(t, "title", i);
4513
+ o[44].name) && C(t, "title", i);
4531
4514
  },
4532
4515
  d(o) {
4533
4516
  o && I(t);
4534
4517
  }
4535
4518
  };
4536
4519
  }
4537
- function Ft(e) {
4520
+ function Ut(e) {
4538
4521
  let t, r, n, i, o, s, a, h;
4539
4522
  function u() {
4540
4523
  return (
@@ -4547,50 +4530,50 @@ function Ft(e) {
4547
4530
  }
4548
4531
  let l = (
4549
4532
  /*collectionprovidersgamenames*/
4550
- e[2] == "true" && Dt(e)
4533
+ e[2] == "true" && Gt(e)
4551
4534
  );
4552
4535
  return {
4553
4536
  c() {
4554
- t = C("div"), r = C("img"), o = k(), l && l.c(), s = k(), x(r, "class", "CategorySlideGameImage"), ve(r.src, n = /*game*/
4555
- e[44].defaultThumbnail) || x(r, "src", n), x(r, "alt", i = /*game*/
4556
- e[44].name), x(t, "class", "CategorySlideGames");
4537
+ t = H("div"), r = H("ui-image"), o = V(), l && l.c(), s = V(), $(r, "imgClass", "CategorySlideGameImage"), ye(r.src, n = /*game*/
4538
+ e[44].defaultThumbnail) || $(r, "src", n), $(r, "alt", i = /*game*/
4539
+ e[44].name), C(t, "class", "CategorySlideGames");
4557
4540
  },
4558
4541
  m(f, c) {
4559
- $(f, t, c), H(t, r), H(t, o), l && l.m(t, null), H(t, s), a || (h = ye(r, "click", jr(u)), a = !0);
4542
+ G(f, t, c), T(t, r), T(t, o), l && l.m(t, null), T(t, s), a || (h = _e(r, "click", Ur(u)), a = !0);
4560
4543
  },
4561
4544
  p(f, c) {
4562
4545
  e = f, c[0] & /*gameCategories*/
4563
- 8 && !ve(r.src, n = /*game*/
4564
- e[44].defaultThumbnail) && x(r, "src", n), c[0] & /*gameCategories*/
4546
+ 8 && !ye(r.src, n = /*game*/
4547
+ e[44].defaultThumbnail) && $(r, "src", n), c[0] & /*gameCategories*/
4565
4548
  8 && i !== (i = /*game*/
4566
- e[44].name) && x(r, "alt", i), /*collectionprovidersgamenames*/
4567
- e[2] == "true" ? l ? l.p(e, c) : (l = Dt(e), l.c(), l.m(t, s)) : l && (l.d(1), l = null);
4549
+ e[44].name) && $(r, "alt", i), /*collectionprovidersgamenames*/
4550
+ e[2] == "true" ? l ? l.p(e, c) : (l = Gt(e), l.c(), l.m(t, s)) : l && (l.d(1), l = null);
4568
4551
  },
4569
4552
  d(f) {
4570
4553
  f && I(t), l && l.d(), a = !1, h();
4571
4554
  }
4572
4555
  };
4573
4556
  }
4574
- function jt(e) {
4557
+ function Dt(e) {
4575
4558
  let t, r, n, i, o, s, a, h, u;
4576
- function l(g, S) {
4559
+ function l(g, E) {
4577
4560
  if (
4578
4561
  /*titletype*/
4579
4562
  g[1] === "logo"
4580
4563
  )
4581
- return vo;
4564
+ return bo;
4582
4565
  if (
4583
4566
  /*titletype*/
4584
4567
  g[1] === "title"
4585
4568
  )
4586
- return go;
4569
+ return mo;
4587
4570
  }
4588
4571
  let f = l(e), c = f && f(e), d = Ee(
4589
4572
  /*category*/
4590
4573
  e[41].games
4591
4574
  ), m = [];
4592
4575
  for (let g = 0; g < d.length; g += 1)
4593
- m[g] = Ft(Gt(e, d, g));
4576
+ m[g] = Ut(Rt(e, d, g));
4594
4577
  function b() {
4595
4578
  return (
4596
4579
  /*click_handler_1*/
@@ -4602,61 +4585,61 @@ function jt(e) {
4602
4585
  }
4603
4586
  return {
4604
4587
  c() {
4605
- t = C("div"), r = C("div"), n = C("div"), c && c.c(), i = k(), o = C("div");
4588
+ t = H("div"), r = H("div"), n = H("div"), c && c.c(), i = V(), o = H("div");
4606
4589
  for (let g = 0; g < m.length; g += 1)
4607
4590
  m[g].c();
4608
- a = k(), x(n, "class", "CategorySlideTopContainer"), x(o, "class", "CategorySlideGameContainer"), x(r, "class", s = "CategorySlide " + /*category*/
4609
- (e[41]?.flag[0] === "vendor" ? "CategorySlideNoHighlight" : "")), Oe(r, "background-image", "url(" + /*category*/
4610
- e[41]?.background + ")"), Oe(r, "background-size", "cover"), x(t, "class", "CategoriesSliderWrapper Animation");
4591
+ a = V(), C(n, "class", "CategorySlideTopContainer"), C(o, "class", "CategorySlideGameContainer"), C(r, "class", s = "CategorySlide " + /*category*/
4592
+ (e[41]?.flag[0] === "vendor" ? "CategorySlideNoHighlight" : "")), Le(r, "background-image", "url(" + /*category*/
4593
+ e[41]?.background + ")"), Le(r, "background-size", "cover"), C(t, "class", "CategoriesSliderWrapper Animation");
4611
4594
  },
4612
- m(g, S) {
4613
- $(g, t, S), H(t, r), H(r, n), c && c.m(n, null), H(r, i), H(r, o);
4614
- for (let E = 0; E < m.length; E += 1)
4615
- m[E] && m[E].m(o, null);
4616
- H(t, a), h || (u = ye(r, "click", b), h = !0);
4595
+ m(g, E) {
4596
+ G(g, t, E), T(t, r), T(r, n), c && c.m(n, null), T(r, i), T(r, o);
4597
+ for (let x = 0; x < m.length; x += 1)
4598
+ m[x] && m[x].m(o, null);
4599
+ T(t, a), h || (u = _e(r, "click", b), h = !0);
4617
4600
  },
4618
- p(g, S) {
4619
- if (e = g, f === (f = l(e)) && c ? c.p(e, S) : (c && c.d(1), c = f && f(e), c && (c.c(), c.m(n, null))), S[0] & /*gameCategories, collectionprovidersgamenames, openGame*/
4601
+ p(g, E) {
4602
+ if (e = g, f === (f = l(e)) && c ? c.p(e, E) : (c && c.d(1), c = f && f(e), c && (c.c(), c.m(n, null))), E[0] & /*gameCategories, collectionprovidersgamenames, openGame*/
4620
4603
  8204) {
4621
4604
  d = Ee(
4622
4605
  /*category*/
4623
4606
  e[41].games
4624
4607
  );
4625
- let E;
4626
- for (E = 0; E < d.length; E += 1) {
4627
- const T = Gt(e, d, E);
4628
- m[E] ? m[E].p(T, S) : (m[E] = Ft(T), m[E].c(), m[E].m(o, null));
4608
+ let x;
4609
+ for (x = 0; x < d.length; x += 1) {
4610
+ const w = Rt(e, d, x);
4611
+ m[x] ? m[x].p(w, E) : (m[x] = Ut(w), m[x].c(), m[x].m(o, null));
4629
4612
  }
4630
- for (; E < m.length; E += 1)
4631
- m[E].d(1);
4613
+ for (; x < m.length; x += 1)
4614
+ m[x].d(1);
4632
4615
  m.length = d.length;
4633
4616
  }
4634
- S[0] & /*gameCategories*/
4617
+ E[0] & /*gameCategories*/
4635
4618
  8 && s !== (s = "CategorySlide " + /*category*/
4636
- (e[41]?.flag[0] === "vendor" ? "CategorySlideNoHighlight" : "")) && x(r, "class", s), S[0] & /*gameCategories*/
4637
- 8 && Oe(r, "background-image", "url(" + /*category*/
4619
+ (e[41]?.flag[0] === "vendor" ? "CategorySlideNoHighlight" : "")) && C(r, "class", s), E[0] & /*gameCategories*/
4620
+ 8 && Le(r, "background-image", "url(" + /*category*/
4638
4621
  e[41]?.background + ")");
4639
4622
  },
4640
4623
  d(g) {
4641
- g && I(t), c && c.d(), Wt(m, g), h = !1, u();
4624
+ g && I(t), c && c.d(), Vt(m, g), h = !1, u();
4642
4625
  }
4643
4626
  };
4644
4627
  }
4645
- function yo(e) {
4628
+ function go(e) {
4646
4629
  let t;
4647
4630
  function r(o, s) {
4648
4631
  return (
4649
4632
  /*isLoading*/
4650
- o[6] ? bo : mo
4633
+ o[6] ? po : fo
4651
4634
  );
4652
4635
  }
4653
4636
  let n = r(e), i = n(e);
4654
4637
  return {
4655
4638
  c() {
4656
- t = C("div"), i.c();
4639
+ t = H("div"), i.c();
4657
4640
  },
4658
4641
  m(o, s) {
4659
- $(o, t, s), i.m(t, null), e[26](t);
4642
+ G(o, t, s), i.m(t, null), e[26](t);
4660
4643
  },
4661
4644
  p(o, s) {
4662
4645
  n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
@@ -4668,52 +4651,52 @@ function yo(e) {
4668
4651
  }
4669
4652
  };
4670
4653
  }
4671
- function _o(e, t, r) {
4654
+ function vo(e, t, r) {
4672
4655
  let n;
4673
- Gr(e, zi, (p) => r(10, n = p));
4674
- let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "" } = t, { type: a = "" } = t, { titletype: h = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: f = "" } = t, { collectionprovidersgamenames: c = "" } = t, { mbsource: d } = t, m = [], b = !0, g, S = 0, E = 0, T = 0, D, L, j = 0, X = 50, Ae = !1, N, Tr = window.navigator.userAgent, at;
4675
- const Hr = () => {
4656
+ Mr(e, Xi, (p) => r(10, n = p));
4657
+ let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "" } = t, { type: a = "" } = t, { titletype: h = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: f = "" } = t, { collectionprovidersgamenames: c = "" } = t, { mbsource: d } = t, m = [], b = !0, g, E = 0, x = 0, w = 0, F, L, k = 0, W = 50, Oe = !1, N, Er = window.navigator.userAgent, ot;
4658
+ const Sr = () => {
4676
4659
  fetch(f).then((P) => P.json()).then((P) => {
4677
4660
  Object.keys(P).forEach((M) => {
4678
- Pt(M, P[M]);
4661
+ Ht(M, P[M]);
4679
4662
  });
4680
4663
  }).catch((P) => {
4681
4664
  console.log(P);
4682
4665
  });
4683
4666
  };
4684
- Object.keys(Bt).forEach((p) => {
4685
- Pt(p, Bt[p]);
4667
+ Object.keys(Ct).forEach((p) => {
4668
+ Ht(p, Ct[p]);
4686
4669
  });
4687
- const lt = () => {
4670
+ const st = () => {
4688
4671
  const p = new URL(`${i}/v2/casino/groups/${o}`);
4689
- p.searchParams.append("language", s), p.searchParams.append("expand", "games"), p.searchParams.append("filter", `$and(flags=${a})`), p.searchParams.append("pagination", `offset=${j},limit=${X}`), fetch(p.href).then((P) => P.json()).then((P) => {
4690
- r(6, b = !1), P.total > X && (j += 50, X += 50, r(22, Ae = !0));
4672
+ p.searchParams.append("language", s), p.searchParams.append("expand", "games"), p.searchParams.append("filter", `$and(flags=${a})`), p.searchParams.append("pagination", `offset=${k},limit=${W}`), fetch(p.href).then((P) => P.json()).then((P) => {
4673
+ r(6, b = !1), P.total > W && (k += 50, W += 50, r(22, Oe = !0));
4691
4674
  let M = P.items.map((R) => ({
4692
4675
  id: R.id,
4693
4676
  name: R.name,
4694
4677
  icon: R.icon ? R.icon : R.vendors?.items[0]?.subVendors[0]?.logo,
4695
- games: R.games.items.slice(0, 4).map((Rr) => Rr),
4678
+ games: R.games.items.slice(0, 4).map((Ir) => Ir),
4696
4679
  background: R.background,
4697
4680
  flag: R.flags
4698
4681
  }));
4699
- r(3, m = [...m, ...M]), r(7, E = m.length), Cr();
4682
+ r(3, m = [...m, ...M]), r(7, x = m.length), wr();
4700
4683
  });
4701
- }, Cr = () => {
4684
+ }, wr = () => {
4702
4685
  const p = N.getRootNode().host;
4703
4686
  p.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: p } }));
4704
- }, ut = (p) => {
4687
+ }, at = (p) => {
4705
4688
  L = [...g.children], L.forEach((P, M) => {
4706
4689
  P.style.transform = `translateX(${100 * (p ? M - p : M)}%)`;
4707
- }), D = L[0].getBoundingClientRect().width, Pr();
4708
- }, Pr = () => {
4709
- r(8, T = Math.floor(g.clientWidth / D));
4710
- }, ht = () => {
4711
- ut(S);
4712
- }, Br = () => {
4713
- S === 0 ? S = E - T : S - T < -1 ? S = 0 : S--, ht();
4714
- }, Ar = () => {
4715
- S === E - T ? S = 0 : E - T < S + 1 ? S = E - T : S++, ht();
4716
- }, ct = (p, P, M, R) => {
4690
+ }), F = L[0]?.getBoundingClientRect().width, Tr();
4691
+ }, Tr = () => {
4692
+ r(8, w = Math.floor(g.clientWidth / F));
4693
+ }, lt = () => {
4694
+ at(E);
4695
+ }, Hr = () => {
4696
+ E === 0 ? E = x - w : E - w < -1 ? E = 0 : E--, lt();
4697
+ }, Cr = () => {
4698
+ E === x - w ? E = 0 : x - w < E + 1 ? E = x - w : E++, lt();
4699
+ }, ut = (p, P, M, R) => {
4717
4700
  window.postMessage(
4718
4701
  {
4719
4702
  type: "OpenCollectionsProvidersGame",
@@ -4727,7 +4710,7 @@ function _o(e, t, r) {
4727
4710
  context: "CollectionsProviders",
4728
4711
  gameName: `${M}`
4729
4712
  });
4730
- }, ft = (p) => {
4713
+ }, ht = (p) => {
4731
4714
  window.postMessage(
4732
4715
  {
4733
4716
  type: "OpenCollectionsProvidersCategory",
@@ -4735,19 +4718,19 @@ function _o(e, t, r) {
4735
4718
  },
4736
4719
  window.location.href
4737
4720
  );
4738
- }, Or = () => {
4739
- Zi(s);
4721
+ }, Pr = () => {
4722
+ Wi(s);
4740
4723
  };
4741
- Wr(() => (r(9, at = uo(Tr)), () => {
4724
+ kr(() => (r(9, ot = ao(Er)), () => {
4742
4725
  }));
4743
- const Lr = (p) => ct(p.gameId, p.launchUrl, p.name, p.subVendor), Ir = (p) => ft(p.id);
4744
- function Nr(p) {
4745
- _e[p ? "unshift" : "push"](() => {
4726
+ const Br = (p) => ut(p.gameId, p.launchUrl, p.name, p.subVendor), Ar = (p) => ht(p.id);
4727
+ function Or(p) {
4728
+ xe[p ? "unshift" : "push"](() => {
4746
4729
  g = p, r(4, g);
4747
4730
  });
4748
4731
  }
4749
- function Mr(p) {
4750
- _e[p ? "unshift" : "push"](() => {
4732
+ function Lr(p) {
4733
+ xe[p ? "unshift" : "push"](() => {
4751
4734
  N = p, r(5, N);
4752
4735
  });
4753
4736
  }
@@ -4755,14 +4738,14 @@ function _o(e, t, r) {
4755
4738
  "endpoint" in p && r(15, i = p.endpoint), "datasource" in p && r(16, o = p.datasource), "lang" in p && r(17, s = p.lang), "type" in p && r(0, a = p.type), "titletype" in p && r(1, h = p.titletype), "clientstyling" in p && r(18, u = p.clientstyling), "clientstylingurl" in p && r(19, l = p.clientstylingurl), "translationurl" in p && r(20, f = p.translationurl), "collectionprovidersgamenames" in p && r(2, c = p.collectionprovidersgamenames), "mbsource" in p && r(21, d = p.mbsource);
4756
4739
  }, e.$$.update = () => {
4757
4740
  e.$$.dirty[0] & /*endpoint, datasource, lang*/
4758
- 229376 && i && o && s && lt(), e.$$.dirty[0] & /*gameCategories, categoriesSlider*/
4759
- 24 && m && g && ut(), e.$$.dirty[0] & /*lang*/
4760
- 131072 && s && Or(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4761
- 262176 && u && N && ho(N, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4762
- 524320 && l && N && co(N, l), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
4763
- 2097184 && N && fo(N, `${d}.Style`), e.$$.dirty[0] & /*translationurl*/
4764
- 1048576 && f && Hr(), e.$$.dirty[0] & /*paginationrequired*/
4765
- 4194304 && Ae && lt();
4741
+ 229376 && i && o && s && st(), e.$$.dirty[0] & /*gameCategories, categoriesSlider*/
4742
+ 24 && m && g && at(), e.$$.dirty[0] & /*lang*/
4743
+ 131072 && s && Pr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4744
+ 262176 && u && N && lo(N, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4745
+ 524320 && l && N && uo(N, l), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
4746
+ 2097184 && N && ho(N, `${d}.Style`), e.$$.dirty[0] & /*translationurl*/
4747
+ 1048576 && f && Sr(), e.$$.dirty[0] & /*paginationrequired*/
4748
+ 4194304 && Oe && st();
4766
4749
  }, [
4767
4750
  a,
4768
4751
  h,
@@ -4771,14 +4754,14 @@ function _o(e, t, r) {
4771
4754
  g,
4772
4755
  N,
4773
4756
  b,
4774
- E,
4775
- T,
4776
- at,
4757
+ x,
4758
+ w,
4759
+ ot,
4777
4760
  n,
4778
- Br,
4779
- Ar,
4780
- ct,
4781
- ft,
4761
+ Hr,
4762
+ Cr,
4763
+ ut,
4764
+ ht,
4782
4765
  i,
4783
4766
  o,
4784
4767
  s,
@@ -4786,21 +4769,21 @@ function _o(e, t, r) {
4786
4769
  l,
4787
4770
  f,
4788
4771
  d,
4789
- Ae,
4790
- Lr,
4791
- Ir,
4792
- Nr,
4793
- Mr
4772
+ Oe,
4773
+ Br,
4774
+ Ar,
4775
+ Or,
4776
+ Lr
4794
4777
  ];
4795
4778
  }
4796
- class Eo extends on {
4779
+ class yo extends tn {
4797
4780
  constructor(t) {
4798
- super(), rn(
4781
+ super(), Kr(
4799
4782
  this,
4800
4783
  t,
4801
- _o,
4802
- yo,
4803
- Vt,
4784
+ vo,
4785
+ go,
4786
+ jt,
4804
4787
  {
4805
4788
  endpoint: 15,
4806
4789
  datasource: 16,
@@ -4813,7 +4796,7 @@ class Eo extends on {
4813
4796
  collectionprovidersgamenames: 2,
4814
4797
  mbsource: 21
4815
4798
  },
4816
- po,
4799
+ co,
4817
4800
  [-1, -1]
4818
4801
  );
4819
4802
  }
@@ -4878,7 +4861,7 @@ class Eo extends on {
4878
4861
  this.$$set({ mbsource: t }), O();
4879
4862
  }
4880
4863
  }
4881
- nn(Eo, { endpoint: {}, datasource: {}, lang: {}, type: {}, titletype: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, collectionprovidersgamenames: {}, mbsource: {} }, [], [], !0);
4864
+ en(yo, { endpoint: {}, datasource: {}, lang: {}, type: {}, titletype: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, collectionprovidersgamenames: {}, mbsource: {} }, [], [], !0);
4882
4865
  export {
4883
- Eo as C
4866
+ yo as C
4884
4867
  };