@everymatrix/casino-tournaments-filter-controller 1.74.1 → 1.74.3

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