@everymatrix/casino-collections-providers 1.56.2 → 1.56.3

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