@everymatrix/casino-tournaments-filter-controller 1.56.0 → 1.56.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +1,17 @@
1
- var gr = Object.defineProperty, vr = Object.defineProperties;
2
- var yr = Object.getOwnPropertyDescriptors;
3
- var Ke = Object.getOwnPropertySymbols;
4
- var _r = Object.prototype.hasOwnProperty, Er = Object.prototype.propertyIsEnumerable;
5
- var He = (e, t, r) => t in e ? gr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, et = (e, t) => {
1
+ var Er = Object.defineProperty, xr = Object.defineProperties;
2
+ var Sr = Object.getOwnPropertyDescriptors;
3
+ var rt = Object.getOwnPropertySymbols;
4
+ var Tr = Object.prototype.hasOwnProperty, Hr = Object.prototype.propertyIsEnumerable;
5
+ var He = (e, t, r) => t in e ? Er(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, nt = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- _r.call(t, r) && He(e, r, t[r]);
8
- if (Ke)
9
- for (var r of Ke(t))
10
- Er.call(t, r) && He(e, r, t[r]);
7
+ Tr.call(t, r) && He(e, r, t[r]);
8
+ if (rt)
9
+ for (var r of rt(t))
10
+ Hr.call(t, r) && He(e, r, t[r]);
11
11
  return e;
12
- }, tt = (e, t) => vr(e, yr(t));
13
- var O = (e, t, r) => He(e, typeof t != "symbol" ? t + "" : t, r);
14
- var rt = (e, t, r) => new Promise((n, i) => {
12
+ }, it = (e, t) => xr(e, Sr(t));
13
+ var O = (e, t, r) => (He(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var ot = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (l) => {
16
16
  try {
17
17
  a(r.next(l));
@@ -29,25 +29,25 @@ var rt = (e, t, r) => new Promise((n, i) => {
29
29
  });
30
30
  function I() {
31
31
  }
32
- function $t(e) {
32
+ function Dt(e) {
33
33
  return e();
34
34
  }
35
- function nt() {
35
+ function st() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
38
  function ae(e) {
39
- e.forEach($t);
39
+ e.forEach(Dt);
40
40
  }
41
- function Qe(e) {
41
+ function Je(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function Ft(e, t) {
44
+ function Gt(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
- function xr(e) {
47
+ function wr(e) {
48
48
  return Object.keys(e).length === 0;
49
49
  }
50
- function Ut(e, ...t) {
50
+ function jt(e, ...t) {
51
51
  if (e == null) {
52
52
  for (const n of t)
53
53
  n(void 0);
@@ -56,21 +56,22 @@ function Ut(e, ...t) {
56
56
  const r = e.subscribe(...t);
57
57
  return r.unsubscribe ? () => r.unsubscribe() : r;
58
58
  }
59
- function Sr(e, t, r) {
60
- e.$$.on_destroy.push(Ut(t, r));
59
+ function Ar(e, t, r) {
60
+ e.$$.on_destroy.push(jt(t, r));
61
61
  }
62
62
  function B(e, t) {
63
63
  e.appendChild(t);
64
64
  }
65
- function Tr(e, t, r) {
66
- const n = Hr(e);
65
+ function Br(e, t, r) {
66
+ const n = Pr(e);
67
67
  if (!n.getElementById(t)) {
68
68
  const i = D("style");
69
- i.id = t, i.textContent = r, wr(n, i);
69
+ i.id = t, i.textContent = r, Or(n, i);
70
70
  }
71
71
  }
72
- function Hr(e) {
73
- if (!e) return document;
72
+ function Pr(e) {
73
+ if (!e)
74
+ return document;
74
75
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
75
76
  return t && /** @type {ShadowRoot} */
76
77
  t.host ? (
@@ -78,7 +79,7 @@ function Hr(e) {
78
79
  t
79
80
  ) : e.ownerDocument;
80
81
  }
81
- function wr(e, t) {
82
+ function Or(e, t) {
82
83
  return B(
83
84
  /** @type {Document} */
84
85
  e.head || e,
@@ -91,14 +92,14 @@ function $(e, t, r) {
91
92
  function M(e) {
92
93
  e.parentNode && e.parentNode.removeChild(e);
93
94
  }
94
- function Ar(e, t) {
95
+ function Cr(e, t) {
95
96
  for (let r = 0; r < e.length; r += 1)
96
97
  e[r] && e[r].d(t);
97
98
  }
98
99
  function D(e) {
99
100
  return document.createElement(e);
100
101
  }
101
- function it(e) {
102
+ function at(e) {
102
103
  return document.createElementNS("http://www.w3.org/2000/svg", e);
103
104
  }
104
105
  function j(e) {
@@ -107,20 +108,20 @@ function j(e) {
107
108
  function W() {
108
109
  return j(" ");
109
110
  }
110
- function Br(e, t, r, n) {
111
+ function Ir(e, t, r, n) {
111
112
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
112
113
  }
113
114
  function x(e, t, r) {
114
115
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
115
116
  }
116
- function Pr(e) {
117
+ function Nr(e) {
117
118
  return Array.from(e.childNodes);
118
119
  }
119
120
  function ue(e, t) {
120
121
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
121
122
  t);
122
123
  }
123
- function Or(e) {
124
+ function Mr(e) {
124
125
  const t = {};
125
126
  return e.childNodes.forEach(
126
127
  /** @param {Element} node */
@@ -129,18 +130,18 @@ function Or(e) {
129
130
  }
130
131
  ), t;
131
132
  }
132
- let Je;
133
+ let Ye;
133
134
  function ie(e) {
134
- Je = e;
135
+ Ye = e;
135
136
  }
136
- const Z = [], Ne = [];
137
+ const Z = [], Me = [];
137
138
  let Q = [];
138
- const ot = [], Cr = /* @__PURE__ */ Promise.resolve();
139
- let Me = !1;
140
- function Ir() {
141
- Me || (Me = !0, Cr.then(G));
139
+ const ut = [], Lr = /* @__PURE__ */ Promise.resolve();
140
+ let Le = !1;
141
+ function Rr() {
142
+ Le || (Le = !0, Lr.then(G));
142
143
  }
143
- function Le(e) {
144
+ function Re(e) {
144
145
  Q.push(e);
145
146
  }
146
147
  const we = /* @__PURE__ */ new Set();
@@ -148,61 +149,62 @@ let X = 0;
148
149
  function G() {
149
150
  if (X !== 0)
150
151
  return;
151
- const e = Je;
152
+ const e = Ye;
152
153
  do {
153
154
  try {
154
155
  for (; X < Z.length; ) {
155
156
  const t = Z[X];
156
- X++, ie(t), Nr(t.$$);
157
+ X++, ie(t), $r(t.$$);
157
158
  }
158
159
  } catch (t) {
159
160
  throw Z.length = 0, X = 0, t;
160
161
  }
161
- for (ie(null), Z.length = 0, X = 0; Ne.length; ) Ne.pop()();
162
+ for (ie(null), Z.length = 0, X = 0; Me.length; )
163
+ Me.pop()();
162
164
  for (let t = 0; t < Q.length; t += 1) {
163
165
  const r = Q[t];
164
166
  we.has(r) || (we.add(r), r());
165
167
  }
166
168
  Q.length = 0;
167
169
  } while (Z.length);
168
- for (; ot.length; )
169
- ot.pop()();
170
- Me = !1, we.clear(), ie(e);
170
+ for (; ut.length; )
171
+ ut.pop()();
172
+ Le = !1, we.clear(), ie(e);
171
173
  }
172
- function Nr(e) {
174
+ function $r(e) {
173
175
  if (e.fragment !== null) {
174
176
  e.update(), ae(e.before_update);
175
177
  const t = e.dirty;
176
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Le);
178
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Re);
177
179
  }
178
180
  }
179
- function Mr(e) {
181
+ function Fr(e) {
180
182
  const t = [], r = [];
181
183
  Q.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Q = t;
182
184
  }
183
- const Lr = /* @__PURE__ */ new Set();
184
- function Rr(e, t) {
185
- e && e.i && (Lr.delete(e), e.i(t));
185
+ const Ur = /* @__PURE__ */ new Set();
186
+ function Dr(e, t) {
187
+ e && e.i && (Ur.delete(e), e.i(t));
186
188
  }
187
- function st(e) {
189
+ function lt(e) {
188
190
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
189
191
  }
190
- function $r(e, t, r) {
192
+ function Gr(e, t, r) {
191
193
  const { fragment: n, after_update: i } = e.$$;
192
- n && n.m(t, r), Le(() => {
193
- const o = e.$$.on_mount.map($t).filter(Qe);
194
+ n && n.m(t, r), Re(() => {
195
+ const o = e.$$.on_mount.map(Dt).filter(Je);
194
196
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ae(o), e.$$.on_mount = [];
195
- }), i.forEach(Le);
197
+ }), i.forEach(Re);
196
198
  }
197
- function Fr(e, t) {
199
+ function jr(e, t) {
198
200
  const r = e.$$;
199
- r.fragment !== null && (Mr(r.after_update), ae(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
201
+ r.fragment !== null && (Fr(r.after_update), ae(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
200
202
  }
201
- function Ur(e, t) {
202
- e.$$.dirty[0] === -1 && (Z.push(e), Ir(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
203
+ function kr(e, t) {
204
+ e.$$.dirty[0] === -1 && (Z.push(e), Rr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
203
205
  }
204
- function Dr(e, t, r, n, i, o, s = null, a = [-1]) {
205
- const l = Je;
206
+ function Vr(e, t, r, n, i, o, s = null, a = [-1]) {
207
+ const l = Ye;
206
208
  ie(e);
207
209
  const u = e.$$ = {
208
210
  fragment: null,
@@ -211,7 +213,7 @@ function Dr(e, t, r, n, i, o, s = null, a = [-1]) {
211
213
  props: o,
212
214
  update: I,
213
215
  not_equal: i,
214
- bound: nt(),
216
+ bound: st(),
215
217
  // lifecycle
216
218
  on_mount: [],
217
219
  on_destroy: [],
@@ -220,7 +222,7 @@ function Dr(e, t, r, n, i, o, s = null, a = [-1]) {
220
222
  after_update: [],
221
223
  context: new Map(t.context || (l ? l.$$.context : [])),
222
224
  // everything else
223
- callbacks: nt(),
225
+ callbacks: st(),
224
226
  dirty: a,
225
227
  skip_bound: !1,
226
228
  root: t.target || l.$$.root
@@ -229,19 +231,19 @@ function Dr(e, t, r, n, i, o, s = null, a = [-1]) {
229
231
  let h = !1;
230
232
  if (u.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
231
233
  const m = p.length ? p[0] : c;
232
- return u.ctx && i(u.ctx[f], u.ctx[f] = m) && (!u.skip_bound && u.bound[f] && u.bound[f](m), h && Ur(e, f)), c;
234
+ return u.ctx && i(u.ctx[f], u.ctx[f] = m) && (!u.skip_bound && u.bound[f] && u.bound[f](m), h && kr(e, f)), c;
233
235
  }) : [], u.update(), h = !0, ae(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
234
236
  if (t.hydrate) {
235
- const f = Pr(t.target);
237
+ const f = Nr(t.target);
236
238
  u.fragment && u.fragment.l(f), f.forEach(M);
237
239
  } else
238
240
  u.fragment && u.fragment.c();
239
- t.intro && Rr(e.$$.fragment), $r(e, t.target, t.anchor), G();
241
+ t.intro && Dr(e.$$.fragment), Gr(e, t.target, t.anchor), G();
240
242
  }
241
243
  ie(l);
242
244
  }
243
- let Dt;
244
- typeof HTMLElement == "function" && (Dt = class extends HTMLElement {
245
+ let kt;
246
+ typeof HTMLElement == "function" && (kt = class extends HTMLElement {
245
247
  constructor(t, r, n) {
246
248
  super();
247
249
  /** The Svelte component constructor */
@@ -278,7 +280,7 @@ typeof HTMLElement == "function" && (Dt = class extends HTMLElement {
278
280
  }
279
281
  }
280
282
  connectedCallback() {
281
- return rt(this, null, function* () {
283
+ return ot(this, null, function* () {
282
284
  if (this.$$cn = !0, !this.$$c) {
283
285
  let t = function(o) {
284
286
  return () => {
@@ -302,7 +304,7 @@ typeof HTMLElement == "function" && (Dt = class extends HTMLElement {
302
304
  };
303
305
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
304
306
  return;
305
- const r = {}, n = Or(this);
307
+ const r = {}, n = Mr(this);
306
308
  for (const o of this.$$s)
307
309
  o in n && (r[o] = [t(o)]);
308
310
  for (const o of this.attributes) {
@@ -313,7 +315,7 @@ typeof HTMLElement == "function" && (Dt = class extends HTMLElement {
313
315
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
314
316
  this.$$c = new this.$$ctor({
315
317
  target: this.shadowRoot || this,
316
- props: tt(et({}, this.$$d), {
318
+ props: it(nt({}, this.$$d), {
317
319
  $$slots: r,
318
320
  $$scope: {
319
321
  ctx: []
@@ -391,8 +393,8 @@ function de(e, t, r, n) {
391
393
  return t;
392
394
  }
393
395
  }
394
- function Gr(e, t, r, n, i, o) {
395
- let s = class extends Dt {
396
+ function Xr(e, t, r, n, i, o) {
397
+ let s = class extends kt {
396
398
  constructor() {
397
399
  super(e, r, i), this.$$p_d = t;
398
400
  }
@@ -422,7 +424,7 @@ function Gr(e, t, r, n, i, o) {
422
424
  }), e.element = /** @type {any} */
423
425
  s, s;
424
426
  }
425
- class jr {
427
+ class zr {
426
428
  constructor() {
427
429
  /**
428
430
  * ### PRIVATE API
@@ -443,7 +445,7 @@ class jr {
443
445
  }
444
446
  /** @returns {void} */
445
447
  $destroy() {
446
- Fr(this, 1), this.$destroy = I;
448
+ jr(this, 1), this.$destroy = I;
447
449
  }
448
450
  /**
449
451
  * @template {Extract<keyof Events, string>} K
@@ -452,7 +454,7 @@ class jr {
452
454
  * @returns {() => void}
453
455
  */
454
456
  $on(t, r) {
455
- if (!Qe(r))
457
+ if (!Je(r))
456
458
  return I;
457
459
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
458
460
  return n.push(r), () => {
@@ -465,22 +467,37 @@ class jr {
465
467
  * @returns {void}
466
468
  */
467
469
  $set(t) {
468
- this.$$set && !xr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
470
+ this.$$set && !wr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
469
471
  }
470
472
  }
471
- const kr = "4";
472
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(kr);
473
- var Re = function(e, t) {
474
- return Re = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
473
+ const Wr = "4";
474
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Wr);
475
+ /*! *****************************************************************************
476
+ Copyright (c) Microsoft Corporation.
477
+
478
+ Permission to use, copy, modify, and/or distribute this software for any
479
+ purpose with or without fee is hereby granted.
480
+
481
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
482
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
483
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
484
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
485
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
486
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
487
+ PERFORMANCE OF THIS SOFTWARE.
488
+ ***************************************************************************** */
489
+ var $e = function(e, t) {
490
+ return $e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
475
491
  r.__proto__ = n;
476
492
  } || function(r, n) {
477
- for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
478
- }, Re(e, t);
493
+ for (var i in n)
494
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
495
+ }, $e(e, t);
479
496
  };
480
497
  function F(e, t) {
481
498
  if (typeof t != "function" && t !== null)
482
499
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
483
- Re(e, t);
500
+ $e(e, t);
484
501
  function r() {
485
502
  this.constructor = e;
486
503
  }
@@ -490,61 +507,69 @@ var y = function() {
490
507
  return y = Object.assign || function(t) {
491
508
  for (var r, n = 1, i = arguments.length; n < i; n++) {
492
509
  r = arguments[n];
493
- for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
510
+ for (var o in r)
511
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
494
512
  }
495
513
  return t;
496
514
  }, y.apply(this, arguments);
497
515
  };
498
- function Vr(e, t) {
516
+ function Zr(e, t) {
499
517
  var r = {};
500
- for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
518
+ for (var n in e)
519
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
501
520
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
502
521
  for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
503
522
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
504
523
  return r;
505
524
  }
506
- function $e(e) {
525
+ function Fe(e) {
507
526
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
508
- if (r) return r.call(e);
509
- if (e && typeof e.length == "number") return {
510
- next: function() {
511
- return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
512
- }
513
- };
527
+ if (r)
528
+ return r.call(e);
529
+ if (e && typeof e.length == "number")
530
+ return {
531
+ next: function() {
532
+ return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
533
+ }
534
+ };
514
535
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
515
536
  }
516
- function Fe(e, t) {
537
+ function Ue(e, t) {
517
538
  var r = typeof Symbol == "function" && e[Symbol.iterator];
518
- if (!r) return e;
539
+ if (!r)
540
+ return e;
519
541
  var n = r.call(e), i, o = [], s;
520
542
  try {
521
- for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; ) o.push(i.value);
543
+ for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
544
+ o.push(i.value);
522
545
  } catch (a) {
523
546
  s = { error: a };
524
547
  } finally {
525
548
  try {
526
549
  i && !i.done && (r = n.return) && r.call(n);
527
550
  } finally {
528
- if (s) throw s.error;
551
+ if (s)
552
+ throw s.error;
529
553
  }
530
554
  }
531
555
  return o;
532
556
  }
533
557
  function J(e, t, r) {
534
- if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
535
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
536
- return e.concat(o || Array.prototype.slice.call(t));
558
+ if (r || arguments.length === 2)
559
+ for (var n = 0, i = t.length, o; n < i; n++)
560
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
561
+ return e.concat(o || t);
537
562
  }
538
563
  function R(e) {
539
564
  return typeof e == "function";
540
565
  }
541
- function Gt(e) {
566
+ function Vt(e) {
542
567
  var t = function(n) {
543
568
  Error.call(n), n.stack = new Error().stack;
544
569
  }, r = e(t);
545
570
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
546
571
  }
547
- var Ae = Gt(function(e) {
572
+ var Ae = Vt(function(e) {
548
573
  return function(r) {
549
574
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
550
575
  ` + r.map(function(n, i) {
@@ -553,7 +578,7 @@ var Ae = Gt(function(e) {
553
578
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
554
579
  };
555
580
  });
556
- function Ue(e, t) {
581
+ function De(e, t) {
557
582
  if (e) {
558
583
  var r = e.indexOf(t);
559
584
  0 <= r && e.splice(r, 1);
@@ -571,7 +596,7 @@ var _e = function() {
571
596
  if (s)
572
597
  if (this._parentage = null, Array.isArray(s))
573
598
  try {
574
- for (var a = $e(s), l = a.next(); !l.done; l = a.next()) {
599
+ for (var a = Fe(s), l = a.next(); !l.done; l = a.next()) {
575
600
  var u = l.value;
576
601
  u.remove(this);
577
602
  }
@@ -581,7 +606,8 @@ var _e = function() {
581
606
  try {
582
607
  l && !l.done && (r = a.return) && r.call(a);
583
608
  } finally {
584
- if (t) throw t.error;
609
+ if (t)
610
+ throw t.error;
585
611
  }
586
612
  }
587
613
  else
@@ -597,12 +623,12 @@ var _e = function() {
597
623
  if (f) {
598
624
  this._finalizers = null;
599
625
  try {
600
- for (var c = $e(f), p = c.next(); !p.done; p = c.next()) {
626
+ for (var c = Fe(f), p = c.next(); !p.done; p = c.next()) {
601
627
  var m = p.value;
602
628
  try {
603
- at(m);
629
+ ht(m);
604
630
  } catch (d) {
605
- o = o != null ? o : [], d instanceof Ae ? o = J(J([], Fe(o)), Fe(d.errors)) : o.push(d);
631
+ o = o != null ? o : [], d instanceof Ae ? o = J(J([], Ue(o)), Ue(d.errors)) : o.push(d);
606
632
  }
607
633
  }
608
634
  } catch (d) {
@@ -611,7 +637,8 @@ var _e = function() {
611
637
  try {
612
638
  p && !p.done && (i = c.return) && i.call(c);
613
639
  } finally {
614
- if (n) throw n.error;
640
+ if (n)
641
+ throw n.error;
615
642
  }
616
643
  }
617
644
  }
@@ -622,7 +649,7 @@ var _e = function() {
622
649
  var r;
623
650
  if (t && t !== this)
624
651
  if (this.closed)
625
- at(t);
652
+ ht(t);
626
653
  else {
627
654
  if (t instanceof e) {
628
655
  if (t.closed || t._hasParent(this))
@@ -639,52 +666,56 @@ var _e = function() {
639
666
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
640
667
  }, e.prototype._removeParent = function(t) {
641
668
  var r = this._parentage;
642
- r === t ? this._parentage = null : Array.isArray(r) && Ue(r, t);
669
+ r === t ? this._parentage = null : Array.isArray(r) && De(r, t);
643
670
  }, e.prototype.remove = function(t) {
644
671
  var r = this._finalizers;
645
- r && Ue(r, t), t instanceof e && t._removeParent(this);
672
+ r && De(r, t), t instanceof e && t._removeParent(this);
646
673
  }, e.EMPTY = function() {
647
674
  var t = new e();
648
675
  return t.closed = !0, t;
649
676
  }(), e;
650
- }(), jt = _e.EMPTY;
651
- function kt(e) {
677
+ }(), Xt = _e.EMPTY;
678
+ function zt(e) {
652
679
  return e instanceof _e || e && "closed" in e && R(e.remove) && R(e.add) && R(e.unsubscribe);
653
680
  }
654
- function at(e) {
681
+ function ht(e) {
655
682
  R(e) ? e() : e.unsubscribe();
656
683
  }
657
- var Xr = {
658
- Promise: void 0
659
- }, zr = {
684
+ var Wt = {
685
+ onUnhandledError: null,
686
+ onStoppedNotification: null,
687
+ Promise: void 0,
688
+ useDeprecatedSynchronousErrorHandling: !1,
689
+ useDeprecatedNextContext: !1
690
+ }, Qr = {
660
691
  setTimeout: function(e, t) {
661
692
  for (var r = [], n = 2; n < arguments.length; n++)
662
693
  r[n - 2] = arguments[n];
663
- return setTimeout.apply(void 0, J([e, t], Fe(r)));
694
+ return setTimeout.apply(void 0, J([e, t], Ue(r)));
664
695
  },
665
696
  clearTimeout: function(e) {
666
697
  return clearTimeout(e);
667
698
  },
668
699
  delegate: void 0
669
700
  };
670
- function Wr(e) {
671
- zr.setTimeout(function() {
701
+ function Jr(e) {
702
+ Qr.setTimeout(function() {
672
703
  throw e;
673
704
  });
674
705
  }
675
- function ut() {
706
+ function ft() {
676
707
  }
677
708
  function me(e) {
678
709
  e();
679
710
  }
680
- var Vt = function(e) {
711
+ var Zt = function(e) {
681
712
  F(t, e);
682
713
  function t(r) {
683
714
  var n = e.call(this) || this;
684
- return n.isStopped = !1, r ? (n.destination = r, kt(r) && r.add(n)) : n.destination = Jr, n;
715
+ return n.isStopped = !1, r ? (n.destination = r, zt(r) && r.add(n)) : n.destination = en, n;
685
716
  }
686
717
  return t.create = function(r, n, i) {
687
- return new De(r, n, i);
718
+ return new Ge(r, n, i);
688
719
  }, t.prototype.next = function(r) {
689
720
  this.isStopped || this._next(r);
690
721
  }, t.prototype.error = function(r) {
@@ -708,7 +739,11 @@ var Vt = function(e) {
708
739
  this.unsubscribe();
709
740
  }
710
741
  }, t;
711
- }(_e), Zr = function() {
742
+ }(_e), Yr = Function.prototype.bind;
743
+ function Be(e, t) {
744
+ return Yr.call(e, t);
745
+ }
746
+ var qr = function() {
712
747
  function e(t) {
713
748
  this.partialObserver = t;
714
749
  }
@@ -739,43 +774,55 @@ var Vt = function(e) {
739
774
  ce(r);
740
775
  }
741
776
  }, e;
742
- }(), De = function(e) {
777
+ }(), Ge = function(e) {
743
778
  F(t, e);
744
779
  function t(r, n, i) {
745
780
  var o = e.call(this) || this, s;
746
- return R(r) || !r ? s = {
747
- next: r != null ? r : void 0,
748
- error: n != null ? n : void 0,
749
- complete: i != null ? i : void 0
750
- } : s = r, o.destination = new Zr(s), o;
781
+ if (R(r) || !r)
782
+ s = {
783
+ next: r != null ? r : void 0,
784
+ error: n != null ? n : void 0,
785
+ complete: i != null ? i : void 0
786
+ };
787
+ else {
788
+ var a;
789
+ o && Wt.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
790
+ return o.unsubscribe();
791
+ }, s = {
792
+ next: r.next && Be(r.next, a),
793
+ error: r.error && Be(r.error, a),
794
+ complete: r.complete && Be(r.complete, a)
795
+ }) : s = r;
796
+ }
797
+ return o.destination = new qr(s), o;
751
798
  }
752
799
  return t;
753
- }(Vt);
800
+ }(Zt);
754
801
  function ce(e) {
755
- Wr(e);
802
+ Jr(e);
756
803
  }
757
- function Qr(e) {
804
+ function Kr(e) {
758
805
  throw e;
759
806
  }
760
- var Jr = {
807
+ var en = {
761
808
  closed: !0,
762
- next: ut,
763
- error: Qr,
764
- complete: ut
765
- }, Yr = function() {
809
+ next: ft,
810
+ error: Kr,
811
+ complete: ft
812
+ }, tn = function() {
766
813
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
767
814
  }();
768
- function qr(e) {
815
+ function rn(e) {
769
816
  return e;
770
817
  }
771
- function Kr(e) {
772
- return e.length === 0 ? qr : e.length === 1 ? e[0] : function(r) {
818
+ function nn(e) {
819
+ return e.length === 0 ? rn : e.length === 1 ? e[0] : function(r) {
773
820
  return e.reduce(function(n, i) {
774
821
  return i(n);
775
822
  }, r);
776
823
  };
777
824
  }
778
- var lt = function() {
825
+ var ct = function() {
779
826
  function e(t) {
780
827
  t && (this._subscribe = t);
781
828
  }
@@ -783,7 +830,7 @@ var lt = function() {
783
830
  var r = new e();
784
831
  return r.source = this, r.operator = t, r;
785
832
  }, e.prototype.subscribe = function(t, r, n) {
786
- var i = this, o = tn(t) ? t : new De(t, r, n);
833
+ var i = this, o = sn(t) ? t : new Ge(t, r, n);
787
834
  return me(function() {
788
835
  var s = i, a = s.operator, l = s.source;
789
836
  o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
@@ -796,8 +843,8 @@ var lt = function() {
796
843
  }
797
844
  }, e.prototype.forEach = function(t, r) {
798
845
  var n = this;
799
- return r = ht(r), new r(function(i, o) {
800
- var s = new De({
846
+ return r = pt(r), new r(function(i, o) {
847
+ var s = new Ge({
801
848
  next: function(a) {
802
849
  try {
803
850
  t(a);
@@ -813,15 +860,15 @@ var lt = function() {
813
860
  }, e.prototype._subscribe = function(t) {
814
861
  var r;
815
862
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
816
- }, e.prototype[Yr] = function() {
863
+ }, e.prototype[tn] = function() {
817
864
  return this;
818
865
  }, e.prototype.pipe = function() {
819
866
  for (var t = [], r = 0; r < arguments.length; r++)
820
867
  t[r] = arguments[r];
821
- return Kr(t)(this);
868
+ return nn(t)(this);
822
869
  }, e.prototype.toPromise = function(t) {
823
870
  var r = this;
824
- return t = ht(t), new t(function(n, i) {
871
+ return t = pt(t), new t(function(n, i) {
825
872
  var o;
826
873
  r.subscribe(function(s) {
827
874
  return o = s;
@@ -835,32 +882,32 @@ var lt = function() {
835
882
  return new e(t);
836
883
  }, e;
837
884
  }();
838
- function ht(e) {
885
+ function pt(e) {
839
886
  var t;
840
- return (t = e != null ? e : Xr.Promise) !== null && t !== void 0 ? t : Promise;
887
+ return (t = e != null ? e : Wt.Promise) !== null && t !== void 0 ? t : Promise;
841
888
  }
842
- function en(e) {
889
+ function on(e) {
843
890
  return e && R(e.next) && R(e.error) && R(e.complete);
844
891
  }
845
- function tn(e) {
846
- return e && e instanceof Vt || en(e) && kt(e);
892
+ function sn(e) {
893
+ return e && e instanceof Zt || on(e) && zt(e);
847
894
  }
848
- var rn = Gt(function(e) {
895
+ var an = Vt(function(e) {
849
896
  return function() {
850
897
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
851
898
  };
852
- }), Xt = function(e) {
899
+ }), Qt = function(e) {
853
900
  F(t, e);
854
901
  function t() {
855
902
  var r = e.call(this) || this;
856
903
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
857
904
  }
858
905
  return t.prototype.lift = function(r) {
859
- var n = new ft(this, this);
906
+ var n = new dt(this, this);
860
907
  return n.operator = r, n;
861
908
  }, t.prototype._throwIfClosed = function() {
862
909
  if (this.closed)
863
- throw new rn();
910
+ throw new an();
864
911
  }, t.prototype.next = function(r) {
865
912
  var n = this;
866
913
  me(function() {
@@ -868,7 +915,7 @@ var rn = Gt(function(e) {
868
915
  if (n._throwIfClosed(), !n.isStopped) {
869
916
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
870
917
  try {
871
- for (var s = $e(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
918
+ for (var s = Fe(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
872
919
  var l = a.value;
873
920
  l.next(r);
874
921
  }
@@ -878,7 +925,8 @@ var rn = Gt(function(e) {
878
925
  try {
879
926
  a && !a.done && (o = s.return) && o.call(s);
880
927
  } finally {
881
- if (i) throw i.error;
928
+ if (i)
929
+ throw i.error;
882
930
  }
883
931
  }
884
932
  }
@@ -916,19 +964,19 @@ var rn = Gt(function(e) {
916
964
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
917
965
  }, t.prototype._innerSubscribe = function(r) {
918
966
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
919
- return o || s ? jt : (this.currentObservers = null, a.push(r), new _e(function() {
920
- n.currentObservers = null, Ue(a, r);
967
+ return o || s ? Xt : (this.currentObservers = null, a.push(r), new _e(function() {
968
+ n.currentObservers = null, De(a, r);
921
969
  }));
922
970
  }, t.prototype._checkFinalizedStatuses = function(r) {
923
971
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
924
972
  i ? r.error(o) : s && r.complete();
925
973
  }, t.prototype.asObservable = function() {
926
- var r = new lt();
974
+ var r = new ct();
927
975
  return r.source = this, r;
928
976
  }, t.create = function(r, n) {
929
- return new ft(r, n);
977
+ return new dt(r, n);
930
978
  }, t;
931
- }(lt), ft = function(e) {
979
+ }(ct), dt = function(e) {
932
980
  F(t, e);
933
981
  function t(r, n) {
934
982
  var i = e.call(this) || this;
@@ -945,17 +993,17 @@ var rn = Gt(function(e) {
945
993
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
946
994
  }, t.prototype._subscribe = function(r) {
947
995
  var n, i;
948
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : jt;
996
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Xt;
949
997
  }, t;
950
- }(Xt), zt = {
998
+ }(Qt), Jt = {
951
999
  now: function() {
952
- return (zt.delegate || Date).now();
1000
+ return (Jt.delegate || Date).now();
953
1001
  },
954
1002
  delegate: void 0
955
- }, nn = function(e) {
1003
+ }, un = function(e) {
956
1004
  F(t, e);
957
1005
  function t(r, n, i) {
958
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = zt);
1006
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Jt);
959
1007
  var o = e.call(this) || this;
960
1008
  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;
961
1009
  }
@@ -975,15 +1023,15 @@ var rn = Gt(function(e) {
975
1023
  u && o.splice(0, u + 1);
976
1024
  }
977
1025
  }, t;
978
- }(Xt);
979
- const ct = [], pt = {}, on = (e, t = 0) => {
980
- if (ct.indexOf(e) == -1) {
981
- const r = new nn(t);
982
- pt[e] = r, ct.push(e);
1026
+ }(Qt);
1027
+ const mt = [], bt = {}, ln = (e, t = 0) => {
1028
+ if (mt.indexOf(e) == -1) {
1029
+ const r = new un(t);
1030
+ bt[e] = r, mt.push(e);
983
1031
  }
984
- return pt[e];
1032
+ return bt[e];
985
1033
  }, z = [];
986
- function sn(e, t) {
1034
+ function hn(e, t) {
987
1035
  return {
988
1036
  subscribe: Ee(e, t).subscribe
989
1037
  };
@@ -992,7 +1040,7 @@ function Ee(e, t = I) {
992
1040
  let r;
993
1041
  const n = /* @__PURE__ */ new Set();
994
1042
  function i(a) {
995
- if (Ft(e, a) && (e = a, r)) {
1043
+ if (Gt(e, a) && (e = a, r)) {
996
1044
  const l = !z.length;
997
1045
  for (const u of n)
998
1046
  u[1](), z.push(u, e);
@@ -1019,7 +1067,7 @@ function te(e, t, r) {
1019
1067
  if (!i.every(Boolean))
1020
1068
  throw new Error("derived() expects stores as input, got a falsy value");
1021
1069
  const o = t.length < 2;
1022
- return sn(r, (s, a) => {
1070
+ return hn(r, (s, a) => {
1023
1071
  let l = !1;
1024
1072
  const u = [];
1025
1073
  let h = 0, f = I;
@@ -1028,9 +1076,9 @@ function te(e, t, r) {
1028
1076
  return;
1029
1077
  f();
1030
1078
  const m = t(n ? u[0] : u, s, a);
1031
- o ? s(m) : f = Qe(m) ? m : I;
1079
+ o ? s(m) : f = Je(m) ? m : I;
1032
1080
  }, p = i.map(
1033
- (m, d) => Ut(
1081
+ (m, d) => jt(
1034
1082
  m,
1035
1083
  (_) => {
1036
1084
  u[d] = _, h &= ~(1 << d), l && c();
@@ -1045,70 +1093,70 @@ function te(e, t, r) {
1045
1093
  };
1046
1094
  });
1047
1095
  }
1048
- function an(e) {
1096
+ function fn(e) {
1049
1097
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1050
1098
  }
1051
- var un = function(t) {
1052
- return ln(t) && !hn(t);
1099
+ var cn = function(t) {
1100
+ return pn(t) && !dn(t);
1053
1101
  };
1054
- function ln(e) {
1102
+ function pn(e) {
1055
1103
  return !!e && typeof e == "object";
1056
1104
  }
1057
- function hn(e) {
1105
+ function dn(e) {
1058
1106
  var t = Object.prototype.toString.call(e);
1059
- return t === "[object RegExp]" || t === "[object Date]" || pn(e);
1107
+ return t === "[object RegExp]" || t === "[object Date]" || gn(e);
1060
1108
  }
1061
- var fn = typeof Symbol == "function" && Symbol.for, cn = fn ? Symbol.for("react.element") : 60103;
1062
- function pn(e) {
1063
- return e.$$typeof === cn;
1109
+ var mn = typeof Symbol == "function" && Symbol.for, bn = mn ? Symbol.for("react.element") : 60103;
1110
+ function gn(e) {
1111
+ return e.$$typeof === bn;
1064
1112
  }
1065
- function dn(e) {
1113
+ function vn(e) {
1066
1114
  return Array.isArray(e) ? [] : {};
1067
1115
  }
1068
1116
  function oe(e, t) {
1069
- return t.clone !== !1 && t.isMergeableObject(e) ? Y(dn(e), e, t) : e;
1117
+ return t.clone !== !1 && t.isMergeableObject(e) ? Y(vn(e), e, t) : e;
1070
1118
  }
1071
- function mn(e, t, r) {
1119
+ function yn(e, t, r) {
1072
1120
  return e.concat(t).map(function(n) {
1073
1121
  return oe(n, r);
1074
1122
  });
1075
1123
  }
1076
- function bn(e, t) {
1124
+ function _n(e, t) {
1077
1125
  if (!t.customMerge)
1078
1126
  return Y;
1079
1127
  var r = t.customMerge(e);
1080
1128
  return typeof r == "function" ? r : Y;
1081
1129
  }
1082
- function gn(e) {
1130
+ function En(e) {
1083
1131
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1084
1132
  return Object.propertyIsEnumerable.call(e, t);
1085
1133
  }) : [];
1086
1134
  }
1087
- function dt(e) {
1088
- return Object.keys(e).concat(gn(e));
1135
+ function gt(e) {
1136
+ return Object.keys(e).concat(En(e));
1089
1137
  }
1090
- function Wt(e, t) {
1138
+ function Yt(e, t) {
1091
1139
  try {
1092
1140
  return t in e;
1093
1141
  } catch (r) {
1094
1142
  return !1;
1095
1143
  }
1096
1144
  }
1097
- function vn(e, t) {
1098
- return Wt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1145
+ function xn(e, t) {
1146
+ return Yt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1099
1147
  }
1100
- function yn(e, t, r) {
1148
+ function Sn(e, t, r) {
1101
1149
  var n = {};
1102
- return r.isMergeableObject(e) && dt(e).forEach(function(i) {
1150
+ return r.isMergeableObject(e) && gt(e).forEach(function(i) {
1103
1151
  n[i] = oe(e[i], r);
1104
- }), dt(t).forEach(function(i) {
1105
- vn(e, i) || (Wt(e, i) && r.isMergeableObject(t[i]) ? n[i] = bn(i, r)(e[i], t[i], r) : n[i] = oe(t[i], r));
1152
+ }), gt(t).forEach(function(i) {
1153
+ xn(e, i) || (Yt(e, i) && r.isMergeableObject(t[i]) ? n[i] = _n(i, r)(e[i], t[i], r) : n[i] = oe(t[i], r));
1106
1154
  }), n;
1107
1155
  }
1108
1156
  function Y(e, t, r) {
1109
- r = r || {}, r.arrayMerge = r.arrayMerge || mn, r.isMergeableObject = r.isMergeableObject || un, r.cloneUnlessOtherwiseSpecified = oe;
1157
+ r = r || {}, r.arrayMerge = r.arrayMerge || yn, r.isMergeableObject = r.isMergeableObject || cn, r.cloneUnlessOtherwiseSpecified = oe;
1110
1158
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1111
- return o ? n ? r.arrayMerge(e, t, r) : yn(e, t, r) : oe(t, r);
1159
+ return o ? n ? r.arrayMerge(e, t, r) : Sn(e, t, r) : oe(t, r);
1112
1160
  }
1113
1161
  Y.all = function(t, r) {
1114
1162
  if (!Array.isArray(t))
@@ -1117,56 +1165,58 @@ Y.all = function(t, r) {
1117
1165
  return Y(n, i, r);
1118
1166
  }, {});
1119
1167
  };
1120
- var _n = Y, En = _n;
1121
- const xn = /* @__PURE__ */ an(En);
1122
- function Be(e, t) {
1123
- var r = t && t.cache ? t.cache : Pn, n = t && t.serializer ? t.serializer : An, i = t && t.strategy ? t.strategy : Hn;
1168
+ var Tn = Y, Hn = Tn;
1169
+ const wn = /* @__PURE__ */ fn(Hn);
1170
+ function Pe(e, t) {
1171
+ var r = t && t.cache ? t.cache : In, n = t && t.serializer ? t.serializer : Cn, i = t && t.strategy ? t.strategy : Bn;
1124
1172
  return i(e, {
1125
1173
  cache: r,
1126
1174
  serializer: n
1127
1175
  });
1128
1176
  }
1129
- function Sn(e) {
1177
+ function An(e) {
1130
1178
  return e == null || typeof e == "number" || typeof e == "boolean";
1131
1179
  }
1132
- function Tn(e, t, r, n) {
1133
- var i = Sn(n) ? n : r(n), o = t.get(i);
1180
+ function qt(e, t, r, n) {
1181
+ var i = An(n) ? n : r(n), o = t.get(i);
1134
1182
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1135
1183
  }
1136
- function Zt(e, t, r) {
1184
+ function Kt(e, t, r) {
1137
1185
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1138
1186
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1139
1187
  }
1140
- function Qt(e, t, r, n, i) {
1188
+ function qe(e, t, r, n, i) {
1141
1189
  return r.bind(t, e, n, i);
1142
1190
  }
1143
- function Hn(e, t) {
1144
- var r = e.length === 1 ? Tn : Zt;
1145
- return Qt(e, this, r, t.cache.create(), t.serializer);
1191
+ function Bn(e, t) {
1192
+ var r = e.length === 1 ? qt : Kt;
1193
+ return qe(e, this, r, t.cache.create(), t.serializer);
1194
+ }
1195
+ function Pn(e, t) {
1196
+ return qe(e, this, Kt, t.cache.create(), t.serializer);
1146
1197
  }
1147
- function wn(e, t) {
1148
- return Qt(e, this, Zt, t.cache.create(), t.serializer);
1198
+ function On(e, t) {
1199
+ return qe(e, this, qt, t.cache.create(), t.serializer);
1149
1200
  }
1150
- var An = function() {
1201
+ var Cn = function() {
1151
1202
  return JSON.stringify(arguments);
1152
- }, Bn = (
1153
- /** @class */
1154
- function() {
1155
- function e() {
1156
- this.cache = /* @__PURE__ */ Object.create(null);
1157
- }
1158
- return e.prototype.get = function(t) {
1159
- return this.cache[t];
1160
- }, e.prototype.set = function(t, r) {
1161
- this.cache[t] = r;
1162
- }, e;
1163
- }()
1164
- ), Pn = {
1203
+ };
1204
+ function Ke() {
1205
+ this.cache = /* @__PURE__ */ Object.create(null);
1206
+ }
1207
+ Ke.prototype.get = function(e) {
1208
+ return this.cache[e];
1209
+ };
1210
+ Ke.prototype.set = function(e, t) {
1211
+ this.cache[e] = t;
1212
+ };
1213
+ var In = {
1165
1214
  create: function() {
1166
- return new Bn();
1215
+ return new Ke();
1167
1216
  }
1168
- }, Pe = {
1169
- variadic: wn
1217
+ }, Oe = {
1218
+ variadic: Pn,
1219
+ monadic: On
1170
1220
  }, b;
1171
1221
  (function(e) {
1172
1222
  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,43 +1229,43 @@ var q;
1179
1229
  (function(e) {
1180
1230
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1181
1231
  })(q || (q = {}));
1182
- function mt(e) {
1232
+ function vt(e) {
1183
1233
  return e.type === E.literal;
1184
1234
  }
1185
- function On(e) {
1235
+ function Nn(e) {
1186
1236
  return e.type === E.argument;
1187
1237
  }
1188
- function Jt(e) {
1238
+ function er(e) {
1189
1239
  return e.type === E.number;
1190
1240
  }
1191
- function Yt(e) {
1241
+ function tr(e) {
1192
1242
  return e.type === E.date;
1193
1243
  }
1194
- function qt(e) {
1244
+ function rr(e) {
1195
1245
  return e.type === E.time;
1196
1246
  }
1197
- function Kt(e) {
1247
+ function nr(e) {
1198
1248
  return e.type === E.select;
1199
1249
  }
1200
- function er(e) {
1250
+ function ir(e) {
1201
1251
  return e.type === E.plural;
1202
1252
  }
1203
- function Cn(e) {
1253
+ function Mn(e) {
1204
1254
  return e.type === E.pound;
1205
1255
  }
1206
- function tr(e) {
1256
+ function or(e) {
1207
1257
  return e.type === E.tag;
1208
1258
  }
1209
- function rr(e) {
1259
+ function sr(e) {
1210
1260
  return !!(e && typeof e == "object" && e.type === q.number);
1211
1261
  }
1212
- function Ge(e) {
1262
+ function je(e) {
1213
1263
  return !!(e && typeof e == "object" && e.type === q.dateTime);
1214
1264
  }
1215
- var nr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, In = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1216
- function Nn(e) {
1265
+ var ar = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ln = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1266
+ function Rn(e) {
1217
1267
  var t = {};
1218
- return e.replace(In, function(r) {
1268
+ return e.replace(Ln, function(r) {
1219
1269
  var n = r.length;
1220
1270
  switch (r[0]) {
1221
1271
  case "G":
@@ -1304,11 +1354,11 @@ function Nn(e) {
1304
1354
  return "";
1305
1355
  }), t;
1306
1356
  }
1307
- var Mn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1308
- function Ln(e) {
1357
+ var $n = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1358
+ function Fn(e) {
1309
1359
  if (e.length === 0)
1310
1360
  throw new Error("Number skeleton cannot be empty");
1311
- for (var t = e.split(Mn).filter(function(c) {
1361
+ for (var t = e.split($n).filter(function(c) {
1312
1362
  return c.length > 0;
1313
1363
  }), r = [], n = 0, i = t; n < i.length; n++) {
1314
1364
  var o = i[n], s = o.split("/");
@@ -1323,17 +1373,17 @@ function Ln(e) {
1323
1373
  }
1324
1374
  return r;
1325
1375
  }
1326
- function Rn(e) {
1376
+ function Un(e) {
1327
1377
  return e.replace(/^(.*?)-/, "");
1328
1378
  }
1329
- var bt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ir = /^(@+)?(\+|#+)?[rs]?$/g, $n = /(\*)(0+)|(#+)(0+)|(0+)/g, or = /^(0+)$/;
1330
- function gt(e) {
1379
+ var yt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ur = /^(@+)?(\+|#+)?[rs]?$/g, Dn = /(\*)(0+)|(#+)(0+)|(0+)/g, lr = /^(0+)$/;
1380
+ function _t(e) {
1331
1381
  var t = {};
1332
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(ir, function(r, n, i) {
1382
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(ur, function(r, n, i) {
1333
1383
  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)), "";
1334
1384
  }), t;
1335
1385
  }
1336
- function sr(e) {
1386
+ function hr(e) {
1337
1387
  switch (e) {
1338
1388
  case "sign-auto":
1339
1389
  return {
@@ -1373,7 +1423,7 @@ function sr(e) {
1373
1423
  };
1374
1424
  }
1375
1425
  }
1376
- function Fn(e) {
1426
+ function Gn(e) {
1377
1427
  var t;
1378
1428
  if (e[0] === "E" && e[1] === "E" ? (t = {
1379
1429
  notation: "engineering"
@@ -1381,17 +1431,17 @@ function Fn(e) {
1381
1431
  notation: "scientific"
1382
1432
  }, e = e.slice(1)), t) {
1383
1433
  var r = e.slice(0, 2);
1384
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !or.test(e))
1434
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !lr.test(e))
1385
1435
  throw new Error("Malformed concise eng/scientific notation");
1386
1436
  t.minimumIntegerDigits = e.length;
1387
1437
  }
1388
1438
  return t;
1389
1439
  }
1390
- function vt(e) {
1391
- var t = {}, r = sr(e);
1440
+ function Et(e) {
1441
+ var t = {}, r = hr(e);
1392
1442
  return r || t;
1393
1443
  }
1394
- function Un(e) {
1444
+ function jn(e) {
1395
1445
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1396
1446
  var i = n[r];
1397
1447
  switch (i.stem) {
@@ -1415,7 +1465,7 @@ function Un(e) {
1415
1465
  continue;
1416
1466
  case "measure-unit":
1417
1467
  case "unit":
1418
- t.style = "unit", t.unit = Rn(i.options[0]);
1468
+ t.style = "unit", t.unit = Un(i.options[0]);
1419
1469
  continue;
1420
1470
  case "compact-short":
1421
1471
  case "K":
@@ -1427,12 +1477,12 @@ function Un(e) {
1427
1477
  continue;
1428
1478
  case "scientific":
1429
1479
  t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1430
- return y(y({}, l), vt(u));
1480
+ return y(y({}, l), Et(u));
1431
1481
  }, {}));
1432
1482
  continue;
1433
1483
  case "engineering":
1434
1484
  t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1435
- return y(y({}, l), vt(u));
1485
+ return y(y({}, l), Et(u));
1436
1486
  }, {}));
1437
1487
  continue;
1438
1488
  case "notation-simple":
@@ -1477,7 +1527,7 @@ function Un(e) {
1477
1527
  case "integer-width":
1478
1528
  if (i.options.length > 1)
1479
1529
  throw new RangeError("integer-width stems only accept a single optional option");
1480
- i.options[0].replace($n, function(l, u, h, f, c, p) {
1530
+ i.options[0].replace(Dn, function(l, u, h, f, c, p) {
1481
1531
  if (u)
1482
1532
  t.minimumIntegerDigits = h.length;
1483
1533
  else {
@@ -1490,27 +1540,27 @@ function Un(e) {
1490
1540
  });
1491
1541
  continue;
1492
1542
  }
1493
- if (or.test(i.stem)) {
1543
+ if (lr.test(i.stem)) {
1494
1544
  t.minimumIntegerDigits = i.stem.length;
1495
1545
  continue;
1496
1546
  }
1497
- if (bt.test(i.stem)) {
1547
+ if (yt.test(i.stem)) {
1498
1548
  if (i.options.length > 1)
1499
1549
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1500
- i.stem.replace(bt, function(l, u, h, f, c, p) {
1550
+ i.stem.replace(yt, function(l, u, h, f, c, p) {
1501
1551
  return h === "*" ? 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), "";
1502
1552
  });
1503
1553
  var o = i.options[0];
1504
- o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), gt(o)));
1554
+ o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), _t(o)));
1505
1555
  continue;
1506
1556
  }
1507
- if (ir.test(i.stem)) {
1508
- t = y(y({}, t), gt(i.stem));
1557
+ if (ur.test(i.stem)) {
1558
+ t = y(y({}, t), _t(i.stem));
1509
1559
  continue;
1510
1560
  }
1511
- var s = sr(i.stem);
1561
+ var s = hr(i.stem);
1512
1562
  s && (t = y(y({}, t), s));
1513
- var a = Fn(i.stem);
1563
+ var a = Gn(i.stem);
1514
1564
  a && (t = y(y({}, t), a));
1515
1565
  }
1516
1566
  return t;
@@ -2930,22 +2980,23 @@ var pe = {
2930
2980
  "h"
2931
2981
  ]
2932
2982
  };
2933
- function Dn(e, t) {
2983
+ function kn(e, t) {
2934
2984
  for (var r = "", n = 0; n < e.length; n++) {
2935
2985
  var i = e.charAt(n);
2936
2986
  if (i === "j") {
2937
2987
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2938
2988
  o++, n++;
2939
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Gn(t);
2989
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Vn(t);
2940
2990
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2941
2991
  r += l;
2942
2992
  for (; s-- > 0; )
2943
2993
  r = u + r;
2944
- } else i === "J" ? r += "H" : r += i;
2994
+ } else
2995
+ i === "J" ? r += "H" : r += i;
2945
2996
  }
2946
2997
  return r;
2947
2998
  }
2948
- function Gn(e) {
2999
+ function Vn(e) {
2949
3000
  var t = e.hourCycle;
2950
3001
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2951
3002
  e.hourCycles && // @ts-ignore
@@ -2967,20 +3018,20 @@ function Gn(e) {
2967
3018
  var i = pe[n || ""] || pe[r || ""] || pe["".concat(r, "-001")] || pe["001"];
2968
3019
  return i[0];
2969
3020
  }
2970
- var Oe, jn = new RegExp("^".concat(nr.source, "*")), kn = new RegExp("".concat(nr.source, "*$"));
3021
+ var Ce, Xn = new RegExp("^".concat(ar.source, "*")), zn = new RegExp("".concat(ar.source, "*$"));
2971
3022
  function g(e, t) {
2972
3023
  return { start: e, end: t };
2973
3024
  }
2974
- var Vn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Xn = !!String.fromCodePoint, zn = !!Object.fromEntries, Wn = !!String.prototype.codePointAt, Zn = !!String.prototype.trimStart, Qn = !!String.prototype.trimEnd, Jn = !!Number.isSafeInteger, Yn = Jn ? Number.isSafeInteger : function(e) {
3025
+ var Wn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Zn = !!String.fromCodePoint, Qn = !!Object.fromEntries, Jn = !!String.prototype.codePointAt, Yn = !!String.prototype.trimStart, qn = !!String.prototype.trimEnd, Kn = !!Number.isSafeInteger, ei = Kn ? Number.isSafeInteger : function(e) {
2975
3026
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2976
- }, je = !0;
3027
+ }, ke = !0;
2977
3028
  try {
2978
- var qn = ur("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2979
- je = ((Oe = qn.exec("a")) === null || Oe === void 0 ? void 0 : Oe[0]) === "a";
3029
+ var ti = cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3030
+ ke = ((Ce = ti.exec("a")) === null || Ce === void 0 ? void 0 : Ce[0]) === "a";
2980
3031
  } catch (e) {
2981
- je = !1;
3032
+ ke = !1;
2982
3033
  }
2983
- var yt = Vn ? (
3034
+ var xt = Wn ? (
2984
3035
  // Native
2985
3036
  function(t, r, n) {
2986
3037
  return t.startsWith(r, n);
@@ -2990,7 +3041,7 @@ var yt = Vn ? (
2990
3041
  function(t, r, n) {
2991
3042
  return t.slice(n, n + r.length) === r;
2992
3043
  }
2993
- ), ke = Xn ? String.fromCodePoint : (
3044
+ ), Ve = Zn ? String.fromCodePoint : (
2994
3045
  // IE11
2995
3046
  function() {
2996
3047
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3002,9 +3053,9 @@ var yt = Vn ? (
3002
3053
  }
3003
3054
  return n;
3004
3055
  }
3005
- ), _t = (
3056
+ ), St = (
3006
3057
  // native
3007
- zn ? Object.fromEntries : (
3058
+ Qn ? Object.fromEntries : (
3008
3059
  // Ponyfill
3009
3060
  function(t) {
3010
3061
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3014,7 +3065,7 @@ var yt = Vn ? (
3014
3065
  return r;
3015
3066
  }
3016
3067
  )
3017
- ), ar = Wn ? (
3068
+ ), fr = Jn ? (
3018
3069
  // Native
3019
3070
  function(t, r) {
3020
3071
  return t.codePointAt(r);
@@ -3028,7 +3079,7 @@ var yt = Vn ? (
3028
3079
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3029
3080
  }
3030
3081
  }
3031
- ), Kn = Zn ? (
3082
+ ), ri = Yn ? (
3032
3083
  // Native
3033
3084
  function(t) {
3034
3085
  return t.trimStart();
@@ -3036,9 +3087,9 @@ var yt = Vn ? (
3036
3087
  ) : (
3037
3088
  // Ponyfill
3038
3089
  function(t) {
3039
- return t.replace(jn, "");
3090
+ return t.replace(Xn, "");
3040
3091
  }
3041
- ), ei = Qn ? (
3092
+ ), ni = qn ? (
3042
3093
  // Native
3043
3094
  function(t) {
3044
3095
  return t.trimEnd();
@@ -3046,32 +3097,32 @@ var yt = Vn ? (
3046
3097
  ) : (
3047
3098
  // Ponyfill
3048
3099
  function(t) {
3049
- return t.replace(kn, "");
3100
+ return t.replace(zn, "");
3050
3101
  }
3051
3102
  );
3052
- function ur(e, t) {
3103
+ function cr(e, t) {
3053
3104
  return new RegExp(e, t);
3054
3105
  }
3055
- var Ve;
3056
- if (je) {
3057
- var Et = ur("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3058
- Ve = function(t, r) {
3106
+ var Xe;
3107
+ if (ke) {
3108
+ var Tt = cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3109
+ Xe = function(t, r) {
3059
3110
  var n;
3060
- Et.lastIndex = r;
3061
- var i = Et.exec(t);
3111
+ Tt.lastIndex = r;
3112
+ var i = Tt.exec(t);
3062
3113
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3063
3114
  };
3064
3115
  } else
3065
- Ve = function(t, r) {
3116
+ Xe = function(t, r) {
3066
3117
  for (var n = []; ; ) {
3067
- var i = ar(t, r);
3068
- if (i === void 0 || lr(i) || ii(i))
3118
+ var i = fr(t, r);
3119
+ if (i === void 0 || pr(i) || ai(i))
3069
3120
  break;
3070
3121
  n.push(i), r += i >= 65536 ? 2 : 1;
3071
3122
  }
3072
- return ke.apply(void 0, n);
3123
+ return Ve.apply(void 0, n);
3073
3124
  };
3074
- var ti = (
3125
+ var ii = (
3075
3126
  /** @class */
3076
3127
  function() {
3077
3128
  function e(t, r) {
@@ -3102,7 +3153,7 @@ var ti = (
3102
3153
  if (n)
3103
3154
  break;
3104
3155
  return this.error(b.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
3105
- } else if (o === 60 && !this.ignoreTag && Xe(this.peek() || 0)) {
3156
+ } else if (o === 60 && !this.ignoreTag && ze(this.peek() || 0)) {
3106
3157
  var s = this.parseTag(t, r);
3107
3158
  if (s.err)
3108
3159
  return s;
@@ -3135,7 +3186,7 @@ var ti = (
3135
3186
  return o;
3136
3187
  var s = o.val, a = this.clonePosition();
3137
3188
  if (this.bumpIf("</")) {
3138
- if (this.isEOF() || !Xe(this.char()))
3189
+ if (this.isEOF() || !ze(this.char()))
3139
3190
  return this.error(b.INVALID_TAG, g(a, this.clonePosition()));
3140
3191
  var l = this.clonePosition(), u = this.parseTagName();
3141
3192
  return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, g(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -3153,7 +3204,7 @@ var ti = (
3153
3204
  return this.error(b.INVALID_TAG, g(n, this.clonePosition()));
3154
3205
  }, e.prototype.parseTagName = function() {
3155
3206
  var t = this.offset();
3156
- for (this.bump(); !this.isEOF() && ni(this.char()); )
3207
+ for (this.bump(); !this.isEOF() && si(this.char()); )
3157
3208
  this.bump();
3158
3209
  return this.message.slice(t, this.offset());
3159
3210
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3182,7 +3233,7 @@ var ti = (
3182
3233
  };
3183
3234
  }, e.prototype.tryParseLeftAngleBracket = function() {
3184
3235
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3185
- !ri(this.peek() || 0)) ? (this.bump(), "<") : null;
3236
+ !oi(this.peek() || 0)) ? (this.bump(), "<") : null;
3186
3237
  }, e.prototype.tryParseQuote = function(t) {
3187
3238
  if (this.isEOF() || this.char() !== 39)
3188
3239
  return null;
@@ -3216,12 +3267,12 @@ var ti = (
3216
3267
  r.push(n);
3217
3268
  this.bump();
3218
3269
  }
3219
- return ke.apply(void 0, r);
3270
+ return Ve.apply(void 0, r);
3220
3271
  }, e.prototype.tryParseUnquoted = function(t, r) {
3221
3272
  if (this.isEOF())
3222
3273
  return null;
3223
3274
  var n = this.char();
3224
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ke(n));
3275
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ve(n));
3225
3276
  }, e.prototype.parseArgument = function(t, r) {
3226
3277
  var n = this.clonePosition();
3227
3278
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3250,7 +3301,7 @@ var ti = (
3250
3301
  return this.error(b.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3251
3302
  }
3252
3303
  }, e.prototype.parseIdentifierIfPossible = function() {
3253
- var t = this.clonePosition(), r = this.offset(), n = Ve(this.message, r), i = r + n.length;
3304
+ var t = this.clonePosition(), r = this.offset(), n = Xe(this.message, r), i = r + n.length;
3254
3305
  this.bumpTo(i);
3255
3306
  var o = this.clonePosition(), s = g(t, o);
3256
3307
  return { value: n, location: s };
@@ -3269,7 +3320,7 @@ var ti = (
3269
3320
  var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3270
3321
  if (f.err)
3271
3322
  return f;
3272
- var c = ei(f.val);
3323
+ var c = ni(f.val);
3273
3324
  if (c.length === 0)
3274
3325
  return this.error(b.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
3275
3326
  var p = g(h, this.clonePosition());
@@ -3279,8 +3330,8 @@ var ti = (
3279
3330
  if (m.err)
3280
3331
  return m;
3281
3332
  var d = g(i, this.clonePosition());
3282
- if (u && yt(u == null ? void 0 : u.style, "::", 0)) {
3283
- var _ = Kn(u.style.slice(2));
3333
+ if (u && xt(u == null ? void 0 : u.style, "::", 0)) {
3334
+ var _ = ri(u.style.slice(2));
3284
3335
  if (a === "number") {
3285
3336
  var f = this.parseNumberSkeletonFromString(_, u.styleLocation);
3286
3337
  return f.err ? f : {
@@ -3291,12 +3342,12 @@ var ti = (
3291
3342
  if (_.length === 0)
3292
3343
  return this.error(b.EXPECT_DATE_TIME_SKELETON, d);
3293
3344
  var S = _;
3294
- this.locale && (S = Dn(_, this.locale));
3345
+ this.locale && (S = kn(_, this.locale));
3295
3346
  var c = {
3296
3347
  type: q.dateTime,
3297
3348
  pattern: S,
3298
3349
  location: u.styleLocation,
3299
- parsedOptions: this.shouldParseSkeletons ? Nn(S) : {}
3350
+ parsedOptions: this.shouldParseSkeletons ? Rn(S) : {}
3300
3351
  }, N = a === "date" ? E.date : E.time;
3301
3352
  return {
3302
3353
  val: { type: N, value: n, location: d, style: c },
@@ -3342,7 +3393,7 @@ var ti = (
3342
3393
  val: {
3343
3394
  type: E.select,
3344
3395
  value: n,
3345
- options: _t(V.val),
3396
+ options: St(V.val),
3346
3397
  location: v
3347
3398
  },
3348
3399
  err: null
@@ -3350,7 +3401,7 @@ var ti = (
3350
3401
  val: {
3351
3402
  type: E.plural,
3352
3403
  value: n,
3353
- options: _t(V.val),
3404
+ options: St(V.val),
3354
3405
  offset: L,
3355
3406
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3356
3407
  location: v
@@ -3401,7 +3452,7 @@ var ti = (
3401
3452
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3402
3453
  var n = [];
3403
3454
  try {
3404
- n = Ln(t);
3455
+ n = Fn(t);
3405
3456
  } catch (i) {
3406
3457
  return this.error(b.INVALID_NUMBER_SKELETON, r);
3407
3458
  }
@@ -3410,7 +3461,7 @@ var ti = (
3410
3461
  type: q.number,
3411
3462
  tokens: n,
3412
3463
  location: r,
3413
- parsedOptions: this.shouldParseSkeletons ? Un(n) : {}
3464
+ parsedOptions: this.shouldParseSkeletons ? jn(n) : {}
3414
3465
  },
3415
3466
  err: null
3416
3467
  };
@@ -3458,7 +3509,7 @@ var ti = (
3458
3509
  break;
3459
3510
  }
3460
3511
  var l = g(i, this.clonePosition());
3461
- return o ? (s *= n, Yn(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3512
+ return o ? (s *= n, ei(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3462
3513
  }, e.prototype.offset = function() {
3463
3514
  return this.position.offset;
3464
3515
  }, e.prototype.isEOF = function() {
@@ -3473,7 +3524,7 @@ var ti = (
3473
3524
  var t = this.position.offset;
3474
3525
  if (t >= this.message.length)
3475
3526
  throw Error("out of bound");
3476
- var r = ar(this.message, t);
3527
+ var r = fr(this.message, t);
3477
3528
  if (r === void 0)
3478
3529
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3479
3530
  return r;
@@ -3492,7 +3543,7 @@ var ti = (
3492
3543
  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);
3493
3544
  }
3494
3545
  }, e.prototype.bumpIf = function(t) {
3495
- if (yt(this.message, t, this.offset())) {
3546
+ if (xt(this.message, t, this.offset())) {
3496
3547
  for (var r = 0; r < t.length; r++)
3497
3548
  this.bump();
3498
3549
  return !0;
@@ -3514,7 +3565,7 @@ var ti = (
3514
3565
  break;
3515
3566
  }
3516
3567
  }, e.prototype.bumpSpace = function() {
3517
- for (; !this.isEOF() && lr(this.char()); )
3568
+ for (; !this.isEOF() && pr(this.char()); )
3518
3569
  this.bump();
3519
3570
  }, e.prototype.peek = function() {
3520
3571
  if (this.isEOF())
@@ -3524,37 +3575,38 @@ var ti = (
3524
3575
  }, e;
3525
3576
  }()
3526
3577
  );
3527
- function Xe(e) {
3578
+ function ze(e) {
3528
3579
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3529
3580
  }
3530
- function ri(e) {
3531
- return Xe(e) || e === 47;
3581
+ function oi(e) {
3582
+ return ze(e) || e === 47;
3532
3583
  }
3533
- function ni(e) {
3584
+ function si(e) {
3534
3585
  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;
3535
3586
  }
3536
- function lr(e) {
3587
+ function pr(e) {
3537
3588
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3538
3589
  }
3539
- function ii(e) {
3590
+ function ai(e) {
3540
3591
  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;
3541
3592
  }
3542
- function ze(e) {
3593
+ function We(e) {
3543
3594
  e.forEach(function(t) {
3544
- if (delete t.location, Kt(t) || er(t))
3595
+ if (delete t.location, nr(t) || ir(t))
3545
3596
  for (var r in t.options)
3546
- delete t.options[r].location, ze(t.options[r].value);
3547
- else Jt(t) && rr(t.style) || (Yt(t) || qt(t)) && Ge(t.style) ? delete t.style.location : tr(t) && ze(t.children);
3597
+ delete t.options[r].location, We(t.options[r].value);
3598
+ else
3599
+ er(t) && sr(t.style) || (tr(t) || rr(t)) && je(t.style) ? delete t.style.location : or(t) && We(t.children);
3548
3600
  });
3549
3601
  }
3550
- function oi(e, t) {
3602
+ function ui(e, t) {
3551
3603
  t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3552
- var r = new ti(e, t).parse();
3604
+ var r = new ii(e, t).parse();
3553
3605
  if (r.err) {
3554
3606
  var n = SyntaxError(b[r.err.kind]);
3555
3607
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3556
3608
  }
3557
- return t != null && t.captureLocation || ze(r.val), r.val;
3609
+ return t != null && t.captureLocation || We(r.val), r.val;
3558
3610
  }
3559
3611
  var K;
3560
3612
  (function(e) {
@@ -3572,7 +3624,7 @@ var xe = (
3572
3624
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3573
3625
  }, t;
3574
3626
  }(Error)
3575
- ), xt = (
3627
+ ), Ht = (
3576
3628
  /** @class */
3577
3629
  function(e) {
3578
3630
  F(t, e);
@@ -3581,7 +3633,7 @@ var xe = (
3581
3633
  }
3582
3634
  return t;
3583
3635
  }(xe)
3584
- ), si = (
3636
+ ), li = (
3585
3637
  /** @class */
3586
3638
  function(e) {
3587
3639
  F(t, e);
@@ -3590,7 +3642,7 @@ var xe = (
3590
3642
  }
3591
3643
  return t;
3592
3644
  }(xe)
3593
- ), ai = (
3645
+ ), hi = (
3594
3646
  /** @class */
3595
3647
  function(e) {
3596
3648
  F(t, e);
@@ -3603,17 +3655,17 @@ var xe = (
3603
3655
  (function(e) {
3604
3656
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3605
3657
  })(A || (A = {}));
3606
- function ui(e) {
3658
+ function fi(e) {
3607
3659
  return e.length < 2 ? e : e.reduce(function(t, r) {
3608
3660
  var n = t[t.length - 1];
3609
3661
  return !n || n.type !== A.literal || r.type !== A.literal ? t.push(r) : n.value += r.value, t;
3610
3662
  }, []);
3611
3663
  }
3612
- function li(e) {
3664
+ function ci(e) {
3613
3665
  return typeof e == "function";
3614
3666
  }
3615
3667
  function be(e, t, r, n, i, o, s) {
3616
- if (e.length === 1 && mt(e[0]))
3668
+ if (e.length === 1 && vt(e[0]))
3617
3669
  return [
3618
3670
  {
3619
3671
  type: A.literal,
@@ -3622,14 +3674,14 @@ function be(e, t, r, n, i, o, s) {
3622
3674
  ];
3623
3675
  for (var a = [], l = 0, u = e; l < u.length; l++) {
3624
3676
  var h = u[l];
3625
- if (mt(h)) {
3677
+ if (vt(h)) {
3626
3678
  a.push({
3627
3679
  type: A.literal,
3628
3680
  value: h.value
3629
3681
  });
3630
3682
  continue;
3631
3683
  }
3632
- if (Cn(h)) {
3684
+ if (Mn(h)) {
3633
3685
  typeof o == "number" && a.push({
3634
3686
  type: A.literal,
3635
3687
  value: r.getNumberFormat(t).format(o)
@@ -3638,43 +3690,43 @@ function be(e, t, r, n, i, o, s) {
3638
3690
  }
3639
3691
  var f = h.value;
3640
3692
  if (!(i && f in i))
3641
- throw new ai(f, s);
3693
+ throw new hi(f, s);
3642
3694
  var c = i[f];
3643
- if (On(h)) {
3695
+ if (Nn(h)) {
3644
3696
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3645
3697
  type: typeof c == "string" ? A.literal : A.object,
3646
3698
  value: c
3647
3699
  });
3648
3700
  continue;
3649
3701
  }
3650
- if (Yt(h)) {
3651
- var p = typeof h.style == "string" ? n.date[h.style] : Ge(h.style) ? h.style.parsedOptions : void 0;
3702
+ if (tr(h)) {
3703
+ var p = typeof h.style == "string" ? n.date[h.style] : je(h.style) ? h.style.parsedOptions : void 0;
3652
3704
  a.push({
3653
3705
  type: A.literal,
3654
3706
  value: r.getDateTimeFormat(t, p).format(c)
3655
3707
  });
3656
3708
  continue;
3657
3709
  }
3658
- if (qt(h)) {
3659
- var p = typeof h.style == "string" ? n.time[h.style] : Ge(h.style) ? h.style.parsedOptions : n.time.medium;
3710
+ if (rr(h)) {
3711
+ var p = typeof h.style == "string" ? n.time[h.style] : je(h.style) ? h.style.parsedOptions : n.time.medium;
3660
3712
  a.push({
3661
3713
  type: A.literal,
3662
3714
  value: r.getDateTimeFormat(t, p).format(c)
3663
3715
  });
3664
3716
  continue;
3665
3717
  }
3666
- if (Jt(h)) {
3667
- var p = typeof h.style == "string" ? n.number[h.style] : rr(h.style) ? h.style.parsedOptions : void 0;
3718
+ if (er(h)) {
3719
+ var p = typeof h.style == "string" ? n.number[h.style] : sr(h.style) ? h.style.parsedOptions : void 0;
3668
3720
  p && p.scale && (c = c * (p.scale || 1)), a.push({
3669
3721
  type: A.literal,
3670
3722
  value: r.getNumberFormat(t, p).format(c)
3671
3723
  });
3672
3724
  continue;
3673
3725
  }
3674
- if (tr(h)) {
3726
+ if (or(h)) {
3675
3727
  var m = h.children, d = h.value, _ = i[d];
3676
- if (!li(_))
3677
- throw new si(d, "function", s);
3728
+ if (!ci(_))
3729
+ throw new li(d, "function", s);
3678
3730
  var S = be(m, t, r, n, i, o), N = _(S.map(function(L) {
3679
3731
  return L.value;
3680
3732
  }));
@@ -3685,14 +3737,14 @@ function be(e, t, r, n, i, o, s) {
3685
3737
  };
3686
3738
  }));
3687
3739
  }
3688
- if (Kt(h)) {
3740
+ if (nr(h)) {
3689
3741
  var T = h.options[c] || h.options.other;
3690
3742
  if (!T)
3691
- throw new xt(h.value, c, Object.keys(h.options), s);
3743
+ throw new Ht(h.value, c, Object.keys(h.options), s);
3692
3744
  a.push.apply(a, be(T.value, t, r, n, i));
3693
3745
  continue;
3694
3746
  }
3695
- if (er(h)) {
3747
+ if (ir(h)) {
3696
3748
  var T = h.options["=".concat(c)];
3697
3749
  if (!T) {
3698
3750
  if (!Intl.PluralRules)
@@ -3703,24 +3755,24 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
3703
3755
  T = h.options[w] || h.options.other;
3704
3756
  }
3705
3757
  if (!T)
3706
- throw new xt(h.value, c, Object.keys(h.options), s);
3758
+ throw new Ht(h.value, c, Object.keys(h.options), s);
3707
3759
  a.push.apply(a, be(T.value, t, r, n, i, c - (h.offset || 0)));
3708
3760
  continue;
3709
3761
  }
3710
3762
  }
3711
- return ui(a);
3763
+ return fi(a);
3712
3764
  }
3713
- function hi(e, t) {
3765
+ function pi(e, t) {
3714
3766
  return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3715
3767
  return r[n] = y(y({}, e[n]), t[n] || {}), r;
3716
3768
  }, {})) : e;
3717
3769
  }
3718
- function fi(e, t) {
3770
+ function di(e, t) {
3719
3771
  return t ? Object.keys(e).reduce(function(r, n) {
3720
- return r[n] = hi(e[n], t[n]), r;
3772
+ return r[n] = pi(e[n], t[n]), r;
3721
3773
  }, y({}, e)) : e;
3722
3774
  }
3723
- function Ce(e) {
3775
+ function Ie(e) {
3724
3776
  return {
3725
3777
  create: function() {
3726
3778
  return {
@@ -3734,39 +3786,39 @@ function Ce(e) {
3734
3786
  }
3735
3787
  };
3736
3788
  }
3737
- function ci(e) {
3789
+ function mi(e) {
3738
3790
  return e === void 0 && (e = {
3739
3791
  number: {},
3740
3792
  dateTime: {},
3741
3793
  pluralRules: {}
3742
3794
  }), {
3743
- getNumberFormat: Be(function() {
3795
+ getNumberFormat: Pe(function() {
3744
3796
  for (var t, r = [], n = 0; n < arguments.length; n++)
3745
3797
  r[n] = arguments[n];
3746
3798
  return new ((t = Intl.NumberFormat).bind.apply(t, J([void 0], r, !1)))();
3747
3799
  }, {
3748
- cache: Ce(e.number),
3749
- strategy: Pe.variadic
3800
+ cache: Ie(e.number),
3801
+ strategy: Oe.variadic
3750
3802
  }),
3751
- getDateTimeFormat: Be(function() {
3803
+ getDateTimeFormat: Pe(function() {
3752
3804
  for (var t, r = [], n = 0; n < arguments.length; n++)
3753
3805
  r[n] = arguments[n];
3754
3806
  return new ((t = Intl.DateTimeFormat).bind.apply(t, J([void 0], r, !1)))();
3755
3807
  }, {
3756
- cache: Ce(e.dateTime),
3757
- strategy: Pe.variadic
3808
+ cache: Ie(e.dateTime),
3809
+ strategy: Oe.variadic
3758
3810
  }),
3759
- getPluralRules: Be(function() {
3811
+ getPluralRules: Pe(function() {
3760
3812
  for (var t, r = [], n = 0; n < arguments.length; n++)
3761
3813
  r[n] = arguments[n];
3762
3814
  return new ((t = Intl.PluralRules).bind.apply(t, J([void 0], r, !1)))();
3763
3815
  }, {
3764
- cache: Ce(e.pluralRules),
3765
- strategy: Pe.variadic
3816
+ cache: Ie(e.pluralRules),
3817
+ strategy: Oe.variadic
3766
3818
  })
3767
3819
  };
3768
3820
  }
3769
- var pi = (
3821
+ var bi = (
3770
3822
  /** @class */
3771
3823
  function() {
3772
3824
  function e(t, r, n, i) {
@@ -3798,13 +3850,13 @@ var pi = (
3798
3850
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3799
3851
  var s = i || {};
3800
3852
  s.formatters;
3801
- var a = Vr(s, ["formatters"]);
3853
+ var a = Zr(s, ["formatters"]);
3802
3854
  this.ast = e.__parse(t, y(y({}, a), { locale: this.resolvedLocale }));
3803
3855
  } else
3804
3856
  this.ast = t;
3805
3857
  if (!Array.isArray(this.ast))
3806
3858
  throw new TypeError("A message must be provided as a String or AST.");
3807
- this.formats = fi(e.formats, n), this.formatters = i && i.formatters || ci(this.formatterCache);
3859
+ this.formats = di(e.formats, n), this.formatters = i && i.formatters || mi(this.formatterCache);
3808
3860
  }
3809
3861
  return Object.defineProperty(e, "defaultLocale", {
3810
3862
  get: function() {
@@ -3817,7 +3869,7 @@ var pi = (
3817
3869
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3818
3870
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3819
3871
  }
3820
- }, e.__parse = oi, e.formats = {
3872
+ }, e.__parse = ui, e.formats = {
3821
3873
  number: {
3822
3874
  integer: {
3823
3875
  maximumFractionDigits: 0
@@ -3878,7 +3930,7 @@ var pi = (
3878
3930
  }, e;
3879
3931
  }()
3880
3932
  );
3881
- function di(e, t) {
3933
+ function gi(e, t) {
3882
3934
  if (t == null)
3883
3935
  return;
3884
3936
  if (t in e)
@@ -3899,92 +3951,92 @@ function di(e, t) {
3899
3951
  n = void 0;
3900
3952
  return n;
3901
3953
  }
3902
- const U = {}, mi = (e, t, r) => r && (t in U || (U[t] = {}), e in U[t] || (U[t][e] = r), r), hr = (e, t) => {
3954
+ const U = {}, vi = (e, t, r) => r && (t in U || (U[t] = {}), e in U[t] || (U[t][e] = r), r), dr = (e, t) => {
3903
3955
  if (t == null)
3904
3956
  return;
3905
3957
  if (t in U && e in U[t])
3906
3958
  return U[t][e];
3907
3959
  const r = Se(t);
3908
3960
  for (let n = 0; n < r.length; n++) {
3909
- const i = r[n], o = gi(i, e);
3961
+ const i = r[n], o = _i(i, e);
3910
3962
  if (o)
3911
- return mi(e, t, o);
3963
+ return vi(e, t, o);
3912
3964
  }
3913
3965
  };
3914
- let Ye;
3966
+ let et;
3915
3967
  const le = Ee({});
3916
- function bi(e) {
3917
- return Ye[e] || null;
3968
+ function yi(e) {
3969
+ return et[e] || null;
3918
3970
  }
3919
- function fr(e) {
3920
- return e in Ye;
3971
+ function mr(e) {
3972
+ return e in et;
3921
3973
  }
3922
- function gi(e, t) {
3923
- if (!fr(e))
3974
+ function _i(e, t) {
3975
+ if (!mr(e))
3924
3976
  return null;
3925
- const r = bi(e);
3926
- return di(r, t);
3977
+ const r = yi(e);
3978
+ return gi(r, t);
3927
3979
  }
3928
- function vi(e) {
3980
+ function Ei(e) {
3929
3981
  if (e == null)
3930
3982
  return;
3931
3983
  const t = Se(e);
3932
3984
  for (let r = 0; r < t.length; r++) {
3933
3985
  const n = t[r];
3934
- if (fr(n))
3986
+ if (mr(n))
3935
3987
  return n;
3936
3988
  }
3937
3989
  }
3938
- function cr(e, ...t) {
3939
- delete U[e], le.update((r) => (r[e] = xn.all([r[e] || {}, ...t]), r));
3990
+ function br(e, ...t) {
3991
+ delete U[e], le.update((r) => (r[e] = wn.all([r[e] || {}, ...t]), r));
3940
3992
  }
3941
3993
  te(
3942
3994
  [le],
3943
3995
  ([e]) => Object.keys(e)
3944
3996
  );
3945
- le.subscribe((e) => Ye = e);
3997
+ le.subscribe((e) => et = e);
3946
3998
  const ge = {};
3947
- function yi(e, t) {
3999
+ function xi(e, t) {
3948
4000
  ge[e].delete(t), ge[e].size === 0 && delete ge[e];
3949
4001
  }
3950
- function pr(e) {
4002
+ function gr(e) {
3951
4003
  return ge[e];
3952
4004
  }
3953
- function _i(e) {
4005
+ function Si(e) {
3954
4006
  return Se(e).map((t) => {
3955
- const r = pr(t);
4007
+ const r = gr(t);
3956
4008
  return [t, r ? [...r] : []];
3957
4009
  }).filter(([, t]) => t.length > 0);
3958
4010
  }
3959
- function We(e) {
4011
+ function Ze(e) {
3960
4012
  return e == null ? !1 : Se(e).some(
3961
4013
  (t) => {
3962
4014
  var r;
3963
- return (r = pr(t)) == null ? void 0 : r.size;
4015
+ return (r = gr(t)) == null ? void 0 : r.size;
3964
4016
  }
3965
4017
  );
3966
4018
  }
3967
- function Ei(e, t) {
4019
+ function Ti(e, t) {
3968
4020
  return Promise.all(
3969
- t.map((n) => (yi(e, n), n().then((i) => i.default || i)))
3970
- ).then((n) => cr(e, ...n));
4021
+ t.map((n) => (xi(e, n), n().then((i) => i.default || i)))
4022
+ ).then((n) => br(e, ...n));
3971
4023
  }
3972
4024
  const ne = {};
3973
- function dr(e) {
3974
- if (!We(e))
4025
+ function vr(e) {
4026
+ if (!Ze(e))
3975
4027
  return e in ne ? ne[e] : Promise.resolve();
3976
- const t = _i(e);
4028
+ const t = Si(e);
3977
4029
  return ne[e] = Promise.all(
3978
4030
  t.map(
3979
- ([r, n]) => Ei(r, n)
4031
+ ([r, n]) => Ti(r, n)
3980
4032
  )
3981
4033
  ).then(() => {
3982
- if (We(e))
3983
- return dr(e);
4034
+ if (Ze(e))
4035
+ return vr(e);
3984
4036
  delete ne[e];
3985
4037
  }), ne[e];
3986
4038
  }
3987
- const xi = {
4039
+ const Hi = {
3988
4040
  number: {
3989
4041
  scientific: { notation: "scientific" },
3990
4042
  engineering: { notation: "engineering" },
@@ -4013,57 +4065,57 @@ const xi = {
4013
4065
  timeZoneName: "short"
4014
4066
  }
4015
4067
  }
4016
- }, Si = {
4068
+ }, wi = {
4017
4069
  fallbackLocale: null,
4018
4070
  loadingDelay: 200,
4019
- formats: xi,
4071
+ formats: Hi,
4020
4072
  warnOnMissingMessages: !0,
4021
4073
  handleMissingMessage: void 0,
4022
4074
  ignoreTag: !0
4023
- }, Ti = Si;
4075
+ }, Ai = wi;
4024
4076
  function ee() {
4025
- return Ti;
4077
+ return Ai;
4026
4078
  }
4027
- const Ie = Ee(!1);
4028
- var Hi = Object.defineProperty, wi = Object.defineProperties, Ai = Object.getOwnPropertyDescriptors, St = Object.getOwnPropertySymbols, Bi = Object.prototype.hasOwnProperty, Pi = Object.prototype.propertyIsEnumerable, Tt = (e, t, r) => t in e ? Hi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Oi = (e, t) => {
4079
+ const Ne = Ee(!1);
4080
+ var Bi = Object.defineProperty, Pi = Object.defineProperties, Oi = Object.getOwnPropertyDescriptors, wt = Object.getOwnPropertySymbols, Ci = Object.prototype.hasOwnProperty, Ii = Object.prototype.propertyIsEnumerable, At = (e, t, r) => t in e ? Bi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ni = (e, t) => {
4029
4081
  for (var r in t || (t = {}))
4030
- Bi.call(t, r) && Tt(e, r, t[r]);
4031
- if (St)
4032
- for (var r of St(t))
4033
- Pi.call(t, r) && Tt(e, r, t[r]);
4082
+ Ci.call(t, r) && At(e, r, t[r]);
4083
+ if (wt)
4084
+ for (var r of wt(t))
4085
+ Ii.call(t, r) && At(e, r, t[r]);
4034
4086
  return e;
4035
- }, Ci = (e, t) => wi(e, Ai(t));
4036
- let Ze;
4087
+ }, Mi = (e, t) => Pi(e, Oi(t));
4088
+ let Qe;
4037
4089
  const ve = Ee(null);
4038
- function Ht(e) {
4090
+ function Bt(e) {
4039
4091
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4040
4092
  }
4041
4093
  function Se(e, t = ee().fallbackLocale) {
4042
- const r = Ht(e);
4043
- return t ? [.../* @__PURE__ */ new Set([...r, ...Ht(t)])] : r;
4094
+ const r = Bt(e);
4095
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Bt(t)])] : r;
4044
4096
  }
4045
4097
  function k() {
4046
- return Ze != null ? Ze : void 0;
4098
+ return Qe != null ? Qe : void 0;
4047
4099
  }
4048
4100
  ve.subscribe((e) => {
4049
- Ze = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4101
+ Qe = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4050
4102
  });
4051
- const Ii = (e) => {
4052
- if (e && vi(e) && We(e)) {
4103
+ const Li = (e) => {
4104
+ if (e && Ei(e) && Ze(e)) {
4053
4105
  const { loadingDelay: t } = ee();
4054
4106
  let r;
4055
4107
  return typeof window != "undefined" && k() != null && t ? r = window.setTimeout(
4056
- () => Ie.set(!0),
4108
+ () => Ne.set(!0),
4057
4109
  t
4058
- ) : Ie.set(!0), dr(e).then(() => {
4110
+ ) : Ne.set(!0), vr(e).then(() => {
4059
4111
  ve.set(e);
4060
4112
  }).finally(() => {
4061
- clearTimeout(r), Ie.set(!1);
4113
+ clearTimeout(r), Ne.set(!1);
4062
4114
  });
4063
4115
  }
4064
4116
  return ve.set(e);
4065
- }, he = Ci(Oi({}, ve), {
4066
- set: Ii
4117
+ }, he = Mi(Ni({}, ve), {
4118
+ set: Li
4067
4119
  }), Te = (e) => {
4068
4120
  const t = /* @__PURE__ */ Object.create(null);
4069
4121
  return (n) => {
@@ -4071,20 +4123,20 @@ const Ii = (e) => {
4071
4123
  return i in t ? t[i] : t[i] = e(n);
4072
4124
  };
4073
4125
  };
4074
- var Ni = Object.defineProperty, ye = Object.getOwnPropertySymbols, mr = Object.prototype.hasOwnProperty, br = Object.prototype.propertyIsEnumerable, wt = (e, t, r) => t in e ? Ni(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, qe = (e, t) => {
4126
+ var Ri = Object.defineProperty, ye = Object.getOwnPropertySymbols, yr = Object.prototype.hasOwnProperty, _r = Object.prototype.propertyIsEnumerable, Pt = (e, t, r) => t in e ? Ri(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, tt = (e, t) => {
4075
4127
  for (var r in t || (t = {}))
4076
- mr.call(t, r) && wt(e, r, t[r]);
4128
+ yr.call(t, r) && Pt(e, r, t[r]);
4077
4129
  if (ye)
4078
4130
  for (var r of ye(t))
4079
- br.call(t, r) && wt(e, r, t[r]);
4131
+ _r.call(t, r) && Pt(e, r, t[r]);
4080
4132
  return e;
4081
4133
  }, re = (e, t) => {
4082
4134
  var r = {};
4083
4135
  for (var n in e)
4084
- mr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4136
+ yr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4085
4137
  if (e != null && ye)
4086
4138
  for (var n of ye(e))
4087
- t.indexOf(n) < 0 && br.call(e, n) && (r[n] = e[n]);
4139
+ t.indexOf(n) < 0 && _r.call(e, n) && (r[n] = e[n]);
4088
4140
  return r;
4089
4141
  };
4090
4142
  const se = (e, t) => {
@@ -4092,21 +4144,21 @@ const se = (e, t) => {
4092
4144
  if (e in r && t in r[e])
4093
4145
  return r[e][t];
4094
4146
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4095
- }, Mi = Te(
4147
+ }, $i = Te(
4096
4148
  (e) => {
4097
4149
  var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
4098
4150
  if (r == null)
4099
4151
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4100
4152
  return n && (i = se("number", n)), new Intl.NumberFormat(r, i);
4101
4153
  }
4102
- ), Li = Te(
4154
+ ), Fi = Te(
4103
4155
  (e) => {
4104
4156
  var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
4105
4157
  if (r == null)
4106
4158
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4107
4159
  return n ? i = se("date", n) : Object.keys(i).length === 0 && (i = se("date", "short")), new Intl.DateTimeFormat(r, i);
4108
4160
  }
4109
- ), Ri = Te(
4161
+ ), Ui = Te(
4110
4162
  (e) => {
4111
4163
  var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
4112
4164
  if (r == null)
@@ -4115,33 +4167,33 @@ const se = (e, t) => {
4115
4167
  );
4116
4168
  return n ? i = se("time", n) : Object.keys(i).length === 0 && (i = se("time", "short")), new Intl.DateTimeFormat(r, i);
4117
4169
  }
4118
- ), $i = (e = {}) => {
4170
+ ), Di = (e = {}) => {
4119
4171
  var t = e, {
4120
4172
  locale: r = k()
4121
4173
  } = t, n = re(t, [
4122
4174
  "locale"
4123
4175
  ]);
4124
- return Mi(qe({ locale: r }, n));
4125
- }, Fi = (e = {}) => {
4176
+ return $i(tt({ locale: r }, n));
4177
+ }, Gi = (e = {}) => {
4126
4178
  var t = e, {
4127
4179
  locale: r = k()
4128
4180
  } = t, n = re(t, [
4129
4181
  "locale"
4130
4182
  ]);
4131
- return Li(qe({ locale: r }, n));
4132
- }, Ui = (e = {}) => {
4183
+ return Fi(tt({ locale: r }, n));
4184
+ }, ji = (e = {}) => {
4133
4185
  var t = e, {
4134
4186
  locale: r = k()
4135
4187
  } = t, n = re(t, [
4136
4188
  "locale"
4137
4189
  ]);
4138
- return Ri(qe({ locale: r }, n));
4139
- }, Di = Te(
4190
+ return Ui(tt({ locale: r }, n));
4191
+ }, ki = Te(
4140
4192
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4141
- (e, t = k()) => new pi(e, t, ee().formats, {
4193
+ (e, t = k()) => new bi(e, t, ee().formats, {
4142
4194
  ignoreTag: ee().ignoreTag
4143
4195
  })
4144
- ), Gi = (e, t = {}) => {
4196
+ ), Vi = (e, t = {}) => {
4145
4197
  var r, n, i, o;
4146
4198
  let s = t;
4147
4199
  typeof e == "object" && (s = e, e = s.id);
@@ -4154,7 +4206,7 @@ const se = (e, t) => {
4154
4206
  throw new Error(
4155
4207
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4156
4208
  );
4157
- let h = hr(e, l);
4209
+ let h = dr(e, l);
4158
4210
  if (!h)
4159
4211
  h = (o = (i = (n = (r = ee()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4160
4212
  else if (typeof h != "string")
@@ -4165,7 +4217,7 @@ const se = (e, t) => {
4165
4217
  return h;
4166
4218
  let f = h;
4167
4219
  try {
4168
- f = Di(h, l).format(a);
4220
+ f = ki(h, l).format(a);
4169
4221
  } catch (c) {
4170
4222
  c instanceof Error && console.warn(
4171
4223
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4173,17 +4225,17 @@ const se = (e, t) => {
4173
4225
  );
4174
4226
  }
4175
4227
  return f;
4176
- }, ji = (e, t) => Ui(t).format(e), ki = (e, t) => Fi(t).format(e), Vi = (e, t) => $i(t).format(e), Xi = (e, t = k()) => hr(e, t), zi = te([he, le], () => Gi);
4177
- te([he], () => ji);
4178
- te([he], () => ki);
4179
- te([he], () => Vi);
4180
- te([he, le], () => Xi);
4181
- window.emWidgets = { topic: on };
4228
+ }, Xi = (e, t) => ji(t).format(e), zi = (e, t) => Gi(t).format(e), Wi = (e, t) => Di(t).format(e), Zi = (e, t = k()) => dr(e, t), Qi = te([he, le], () => Vi);
4229
+ te([he], () => Xi);
4230
+ te([he], () => zi);
4231
+ te([he], () => Wi);
4232
+ te([he, le], () => Zi);
4233
+ window.emWidgets = { topic: ln };
4182
4234
  const C = (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));
4183
- function At(e, t) {
4184
- cr(e, t);
4235
+ function Ot(e, t) {
4236
+ br(e, t);
4185
4237
  }
4186
- const Bt = {
4238
+ const Ct = {
4187
4239
  en: {
4188
4240
  tournaments: "Tournaments",
4189
4241
  all: "All",
@@ -4262,23 +4314,23 @@ const Bt = {
4262
4314
  finished: "Finished"
4263
4315
  }
4264
4316
  };
4265
- function Wi(e) {
4266
- Tr(e, "svelte-szp116", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}ul{display:flex;gap:10px;overflow-x:auto}ul.MobileClass{padding-top:21px}li:first-child{height:100%;position:realtive;padding:1em 0;margin:0;font-size:14px;text-align:center;letter-spacing:0px;color:var(--emw--color-white, #FFFFFF);opacity:1}li.MobileClass{position:absolute;left:10px;top:-15px;font-size:14px;height:auto}button{display:flex;align-items:center;background-color:transparent;justify-content:center;padding:10px;height:40px;border:1px solid var(--emw--color-white, #FFFFFF);min-width:40px;text-align:center;color:var(--emw--color-white, #FFFFFF)}button.MobileClass{height:30px}button:hover{background-color:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--color-black, #000000);cursor:pointer}.FiltersController{color:var(--emw--color-white, #FFFFFF);display:flex;justify-content:flex-end;margin-bottom:20px}.FiltersController.MobileClass{justify-content:flex-start;margin-bottom:10px}.FiltersController .FilterButton{font-size:14px;letter-spacing:0px;opacity:1;text-transform:uppercase}.FiltersController .FilterButton.MobileClass{font-size:10px}.FiltersController .Active{background-color:var(--emw--color-gray-300, #58586B);border:1px solid var(--emw--color-gray-300, #58586B)}.FiltersController .Active:hover{background-color:var(--emw--color-gray-300, #58586B);border:1px solid var(--emw--color-gray-300, #58586B)}");
4317
+ function Ji(e) {
4318
+ Br(e, "svelte-szp116", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}ul{display:flex;gap:10px;overflow-x:auto}ul.MobileClass{padding-top:21px}li:first-child{height:100%;position:realtive;padding:1em 0;margin:0;font-size:14px;text-align:center;letter-spacing:0px;color:var(--emw--color-white, #FFFFFF);opacity:1}li.MobileClass{position:absolute;left:10px;top:-15px;font-size:14px;height:auto}button{display:flex;align-items:center;background-color:transparent;justify-content:center;padding:10px;height:40px;border:1px solid var(--emw--color-white, #FFFFFF);min-width:40px;text-align:center;color:var(--emw--color-white, #FFFFFF)}button.MobileClass{height:30px}button:hover{background-color:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--color-black, #000000);cursor:pointer}.FiltersController{color:var(--emw--color-white, #FFFFFF);display:flex;justify-content:flex-end;margin-bottom:20px}.FiltersController.MobileClass{justify-content:flex-start;margin-bottom:10px}.FiltersController .FilterButton{font-size:14px;letter-spacing:0px;opacity:1;text-transform:uppercase}.FiltersController .FilterButton.MobileClass{font-size:10px}.FiltersController .Active{background-color:var(--emw--color-gray-300, #58586B);border:1px solid var(--emw--color-gray-300, #58586B)}.FiltersController .Active:hover{background-color:var(--emw--color-gray-300, #58586B);border:1px solid var(--emw--color-gray-300, #58586B)}");
4267
4319
  }
4268
- function Pt(e, t, r) {
4320
+ function It(e, t, r) {
4269
4321
  const n = e.slice();
4270
4322
  return n[22] = t[r], n[24] = r, n;
4271
4323
  }
4272
- function Ot(e) {
4324
+ function Nt(e) {
4273
4325
  let t, r, n = (
4274
4326
  /*$_*/
4275
4327
  e[4]("tournaments") + ""
4276
- ), i, o, s, a = st(
4328
+ ), i, o, s, a = lt(
4277
4329
  /*filterItems*/
4278
4330
  e[1]
4279
4331
  ), l = [];
4280
4332
  for (let u = 0; u < a.length; u += 1)
4281
- l[u] = Rt(Pt(e, a, u));
4333
+ l[u] = Ut(It(e, a, u));
4282
4334
  return {
4283
4335
  c() {
4284
4336
  t = D("ul"), r = D("li"), i = j(n), o = j(":"), s = W();
@@ -4308,14 +4360,14 @@ function Ot(e) {
4308
4360
  16 && n !== (n = /*$_*/
4309
4361
  u[4]("tournaments") + "") && ue(i, n), h & /*makeButtonActive, filterItems, activeIndexes, allActive, userAgent, $_*/
4310
4362
  126) {
4311
- a = st(
4363
+ a = lt(
4312
4364
  /*filterItems*/
4313
4365
  u[1]
4314
4366
  );
4315
4367
  let f;
4316
4368
  for (f = 0; f < a.length; f += 1) {
4317
- const c = Pt(u, a, f);
4318
- l[f] ? l[f].p(c, h) : (l[f] = Rt(c), l[f].c(), l[f].m(t, null));
4369
+ const c = It(u, a, f);
4370
+ l[f] ? l[f].p(c, h) : (l[f] = Ut(c), l[f].c(), l[f].m(t, null));
4319
4371
  }
4320
4372
  for (; f < l.length; f += 1)
4321
4373
  l[f].d(1);
@@ -4323,15 +4375,15 @@ function Ot(e) {
4323
4375
  }
4324
4376
  },
4325
4377
  d(u) {
4326
- u && M(t), Ar(l, u);
4378
+ u && M(t), Cr(l, u);
4327
4379
  }
4328
4380
  };
4329
4381
  }
4330
- function Ct(e) {
4382
+ function Mt(e) {
4331
4383
  let t, r;
4332
4384
  return {
4333
4385
  c() {
4334
- t = it("svg"), r = it("path"), x(r, "d", "M10.97 4.97a.75.75 0 0 1 1.07 1.05l-3.99 4.99a.75.75 0 0 1-1.08.02L4.324 8.384a.75.75 0 1 1 1.06-1.06l2.094 2.093 3.473-4.425a.267.267 0 0 1 .02-.022z"), x(t, "xmlns", "http://www.w3.org/2000/svg"), x(t, "width", "16"), x(t, "height", "16"), x(t, "fill", "currentColor"), x(t, "class", "bi bi-check"), x(t, "part", "bi bi-check"), x(t, "viewBox", "0 0 16 16");
4386
+ t = at("svg"), r = at("path"), x(r, "d", "M10.97 4.97a.75.75 0 0 1 1.07 1.05l-3.99 4.99a.75.75 0 0 1-1.08.02L4.324 8.384a.75.75 0 1 1 1.06-1.06l2.094 2.093 3.473-4.425a.267.267 0 0 1 .02-.022z"), x(t, "xmlns", "http://www.w3.org/2000/svg"), x(t, "width", "16"), x(t, "height", "16"), x(t, "fill", "currentColor"), x(t, "class", "bi bi-check"), x(t, "part", "bi bi-check"), x(t, "viewBox", "0 0 16 16");
4335
4387
  },
4336
4388
  m(n, i) {
4337
4389
  $(n, t, i), B(t, r);
@@ -4341,7 +4393,7 @@ function Ct(e) {
4341
4393
  }
4342
4394
  };
4343
4395
  }
4344
- function It(e) {
4396
+ function Lt(e) {
4345
4397
  let t = (
4346
4398
  /*$_*/
4347
4399
  e[4]("scheduled") + ""
@@ -4363,7 +4415,7 @@ function It(e) {
4363
4415
  }
4364
4416
  };
4365
4417
  }
4366
- function Nt(e) {
4418
+ function Rt(e) {
4367
4419
  let t = (
4368
4420
  /*$_*/
4369
4421
  e[4]("ongoing") + ""
@@ -4385,7 +4437,7 @@ function Nt(e) {
4385
4437
  }
4386
4438
  };
4387
4439
  }
4388
- function Mt(e) {
4440
+ function $t(e) {
4389
4441
  let t = (
4390
4442
  /*$_*/
4391
4443
  e[4]("finished") + ""
@@ -4407,7 +4459,7 @@ function Mt(e) {
4407
4459
  }
4408
4460
  };
4409
4461
  }
4410
- function Lt(e) {
4462
+ function Ft(e) {
4411
4463
  let t = (
4412
4464
  /*$_*/
4413
4465
  e[4]("all") + ""
@@ -4429,7 +4481,7 @@ function Lt(e) {
4429
4481
  }
4430
4482
  };
4431
4483
  }
4432
- function Rt(e) {
4484
+ function Ut(e) {
4433
4485
  let t, r, n, i, o, s, a, l, u, h, f, c, p = (
4434
4486
  /*activeIndexes*/
4435
4487
  (e[2][
@@ -4437,19 +4489,19 @@ function Rt(e) {
4437
4489
  e[24]
4438
4490
  ] == 1 || /*allActive*/
4439
4491
  e[3] && /*index*/
4440
- e[24] == 0) && Ct()
4492
+ e[24] == 0) && Mt()
4441
4493
  ), m = (
4442
4494
  /*filter*/
4443
- e[22] == "Scheduled" && It(e)
4495
+ e[22] == "Scheduled" && Lt(e)
4444
4496
  ), d = (
4445
4497
  /*filter*/
4446
- e[22] == "Ongoing" && Nt(e)
4498
+ e[22] == "Ongoing" && Rt(e)
4447
4499
  ), _ = (
4448
4500
  /*filter*/
4449
- e[22] == "Finished" && Mt(e)
4501
+ e[22] == "Finished" && $t(e)
4450
4502
  ), S = (
4451
4503
  /*filter*/
4452
- e[22] == "All" && Lt(e)
4504
+ e[22] == "All" && Ft(e)
4453
4505
  );
4454
4506
  function N() {
4455
4507
  return (
@@ -4491,7 +4543,7 @@ function Rt(e) {
4491
4543
  ) ? "MobileClass" : "Non-MobileClass/empty")), x(t, "class", "FiltersItem"), x(t, "part", "FiltersItem");
4492
4544
  },
4493
4545
  m(T, w) {
4494
- $(T, t, w), B(t, r), p && p.m(r, null), B(r, n), B(r, i), m && m.m(i, null), B(i, o), d && d.m(i, null), B(i, s), _ && _.m(i, null), B(i, a), S && S.m(i, null), B(t, h), f || (c = Br(t, "click", N), f = !0);
4546
+ $(T, t, w), B(t, r), p && p.m(r, null), B(r, n), B(r, i), m && m.m(i, null), B(i, o), d && d.m(i, null), B(i, s), _ && _.m(i, null), B(i, a), S && S.m(i, null), B(t, h), f || (c = Ir(t, "click", N), f = !0);
4495
4547
  },
4496
4548
  p(T, w) {
4497
4549
  e = T, /*activeIndexes*/
@@ -4500,11 +4552,11 @@ function Rt(e) {
4500
4552
  e[24]
4501
4553
  ] == 1 || /*allActive*/
4502
4554
  e[3] && /*index*/
4503
- e[24] == 0 ? p || (p = Ct(), p.c(), p.m(r, n)) : p && (p.d(1), p = null), /*filter*/
4504
- e[22] == "Scheduled" ? m ? m.p(e, w) : (m = It(e), m.c(), m.m(i, o)) : m && (m.d(1), m = null), /*filter*/
4505
- e[22] == "Ongoing" ? d ? d.p(e, w) : (d = Nt(e), d.c(), d.m(i, s)) : d && (d.d(1), d = null), /*filter*/
4506
- e[22] == "Finished" ? _ ? _.p(e, w) : (_ = Mt(e), _.c(), _.m(i, a)) : _ && (_.d(1), _ = null), /*filter*/
4507
- e[22] == "All" ? S ? S.p(e, w) : (S = Lt(e), S.c(), S.m(i, null)) : S && (S.d(1), S = null), w & /*activeIndexes, allActive*/
4555
+ e[24] == 0 ? p || (p = Mt(), p.c(), p.m(r, n)) : p && (p.d(1), p = null), /*filter*/
4556
+ e[22] == "Scheduled" ? m ? m.p(e, w) : (m = Lt(e), m.c(), m.m(i, o)) : m && (m.d(1), m = null), /*filter*/
4557
+ e[22] == "Ongoing" ? d ? d.p(e, w) : (d = Rt(e), d.c(), d.m(i, s)) : d && (d.d(1), d = null), /*filter*/
4558
+ e[22] == "Finished" ? _ ? _.p(e, w) : (_ = $t(e), _.c(), _.m(i, a)) : _ && (_.d(1), _ = null), /*filter*/
4559
+ e[22] == "All" ? S ? S.p(e, w) : (S = Ft(e), S.c(), S.m(i, null)) : S && (S.d(1), S = null), w & /*activeIndexes, allActive*/
4508
4560
  12 && l !== (l = /*activeIndexes*/
4509
4561
  (e[2][
4510
4562
  /*index*/
@@ -4531,10 +4583,10 @@ function Rt(e) {
4531
4583
  }
4532
4584
  };
4533
4585
  }
4534
- function Zi(e) {
4586
+ function Yi(e) {
4535
4587
  let t, r = (
4536
4588
  /*filterItems*/
4537
- e[1].length > 0 && Ot(e)
4589
+ e[1].length > 0 && Nt(e)
4538
4590
  );
4539
4591
  return {
4540
4592
  c() {
@@ -4551,7 +4603,7 @@ function Zi(e) {
4551
4603
  },
4552
4604
  p(n, [i]) {
4553
4605
  /*filterItems*/
4554
- n[1].length > 0 ? r ? r.p(n, i) : (r = Ot(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
4606
+ n[1].length > 0 ? r ? r.p(n, i) : (r = Nt(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
4555
4607
  },
4556
4608
  i: I,
4557
4609
  o: I,
@@ -4560,21 +4612,21 @@ function Zi(e) {
4560
4612
  }
4561
4613
  };
4562
4614
  }
4563
- function Qi(e, t, r) {
4615
+ function qi(e, t, r) {
4564
4616
  let n;
4565
- Sr(e, zi, (v) => r(4, n = v));
4617
+ Ar(e, Qi, (v) => r(4, n = v));
4566
4618
  let { filters: i = "" } = t, { activefilters: o = "" } = t, { translationurl: s = "" } = t, { clientstyling: a = "" } = t, { clientstylingurl: l = "" } = t, u, h = [], f = 0, c = new Array(100), p = !0, m = window.navigator.userAgent;
4567
4619
  const d = () => {
4568
4620
  fetch(s).then((H) => H.json()).then((H) => {
4569
4621
  Object.keys(H).forEach((P) => {
4570
- At(P, H[P]);
4622
+ Ot(P, H[P]);
4571
4623
  });
4572
4624
  }).catch((H) => {
4573
4625
  console.log(H);
4574
4626
  });
4575
4627
  };
4576
- Object.keys(Bt).forEach((v) => {
4577
- At(v, Bt[v]);
4628
+ Object.keys(Ct).forEach((v) => {
4629
+ Ot(v, Ct[v]);
4578
4630
  });
4579
4631
  const _ = (v, H) => {
4580
4632
  if (H == 0)
@@ -4632,7 +4684,7 @@ function Qi(e, t, r) {
4632
4684
  });
4633
4685
  }, L = (v, H) => _(v, H);
4634
4686
  function V(v) {
4635
- Ne[v ? "unshift" : "push"](() => {
4687
+ Me[v ? "unshift" : "push"](() => {
4636
4688
  u = v, r(0, u);
4637
4689
  });
4638
4690
  }
@@ -4662,14 +4714,14 @@ function Qi(e, t, r) {
4662
4714
  V
4663
4715
  ];
4664
4716
  }
4665
- class Ji extends jr {
4717
+ class Ki extends zr {
4666
4718
  constructor(t) {
4667
- super(), Dr(
4719
+ super(), Vr(
4668
4720
  this,
4669
4721
  t,
4670
- Qi,
4671
- Zi,
4672
- Ft,
4722
+ qi,
4723
+ Yi,
4724
+ Gt,
4673
4725
  {
4674
4726
  filters: 7,
4675
4727
  activefilters: 8,
@@ -4677,7 +4729,7 @@ class Ji extends jr {
4677
4729
  clientstyling: 10,
4678
4730
  clientstylingurl: 11
4679
4731
  },
4680
- Wi
4732
+ Ji
4681
4733
  );
4682
4734
  }
4683
4735
  get filters() {
@@ -4711,7 +4763,7 @@ class Ji extends jr {
4711
4763
  this.$$set({ clientstylingurl: t }), G();
4712
4764
  }
4713
4765
  }
4714
- Gr(Ji, { filters: {}, activefilters: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
4766
+ Xr(Ki, { filters: {}, activefilters: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
4715
4767
  export {
4716
- Ji as default
4768
+ Ki as default
4717
4769
  };