@everymatrix/casino-tournaments-filter-controller 1.60.0 → 1.60.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +1,17 @@
1
- var Er = Object.defineProperty, xr = Object.defineProperties;
2
- var Sr = Object.getOwnPropertyDescriptors;
3
- var rt = Object.getOwnPropertySymbols;
4
- var Tr = Object.prototype.hasOwnProperty, Hr = Object.prototype.propertyIsEnumerable;
5
- var He = (e, t, r) => t in e ? Er(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, nt = (e, t) => {
1
+ var gr = Object.defineProperty, vr = Object.defineProperties;
2
+ var yr = Object.getOwnPropertyDescriptors;
3
+ var Ke = Object.getOwnPropertySymbols;
4
+ var _r = Object.prototype.hasOwnProperty, Er = Object.prototype.propertyIsEnumerable;
5
+ var He = (e, t, r) => t in e ? gr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, et = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- Tr.call(t, r) && He(e, r, t[r]);
8
- if (rt)
9
- for (var r of rt(t))
10
- Hr.call(t, r) && He(e, r, t[r]);
7
+ _r.call(t, r) && He(e, r, t[r]);
8
+ if (Ke)
9
+ for (var r of Ke(t))
10
+ Er.call(t, r) && He(e, r, t[r]);
11
11
  return e;
12
- }, it = (e, t) => xr(e, Sr(t));
12
+ }, tt = (e, t) => vr(e, yr(t));
13
13
  var O = (e, t, r) => (He(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var ot = (e, t, r) => new Promise((n, i) => {
14
+ var rt = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (l) => {
16
16
  try {
17
17
  a(r.next(l));
@@ -29,25 +29,25 @@ var ot = (e, t, r) => new Promise((n, i) => {
29
29
  });
30
30
  function I() {
31
31
  }
32
- function Dt(e) {
32
+ function $t(e) {
33
33
  return e();
34
34
  }
35
- function st() {
35
+ function nt() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
38
  function ae(e) {
39
- e.forEach(Dt);
39
+ e.forEach($t);
40
40
  }
41
- function Je(e) {
41
+ function Qe(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function Gt(e, t) {
44
+ function Ft(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
- function wr(e) {
47
+ function xr(e) {
48
48
  return Object.keys(e).length === 0;
49
49
  }
50
- function jt(e, ...t) {
50
+ function Ut(e, ...t) {
51
51
  if (e == null) {
52
52
  for (const n of t)
53
53
  n(void 0);
@@ -56,20 +56,20 @@ function jt(e, ...t) {
56
56
  const r = e.subscribe(...t);
57
57
  return r.unsubscribe ? () => r.unsubscribe() : r;
58
58
  }
59
- function Ar(e, t, r) {
60
- e.$$.on_destroy.push(jt(t, r));
59
+ function Sr(e, t, r) {
60
+ e.$$.on_destroy.push(Ut(t, r));
61
61
  }
62
62
  function B(e, t) {
63
63
  e.appendChild(t);
64
64
  }
65
- function Br(e, t, r) {
66
- const n = Pr(e);
65
+ function Tr(e, t, r) {
66
+ const n = Hr(e);
67
67
  if (!n.getElementById(t)) {
68
68
  const i = D("style");
69
- i.id = t, i.textContent = r, Or(n, i);
69
+ i.id = t, i.textContent = r, wr(n, i);
70
70
  }
71
71
  }
72
- function Pr(e) {
72
+ function Hr(e) {
73
73
  if (!e)
74
74
  return document;
75
75
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -79,7 +79,7 @@ function Pr(e) {
79
79
  t
80
80
  ) : e.ownerDocument;
81
81
  }
82
- function Or(e, t) {
82
+ function wr(e, t) {
83
83
  return B(
84
84
  /** @type {Document} */
85
85
  e.head || e,
@@ -92,14 +92,14 @@ function $(e, t, r) {
92
92
  function M(e) {
93
93
  e.parentNode && e.parentNode.removeChild(e);
94
94
  }
95
- function Cr(e, t) {
95
+ function Ar(e, t) {
96
96
  for (let r = 0; r < e.length; r += 1)
97
97
  e[r] && e[r].d(t);
98
98
  }
99
99
  function D(e) {
100
100
  return document.createElement(e);
101
101
  }
102
- function at(e) {
102
+ function it(e) {
103
103
  return document.createElementNS("http://www.w3.org/2000/svg", e);
104
104
  }
105
105
  function j(e) {
@@ -108,20 +108,20 @@ function j(e) {
108
108
  function W() {
109
109
  return j(" ");
110
110
  }
111
- function Ir(e, t, r, n) {
111
+ function Br(e, t, r, n) {
112
112
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
113
113
  }
114
114
  function x(e, t, r) {
115
115
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
116
116
  }
117
- function Nr(e) {
117
+ function Pr(e) {
118
118
  return Array.from(e.childNodes);
119
119
  }
120
120
  function ue(e, t) {
121
121
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
122
122
  t);
123
123
  }
124
- function Mr(e) {
124
+ function Or(e) {
125
125
  const t = {};
126
126
  return e.childNodes.forEach(
127
127
  /** @param {Element} node */
@@ -130,18 +130,18 @@ function Mr(e) {
130
130
  }
131
131
  ), t;
132
132
  }
133
- let Ye;
133
+ let Je;
134
134
  function ie(e) {
135
- Ye = e;
135
+ Je = e;
136
136
  }
137
- const Z = [], Me = [];
137
+ const Z = [], Ne = [];
138
138
  let Q = [];
139
- const ut = [], Lr = /* @__PURE__ */ Promise.resolve();
140
- let Le = !1;
141
- function Rr() {
142
- Le || (Le = !0, Lr.then(G));
139
+ const ot = [], Cr = /* @__PURE__ */ Promise.resolve();
140
+ let Me = !1;
141
+ function Ir() {
142
+ Me || (Me = !0, Cr.then(G));
143
143
  }
144
- function Re(e) {
144
+ function Le(e) {
145
145
  Q.push(e);
146
146
  }
147
147
  const we = /* @__PURE__ */ new Set();
@@ -149,62 +149,62 @@ let X = 0;
149
149
  function G() {
150
150
  if (X !== 0)
151
151
  return;
152
- const e = Ye;
152
+ const e = Je;
153
153
  do {
154
154
  try {
155
155
  for (; X < Z.length; ) {
156
156
  const t = Z[X];
157
- X++, ie(t), $r(t.$$);
157
+ X++, ie(t), Nr(t.$$);
158
158
  }
159
159
  } catch (t) {
160
160
  throw Z.length = 0, X = 0, t;
161
161
  }
162
- for (ie(null), Z.length = 0, X = 0; Me.length; )
163
- Me.pop()();
162
+ for (ie(null), Z.length = 0, X = 0; Ne.length; )
163
+ Ne.pop()();
164
164
  for (let t = 0; t < Q.length; t += 1) {
165
165
  const r = Q[t];
166
166
  we.has(r) || (we.add(r), r());
167
167
  }
168
168
  Q.length = 0;
169
169
  } while (Z.length);
170
- for (; ut.length; )
171
- ut.pop()();
172
- Le = !1, we.clear(), ie(e);
170
+ for (; ot.length; )
171
+ ot.pop()();
172
+ Me = !1, we.clear(), ie(e);
173
173
  }
174
- function $r(e) {
174
+ function Nr(e) {
175
175
  if (e.fragment !== null) {
176
176
  e.update(), ae(e.before_update);
177
177
  const t = e.dirty;
178
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Re);
178
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Le);
179
179
  }
180
180
  }
181
- function Fr(e) {
181
+ function Mr(e) {
182
182
  const t = [], r = [];
183
183
  Q.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Q = t;
184
184
  }
185
- const Ur = /* @__PURE__ */ new Set();
186
- function Dr(e, t) {
187
- e && e.i && (Ur.delete(e), e.i(t));
185
+ const Lr = /* @__PURE__ */ new Set();
186
+ function Rr(e, t) {
187
+ e && e.i && (Lr.delete(e), e.i(t));
188
188
  }
189
- function lt(e) {
189
+ function st(e) {
190
190
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
191
191
  }
192
- function Gr(e, t, r) {
192
+ function $r(e, t, r) {
193
193
  const { fragment: n, after_update: i } = e.$$;
194
- n && n.m(t, r), Re(() => {
195
- const o = e.$$.on_mount.map(Dt).filter(Je);
194
+ n && n.m(t, r), Le(() => {
195
+ const o = e.$$.on_mount.map($t).filter(Qe);
196
196
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ae(o), e.$$.on_mount = [];
197
- }), i.forEach(Re);
197
+ }), i.forEach(Le);
198
198
  }
199
- function jr(e, t) {
199
+ function Fr(e, t) {
200
200
  const r = e.$$;
201
- r.fragment !== null && (Fr(r.after_update), ae(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
201
+ r.fragment !== null && (Mr(r.after_update), ae(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
202
202
  }
203
- function kr(e, t) {
204
- e.$$.dirty[0] === -1 && (Z.push(e), Rr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
203
+ function Ur(e, t) {
204
+ e.$$.dirty[0] === -1 && (Z.push(e), Ir(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
205
205
  }
206
- function Vr(e, t, r, n, i, o, s = null, a = [-1]) {
207
- const l = Ye;
206
+ function Dr(e, t, r, n, i, o, s = null, a = [-1]) {
207
+ const l = Je;
208
208
  ie(e);
209
209
  const u = e.$$ = {
210
210
  fragment: null,
@@ -213,7 +213,7 @@ function Vr(e, t, r, n, i, o, s = null, a = [-1]) {
213
213
  props: o,
214
214
  update: I,
215
215
  not_equal: i,
216
- bound: st(),
216
+ bound: nt(),
217
217
  // lifecycle
218
218
  on_mount: [],
219
219
  on_destroy: [],
@@ -222,7 +222,7 @@ function Vr(e, t, r, n, i, o, s = null, a = [-1]) {
222
222
  after_update: [],
223
223
  context: new Map(t.context || (l ? l.$$.context : [])),
224
224
  // everything else
225
- callbacks: st(),
225
+ callbacks: nt(),
226
226
  dirty: a,
227
227
  skip_bound: !1,
228
228
  root: t.target || l.$$.root
@@ -230,20 +230,20 @@ function Vr(e, t, r, n, i, o, s = null, a = [-1]) {
230
230
  s && s(u.root);
231
231
  let h = !1;
232
232
  if (u.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
233
- const m = p.length ? p[0] : c;
234
- return u.ctx && i(u.ctx[f], u.ctx[f] = m) && (!u.skip_bound && u.bound[f] && u.bound[f](m), h && kr(e, f)), c;
233
+ const d = p.length ? p[0] : c;
234
+ return u.ctx && i(u.ctx[f], u.ctx[f] = d) && (!u.skip_bound && u.bound[f] && u.bound[f](d), h && Ur(e, f)), c;
235
235
  }) : [], u.update(), h = !0, ae(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
236
236
  if (t.hydrate) {
237
- const f = Nr(t.target);
237
+ const f = Pr(t.target);
238
238
  u.fragment && u.fragment.l(f), f.forEach(M);
239
239
  } else
240
240
  u.fragment && u.fragment.c();
241
- t.intro && Dr(e.$$.fragment), Gr(e, t.target, t.anchor), G();
241
+ t.intro && Rr(e.$$.fragment), $r(e, t.target, t.anchor), G();
242
242
  }
243
243
  ie(l);
244
244
  }
245
- let kt;
246
- typeof HTMLElement == "function" && (kt = class extends HTMLElement {
245
+ let Dt;
246
+ typeof HTMLElement == "function" && (Dt = class extends HTMLElement {
247
247
  constructor(t, r, n) {
248
248
  super();
249
249
  /** The Svelte component constructor */
@@ -280,7 +280,7 @@ typeof HTMLElement == "function" && (kt = class extends HTMLElement {
280
280
  }
281
281
  }
282
282
  connectedCallback() {
283
- return ot(this, null, function* () {
283
+ return rt(this, null, function* () {
284
284
  if (this.$$cn = !0, !this.$$c) {
285
285
  let t = function(o) {
286
286
  return () => {
@@ -304,18 +304,18 @@ typeof HTMLElement == "function" && (kt = class extends HTMLElement {
304
304
  };
305
305
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
306
306
  return;
307
- const r = {}, n = Mr(this);
307
+ const r = {}, n = Or(this);
308
308
  for (const o of this.$$s)
309
309
  o in n && (r[o] = [t(o)]);
310
310
  for (const o of this.attributes) {
311
311
  const s = this.$$g_p(o.name);
312
- s in this.$$d || (this.$$d[s] = de(s, o.value, this.$$p_d, "toProp"));
312
+ s in this.$$d || (this.$$d[s] = me(s, o.value, this.$$p_d, "toProp"));
313
313
  }
314
314
  for (const o in this.$$p_d)
315
315
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
316
316
  this.$$c = new this.$$ctor({
317
317
  target: this.shadowRoot || this,
318
- props: it(nt({}, this.$$d), {
318
+ props: tt(et({}, this.$$d), {
319
319
  $$slots: r,
320
320
  $$scope: {
321
321
  ctx: []
@@ -326,7 +326,7 @@ typeof HTMLElement == "function" && (kt = class extends HTMLElement {
326
326
  this.$$r = !0;
327
327
  for (const o in this.$$p_d)
328
328
  if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
329
- const s = de(
329
+ const s = me(
330
330
  o,
331
331
  this.$$d[o],
332
332
  this.$$p_d,
@@ -350,7 +350,7 @@ typeof HTMLElement == "function" && (kt = class extends HTMLElement {
350
350
  // and setting attributes through setAttribute etc, this is helpful
351
351
  attributeChangedCallback(t, r, n) {
352
352
  var i;
353
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = de(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
353
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = me(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
354
354
  }
355
355
  disconnectedCallback() {
356
356
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -363,7 +363,7 @@ typeof HTMLElement == "function" && (kt = class extends HTMLElement {
363
363
  ) || t;
364
364
  }
365
365
  });
366
- function de(e, t, r, n) {
366
+ function me(e, t, r, n) {
367
367
  var o;
368
368
  const i = (o = r[e]) == null ? void 0 : o.type;
369
369
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
@@ -393,8 +393,8 @@ function de(e, t, r, n) {
393
393
  return t;
394
394
  }
395
395
  }
396
- function Xr(e, t, r, n, i, o) {
397
- let s = class extends kt {
396
+ function Gr(e, t, r, n, i, o) {
397
+ let s = class extends Dt {
398
398
  constructor() {
399
399
  super(e, r, i), this.$$p_d = t;
400
400
  }
@@ -411,7 +411,7 @@ function Xr(e, t, r, n, i, o) {
411
411
  },
412
412
  set(l) {
413
413
  var u;
414
- l = de(a, l, t), this.$$d[a] = l, (u = this.$$c) == null || u.$set({ [a]: l });
414
+ l = me(a, l, t), this.$$d[a] = l, (u = this.$$c) == null || u.$set({ [a]: l });
415
415
  }
416
416
  });
417
417
  }), n.forEach((a) => {
@@ -424,7 +424,7 @@ function Xr(e, t, r, n, i, o) {
424
424
  }), e.element = /** @type {any} */
425
425
  s, s;
426
426
  }
427
- class zr {
427
+ class jr {
428
428
  constructor() {
429
429
  /**
430
430
  * ### PRIVATE API
@@ -445,7 +445,7 @@ class zr {
445
445
  }
446
446
  /** @returns {void} */
447
447
  $destroy() {
448
- jr(this, 1), this.$destroy = I;
448
+ Fr(this, 1), this.$destroy = I;
449
449
  }
450
450
  /**
451
451
  * @template {Extract<keyof Events, string>} K
@@ -454,7 +454,7 @@ class zr {
454
454
  * @returns {() => void}
455
455
  */
456
456
  $on(t, r) {
457
- if (!Je(r))
457
+ if (!Qe(r))
458
458
  return I;
459
459
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
460
460
  return n.push(r), () => {
@@ -467,11 +467,11 @@ class zr {
467
467
  * @returns {void}
468
468
  */
469
469
  $set(t) {
470
- this.$$set && !wr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
470
+ this.$$set && !xr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
471
471
  }
472
472
  }
473
- const Wr = "4";
474
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Wr);
473
+ const kr = "4";
474
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(kr);
475
475
  /*! *****************************************************************************
476
476
  Copyright (c) Microsoft Corporation.
477
477
 
@@ -486,18 +486,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
486
486
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
487
487
  PERFORMANCE OF THIS SOFTWARE.
488
488
  ***************************************************************************** */
489
- var $e = function(e, t) {
490
- return $e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
489
+ var Re = function(e, t) {
490
+ return Re = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
491
491
  r.__proto__ = n;
492
492
  } || function(r, n) {
493
493
  for (var i in n)
494
494
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
495
- }, $e(e, t);
495
+ }, Re(e, t);
496
496
  };
497
497
  function F(e, t) {
498
498
  if (typeof t != "function" && t !== null)
499
499
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
500
- $e(e, t);
500
+ Re(e, t);
501
501
  function r() {
502
502
  this.constructor = e;
503
503
  }
@@ -513,7 +513,7 @@ var y = function() {
513
513
  return t;
514
514
  }, y.apply(this, arguments);
515
515
  };
516
- function Zr(e, t) {
516
+ function Vr(e, t) {
517
517
  var r = {};
518
518
  for (var n in e)
519
519
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -522,7 +522,7 @@ function Zr(e, t) {
522
522
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
523
523
  return r;
524
524
  }
525
- function Fe(e) {
525
+ function $e(e) {
526
526
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
527
527
  if (r)
528
528
  return r.call(e);
@@ -534,7 +534,7 @@ function Fe(e) {
534
534
  };
535
535
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
536
536
  }
537
- function Ue(e, t) {
537
+ function Fe(e, t) {
538
538
  var r = typeof Symbol == "function" && e[Symbol.iterator];
539
539
  if (!r)
540
540
  return e;
@@ -563,13 +563,13 @@ function J(e, t, r) {
563
563
  function R(e) {
564
564
  return typeof e == "function";
565
565
  }
566
- function Vt(e) {
566
+ function Gt(e) {
567
567
  var t = function(n) {
568
568
  Error.call(n), n.stack = new Error().stack;
569
569
  }, r = e(t);
570
570
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
571
571
  }
572
- var Ae = Vt(function(e) {
572
+ var Ae = Gt(function(e) {
573
573
  return function(r) {
574
574
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
575
575
  ` + r.map(function(n, i) {
@@ -578,7 +578,7 @@ var Ae = Vt(function(e) {
578
578
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
579
579
  };
580
580
  });
581
- function De(e, t) {
581
+ function Ue(e, t) {
582
582
  if (e) {
583
583
  var r = e.indexOf(t);
584
584
  0 <= r && e.splice(r, 1);
@@ -596,12 +596,12 @@ var _e = function() {
596
596
  if (s)
597
597
  if (this._parentage = null, Array.isArray(s))
598
598
  try {
599
- for (var a = Fe(s), l = a.next(); !l.done; l = a.next()) {
599
+ for (var a = $e(s), l = a.next(); !l.done; l = a.next()) {
600
600
  var u = l.value;
601
601
  u.remove(this);
602
602
  }
603
- } catch (d) {
604
- t = { error: d };
603
+ } catch (m) {
604
+ t = { error: m };
605
605
  } finally {
606
606
  try {
607
607
  l && !l.done && (r = a.return) && r.call(a);
@@ -616,23 +616,23 @@ var _e = function() {
616
616
  if (R(h))
617
617
  try {
618
618
  h();
619
- } catch (d) {
620
- o = d instanceof Ae ? d.errors : [d];
619
+ } catch (m) {
620
+ o = m instanceof Ae ? m.errors : [m];
621
621
  }
622
622
  var f = this._finalizers;
623
623
  if (f) {
624
624
  this._finalizers = null;
625
625
  try {
626
- for (var c = Fe(f), p = c.next(); !p.done; p = c.next()) {
627
- var m = p.value;
626
+ for (var c = $e(f), p = c.next(); !p.done; p = c.next()) {
627
+ var d = p.value;
628
628
  try {
629
- ht(m);
630
- } catch (d) {
631
- o = o != null ? o : [], d instanceof Ae ? o = J(J([], Ue(o)), Ue(d.errors)) : o.push(d);
629
+ at(d);
630
+ } catch (m) {
631
+ o = o != null ? o : [], m instanceof Ae ? o = J(J([], Fe(o)), Fe(m.errors)) : o.push(m);
632
632
  }
633
633
  }
634
- } catch (d) {
635
- n = { error: d };
634
+ } catch (m) {
635
+ n = { error: m };
636
636
  } finally {
637
637
  try {
638
638
  p && !p.done && (i = c.return) && i.call(c);
@@ -649,7 +649,7 @@ var _e = function() {
649
649
  var r;
650
650
  if (t && t !== this)
651
651
  if (this.closed)
652
- ht(t);
652
+ at(t);
653
653
  else {
654
654
  if (t instanceof e) {
655
655
  if (t.closed || t._hasParent(this))
@@ -666,56 +666,52 @@ var _e = function() {
666
666
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
667
667
  }, e.prototype._removeParent = function(t) {
668
668
  var r = this._parentage;
669
- r === t ? this._parentage = null : Array.isArray(r) && De(r, t);
669
+ r === t ? this._parentage = null : Array.isArray(r) && Ue(r, t);
670
670
  }, e.prototype.remove = function(t) {
671
671
  var r = this._finalizers;
672
- r && De(r, t), t instanceof e && t._removeParent(this);
672
+ r && Ue(r, t), t instanceof e && t._removeParent(this);
673
673
  }, e.EMPTY = function() {
674
674
  var t = new e();
675
675
  return t.closed = !0, t;
676
676
  }(), e;
677
- }(), Xt = _e.EMPTY;
678
- function zt(e) {
677
+ }(), jt = _e.EMPTY;
678
+ function kt(e) {
679
679
  return e instanceof _e || e && "closed" in e && R(e.remove) && R(e.add) && R(e.unsubscribe);
680
680
  }
681
- function ht(e) {
681
+ function at(e) {
682
682
  R(e) ? e() : e.unsubscribe();
683
683
  }
684
- var Wt = {
685
- onUnhandledError: null,
686
- onStoppedNotification: null,
687
- Promise: void 0,
688
- useDeprecatedSynchronousErrorHandling: !1,
689
- useDeprecatedNextContext: !1
690
- }, Qr = {
684
+ var Xr = {
685
+ Promise: void 0
686
+ }, zr = {
691
687
  setTimeout: function(e, t) {
692
688
  for (var r = [], n = 2; n < arguments.length; n++)
693
689
  r[n - 2] = arguments[n];
694
- return setTimeout.apply(void 0, J([e, t], Ue(r)));
690
+ return setTimeout.apply(void 0, J([e, t], Fe(r)));
695
691
  },
696
692
  clearTimeout: function(e) {
697
693
  return clearTimeout(e);
698
694
  },
699
695
  delegate: void 0
700
696
  };
701
- function Jr(e) {
702
- Qr.setTimeout(function() {
697
+ function Wr(e) {
698
+ zr.setTimeout(function() {
703
699
  throw e;
704
700
  });
705
701
  }
706
- function ft() {
702
+ function ut() {
707
703
  }
708
- function me(e) {
704
+ function de(e) {
709
705
  e();
710
706
  }
711
- var Zt = function(e) {
707
+ var Vt = function(e) {
712
708
  F(t, e);
713
709
  function t(r) {
714
710
  var n = e.call(this) || this;
715
- return n.isStopped = !1, r ? (n.destination = r, zt(r) && r.add(n)) : n.destination = en, n;
711
+ return n.isStopped = !1, r ? (n.destination = r, kt(r) && r.add(n)) : n.destination = Jr, n;
716
712
  }
717
713
  return t.create = function(r, n, i) {
718
- return new Ge(r, n, i);
714
+ return new De(r, n, i);
719
715
  }, t.prototype.next = function(r) {
720
716
  this.isStopped || this._next(r);
721
717
  }, t.prototype.error = function(r) {
@@ -739,11 +735,7 @@ var Zt = function(e) {
739
735
  this.unsubscribe();
740
736
  }
741
737
  }, t;
742
- }(_e), Yr = Function.prototype.bind;
743
- function Be(e, t) {
744
- return Yr.call(e, t);
745
- }
746
- var qr = function() {
738
+ }(_e), Zr = function() {
747
739
  function e(t) {
748
740
  this.partialObserver = t;
749
741
  }
@@ -774,55 +766,43 @@ var qr = function() {
774
766
  ce(r);
775
767
  }
776
768
  }, e;
777
- }(), Ge = function(e) {
769
+ }(), De = function(e) {
778
770
  F(t, e);
779
771
  function t(r, n, i) {
780
772
  var o = e.call(this) || this, s;
781
- if (R(r) || !r)
782
- s = {
783
- next: r != null ? r : void 0,
784
- error: n != null ? n : void 0,
785
- complete: i != null ? i : void 0
786
- };
787
- else {
788
- var a;
789
- o && Wt.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
790
- return o.unsubscribe();
791
- }, s = {
792
- next: r.next && Be(r.next, a),
793
- error: r.error && Be(r.error, a),
794
- complete: r.complete && Be(r.complete, a)
795
- }) : s = r;
796
- }
797
- return o.destination = new qr(s), o;
773
+ return R(r) || !r ? s = {
774
+ next: r != null ? r : void 0,
775
+ error: n != null ? n : void 0,
776
+ complete: i != null ? i : void 0
777
+ } : s = r, o.destination = new Zr(s), o;
798
778
  }
799
779
  return t;
800
- }(Zt);
780
+ }(Vt);
801
781
  function ce(e) {
802
- Jr(e);
782
+ Wr(e);
803
783
  }
804
- function Kr(e) {
784
+ function Qr(e) {
805
785
  throw e;
806
786
  }
807
- var en = {
787
+ var Jr = {
808
788
  closed: !0,
809
- next: ft,
810
- error: Kr,
811
- complete: ft
812
- }, tn = function() {
789
+ next: ut,
790
+ error: Qr,
791
+ complete: ut
792
+ }, Yr = function() {
813
793
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
814
794
  }();
815
- function rn(e) {
795
+ function qr(e) {
816
796
  return e;
817
797
  }
818
- function nn(e) {
819
- return e.length === 0 ? rn : e.length === 1 ? e[0] : function(r) {
798
+ function Kr(e) {
799
+ return e.length === 0 ? qr : e.length === 1 ? e[0] : function(r) {
820
800
  return e.reduce(function(n, i) {
821
801
  return i(n);
822
802
  }, r);
823
803
  };
824
804
  }
825
- var ct = function() {
805
+ var lt = function() {
826
806
  function e(t) {
827
807
  t && (this._subscribe = t);
828
808
  }
@@ -830,8 +810,8 @@ var ct = function() {
830
810
  var r = new e();
831
811
  return r.source = this, r.operator = t, r;
832
812
  }, e.prototype.subscribe = function(t, r, n) {
833
- var i = this, o = sn(t) ? t : new Ge(t, r, n);
834
- return me(function() {
813
+ var i = this, o = tn(t) ? t : new De(t, r, n);
814
+ return de(function() {
835
815
  var s = i, a = s.operator, l = s.source;
836
816
  o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
837
817
  }), o;
@@ -843,8 +823,8 @@ var ct = function() {
843
823
  }
844
824
  }, e.prototype.forEach = function(t, r) {
845
825
  var n = this;
846
- return r = pt(r), new r(function(i, o) {
847
- var s = new Ge({
826
+ return r = ht(r), new r(function(i, o) {
827
+ var s = new De({
848
828
  next: function(a) {
849
829
  try {
850
830
  t(a);
@@ -860,15 +840,15 @@ var ct = function() {
860
840
  }, e.prototype._subscribe = function(t) {
861
841
  var r;
862
842
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
863
- }, e.prototype[tn] = function() {
843
+ }, e.prototype[Yr] = function() {
864
844
  return this;
865
845
  }, e.prototype.pipe = function() {
866
846
  for (var t = [], r = 0; r < arguments.length; r++)
867
847
  t[r] = arguments[r];
868
- return nn(t)(this);
848
+ return Kr(t)(this);
869
849
  }, e.prototype.toPromise = function(t) {
870
850
  var r = this;
871
- return t = pt(t), new t(function(n, i) {
851
+ return t = ht(t), new t(function(n, i) {
872
852
  var o;
873
853
  r.subscribe(function(s) {
874
854
  return o = s;
@@ -882,40 +862,40 @@ var ct = function() {
882
862
  return new e(t);
883
863
  }, e;
884
864
  }();
885
- function pt(e) {
865
+ function ht(e) {
886
866
  var t;
887
- return (t = e != null ? e : Wt.Promise) !== null && t !== void 0 ? t : Promise;
867
+ return (t = e != null ? e : Xr.Promise) !== null && t !== void 0 ? t : Promise;
888
868
  }
889
- function on(e) {
869
+ function en(e) {
890
870
  return e && R(e.next) && R(e.error) && R(e.complete);
891
871
  }
892
- function sn(e) {
893
- return e && e instanceof Zt || on(e) && zt(e);
872
+ function tn(e) {
873
+ return e && e instanceof Vt || en(e) && kt(e);
894
874
  }
895
- var an = Vt(function(e) {
875
+ var rn = Gt(function(e) {
896
876
  return function() {
897
877
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
898
878
  };
899
- }), Qt = function(e) {
879
+ }), Xt = function(e) {
900
880
  F(t, e);
901
881
  function t() {
902
882
  var r = e.call(this) || this;
903
883
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
904
884
  }
905
885
  return t.prototype.lift = function(r) {
906
- var n = new dt(this, this);
886
+ var n = new ft(this, this);
907
887
  return n.operator = r, n;
908
888
  }, t.prototype._throwIfClosed = function() {
909
889
  if (this.closed)
910
- throw new an();
890
+ throw new rn();
911
891
  }, t.prototype.next = function(r) {
912
892
  var n = this;
913
- me(function() {
893
+ de(function() {
914
894
  var i, o;
915
895
  if (n._throwIfClosed(), !n.isStopped) {
916
896
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
917
897
  try {
918
- for (var s = Fe(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
898
+ for (var s = $e(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
919
899
  var l = a.value;
920
900
  l.next(r);
921
901
  }
@@ -933,7 +913,7 @@ var an = Vt(function(e) {
933
913
  });
934
914
  }, t.prototype.error = function(r) {
935
915
  var n = this;
936
- me(function() {
916
+ de(function() {
937
917
  if (n._throwIfClosed(), !n.isStopped) {
938
918
  n.hasError = n.isStopped = !0, n.thrownError = r;
939
919
  for (var i = n.observers; i.length; )
@@ -942,7 +922,7 @@ var an = Vt(function(e) {
942
922
  });
943
923
  }, t.prototype.complete = function() {
944
924
  var r = this;
945
- me(function() {
925
+ de(function() {
946
926
  if (r._throwIfClosed(), !r.isStopped) {
947
927
  r.isStopped = !0;
948
928
  for (var n = r.observers; n.length; )
@@ -964,19 +944,19 @@ var an = Vt(function(e) {
964
944
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
965
945
  }, t.prototype._innerSubscribe = function(r) {
966
946
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
967
- return o || s ? Xt : (this.currentObservers = null, a.push(r), new _e(function() {
968
- n.currentObservers = null, De(a, r);
947
+ return o || s ? jt : (this.currentObservers = null, a.push(r), new _e(function() {
948
+ n.currentObservers = null, Ue(a, r);
969
949
  }));
970
950
  }, t.prototype._checkFinalizedStatuses = function(r) {
971
951
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
972
952
  i ? r.error(o) : s && r.complete();
973
953
  }, t.prototype.asObservable = function() {
974
- var r = new ct();
954
+ var r = new lt();
975
955
  return r.source = this, r;
976
956
  }, t.create = function(r, n) {
977
- return new dt(r, n);
957
+ return new ft(r, n);
978
958
  }, t;
979
- }(ct), dt = function(e) {
959
+ }(lt), ft = function(e) {
980
960
  F(t, e);
981
961
  function t(r, n) {
982
962
  var i = e.call(this) || this;
@@ -993,17 +973,17 @@ var an = Vt(function(e) {
993
973
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
994
974
  }, t.prototype._subscribe = function(r) {
995
975
  var n, i;
996
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Xt;
976
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : jt;
997
977
  }, t;
998
- }(Qt), Jt = {
978
+ }(Xt), zt = {
999
979
  now: function() {
1000
- return (Jt.delegate || Date).now();
980
+ return (zt.delegate || Date).now();
1001
981
  },
1002
982
  delegate: void 0
1003
- }, un = function(e) {
983
+ }, nn = function(e) {
1004
984
  F(t, e);
1005
985
  function t(r, n, i) {
1006
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Jt);
986
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = zt);
1007
987
  var o = e.call(this) || this;
1008
988
  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;
1009
989
  }
@@ -1023,15 +1003,15 @@ var an = Vt(function(e) {
1023
1003
  u && o.splice(0, u + 1);
1024
1004
  }
1025
1005
  }, t;
1026
- }(Qt);
1027
- const mt = [], bt = {}, ln = (e, t = 0) => {
1028
- if (mt.indexOf(e) == -1) {
1029
- const r = new un(t);
1030
- bt[e] = r, mt.push(e);
1006
+ }(Xt);
1007
+ const ct = [], pt = {}, on = (e, t = 0) => {
1008
+ if (ct.indexOf(e) == -1) {
1009
+ const r = new nn(t);
1010
+ pt[e] = r, ct.push(e);
1031
1011
  }
1032
- return bt[e];
1012
+ return pt[e];
1033
1013
  }, z = [];
1034
- function hn(e, t) {
1014
+ function sn(e, t) {
1035
1015
  return {
1036
1016
  subscribe: Ee(e, t).subscribe
1037
1017
  };
@@ -1040,7 +1020,7 @@ function Ee(e, t = I) {
1040
1020
  let r;
1041
1021
  const n = /* @__PURE__ */ new Set();
1042
1022
  function i(a) {
1043
- if (Gt(e, a) && (e = a, r)) {
1023
+ if (Ft(e, a) && (e = a, r)) {
1044
1024
  const l = !z.length;
1045
1025
  for (const u of n)
1046
1026
  u[1](), z.push(u, e);
@@ -1067,7 +1047,7 @@ function te(e, t, r) {
1067
1047
  if (!i.every(Boolean))
1068
1048
  throw new Error("derived() expects stores as input, got a falsy value");
1069
1049
  const o = t.length < 2;
1070
- return hn(r, (s, a) => {
1050
+ return sn(r, (s, a) => {
1071
1051
  let l = !1;
1072
1052
  const u = [];
1073
1053
  let h = 0, f = I;
@@ -1075,16 +1055,16 @@ function te(e, t, r) {
1075
1055
  if (h)
1076
1056
  return;
1077
1057
  f();
1078
- const m = t(n ? u[0] : u, s, a);
1079
- o ? s(m) : f = Je(m) ? m : I;
1058
+ const d = t(n ? u[0] : u, s, a);
1059
+ o ? s(d) : f = Qe(d) ? d : I;
1080
1060
  }, p = i.map(
1081
- (m, d) => jt(
1082
- m,
1061
+ (d, m) => Ut(
1062
+ d,
1083
1063
  (_) => {
1084
- u[d] = _, h &= ~(1 << d), l && c();
1064
+ u[m] = _, h &= ~(1 << m), l && c();
1085
1065
  },
1086
1066
  () => {
1087
- h |= 1 << d;
1067
+ h |= 1 << m;
1088
1068
  }
1089
1069
  )
1090
1070
  );
@@ -1093,70 +1073,70 @@ function te(e, t, r) {
1093
1073
  };
1094
1074
  });
1095
1075
  }
1096
- function fn(e) {
1076
+ function an(e) {
1097
1077
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1098
1078
  }
1099
- var cn = function(t) {
1100
- return pn(t) && !dn(t);
1079
+ var un = function(t) {
1080
+ return ln(t) && !hn(t);
1101
1081
  };
1102
- function pn(e) {
1082
+ function ln(e) {
1103
1083
  return !!e && typeof e == "object";
1104
1084
  }
1105
- function dn(e) {
1085
+ function hn(e) {
1106
1086
  var t = Object.prototype.toString.call(e);
1107
- return t === "[object RegExp]" || t === "[object Date]" || gn(e);
1087
+ return t === "[object RegExp]" || t === "[object Date]" || pn(e);
1108
1088
  }
1109
- var mn = typeof Symbol == "function" && Symbol.for, bn = mn ? Symbol.for("react.element") : 60103;
1110
- function gn(e) {
1111
- return e.$$typeof === bn;
1089
+ var fn = typeof Symbol == "function" && Symbol.for, cn = fn ? Symbol.for("react.element") : 60103;
1090
+ function pn(e) {
1091
+ return e.$$typeof === cn;
1112
1092
  }
1113
- function vn(e) {
1093
+ function mn(e) {
1114
1094
  return Array.isArray(e) ? [] : {};
1115
1095
  }
1116
1096
  function oe(e, t) {
1117
- return t.clone !== !1 && t.isMergeableObject(e) ? Y(vn(e), e, t) : e;
1097
+ return t.clone !== !1 && t.isMergeableObject(e) ? Y(mn(e), e, t) : e;
1118
1098
  }
1119
- function yn(e, t, r) {
1099
+ function dn(e, t, r) {
1120
1100
  return e.concat(t).map(function(n) {
1121
1101
  return oe(n, r);
1122
1102
  });
1123
1103
  }
1124
- function _n(e, t) {
1104
+ function bn(e, t) {
1125
1105
  if (!t.customMerge)
1126
1106
  return Y;
1127
1107
  var r = t.customMerge(e);
1128
1108
  return typeof r == "function" ? r : Y;
1129
1109
  }
1130
- function En(e) {
1110
+ function gn(e) {
1131
1111
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1132
1112
  return Object.propertyIsEnumerable.call(e, t);
1133
1113
  }) : [];
1134
1114
  }
1135
- function gt(e) {
1136
- return Object.keys(e).concat(En(e));
1115
+ function mt(e) {
1116
+ return Object.keys(e).concat(gn(e));
1137
1117
  }
1138
- function Yt(e, t) {
1118
+ function Wt(e, t) {
1139
1119
  try {
1140
1120
  return t in e;
1141
1121
  } catch (r) {
1142
1122
  return !1;
1143
1123
  }
1144
1124
  }
1145
- function xn(e, t) {
1146
- return Yt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1125
+ function vn(e, t) {
1126
+ return Wt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1147
1127
  }
1148
- function Sn(e, t, r) {
1128
+ function yn(e, t, r) {
1149
1129
  var n = {};
1150
- return r.isMergeableObject(e) && gt(e).forEach(function(i) {
1130
+ return r.isMergeableObject(e) && mt(e).forEach(function(i) {
1151
1131
  n[i] = oe(e[i], r);
1152
- }), gt(t).forEach(function(i) {
1153
- xn(e, i) || (Yt(e, i) && r.isMergeableObject(t[i]) ? n[i] = _n(i, r)(e[i], t[i], r) : n[i] = oe(t[i], r));
1132
+ }), mt(t).forEach(function(i) {
1133
+ vn(e, i) || (Wt(e, i) && r.isMergeableObject(t[i]) ? n[i] = bn(i, r)(e[i], t[i], r) : n[i] = oe(t[i], r));
1154
1134
  }), n;
1155
1135
  }
1156
1136
  function Y(e, t, r) {
1157
- r = r || {}, r.arrayMerge = r.arrayMerge || yn, r.isMergeableObject = r.isMergeableObject || cn, r.cloneUnlessOtherwiseSpecified = oe;
1137
+ r = r || {}, r.arrayMerge = r.arrayMerge || dn, r.isMergeableObject = r.isMergeableObject || un, r.cloneUnlessOtherwiseSpecified = oe;
1158
1138
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1159
- return o ? n ? r.arrayMerge(e, t, r) : Sn(e, t, r) : oe(t, r);
1139
+ return o ? n ? r.arrayMerge(e, t, r) : yn(e, t, r) : oe(t, r);
1160
1140
  }
1161
1141
  Y.all = function(t, r) {
1162
1142
  if (!Array.isArray(t))
@@ -1165,58 +1145,56 @@ Y.all = function(t, r) {
1165
1145
  return Y(n, i, r);
1166
1146
  }, {});
1167
1147
  };
1168
- var Tn = Y, Hn = Tn;
1169
- const wn = /* @__PURE__ */ fn(Hn);
1170
- function Pe(e, t) {
1171
- var r = t && t.cache ? t.cache : In, n = t && t.serializer ? t.serializer : Cn, i = t && t.strategy ? t.strategy : Bn;
1148
+ var _n = Y, En = _n;
1149
+ const xn = /* @__PURE__ */ an(En);
1150
+ function Be(e, t) {
1151
+ var r = t && t.cache ? t.cache : Pn, n = t && t.serializer ? t.serializer : An, i = t && t.strategy ? t.strategy : Hn;
1172
1152
  return i(e, {
1173
1153
  cache: r,
1174
1154
  serializer: n
1175
1155
  });
1176
1156
  }
1177
- function An(e) {
1157
+ function Sn(e) {
1178
1158
  return e == null || typeof e == "number" || typeof e == "boolean";
1179
1159
  }
1180
- function qt(e, t, r, n) {
1181
- var i = An(n) ? n : r(n), o = t.get(i);
1160
+ function Tn(e, t, r, n) {
1161
+ var i = Sn(n) ? n : r(n), o = t.get(i);
1182
1162
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1183
1163
  }
1184
- function Kt(e, t, r) {
1164
+ function Zt(e, t, r) {
1185
1165
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1186
1166
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1187
1167
  }
1188
- function qe(e, t, r, n, i) {
1168
+ function Qt(e, t, r, n, i) {
1189
1169
  return r.bind(t, e, n, i);
1190
1170
  }
1191
- function Bn(e, t) {
1192
- var r = e.length === 1 ? qt : Kt;
1193
- return qe(e, this, r, t.cache.create(), t.serializer);
1194
- }
1195
- function Pn(e, t) {
1196
- return qe(e, this, Kt, t.cache.create(), t.serializer);
1171
+ function Hn(e, t) {
1172
+ var r = e.length === 1 ? Tn : Zt;
1173
+ return Qt(e, this, r, t.cache.create(), t.serializer);
1197
1174
  }
1198
- function On(e, t) {
1199
- return qe(e, this, qt, t.cache.create(), t.serializer);
1175
+ function wn(e, t) {
1176
+ return Qt(e, this, Zt, t.cache.create(), t.serializer);
1200
1177
  }
1201
- var Cn = function() {
1178
+ var An = function() {
1202
1179
  return JSON.stringify(arguments);
1203
- };
1204
- function Ke() {
1205
- this.cache = /* @__PURE__ */ Object.create(null);
1206
- }
1207
- Ke.prototype.get = function(e) {
1208
- return this.cache[e];
1209
- };
1210
- Ke.prototype.set = function(e, t) {
1211
- this.cache[e] = t;
1212
- };
1213
- var In = {
1180
+ }, Bn = (
1181
+ /** @class */
1182
+ function() {
1183
+ function e() {
1184
+ this.cache = /* @__PURE__ */ Object.create(null);
1185
+ }
1186
+ return e.prototype.get = function(t) {
1187
+ return this.cache[t];
1188
+ }, e.prototype.set = function(t, r) {
1189
+ this.cache[t] = r;
1190
+ }, e;
1191
+ }()
1192
+ ), Pn = {
1214
1193
  create: function() {
1215
- return new Ke();
1194
+ return new Bn();
1216
1195
  }
1217
- }, Oe = {
1218
- variadic: Pn,
1219
- monadic: On
1196
+ }, Pe = {
1197
+ variadic: wn
1220
1198
  }, b;
1221
1199
  (function(e) {
1222
1200
  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";
@@ -1229,43 +1207,43 @@ var q;
1229
1207
  (function(e) {
1230
1208
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1231
1209
  })(q || (q = {}));
1232
- function vt(e) {
1210
+ function dt(e) {
1233
1211
  return e.type === E.literal;
1234
1212
  }
1235
- function Nn(e) {
1213
+ function On(e) {
1236
1214
  return e.type === E.argument;
1237
1215
  }
1238
- function er(e) {
1216
+ function Jt(e) {
1239
1217
  return e.type === E.number;
1240
1218
  }
1241
- function tr(e) {
1219
+ function Yt(e) {
1242
1220
  return e.type === E.date;
1243
1221
  }
1244
- function rr(e) {
1222
+ function qt(e) {
1245
1223
  return e.type === E.time;
1246
1224
  }
1247
- function nr(e) {
1225
+ function Kt(e) {
1248
1226
  return e.type === E.select;
1249
1227
  }
1250
- function ir(e) {
1228
+ function er(e) {
1251
1229
  return e.type === E.plural;
1252
1230
  }
1253
- function Mn(e) {
1231
+ function Cn(e) {
1254
1232
  return e.type === E.pound;
1255
1233
  }
1256
- function or(e) {
1234
+ function tr(e) {
1257
1235
  return e.type === E.tag;
1258
1236
  }
1259
- function sr(e) {
1237
+ function rr(e) {
1260
1238
  return !!(e && typeof e == "object" && e.type === q.number);
1261
1239
  }
1262
- function je(e) {
1240
+ function Ge(e) {
1263
1241
  return !!(e && typeof e == "object" && e.type === q.dateTime);
1264
1242
  }
1265
- var ar = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ln = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1266
- function Rn(e) {
1243
+ var nr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, In = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1244
+ function Nn(e) {
1267
1245
  var t = {};
1268
- return e.replace(Ln, function(r) {
1246
+ return e.replace(In, function(r) {
1269
1247
  var n = r.length;
1270
1248
  switch (r[0]) {
1271
1249
  case "G":
@@ -1354,11 +1332,11 @@ function Rn(e) {
1354
1332
  return "";
1355
1333
  }), t;
1356
1334
  }
1357
- var $n = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1358
- function Fn(e) {
1335
+ var Mn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1336
+ function Ln(e) {
1359
1337
  if (e.length === 0)
1360
1338
  throw new Error("Number skeleton cannot be empty");
1361
- for (var t = e.split($n).filter(function(c) {
1339
+ for (var t = e.split(Mn).filter(function(c) {
1362
1340
  return c.length > 0;
1363
1341
  }), r = [], n = 0, i = t; n < i.length; n++) {
1364
1342
  var o = i[n], s = o.split("/");
@@ -1373,17 +1351,17 @@ function Fn(e) {
1373
1351
  }
1374
1352
  return r;
1375
1353
  }
1376
- function Un(e) {
1354
+ function Rn(e) {
1377
1355
  return e.replace(/^(.*?)-/, "");
1378
1356
  }
1379
- var yt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ur = /^(@+)?(\+|#+)?[rs]?$/g, Dn = /(\*)(0+)|(#+)(0+)|(0+)/g, lr = /^(0+)$/;
1380
- function _t(e) {
1357
+ var bt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ir = /^(@+)?(\+|#+)?[rs]?$/g, $n = /(\*)(0+)|(#+)(0+)|(0+)/g, or = /^(0+)$/;
1358
+ function gt(e) {
1381
1359
  var t = {};
1382
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(ur, function(r, n, i) {
1360
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(ir, function(r, n, i) {
1383
1361
  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)), "";
1384
1362
  }), t;
1385
1363
  }
1386
- function hr(e) {
1364
+ function sr(e) {
1387
1365
  switch (e) {
1388
1366
  case "sign-auto":
1389
1367
  return {
@@ -1423,7 +1401,7 @@ function hr(e) {
1423
1401
  };
1424
1402
  }
1425
1403
  }
1426
- function Gn(e) {
1404
+ function Fn(e) {
1427
1405
  var t;
1428
1406
  if (e[0] === "E" && e[1] === "E" ? (t = {
1429
1407
  notation: "engineering"
@@ -1431,17 +1409,17 @@ function Gn(e) {
1431
1409
  notation: "scientific"
1432
1410
  }, e = e.slice(1)), t) {
1433
1411
  var r = e.slice(0, 2);
1434
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !lr.test(e))
1412
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !or.test(e))
1435
1413
  throw new Error("Malformed concise eng/scientific notation");
1436
1414
  t.minimumIntegerDigits = e.length;
1437
1415
  }
1438
1416
  return t;
1439
1417
  }
1440
- function Et(e) {
1441
- var t = {}, r = hr(e);
1418
+ function vt(e) {
1419
+ var t = {}, r = sr(e);
1442
1420
  return r || t;
1443
1421
  }
1444
- function jn(e) {
1422
+ function Un(e) {
1445
1423
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1446
1424
  var i = n[r];
1447
1425
  switch (i.stem) {
@@ -1465,7 +1443,7 @@ function jn(e) {
1465
1443
  continue;
1466
1444
  case "measure-unit":
1467
1445
  case "unit":
1468
- t.style = "unit", t.unit = Un(i.options[0]);
1446
+ t.style = "unit", t.unit = Rn(i.options[0]);
1469
1447
  continue;
1470
1448
  case "compact-short":
1471
1449
  case "K":
@@ -1477,12 +1455,12 @@ function jn(e) {
1477
1455
  continue;
1478
1456
  case "scientific":
1479
1457
  t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1480
- return y(y({}, l), Et(u));
1458
+ return y(y({}, l), vt(u));
1481
1459
  }, {}));
1482
1460
  continue;
1483
1461
  case "engineering":
1484
1462
  t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1485
- return y(y({}, l), Et(u));
1463
+ return y(y({}, l), vt(u));
1486
1464
  }, {}));
1487
1465
  continue;
1488
1466
  case "notation-simple":
@@ -1527,7 +1505,7 @@ function jn(e) {
1527
1505
  case "integer-width":
1528
1506
  if (i.options.length > 1)
1529
1507
  throw new RangeError("integer-width stems only accept a single optional option");
1530
- i.options[0].replace(Dn, function(l, u, h, f, c, p) {
1508
+ i.options[0].replace($n, function(l, u, h, f, c, p) {
1531
1509
  if (u)
1532
1510
  t.minimumIntegerDigits = h.length;
1533
1511
  else {
@@ -1540,27 +1518,27 @@ function jn(e) {
1540
1518
  });
1541
1519
  continue;
1542
1520
  }
1543
- if (lr.test(i.stem)) {
1521
+ if (or.test(i.stem)) {
1544
1522
  t.minimumIntegerDigits = i.stem.length;
1545
1523
  continue;
1546
1524
  }
1547
- if (yt.test(i.stem)) {
1525
+ if (bt.test(i.stem)) {
1548
1526
  if (i.options.length > 1)
1549
1527
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1550
- i.stem.replace(yt, function(l, u, h, f, c, p) {
1528
+ i.stem.replace(bt, function(l, u, h, f, c, p) {
1551
1529
  return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && p ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1552
1530
  });
1553
1531
  var o = i.options[0];
1554
- o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), _t(o)));
1532
+ o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), gt(o)));
1555
1533
  continue;
1556
1534
  }
1557
- if (ur.test(i.stem)) {
1558
- t = y(y({}, t), _t(i.stem));
1535
+ if (ir.test(i.stem)) {
1536
+ t = y(y({}, t), gt(i.stem));
1559
1537
  continue;
1560
1538
  }
1561
- var s = hr(i.stem);
1539
+ var s = sr(i.stem);
1562
1540
  s && (t = y(y({}, t), s));
1563
- var a = Gn(i.stem);
1541
+ var a = Fn(i.stem);
1564
1542
  a && (t = y(y({}, t), a));
1565
1543
  }
1566
1544
  return t;
@@ -2980,13 +2958,13 @@ var pe = {
2980
2958
  "h"
2981
2959
  ]
2982
2960
  };
2983
- function kn(e, t) {
2961
+ function Dn(e, t) {
2984
2962
  for (var r = "", n = 0; n < e.length; n++) {
2985
2963
  var i = e.charAt(n);
2986
2964
  if (i === "j") {
2987
2965
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2988
2966
  o++, n++;
2989
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Vn(t);
2967
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Gn(t);
2990
2968
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2991
2969
  r += l;
2992
2970
  for (; s-- > 0; )
@@ -2996,7 +2974,7 @@ function kn(e, t) {
2996
2974
  }
2997
2975
  return r;
2998
2976
  }
2999
- function Vn(e) {
2977
+ function Gn(e) {
3000
2978
  var t = e.hourCycle;
3001
2979
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3002
2980
  e.hourCycles && // @ts-ignore
@@ -3018,20 +2996,20 @@ function Vn(e) {
3018
2996
  var i = pe[n || ""] || pe[r || ""] || pe["".concat(r, "-001")] || pe["001"];
3019
2997
  return i[0];
3020
2998
  }
3021
- var Ce, Xn = new RegExp("^".concat(ar.source, "*")), zn = new RegExp("".concat(ar.source, "*$"));
2999
+ var Oe, jn = new RegExp("^".concat(nr.source, "*")), kn = new RegExp("".concat(nr.source, "*$"));
3022
3000
  function g(e, t) {
3023
3001
  return { start: e, end: t };
3024
3002
  }
3025
- var Wn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Zn = !!String.fromCodePoint, Qn = !!Object.fromEntries, Jn = !!String.prototype.codePointAt, Yn = !!String.prototype.trimStart, qn = !!String.prototype.trimEnd, Kn = !!Number.isSafeInteger, ei = Kn ? Number.isSafeInteger : function(e) {
3003
+ var Vn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Xn = !!String.fromCodePoint, zn = !!Object.fromEntries, Wn = !!String.prototype.codePointAt, Zn = !!String.prototype.trimStart, Qn = !!String.prototype.trimEnd, Jn = !!Number.isSafeInteger, Yn = Jn ? Number.isSafeInteger : function(e) {
3026
3004
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3027
- }, ke = !0;
3005
+ }, je = !0;
3028
3006
  try {
3029
- var ti = cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3030
- ke = ((Ce = ti.exec("a")) === null || Ce === void 0 ? void 0 : Ce[0]) === "a";
3007
+ var qn = ur("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3008
+ je = ((Oe = qn.exec("a")) === null || Oe === void 0 ? void 0 : Oe[0]) === "a";
3031
3009
  } catch (e) {
3032
- ke = !1;
3010
+ je = !1;
3033
3011
  }
3034
- var xt = Wn ? (
3012
+ var yt = Vn ? (
3035
3013
  // Native
3036
3014
  function(t, r, n) {
3037
3015
  return t.startsWith(r, n);
@@ -3041,7 +3019,7 @@ var xt = Wn ? (
3041
3019
  function(t, r, n) {
3042
3020
  return t.slice(n, n + r.length) === r;
3043
3021
  }
3044
- ), Ve = Zn ? String.fromCodePoint : (
3022
+ ), ke = Xn ? String.fromCodePoint : (
3045
3023
  // IE11
3046
3024
  function() {
3047
3025
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3053,9 +3031,9 @@ var xt = Wn ? (
3053
3031
  }
3054
3032
  return n;
3055
3033
  }
3056
- ), St = (
3034
+ ), _t = (
3057
3035
  // native
3058
- Qn ? Object.fromEntries : (
3036
+ zn ? Object.fromEntries : (
3059
3037
  // Ponyfill
3060
3038
  function(t) {
3061
3039
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3065,7 +3043,7 @@ var xt = Wn ? (
3065
3043
  return r;
3066
3044
  }
3067
3045
  )
3068
- ), fr = Jn ? (
3046
+ ), ar = Wn ? (
3069
3047
  // Native
3070
3048
  function(t, r) {
3071
3049
  return t.codePointAt(r);
@@ -3079,7 +3057,7 @@ var xt = Wn ? (
3079
3057
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3080
3058
  }
3081
3059
  }
3082
- ), ri = Yn ? (
3060
+ ), Kn = Zn ? (
3083
3061
  // Native
3084
3062
  function(t) {
3085
3063
  return t.trimStart();
@@ -3087,9 +3065,9 @@ var xt = Wn ? (
3087
3065
  ) : (
3088
3066
  // Ponyfill
3089
3067
  function(t) {
3090
- return t.replace(Xn, "");
3068
+ return t.replace(jn, "");
3091
3069
  }
3092
- ), ni = qn ? (
3070
+ ), ei = Qn ? (
3093
3071
  // Native
3094
3072
  function(t) {
3095
3073
  return t.trimEnd();
@@ -3097,32 +3075,32 @@ var xt = Wn ? (
3097
3075
  ) : (
3098
3076
  // Ponyfill
3099
3077
  function(t) {
3100
- return t.replace(zn, "");
3078
+ return t.replace(kn, "");
3101
3079
  }
3102
3080
  );
3103
- function cr(e, t) {
3081
+ function ur(e, t) {
3104
3082
  return new RegExp(e, t);
3105
3083
  }
3106
- var Xe;
3107
- if (ke) {
3108
- var Tt = cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3109
- Xe = function(t, r) {
3084
+ var Ve;
3085
+ if (je) {
3086
+ var Et = ur("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3087
+ Ve = function(t, r) {
3110
3088
  var n;
3111
- Tt.lastIndex = r;
3112
- var i = Tt.exec(t);
3089
+ Et.lastIndex = r;
3090
+ var i = Et.exec(t);
3113
3091
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3114
3092
  };
3115
3093
  } else
3116
- Xe = function(t, r) {
3094
+ Ve = function(t, r) {
3117
3095
  for (var n = []; ; ) {
3118
- var i = fr(t, r);
3119
- if (i === void 0 || pr(i) || ai(i))
3096
+ var i = ar(t, r);
3097
+ if (i === void 0 || lr(i) || ii(i))
3120
3098
  break;
3121
3099
  n.push(i), r += i >= 65536 ? 2 : 1;
3122
3100
  }
3123
- return Ve.apply(void 0, n);
3101
+ return ke.apply(void 0, n);
3124
3102
  };
3125
- var ii = (
3103
+ var ti = (
3126
3104
  /** @class */
3127
3105
  function() {
3128
3106
  function e(t, r) {
@@ -3153,7 +3131,7 @@ var ii = (
3153
3131
  if (n)
3154
3132
  break;
3155
3133
  return this.error(b.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
3156
- } else if (o === 60 && !this.ignoreTag && ze(this.peek() || 0)) {
3134
+ } else if (o === 60 && !this.ignoreTag && Xe(this.peek() || 0)) {
3157
3135
  var s = this.parseTag(t, r);
3158
3136
  if (s.err)
3159
3137
  return s;
@@ -3186,7 +3164,7 @@ var ii = (
3186
3164
  return o;
3187
3165
  var s = o.val, a = this.clonePosition();
3188
3166
  if (this.bumpIf("</")) {
3189
- if (this.isEOF() || !ze(this.char()))
3167
+ if (this.isEOF() || !Xe(this.char()))
3190
3168
  return this.error(b.INVALID_TAG, g(a, this.clonePosition()));
3191
3169
  var l = this.clonePosition(), u = this.parseTagName();
3192
3170
  return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, g(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -3204,7 +3182,7 @@ var ii = (
3204
3182
  return this.error(b.INVALID_TAG, g(n, this.clonePosition()));
3205
3183
  }, e.prototype.parseTagName = function() {
3206
3184
  var t = this.offset();
3207
- for (this.bump(); !this.isEOF() && si(this.char()); )
3185
+ for (this.bump(); !this.isEOF() && ni(this.char()); )
3208
3186
  this.bump();
3209
3187
  return this.message.slice(t, this.offset());
3210
3188
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3233,7 +3211,7 @@ var ii = (
3233
3211
  };
3234
3212
  }, e.prototype.tryParseLeftAngleBracket = function() {
3235
3213
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3236
- !oi(this.peek() || 0)) ? (this.bump(), "<") : null;
3214
+ !ri(this.peek() || 0)) ? (this.bump(), "<") : null;
3237
3215
  }, e.prototype.tryParseQuote = function(t) {
3238
3216
  if (this.isEOF() || this.char() !== 39)
3239
3217
  return null;
@@ -3267,12 +3245,12 @@ var ii = (
3267
3245
  r.push(n);
3268
3246
  this.bump();
3269
3247
  }
3270
- return Ve.apply(void 0, r);
3248
+ return ke.apply(void 0, r);
3271
3249
  }, e.prototype.tryParseUnquoted = function(t, r) {
3272
3250
  if (this.isEOF())
3273
3251
  return null;
3274
3252
  var n = this.char();
3275
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ve(n));
3253
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ke(n));
3276
3254
  }, e.prototype.parseArgument = function(t, r) {
3277
3255
  var n = this.clonePosition();
3278
3256
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3301,7 +3279,7 @@ var ii = (
3301
3279
  return this.error(b.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3302
3280
  }
3303
3281
  }, e.prototype.parseIdentifierIfPossible = function() {
3304
- var t = this.clonePosition(), r = this.offset(), n = Xe(this.message, r), i = r + n.length;
3282
+ var t = this.clonePosition(), r = this.offset(), n = Ve(this.message, r), i = r + n.length;
3305
3283
  this.bumpTo(i);
3306
3284
  var o = this.clonePosition(), s = g(t, o);
3307
3285
  return { value: n, location: s };
@@ -3320,37 +3298,37 @@ var ii = (
3320
3298
  var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3321
3299
  if (f.err)
3322
3300
  return f;
3323
- var c = ni(f.val);
3301
+ var c = ei(f.val);
3324
3302
  if (c.length === 0)
3325
3303
  return this.error(b.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
3326
3304
  var p = g(h, this.clonePosition());
3327
3305
  u = { style: c, styleLocation: p };
3328
3306
  }
3329
- var m = this.tryParseArgumentClose(i);
3330
- if (m.err)
3331
- return m;
3332
- var d = g(i, this.clonePosition());
3333
- if (u && xt(u == null ? void 0 : u.style, "::", 0)) {
3334
- var _ = ri(u.style.slice(2));
3307
+ var d = this.tryParseArgumentClose(i);
3308
+ if (d.err)
3309
+ return d;
3310
+ var m = g(i, this.clonePosition());
3311
+ if (u && yt(u == null ? void 0 : u.style, "::", 0)) {
3312
+ var _ = Kn(u.style.slice(2));
3335
3313
  if (a === "number") {
3336
3314
  var f = this.parseNumberSkeletonFromString(_, u.styleLocation);
3337
3315
  return f.err ? f : {
3338
- val: { type: E.number, value: n, location: d, style: f.val },
3316
+ val: { type: E.number, value: n, location: m, style: f.val },
3339
3317
  err: null
3340
3318
  };
3341
3319
  } else {
3342
3320
  if (_.length === 0)
3343
- return this.error(b.EXPECT_DATE_TIME_SKELETON, d);
3321
+ return this.error(b.EXPECT_DATE_TIME_SKELETON, m);
3344
3322
  var S = _;
3345
- this.locale && (S = kn(_, this.locale));
3323
+ this.locale && (S = Dn(_, this.locale));
3346
3324
  var c = {
3347
3325
  type: q.dateTime,
3348
3326
  pattern: S,
3349
3327
  location: u.styleLocation,
3350
- parsedOptions: this.shouldParseSkeletons ? Rn(S) : {}
3328
+ parsedOptions: this.shouldParseSkeletons ? Nn(S) : {}
3351
3329
  }, N = a === "date" ? E.date : E.time;
3352
3330
  return {
3353
- val: { type: N, value: n, location: d, style: c },
3331
+ val: { type: N, value: n, location: m, style: c },
3354
3332
  err: null
3355
3333
  };
3356
3334
  }
@@ -3359,7 +3337,7 @@ var ii = (
3359
3337
  val: {
3360
3338
  type: a === "number" ? E.number : a === "date" ? E.date : E.time,
3361
3339
  value: n,
3362
- location: d,
3340
+ location: m,
3363
3341
  style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
3364
3342
  },
3365
3343
  err: null
@@ -3385,15 +3363,15 @@ var ii = (
3385
3363
  var V = this.tryParsePluralOrSelectOptions(t, a, r, w);
3386
3364
  if (V.err)
3387
3365
  return V;
3388
- var m = this.tryParseArgumentClose(i);
3389
- if (m.err)
3390
- return m;
3366
+ var d = this.tryParseArgumentClose(i);
3367
+ if (d.err)
3368
+ return d;
3391
3369
  var v = g(i, this.clonePosition());
3392
3370
  return a === "select" ? {
3393
3371
  val: {
3394
3372
  type: E.select,
3395
3373
  value: n,
3396
- options: St(V.val),
3374
+ options: _t(V.val),
3397
3375
  location: v
3398
3376
  },
3399
3377
  err: null
@@ -3401,7 +3379,7 @@ var ii = (
3401
3379
  val: {
3402
3380
  type: E.plural,
3403
3381
  value: n,
3404
- options: St(V.val),
3382
+ options: _t(V.val),
3405
3383
  offset: L,
3406
3384
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3407
3385
  location: v
@@ -3452,7 +3430,7 @@ var ii = (
3452
3430
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3453
3431
  var n = [];
3454
3432
  try {
3455
- n = Fn(t);
3433
+ n = Ln(t);
3456
3434
  } catch (i) {
3457
3435
  return this.error(b.INVALID_NUMBER_SKELETON, r);
3458
3436
  }
@@ -3461,7 +3439,7 @@ var ii = (
3461
3439
  type: q.number,
3462
3440
  tokens: n,
3463
3441
  location: r,
3464
- parsedOptions: this.shouldParseSkeletons ? jn(n) : {}
3442
+ parsedOptions: this.shouldParseSkeletons ? Un(n) : {}
3465
3443
  },
3466
3444
  err: null
3467
3445
  };
@@ -3483,16 +3461,16 @@ var ii = (
3483
3461
  var p = this.clonePosition();
3484
3462
  if (!this.bumpIf("{"))
3485
3463
  return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
3486
- var m = this.parseMessage(t + 1, r, n);
3487
- if (m.err)
3488
- return m;
3489
- var d = this.tryParseArgumentClose(p);
3464
+ var d = this.parseMessage(t + 1, r, n);
3490
3465
  if (d.err)
3491
3466
  return d;
3467
+ var m = this.tryParseArgumentClose(p);
3468
+ if (m.err)
3469
+ return m;
3492
3470
  a.push([
3493
3471
  u,
3494
3472
  {
3495
- value: m.val,
3473
+ value: d.val,
3496
3474
  location: g(p, this.clonePosition())
3497
3475
  }
3498
3476
  ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
@@ -3509,7 +3487,7 @@ var ii = (
3509
3487
  break;
3510
3488
  }
3511
3489
  var l = g(i, this.clonePosition());
3512
- return o ? (s *= n, ei(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3490
+ return o ? (s *= n, Yn(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3513
3491
  }, e.prototype.offset = function() {
3514
3492
  return this.position.offset;
3515
3493
  }, e.prototype.isEOF = function() {
@@ -3524,7 +3502,7 @@ var ii = (
3524
3502
  var t = this.position.offset;
3525
3503
  if (t >= this.message.length)
3526
3504
  throw Error("out of bound");
3527
- var r = fr(this.message, t);
3505
+ var r = ar(this.message, t);
3528
3506
  if (r === void 0)
3529
3507
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3530
3508
  return r;
@@ -3543,7 +3521,7 @@ var ii = (
3543
3521
  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);
3544
3522
  }
3545
3523
  }, e.prototype.bumpIf = function(t) {
3546
- if (xt(this.message, t, this.offset())) {
3524
+ if (yt(this.message, t, this.offset())) {
3547
3525
  for (var r = 0; r < t.length; r++)
3548
3526
  this.bump();
3549
3527
  return !0;
@@ -3565,7 +3543,7 @@ var ii = (
3565
3543
  break;
3566
3544
  }
3567
3545
  }, e.prototype.bumpSpace = function() {
3568
- for (; !this.isEOF() && pr(this.char()); )
3546
+ for (; !this.isEOF() && lr(this.char()); )
3569
3547
  this.bump();
3570
3548
  }, e.prototype.peek = function() {
3571
3549
  if (this.isEOF())
@@ -3575,38 +3553,38 @@ var ii = (
3575
3553
  }, e;
3576
3554
  }()
3577
3555
  );
3578
- function ze(e) {
3556
+ function Xe(e) {
3579
3557
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3580
3558
  }
3581
- function oi(e) {
3582
- return ze(e) || e === 47;
3559
+ function ri(e) {
3560
+ return Xe(e) || e === 47;
3583
3561
  }
3584
- function si(e) {
3562
+ function ni(e) {
3585
3563
  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;
3586
3564
  }
3587
- function pr(e) {
3565
+ function lr(e) {
3588
3566
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3589
3567
  }
3590
- function ai(e) {
3568
+ function ii(e) {
3591
3569
  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;
3592
3570
  }
3593
- function We(e) {
3571
+ function ze(e) {
3594
3572
  e.forEach(function(t) {
3595
- if (delete t.location, nr(t) || ir(t))
3573
+ if (delete t.location, Kt(t) || er(t))
3596
3574
  for (var r in t.options)
3597
- delete t.options[r].location, We(t.options[r].value);
3575
+ delete t.options[r].location, ze(t.options[r].value);
3598
3576
  else
3599
- er(t) && sr(t.style) || (tr(t) || rr(t)) && je(t.style) ? delete t.style.location : or(t) && We(t.children);
3577
+ Jt(t) && rr(t.style) || (Yt(t) || qt(t)) && Ge(t.style) ? delete t.style.location : tr(t) && ze(t.children);
3600
3578
  });
3601
3579
  }
3602
- function ui(e, t) {
3580
+ function oi(e, t) {
3603
3581
  t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3604
- var r = new ii(e, t).parse();
3582
+ var r = new ti(e, t).parse();
3605
3583
  if (r.err) {
3606
3584
  var n = SyntaxError(b[r.err.kind]);
3607
3585
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3608
3586
  }
3609
- return t != null && t.captureLocation || We(r.val), r.val;
3587
+ return t != null && t.captureLocation || ze(r.val), r.val;
3610
3588
  }
3611
3589
  var K;
3612
3590
  (function(e) {
@@ -3624,7 +3602,7 @@ var xe = (
3624
3602
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3625
3603
  }, t;
3626
3604
  }(Error)
3627
- ), Ht = (
3605
+ ), xt = (
3628
3606
  /** @class */
3629
3607
  function(e) {
3630
3608
  F(t, e);
@@ -3633,7 +3611,7 @@ var xe = (
3633
3611
  }
3634
3612
  return t;
3635
3613
  }(xe)
3636
- ), li = (
3614
+ ), si = (
3637
3615
  /** @class */
3638
3616
  function(e) {
3639
3617
  F(t, e);
@@ -3642,7 +3620,7 @@ var xe = (
3642
3620
  }
3643
3621
  return t;
3644
3622
  }(xe)
3645
- ), hi = (
3623
+ ), ai = (
3646
3624
  /** @class */
3647
3625
  function(e) {
3648
3626
  F(t, e);
@@ -3655,17 +3633,17 @@ var xe = (
3655
3633
  (function(e) {
3656
3634
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3657
3635
  })(A || (A = {}));
3658
- function fi(e) {
3636
+ function ui(e) {
3659
3637
  return e.length < 2 ? e : e.reduce(function(t, r) {
3660
3638
  var n = t[t.length - 1];
3661
3639
  return !n || n.type !== A.literal || r.type !== A.literal ? t.push(r) : n.value += r.value, t;
3662
3640
  }, []);
3663
3641
  }
3664
- function ci(e) {
3642
+ function li(e) {
3665
3643
  return typeof e == "function";
3666
3644
  }
3667
3645
  function be(e, t, r, n, i, o, s) {
3668
- if (e.length === 1 && vt(e[0]))
3646
+ if (e.length === 1 && dt(e[0]))
3669
3647
  return [
3670
3648
  {
3671
3649
  type: A.literal,
@@ -3674,14 +3652,14 @@ function be(e, t, r, n, i, o, s) {
3674
3652
  ];
3675
3653
  for (var a = [], l = 0, u = e; l < u.length; l++) {
3676
3654
  var h = u[l];
3677
- if (vt(h)) {
3655
+ if (dt(h)) {
3678
3656
  a.push({
3679
3657
  type: A.literal,
3680
3658
  value: h.value
3681
3659
  });
3682
3660
  continue;
3683
3661
  }
3684
- if (Mn(h)) {
3662
+ if (Cn(h)) {
3685
3663
  typeof o == "number" && a.push({
3686
3664
  type: A.literal,
3687
3665
  value: r.getNumberFormat(t).format(o)
@@ -3690,44 +3668,44 @@ function be(e, t, r, n, i, o, s) {
3690
3668
  }
3691
3669
  var f = h.value;
3692
3670
  if (!(i && f in i))
3693
- throw new hi(f, s);
3671
+ throw new ai(f, s);
3694
3672
  var c = i[f];
3695
- if (Nn(h)) {
3673
+ if (On(h)) {
3696
3674
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3697
3675
  type: typeof c == "string" ? A.literal : A.object,
3698
3676
  value: c
3699
3677
  });
3700
3678
  continue;
3701
3679
  }
3702
- if (tr(h)) {
3703
- var p = typeof h.style == "string" ? n.date[h.style] : je(h.style) ? h.style.parsedOptions : void 0;
3680
+ if (Yt(h)) {
3681
+ var p = typeof h.style == "string" ? n.date[h.style] : Ge(h.style) ? h.style.parsedOptions : void 0;
3704
3682
  a.push({
3705
3683
  type: A.literal,
3706
3684
  value: r.getDateTimeFormat(t, p).format(c)
3707
3685
  });
3708
3686
  continue;
3709
3687
  }
3710
- if (rr(h)) {
3711
- var p = typeof h.style == "string" ? n.time[h.style] : je(h.style) ? h.style.parsedOptions : n.time.medium;
3688
+ if (qt(h)) {
3689
+ var p = typeof h.style == "string" ? n.time[h.style] : Ge(h.style) ? h.style.parsedOptions : n.time.medium;
3712
3690
  a.push({
3713
3691
  type: A.literal,
3714
3692
  value: r.getDateTimeFormat(t, p).format(c)
3715
3693
  });
3716
3694
  continue;
3717
3695
  }
3718
- if (er(h)) {
3719
- var p = typeof h.style == "string" ? n.number[h.style] : sr(h.style) ? h.style.parsedOptions : void 0;
3696
+ if (Jt(h)) {
3697
+ var p = typeof h.style == "string" ? n.number[h.style] : rr(h.style) ? h.style.parsedOptions : void 0;
3720
3698
  p && p.scale && (c = c * (p.scale || 1)), a.push({
3721
3699
  type: A.literal,
3722
3700
  value: r.getNumberFormat(t, p).format(c)
3723
3701
  });
3724
3702
  continue;
3725
3703
  }
3726
- if (or(h)) {
3727
- var m = h.children, d = h.value, _ = i[d];
3728
- if (!ci(_))
3729
- throw new li(d, "function", s);
3730
- var S = be(m, t, r, n, i, o), N = _(S.map(function(L) {
3704
+ if (tr(h)) {
3705
+ var d = h.children, m = h.value, _ = i[m];
3706
+ if (!li(_))
3707
+ throw new si(m, "function", s);
3708
+ var S = be(d, t, r, n, i, o), N = _(S.map(function(L) {
3731
3709
  return L.value;
3732
3710
  }));
3733
3711
  Array.isArray(N) || (N = [N]), a.push.apply(a, N.map(function(L) {
@@ -3737,14 +3715,14 @@ function be(e, t, r, n, i, o, s) {
3737
3715
  };
3738
3716
  }));
3739
3717
  }
3740
- if (nr(h)) {
3718
+ if (Kt(h)) {
3741
3719
  var T = h.options[c] || h.options.other;
3742
3720
  if (!T)
3743
- throw new Ht(h.value, c, Object.keys(h.options), s);
3721
+ throw new xt(h.value, c, Object.keys(h.options), s);
3744
3722
  a.push.apply(a, be(T.value, t, r, n, i));
3745
3723
  continue;
3746
3724
  }
3747
- if (ir(h)) {
3725
+ if (er(h)) {
3748
3726
  var T = h.options["=".concat(c)];
3749
3727
  if (!T) {
3750
3728
  if (!Intl.PluralRules)
@@ -3755,24 +3733,24 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
3755
3733
  T = h.options[w] || h.options.other;
3756
3734
  }
3757
3735
  if (!T)
3758
- throw new Ht(h.value, c, Object.keys(h.options), s);
3736
+ throw new xt(h.value, c, Object.keys(h.options), s);
3759
3737
  a.push.apply(a, be(T.value, t, r, n, i, c - (h.offset || 0)));
3760
3738
  continue;
3761
3739
  }
3762
3740
  }
3763
- return fi(a);
3741
+ return ui(a);
3764
3742
  }
3765
- function pi(e, t) {
3743
+ function hi(e, t) {
3766
3744
  return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3767
3745
  return r[n] = y(y({}, e[n]), t[n] || {}), r;
3768
3746
  }, {})) : e;
3769
3747
  }
3770
- function di(e, t) {
3748
+ function fi(e, t) {
3771
3749
  return t ? Object.keys(e).reduce(function(r, n) {
3772
- return r[n] = pi(e[n], t[n]), r;
3750
+ return r[n] = hi(e[n], t[n]), r;
3773
3751
  }, y({}, e)) : e;
3774
3752
  }
3775
- function Ie(e) {
3753
+ function Ce(e) {
3776
3754
  return {
3777
3755
  create: function() {
3778
3756
  return {
@@ -3786,39 +3764,39 @@ function Ie(e) {
3786
3764
  }
3787
3765
  };
3788
3766
  }
3789
- function mi(e) {
3767
+ function ci(e) {
3790
3768
  return e === void 0 && (e = {
3791
3769
  number: {},
3792
3770
  dateTime: {},
3793
3771
  pluralRules: {}
3794
3772
  }), {
3795
- getNumberFormat: Pe(function() {
3773
+ getNumberFormat: Be(function() {
3796
3774
  for (var t, r = [], n = 0; n < arguments.length; n++)
3797
3775
  r[n] = arguments[n];
3798
3776
  return new ((t = Intl.NumberFormat).bind.apply(t, J([void 0], r, !1)))();
3799
3777
  }, {
3800
- cache: Ie(e.number),
3801
- strategy: Oe.variadic
3778
+ cache: Ce(e.number),
3779
+ strategy: Pe.variadic
3802
3780
  }),
3803
- getDateTimeFormat: Pe(function() {
3781
+ getDateTimeFormat: Be(function() {
3804
3782
  for (var t, r = [], n = 0; n < arguments.length; n++)
3805
3783
  r[n] = arguments[n];
3806
3784
  return new ((t = Intl.DateTimeFormat).bind.apply(t, J([void 0], r, !1)))();
3807
3785
  }, {
3808
- cache: Ie(e.dateTime),
3809
- strategy: Oe.variadic
3786
+ cache: Ce(e.dateTime),
3787
+ strategy: Pe.variadic
3810
3788
  }),
3811
- getPluralRules: Pe(function() {
3789
+ getPluralRules: Be(function() {
3812
3790
  for (var t, r = [], n = 0; n < arguments.length; n++)
3813
3791
  r[n] = arguments[n];
3814
3792
  return new ((t = Intl.PluralRules).bind.apply(t, J([void 0], r, !1)))();
3815
3793
  }, {
3816
- cache: Ie(e.pluralRules),
3817
- strategy: Oe.variadic
3794
+ cache: Ce(e.pluralRules),
3795
+ strategy: Pe.variadic
3818
3796
  })
3819
3797
  };
3820
3798
  }
3821
- var bi = (
3799
+ var pi = (
3822
3800
  /** @class */
3823
3801
  function() {
3824
3802
  function e(t, r, n, i) {
@@ -3850,13 +3828,13 @@ var bi = (
3850
3828
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3851
3829
  var s = i || {};
3852
3830
  s.formatters;
3853
- var a = Zr(s, ["formatters"]);
3831
+ var a = Vr(s, ["formatters"]);
3854
3832
  this.ast = e.__parse(t, y(y({}, a), { locale: this.resolvedLocale }));
3855
3833
  } else
3856
3834
  this.ast = t;
3857
3835
  if (!Array.isArray(this.ast))
3858
3836
  throw new TypeError("A message must be provided as a String or AST.");
3859
- this.formats = di(e.formats, n), this.formatters = i && i.formatters || mi(this.formatterCache);
3837
+ this.formats = fi(e.formats, n), this.formatters = i && i.formatters || ci(this.formatterCache);
3860
3838
  }
3861
3839
  return Object.defineProperty(e, "defaultLocale", {
3862
3840
  get: function() {
@@ -3869,7 +3847,7 @@ var bi = (
3869
3847
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3870
3848
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3871
3849
  }
3872
- }, e.__parse = ui, e.formats = {
3850
+ }, e.__parse = oi, e.formats = {
3873
3851
  number: {
3874
3852
  integer: {
3875
3853
  maximumFractionDigits: 0
@@ -3930,7 +3908,7 @@ var bi = (
3930
3908
  }, e;
3931
3909
  }()
3932
3910
  );
3933
- function gi(e, t) {
3911
+ function mi(e, t) {
3934
3912
  if (t == null)
3935
3913
  return;
3936
3914
  if (t in e)
@@ -3951,92 +3929,92 @@ function gi(e, t) {
3951
3929
  n = void 0;
3952
3930
  return n;
3953
3931
  }
3954
- const U = {}, vi = (e, t, r) => r && (t in U || (U[t] = {}), e in U[t] || (U[t][e] = r), r), dr = (e, t) => {
3932
+ const U = {}, di = (e, t, r) => r && (t in U || (U[t] = {}), e in U[t] || (U[t][e] = r), r), hr = (e, t) => {
3955
3933
  if (t == null)
3956
3934
  return;
3957
3935
  if (t in U && e in U[t])
3958
3936
  return U[t][e];
3959
3937
  const r = Se(t);
3960
3938
  for (let n = 0; n < r.length; n++) {
3961
- const i = r[n], o = _i(i, e);
3939
+ const i = r[n], o = gi(i, e);
3962
3940
  if (o)
3963
- return vi(e, t, o);
3941
+ return di(e, t, o);
3964
3942
  }
3965
3943
  };
3966
- let et;
3944
+ let Ye;
3967
3945
  const le = Ee({});
3968
- function yi(e) {
3969
- return et[e] || null;
3946
+ function bi(e) {
3947
+ return Ye[e] || null;
3970
3948
  }
3971
- function mr(e) {
3972
- return e in et;
3949
+ function fr(e) {
3950
+ return e in Ye;
3973
3951
  }
3974
- function _i(e, t) {
3975
- if (!mr(e))
3952
+ function gi(e, t) {
3953
+ if (!fr(e))
3976
3954
  return null;
3977
- const r = yi(e);
3978
- return gi(r, t);
3955
+ const r = bi(e);
3956
+ return mi(r, t);
3979
3957
  }
3980
- function Ei(e) {
3958
+ function vi(e) {
3981
3959
  if (e == null)
3982
3960
  return;
3983
3961
  const t = Se(e);
3984
3962
  for (let r = 0; r < t.length; r++) {
3985
3963
  const n = t[r];
3986
- if (mr(n))
3964
+ if (fr(n))
3987
3965
  return n;
3988
3966
  }
3989
3967
  }
3990
- function br(e, ...t) {
3991
- delete U[e], le.update((r) => (r[e] = wn.all([r[e] || {}, ...t]), r));
3968
+ function cr(e, ...t) {
3969
+ delete U[e], le.update((r) => (r[e] = xn.all([r[e] || {}, ...t]), r));
3992
3970
  }
3993
3971
  te(
3994
3972
  [le],
3995
3973
  ([e]) => Object.keys(e)
3996
3974
  );
3997
- le.subscribe((e) => et = e);
3975
+ le.subscribe((e) => Ye = e);
3998
3976
  const ge = {};
3999
- function xi(e, t) {
3977
+ function yi(e, t) {
4000
3978
  ge[e].delete(t), ge[e].size === 0 && delete ge[e];
4001
3979
  }
4002
- function gr(e) {
3980
+ function pr(e) {
4003
3981
  return ge[e];
4004
3982
  }
4005
- function Si(e) {
3983
+ function _i(e) {
4006
3984
  return Se(e).map((t) => {
4007
- const r = gr(t);
3985
+ const r = pr(t);
4008
3986
  return [t, r ? [...r] : []];
4009
3987
  }).filter(([, t]) => t.length > 0);
4010
3988
  }
4011
- function Ze(e) {
3989
+ function We(e) {
4012
3990
  return e == null ? !1 : Se(e).some(
4013
3991
  (t) => {
4014
3992
  var r;
4015
- return (r = gr(t)) == null ? void 0 : r.size;
3993
+ return (r = pr(t)) == null ? void 0 : r.size;
4016
3994
  }
4017
3995
  );
4018
3996
  }
4019
- function Ti(e, t) {
3997
+ function Ei(e, t) {
4020
3998
  return Promise.all(
4021
- t.map((n) => (xi(e, n), n().then((i) => i.default || i)))
4022
- ).then((n) => br(e, ...n));
3999
+ t.map((n) => (yi(e, n), n().then((i) => i.default || i)))
4000
+ ).then((n) => cr(e, ...n));
4023
4001
  }
4024
4002
  const ne = {};
4025
- function vr(e) {
4026
- if (!Ze(e))
4003
+ function mr(e) {
4004
+ if (!We(e))
4027
4005
  return e in ne ? ne[e] : Promise.resolve();
4028
- const t = Si(e);
4006
+ const t = _i(e);
4029
4007
  return ne[e] = Promise.all(
4030
4008
  t.map(
4031
- ([r, n]) => Ti(r, n)
4009
+ ([r, n]) => Ei(r, n)
4032
4010
  )
4033
4011
  ).then(() => {
4034
- if (Ze(e))
4035
- return vr(e);
4012
+ if (We(e))
4013
+ return mr(e);
4036
4014
  delete ne[e];
4037
4015
  }), ne[e];
4038
4016
  }
4039
- const Hi = {
4017
+ const xi = {
4040
4018
  number: {
4041
4019
  scientific: { notation: "scientific" },
4042
4020
  engineering: { notation: "engineering" },
@@ -4065,57 +4043,57 @@ const Hi = {
4065
4043
  timeZoneName: "short"
4066
4044
  }
4067
4045
  }
4068
- }, wi = {
4046
+ }, Si = {
4069
4047
  fallbackLocale: null,
4070
4048
  loadingDelay: 200,
4071
- formats: Hi,
4049
+ formats: xi,
4072
4050
  warnOnMissingMessages: !0,
4073
4051
  handleMissingMessage: void 0,
4074
4052
  ignoreTag: !0
4075
- }, Ai = wi;
4053
+ }, Ti = Si;
4076
4054
  function ee() {
4077
- return Ai;
4055
+ return Ti;
4078
4056
  }
4079
- const Ne = Ee(!1);
4080
- var Bi = Object.defineProperty, Pi = Object.defineProperties, Oi = Object.getOwnPropertyDescriptors, wt = Object.getOwnPropertySymbols, Ci = Object.prototype.hasOwnProperty, Ii = Object.prototype.propertyIsEnumerable, At = (e, t, r) => t in e ? Bi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ni = (e, t) => {
4057
+ const Ie = Ee(!1);
4058
+ var Hi = Object.defineProperty, wi = Object.defineProperties, Ai = Object.getOwnPropertyDescriptors, St = Object.getOwnPropertySymbols, Bi = Object.prototype.hasOwnProperty, Pi = Object.prototype.propertyIsEnumerable, Tt = (e, t, r) => t in e ? Hi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Oi = (e, t) => {
4081
4059
  for (var r in t || (t = {}))
4082
- Ci.call(t, r) && At(e, r, t[r]);
4083
- if (wt)
4084
- for (var r of wt(t))
4085
- Ii.call(t, r) && At(e, r, t[r]);
4060
+ Bi.call(t, r) && Tt(e, r, t[r]);
4061
+ if (St)
4062
+ for (var r of St(t))
4063
+ Pi.call(t, r) && Tt(e, r, t[r]);
4086
4064
  return e;
4087
- }, Mi = (e, t) => Pi(e, Oi(t));
4088
- let Qe;
4065
+ }, Ci = (e, t) => wi(e, Ai(t));
4066
+ let Ze;
4089
4067
  const ve = Ee(null);
4090
- function Bt(e) {
4068
+ function Ht(e) {
4091
4069
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4092
4070
  }
4093
4071
  function Se(e, t = ee().fallbackLocale) {
4094
- const r = Bt(e);
4095
- return t ? [.../* @__PURE__ */ new Set([...r, ...Bt(t)])] : r;
4072
+ const r = Ht(e);
4073
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Ht(t)])] : r;
4096
4074
  }
4097
4075
  function k() {
4098
- return Qe != null ? Qe : void 0;
4076
+ return Ze != null ? Ze : void 0;
4099
4077
  }
4100
4078
  ve.subscribe((e) => {
4101
- Qe = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4079
+ Ze = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4102
4080
  });
4103
- const Li = (e) => {
4104
- if (e && Ei(e) && Ze(e)) {
4081
+ const Ii = (e) => {
4082
+ if (e && vi(e) && We(e)) {
4105
4083
  const { loadingDelay: t } = ee();
4106
4084
  let r;
4107
4085
  return typeof window != "undefined" && k() != null && t ? r = window.setTimeout(
4108
- () => Ne.set(!0),
4086
+ () => Ie.set(!0),
4109
4087
  t
4110
- ) : Ne.set(!0), vr(e).then(() => {
4088
+ ) : Ie.set(!0), mr(e).then(() => {
4111
4089
  ve.set(e);
4112
4090
  }).finally(() => {
4113
- clearTimeout(r), Ne.set(!1);
4091
+ clearTimeout(r), Ie.set(!1);
4114
4092
  });
4115
4093
  }
4116
4094
  return ve.set(e);
4117
- }, he = Mi(Ni({}, ve), {
4118
- set: Li
4095
+ }, he = Ci(Oi({}, ve), {
4096
+ set: Ii
4119
4097
  }), Te = (e) => {
4120
4098
  const t = /* @__PURE__ */ Object.create(null);
4121
4099
  return (n) => {
@@ -4123,20 +4101,20 @@ const Li = (e) => {
4123
4101
  return i in t ? t[i] : t[i] = e(n);
4124
4102
  };
4125
4103
  };
4126
- var Ri = Object.defineProperty, ye = Object.getOwnPropertySymbols, yr = Object.prototype.hasOwnProperty, _r = Object.prototype.propertyIsEnumerable, Pt = (e, t, r) => t in e ? Ri(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, tt = (e, t) => {
4104
+ var Ni = Object.defineProperty, ye = Object.getOwnPropertySymbols, dr = Object.prototype.hasOwnProperty, br = Object.prototype.propertyIsEnumerable, wt = (e, t, r) => t in e ? Ni(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, qe = (e, t) => {
4127
4105
  for (var r in t || (t = {}))
4128
- yr.call(t, r) && Pt(e, r, t[r]);
4106
+ dr.call(t, r) && wt(e, r, t[r]);
4129
4107
  if (ye)
4130
4108
  for (var r of ye(t))
4131
- _r.call(t, r) && Pt(e, r, t[r]);
4109
+ br.call(t, r) && wt(e, r, t[r]);
4132
4110
  return e;
4133
4111
  }, re = (e, t) => {
4134
4112
  var r = {};
4135
4113
  for (var n in e)
4136
- yr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4114
+ dr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4137
4115
  if (e != null && ye)
4138
4116
  for (var n of ye(e))
4139
- t.indexOf(n) < 0 && _r.call(e, n) && (r[n] = e[n]);
4117
+ t.indexOf(n) < 0 && br.call(e, n) && (r[n] = e[n]);
4140
4118
  return r;
4141
4119
  };
4142
4120
  const se = (e, t) => {
@@ -4144,21 +4122,21 @@ const se = (e, t) => {
4144
4122
  if (e in r && t in r[e])
4145
4123
  return r[e][t];
4146
4124
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4147
- }, $i = Te(
4125
+ }, Mi = Te(
4148
4126
  (e) => {
4149
4127
  var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
4150
4128
  if (r == null)
4151
4129
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4152
4130
  return n && (i = se("number", n)), new Intl.NumberFormat(r, i);
4153
4131
  }
4154
- ), Fi = Te(
4132
+ ), Li = Te(
4155
4133
  (e) => {
4156
4134
  var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
4157
4135
  if (r == null)
4158
4136
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4159
4137
  return n ? i = se("date", n) : Object.keys(i).length === 0 && (i = se("date", "short")), new Intl.DateTimeFormat(r, i);
4160
4138
  }
4161
- ), Ui = Te(
4139
+ ), Ri = Te(
4162
4140
  (e) => {
4163
4141
  var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
4164
4142
  if (r == null)
@@ -4167,33 +4145,33 @@ const se = (e, t) => {
4167
4145
  );
4168
4146
  return n ? i = se("time", n) : Object.keys(i).length === 0 && (i = se("time", "short")), new Intl.DateTimeFormat(r, i);
4169
4147
  }
4170
- ), Di = (e = {}) => {
4148
+ ), $i = (e = {}) => {
4171
4149
  var t = e, {
4172
4150
  locale: r = k()
4173
4151
  } = t, n = re(t, [
4174
4152
  "locale"
4175
4153
  ]);
4176
- return $i(tt({ locale: r }, n));
4177
- }, Gi = (e = {}) => {
4154
+ return Mi(qe({ locale: r }, n));
4155
+ }, Fi = (e = {}) => {
4178
4156
  var t = e, {
4179
4157
  locale: r = k()
4180
4158
  } = t, n = re(t, [
4181
4159
  "locale"
4182
4160
  ]);
4183
- return Fi(tt({ locale: r }, n));
4184
- }, ji = (e = {}) => {
4161
+ return Li(qe({ locale: r }, n));
4162
+ }, Ui = (e = {}) => {
4185
4163
  var t = e, {
4186
4164
  locale: r = k()
4187
4165
  } = t, n = re(t, [
4188
4166
  "locale"
4189
4167
  ]);
4190
- return Ui(tt({ locale: r }, n));
4191
- }, ki = Te(
4168
+ return Ri(qe({ locale: r }, n));
4169
+ }, Di = Te(
4192
4170
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4193
- (e, t = k()) => new bi(e, t, ee().formats, {
4171
+ (e, t = k()) => new pi(e, t, ee().formats, {
4194
4172
  ignoreTag: ee().ignoreTag
4195
4173
  })
4196
- ), Vi = (e, t = {}) => {
4174
+ ), Gi = (e, t = {}) => {
4197
4175
  var r, n, i, o;
4198
4176
  let s = t;
4199
4177
  typeof e == "object" && (s = e, e = s.id);
@@ -4206,7 +4184,7 @@ const se = (e, t) => {
4206
4184
  throw new Error(
4207
4185
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4208
4186
  );
4209
- let h = dr(e, l);
4187
+ let h = hr(e, l);
4210
4188
  if (!h)
4211
4189
  h = (o = (i = (n = (r = ee()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4212
4190
  else if (typeof h != "string")
@@ -4217,7 +4195,7 @@ const se = (e, t) => {
4217
4195
  return h;
4218
4196
  let f = h;
4219
4197
  try {
4220
- f = ki(h, l).format(a);
4198
+ f = Di(h, l).format(a);
4221
4199
  } catch (c) {
4222
4200
  c instanceof Error && console.warn(
4223
4201
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4225,17 +4203,17 @@ const se = (e, t) => {
4225
4203
  );
4226
4204
  }
4227
4205
  return f;
4228
- }, Xi = (e, t) => ji(t).format(e), zi = (e, t) => Gi(t).format(e), Wi = (e, t) => Di(t).format(e), Zi = (e, t = k()) => dr(e, t), Qi = te([he, le], () => Vi);
4229
- te([he], () => Xi);
4230
- te([he], () => zi);
4231
- te([he], () => Wi);
4232
- te([he, le], () => Zi);
4233
- window.emWidgets = { topic: ln };
4206
+ }, ji = (e, t) => Ui(t).format(e), ki = (e, t) => Fi(t).format(e), Vi = (e, t) => $i(t).format(e), Xi = (e, t = k()) => hr(e, t), zi = te([he, le], () => Gi);
4207
+ te([he], () => ji);
4208
+ te([he], () => ki);
4209
+ te([he], () => Vi);
4210
+ te([he, le], () => Xi);
4211
+ window.emWidgets = { topic: on };
4234
4212
  const C = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4235
- function Ot(e, t) {
4236
- br(e, t);
4213
+ function At(e, t) {
4214
+ cr(e, t);
4237
4215
  }
4238
- const Ct = {
4216
+ const Bt = {
4239
4217
  en: {
4240
4218
  tournaments: "Tournaments",
4241
4219
  all: "All",
@@ -4314,23 +4292,23 @@ const Ct = {
4314
4292
  finished: "Finished"
4315
4293
  }
4316
4294
  };
4317
- function Ji(e) {
4318
- Br(e, "svelte-szp116", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}ul{display:flex;gap:10px;overflow-x:auto}ul.MobileClass{padding-top:21px}li:first-child{height:100%;position:realtive;padding:1em 0;margin:0;font-size:14px;text-align:center;letter-spacing:0px;color:var(--emw--color-white, #FFFFFF);opacity:1}li.MobileClass{position:absolute;left:10px;top:-15px;font-size:14px;height:auto}button{display:flex;align-items:center;background-color:transparent;justify-content:center;padding:10px;height:40px;border:1px solid var(--emw--color-white, #FFFFFF);min-width:40px;text-align:center;color:var(--emw--color-white, #FFFFFF)}button.MobileClass{height:30px}button:hover{background-color:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--color-black, #000000);cursor:pointer}.FiltersController{color:var(--emw--color-white, #FFFFFF);display:flex;justify-content:flex-end;margin-bottom:20px}.FiltersController.MobileClass{justify-content:flex-start;margin-bottom:10px}.FiltersController .FilterButton{font-size:14px;letter-spacing:0px;opacity:1;text-transform:uppercase}.FiltersController .FilterButton.MobileClass{font-size:10px}.FiltersController .Active{background-color:var(--emw--color-gray-300, #58586B);border:1px solid var(--emw--color-gray-300, #58586B)}.FiltersController .Active:hover{background-color:var(--emw--color-gray-300, #58586B);border:1px solid var(--emw--color-gray-300, #58586B)}");
4295
+ function Wi(e) {
4296
+ Tr(e, "svelte-szp116", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}ul{display:flex;gap:10px;overflow-x:auto}ul.MobileClass{padding-top:21px}li:first-child{height:100%;position:realtive;padding:1em 0;margin:0;font-size:14px;text-align:center;letter-spacing:0px;color:var(--emw--color-white, #FFFFFF);opacity:1}li.MobileClass{position:absolute;left:10px;top:-15px;font-size:14px;height:auto}button{display:flex;align-items:center;background-color:transparent;justify-content:center;padding:10px;height:40px;border:1px solid var(--emw--color-white, #FFFFFF);min-width:40px;text-align:center;color:var(--emw--color-white, #FFFFFF)}button.MobileClass{height:30px}button:hover{background-color:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--color-black, #000000);cursor:pointer}.FiltersController{color:var(--emw--color-white, #FFFFFF);display:flex;justify-content:flex-end;margin-bottom:20px}.FiltersController.MobileClass{justify-content:flex-start;margin-bottom:10px}.FiltersController .FilterButton{font-size:14px;letter-spacing:0px;opacity:1;text-transform:uppercase}.FiltersController .FilterButton.MobileClass{font-size:10px}.FiltersController .Active{background-color:var(--emw--color-gray-300, #58586B);border:1px solid var(--emw--color-gray-300, #58586B)}.FiltersController .Active:hover{background-color:var(--emw--color-gray-300, #58586B);border:1px solid var(--emw--color-gray-300, #58586B)}");
4319
4297
  }
4320
- function It(e, t, r) {
4298
+ function Pt(e, t, r) {
4321
4299
  const n = e.slice();
4322
4300
  return n[22] = t[r], n[24] = r, n;
4323
4301
  }
4324
- function Nt(e) {
4302
+ function Ot(e) {
4325
4303
  let t, r, n = (
4326
4304
  /*$_*/
4327
4305
  e[4]("tournaments") + ""
4328
- ), i, o, s, a = lt(
4306
+ ), i, o, s, a = st(
4329
4307
  /*filterItems*/
4330
4308
  e[1]
4331
4309
  ), l = [];
4332
4310
  for (let u = 0; u < a.length; u += 1)
4333
- l[u] = Ut(It(e, a, u));
4311
+ l[u] = Rt(Pt(e, a, u));
4334
4312
  return {
4335
4313
  c() {
4336
4314
  t = D("ul"), r = D("li"), i = j(n), o = j(":"), s = W();
@@ -4360,14 +4338,14 @@ function Nt(e) {
4360
4338
  16 && n !== (n = /*$_*/
4361
4339
  u[4]("tournaments") + "") && ue(i, n), h & /*makeButtonActive, filterItems, activeIndexes, allActive, userAgent, $_*/
4362
4340
  126) {
4363
- a = lt(
4341
+ a = st(
4364
4342
  /*filterItems*/
4365
4343
  u[1]
4366
4344
  );
4367
4345
  let f;
4368
4346
  for (f = 0; f < a.length; f += 1) {
4369
- const c = It(u, a, f);
4370
- l[f] ? l[f].p(c, h) : (l[f] = Ut(c), l[f].c(), l[f].m(t, null));
4347
+ const c = Pt(u, a, f);
4348
+ l[f] ? l[f].p(c, h) : (l[f] = Rt(c), l[f].c(), l[f].m(t, null));
4371
4349
  }
4372
4350
  for (; f < l.length; f += 1)
4373
4351
  l[f].d(1);
@@ -4375,15 +4353,15 @@ function Nt(e) {
4375
4353
  }
4376
4354
  },
4377
4355
  d(u) {
4378
- u && M(t), Cr(l, u);
4356
+ u && M(t), Ar(l, u);
4379
4357
  }
4380
4358
  };
4381
4359
  }
4382
- function Mt(e) {
4360
+ function Ct(e) {
4383
4361
  let t, r;
4384
4362
  return {
4385
4363
  c() {
4386
- t = at("svg"), r = at("path"), x(r, "d", "M10.97 4.97a.75.75 0 0 1 1.07 1.05l-3.99 4.99a.75.75 0 0 1-1.08.02L4.324 8.384a.75.75 0 1 1 1.06-1.06l2.094 2.093 3.473-4.425a.267.267 0 0 1 .02-.022z"), x(t, "xmlns", "http://www.w3.org/2000/svg"), x(t, "width", "16"), x(t, "height", "16"), x(t, "fill", "currentColor"), x(t, "class", "bi bi-check"), x(t, "part", "bi bi-check"), x(t, "viewBox", "0 0 16 16");
4364
+ t = it("svg"), r = it("path"), x(r, "d", "M10.97 4.97a.75.75 0 0 1 1.07 1.05l-3.99 4.99a.75.75 0 0 1-1.08.02L4.324 8.384a.75.75 0 1 1 1.06-1.06l2.094 2.093 3.473-4.425a.267.267 0 0 1 .02-.022z"), x(t, "xmlns", "http://www.w3.org/2000/svg"), x(t, "width", "16"), x(t, "height", "16"), x(t, "fill", "currentColor"), x(t, "class", "bi bi-check"), x(t, "part", "bi bi-check"), x(t, "viewBox", "0 0 16 16");
4387
4365
  },
4388
4366
  m(n, i) {
4389
4367
  $(n, t, i), B(t, r);
@@ -4393,7 +4371,7 @@ function Mt(e) {
4393
4371
  }
4394
4372
  };
4395
4373
  }
4396
- function Lt(e) {
4374
+ function It(e) {
4397
4375
  let t = (
4398
4376
  /*$_*/
4399
4377
  e[4]("scheduled") + ""
@@ -4415,7 +4393,7 @@ function Lt(e) {
4415
4393
  }
4416
4394
  };
4417
4395
  }
4418
- function Rt(e) {
4396
+ function Nt(e) {
4419
4397
  let t = (
4420
4398
  /*$_*/
4421
4399
  e[4]("ongoing") + ""
@@ -4437,7 +4415,7 @@ function Rt(e) {
4437
4415
  }
4438
4416
  };
4439
4417
  }
4440
- function $t(e) {
4418
+ function Mt(e) {
4441
4419
  let t = (
4442
4420
  /*$_*/
4443
4421
  e[4]("finished") + ""
@@ -4459,7 +4437,7 @@ function $t(e) {
4459
4437
  }
4460
4438
  };
4461
4439
  }
4462
- function Ft(e) {
4440
+ function Lt(e) {
4463
4441
  let t = (
4464
4442
  /*$_*/
4465
4443
  e[4]("all") + ""
@@ -4481,7 +4459,7 @@ function Ft(e) {
4481
4459
  }
4482
4460
  };
4483
4461
  }
4484
- function Ut(e) {
4462
+ function Rt(e) {
4485
4463
  let t, r, n, i, o, s, a, l, u, h, f, c, p = (
4486
4464
  /*activeIndexes*/
4487
4465
  (e[2][
@@ -4489,19 +4467,19 @@ function Ut(e) {
4489
4467
  e[24]
4490
4468
  ] == 1 || /*allActive*/
4491
4469
  e[3] && /*index*/
4492
- e[24] == 0) && Mt()
4493
- ), m = (
4494
- /*filter*/
4495
- e[22] == "Scheduled" && Lt(e)
4470
+ e[24] == 0) && Ct()
4496
4471
  ), d = (
4497
4472
  /*filter*/
4498
- e[22] == "Ongoing" && Rt(e)
4473
+ e[22] == "Scheduled" && It(e)
4474
+ ), m = (
4475
+ /*filter*/
4476
+ e[22] == "Ongoing" && Nt(e)
4499
4477
  ), _ = (
4500
4478
  /*filter*/
4501
- e[22] == "Finished" && $t(e)
4479
+ e[22] == "Finished" && Mt(e)
4502
4480
  ), S = (
4503
4481
  /*filter*/
4504
- e[22] == "All" && Ft(e)
4482
+ e[22] == "All" && Lt(e)
4505
4483
  );
4506
4484
  function N() {
4507
4485
  return (
@@ -4516,7 +4494,7 @@ function Ut(e) {
4516
4494
  }
4517
4495
  return {
4518
4496
  c() {
4519
- t = D("li"), r = D("button"), p && p.c(), n = W(), i = D("div"), m && m.c(), o = W(), d && d.c(), s = W(), _ && _.c(), a = W(), S && S.c(), h = W(), x(i, "class", "FilterButton " + (C(
4497
+ t = D("li"), r = D("button"), p && p.c(), n = W(), i = D("div"), d && d.c(), o = W(), m && m.c(), s = W(), _ && _.c(), a = W(), S && S.c(), h = W(), x(i, "class", "FilterButton " + (C(
4520
4498
  /*userAgent*/
4521
4499
  e[5]
4522
4500
  ) ? "MobileClass" : "Non-MobileClass/empty")), x(i, "part", "FilterButton " + (C(
@@ -4543,7 +4521,7 @@ function Ut(e) {
4543
4521
  ) ? "MobileClass" : "Non-MobileClass/empty")), x(t, "class", "FiltersItem"), x(t, "part", "FiltersItem");
4544
4522
  },
4545
4523
  m(T, w) {
4546
- $(T, t, w), B(t, r), p && p.m(r, null), B(r, n), B(r, i), m && m.m(i, null), B(i, o), d && d.m(i, null), B(i, s), _ && _.m(i, null), B(i, a), S && S.m(i, null), B(t, h), f || (c = Ir(t, "click", N), f = !0);
4524
+ $(T, t, w), B(t, r), p && p.m(r, null), B(r, n), B(r, i), d && d.m(i, null), B(i, o), m && m.m(i, null), B(i, s), _ && _.m(i, null), B(i, a), S && S.m(i, null), B(t, h), f || (c = Br(t, "click", N), f = !0);
4547
4525
  },
4548
4526
  p(T, w) {
4549
4527
  e = T, /*activeIndexes*/
@@ -4552,11 +4530,11 @@ function Ut(e) {
4552
4530
  e[24]
4553
4531
  ] == 1 || /*allActive*/
4554
4532
  e[3] && /*index*/
4555
- e[24] == 0 ? p || (p = Mt(), p.c(), p.m(r, n)) : p && (p.d(1), p = null), /*filter*/
4556
- e[22] == "Scheduled" ? m ? m.p(e, w) : (m = Lt(e), m.c(), m.m(i, o)) : m && (m.d(1), m = null), /*filter*/
4557
- e[22] == "Ongoing" ? d ? d.p(e, w) : (d = Rt(e), d.c(), d.m(i, s)) : d && (d.d(1), d = null), /*filter*/
4558
- e[22] == "Finished" ? _ ? _.p(e, w) : (_ = $t(e), _.c(), _.m(i, a)) : _ && (_.d(1), _ = null), /*filter*/
4559
- e[22] == "All" ? S ? S.p(e, w) : (S = Ft(e), S.c(), S.m(i, null)) : S && (S.d(1), S = null), w & /*activeIndexes, allActive*/
4533
+ e[24] == 0 ? p || (p = Ct(), p.c(), p.m(r, n)) : p && (p.d(1), p = null), /*filter*/
4534
+ e[22] == "Scheduled" ? d ? d.p(e, w) : (d = It(e), d.c(), d.m(i, o)) : d && (d.d(1), d = null), /*filter*/
4535
+ e[22] == "Ongoing" ? m ? m.p(e, w) : (m = Nt(e), m.c(), m.m(i, s)) : m && (m.d(1), m = null), /*filter*/
4536
+ e[22] == "Finished" ? _ ? _.p(e, w) : (_ = Mt(e), _.c(), _.m(i, a)) : _ && (_.d(1), _ = null), /*filter*/
4537
+ e[22] == "All" ? S ? S.p(e, w) : (S = Lt(e), S.c(), S.m(i, null)) : S && (S.d(1), S = null), w & /*activeIndexes, allActive*/
4560
4538
  12 && l !== (l = /*activeIndexes*/
4561
4539
  (e[2][
4562
4540
  /*index*/
@@ -4579,14 +4557,14 @@ function Ut(e) {
4579
4557
  ) ? "MobileClass" : "Non-MobileClass/empty")) && x(r, "part", u);
4580
4558
  },
4581
4559
  d(T) {
4582
- T && M(t), p && p.d(), m && m.d(), d && d.d(), _ && _.d(), S && S.d(), f = !1, c();
4560
+ T && M(t), p && p.d(), d && d.d(), m && m.d(), _ && _.d(), S && S.d(), f = !1, c();
4583
4561
  }
4584
4562
  };
4585
4563
  }
4586
- function Yi(e) {
4564
+ function Zi(e) {
4587
4565
  let t, r = (
4588
4566
  /*filterItems*/
4589
- e[1].length > 0 && Nt(e)
4567
+ e[1].length > 0 && Ot(e)
4590
4568
  );
4591
4569
  return {
4592
4570
  c() {
@@ -4603,7 +4581,7 @@ function Yi(e) {
4603
4581
  },
4604
4582
  p(n, [i]) {
4605
4583
  /*filterItems*/
4606
- n[1].length > 0 ? r ? r.p(n, i) : (r = Nt(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
4584
+ n[1].length > 0 ? r ? r.p(n, i) : (r = Ot(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
4607
4585
  },
4608
4586
  i: I,
4609
4587
  o: I,
@@ -4612,21 +4590,21 @@ function Yi(e) {
4612
4590
  }
4613
4591
  };
4614
4592
  }
4615
- function qi(e, t, r) {
4593
+ function Qi(e, t, r) {
4616
4594
  let n;
4617
- Ar(e, Qi, (v) => r(4, n = v));
4618
- let { filters: i = "" } = t, { activefilters: o = "" } = t, { translationurl: s = "" } = t, { clientstyling: a = "" } = t, { clientstylingurl: l = "" } = t, u, h = [], f = 0, c = new Array(100), p = !0, m = window.navigator.userAgent;
4619
- const d = () => {
4595
+ Sr(e, zi, (v) => r(4, n = v));
4596
+ let { filters: i = "" } = t, { activefilters: o = "" } = t, { translationurl: s = "" } = t, { clientstyling: a = "" } = t, { clientstylingurl: l = "" } = t, u, h = [], f = 0, c = new Array(100), p = !0, d = window.navigator.userAgent;
4597
+ const m = () => {
4620
4598
  fetch(s).then((H) => H.json()).then((H) => {
4621
4599
  Object.keys(H).forEach((P) => {
4622
- Ot(P, H[P]);
4600
+ At(P, H[P]);
4623
4601
  });
4624
4602
  }).catch((H) => {
4625
4603
  console.log(H);
4626
4604
  });
4627
4605
  };
4628
- Object.keys(Ct).forEach((v) => {
4629
- Ot(v, Ct[v]);
4606
+ Object.keys(Bt).forEach((v) => {
4607
+ At(v, Bt[v]);
4630
4608
  });
4631
4609
  const _ = (v, H) => {
4632
4610
  if (H == 0)
@@ -4684,7 +4662,7 @@ function qi(e, t, r) {
4684
4662
  });
4685
4663
  }, L = (v, H) => _(v, H);
4686
4664
  function V(v) {
4687
- Me[v ? "unshift" : "push"](() => {
4665
+ Ne[v ? "unshift" : "push"](() => {
4688
4666
  u = v, r(0, u);
4689
4667
  });
4690
4668
  }
@@ -4694,7 +4672,7 @@ function qi(e, t, r) {
4694
4672
  e.$$.dirty & /*customStylingContainer, clientstyling*/
4695
4673
  1025 && u && a && T(), e.$$.dirty & /*customStylingContainer, clientstylingurl*/
4696
4674
  2049 && u && l && w(), e.$$.dirty & /*translationurl*/
4697
- 512 && s && d(), e.$$.dirty & /*filters*/
4675
+ 512 && s && m(), e.$$.dirty & /*filters*/
4698
4676
  128 && i && S(), e.$$.dirty & /*activefilters*/
4699
4677
  256 && o && N();
4700
4678
  }, [
@@ -4703,7 +4681,7 @@ function qi(e, t, r) {
4703
4681
  c,
4704
4682
  p,
4705
4683
  n,
4706
- m,
4684
+ d,
4707
4685
  _,
4708
4686
  i,
4709
4687
  o,
@@ -4714,14 +4692,14 @@ function qi(e, t, r) {
4714
4692
  V
4715
4693
  ];
4716
4694
  }
4717
- class Ki extends zr {
4695
+ class Ji extends jr {
4718
4696
  constructor(t) {
4719
- super(), Vr(
4697
+ super(), Dr(
4720
4698
  this,
4721
4699
  t,
4722
- qi,
4723
- Yi,
4724
- Gt,
4700
+ Qi,
4701
+ Zi,
4702
+ Ft,
4725
4703
  {
4726
4704
  filters: 7,
4727
4705
  activefilters: 8,
@@ -4729,7 +4707,7 @@ class Ki extends zr {
4729
4707
  clientstyling: 10,
4730
4708
  clientstylingurl: 11
4731
4709
  },
4732
- Ji
4710
+ Wi
4733
4711
  );
4734
4712
  }
4735
4713
  get filters() {
@@ -4763,7 +4741,7 @@ class Ki extends zr {
4763
4741
  this.$$set({ clientstylingurl: t }), G();
4764
4742
  }
4765
4743
  }
4766
- Xr(Ki, { filters: {}, activefilters: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
4744
+ Gr(Ji, { filters: {}, activefilters: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
4767
4745
  export {
4768
- Ki as default
4746
+ Ji as default
4769
4747
  };