@everymatrix/casino-tournaments-filter-controller 1.65.0 → 1.65.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,24 +1,24 @@
1
1
  function C() {
2
2
  }
3
- function Mt(e) {
3
+ function Rt(e) {
4
4
  return e();
5
5
  }
6
- function et() {
6
+ function rt() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
- function se(e) {
10
- e.forEach(Mt);
9
+ function oe(e) {
10
+ e.forEach(Rt);
11
11
  }
12
- function Ze(e) {
12
+ function qe(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function Lt(e, t) {
15
+ function $t(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
- function mr(e) {
18
+ function br(e) {
19
19
  return Object.keys(e).length === 0;
20
20
  }
21
- function Rt(e, ...t) {
21
+ function Ft(e, ...t) {
22
22
  if (e == null) {
23
23
  for (const n of t)
24
24
  n(void 0);
@@ -27,17 +27,17 @@ function Rt(e, ...t) {
27
27
  const r = e.subscribe(...t);
28
28
  return r.unsubscribe ? () => r.unsubscribe() : r;
29
29
  }
30
- function br(e, t, r) {
31
- e.$$.on_destroy.push(Rt(t, r));
30
+ function gr(e, t, r) {
31
+ e.$$.on_destroy.push(Ft(t, r));
32
32
  }
33
33
  function B(e, t) {
34
34
  e.appendChild(t);
35
35
  }
36
- function gr(e, t, r) {
36
+ function yr(e, t, r) {
37
37
  const n = vr(e);
38
38
  if (!n.getElementById(t)) {
39
39
  const i = U("style");
40
- i.id = t, i.textContent = r, yr(n, i);
40
+ i.id = t, i.textContent = r, _r(n, i);
41
41
  }
42
42
  }
43
43
  function vr(e) {
@@ -50,27 +50,27 @@ function vr(e) {
50
50
  t
51
51
  ) : e.ownerDocument;
52
52
  }
53
- function yr(e, t) {
53
+ function _r(e, t) {
54
54
  return B(
55
55
  /** @type {Document} */
56
56
  e.head || e,
57
57
  t
58
58
  ), t.sheet;
59
59
  }
60
- function R(e, t, r) {
60
+ function $(e, t, r) {
61
61
  e.insertBefore(t, r || null);
62
62
  }
63
- function N(e) {
63
+ function M(e) {
64
64
  e.parentNode && e.parentNode.removeChild(e);
65
65
  }
66
- function _r(e, t) {
66
+ function Er(e, t) {
67
67
  for (let r = 0; r < e.length; r += 1)
68
68
  e[r] && e[r].d(t);
69
69
  }
70
70
  function U(e) {
71
71
  return document.createElement(e);
72
72
  }
73
- function tt(e) {
73
+ function nt(e) {
74
74
  return document.createElementNS("http://www.w3.org/2000/svg", e);
75
75
  }
76
76
  function G(e) {
@@ -79,20 +79,20 @@ function G(e) {
79
79
  function z() {
80
80
  return G(" ");
81
81
  }
82
- function Er(e, t, r, n) {
82
+ function xr(e, t, r, n) {
83
83
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
84
84
  }
85
- function x(e, t, r) {
85
+ function E(e, t, r) {
86
86
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
87
87
  }
88
- function xr(e) {
88
+ function Sr(e) {
89
89
  return Array.from(e.childNodes);
90
90
  }
91
- function ae(e, t) {
91
+ function se(e, t) {
92
92
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
93
93
  t);
94
94
  }
95
- function Sr(e) {
95
+ function Tr(e) {
96
96
  const t = {};
97
97
  return e.childNodes.forEach(
98
98
  /** @param {Element} node */
@@ -101,82 +101,82 @@ function Sr(e) {
101
101
  }
102
102
  ), t;
103
103
  }
104
- let Qe;
105
- function ne(e) {
106
- Qe = e;
104
+ let Ke;
105
+ function re(e) {
106
+ Ke = e;
107
107
  }
108
- const W = [], Ie = [];
108
+ const W = [], Me = [];
109
109
  let Z = [];
110
- const rt = [], Tr = /* @__PURE__ */ Promise.resolve();
111
- let Ne = !1;
110
+ const it = [], wr = /* @__PURE__ */ Promise.resolve();
111
+ let Le = !1;
112
112
  function Hr() {
113
- Ne || (Ne = !0, Tr.then(D));
113
+ Le || (Le = !0, wr.then(D));
114
114
  }
115
- function Me(e) {
115
+ function Re(e) {
116
116
  Z.push(e);
117
117
  }
118
- const Te = /* @__PURE__ */ new Set();
118
+ const He = /* @__PURE__ */ new Set();
119
119
  let V = 0;
120
120
  function D() {
121
121
  if (V !== 0)
122
122
  return;
123
- const e = Qe;
123
+ const e = Ke;
124
124
  do {
125
125
  try {
126
126
  for (; V < W.length; ) {
127
127
  const t = W[V];
128
- V++, ne(t), wr(t.$$);
128
+ V++, re(t), Ar(t.$$);
129
129
  }
130
130
  } catch (t) {
131
131
  throw W.length = 0, V = 0, t;
132
132
  }
133
- for (ne(null), W.length = 0, V = 0; Ie.length; )
134
- Ie.pop()();
133
+ for (re(null), W.length = 0, V = 0; Me.length; )
134
+ Me.pop()();
135
135
  for (let t = 0; t < Z.length; t += 1) {
136
136
  const r = Z[t];
137
- Te.has(r) || (Te.add(r), r());
137
+ He.has(r) || (He.add(r), r());
138
138
  }
139
139
  Z.length = 0;
140
140
  } while (W.length);
141
- for (; rt.length; )
142
- rt.pop()();
143
- Ne = !1, Te.clear(), ne(e);
141
+ for (; it.length; )
142
+ it.pop()();
143
+ Le = !1, He.clear(), re(e);
144
144
  }
145
- function wr(e) {
145
+ function Ar(e) {
146
146
  if (e.fragment !== null) {
147
- e.update(), se(e.before_update);
147
+ e.update(), oe(e.before_update);
148
148
  const t = e.dirty;
149
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Me);
149
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Re);
150
150
  }
151
151
  }
152
- function Ar(e) {
152
+ function Br(e) {
153
153
  const t = [], r = [];
154
154
  Z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Z = t;
155
155
  }
156
- const Br = /* @__PURE__ */ new Set();
156
+ const Or = /* @__PURE__ */ new Set();
157
157
  function Pr(e, t) {
158
- e && e.i && (Br.delete(e), e.i(t));
158
+ e && e.i && (Or.delete(e), e.i(t));
159
159
  }
160
- function nt(e) {
160
+ function ot(e) {
161
161
  return e?.length !== void 0 ? e : Array.from(e);
162
162
  }
163
- function Or(e, t, r) {
163
+ function Cr(e, t, r) {
164
164
  const { fragment: n, after_update: i } = e.$$;
165
- n && n.m(t, r), Me(() => {
166
- const o = e.$$.on_mount.map(Mt).filter(Ze);
167
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : se(o), e.$$.on_mount = [];
168
- }), i.forEach(Me);
165
+ n && n.m(t, r), Re(() => {
166
+ const o = e.$$.on_mount.map(Rt).filter(qe);
167
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : oe(o), e.$$.on_mount = [];
168
+ }), i.forEach(Re);
169
169
  }
170
- function Cr(e, t) {
170
+ function Ir(e, t) {
171
171
  const r = e.$$;
172
- r.fragment !== null && (Ar(r.after_update), se(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
172
+ r.fragment !== null && (Br(r.after_update), oe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
173
173
  }
174
- function Ir(e, t) {
174
+ function Nr(e, t) {
175
175
  e.$$.dirty[0] === -1 && (W.push(e), Hr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
176
176
  }
177
- function Nr(e, t, r, n, i, o, a = null, s = [-1]) {
178
- const l = Qe;
179
- ne(e);
177
+ function Mr(e, t, r, n, i, o, s = null, a = [-1]) {
178
+ const l = Ke;
179
+ re(e);
180
180
  const u = e.$$ = {
181
181
  fragment: null,
182
182
  ctx: [],
@@ -184,7 +184,7 @@ function Nr(e, t, r, n, i, o, a = null, s = [-1]) {
184
184
  props: o,
185
185
  update: C,
186
186
  not_equal: i,
187
- bound: et(),
187
+ bound: rt(),
188
188
  // lifecycle
189
189
  on_mount: [],
190
190
  on_destroy: [],
@@ -193,28 +193,28 @@ function Nr(e, t, r, n, i, o, a = null, s = [-1]) {
193
193
  after_update: [],
194
194
  context: new Map(t.context || (l ? l.$$.context : [])),
195
195
  // everything else
196
- callbacks: et(),
197
- dirty: s,
196
+ callbacks: rt(),
197
+ dirty: a,
198
198
  skip_bound: !1,
199
199
  root: t.target || l.$$.root
200
200
  };
201
- a && a(u.root);
201
+ s && s(u.root);
202
202
  let h = !1;
203
203
  if (u.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
204
204
  const m = p.length ? p[0] : c;
205
- return u.ctx && i(u.ctx[f], u.ctx[f] = m) && (!u.skip_bound && u.bound[f] && u.bound[f](m), h && Ir(e, f)), c;
206
- }) : [], u.update(), h = !0, se(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
205
+ return u.ctx && i(u.ctx[f], u.ctx[f] = m) && (!u.skip_bound && u.bound[f] && u.bound[f](m), h && Nr(e, f)), c;
206
+ }) : [], u.update(), h = !0, oe(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
207
207
  if (t.hydrate) {
208
- const f = xr(t.target);
209
- u.fragment && u.fragment.l(f), f.forEach(N);
208
+ const f = Sr(t.target);
209
+ u.fragment && u.fragment.l(f), f.forEach(M);
210
210
  } else
211
211
  u.fragment && u.fragment.c();
212
- t.intro && Pr(e.$$.fragment), Or(e, t.target, t.anchor), D();
212
+ t.intro && Pr(e.$$.fragment), Cr(e, t.target, t.anchor), D();
213
213
  }
214
- ne(l);
214
+ re(l);
215
215
  }
216
- let $t;
217
- typeof HTMLElement == "function" && ($t = class extends HTMLElement {
216
+ let Ut;
217
+ typeof HTMLElement == "function" && (Ut = class extends HTMLElement {
218
218
  /** The Svelte component constructor */
219
219
  $$ctor;
220
220
  /** Slots */
@@ -256,24 +256,24 @@ typeof HTMLElement == "function" && ($t = class extends HTMLElement {
256
256
  let o;
257
257
  return {
258
258
  c: function() {
259
- o = U("slot"), i !== "default" && x(o, "name", i);
259
+ o = U("slot"), i !== "default" && E(o, "name", i);
260
260
  },
261
261
  /**
262
262
  * @param {HTMLElement} target
263
263
  * @param {HTMLElement} [anchor]
264
264
  */
265
265
  m: function(l, u) {
266
- R(l, o, u);
266
+ $(l, o, u);
267
267
  },
268
268
  d: function(l) {
269
- l && N(o);
269
+ l && M(o);
270
270
  }
271
271
  };
272
272
  };
273
273
  };
274
274
  if (await Promise.resolve(), !this.$$cn || this.$$c)
275
275
  return;
276
- const t = {}, r = Sr(this);
276
+ const t = {}, r = Tr(this);
277
277
  for (const i of this.$$s)
278
278
  i in r && (t[i] = [e(i)]);
279
279
  for (const i of this.attributes) {
@@ -309,8 +309,8 @@ typeof HTMLElement == "function" && ($t = class extends HTMLElement {
309
309
  this.$$c.$$.after_update.push(n), n();
310
310
  for (const i in this.$$l)
311
311
  for (const o of this.$$l[i]) {
312
- const a = this.$$c.$on(i, o);
313
- this.$$l_u.set(o, a);
312
+ const s = this.$$c.$on(i, o);
313
+ this.$$l_u.set(o, s);
314
314
  }
315
315
  this.$$l = {};
316
316
  }
@@ -360,36 +360,36 @@ function pe(e, t, r, n) {
360
360
  return t;
361
361
  }
362
362
  }
363
- function Mr(e, t, r, n, i, o) {
364
- let a = class extends $t {
363
+ function Lr(e, t, r, n, i, o) {
364
+ let s = class extends Ut {
365
365
  constructor() {
366
366
  super(e, r, i), this.$$p_d = t;
367
367
  }
368
368
  static get observedAttributes() {
369
369
  return Object.keys(t).map(
370
- (s) => (t[s].attribute || s).toLowerCase()
370
+ (a) => (t[a].attribute || a).toLowerCase()
371
371
  );
372
372
  }
373
373
  };
374
- return Object.keys(t).forEach((s) => {
375
- Object.defineProperty(a.prototype, s, {
374
+ return Object.keys(t).forEach((a) => {
375
+ Object.defineProperty(s.prototype, a, {
376
376
  get() {
377
- return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
377
+ return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
378
378
  },
379
379
  set(l) {
380
- l = pe(s, l, t), this.$$d[s] = l, this.$$c?.$set({ [s]: l });
380
+ l = pe(a, l, t), this.$$d[a] = l, this.$$c?.$set({ [a]: l });
381
381
  }
382
382
  });
383
- }), n.forEach((s) => {
384
- Object.defineProperty(a.prototype, s, {
383
+ }), n.forEach((a) => {
384
+ Object.defineProperty(s.prototype, a, {
385
385
  get() {
386
- return this.$$c?.[s];
386
+ return this.$$c?.[a];
387
387
  }
388
388
  });
389
389
  }), e.element = /** @type {any} */
390
- a, a;
390
+ s, s;
391
391
  }
392
- class Lr {
392
+ class Rr {
393
393
  /**
394
394
  * ### PRIVATE API
395
395
  *
@@ -408,7 +408,7 @@ class Lr {
408
408
  $$set = void 0;
409
409
  /** @returns {void} */
410
410
  $destroy() {
411
- Cr(this, 1), this.$destroy = C;
411
+ Ir(this, 1), this.$destroy = C;
412
412
  }
413
413
  /**
414
414
  * @template {Extract<keyof Events, string>} K
@@ -417,7 +417,7 @@ class Lr {
417
417
  * @returns {() => void}
418
418
  */
419
419
  $on(t, r) {
420
- if (!Ze(r))
420
+ if (!qe(r))
421
421
  return C;
422
422
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
423
423
  return n.push(r), () => {
@@ -430,11 +430,11 @@ class Lr {
430
430
  * @returns {void}
431
431
  */
432
432
  $set(t) {
433
- this.$$set && !mr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
433
+ this.$$set && !br(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
434
434
  }
435
435
  }
436
- const Rr = "4";
437
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Rr);
436
+ const $r = "4";
437
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add($r);
438
438
  /*! *****************************************************************************
439
439
  Copyright (c) Microsoft Corporation.
440
440
 
@@ -449,43 +449,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
449
449
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
450
450
  PERFORMANCE OF THIS SOFTWARE.
451
451
  ***************************************************************************** */
452
- var Le = function(e, t) {
453
- return Le = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
452
+ var $e = function(e, t) {
453
+ return $e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
454
454
  r.__proto__ = n;
455
455
  } || function(r, n) {
456
456
  for (var i in n)
457
457
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
458
- }, Le(e, t);
458
+ }, $e(e, t);
459
459
  };
460
- function $(e, t) {
460
+ function ae(e, t) {
461
461
  if (typeof t != "function" && t !== null)
462
462
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
463
- Le(e, t);
463
+ $e(e, t);
464
464
  function r() {
465
465
  this.constructor = e;
466
466
  }
467
467
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
468
468
  }
469
- var y = function() {
470
- return y = Object.assign || function(t) {
471
- for (var r, n = 1, i = arguments.length; n < i; n++) {
472
- r = arguments[n];
473
- for (var o in r)
474
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
475
- }
476
- return t;
477
- }, y.apply(this, arguments);
478
- };
479
- function $r(e, t) {
480
- var r = {};
481
- for (var n in e)
482
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
483
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
484
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
485
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
486
- return r;
487
- }
488
- function Re(e) {
469
+ function Fe(e) {
489
470
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
490
471
  if (r)
491
472
  return r.call(e);
@@ -497,42 +478,42 @@ function Re(e) {
497
478
  };
498
479
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
499
480
  }
500
- function $e(e, t) {
481
+ function Ue(e, t) {
501
482
  var r = typeof Symbol == "function" && e[Symbol.iterator];
502
483
  if (!r)
503
484
  return e;
504
- var n = r.call(e), i, o = [], a;
485
+ var n = r.call(e), i, o = [], s;
505
486
  try {
506
487
  for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
507
488
  o.push(i.value);
508
- } catch (s) {
509
- a = { error: s };
489
+ } catch (a) {
490
+ s = { error: a };
510
491
  } finally {
511
492
  try {
512
493
  i && !i.done && (r = n.return) && r.call(n);
513
494
  } finally {
514
- if (a)
515
- throw a.error;
495
+ if (s)
496
+ throw s.error;
516
497
  }
517
498
  }
518
499
  return o;
519
500
  }
520
- function Q(e, t, r) {
521
- if (r || arguments.length === 2)
501
+ function De(e, t, r) {
502
+ if (arguments.length === 2)
522
503
  for (var n = 0, i = t.length, o; n < i; n++)
523
504
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
524
505
  return e.concat(o || t);
525
506
  }
526
- function L(e) {
507
+ function R(e) {
527
508
  return typeof e == "function";
528
509
  }
529
- function Ft(e) {
510
+ function Dt(e) {
530
511
  var t = function(n) {
531
512
  Error.call(n), n.stack = new Error().stack;
532
513
  }, r = e(t);
533
514
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
534
515
  }
535
- var He = Ft(function(e) {
516
+ var Ae = Dt(function(e) {
536
517
  return function(r) {
537
518
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
538
519
  ` + r.map(function(n, i) {
@@ -541,13 +522,13 @@ var He = Ft(function(e) {
541
522
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
542
523
  };
543
524
  });
544
- function Fe(e, t) {
525
+ function Ge(e, t) {
545
526
  if (e) {
546
527
  var r = e.indexOf(t);
547
528
  0 <= r && e.splice(r, 1);
548
529
  }
549
530
  }
550
- var ye = function() {
531
+ var _e = function() {
551
532
  function e(t) {
552
533
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
553
534
  }
@@ -555,11 +536,11 @@ var ye = function() {
555
536
  var t, r, n, i, o;
556
537
  if (!this.closed) {
557
538
  this.closed = !0;
558
- var a = this._parentage;
559
- if (a)
560
- if (this._parentage = null, Array.isArray(a))
539
+ var s = this._parentage;
540
+ if (s)
541
+ if (this._parentage = null, Array.isArray(s))
561
542
  try {
562
- for (var s = Re(a), l = s.next(); !l.done; l = s.next()) {
543
+ for (var a = Fe(s), l = a.next(); !l.done; l = a.next()) {
563
544
  var u = l.value;
564
545
  u.remove(this);
565
546
  }
@@ -567,31 +548,31 @@ var ye = function() {
567
548
  t = { error: d };
568
549
  } finally {
569
550
  try {
570
- l && !l.done && (r = s.return) && r.call(s);
551
+ l && !l.done && (r = a.return) && r.call(a);
571
552
  } finally {
572
553
  if (t)
573
554
  throw t.error;
574
555
  }
575
556
  }
576
557
  else
577
- a.remove(this);
558
+ s.remove(this);
578
559
  var h = this.initialTeardown;
579
- if (L(h))
560
+ if (R(h))
580
561
  try {
581
562
  h();
582
563
  } catch (d) {
583
- o = d instanceof He ? d.errors : [d];
564
+ o = d instanceof Ae ? d.errors : [d];
584
565
  }
585
566
  var f = this._finalizers;
586
567
  if (f) {
587
568
  this._finalizers = null;
588
569
  try {
589
- for (var c = Re(f), p = c.next(); !p.done; p = c.next()) {
570
+ for (var c = Fe(f), p = c.next(); !p.done; p = c.next()) {
590
571
  var m = p.value;
591
572
  try {
592
- it(m);
573
+ st(m);
593
574
  } catch (d) {
594
- o = o ?? [], d instanceof He ? o = Q(Q([], $e(o)), $e(d.errors)) : o.push(d);
575
+ o = o ?? [], d instanceof Ae ? o = De(De([], Ue(o)), Ue(d.errors)) : o.push(d);
595
576
  }
596
577
  }
597
578
  } catch (d) {
@@ -606,13 +587,13 @@ var ye = function() {
606
587
  }
607
588
  }
608
589
  if (o)
609
- throw new He(o);
590
+ throw new Ae(o);
610
591
  }
611
592
  }, e.prototype.add = function(t) {
612
593
  var r;
613
594
  if (t && t !== this)
614
595
  if (this.closed)
615
- it(t);
596
+ st(t);
616
597
  else {
617
598
  if (t instanceof e) {
618
599
  if (t.closed || t._hasParent(this))
@@ -629,56 +610,52 @@ var ye = function() {
629
610
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
630
611
  }, e.prototype._removeParent = function(t) {
631
612
  var r = this._parentage;
632
- r === t ? this._parentage = null : Array.isArray(r) && Fe(r, t);
613
+ r === t ? this._parentage = null : Array.isArray(r) && Ge(r, t);
633
614
  }, e.prototype.remove = function(t) {
634
615
  var r = this._finalizers;
635
- r && Fe(r, t), t instanceof e && t._removeParent(this);
616
+ r && Ge(r, t), t instanceof e && t._removeParent(this);
636
617
  }, e.EMPTY = function() {
637
618
  var t = new e();
638
619
  return t.closed = !0, t;
639
620
  }(), e;
640
- }(), Ut = ye.EMPTY;
641
- function Dt(e) {
642
- return e instanceof ye || e && "closed" in e && L(e.remove) && L(e.add) && L(e.unsubscribe);
643
- }
644
- function it(e) {
645
- L(e) ? e() : e.unsubscribe();
646
- }
647
- var Gt = {
648
- onUnhandledError: null,
649
- onStoppedNotification: null,
650
- Promise: void 0,
651
- useDeprecatedSynchronousErrorHandling: !1,
652
- useDeprecatedNextContext: !1
653
- }, Fr = {
621
+ }(), Gt = _e.EMPTY;
622
+ function jt(e) {
623
+ return e instanceof _e || e && "closed" in e && R(e.remove) && R(e.add) && R(e.unsubscribe);
624
+ }
625
+ function st(e) {
626
+ R(e) ? e() : e.unsubscribe();
627
+ }
628
+ var Fr = {
629
+ Promise: void 0
630
+ }, Ur = {
654
631
  setTimeout: function(e, t) {
655
632
  for (var r = [], n = 2; n < arguments.length; n++)
656
633
  r[n - 2] = arguments[n];
657
- return setTimeout.apply(void 0, Q([e, t], $e(r)));
634
+ return setTimeout.apply(void 0, De([e, t], Ue(r)));
658
635
  },
659
636
  clearTimeout: function(e) {
660
637
  return clearTimeout(e);
661
638
  },
662
639
  delegate: void 0
663
640
  };
664
- function Ur(e) {
665
- Fr.setTimeout(function() {
641
+ function Dr(e) {
642
+ Ur.setTimeout(function() {
666
643
  throw e;
667
644
  });
668
645
  }
669
- function ot() {
646
+ function at() {
670
647
  }
671
648
  function de(e) {
672
649
  e();
673
650
  }
674
- var jt = function(e) {
675
- $(t, e);
651
+ var kt = function(e) {
652
+ ae(t, e);
676
653
  function t(r) {
677
654
  var n = e.call(this) || this;
678
- return n.isStopped = !1, r ? (n.destination = r, Dt(r) && r.add(n)) : n.destination = kr, n;
655
+ return n.isStopped = !1, r ? (n.destination = r, jt(r) && r.add(n)) : n.destination = kr, n;
679
656
  }
680
657
  return t.create = function(r, n, i) {
681
- return new Ue(r, n, i);
658
+ return new je(r, n, i);
682
659
  }, t.prototype.next = function(r) {
683
660
  this.isStopped || this._next(r);
684
661
  }, t.prototype.error = function(r) {
@@ -702,11 +679,7 @@ var jt = function(e) {
702
679
  this.unsubscribe();
703
680
  }
704
681
  }, t;
705
- }(ye), Dr = Function.prototype.bind;
706
- function we(e, t) {
707
- return Dr.call(e, t);
708
- }
709
- var Gr = function() {
682
+ }(_e), Gr = function() {
710
683
  function e(t) {
711
684
  this.partialObserver = t;
712
685
  }
@@ -737,41 +710,29 @@ var Gr = function() {
737
710
  fe(r);
738
711
  }
739
712
  }, e;
740
- }(), Ue = function(e) {
741
- $(t, e);
713
+ }(), je = function(e) {
714
+ ae(t, e);
742
715
  function t(r, n, i) {
743
- var o = e.call(this) || this, a;
744
- if (L(r) || !r)
745
- a = {
746
- next: r ?? void 0,
747
- error: n ?? void 0,
748
- complete: i ?? void 0
749
- };
750
- else {
751
- var s;
752
- o && Gt.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
753
- return o.unsubscribe();
754
- }, a = {
755
- next: r.next && we(r.next, s),
756
- error: r.error && we(r.error, s),
757
- complete: r.complete && we(r.complete, s)
758
- }) : a = r;
759
- }
760
- return o.destination = new Gr(a), o;
716
+ var o = e.call(this) || this, s;
717
+ return R(r) || !r ? s = {
718
+ next: r ?? void 0,
719
+ error: n ?? void 0,
720
+ complete: i ?? void 0
721
+ } : s = r, o.destination = new Gr(s), o;
761
722
  }
762
723
  return t;
763
- }(jt);
724
+ }(kt);
764
725
  function fe(e) {
765
- Ur(e);
726
+ Dr(e);
766
727
  }
767
728
  function jr(e) {
768
729
  throw e;
769
730
  }
770
731
  var kr = {
771
732
  closed: !0,
772
- next: ot,
733
+ next: at,
773
734
  error: jr,
774
- complete: ot
735
+ complete: at
775
736
  }, Vr = function() {
776
737
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
777
738
  }();
@@ -785,7 +746,7 @@ function zr(e) {
785
746
  }, r);
786
747
  };
787
748
  }
788
- var st = function() {
749
+ var ut = function() {
789
750
  function e(t) {
790
751
  t && (this._subscribe = t);
791
752
  }
@@ -793,10 +754,10 @@ var st = function() {
793
754
  var r = new e();
794
755
  return r.source = this, r.operator = t, r;
795
756
  }, e.prototype.subscribe = function(t, r, n) {
796
- var i = this, o = Zr(t) ? t : new Ue(t, r, n);
757
+ var i = this, o = Zr(t) ? t : new je(t, r, n);
797
758
  return de(function() {
798
- var a = i, s = a.operator, l = a.source;
799
- o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
759
+ var s = i, a = s.operator, l = s.source;
760
+ o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
800
761
  }), o;
801
762
  }, e.prototype._trySubscribe = function(t) {
802
763
  try {
@@ -806,19 +767,19 @@ var st = function() {
806
767
  }
807
768
  }, e.prototype.forEach = function(t, r) {
808
769
  var n = this;
809
- return r = at(r), new r(function(i, o) {
810
- var a = new Ue({
811
- next: function(s) {
770
+ return r = lt(r), new r(function(i, o) {
771
+ var s = new je({
772
+ next: function(a) {
812
773
  try {
813
- t(s);
774
+ t(a);
814
775
  } catch (l) {
815
- o(l), a.unsubscribe();
776
+ o(l), s.unsubscribe();
816
777
  }
817
778
  },
818
779
  error: o,
819
780
  complete: i
820
781
  });
821
- n.subscribe(a);
782
+ n.subscribe(s);
822
783
  });
823
784
  }, e.prototype._subscribe = function(t) {
824
785
  var r;
@@ -831,12 +792,12 @@ var st = function() {
831
792
  return zr(t)(this);
832
793
  }, e.prototype.toPromise = function(t) {
833
794
  var r = this;
834
- return t = at(t), new t(function(n, i) {
795
+ return t = lt(t), new t(function(n, i) {
835
796
  var o;
836
- r.subscribe(function(a) {
837
- return o = a;
838
- }, function(a) {
839
- return i(a);
797
+ r.subscribe(function(s) {
798
+ return o = s;
799
+ }, function(s) {
800
+ return i(s);
840
801
  }, function() {
841
802
  return n(o);
842
803
  });
@@ -845,28 +806,28 @@ var st = function() {
845
806
  return new e(t);
846
807
  }, e;
847
808
  }();
848
- function at(e) {
809
+ function lt(e) {
849
810
  var t;
850
- return (t = e ?? Gt.Promise) !== null && t !== void 0 ? t : Promise;
811
+ return (t = e ?? Fr.Promise) !== null && t !== void 0 ? t : Promise;
851
812
  }
852
813
  function Wr(e) {
853
- return e && L(e.next) && L(e.error) && L(e.complete);
814
+ return e && R(e.next) && R(e.error) && R(e.complete);
854
815
  }
855
816
  function Zr(e) {
856
- return e && e instanceof jt || Wr(e) && Dt(e);
817
+ return e && e instanceof kt || Wr(e) && jt(e);
857
818
  }
858
- var Qr = Ft(function(e) {
819
+ var Qr = Dt(function(e) {
859
820
  return function() {
860
821
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
861
822
  };
862
- }), kt = function(e) {
863
- $(t, e);
823
+ }), Vt = function(e) {
824
+ ae(t, e);
864
825
  function t() {
865
826
  var r = e.call(this) || this;
866
827
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
867
828
  }
868
829
  return t.prototype.lift = function(r) {
869
- var n = new ut(this, this);
830
+ var n = new ht(this, this);
870
831
  return n.operator = r, n;
871
832
  }, t.prototype._throwIfClosed = function() {
872
833
  if (this.closed)
@@ -878,15 +839,15 @@ var Qr = Ft(function(e) {
878
839
  if (n._throwIfClosed(), !n.isStopped) {
879
840
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
880
841
  try {
881
- for (var a = Re(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
882
- var l = s.value;
842
+ for (var s = Fe(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
843
+ var l = a.value;
883
844
  l.next(r);
884
845
  }
885
846
  } catch (u) {
886
847
  i = { error: u };
887
848
  } finally {
888
849
  try {
889
- s && !s.done && (o = a.return) && o.call(a);
850
+ a && !a.done && (o = s.return) && o.call(s);
890
851
  } finally {
891
852
  if (i)
892
853
  throw i.error;
@@ -926,21 +887,21 @@ var Qr = Ft(function(e) {
926
887
  }, t.prototype._subscribe = function(r) {
927
888
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
928
889
  }, t.prototype._innerSubscribe = function(r) {
929
- var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
930
- return o || a ? Ut : (this.currentObservers = null, s.push(r), new ye(function() {
931
- n.currentObservers = null, Fe(s, r);
890
+ var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
891
+ return o || s ? Gt : (this.currentObservers = null, a.push(r), new _e(function() {
892
+ n.currentObservers = null, Ge(a, r);
932
893
  }));
933
894
  }, t.prototype._checkFinalizedStatuses = function(r) {
934
- var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
935
- i ? r.error(o) : a && r.complete();
895
+ var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
896
+ i ? r.error(o) : s && r.complete();
936
897
  }, t.prototype.asObservable = function() {
937
- var r = new st();
898
+ var r = new ut();
938
899
  return r.source = this, r;
939
900
  }, t.create = function(r, n) {
940
- return new ut(r, n);
901
+ return new ht(r, n);
941
902
  }, t;
942
- }(st), ut = function(e) {
943
- $(t, e);
903
+ }(ut), ht = function(e) {
904
+ ae(t, e);
944
905
  function t(r, n) {
945
906
  var i = e.call(this) || this;
946
907
  return i.destination = r, i.source = n, i;
@@ -956,54 +917,54 @@ var Qr = Ft(function(e) {
956
917
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
957
918
  }, t.prototype._subscribe = function(r) {
958
919
  var n, i;
959
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Ut;
920
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Gt;
960
921
  }, t;
961
- }(kt), Vt = {
922
+ }(Vt), Xt = {
962
923
  now: function() {
963
- return (Vt.delegate || Date).now();
924
+ return (Xt.delegate || Date).now();
964
925
  },
965
926
  delegate: void 0
966
927
  }, Jr = function(e) {
967
- $(t, e);
928
+ ae(t, e);
968
929
  function t(r, n, i) {
969
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Vt);
930
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Xt);
970
931
  var o = e.call(this) || this;
971
932
  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;
972
933
  }
973
934
  return t.prototype.next = function(r) {
974
- var n = this, i = n.isStopped, o = n._buffer, a = n._infiniteTimeWindow, s = n._timestampProvider, l = n._windowTime;
975
- i || (o.push(r), !a && o.push(s.now() + l)), this._trimBuffer(), e.prototype.next.call(this, r);
935
+ var n = this, i = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, a = n._timestampProvider, l = n._windowTime;
936
+ i || (o.push(r), !s && o.push(a.now() + l)), this._trimBuffer(), e.prototype.next.call(this, r);
976
937
  }, t.prototype._subscribe = function(r) {
977
938
  this._throwIfClosed(), this._trimBuffer();
978
- for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, a = i._buffer, s = a.slice(), l = 0; l < s.length && !r.closed; l += o ? 1 : 2)
979
- r.next(s[l]);
939
+ for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, s = i._buffer, a = s.slice(), l = 0; l < a.length && !r.closed; l += o ? 1 : 2)
940
+ r.next(a[l]);
980
941
  return this._checkFinalizedStatuses(r), n;
981
942
  }, t.prototype._trimBuffer = function() {
982
- var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, a = r._infiniteTimeWindow, s = (a ? 1 : 2) * n;
983
- if (n < 1 / 0 && s < o.length && o.splice(0, o.length - s), !a) {
943
+ var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * n;
944
+ if (n < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
984
945
  for (var l = i.now(), u = 0, h = 1; h < o.length && o[h] <= l; h += 2)
985
946
  u = h;
986
947
  u && o.splice(0, u + 1);
987
948
  }
988
949
  }, t;
989
- }(kt);
990
- const lt = [], ht = {}, Yr = (e, t = 0) => {
991
- if (lt.indexOf(e) == -1) {
950
+ }(Vt);
951
+ const ft = [], ct = {}, Yr = (e, t = 0) => {
952
+ if (ft.indexOf(e) == -1) {
992
953
  const r = new Jr(t);
993
- ht[e] = r, lt.push(e);
954
+ ct[e] = r, ft.push(e);
994
955
  }
995
- return ht[e];
956
+ return ct[e];
996
957
  }, X = [];
997
958
  function qr(e, t) {
998
959
  return {
999
- subscribe: _e(e, t).subscribe
960
+ subscribe: Ee(e, t).subscribe
1000
961
  };
1001
962
  }
1002
- function _e(e, t = C) {
963
+ function Ee(e, t = C) {
1003
964
  let r;
1004
965
  const n = /* @__PURE__ */ new Set();
1005
- function i(s) {
1006
- if (Lt(e, s) && (e = s, r)) {
966
+ function i(a) {
967
+ if ($t(e, a) && (e = a, r)) {
1007
968
  const l = !X.length;
1008
969
  for (const u of n)
1009
970
  u[1](), X.push(u, e);
@@ -1014,23 +975,23 @@ function _e(e, t = C) {
1014
975
  }
1015
976
  }
1016
977
  }
1017
- function o(s) {
1018
- i(s(e));
978
+ function o(a) {
979
+ i(a(e));
1019
980
  }
1020
- function a(s, l = C) {
1021
- const u = [s, l];
1022
- return n.add(u), n.size === 1 && (r = t(i, o) || C), s(e), () => {
981
+ function s(a, l = C) {
982
+ const u = [a, l];
983
+ return n.add(u), n.size === 1 && (r = t(i, o) || C), a(e), () => {
1023
984
  n.delete(u), n.size === 0 && r && (r(), r = null);
1024
985
  };
1025
986
  }
1026
- return { set: i, update: o, subscribe: a };
987
+ return { set: i, update: o, subscribe: s };
1027
988
  }
1028
- function ee(e, t, r) {
989
+ function K(e, t, r) {
1029
990
  const n = !Array.isArray(e), i = n ? [e] : e;
1030
991
  if (!i.every(Boolean))
1031
992
  throw new Error("derived() expects stores as input, got a falsy value");
1032
993
  const o = t.length < 2;
1033
- return qr(r, (a, s) => {
994
+ return qr(r, (s, a) => {
1034
995
  let l = !1;
1035
996
  const u = [];
1036
997
  let h = 0, f = C;
@@ -1038,13 +999,13 @@ function ee(e, t, r) {
1038
999
  if (h)
1039
1000
  return;
1040
1001
  f();
1041
- const m = t(n ? u[0] : u, a, s);
1042
- o ? a(m) : f = Ze(m) ? m : C;
1002
+ const m = t(n ? u[0] : u, s, a);
1003
+ o ? s(m) : f = qe(m) ? m : C;
1043
1004
  }, p = i.map(
1044
- (m, d) => Rt(
1005
+ (m, d) => Ft(
1045
1006
  m,
1046
- (_) => {
1047
- u[d] = _, h &= ~(1 << d), l && c();
1007
+ (v) => {
1008
+ u[d] = v, h &= ~(1 << d), l && c();
1048
1009
  },
1049
1010
  () => {
1050
1011
  h |= 1 << d;
@@ -1052,7 +1013,7 @@ function ee(e, t, r) {
1052
1013
  )
1053
1014
  );
1054
1015
  return l = !0, c(), function() {
1055
- se(p), f(), l = !1;
1016
+ oe(p), f(), l = !1;
1056
1017
  };
1057
1018
  });
1058
1019
  }
@@ -1076,29 +1037,29 @@ function sn(e) {
1076
1037
  function an(e) {
1077
1038
  return Array.isArray(e) ? [] : {};
1078
1039
  }
1079
- function ie(e, t) {
1080
- return t.clone !== !1 && t.isMergeableObject(e) ? J(an(e), e, t) : e;
1040
+ function ne(e, t) {
1041
+ return t.clone !== !1 && t.isMergeableObject(e) ? Q(an(e), e, t) : e;
1081
1042
  }
1082
1043
  function un(e, t, r) {
1083
1044
  return e.concat(t).map(function(n) {
1084
- return ie(n, r);
1045
+ return ne(n, r);
1085
1046
  });
1086
1047
  }
1087
1048
  function ln(e, t) {
1088
1049
  if (!t.customMerge)
1089
- return J;
1050
+ return Q;
1090
1051
  var r = t.customMerge(e);
1091
- return typeof r == "function" ? r : J;
1052
+ return typeof r == "function" ? r : Q;
1092
1053
  }
1093
1054
  function hn(e) {
1094
1055
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1095
1056
  return Object.propertyIsEnumerable.call(e, t);
1096
1057
  }) : [];
1097
1058
  }
1098
- function ft(e) {
1059
+ function pt(e) {
1099
1060
  return Object.keys(e).concat(hn(e));
1100
1061
  }
1101
- function Xt(e, t) {
1062
+ function zt(e, t) {
1102
1063
  try {
1103
1064
  return t in e;
1104
1065
  } catch {
@@ -1106,129 +1067,179 @@ function Xt(e, t) {
1106
1067
  }
1107
1068
  }
1108
1069
  function fn(e, t) {
1109
- return Xt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1070
+ return zt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1110
1071
  }
1111
1072
  function cn(e, t, r) {
1112
1073
  var n = {};
1113
- return r.isMergeableObject(e) && ft(e).forEach(function(i) {
1114
- n[i] = ie(e[i], r);
1115
- }), ft(t).forEach(function(i) {
1116
- fn(e, i) || (Xt(e, i) && r.isMergeableObject(t[i]) ? n[i] = ln(i, r)(e[i], t[i], r) : n[i] = ie(t[i], r));
1074
+ return r.isMergeableObject(e) && pt(e).forEach(function(i) {
1075
+ n[i] = ne(e[i], r);
1076
+ }), pt(t).forEach(function(i) {
1077
+ fn(e, i) || (zt(e, i) && r.isMergeableObject(t[i]) ? n[i] = ln(i, r)(e[i], t[i], r) : n[i] = ne(t[i], r));
1117
1078
  }), n;
1118
1079
  }
1119
- function J(e, t, r) {
1120
- r = r || {}, r.arrayMerge = r.arrayMerge || un, r.isMergeableObject = r.isMergeableObject || en, r.cloneUnlessOtherwiseSpecified = ie;
1080
+ function Q(e, t, r) {
1081
+ r = r || {}, r.arrayMerge = r.arrayMerge || un, r.isMergeableObject = r.isMergeableObject || en, r.cloneUnlessOtherwiseSpecified = ne;
1121
1082
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1122
- return o ? n ? r.arrayMerge(e, t, r) : cn(e, t, r) : ie(t, r);
1083
+ return o ? n ? r.arrayMerge(e, t, r) : cn(e, t, r) : ne(t, r);
1123
1084
  }
1124
- J.all = function(t, r) {
1085
+ Q.all = function(t, r) {
1125
1086
  if (!Array.isArray(t))
1126
1087
  throw new Error("first argument should be an array");
1127
1088
  return t.reduce(function(n, i) {
1128
- return J(n, i, r);
1089
+ return Q(n, i, r);
1129
1090
  }, {});
1130
1091
  };
1131
- var pn = J, dn = pn;
1092
+ var pn = Q, dn = pn;
1132
1093
  const mn = /* @__PURE__ */ Kr(dn);
1133
- function Ae(e, t) {
1134
- var r = t && t.cache ? t.cache : En, n = t && t.serializer ? t.serializer : _n, i = t && t.strategy ? t.strategy : gn;
1094
+ var ke = function(e, t) {
1095
+ return ke = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1096
+ r.__proto__ = n;
1097
+ } || function(r, n) {
1098
+ for (var i in n)
1099
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1100
+ }, ke(e, t);
1101
+ };
1102
+ function xe(e, t) {
1103
+ if (typeof t != "function" && t !== null)
1104
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1105
+ ke(e, t);
1106
+ function r() {
1107
+ this.constructor = e;
1108
+ }
1109
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1110
+ }
1111
+ var N = function() {
1112
+ return N = Object.assign || function(t) {
1113
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1114
+ r = arguments[n];
1115
+ for (var o in r)
1116
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1117
+ }
1118
+ return t;
1119
+ }, N.apply(this, arguments);
1120
+ };
1121
+ function bn(e, t) {
1122
+ var r = {};
1123
+ for (var n in e)
1124
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1125
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
1126
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1127
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1128
+ return r;
1129
+ }
1130
+ function Be(e, t, r) {
1131
+ if (r || arguments.length === 2)
1132
+ for (var n = 0, i = t.length, o; n < i; n++)
1133
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1134
+ return e.concat(o || Array.prototype.slice.call(t));
1135
+ }
1136
+ function Oe(e, t) {
1137
+ var r = t && t.cache ? t.cache : Sn, n = t && t.serializer ? t.serializer : En, i = t && t.strategy ? t.strategy : vn;
1135
1138
  return i(e, {
1136
1139
  cache: r,
1137
1140
  serializer: n
1138
1141
  });
1139
1142
  }
1140
- function bn(e) {
1143
+ function gn(e) {
1141
1144
  return e == null || typeof e == "number" || typeof e == "boolean";
1142
1145
  }
1143
- function zt(e, t, r, n) {
1144
- var i = bn(n) ? n : r(n), o = t.get(i);
1146
+ function yn(e, t, r, n) {
1147
+ var i = gn(n) ? n : r(n), o = t.get(i);
1145
1148
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1146
1149
  }
1147
1150
  function Wt(e, t, r) {
1148
1151
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1149
1152
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1150
1153
  }
1151
- function Je(e, t, r, n, i) {
1154
+ function Zt(e, t, r, n, i) {
1152
1155
  return r.bind(t, e, n, i);
1153
1156
  }
1154
- function gn(e, t) {
1155
- var r = e.length === 1 ? zt : Wt;
1156
- return Je(e, this, r, t.cache.create(), t.serializer);
1157
- }
1158
1157
  function vn(e, t) {
1159
- return Je(e, this, Wt, t.cache.create(), t.serializer);
1158
+ var r = e.length === 1 ? yn : Wt;
1159
+ return Zt(e, this, r, t.cache.create(), t.serializer);
1160
1160
  }
1161
- function yn(e, t) {
1162
- return Je(e, this, zt, t.cache.create(), t.serializer);
1161
+ function _n(e, t) {
1162
+ return Zt(e, this, Wt, t.cache.create(), t.serializer);
1163
1163
  }
1164
- var _n = function() {
1164
+ var En = function() {
1165
1165
  return JSON.stringify(arguments);
1166
- };
1167
- function Ye() {
1168
- this.cache = /* @__PURE__ */ Object.create(null);
1169
- }
1170
- Ye.prototype.get = function(e) {
1171
- return this.cache[e];
1172
- };
1173
- Ye.prototype.set = function(e, t) {
1174
- this.cache[e] = t;
1175
- };
1176
- var En = {
1166
+ }, xn = (
1167
+ /** @class */
1168
+ function() {
1169
+ function e() {
1170
+ this.cache = /* @__PURE__ */ Object.create(null);
1171
+ }
1172
+ return e.prototype.get = function(t) {
1173
+ return this.cache[t];
1174
+ }, e.prototype.set = function(t, r) {
1175
+ this.cache[t] = r;
1176
+ }, e;
1177
+ }()
1178
+ ), Sn = {
1177
1179
  create: function() {
1178
- return new Ye();
1180
+ return new xn();
1179
1181
  }
1180
- }, Be = {
1181
- variadic: vn,
1182
- monadic: yn
1183
- }, b;
1182
+ }, Pe = {
1183
+ variadic: _n
1184
+ }, ge = function() {
1185
+ return ge = Object.assign || function(t) {
1186
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1187
+ r = arguments[n];
1188
+ for (var o in r)
1189
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1190
+ }
1191
+ return t;
1192
+ }, ge.apply(this, arguments);
1193
+ };
1194
+ var b;
1184
1195
  (function(e) {
1185
1196
  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";
1186
1197
  })(b || (b = {}));
1187
- var E;
1198
+ var _;
1188
1199
  (function(e) {
1189
1200
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
1190
- })(E || (E = {}));
1191
- var Y;
1201
+ })(_ || (_ = {}));
1202
+ var J;
1192
1203
  (function(e) {
1193
1204
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1194
- })(Y || (Y = {}));
1195
- function ct(e) {
1196
- return e.type === E.literal;
1197
- }
1198
- function xn(e) {
1199
- return e.type === E.argument;
1205
+ })(J || (J = {}));
1206
+ function dt(e) {
1207
+ return e.type === _.literal;
1200
1208
  }
1201
- function Zt(e) {
1202
- return e.type === E.number;
1209
+ function Tn(e) {
1210
+ return e.type === _.argument;
1203
1211
  }
1204
1212
  function Qt(e) {
1205
- return e.type === E.date;
1213
+ return e.type === _.number;
1206
1214
  }
1207
1215
  function Jt(e) {
1208
- return e.type === E.time;
1216
+ return e.type === _.date;
1209
1217
  }
1210
1218
  function Yt(e) {
1211
- return e.type === E.select;
1219
+ return e.type === _.time;
1212
1220
  }
1213
1221
  function qt(e) {
1214
- return e.type === E.plural;
1215
- }
1216
- function Sn(e) {
1217
- return e.type === E.pound;
1222
+ return e.type === _.select;
1218
1223
  }
1219
1224
  function Kt(e) {
1220
- return e.type === E.tag;
1225
+ return e.type === _.plural;
1226
+ }
1227
+ function wn(e) {
1228
+ return e.type === _.pound;
1221
1229
  }
1222
1230
  function er(e) {
1223
- return !!(e && typeof e == "object" && e.type === Y.number);
1231
+ return e.type === _.tag;
1232
+ }
1233
+ function tr(e) {
1234
+ return !!(e && typeof e == "object" && e.type === J.number);
1224
1235
  }
1225
- function De(e) {
1226
- return !!(e && typeof e == "object" && e.type === Y.dateTime);
1236
+ function Ve(e) {
1237
+ return !!(e && typeof e == "object" && e.type === J.dateTime);
1227
1238
  }
1228
- var tr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Tn = /(?:[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;
1229
- function Hn(e) {
1239
+ var rr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Hn = /(?:[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;
1240
+ function An(e) {
1230
1241
  var t = {};
1231
- return e.replace(Tn, function(r) {
1242
+ return e.replace(Hn, function(r) {
1232
1243
  var n = r.length;
1233
1244
  switch (r[0]) {
1234
1245
  case "G":
@@ -1317,36 +1328,46 @@ function Hn(e) {
1317
1328
  return "";
1318
1329
  }), t;
1319
1330
  }
1320
- var wn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1321
- function An(e) {
1331
+ var S = function() {
1332
+ return S = Object.assign || function(t) {
1333
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1334
+ r = arguments[n];
1335
+ for (var o in r)
1336
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1337
+ }
1338
+ return t;
1339
+ }, S.apply(this, arguments);
1340
+ };
1341
+ var Bn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1342
+ function On(e) {
1322
1343
  if (e.length === 0)
1323
1344
  throw new Error("Number skeleton cannot be empty");
1324
- for (var t = e.split(wn).filter(function(c) {
1345
+ for (var t = e.split(Bn).filter(function(c) {
1325
1346
  return c.length > 0;
1326
1347
  }), r = [], n = 0, i = t; n < i.length; n++) {
1327
- var o = i[n], a = o.split("/");
1328
- if (a.length === 0)
1348
+ var o = i[n], s = o.split("/");
1349
+ if (s.length === 0)
1329
1350
  throw new Error("Invalid number skeleton");
1330
- for (var s = a[0], l = a.slice(1), u = 0, h = l; u < h.length; u++) {
1351
+ for (var a = s[0], l = s.slice(1), u = 0, h = l; u < h.length; u++) {
1331
1352
  var f = h[u];
1332
1353
  if (f.length === 0)
1333
1354
  throw new Error("Invalid number skeleton");
1334
1355
  }
1335
- r.push({ stem: s, options: l });
1356
+ r.push({ stem: a, options: l });
1336
1357
  }
1337
1358
  return r;
1338
1359
  }
1339
- function Bn(e) {
1360
+ function Pn(e) {
1340
1361
  return e.replace(/^(.*?)-/, "");
1341
1362
  }
1342
- var pt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, rr = /^(@+)?(\+|#+)?[rs]?$/g, Pn = /(\*)(0+)|(#+)(0+)|(0+)/g, nr = /^(0+)$/;
1343
- function dt(e) {
1363
+ var mt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, nr = /^(@+)?(\+|#+)?[rs]?$/g, Cn = /(\*)(0+)|(#+)(0+)|(0+)/g, ir = /^(0+)$/;
1364
+ function bt(e) {
1344
1365
  var t = {};
1345
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(rr, function(r, n, i) {
1366
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(nr, function(r, n, i) {
1346
1367
  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)), "";
1347
1368
  }), t;
1348
1369
  }
1349
- function ir(e) {
1370
+ function or(e) {
1350
1371
  switch (e) {
1351
1372
  case "sign-auto":
1352
1373
  return {
@@ -1386,7 +1407,7 @@ function ir(e) {
1386
1407
  };
1387
1408
  }
1388
1409
  }
1389
- function On(e) {
1410
+ function In(e) {
1390
1411
  var t;
1391
1412
  if (e[0] === "E" && e[1] === "E" ? (t = {
1392
1413
  notation: "engineering"
@@ -1394,17 +1415,17 @@ function On(e) {
1394
1415
  notation: "scientific"
1395
1416
  }, e = e.slice(1)), t) {
1396
1417
  var r = e.slice(0, 2);
1397
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !nr.test(e))
1418
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !ir.test(e))
1398
1419
  throw new Error("Malformed concise eng/scientific notation");
1399
1420
  t.minimumIntegerDigits = e.length;
1400
1421
  }
1401
1422
  return t;
1402
1423
  }
1403
- function mt(e) {
1404
- var t = {}, r = ir(e);
1424
+ function gt(e) {
1425
+ var t = {}, r = or(e);
1405
1426
  return r || t;
1406
1427
  }
1407
- function Cn(e) {
1428
+ function Nn(e) {
1408
1429
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1409
1430
  var i = n[r];
1410
1431
  switch (i.stem) {
@@ -1428,7 +1449,7 @@ function Cn(e) {
1428
1449
  continue;
1429
1450
  case "measure-unit":
1430
1451
  case "unit":
1431
- t.style = "unit", t.unit = Bn(i.options[0]);
1452
+ t.style = "unit", t.unit = Pn(i.options[0]);
1432
1453
  continue;
1433
1454
  case "compact-short":
1434
1455
  case "K":
@@ -1439,13 +1460,13 @@ function Cn(e) {
1439
1460
  t.notation = "compact", t.compactDisplay = "long";
1440
1461
  continue;
1441
1462
  case "scientific":
1442
- t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1443
- return y(y({}, l), mt(u));
1463
+ t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1464
+ return S(S({}, l), gt(u));
1444
1465
  }, {}));
1445
1466
  continue;
1446
1467
  case "engineering":
1447
- t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1448
- return y(y({}, l), mt(u));
1468
+ t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1469
+ return S(S({}, l), gt(u));
1449
1470
  }, {}));
1450
1471
  continue;
1451
1472
  case "notation-simple":
@@ -1490,7 +1511,7 @@ function Cn(e) {
1490
1511
  case "integer-width":
1491
1512
  if (i.options.length > 1)
1492
1513
  throw new RangeError("integer-width stems only accept a single optional option");
1493
- i.options[0].replace(Pn, function(l, u, h, f, c, p) {
1514
+ i.options[0].replace(Cn, function(l, u, h, f, c, p) {
1494
1515
  if (u)
1495
1516
  t.minimumIntegerDigits = h.length;
1496
1517
  else {
@@ -1503,28 +1524,28 @@ function Cn(e) {
1503
1524
  });
1504
1525
  continue;
1505
1526
  }
1506
- if (nr.test(i.stem)) {
1527
+ if (ir.test(i.stem)) {
1507
1528
  t.minimumIntegerDigits = i.stem.length;
1508
1529
  continue;
1509
1530
  }
1510
- if (pt.test(i.stem)) {
1531
+ if (mt.test(i.stem)) {
1511
1532
  if (i.options.length > 1)
1512
1533
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1513
- i.stem.replace(pt, function(l, u, h, f, c, p) {
1534
+ i.stem.replace(mt, function(l, u, h, f, c, p) {
1514
1535
  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), "";
1515
1536
  });
1516
1537
  var o = i.options[0];
1517
- o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), dt(o)));
1538
+ o === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = S(S({}, t), bt(o)));
1518
1539
  continue;
1519
1540
  }
1520
- if (rr.test(i.stem)) {
1521
- t = y(y({}, t), dt(i.stem));
1541
+ if (nr.test(i.stem)) {
1542
+ t = S(S({}, t), bt(i.stem));
1522
1543
  continue;
1523
1544
  }
1524
- var a = ir(i.stem);
1525
- a && (t = y(y({}, t), a));
1526
- var s = On(i.stem);
1527
- s && (t = y(y({}, t), s));
1545
+ var s = or(i.stem);
1546
+ s && (t = S(S({}, t), s));
1547
+ var a = In(i.stem);
1548
+ a && (t = S(S({}, t), a));
1528
1549
  }
1529
1550
  return t;
1530
1551
  }
@@ -2943,23 +2964,23 @@ var ce = {
2943
2964
  "h"
2944
2965
  ]
2945
2966
  };
2946
- function In(e, t) {
2967
+ function Mn(e, t) {
2947
2968
  for (var r = "", n = 0; n < e.length; n++) {
2948
2969
  var i = e.charAt(n);
2949
2970
  if (i === "j") {
2950
2971
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2951
2972
  o++, n++;
2952
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Nn(t);
2953
- for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
2973
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Ln(t);
2974
+ for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2954
2975
  r += l;
2955
- for (; a-- > 0; )
2976
+ for (; s-- > 0; )
2956
2977
  r = u + r;
2957
2978
  } else
2958
2979
  i === "J" ? r += "H" : r += i;
2959
2980
  }
2960
2981
  return r;
2961
2982
  }
2962
- function Nn(e) {
2983
+ function Ln(e) {
2963
2984
  var t = e.hourCycle;
2964
2985
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2965
2986
  e.hourCycles && // @ts-ignore
@@ -2981,20 +3002,20 @@ function Nn(e) {
2981
3002
  var i = ce[n || ""] || ce[r || ""] || ce["".concat(r, "-001")] || ce["001"];
2982
3003
  return i[0];
2983
3004
  }
2984
- var Pe, Mn = new RegExp("^".concat(tr.source, "*")), Ln = new RegExp("".concat(tr.source, "*$"));
3005
+ var Ce, Rn = new RegExp("^".concat(rr.source, "*")), $n = new RegExp("".concat(rr.source, "*$"));
2985
3006
  function g(e, t) {
2986
3007
  return { start: e, end: t };
2987
3008
  }
2988
- var Rn = !!String.prototype.startsWith && "_a".startsWith("a", 1), $n = !!String.fromCodePoint, Fn = !!Object.fromEntries, Un = !!String.prototype.codePointAt, Dn = !!String.prototype.trimStart, Gn = !!String.prototype.trimEnd, jn = !!Number.isSafeInteger, kn = jn ? Number.isSafeInteger : function(e) {
3009
+ var Fn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Un = !!String.fromCodePoint, Dn = !!Object.fromEntries, Gn = !!String.prototype.codePointAt, jn = !!String.prototype.trimStart, kn = !!String.prototype.trimEnd, Vn = !!Number.isSafeInteger, Xn = Vn ? Number.isSafeInteger : function(e) {
2989
3010
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2990
- }, Ge = !0;
3011
+ }, Xe = !0;
2991
3012
  try {
2992
- var Vn = sr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2993
- Ge = ((Pe = Vn.exec("a")) === null || Pe === void 0 ? void 0 : Pe[0]) === "a";
3013
+ var zn = ar("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3014
+ Xe = ((Ce = zn.exec("a")) === null || Ce === void 0 ? void 0 : Ce[0]) === "a";
2994
3015
  } catch {
2995
- Ge = !1;
3016
+ Xe = !1;
2996
3017
  }
2997
- var bt = Rn ? (
3018
+ var yt = Fn ? (
2998
3019
  // Native
2999
3020
  function(t, r, n) {
3000
3021
  return t.startsWith(r, n);
@@ -3004,31 +3025,31 @@ var bt = Rn ? (
3004
3025
  function(t, r, n) {
3005
3026
  return t.slice(n, n + r.length) === r;
3006
3027
  }
3007
- ), je = $n ? String.fromCodePoint : (
3028
+ ), ze = Un ? String.fromCodePoint : (
3008
3029
  // IE11
3009
3030
  function() {
3010
3031
  for (var t = [], r = 0; r < arguments.length; r++)
3011
3032
  t[r] = arguments[r];
3012
- for (var n = "", i = t.length, o = 0, a; i > o; ) {
3013
- if (a = t[o++], a > 1114111)
3014
- throw RangeError(a + " is not a valid code point");
3015
- n += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
3033
+ for (var n = "", i = t.length, o = 0, s; i > o; ) {
3034
+ if (s = t[o++], s > 1114111)
3035
+ throw RangeError(s + " is not a valid code point");
3036
+ n += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
3016
3037
  }
3017
3038
  return n;
3018
3039
  }
3019
- ), gt = (
3040
+ ), vt = (
3020
3041
  // native
3021
- Fn ? Object.fromEntries : (
3042
+ Dn ? Object.fromEntries : (
3022
3043
  // Ponyfill
3023
3044
  function(t) {
3024
3045
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
3025
- var o = i[n], a = o[0], s = o[1];
3026
- r[a] = s;
3046
+ var o = i[n], s = o[0], a = o[1];
3047
+ r[s] = a;
3027
3048
  }
3028
3049
  return r;
3029
3050
  }
3030
3051
  )
3031
- ), or = Un ? (
3052
+ ), sr = Gn ? (
3032
3053
  // Native
3033
3054
  function(t, r) {
3034
3055
  return t.codePointAt(r);
@@ -3042,7 +3063,7 @@ var bt = Rn ? (
3042
3063
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3043
3064
  }
3044
3065
  }
3045
- ), Xn = Dn ? (
3066
+ ), Wn = jn ? (
3046
3067
  // Native
3047
3068
  function(t) {
3048
3069
  return t.trimStart();
@@ -3050,9 +3071,9 @@ var bt = Rn ? (
3050
3071
  ) : (
3051
3072
  // Ponyfill
3052
3073
  function(t) {
3053
- return t.replace(Mn, "");
3074
+ return t.replace(Rn, "");
3054
3075
  }
3055
- ), zn = Gn ? (
3076
+ ), Zn = kn ? (
3056
3077
  // Native
3057
3078
  function(t) {
3058
3079
  return t.trimEnd();
@@ -3060,32 +3081,32 @@ var bt = Rn ? (
3060
3081
  ) : (
3061
3082
  // Ponyfill
3062
3083
  function(t) {
3063
- return t.replace(Ln, "");
3084
+ return t.replace($n, "");
3064
3085
  }
3065
3086
  );
3066
- function sr(e, t) {
3087
+ function ar(e, t) {
3067
3088
  return new RegExp(e, t);
3068
3089
  }
3069
- var ke;
3070
- if (Ge) {
3071
- var vt = sr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3072
- ke = function(t, r) {
3090
+ var We;
3091
+ if (Xe) {
3092
+ var _t = ar("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3093
+ We = function(t, r) {
3073
3094
  var n;
3074
- vt.lastIndex = r;
3075
- var i = vt.exec(t);
3095
+ _t.lastIndex = r;
3096
+ var i = _t.exec(t);
3076
3097
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3077
3098
  };
3078
3099
  } else
3079
- ke = function(t, r) {
3100
+ We = function(t, r) {
3080
3101
  for (var n = []; ; ) {
3081
- var i = or(t, r);
3082
- if (i === void 0 || ar(i) || Jn(i))
3102
+ var i = sr(t, r);
3103
+ if (i === void 0 || ur(i) || qn(i))
3083
3104
  break;
3084
3105
  n.push(i), r += i >= 65536 ? 2 : 1;
3085
3106
  }
3086
- return je.apply(void 0, n);
3107
+ return ze.apply(void 0, n);
3087
3108
  };
3088
- var Wn = (
3109
+ var Qn = (
3089
3110
  /** @class */
3090
3111
  function() {
3091
3112
  function e(t, r) {
@@ -3099,33 +3120,33 @@ var Wn = (
3099
3120
  for (var i = []; !this.isEOF(); ) {
3100
3121
  var o = this.char();
3101
3122
  if (o === 123) {
3102
- var a = this.parseArgument(t, n);
3103
- if (a.err)
3104
- return a;
3105
- i.push(a.val);
3123
+ var s = this.parseArgument(t, n);
3124
+ if (s.err)
3125
+ return s;
3126
+ i.push(s.val);
3106
3127
  } else {
3107
3128
  if (o === 125 && t > 0)
3108
3129
  break;
3109
3130
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3110
- var s = this.clonePosition();
3131
+ var a = this.clonePosition();
3111
3132
  this.bump(), i.push({
3112
- type: E.pound,
3113
- location: g(s, this.clonePosition())
3133
+ type: _.pound,
3134
+ location: g(a, this.clonePosition())
3114
3135
  });
3115
3136
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3116
3137
  if (n)
3117
3138
  break;
3118
3139
  return this.error(b.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
3119
- } else if (o === 60 && !this.ignoreTag && Ve(this.peek() || 0)) {
3120
- var a = this.parseTag(t, r);
3121
- if (a.err)
3122
- return a;
3123
- i.push(a.val);
3140
+ } else if (o === 60 && !this.ignoreTag && Ze(this.peek() || 0)) {
3141
+ var s = this.parseTag(t, r);
3142
+ if (s.err)
3143
+ return s;
3144
+ i.push(s.val);
3124
3145
  } else {
3125
- var a = this.parseLiteral(t, r);
3126
- if (a.err)
3127
- return a;
3128
- i.push(a.val);
3146
+ var s = this.parseLiteral(t, r);
3147
+ if (s.err)
3148
+ return s;
3149
+ i.push(s.val);
3129
3150
  }
3130
3151
  }
3131
3152
  }
@@ -3137,7 +3158,7 @@ var Wn = (
3137
3158
  if (this.bumpSpace(), this.bumpIf("/>"))
3138
3159
  return {
3139
3160
  val: {
3140
- type: E.literal,
3161
+ type: _.literal,
3141
3162
  value: "<".concat(i, "/>"),
3142
3163
  location: g(n, this.clonePosition())
3143
3164
  },
@@ -3147,27 +3168,27 @@ var Wn = (
3147
3168
  var o = this.parseMessage(t + 1, r, !0);
3148
3169
  if (o.err)
3149
3170
  return o;
3150
- var a = o.val, s = this.clonePosition();
3171
+ var s = o.val, a = this.clonePosition();
3151
3172
  if (this.bumpIf("</")) {
3152
- if (this.isEOF() || !Ve(this.char()))
3153
- return this.error(b.INVALID_TAG, g(s, this.clonePosition()));
3173
+ if (this.isEOF() || !Ze(this.char()))
3174
+ return this.error(b.INVALID_TAG, g(a, this.clonePosition()));
3154
3175
  var l = this.clonePosition(), u = this.parseTagName();
3155
3176
  return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, g(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3156
3177
  val: {
3157
- type: E.tag,
3178
+ type: _.tag,
3158
3179
  value: i,
3159
- children: a,
3180
+ children: s,
3160
3181
  location: g(n, this.clonePosition())
3161
3182
  },
3162
3183
  err: null
3163
- } : this.error(b.INVALID_TAG, g(s, this.clonePosition())));
3184
+ } : this.error(b.INVALID_TAG, g(a, this.clonePosition())));
3164
3185
  } else
3165
3186
  return this.error(b.UNCLOSED_TAG, g(n, this.clonePosition()));
3166
3187
  } else
3167
3188
  return this.error(b.INVALID_TAG, g(n, this.clonePosition()));
3168
3189
  }, e.prototype.parseTagName = function() {
3169
3190
  var t = this.offset();
3170
- for (this.bump(); !this.isEOF() && Qn(this.char()); )
3191
+ for (this.bump(); !this.isEOF() && Yn(this.char()); )
3171
3192
  this.bump();
3172
3193
  return this.message.slice(t, this.offset());
3173
3194
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3177,26 +3198,26 @@ var Wn = (
3177
3198
  i += o;
3178
3199
  continue;
3179
3200
  }
3180
- var a = this.tryParseUnquoted(t, r);
3181
- if (a) {
3182
- i += a;
3183
- continue;
3184
- }
3185
- var s = this.tryParseLeftAngleBracket();
3201
+ var s = this.tryParseUnquoted(t, r);
3186
3202
  if (s) {
3187
3203
  i += s;
3188
3204
  continue;
3189
3205
  }
3206
+ var a = this.tryParseLeftAngleBracket();
3207
+ if (a) {
3208
+ i += a;
3209
+ continue;
3210
+ }
3190
3211
  break;
3191
3212
  }
3192
3213
  var l = g(n, this.clonePosition());
3193
3214
  return {
3194
- val: { type: E.literal, value: i, location: l },
3215
+ val: { type: _.literal, value: i, location: l },
3195
3216
  err: null
3196
3217
  };
3197
3218
  }, e.prototype.tryParseLeftAngleBracket = function() {
3198
3219
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3199
- !Zn(this.peek() || 0)) ? (this.bump(), "<") : null;
3220
+ !Jn(this.peek() || 0)) ? (this.bump(), "<") : null;
3200
3221
  }, e.prototype.tryParseQuote = function(t) {
3201
3222
  if (this.isEOF() || this.char() !== 39)
3202
3223
  return null;
@@ -3230,12 +3251,12 @@ var Wn = (
3230
3251
  r.push(n);
3231
3252
  this.bump();
3232
3253
  }
3233
- return je.apply(void 0, r);
3254
+ return ze.apply(void 0, r);
3234
3255
  }, e.prototype.tryParseUnquoted = function(t, r) {
3235
3256
  if (this.isEOF())
3236
3257
  return null;
3237
3258
  var n = this.char();
3238
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), je(n));
3259
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ze(n));
3239
3260
  }, e.prototype.parseArgument = function(t, r) {
3240
3261
  var n = this.clonePosition();
3241
3262
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3251,7 +3272,7 @@ var Wn = (
3251
3272
  case 125:
3252
3273
  return this.bump(), {
3253
3274
  val: {
3254
- type: E.argument,
3275
+ type: _.argument,
3255
3276
  // value does not include the opening and closing braces.
3256
3277
  value: i,
3257
3278
  location: g(n, this.clonePosition())
@@ -3264,15 +3285,15 @@ var Wn = (
3264
3285
  return this.error(b.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3265
3286
  }
3266
3287
  }, e.prototype.parseIdentifierIfPossible = function() {
3267
- var t = this.clonePosition(), r = this.offset(), n = ke(this.message, r), i = r + n.length;
3288
+ var t = this.clonePosition(), r = this.offset(), n = We(this.message, r), i = r + n.length;
3268
3289
  this.bumpTo(i);
3269
- var o = this.clonePosition(), a = g(t, o);
3270
- return { value: n, location: a };
3290
+ var o = this.clonePosition(), s = g(t, o);
3291
+ return { value: n, location: s };
3271
3292
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3272
- var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3273
- switch (s) {
3293
+ var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3294
+ switch (a) {
3274
3295
  case "":
3275
- return this.error(b.EXPECT_ARGUMENT_TYPE, g(a, l));
3296
+ return this.error(b.EXPECT_ARGUMENT_TYPE, g(s, l));
3276
3297
  case "number":
3277
3298
  case "date":
3278
3299
  case "time": {
@@ -3283,7 +3304,7 @@ var Wn = (
3283
3304
  var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3284
3305
  if (f.err)
3285
3306
  return f;
3286
- var c = zn(f.val);
3307
+ var c = Zn(f.val);
3287
3308
  if (c.length === 0)
3288
3309
  return this.error(b.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
3289
3310
  var p = g(h, this.clonePosition());
@@ -3293,25 +3314,25 @@ var Wn = (
3293
3314
  if (m.err)
3294
3315
  return m;
3295
3316
  var d = g(i, this.clonePosition());
3296
- if (u && bt(u?.style, "::", 0)) {
3297
- var _ = Xn(u.style.slice(2));
3298
- if (s === "number") {
3299
- var f = this.parseNumberSkeletonFromString(_, u.styleLocation);
3317
+ if (u && yt(u?.style, "::", 0)) {
3318
+ var v = Wn(u.style.slice(2));
3319
+ if (a === "number") {
3320
+ var f = this.parseNumberSkeletonFromString(v, u.styleLocation);
3300
3321
  return f.err ? f : {
3301
- val: { type: E.number, value: n, location: d, style: f.val },
3322
+ val: { type: _.number, value: n, location: d, style: f.val },
3302
3323
  err: null
3303
3324
  };
3304
3325
  } else {
3305
- if (_.length === 0)
3326
+ if (v.length === 0)
3306
3327
  return this.error(b.EXPECT_DATE_TIME_SKELETON, d);
3307
- var S = _;
3308
- this.locale && (S = In(_, this.locale));
3328
+ var x = v;
3329
+ this.locale && (x = Mn(v, this.locale));
3309
3330
  var c = {
3310
- type: Y.dateTime,
3311
- pattern: S,
3331
+ type: J.dateTime,
3332
+ pattern: x,
3312
3333
  location: u.styleLocation,
3313
- parsedOptions: this.shouldParseSkeletons ? Hn(S) : {}
3314
- }, I = s === "date" ? E.date : E.time;
3334
+ parsedOptions: this.shouldParseSkeletons ? An(x) : {}
3335
+ }, I = a === "date" ? _.date : _.time;
3315
3336
  return {
3316
3337
  val: { type: I, value: n, location: d, style: c },
3317
3338
  err: null
@@ -3320,7 +3341,7 @@ var Wn = (
3320
3341
  }
3321
3342
  return {
3322
3343
  val: {
3323
- type: s === "number" ? E.number : s === "date" ? E.date : E.time,
3344
+ type: a === "number" ? _.number : a === "date" ? _.date : _.time,
3324
3345
  value: n,
3325
3346
  location: d,
3326
3347
  style: (o = u?.style) !== null && o !== void 0 ? o : null
@@ -3333,47 +3354,47 @@ var Wn = (
3333
3354
  case "select": {
3334
3355
  var T = this.clonePosition();
3335
3356
  if (this.bumpSpace(), !this.bumpIf(","))
3336
- return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, g(T, y({}, T)));
3357
+ return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, g(T, ge({}, T)));
3337
3358
  this.bumpSpace();
3338
- var w = this.parseIdentifierIfPossible(), M = 0;
3339
- if (s !== "select" && w.value === "offset") {
3359
+ var H = this.parseIdentifierIfPossible(), L = 0;
3360
+ if (a !== "select" && H.value === "offset") {
3340
3361
  if (!this.bumpIf(":"))
3341
3362
  return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
3342
3363
  this.bumpSpace();
3343
3364
  var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3344
3365
  if (f.err)
3345
3366
  return f;
3346
- this.bumpSpace(), w = this.parseIdentifierIfPossible(), M = f.val;
3367
+ this.bumpSpace(), H = this.parseIdentifierIfPossible(), L = f.val;
3347
3368
  }
3348
- var k = this.tryParsePluralOrSelectOptions(t, s, r, w);
3369
+ var k = this.tryParsePluralOrSelectOptions(t, a, r, H);
3349
3370
  if (k.err)
3350
3371
  return k;
3351
3372
  var m = this.tryParseArgumentClose(i);
3352
3373
  if (m.err)
3353
3374
  return m;
3354
- var v = g(i, this.clonePosition());
3355
- return s === "select" ? {
3375
+ var y = g(i, this.clonePosition());
3376
+ return a === "select" ? {
3356
3377
  val: {
3357
- type: E.select,
3378
+ type: _.select,
3358
3379
  value: n,
3359
- options: gt(k.val),
3360
- location: v
3380
+ options: vt(k.val),
3381
+ location: y
3361
3382
  },
3362
3383
  err: null
3363
3384
  } : {
3364
3385
  val: {
3365
- type: E.plural,
3386
+ type: _.plural,
3366
3387
  value: n,
3367
- options: gt(k.val),
3368
- offset: M,
3369
- pluralType: s === "plural" ? "cardinal" : "ordinal",
3370
- location: v
3388
+ options: vt(k.val),
3389
+ offset: L,
3390
+ pluralType: a === "plural" ? "cardinal" : "ordinal",
3391
+ location: y
3371
3392
  },
3372
3393
  err: null
3373
3394
  };
3374
3395
  }
3375
3396
  default:
3376
- return this.error(b.INVALID_ARGUMENT_TYPE, g(a, l));
3397
+ return this.error(b.INVALID_ARGUMENT_TYPE, g(s, l));
3377
3398
  }
3378
3399
  }, e.prototype.tryParseArgumentClose = function(t) {
3379
3400
  return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
@@ -3415,21 +3436,21 @@ var Wn = (
3415
3436
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3416
3437
  var n = [];
3417
3438
  try {
3418
- n = An(t);
3439
+ n = On(t);
3419
3440
  } catch {
3420
3441
  return this.error(b.INVALID_NUMBER_SKELETON, r);
3421
3442
  }
3422
3443
  return {
3423
3444
  val: {
3424
- type: Y.number,
3445
+ type: J.number,
3425
3446
  tokens: n,
3426
3447
  location: r,
3427
- parsedOptions: this.shouldParseSkeletons ? Cn(n) : {}
3448
+ parsedOptions: this.shouldParseSkeletons ? Nn(n) : {}
3428
3449
  },
3429
3450
  err: null
3430
3451
  };
3431
3452
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3432
- for (var o, a = !1, s = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
3453
+ for (var o, s = !1, a = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
3433
3454
  if (u.length === 0) {
3434
3455
  var f = this.clonePosition();
3435
3456
  if (r !== "select" && this.bumpIf("=")) {
@@ -3442,7 +3463,7 @@ var Wn = (
3442
3463
  }
3443
3464
  if (l.has(u))
3444
3465
  return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3445
- u === "other" && (a = !0), this.bumpSpace();
3466
+ u === "other" && (s = !0), this.bumpSpace();
3446
3467
  var p = this.clonePosition();
3447
3468
  if (!this.bumpIf("{"))
3448
3469
  return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
@@ -3452,7 +3473,7 @@ var Wn = (
3452
3473
  var d = this.tryParseArgumentClose(p);
3453
3474
  if (d.err)
3454
3475
  return d;
3455
- s.push([
3476
+ a.push([
3456
3477
  u,
3457
3478
  {
3458
3479
  value: m.val,
@@ -3460,19 +3481,19 @@ var Wn = (
3460
3481
  }
3461
3482
  ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
3462
3483
  }
3463
- return s.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, g(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(b.MISSING_OTHER_CLAUSE, g(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3484
+ return a.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, g(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(b.MISSING_OTHER_CLAUSE, g(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3464
3485
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3465
3486
  var n = 1, i = this.clonePosition();
3466
3487
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3467
- for (var o = !1, a = 0; !this.isEOF(); ) {
3468
- var s = this.char();
3469
- if (s >= 48 && s <= 57)
3470
- o = !0, a = a * 10 + (s - 48), this.bump();
3488
+ for (var o = !1, s = 0; !this.isEOF(); ) {
3489
+ var a = this.char();
3490
+ if (a >= 48 && a <= 57)
3491
+ o = !0, s = s * 10 + (a - 48), this.bump();
3471
3492
  else
3472
3493
  break;
3473
3494
  }
3474
3495
  var l = g(i, this.clonePosition());
3475
- return o ? (a *= n, kn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3496
+ return o ? (s *= n, Xn(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3476
3497
  }, e.prototype.offset = function() {
3477
3498
  return this.position.offset;
3478
3499
  }, e.prototype.isEOF = function() {
@@ -3487,7 +3508,7 @@ var Wn = (
3487
3508
  var t = this.position.offset;
3488
3509
  if (t >= this.message.length)
3489
3510
  throw Error("out of bound");
3490
- var r = or(this.message, t);
3511
+ var r = sr(this.message, t);
3491
3512
  if (r === void 0)
3492
3513
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3493
3514
  return r;
@@ -3506,7 +3527,7 @@ var Wn = (
3506
3527
  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);
3507
3528
  }
3508
3529
  }, e.prototype.bumpIf = function(t) {
3509
- if (bt(this.message, t, this.offset())) {
3530
+ if (yt(this.message, t, this.offset())) {
3510
3531
  for (var r = 0; r < t.length; r++)
3511
3532
  this.bump();
3512
3533
  return !0;
@@ -3528,7 +3549,7 @@ var Wn = (
3528
3549
  break;
3529
3550
  }
3530
3551
  }, e.prototype.bumpSpace = function() {
3531
- for (; !this.isEOF() && ar(this.char()); )
3552
+ for (; !this.isEOF() && ur(this.char()); )
3532
3553
  this.bump();
3533
3554
  }, e.prototype.peek = function() {
3534
3555
  if (this.isEOF())
@@ -3538,47 +3559,47 @@ var Wn = (
3538
3559
  }, e;
3539
3560
  }()
3540
3561
  );
3541
- function Ve(e) {
3562
+ function Ze(e) {
3542
3563
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3543
3564
  }
3544
- function Zn(e) {
3545
- return Ve(e) || e === 47;
3565
+ function Jn(e) {
3566
+ return Ze(e) || e === 47;
3546
3567
  }
3547
- function Qn(e) {
3568
+ function Yn(e) {
3548
3569
  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;
3549
3570
  }
3550
- function ar(e) {
3571
+ function ur(e) {
3551
3572
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3552
3573
  }
3553
- function Jn(e) {
3574
+ function qn(e) {
3554
3575
  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;
3555
3576
  }
3556
- function Xe(e) {
3577
+ function Qe(e) {
3557
3578
  e.forEach(function(t) {
3558
- if (delete t.location, Yt(t) || qt(t))
3579
+ if (delete t.location, qt(t) || Kt(t))
3559
3580
  for (var r in t.options)
3560
- delete t.options[r].location, Xe(t.options[r].value);
3581
+ delete t.options[r].location, Qe(t.options[r].value);
3561
3582
  else
3562
- Zt(t) && er(t.style) || (Qt(t) || Jt(t)) && De(t.style) ? delete t.style.location : Kt(t) && Xe(t.children);
3583
+ Qt(t) && tr(t.style) || (Jt(t) || Yt(t)) && Ve(t.style) ? delete t.style.location : er(t) && Qe(t.children);
3563
3584
  });
3564
3585
  }
3565
- function Yn(e, t) {
3566
- t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3567
- var r = new Wn(e, t).parse();
3586
+ function Kn(e, t) {
3587
+ t === void 0 && (t = {}), t = ge({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3588
+ var r = new Qn(e, t).parse();
3568
3589
  if (r.err) {
3569
3590
  var n = SyntaxError(b[r.err.kind]);
3570
3591
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3571
3592
  }
3572
- return t?.captureLocation || Xe(r.val), r.val;
3593
+ return t?.captureLocation || Qe(r.val), r.val;
3573
3594
  }
3574
- var q;
3595
+ var Y;
3575
3596
  (function(e) {
3576
3597
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3577
- })(q || (q = {}));
3578
- var Ee = (
3598
+ })(Y || (Y = {}));
3599
+ var Se = (
3579
3600
  /** @class */
3580
3601
  function(e) {
3581
- $(t, e);
3602
+ xe(t, e);
3582
3603
  function t(r, n, i) {
3583
3604
  var o = e.call(this, r) || this;
3584
3605
  return o.code = n, o.originalMessage = i, o;
@@ -3587,65 +3608,65 @@ var Ee = (
3587
3608
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3588
3609
  }, t;
3589
3610
  }(Error)
3590
- ), yt = (
3611
+ ), Et = (
3591
3612
  /** @class */
3592
3613
  function(e) {
3593
- $(t, e);
3614
+ xe(t, e);
3594
3615
  function t(r, n, i, o) {
3595
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), q.INVALID_VALUE, o) || this;
3616
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Y.INVALID_VALUE, o) || this;
3596
3617
  }
3597
3618
  return t;
3598
- }(Ee)
3599
- ), qn = (
3619
+ }(Se)
3620
+ ), ei = (
3600
3621
  /** @class */
3601
3622
  function(e) {
3602
- $(t, e);
3623
+ xe(t, e);
3603
3624
  function t(r, n, i) {
3604
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), q.INVALID_VALUE, i) || this;
3625
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Y.INVALID_VALUE, i) || this;
3605
3626
  }
3606
3627
  return t;
3607
- }(Ee)
3608
- ), Kn = (
3628
+ }(Se)
3629
+ ), ti = (
3609
3630
  /** @class */
3610
3631
  function(e) {
3611
- $(t, e);
3632
+ xe(t, e);
3612
3633
  function t(r, n) {
3613
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), q.MISSING_VALUE, n) || this;
3634
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Y.MISSING_VALUE, n) || this;
3614
3635
  }
3615
3636
  return t;
3616
- }(Ee)
3637
+ }(Se)
3617
3638
  ), A;
3618
3639
  (function(e) {
3619
3640
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3620
3641
  })(A || (A = {}));
3621
- function ei(e) {
3642
+ function ri(e) {
3622
3643
  return e.length < 2 ? e : e.reduce(function(t, r) {
3623
3644
  var n = t[t.length - 1];
3624
3645
  return !n || n.type !== A.literal || r.type !== A.literal ? t.push(r) : n.value += r.value, t;
3625
3646
  }, []);
3626
3647
  }
3627
- function ti(e) {
3648
+ function ni(e) {
3628
3649
  return typeof e == "function";
3629
3650
  }
3630
- function me(e, t, r, n, i, o, a) {
3631
- if (e.length === 1 && ct(e[0]))
3651
+ function me(e, t, r, n, i, o, s) {
3652
+ if (e.length === 1 && dt(e[0]))
3632
3653
  return [
3633
3654
  {
3634
3655
  type: A.literal,
3635
3656
  value: e[0].value
3636
3657
  }
3637
3658
  ];
3638
- for (var s = [], l = 0, u = e; l < u.length; l++) {
3659
+ for (var a = [], l = 0, u = e; l < u.length; l++) {
3639
3660
  var h = u[l];
3640
- if (ct(h)) {
3641
- s.push({
3661
+ if (dt(h)) {
3662
+ a.push({
3642
3663
  type: A.literal,
3643
3664
  value: h.value
3644
3665
  });
3645
3666
  continue;
3646
3667
  }
3647
- if (Sn(h)) {
3648
- typeof o == "number" && s.push({
3668
+ if (wn(h)) {
3669
+ typeof o == "number" && a.push({
3649
3670
  type: A.literal,
3650
3671
  value: r.getNumberFormat(t).format(o)
3651
3672
  });
@@ -3653,89 +3674,89 @@ function me(e, t, r, n, i, o, a) {
3653
3674
  }
3654
3675
  var f = h.value;
3655
3676
  if (!(i && f in i))
3656
- throw new Kn(f, a);
3677
+ throw new ti(f, s);
3657
3678
  var c = i[f];
3658
- if (xn(h)) {
3659
- (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), s.push({
3679
+ if (Tn(h)) {
3680
+ (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3660
3681
  type: typeof c == "string" ? A.literal : A.object,
3661
3682
  value: c
3662
3683
  });
3663
3684
  continue;
3664
3685
  }
3665
- if (Qt(h)) {
3666
- var p = typeof h.style == "string" ? n.date[h.style] : De(h.style) ? h.style.parsedOptions : void 0;
3667
- s.push({
3686
+ if (Jt(h)) {
3687
+ var p = typeof h.style == "string" ? n.date[h.style] : Ve(h.style) ? h.style.parsedOptions : void 0;
3688
+ a.push({
3668
3689
  type: A.literal,
3669
3690
  value: r.getDateTimeFormat(t, p).format(c)
3670
3691
  });
3671
3692
  continue;
3672
3693
  }
3673
- if (Jt(h)) {
3674
- var p = typeof h.style == "string" ? n.time[h.style] : De(h.style) ? h.style.parsedOptions : n.time.medium;
3675
- s.push({
3694
+ if (Yt(h)) {
3695
+ var p = typeof h.style == "string" ? n.time[h.style] : Ve(h.style) ? h.style.parsedOptions : n.time.medium;
3696
+ a.push({
3676
3697
  type: A.literal,
3677
3698
  value: r.getDateTimeFormat(t, p).format(c)
3678
3699
  });
3679
3700
  continue;
3680
3701
  }
3681
- if (Zt(h)) {
3682
- var p = typeof h.style == "string" ? n.number[h.style] : er(h.style) ? h.style.parsedOptions : void 0;
3683
- p && p.scale && (c = c * (p.scale || 1)), s.push({
3702
+ if (Qt(h)) {
3703
+ var p = typeof h.style == "string" ? n.number[h.style] : tr(h.style) ? h.style.parsedOptions : void 0;
3704
+ p && p.scale && (c = c * (p.scale || 1)), a.push({
3684
3705
  type: A.literal,
3685
3706
  value: r.getNumberFormat(t, p).format(c)
3686
3707
  });
3687
3708
  continue;
3688
3709
  }
3689
- if (Kt(h)) {
3690
- var m = h.children, d = h.value, _ = i[d];
3691
- if (!ti(_))
3692
- throw new qn(d, "function", a);
3693
- var S = me(m, t, r, n, i, o), I = _(S.map(function(M) {
3694
- return M.value;
3710
+ if (er(h)) {
3711
+ var m = h.children, d = h.value, v = i[d];
3712
+ if (!ni(v))
3713
+ throw new ei(d, "function", s);
3714
+ var x = me(m, t, r, n, i, o), I = v(x.map(function(L) {
3715
+ return L.value;
3695
3716
  }));
3696
- Array.isArray(I) || (I = [I]), s.push.apply(s, I.map(function(M) {
3717
+ Array.isArray(I) || (I = [I]), a.push.apply(a, I.map(function(L) {
3697
3718
  return {
3698
- type: typeof M == "string" ? A.literal : A.object,
3699
- value: M
3719
+ type: typeof L == "string" ? A.literal : A.object,
3720
+ value: L
3700
3721
  };
3701
3722
  }));
3702
3723
  }
3703
- if (Yt(h)) {
3724
+ if (qt(h)) {
3704
3725
  var T = h.options[c] || h.options.other;
3705
3726
  if (!T)
3706
- throw new yt(h.value, c, Object.keys(h.options), a);
3707
- s.push.apply(s, me(T.value, t, r, n, i));
3727
+ throw new Et(h.value, c, Object.keys(h.options), s);
3728
+ a.push.apply(a, me(T.value, t, r, n, i));
3708
3729
  continue;
3709
3730
  }
3710
- if (qt(h)) {
3731
+ if (Kt(h)) {
3711
3732
  var T = h.options["=".concat(c)];
3712
3733
  if (!T) {
3713
3734
  if (!Intl.PluralRules)
3714
- throw new Ee(`Intl.PluralRules is not available in this environment.
3735
+ throw new Se(`Intl.PluralRules is not available in this environment.
3715
3736
  Try polyfilling it using "@formatjs/intl-pluralrules"
3716
- `, q.MISSING_INTL_API, a);
3717
- var w = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3718
- T = h.options[w] || h.options.other;
3737
+ `, Y.MISSING_INTL_API, s);
3738
+ var H = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3739
+ T = h.options[H] || h.options.other;
3719
3740
  }
3720
3741
  if (!T)
3721
- throw new yt(h.value, c, Object.keys(h.options), a);
3722
- s.push.apply(s, me(T.value, t, r, n, i, c - (h.offset || 0)));
3742
+ throw new Et(h.value, c, Object.keys(h.options), s);
3743
+ a.push.apply(a, me(T.value, t, r, n, i, c - (h.offset || 0)));
3723
3744
  continue;
3724
3745
  }
3725
3746
  }
3726
- return ei(s);
3747
+ return ri(a);
3727
3748
  }
3728
- function ri(e, t) {
3729
- return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3730
- return r[n] = y(y({}, e[n]), t[n] || {}), r;
3749
+ function ii(e, t) {
3750
+ return t ? N(N(N({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3751
+ return r[n] = N(N({}, e[n]), t[n] || {}), r;
3731
3752
  }, {})) : e;
3732
3753
  }
3733
- function ni(e, t) {
3754
+ function oi(e, t) {
3734
3755
  return t ? Object.keys(e).reduce(function(r, n) {
3735
- return r[n] = ri(e[n], t[n]), r;
3736
- }, y({}, e)) : e;
3756
+ return r[n] = ii(e[n], t[n]), r;
3757
+ }, N({}, e)) : e;
3737
3758
  }
3738
- function Oe(e) {
3759
+ function Ie(e) {
3739
3760
  return {
3740
3761
  create: function() {
3741
3762
  return {
@@ -3749,39 +3770,39 @@ function Oe(e) {
3749
3770
  }
3750
3771
  };
3751
3772
  }
3752
- function ii(e) {
3773
+ function si(e) {
3753
3774
  return e === void 0 && (e = {
3754
3775
  number: {},
3755
3776
  dateTime: {},
3756
3777
  pluralRules: {}
3757
3778
  }), {
3758
- getNumberFormat: Ae(function() {
3779
+ getNumberFormat: Oe(function() {
3759
3780
  for (var t, r = [], n = 0; n < arguments.length; n++)
3760
3781
  r[n] = arguments[n];
3761
- return new ((t = Intl.NumberFormat).bind.apply(t, Q([void 0], r, !1)))();
3782
+ return new ((t = Intl.NumberFormat).bind.apply(t, Be([void 0], r, !1)))();
3762
3783
  }, {
3763
- cache: Oe(e.number),
3764
- strategy: Be.variadic
3784
+ cache: Ie(e.number),
3785
+ strategy: Pe.variadic
3765
3786
  }),
3766
- getDateTimeFormat: Ae(function() {
3787
+ getDateTimeFormat: Oe(function() {
3767
3788
  for (var t, r = [], n = 0; n < arguments.length; n++)
3768
3789
  r[n] = arguments[n];
3769
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Q([void 0], r, !1)))();
3790
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Be([void 0], r, !1)))();
3770
3791
  }, {
3771
- cache: Oe(e.dateTime),
3772
- strategy: Be.variadic
3792
+ cache: Ie(e.dateTime),
3793
+ strategy: Pe.variadic
3773
3794
  }),
3774
- getPluralRules: Ae(function() {
3795
+ getPluralRules: Oe(function() {
3775
3796
  for (var t, r = [], n = 0; n < arguments.length; n++)
3776
3797
  r[n] = arguments[n];
3777
- return new ((t = Intl.PluralRules).bind.apply(t, Q([void 0], r, !1)))();
3798
+ return new ((t = Intl.PluralRules).bind.apply(t, Be([void 0], r, !1)))();
3778
3799
  }, {
3779
- cache: Oe(e.pluralRules),
3780
- strategy: Be.variadic
3800
+ cache: Ie(e.pluralRules),
3801
+ strategy: Pe.variadic
3781
3802
  })
3782
3803
  };
3783
3804
  }
3784
- var oi = (
3805
+ var ai = (
3785
3806
  /** @class */
3786
3807
  function() {
3787
3808
  function e(t, r, n, i) {
@@ -3811,15 +3832,15 @@ var oi = (
3811
3832
  }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
3812
3833
  if (this.message = t, !e.__parse)
3813
3834
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3814
- var a = i || {};
3815
- a.formatters;
3816
- var s = $r(a, ["formatters"]);
3817
- this.ast = e.__parse(t, y(y({}, s), { locale: this.resolvedLocale }));
3835
+ var s = i || {};
3836
+ s.formatters;
3837
+ var a = bn(s, ["formatters"]);
3838
+ this.ast = e.__parse(t, N(N({}, a), { locale: this.resolvedLocale }));
3818
3839
  } else
3819
3840
  this.ast = t;
3820
3841
  if (!Array.isArray(this.ast))
3821
3842
  throw new TypeError("A message must be provided as a String or AST.");
3822
- this.formats = ni(e.formats, n), this.formatters = i && i.formatters || ii(this.formatterCache);
3843
+ this.formats = oi(e.formats, n), this.formatters = i && i.formatters || si(this.formatterCache);
3823
3844
  }
3824
3845
  return Object.defineProperty(e, "defaultLocale", {
3825
3846
  get: function() {
@@ -3832,7 +3853,7 @@ var oi = (
3832
3853
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3833
3854
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3834
3855
  }
3835
- }, e.__parse = Yn, e.formats = {
3856
+ }, e.__parse = Kn, e.formats = {
3836
3857
  number: {
3837
3858
  integer: {
3838
3859
  maximumFractionDigits: 0
@@ -3893,7 +3914,7 @@ var oi = (
3893
3914
  }, e;
3894
3915
  }()
3895
3916
  );
3896
- function si(e, t) {
3917
+ function ui(e, t) {
3897
3918
  if (t == null)
3898
3919
  return;
3899
3920
  if (t in e)
@@ -3914,92 +3935,92 @@ function si(e, t) {
3914
3935
  n = void 0;
3915
3936
  return n;
3916
3937
  }
3917
- const F = {}, ai = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), ur = (e, t) => {
3938
+ const F = {}, li = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), lr = (e, t) => {
3918
3939
  if (t == null)
3919
3940
  return;
3920
3941
  if (t in F && e in F[t])
3921
3942
  return F[t][e];
3922
- const r = xe(t);
3943
+ const r = Te(t);
3923
3944
  for (let n = 0; n < r.length; n++) {
3924
- const i = r[n], o = li(i, e);
3945
+ const i = r[n], o = fi(i, e);
3925
3946
  if (o)
3926
- return ai(e, t, o);
3947
+ return li(e, t, o);
3927
3948
  }
3928
3949
  };
3929
- let qe;
3930
- const ue = _e({});
3931
- function ui(e) {
3932
- return qe[e] || null;
3950
+ let et;
3951
+ const ue = Ee({});
3952
+ function hi(e) {
3953
+ return et[e] || null;
3933
3954
  }
3934
- function lr(e) {
3935
- return e in qe;
3955
+ function hr(e) {
3956
+ return e in et;
3936
3957
  }
3937
- function li(e, t) {
3938
- if (!lr(e))
3958
+ function fi(e, t) {
3959
+ if (!hr(e))
3939
3960
  return null;
3940
- const r = ui(e);
3941
- return si(r, t);
3961
+ const r = hi(e);
3962
+ return ui(r, t);
3942
3963
  }
3943
- function hi(e) {
3964
+ function ci(e) {
3944
3965
  if (e == null)
3945
3966
  return;
3946
- const t = xe(e);
3967
+ const t = Te(e);
3947
3968
  for (let r = 0; r < t.length; r++) {
3948
3969
  const n = t[r];
3949
- if (lr(n))
3970
+ if (hr(n))
3950
3971
  return n;
3951
3972
  }
3952
3973
  }
3953
- function hr(e, ...t) {
3974
+ function fr(e, ...t) {
3954
3975
  delete F[e], ue.update((r) => (r[e] = mn.all([r[e] || {}, ...t]), r));
3955
3976
  }
3956
- ee(
3977
+ K(
3957
3978
  [ue],
3958
3979
  ([e]) => Object.keys(e)
3959
3980
  );
3960
- ue.subscribe((e) => qe = e);
3981
+ ue.subscribe((e) => et = e);
3961
3982
  const be = {};
3962
- function fi(e, t) {
3983
+ function pi(e, t) {
3963
3984
  be[e].delete(t), be[e].size === 0 && delete be[e];
3964
3985
  }
3965
- function fr(e) {
3986
+ function cr(e) {
3966
3987
  return be[e];
3967
3988
  }
3968
- function ci(e) {
3969
- return xe(e).map((t) => {
3970
- const r = fr(t);
3989
+ function di(e) {
3990
+ return Te(e).map((t) => {
3991
+ const r = cr(t);
3971
3992
  return [t, r ? [...r] : []];
3972
3993
  }).filter(([, t]) => t.length > 0);
3973
3994
  }
3974
- function ze(e) {
3975
- return e == null ? !1 : xe(e).some(
3995
+ function Je(e) {
3996
+ return e == null ? !1 : Te(e).some(
3976
3997
  (t) => {
3977
3998
  var r;
3978
- return (r = fr(t)) == null ? void 0 : r.size;
3999
+ return (r = cr(t)) == null ? void 0 : r.size;
3979
4000
  }
3980
4001
  );
3981
4002
  }
3982
- function pi(e, t) {
4003
+ function mi(e, t) {
3983
4004
  return Promise.all(
3984
- t.map((n) => (fi(e, n), n().then((i) => i.default || i)))
3985
- ).then((n) => hr(e, ...n));
3986
- }
3987
- const re = {};
3988
- function cr(e) {
3989
- if (!ze(e))
3990
- return e in re ? re[e] : Promise.resolve();
3991
- const t = ci(e);
3992
- return re[e] = Promise.all(
4005
+ t.map((n) => (pi(e, n), n().then((i) => i.default || i)))
4006
+ ).then((n) => fr(e, ...n));
4007
+ }
4008
+ const te = {};
4009
+ function pr(e) {
4010
+ if (!Je(e))
4011
+ return e in te ? te[e] : Promise.resolve();
4012
+ const t = di(e);
4013
+ return te[e] = Promise.all(
3993
4014
  t.map(
3994
- ([r, n]) => pi(r, n)
4015
+ ([r, n]) => mi(r, n)
3995
4016
  )
3996
4017
  ).then(() => {
3997
- if (ze(e))
3998
- return cr(e);
3999
- delete re[e];
4000
- }), re[e];
4018
+ if (Je(e))
4019
+ return pr(e);
4020
+ delete te[e];
4021
+ }), te[e];
4001
4022
  }
4002
- const di = {
4023
+ const bi = {
4003
4024
  number: {
4004
4025
  scientific: { notation: "scientific" },
4005
4026
  engineering: { notation: "engineering" },
@@ -4028,159 +4049,159 @@ const di = {
4028
4049
  timeZoneName: "short"
4029
4050
  }
4030
4051
  }
4031
- }, mi = {
4052
+ }, gi = {
4032
4053
  fallbackLocale: null,
4033
4054
  loadingDelay: 200,
4034
- formats: di,
4055
+ formats: bi,
4035
4056
  warnOnMissingMessages: !0,
4036
4057
  handleMissingMessage: void 0,
4037
4058
  ignoreTag: !0
4038
- }, bi = mi;
4039
- function K() {
4040
- return bi;
4059
+ }, yi = gi;
4060
+ function q() {
4061
+ return yi;
4041
4062
  }
4042
- const Ce = _e(!1);
4043
- var gi = Object.defineProperty, vi = Object.defineProperties, yi = Object.getOwnPropertyDescriptors, _t = Object.getOwnPropertySymbols, _i = Object.prototype.hasOwnProperty, Ei = Object.prototype.propertyIsEnumerable, Et = (e, t, r) => t in e ? gi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, xi = (e, t) => {
4063
+ const Ne = Ee(!1);
4064
+ var vi = Object.defineProperty, _i = Object.defineProperties, Ei = Object.getOwnPropertyDescriptors, xt = Object.getOwnPropertySymbols, xi = Object.prototype.hasOwnProperty, Si = Object.prototype.propertyIsEnumerable, St = (e, t, r) => t in e ? vi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ti = (e, t) => {
4044
4065
  for (var r in t || (t = {}))
4045
- _i.call(t, r) && Et(e, r, t[r]);
4046
- if (_t)
4047
- for (var r of _t(t))
4048
- Ei.call(t, r) && Et(e, r, t[r]);
4066
+ xi.call(t, r) && St(e, r, t[r]);
4067
+ if (xt)
4068
+ for (var r of xt(t))
4069
+ Si.call(t, r) && St(e, r, t[r]);
4049
4070
  return e;
4050
- }, Si = (e, t) => vi(e, yi(t));
4051
- let We;
4052
- const ge = _e(null);
4053
- function xt(e) {
4071
+ }, wi = (e, t) => _i(e, Ei(t));
4072
+ let Ye;
4073
+ const ye = Ee(null);
4074
+ function Tt(e) {
4054
4075
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4055
4076
  }
4056
- function xe(e, t = K().fallbackLocale) {
4057
- const r = xt(e);
4058
- return t ? [.../* @__PURE__ */ new Set([...r, ...xt(t)])] : r;
4077
+ function Te(e, t = q().fallbackLocale) {
4078
+ const r = Tt(e);
4079
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Tt(t)])] : r;
4059
4080
  }
4060
4081
  function j() {
4061
- return We ?? void 0;
4082
+ return Ye ?? void 0;
4062
4083
  }
4063
- ge.subscribe((e) => {
4064
- We = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4084
+ ye.subscribe((e) => {
4085
+ Ye = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4065
4086
  });
4066
- const Ti = (e) => {
4067
- if (e && hi(e) && ze(e)) {
4068
- const { loadingDelay: t } = K();
4087
+ const Hi = (e) => {
4088
+ if (e && ci(e) && Je(e)) {
4089
+ const { loadingDelay: t } = q();
4069
4090
  let r;
4070
4091
  return typeof window < "u" && j() != null && t ? r = window.setTimeout(
4071
- () => Ce.set(!0),
4092
+ () => Ne.set(!0),
4072
4093
  t
4073
- ) : Ce.set(!0), cr(e).then(() => {
4074
- ge.set(e);
4094
+ ) : Ne.set(!0), pr(e).then(() => {
4095
+ ye.set(e);
4075
4096
  }).finally(() => {
4076
- clearTimeout(r), Ce.set(!1);
4097
+ clearTimeout(r), Ne.set(!1);
4077
4098
  });
4078
4099
  }
4079
- return ge.set(e);
4080
- }, le = Si(xi({}, ge), {
4081
- set: Ti
4082
- }), Se = (e) => {
4100
+ return ye.set(e);
4101
+ }, le = wi(Ti({}, ye), {
4102
+ set: Hi
4103
+ }), we = (e) => {
4083
4104
  const t = /* @__PURE__ */ Object.create(null);
4084
4105
  return (n) => {
4085
4106
  const i = JSON.stringify(n);
4086
4107
  return i in t ? t[i] : t[i] = e(n);
4087
4108
  };
4088
4109
  };
4089
- var Hi = Object.defineProperty, ve = Object.getOwnPropertySymbols, pr = Object.prototype.hasOwnProperty, dr = Object.prototype.propertyIsEnumerable, St = (e, t, r) => t in e ? Hi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ke = (e, t) => {
4110
+ var Ai = Object.defineProperty, ve = Object.getOwnPropertySymbols, dr = Object.prototype.hasOwnProperty, mr = Object.prototype.propertyIsEnumerable, wt = (e, t, r) => t in e ? Ai(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, tt = (e, t) => {
4090
4111
  for (var r in t || (t = {}))
4091
- pr.call(t, r) && St(e, r, t[r]);
4112
+ dr.call(t, r) && wt(e, r, t[r]);
4092
4113
  if (ve)
4093
4114
  for (var r of ve(t))
4094
- dr.call(t, r) && St(e, r, t[r]);
4115
+ mr.call(t, r) && wt(e, r, t[r]);
4095
4116
  return e;
4096
- }, te = (e, t) => {
4117
+ }, ee = (e, t) => {
4097
4118
  var r = {};
4098
4119
  for (var n in e)
4099
- pr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4120
+ dr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4100
4121
  if (e != null && ve)
4101
4122
  for (var n of ve(e))
4102
- t.indexOf(n) < 0 && dr.call(e, n) && (r[n] = e[n]);
4123
+ t.indexOf(n) < 0 && mr.call(e, n) && (r[n] = e[n]);
4103
4124
  return r;
4104
4125
  };
4105
- const oe = (e, t) => {
4106
- const { formats: r } = K();
4126
+ const ie = (e, t) => {
4127
+ const { formats: r } = q();
4107
4128
  if (e in r && t in r[e])
4108
4129
  return r[e][t];
4109
4130
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4110
- }, wi = Se(
4131
+ }, Bi = we(
4111
4132
  (e) => {
4112
- var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
4133
+ var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4113
4134
  if (r == null)
4114
4135
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4115
- return n && (i = oe("number", n)), new Intl.NumberFormat(r, i);
4136
+ return n && (i = ie("number", n)), new Intl.NumberFormat(r, i);
4116
4137
  }
4117
- ), Ai = Se(
4138
+ ), Oi = we(
4118
4139
  (e) => {
4119
- var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
4140
+ var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4120
4141
  if (r == null)
4121
4142
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4122
- return n ? i = oe("date", n) : Object.keys(i).length === 0 && (i = oe("date", "short")), new Intl.DateTimeFormat(r, i);
4143
+ return n ? i = ie("date", n) : Object.keys(i).length === 0 && (i = ie("date", "short")), new Intl.DateTimeFormat(r, i);
4123
4144
  }
4124
- ), Bi = Se(
4145
+ ), Pi = we(
4125
4146
  (e) => {
4126
- var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
4147
+ var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4127
4148
  if (r == null)
4128
4149
  throw new Error(
4129
4150
  '[svelte-i18n] A "locale" must be set to format time values'
4130
4151
  );
4131
- return n ? i = oe("time", n) : Object.keys(i).length === 0 && (i = oe("time", "short")), new Intl.DateTimeFormat(r, i);
4152
+ return n ? i = ie("time", n) : Object.keys(i).length === 0 && (i = ie("time", "short")), new Intl.DateTimeFormat(r, i);
4132
4153
  }
4133
- ), Pi = (e = {}) => {
4154
+ ), Ci = (e = {}) => {
4134
4155
  var t = e, {
4135
4156
  locale: r = j()
4136
- } = t, n = te(t, [
4157
+ } = t, n = ee(t, [
4137
4158
  "locale"
4138
4159
  ]);
4139
- return wi(Ke({ locale: r }, n));
4140
- }, Oi = (e = {}) => {
4160
+ return Bi(tt({ locale: r }, n));
4161
+ }, Ii = (e = {}) => {
4141
4162
  var t = e, {
4142
4163
  locale: r = j()
4143
- } = t, n = te(t, [
4164
+ } = t, n = ee(t, [
4144
4165
  "locale"
4145
4166
  ]);
4146
- return Ai(Ke({ locale: r }, n));
4147
- }, Ci = (e = {}) => {
4167
+ return Oi(tt({ locale: r }, n));
4168
+ }, Ni = (e = {}) => {
4148
4169
  var t = e, {
4149
4170
  locale: r = j()
4150
- } = t, n = te(t, [
4171
+ } = t, n = ee(t, [
4151
4172
  "locale"
4152
4173
  ]);
4153
- return Bi(Ke({ locale: r }, n));
4154
- }, Ii = Se(
4174
+ return Pi(tt({ locale: r }, n));
4175
+ }, Mi = we(
4155
4176
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4156
- (e, t = j()) => new oi(e, t, K().formats, {
4157
- ignoreTag: K().ignoreTag
4177
+ (e, t = j()) => new ai(e, t, q().formats, {
4178
+ ignoreTag: q().ignoreTag
4158
4179
  })
4159
- ), Ni = (e, t = {}) => {
4180
+ ), Li = (e, t = {}) => {
4160
4181
  var r, n, i, o;
4161
- let a = t;
4162
- typeof e == "object" && (a = e, e = a.id);
4182
+ let s = t;
4183
+ typeof e == "object" && (s = e, e = s.id);
4163
4184
  const {
4164
- values: s,
4185
+ values: a,
4165
4186
  locale: l = j(),
4166
4187
  default: u
4167
- } = a;
4188
+ } = s;
4168
4189
  if (l == null)
4169
4190
  throw new Error(
4170
4191
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4171
4192
  );
4172
- let h = ur(e, l);
4193
+ let h = lr(e, l);
4173
4194
  if (!h)
4174
- h = (o = (i = (n = (r = K()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4195
+ h = (o = (i = (n = (r = q()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4175
4196
  else if (typeof h != "string")
4176
4197
  return console.warn(
4177
4198
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
4178
4199
  ), h;
4179
- if (!s)
4200
+ if (!a)
4180
4201
  return h;
4181
4202
  let f = h;
4182
4203
  try {
4183
- f = Ii(h, l).format(s);
4204
+ f = Mi(h, l).format(a);
4184
4205
  } catch (c) {
4185
4206
  c instanceof Error && console.warn(
4186
4207
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4188,17 +4209,17 @@ const oe = (e, t) => {
4188
4209
  );
4189
4210
  }
4190
4211
  return f;
4191
- }, Mi = (e, t) => Ci(t).format(e), Li = (e, t) => Oi(t).format(e), Ri = (e, t) => Pi(t).format(e), $i = (e, t = j()) => ur(e, t), Fi = ee([le, ue], () => Ni);
4192
- ee([le], () => Mi);
4193
- ee([le], () => Li);
4194
- ee([le], () => Ri);
4195
- ee([le, ue], () => $i);
4212
+ }, Ri = (e, t) => Ni(t).format(e), $i = (e, t) => Ii(t).format(e), Fi = (e, t) => Ci(t).format(e), Ui = (e, t = j()) => lr(e, t), Di = K([le, ue], () => Li);
4213
+ K([le], () => Ri);
4214
+ K([le], () => $i);
4215
+ K([le], () => Fi);
4216
+ K([le, ue], () => Ui);
4196
4217
  window.emWidgets = { topic: Yr };
4197
- const O = (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));
4198
- function Tt(e, t) {
4199
- hr(e, t);
4218
+ const P = (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));
4219
+ function Ht(e, t) {
4220
+ fr(e, t);
4200
4221
  }
4201
- const Ht = {
4222
+ const At = {
4202
4223
  en: {
4203
4224
  tournaments: "Tournaments",
4204
4225
  all: "All",
@@ -4277,86 +4298,86 @@ const Ht = {
4277
4298
  finished: "Finished"
4278
4299
  }
4279
4300
  };
4280
- function Ui(e) {
4281
- gr(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)}");
4301
+ function Gi(e) {
4302
+ yr(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)}");
4282
4303
  }
4283
- function wt(e, t, r) {
4304
+ function Bt(e, t, r) {
4284
4305
  const n = e.slice();
4285
4306
  return n[22] = t[r], n[24] = r, n;
4286
4307
  }
4287
- function At(e) {
4308
+ function Ot(e) {
4288
4309
  let t, r, n = (
4289
4310
  /*$_*/
4290
4311
  e[4]("tournaments") + ""
4291
- ), i, o, a, s = nt(
4312
+ ), i, o, s, a = ot(
4292
4313
  /*filterItems*/
4293
4314
  e[1]
4294
4315
  ), l = [];
4295
- for (let u = 0; u < s.length; u += 1)
4296
- l[u] = Nt(wt(e, s, u));
4316
+ for (let u = 0; u < a.length; u += 1)
4317
+ l[u] = Lt(Bt(e, a, u));
4297
4318
  return {
4298
4319
  c() {
4299
- t = U("ul"), r = U("li"), i = G(n), o = G(":"), a = z();
4320
+ t = U("ul"), r = U("li"), i = G(n), o = G(":"), s = z();
4300
4321
  for (let u = 0; u < l.length; u += 1)
4301
4322
  l[u].c();
4302
- x(r, "class", "FiltersTitle " + (O(
4323
+ E(r, "class", "FiltersTitle " + (P(
4303
4324
  /*userAgent*/
4304
4325
  e[5]
4305
- ) ? "MobileClass" : "Non-MobileClass/empty")), x(r, "part", "FiltersTitle " + (O(
4326
+ ) ? "MobileClass" : "Non-MobileClass/empty")), E(r, "part", "FiltersTitle " + (P(
4306
4327
  /*userAgent*/
4307
4328
  e[5]
4308
- ) ? "MobileClass" : "Non-MobileClass/empty")), x(t, "class", "FiltersList " + (O(
4329
+ ) ? "MobileClass" : "Non-MobileClass/empty")), E(t, "class", "FiltersList " + (P(
4309
4330
  /*userAgent*/
4310
4331
  e[5]
4311
- ) ? "MobileClass" : "Non-MobileClass/empty")), x(t, "part", "FiltersList " + (O(
4332
+ ) ? "MobileClass" : "Non-MobileClass/empty")), E(t, "part", "FiltersList " + (P(
4312
4333
  /*userAgent*/
4313
4334
  e[5]
4314
4335
  ) ? "MobileClass" : "Non-MobileClass/empty"));
4315
4336
  },
4316
4337
  m(u, h) {
4317
- R(u, t, h), B(t, r), B(r, i), B(r, o), B(t, a);
4338
+ $(u, t, h), B(t, r), B(r, i), B(r, o), B(t, s);
4318
4339
  for (let f = 0; f < l.length; f += 1)
4319
4340
  l[f] && l[f].m(t, null);
4320
4341
  },
4321
4342
  p(u, h) {
4322
4343
  if (h & /*$_*/
4323
4344
  16 && n !== (n = /*$_*/
4324
- u[4]("tournaments") + "") && ae(i, n), h & /*makeButtonActive, filterItems, activeIndexes, allActive, userAgent, $_*/
4345
+ u[4]("tournaments") + "") && se(i, n), h & /*makeButtonActive, filterItems, activeIndexes, allActive, userAgent, $_*/
4325
4346
  126) {
4326
- s = nt(
4347
+ a = ot(
4327
4348
  /*filterItems*/
4328
4349
  u[1]
4329
4350
  );
4330
4351
  let f;
4331
- for (f = 0; f < s.length; f += 1) {
4332
- const c = wt(u, s, f);
4333
- l[f] ? l[f].p(c, h) : (l[f] = Nt(c), l[f].c(), l[f].m(t, null));
4352
+ for (f = 0; f < a.length; f += 1) {
4353
+ const c = Bt(u, a, f);
4354
+ l[f] ? l[f].p(c, h) : (l[f] = Lt(c), l[f].c(), l[f].m(t, null));
4334
4355
  }
4335
4356
  for (; f < l.length; f += 1)
4336
4357
  l[f].d(1);
4337
- l.length = s.length;
4358
+ l.length = a.length;
4338
4359
  }
4339
4360
  },
4340
4361
  d(u) {
4341
- u && N(t), _r(l, u);
4362
+ u && M(t), Er(l, u);
4342
4363
  }
4343
4364
  };
4344
4365
  }
4345
- function Bt(e) {
4366
+ function Pt(e) {
4346
4367
  let t, r;
4347
4368
  return {
4348
4369
  c() {
4349
- t = tt("svg"), r = tt("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");
4370
+ t = nt("svg"), r = nt("path"), E(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"), E(t, "xmlns", "http://www.w3.org/2000/svg"), E(t, "width", "16"), E(t, "height", "16"), E(t, "fill", "currentColor"), E(t, "class", "bi bi-check"), E(t, "part", "bi bi-check"), E(t, "viewBox", "0 0 16 16");
4350
4371
  },
4351
4372
  m(n, i) {
4352
- R(n, t, i), B(t, r);
4373
+ $(n, t, i), B(t, r);
4353
4374
  },
4354
4375
  d(n) {
4355
- n && N(t);
4376
+ n && M(t);
4356
4377
  }
4357
4378
  };
4358
4379
  }
4359
- function Pt(e) {
4380
+ function Ct(e) {
4360
4381
  let t = (
4361
4382
  /*$_*/
4362
4383
  e[4]("scheduled") + ""
@@ -4366,19 +4387,19 @@ function Pt(e) {
4366
4387
  r = G(t);
4367
4388
  },
4368
4389
  m(n, i) {
4369
- R(n, r, i);
4390
+ $(n, r, i);
4370
4391
  },
4371
4392
  p(n, i) {
4372
4393
  i & /*$_*/
4373
4394
  16 && t !== (t = /*$_*/
4374
- n[4]("scheduled") + "") && ae(r, t);
4395
+ n[4]("scheduled") + "") && se(r, t);
4375
4396
  },
4376
4397
  d(n) {
4377
- n && N(r);
4398
+ n && M(r);
4378
4399
  }
4379
4400
  };
4380
4401
  }
4381
- function Ot(e) {
4402
+ function It(e) {
4382
4403
  let t = (
4383
4404
  /*$_*/
4384
4405
  e[4]("ongoing") + ""
@@ -4388,19 +4409,19 @@ function Ot(e) {
4388
4409
  r = G(t);
4389
4410
  },
4390
4411
  m(n, i) {
4391
- R(n, r, i);
4412
+ $(n, r, i);
4392
4413
  },
4393
4414
  p(n, i) {
4394
4415
  i & /*$_*/
4395
4416
  16 && t !== (t = /*$_*/
4396
- n[4]("ongoing") + "") && ae(r, t);
4417
+ n[4]("ongoing") + "") && se(r, t);
4397
4418
  },
4398
4419
  d(n) {
4399
- n && N(r);
4420
+ n && M(r);
4400
4421
  }
4401
4422
  };
4402
4423
  }
4403
- function Ct(e) {
4424
+ function Nt(e) {
4404
4425
  let t = (
4405
4426
  /*$_*/
4406
4427
  e[4]("finished") + ""
@@ -4410,19 +4431,19 @@ function Ct(e) {
4410
4431
  r = G(t);
4411
4432
  },
4412
4433
  m(n, i) {
4413
- R(n, r, i);
4434
+ $(n, r, i);
4414
4435
  },
4415
4436
  p(n, i) {
4416
4437
  i & /*$_*/
4417
4438
  16 && t !== (t = /*$_*/
4418
- n[4]("finished") + "") && ae(r, t);
4439
+ n[4]("finished") + "") && se(r, t);
4419
4440
  },
4420
4441
  d(n) {
4421
- n && N(r);
4442
+ n && M(r);
4422
4443
  }
4423
4444
  };
4424
4445
  }
4425
- function It(e) {
4446
+ function Mt(e) {
4426
4447
  let t = (
4427
4448
  /*$_*/
4428
4449
  e[4]("all") + ""
@@ -4432,39 +4453,39 @@ function It(e) {
4432
4453
  r = G(t);
4433
4454
  },
4434
4455
  m(n, i) {
4435
- R(n, r, i);
4456
+ $(n, r, i);
4436
4457
  },
4437
4458
  p(n, i) {
4438
4459
  i & /*$_*/
4439
4460
  16 && t !== (t = /*$_*/
4440
- n[4]("all") + "") && ae(r, t);
4461
+ n[4]("all") + "") && se(r, t);
4441
4462
  },
4442
4463
  d(n) {
4443
- n && N(r);
4464
+ n && M(r);
4444
4465
  }
4445
4466
  };
4446
4467
  }
4447
- function Nt(e) {
4448
- let t, r, n, i, o, a, s, l, u, h, f, c, p = (
4468
+ function Lt(e) {
4469
+ let t, r, n, i, o, s, a, l, u, h, f, c, p = (
4449
4470
  /*activeIndexes*/
4450
4471
  (e[2][
4451
4472
  /*index*/
4452
4473
  e[24]
4453
4474
  ] == 1 || /*allActive*/
4454
4475
  e[3] && /*index*/
4455
- e[24] == 0) && Bt()
4476
+ e[24] == 0) && Pt()
4456
4477
  ), m = (
4457
4478
  /*filter*/
4458
- e[22] == "Scheduled" && Pt(e)
4479
+ e[22] == "Scheduled" && Ct(e)
4459
4480
  ), d = (
4460
4481
  /*filter*/
4461
- e[22] == "Ongoing" && Ot(e)
4462
- ), _ = (
4482
+ e[22] == "Ongoing" && It(e)
4483
+ ), v = (
4463
4484
  /*filter*/
4464
- e[22] == "Finished" && Ct(e)
4465
- ), S = (
4485
+ e[22] == "Finished" && Nt(e)
4486
+ ), x = (
4466
4487
  /*filter*/
4467
- e[22] == "All" && It(e)
4488
+ e[22] == "All" && Mt(e)
4468
4489
  );
4469
4490
  function I() {
4470
4491
  return (
@@ -4479,120 +4500,120 @@ function Nt(e) {
4479
4500
  }
4480
4501
  return {
4481
4502
  c() {
4482
- t = U("li"), r = U("button"), p && p.c(), n = z(), i = U("div"), m && m.c(), o = z(), d && d.c(), a = z(), _ && _.c(), s = z(), S && S.c(), h = z(), x(i, "class", "FilterButton " + (O(
4503
+ t = U("li"), r = U("button"), p && p.c(), n = z(), i = U("div"), m && m.c(), o = z(), d && d.c(), s = z(), v && v.c(), a = z(), x && x.c(), h = z(), E(i, "class", "FilterButton " + (P(
4483
4504
  /*userAgent*/
4484
4505
  e[5]
4485
- ) ? "MobileClass" : "Non-MobileClass/empty")), x(i, "part", "FilterButton " + (O(
4506
+ ) ? "MobileClass" : "Non-MobileClass/empty")), E(i, "part", "FilterButton " + (P(
4486
4507
  /*userAgent*/
4487
4508
  e[5]
4488
- ) ? "MobileClass" : "Non-MobileClass/empty")), x(r, "class", l = /*activeIndexes*/
4509
+ ) ? "MobileClass" : "Non-MobileClass/empty")), E(r, "class", l = /*activeIndexes*/
4489
4510
  (e[2][
4490
4511
  /*index*/
4491
4512
  e[24]
4492
4513
  ] == 1 || /*allActive*/
4493
4514
  e[3] && /*index*/
4494
- e[24] == 0 ? "Active" : "") + " " + (O(
4515
+ e[24] == 0 ? "Active" : "") + " " + (P(
4495
4516
  /*userAgent*/
4496
4517
  e[5]
4497
- ) ? "MobileClass" : "Non-MobileClass/empty")), x(r, "part", u = /*activeIndexes*/
4518
+ ) ? "MobileClass" : "Non-MobileClass/empty")), E(r, "part", u = /*activeIndexes*/
4498
4519
  (e[2][
4499
4520
  /*index*/
4500
4521
  e[24]
4501
4522
  ] == 1 || /*allActive*/
4502
4523
  e[3] && /*index*/
4503
- e[24] == 0 ? "Active" : "") + " " + (O(
4524
+ e[24] == 0 ? "Active" : "") + " " + (P(
4504
4525
  /*userAgent*/
4505
4526
  e[5]
4506
- ) ? "MobileClass" : "Non-MobileClass/empty")), x(t, "class", "FiltersItem"), x(t, "part", "FiltersItem");
4527
+ ) ? "MobileClass" : "Non-MobileClass/empty")), E(t, "class", "FiltersItem"), E(t, "part", "FiltersItem");
4507
4528
  },
4508
- m(T, w) {
4509
- R(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, a), _ && _.m(i, null), B(i, s), S && S.m(i, null), B(t, h), f || (c = Er(t, "click", I), f = !0);
4529
+ m(T, H) {
4530
+ $(T, t, H), 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), v && v.m(i, null), B(i, a), x && x.m(i, null), B(t, h), f || (c = xr(t, "click", I), f = !0);
4510
4531
  },
4511
- p(T, w) {
4532
+ p(T, H) {
4512
4533
  e = T, /*activeIndexes*/
4513
4534
  e[2][
4514
4535
  /*index*/
4515
4536
  e[24]
4516
4537
  ] == 1 || /*allActive*/
4517
4538
  e[3] && /*index*/
4518
- e[24] == 0 ? p || (p = Bt(), p.c(), p.m(r, n)) : p && (p.d(1), p = null), /*filter*/
4519
- e[22] == "Scheduled" ? m ? m.p(e, w) : (m = Pt(e), m.c(), m.m(i, o)) : m && (m.d(1), m = null), /*filter*/
4520
- e[22] == "Ongoing" ? d ? d.p(e, w) : (d = Ot(e), d.c(), d.m(i, a)) : d && (d.d(1), d = null), /*filter*/
4521
- e[22] == "Finished" ? _ ? _.p(e, w) : (_ = Ct(e), _.c(), _.m(i, s)) : _ && (_.d(1), _ = null), /*filter*/
4522
- e[22] == "All" ? S ? S.p(e, w) : (S = It(e), S.c(), S.m(i, null)) : S && (S.d(1), S = null), w & /*activeIndexes, allActive*/
4539
+ e[24] == 0 ? p || (p = Pt(), p.c(), p.m(r, n)) : p && (p.d(1), p = null), /*filter*/
4540
+ e[22] == "Scheduled" ? m ? m.p(e, H) : (m = Ct(e), m.c(), m.m(i, o)) : m && (m.d(1), m = null), /*filter*/
4541
+ e[22] == "Ongoing" ? d ? d.p(e, H) : (d = It(e), d.c(), d.m(i, s)) : d && (d.d(1), d = null), /*filter*/
4542
+ e[22] == "Finished" ? v ? v.p(e, H) : (v = Nt(e), v.c(), v.m(i, a)) : v && (v.d(1), v = null), /*filter*/
4543
+ e[22] == "All" ? x ? x.p(e, H) : (x = Mt(e), x.c(), x.m(i, null)) : x && (x.d(1), x = null), H & /*activeIndexes, allActive*/
4523
4544
  12 && l !== (l = /*activeIndexes*/
4524
4545
  (e[2][
4525
4546
  /*index*/
4526
4547
  e[24]
4527
4548
  ] == 1 || /*allActive*/
4528
4549
  e[3] && /*index*/
4529
- e[24] == 0 ? "Active" : "") + " " + (O(
4550
+ e[24] == 0 ? "Active" : "") + " " + (P(
4530
4551
  /*userAgent*/
4531
4552
  e[5]
4532
- ) ? "MobileClass" : "Non-MobileClass/empty")) && x(r, "class", l), w & /*activeIndexes, allActive*/
4553
+ ) ? "MobileClass" : "Non-MobileClass/empty")) && E(r, "class", l), H & /*activeIndexes, allActive*/
4533
4554
  12 && u !== (u = /*activeIndexes*/
4534
4555
  (e[2][
4535
4556
  /*index*/
4536
4557
  e[24]
4537
4558
  ] == 1 || /*allActive*/
4538
4559
  e[3] && /*index*/
4539
- e[24] == 0 ? "Active" : "") + " " + (O(
4560
+ e[24] == 0 ? "Active" : "") + " " + (P(
4540
4561
  /*userAgent*/
4541
4562
  e[5]
4542
- ) ? "MobileClass" : "Non-MobileClass/empty")) && x(r, "part", u);
4563
+ ) ? "MobileClass" : "Non-MobileClass/empty")) && E(r, "part", u);
4543
4564
  },
4544
4565
  d(T) {
4545
- T && N(t), p && p.d(), m && m.d(), d && d.d(), _ && _.d(), S && S.d(), f = !1, c();
4566
+ T && M(t), p && p.d(), m && m.d(), d && d.d(), v && v.d(), x && x.d(), f = !1, c();
4546
4567
  }
4547
4568
  };
4548
4569
  }
4549
- function Di(e) {
4570
+ function ji(e) {
4550
4571
  let t, r = (
4551
4572
  /*filterItems*/
4552
- e[1].length > 0 && At(e)
4573
+ e[1].length > 0 && Ot(e)
4553
4574
  );
4554
4575
  return {
4555
4576
  c() {
4556
- t = U("div"), r && r.c(), x(t, "class", "FiltersController " + (O(
4577
+ t = U("div"), r && r.c(), E(t, "class", "FiltersController " + (P(
4557
4578
  /*userAgent*/
4558
4579
  e[5]
4559
- ) ? "MobileClass" : "Non-MobileClass/empty")), x(t, "part", "FiltersController " + (O(
4580
+ ) ? "MobileClass" : "Non-MobileClass/empty")), E(t, "part", "FiltersController " + (P(
4560
4581
  /*userAgent*/
4561
4582
  e[5]
4562
4583
  ) ? "MobileClass" : "Non-MobileClass/empty"));
4563
4584
  },
4564
4585
  m(n, i) {
4565
- R(n, t, i), r && r.m(t, null), e[13](t);
4586
+ $(n, t, i), r && r.m(t, null), e[13](t);
4566
4587
  },
4567
4588
  p(n, [i]) {
4568
4589
  /*filterItems*/
4569
- n[1].length > 0 ? r ? r.p(n, i) : (r = At(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
4590
+ n[1].length > 0 ? r ? r.p(n, i) : (r = Ot(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
4570
4591
  },
4571
4592
  i: C,
4572
4593
  o: C,
4573
4594
  d(n) {
4574
- n && N(t), r && r.d(), e[13](null);
4595
+ n && M(t), r && r.d(), e[13](null);
4575
4596
  }
4576
4597
  };
4577
4598
  }
4578
- function Gi(e, t, r) {
4599
+ function ki(e, t, r) {
4579
4600
  let n;
4580
- br(e, Fi, (v) => r(4, n = v));
4581
- let { filters: i = "" } = t, { activefilters: o = "" } = t, { translationurl: a = "" } = t, { clientstyling: s = "" } = t, { clientstylingurl: l = "" } = t, u, h = [], f = 0, c = new Array(100), p = !0, m = window.navigator.userAgent;
4601
+ gr(e, Di, (y) => r(4, n = y));
4602
+ 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;
4582
4603
  const d = () => {
4583
- fetch(a).then((H) => H.json()).then((H) => {
4584
- Object.keys(H).forEach((P) => {
4585
- Tt(P, H[P]);
4604
+ fetch(s).then((w) => w.json()).then((w) => {
4605
+ Object.keys(w).forEach((O) => {
4606
+ Ht(O, w[O]);
4586
4607
  });
4587
- }).catch((H) => {
4588
- console.log(H);
4608
+ }).catch((w) => {
4609
+ console.log(w);
4589
4610
  });
4590
4611
  };
4591
- Object.keys(Ht).forEach((v) => {
4592
- Tt(v, Ht[v]);
4612
+ Object.keys(At).forEach((y) => {
4613
+ Ht(y, At[y]);
4593
4614
  });
4594
- const _ = (v, H) => {
4595
- if (H == 0)
4615
+ const v = (y, w) => {
4616
+ if (w == 0)
4596
4617
  r(3, p = !0), r(2, c = new Array(f)), window.postMessage(
4597
4618
  {
4598
4619
  type: "TournamentsFiltersSelected",
@@ -4600,7 +4621,7 @@ function Gi(e, t, r) {
4600
4621
  },
4601
4622
  window.location.href
4602
4623
  );
4603
- else if (r(3, p = !1), c[H] == 1 ? (r(2, c[H] = 0, c), c.indexOf(1) == -1 && r(3, p = !0)) : r(2, c[H] = 1, c), c.indexOf(1) == -1)
4624
+ else if (r(3, p = !1), c[w] == 1 ? (r(2, c[w] = 0, c), c.indexOf(1) == -1 && r(3, p = !0)) : r(2, c[w] = 1, c), c.indexOf(1) == -1)
4604
4625
  window.postMessage(
4605
4626
  {
4606
4627
  type: "TournamentsFiltersSelected",
@@ -4609,34 +4630,34 @@ function Gi(e, t, r) {
4609
4630
  window.location.href
4610
4631
  );
4611
4632
  else {
4612
- let P = [];
4633
+ let O = [];
4613
4634
  for (let he = 0; he < h.length; he++)
4614
- c[he] == 1 && P.push(h[he]);
4635
+ c[he] == 1 && O.push(h[he]);
4615
4636
  window.postMessage(
4616
4637
  {
4617
4638
  type: "TournamentsFiltersSelected",
4618
- filters: P
4639
+ filters: O
4619
4640
  },
4620
4641
  window.location.href
4621
4642
  );
4622
4643
  }
4623
- }, S = () => {
4644
+ }, x = () => {
4624
4645
  r(1, h = i.split(",")), f = h.length;
4625
4646
  }, I = () => {
4626
- let v = o.split(",");
4627
- r(2, c = new Array(f)), v.indexOf("All") != -1 ? r(3, p = !0) : (r(3, p = !1), v.forEach((H) => {
4628
- let P = h.indexOf(H);
4629
- P > 0 && r(2, c[P] = 1, c);
4647
+ let y = o.split(",");
4648
+ r(2, c = new Array(f)), y.indexOf("All") != -1 ? r(3, p = !0) : (r(3, p = !1), y.forEach((w) => {
4649
+ let O = h.indexOf(w);
4650
+ O > 0 && r(2, c[O] = 1, c);
4630
4651
  }));
4631
4652
  }, T = () => {
4632
- let v = document.createElement("style");
4633
- v.innerHTML = s, u.appendChild(v);
4634
- }, w = () => {
4635
- let v = new URL(l), H = document.createElement("style");
4636
- fetch(v.href).then((P) => P.text()).then((P) => {
4637
- H.innerHTML = P, setTimeout(
4653
+ let y = document.createElement("style");
4654
+ y.innerHTML = a, u.appendChild(y);
4655
+ }, H = () => {
4656
+ let y = new URL(l), w = document.createElement("style");
4657
+ fetch(y.href).then((O) => O.text()).then((O) => {
4658
+ w.innerHTML = O, setTimeout(
4638
4659
  () => {
4639
- u.appendChild(H);
4660
+ u.appendChild(w);
4640
4661
  },
4641
4662
  1
4642
4663
  ), setTimeout(
@@ -4645,20 +4666,20 @@ function Gi(e, t, r) {
4645
4666
  500
4646
4667
  );
4647
4668
  });
4648
- }, M = (v, H) => _(v, H);
4649
- function k(v) {
4650
- Ie[v ? "unshift" : "push"](() => {
4651
- u = v, r(0, u);
4669
+ }, L = (y, w) => v(y, w);
4670
+ function k(y) {
4671
+ Me[y ? "unshift" : "push"](() => {
4672
+ u = y, r(0, u);
4652
4673
  });
4653
4674
  }
4654
- return e.$$set = (v) => {
4655
- "filters" in v && r(7, i = v.filters), "activefilters" in v && r(8, o = v.activefilters), "translationurl" in v && r(9, a = v.translationurl), "clientstyling" in v && r(10, s = v.clientstyling), "clientstylingurl" in v && r(11, l = v.clientstylingurl);
4675
+ return e.$$set = (y) => {
4676
+ "filters" in y && r(7, i = y.filters), "activefilters" in y && r(8, o = y.activefilters), "translationurl" in y && r(9, s = y.translationurl), "clientstyling" in y && r(10, a = y.clientstyling), "clientstylingurl" in y && r(11, l = y.clientstylingurl);
4656
4677
  }, e.$$.update = () => {
4657
4678
  e.$$.dirty & /*customStylingContainer, clientstyling*/
4658
- 1025 && u && s && T(), e.$$.dirty & /*customStylingContainer, clientstylingurl*/
4659
- 2049 && u && l && w(), e.$$.dirty & /*translationurl*/
4660
- 512 && a && d(), e.$$.dirty & /*filters*/
4661
- 128 && i && S(), e.$$.dirty & /*activefilters*/
4679
+ 1025 && u && a && T(), e.$$.dirty & /*customStylingContainer, clientstylingurl*/
4680
+ 2049 && u && l && H(), e.$$.dirty & /*translationurl*/
4681
+ 512 && s && d(), e.$$.dirty & /*filters*/
4682
+ 128 && i && x(), e.$$.dirty & /*activefilters*/
4662
4683
  256 && o && I();
4663
4684
  }, [
4664
4685
  u,
@@ -4667,24 +4688,24 @@ function Gi(e, t, r) {
4667
4688
  p,
4668
4689
  n,
4669
4690
  m,
4670
- _,
4691
+ v,
4671
4692
  i,
4672
4693
  o,
4673
- a,
4674
4694
  s,
4695
+ a,
4675
4696
  l,
4676
- M,
4697
+ L,
4677
4698
  k
4678
4699
  ];
4679
4700
  }
4680
- class ji extends Lr {
4701
+ class Vi extends Rr {
4681
4702
  constructor(t) {
4682
- super(), Nr(
4703
+ super(), Mr(
4683
4704
  this,
4684
4705
  t,
4685
- Gi,
4686
- Di,
4687
- Lt,
4706
+ ki,
4707
+ ji,
4708
+ $t,
4688
4709
  {
4689
4710
  filters: 7,
4690
4711
  activefilters: 8,
@@ -4692,7 +4713,7 @@ class ji extends Lr {
4692
4713
  clientstyling: 10,
4693
4714
  clientstylingurl: 11
4694
4715
  },
4695
- Ui
4716
+ Gi
4696
4717
  );
4697
4718
  }
4698
4719
  get filters() {
@@ -4726,7 +4747,7 @@ class ji extends Lr {
4726
4747
  this.$$set({ clientstylingurl: t }), D();
4727
4748
  }
4728
4749
  }
4729
- Mr(ji, { filters: {}, activefilters: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
4750
+ Lr(Vi, { filters: {}, activefilters: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
4730
4751
  export {
4731
- ji as C
4752
+ Vi as C
4732
4753
  };