@everymatrix/casino-categories-slider 1.74.10 → 1.75.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +1,17 @@
1
- var Rr = Object.defineProperty, Gr = Object.defineProperties;
2
- var Ur = Object.getOwnPropertyDescriptors;
3
- var mt = Object.getOwnPropertySymbols;
4
- var Dr = Object.prototype.hasOwnProperty, Fr = Object.prototype.propertyIsEnumerable;
5
- var Ie = (e, t, r) => t in e ? Rr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, dt = (e, t) => {
1
+ var Fr = Object.defineProperty, $r = Object.defineProperties;
2
+ var jr = Object.getOwnPropertyDescriptors;
3
+ var pt = Object.getOwnPropertySymbols;
4
+ var kr = Object.prototype.hasOwnProperty, Vr = Object.prototype.propertyIsEnumerable;
5
+ var Ie = (e, t, r) => t in e ? Fr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, gt = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- Dr.call(t, r) && Ie(e, r, t[r]);
8
- if (mt)
9
- for (var r of mt(t))
10
- Fr.call(t, r) && Ie(e, r, t[r]);
7
+ kr.call(t, r) && Ie(e, r, t[r]);
8
+ if (pt)
9
+ for (var r of pt(t))
10
+ Vr.call(t, r) && Ie(e, r, t[r]);
11
11
  return e;
12
- }, bt = (e, t) => Gr(e, Ur(t));
12
+ }, yt = (e, t) => $r(e, jr(t));
13
13
  var M = (e, t, r) => (Ie(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var pt = (e, t, r) => new Promise((n, i) => {
14
+ var vt = (e, t, r) => new Promise((n, i) => {
15
15
  var s = (h) => {
16
16
  try {
17
17
  a(r.next(h));
@@ -29,29 +29,29 @@ var pt = (e, t, r) => new Promise((n, i) => {
29
29
  });
30
30
  function I() {
31
31
  }
32
- function $t(e) {
32
+ function Vt(e) {
33
33
  return e();
34
34
  }
35
- function gt() {
35
+ function Et() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
38
  function ne(e) {
39
- e.forEach($t);
39
+ e.forEach(Vt);
40
40
  }
41
- function it(e) {
41
+ function st(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function jt(e, t) {
44
+ function Xt(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
47
  let ge;
48
- function Ss(e, t) {
48
+ function Hs(e, t) {
49
49
  return e === t ? !0 : (ge || (ge = document.createElement("a")), ge.href = t, e === ge.href);
50
50
  }
51
- function $r(e) {
51
+ function Xr(e) {
52
52
  return Object.keys(e).length === 0;
53
53
  }
54
- function kt(e, ...t) {
54
+ function Wt(e, ...t) {
55
55
  if (e == null) {
56
56
  for (const n of t)
57
57
  n(void 0);
@@ -60,20 +60,20 @@ function kt(e, ...t) {
60
60
  const r = e.subscribe(...t);
61
61
  return r.unsubscribe ? () => r.unsubscribe() : r;
62
62
  }
63
- function jr(e, t, r) {
64
- e.$$.on_destroy.push(kt(t, r));
63
+ function Wr(e, t, r) {
64
+ e.$$.on_destroy.push(Wt(t, r));
65
65
  }
66
- function Vt(e, t) {
66
+ function zt(e, t) {
67
67
  e.appendChild(t);
68
68
  }
69
- function kr(e, t, r) {
70
- const n = Vr(e);
69
+ function zr(e, t, r) {
70
+ const n = Zr(e);
71
71
  if (!n.getElementById(t)) {
72
72
  const i = V("style");
73
- i.id = t, i.textContent = r, Xr(n, i);
73
+ i.id = t, i.textContent = r, Qr(n, i);
74
74
  }
75
75
  }
76
- function Vr(e) {
76
+ function Zr(e) {
77
77
  if (!e)
78
78
  return document;
79
79
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -83,8 +83,8 @@ function Vr(e) {
83
83
  t
84
84
  ) : e.ownerDocument;
85
85
  }
86
- function Xr(e, t) {
87
- return Vt(
86
+ function Qr(e, t) {
87
+ return zt(
88
88
  /** @type {Document} */
89
89
  e.head || e,
90
90
  t
@@ -96,26 +96,26 @@ function fe(e, t, r) {
96
96
  function ie(e) {
97
97
  e.parentNode && e.parentNode.removeChild(e);
98
98
  }
99
- function ws(e, t) {
99
+ function Bs(e, t) {
100
100
  for (let r = 0; r < e.length; r += 1)
101
101
  e[r] && e[r].d(t);
102
102
  }
103
103
  function V(e) {
104
104
  return document.createElement(e);
105
105
  }
106
- function Xt(e) {
106
+ function Zt(e) {
107
107
  return document.createTextNode(e);
108
108
  }
109
- function Ts() {
110
- return Xt(" ");
109
+ function As() {
110
+ return Zt(" ");
111
111
  }
112
- function Hs() {
113
- return Xt("");
112
+ function Ps() {
113
+ return Zt("");
114
114
  }
115
- function As(e, t, r, n) {
115
+ function Ns(e, t, r, n) {
116
116
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
117
117
  }
118
- function Bs(e) {
118
+ function Os(e) {
119
119
  return function(t) {
120
120
  return t.preventDefault(), e.call(this, t);
121
121
  };
@@ -127,14 +127,14 @@ function E(e, t, r) {
127
127
  const n = t.toLowerCase();
128
128
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : me(e, t, r);
129
129
  }
130
- function Wr(e) {
130
+ function Yr(e) {
131
131
  return Array.from(e.childNodes);
132
132
  }
133
- function Ps(e, t) {
133
+ function Ls(e, t) {
134
134
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
135
135
  t);
136
136
  }
137
- function zr(e) {
137
+ function qr(e) {
138
138
  const t = {};
139
139
  return e.childNodes.forEach(
140
140
  /** @param {Element} node */
@@ -147,29 +147,29 @@ let he;
147
147
  function ue(e) {
148
148
  he = e;
149
149
  }
150
- function Zr() {
150
+ function Jr() {
151
151
  if (!he)
152
152
  throw new Error("Function called outside component initialization");
153
153
  return he;
154
154
  }
155
- function Qr(e) {
156
- Zr().$$.on_mount.push(e);
155
+ function Kr(e) {
156
+ Jr().$$.on_mount.push(e);
157
157
  }
158
- function Ns(e, t) {
158
+ function Is(e, t) {
159
159
  const r = e.$$.callbacks[t.type];
160
160
  r && r.slice().forEach((n) => n.call(this, t));
161
161
  }
162
- const Y = [], $e = [];
162
+ const Y = [], je = [];
163
163
  let q = [];
164
- const yt = [], Wt = /* @__PURE__ */ Promise.resolve();
165
- let je = !1;
166
- function zt() {
167
- je || (je = !0, Wt.then(S));
164
+ const _t = [], Qt = /* @__PURE__ */ Promise.resolve();
165
+ let ke = !1;
166
+ function Yt() {
167
+ ke || (ke = !0, Qt.then(S));
168
168
  }
169
- function Yr() {
170
- return zt(), Wt;
169
+ function en() {
170
+ return Yt(), Qt;
171
171
  }
172
- function ke(e) {
172
+ function Ve(e) {
173
173
  q.push(e);
174
174
  }
175
175
  const Ce = /* @__PURE__ */ new Set();
@@ -182,62 +182,62 @@ function S() {
182
182
  try {
183
183
  for (; Z < Y.length; ) {
184
184
  const t = Y[Z];
185
- Z++, ue(t), qr(t.$$);
185
+ Z++, ue(t), tn(t.$$);
186
186
  }
187
187
  } catch (t) {
188
188
  throw Y.length = 0, Z = 0, t;
189
189
  }
190
- for (ue(null), Y.length = 0, Z = 0; $e.length; )
191
- $e.pop()();
190
+ for (ue(null), Y.length = 0, Z = 0; je.length; )
191
+ je.pop()();
192
192
  for (let t = 0; t < q.length; t += 1) {
193
193
  const r = q[t];
194
194
  Ce.has(r) || (Ce.add(r), r());
195
195
  }
196
196
  q.length = 0;
197
197
  } while (Y.length);
198
- for (; yt.length; )
199
- yt.pop()();
200
- je = !1, Ce.clear(), ue(e);
198
+ for (; _t.length; )
199
+ _t.pop()();
200
+ ke = !1, Ce.clear(), ue(e);
201
201
  }
202
- function qr(e) {
202
+ function tn(e) {
203
203
  if (e.fragment !== null) {
204
204
  e.update(), ne(e.before_update);
205
205
  const t = e.dirty;
206
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ke);
206
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ve);
207
207
  }
208
208
  }
209
- function Jr(e) {
209
+ function rn(e) {
210
210
  const t = [], r = [];
211
211
  q.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), q = t;
212
212
  }
213
- const Kr = /* @__PURE__ */ new Set();
214
- function Zt(e, t) {
215
- e && e.i && (Kr.delete(e), e.i(t));
213
+ const nn = /* @__PURE__ */ new Set();
214
+ function qt(e, t) {
215
+ e && e.i && (nn.delete(e), e.i(t));
216
216
  }
217
- function Os(e) {
217
+ function Cs(e) {
218
218
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
219
219
  }
220
- function Ls(e, t) {
220
+ function Ms(e, t) {
221
221
  e.d(1), t.delete(e.key);
222
222
  }
223
- function Is(e, t, r, n, i, s, o, a, h, u, l, m) {
223
+ function Rs(e, t, r, n, i, s, o, a, h, u, l, m) {
224
224
  let c = e.length, d = s.length, b = c;
225
225
  const y = {};
226
226
  for (; b--; )
227
227
  y[e[b].key] = b;
228
228
  const T = [], C = /* @__PURE__ */ new Map(), P = /* @__PURE__ */ new Map(), w = [];
229
229
  for (b = d; b--; ) {
230
- const _ = m(i, s, b), A = r(_);
231
- let L = o.get(A);
232
- L ? w.push(() => L.p(_, t)) : (L = u(A, _), L.c()), C.set(A, T[b] = L), A in y && P.set(A, Math.abs(b - y[A]));
230
+ const _ = m(i, s, b), B = r(_);
231
+ let L = o.get(B);
232
+ L ? w.push(() => L.p(_, t)) : (L = u(B, _), L.c()), C.set(B, T[b] = L), B in y && P.set(B, Math.abs(b - y[B]));
233
233
  }
234
234
  const N = /* @__PURE__ */ new Set(), O = /* @__PURE__ */ new Set();
235
235
  function R(_) {
236
- Zt(_, 1), _.m(a, l), o.set(_.key, _), l = _.first, d--;
236
+ qt(_, 1), _.m(a, l), o.set(_.key, _), l = _.first, d--;
237
237
  }
238
238
  for (; c && d; ) {
239
- const _ = T[d - 1], A = e[c - 1], L = _.key, $ = A.key;
240
- _ === A ? (l = _.first, c--, d--) : C.has($) ? !o.has(L) || N.has(L) ? R(_) : O.has($) ? c-- : P.get(L) > P.get($) ? (O.add(L), R(_)) : (N.add($), c--) : (h(A, o), c--);
239
+ const _ = T[d - 1], B = e[c - 1], L = _.key, $ = B.key;
240
+ _ === B ? (l = _.first, c--, d--) : C.has($) ? !o.has(L) || N.has(L) ? R(_) : O.has($) ? c-- : P.get(L) > P.get($) ? (O.add(L), R(_)) : (N.add($), c--) : (h(B, o), c--);
241
241
  }
242
242
  for (; c--; ) {
243
243
  const _ = e[c];
@@ -247,21 +247,21 @@ function Is(e, t, r, n, i, s, o, a, h, u, l, m) {
247
247
  R(T[d - 1]);
248
248
  return ne(w), T;
249
249
  }
250
- function en(e, t, r) {
250
+ function sn(e, t, r) {
251
251
  const { fragment: n, after_update: i } = e.$$;
252
- n && n.m(t, r), ke(() => {
253
- const s = e.$$.on_mount.map($t).filter(it);
252
+ n && n.m(t, r), Ve(() => {
253
+ const s = e.$$.on_mount.map(Vt).filter(st);
254
254
  e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ne(s), e.$$.on_mount = [];
255
- }), i.forEach(ke);
255
+ }), i.forEach(Ve);
256
256
  }
257
- function tn(e, t) {
257
+ function on(e, t) {
258
258
  const r = e.$$;
259
- r.fragment !== null && (Jr(r.after_update), ne(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
259
+ r.fragment !== null && (rn(r.after_update), ne(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
260
260
  }
261
- function rn(e, t) {
262
- e.$$.dirty[0] === -1 && (Y.push(e), zt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
261
+ function an(e, t) {
262
+ e.$$.dirty[0] === -1 && (Y.push(e), Yt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
263
263
  }
264
- function nn(e, t, r, n, i, s, o = null, a = [-1]) {
264
+ function un(e, t, r, n, i, s, o = null, a = [-1]) {
265
265
  const h = he;
266
266
  ue(e);
267
267
  const u = e.$$ = {
@@ -271,7 +271,7 @@ function nn(e, t, r, n, i, s, o = null, a = [-1]) {
271
271
  props: s,
272
272
  update: I,
273
273
  not_equal: i,
274
- bound: gt(),
274
+ bound: Et(),
275
275
  // lifecycle
276
276
  on_mount: [],
277
277
  on_destroy: [],
@@ -280,7 +280,7 @@ function nn(e, t, r, n, i, s, o = null, a = [-1]) {
280
280
  after_update: [],
281
281
  context: new Map(t.context || (h ? h.$$.context : [])),
282
282
  // everything else
283
- callbacks: gt(),
283
+ callbacks: Et(),
284
284
  dirty: a,
285
285
  skip_bound: !1,
286
286
  root: t.target || h.$$.root
@@ -289,19 +289,19 @@ function nn(e, t, r, n, i, s, o = null, a = [-1]) {
289
289
  let l = !1;
290
290
  if (u.ctx = r ? r(e, t.props || {}, (m, c, ...d) => {
291
291
  const b = d.length ? d[0] : c;
292
- return u.ctx && i(u.ctx[m], u.ctx[m] = b) && (!u.skip_bound && u.bound[m] && u.bound[m](b), l && rn(e, m)), c;
292
+ return u.ctx && i(u.ctx[m], u.ctx[m] = b) && (!u.skip_bound && u.bound[m] && u.bound[m](b), l && an(e, m)), c;
293
293
  }) : [], u.update(), l = !0, ne(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
294
294
  if (t.hydrate) {
295
- const m = Wr(t.target);
295
+ const m = Yr(t.target);
296
296
  u.fragment && u.fragment.l(m), m.forEach(ie);
297
297
  } else
298
298
  u.fragment && u.fragment.c();
299
- t.intro && Zt(e.$$.fragment), en(e, t.target, t.anchor), S();
299
+ t.intro && qt(e.$$.fragment), sn(e, t.target, t.anchor), S();
300
300
  }
301
301
  ue(h);
302
302
  }
303
- let Qt;
304
- typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
303
+ let Jt;
304
+ typeof HTMLElement == "function" && (Jt = class extends HTMLElement {
305
305
  constructor(t, r, n) {
306
306
  super();
307
307
  /** The Svelte component constructor */
@@ -338,7 +338,7 @@ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
338
338
  }
339
339
  }
340
340
  connectedCallback() {
341
- return pt(this, null, function* () {
341
+ return vt(this, null, function* () {
342
342
  if (this.$$cn = !0, !this.$$c) {
343
343
  let t = function(s) {
344
344
  return () => {
@@ -362,7 +362,7 @@ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
362
362
  };
363
363
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
364
364
  return;
365
- const r = {}, n = zr(this);
365
+ const r = {}, n = qr(this);
366
366
  for (const s of this.$$s)
367
367
  s in n && (r[s] = [t(s)]);
368
368
  for (const s of this.attributes) {
@@ -373,7 +373,7 @@ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
373
373
  !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
374
374
  this.$$c = new this.$$ctor({
375
375
  target: this.shadowRoot || this,
376
- props: bt(dt({}, this.$$d), {
376
+ props: yt(gt({}, this.$$d), {
377
377
  $$slots: r,
378
378
  $$scope: {
379
379
  ctx: []
@@ -451,8 +451,8 @@ function Ee(e, t, r, n) {
451
451
  return t;
452
452
  }
453
453
  }
454
- function sn(e, t, r, n, i, s) {
455
- let o = class extends Qt {
454
+ function hn(e, t, r, n, i, s) {
455
+ let o = class extends Jt {
456
456
  constructor() {
457
457
  super(e, r, i), this.$$p_d = t;
458
458
  }
@@ -482,7 +482,7 @@ function sn(e, t, r, n, i, s) {
482
482
  }), e.element = /** @type {any} */
483
483
  o, o;
484
484
  }
485
- class on {
485
+ class ln {
486
486
  constructor() {
487
487
  /**
488
488
  * ### PRIVATE API
@@ -503,7 +503,7 @@ class on {
503
503
  }
504
504
  /** @returns {void} */
505
505
  $destroy() {
506
- tn(this, 1), this.$destroy = I;
506
+ on(this, 1), this.$destroy = I;
507
507
  }
508
508
  /**
509
509
  * @template {Extract<keyof Events, string>} K
@@ -512,7 +512,7 @@ class on {
512
512
  * @returns {() => void}
513
513
  */
514
514
  $on(t, r) {
515
- if (!it(r))
515
+ if (!st(r))
516
516
  return I;
517
517
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
518
518
  return n.push(r), () => {
@@ -525,11 +525,11 @@ class on {
525
525
  * @returns {void}
526
526
  */
527
527
  $set(t) {
528
- this.$$set && !$r(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
528
+ this.$$set && !Xr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
529
529
  }
530
530
  }
531
- const an = "4";
532
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(an);
531
+ const cn = "4";
532
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(cn);
533
533
  /*! *****************************************************************************
534
534
  Copyright (c) Microsoft Corporation.
535
535
 
@@ -544,18 +544,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
544
544
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
545
545
  PERFORMANCE OF THIS SOFTWARE.
546
546
  ***************************************************************************** */
547
- var Ve = function(e, t) {
548
- return Ve = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
547
+ var Xe = function(e, t) {
548
+ return Xe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
549
549
  r.__proto__ = n;
550
550
  } || function(r, n) {
551
551
  for (var i in n)
552
552
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
553
- }, Ve(e, t);
553
+ }, Xe(e, t);
554
554
  };
555
555
  function D(e, t) {
556
556
  if (typeof t != "function" && t !== null)
557
557
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
558
- Ve(e, t);
558
+ Xe(e, t);
559
559
  function r() {
560
560
  this.constructor = e;
561
561
  }
@@ -571,7 +571,7 @@ var v = function() {
571
571
  return t;
572
572
  }, v.apply(this, arguments);
573
573
  };
574
- function un(e, t) {
574
+ function fn(e, t) {
575
575
  var r = {};
576
576
  for (var n in e)
577
577
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -580,7 +580,7 @@ function un(e, t) {
580
580
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
581
581
  return r;
582
582
  }
583
- function Xe(e) {
583
+ function We(e) {
584
584
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
585
585
  if (r)
586
586
  return r.call(e);
@@ -592,7 +592,7 @@ function Xe(e) {
592
592
  };
593
593
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
594
594
  }
595
- function We(e, t) {
595
+ function ze(e, t) {
596
596
  var r = typeof Symbol == "function" && e[Symbol.iterator];
597
597
  if (!r)
598
598
  return e;
@@ -621,13 +621,13 @@ function J(e, t, r) {
621
621
  function U(e) {
622
622
  return typeof e == "function";
623
623
  }
624
- function Yt(e) {
624
+ function Kt(e) {
625
625
  var t = function(n) {
626
626
  Error.call(n), n.stack = new Error().stack;
627
627
  }, r = e(t);
628
628
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
629
629
  }
630
- var Me = Yt(function(e) {
630
+ var Me = Kt(function(e) {
631
631
  return function(r) {
632
632
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
633
633
  ` + r.map(function(n, i) {
@@ -636,7 +636,7 @@ var Me = Yt(function(e) {
636
636
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
637
637
  };
638
638
  });
639
- function ze(e, t) {
639
+ function Ze(e, t) {
640
640
  if (e) {
641
641
  var r = e.indexOf(t);
642
642
  0 <= r && e.splice(r, 1);
@@ -654,7 +654,7 @@ var He = function() {
654
654
  if (o)
655
655
  if (this._parentage = null, Array.isArray(o))
656
656
  try {
657
- for (var a = Xe(o), h = a.next(); !h.done; h = a.next()) {
657
+ for (var a = We(o), h = a.next(); !h.done; h = a.next()) {
658
658
  var u = h.value;
659
659
  u.remove(this);
660
660
  }
@@ -681,12 +681,12 @@ var He = function() {
681
681
  if (m) {
682
682
  this._finalizers = null;
683
683
  try {
684
- for (var c = Xe(m), d = c.next(); !d.done; d = c.next()) {
684
+ for (var c = We(m), d = c.next(); !d.done; d = c.next()) {
685
685
  var b = d.value;
686
686
  try {
687
- vt(b);
687
+ xt(b);
688
688
  } catch (y) {
689
- s = s != null ? s : [], y instanceof Me ? s = J(J([], We(s)), We(y.errors)) : s.push(y);
689
+ s = s != null ? s : [], y instanceof Me ? s = J(J([], ze(s)), ze(y.errors)) : s.push(y);
690
690
  }
691
691
  }
692
692
  } catch (y) {
@@ -707,7 +707,7 @@ var He = function() {
707
707
  var r;
708
708
  if (t && t !== this)
709
709
  if (this.closed)
710
- vt(t);
710
+ xt(t);
711
711
  else {
712
712
  if (t instanceof e) {
713
713
  if (t.closed || t._hasParent(this))
@@ -724,56 +724,56 @@ var He = function() {
724
724
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
725
725
  }, e.prototype._removeParent = function(t) {
726
726
  var r = this._parentage;
727
- r === t ? this._parentage = null : Array.isArray(r) && ze(r, t);
727
+ r === t ? this._parentage = null : Array.isArray(r) && Ze(r, t);
728
728
  }, e.prototype.remove = function(t) {
729
729
  var r = this._finalizers;
730
- r && ze(r, t), t instanceof e && t._removeParent(this);
730
+ r && Ze(r, t), t instanceof e && t._removeParent(this);
731
731
  }, e.EMPTY = function() {
732
732
  var t = new e();
733
733
  return t.closed = !0, t;
734
734
  }(), e;
735
- }(), qt = He.EMPTY;
736
- function Jt(e) {
735
+ }(), er = He.EMPTY;
736
+ function tr(e) {
737
737
  return e instanceof He || e && "closed" in e && U(e.remove) && U(e.add) && U(e.unsubscribe);
738
738
  }
739
- function vt(e) {
739
+ function xt(e) {
740
740
  U(e) ? e() : e.unsubscribe();
741
741
  }
742
- var hn = {
742
+ var rr = {
743
743
  onUnhandledError: null,
744
744
  onStoppedNotification: null,
745
745
  Promise: void 0,
746
746
  useDeprecatedSynchronousErrorHandling: !1,
747
747
  useDeprecatedNextContext: !1
748
- }, ln = {
748
+ }, mn = {
749
749
  setTimeout: function(e, t) {
750
750
  for (var r = [], n = 2; n < arguments.length; n++)
751
751
  r[n - 2] = arguments[n];
752
- return setTimeout.apply(void 0, J([e, t], We(r)));
752
+ return setTimeout.apply(void 0, J([e, t], ze(r)));
753
753
  },
754
754
  clearTimeout: function(e) {
755
755
  return clearTimeout(e);
756
756
  },
757
757
  delegate: void 0
758
758
  };
759
- function cn(e) {
760
- ln.setTimeout(function() {
759
+ function dn(e) {
760
+ mn.setTimeout(function() {
761
761
  throw e;
762
762
  });
763
763
  }
764
- function Et() {
764
+ function St() {
765
765
  }
766
766
  function _e(e) {
767
767
  e();
768
768
  }
769
- var Kt = function(e) {
769
+ var nr = function(e) {
770
770
  D(t, e);
771
771
  function t(r) {
772
772
  var n = e.call(this) || this;
773
- return n.isStopped = !1, r ? (n.destination = r, Jt(r) && r.add(n)) : n.destination = dn, n;
773
+ return n.isStopped = !1, r ? (n.destination = r, tr(r) && r.add(n)) : n.destination = yn, n;
774
774
  }
775
775
  return t.create = function(r, n, i) {
776
- return new Ze(r, n, i);
776
+ return new Qe(r, n, i);
777
777
  }, t.prototype.next = function(r) {
778
778
  this.isStopped || this._next(r);
779
779
  }, t.prototype.error = function(r) {
@@ -797,7 +797,11 @@ var Kt = function(e) {
797
797
  this.unsubscribe();
798
798
  }
799
799
  }, t;
800
- }(He), fn = function() {
800
+ }(He), bn = Function.prototype.bind;
801
+ function Re(e, t) {
802
+ return bn.call(e, t);
803
+ }
804
+ var pn = function() {
801
805
  function e(t) {
802
806
  this.partialObserver = t;
803
807
  }
@@ -828,43 +832,55 @@ var Kt = function(e) {
828
832
  ye(r);
829
833
  }
830
834
  }, e;
831
- }(), Ze = function(e) {
835
+ }(), Qe = function(e) {
832
836
  D(t, e);
833
837
  function t(r, n, i) {
834
838
  var s = e.call(this) || this, o;
835
- return U(r) || !r ? o = {
836
- next: r != null ? r : void 0,
837
- error: n != null ? n : void 0,
838
- complete: i != null ? i : void 0
839
- } : o = r, s.destination = new fn(o), s;
839
+ if (U(r) || !r)
840
+ o = {
841
+ next: r != null ? r : void 0,
842
+ error: n != null ? n : void 0,
843
+ complete: i != null ? i : void 0
844
+ };
845
+ else {
846
+ var a;
847
+ s && rr.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
848
+ return s.unsubscribe();
849
+ }, o = {
850
+ next: r.next && Re(r.next, a),
851
+ error: r.error && Re(r.error, a),
852
+ complete: r.complete && Re(r.complete, a)
853
+ }) : o = r;
854
+ }
855
+ return s.destination = new pn(o), s;
840
856
  }
841
857
  return t;
842
- }(Kt);
858
+ }(nr);
843
859
  function ye(e) {
844
- cn(e);
860
+ dn(e);
845
861
  }
846
- function mn(e) {
862
+ function gn(e) {
847
863
  throw e;
848
864
  }
849
- var dn = {
865
+ var yn = {
850
866
  closed: !0,
851
- next: Et,
852
- error: mn,
853
- complete: Et
854
- }, bn = function() {
867
+ next: St,
868
+ error: gn,
869
+ complete: St
870
+ }, vn = function() {
855
871
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
856
872
  }();
857
- function pn(e) {
873
+ function En(e) {
858
874
  return e;
859
875
  }
860
- function gn(e) {
861
- return e.length === 0 ? pn : e.length === 1 ? e[0] : function(r) {
876
+ function _n(e) {
877
+ return e.length === 0 ? En : e.length === 1 ? e[0] : function(r) {
862
878
  return e.reduce(function(n, i) {
863
879
  return i(n);
864
880
  }, r);
865
881
  };
866
882
  }
867
- var _t = function() {
883
+ var wt = function() {
868
884
  function e(t) {
869
885
  t && (this._subscribe = t);
870
886
  }
@@ -872,7 +888,7 @@ var _t = function() {
872
888
  var r = new e();
873
889
  return r.source = this, r.operator = t, r;
874
890
  }, e.prototype.subscribe = function(t, r, n) {
875
- var i = this, s = vn(t) ? t : new Ze(t, r, n);
891
+ var i = this, s = Sn(t) ? t : new Qe(t, r, n);
876
892
  return _e(function() {
877
893
  var o = i, a = o.operator, h = o.source;
878
894
  s.add(a ? a.call(s, h) : h ? i._subscribe(s) : i._trySubscribe(s));
@@ -885,8 +901,8 @@ var _t = function() {
885
901
  }
886
902
  }, e.prototype.forEach = function(t, r) {
887
903
  var n = this;
888
- return r = xt(r), new r(function(i, s) {
889
- var o = new Ze({
904
+ return r = Tt(r), new r(function(i, s) {
905
+ var o = new Qe({
890
906
  next: function(a) {
891
907
  try {
892
908
  t(a);
@@ -902,15 +918,15 @@ var _t = function() {
902
918
  }, e.prototype._subscribe = function(t) {
903
919
  var r;
904
920
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
905
- }, e.prototype[bn] = function() {
921
+ }, e.prototype[vn] = function() {
906
922
  return this;
907
923
  }, e.prototype.pipe = function() {
908
924
  for (var t = [], r = 0; r < arguments.length; r++)
909
925
  t[r] = arguments[r];
910
- return gn(t)(this);
926
+ return _n(t)(this);
911
927
  }, e.prototype.toPromise = function(t) {
912
928
  var r = this;
913
- return t = xt(t), new t(function(n, i) {
929
+ return t = Tt(t), new t(function(n, i) {
914
930
  var s;
915
931
  r.subscribe(function(o) {
916
932
  return s = o;
@@ -924,32 +940,32 @@ var _t = function() {
924
940
  return new e(t);
925
941
  }, e;
926
942
  }();
927
- function xt(e) {
943
+ function Tt(e) {
928
944
  var t;
929
- return (t = e != null ? e : hn.Promise) !== null && t !== void 0 ? t : Promise;
945
+ return (t = e != null ? e : rr.Promise) !== null && t !== void 0 ? t : Promise;
930
946
  }
931
- function yn(e) {
947
+ function xn(e) {
932
948
  return e && U(e.next) && U(e.error) && U(e.complete);
933
949
  }
934
- function vn(e) {
935
- return e && e instanceof Kt || yn(e) && Jt(e);
950
+ function Sn(e) {
951
+ return e && e instanceof nr || xn(e) && tr(e);
936
952
  }
937
- var En = Yt(function(e) {
953
+ var wn = Kt(function(e) {
938
954
  return function() {
939
955
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
940
956
  };
941
- }), er = function(e) {
957
+ }), ir = function(e) {
942
958
  D(t, e);
943
959
  function t() {
944
960
  var r = e.call(this) || this;
945
961
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
946
962
  }
947
963
  return t.prototype.lift = function(r) {
948
- var n = new St(this, this);
964
+ var n = new Ht(this, this);
949
965
  return n.operator = r, n;
950
966
  }, t.prototype._throwIfClosed = function() {
951
967
  if (this.closed)
952
- throw new En();
968
+ throw new wn();
953
969
  }, t.prototype.next = function(r) {
954
970
  var n = this;
955
971
  _e(function() {
@@ -957,7 +973,7 @@ var En = Yt(function(e) {
957
973
  if (n._throwIfClosed(), !n.isStopped) {
958
974
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
959
975
  try {
960
- for (var o = Xe(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
976
+ for (var o = We(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
961
977
  var h = a.value;
962
978
  h.next(r);
963
979
  }
@@ -1006,19 +1022,19 @@ var En = Yt(function(e) {
1006
1022
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1007
1023
  }, t.prototype._innerSubscribe = function(r) {
1008
1024
  var n = this, i = this, s = i.hasError, o = i.isStopped, a = i.observers;
1009
- return s || o ? qt : (this.currentObservers = null, a.push(r), new He(function() {
1010
- n.currentObservers = null, ze(a, r);
1025
+ return s || o ? er : (this.currentObservers = null, a.push(r), new He(function() {
1026
+ n.currentObservers = null, Ze(a, r);
1011
1027
  }));
1012
1028
  }, t.prototype._checkFinalizedStatuses = function(r) {
1013
1029
  var n = this, i = n.hasError, s = n.thrownError, o = n.isStopped;
1014
1030
  i ? r.error(s) : o && r.complete();
1015
1031
  }, t.prototype.asObservable = function() {
1016
- var r = new _t();
1032
+ var r = new wt();
1017
1033
  return r.source = this, r;
1018
1034
  }, t.create = function(r, n) {
1019
- return new St(r, n);
1035
+ return new Ht(r, n);
1020
1036
  }, t;
1021
- }(_t), St = function(e) {
1037
+ }(wt), Ht = function(e) {
1022
1038
  D(t, e);
1023
1039
  function t(r, n) {
1024
1040
  var i = e.call(this) || this;
@@ -1035,17 +1051,17 @@ var En = Yt(function(e) {
1035
1051
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1036
1052
  }, t.prototype._subscribe = function(r) {
1037
1053
  var n, i;
1038
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : qt;
1054
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : er;
1039
1055
  }, t;
1040
- }(er), tr = {
1056
+ }(ir), sr = {
1041
1057
  now: function() {
1042
- return (tr.delegate || Date).now();
1058
+ return (sr.delegate || Date).now();
1043
1059
  },
1044
1060
  delegate: void 0
1045
- }, _n = function(e) {
1061
+ }, Tn = function(e) {
1046
1062
  D(t, e);
1047
1063
  function t(r, n, i) {
1048
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = tr);
1064
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = sr);
1049
1065
  var s = e.call(this) || this;
1050
1066
  return s._bufferSize = r, s._windowTime = n, s._timestampProvider = i, s._buffer = [], s._infiniteTimeWindow = !0, s._infiniteTimeWindow = n === 1 / 0, s._bufferSize = Math.max(1, r), s._windowTime = Math.max(1, n), s;
1051
1067
  }
@@ -1065,24 +1081,24 @@ var En = Yt(function(e) {
1065
1081
  u && s.splice(0, u + 1);
1066
1082
  }
1067
1083
  }, t;
1068
- }(er);
1069
- const wt = [], Tt = {}, xn = (e, t = 0) => {
1070
- if (wt.indexOf(e) == -1) {
1071
- const r = new _n(t);
1072
- Tt[e] = r, wt.push(e);
1084
+ }(ir);
1085
+ const Bt = [], At = {}, Hn = (e, t = 0) => {
1086
+ if (Bt.indexOf(e) == -1) {
1087
+ const r = new Tn(t);
1088
+ At[e] = r, Bt.push(e);
1073
1089
  }
1074
- return Tt[e];
1090
+ return At[e];
1075
1091
  }, Q = [];
1076
- function Sn(e, t) {
1092
+ function Bn(e, t) {
1077
1093
  return {
1078
- subscribe: Ae(e, t).subscribe
1094
+ subscribe: Be(e, t).subscribe
1079
1095
  };
1080
1096
  }
1081
- function Ae(e, t = I) {
1097
+ function Be(e, t = I) {
1082
1098
  let r;
1083
1099
  const n = /* @__PURE__ */ new Set();
1084
1100
  function i(a) {
1085
- if (jt(e, a) && (e = a, r)) {
1101
+ if (Xt(e, a) && (e = a, r)) {
1086
1102
  const h = !Q.length;
1087
1103
  for (const u of n)
1088
1104
  u[1](), Q.push(u, e);
@@ -1109,7 +1125,7 @@ function se(e, t, r) {
1109
1125
  if (!i.every(Boolean))
1110
1126
  throw new Error("derived() expects stores as input, got a falsy value");
1111
1127
  const s = t.length < 2;
1112
- return Sn(r, (o, a) => {
1128
+ return Bn(r, (o, a) => {
1113
1129
  let h = !1;
1114
1130
  const u = [];
1115
1131
  let l = 0, m = I;
@@ -1118,9 +1134,9 @@ function se(e, t, r) {
1118
1134
  return;
1119
1135
  m();
1120
1136
  const b = t(n ? u[0] : u, o, a);
1121
- s ? o(b) : m = it(b) ? b : I;
1137
+ s ? o(b) : m = st(b) ? b : I;
1122
1138
  }, d = i.map(
1123
- (b, y) => kt(
1139
+ (b, y) => Wt(
1124
1140
  b,
1125
1141
  (T) => {
1126
1142
  u[y] = T, l &= ~(1 << y), h && c();
@@ -1135,70 +1151,70 @@ function se(e, t, r) {
1135
1151
  };
1136
1152
  });
1137
1153
  }
1138
- function wn(e) {
1139
- return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1154
+ function An(e) {
1155
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1140
1156
  }
1141
- var Tn = function(t) {
1142
- return Hn(t) && !An(t);
1157
+ var Pn = function(t) {
1158
+ return Nn(t) && !On(t);
1143
1159
  };
1144
- function Hn(e) {
1160
+ function Nn(e) {
1145
1161
  return !!e && typeof e == "object";
1146
1162
  }
1147
- function An(e) {
1163
+ function On(e) {
1148
1164
  var t = Object.prototype.toString.call(e);
1149
- return t === "[object RegExp]" || t === "[object Date]" || Nn(e);
1165
+ return t === "[object RegExp]" || t === "[object Date]" || Cn(e);
1150
1166
  }
1151
- var Bn = typeof Symbol == "function" && Symbol.for, Pn = Bn ? Symbol.for("react.element") : 60103;
1152
- function Nn(e) {
1153
- return e.$$typeof === Pn;
1167
+ var Ln = typeof Symbol == "function" && Symbol.for, In = Ln ? Symbol.for("react.element") : 60103;
1168
+ function Cn(e) {
1169
+ return e.$$typeof === In;
1154
1170
  }
1155
- function On(e) {
1171
+ function Mn(e) {
1156
1172
  return Array.isArray(e) ? [] : {};
1157
1173
  }
1158
1174
  function le(e, t) {
1159
- return t.clone !== !1 && t.isMergeableObject(e) ? K(On(e), e, t) : e;
1175
+ return t.clone !== !1 && t.isMergeableObject(e) ? K(Mn(e), e, t) : e;
1160
1176
  }
1161
- function Ln(e, t, r) {
1177
+ function Rn(e, t, r) {
1162
1178
  return e.concat(t).map(function(n) {
1163
1179
  return le(n, r);
1164
1180
  });
1165
1181
  }
1166
- function In(e, t) {
1182
+ function Gn(e, t) {
1167
1183
  if (!t.customMerge)
1168
1184
  return K;
1169
1185
  var r = t.customMerge(e);
1170
1186
  return typeof r == "function" ? r : K;
1171
1187
  }
1172
- function Cn(e) {
1188
+ function Un(e) {
1173
1189
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1174
1190
  return Object.propertyIsEnumerable.call(e, t);
1175
1191
  }) : [];
1176
1192
  }
1177
- function Ht(e) {
1178
- return Object.keys(e).concat(Cn(e));
1193
+ function Pt(e) {
1194
+ return Object.keys(e).concat(Un(e));
1179
1195
  }
1180
- function rr(e, t) {
1196
+ function or(e, t) {
1181
1197
  try {
1182
1198
  return t in e;
1183
1199
  } catch (r) {
1184
1200
  return !1;
1185
1201
  }
1186
1202
  }
1187
- function Mn(e, t) {
1188
- return rr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1203
+ function Dn(e, t) {
1204
+ return or(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1189
1205
  }
1190
- function Rn(e, t, r) {
1206
+ function Fn(e, t, r) {
1191
1207
  var n = {};
1192
- return r.isMergeableObject(e) && Ht(e).forEach(function(i) {
1208
+ return r.isMergeableObject(e) && Pt(e).forEach(function(i) {
1193
1209
  n[i] = le(e[i], r);
1194
- }), Ht(t).forEach(function(i) {
1195
- Mn(e, i) || (rr(e, i) && r.isMergeableObject(t[i]) ? n[i] = In(i, r)(e[i], t[i], r) : n[i] = le(t[i], r));
1210
+ }), Pt(t).forEach(function(i) {
1211
+ Dn(e, i) || (or(e, i) && r.isMergeableObject(t[i]) ? n[i] = Gn(i, r)(e[i], t[i], r) : n[i] = le(t[i], r));
1196
1212
  }), n;
1197
1213
  }
1198
1214
  function K(e, t, r) {
1199
- r = r || {}, r.arrayMerge = r.arrayMerge || Ln, r.isMergeableObject = r.isMergeableObject || Tn, r.cloneUnlessOtherwiseSpecified = le;
1215
+ r = r || {}, r.arrayMerge = r.arrayMerge || Rn, r.isMergeableObject = r.isMergeableObject || Pn, r.cloneUnlessOtherwiseSpecified = le;
1200
1216
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
1201
- return s ? n ? r.arrayMerge(e, t, r) : Rn(e, t, r) : le(t, r);
1217
+ return s ? n ? r.arrayMerge(e, t, r) : Fn(e, t, r) : le(t, r);
1202
1218
  }
1203
1219
  K.all = function(t, r) {
1204
1220
  if (!Array.isArray(t))
@@ -1207,60 +1223,58 @@ K.all = function(t, r) {
1207
1223
  return K(n, i, r);
1208
1224
  }, {});
1209
1225
  };
1210
- var Gn = K, Un = Gn;
1211
- const Dn = /* @__PURE__ */ wn(Un);
1212
- function Re(e, t) {
1213
- var r = t && t.cache ? t.cache : Wn, n = t && t.serializer ? t.serializer : Vn, i = t && t.strategy ? t.strategy : $n;
1226
+ var $n = K, jn = $n;
1227
+ const kn = /* @__PURE__ */ An(jn);
1228
+ function Ge(e, t) {
1229
+ var r = t && t.cache ? t.cache : Qn, n = t && t.serializer ? t.serializer : Zn, i = t && t.strategy ? t.strategy : Xn;
1214
1230
  return i(e, {
1215
1231
  cache: r,
1216
1232
  serializer: n
1217
1233
  });
1218
1234
  }
1219
- function Fn(e) {
1235
+ function Vn(e) {
1220
1236
  return e == null || typeof e == "number" || typeof e == "boolean";
1221
1237
  }
1222
- function nr(e, t, r, n) {
1223
- var i = Fn(n) ? n : r(n), s = t.get(i);
1238
+ function ar(e, t, r, n) {
1239
+ var i = Vn(n) ? n : r(n), s = t.get(i);
1224
1240
  return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
1225
1241
  }
1226
- function ir(e, t, r) {
1242
+ function ur(e, t, r) {
1227
1243
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
1228
1244
  return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
1229
1245
  }
1230
- function st(e, t, r, n, i) {
1246
+ function ot(e, t, r, n, i) {
1231
1247
  return r.bind(t, e, n, i);
1232
1248
  }
1233
- function $n(e, t) {
1234
- var r = e.length === 1 ? nr : ir;
1235
- return st(e, this, r, t.cache.create(), t.serializer);
1249
+ function Xn(e, t) {
1250
+ var r = e.length === 1 ? ar : ur;
1251
+ return ot(e, this, r, t.cache.create(), t.serializer);
1236
1252
  }
1237
- function jn(e, t) {
1238
- return st(e, this, ir, t.cache.create(), t.serializer);
1253
+ function Wn(e, t) {
1254
+ return ot(e, this, ur, t.cache.create(), t.serializer);
1239
1255
  }
1240
- function kn(e, t) {
1241
- return st(e, this, nr, t.cache.create(), t.serializer);
1256
+ function zn(e, t) {
1257
+ return ot(e, this, ar, t.cache.create(), t.serializer);
1242
1258
  }
1243
- var Vn = function() {
1259
+ var Zn = function() {
1244
1260
  return JSON.stringify(arguments);
1245
- }, Xn = (
1246
- /** @class */
1247
- function() {
1248
- function e() {
1249
- this.cache = /* @__PURE__ */ Object.create(null);
1250
- }
1251
- return e.prototype.get = function(t) {
1252
- return this.cache[t];
1253
- }, e.prototype.set = function(t, r) {
1254
- this.cache[t] = r;
1255
- }, e;
1256
- }()
1257
- ), Wn = {
1261
+ };
1262
+ function at() {
1263
+ this.cache = /* @__PURE__ */ Object.create(null);
1264
+ }
1265
+ at.prototype.get = function(e) {
1266
+ return this.cache[e];
1267
+ };
1268
+ at.prototype.set = function(e, t) {
1269
+ this.cache[e] = t;
1270
+ };
1271
+ var Qn = {
1258
1272
  create: function() {
1259
- return new Xn();
1273
+ return new at();
1260
1274
  }
1261
- }, Ge = {
1262
- variadic: jn,
1263
- monadic: kn
1275
+ }, Ue = {
1276
+ variadic: Wn,
1277
+ monadic: zn
1264
1278
  }, p;
1265
1279
  (function(e) {
1266
1280
  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";
@@ -1273,43 +1287,43 @@ var ee;
1273
1287
  (function(e) {
1274
1288
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1275
1289
  })(ee || (ee = {}));
1276
- function At(e) {
1290
+ function Nt(e) {
1277
1291
  return e.type === x.literal;
1278
1292
  }
1279
- function zn(e) {
1293
+ function Yn(e) {
1280
1294
  return e.type === x.argument;
1281
1295
  }
1282
- function sr(e) {
1296
+ function hr(e) {
1283
1297
  return e.type === x.number;
1284
1298
  }
1285
- function or(e) {
1299
+ function lr(e) {
1286
1300
  return e.type === x.date;
1287
1301
  }
1288
- function ar(e) {
1302
+ function cr(e) {
1289
1303
  return e.type === x.time;
1290
1304
  }
1291
- function ur(e) {
1305
+ function fr(e) {
1292
1306
  return e.type === x.select;
1293
1307
  }
1294
- function hr(e) {
1308
+ function mr(e) {
1295
1309
  return e.type === x.plural;
1296
1310
  }
1297
- function Zn(e) {
1311
+ function qn(e) {
1298
1312
  return e.type === x.pound;
1299
1313
  }
1300
- function lr(e) {
1314
+ function dr(e) {
1301
1315
  return e.type === x.tag;
1302
1316
  }
1303
- function cr(e) {
1317
+ function br(e) {
1304
1318
  return !!(e && typeof e == "object" && e.type === ee.number);
1305
1319
  }
1306
- function Qe(e) {
1320
+ function Ye(e) {
1307
1321
  return !!(e && typeof e == "object" && e.type === ee.dateTime);
1308
1322
  }
1309
- var fr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Qn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1310
- function Yn(e) {
1323
+ var pr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Jn = /(?:[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;
1324
+ function Kn(e) {
1311
1325
  var t = {};
1312
- return e.replace(Qn, function(r) {
1326
+ return e.replace(Jn, function(r) {
1313
1327
  var n = r.length;
1314
1328
  switch (r[0]) {
1315
1329
  case "G":
@@ -1398,11 +1412,11 @@ function Yn(e) {
1398
1412
  return "";
1399
1413
  }), t;
1400
1414
  }
1401
- var qn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1402
- function Jn(e) {
1415
+ var ei = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1416
+ function ti(e) {
1403
1417
  if (e.length === 0)
1404
1418
  throw new Error("Number skeleton cannot be empty");
1405
- for (var t = e.split(qn).filter(function(c) {
1419
+ for (var t = e.split(ei).filter(function(c) {
1406
1420
  return c.length > 0;
1407
1421
  }), r = [], n = 0, i = t; n < i.length; n++) {
1408
1422
  var s = i[n], o = s.split("/");
@@ -1417,17 +1431,17 @@ function Jn(e) {
1417
1431
  }
1418
1432
  return r;
1419
1433
  }
1420
- function Kn(e) {
1434
+ function ri(e) {
1421
1435
  return e.replace(/^(.*?)-/, "");
1422
1436
  }
1423
- var Bt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, mr = /^(@+)?(\+|#+)?[rs]?$/g, ei = /(\*)(0+)|(#+)(0+)|(0+)/g, dr = /^(0+)$/;
1424
- function Pt(e) {
1437
+ var Ot = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, gr = /^(@+)?(\+|#+)?[rs]?$/g, ni = /(\*)(0+)|(#+)(0+)|(0+)/g, yr = /^(0+)$/;
1438
+ function Lt(e) {
1425
1439
  var t = {};
1426
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(mr, function(r, n, i) {
1440
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(gr, function(r, n, i) {
1427
1441
  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)), "";
1428
1442
  }), t;
1429
1443
  }
1430
- function br(e) {
1444
+ function vr(e) {
1431
1445
  switch (e) {
1432
1446
  case "sign-auto":
1433
1447
  return {
@@ -1467,7 +1481,7 @@ function br(e) {
1467
1481
  };
1468
1482
  }
1469
1483
  }
1470
- function ti(e) {
1484
+ function ii(e) {
1471
1485
  var t;
1472
1486
  if (e[0] === "E" && e[1] === "E" ? (t = {
1473
1487
  notation: "engineering"
@@ -1475,17 +1489,17 @@ function ti(e) {
1475
1489
  notation: "scientific"
1476
1490
  }, e = e.slice(1)), t) {
1477
1491
  var r = e.slice(0, 2);
1478
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !dr.test(e))
1492
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !yr.test(e))
1479
1493
  throw new Error("Malformed concise eng/scientific notation");
1480
1494
  t.minimumIntegerDigits = e.length;
1481
1495
  }
1482
1496
  return t;
1483
1497
  }
1484
- function Nt(e) {
1485
- var t = {}, r = br(e);
1498
+ function It(e) {
1499
+ var t = {}, r = vr(e);
1486
1500
  return r || t;
1487
1501
  }
1488
- function ri(e) {
1502
+ function si(e) {
1489
1503
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1490
1504
  var i = n[r];
1491
1505
  switch (i.stem) {
@@ -1509,7 +1523,7 @@ function ri(e) {
1509
1523
  continue;
1510
1524
  case "measure-unit":
1511
1525
  case "unit":
1512
- t.style = "unit", t.unit = Kn(i.options[0]);
1526
+ t.style = "unit", t.unit = ri(i.options[0]);
1513
1527
  continue;
1514
1528
  case "compact-short":
1515
1529
  case "K":
@@ -1521,12 +1535,12 @@ function ri(e) {
1521
1535
  continue;
1522
1536
  case "scientific":
1523
1537
  t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1524
- return v(v({}, h), Nt(u));
1538
+ return v(v({}, h), It(u));
1525
1539
  }, {}));
1526
1540
  continue;
1527
1541
  case "engineering":
1528
1542
  t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1529
- return v(v({}, h), Nt(u));
1543
+ return v(v({}, h), It(u));
1530
1544
  }, {}));
1531
1545
  continue;
1532
1546
  case "notation-simple":
@@ -1571,7 +1585,7 @@ function ri(e) {
1571
1585
  case "integer-width":
1572
1586
  if (i.options.length > 1)
1573
1587
  throw new RangeError("integer-width stems only accept a single optional option");
1574
- i.options[0].replace(ei, function(h, u, l, m, c, d) {
1588
+ i.options[0].replace(ni, function(h, u, l, m, c, d) {
1575
1589
  if (u)
1576
1590
  t.minimumIntegerDigits = l.length;
1577
1591
  else {
@@ -1584,27 +1598,27 @@ function ri(e) {
1584
1598
  });
1585
1599
  continue;
1586
1600
  }
1587
- if (dr.test(i.stem)) {
1601
+ if (yr.test(i.stem)) {
1588
1602
  t.minimumIntegerDigits = i.stem.length;
1589
1603
  continue;
1590
1604
  }
1591
- if (Bt.test(i.stem)) {
1605
+ if (Ot.test(i.stem)) {
1592
1606
  if (i.options.length > 1)
1593
1607
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1594
- i.stem.replace(Bt, function(h, u, l, m, c, d) {
1608
+ i.stem.replace(Ot, function(h, u, l, m, c, d) {
1595
1609
  return l === "*" ? t.minimumFractionDigits = u.length : m && m[0] === "#" ? t.maximumFractionDigits = m.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1596
1610
  });
1597
1611
  var s = i.options[0];
1598
- s === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = v(v({}, t), Pt(s)));
1612
+ s === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = v(v({}, t), Lt(s)));
1599
1613
  continue;
1600
1614
  }
1601
- if (mr.test(i.stem)) {
1602
- t = v(v({}, t), Pt(i.stem));
1615
+ if (gr.test(i.stem)) {
1616
+ t = v(v({}, t), Lt(i.stem));
1603
1617
  continue;
1604
1618
  }
1605
- var o = br(i.stem);
1619
+ var o = vr(i.stem);
1606
1620
  o && (t = v(v({}, t), o));
1607
- var a = ti(i.stem);
1621
+ var a = ii(i.stem);
1608
1622
  a && (t = v(v({}, t), a));
1609
1623
  }
1610
1624
  return t;
@@ -3024,13 +3038,13 @@ var ve = {
3024
3038
  "h"
3025
3039
  ]
3026
3040
  };
3027
- function ni(e, t) {
3041
+ function oi(e, t) {
3028
3042
  for (var r = "", n = 0; n < e.length; n++) {
3029
3043
  var i = e.charAt(n);
3030
3044
  if (i === "j") {
3031
3045
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3032
3046
  s++, n++;
3033
- var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u = ii(t);
3047
+ var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u = ai(t);
3034
3048
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
3035
3049
  r += h;
3036
3050
  for (; o-- > 0; )
@@ -3040,7 +3054,7 @@ function ni(e, t) {
3040
3054
  }
3041
3055
  return r;
3042
3056
  }
3043
- function ii(e) {
3057
+ function ai(e) {
3044
3058
  var t = e.hourCycle;
3045
3059
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3046
3060
  e.hourCycles && // @ts-ignore
@@ -3062,20 +3076,20 @@ function ii(e) {
3062
3076
  var i = ve[n || ""] || ve[r || ""] || ve["".concat(r, "-001")] || ve["001"];
3063
3077
  return i[0];
3064
3078
  }
3065
- var Ue, si = new RegExp("^".concat(fr.source, "*")), oi = new RegExp("".concat(fr.source, "*$"));
3079
+ var De, ui = new RegExp("^".concat(pr.source, "*")), hi = new RegExp("".concat(pr.source, "*$"));
3066
3080
  function g(e, t) {
3067
3081
  return { start: e, end: t };
3068
3082
  }
3069
- var ai = !!String.prototype.startsWith && "_a".startsWith("a", 1), ui = !!String.fromCodePoint, hi = !!Object.fromEntries, li = !!String.prototype.codePointAt, ci = !!String.prototype.trimStart, fi = !!String.prototype.trimEnd, mi = !!Number.isSafeInteger, di = mi ? Number.isSafeInteger : function(e) {
3083
+ var li = !!String.prototype.startsWith && "_a".startsWith("a", 1), ci = !!String.fromCodePoint, fi = !!Object.fromEntries, mi = !!String.prototype.codePointAt, di = !!String.prototype.trimStart, bi = !!String.prototype.trimEnd, pi = !!Number.isSafeInteger, gi = pi ? Number.isSafeInteger : function(e) {
3070
3084
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3071
- }, Ye = !0;
3085
+ }, qe = !0;
3072
3086
  try {
3073
- var bi = gr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3074
- Ye = ((Ue = bi.exec("a")) === null || Ue === void 0 ? void 0 : Ue[0]) === "a";
3087
+ var yi = _r("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3088
+ qe = ((De = yi.exec("a")) === null || De === void 0 ? void 0 : De[0]) === "a";
3075
3089
  } catch (e) {
3076
- Ye = !1;
3090
+ qe = !1;
3077
3091
  }
3078
- var Ot = ai ? (
3092
+ var Ct = li ? (
3079
3093
  // Native
3080
3094
  function(t, r, n) {
3081
3095
  return t.startsWith(r, n);
@@ -3085,7 +3099,7 @@ var Ot = ai ? (
3085
3099
  function(t, r, n) {
3086
3100
  return t.slice(n, n + r.length) === r;
3087
3101
  }
3088
- ), qe = ui ? String.fromCodePoint : (
3102
+ ), Je = ci ? String.fromCodePoint : (
3089
3103
  // IE11
3090
3104
  function() {
3091
3105
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3097,9 +3111,9 @@ var Ot = ai ? (
3097
3111
  }
3098
3112
  return n;
3099
3113
  }
3100
- ), Lt = (
3114
+ ), Mt = (
3101
3115
  // native
3102
- hi ? Object.fromEntries : (
3116
+ fi ? Object.fromEntries : (
3103
3117
  // Ponyfill
3104
3118
  function(t) {
3105
3119
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3109,7 +3123,7 @@ var Ot = ai ? (
3109
3123
  return r;
3110
3124
  }
3111
3125
  )
3112
- ), pr = li ? (
3126
+ ), Er = mi ? (
3113
3127
  // Native
3114
3128
  function(t, r) {
3115
3129
  return t.codePointAt(r);
@@ -3123,7 +3137,7 @@ var Ot = ai ? (
3123
3137
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
3124
3138
  }
3125
3139
  }
3126
- ), pi = ci ? (
3140
+ ), vi = di ? (
3127
3141
  // Native
3128
3142
  function(t) {
3129
3143
  return t.trimStart();
@@ -3131,9 +3145,9 @@ var Ot = ai ? (
3131
3145
  ) : (
3132
3146
  // Ponyfill
3133
3147
  function(t) {
3134
- return t.replace(si, "");
3148
+ return t.replace(ui, "");
3135
3149
  }
3136
- ), gi = fi ? (
3150
+ ), Ei = bi ? (
3137
3151
  // Native
3138
3152
  function(t) {
3139
3153
  return t.trimEnd();
@@ -3141,32 +3155,32 @@ var Ot = ai ? (
3141
3155
  ) : (
3142
3156
  // Ponyfill
3143
3157
  function(t) {
3144
- return t.replace(oi, "");
3158
+ return t.replace(hi, "");
3145
3159
  }
3146
3160
  );
3147
- function gr(e, t) {
3161
+ function _r(e, t) {
3148
3162
  return new RegExp(e, t);
3149
3163
  }
3150
- var Je;
3151
- if (Ye) {
3152
- var It = gr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3153
- Je = function(t, r) {
3164
+ var Ke;
3165
+ if (qe) {
3166
+ var Rt = _r("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3167
+ Ke = function(t, r) {
3154
3168
  var n;
3155
- It.lastIndex = r;
3156
- var i = It.exec(t);
3169
+ Rt.lastIndex = r;
3170
+ var i = Rt.exec(t);
3157
3171
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3158
3172
  };
3159
3173
  } else
3160
- Je = function(t, r) {
3174
+ Ke = function(t, r) {
3161
3175
  for (var n = []; ; ) {
3162
- var i = pr(t, r);
3163
- if (i === void 0 || yr(i) || _i(i))
3176
+ var i = Er(t, r);
3177
+ if (i === void 0 || xr(i) || wi(i))
3164
3178
  break;
3165
3179
  n.push(i), r += i >= 65536 ? 2 : 1;
3166
3180
  }
3167
- return qe.apply(void 0, n);
3181
+ return Je.apply(void 0, n);
3168
3182
  };
3169
- var yi = (
3183
+ var _i = (
3170
3184
  /** @class */
3171
3185
  function() {
3172
3186
  function e(t, r) {
@@ -3197,7 +3211,7 @@ var yi = (
3197
3211
  if (n)
3198
3212
  break;
3199
3213
  return this.error(p.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
3200
- } else if (s === 60 && !this.ignoreTag && Ke(this.peek() || 0)) {
3214
+ } else if (s === 60 && !this.ignoreTag && et(this.peek() || 0)) {
3201
3215
  var o = this.parseTag(t, r);
3202
3216
  if (o.err)
3203
3217
  return o;
@@ -3230,7 +3244,7 @@ var yi = (
3230
3244
  return s;
3231
3245
  var o = s.val, a = this.clonePosition();
3232
3246
  if (this.bumpIf("</")) {
3233
- if (this.isEOF() || !Ke(this.char()))
3247
+ if (this.isEOF() || !et(this.char()))
3234
3248
  return this.error(p.INVALID_TAG, g(a, this.clonePosition()));
3235
3249
  var h = this.clonePosition(), u = this.parseTagName();
3236
3250
  return i !== u ? this.error(p.UNMATCHED_CLOSING_TAG, g(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -3248,7 +3262,7 @@ var yi = (
3248
3262
  return this.error(p.INVALID_TAG, g(n, this.clonePosition()));
3249
3263
  }, e.prototype.parseTagName = function() {
3250
3264
  var t = this.offset();
3251
- for (this.bump(); !this.isEOF() && Ei(this.char()); )
3265
+ for (this.bump(); !this.isEOF() && Si(this.char()); )
3252
3266
  this.bump();
3253
3267
  return this.message.slice(t, this.offset());
3254
3268
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3277,7 +3291,7 @@ var yi = (
3277
3291
  };
3278
3292
  }, e.prototype.tryParseLeftAngleBracket = function() {
3279
3293
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3280
- !vi(this.peek() || 0)) ? (this.bump(), "<") : null;
3294
+ !xi(this.peek() || 0)) ? (this.bump(), "<") : null;
3281
3295
  }, e.prototype.tryParseQuote = function(t) {
3282
3296
  if (this.isEOF() || this.char() !== 39)
3283
3297
  return null;
@@ -3311,12 +3325,12 @@ var yi = (
3311
3325
  r.push(n);
3312
3326
  this.bump();
3313
3327
  }
3314
- return qe.apply(void 0, r);
3328
+ return Je.apply(void 0, r);
3315
3329
  }, e.prototype.tryParseUnquoted = function(t, r) {
3316
3330
  if (this.isEOF())
3317
3331
  return null;
3318
3332
  var n = this.char();
3319
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), qe(n));
3333
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Je(n));
3320
3334
  }, e.prototype.parseArgument = function(t, r) {
3321
3335
  var n = this.clonePosition();
3322
3336
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3345,7 +3359,7 @@ var yi = (
3345
3359
  return this.error(p.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3346
3360
  }
3347
3361
  }, e.prototype.parseIdentifierIfPossible = function() {
3348
- var t = this.clonePosition(), r = this.offset(), n = Je(this.message, r), i = r + n.length;
3362
+ var t = this.clonePosition(), r = this.offset(), n = Ke(this.message, r), i = r + n.length;
3349
3363
  this.bumpTo(i);
3350
3364
  var s = this.clonePosition(), o = g(t, s);
3351
3365
  return { value: n, location: o };
@@ -3364,7 +3378,7 @@ var yi = (
3364
3378
  var l = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
3365
3379
  if (m.err)
3366
3380
  return m;
3367
- var c = gi(m.val);
3381
+ var c = Ei(m.val);
3368
3382
  if (c.length === 0)
3369
3383
  return this.error(p.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
3370
3384
  var d = g(l, this.clonePosition());
@@ -3374,8 +3388,8 @@ var yi = (
3374
3388
  if (b.err)
3375
3389
  return b;
3376
3390
  var y = g(i, this.clonePosition());
3377
- if (u && Ot(u == null ? void 0 : u.style, "::", 0)) {
3378
- var T = pi(u.style.slice(2));
3391
+ if (u && Ct(u == null ? void 0 : u.style, "::", 0)) {
3392
+ var T = vi(u.style.slice(2));
3379
3393
  if (a === "number") {
3380
3394
  var m = this.parseNumberSkeletonFromString(T, u.styleLocation);
3381
3395
  return m.err ? m : {
@@ -3386,12 +3400,12 @@ var yi = (
3386
3400
  if (T.length === 0)
3387
3401
  return this.error(p.EXPECT_DATE_TIME_SKELETON, y);
3388
3402
  var C = T;
3389
- this.locale && (C = ni(T, this.locale));
3403
+ this.locale && (C = oi(T, this.locale));
3390
3404
  var c = {
3391
3405
  type: ee.dateTime,
3392
3406
  pattern: C,
3393
3407
  location: u.styleLocation,
3394
- parsedOptions: this.shouldParseSkeletons ? Yn(C) : {}
3408
+ parsedOptions: this.shouldParseSkeletons ? Kn(C) : {}
3395
3409
  }, P = a === "date" ? x.date : x.time;
3396
3410
  return {
3397
3411
  val: { type: P, value: n, location: y, style: c },
@@ -3437,7 +3451,7 @@ var yi = (
3437
3451
  val: {
3438
3452
  type: x.select,
3439
3453
  value: n,
3440
- options: Lt(R.val),
3454
+ options: Mt(R.val),
3441
3455
  location: _
3442
3456
  },
3443
3457
  err: null
@@ -3445,7 +3459,7 @@ var yi = (
3445
3459
  val: {
3446
3460
  type: x.plural,
3447
3461
  value: n,
3448
- options: Lt(R.val),
3462
+ options: Mt(R.val),
3449
3463
  offset: O,
3450
3464
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3451
3465
  location: _
@@ -3496,7 +3510,7 @@ var yi = (
3496
3510
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3497
3511
  var n = [];
3498
3512
  try {
3499
- n = Jn(t);
3513
+ n = ti(t);
3500
3514
  } catch (i) {
3501
3515
  return this.error(p.INVALID_NUMBER_SKELETON, r);
3502
3516
  }
@@ -3505,7 +3519,7 @@ var yi = (
3505
3519
  type: ee.number,
3506
3520
  tokens: n,
3507
3521
  location: r,
3508
- parsedOptions: this.shouldParseSkeletons ? ri(n) : {}
3522
+ parsedOptions: this.shouldParseSkeletons ? si(n) : {}
3509
3523
  },
3510
3524
  err: null
3511
3525
  };
@@ -3553,7 +3567,7 @@ var yi = (
3553
3567
  break;
3554
3568
  }
3555
3569
  var h = g(i, this.clonePosition());
3556
- return s ? (o *= n, di(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
3570
+ return s ? (o *= n, gi(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
3557
3571
  }, e.prototype.offset = function() {
3558
3572
  return this.position.offset;
3559
3573
  }, e.prototype.isEOF = function() {
@@ -3568,7 +3582,7 @@ var yi = (
3568
3582
  var t = this.position.offset;
3569
3583
  if (t >= this.message.length)
3570
3584
  throw Error("out of bound");
3571
- var r = pr(this.message, t);
3585
+ var r = Er(this.message, t);
3572
3586
  if (r === void 0)
3573
3587
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3574
3588
  return r;
@@ -3587,7 +3601,7 @@ var yi = (
3587
3601
  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);
3588
3602
  }
3589
3603
  }, e.prototype.bumpIf = function(t) {
3590
- if (Ot(this.message, t, this.offset())) {
3604
+ if (Ct(this.message, t, this.offset())) {
3591
3605
  for (var r = 0; r < t.length; r++)
3592
3606
  this.bump();
3593
3607
  return !0;
@@ -3609,7 +3623,7 @@ var yi = (
3609
3623
  break;
3610
3624
  }
3611
3625
  }, e.prototype.bumpSpace = function() {
3612
- for (; !this.isEOF() && yr(this.char()); )
3626
+ for (; !this.isEOF() && xr(this.char()); )
3613
3627
  this.bump();
3614
3628
  }, e.prototype.peek = function() {
3615
3629
  if (this.isEOF())
@@ -3619,44 +3633,44 @@ var yi = (
3619
3633
  }, e;
3620
3634
  }()
3621
3635
  );
3622
- function Ke(e) {
3636
+ function et(e) {
3623
3637
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3624
3638
  }
3625
- function vi(e) {
3626
- return Ke(e) || e === 47;
3639
+ function xi(e) {
3640
+ return et(e) || e === 47;
3627
3641
  }
3628
- function Ei(e) {
3642
+ function Si(e) {
3629
3643
  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;
3630
3644
  }
3631
- function yr(e) {
3645
+ function xr(e) {
3632
3646
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3633
3647
  }
3634
- function _i(e) {
3648
+ function wi(e) {
3635
3649
  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;
3636
3650
  }
3637
- function et(e) {
3651
+ function tt(e) {
3638
3652
  e.forEach(function(t) {
3639
- if (delete t.location, ur(t) || hr(t))
3653
+ if (delete t.location, fr(t) || mr(t))
3640
3654
  for (var r in t.options)
3641
- delete t.options[r].location, et(t.options[r].value);
3655
+ delete t.options[r].location, tt(t.options[r].value);
3642
3656
  else
3643
- sr(t) && cr(t.style) || (or(t) || ar(t)) && Qe(t.style) ? delete t.style.location : lr(t) && et(t.children);
3657
+ hr(t) && br(t.style) || (lr(t) || cr(t)) && Ye(t.style) ? delete t.style.location : dr(t) && tt(t.children);
3644
3658
  });
3645
3659
  }
3646
- function xi(e, t) {
3660
+ function Ti(e, t) {
3647
3661
  t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3648
- var r = new yi(e, t).parse();
3662
+ var r = new _i(e, t).parse();
3649
3663
  if (r.err) {
3650
3664
  var n = SyntaxError(p[r.err.kind]);
3651
3665
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3652
3666
  }
3653
- return t != null && t.captureLocation || et(r.val), r.val;
3667
+ return t != null && t.captureLocation || tt(r.val), r.val;
3654
3668
  }
3655
3669
  var te;
3656
3670
  (function(e) {
3657
3671
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3658
3672
  })(te || (te = {}));
3659
- var Be = (
3673
+ var Ae = (
3660
3674
  /** @class */
3661
3675
  function(e) {
3662
3676
  D(t, e);
@@ -3668,7 +3682,7 @@ var Be = (
3668
3682
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3669
3683
  }, t;
3670
3684
  }(Error)
3671
- ), Ct = (
3685
+ ), Gt = (
3672
3686
  /** @class */
3673
3687
  function(e) {
3674
3688
  D(t, e);
@@ -3676,8 +3690,8 @@ var Be = (
3676
3690
  return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), te.INVALID_VALUE, s) || this;
3677
3691
  }
3678
3692
  return t;
3679
- }(Be)
3680
- ), Si = (
3693
+ }(Ae)
3694
+ ), Hi = (
3681
3695
  /** @class */
3682
3696
  function(e) {
3683
3697
  D(t, e);
@@ -3685,8 +3699,8 @@ var Be = (
3685
3699
  return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), te.INVALID_VALUE, i) || this;
3686
3700
  }
3687
3701
  return t;
3688
- }(Be)
3689
- ), wi = (
3702
+ }(Ae)
3703
+ ), Bi = (
3690
3704
  /** @class */
3691
3705
  function(e) {
3692
3706
  D(t, e);
@@ -3694,22 +3708,22 @@ var Be = (
3694
3708
  return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), te.MISSING_VALUE, n) || this;
3695
3709
  }
3696
3710
  return t;
3697
- }(Be)
3711
+ }(Ae)
3698
3712
  ), H;
3699
3713
  (function(e) {
3700
3714
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3701
3715
  })(H || (H = {}));
3702
- function Ti(e) {
3716
+ function Ai(e) {
3703
3717
  return e.length < 2 ? e : e.reduce(function(t, r) {
3704
3718
  var n = t[t.length - 1];
3705
3719
  return !n || n.type !== H.literal || r.type !== H.literal ? t.push(r) : n.value += r.value, t;
3706
3720
  }, []);
3707
3721
  }
3708
- function Hi(e) {
3722
+ function Pi(e) {
3709
3723
  return typeof e == "function";
3710
3724
  }
3711
3725
  function xe(e, t, r, n, i, s, o) {
3712
- if (e.length === 1 && At(e[0]))
3726
+ if (e.length === 1 && Nt(e[0]))
3713
3727
  return [
3714
3728
  {
3715
3729
  type: H.literal,
@@ -3718,14 +3732,14 @@ function xe(e, t, r, n, i, s, o) {
3718
3732
  ];
3719
3733
  for (var a = [], h = 0, u = e; h < u.length; h++) {
3720
3734
  var l = u[h];
3721
- if (At(l)) {
3735
+ if (Nt(l)) {
3722
3736
  a.push({
3723
3737
  type: H.literal,
3724
3738
  value: l.value
3725
3739
  });
3726
3740
  continue;
3727
3741
  }
3728
- if (Zn(l)) {
3742
+ if (qn(l)) {
3729
3743
  typeof s == "number" && a.push({
3730
3744
  type: H.literal,
3731
3745
  value: r.getNumberFormat(t).format(s)
@@ -3734,43 +3748,43 @@ function xe(e, t, r, n, i, s, o) {
3734
3748
  }
3735
3749
  var m = l.value;
3736
3750
  if (!(i && m in i))
3737
- throw new wi(m, o);
3751
+ throw new Bi(m, o);
3738
3752
  var c = i[m];
3739
- if (zn(l)) {
3753
+ if (Yn(l)) {
3740
3754
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3741
3755
  type: typeof c == "string" ? H.literal : H.object,
3742
3756
  value: c
3743
3757
  });
3744
3758
  continue;
3745
3759
  }
3746
- if (or(l)) {
3747
- var d = typeof l.style == "string" ? n.date[l.style] : Qe(l.style) ? l.style.parsedOptions : void 0;
3760
+ if (lr(l)) {
3761
+ var d = typeof l.style == "string" ? n.date[l.style] : Ye(l.style) ? l.style.parsedOptions : void 0;
3748
3762
  a.push({
3749
3763
  type: H.literal,
3750
3764
  value: r.getDateTimeFormat(t, d).format(c)
3751
3765
  });
3752
3766
  continue;
3753
3767
  }
3754
- if (ar(l)) {
3755
- var d = typeof l.style == "string" ? n.time[l.style] : Qe(l.style) ? l.style.parsedOptions : n.time.medium;
3768
+ if (cr(l)) {
3769
+ var d = typeof l.style == "string" ? n.time[l.style] : Ye(l.style) ? l.style.parsedOptions : n.time.medium;
3756
3770
  a.push({
3757
3771
  type: H.literal,
3758
3772
  value: r.getDateTimeFormat(t, d).format(c)
3759
3773
  });
3760
3774
  continue;
3761
3775
  }
3762
- if (sr(l)) {
3763
- var d = typeof l.style == "string" ? n.number[l.style] : cr(l.style) ? l.style.parsedOptions : void 0;
3776
+ if (hr(l)) {
3777
+ var d = typeof l.style == "string" ? n.number[l.style] : br(l.style) ? l.style.parsedOptions : void 0;
3764
3778
  d && d.scale && (c = c * (d.scale || 1)), a.push({
3765
3779
  type: H.literal,
3766
3780
  value: r.getNumberFormat(t, d).format(c)
3767
3781
  });
3768
3782
  continue;
3769
3783
  }
3770
- if (lr(l)) {
3784
+ if (dr(l)) {
3771
3785
  var b = l.children, y = l.value, T = i[y];
3772
- if (!Hi(T))
3773
- throw new Si(y, "function", o);
3786
+ if (!Pi(T))
3787
+ throw new Hi(y, "function", o);
3774
3788
  var C = xe(b, t, r, n, i, s), P = T(C.map(function(O) {
3775
3789
  return O.value;
3776
3790
  }));
@@ -3781,42 +3795,42 @@ function xe(e, t, r, n, i, s, o) {
3781
3795
  };
3782
3796
  }));
3783
3797
  }
3784
- if (ur(l)) {
3798
+ if (fr(l)) {
3785
3799
  var w = l.options[c] || l.options.other;
3786
3800
  if (!w)
3787
- throw new Ct(l.value, c, Object.keys(l.options), o);
3801
+ throw new Gt(l.value, c, Object.keys(l.options), o);
3788
3802
  a.push.apply(a, xe(w.value, t, r, n, i));
3789
3803
  continue;
3790
3804
  }
3791
- if (hr(l)) {
3805
+ if (mr(l)) {
3792
3806
  var w = l.options["=".concat(c)];
3793
3807
  if (!w) {
3794
3808
  if (!Intl.PluralRules)
3795
- throw new Be(`Intl.PluralRules is not available in this environment.
3809
+ throw new Ae(`Intl.PluralRules is not available in this environment.
3796
3810
  Try polyfilling it using "@formatjs/intl-pluralrules"
3797
3811
  `, te.MISSING_INTL_API, o);
3798
3812
  var N = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3799
3813
  w = l.options[N] || l.options.other;
3800
3814
  }
3801
3815
  if (!w)
3802
- throw new Ct(l.value, c, Object.keys(l.options), o);
3816
+ throw new Gt(l.value, c, Object.keys(l.options), o);
3803
3817
  a.push.apply(a, xe(w.value, t, r, n, i, c - (l.offset || 0)));
3804
3818
  continue;
3805
3819
  }
3806
3820
  }
3807
- return Ti(a);
3821
+ return Ai(a);
3808
3822
  }
3809
- function Ai(e, t) {
3823
+ function Ni(e, t) {
3810
3824
  return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3811
3825
  return r[n] = v(v({}, e[n]), t[n] || {}), r;
3812
3826
  }, {})) : e;
3813
3827
  }
3814
- function Bi(e, t) {
3828
+ function Oi(e, t) {
3815
3829
  return t ? Object.keys(e).reduce(function(r, n) {
3816
- return r[n] = Ai(e[n], t[n]), r;
3830
+ return r[n] = Ni(e[n], t[n]), r;
3817
3831
  }, v({}, e)) : e;
3818
3832
  }
3819
- function De(e) {
3833
+ function Fe(e) {
3820
3834
  return {
3821
3835
  create: function() {
3822
3836
  return {
@@ -3830,39 +3844,39 @@ function De(e) {
3830
3844
  }
3831
3845
  };
3832
3846
  }
3833
- function Pi(e) {
3847
+ function Li(e) {
3834
3848
  return e === void 0 && (e = {
3835
3849
  number: {},
3836
3850
  dateTime: {},
3837
3851
  pluralRules: {}
3838
3852
  }), {
3839
- getNumberFormat: Re(function() {
3853
+ getNumberFormat: Ge(function() {
3840
3854
  for (var t, r = [], n = 0; n < arguments.length; n++)
3841
3855
  r[n] = arguments[n];
3842
3856
  return new ((t = Intl.NumberFormat).bind.apply(t, J([void 0], r, !1)))();
3843
3857
  }, {
3844
- cache: De(e.number),
3845
- strategy: Ge.variadic
3858
+ cache: Fe(e.number),
3859
+ strategy: Ue.variadic
3846
3860
  }),
3847
- getDateTimeFormat: Re(function() {
3861
+ getDateTimeFormat: Ge(function() {
3848
3862
  for (var t, r = [], n = 0; n < arguments.length; n++)
3849
3863
  r[n] = arguments[n];
3850
3864
  return new ((t = Intl.DateTimeFormat).bind.apply(t, J([void 0], r, !1)))();
3851
3865
  }, {
3852
- cache: De(e.dateTime),
3853
- strategy: Ge.variadic
3866
+ cache: Fe(e.dateTime),
3867
+ strategy: Ue.variadic
3854
3868
  }),
3855
- getPluralRules: Re(function() {
3869
+ getPluralRules: Ge(function() {
3856
3870
  for (var t, r = [], n = 0; n < arguments.length; n++)
3857
3871
  r[n] = arguments[n];
3858
3872
  return new ((t = Intl.PluralRules).bind.apply(t, J([void 0], r, !1)))();
3859
3873
  }, {
3860
- cache: De(e.pluralRules),
3861
- strategy: Ge.variadic
3874
+ cache: Fe(e.pluralRules),
3875
+ strategy: Ue.variadic
3862
3876
  })
3863
3877
  };
3864
3878
  }
3865
- var Ni = (
3879
+ var Ii = (
3866
3880
  /** @class */
3867
3881
  function() {
3868
3882
  function e(t, r, n, i) {
@@ -3894,13 +3908,13 @@ var Ni = (
3894
3908
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3895
3909
  var o = i || {};
3896
3910
  o.formatters;
3897
- var a = un(o, ["formatters"]);
3911
+ var a = fn(o, ["formatters"]);
3898
3912
  this.ast = e.__parse(t, v(v({}, a), { locale: this.resolvedLocale }));
3899
3913
  } else
3900
3914
  this.ast = t;
3901
3915
  if (!Array.isArray(this.ast))
3902
3916
  throw new TypeError("A message must be provided as a String or AST.");
3903
- this.formats = Bi(e.formats, n), this.formatters = i && i.formatters || Pi(this.formatterCache);
3917
+ this.formats = Oi(e.formats, n), this.formatters = i && i.formatters || Li(this.formatterCache);
3904
3918
  }
3905
3919
  return Object.defineProperty(e, "defaultLocale", {
3906
3920
  get: function() {
@@ -3913,7 +3927,7 @@ var Ni = (
3913
3927
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3914
3928
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3915
3929
  }
3916
- }, e.__parse = xi, e.formats = {
3930
+ }, e.__parse = Ti, e.formats = {
3917
3931
  number: {
3918
3932
  integer: {
3919
3933
  maximumFractionDigits: 0
@@ -3974,7 +3988,7 @@ var Ni = (
3974
3988
  }, e;
3975
3989
  }()
3976
3990
  );
3977
- function Oi(e, t) {
3991
+ function Ci(e, t) {
3978
3992
  if (t == null)
3979
3993
  return;
3980
3994
  if (t in e)
@@ -3995,92 +4009,92 @@ function Oi(e, t) {
3995
4009
  n = void 0;
3996
4010
  return n;
3997
4011
  }
3998
- const F = {}, Li = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), vr = (e, t) => {
4012
+ const F = {}, Mi = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), Sr = (e, t) => {
3999
4013
  if (t == null)
4000
4014
  return;
4001
4015
  if (t in F && e in F[t])
4002
4016
  return F[t][e];
4003
4017
  const r = Pe(t);
4004
4018
  for (let n = 0; n < r.length; n++) {
4005
- const i = r[n], s = Ci(i, e);
4019
+ const i = r[n], s = Gi(i, e);
4006
4020
  if (s)
4007
- return Li(e, t, s);
4021
+ return Mi(e, t, s);
4008
4022
  }
4009
4023
  };
4010
- let ot;
4011
- const de = Ae({});
4012
- function Ii(e) {
4013
- return ot[e] || null;
4024
+ let ut;
4025
+ const de = Be({});
4026
+ function Ri(e) {
4027
+ return ut[e] || null;
4014
4028
  }
4015
- function Er(e) {
4016
- return e in ot;
4029
+ function wr(e) {
4030
+ return e in ut;
4017
4031
  }
4018
- function Ci(e, t) {
4019
- if (!Er(e))
4032
+ function Gi(e, t) {
4033
+ if (!wr(e))
4020
4034
  return null;
4021
- const r = Ii(e);
4022
- return Oi(r, t);
4035
+ const r = Ri(e);
4036
+ return Ci(r, t);
4023
4037
  }
4024
- function Mi(e) {
4038
+ function Ui(e) {
4025
4039
  if (e == null)
4026
4040
  return;
4027
4041
  const t = Pe(e);
4028
4042
  for (let r = 0; r < t.length; r++) {
4029
4043
  const n = t[r];
4030
- if (Er(n))
4044
+ if (wr(n))
4031
4045
  return n;
4032
4046
  }
4033
4047
  }
4034
- function _r(e, ...t) {
4035
- delete F[e], de.update((r) => (r[e] = Dn.all([r[e] || {}, ...t]), r));
4048
+ function Tr(e, ...t) {
4049
+ delete F[e], de.update((r) => (r[e] = kn.all([r[e] || {}, ...t]), r));
4036
4050
  }
4037
4051
  se(
4038
4052
  [de],
4039
4053
  ([e]) => Object.keys(e)
4040
4054
  );
4041
- de.subscribe((e) => ot = e);
4055
+ de.subscribe((e) => ut = e);
4042
4056
  const Se = {};
4043
- function Ri(e, t) {
4057
+ function Di(e, t) {
4044
4058
  Se[e].delete(t), Se[e].size === 0 && delete Se[e];
4045
4059
  }
4046
- function xr(e) {
4060
+ function Hr(e) {
4047
4061
  return Se[e];
4048
4062
  }
4049
- function Gi(e) {
4063
+ function Fi(e) {
4050
4064
  return Pe(e).map((t) => {
4051
- const r = xr(t);
4065
+ const r = Hr(t);
4052
4066
  return [t, r ? [...r] : []];
4053
4067
  }).filter(([, t]) => t.length > 0);
4054
4068
  }
4055
- function tt(e) {
4069
+ function rt(e) {
4056
4070
  return e == null ? !1 : Pe(e).some(
4057
4071
  (t) => {
4058
4072
  var r;
4059
- return (r = xr(t)) == null ? void 0 : r.size;
4073
+ return (r = Hr(t)) == null ? void 0 : r.size;
4060
4074
  }
4061
4075
  );
4062
4076
  }
4063
- function Ui(e, t) {
4077
+ function $i(e, t) {
4064
4078
  return Promise.all(
4065
- t.map((n) => (Ri(e, n), n().then((i) => i.default || i)))
4066
- ).then((n) => _r(e, ...n));
4079
+ t.map((n) => (Di(e, n), n().then((i) => i.default || i)))
4080
+ ).then((n) => Tr(e, ...n));
4067
4081
  }
4068
4082
  const ae = {};
4069
- function Sr(e) {
4070
- if (!tt(e))
4083
+ function Br(e) {
4084
+ if (!rt(e))
4071
4085
  return e in ae ? ae[e] : Promise.resolve();
4072
- const t = Gi(e);
4086
+ const t = Fi(e);
4073
4087
  return ae[e] = Promise.all(
4074
4088
  t.map(
4075
- ([r, n]) => Ui(r, n)
4089
+ ([r, n]) => $i(r, n)
4076
4090
  )
4077
4091
  ).then(() => {
4078
- if (tt(e))
4079
- return Sr(e);
4092
+ if (rt(e))
4093
+ return Br(e);
4080
4094
  delete ae[e];
4081
4095
  }), ae[e];
4082
4096
  }
4083
- const Di = {
4097
+ const ji = {
4084
4098
  number: {
4085
4099
  scientific: { notation: "scientific" },
4086
4100
  engineering: { notation: "engineering" },
@@ -4109,57 +4123,57 @@ const Di = {
4109
4123
  timeZoneName: "short"
4110
4124
  }
4111
4125
  }
4112
- }, Fi = {
4126
+ }, ki = {
4113
4127
  fallbackLocale: null,
4114
4128
  loadingDelay: 200,
4115
- formats: Di,
4129
+ formats: ji,
4116
4130
  warnOnMissingMessages: !0,
4117
4131
  handleMissingMessage: void 0,
4118
4132
  ignoreTag: !0
4119
- }, $i = Fi;
4133
+ }, Vi = ki;
4120
4134
  function re() {
4121
- return $i;
4122
- }
4123
- const Fe = Ae(!1);
4124
- var ji = Object.defineProperty, ki = Object.defineProperties, Vi = Object.getOwnPropertyDescriptors, Mt = Object.getOwnPropertySymbols, Xi = Object.prototype.hasOwnProperty, Wi = Object.prototype.propertyIsEnumerable, Rt = (e, t, r) => t in e ? ji(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, zi = (e, t) => {
4125
- for (var r in t)
4126
- Xi.call(t, r) && Rt(e, r, t[r]);
4127
- if (Mt)
4128
- for (var r of Mt(t))
4129
- Wi.call(t, r) && Rt(e, r, t[r]);
4135
+ return Vi;
4136
+ }
4137
+ const $e = Be(!1);
4138
+ var Xi = Object.defineProperty, Wi = Object.defineProperties, zi = Object.getOwnPropertyDescriptors, Ut = Object.getOwnPropertySymbols, Zi = Object.prototype.hasOwnProperty, Qi = Object.prototype.propertyIsEnumerable, Dt = (e, t, r) => t in e ? Xi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Yi = (e, t) => {
4139
+ for (var r in t || (t = {}))
4140
+ Zi.call(t, r) && Dt(e, r, t[r]);
4141
+ if (Ut)
4142
+ for (var r of Ut(t))
4143
+ Qi.call(t, r) && Dt(e, r, t[r]);
4130
4144
  return e;
4131
- }, Zi = (e, t) => ki(e, Vi(t));
4132
- let rt;
4133
- const we = Ae(null);
4134
- function Gt(e) {
4145
+ }, qi = (e, t) => Wi(e, zi(t));
4146
+ let nt;
4147
+ const we = Be(null);
4148
+ function Ft(e) {
4135
4149
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4136
4150
  }
4137
4151
  function Pe(e, t = re().fallbackLocale) {
4138
- const r = Gt(e);
4139
- return t ? [.../* @__PURE__ */ new Set([...r, ...Gt(t)])] : r;
4152
+ const r = Ft(e);
4153
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Ft(t)])] : r;
4140
4154
  }
4141
4155
  function X() {
4142
- return rt != null ? rt : void 0;
4156
+ return nt != null ? nt : void 0;
4143
4157
  }
4144
4158
  we.subscribe((e) => {
4145
- rt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4159
+ nt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4146
4160
  });
4147
- const Qi = (e) => {
4148
- if (e && Mi(e) && tt(e)) {
4161
+ const Ji = (e) => {
4162
+ if (e && Ui(e) && rt(e)) {
4149
4163
  const { loadingDelay: t } = re();
4150
4164
  let r;
4151
4165
  return typeof window != "undefined" && X() != null && t ? r = window.setTimeout(
4152
- () => Fe.set(!0),
4166
+ () => $e.set(!0),
4153
4167
  t
4154
- ) : Fe.set(!0), Sr(e).then(() => {
4168
+ ) : $e.set(!0), Br(e).then(() => {
4155
4169
  we.set(e);
4156
4170
  }).finally(() => {
4157
- clearTimeout(r), Fe.set(!1);
4171
+ clearTimeout(r), $e.set(!1);
4158
4172
  });
4159
4173
  }
4160
4174
  return we.set(e);
4161
- }, be = Zi(zi({}, we), {
4162
- set: Qi
4175
+ }, be = qi(Yi({}, we), {
4176
+ set: Ji
4163
4177
  }), Ne = (e) => {
4164
4178
  const t = /* @__PURE__ */ Object.create(null);
4165
4179
  return (n) => {
@@ -4167,20 +4181,20 @@ const Qi = (e) => {
4167
4181
  return i in t ? t[i] : t[i] = e(n);
4168
4182
  };
4169
4183
  };
4170
- var Yi = Object.defineProperty, Te = Object.getOwnPropertySymbols, wr = Object.prototype.hasOwnProperty, Tr = Object.prototype.propertyIsEnumerable, Ut = (e, t, r) => t in e ? Yi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, at = (e, t) => {
4184
+ var Ki = Object.defineProperty, Te = Object.getOwnPropertySymbols, Ar = Object.prototype.hasOwnProperty, Pr = Object.prototype.propertyIsEnumerable, $t = (e, t, r) => t in e ? Ki(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ht = (e, t) => {
4171
4185
  for (var r in t || (t = {}))
4172
- wr.call(t, r) && Ut(e, r, t[r]);
4186
+ Ar.call(t, r) && $t(e, r, t[r]);
4173
4187
  if (Te)
4174
4188
  for (var r of Te(t))
4175
- Tr.call(t, r) && Ut(e, r, t[r]);
4189
+ Pr.call(t, r) && $t(e, r, t[r]);
4176
4190
  return e;
4177
4191
  }, oe = (e, t) => {
4178
4192
  var r = {};
4179
4193
  for (var n in e)
4180
- wr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4194
+ Ar.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4181
4195
  if (e != null && Te)
4182
4196
  for (var n of Te(e))
4183
- t.indexOf(n) < 0 && Tr.call(e, n) && (r[n] = e[n]);
4197
+ t.indexOf(n) < 0 && Pr.call(e, n) && (r[n] = e[n]);
4184
4198
  return r;
4185
4199
  };
4186
4200
  const ce = (e, t) => {
@@ -4188,21 +4202,21 @@ const ce = (e, t) => {
4188
4202
  if (e in r && t in r[e])
4189
4203
  return r[e][t];
4190
4204
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4191
- }, qi = Ne(
4205
+ }, es = Ne(
4192
4206
  (e) => {
4193
4207
  var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4194
4208
  if (r == null)
4195
4209
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4196
4210
  return n && (i = ce("number", n)), new Intl.NumberFormat(r, i);
4197
4211
  }
4198
- ), Ji = Ne(
4212
+ ), ts = Ne(
4199
4213
  (e) => {
4200
4214
  var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4201
4215
  if (r == null)
4202
4216
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4203
4217
  return n ? i = ce("date", n) : Object.keys(i).length === 0 && (i = ce("date", "short")), new Intl.DateTimeFormat(r, i);
4204
4218
  }
4205
- ), Ki = Ne(
4219
+ ), rs = Ne(
4206
4220
  (e) => {
4207
4221
  var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4208
4222
  if (r == null)
@@ -4211,33 +4225,33 @@ const ce = (e, t) => {
4211
4225
  );
4212
4226
  return n ? i = ce("time", n) : Object.keys(i).length === 0 && (i = ce("time", "short")), new Intl.DateTimeFormat(r, i);
4213
4227
  }
4214
- ), es = (e = {}) => {
4228
+ ), ns = (e = {}) => {
4215
4229
  var t = e, {
4216
4230
  locale: r = X()
4217
4231
  } = t, n = oe(t, [
4218
4232
  "locale"
4219
4233
  ]);
4220
- return qi(at({ locale: r }, n));
4221
- }, ts = (e = {}) => {
4234
+ return es(ht({ locale: r }, n));
4235
+ }, is = (e = {}) => {
4222
4236
  var t = e, {
4223
4237
  locale: r = X()
4224
4238
  } = t, n = oe(t, [
4225
4239
  "locale"
4226
4240
  ]);
4227
- return Ji(at({ locale: r }, n));
4228
- }, rs = (e = {}) => {
4241
+ return ts(ht({ locale: r }, n));
4242
+ }, ss = (e = {}) => {
4229
4243
  var t = e, {
4230
4244
  locale: r = X()
4231
4245
  } = t, n = oe(t, [
4232
4246
  "locale"
4233
4247
  ]);
4234
- return Ki(at({ locale: r }, n));
4235
- }, ns = Ne(
4248
+ return rs(ht({ locale: r }, n));
4249
+ }, os = Ne(
4236
4250
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4237
- (e, t = X()) => new Ni(e, t, re().formats, {
4251
+ (e, t = X()) => new Ii(e, t, re().formats, {
4238
4252
  ignoreTag: re().ignoreTag
4239
4253
  })
4240
- ), is = (e, t = {}) => {
4254
+ ), as = (e, t = {}) => {
4241
4255
  var r, n, i, s;
4242
4256
  let o = t;
4243
4257
  typeof e == "object" && (o = e, e = o.id);
@@ -4250,7 +4264,7 @@ const ce = (e, t) => {
4250
4264
  throw new Error(
4251
4265
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4252
4266
  );
4253
- let l = vr(e, h);
4267
+ let l = Sr(e, h);
4254
4268
  if (!l)
4255
4269
  l = (s = (i = (n = (r = re()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
4256
4270
  else if (typeof l != "string")
@@ -4261,7 +4275,7 @@ const ce = (e, t) => {
4261
4275
  return l;
4262
4276
  let m = l;
4263
4277
  try {
4264
- m = ns(l, h).format(a);
4278
+ m = os(l, h).format(a);
4265
4279
  } catch (c) {
4266
4280
  c instanceof Error && console.warn(
4267
4281
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4269,20 +4283,20 @@ const ce = (e, t) => {
4269
4283
  );
4270
4284
  }
4271
4285
  return m;
4272
- }, ss = (e, t) => rs(t).format(e), os = (e, t) => ts(t).format(e), as = (e, t) => es(t).format(e), us = (e, t = X()) => vr(e, t), hs = se([be, de], () => is);
4273
- se([be], () => ss);
4274
- se([be], () => os);
4275
- se([be], () => as);
4276
- se([be, de], () => us);
4277
- window.emWidgets = { topic: xn };
4278
- const ls = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4279
- function cs(e, t) {
4286
+ }, us = (e, t) => ss(t).format(e), hs = (e, t) => is(t).format(e), ls = (e, t) => ns(t).format(e), cs = (e, t = X()) => Sr(e, t), fs = se([be, de], () => as);
4287
+ se([be], () => us);
4288
+ se([be], () => hs);
4289
+ se([be], () => ls);
4290
+ se([be, de], () => cs);
4291
+ window.emWidgets = { topic: Hn };
4292
+ const ms = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4293
+ function ds(e, t) {
4280
4294
  if (e) {
4281
4295
  const r = document.createElement("style");
4282
4296
  r.innerHTML = t, e.appendChild(r);
4283
4297
  }
4284
4298
  }
4285
- function fs(e, t) {
4299
+ function bs(e, t) {
4286
4300
  const r = new URL(t);
4287
4301
  fetch(r.href).then((n) => n.text()).then((n) => {
4288
4302
  const i = document.createElement("style");
@@ -4291,7 +4305,7 @@ function fs(e, t) {
4291
4305
  console.error("There was an error while trying to load client styling from URL", n);
4292
4306
  });
4293
4307
  }
4294
- function ms(e, t, r) {
4308
+ function ps(e, t, r) {
4295
4309
  if (window.emMessageBus) {
4296
4310
  const n = document.createElement("style");
4297
4311
  window.emMessageBus.subscribe(t, (i) => {
@@ -4299,10 +4313,10 @@ function ms(e, t, r) {
4299
4313
  });
4300
4314
  }
4301
4315
  }
4302
- function Dt(e, t) {
4303
- _r(e, t);
4316
+ function jt(e, t) {
4317
+ Tr(e, t);
4304
4318
  }
4305
- const Ft = {
4319
+ const kt = {
4306
4320
  en: {
4307
4321
  lobbyName: "Lobby",
4308
4322
  myGamesName: "My games"
@@ -4388,14 +4402,14 @@ if (typeof window != "undefined") {
4388
4402
  }
4389
4403
  };
4390
4404
  };
4391
- customElements.define = e(customElements.define), import("./CasinoSlider-BPv4XIfS.js").then(({ default: t }) => {
4405
+ customElements.define = e(customElements.define), import("./CasinoSlider-C-cgIoQZ.js").then(({ default: t }) => {
4392
4406
  !customElements.get("casino-slider") && customElements.define("casino-slider", t.element);
4393
4407
  });
4394
4408
  }
4395
- function ds(e) {
4396
- kr(e, "svelte-1my2wow", ".CasinoCategoriesLoading.svelte-1my2wow{height:52px}p.svelte-1my2wow{color:var( --emw--categories-typography, var(--emw--color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer.svelte-1my2wow{padding-top:20px;background:var( --emw--categories-color-primary, var(--emw--color-primary, #22B04E))}");
4409
+ function gs(e) {
4410
+ zr(e, "svelte-1my2wow", ".CasinoCategoriesLoading.svelte-1my2wow{height:52px}p.svelte-1my2wow{color:var( --emw--categories-typography, var(--emw--color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer.svelte-1my2wow{padding-top:20px;background:var( --emw--categories-color-primary, var(--emw--color-primary, #22B04E))}");
4397
4411
  }
4398
- function bs(e) {
4412
+ function ys(e) {
4399
4413
  let t, r;
4400
4414
  return {
4401
4415
  c() {
@@ -4414,7 +4428,7 @@ function bs(e) {
4414
4428
  "endpoint",
4415
4429
  /*endpoint*/
4416
4430
  e[1]
4417
- ), E(r, "identity", nt), E(
4431
+ ), E(r, "identity", it), E(
4418
4432
  r,
4419
4433
  "favoritesnumber",
4420
4434
  /*numberOfFavoredGames*/
@@ -4472,7 +4486,7 @@ function bs(e) {
4472
4486
  ), me(t, "class", "CasinoCategoriesContainer svelte-1my2wow");
4473
4487
  },
4474
4488
  m(n, i) {
4475
- fe(n, t, i), Vt(t, r);
4489
+ fe(n, t, i), zt(t, r);
4476
4490
  },
4477
4491
  p(n, i) {
4478
4492
  i[0] & /*lang*/
@@ -4566,7 +4580,7 @@ function bs(e) {
4566
4580
  }
4567
4581
  };
4568
4582
  }
4569
- function ps(e) {
4583
+ function vs(e) {
4570
4584
  let t;
4571
4585
  return {
4572
4586
  c() {
@@ -4581,7 +4595,7 @@ function ps(e) {
4581
4595
  }
4582
4596
  };
4583
4597
  }
4584
- function gs(e) {
4598
+ function Es(e) {
4585
4599
  let t;
4586
4600
  return {
4587
4601
  c() {
@@ -4596,14 +4610,14 @@ function gs(e) {
4596
4610
  }
4597
4611
  };
4598
4612
  }
4599
- function ys(e) {
4613
+ function _s(e) {
4600
4614
  let t;
4601
4615
  function r(s, o) {
4602
4616
  return (
4603
4617
  /*isLoading*/
4604
- s[13] || vs || Es ? gs : (
4618
+ s[13] || xs || Ss ? Es : (
4605
4619
  /*hasErrors*/
4606
- s[15] ? ps : bs
4620
+ s[15] ? vs : ys
4607
4621
  )
4608
4622
  );
4609
4623
  }
@@ -4625,93 +4639,93 @@ function ys(e) {
4625
4639
  }
4626
4640
  };
4627
4641
  }
4628
- let nt = "CasinoSliderData", vs = !1, Es = !1;
4629
- function _s(e, t, r) {
4642
+ let it = "CasinoSliderData", xs = !1, Ss = !1;
4643
+ function ws(e, t, r) {
4630
4644
  let n;
4631
- jr(e, hs, (f) => r(32, n = f));
4632
- let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "" } = t, { userid: a = "" } = t, { session: h = "" } = t, { mostplayed: u = "" } = t, { lastplayed: l = "false" } = t, { favorites: m = "" } = t, { clientstyling: c = "" } = t, { clientstylingurl: d = "" } = t, { activecategory: b = "" } = t, { actionevent: y = "" } = t, { sessioncheck: T = "" } = t, { location: C = "secondaryMenu" } = t, { showsubgroups: P = "false" } = t, { filteredcategories: w = "" } = t, { translationurl: N = "" } = t, { categoriesicon: O = "" } = t, { lobbyiconimage: R = "" } = t, { mygamesiconimage: _ = "" } = t, { mbsource: A } = t, L, $, j = !0, W, z = [], k = !1, Ar = window.navigator.userAgent, G, ut, ht = !1, Oe = !1;
4633
- const Br = () => {
4634
- fetch(N).then((B) => B.json()).then((B) => {
4635
- Object.keys(B).forEach((pe) => {
4636
- Dt(pe, B[pe]);
4645
+ Wr(e, fs, (f) => r(32, n = f));
4646
+ let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "" } = t, { userid: a = "" } = t, { session: h = "" } = t, { mostplayed: u = "" } = t, { lastplayed: l = "false" } = t, { favorites: m = "" } = t, { clientstyling: c = "" } = t, { clientstylingurl: d = "" } = t, { activecategory: b = "" } = t, { actionevent: y = "" } = t, { sessioncheck: T = "" } = t, { location: C = "secondaryMenu" } = t, { showsubgroups: P = "false" } = t, { filteredcategories: w = "" } = t, { translationurl: N = "" } = t, { categoriesicon: O = "" } = t, { lobbyiconimage: R = "" } = t, { mygamesiconimage: _ = "" } = t, { mbsource: B } = t, L, $, lt, j = !0, W, z = [], k = !1, Or = window.navigator.userAgent, G, ct, ft = !1, Oe = !1;
4647
+ const Lr = () => {
4648
+ fetch(N).then((A) => A.json()).then((A) => {
4649
+ Object.keys(A).forEach((pe) => {
4650
+ jt(pe, A[pe]);
4637
4651
  });
4638
- }).catch((B) => {
4639
- console.log(B);
4652
+ }).catch((A) => {
4653
+ console.log(A);
4640
4654
  });
4641
4655
  };
4642
- Object.keys(Ft).forEach((f) => {
4643
- Dt(f, Ft[f]);
4656
+ Object.keys(kt).forEach((f) => {
4657
+ jt(f, kt[f]);
4644
4658
  });
4645
- const Pr = () => {
4646
- ht == !1 && (m == "true" || u == "true" || l == "true") && z.splice(1, 0, {
4659
+ const Ir = () => {
4660
+ ft == !1 && (m == "true" || u == "true" || l == "true") && z.splice(1, 0, {
4647
4661
  // @ts-ignore
4648
4662
  id: "MYGAMES",
4649
- name: L,
4663
+ name: $,
4650
4664
  href: "",
4651
4665
  games: []
4652
- }), Yr(), ht = !0, r(25, Oe = !0), lt();
4653
- }, Nr = () => (i || (W = "Endpoint is missing! Please provide a valid endpointURL.", r(15, k = !0), r(13, j = !1), console.error(W)), s || (W = "Datasource is missing! Please provide a valid datasource.", r(15, k = !0), r(13, j = !1), console.error(W)), (!o || o.length < 2) && (W = "Language is missing! Please provide a valid language (alpha2code)", r(15, k = !0), r(13, j = !1), console.error(W)), k), Or = () => {
4654
- if (L = n("myGamesName"), $ = n("lobbyName"), !Nr()) {
4666
+ }), en(), ft = !0, r(25, Oe = !0), mt();
4667
+ }, Cr = () => (i || (W = "Endpoint is missing! Please provide a valid endpointURL.", r(15, k = !0), r(13, j = !1), console.error(W)), s || (W = "Datasource is missing! Please provide a valid datasource.", r(15, k = !0), r(13, j = !1), console.error(W)), (!o || o.length < 2) && (W = "Language is missing! Please provide a valid language (alpha2code)", r(15, k = !0), r(13, j = !1), console.error(W)), k), Mr = () => {
4668
+ if ($ = n("myGamesName"), lt = n("lobbyName"), !Cr()) {
4655
4669
  let f = new URL(`${i}/v2/casino/groups/${s}`);
4656
- f.searchParams.append("language", o), f.searchParams.append("platform", ls(Ar)), f.searchParams.append("fields", "id,name,games(href)"), fetch(f).then((B) => B.json()).then(
4657
- (B) => {
4658
- let pe = w.split(","), Cr = B.items.filter((ft) => {
4670
+ f.searchParams.append("language", o), f.searchParams.append("platform", ms(Or)), f.searchParams.append("fields", "id,name,games(href)"), fetch(f).then((A) => A.json()).then(
4671
+ (A) => {
4672
+ let pe = w.split(","), Ur = A.items.filter((bt) => {
4659
4673
  let Le = !1;
4660
- if (ft.games.total > 0 && (Le = !0, w))
4661
- for (let Mr of pe)
4662
- ft.flags == Mr && (Le = !1);
4674
+ if (bt.games.total > 0 && (Le = !0, w))
4675
+ for (let Dr of pe)
4676
+ bt.flags == Dr && (Le = !1);
4663
4677
  return Le;
4664
4678
  });
4665
- z = [], z = z.concat(Cr), z.unshift({
4679
+ z = [], z = z.concat(Ur), z.unshift({
4666
4680
  // @ts-ignore
4667
4681
  id: "LOBBY",
4668
- name: $,
4682
+ name: lt,
4669
4683
  href: "",
4670
4684
  games: []
4671
4685
  }), r(13, j = !1);
4672
4686
  },
4673
- (B) => {
4674
- r(15, k = !0), console.error("There was an error while fetching the categories", B);
4687
+ (A) => {
4688
+ r(15, k = !0), console.error("There was an error while fetching the categories", A);
4675
4689
  }
4676
- ).catch((B) => {
4677
- r(15, k = !0), console.error("There was an error while fetching the categories", B);
4690
+ ).catch((A) => {
4691
+ r(15, k = !0), console.error("There was an error while fetching the categories", A);
4678
4692
  });
4679
4693
  }
4680
- }, Lr = () => {
4694
+ }, Rr = () => {
4681
4695
  let f = b.split("$");
4682
4696
  r(0, b = f.length > 2 ? b.split("$").slice(0, 2).join("$") : b);
4683
- }, lt = () => {
4697
+ }, mt = () => {
4684
4698
  window.postMessage(
4685
4699
  {
4686
4700
  type: "SliderData",
4687
- identity: nt,
4701
+ identity: it,
4688
4702
  data: z
4689
4703
  },
4690
4704
  window.location.href
4691
4705
  );
4692
- }, ct = (f) => {
4693
- f.data && f.data.type == "SliderLoaded" && nt == f.data.identity && lt();
4706
+ }, dt = (f) => {
4707
+ f.data && f.data.type == "SliderLoaded" && it == f.data.identity && mt();
4694
4708
  };
4695
- Qr(() => (window.addEventListener("message", ct, !1), () => {
4696
- window.removeEventListener("message", ct);
4709
+ Kr(() => (window.addEventListener("message", dt, !1), () => {
4710
+ window.emMessageBus && L && L.unsubscribe(), window.removeEventListener("message", dt);
4697
4711
  }));
4698
- function Ir(f) {
4699
- $e[f ? "unshift" : "push"](() => {
4712
+ function Gr(f) {
4713
+ je[f ? "unshift" : "push"](() => {
4700
4714
  G = f, r(14, G);
4701
4715
  });
4702
4716
  }
4703
4717
  return e.$$set = (f) => {
4704
- "endpoint" in f && r(1, i = f.endpoint), "datasource" in f && r(2, s = f.datasource), "lang" in f && r(3, o = f.lang), "userid" in f && r(17, a = f.userid), "session" in f && r(18, h = f.session), "mostplayed" in f && r(19, u = f.mostplayed), "lastplayed" in f && r(20, l = f.lastplayed), "favorites" in f && r(21, m = f.favorites), "clientstyling" in f && r(4, c = f.clientstyling), "clientstylingurl" in f && r(5, d = f.clientstylingurl), "activecategory" in f && r(0, b = f.activecategory), "actionevent" in f && r(6, y = f.actionevent), "sessioncheck" in f && r(22, T = f.sessioncheck), "location" in f && r(7, C = f.location), "showsubgroups" in f && r(8, P = f.showsubgroups), "filteredcategories" in f && r(23, w = f.filteredcategories), "translationurl" in f && r(24, N = f.translationurl), "categoriesicon" in f && r(9, O = f.categoriesicon), "lobbyiconimage" in f && r(10, R = f.lobbyiconimage), "mygamesiconimage" in f && r(11, _ = f.mygamesiconimage), "mbsource" in f && r(12, A = f.mbsource);
4718
+ "endpoint" in f && r(1, i = f.endpoint), "datasource" in f && r(2, s = f.datasource), "lang" in f && r(3, o = f.lang), "userid" in f && r(17, a = f.userid), "session" in f && r(18, h = f.session), "mostplayed" in f && r(19, u = f.mostplayed), "lastplayed" in f && r(20, l = f.lastplayed), "favorites" in f && r(21, m = f.favorites), "clientstyling" in f && r(4, c = f.clientstyling), "clientstylingurl" in f && r(5, d = f.clientstylingurl), "activecategory" in f && r(0, b = f.activecategory), "actionevent" in f && r(6, y = f.actionevent), "sessioncheck" in f && r(22, T = f.sessioncheck), "location" in f && r(7, C = f.location), "showsubgroups" in f && r(8, P = f.showsubgroups), "filteredcategories" in f && r(23, w = f.filteredcategories), "translationurl" in f && r(24, N = f.translationurl), "categoriesicon" in f && r(9, O = f.categoriesicon), "lobbyiconimage" in f && r(10, R = f.lobbyiconimage), "mygamesiconimage" in f && r(11, _ = f.mygamesiconimage), "mbsource" in f && r(12, B = f.mbsource);
4705
4719
  }, e.$$.update = () => {
4706
4720
  e.$$.dirty[0] & /*endpoint, datasource, lang*/
4707
- 14 && i && s && o && Or(), e.$$.dirty[0] & /*endpoint, session, mostplayed, lastplayed, favorites, isLoading*/
4708
- 3940354 && i && h && (u || l || m) && !j && Pr(), e.$$.dirty[0] & /*isLoading, activecategory, session, confirmCategoryParse*/
4709
- 33824769 && !j && b && (!h || Oe) && Lr(), e.$$.dirty[0] & /*translationurl*/
4710
- 16777216 && N && Br(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4711
- 16400 && c && G && cs(G, c), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4712
- 16416 && d && G && fs(G, d), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
4713
- 20480 && G && ms(G, `${A}.Style`);
4714
- }, r(16, ut = 0), [
4721
+ 14 && i && s && o && Mr(), e.$$.dirty[0] & /*endpoint, session, mostplayed, lastplayed, favorites, isLoading*/
4722
+ 3940354 && i && h && (u || l || m) && !j && Ir(), e.$$.dirty[0] & /*isLoading, activecategory, session, confirmCategoryParse*/
4723
+ 33824769 && !j && b && (!h || Oe) && Rr(), e.$$.dirty[0] & /*translationurl*/
4724
+ 16777216 && N && Lr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4725
+ 16400 && c && G && ds(G, c), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4726
+ 16416 && d && G && bs(G, d), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
4727
+ 20480 && G && ps(G, `${B}.Style`);
4728
+ }, r(16, ct = 0), [
4715
4729
  b,
4716
4730
  i,
4717
4731
  s,
@@ -4724,11 +4738,11 @@ function _s(e, t, r) {
4724
4738
  O,
4725
4739
  R,
4726
4740
  _,
4727
- A,
4741
+ B,
4728
4742
  j,
4729
4743
  G,
4730
4744
  k,
4731
- ut,
4745
+ ct,
4732
4746
  a,
4733
4747
  h,
4734
4748
  u,
@@ -4738,17 +4752,17 @@ function _s(e, t, r) {
4738
4752
  w,
4739
4753
  N,
4740
4754
  Oe,
4741
- Ir
4755
+ Gr
4742
4756
  ];
4743
4757
  }
4744
- class Hr extends on {
4758
+ class Nr extends ln {
4745
4759
  constructor(t) {
4746
- super(), nn(
4760
+ super(), un(
4747
4761
  this,
4748
4762
  t,
4763
+ ws,
4749
4764
  _s,
4750
- ys,
4751
- jt,
4765
+ Xt,
4752
4766
  {
4753
4767
  endpoint: 1,
4754
4768
  datasource: 2,
@@ -4772,7 +4786,7 @@ class Hr extends on {
4772
4786
  mygamesiconimage: 11,
4773
4787
  mbsource: 12
4774
4788
  },
4775
- ds,
4789
+ gs,
4776
4790
  [-1, -1]
4777
4791
  );
4778
4792
  }
@@ -4903,44 +4917,44 @@ class Hr extends on {
4903
4917
  this.$$set({ mbsource: t }), S();
4904
4918
  }
4905
4919
  }
4906
- sn(Hr, { endpoint: {}, datasource: {}, lang: {}, userid: {}, session: {}, mostplayed: {}, lastplayed: {}, favorites: {}, clientstyling: {}, clientstylingurl: {}, activecategory: {}, actionevent: {}, sessioncheck: {}, location: {}, showsubgroups: {}, filteredcategories: {}, translationurl: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, mbsource: {} }, [], [], !0);
4907
- const Cs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4920
+ hn(Nr, { endpoint: {}, datasource: {}, lang: {}, userid: {}, session: {}, mostplayed: {}, lastplayed: {}, favorites: {}, clientstyling: {}, clientstylingurl: {}, activecategory: {}, actionevent: {}, sessioncheck: {}, location: {}, showsubgroups: {}, filteredcategories: {}, translationurl: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, mbsource: {} }, [], [], !0);
4921
+ const Gs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4908
4922
  __proto__: null,
4909
- default: Hr
4923
+ default: Nr
4910
4924
  }, Symbol.toStringTag, { value: "Module" }));
4911
4925
  export {
4912
4926
  be as $,
4913
- ms as A,
4914
- Ls as B,
4915
- ws as C,
4916
- Xt as D,
4917
- Ps as E,
4918
- Cs as F,
4919
- on as S,
4927
+ ds as A,
4928
+ Ms as B,
4929
+ Bs as C,
4930
+ Zt as D,
4931
+ Ls as E,
4932
+ Gs as F,
4933
+ ln as S,
4920
4934
  de as a,
4921
- _r as b,
4922
- sn as c,
4923
- kr as d,
4935
+ Tr as b,
4936
+ hn as c,
4937
+ zr as d,
4924
4938
  V as e,
4925
4939
  S as f,
4926
- Ts as g,
4940
+ As as g,
4927
4941
  me as h,
4928
- nn as i,
4942
+ un as i,
4929
4943
  fe as j,
4930
- Vt as k,
4931
- As as l,
4944
+ zt as k,
4945
+ Ns as l,
4932
4946
  ie as m,
4933
4947
  I as n,
4934
- Qr as o,
4935
- Bs as p,
4936
- Os as q,
4948
+ Kr as o,
4949
+ Os as p,
4950
+ bs as q,
4937
4951
  ne as r,
4938
- jt as s,
4939
- Hs as t,
4940
- Is as u,
4941
- Ss as v,
4942
- Ns as w,
4943
- $e as x,
4944
- cs as y,
4945
- fs as z
4952
+ Xt as s,
4953
+ ps as t,
4954
+ Cs as u,
4955
+ Ps as v,
4956
+ Rs as w,
4957
+ Hs as x,
4958
+ Is as y,
4959
+ je as z
4946
4960
  };