@everymatrix/casino-tournaments-filter-controller 1.77.18 → 1.77.20

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