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