@everymatrix/casino-tournaments-tab 1.77.20 → 1.77.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,28 +1,28 @@
1
- function S() {
1
+ function T() {
2
2
  }
3
- function yt(e) {
3
+ function Tt(e) {
4
4
  return e();
5
5
  }
6
- function Xe() {
6
+ function Je() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
- function K(e) {
10
- e.forEach(yt);
9
+ function q(e) {
10
+ e.forEach(Tt);
11
11
  }
12
- function Ge(e) {
12
+ function Xe(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function _t(e, t) {
15
+ function wt(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
- function Kt(e) {
18
+ function ir(e) {
19
19
  return Object.keys(e).length === 0;
20
20
  }
21
- function er(e, ...t) {
21
+ function or(e, ...t) {
22
22
  if (e == null) {
23
23
  for (const n of t)
24
24
  n(void 0);
25
- return S;
25
+ return T;
26
26
  }
27
27
  const r = e.subscribe(...t);
28
28
  return r.unsubscribe ? () => r.unsubscribe() : r;
@@ -30,14 +30,14 @@ function er(e, ...t) {
30
30
  function N(e, t) {
31
31
  e.appendChild(t);
32
32
  }
33
- function tr(e, t, r) {
34
- const n = rr(e);
33
+ function sr(e, t, r) {
34
+ const n = ar(e);
35
35
  if (!n.getElementById(t)) {
36
36
  const i = O("style");
37
- i.id = t, i.textContent = r, nr(n, i);
37
+ i.id = t, i.textContent = r, ur(n, i);
38
38
  }
39
39
  }
40
- function rr(e) {
40
+ function ar(e) {
41
41
  if (!e)
42
42
  return document;
43
43
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -47,46 +47,46 @@ function rr(e) {
47
47
  t
48
48
  ) : e.ownerDocument;
49
49
  }
50
- function nr(e, t) {
50
+ function ur(e, t) {
51
51
  return N(
52
52
  /** @type {Document} */
53
53
  e.head || e,
54
54
  t
55
55
  ), t.sheet;
56
56
  }
57
- function ee(e, t, r) {
57
+ function K(e, t, r) {
58
58
  e.insertBefore(t, r || null);
59
59
  }
60
- function V(e) {
60
+ function k(e) {
61
61
  e.parentNode && e.parentNode.removeChild(e);
62
62
  }
63
- function ir(e, t) {
63
+ function hr(e, t) {
64
64
  for (let r = 0; r < e.length; r += 1)
65
65
  e[r] && e[r].d(t);
66
66
  }
67
67
  function O(e) {
68
68
  return document.createElement(e);
69
69
  }
70
- function Fe(e) {
70
+ function ze(e) {
71
71
  return document.createTextNode(e);
72
72
  }
73
- function ze() {
74
- return Fe(" ");
73
+ function Ye() {
74
+ return ze(" ");
75
75
  }
76
- function or(e, t, r, n) {
76
+ function lr(e, t, r, n) {
77
77
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
78
78
  }
79
- function T(e, t, r) {
79
+ function S(e, t, r) {
80
80
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
81
81
  }
82
- function sr(e) {
82
+ function fr(e) {
83
83
  return Array.from(e.childNodes);
84
84
  }
85
- function Et(e, t) {
85
+ function Ht(e, t) {
86
86
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
87
87
  t);
88
88
  }
89
- function ar(e) {
89
+ function cr(e) {
90
90
  const t = {};
91
91
  return e.childNodes.forEach(
92
92
  /** @param {Element} node */
@@ -95,98 +95,98 @@ function ar(e) {
95
95
  }
96
96
  ), t;
97
97
  }
98
- let J;
99
- function Q(e) {
100
- J = e;
98
+ let Q;
99
+ function Z(e) {
100
+ Q = e;
101
101
  }
102
- function ur() {
103
- if (!J)
102
+ function pr() {
103
+ if (!Q)
104
104
  throw new Error("Function called outside component initialization");
105
- return J;
105
+ return Q;
106
106
  }
107
- function xt(e) {
108
- ur().$$.on_mount.push(e);
107
+ function Bt(e) {
108
+ pr().$$.on_mount.push(e);
109
109
  }
110
- const $ = [], Se = [];
110
+ const R = [], Be = [];
111
111
  let U = [];
112
- const We = [], hr = /* @__PURE__ */ Promise.resolve();
113
- let we = !1;
114
- function lr() {
115
- we || (we = !0, hr.then(A));
112
+ const qe = [], mr = /* @__PURE__ */ Promise.resolve();
113
+ let Ae = !1;
114
+ function dr() {
115
+ Ae || (Ae = !0, mr.then(A));
116
116
  }
117
- function He(e) {
117
+ function Pe(e) {
118
118
  U.push(e);
119
119
  }
120
- const ve = /* @__PURE__ */ new Set();
120
+ const ye = /* @__PURE__ */ new Set();
121
121
  let M = 0;
122
122
  function A() {
123
123
  if (M !== 0)
124
124
  return;
125
- const e = J;
125
+ const e = Q;
126
126
  do {
127
127
  try {
128
- for (; M < $.length; ) {
129
- const t = $[M];
130
- M++, Q(t), fr(t.$$);
128
+ for (; M < R.length; ) {
129
+ const t = R[M];
130
+ M++, Z(t), br(t.$$);
131
131
  }
132
132
  } catch (t) {
133
- throw $.length = 0, M = 0, t;
133
+ throw R.length = 0, M = 0, t;
134
134
  }
135
- for (Q(null), $.length = 0, M = 0; Se.length; )
136
- Se.pop()();
135
+ for (Z(null), R.length = 0, M = 0; Be.length; )
136
+ Be.pop()();
137
137
  for (let t = 0; t < U.length; t += 1) {
138
138
  const r = U[t];
139
- ve.has(r) || (ve.add(r), r());
139
+ ye.has(r) || (ye.add(r), r());
140
140
  }
141
141
  U.length = 0;
142
- } while ($.length);
143
- for (; We.length; )
144
- We.pop()();
145
- we = !1, ve.clear(), Q(e);
142
+ } while (R.length);
143
+ for (; qe.length; )
144
+ qe.pop()();
145
+ Ae = !1, ye.clear(), Z(e);
146
146
  }
147
- function fr(e) {
147
+ function br(e) {
148
148
  if (e.fragment !== null) {
149
- e.update(), K(e.before_update);
149
+ e.update(), q(e.before_update);
150
150
  const t = e.dirty;
151
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(He);
151
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Pe);
152
152
  }
153
153
  }
154
- function cr(e) {
154
+ function gr(e) {
155
155
  const t = [], r = [];
156
156
  U.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), U = t;
157
157
  }
158
- const pr = /* @__PURE__ */ new Set();
159
- function mr(e, t) {
160
- e && e.i && (pr.delete(e), e.i(t));
158
+ const vr = /* @__PURE__ */ new Set();
159
+ function yr(e, t) {
160
+ e && e.i && (vr.delete(e), e.i(t));
161
161
  }
162
- function Ze(e) {
162
+ function Ke(e) {
163
163
  return e?.length !== void 0 ? e : Array.from(e);
164
164
  }
165
- function br(e, t, r) {
165
+ function _r(e, t, r) {
166
166
  const { fragment: n, after_update: i } = e.$$;
167
- n && n.m(t, r), He(() => {
168
- const o = e.$$.on_mount.map(yt).filter(Ge);
169
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : K(o), e.$$.on_mount = [];
170
- }), i.forEach(He);
167
+ n && n.m(t, r), Pe(() => {
168
+ const o = e.$$.on_mount.map(Tt).filter(Xe);
169
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : q(o), e.$$.on_mount = [];
170
+ }), i.forEach(Pe);
171
171
  }
172
- function dr(e, t) {
172
+ function Er(e, t) {
173
173
  const r = e.$$;
174
- r.fragment !== null && (cr(r.after_update), K(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
174
+ r.fragment !== null && (gr(r.after_update), q(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
175
175
  }
176
- function vr(e, t) {
177
- e.$$.dirty[0] === -1 && ($.push(e), lr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
176
+ function xr(e, t) {
177
+ e.$$.dirty[0] === -1 && (R.push(e), dr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
178
178
  }
179
- function gr(e, t, r, n, i, o, s = null, a = [-1]) {
180
- const h = J;
181
- Q(e);
179
+ function Sr(e, t, r, n, i, o, s = null, a = [-1]) {
180
+ const h = Q;
181
+ Z(e);
182
182
  const u = e.$$ = {
183
183
  fragment: null,
184
184
  ctx: [],
185
185
  // state
186
186
  props: o,
187
- update: S,
187
+ update: T,
188
188
  not_equal: i,
189
- bound: Xe(),
189
+ bound: Je(),
190
190
  // lifecycle
191
191
  on_mount: [],
192
192
  on_destroy: [],
@@ -195,7 +195,7 @@ function gr(e, t, r, n, i, o, s = null, a = [-1]) {
195
195
  after_update: [],
196
196
  context: new Map(t.context || (h ? h.$$.context : [])),
197
197
  // everything else
198
- callbacks: Xe(),
198
+ callbacks: Je(),
199
199
  dirty: a,
200
200
  skip_bound: !1,
201
201
  root: t.target || h.$$.root
@@ -203,20 +203,20 @@ function gr(e, t, r, n, i, o, s = null, a = [-1]) {
203
203
  s && s(u.root);
204
204
  let l = !1;
205
205
  if (u.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
206
- const b = p.length ? p[0] : c;
207
- return u.ctx && i(u.ctx[f], u.ctx[f] = b) && (!u.skip_bound && u.bound[f] && u.bound[f](b), l && vr(e, f)), c;
208
- }) : [], u.update(), l = !0, K(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
206
+ const d = p.length ? p[0] : c;
207
+ return u.ctx && i(u.ctx[f], u.ctx[f] = d) && (!u.skip_bound && u.bound[f] && u.bound[f](d), l && xr(e, f)), c;
208
+ }) : [], u.update(), l = !0, q(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
209
209
  if (t.hydrate) {
210
- const f = sr(t.target);
211
- u.fragment && u.fragment.l(f), f.forEach(V);
210
+ const f = fr(t.target);
211
+ u.fragment && u.fragment.l(f), f.forEach(k);
212
212
  } else
213
213
  u.fragment && u.fragment.c();
214
- t.intro && mr(e.$$.fragment), br(e, t.target, t.anchor), A();
214
+ t.intro && yr(e.$$.fragment), _r(e, t.target, t.anchor), A();
215
215
  }
216
- Q(h);
216
+ Z(h);
217
217
  }
218
- let Tt;
219
- typeof HTMLElement == "function" && (Tt = class extends HTMLElement {
218
+ let At;
219
+ typeof HTMLElement == "function" && (At = class extends HTMLElement {
220
220
  /** The Svelte component constructor */
221
221
  $$ctor;
222
222
  /** Slots */
@@ -258,24 +258,24 @@ typeof HTMLElement == "function" && (Tt = class extends HTMLElement {
258
258
  let o;
259
259
  return {
260
260
  c: function() {
261
- o = O("slot"), i !== "default" && T(o, "name", i);
261
+ o = O("slot"), i !== "default" && S(o, "name", i);
262
262
  },
263
263
  /**
264
264
  * @param {HTMLElement} target
265
265
  * @param {HTMLElement} [anchor]
266
266
  */
267
267
  m: function(h, u) {
268
- ee(h, o, u);
268
+ K(h, o, u);
269
269
  },
270
270
  d: function(h) {
271
- h && V(o);
271
+ h && k(o);
272
272
  }
273
273
  };
274
274
  };
275
275
  };
276
276
  if (await Promise.resolve(), !this.$$cn || this.$$c)
277
277
  return;
278
- const t = {}, r = ar(this);
278
+ const t = {}, r = cr(this);
279
279
  for (const i of this.$$s)
280
280
  i in r && (t[i] = [e(i)]);
281
281
  for (const i of this.attributes) {
@@ -362,8 +362,8 @@ function se(e, t, r, n) {
362
362
  return t;
363
363
  }
364
364
  }
365
- function yr(e, t, r, n, i, o) {
366
- let s = class extends Tt {
365
+ function Tr(e, t, r, n, i, o) {
366
+ let s = class extends At {
367
367
  constructor() {
368
368
  super(e, r, i), this.$$p_d = t;
369
369
  }
@@ -391,7 +391,7 @@ function yr(e, t, r, n, i, o) {
391
391
  }), e.element = /** @type {any} */
392
392
  s, s;
393
393
  }
394
- class _r {
394
+ class wr {
395
395
  /**
396
396
  * ### PRIVATE API
397
397
  *
@@ -410,7 +410,7 @@ class _r {
410
410
  $$set = void 0;
411
411
  /** @returns {void} */
412
412
  $destroy() {
413
- dr(this, 1), this.$destroy = S;
413
+ Er(this, 1), this.$destroy = T;
414
414
  }
415
415
  /**
416
416
  * @template {Extract<keyof Events, string>} K
@@ -419,8 +419,8 @@ class _r {
419
419
  * @returns {() => void}
420
420
  */
421
421
  $on(t, r) {
422
- if (!Ge(r))
423
- return S;
422
+ if (!Xe(r))
423
+ return T;
424
424
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
425
425
  return n.push(r), () => {
426
426
  const i = n.indexOf(r);
@@ -432,21 +432,21 @@ class _r {
432
432
  * @returns {void}
433
433
  */
434
434
  $set(t) {
435
- this.$$set && !Kt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
435
+ this.$$set && !ir(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
436
436
  }
437
437
  }
438
- const Er = "4";
439
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Er);
440
- const xr = (e) => (r) => {
438
+ const Hr = "4";
439
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Hr);
440
+ const Br = (e) => (r) => {
441
441
  Object.keys(e).map((n) => {
442
442
  if (r.data && r.data.type == n) {
443
443
  const { type: i, ...o } = r.data;
444
444
  e[n](o);
445
445
  }
446
446
  });
447
- }, Tr = (e) => {
448
- const t = xr(e);
449
- xt(() => (window.addEventListener("message", t, !1), () => {
447
+ }, Ar = (e) => {
448
+ const t = Br(e);
449
+ Bt(() => (window.addEventListener("message", t, !1), () => {
450
450
  window.removeEventListener("message", t);
451
451
  }));
452
452
  };
@@ -464,43 +464,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
464
464
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
465
465
  PERFORMANCE OF THIS SOFTWARE.
466
466
  ***************************************************************************** */
467
- var Be = function(e, t) {
468
- return Be = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
467
+ var Oe = function(e, t) {
468
+ return Oe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
469
469
  r.__proto__ = n;
470
470
  } || function(r, n) {
471
471
  for (var i in n)
472
472
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
473
- }, Be(e, t);
473
+ }, Oe(e, t);
474
474
  };
475
- function B(e, t) {
475
+ function ee(e, t) {
476
476
  if (typeof t != "function" && t !== null)
477
477
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
478
- Be(e, t);
478
+ Oe(e, t);
479
479
  function r() {
480
480
  this.constructor = e;
481
481
  }
482
482
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
483
483
  }
484
- var y = function() {
485
- return y = Object.assign || function(t) {
486
- for (var r, n = 1, i = arguments.length; n < i; n++) {
487
- r = arguments[n];
488
- for (var o in r)
489
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
490
- }
491
- return t;
492
- }, y.apply(this, arguments);
493
- };
494
- function Sr(e, t) {
495
- var r = {};
496
- for (var n in e)
497
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
498
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
499
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
500
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
501
- return r;
502
- }
503
- function Ae(e) {
484
+ function Ie(e) {
504
485
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
505
486
  if (r)
506
487
  return r.call(e);
@@ -512,7 +493,7 @@ function Ae(e) {
512
493
  };
513
494
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
514
495
  }
515
- function Pe(e, t) {
496
+ function Le(e, t) {
516
497
  var r = typeof Symbol == "function" && e[Symbol.iterator];
517
498
  if (!r)
518
499
  return e;
@@ -532,22 +513,22 @@ function Pe(e, t) {
532
513
  }
533
514
  return o;
534
515
  }
535
- function D(e, t, r) {
536
- if (r || arguments.length === 2)
516
+ function Ne(e, t, r) {
517
+ if (arguments.length === 2)
537
518
  for (var n = 0, i = t.length, o; n < i; n++)
538
519
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
539
520
  return e.concat(o || t);
540
521
  }
541
- function H(e) {
522
+ function B(e) {
542
523
  return typeof e == "function";
543
524
  }
544
- function St(e) {
525
+ function Pt(e) {
545
526
  var t = function(n) {
546
527
  Error.call(n), n.stack = new Error().stack;
547
528
  }, r = e(t);
548
529
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
549
530
  }
550
- var ge = St(function(e) {
531
+ var _e = Pt(function(e) {
551
532
  return function(r) {
552
533
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
553
534
  ` + r.map(function(n, i) {
@@ -556,13 +537,13 @@ var ge = St(function(e) {
556
537
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
557
538
  };
558
539
  });
559
- function Oe(e, t) {
540
+ function Ce(e, t) {
560
541
  if (e) {
561
542
  var r = e.indexOf(t);
562
543
  0 <= r && e.splice(r, 1);
563
544
  }
564
545
  }
565
- var ce = function() {
546
+ var pe = function() {
566
547
  function e(t) {
567
548
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
568
549
  }
@@ -574,12 +555,12 @@ var ce = function() {
574
555
  if (s)
575
556
  if (this._parentage = null, Array.isArray(s))
576
557
  try {
577
- for (var a = Ae(s), h = a.next(); !h.done; h = a.next()) {
558
+ for (var a = Ie(s), h = a.next(); !h.done; h = a.next()) {
578
559
  var u = h.value;
579
560
  u.remove(this);
580
561
  }
581
- } catch (g) {
582
- t = { error: g };
562
+ } catch (v) {
563
+ t = { error: v };
583
564
  } finally {
584
565
  try {
585
566
  h && !h.done && (r = a.return) && r.call(a);
@@ -591,26 +572,26 @@ var ce = function() {
591
572
  else
592
573
  s.remove(this);
593
574
  var l = this.initialTeardown;
594
- if (H(l))
575
+ if (B(l))
595
576
  try {
596
577
  l();
597
- } catch (g) {
598
- o = g instanceof ge ? g.errors : [g];
578
+ } catch (v) {
579
+ o = v instanceof _e ? v.errors : [v];
599
580
  }
600
581
  var f = this._finalizers;
601
582
  if (f) {
602
583
  this._finalizers = null;
603
584
  try {
604
- for (var c = Ae(f), p = c.next(); !p.done; p = c.next()) {
605
- var b = p.value;
585
+ for (var c = Ie(f), p = c.next(); !p.done; p = c.next()) {
586
+ var d = p.value;
606
587
  try {
607
- Qe(b);
608
- } catch (g) {
609
- o = o ?? [], g instanceof ge ? o = D(D([], Pe(o)), Pe(g.errors)) : o.push(g);
588
+ et(d);
589
+ } catch (v) {
590
+ o = o ?? [], v instanceof _e ? o = Ne(Ne([], Le(o)), Le(v.errors)) : o.push(v);
610
591
  }
611
592
  }
612
- } catch (g) {
613
- n = { error: g };
593
+ } catch (v) {
594
+ n = { error: v };
614
595
  } finally {
615
596
  try {
616
597
  p && !p.done && (i = c.return) && i.call(c);
@@ -621,13 +602,13 @@ var ce = function() {
621
602
  }
622
603
  }
623
604
  if (o)
624
- throw new ge(o);
605
+ throw new _e(o);
625
606
  }
626
607
  }, e.prototype.add = function(t) {
627
608
  var r;
628
609
  if (t && t !== this)
629
610
  if (this.closed)
630
- Qe(t);
611
+ et(t);
631
612
  else {
632
613
  if (t instanceof e) {
633
614
  if (t.closed || t._hasParent(this))
@@ -644,52 +625,52 @@ var ce = function() {
644
625
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
645
626
  }, e.prototype._removeParent = function(t) {
646
627
  var r = this._parentage;
647
- r === t ? this._parentage = null : Array.isArray(r) && Oe(r, t);
628
+ r === t ? this._parentage = null : Array.isArray(r) && Ce(r, t);
648
629
  }, e.prototype.remove = function(t) {
649
630
  var r = this._finalizers;
650
- r && Oe(r, t), t instanceof e && t._removeParent(this);
631
+ r && Ce(r, t), t instanceof e && t._removeParent(this);
651
632
  }, e.EMPTY = function() {
652
633
  var t = new e();
653
634
  return t.closed = !0, t;
654
635
  }(), e;
655
- }(), wt = ce.EMPTY;
656
- function Ht(e) {
657
- return e instanceof ce || e && "closed" in e && H(e.remove) && H(e.add) && H(e.unsubscribe);
636
+ }(), Ot = pe.EMPTY;
637
+ function It(e) {
638
+ return e instanceof pe || e && "closed" in e && B(e.remove) && B(e.add) && B(e.unsubscribe);
658
639
  }
659
- function Qe(e) {
660
- H(e) ? e() : e.unsubscribe();
640
+ function et(e) {
641
+ B(e) ? e() : e.unsubscribe();
661
642
  }
662
- var wr = {
643
+ var Pr = {
663
644
  Promise: void 0
664
- }, Hr = {
645
+ }, Or = {
665
646
  setTimeout: function(e, t) {
666
647
  for (var r = [], n = 2; n < arguments.length; n++)
667
648
  r[n - 2] = arguments[n];
668
- return setTimeout.apply(void 0, D([e, t], Pe(r)));
649
+ return setTimeout.apply(void 0, Ne([e, t], Le(r)));
669
650
  },
670
651
  clearTimeout: function(e) {
671
652
  return clearTimeout(e);
672
653
  },
673
654
  delegate: void 0
674
655
  };
675
- function Br(e) {
676
- Hr.setTimeout(function() {
656
+ function Ir(e) {
657
+ Or.setTimeout(function() {
677
658
  throw e;
678
659
  });
679
660
  }
680
- function Je() {
661
+ function tt() {
681
662
  }
682
663
  function ae(e) {
683
664
  e();
684
665
  }
685
- var Bt = function(e) {
686
- B(t, e);
666
+ var Lt = function(e) {
667
+ ee(t, e);
687
668
  function t(r) {
688
669
  var n = e.call(this) || this;
689
- return n.isStopped = !1, r ? (n.destination = r, Ht(r) && r.add(n)) : n.destination = Or, n;
670
+ return n.isStopped = !1, r ? (n.destination = r, It(r) && r.add(n)) : n.destination = Cr, n;
690
671
  }
691
672
  return t.create = function(r, n, i) {
692
- return new Ie(r, n, i);
673
+ return new Me(r, n, i);
693
674
  }, t.prototype.next = function(r) {
694
675
  this.isStopped || this._next(r);
695
676
  }, t.prototype.error = function(r) {
@@ -713,7 +694,7 @@ var Bt = function(e) {
713
694
  this.unsubscribe();
714
695
  }
715
696
  }, t;
716
- }(ce), Ar = function() {
697
+ }(pe), Lr = function() {
717
698
  function e(t) {
718
699
  this.partialObserver = t;
719
700
  }
@@ -744,43 +725,43 @@ var Bt = function(e) {
744
725
  ie(r);
745
726
  }
746
727
  }, e;
747
- }(), Ie = function(e) {
748
- B(t, e);
728
+ }(), Me = function(e) {
729
+ ee(t, e);
749
730
  function t(r, n, i) {
750
731
  var o = e.call(this) || this, s;
751
- return H(r) || !r ? s = {
732
+ return B(r) || !r ? s = {
752
733
  next: r ?? void 0,
753
734
  error: n ?? void 0,
754
735
  complete: i ?? void 0
755
- } : s = r, o.destination = new Ar(s), o;
736
+ } : s = r, o.destination = new Lr(s), o;
756
737
  }
757
738
  return t;
758
- }(Bt);
739
+ }(Lt);
759
740
  function ie(e) {
760
- Br(e);
741
+ Ir(e);
761
742
  }
762
- function Pr(e) {
743
+ function Nr(e) {
763
744
  throw e;
764
745
  }
765
- var Or = {
746
+ var Cr = {
766
747
  closed: !0,
767
- next: Je,
768
- error: Pr,
769
- complete: Je
770
- }, Ir = function() {
748
+ next: tt,
749
+ error: Nr,
750
+ complete: tt
751
+ }, Mr = function() {
771
752
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
772
753
  }();
773
- function Lr(e) {
754
+ function $r(e) {
774
755
  return e;
775
756
  }
776
- function Nr(e) {
777
- return e.length === 0 ? Lr : e.length === 1 ? e[0] : function(r) {
757
+ function Rr(e) {
758
+ return e.length === 0 ? $r : e.length === 1 ? e[0] : function(r) {
778
759
  return e.reduce(function(n, i) {
779
760
  return i(n);
780
761
  }, r);
781
762
  };
782
763
  }
783
- var Ye = function() {
764
+ var rt = function() {
784
765
  function e(t) {
785
766
  t && (this._subscribe = t);
786
767
  }
@@ -788,7 +769,7 @@ var Ye = function() {
788
769
  var r = new e();
789
770
  return r.source = this, r.operator = t, r;
790
771
  }, e.prototype.subscribe = function(t, r, n) {
791
- var i = this, o = Mr(t) ? t : new Ie(t, r, n);
772
+ var i = this, o = Dr(t) ? t : new Me(t, r, n);
792
773
  return ae(function() {
793
774
  var s = i, a = s.operator, h = s.source;
794
775
  o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
@@ -801,8 +782,8 @@ var Ye = function() {
801
782
  }
802
783
  }, e.prototype.forEach = function(t, r) {
803
784
  var n = this;
804
- return r = qe(r), new r(function(i, o) {
805
- var s = new Ie({
785
+ return r = nt(r), new r(function(i, o) {
786
+ var s = new Me({
806
787
  next: function(a) {
807
788
  try {
808
789
  t(a);
@@ -818,15 +799,15 @@ var Ye = function() {
818
799
  }, e.prototype._subscribe = function(t) {
819
800
  var r;
820
801
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
821
- }, e.prototype[Ir] = function() {
802
+ }, e.prototype[Mr] = function() {
822
803
  return this;
823
804
  }, e.prototype.pipe = function() {
824
805
  for (var t = [], r = 0; r < arguments.length; r++)
825
806
  t[r] = arguments[r];
826
- return Nr(t)(this);
807
+ return Rr(t)(this);
827
808
  }, e.prototype.toPromise = function(t) {
828
809
  var r = this;
829
- return t = qe(t), new t(function(n, i) {
810
+ return t = nt(t), new t(function(n, i) {
830
811
  var o;
831
812
  r.subscribe(function(s) {
832
813
  return o = s;
@@ -840,32 +821,32 @@ var Ye = function() {
840
821
  return new e(t);
841
822
  }, e;
842
823
  }();
843
- function qe(e) {
824
+ function nt(e) {
844
825
  var t;
845
- return (t = e ?? wr.Promise) !== null && t !== void 0 ? t : Promise;
826
+ return (t = e ?? Pr.Promise) !== null && t !== void 0 ? t : Promise;
846
827
  }
847
- function Cr(e) {
848
- return e && H(e.next) && H(e.error) && H(e.complete);
828
+ function Ur(e) {
829
+ return e && B(e.next) && B(e.error) && B(e.complete);
849
830
  }
850
- function Mr(e) {
851
- return e && e instanceof Bt || Cr(e) && Ht(e);
831
+ function Dr(e) {
832
+ return e && e instanceof Lt || Ur(e) && It(e);
852
833
  }
853
- var Rr = St(function(e) {
834
+ var Gr = Pt(function(e) {
854
835
  return function() {
855
836
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
856
837
  };
857
- }), At = function(e) {
858
- B(t, e);
838
+ }), Nt = function(e) {
839
+ ee(t, e);
859
840
  function t() {
860
841
  var r = e.call(this) || this;
861
842
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
862
843
  }
863
844
  return t.prototype.lift = function(r) {
864
- var n = new Ke(this, this);
845
+ var n = new it(this, this);
865
846
  return n.operator = r, n;
866
847
  }, t.prototype._throwIfClosed = function() {
867
848
  if (this.closed)
868
- throw new Rr();
849
+ throw new Gr();
869
850
  }, t.prototype.next = function(r) {
870
851
  var n = this;
871
852
  ae(function() {
@@ -873,7 +854,7 @@ var Rr = St(function(e) {
873
854
  if (n._throwIfClosed(), !n.isStopped) {
874
855
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
875
856
  try {
876
- for (var s = Ae(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
857
+ for (var s = Ie(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
877
858
  var h = a.value;
878
859
  h.next(r);
879
860
  }
@@ -922,20 +903,20 @@ var Rr = St(function(e) {
922
903
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
923
904
  }, t.prototype._innerSubscribe = function(r) {
924
905
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
925
- return o || s ? wt : (this.currentObservers = null, a.push(r), new ce(function() {
926
- n.currentObservers = null, Oe(a, r);
906
+ return o || s ? Ot : (this.currentObservers = null, a.push(r), new pe(function() {
907
+ n.currentObservers = null, Ce(a, r);
927
908
  }));
928
909
  }, t.prototype._checkFinalizedStatuses = function(r) {
929
910
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
930
911
  i ? r.error(o) : s && r.complete();
931
912
  }, t.prototype.asObservable = function() {
932
- var r = new Ye();
913
+ var r = new rt();
933
914
  return r.source = this, r;
934
915
  }, t.create = function(r, n) {
935
- return new Ke(r, n);
916
+ return new it(r, n);
936
917
  }, t;
937
- }(Ye), Ke = function(e) {
938
- B(t, e);
918
+ }(rt), it = function(e) {
919
+ ee(t, e);
939
920
  function t(r, n) {
940
921
  var i = e.call(this) || this;
941
922
  return i.destination = r, i.source = n, i;
@@ -951,17 +932,17 @@ var Rr = St(function(e) {
951
932
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
952
933
  }, t.prototype._subscribe = function(r) {
953
934
  var n, i;
954
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : wt;
935
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Ot;
955
936
  }, t;
956
- }(At), Pt = {
937
+ }(Nt), Ct = {
957
938
  now: function() {
958
- return (Pt.delegate || Date).now();
939
+ return (Ct.delegate || Date).now();
959
940
  },
960
941
  delegate: void 0
961
- }, $r = function(e) {
962
- B(t, e);
942
+ }, Fr = function(e) {
943
+ ee(t, e);
963
944
  function t(r, n, i) {
964
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Pt);
945
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ct);
965
946
  var o = e.call(this) || this;
966
947
  return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
967
948
  }
@@ -981,181 +962,223 @@ var Rr = St(function(e) {
981
962
  u && o.splice(0, u + 1);
982
963
  }
983
964
  }, t;
984
- }(At);
985
- const et = [], tt = {}, Ur = (e, t = 0) => {
986
- if (et.indexOf(e) == -1) {
987
- const r = new $r(t);
988
- tt[e] = r, et.push(e);
965
+ }(Nt);
966
+ const ot = [], st = {}, jr = (e, t = 0) => {
967
+ if (ot.indexOf(e) == -1) {
968
+ const r = new Fr(t);
969
+ st[e] = r, ot.push(e);
989
970
  }
990
- return tt[e];
991
- }, R = [];
992
- function Dr(e, t) {
971
+ return st[e];
972
+ }, $ = [];
973
+ function kr(e, t) {
993
974
  return {
994
- subscribe: pe(e, t).subscribe
975
+ subscribe: me(e, t).subscribe
995
976
  };
996
977
  }
997
- function pe(e, t = S) {
978
+ function me(e, t = T) {
998
979
  let r;
999
980
  const n = /* @__PURE__ */ new Set();
1000
981
  function i(a) {
1001
- if (_t(e, a) && (e = a, r)) {
1002
- const h = !R.length;
982
+ if (wt(e, a) && (e = a, r)) {
983
+ const h = !$.length;
1003
984
  for (const u of n)
1004
- u[1](), R.push(u, e);
985
+ u[1](), $.push(u, e);
1005
986
  if (h) {
1006
- for (let u = 0; u < R.length; u += 2)
1007
- R[u][0](R[u + 1]);
1008
- R.length = 0;
987
+ for (let u = 0; u < $.length; u += 2)
988
+ $[u][0]($[u + 1]);
989
+ $.length = 0;
1009
990
  }
1010
991
  }
1011
992
  }
1012
993
  function o(a) {
1013
994
  i(a(e));
1014
995
  }
1015
- function s(a, h = S) {
996
+ function s(a, h = T) {
1016
997
  const u = [a, h];
1017
- return n.add(u), n.size === 1 && (r = t(i, o) || S), a(e), () => {
998
+ return n.add(u), n.size === 1 && (r = t(i, o) || T), a(e), () => {
1018
999
  n.delete(u), n.size === 0 && r && (r(), r = null);
1019
1000
  };
1020
1001
  }
1021
1002
  return { set: i, update: o, subscribe: s };
1022
1003
  }
1023
- function X(e, t, r) {
1004
+ function V(e, t, r) {
1024
1005
  const n = !Array.isArray(e), i = n ? [e] : e;
1025
1006
  if (!i.every(Boolean))
1026
1007
  throw new Error("derived() expects stores as input, got a falsy value");
1027
1008
  const o = t.length < 2;
1028
- return Dr(r, (s, a) => {
1009
+ return kr(r, (s, a) => {
1029
1010
  let h = !1;
1030
1011
  const u = [];
1031
- let l = 0, f = S;
1012
+ let l = 0, f = T;
1032
1013
  const c = () => {
1033
1014
  if (l)
1034
1015
  return;
1035
1016
  f();
1036
- const b = t(n ? u[0] : u, s, a);
1037
- o ? s(b) : f = Ge(b) ? b : S;
1017
+ const d = t(n ? u[0] : u, s, a);
1018
+ o ? s(d) : f = Xe(d) ? d : T;
1038
1019
  }, p = i.map(
1039
- (b, g) => er(
1040
- b,
1020
+ (d, v) => or(
1021
+ d,
1041
1022
  (x) => {
1042
- u[g] = x, l &= ~(1 << g), h && c();
1023
+ u[v] = x, l &= ~(1 << v), h && c();
1043
1024
  },
1044
1025
  () => {
1045
- l |= 1 << g;
1026
+ l |= 1 << v;
1046
1027
  }
1047
1028
  )
1048
1029
  );
1049
1030
  return h = !0, c(), function() {
1050
- K(p), f(), h = !1;
1031
+ q(p), f(), h = !1;
1051
1032
  };
1052
1033
  });
1053
1034
  }
1054
- function Gr(e) {
1035
+ function Vr(e) {
1055
1036
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1056
1037
  }
1057
- var Fr = function(t) {
1058
- return jr(t) && !kr(t);
1038
+ var Xr = function(t) {
1039
+ return zr(t) && !Wr(t);
1059
1040
  };
1060
- function jr(e) {
1041
+ function zr(e) {
1061
1042
  return !!e && typeof e == "object";
1062
1043
  }
1063
- function kr(e) {
1044
+ function Wr(e) {
1064
1045
  var t = Object.prototype.toString.call(e);
1065
- return t === "[object RegExp]" || t === "[object Date]" || zr(e);
1046
+ return t === "[object RegExp]" || t === "[object Date]" || Jr(e);
1066
1047
  }
1067
- var Vr = typeof Symbol == "function" && Symbol.for, Xr = Vr ? Symbol.for("react.element") : 60103;
1068
- function zr(e) {
1069
- return e.$$typeof === Xr;
1048
+ var Zr = typeof Symbol == "function" && Symbol.for, Qr = Zr ? Symbol.for("react.element") : 60103;
1049
+ function Jr(e) {
1050
+ return e.$$typeof === Qr;
1070
1051
  }
1071
- function Wr(e) {
1052
+ function Yr(e) {
1072
1053
  return Array.isArray(e) ? [] : {};
1073
1054
  }
1074
- function Y(e, t) {
1075
- return t.clone !== !1 && t.isMergeableObject(e) ? G(Wr(e), e, t) : e;
1055
+ function J(e, t) {
1056
+ return t.clone !== !1 && t.isMergeableObject(e) ? D(Yr(e), e, t) : e;
1076
1057
  }
1077
- function Zr(e, t, r) {
1058
+ function qr(e, t, r) {
1078
1059
  return e.concat(t).map(function(n) {
1079
- return Y(n, r);
1060
+ return J(n, r);
1080
1061
  });
1081
1062
  }
1082
- function Qr(e, t) {
1063
+ function Kr(e, t) {
1083
1064
  if (!t.customMerge)
1084
- return G;
1065
+ return D;
1085
1066
  var r = t.customMerge(e);
1086
- return typeof r == "function" ? r : G;
1067
+ return typeof r == "function" ? r : D;
1087
1068
  }
1088
- function Jr(e) {
1069
+ function en(e) {
1089
1070
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1090
1071
  return Object.propertyIsEnumerable.call(e, t);
1091
1072
  }) : [];
1092
1073
  }
1093
- function rt(e) {
1094
- return Object.keys(e).concat(Jr(e));
1074
+ function at(e) {
1075
+ return Object.keys(e).concat(en(e));
1095
1076
  }
1096
- function Ot(e, t) {
1077
+ function Mt(e, t) {
1097
1078
  try {
1098
1079
  return t in e;
1099
1080
  } catch {
1100
1081
  return !1;
1101
1082
  }
1102
1083
  }
1103
- function Yr(e, t) {
1104
- return Ot(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1084
+ function tn(e, t) {
1085
+ return Mt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1105
1086
  }
1106
- function qr(e, t, r) {
1087
+ function rn(e, t, r) {
1107
1088
  var n = {};
1108
- return r.isMergeableObject(e) && rt(e).forEach(function(i) {
1109
- n[i] = Y(e[i], r);
1110
- }), rt(t).forEach(function(i) {
1111
- Yr(e, i) || (Ot(e, i) && r.isMergeableObject(t[i]) ? n[i] = Qr(i, r)(e[i], t[i], r) : n[i] = Y(t[i], r));
1089
+ return r.isMergeableObject(e) && at(e).forEach(function(i) {
1090
+ n[i] = J(e[i], r);
1091
+ }), at(t).forEach(function(i) {
1092
+ tn(e, i) || (Mt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Kr(i, r)(e[i], t[i], r) : n[i] = J(t[i], r));
1112
1093
  }), n;
1113
1094
  }
1114
- function G(e, t, r) {
1115
- r = r || {}, r.arrayMerge = r.arrayMerge || Zr, r.isMergeableObject = r.isMergeableObject || Fr, r.cloneUnlessOtherwiseSpecified = Y;
1095
+ function D(e, t, r) {
1096
+ r = r || {}, r.arrayMerge = r.arrayMerge || qr, r.isMergeableObject = r.isMergeableObject || Xr, r.cloneUnlessOtherwiseSpecified = J;
1116
1097
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1117
- return o ? n ? r.arrayMerge(e, t, r) : qr(e, t, r) : Y(t, r);
1098
+ return o ? n ? r.arrayMerge(e, t, r) : rn(e, t, r) : J(t, r);
1118
1099
  }
1119
- G.all = function(t, r) {
1100
+ D.all = function(t, r) {
1120
1101
  if (!Array.isArray(t))
1121
1102
  throw new Error("first argument should be an array");
1122
1103
  return t.reduce(function(n, i) {
1123
- return G(n, i, r);
1104
+ return D(n, i, r);
1124
1105
  }, {});
1125
1106
  };
1126
- var Kr = G, en = Kr;
1127
- const tn = /* @__PURE__ */ Gr(en);
1128
- function ye(e, t) {
1129
- var r = t && t.cache ? t.cache : hn, n = t && t.serializer ? t.serializer : an, i = t && t.strategy ? t.strategy : on;
1107
+ var nn = D, on = nn;
1108
+ const sn = /* @__PURE__ */ Vr(on);
1109
+ var $e = function(e, t) {
1110
+ return $e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1111
+ r.__proto__ = n;
1112
+ } || function(r, n) {
1113
+ for (var i in n)
1114
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1115
+ }, $e(e, t);
1116
+ };
1117
+ function de(e, t) {
1118
+ if (typeof t != "function" && t !== null)
1119
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1120
+ $e(e, t);
1121
+ function r() {
1122
+ this.constructor = e;
1123
+ }
1124
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1125
+ }
1126
+ var H = function() {
1127
+ return H = Object.assign || function(t) {
1128
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1129
+ r = arguments[n];
1130
+ for (var o in r)
1131
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1132
+ }
1133
+ return t;
1134
+ }, H.apply(this, arguments);
1135
+ };
1136
+ function an(e, t) {
1137
+ var r = {};
1138
+ for (var n in e)
1139
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1140
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
1141
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1142
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1143
+ return r;
1144
+ }
1145
+ function Ee(e, t, r) {
1146
+ if (r || arguments.length === 2)
1147
+ for (var n = 0, i = t.length, o; n < i; n++)
1148
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1149
+ return e.concat(o || Array.prototype.slice.call(t));
1150
+ }
1151
+ function xe(e, t) {
1152
+ var r = t && t.cache ? t.cache : mn, n = t && t.serializer ? t.serializer : cn, i = t && t.strategy ? t.strategy : ln;
1130
1153
  return i(e, {
1131
1154
  cache: r,
1132
1155
  serializer: n
1133
1156
  });
1134
1157
  }
1135
- function rn(e) {
1158
+ function un(e) {
1136
1159
  return e == null || typeof e == "number" || typeof e == "boolean";
1137
1160
  }
1138
- function nn(e, t, r, n) {
1139
- var i = rn(n) ? n : r(n), o = t.get(i);
1161
+ function hn(e, t, r, n) {
1162
+ var i = un(n) ? n : r(n), o = t.get(i);
1140
1163
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1141
1164
  }
1142
- function It(e, t, r) {
1165
+ function $t(e, t, r) {
1143
1166
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1144
1167
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1145
1168
  }
1146
- function Lt(e, t, r, n, i) {
1169
+ function Rt(e, t, r, n, i) {
1147
1170
  return r.bind(t, e, n, i);
1148
1171
  }
1149
- function on(e, t) {
1150
- var r = e.length === 1 ? nn : It;
1151
- return Lt(e, this, r, t.cache.create(), t.serializer);
1172
+ function ln(e, t) {
1173
+ var r = e.length === 1 ? hn : $t;
1174
+ return Rt(e, this, r, t.cache.create(), t.serializer);
1152
1175
  }
1153
- function sn(e, t) {
1154
- return Lt(e, this, It, t.cache.create(), t.serializer);
1176
+ function fn(e, t) {
1177
+ return Rt(e, this, $t, t.cache.create(), t.serializer);
1155
1178
  }
1156
- var an = function() {
1179
+ var cn = function() {
1157
1180
  return JSON.stringify(arguments);
1158
- }, un = (
1181
+ }, pn = (
1159
1182
  /** @class */
1160
1183
  function() {
1161
1184
  function e() {
@@ -1167,61 +1190,71 @@ var an = function() {
1167
1190
  this.cache[t] = r;
1168
1191
  }, e;
1169
1192
  }()
1170
- ), hn = {
1193
+ ), mn = {
1171
1194
  create: function() {
1172
- return new un();
1195
+ return new pn();
1173
1196
  }
1174
- }, _e = {
1175
- variadic: sn
1176
- }, m;
1197
+ }, Se = {
1198
+ variadic: fn
1199
+ }, le = function() {
1200
+ return le = Object.assign || function(t) {
1201
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1202
+ r = arguments[n];
1203
+ for (var o in r)
1204
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1205
+ }
1206
+ return t;
1207
+ }, le.apply(this, arguments);
1208
+ };
1209
+ var m;
1177
1210
  (function(e) {
1178
1211
  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";
1179
1212
  })(m || (m = {}));
1180
- var _;
1213
+ var y;
1181
1214
  (function(e) {
1182
1215
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
1183
- })(_ || (_ = {}));
1184
- var F;
1216
+ })(y || (y = {}));
1217
+ var G;
1185
1218
  (function(e) {
1186
1219
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1187
- })(F || (F = {}));
1188
- function nt(e) {
1189
- return e.type === _.literal;
1220
+ })(G || (G = {}));
1221
+ function ut(e) {
1222
+ return e.type === y.literal;
1190
1223
  }
1191
- function ln(e) {
1192
- return e.type === _.argument;
1224
+ function dn(e) {
1225
+ return e.type === y.argument;
1193
1226
  }
1194
- function Nt(e) {
1195
- return e.type === _.number;
1227
+ function Ut(e) {
1228
+ return e.type === y.number;
1196
1229
  }
1197
- function Ct(e) {
1198
- return e.type === _.date;
1230
+ function Dt(e) {
1231
+ return e.type === y.date;
1199
1232
  }
1200
- function Mt(e) {
1201
- return e.type === _.time;
1233
+ function Gt(e) {
1234
+ return e.type === y.time;
1202
1235
  }
1203
- function Rt(e) {
1204
- return e.type === _.select;
1236
+ function Ft(e) {
1237
+ return e.type === y.select;
1205
1238
  }
1206
- function $t(e) {
1207
- return e.type === _.plural;
1239
+ function jt(e) {
1240
+ return e.type === y.plural;
1208
1241
  }
1209
- function fn(e) {
1210
- return e.type === _.pound;
1242
+ function bn(e) {
1243
+ return e.type === y.pound;
1211
1244
  }
1212
- function Ut(e) {
1213
- return e.type === _.tag;
1245
+ function kt(e) {
1246
+ return e.type === y.tag;
1214
1247
  }
1215
- function Dt(e) {
1216
- return !!(e && typeof e == "object" && e.type === F.number);
1248
+ function Vt(e) {
1249
+ return !!(e && typeof e == "object" && e.type === G.number);
1217
1250
  }
1218
- function Le(e) {
1219
- return !!(e && typeof e == "object" && e.type === F.dateTime);
1251
+ function Re(e) {
1252
+ return !!(e && typeof e == "object" && e.type === G.dateTime);
1220
1253
  }
1221
- var Gt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, cn = /(?:[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;
1222
- function pn(e) {
1254
+ var Xt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, gn = /(?:[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;
1255
+ function vn(e) {
1223
1256
  var t = {};
1224
- return e.replace(cn, function(r) {
1257
+ return e.replace(gn, function(r) {
1225
1258
  var n = r.length;
1226
1259
  switch (r[0]) {
1227
1260
  case "G":
@@ -1310,11 +1343,21 @@ function pn(e) {
1310
1343
  return "";
1311
1344
  }), t;
1312
1345
  }
1313
- var mn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1314
- function bn(e) {
1346
+ var _ = function() {
1347
+ return _ = Object.assign || function(t) {
1348
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1349
+ r = arguments[n];
1350
+ for (var o in r)
1351
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1352
+ }
1353
+ return t;
1354
+ }, _.apply(this, arguments);
1355
+ };
1356
+ var yn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1357
+ function _n(e) {
1315
1358
  if (e.length === 0)
1316
1359
  throw new Error("Number skeleton cannot be empty");
1317
- for (var t = e.split(mn).filter(function(c) {
1360
+ for (var t = e.split(yn).filter(function(c) {
1318
1361
  return c.length > 0;
1319
1362
  }), r = [], n = 0, i = t; n < i.length; n++) {
1320
1363
  var o = i[n], s = o.split("/");
@@ -1329,17 +1372,17 @@ function bn(e) {
1329
1372
  }
1330
1373
  return r;
1331
1374
  }
1332
- function dn(e) {
1375
+ function En(e) {
1333
1376
  return e.replace(/^(.*?)-/, "");
1334
1377
  }
1335
- var it = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Ft = /^(@+)?(\+|#+)?[rs]?$/g, vn = /(\*)(0+)|(#+)(0+)|(0+)/g, jt = /^(0+)$/;
1336
- function ot(e) {
1378
+ var ht = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, zt = /^(@+)?(\+|#+)?[rs]?$/g, xn = /(\*)(0+)|(#+)(0+)|(0+)/g, Wt = /^(0+)$/;
1379
+ function lt(e) {
1337
1380
  var t = {};
1338
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Ft, function(r, n, i) {
1381
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(zt, function(r, n, i) {
1339
1382
  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)), "";
1340
1383
  }), t;
1341
1384
  }
1342
- function kt(e) {
1385
+ function Zt(e) {
1343
1386
  switch (e) {
1344
1387
  case "sign-auto":
1345
1388
  return {
@@ -1379,7 +1422,7 @@ function kt(e) {
1379
1422
  };
1380
1423
  }
1381
1424
  }
1382
- function gn(e) {
1425
+ function Sn(e) {
1383
1426
  var t;
1384
1427
  if (e[0] === "E" && e[1] === "E" ? (t = {
1385
1428
  notation: "engineering"
@@ -1387,17 +1430,17 @@ function gn(e) {
1387
1430
  notation: "scientific"
1388
1431
  }, e = e.slice(1)), t) {
1389
1432
  var r = e.slice(0, 2);
1390
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !jt.test(e))
1433
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Wt.test(e))
1391
1434
  throw new Error("Malformed concise eng/scientific notation");
1392
1435
  t.minimumIntegerDigits = e.length;
1393
1436
  }
1394
1437
  return t;
1395
1438
  }
1396
- function st(e) {
1397
- var t = {}, r = kt(e);
1439
+ function ft(e) {
1440
+ var t = {}, r = Zt(e);
1398
1441
  return r || t;
1399
1442
  }
1400
- function yn(e) {
1443
+ function Tn(e) {
1401
1444
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1402
1445
  var i = n[r];
1403
1446
  switch (i.stem) {
@@ -1421,7 +1464,7 @@ function yn(e) {
1421
1464
  continue;
1422
1465
  case "measure-unit":
1423
1466
  case "unit":
1424
- t.style = "unit", t.unit = dn(i.options[0]);
1467
+ t.style = "unit", t.unit = En(i.options[0]);
1425
1468
  continue;
1426
1469
  case "compact-short":
1427
1470
  case "K":
@@ -1432,13 +1475,13 @@ function yn(e) {
1432
1475
  t.notation = "compact", t.compactDisplay = "long";
1433
1476
  continue;
1434
1477
  case "scientific":
1435
- t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1436
- return y(y({}, h), st(u));
1478
+ t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1479
+ return _(_({}, h), ft(u));
1437
1480
  }, {}));
1438
1481
  continue;
1439
1482
  case "engineering":
1440
- t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1441
- return y(y({}, h), st(u));
1483
+ t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1484
+ return _(_({}, h), ft(u));
1442
1485
  }, {}));
1443
1486
  continue;
1444
1487
  case "notation-simple":
@@ -1483,7 +1526,7 @@ function yn(e) {
1483
1526
  case "integer-width":
1484
1527
  if (i.options.length > 1)
1485
1528
  throw new RangeError("integer-width stems only accept a single optional option");
1486
- i.options[0].replace(vn, function(h, u, l, f, c, p) {
1529
+ i.options[0].replace(xn, function(h, u, l, f, c, p) {
1487
1530
  if (u)
1488
1531
  t.minimumIntegerDigits = l.length;
1489
1532
  else {
@@ -1496,28 +1539,28 @@ function yn(e) {
1496
1539
  });
1497
1540
  continue;
1498
1541
  }
1499
- if (jt.test(i.stem)) {
1542
+ if (Wt.test(i.stem)) {
1500
1543
  t.minimumIntegerDigits = i.stem.length;
1501
1544
  continue;
1502
1545
  }
1503
- if (it.test(i.stem)) {
1546
+ if (ht.test(i.stem)) {
1504
1547
  if (i.options.length > 1)
1505
1548
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1506
- i.stem.replace(it, function(h, u, l, f, c, p) {
1549
+ i.stem.replace(ht, function(h, u, l, f, c, p) {
1507
1550
  return l === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && p ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1508
1551
  });
1509
1552
  var o = i.options[0];
1510
- o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), ot(o)));
1553
+ o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), lt(o)));
1511
1554
  continue;
1512
1555
  }
1513
- if (Ft.test(i.stem)) {
1514
- t = y(y({}, t), ot(i.stem));
1556
+ if (zt.test(i.stem)) {
1557
+ t = _(_({}, t), lt(i.stem));
1515
1558
  continue;
1516
1559
  }
1517
- var s = kt(i.stem);
1518
- s && (t = y(y({}, t), s));
1519
- var a = gn(i.stem);
1520
- a && (t = y(y({}, t), a));
1560
+ var s = Zt(i.stem);
1561
+ s && (t = _(_({}, t), s));
1562
+ var a = Sn(i.stem);
1563
+ a && (t = _(_({}, t), a));
1521
1564
  }
1522
1565
  return t;
1523
1566
  }
@@ -2936,13 +2979,13 @@ var oe = {
2936
2979
  "h"
2937
2980
  ]
2938
2981
  };
2939
- function _n(e, t) {
2982
+ function wn(e, t) {
2940
2983
  for (var r = "", n = 0; n < e.length; n++) {
2941
2984
  var i = e.charAt(n);
2942
2985
  if (i === "j") {
2943
2986
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2944
2987
  o++, n++;
2945
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = En(t);
2988
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Hn(t);
2946
2989
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2947
2990
  r += h;
2948
2991
  for (; s-- > 0; )
@@ -2952,7 +2995,7 @@ function _n(e, t) {
2952
2995
  }
2953
2996
  return r;
2954
2997
  }
2955
- function En(e) {
2998
+ function Hn(e) {
2956
2999
  var t = e.hourCycle;
2957
3000
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2958
3001
  e.hourCycles && // @ts-ignore
@@ -2974,20 +3017,20 @@ function En(e) {
2974
3017
  var i = oe[n || ""] || oe[r || ""] || oe["".concat(r, "-001")] || oe["001"];
2975
3018
  return i[0];
2976
3019
  }
2977
- var Ee, xn = new RegExp("^".concat(Gt.source, "*")), Tn = new RegExp("".concat(Gt.source, "*$"));
2978
- function d(e, t) {
3020
+ var Te, Bn = new RegExp("^".concat(Xt.source, "*")), An = new RegExp("".concat(Xt.source, "*$"));
3021
+ function b(e, t) {
2979
3022
  return { start: e, end: t };
2980
3023
  }
2981
- var Sn = !!String.prototype.startsWith && "_a".startsWith("a", 1), wn = !!String.fromCodePoint, Hn = !!Object.fromEntries, Bn = !!String.prototype.codePointAt, An = !!String.prototype.trimStart, Pn = !!String.prototype.trimEnd, On = !!Number.isSafeInteger, In = On ? Number.isSafeInteger : function(e) {
3024
+ var Pn = !!String.prototype.startsWith && "_a".startsWith("a", 1), On = !!String.fromCodePoint, In = !!Object.fromEntries, Ln = !!String.prototype.codePointAt, Nn = !!String.prototype.trimStart, Cn = !!String.prototype.trimEnd, Mn = !!Number.isSafeInteger, $n = Mn ? Number.isSafeInteger : function(e) {
2982
3025
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2983
- }, Ne = !0;
3026
+ }, Ue = !0;
2984
3027
  try {
2985
- var Ln = Xt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2986
- Ne = ((Ee = Ln.exec("a")) === null || Ee === void 0 ? void 0 : Ee[0]) === "a";
3028
+ var Rn = Jt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3029
+ Ue = ((Te = Rn.exec("a")) === null || Te === void 0 ? void 0 : Te[0]) === "a";
2987
3030
  } catch {
2988
- Ne = !1;
3031
+ Ue = !1;
2989
3032
  }
2990
- var at = Sn ? (
3033
+ var ct = Pn ? (
2991
3034
  // Native
2992
3035
  function(t, r, n) {
2993
3036
  return t.startsWith(r, n);
@@ -2997,7 +3040,7 @@ var at = Sn ? (
2997
3040
  function(t, r, n) {
2998
3041
  return t.slice(n, n + r.length) === r;
2999
3042
  }
3000
- ), Ce = wn ? String.fromCodePoint : (
3043
+ ), De = On ? String.fromCodePoint : (
3001
3044
  // IE11
3002
3045
  function() {
3003
3046
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3009,9 +3052,9 @@ var at = Sn ? (
3009
3052
  }
3010
3053
  return n;
3011
3054
  }
3012
- ), ut = (
3055
+ ), pt = (
3013
3056
  // native
3014
- Hn ? Object.fromEntries : (
3057
+ In ? Object.fromEntries : (
3015
3058
  // Ponyfill
3016
3059
  function(t) {
3017
3060
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3021,7 +3064,7 @@ var at = Sn ? (
3021
3064
  return r;
3022
3065
  }
3023
3066
  )
3024
- ), Vt = Bn ? (
3067
+ ), Qt = Ln ? (
3025
3068
  // Native
3026
3069
  function(t, r) {
3027
3070
  return t.codePointAt(r);
@@ -3035,7 +3078,7 @@ var at = Sn ? (
3035
3078
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3036
3079
  }
3037
3080
  }
3038
- ), Nn = An ? (
3081
+ ), Un = Nn ? (
3039
3082
  // Native
3040
3083
  function(t) {
3041
3084
  return t.trimStart();
@@ -3043,9 +3086,9 @@ var at = Sn ? (
3043
3086
  ) : (
3044
3087
  // Ponyfill
3045
3088
  function(t) {
3046
- return t.replace(xn, "");
3089
+ return t.replace(Bn, "");
3047
3090
  }
3048
- ), Cn = Pn ? (
3091
+ ), Dn = Cn ? (
3049
3092
  // Native
3050
3093
  function(t) {
3051
3094
  return t.trimEnd();
@@ -3053,32 +3096,32 @@ var at = Sn ? (
3053
3096
  ) : (
3054
3097
  // Ponyfill
3055
3098
  function(t) {
3056
- return t.replace(Tn, "");
3099
+ return t.replace(An, "");
3057
3100
  }
3058
3101
  );
3059
- function Xt(e, t) {
3102
+ function Jt(e, t) {
3060
3103
  return new RegExp(e, t);
3061
3104
  }
3062
- var Me;
3063
- if (Ne) {
3064
- var ht = Xt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3065
- Me = function(t, r) {
3105
+ var Ge;
3106
+ if (Ue) {
3107
+ var mt = Jt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3108
+ Ge = function(t, r) {
3066
3109
  var n;
3067
- ht.lastIndex = r;
3068
- var i = ht.exec(t);
3110
+ mt.lastIndex = r;
3111
+ var i = mt.exec(t);
3069
3112
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3070
3113
  };
3071
3114
  } else
3072
- Me = function(t, r) {
3115
+ Ge = function(t, r) {
3073
3116
  for (var n = []; ; ) {
3074
- var i = Vt(t, r);
3075
- if (i === void 0 || zt(i) || Un(i))
3117
+ var i = Qt(t, r);
3118
+ if (i === void 0 || Yt(i) || kn(i))
3076
3119
  break;
3077
3120
  n.push(i), r += i >= 65536 ? 2 : 1;
3078
3121
  }
3079
- return Ce.apply(void 0, n);
3122
+ return De.apply(void 0, n);
3080
3123
  };
3081
- var Mn = (
3124
+ var Gn = (
3082
3125
  /** @class */
3083
3126
  function() {
3084
3127
  function e(t, r) {
@@ -3102,14 +3145,14 @@ var Mn = (
3102
3145
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3103
3146
  var a = this.clonePosition();
3104
3147
  this.bump(), i.push({
3105
- type: _.pound,
3106
- location: d(a, this.clonePosition())
3148
+ type: y.pound,
3149
+ location: b(a, this.clonePosition())
3107
3150
  });
3108
3151
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3109
3152
  if (n)
3110
3153
  break;
3111
- return this.error(m.UNMATCHED_CLOSING_TAG, d(this.clonePosition(), this.clonePosition()));
3112
- } else if (o === 60 && !this.ignoreTag && Re(this.peek() || 0)) {
3154
+ return this.error(m.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
3155
+ } else if (o === 60 && !this.ignoreTag && Fe(this.peek() || 0)) {
3113
3156
  var s = this.parseTag(t, r);
3114
3157
  if (s.err)
3115
3158
  return s;
@@ -3130,9 +3173,9 @@ var Mn = (
3130
3173
  if (this.bumpSpace(), this.bumpIf("/>"))
3131
3174
  return {
3132
3175
  val: {
3133
- type: _.literal,
3176
+ type: y.literal,
3134
3177
  value: "<".concat(i, "/>"),
3135
- location: d(n, this.clonePosition())
3178
+ location: b(n, this.clonePosition())
3136
3179
  },
3137
3180
  err: null
3138
3181
  };
@@ -3142,25 +3185,25 @@ var Mn = (
3142
3185
  return o;
3143
3186
  var s = o.val, a = this.clonePosition();
3144
3187
  if (this.bumpIf("</")) {
3145
- if (this.isEOF() || !Re(this.char()))
3146
- return this.error(m.INVALID_TAG, d(a, this.clonePosition()));
3188
+ if (this.isEOF() || !Fe(this.char()))
3189
+ return this.error(m.INVALID_TAG, b(a, this.clonePosition()));
3147
3190
  var h = this.clonePosition(), u = this.parseTagName();
3148
- return i !== u ? this.error(m.UNMATCHED_CLOSING_TAG, d(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3191
+ return i !== u ? this.error(m.UNMATCHED_CLOSING_TAG, b(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3149
3192
  val: {
3150
- type: _.tag,
3193
+ type: y.tag,
3151
3194
  value: i,
3152
3195
  children: s,
3153
- location: d(n, this.clonePosition())
3196
+ location: b(n, this.clonePosition())
3154
3197
  },
3155
3198
  err: null
3156
- } : this.error(m.INVALID_TAG, d(a, this.clonePosition())));
3199
+ } : this.error(m.INVALID_TAG, b(a, this.clonePosition())));
3157
3200
  } else
3158
- return this.error(m.UNCLOSED_TAG, d(n, this.clonePosition()));
3201
+ return this.error(m.UNCLOSED_TAG, b(n, this.clonePosition()));
3159
3202
  } else
3160
- return this.error(m.INVALID_TAG, d(n, this.clonePosition()));
3203
+ return this.error(m.INVALID_TAG, b(n, this.clonePosition()));
3161
3204
  }, e.prototype.parseTagName = function() {
3162
3205
  var t = this.offset();
3163
- for (this.bump(); !this.isEOF() && $n(this.char()); )
3206
+ for (this.bump(); !this.isEOF() && jn(this.char()); )
3164
3207
  this.bump();
3165
3208
  return this.message.slice(t, this.offset());
3166
3209
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3182,14 +3225,14 @@ var Mn = (
3182
3225
  }
3183
3226
  break;
3184
3227
  }
3185
- var h = d(n, this.clonePosition());
3228
+ var h = b(n, this.clonePosition());
3186
3229
  return {
3187
- val: { type: _.literal, value: i, location: h },
3230
+ val: { type: y.literal, value: i, location: h },
3188
3231
  err: null
3189
3232
  };
3190
3233
  }, e.prototype.tryParseLeftAngleBracket = function() {
3191
3234
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3192
- !Rn(this.peek() || 0)) ? (this.bump(), "<") : null;
3235
+ !Fn(this.peek() || 0)) ? (this.bump(), "<") : null;
3193
3236
  }, e.prototype.tryParseQuote = function(t) {
3194
3237
  if (this.isEOF() || this.char() !== 39)
3195
3238
  return null;
@@ -3223,49 +3266,49 @@ var Mn = (
3223
3266
  r.push(n);
3224
3267
  this.bump();
3225
3268
  }
3226
- return Ce.apply(void 0, r);
3269
+ return De.apply(void 0, r);
3227
3270
  }, e.prototype.tryParseUnquoted = function(t, r) {
3228
3271
  if (this.isEOF())
3229
3272
  return null;
3230
3273
  var n = this.char();
3231
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ce(n));
3274
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), De(n));
3232
3275
  }, e.prototype.parseArgument = function(t, r) {
3233
3276
  var n = this.clonePosition();
3234
3277
  if (this.bump(), this.bumpSpace(), this.isEOF())
3235
- return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, d(n, this.clonePosition()));
3278
+ return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
3236
3279
  if (this.char() === 125)
3237
- return this.bump(), this.error(m.EMPTY_ARGUMENT, d(n, this.clonePosition()));
3280
+ return this.bump(), this.error(m.EMPTY_ARGUMENT, b(n, this.clonePosition()));
3238
3281
  var i = this.parseIdentifierIfPossible().value;
3239
3282
  if (!i)
3240
- return this.error(m.MALFORMED_ARGUMENT, d(n, this.clonePosition()));
3283
+ return this.error(m.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
3241
3284
  if (this.bumpSpace(), this.isEOF())
3242
- return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, d(n, this.clonePosition()));
3285
+ return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
3243
3286
  switch (this.char()) {
3244
3287
  case 125:
3245
3288
  return this.bump(), {
3246
3289
  val: {
3247
- type: _.argument,
3290
+ type: y.argument,
3248
3291
  // value does not include the opening and closing braces.
3249
3292
  value: i,
3250
- location: d(n, this.clonePosition())
3293
+ location: b(n, this.clonePosition())
3251
3294
  },
3252
3295
  err: null
3253
3296
  };
3254
3297
  case 44:
3255
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, d(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3298
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3256
3299
  default:
3257
- return this.error(m.MALFORMED_ARGUMENT, d(n, this.clonePosition()));
3300
+ return this.error(m.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
3258
3301
  }
3259
3302
  }, e.prototype.parseIdentifierIfPossible = function() {
3260
- var t = this.clonePosition(), r = this.offset(), n = Me(this.message, r), i = r + n.length;
3303
+ var t = this.clonePosition(), r = this.offset(), n = Ge(this.message, r), i = r + n.length;
3261
3304
  this.bumpTo(i);
3262
- var o = this.clonePosition(), s = d(t, o);
3305
+ var o = this.clonePosition(), s = b(t, o);
3263
3306
  return { value: n, location: s };
3264
3307
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3265
3308
  var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3266
3309
  switch (a) {
3267
3310
  case "":
3268
- return this.error(m.EXPECT_ARGUMENT_TYPE, d(s, h));
3311
+ return this.error(m.EXPECT_ARGUMENT_TYPE, b(s, h));
3269
3312
  case "number":
3270
3313
  case "date":
3271
3314
  case "time": {
@@ -3276,46 +3319,46 @@ var Mn = (
3276
3319
  var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3277
3320
  if (f.err)
3278
3321
  return f;
3279
- var c = Cn(f.val);
3322
+ var c = Dn(f.val);
3280
3323
  if (c.length === 0)
3281
- return this.error(m.EXPECT_ARGUMENT_STYLE, d(this.clonePosition(), this.clonePosition()));
3282
- var p = d(l, this.clonePosition());
3324
+ return this.error(m.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
3325
+ var p = b(l, this.clonePosition());
3283
3326
  u = { style: c, styleLocation: p };
3284
3327
  }
3285
- var b = this.tryParseArgumentClose(i);
3286
- if (b.err)
3287
- return b;
3288
- var g = d(i, this.clonePosition());
3289
- if (u && at(u?.style, "::", 0)) {
3290
- var x = Nn(u.style.slice(2));
3328
+ var d = this.tryParseArgumentClose(i);
3329
+ if (d.err)
3330
+ return d;
3331
+ var v = b(i, this.clonePosition());
3332
+ if (u && ct(u?.style, "::", 0)) {
3333
+ var x = Un(u.style.slice(2));
3291
3334
  if (a === "number") {
3292
3335
  var f = this.parseNumberSkeletonFromString(x, u.styleLocation);
3293
3336
  return f.err ? f : {
3294
- val: { type: _.number, value: n, location: g, style: f.val },
3337
+ val: { type: y.number, value: n, location: v, style: f.val },
3295
3338
  err: null
3296
3339
  };
3297
3340
  } else {
3298
3341
  if (x.length === 0)
3299
- return this.error(m.EXPECT_DATE_TIME_SKELETON, g);
3342
+ return this.error(m.EXPECT_DATE_TIME_SKELETON, v);
3300
3343
  var I = x;
3301
- this.locale && (I = _n(x, this.locale));
3344
+ this.locale && (I = wn(x, this.locale));
3302
3345
  var c = {
3303
- type: F.dateTime,
3346
+ type: G.dateTime,
3304
3347
  pattern: I,
3305
3348
  location: u.styleLocation,
3306
- parsedOptions: this.shouldParseSkeletons ? pn(I) : {}
3307
- }, v = a === "date" ? _.date : _.time;
3349
+ parsedOptions: this.shouldParseSkeletons ? vn(I) : {}
3350
+ }, g = a === "date" ? y.date : y.time;
3308
3351
  return {
3309
- val: { type: v, value: n, location: g, style: c },
3352
+ val: { type: g, value: n, location: v, style: c },
3310
3353
  err: null
3311
3354
  };
3312
3355
  }
3313
3356
  }
3314
3357
  return {
3315
3358
  val: {
3316
- type: a === "number" ? _.number : a === "date" ? _.date : _.time,
3359
+ type: a === "number" ? y.number : a === "date" ? y.date : y.time,
3317
3360
  value: n,
3318
- location: g,
3361
+ location: v,
3319
3362
  style: (o = u?.style) !== null && o !== void 0 ? o : null
3320
3363
  },
3321
3364
  err: null
@@ -3326,50 +3369,50 @@ var Mn = (
3326
3369
  case "select": {
3327
3370
  var w = this.clonePosition();
3328
3371
  if (this.bumpSpace(), !this.bumpIf(","))
3329
- return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS, d(w, y({}, w)));
3372
+ return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS, b(w, le({}, w)));
3330
3373
  this.bumpSpace();
3331
- var W = this.parseIdentifierIfPossible(), L = 0;
3332
- if (a !== "select" && W.value === "offset") {
3374
+ var z = this.parseIdentifierIfPossible(), L = 0;
3375
+ if (a !== "select" && z.value === "offset") {
3333
3376
  if (!this.bumpIf(":"))
3334
- return this.error(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d(this.clonePosition(), this.clonePosition()));
3377
+ return this.error(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
3335
3378
  this.bumpSpace();
3336
3379
  var f = this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, m.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3337
3380
  if (f.err)
3338
3381
  return f;
3339
- this.bumpSpace(), W = this.parseIdentifierIfPossible(), L = f.val;
3382
+ this.bumpSpace(), z = this.parseIdentifierIfPossible(), L = f.val;
3340
3383
  }
3341
- var ne = this.tryParsePluralOrSelectOptions(t, a, r, W);
3384
+ var ne = this.tryParsePluralOrSelectOptions(t, a, r, z);
3342
3385
  if (ne.err)
3343
3386
  return ne;
3344
- var b = this.tryParseArgumentClose(i);
3345
- if (b.err)
3346
- return b;
3347
- var Ve = d(i, this.clonePosition());
3387
+ var d = this.tryParseArgumentClose(i);
3388
+ if (d.err)
3389
+ return d;
3390
+ var Qe = b(i, this.clonePosition());
3348
3391
  return a === "select" ? {
3349
3392
  val: {
3350
- type: _.select,
3393
+ type: y.select,
3351
3394
  value: n,
3352
- options: ut(ne.val),
3353
- location: Ve
3395
+ options: pt(ne.val),
3396
+ location: Qe
3354
3397
  },
3355
3398
  err: null
3356
3399
  } : {
3357
3400
  val: {
3358
- type: _.plural,
3401
+ type: y.plural,
3359
3402
  value: n,
3360
- options: ut(ne.val),
3403
+ options: pt(ne.val),
3361
3404
  offset: L,
3362
3405
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3363
- location: Ve
3406
+ location: Qe
3364
3407
  },
3365
3408
  err: null
3366
3409
  };
3367
3410
  }
3368
3411
  default:
3369
- return this.error(m.INVALID_ARGUMENT_TYPE, d(s, h));
3412
+ return this.error(m.INVALID_ARGUMENT_TYPE, b(s, h));
3370
3413
  }
3371
3414
  }, e.prototype.tryParseArgumentClose = function(t) {
3372
- return this.isEOF() || this.char() !== 125 ? this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, d(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3415
+ return this.isEOF() || this.char() !== 125 ? this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, b(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3373
3416
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3374
3417
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3375
3418
  var n = this.char();
@@ -3378,7 +3421,7 @@ var Mn = (
3378
3421
  this.bump();
3379
3422
  var i = this.clonePosition();
3380
3423
  if (!this.bumpUntil("'"))
3381
- return this.error(m.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, d(i, this.clonePosition()));
3424
+ return this.error(m.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, b(i, this.clonePosition()));
3382
3425
  this.bump();
3383
3426
  break;
3384
3427
  }
@@ -3408,16 +3451,16 @@ var Mn = (
3408
3451
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3409
3452
  var n = [];
3410
3453
  try {
3411
- n = bn(t);
3454
+ n = _n(t);
3412
3455
  } catch {
3413
3456
  return this.error(m.INVALID_NUMBER_SKELETON, r);
3414
3457
  }
3415
3458
  return {
3416
3459
  val: {
3417
- type: F.number,
3460
+ type: G.number,
3418
3461
  tokens: n,
3419
3462
  location: r,
3420
- parsedOptions: this.shouldParseSkeletons ? yn(n) : {}
3463
+ parsedOptions: this.shouldParseSkeletons ? Tn(n) : {}
3421
3464
  },
3422
3465
  err: null
3423
3466
  };
@@ -3429,7 +3472,7 @@ var Mn = (
3429
3472
  var c = this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_SELECTOR, m.INVALID_PLURAL_ARGUMENT_SELECTOR);
3430
3473
  if (c.err)
3431
3474
  return c;
3432
- l = d(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3475
+ l = b(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3433
3476
  } else
3434
3477
  break;
3435
3478
  }
@@ -3438,22 +3481,22 @@ var Mn = (
3438
3481
  u === "other" && (s = !0), this.bumpSpace();
3439
3482
  var p = this.clonePosition();
3440
3483
  if (!this.bumpIf("{"))
3441
- return this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : m.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, d(this.clonePosition(), this.clonePosition()));
3442
- var b = this.parseMessage(t + 1, r, n);
3443
- if (b.err)
3444
- return b;
3445
- var g = this.tryParseArgumentClose(p);
3446
- if (g.err)
3447
- return g;
3484
+ return this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : m.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, b(this.clonePosition(), this.clonePosition()));
3485
+ var d = this.parseMessage(t + 1, r, n);
3486
+ if (d.err)
3487
+ return d;
3488
+ var v = this.tryParseArgumentClose(p);
3489
+ if (v.err)
3490
+ return v;
3448
3491
  a.push([
3449
3492
  u,
3450
3493
  {
3451
- value: b.val,
3452
- location: d(p, this.clonePosition())
3494
+ value: d.val,
3495
+ location: b(p, this.clonePosition())
3453
3496
  }
3454
3497
  ]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
3455
3498
  }
3456
- return a.length === 0 ? this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR : m.EXPECT_PLURAL_ARGUMENT_SELECTOR, d(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(m.MISSING_OTHER_CLAUSE, d(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3499
+ return a.length === 0 ? this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR : m.EXPECT_PLURAL_ARGUMENT_SELECTOR, b(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(m.MISSING_OTHER_CLAUSE, b(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3457
3500
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3458
3501
  var n = 1, i = this.clonePosition();
3459
3502
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3464,8 +3507,8 @@ var Mn = (
3464
3507
  else
3465
3508
  break;
3466
3509
  }
3467
- var h = d(i, this.clonePosition());
3468
- return o ? (s *= n, In(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3510
+ var h = b(i, this.clonePosition());
3511
+ return o ? (s *= n, $n(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3469
3512
  }, e.prototype.offset = function() {
3470
3513
  return this.position.offset;
3471
3514
  }, e.prototype.isEOF = function() {
@@ -3480,7 +3523,7 @@ var Mn = (
3480
3523
  var t = this.position.offset;
3481
3524
  if (t >= this.message.length)
3482
3525
  throw Error("out of bound");
3483
- var r = Vt(this.message, t);
3526
+ var r = Qt(this.message, t);
3484
3527
  if (r === void 0)
3485
3528
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3486
3529
  return r;
@@ -3499,7 +3542,7 @@ var Mn = (
3499
3542
  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);
3500
3543
  }
3501
3544
  }, e.prototype.bumpIf = function(t) {
3502
- if (at(this.message, t, this.offset())) {
3545
+ if (ct(this.message, t, this.offset())) {
3503
3546
  for (var r = 0; r < t.length; r++)
3504
3547
  this.bump();
3505
3548
  return !0;
@@ -3521,7 +3564,7 @@ var Mn = (
3521
3564
  break;
3522
3565
  }
3523
3566
  }, e.prototype.bumpSpace = function() {
3524
- for (; !this.isEOF() && zt(this.char()); )
3567
+ for (; !this.isEOF() && Yt(this.char()); )
3525
3568
  this.bump();
3526
3569
  }, e.prototype.peek = function() {
3527
3570
  if (this.isEOF())
@@ -3531,47 +3574,47 @@ var Mn = (
3531
3574
  }, e;
3532
3575
  }()
3533
3576
  );
3534
- function Re(e) {
3577
+ function Fe(e) {
3535
3578
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3536
3579
  }
3537
- function Rn(e) {
3538
- return Re(e) || e === 47;
3580
+ function Fn(e) {
3581
+ return Fe(e) || e === 47;
3539
3582
  }
3540
- function $n(e) {
3583
+ function jn(e) {
3541
3584
  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;
3542
3585
  }
3543
- function zt(e) {
3586
+ function Yt(e) {
3544
3587
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3545
3588
  }
3546
- function Un(e) {
3589
+ function kn(e) {
3547
3590
  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;
3548
3591
  }
3549
- function $e(e) {
3592
+ function je(e) {
3550
3593
  e.forEach(function(t) {
3551
- if (delete t.location, Rt(t) || $t(t))
3594
+ if (delete t.location, Ft(t) || jt(t))
3552
3595
  for (var r in t.options)
3553
- delete t.options[r].location, $e(t.options[r].value);
3596
+ delete t.options[r].location, je(t.options[r].value);
3554
3597
  else
3555
- Nt(t) && Dt(t.style) || (Ct(t) || Mt(t)) && Le(t.style) ? delete t.style.location : Ut(t) && $e(t.children);
3598
+ Ut(t) && Vt(t.style) || (Dt(t) || Gt(t)) && Re(t.style) ? delete t.style.location : kt(t) && je(t.children);
3556
3599
  });
3557
3600
  }
3558
- function Dn(e, t) {
3559
- t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3560
- var r = new Mn(e, t).parse();
3601
+ function Vn(e, t) {
3602
+ t === void 0 && (t = {}), t = le({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3603
+ var r = new Gn(e, t).parse();
3561
3604
  if (r.err) {
3562
3605
  var n = SyntaxError(m[r.err.kind]);
3563
3606
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3564
3607
  }
3565
- return t?.captureLocation || $e(r.val), r.val;
3608
+ return t?.captureLocation || je(r.val), r.val;
3566
3609
  }
3567
- var j;
3610
+ var F;
3568
3611
  (function(e) {
3569
3612
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3570
- })(j || (j = {}));
3571
- var me = (
3613
+ })(F || (F = {}));
3614
+ var be = (
3572
3615
  /** @class */
3573
3616
  function(e) {
3574
- B(t, e);
3617
+ de(t, e);
3575
3618
  function t(r, n, i) {
3576
3619
  var o = e.call(this, r) || this;
3577
3620
  return o.code = n, o.originalMessage = i, o;
@@ -3580,48 +3623,48 @@ var me = (
3580
3623
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3581
3624
  }, t;
3582
3625
  }(Error)
3583
- ), lt = (
3626
+ ), dt = (
3584
3627
  /** @class */
3585
3628
  function(e) {
3586
- B(t, e);
3629
+ de(t, e);
3587
3630
  function t(r, n, i, o) {
3588
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), j.INVALID_VALUE, o) || this;
3631
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), F.INVALID_VALUE, o) || this;
3589
3632
  }
3590
3633
  return t;
3591
- }(me)
3592
- ), Gn = (
3634
+ }(be)
3635
+ ), Xn = (
3593
3636
  /** @class */
3594
3637
  function(e) {
3595
- B(t, e);
3638
+ de(t, e);
3596
3639
  function t(r, n, i) {
3597
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), j.INVALID_VALUE, i) || this;
3640
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), F.INVALID_VALUE, i) || this;
3598
3641
  }
3599
3642
  return t;
3600
- }(me)
3601
- ), Fn = (
3643
+ }(be)
3644
+ ), zn = (
3602
3645
  /** @class */
3603
3646
  function(e) {
3604
- B(t, e);
3647
+ de(t, e);
3605
3648
  function t(r, n) {
3606
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), j.MISSING_VALUE, n) || this;
3649
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), F.MISSING_VALUE, n) || this;
3607
3650
  }
3608
3651
  return t;
3609
- }(me)
3652
+ }(be)
3610
3653
  ), E;
3611
3654
  (function(e) {
3612
3655
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3613
3656
  })(E || (E = {}));
3614
- function jn(e) {
3657
+ function Wn(e) {
3615
3658
  return e.length < 2 ? e : e.reduce(function(t, r) {
3616
3659
  var n = t[t.length - 1];
3617
3660
  return !n || n.type !== E.literal || r.type !== E.literal ? t.push(r) : n.value += r.value, t;
3618
3661
  }, []);
3619
3662
  }
3620
- function kn(e) {
3663
+ function Zn(e) {
3621
3664
  return typeof e == "function";
3622
3665
  }
3623
3666
  function ue(e, t, r, n, i, o, s) {
3624
- if (e.length === 1 && nt(e[0]))
3667
+ if (e.length === 1 && ut(e[0]))
3625
3668
  return [
3626
3669
  {
3627
3670
  type: E.literal,
@@ -3630,14 +3673,14 @@ function ue(e, t, r, n, i, o, s) {
3630
3673
  ];
3631
3674
  for (var a = [], h = 0, u = e; h < u.length; h++) {
3632
3675
  var l = u[h];
3633
- if (nt(l)) {
3676
+ if (ut(l)) {
3634
3677
  a.push({
3635
3678
  type: E.literal,
3636
3679
  value: l.value
3637
3680
  });
3638
3681
  continue;
3639
3682
  }
3640
- if (fn(l)) {
3683
+ if (bn(l)) {
3641
3684
  typeof o == "number" && a.push({
3642
3685
  type: E.literal,
3643
3686
  value: r.getNumberFormat(t).format(o)
@@ -3646,89 +3689,89 @@ function ue(e, t, r, n, i, o, s) {
3646
3689
  }
3647
3690
  var f = l.value;
3648
3691
  if (!(i && f in i))
3649
- throw new Fn(f, s);
3692
+ throw new zn(f, s);
3650
3693
  var c = i[f];
3651
- if (ln(l)) {
3694
+ if (dn(l)) {
3652
3695
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3653
3696
  type: typeof c == "string" ? E.literal : E.object,
3654
3697
  value: c
3655
3698
  });
3656
3699
  continue;
3657
3700
  }
3658
- if (Ct(l)) {
3659
- var p = typeof l.style == "string" ? n.date[l.style] : Le(l.style) ? l.style.parsedOptions : void 0;
3701
+ if (Dt(l)) {
3702
+ var p = typeof l.style == "string" ? n.date[l.style] : Re(l.style) ? l.style.parsedOptions : void 0;
3660
3703
  a.push({
3661
3704
  type: E.literal,
3662
3705
  value: r.getDateTimeFormat(t, p).format(c)
3663
3706
  });
3664
3707
  continue;
3665
3708
  }
3666
- if (Mt(l)) {
3667
- var p = typeof l.style == "string" ? n.time[l.style] : Le(l.style) ? l.style.parsedOptions : n.time.medium;
3709
+ if (Gt(l)) {
3710
+ var p = typeof l.style == "string" ? n.time[l.style] : Re(l.style) ? l.style.parsedOptions : n.time.medium;
3668
3711
  a.push({
3669
3712
  type: E.literal,
3670
3713
  value: r.getDateTimeFormat(t, p).format(c)
3671
3714
  });
3672
3715
  continue;
3673
3716
  }
3674
- if (Nt(l)) {
3675
- var p = typeof l.style == "string" ? n.number[l.style] : Dt(l.style) ? l.style.parsedOptions : void 0;
3717
+ if (Ut(l)) {
3718
+ var p = typeof l.style == "string" ? n.number[l.style] : Vt(l.style) ? l.style.parsedOptions : void 0;
3676
3719
  p && p.scale && (c = c * (p.scale || 1)), a.push({
3677
3720
  type: E.literal,
3678
3721
  value: r.getNumberFormat(t, p).format(c)
3679
3722
  });
3680
3723
  continue;
3681
3724
  }
3682
- if (Ut(l)) {
3683
- var b = l.children, g = l.value, x = i[g];
3684
- if (!kn(x))
3685
- throw new Gn(g, "function", s);
3686
- var I = ue(b, t, r, n, i, o), v = x(I.map(function(L) {
3725
+ if (kt(l)) {
3726
+ var d = l.children, v = l.value, x = i[v];
3727
+ if (!Zn(x))
3728
+ throw new Xn(v, "function", s);
3729
+ var I = ue(d, t, r, n, i, o), g = x(I.map(function(L) {
3687
3730
  return L.value;
3688
3731
  }));
3689
- Array.isArray(v) || (v = [v]), a.push.apply(a, v.map(function(L) {
3732
+ Array.isArray(g) || (g = [g]), a.push.apply(a, g.map(function(L) {
3690
3733
  return {
3691
3734
  type: typeof L == "string" ? E.literal : E.object,
3692
3735
  value: L
3693
3736
  };
3694
3737
  }));
3695
3738
  }
3696
- if (Rt(l)) {
3739
+ if (Ft(l)) {
3697
3740
  var w = l.options[c] || l.options.other;
3698
3741
  if (!w)
3699
- throw new lt(l.value, c, Object.keys(l.options), s);
3742
+ throw new dt(l.value, c, Object.keys(l.options), s);
3700
3743
  a.push.apply(a, ue(w.value, t, r, n, i));
3701
3744
  continue;
3702
3745
  }
3703
- if ($t(l)) {
3746
+ if (jt(l)) {
3704
3747
  var w = l.options["=".concat(c)];
3705
3748
  if (!w) {
3706
3749
  if (!Intl.PluralRules)
3707
- throw new me(`Intl.PluralRules is not available in this environment.
3750
+ throw new be(`Intl.PluralRules is not available in this environment.
3708
3751
  Try polyfilling it using "@formatjs/intl-pluralrules"
3709
- `, j.MISSING_INTL_API, s);
3710
- var W = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3711
- w = l.options[W] || l.options.other;
3752
+ `, F.MISSING_INTL_API, s);
3753
+ var z = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3754
+ w = l.options[z] || l.options.other;
3712
3755
  }
3713
3756
  if (!w)
3714
- throw new lt(l.value, c, Object.keys(l.options), s);
3757
+ throw new dt(l.value, c, Object.keys(l.options), s);
3715
3758
  a.push.apply(a, ue(w.value, t, r, n, i, c - (l.offset || 0)));
3716
3759
  continue;
3717
3760
  }
3718
3761
  }
3719
- return jn(a);
3762
+ return Wn(a);
3720
3763
  }
3721
- function Vn(e, t) {
3722
- return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3723
- return r[n] = y(y({}, e[n]), t[n] || {}), r;
3764
+ function Qn(e, t) {
3765
+ return t ? H(H(H({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3766
+ return r[n] = H(H({}, e[n]), t[n] || {}), r;
3724
3767
  }, {})) : e;
3725
3768
  }
3726
- function Xn(e, t) {
3769
+ function Jn(e, t) {
3727
3770
  return t ? Object.keys(e).reduce(function(r, n) {
3728
- return r[n] = Vn(e[n], t[n]), r;
3729
- }, y({}, e)) : e;
3771
+ return r[n] = Qn(e[n], t[n]), r;
3772
+ }, H({}, e)) : e;
3730
3773
  }
3731
- function xe(e) {
3774
+ function we(e) {
3732
3775
  return {
3733
3776
  create: function() {
3734
3777
  return {
@@ -3742,39 +3785,39 @@ function xe(e) {
3742
3785
  }
3743
3786
  };
3744
3787
  }
3745
- function zn(e) {
3788
+ function Yn(e) {
3746
3789
  return e === void 0 && (e = {
3747
3790
  number: {},
3748
3791
  dateTime: {},
3749
3792
  pluralRules: {}
3750
3793
  }), {
3751
- getNumberFormat: ye(function() {
3794
+ getNumberFormat: xe(function() {
3752
3795
  for (var t, r = [], n = 0; n < arguments.length; n++)
3753
3796
  r[n] = arguments[n];
3754
- return new ((t = Intl.NumberFormat).bind.apply(t, D([void 0], r, !1)))();
3797
+ return new ((t = Intl.NumberFormat).bind.apply(t, Ee([void 0], r, !1)))();
3755
3798
  }, {
3756
- cache: xe(e.number),
3757
- strategy: _e.variadic
3799
+ cache: we(e.number),
3800
+ strategy: Se.variadic
3758
3801
  }),
3759
- getDateTimeFormat: ye(function() {
3802
+ getDateTimeFormat: xe(function() {
3760
3803
  for (var t, r = [], n = 0; n < arguments.length; n++)
3761
3804
  r[n] = arguments[n];
3762
- return new ((t = Intl.DateTimeFormat).bind.apply(t, D([void 0], r, !1)))();
3805
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Ee([void 0], r, !1)))();
3763
3806
  }, {
3764
- cache: xe(e.dateTime),
3765
- strategy: _e.variadic
3807
+ cache: we(e.dateTime),
3808
+ strategy: Se.variadic
3766
3809
  }),
3767
- getPluralRules: ye(function() {
3810
+ getPluralRules: xe(function() {
3768
3811
  for (var t, r = [], n = 0; n < arguments.length; n++)
3769
3812
  r[n] = arguments[n];
3770
- return new ((t = Intl.PluralRules).bind.apply(t, D([void 0], r, !1)))();
3813
+ return new ((t = Intl.PluralRules).bind.apply(t, Ee([void 0], r, !1)))();
3771
3814
  }, {
3772
- cache: xe(e.pluralRules),
3773
- strategy: _e.variadic
3815
+ cache: we(e.pluralRules),
3816
+ strategy: Se.variadic
3774
3817
  })
3775
3818
  };
3776
3819
  }
3777
- var Wn = (
3820
+ var qn = (
3778
3821
  /** @class */
3779
3822
  function() {
3780
3823
  function e(t, r, n, i) {
@@ -3806,13 +3849,13 @@ var Wn = (
3806
3849
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3807
3850
  var s = i || {};
3808
3851
  s.formatters;
3809
- var a = Sr(s, ["formatters"]);
3810
- this.ast = e.__parse(t, y(y({}, a), { locale: this.resolvedLocale }));
3852
+ var a = an(s, ["formatters"]);
3853
+ this.ast = e.__parse(t, H(H({}, a), { locale: this.resolvedLocale }));
3811
3854
  } else
3812
3855
  this.ast = t;
3813
3856
  if (!Array.isArray(this.ast))
3814
3857
  throw new TypeError("A message must be provided as a String or AST.");
3815
- this.formats = Xn(e.formats, n), this.formatters = i && i.formatters || zn(this.formatterCache);
3858
+ this.formats = Jn(e.formats, n), this.formatters = i && i.formatters || Yn(this.formatterCache);
3816
3859
  }
3817
3860
  return Object.defineProperty(e, "defaultLocale", {
3818
3861
  get: function() {
@@ -3825,7 +3868,7 @@ var Wn = (
3825
3868
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3826
3869
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3827
3870
  }
3828
- }, e.__parse = Dn, e.formats = {
3871
+ }, e.__parse = Vn, e.formats = {
3829
3872
  number: {
3830
3873
  integer: {
3831
3874
  maximumFractionDigits: 0
@@ -3886,7 +3929,7 @@ var Wn = (
3886
3929
  }, e;
3887
3930
  }()
3888
3931
  );
3889
- function Zn(e, t) {
3932
+ function Kn(e, t) {
3890
3933
  if (t == null)
3891
3934
  return;
3892
3935
  if (t in e)
@@ -3907,92 +3950,92 @@ function Zn(e, t) {
3907
3950
  n = void 0;
3908
3951
  return n;
3909
3952
  }
3910
- const P = {}, Qn = (e, t, r) => r && (t in P || (P[t] = {}), e in P[t] || (P[t][e] = r), r), Wt = (e, t) => {
3953
+ const P = {}, ei = (e, t, r) => r && (t in P || (P[t] = {}), e in P[t] || (P[t][e] = r), r), qt = (e, t) => {
3911
3954
  if (t == null)
3912
3955
  return;
3913
3956
  if (t in P && e in P[t])
3914
3957
  return P[t][e];
3915
- const r = be(t);
3958
+ const r = ge(t);
3916
3959
  for (let n = 0; n < r.length; n++) {
3917
- const i = r[n], o = Yn(i, e);
3960
+ const i = r[n], o = ri(i, e);
3918
3961
  if (o)
3919
- return Qn(e, t, o);
3962
+ return ei(e, t, o);
3920
3963
  }
3921
3964
  };
3922
- let je;
3923
- const te = pe({});
3924
- function Jn(e) {
3925
- return je[e] || null;
3965
+ let We;
3966
+ const te = me({});
3967
+ function ti(e) {
3968
+ return We[e] || null;
3926
3969
  }
3927
- function Zt(e) {
3928
- return e in je;
3970
+ function Kt(e) {
3971
+ return e in We;
3929
3972
  }
3930
- function Yn(e, t) {
3931
- if (!Zt(e))
3973
+ function ri(e, t) {
3974
+ if (!Kt(e))
3932
3975
  return null;
3933
- const r = Jn(e);
3934
- return Zn(r, t);
3976
+ const r = ti(e);
3977
+ return Kn(r, t);
3935
3978
  }
3936
- function qn(e) {
3979
+ function ni(e) {
3937
3980
  if (e == null)
3938
3981
  return;
3939
- const t = be(e);
3982
+ const t = ge(e);
3940
3983
  for (let r = 0; r < t.length; r++) {
3941
3984
  const n = t[r];
3942
- if (Zt(n))
3985
+ if (Kt(n))
3943
3986
  return n;
3944
3987
  }
3945
3988
  }
3946
- function Kn(e, ...t) {
3947
- delete P[e], te.update((r) => (r[e] = tn.all([r[e] || {}, ...t]), r));
3989
+ function ii(e, ...t) {
3990
+ delete P[e], te.update((r) => (r[e] = sn.all([r[e] || {}, ...t]), r));
3948
3991
  }
3949
- X(
3992
+ V(
3950
3993
  [te],
3951
3994
  ([e]) => Object.keys(e)
3952
3995
  );
3953
- te.subscribe((e) => je = e);
3996
+ te.subscribe((e) => We = e);
3954
3997
  const he = {};
3955
- function ei(e, t) {
3998
+ function oi(e, t) {
3956
3999
  he[e].delete(t), he[e].size === 0 && delete he[e];
3957
4000
  }
3958
- function Qt(e) {
4001
+ function er(e) {
3959
4002
  return he[e];
3960
4003
  }
3961
- function ti(e) {
3962
- return be(e).map((t) => {
3963
- const r = Qt(t);
4004
+ function si(e) {
4005
+ return ge(e).map((t) => {
4006
+ const r = er(t);
3964
4007
  return [t, r ? [...r] : []];
3965
4008
  }).filter(([, t]) => t.length > 0);
3966
4009
  }
3967
- function Ue(e) {
3968
- return e == null ? !1 : be(e).some(
4010
+ function ke(e) {
4011
+ return e == null ? !1 : ge(e).some(
3969
4012
  (t) => {
3970
4013
  var r;
3971
- return (r = Qt(t)) == null ? void 0 : r.size;
4014
+ return (r = er(t)) == null ? void 0 : r.size;
3972
4015
  }
3973
4016
  );
3974
4017
  }
3975
- function ri(e, t) {
4018
+ function ai(e, t) {
3976
4019
  return Promise.all(
3977
- t.map((n) => (ei(e, n), n().then((i) => i.default || i)))
3978
- ).then((n) => Kn(e, ...n));
3979
- }
3980
- const Z = {};
3981
- function Jt(e) {
3982
- if (!Ue(e))
3983
- return e in Z ? Z[e] : Promise.resolve();
3984
- const t = ti(e);
3985
- return Z[e] = Promise.all(
4020
+ t.map((n) => (oi(e, n), n().then((i) => i.default || i)))
4021
+ ).then((n) => ii(e, ...n));
4022
+ }
4023
+ const W = {};
4024
+ function tr(e) {
4025
+ if (!ke(e))
4026
+ return e in W ? W[e] : Promise.resolve();
4027
+ const t = si(e);
4028
+ return W[e] = Promise.all(
3986
4029
  t.map(
3987
- ([r, n]) => ri(r, n)
4030
+ ([r, n]) => ai(r, n)
3988
4031
  )
3989
4032
  ).then(() => {
3990
- if (Ue(e))
3991
- return Jt(e);
3992
- delete Z[e];
3993
- }), Z[e];
4033
+ if (ke(e))
4034
+ return tr(e);
4035
+ delete W[e];
4036
+ }), W[e];
3994
4037
  }
3995
- const ni = {
4038
+ const ui = {
3996
4039
  number: {
3997
4040
  scientific: { notation: "scientific" },
3998
4041
  engineering: { notation: "engineering" },
@@ -4021,135 +4064,135 @@ const ni = {
4021
4064
  timeZoneName: "short"
4022
4065
  }
4023
4066
  }
4024
- }, ii = {
4067
+ }, hi = {
4025
4068
  fallbackLocale: null,
4026
4069
  loadingDelay: 200,
4027
- formats: ni,
4070
+ formats: ui,
4028
4071
  warnOnMissingMessages: !0,
4029
4072
  handleMissingMessage: void 0,
4030
4073
  ignoreTag: !0
4031
- }, oi = ii;
4032
- function k() {
4033
- return oi;
4074
+ }, li = hi;
4075
+ function j() {
4076
+ return li;
4034
4077
  }
4035
- const Te = pe(!1);
4036
- var si = Object.defineProperty, ai = Object.defineProperties, ui = Object.getOwnPropertyDescriptors, ft = Object.getOwnPropertySymbols, hi = Object.prototype.hasOwnProperty, li = Object.prototype.propertyIsEnumerable, ct = (e, t, r) => t in e ? si(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, fi = (e, t) => {
4078
+ const He = me(!1);
4079
+ var fi = Object.defineProperty, ci = Object.defineProperties, pi = Object.getOwnPropertyDescriptors, bt = Object.getOwnPropertySymbols, mi = Object.prototype.hasOwnProperty, di = Object.prototype.propertyIsEnumerable, gt = (e, t, r) => t in e ? fi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, bi = (e, t) => {
4037
4080
  for (var r in t || (t = {}))
4038
- hi.call(t, r) && ct(e, r, t[r]);
4039
- if (ft)
4040
- for (var r of ft(t))
4041
- li.call(t, r) && ct(e, r, t[r]);
4081
+ mi.call(t, r) && gt(e, r, t[r]);
4082
+ if (bt)
4083
+ for (var r of bt(t))
4084
+ di.call(t, r) && gt(e, r, t[r]);
4042
4085
  return e;
4043
- }, ci = (e, t) => ai(e, ui(t));
4044
- let De;
4045
- const le = pe(null);
4046
- function pt(e) {
4086
+ }, gi = (e, t) => ci(e, pi(t));
4087
+ let Ve;
4088
+ const fe = me(null);
4089
+ function vt(e) {
4047
4090
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4048
4091
  }
4049
- function be(e, t = k().fallbackLocale) {
4050
- const r = pt(e);
4051
- return t ? [.../* @__PURE__ */ new Set([...r, ...pt(t)])] : r;
4092
+ function ge(e, t = j().fallbackLocale) {
4093
+ const r = vt(e);
4094
+ return t ? [.../* @__PURE__ */ new Set([...r, ...vt(t)])] : r;
4052
4095
  }
4053
4096
  function C() {
4054
- return De ?? void 0;
4097
+ return Ve ?? void 0;
4055
4098
  }
4056
- le.subscribe((e) => {
4057
- De = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4099
+ fe.subscribe((e) => {
4100
+ Ve = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4058
4101
  });
4059
- const pi = (e) => {
4060
- if (e && qn(e) && Ue(e)) {
4061
- const { loadingDelay: t } = k();
4102
+ const vi = (e) => {
4103
+ if (e && ni(e) && ke(e)) {
4104
+ const { loadingDelay: t } = j();
4062
4105
  let r;
4063
4106
  return typeof window < "u" && C() != null && t ? r = window.setTimeout(
4064
- () => Te.set(!0),
4107
+ () => He.set(!0),
4065
4108
  t
4066
- ) : Te.set(!0), Jt(e).then(() => {
4067
- le.set(e);
4109
+ ) : He.set(!0), tr(e).then(() => {
4110
+ fe.set(e);
4068
4111
  }).finally(() => {
4069
- clearTimeout(r), Te.set(!1);
4112
+ clearTimeout(r), He.set(!1);
4070
4113
  });
4071
4114
  }
4072
- return le.set(e);
4073
- }, re = ci(fi({}, le), {
4074
- set: pi
4075
- }), de = (e) => {
4115
+ return fe.set(e);
4116
+ }, re = gi(bi({}, fe), {
4117
+ set: vi
4118
+ }), ve = (e) => {
4076
4119
  const t = /* @__PURE__ */ Object.create(null);
4077
4120
  return (n) => {
4078
4121
  const i = JSON.stringify(n);
4079
4122
  return i in t ? t[i] : t[i] = e(n);
4080
4123
  };
4081
4124
  };
4082
- var mi = Object.defineProperty, fe = Object.getOwnPropertySymbols, Yt = Object.prototype.hasOwnProperty, qt = Object.prototype.propertyIsEnumerable, mt = (e, t, r) => t in e ? mi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ke = (e, t) => {
4125
+ var yi = Object.defineProperty, ce = Object.getOwnPropertySymbols, rr = Object.prototype.hasOwnProperty, nr = Object.prototype.propertyIsEnumerable, yt = (e, t, r) => t in e ? yi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ze = (e, t) => {
4083
4126
  for (var r in t || (t = {}))
4084
- Yt.call(t, r) && mt(e, r, t[r]);
4085
- if (fe)
4086
- for (var r of fe(t))
4087
- qt.call(t, r) && mt(e, r, t[r]);
4127
+ rr.call(t, r) && yt(e, r, t[r]);
4128
+ if (ce)
4129
+ for (var r of ce(t))
4130
+ nr.call(t, r) && yt(e, r, t[r]);
4088
4131
  return e;
4089
- }, z = (e, t) => {
4132
+ }, X = (e, t) => {
4090
4133
  var r = {};
4091
4134
  for (var n in e)
4092
- Yt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4093
- if (e != null && fe)
4094
- for (var n of fe(e))
4095
- t.indexOf(n) < 0 && qt.call(e, n) && (r[n] = e[n]);
4135
+ rr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4136
+ if (e != null && ce)
4137
+ for (var n of ce(e))
4138
+ t.indexOf(n) < 0 && nr.call(e, n) && (r[n] = e[n]);
4096
4139
  return r;
4097
4140
  };
4098
- const q = (e, t) => {
4099
- const { formats: r } = k();
4141
+ const Y = (e, t) => {
4142
+ const { formats: r } = j();
4100
4143
  if (e in r && t in r[e])
4101
4144
  return r[e][t];
4102
4145
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4103
- }, bi = de(
4146
+ }, _i = ve(
4104
4147
  (e) => {
4105
- var t = e, { locale: r, format: n } = t, i = z(t, ["locale", "format"]);
4148
+ var t = e, { locale: r, format: n } = t, i = X(t, ["locale", "format"]);
4106
4149
  if (r == null)
4107
4150
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4108
- return n && (i = q("number", n)), new Intl.NumberFormat(r, i);
4151
+ return n && (i = Y("number", n)), new Intl.NumberFormat(r, i);
4109
4152
  }
4110
- ), di = de(
4153
+ ), Ei = ve(
4111
4154
  (e) => {
4112
- var t = e, { locale: r, format: n } = t, i = z(t, ["locale", "format"]);
4155
+ var t = e, { locale: r, format: n } = t, i = X(t, ["locale", "format"]);
4113
4156
  if (r == null)
4114
4157
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4115
- return n ? i = q("date", n) : Object.keys(i).length === 0 && (i = q("date", "short")), new Intl.DateTimeFormat(r, i);
4158
+ return n ? i = Y("date", n) : Object.keys(i).length === 0 && (i = Y("date", "short")), new Intl.DateTimeFormat(r, i);
4116
4159
  }
4117
- ), vi = de(
4160
+ ), xi = ve(
4118
4161
  (e) => {
4119
- var t = e, { locale: r, format: n } = t, i = z(t, ["locale", "format"]);
4162
+ var t = e, { locale: r, format: n } = t, i = X(t, ["locale", "format"]);
4120
4163
  if (r == null)
4121
4164
  throw new Error(
4122
4165
  '[svelte-i18n] A "locale" must be set to format time values'
4123
4166
  );
4124
- return n ? i = q("time", n) : Object.keys(i).length === 0 && (i = q("time", "short")), new Intl.DateTimeFormat(r, i);
4167
+ return n ? i = Y("time", n) : Object.keys(i).length === 0 && (i = Y("time", "short")), new Intl.DateTimeFormat(r, i);
4125
4168
  }
4126
- ), gi = (e = {}) => {
4169
+ ), Si = (e = {}) => {
4127
4170
  var t = e, {
4128
4171
  locale: r = C()
4129
- } = t, n = z(t, [
4172
+ } = t, n = X(t, [
4130
4173
  "locale"
4131
4174
  ]);
4132
- return bi(ke({ locale: r }, n));
4133
- }, yi = (e = {}) => {
4175
+ return _i(Ze({ locale: r }, n));
4176
+ }, Ti = (e = {}) => {
4134
4177
  var t = e, {
4135
4178
  locale: r = C()
4136
- } = t, n = z(t, [
4179
+ } = t, n = X(t, [
4137
4180
  "locale"
4138
4181
  ]);
4139
- return di(ke({ locale: r }, n));
4140
- }, _i = (e = {}) => {
4182
+ return Ei(Ze({ locale: r }, n));
4183
+ }, wi = (e = {}) => {
4141
4184
  var t = e, {
4142
4185
  locale: r = C()
4143
- } = t, n = z(t, [
4186
+ } = t, n = X(t, [
4144
4187
  "locale"
4145
4188
  ]);
4146
- return vi(ke({ locale: r }, n));
4147
- }, Ei = de(
4189
+ return xi(Ze({ locale: r }, n));
4190
+ }, Hi = ve(
4148
4191
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4149
- (e, t = C()) => new Wn(e, t, k().formats, {
4150
- ignoreTag: k().ignoreTag
4192
+ (e, t = C()) => new qn(e, t, j().formats, {
4193
+ ignoreTag: j().ignoreTag
4151
4194
  })
4152
- ), xi = (e, t = {}) => {
4195
+ ), Bi = (e, t = {}) => {
4153
4196
  var r, n, i, o;
4154
4197
  let s = t;
4155
4198
  typeof e == "object" && (s = e, e = s.id);
@@ -4162,9 +4205,9 @@ const q = (e, t) => {
4162
4205
  throw new Error(
4163
4206
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4164
4207
  );
4165
- let l = Wt(e, h);
4208
+ let l = qt(e, h);
4166
4209
  if (!l)
4167
- l = (o = (i = (n = (r = k()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4210
+ l = (o = (i = (n = (r = j()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4168
4211
  else if (typeof l != "string")
4169
4212
  return console.warn(
4170
4213
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -4173,7 +4216,7 @@ const q = (e, t) => {
4173
4216
  return l;
4174
4217
  let f = l;
4175
4218
  try {
4176
- f = Ei(l, h).format(a);
4219
+ f = Hi(l, h).format(a);
4177
4220
  } catch (c) {
4178
4221
  c instanceof Error && console.warn(
4179
4222
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4181,21 +4224,21 @@ const q = (e, t) => {
4181
4224
  );
4182
4225
  }
4183
4226
  return f;
4184
- }, Ti = (e, t) => _i(t).format(e), Si = (e, t) => yi(t).format(e), wi = (e, t) => gi(t).format(e), Hi = (e, t = C()) => Wt(e, t);
4185
- X([re, te], () => xi);
4186
- X([re], () => Ti);
4187
- X([re], () => Si);
4188
- X([re], () => wi);
4189
- X([re, te], () => Hi);
4190
- window.emWidgets = { topic: Ur };
4191
- const Bi = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4192
- function Ai(e, t) {
4227
+ }, Ai = (e, t) => wi(t).format(e), Pi = (e, t) => Ti(t).format(e), Oi = (e, t) => Si(t).format(e), Ii = (e, t = C()) => qt(e, t);
4228
+ V([re, te], () => Bi);
4229
+ V([re], () => Ai);
4230
+ V([re], () => Pi);
4231
+ V([re], () => Oi);
4232
+ V([re, te], () => Ii);
4233
+ window.emWidgets = { topic: jr };
4234
+ const Li = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4235
+ function Ni(e, t) {
4193
4236
  if (e) {
4194
4237
  const r = document.createElement("style");
4195
4238
  r.innerHTML = t, e.appendChild(r);
4196
4239
  }
4197
4240
  }
4198
- function Pi(e, t) {
4241
+ function Ci(e, t) {
4199
4242
  const r = new URL(t);
4200
4243
  fetch(r.href).then((n) => n.text()).then((n) => {
4201
4244
  const i = document.createElement("style");
@@ -4204,7 +4247,7 @@ function Pi(e, t) {
4204
4247
  console.error("There was an error while trying to load client styling from URL", n);
4205
4248
  });
4206
4249
  }
4207
- function Oi(e, t, r) {
4250
+ function Mi(e, t, r) {
4208
4251
  if (window.emMessageBus) {
4209
4252
  const n = document.createElement("style");
4210
4253
  window.emMessageBus.subscribe(t, (i) => {
@@ -4212,43 +4255,43 @@ function Oi(e, t, r) {
4212
4255
  });
4213
4256
  }
4214
4257
  }
4215
- function Ii(e) {
4216
- tr(e, "svelte-qazmct", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.casino-tournaments-tab{color:var(--emw--color-primary, #F7F7F7);font:inherit;margin:3.125vw 0 1.25vw 0}.casino-tournaments-tab ul{display:flex;justify-content:space-between;width:100%;font-weight:600;font-size:3.75vw;border-bottom:0.3125vw var(--emw--color-grey-105, #424242) solid}.casino-tournaments-tab ul li{position:relative;text-align:center;padding:2.5vw 3.125vw;word-break:break-word;font-size:var(--emw--font-size-small, 14px);flex:auto;display:block}.casino-tournaments-tab ul li.active{color:#FF8364;border-bottom:0.625vw #FF8364 solid}.casino-tournaments-tab ul li span{margin:auto 0}.casino-tournaments-tab sup{box-sizing:border-box;position:absolute;top:2.8125vw;right:0;transform:translate(0%, -50%);transform-origin:100% 0%;overflow:hidden;direction:ltr;z-index:auto;min-width:4.375vw;height:4.375vw;color:#fff;font-weight:400;font-size:4.375vw;line-height:4.375vw;white-space:nowrap;text-align:center;background:#FF8364;border-radius:3.125vw}.casino-tournaments-tab sup span{font-size:3.125vw;font-weight:600;padding-right:0.15625vw;display:inline-block;vertical-align:super}.TabDesktop.casino-tournaments-tab{margin:10px}.TabDesktop.casino-tournaments-tab ul{font-size:inherit;border-bottom:2px var(--emw--color-grey-105, #424242) solid}.TabDesktop.casino-tournaments-tab ul li{padding:10px 20px;cursor:pointer}.TabDesktop.casino-tournaments-tab ul li.active{color:var(--emw--color-primary, #FF8364);border-bottom:3px var(--emw--color-primary, #FF8364) solid}.TabDesktop.casino-tournaments-tab ul li span{margin:auto 0}");
4258
+ function $i(e) {
4259
+ sr(e, "svelte-qazmct", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.casino-tournaments-tab{color:var(--emw--color-primary, #F7F7F7);font:inherit;margin:3.125vw 0 1.25vw 0}.casino-tournaments-tab ul{display:flex;justify-content:space-between;width:100%;font-weight:600;font-size:3.75vw;border-bottom:0.3125vw var(--emw--color-grey-105, #424242) solid}.casino-tournaments-tab ul li{position:relative;text-align:center;padding:2.5vw 3.125vw;word-break:break-word;font-size:var(--emw--font-size-small, 14px);flex:auto;display:block}.casino-tournaments-tab ul li.active{color:#FF8364;border-bottom:0.625vw #FF8364 solid}.casino-tournaments-tab ul li span{margin:auto 0}.casino-tournaments-tab sup{box-sizing:border-box;position:absolute;top:2.8125vw;right:0;transform:translate(0%, -50%);transform-origin:100% 0%;overflow:hidden;direction:ltr;z-index:auto;min-width:4.375vw;height:4.375vw;color:#fff;font-weight:400;font-size:4.375vw;line-height:4.375vw;white-space:nowrap;text-align:center;background:#FF8364;border-radius:3.125vw}.casino-tournaments-tab sup span{font-size:3.125vw;font-weight:600;padding-right:0.15625vw;display:inline-block;vertical-align:super}.TabDesktop.casino-tournaments-tab{margin:10px}.TabDesktop.casino-tournaments-tab ul{font-size:inherit;border-bottom:2px var(--emw--color-grey-105, #424242) solid}.TabDesktop.casino-tournaments-tab ul li{padding:10px 20px;cursor:pointer}.TabDesktop.casino-tournaments-tab ul li.active{color:var(--emw--color-primary, #FF8364);border-bottom:3px var(--emw--color-primary, #FF8364) solid}.TabDesktop.casino-tournaments-tab ul li span{margin:auto 0}");
4217
4260
  }
4218
- function bt(e, t, r) {
4261
+ function _t(e, t, r) {
4219
4262
  const n = e.slice();
4220
4263
  return n[16] = t[r], n;
4221
4264
  }
4222
- function dt(e) {
4223
- let t, r = Ze(
4265
+ function Et(e) {
4266
+ let t, r = Ke(
4224
4267
  /*__tabs*/
4225
4268
  e[6]
4226
4269
  ), n = [];
4227
4270
  for (let i = 0; i < r.length; i += 1)
4228
- n[i] = gt(bt(e, r, i));
4271
+ n[i] = St(_t(e, r, i));
4229
4272
  return {
4230
4273
  c() {
4231
4274
  t = O("ul");
4232
4275
  for (let i = 0; i < n.length; i += 1)
4233
4276
  n[i].c();
4234
- T(t, "part", "ul");
4277
+ S(t, "part", "ul");
4235
4278
  },
4236
4279
  m(i, o) {
4237
- ee(i, t, o);
4280
+ K(i, t, o);
4238
4281
  for (let s = 0; s < n.length; s += 1)
4239
4282
  n[s] && n[s].m(t, null);
4240
4283
  },
4241
4284
  p(i, o) {
4242
4285
  if (o & /*__tab, __tabs, window, tid, totalReceiver, textReceiver*/
4243
4286
  121) {
4244
- r = Ze(
4287
+ r = Ke(
4245
4288
  /*__tabs*/
4246
4289
  i[6]
4247
4290
  );
4248
4291
  let s;
4249
4292
  for (s = 0; s < r.length; s += 1) {
4250
- const a = bt(i, r, s);
4251
- n[s] ? n[s].p(a, o) : (n[s] = gt(a), n[s].c(), n[s].m(t, null));
4293
+ const a = _t(i, r, s);
4294
+ n[s] ? n[s].p(a, o) : (n[s] = St(a), n[s].c(), n[s].m(t, null));
4252
4295
  }
4253
4296
  for (; s < n.length; s += 1)
4254
4297
  n[s].d(1);
@@ -4256,11 +4299,11 @@ function dt(e) {
4256
4299
  }
4257
4300
  },
4258
4301
  d(i) {
4259
- i && V(t), ir(n, i);
4302
+ i && k(t), hr(n, i);
4260
4303
  }
4261
4304
  };
4262
4305
  }
4263
- function vt(e) {
4306
+ function xt(e) {
4264
4307
  let t, r, n = (
4265
4308
  /*totalReceiver*/
4266
4309
  e[3][
@@ -4270,10 +4313,10 @@ function vt(e) {
4270
4313
  ), i;
4271
4314
  return {
4272
4315
  c() {
4273
- t = O("sup"), r = O("span"), i = Fe(n), T(r, "part", "SupText"), T(t, "part", "sup");
4316
+ t = O("sup"), r = O("span"), i = ze(n), S(r, "part", "SupText"), S(t, "part", "sup");
4274
4317
  },
4275
4318
  m(o, s) {
4276
- ee(o, t, s), N(t, r), N(r, i);
4319
+ K(o, t, s), N(t, r), N(r, i);
4277
4320
  },
4278
4321
  p(o, s) {
4279
4322
  s & /*totalReceiver, __tabs*/
@@ -4281,14 +4324,14 @@ function vt(e) {
4281
4324
  o[3][
4282
4325
  /*_tab*/
4283
4326
  o[16]
4284
- ] + "") && Et(i, n);
4327
+ ] + "") && Ht(i, n);
4285
4328
  },
4286
4329
  d(o) {
4287
- o && V(t);
4330
+ o && k(t);
4288
4331
  }
4289
4332
  };
4290
4333
  }
4291
- function gt(e) {
4334
+ function St(e) {
4292
4335
  let t, r, n = (
4293
4336
  /*textReceiver*/
4294
4337
  e[4][
@@ -4300,7 +4343,7 @@ function gt(e) {
4300
4343
  e[3][
4301
4344
  /*_tab*/
4302
4345
  e[16]
4303
- ] >= 0 && vt(e)
4346
+ ] >= 0 && xt(e)
4304
4347
  );
4305
4348
  function c() {
4306
4349
  return (
@@ -4313,87 +4356,87 @@ function gt(e) {
4313
4356
  }
4314
4357
  return {
4315
4358
  c() {
4316
- t = O("li"), r = O("span"), i = Fe(n), o = ze(), f && f.c(), s = ze(), T(r, "part", "LiText"), T(t, "class", a = /*__tab*/
4359
+ t = O("li"), r = O("span"), i = ze(n), o = Ye(), f && f.c(), s = Ye(), S(r, "part", "LiText"), S(t, "class", a = /*__tab*/
4317
4360
  e[5] === /*_tab*/
4318
- e[16] ? "active" : ""), T(t, "part", h = `${/*_tab*/
4361
+ e[16] ? "active" : ""), S(t, "part", h = `${/*_tab*/
4319
4362
  e[16]} li ` + /*__tab*/
4320
4363
  (e[5] === /*_tab*/
4321
4364
  e[16] ? "active" : ""));
4322
4365
  },
4323
- m(p, b) {
4324
- ee(p, t, b), N(t, r), N(r, i), N(t, o), f && f.m(t, null), N(t, s), u || (l = or(t, "click", c), u = !0);
4366
+ m(p, d) {
4367
+ K(p, t, d), N(t, r), N(r, i), N(t, o), f && f.m(t, null), N(t, s), u || (l = lr(t, "click", c), u = !0);
4325
4368
  },
4326
- p(p, b) {
4327
- e = p, b & /*textReceiver, __tabs*/
4369
+ p(p, d) {
4370
+ e = p, d & /*textReceiver, __tabs*/
4328
4371
  80 && n !== (n = /*textReceiver*/
4329
4372
  e[4][
4330
4373
  /*_tab*/
4331
4374
  e[16]
4332
- ] + "") && Et(i, n), /*totalReceiver*/
4375
+ ] + "") && Ht(i, n), /*totalReceiver*/
4333
4376
  e[3][
4334
4377
  /*_tab*/
4335
4378
  e[16]
4336
- ] >= 0 ? f ? f.p(e, b) : (f = vt(e), f.c(), f.m(t, s)) : f && (f.d(1), f = null), b & /*__tab, __tabs*/
4379
+ ] >= 0 ? f ? f.p(e, d) : (f = xt(e), f.c(), f.m(t, s)) : f && (f.d(1), f = null), d & /*__tab, __tabs*/
4337
4380
  96 && a !== (a = /*__tab*/
4338
4381
  e[5] === /*_tab*/
4339
- e[16] ? "active" : "") && T(t, "class", a), b & /*__tabs, __tab*/
4382
+ e[16] ? "active" : "") && S(t, "class", a), d & /*__tabs, __tab*/
4340
4383
  96 && h !== (h = `${/*_tab*/
4341
4384
  e[16]} li ` + /*__tab*/
4342
4385
  (e[5] === /*_tab*/
4343
- e[16] ? "active" : "")) && T(t, "part", h);
4386
+ e[16] ? "active" : "")) && S(t, "part", h);
4344
4387
  },
4345
4388
  d(p) {
4346
- p && V(t), f && f.d(), u = !1, l();
4389
+ p && k(t), f && f.d(), u = !1, l();
4347
4390
  }
4348
4391
  };
4349
4392
  }
4350
- function Li(e) {
4393
+ function Ri(e) {
4351
4394
  let t, r = (
4352
4395
  /*isTitleInited*/
4353
- e[2] && dt(e)
4396
+ e[2] && Et(e)
4354
4397
  );
4355
4398
  return {
4356
4399
  c() {
4357
- t = O("div"), r && r.c(), T(t, "class", "casino-tournaments-tab " + (Bi(
4400
+ t = O("div"), r && r.c(), S(t, "class", "casino-tournaments-tab " + (Li(
4358
4401
  /*userAgent*/
4359
4402
  e[7]
4360
- ) ? "TabMobile" : "TabDesktop")), T(t, "part", "CustomStylingContainer");
4403
+ ) ? "TabMobile" : "TabDesktop")), S(t, "part", "CustomStylingContainer");
4361
4404
  },
4362
4405
  m(n, i) {
4363
- ee(n, t, i), r && r.m(t, null), e[14](t);
4406
+ K(n, t, i), r && r.m(t, null), e[14](t);
4364
4407
  },
4365
4408
  p(n, [i]) {
4366
4409
  /*isTitleInited*/
4367
- n[2] ? r ? r.p(n, i) : (r = dt(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
4410
+ n[2] ? r ? r.p(n, i) : (r = Et(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
4368
4411
  },
4369
- i: S,
4370
- o: S,
4412
+ i: T,
4413
+ o: T,
4371
4414
  d(n) {
4372
- n && V(t), r && r.d(), e[14](null);
4415
+ n && k(t), r && r.d(), e[14](null);
4373
4416
  }
4374
4417
  };
4375
4418
  }
4376
- function Ni(e, t, r) {
4419
+ function Ui(e, t, r) {
4377
4420
  let n, i, { tabs: o = "" } = t, { tab: s = void 0 } = t, { clientstyling: a = "" } = t, { clientstylingurl: h = "" } = t, { mbsource: u } = t, { tid: l = "pageTab" } = t, f, c = !1;
4378
4421
  const p = window.navigator.userAgent;
4379
- let b = {}, g = {};
4380
- Tr({
4381
- TournamentsTabTotalUpdate: (v) => {
4382
- r(3, b = {
4383
- ...b,
4384
- [v.state]: v.total
4422
+ let d = {}, v = {};
4423
+ Ar({
4424
+ TournamentsTabTotalUpdate: (g) => {
4425
+ r(3, d = {
4426
+ ...d,
4427
+ [g.state]: g.total
4385
4428
  });
4386
4429
  },
4387
- TournamentsTabsLocalize: (v) => {
4388
- r(2, c = !0), r(4, g = {
4389
- ...g,
4390
- ...v.tabTitleTranslations
4430
+ TournamentsTabsLocalize: (g) => {
4431
+ r(2, c = !0), r(4, v = {
4432
+ ...v,
4433
+ ...g.tabTitleTranslations
4391
4434
  });
4392
4435
  },
4393
- TournamentsTabLocaleTextUpdate: (v) => {
4394
- r(2, c = !0), r(4, g = { ...g, [v.state]: v.text });
4436
+ TournamentsTabLocaleTextUpdate: (g) => {
4437
+ r(2, c = !0), r(4, v = { ...v, [g.state]: g.text });
4395
4438
  }
4396
- }), xt(() => (window.postMessage(
4439
+ }), Bt(() => (window.postMessage(
4397
4440
  {
4398
4441
  type: "TournamentsTabListenerLoaded",
4399
4442
  tid: l
@@ -4401,36 +4444,36 @@ function Ni(e, t, r) {
4401
4444
  window.location.href
4402
4445
  ), () => {
4403
4446
  }));
4404
- const x = (v) => {
4405
- r(5, i = v), window.postMessage(
4447
+ const x = (g) => {
4448
+ r(5, i = g), window.postMessage(
4406
4449
  {
4407
4450
  type: "TournamentsTabSwitch",
4408
- tab: v,
4451
+ tab: g,
4409
4452
  tid: l
4410
4453
  },
4411
4454
  window.location.href
4412
4455
  );
4413
4456
  };
4414
- function I(v) {
4415
- Se[v ? "unshift" : "push"](() => {
4416
- f = v, r(1, f);
4457
+ function I(g) {
4458
+ Be[g ? "unshift" : "push"](() => {
4459
+ f = g, r(1, f);
4417
4460
  });
4418
4461
  }
4419
- return e.$$set = (v) => {
4420
- "tabs" in v && r(8, o = v.tabs), "tab" in v && r(9, s = v.tab), "clientstyling" in v && r(10, a = v.clientstyling), "clientstylingurl" in v && r(11, h = v.clientstylingurl), "mbsource" in v && r(12, u = v.mbsource), "tid" in v && r(0, l = v.tid);
4462
+ return e.$$set = (g) => {
4463
+ "tabs" in g && r(8, o = g.tabs), "tab" in g && r(9, s = g.tab), "clientstyling" in g && r(10, a = g.clientstyling), "clientstylingurl" in g && r(11, h = g.clientstylingurl), "mbsource" in g && r(12, u = g.mbsource), "tid" in g && r(0, l = g.tid);
4421
4464
  }, e.$$.update = () => {
4422
4465
  e.$$.dirty & /*clientstyling, customStylingContainer*/
4423
- 1026 && a && f && Ai(f, a), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4424
- 2050 && h && f && Pi(f, h), e.$$.dirty & /*mbsource, customStylingContainer*/
4425
- 4098 && u && f && Oi(f, `${u}.Style`), e.$$.dirty & /*tabs*/
4466
+ 1026 && a && f && Ni(f, a), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4467
+ 2050 && h && f && Ci(f, h), e.$$.dirty & /*mbsource, customStylingContainer*/
4468
+ 4098 && u && f && Mi(f, `${u}.Style`), e.$$.dirty & /*tabs*/
4426
4469
  256 && r(6, n = o.split(",")), e.$$.dirty & /*tab*/
4427
4470
  512 && r(5, i = s);
4428
4471
  }, [
4429
4472
  l,
4430
4473
  f,
4431
4474
  c,
4432
- b,
4433
- g,
4475
+ d,
4476
+ v,
4434
4477
  i,
4435
4478
  n,
4436
4479
  p,
@@ -4443,14 +4486,14 @@ function Ni(e, t, r) {
4443
4486
  I
4444
4487
  ];
4445
4488
  }
4446
- class Ci extends _r {
4489
+ class Di extends wr {
4447
4490
  constructor(t) {
4448
- super(), gr(
4491
+ super(), Sr(
4449
4492
  this,
4450
4493
  t,
4451
- Ni,
4452
- Li,
4453
- _t,
4494
+ Ui,
4495
+ Ri,
4496
+ wt,
4454
4497
  {
4455
4498
  tabs: 8,
4456
4499
  tab: 9,
@@ -4459,7 +4502,7 @@ class Ci extends _r {
4459
4502
  mbsource: 12,
4460
4503
  tid: 0
4461
4504
  },
4462
- Ii
4505
+ $i
4463
4506
  );
4464
4507
  }
4465
4508
  get tabs() {
@@ -4499,7 +4542,7 @@ class Ci extends _r {
4499
4542
  this.$$set({ tid: t }), A();
4500
4543
  }
4501
4544
  }
4502
- yr(Ci, { tabs: {}, tab: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, tid: {} }, [], [], !0);
4545
+ Tr(Di, { tabs: {}, tab: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, tid: {} }, [], [], !0);
4503
4546
  export {
4504
- Ci as C
4547
+ Di as C
4505
4548
  };