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

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