@everymatrix/casino-tournaments-filter-controller 1.74.7 → 1.74.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +1,17 @@
1
- var _r = Object.defineProperty, Er = Object.defineProperties;
2
- var xr = Object.getOwnPropertyDescriptors;
3
- var tt = Object.getOwnPropertySymbols;
4
- var Sr = Object.prototype.hasOwnProperty, Tr = Object.prototype.propertyIsEnumerable;
5
- var we = (e, t, r) => t in e ? _r(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, rt = (e, t) => {
1
+ var gr = Object.defineProperty, yr = Object.defineProperties;
2
+ var vr = Object.getOwnPropertyDescriptors;
3
+ var Ke = Object.getOwnPropertySymbols;
4
+ var _r = Object.prototype.hasOwnProperty, Er = Object.prototype.propertyIsEnumerable;
5
+ var we = (e, t, r) => t in e ? gr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, et = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- Sr.call(t, r) && we(e, r, t[r]);
8
- if (tt)
9
- for (var r of tt(t))
10
- Tr.call(t, r) && we(e, r, t[r]);
7
+ _r.call(t, r) && we(e, r, t[r]);
8
+ if (Ke)
9
+ for (var r of Ke(t))
10
+ Er.call(t, r) && we(e, r, t[r]);
11
11
  return e;
12
- }, nt = (e, t) => Er(e, xr(t));
12
+ }, tt = (e, t) => yr(e, vr(t));
13
13
  var P = (e, t, r) => (we(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var it = (e, t, r) => new Promise((n, i) => {
14
+ var rt = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (h) => {
16
16
  try {
17
17
  a(r.next(h));
@@ -29,25 +29,25 @@ var it = (e, t, r) => new Promise((n, i) => {
29
29
  });
30
30
  function C() {
31
31
  }
32
- function Ut(e) {
32
+ function $t(e) {
33
33
  return e();
34
34
  }
35
- function ot() {
35
+ function nt() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
38
  function ae(e) {
39
- e.forEach(Ut);
39
+ e.forEach($t);
40
40
  }
41
- function Je(e) {
41
+ function Qe(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function Dt(e, t) {
44
+ function Ft(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
- function wr(e) {
47
+ function xr(e) {
48
48
  return Object.keys(e).length === 0;
49
49
  }
50
- function Gt(e, ...t) {
50
+ function Ut(e, ...t) {
51
51
  if (e == null) {
52
52
  for (const n of t)
53
53
  n(void 0);
@@ -56,20 +56,20 @@ function Gt(e, ...t) {
56
56
  const r = e.subscribe(...t);
57
57
  return r.unsubscribe ? () => r.unsubscribe() : r;
58
58
  }
59
- function Hr(e, t, r) {
60
- e.$$.on_destroy.push(Gt(t, r));
59
+ function Sr(e, t, r) {
60
+ e.$$.on_destroy.push(Ut(t, r));
61
61
  }
62
62
  function B(e, t) {
63
63
  e.appendChild(t);
64
64
  }
65
- function Ar(e, t, r) {
66
- const n = Br(e);
65
+ function Tr(e, t, r) {
66
+ const n = wr(e);
67
67
  if (!n.getElementById(t)) {
68
68
  const i = L("style");
69
- i.id = t, i.textContent = r, Pr(n, i);
69
+ i.id = t, i.textContent = r, Hr(n, i);
70
70
  }
71
71
  }
72
- function Br(e) {
72
+ function wr(e) {
73
73
  if (!e)
74
74
  return document;
75
75
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -79,27 +79,27 @@ function Br(e) {
79
79
  t
80
80
  ) : e.ownerDocument;
81
81
  }
82
- function Pr(e, t) {
82
+ function Hr(e, t) {
83
83
  return B(
84
84
  /** @type {Document} */
85
85
  e.head || e,
86
86
  t
87
87
  ), t.sheet;
88
88
  }
89
- function F(e, t, r) {
89
+ function $(e, t, r) {
90
90
  e.insertBefore(t, r || null);
91
91
  }
92
- function M(e) {
92
+ function I(e) {
93
93
  e.parentNode && e.parentNode.removeChild(e);
94
94
  }
95
- function Or(e, t) {
95
+ function Ar(e, t) {
96
96
  for (let r = 0; r < e.length; r += 1)
97
97
  e[r] && e[r].d(t);
98
98
  }
99
99
  function L(e) {
100
100
  return document.createElement(e);
101
101
  }
102
- function st(e) {
102
+ function it(e) {
103
103
  return document.createElementNS("http://www.w3.org/2000/svg", e);
104
104
  }
105
105
  function j(e) {
@@ -108,20 +108,20 @@ function j(e) {
108
108
  function z() {
109
109
  return j(" ");
110
110
  }
111
- function Cr(e, t, r, n) {
111
+ function Br(e, t, r, n) {
112
112
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
113
113
  }
114
114
  function S(e, t, r) {
115
115
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
116
116
  }
117
- function Ir(e) {
117
+ function Pr(e) {
118
118
  return Array.from(e.childNodes);
119
119
  }
120
120
  function ue(e, t) {
121
121
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
122
122
  t);
123
123
  }
124
- function Mr(e) {
124
+ function Or(e) {
125
125
  const t = {};
126
126
  return e.childNodes.forEach(
127
127
  /** @param {Element} node */
@@ -134,22 +134,22 @@ let ie;
134
134
  function ne(e) {
135
135
  ie = e;
136
136
  }
137
- function Nr() {
137
+ function Cr() {
138
138
  if (!ie)
139
139
  throw new Error("Function called outside component initialization");
140
140
  return ie;
141
141
  }
142
- function Lr(e) {
143
- Nr().$$.on_mount.push(e);
142
+ function Nr(e) {
143
+ Cr().$$.on_mount.push(e);
144
144
  }
145
- const W = [], Ne = [];
145
+ const W = [], Ie = [];
146
146
  let Z = [];
147
- const at = [], Rr = /* @__PURE__ */ Promise.resolve();
148
- let Le = !1;
149
- function Fr() {
150
- Le || (Le = !0, Rr.then(D));
147
+ const ot = [], Ir = /* @__PURE__ */ Promise.resolve();
148
+ let Me = !1;
149
+ function Mr() {
150
+ Me || (Me = !0, Ir.then(D));
151
151
  }
152
- function Re(e) {
152
+ function Le(e) {
153
153
  Z.push(e);
154
154
  }
155
155
  const He = /* @__PURE__ */ new Set();
@@ -162,56 +162,56 @@ function D() {
162
162
  try {
163
163
  for (; V < W.length; ) {
164
164
  const t = W[V];
165
- V++, ne(t), $r(t.$$);
165
+ V++, ne(t), Lr(t.$$);
166
166
  }
167
167
  } catch (t) {
168
168
  throw W.length = 0, V = 0, t;
169
169
  }
170
- for (ne(null), W.length = 0, V = 0; Ne.length; )
171
- Ne.pop()();
170
+ for (ne(null), W.length = 0, V = 0; Ie.length; )
171
+ Ie.pop()();
172
172
  for (let t = 0; t < Z.length; t += 1) {
173
173
  const r = Z[t];
174
174
  He.has(r) || (He.add(r), r());
175
175
  }
176
176
  Z.length = 0;
177
177
  } while (W.length);
178
- for (; at.length; )
179
- at.pop()();
180
- Le = !1, He.clear(), ne(e);
178
+ for (; ot.length; )
179
+ ot.pop()();
180
+ Me = !1, He.clear(), ne(e);
181
181
  }
182
- function $r(e) {
182
+ function Lr(e) {
183
183
  if (e.fragment !== null) {
184
184
  e.update(), ae(e.before_update);
185
185
  const t = e.dirty;
186
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Re);
186
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Le);
187
187
  }
188
188
  }
189
- function Ur(e) {
189
+ function Rr(e) {
190
190
  const t = [], r = [];
191
191
  Z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Z = t;
192
192
  }
193
- const Dr = /* @__PURE__ */ new Set();
194
- function Gr(e, t) {
195
- e && e.i && (Dr.delete(e), e.i(t));
193
+ const $r = /* @__PURE__ */ new Set();
194
+ function Fr(e, t) {
195
+ e && e.i && ($r.delete(e), e.i(t));
196
196
  }
197
- function ut(e) {
197
+ function st(e) {
198
198
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
199
199
  }
200
- function jr(e, t, r) {
200
+ function Ur(e, t, r) {
201
201
  const { fragment: n, after_update: i } = e.$$;
202
- n && n.m(t, r), Re(() => {
203
- const o = e.$$.on_mount.map(Ut).filter(Je);
202
+ n && n.m(t, r), Le(() => {
203
+ const o = e.$$.on_mount.map($t).filter(Qe);
204
204
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ae(o), e.$$.on_mount = [];
205
- }), i.forEach(Re);
205
+ }), i.forEach(Le);
206
206
  }
207
- function kr(e, t) {
207
+ function Dr(e, t) {
208
208
  const r = e.$$;
209
- r.fragment !== null && (Ur(r.after_update), ae(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
209
+ r.fragment !== null && (Rr(r.after_update), ae(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
210
210
  }
211
- function Vr(e, t) {
212
- e.$$.dirty[0] === -1 && (W.push(e), Fr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
211
+ function Gr(e, t) {
212
+ e.$$.dirty[0] === -1 && (W.push(e), Mr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
213
213
  }
214
- function Xr(e, t, r, n, i, o, s = null, a = [-1]) {
214
+ function jr(e, t, r, n, i, o, s = null, a = [-1]) {
215
215
  const h = ie;
216
216
  ne(e);
217
217
  const u = e.$$ = {
@@ -221,7 +221,7 @@ function Xr(e, t, r, n, i, o, s = null, a = [-1]) {
221
221
  props: o,
222
222
  update: C,
223
223
  not_equal: i,
224
- bound: ot(),
224
+ bound: nt(),
225
225
  // lifecycle
226
226
  on_mount: [],
227
227
  on_destroy: [],
@@ -230,28 +230,28 @@ function Xr(e, t, r, n, i, o, s = null, a = [-1]) {
230
230
  after_update: [],
231
231
  context: new Map(t.context || (h ? h.$$.context : [])),
232
232
  // everything else
233
- callbacks: ot(),
233
+ callbacks: nt(),
234
234
  dirty: a,
235
235
  skip_bound: !1,
236
236
  root: t.target || h.$$.root
237
237
  };
238
238
  s && s(u.root);
239
239
  let l = !1;
240
- if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
241
- const m = p.length ? p[0] : f;
242
- return u.ctx && i(u.ctx[c], u.ctx[c] = m) && (!u.skip_bound && u.bound[c] && u.bound[c](m), l && Vr(e, c)), f;
243
- }) : [], u.update(), l = !0, ae(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
240
+ if (u.ctx = r(e, t.props || {}, (c, f, ...d) => {
241
+ const p = d.length ? d[0] : f;
242
+ return u.ctx && i(u.ctx[c], u.ctx[c] = p) && (!u.skip_bound && u.bound[c] && u.bound[c](p), l && Gr(e, c)), f;
243
+ }), u.update(), l = !0, ae(u.before_update), u.fragment = n(u.ctx), t.target) {
244
244
  if (t.hydrate) {
245
- const c = Ir(t.target);
246
- u.fragment && u.fragment.l(c), c.forEach(M);
245
+ const c = Pr(t.target);
246
+ u.fragment && u.fragment.l(c), c.forEach(I);
247
247
  } else
248
248
  u.fragment && u.fragment.c();
249
- t.intro && Gr(e.$$.fragment), jr(e, t.target, t.anchor), D();
249
+ t.intro && Fr(e.$$.fragment), Ur(e, t.target, t.anchor), D();
250
250
  }
251
251
  ne(h);
252
252
  }
253
- let jt;
254
- typeof HTMLElement == "function" && (jt = class extends HTMLElement {
253
+ let Dt;
254
+ typeof HTMLElement == "function" && (Dt = class extends HTMLElement {
255
255
  constructor(t, r, n) {
256
256
  super();
257
257
  /** The Svelte component constructor */
@@ -288,7 +288,7 @@ typeof HTMLElement == "function" && (jt = class extends HTMLElement {
288
288
  }
289
289
  }
290
290
  connectedCallback() {
291
- return it(this, null, function* () {
291
+ return rt(this, null, function* () {
292
292
  if (this.$$cn = !0, !this.$$c) {
293
293
  let t = function(o) {
294
294
  return () => {
@@ -302,28 +302,28 @@ typeof HTMLElement == "function" && (jt = class extends HTMLElement {
302
302
  * @param {HTMLElement} [anchor]
303
303
  */
304
304
  m: function(u, l) {
305
- F(u, s, l);
305
+ $(u, s, l);
306
306
  },
307
307
  d: function(u) {
308
- u && M(s);
308
+ u && I(s);
309
309
  }
310
310
  };
311
311
  };
312
312
  };
313
313
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
314
314
  return;
315
- const r = {}, n = Mr(this);
315
+ const r = {}, n = Or(this);
316
316
  for (const o of this.$$s)
317
317
  o in n && (r[o] = [t(o)]);
318
318
  for (const o of this.attributes) {
319
319
  const s = this.$$g_p(o.name);
320
- s in this.$$d || (this.$$d[s] = me(s, o.value, this.$$p_d, "toProp"));
320
+ s in this.$$d || (this.$$d[s] = pe(s, o.value, this.$$p_d, "toProp"));
321
321
  }
322
322
  for (const o in this.$$p_d)
323
323
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
324
324
  this.$$c = new this.$$ctor({
325
325
  target: this.shadowRoot || this,
326
- props: nt(rt({}, this.$$d), {
326
+ props: tt(et({}, this.$$d), {
327
327
  $$slots: r,
328
328
  $$scope: {
329
329
  ctx: []
@@ -334,7 +334,7 @@ typeof HTMLElement == "function" && (jt = class extends HTMLElement {
334
334
  this.$$r = !0;
335
335
  for (const o in this.$$p_d)
336
336
  if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
337
- const s = me(
337
+ const s = pe(
338
338
  o,
339
339
  this.$$d[o],
340
340
  this.$$p_d,
@@ -358,7 +358,7 @@ typeof HTMLElement == "function" && (jt = class extends HTMLElement {
358
358
  // and setting attributes through setAttribute etc, this is helpful
359
359
  attributeChangedCallback(t, r, n) {
360
360
  var i;
361
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = me(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
361
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = pe(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
362
362
  }
363
363
  disconnectedCallback() {
364
364
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -371,7 +371,7 @@ typeof HTMLElement == "function" && (jt = class extends HTMLElement {
371
371
  ) || t;
372
372
  }
373
373
  });
374
- function me(e, t, r, n) {
374
+ function pe(e, t, r, n) {
375
375
  var o;
376
376
  const i = (o = r[e]) == null ? void 0 : o.type;
377
377
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
@@ -401,8 +401,8 @@ function me(e, t, r, n) {
401
401
  return t;
402
402
  }
403
403
  }
404
- function zr(e, t, r, n, i, o) {
405
- let s = class extends jt {
404
+ function kr(e, t, r, n, i, o) {
405
+ let s = class extends Dt {
406
406
  constructor() {
407
407
  super(e, r, i), this.$$p_d = t;
408
408
  }
@@ -419,7 +419,7 @@ function zr(e, t, r, n, i, o) {
419
419
  },
420
420
  set(h) {
421
421
  var u;
422
- h = me(a, h, t), this.$$d[a] = h, (u = this.$$c) == null || u.$set({ [a]: h });
422
+ h = pe(a, h, t), this.$$d[a] = h, (u = this.$$c) == null || u.$set({ [a]: h });
423
423
  }
424
424
  });
425
425
  }), n.forEach((a) => {
@@ -432,7 +432,7 @@ function zr(e, t, r, n, i, o) {
432
432
  }), e.element = /** @type {any} */
433
433
  s, s;
434
434
  }
435
- class Wr {
435
+ class Vr {
436
436
  constructor() {
437
437
  /**
438
438
  * ### PRIVATE API
@@ -453,7 +453,7 @@ class Wr {
453
453
  }
454
454
  /** @returns {void} */
455
455
  $destroy() {
456
- kr(this, 1), this.$destroy = C;
456
+ Dr(this, 1), this.$destroy = C;
457
457
  }
458
458
  /**
459
459
  * @template {Extract<keyof Events, string>} K
@@ -462,7 +462,7 @@ class Wr {
462
462
  * @returns {() => void}
463
463
  */
464
464
  $on(t, r) {
465
- if (!Je(r))
465
+ if (!Qe(r))
466
466
  return C;
467
467
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
468
468
  return n.push(r), () => {
@@ -475,11 +475,11 @@ class Wr {
475
475
  * @returns {void}
476
476
  */
477
477
  $set(t) {
478
- this.$$set && !wr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
478
+ this.$$set && !xr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
479
479
  }
480
480
  }
481
- const Zr = "4";
482
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Zr);
481
+ const Xr = "4";
482
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Xr);
483
483
  /*! *****************************************************************************
484
484
  Copyright (c) Microsoft Corporation.
485
485
 
@@ -494,34 +494,34 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
494
494
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
495
495
  PERFORMANCE OF THIS SOFTWARE.
496
496
  ***************************************************************************** */
497
- var Fe = function(e, t) {
498
- return Fe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
497
+ var Re = function(e, t) {
498
+ return Re = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
499
499
  r.__proto__ = n;
500
500
  } || function(r, n) {
501
501
  for (var i in n)
502
502
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
503
- }, Fe(e, t);
503
+ }, Re(e, t);
504
504
  };
505
- function $(e, t) {
505
+ function F(e, t) {
506
506
  if (typeof t != "function" && t !== null)
507
507
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
508
- Fe(e, t);
508
+ Re(e, t);
509
509
  function r() {
510
510
  this.constructor = e;
511
511
  }
512
512
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
513
513
  }
514
- var y = function() {
515
- return y = Object.assign || function(t) {
514
+ var v = function() {
515
+ return v = Object.assign || function(t) {
516
516
  for (var r, n = 1, i = arguments.length; n < i; n++) {
517
517
  r = arguments[n];
518
518
  for (var o in r)
519
519
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
520
520
  }
521
521
  return t;
522
- }, y.apply(this, arguments);
522
+ }, v.apply(this, arguments);
523
523
  };
524
- function Qr(e, t) {
524
+ function zr(e, t) {
525
525
  var r = {};
526
526
  for (var n in e)
527
527
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -542,7 +542,7 @@ function $e(e) {
542
542
  };
543
543
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
544
544
  }
545
- function Ue(e, t) {
545
+ function Fe(e, t) {
546
546
  var r = typeof Symbol == "function" && e[Symbol.iterator];
547
547
  if (!r)
548
548
  return e;
@@ -571,13 +571,13 @@ function Q(e, t, r) {
571
571
  function R(e) {
572
572
  return typeof e == "function";
573
573
  }
574
- function kt(e) {
574
+ function Gt(e) {
575
575
  var t = function(n) {
576
576
  Error.call(n), n.stack = new Error().stack;
577
577
  }, r = e(t);
578
578
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
579
579
  }
580
- var Ae = kt(function(e) {
580
+ var Ae = Gt(function(e) {
581
581
  return function(r) {
582
582
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
583
583
  ` + r.map(function(n, i) {
@@ -586,7 +586,7 @@ var Ae = kt(function(e) {
586
586
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
587
587
  };
588
588
  });
589
- function De(e, t) {
589
+ function Ue(e, t) {
590
590
  if (e) {
591
591
  var r = e.indexOf(t);
592
592
  0 <= r && e.splice(r, 1);
@@ -608,8 +608,8 @@ var _e = function() {
608
608
  var u = h.value;
609
609
  u.remove(this);
610
610
  }
611
- } catch (d) {
612
- t = { error: d };
611
+ } catch (m) {
612
+ t = { error: m };
613
613
  } finally {
614
614
  try {
615
615
  h && !h.done && (r = a.return) && r.call(a);
@@ -624,26 +624,26 @@ var _e = function() {
624
624
  if (R(l))
625
625
  try {
626
626
  l();
627
- } catch (d) {
628
- o = d instanceof Ae ? d.errors : [d];
627
+ } catch (m) {
628
+ o = m instanceof Ae ? m.errors : [m];
629
629
  }
630
630
  var c = this._finalizers;
631
631
  if (c) {
632
632
  this._finalizers = null;
633
633
  try {
634
- for (var f = $e(c), p = f.next(); !p.done; p = f.next()) {
635
- var m = p.value;
634
+ for (var f = $e(c), d = f.next(); !d.done; d = f.next()) {
635
+ var p = d.value;
636
636
  try {
637
- lt(m);
638
- } catch (d) {
639
- o = o != null ? o : [], d instanceof Ae ? o = Q(Q([], Ue(o)), Ue(d.errors)) : o.push(d);
637
+ at(p);
638
+ } catch (m) {
639
+ o = o != null ? o : [], m instanceof Ae ? o = Q(Q([], Fe(o)), Fe(m.errors)) : o.push(m);
640
640
  }
641
641
  }
642
- } catch (d) {
643
- n = { error: d };
642
+ } catch (m) {
643
+ n = { error: m };
644
644
  } finally {
645
645
  try {
646
- p && !p.done && (i = f.return) && i.call(f);
646
+ d && !d.done && (i = f.return) && i.call(f);
647
647
  } finally {
648
648
  if (n)
649
649
  throw n.error;
@@ -657,7 +657,7 @@ var _e = function() {
657
657
  var r;
658
658
  if (t && t !== this)
659
659
  if (this.closed)
660
- lt(t);
660
+ at(t);
661
661
  else {
662
662
  if (t instanceof e) {
663
663
  if (t.closed || t._hasParent(this))
@@ -674,56 +674,56 @@ var _e = function() {
674
674
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
675
675
  }, e.prototype._removeParent = function(t) {
676
676
  var r = this._parentage;
677
- r === t ? this._parentage = null : Array.isArray(r) && De(r, t);
677
+ r === t ? this._parentage = null : Array.isArray(r) && Ue(r, t);
678
678
  }, e.prototype.remove = function(t) {
679
679
  var r = this._finalizers;
680
- r && De(r, t), t instanceof e && t._removeParent(this);
680
+ r && Ue(r, t), t instanceof e && t._removeParent(this);
681
681
  }, e.EMPTY = function() {
682
682
  var t = new e();
683
683
  return t.closed = !0, t;
684
684
  }(), e;
685
- }(), Vt = _e.EMPTY;
686
- function Xt(e) {
685
+ }(), jt = _e.EMPTY;
686
+ function kt(e) {
687
687
  return e instanceof _e || e && "closed" in e && R(e.remove) && R(e.add) && R(e.unsubscribe);
688
688
  }
689
- function lt(e) {
689
+ function at(e) {
690
690
  R(e) ? e() : e.unsubscribe();
691
691
  }
692
- var zt = {
692
+ var Wr = {
693
693
  onUnhandledError: null,
694
694
  onStoppedNotification: null,
695
695
  Promise: void 0,
696
696
  useDeprecatedSynchronousErrorHandling: !1,
697
697
  useDeprecatedNextContext: !1
698
- }, Jr = {
698
+ }, Zr = {
699
699
  setTimeout: function(e, t) {
700
700
  for (var r = [], n = 2; n < arguments.length; n++)
701
701
  r[n - 2] = arguments[n];
702
- return setTimeout.apply(void 0, Q([e, t], Ue(r)));
702
+ return setTimeout.apply(void 0, Q([e, t], Fe(r)));
703
703
  },
704
704
  clearTimeout: function(e) {
705
705
  return clearTimeout(e);
706
706
  },
707
707
  delegate: void 0
708
708
  };
709
- function Yr(e) {
710
- Jr.setTimeout(function() {
709
+ function Qr(e) {
710
+ Zr.setTimeout(function() {
711
711
  throw e;
712
712
  });
713
713
  }
714
- function ht() {
714
+ function ut() {
715
715
  }
716
- function de(e) {
716
+ function me(e) {
717
717
  e();
718
718
  }
719
- var Wt = function(e) {
720
- $(t, e);
719
+ var Vt = function(e) {
720
+ F(t, e);
721
721
  function t(r) {
722
722
  var n = e.call(this) || this;
723
- return n.isStopped = !1, r ? (n.destination = r, Xt(r) && r.add(n)) : n.destination = tn, n;
723
+ return n.isStopped = !1, r ? (n.destination = r, kt(r) && r.add(n)) : n.destination = qr, n;
724
724
  }
725
725
  return t.create = function(r, n, i) {
726
- return new Ge(r, n, i);
726
+ return new De(r, n, i);
727
727
  }, t.prototype.next = function(r) {
728
728
  this.isStopped || this._next(r);
729
729
  }, t.prototype.error = function(r) {
@@ -747,11 +747,7 @@ var Wt = function(e) {
747
747
  this.unsubscribe();
748
748
  }
749
749
  }, t;
750
- }(_e), qr = Function.prototype.bind;
751
- function Be(e, t) {
752
- return qr.call(e, t);
753
- }
754
- var Kr = function() {
750
+ }(_e), Jr = function() {
755
751
  function e(t) {
756
752
  this.partialObserver = t;
757
753
  }
@@ -782,55 +778,43 @@ var Kr = function() {
782
778
  ce(r);
783
779
  }
784
780
  }, e;
785
- }(), Ge = function(e) {
786
- $(t, e);
781
+ }(), De = function(e) {
782
+ F(t, e);
787
783
  function t(r, n, i) {
788
784
  var o = e.call(this) || this, s;
789
- if (R(r) || !r)
790
- s = {
791
- next: r != null ? r : void 0,
792
- error: n != null ? n : void 0,
793
- complete: i != null ? i : void 0
794
- };
795
- else {
796
- var a;
797
- o && zt.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
798
- return o.unsubscribe();
799
- }, s = {
800
- next: r.next && Be(r.next, a),
801
- error: r.error && Be(r.error, a),
802
- complete: r.complete && Be(r.complete, a)
803
- }) : s = r;
804
- }
805
- return o.destination = new Kr(s), o;
785
+ return R(r) || !r ? s = {
786
+ next: r != null ? r : void 0,
787
+ error: n != null ? n : void 0,
788
+ complete: i != null ? i : void 0
789
+ } : s = r, o.destination = new Jr(s), o;
806
790
  }
807
791
  return t;
808
- }(Wt);
792
+ }(Vt);
809
793
  function ce(e) {
810
- Yr(e);
794
+ Qr(e);
811
795
  }
812
- function en(e) {
796
+ function Yr(e) {
813
797
  throw e;
814
798
  }
815
- var tn = {
799
+ var qr = {
816
800
  closed: !0,
817
- next: ht,
818
- error: en,
819
- complete: ht
820
- }, rn = function() {
801
+ next: ut,
802
+ error: Yr,
803
+ complete: ut
804
+ }, Kr = function() {
821
805
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
822
806
  }();
823
- function nn(e) {
807
+ function en(e) {
824
808
  return e;
825
809
  }
826
- function on(e) {
827
- return e.length === 0 ? nn : e.length === 1 ? e[0] : function(r) {
810
+ function tn(e) {
811
+ return e.length === 0 ? en : e.length === 1 ? e[0] : function(r) {
828
812
  return e.reduce(function(n, i) {
829
813
  return i(n);
830
814
  }, r);
831
815
  };
832
816
  }
833
- var ft = function() {
817
+ var lt = function() {
834
818
  function e(t) {
835
819
  t && (this._subscribe = t);
836
820
  }
@@ -838,8 +822,8 @@ var ft = function() {
838
822
  var r = new e();
839
823
  return r.source = this, r.operator = t, r;
840
824
  }, e.prototype.subscribe = function(t, r, n) {
841
- var i = this, o = an(t) ? t : new Ge(t, r, n);
842
- return de(function() {
825
+ var i = this, o = nn(t) ? t : new De(t, r, n);
826
+ return me(function() {
843
827
  var s = i, a = s.operator, h = s.source;
844
828
  o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
845
829
  }), o;
@@ -851,8 +835,8 @@ var ft = function() {
851
835
  }
852
836
  }, e.prototype.forEach = function(t, r) {
853
837
  var n = this;
854
- return r = ct(r), new r(function(i, o) {
855
- var s = new Ge({
838
+ return r = ht(r), new r(function(i, o) {
839
+ var s = new De({
856
840
  next: function(a) {
857
841
  try {
858
842
  t(a);
@@ -868,15 +852,15 @@ var ft = function() {
868
852
  }, e.prototype._subscribe = function(t) {
869
853
  var r;
870
854
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
871
- }, e.prototype[rn] = function() {
855
+ }, e.prototype[Kr] = function() {
872
856
  return this;
873
857
  }, e.prototype.pipe = function() {
874
858
  for (var t = [], r = 0; r < arguments.length; r++)
875
859
  t[r] = arguments[r];
876
- return on(t)(this);
860
+ return tn(t)(this);
877
861
  }, e.prototype.toPromise = function(t) {
878
862
  var r = this;
879
- return t = ct(t), new t(function(n, i) {
863
+ return t = ht(t), new t(function(n, i) {
880
864
  var o;
881
865
  r.subscribe(function(s) {
882
866
  return o = s;
@@ -890,35 +874,35 @@ var ft = function() {
890
874
  return new e(t);
891
875
  }, e;
892
876
  }();
893
- function ct(e) {
877
+ function ht(e) {
894
878
  var t;
895
- return (t = e != null ? e : zt.Promise) !== null && t !== void 0 ? t : Promise;
879
+ return (t = e != null ? e : Wr.Promise) !== null && t !== void 0 ? t : Promise;
896
880
  }
897
- function sn(e) {
881
+ function rn(e) {
898
882
  return e && R(e.next) && R(e.error) && R(e.complete);
899
883
  }
900
- function an(e) {
901
- return e && e instanceof Wt || sn(e) && Xt(e);
884
+ function nn(e) {
885
+ return e && e instanceof Vt || rn(e) && kt(e);
902
886
  }
903
- var un = kt(function(e) {
887
+ var on = Gt(function(e) {
904
888
  return function() {
905
889
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
906
890
  };
907
- }), Zt = function(e) {
908
- $(t, e);
891
+ }), Xt = function(e) {
892
+ F(t, e);
909
893
  function t() {
910
894
  var r = e.call(this) || this;
911
895
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
912
896
  }
913
897
  return t.prototype.lift = function(r) {
914
- var n = new pt(this, this);
898
+ var n = new ft(this, this);
915
899
  return n.operator = r, n;
916
900
  }, t.prototype._throwIfClosed = function() {
917
901
  if (this.closed)
918
- throw new un();
902
+ throw new on();
919
903
  }, t.prototype.next = function(r) {
920
904
  var n = this;
921
- de(function() {
905
+ me(function() {
922
906
  var i, o;
923
907
  if (n._throwIfClosed(), !n.isStopped) {
924
908
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
@@ -941,7 +925,7 @@ var un = kt(function(e) {
941
925
  });
942
926
  }, t.prototype.error = function(r) {
943
927
  var n = this;
944
- de(function() {
928
+ me(function() {
945
929
  if (n._throwIfClosed(), !n.isStopped) {
946
930
  n.hasError = n.isStopped = !0, n.thrownError = r;
947
931
  for (var i = n.observers; i.length; )
@@ -950,7 +934,7 @@ var un = kt(function(e) {
950
934
  });
951
935
  }, t.prototype.complete = function() {
952
936
  var r = this;
953
- de(function() {
937
+ me(function() {
954
938
  if (r._throwIfClosed(), !r.isStopped) {
955
939
  r.isStopped = !0;
956
940
  for (var n = r.observers; n.length; )
@@ -972,20 +956,20 @@ var un = kt(function(e) {
972
956
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
973
957
  }, t.prototype._innerSubscribe = function(r) {
974
958
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
975
- return o || s ? Vt : (this.currentObservers = null, a.push(r), new _e(function() {
976
- n.currentObservers = null, De(a, r);
959
+ return o || s ? jt : (this.currentObservers = null, a.push(r), new _e(function() {
960
+ n.currentObservers = null, Ue(a, r);
977
961
  }));
978
962
  }, t.prototype._checkFinalizedStatuses = function(r) {
979
963
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
980
964
  i ? r.error(o) : s && r.complete();
981
965
  }, t.prototype.asObservable = function() {
982
- var r = new ft();
966
+ var r = new lt();
983
967
  return r.source = this, r;
984
968
  }, t.create = function(r, n) {
985
- return new pt(r, n);
969
+ return new ft(r, n);
986
970
  }, t;
987
- }(ft), pt = function(e) {
988
- $(t, e);
971
+ }(lt), ft = function(e) {
972
+ F(t, e);
989
973
  function t(r, n) {
990
974
  var i = e.call(this) || this;
991
975
  return i.destination = r, i.source = n, i;
@@ -1001,17 +985,17 @@ var un = kt(function(e) {
1001
985
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1002
986
  }, t.prototype._subscribe = function(r) {
1003
987
  var n, i;
1004
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Vt;
988
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : jt;
1005
989
  }, t;
1006
- }(Zt), Qt = {
990
+ }(Xt), zt = {
1007
991
  now: function() {
1008
- return (Qt.delegate || Date).now();
992
+ return (zt.delegate || Date).now();
1009
993
  },
1010
994
  delegate: void 0
1011
- }, ln = function(e) {
1012
- $(t, e);
995
+ }, sn = function(e) {
996
+ F(t, e);
1013
997
  function t(r, n, i) {
1014
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Qt);
998
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = zt);
1015
999
  var o = e.call(this) || this;
1016
1000
  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;
1017
1001
  }
@@ -1031,15 +1015,15 @@ var un = kt(function(e) {
1031
1015
  u && o.splice(0, u + 1);
1032
1016
  }
1033
1017
  }, t;
1034
- }(Zt);
1035
- const mt = [], dt = {}, hn = (e, t = 0) => {
1036
- if (mt.indexOf(e) == -1) {
1037
- const r = new ln(t);
1038
- dt[e] = r, mt.push(e);
1018
+ }(Xt);
1019
+ const ct = [], dt = {}, an = (e, t = 0) => {
1020
+ if (ct.indexOf(e) == -1) {
1021
+ const r = new sn(t);
1022
+ dt[e] = r, ct.push(e);
1039
1023
  }
1040
1024
  return dt[e];
1041
1025
  }, X = [];
1042
- function fn(e, t) {
1026
+ function un(e, t) {
1043
1027
  return {
1044
1028
  subscribe: Ee(e, t).subscribe
1045
1029
  };
@@ -1048,7 +1032,7 @@ function Ee(e, t = C) {
1048
1032
  let r;
1049
1033
  const n = /* @__PURE__ */ new Set();
1050
1034
  function i(a) {
1051
- if (Dt(e, a) && (e = a, r)) {
1035
+ if (Ft(e, a) && (e = a, r)) {
1052
1036
  const h = !X.length;
1053
1037
  for (const u of n)
1054
1038
  u[1](), X.push(u, e);
@@ -1075,7 +1059,7 @@ function ee(e, t, r) {
1075
1059
  if (!i.every(Boolean))
1076
1060
  throw new Error("derived() expects stores as input, got a falsy value");
1077
1061
  const o = t.length < 2;
1078
- return fn(r, (s, a) => {
1062
+ return un(r, (s, a) => {
1079
1063
  let h = !1;
1080
1064
  const u = [];
1081
1065
  let l = 0, c = C;
@@ -1083,88 +1067,88 @@ function ee(e, t, r) {
1083
1067
  if (l)
1084
1068
  return;
1085
1069
  c();
1086
- const m = t(n ? u[0] : u, s, a);
1087
- o ? s(m) : c = Je(m) ? m : C;
1088
- }, p = i.map(
1089
- (m, d) => Gt(
1090
- m,
1070
+ const p = t(n ? u[0] : u, s, a);
1071
+ o ? s(p) : c = Qe(p) ? p : C;
1072
+ }, d = i.map(
1073
+ (p, m) => Ut(
1074
+ p,
1091
1075
  (_) => {
1092
- u[d] = _, l &= ~(1 << d), h && f();
1076
+ u[m] = _, l &= ~(1 << m), h && f();
1093
1077
  },
1094
1078
  () => {
1095
- l |= 1 << d;
1079
+ l |= 1 << m;
1096
1080
  }
1097
1081
  )
1098
1082
  );
1099
1083
  return h = !0, f(), function() {
1100
- ae(p), c(), h = !1;
1084
+ ae(d), c(), h = !1;
1101
1085
  };
1102
1086
  });
1103
1087
  }
1104
- function cn(e) {
1105
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1088
+ function ln(e) {
1089
+ return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1106
1090
  }
1107
- var pn = function(t) {
1108
- return mn(t) && !dn(t);
1091
+ var hn = function(t) {
1092
+ return fn(t) && !cn(t);
1109
1093
  };
1110
- function mn(e) {
1094
+ function fn(e) {
1111
1095
  return !!e && typeof e == "object";
1112
1096
  }
1113
- function dn(e) {
1097
+ function cn(e) {
1114
1098
  var t = Object.prototype.toString.call(e);
1115
- return t === "[object RegExp]" || t === "[object Date]" || vn(e);
1099
+ return t === "[object RegExp]" || t === "[object Date]" || mn(e);
1116
1100
  }
1117
- var bn = typeof Symbol == "function" && Symbol.for, gn = bn ? Symbol.for("react.element") : 60103;
1118
- function vn(e) {
1119
- return e.$$typeof === gn;
1101
+ var dn = typeof Symbol == "function" && Symbol.for, pn = dn ? Symbol.for("react.element") : 60103;
1102
+ function mn(e) {
1103
+ return e.$$typeof === pn;
1120
1104
  }
1121
- function yn(e) {
1105
+ function bn(e) {
1122
1106
  return Array.isArray(e) ? [] : {};
1123
1107
  }
1124
1108
  function oe(e, t) {
1125
- return t.clone !== !1 && t.isMergeableObject(e) ? J(yn(e), e, t) : e;
1109
+ return t.clone !== !1 && t.isMergeableObject(e) ? J(bn(e), e, t) : e;
1126
1110
  }
1127
- function _n(e, t, r) {
1111
+ function gn(e, t, r) {
1128
1112
  return e.concat(t).map(function(n) {
1129
1113
  return oe(n, r);
1130
1114
  });
1131
1115
  }
1132
- function En(e, t) {
1116
+ function yn(e, t) {
1133
1117
  if (!t.customMerge)
1134
1118
  return J;
1135
1119
  var r = t.customMerge(e);
1136
1120
  return typeof r == "function" ? r : J;
1137
1121
  }
1138
- function xn(e) {
1122
+ function vn(e) {
1139
1123
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1140
1124
  return Object.propertyIsEnumerable.call(e, t);
1141
1125
  }) : [];
1142
1126
  }
1143
- function bt(e) {
1144
- return Object.keys(e).concat(xn(e));
1127
+ function pt(e) {
1128
+ return Object.keys(e).concat(vn(e));
1145
1129
  }
1146
- function Jt(e, t) {
1130
+ function Wt(e, t) {
1147
1131
  try {
1148
1132
  return t in e;
1149
1133
  } catch (r) {
1150
1134
  return !1;
1151
1135
  }
1152
1136
  }
1153
- function Sn(e, t) {
1154
- return Jt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1137
+ function _n(e, t) {
1138
+ return Wt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1155
1139
  }
1156
- function Tn(e, t, r) {
1140
+ function En(e, t, r) {
1157
1141
  var n = {};
1158
- return r.isMergeableObject(e) && bt(e).forEach(function(i) {
1142
+ return r.isMergeableObject(e) && pt(e).forEach(function(i) {
1159
1143
  n[i] = oe(e[i], r);
1160
- }), bt(t).forEach(function(i) {
1161
- Sn(e, i) || (Jt(e, i) && r.isMergeableObject(t[i]) ? n[i] = En(i, r)(e[i], t[i], r) : n[i] = oe(t[i], r));
1144
+ }), pt(t).forEach(function(i) {
1145
+ _n(e, i) || (Wt(e, i) && r.isMergeableObject(t[i]) ? n[i] = yn(i, r)(e[i], t[i], r) : n[i] = oe(t[i], r));
1162
1146
  }), n;
1163
1147
  }
1164
1148
  function J(e, t, r) {
1165
- r = r || {}, r.arrayMerge = r.arrayMerge || _n, r.isMergeableObject = r.isMergeableObject || pn, r.cloneUnlessOtherwiseSpecified = oe;
1149
+ r = r || {}, r.arrayMerge = r.arrayMerge || gn, r.isMergeableObject = r.isMergeableObject || hn, r.cloneUnlessOtherwiseSpecified = oe;
1166
1150
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1167
- return o ? n ? r.arrayMerge(e, t, r) : Tn(e, t, r) : oe(t, r);
1151
+ return o ? n ? r.arrayMerge(e, t, r) : En(e, t, r) : oe(t, r);
1168
1152
  }
1169
1153
  J.all = function(t, r) {
1170
1154
  if (!Array.isArray(t))
@@ -1173,58 +1157,60 @@ J.all = function(t, r) {
1173
1157
  return J(n, i, r);
1174
1158
  }, {});
1175
1159
  };
1176
- var wn = J, Hn = wn;
1177
- const An = /* @__PURE__ */ cn(Hn);
1178
- function Pe(e, t) {
1179
- var r = t && t.cache ? t.cache : Mn, n = t && t.serializer ? t.serializer : In, i = t && t.strategy ? t.strategy : Pn;
1160
+ var xn = J, Sn = xn;
1161
+ const Tn = /* @__PURE__ */ ln(Sn);
1162
+ function Be(e, t) {
1163
+ var r = t && t.cache ? t.cache : Cn, n = t && t.serializer ? t.serializer : Pn, i = t && t.strategy ? t.strategy : Hn;
1180
1164
  return i(e, {
1181
1165
  cache: r,
1182
1166
  serializer: n
1183
1167
  });
1184
1168
  }
1185
- function Bn(e) {
1169
+ function wn(e) {
1186
1170
  return e == null || typeof e == "number" || typeof e == "boolean";
1187
1171
  }
1188
- function Yt(e, t, r, n) {
1189
- var i = Bn(n) ? n : r(n), o = t.get(i);
1172
+ function Zt(e, t, r, n) {
1173
+ var i = wn(n) ? n : r(n), o = t.get(i);
1190
1174
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1191
1175
  }
1192
- function qt(e, t, r) {
1176
+ function Qt(e, t, r) {
1193
1177
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1194
1178
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1195
1179
  }
1196
- function Ye(e, t, r, n, i) {
1180
+ function Je(e, t, r, n, i) {
1197
1181
  return r.bind(t, e, n, i);
1198
1182
  }
1199
- function Pn(e, t) {
1200
- var r = e.length === 1 ? Yt : qt;
1201
- return Ye(e, this, r, t.cache.create(), t.serializer);
1183
+ function Hn(e, t) {
1184
+ var r = e.length === 1 ? Zt : Qt;
1185
+ return Je(e, this, r, t.cache.create(), t.serializer);
1202
1186
  }
1203
- function On(e, t) {
1204
- return Ye(e, this, qt, t.cache.create(), t.serializer);
1187
+ function An(e, t) {
1188
+ return Je(e, this, Qt, t.cache.create(), t.serializer);
1205
1189
  }
1206
- function Cn(e, t) {
1207
- return Ye(e, this, Yt, t.cache.create(), t.serializer);
1190
+ function Bn(e, t) {
1191
+ return Je(e, this, Zt, t.cache.create(), t.serializer);
1208
1192
  }
1209
- var In = function() {
1193
+ var Pn = function() {
1210
1194
  return JSON.stringify(arguments);
1211
- };
1212
- function qe() {
1213
- this.cache = /* @__PURE__ */ Object.create(null);
1214
- }
1215
- qe.prototype.get = function(e) {
1216
- return this.cache[e];
1217
- };
1218
- qe.prototype.set = function(e, t) {
1219
- this.cache[e] = t;
1220
- };
1221
- var Mn = {
1195
+ }, On = (
1196
+ /** @class */
1197
+ function() {
1198
+ function e() {
1199
+ this.cache = /* @__PURE__ */ Object.create(null);
1200
+ }
1201
+ return e.prototype.get = function(t) {
1202
+ return this.cache[t];
1203
+ }, e.prototype.set = function(t, r) {
1204
+ this.cache[t] = r;
1205
+ }, e;
1206
+ }()
1207
+ ), Cn = {
1222
1208
  create: function() {
1223
- return new qe();
1209
+ return new On();
1224
1210
  }
1225
- }, Oe = {
1226
- variadic: On,
1227
- monadic: Cn
1211
+ }, Pe = {
1212
+ variadic: An,
1213
+ monadic: Bn
1228
1214
  }, b;
1229
1215
  (function(e) {
1230
1216
  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";
@@ -1237,43 +1223,43 @@ var Y;
1237
1223
  (function(e) {
1238
1224
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1239
1225
  })(Y || (Y = {}));
1240
- function gt(e) {
1226
+ function mt(e) {
1241
1227
  return e.type === E.literal;
1242
1228
  }
1243
1229
  function Nn(e) {
1244
1230
  return e.type === E.argument;
1245
1231
  }
1246
- function Kt(e) {
1232
+ function Jt(e) {
1247
1233
  return e.type === E.number;
1248
1234
  }
1249
- function er(e) {
1235
+ function Yt(e) {
1250
1236
  return e.type === E.date;
1251
1237
  }
1252
- function tr(e) {
1238
+ function qt(e) {
1253
1239
  return e.type === E.time;
1254
1240
  }
1255
- function rr(e) {
1241
+ function Kt(e) {
1256
1242
  return e.type === E.select;
1257
1243
  }
1258
- function nr(e) {
1244
+ function er(e) {
1259
1245
  return e.type === E.plural;
1260
1246
  }
1261
- function Ln(e) {
1247
+ function In(e) {
1262
1248
  return e.type === E.pound;
1263
1249
  }
1264
- function ir(e) {
1250
+ function tr(e) {
1265
1251
  return e.type === E.tag;
1266
1252
  }
1267
- function or(e) {
1253
+ function rr(e) {
1268
1254
  return !!(e && typeof e == "object" && e.type === Y.number);
1269
1255
  }
1270
- function je(e) {
1256
+ function Ge(e) {
1271
1257
  return !!(e && typeof e == "object" && e.type === Y.dateTime);
1272
1258
  }
1273
- var sr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Rn = /(?:[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;
1274
- function Fn(e) {
1259
+ var nr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Mn = /(?:[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;
1260
+ function Ln(e) {
1275
1261
  var t = {};
1276
- return e.replace(Rn, function(r) {
1262
+ return e.replace(Mn, function(r) {
1277
1263
  var n = r.length;
1278
1264
  switch (r[0]) {
1279
1265
  case "G":
@@ -1362,11 +1348,11 @@ function Fn(e) {
1362
1348
  return "";
1363
1349
  }), t;
1364
1350
  }
1365
- var $n = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1366
- function Un(e) {
1351
+ var Rn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1352
+ function $n(e) {
1367
1353
  if (e.length === 0)
1368
1354
  throw new Error("Number skeleton cannot be empty");
1369
- for (var t = e.split($n).filter(function(f) {
1355
+ for (var t = e.split(Rn).filter(function(f) {
1370
1356
  return f.length > 0;
1371
1357
  }), r = [], n = 0, i = t; n < i.length; n++) {
1372
1358
  var o = i[n], s = o.split("/");
@@ -1381,17 +1367,17 @@ function Un(e) {
1381
1367
  }
1382
1368
  return r;
1383
1369
  }
1384
- function Dn(e) {
1370
+ function Fn(e) {
1385
1371
  return e.replace(/^(.*?)-/, "");
1386
1372
  }
1387
- var vt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ar = /^(@+)?(\+|#+)?[rs]?$/g, Gn = /(\*)(0+)|(#+)(0+)|(0+)/g, ur = /^(0+)$/;
1388
- function yt(e) {
1373
+ var bt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ir = /^(@+)?(\+|#+)?[rs]?$/g, Un = /(\*)(0+)|(#+)(0+)|(0+)/g, or = /^(0+)$/;
1374
+ function gt(e) {
1389
1375
  var t = {};
1390
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(ar, function(r, n, i) {
1376
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(ir, function(r, n, i) {
1391
1377
  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)), "";
1392
1378
  }), t;
1393
1379
  }
1394
- function lr(e) {
1380
+ function sr(e) {
1395
1381
  switch (e) {
1396
1382
  case "sign-auto":
1397
1383
  return {
@@ -1431,7 +1417,7 @@ function lr(e) {
1431
1417
  };
1432
1418
  }
1433
1419
  }
1434
- function jn(e) {
1420
+ function Dn(e) {
1435
1421
  var t;
1436
1422
  if (e[0] === "E" && e[1] === "E" ? (t = {
1437
1423
  notation: "engineering"
@@ -1439,17 +1425,17 @@ function jn(e) {
1439
1425
  notation: "scientific"
1440
1426
  }, e = e.slice(1)), t) {
1441
1427
  var r = e.slice(0, 2);
1442
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !ur.test(e))
1428
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !or.test(e))
1443
1429
  throw new Error("Malformed concise eng/scientific notation");
1444
1430
  t.minimumIntegerDigits = e.length;
1445
1431
  }
1446
1432
  return t;
1447
1433
  }
1448
- function _t(e) {
1449
- var t = {}, r = lr(e);
1434
+ function yt(e) {
1435
+ var t = {}, r = sr(e);
1450
1436
  return r || t;
1451
1437
  }
1452
- function kn(e) {
1438
+ function Gn(e) {
1453
1439
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1454
1440
  var i = n[r];
1455
1441
  switch (i.stem) {
@@ -1473,7 +1459,7 @@ function kn(e) {
1473
1459
  continue;
1474
1460
  case "measure-unit":
1475
1461
  case "unit":
1476
- t.style = "unit", t.unit = Dn(i.options[0]);
1462
+ t.style = "unit", t.unit = Fn(i.options[0]);
1477
1463
  continue;
1478
1464
  case "compact-short":
1479
1465
  case "K":
@@ -1484,13 +1470,13 @@ function kn(e) {
1484
1470
  t.notation = "compact", t.compactDisplay = "long";
1485
1471
  continue;
1486
1472
  case "scientific":
1487
- t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1488
- return y(y({}, h), _t(u));
1473
+ t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1474
+ return v(v({}, h), yt(u));
1489
1475
  }, {}));
1490
1476
  continue;
1491
1477
  case "engineering":
1492
- t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1493
- return y(y({}, h), _t(u));
1478
+ t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1479
+ return v(v({}, h), yt(u));
1494
1480
  }, {}));
1495
1481
  continue;
1496
1482
  case "notation-simple":
@@ -1535,45 +1521,45 @@ function kn(e) {
1535
1521
  case "integer-width":
1536
1522
  if (i.options.length > 1)
1537
1523
  throw new RangeError("integer-width stems only accept a single optional option");
1538
- i.options[0].replace(Gn, function(h, u, l, c, f, p) {
1524
+ i.options[0].replace(Un, function(h, u, l, c, f, d) {
1539
1525
  if (u)
1540
1526
  t.minimumIntegerDigits = l.length;
1541
1527
  else {
1542
1528
  if (c && f)
1543
1529
  throw new Error("We currently do not support maximum integer digits");
1544
- if (p)
1530
+ if (d)
1545
1531
  throw new Error("We currently do not support exact integer digits");
1546
1532
  }
1547
1533
  return "";
1548
1534
  });
1549
1535
  continue;
1550
1536
  }
1551
- if (ur.test(i.stem)) {
1537
+ if (or.test(i.stem)) {
1552
1538
  t.minimumIntegerDigits = i.stem.length;
1553
1539
  continue;
1554
1540
  }
1555
- if (vt.test(i.stem)) {
1541
+ if (bt.test(i.stem)) {
1556
1542
  if (i.options.length > 1)
1557
1543
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1558
- i.stem.replace(vt, function(h, u, l, c, f, p) {
1559
- 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
+ i.stem.replace(bt, function(h, u, l, c, f, d) {
1545
+ return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && d ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1560
1546
  });
1561
1547
  var o = i.options[0];
1562
- o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), yt(o)));
1548
+ o === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = v(v({}, t), gt(o)));
1563
1549
  continue;
1564
1550
  }
1565
- if (ar.test(i.stem)) {
1566
- t = y(y({}, t), yt(i.stem));
1551
+ if (ir.test(i.stem)) {
1552
+ t = v(v({}, t), gt(i.stem));
1567
1553
  continue;
1568
1554
  }
1569
- var s = lr(i.stem);
1570
- s && (t = y(y({}, t), s));
1571
- var a = jn(i.stem);
1572
- a && (t = y(y({}, t), a));
1555
+ var s = sr(i.stem);
1556
+ s && (t = v(v({}, t), s));
1557
+ var a = Dn(i.stem);
1558
+ a && (t = v(v({}, t), a));
1573
1559
  }
1574
1560
  return t;
1575
1561
  }
1576
- var pe = {
1562
+ var de = {
1577
1563
  "001": [
1578
1564
  "H",
1579
1565
  "h"
@@ -2988,13 +2974,13 @@ var pe = {
2988
2974
  "h"
2989
2975
  ]
2990
2976
  };
2991
- function Vn(e, t) {
2977
+ function jn(e, t) {
2992
2978
  for (var r = "", n = 0; n < e.length; n++) {
2993
2979
  var i = e.charAt(n);
2994
2980
  if (i === "j") {
2995
2981
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2996
2982
  o++, n++;
2997
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Xn(t);
2983
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = kn(t);
2998
2984
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2999
2985
  r += h;
3000
2986
  for (; s-- > 0; )
@@ -3004,7 +2990,7 @@ function Vn(e, t) {
3004
2990
  }
3005
2991
  return r;
3006
2992
  }
3007
- function Xn(e) {
2993
+ function kn(e) {
3008
2994
  var t = e.hourCycle;
3009
2995
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3010
2996
  e.hourCycles && // @ts-ignore
@@ -3023,23 +3009,23 @@ function Xn(e) {
3023
3009
  }
3024
3010
  var r = e.language, n;
3025
3011
  r !== "root" && (n = e.maximize().region);
3026
- var i = pe[n || ""] || pe[r || ""] || pe["".concat(r, "-001")] || pe["001"];
3012
+ var i = de[n || ""] || de[r || ""] || de["".concat(r, "-001")] || de["001"];
3027
3013
  return i[0];
3028
3014
  }
3029
- var Ce, zn = new RegExp("^".concat(sr.source, "*")), Wn = new RegExp("".concat(sr.source, "*$"));
3015
+ var Oe, Vn = new RegExp("^".concat(nr.source, "*")), Xn = new RegExp("".concat(nr.source, "*$"));
3030
3016
  function g(e, t) {
3031
3017
  return { start: e, end: t };
3032
3018
  }
3033
- var Zn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Qn = !!String.fromCodePoint, Jn = !!Object.fromEntries, Yn = !!String.prototype.codePointAt, qn = !!String.prototype.trimStart, Kn = !!String.prototype.trimEnd, ei = !!Number.isSafeInteger, ti = ei ? Number.isSafeInteger : function(e) {
3019
+ var zn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Wn = !!String.fromCodePoint, Zn = !!Object.fromEntries, Qn = !!String.prototype.codePointAt, Jn = !!String.prototype.trimStart, Yn = !!String.prototype.trimEnd, qn = !!Number.isSafeInteger, Kn = qn ? Number.isSafeInteger : function(e) {
3034
3020
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3035
- }, ke = !0;
3021
+ }, je = !0;
3036
3022
  try {
3037
- var ri = fr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3038
- ke = ((Ce = ri.exec("a")) === null || Ce === void 0 ? void 0 : Ce[0]) === "a";
3023
+ var ei = ur("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3024
+ je = ((Oe = ei.exec("a")) === null || Oe === void 0 ? void 0 : Oe[0]) === "a";
3039
3025
  } catch (e) {
3040
- ke = !1;
3026
+ je = !1;
3041
3027
  }
3042
- var Et = Zn ? (
3028
+ var vt = zn ? (
3043
3029
  // Native
3044
3030
  function(t, r, n) {
3045
3031
  return t.startsWith(r, n);
@@ -3049,7 +3035,7 @@ var Et = Zn ? (
3049
3035
  function(t, r, n) {
3050
3036
  return t.slice(n, n + r.length) === r;
3051
3037
  }
3052
- ), Ve = Qn ? String.fromCodePoint : (
3038
+ ), ke = Wn ? String.fromCodePoint : (
3053
3039
  // IE11
3054
3040
  function() {
3055
3041
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3061,9 +3047,9 @@ var Et = Zn ? (
3061
3047
  }
3062
3048
  return n;
3063
3049
  }
3064
- ), xt = (
3050
+ ), _t = (
3065
3051
  // native
3066
- Jn ? Object.fromEntries : (
3052
+ Zn ? Object.fromEntries : (
3067
3053
  // Ponyfill
3068
3054
  function(t) {
3069
3055
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3073,7 +3059,7 @@ var Et = Zn ? (
3073
3059
  return r;
3074
3060
  }
3075
3061
  )
3076
- ), hr = Yn ? (
3062
+ ), ar = Qn ? (
3077
3063
  // Native
3078
3064
  function(t, r) {
3079
3065
  return t.codePointAt(r);
@@ -3087,7 +3073,7 @@ var Et = Zn ? (
3087
3073
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3088
3074
  }
3089
3075
  }
3090
- ), ni = qn ? (
3076
+ ), ti = Jn ? (
3091
3077
  // Native
3092
3078
  function(t) {
3093
3079
  return t.trimStart();
@@ -3095,9 +3081,9 @@ var Et = Zn ? (
3095
3081
  ) : (
3096
3082
  // Ponyfill
3097
3083
  function(t) {
3098
- return t.replace(zn, "");
3084
+ return t.replace(Vn, "");
3099
3085
  }
3100
- ), ii = Kn ? (
3086
+ ), ri = Yn ? (
3101
3087
  // Native
3102
3088
  function(t) {
3103
3089
  return t.trimEnd();
@@ -3105,32 +3091,32 @@ var Et = Zn ? (
3105
3091
  ) : (
3106
3092
  // Ponyfill
3107
3093
  function(t) {
3108
- return t.replace(Wn, "");
3094
+ return t.replace(Xn, "");
3109
3095
  }
3110
3096
  );
3111
- function fr(e, t) {
3097
+ function ur(e, t) {
3112
3098
  return new RegExp(e, t);
3113
3099
  }
3114
- var Xe;
3115
- if (ke) {
3116
- var St = fr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3117
- Xe = function(t, r) {
3100
+ var Ve;
3101
+ if (je) {
3102
+ var Et = ur("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3103
+ Ve = function(t, r) {
3118
3104
  var n;
3119
- St.lastIndex = r;
3120
- var i = St.exec(t);
3105
+ Et.lastIndex = r;
3106
+ var i = Et.exec(t);
3121
3107
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3122
3108
  };
3123
3109
  } else
3124
- Xe = function(t, r) {
3110
+ Ve = function(t, r) {
3125
3111
  for (var n = []; ; ) {
3126
- var i = hr(t, r);
3127
- if (i === void 0 || cr(i) || ui(i))
3112
+ var i = ar(t, r);
3113
+ if (i === void 0 || lr(i) || si(i))
3128
3114
  break;
3129
3115
  n.push(i), r += i >= 65536 ? 2 : 1;
3130
3116
  }
3131
- return Ve.apply(void 0, n);
3117
+ return ke.apply(void 0, n);
3132
3118
  };
3133
- var oi = (
3119
+ var ni = (
3134
3120
  /** @class */
3135
3121
  function() {
3136
3122
  function e(t, r) {
@@ -3161,7 +3147,7 @@ var oi = (
3161
3147
  if (n)
3162
3148
  break;
3163
3149
  return this.error(b.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
3164
- } else if (o === 60 && !this.ignoreTag && ze(this.peek() || 0)) {
3150
+ } else if (o === 60 && !this.ignoreTag && Xe(this.peek() || 0)) {
3165
3151
  var s = this.parseTag(t, r);
3166
3152
  if (s.err)
3167
3153
  return s;
@@ -3194,7 +3180,7 @@ var oi = (
3194
3180
  return o;
3195
3181
  var s = o.val, a = this.clonePosition();
3196
3182
  if (this.bumpIf("</")) {
3197
- if (this.isEOF() || !ze(this.char()))
3183
+ if (this.isEOF() || !Xe(this.char()))
3198
3184
  return this.error(b.INVALID_TAG, g(a, this.clonePosition()));
3199
3185
  var h = this.clonePosition(), u = this.parseTagName();
3200
3186
  return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, g(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -3212,7 +3198,7 @@ var oi = (
3212
3198
  return this.error(b.INVALID_TAG, g(n, this.clonePosition()));
3213
3199
  }, e.prototype.parseTagName = function() {
3214
3200
  var t = this.offset();
3215
- for (this.bump(); !this.isEOF() && ai(this.char()); )
3201
+ for (this.bump(); !this.isEOF() && oi(this.char()); )
3216
3202
  this.bump();
3217
3203
  return this.message.slice(t, this.offset());
3218
3204
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3241,7 +3227,7 @@ var oi = (
3241
3227
  };
3242
3228
  }, e.prototype.tryParseLeftAngleBracket = function() {
3243
3229
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3244
- !si(this.peek() || 0)) ? (this.bump(), "<") : null;
3230
+ !ii(this.peek() || 0)) ? (this.bump(), "<") : null;
3245
3231
  }, e.prototype.tryParseQuote = function(t) {
3246
3232
  if (this.isEOF() || this.char() !== 39)
3247
3233
  return null;
@@ -3275,12 +3261,12 @@ var oi = (
3275
3261
  r.push(n);
3276
3262
  this.bump();
3277
3263
  }
3278
- return Ve.apply(void 0, r);
3264
+ return ke.apply(void 0, r);
3279
3265
  }, e.prototype.tryParseUnquoted = function(t, r) {
3280
3266
  if (this.isEOF())
3281
3267
  return null;
3282
3268
  var n = this.char();
3283
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ve(n));
3269
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ke(n));
3284
3270
  }, e.prototype.parseArgument = function(t, r) {
3285
3271
  var n = this.clonePosition();
3286
3272
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3309,7 +3295,7 @@ var oi = (
3309
3295
  return this.error(b.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3310
3296
  }
3311
3297
  }, e.prototype.parseIdentifierIfPossible = function() {
3312
- var t = this.clonePosition(), r = this.offset(), n = Xe(this.message, r), i = r + n.length;
3298
+ var t = this.clonePosition(), r = this.offset(), n = Ve(this.message, r), i = r + n.length;
3313
3299
  this.bumpTo(i);
3314
3300
  var o = this.clonePosition(), s = g(t, o);
3315
3301
  return { value: n, location: s };
@@ -3328,37 +3314,37 @@ var oi = (
3328
3314
  var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3329
3315
  if (c.err)
3330
3316
  return c;
3331
- var f = ii(c.val);
3317
+ var f = ri(c.val);
3332
3318
  if (f.length === 0)
3333
3319
  return this.error(b.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
3334
- var p = g(l, this.clonePosition());
3335
- u = { style: f, styleLocation: p };
3320
+ var d = g(l, this.clonePosition());
3321
+ u = { style: f, styleLocation: d };
3336
3322
  }
3337
- var m = this.tryParseArgumentClose(i);
3338
- if (m.err)
3339
- return m;
3340
- var d = g(i, this.clonePosition());
3341
- if (u && Et(u == null ? void 0 : u.style, "::", 0)) {
3342
- var _ = ni(u.style.slice(2));
3323
+ var p = this.tryParseArgumentClose(i);
3324
+ if (p.err)
3325
+ return p;
3326
+ var m = g(i, this.clonePosition());
3327
+ if (u && vt(u == null ? void 0 : u.style, "::", 0)) {
3328
+ var _ = ti(u.style.slice(2));
3343
3329
  if (a === "number") {
3344
3330
  var c = this.parseNumberSkeletonFromString(_, u.styleLocation);
3345
3331
  return c.err ? c : {
3346
- val: { type: E.number, value: n, location: d, style: c.val },
3332
+ val: { type: E.number, value: n, location: m, style: c.val },
3347
3333
  err: null
3348
3334
  };
3349
3335
  } else {
3350
3336
  if (_.length === 0)
3351
- return this.error(b.EXPECT_DATE_TIME_SKELETON, d);
3337
+ return this.error(b.EXPECT_DATE_TIME_SKELETON, m);
3352
3338
  var x = _;
3353
- this.locale && (x = Vn(_, this.locale));
3339
+ this.locale && (x = jn(_, this.locale));
3354
3340
  var f = {
3355
3341
  type: Y.dateTime,
3356
3342
  pattern: x,
3357
3343
  location: u.styleLocation,
3358
- parsedOptions: this.shouldParseSkeletons ? Fn(x) : {}
3359
- }, I = a === "date" ? E.date : E.time;
3344
+ parsedOptions: this.shouldParseSkeletons ? Ln(x) : {}
3345
+ }, N = a === "date" ? E.date : E.time;
3360
3346
  return {
3361
- val: { type: I, value: n, location: d, style: f },
3347
+ val: { type: N, value: n, location: m, style: f },
3362
3348
  err: null
3363
3349
  };
3364
3350
  }
@@ -3367,7 +3353,7 @@ var oi = (
3367
3353
  val: {
3368
3354
  type: a === "number" ? E.number : a === "date" ? E.date : E.time,
3369
3355
  value: n,
3370
- location: d,
3356
+ location: m,
3371
3357
  style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
3372
3358
  },
3373
3359
  err: null
@@ -3378,9 +3364,9 @@ var oi = (
3378
3364
  case "select": {
3379
3365
  var T = this.clonePosition();
3380
3366
  if (this.bumpSpace(), !this.bumpIf(","))
3381
- return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, g(T, y({}, T)));
3367
+ return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, g(T, v({}, T)));
3382
3368
  this.bumpSpace();
3383
- var H = this.parseIdentifierIfPossible(), N = 0;
3369
+ var H = this.parseIdentifierIfPossible(), M = 0;
3384
3370
  if (a !== "select" && H.value === "offset") {
3385
3371
  if (!this.bumpIf(":"))
3386
3372
  return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
@@ -3388,20 +3374,20 @@ var oi = (
3388
3374
  var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3389
3375
  if (c.err)
3390
3376
  return c;
3391
- this.bumpSpace(), H = this.parseIdentifierIfPossible(), N = c.val;
3377
+ this.bumpSpace(), H = this.parseIdentifierIfPossible(), M = c.val;
3392
3378
  }
3393
- var v = this.tryParsePluralOrSelectOptions(t, a, r, H);
3394
- if (v.err)
3395
- return v;
3396
- var m = this.tryParseArgumentClose(i);
3397
- if (m.err)
3398
- return m;
3379
+ var y = this.tryParsePluralOrSelectOptions(t, a, r, H);
3380
+ if (y.err)
3381
+ return y;
3382
+ var p = this.tryParseArgumentClose(i);
3383
+ if (p.err)
3384
+ return p;
3399
3385
  var w = g(i, this.clonePosition());
3400
3386
  return a === "select" ? {
3401
3387
  val: {
3402
3388
  type: E.select,
3403
3389
  value: n,
3404
- options: xt(v.val),
3390
+ options: _t(y.val),
3405
3391
  location: w
3406
3392
  },
3407
3393
  err: null
@@ -3409,8 +3395,8 @@ var oi = (
3409
3395
  val: {
3410
3396
  type: E.plural,
3411
3397
  value: n,
3412
- options: xt(v.val),
3413
- offset: N,
3398
+ options: _t(y.val),
3399
+ offset: M,
3414
3400
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3415
3401
  location: w
3416
3402
  },
@@ -3460,7 +3446,7 @@ var oi = (
3460
3446
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3461
3447
  var n = [];
3462
3448
  try {
3463
- n = Un(t);
3449
+ n = $n(t);
3464
3450
  } catch (i) {
3465
3451
  return this.error(b.INVALID_NUMBER_SKELETON, r);
3466
3452
  }
@@ -3469,7 +3455,7 @@ var oi = (
3469
3455
  type: Y.number,
3470
3456
  tokens: n,
3471
3457
  location: r,
3472
- parsedOptions: this.shouldParseSkeletons ? kn(n) : {}
3458
+ parsedOptions: this.shouldParseSkeletons ? Gn(n) : {}
3473
3459
  },
3474
3460
  err: null
3475
3461
  };
@@ -3488,20 +3474,20 @@ var oi = (
3488
3474
  if (h.has(u))
3489
3475
  return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3490
3476
  u === "other" && (s = !0), this.bumpSpace();
3491
- var p = this.clonePosition();
3477
+ var d = this.clonePosition();
3492
3478
  if (!this.bumpIf("{"))
3493
3479
  return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
3494
- var m = this.parseMessage(t + 1, r, n);
3480
+ var p = this.parseMessage(t + 1, r, n);
3481
+ if (p.err)
3482
+ return p;
3483
+ var m = this.tryParseArgumentClose(d);
3495
3484
  if (m.err)
3496
3485
  return m;
3497
- var d = this.tryParseArgumentClose(p);
3498
- if (d.err)
3499
- return d;
3500
3486
  a.push([
3501
3487
  u,
3502
3488
  {
3503
- value: m.val,
3504
- location: g(p, this.clonePosition())
3489
+ value: p.val,
3490
+ location: g(d, this.clonePosition())
3505
3491
  }
3506
3492
  ]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
3507
3493
  }
@@ -3517,7 +3503,7 @@ var oi = (
3517
3503
  break;
3518
3504
  }
3519
3505
  var h = g(i, this.clonePosition());
3520
- return o ? (s *= n, ti(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3506
+ return o ? (s *= n, Kn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3521
3507
  }, e.prototype.offset = function() {
3522
3508
  return this.position.offset;
3523
3509
  }, e.prototype.isEOF = function() {
@@ -3532,7 +3518,7 @@ var oi = (
3532
3518
  var t = this.position.offset;
3533
3519
  if (t >= this.message.length)
3534
3520
  throw Error("out of bound");
3535
- var r = hr(this.message, t);
3521
+ var r = ar(this.message, t);
3536
3522
  if (r === void 0)
3537
3523
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3538
3524
  return r;
@@ -3551,7 +3537,7 @@ var oi = (
3551
3537
  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);
3552
3538
  }
3553
3539
  }, e.prototype.bumpIf = function(t) {
3554
- if (Et(this.message, t, this.offset())) {
3540
+ if (vt(this.message, t, this.offset())) {
3555
3541
  for (var r = 0; r < t.length; r++)
3556
3542
  this.bump();
3557
3543
  return !0;
@@ -3573,7 +3559,7 @@ var oi = (
3573
3559
  break;
3574
3560
  }
3575
3561
  }, e.prototype.bumpSpace = function() {
3576
- for (; !this.isEOF() && cr(this.char()); )
3562
+ for (; !this.isEOF() && lr(this.char()); )
3577
3563
  this.bump();
3578
3564
  }, e.prototype.peek = function() {
3579
3565
  if (this.isEOF())
@@ -3583,38 +3569,38 @@ var oi = (
3583
3569
  }, e;
3584
3570
  }()
3585
3571
  );
3586
- function ze(e) {
3572
+ function Xe(e) {
3587
3573
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3588
3574
  }
3589
- function si(e) {
3590
- return ze(e) || e === 47;
3575
+ function ii(e) {
3576
+ return Xe(e) || e === 47;
3591
3577
  }
3592
- function ai(e) {
3578
+ function oi(e) {
3593
3579
  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;
3594
3580
  }
3595
- function cr(e) {
3581
+ function lr(e) {
3596
3582
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3597
3583
  }
3598
- function ui(e) {
3584
+ function si(e) {
3599
3585
  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;
3600
3586
  }
3601
- function We(e) {
3587
+ function ze(e) {
3602
3588
  e.forEach(function(t) {
3603
- if (delete t.location, rr(t) || nr(t))
3589
+ if (delete t.location, Kt(t) || er(t))
3604
3590
  for (var r in t.options)
3605
- delete t.options[r].location, We(t.options[r].value);
3591
+ delete t.options[r].location, ze(t.options[r].value);
3606
3592
  else
3607
- Kt(t) && or(t.style) || (er(t) || tr(t)) && je(t.style) ? delete t.style.location : ir(t) && We(t.children);
3593
+ Jt(t) && rr(t.style) || (Yt(t) || qt(t)) && Ge(t.style) ? delete t.style.location : tr(t) && ze(t.children);
3608
3594
  });
3609
3595
  }
3610
- function li(e, t) {
3611
- t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3612
- var r = new oi(e, t).parse();
3596
+ function ai(e, t) {
3597
+ t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3598
+ var r = new ni(e, t).parse();
3613
3599
  if (r.err) {
3614
3600
  var n = SyntaxError(b[r.err.kind]);
3615
3601
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3616
3602
  }
3617
- return t != null && t.captureLocation || We(r.val), r.val;
3603
+ return t != null && t.captureLocation || ze(r.val), r.val;
3618
3604
  }
3619
3605
  var q;
3620
3606
  (function(e) {
@@ -3623,7 +3609,7 @@ var q;
3623
3609
  var xe = (
3624
3610
  /** @class */
3625
3611
  function(e) {
3626
- $(t, e);
3612
+ F(t, e);
3627
3613
  function t(r, n, i) {
3628
3614
  var o = e.call(this, r) || this;
3629
3615
  return o.code = n, o.originalMessage = i, o;
@@ -3632,28 +3618,28 @@ var xe = (
3632
3618
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3633
3619
  }, t;
3634
3620
  }(Error)
3635
- ), Tt = (
3621
+ ), xt = (
3636
3622
  /** @class */
3637
3623
  function(e) {
3638
- $(t, e);
3624
+ F(t, e);
3639
3625
  function t(r, n, i, o) {
3640
3626
  return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), q.INVALID_VALUE, o) || this;
3641
3627
  }
3642
3628
  return t;
3643
3629
  }(xe)
3644
- ), hi = (
3630
+ ), ui = (
3645
3631
  /** @class */
3646
3632
  function(e) {
3647
- $(t, e);
3633
+ F(t, e);
3648
3634
  function t(r, n, i) {
3649
3635
  return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), q.INVALID_VALUE, i) || this;
3650
3636
  }
3651
3637
  return t;
3652
3638
  }(xe)
3653
- ), fi = (
3639
+ ), li = (
3654
3640
  /** @class */
3655
3641
  function(e) {
3656
- $(t, e);
3642
+ F(t, e);
3657
3643
  function t(r, n) {
3658
3644
  return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), q.MISSING_VALUE, n) || this;
3659
3645
  }
@@ -3663,17 +3649,17 @@ var xe = (
3663
3649
  (function(e) {
3664
3650
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3665
3651
  })(A || (A = {}));
3666
- function ci(e) {
3652
+ function hi(e) {
3667
3653
  return e.length < 2 ? e : e.reduce(function(t, r) {
3668
3654
  var n = t[t.length - 1];
3669
3655
  return !n || n.type !== A.literal || r.type !== A.literal ? t.push(r) : n.value += r.value, t;
3670
3656
  }, []);
3671
3657
  }
3672
- function pi(e) {
3658
+ function fi(e) {
3673
3659
  return typeof e == "function";
3674
3660
  }
3675
3661
  function be(e, t, r, n, i, o, s) {
3676
- if (e.length === 1 && gt(e[0]))
3662
+ if (e.length === 1 && mt(e[0]))
3677
3663
  return [
3678
3664
  {
3679
3665
  type: A.literal,
@@ -3682,14 +3668,14 @@ function be(e, t, r, n, i, o, s) {
3682
3668
  ];
3683
3669
  for (var a = [], h = 0, u = e; h < u.length; h++) {
3684
3670
  var l = u[h];
3685
- if (gt(l)) {
3671
+ if (mt(l)) {
3686
3672
  a.push({
3687
3673
  type: A.literal,
3688
3674
  value: l.value
3689
3675
  });
3690
3676
  continue;
3691
3677
  }
3692
- if (Ln(l)) {
3678
+ if (In(l)) {
3693
3679
  typeof o == "number" && a.push({
3694
3680
  type: A.literal,
3695
3681
  value: r.getNumberFormat(t).format(o)
@@ -3698,7 +3684,7 @@ function be(e, t, r, n, i, o, s) {
3698
3684
  }
3699
3685
  var c = l.value;
3700
3686
  if (!(i && c in i))
3701
- throw new fi(c, s);
3687
+ throw new li(c, s);
3702
3688
  var f = i[c];
3703
3689
  if (Nn(l)) {
3704
3690
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
@@ -3707,52 +3693,52 @@ function be(e, t, r, n, i, o, s) {
3707
3693
  });
3708
3694
  continue;
3709
3695
  }
3710
- if (er(l)) {
3711
- var p = typeof l.style == "string" ? n.date[l.style] : je(l.style) ? l.style.parsedOptions : void 0;
3696
+ if (Yt(l)) {
3697
+ var d = typeof l.style == "string" ? n.date[l.style] : Ge(l.style) ? l.style.parsedOptions : void 0;
3712
3698
  a.push({
3713
3699
  type: A.literal,
3714
- value: r.getDateTimeFormat(t, p).format(f)
3700
+ value: r.getDateTimeFormat(t, d).format(f)
3715
3701
  });
3716
3702
  continue;
3717
3703
  }
3718
- if (tr(l)) {
3719
- var p = typeof l.style == "string" ? n.time[l.style] : je(l.style) ? l.style.parsedOptions : n.time.medium;
3704
+ if (qt(l)) {
3705
+ var d = typeof l.style == "string" ? n.time[l.style] : Ge(l.style) ? l.style.parsedOptions : n.time.medium;
3720
3706
  a.push({
3721
3707
  type: A.literal,
3722
- value: r.getDateTimeFormat(t, p).format(f)
3708
+ value: r.getDateTimeFormat(t, d).format(f)
3723
3709
  });
3724
3710
  continue;
3725
3711
  }
3726
- if (Kt(l)) {
3727
- var p = typeof l.style == "string" ? n.number[l.style] : or(l.style) ? l.style.parsedOptions : void 0;
3728
- p && p.scale && (f = f * (p.scale || 1)), a.push({
3712
+ if (Jt(l)) {
3713
+ var d = typeof l.style == "string" ? n.number[l.style] : rr(l.style) ? l.style.parsedOptions : void 0;
3714
+ d && d.scale && (f = f * (d.scale || 1)), a.push({
3729
3715
  type: A.literal,
3730
- value: r.getNumberFormat(t, p).format(f)
3716
+ value: r.getNumberFormat(t, d).format(f)
3731
3717
  });
3732
3718
  continue;
3733
3719
  }
3734
- if (ir(l)) {
3735
- var m = l.children, d = l.value, _ = i[d];
3736
- if (!pi(_))
3737
- throw new hi(d, "function", s);
3738
- var x = be(m, t, r, n, i, o), I = _(x.map(function(N) {
3739
- return N.value;
3720
+ if (tr(l)) {
3721
+ var p = l.children, m = l.value, _ = i[m];
3722
+ if (!fi(_))
3723
+ throw new ui(m, "function", s);
3724
+ var x = be(p, t, r, n, i, o), N = _(x.map(function(M) {
3725
+ return M.value;
3740
3726
  }));
3741
- Array.isArray(I) || (I = [I]), a.push.apply(a, I.map(function(N) {
3727
+ Array.isArray(N) || (N = [N]), a.push.apply(a, N.map(function(M) {
3742
3728
  return {
3743
- type: typeof N == "string" ? A.literal : A.object,
3744
- value: N
3729
+ type: typeof M == "string" ? A.literal : A.object,
3730
+ value: M
3745
3731
  };
3746
3732
  }));
3747
3733
  }
3748
- if (rr(l)) {
3734
+ if (Kt(l)) {
3749
3735
  var T = l.options[f] || l.options.other;
3750
3736
  if (!T)
3751
- throw new Tt(l.value, f, Object.keys(l.options), s);
3737
+ throw new xt(l.value, f, Object.keys(l.options), s);
3752
3738
  a.push.apply(a, be(T.value, t, r, n, i));
3753
3739
  continue;
3754
3740
  }
3755
- if (nr(l)) {
3741
+ if (er(l)) {
3756
3742
  var T = l.options["=".concat(f)];
3757
3743
  if (!T) {
3758
3744
  if (!Intl.PluralRules)
@@ -3763,24 +3749,24 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
3763
3749
  T = l.options[H] || l.options.other;
3764
3750
  }
3765
3751
  if (!T)
3766
- throw new Tt(l.value, f, Object.keys(l.options), s);
3752
+ throw new xt(l.value, f, Object.keys(l.options), s);
3767
3753
  a.push.apply(a, be(T.value, t, r, n, i, f - (l.offset || 0)));
3768
3754
  continue;
3769
3755
  }
3770
3756
  }
3771
- return ci(a);
3757
+ return hi(a);
3772
3758
  }
3773
- function mi(e, t) {
3774
- return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3775
- return r[n] = y(y({}, e[n]), t[n] || {}), r;
3759
+ function ci(e, t) {
3760
+ return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3761
+ return r[n] = v(v({}, e[n]), t[n] || {}), r;
3776
3762
  }, {})) : e;
3777
3763
  }
3778
3764
  function di(e, t) {
3779
3765
  return t ? Object.keys(e).reduce(function(r, n) {
3780
- return r[n] = mi(e[n], t[n]), r;
3781
- }, y({}, e)) : e;
3766
+ return r[n] = ci(e[n], t[n]), r;
3767
+ }, v({}, e)) : e;
3782
3768
  }
3783
- function Ie(e) {
3769
+ function Ce(e) {
3784
3770
  return {
3785
3771
  create: function() {
3786
3772
  return {
@@ -3794,39 +3780,39 @@ function Ie(e) {
3794
3780
  }
3795
3781
  };
3796
3782
  }
3797
- function bi(e) {
3783
+ function pi(e) {
3798
3784
  return e === void 0 && (e = {
3799
3785
  number: {},
3800
3786
  dateTime: {},
3801
3787
  pluralRules: {}
3802
3788
  }), {
3803
- getNumberFormat: Pe(function() {
3789
+ getNumberFormat: Be(function() {
3804
3790
  for (var t, r = [], n = 0; n < arguments.length; n++)
3805
3791
  r[n] = arguments[n];
3806
3792
  return new ((t = Intl.NumberFormat).bind.apply(t, Q([void 0], r, !1)))();
3807
3793
  }, {
3808
- cache: Ie(e.number),
3809
- strategy: Oe.variadic
3794
+ cache: Ce(e.number),
3795
+ strategy: Pe.variadic
3810
3796
  }),
3811
- getDateTimeFormat: Pe(function() {
3797
+ getDateTimeFormat: Be(function() {
3812
3798
  for (var t, r = [], n = 0; n < arguments.length; n++)
3813
3799
  r[n] = arguments[n];
3814
3800
  return new ((t = Intl.DateTimeFormat).bind.apply(t, Q([void 0], r, !1)))();
3815
3801
  }, {
3816
- cache: Ie(e.dateTime),
3817
- strategy: Oe.variadic
3802
+ cache: Ce(e.dateTime),
3803
+ strategy: Pe.variadic
3818
3804
  }),
3819
- getPluralRules: Pe(function() {
3805
+ getPluralRules: Be(function() {
3820
3806
  for (var t, r = [], n = 0; n < arguments.length; n++)
3821
3807
  r[n] = arguments[n];
3822
3808
  return new ((t = Intl.PluralRules).bind.apply(t, Q([void 0], r, !1)))();
3823
3809
  }, {
3824
- cache: Ie(e.pluralRules),
3825
- strategy: Oe.variadic
3810
+ cache: Ce(e.pluralRules),
3811
+ strategy: Pe.variadic
3826
3812
  })
3827
3813
  };
3828
3814
  }
3829
- var gi = (
3815
+ var mi = (
3830
3816
  /** @class */
3831
3817
  function() {
3832
3818
  function e(t, r, n, i) {
@@ -3858,13 +3844,13 @@ var gi = (
3858
3844
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3859
3845
  var s = i || {};
3860
3846
  s.formatters;
3861
- var a = Qr(s, ["formatters"]);
3862
- this.ast = e.__parse(t, y(y({}, a), { locale: this.resolvedLocale }));
3847
+ var a = zr(s, ["formatters"]);
3848
+ this.ast = e.__parse(t, v(v({}, a), { locale: this.resolvedLocale }));
3863
3849
  } else
3864
3850
  this.ast = t;
3865
3851
  if (!Array.isArray(this.ast))
3866
3852
  throw new TypeError("A message must be provided as a String or AST.");
3867
- this.formats = di(e.formats, n), this.formatters = i && i.formatters || bi(this.formatterCache);
3853
+ this.formats = di(e.formats, n), this.formatters = i && i.formatters || pi(this.formatterCache);
3868
3854
  }
3869
3855
  return Object.defineProperty(e, "defaultLocale", {
3870
3856
  get: function() {
@@ -3877,7 +3863,7 @@ var gi = (
3877
3863
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3878
3864
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3879
3865
  }
3880
- }, e.__parse = li, e.formats = {
3866
+ }, e.__parse = ai, e.formats = {
3881
3867
  number: {
3882
3868
  integer: {
3883
3869
  maximumFractionDigits: 0
@@ -3938,7 +3924,7 @@ var gi = (
3938
3924
  }, e;
3939
3925
  }()
3940
3926
  );
3941
- function vi(e, t) {
3927
+ function bi(e, t) {
3942
3928
  if (t == null)
3943
3929
  return;
3944
3930
  if (t in e)
@@ -3959,92 +3945,92 @@ function vi(e, t) {
3959
3945
  n = void 0;
3960
3946
  return n;
3961
3947
  }
3962
- const G = {}, yi = (e, t, r) => r && (t in G || (G[t] = {}), e in G[t] || (G[t][e] = r), r), pr = (e, t) => {
3948
+ const G = {}, gi = (e, t, r) => r && (t in G || (G[t] = {}), e in G[t] || (G[t][e] = r), r), hr = (e, t) => {
3963
3949
  if (t == null)
3964
3950
  return;
3965
3951
  if (t in G && e in G[t])
3966
3952
  return G[t][e];
3967
3953
  const r = Se(t);
3968
3954
  for (let n = 0; n < r.length; n++) {
3969
- const i = r[n], o = Ei(i, e);
3955
+ const i = r[n], o = vi(i, e);
3970
3956
  if (o)
3971
- return yi(e, t, o);
3957
+ return gi(e, t, o);
3972
3958
  }
3973
3959
  };
3974
- let Ke;
3960
+ let Ye;
3975
3961
  const le = Ee({});
3976
- function _i(e) {
3977
- return Ke[e] || null;
3962
+ function yi(e) {
3963
+ return Ye[e] || null;
3978
3964
  }
3979
- function mr(e) {
3980
- return e in Ke;
3965
+ function fr(e) {
3966
+ return e in Ye;
3981
3967
  }
3982
- function Ei(e, t) {
3983
- if (!mr(e))
3968
+ function vi(e, t) {
3969
+ if (!fr(e))
3984
3970
  return null;
3985
- const r = _i(e);
3986
- return vi(r, t);
3971
+ const r = yi(e);
3972
+ return bi(r, t);
3987
3973
  }
3988
- function xi(e) {
3974
+ function _i(e) {
3989
3975
  if (e == null)
3990
3976
  return;
3991
3977
  const t = Se(e);
3992
3978
  for (let r = 0; r < t.length; r++) {
3993
3979
  const n = t[r];
3994
- if (mr(n))
3980
+ if (fr(n))
3995
3981
  return n;
3996
3982
  }
3997
3983
  }
3998
- function dr(e, ...t) {
3999
- delete G[e], le.update((r) => (r[e] = An.all([r[e] || {}, ...t]), r));
3984
+ function cr(e, ...t) {
3985
+ delete G[e], le.update((r) => (r[e] = Tn.all([r[e] || {}, ...t]), r));
4000
3986
  }
4001
3987
  ee(
4002
3988
  [le],
4003
3989
  ([e]) => Object.keys(e)
4004
3990
  );
4005
- le.subscribe((e) => Ke = e);
3991
+ le.subscribe((e) => Ye = e);
4006
3992
  const ge = {};
4007
- function Si(e, t) {
3993
+ function Ei(e, t) {
4008
3994
  ge[e].delete(t), ge[e].size === 0 && delete ge[e];
4009
3995
  }
4010
- function br(e) {
3996
+ function dr(e) {
4011
3997
  return ge[e];
4012
3998
  }
4013
- function Ti(e) {
3999
+ function xi(e) {
4014
4000
  return Se(e).map((t) => {
4015
- const r = br(t);
4001
+ const r = dr(t);
4016
4002
  return [t, r ? [...r] : []];
4017
4003
  }).filter(([, t]) => t.length > 0);
4018
4004
  }
4019
- function Ze(e) {
4005
+ function We(e) {
4020
4006
  return e == null ? !1 : Se(e).some(
4021
4007
  (t) => {
4022
4008
  var r;
4023
- return (r = br(t)) == null ? void 0 : r.size;
4009
+ return (r = dr(t)) == null ? void 0 : r.size;
4024
4010
  }
4025
4011
  );
4026
4012
  }
4027
- function wi(e, t) {
4013
+ function Si(e, t) {
4028
4014
  return Promise.all(
4029
- t.map((n) => (Si(e, n), n().then((i) => i.default || i)))
4030
- ).then((n) => dr(e, ...n));
4015
+ t.map((n) => (Ei(e, n), n().then((i) => i.default || i)))
4016
+ ).then((n) => cr(e, ...n));
4031
4017
  }
4032
4018
  const re = {};
4033
- function gr(e) {
4034
- if (!Ze(e))
4019
+ function pr(e) {
4020
+ if (!We(e))
4035
4021
  return e in re ? re[e] : Promise.resolve();
4036
- const t = Ti(e);
4022
+ const t = xi(e);
4037
4023
  return re[e] = Promise.all(
4038
4024
  t.map(
4039
- ([r, n]) => wi(r, n)
4025
+ ([r, n]) => Si(r, n)
4040
4026
  )
4041
4027
  ).then(() => {
4042
- if (Ze(e))
4043
- return gr(e);
4028
+ if (We(e))
4029
+ return pr(e);
4044
4030
  delete re[e];
4045
4031
  }), re[e];
4046
4032
  }
4047
- const Hi = {
4033
+ const Ti = {
4048
4034
  number: {
4049
4035
  scientific: { notation: "scientific" },
4050
4036
  engineering: { notation: "engineering" },
@@ -4073,57 +4059,57 @@ const Hi = {
4073
4059
  timeZoneName: "short"
4074
4060
  }
4075
4061
  }
4076
- }, Ai = {
4062
+ }, wi = {
4077
4063
  fallbackLocale: null,
4078
4064
  loadingDelay: 200,
4079
- formats: Hi,
4065
+ formats: Ti,
4080
4066
  warnOnMissingMessages: !0,
4081
4067
  handleMissingMessage: void 0,
4082
4068
  ignoreTag: !0
4083
- }, Bi = Ai;
4069
+ }, Hi = wi;
4084
4070
  function K() {
4085
- return Bi;
4086
- }
4087
- const Me = Ee(!1);
4088
- var Pi = Object.defineProperty, Oi = Object.defineProperties, Ci = Object.getOwnPropertyDescriptors, wt = Object.getOwnPropertySymbols, Ii = Object.prototype.hasOwnProperty, Mi = Object.prototype.propertyIsEnumerable, Ht = (e, t, r) => t in e ? Pi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ni = (e, t) => {
4089
- for (var r in t || (t = {}))
4090
- Ii.call(t, r) && Ht(e, r, t[r]);
4091
- if (wt)
4092
- for (var r of wt(t))
4093
- Mi.call(t, r) && Ht(e, r, t[r]);
4071
+ return Hi;
4072
+ }
4073
+ const Ne = Ee(!1);
4074
+ var Ai = Object.defineProperty, Bi = Object.defineProperties, Pi = Object.getOwnPropertyDescriptors, St = Object.getOwnPropertySymbols, Oi = Object.prototype.hasOwnProperty, Ci = Object.prototype.propertyIsEnumerable, Tt = (e, t, r) => t in e ? Ai(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ni = (e, t) => {
4075
+ for (var r in t)
4076
+ Oi.call(t, r) && Tt(e, r, t[r]);
4077
+ if (St)
4078
+ for (var r of St(t))
4079
+ Ci.call(t, r) && Tt(e, r, t[r]);
4094
4080
  return e;
4095
- }, Li = (e, t) => Oi(e, Ci(t));
4096
- let Qe;
4097
- const ve = Ee(null);
4098
- function At(e) {
4081
+ }, Ii = (e, t) => Bi(e, Pi(t));
4082
+ let Ze;
4083
+ const ye = Ee(null);
4084
+ function wt(e) {
4099
4085
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4100
4086
  }
4101
4087
  function Se(e, t = K().fallbackLocale) {
4102
- const r = At(e);
4103
- return t ? [.../* @__PURE__ */ new Set([...r, ...At(t)])] : r;
4088
+ const r = wt(e);
4089
+ return t ? [.../* @__PURE__ */ new Set([...r, ...wt(t)])] : r;
4104
4090
  }
4105
4091
  function k() {
4106
- return Qe != null ? Qe : void 0;
4092
+ return Ze != null ? Ze : void 0;
4107
4093
  }
4108
- ve.subscribe((e) => {
4109
- Qe = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4094
+ ye.subscribe((e) => {
4095
+ Ze = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4110
4096
  });
4111
- const Ri = (e) => {
4112
- if (e && xi(e) && Ze(e)) {
4097
+ const Mi = (e) => {
4098
+ if (e && _i(e) && We(e)) {
4113
4099
  const { loadingDelay: t } = K();
4114
4100
  let r;
4115
4101
  return typeof window != "undefined" && k() != null && t ? r = window.setTimeout(
4116
- () => Me.set(!0),
4102
+ () => Ne.set(!0),
4117
4103
  t
4118
- ) : Me.set(!0), gr(e).then(() => {
4119
- ve.set(e);
4104
+ ) : Ne.set(!0), pr(e).then(() => {
4105
+ ye.set(e);
4120
4106
  }).finally(() => {
4121
- clearTimeout(r), Me.set(!1);
4107
+ clearTimeout(r), Ne.set(!1);
4122
4108
  });
4123
4109
  }
4124
- return ve.set(e);
4125
- }, he = Li(Ni({}, ve), {
4126
- set: Ri
4110
+ return ye.set(e);
4111
+ }, he = Ii(Ni({}, ye), {
4112
+ set: Mi
4127
4113
  }), Te = (e) => {
4128
4114
  const t = /* @__PURE__ */ Object.create(null);
4129
4115
  return (n) => {
@@ -4131,20 +4117,20 @@ const Ri = (e) => {
4131
4117
  return i in t ? t[i] : t[i] = e(n);
4132
4118
  };
4133
4119
  };
4134
- var Fi = Object.defineProperty, ye = Object.getOwnPropertySymbols, vr = Object.prototype.hasOwnProperty, yr = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? Fi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, et = (e, t) => {
4120
+ var Li = Object.defineProperty, ve = Object.getOwnPropertySymbols, mr = Object.prototype.hasOwnProperty, br = Object.prototype.propertyIsEnumerable, Ht = (e, t, r) => t in e ? Li(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, qe = (e, t) => {
4135
4121
  for (var r in t || (t = {}))
4136
- vr.call(t, r) && Bt(e, r, t[r]);
4137
- if (ye)
4138
- for (var r of ye(t))
4139
- yr.call(t, r) && Bt(e, r, t[r]);
4122
+ mr.call(t, r) && Ht(e, r, t[r]);
4123
+ if (ve)
4124
+ for (var r of ve(t))
4125
+ br.call(t, r) && Ht(e, r, t[r]);
4140
4126
  return e;
4141
4127
  }, te = (e, t) => {
4142
4128
  var r = {};
4143
4129
  for (var n in e)
4144
- vr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4145
- if (e != null && ye)
4146
- for (var n of ye(e))
4147
- t.indexOf(n) < 0 && yr.call(e, n) && (r[n] = e[n]);
4130
+ mr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4131
+ if (e != null && ve)
4132
+ for (var n of ve(e))
4133
+ t.indexOf(n) < 0 && br.call(e, n) && (r[n] = e[n]);
4148
4134
  return r;
4149
4135
  };
4150
4136
  const se = (e, t) => {
@@ -4152,21 +4138,21 @@ const se = (e, t) => {
4152
4138
  if (e in r && t in r[e])
4153
4139
  return r[e][t];
4154
4140
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4155
- }, $i = Te(
4141
+ }, Ri = Te(
4156
4142
  (e) => {
4157
4143
  var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
4158
4144
  if (r == null)
4159
4145
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4160
4146
  return n && (i = se("number", n)), new Intl.NumberFormat(r, i);
4161
4147
  }
4162
- ), Ui = Te(
4148
+ ), $i = Te(
4163
4149
  (e) => {
4164
4150
  var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
4165
4151
  if (r == null)
4166
4152
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4167
4153
  return n ? i = se("date", n) : Object.keys(i).length === 0 && (i = se("date", "short")), new Intl.DateTimeFormat(r, i);
4168
4154
  }
4169
- ), Di = Te(
4155
+ ), Fi = Te(
4170
4156
  (e) => {
4171
4157
  var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
4172
4158
  if (r == null)
@@ -4175,33 +4161,33 @@ const se = (e, t) => {
4175
4161
  );
4176
4162
  return n ? i = se("time", n) : Object.keys(i).length === 0 && (i = se("time", "short")), new Intl.DateTimeFormat(r, i);
4177
4163
  }
4178
- ), Gi = (e = {}) => {
4164
+ ), Ui = (e = {}) => {
4179
4165
  var t = e, {
4180
4166
  locale: r = k()
4181
4167
  } = t, n = te(t, [
4182
4168
  "locale"
4183
4169
  ]);
4184
- return $i(et({ locale: r }, n));
4185
- }, ji = (e = {}) => {
4170
+ return Ri(qe({ locale: r }, n));
4171
+ }, Di = (e = {}) => {
4186
4172
  var t = e, {
4187
4173
  locale: r = k()
4188
4174
  } = t, n = te(t, [
4189
4175
  "locale"
4190
4176
  ]);
4191
- return Ui(et({ locale: r }, n));
4192
- }, ki = (e = {}) => {
4177
+ return $i(qe({ locale: r }, n));
4178
+ }, Gi = (e = {}) => {
4193
4179
  var t = e, {
4194
4180
  locale: r = k()
4195
4181
  } = t, n = te(t, [
4196
4182
  "locale"
4197
4183
  ]);
4198
- return Di(et({ locale: r }, n));
4199
- }, Vi = Te(
4184
+ return Fi(qe({ locale: r }, n));
4185
+ }, ji = Te(
4200
4186
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4201
- (e, t = k()) => new gi(e, t, K().formats, {
4187
+ (e, t = k()) => new mi(e, t, K().formats, {
4202
4188
  ignoreTag: K().ignoreTag
4203
4189
  })
4204
- ), Xi = (e, t = {}) => {
4190
+ ), ki = (e, t = {}) => {
4205
4191
  var r, n, i, o;
4206
4192
  let s = t;
4207
4193
  typeof e == "object" && (s = e, e = s.id);
@@ -4214,7 +4200,7 @@ const se = (e, t) => {
4214
4200
  throw new Error(
4215
4201
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4216
4202
  );
4217
- let l = pr(e, h);
4203
+ let l = hr(e, h);
4218
4204
  if (!l)
4219
4205
  l = (o = (i = (n = (r = K()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4220
4206
  else if (typeof l != "string")
@@ -4225,7 +4211,7 @@ const se = (e, t) => {
4225
4211
  return l;
4226
4212
  let c = l;
4227
4213
  try {
4228
- c = Vi(l, h).format(a);
4214
+ c = ji(l, h).format(a);
4229
4215
  } catch (f) {
4230
4216
  f instanceof Error && console.warn(
4231
4217
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4233,17 +4219,17 @@ const se = (e, t) => {
4233
4219
  );
4234
4220
  }
4235
4221
  return c;
4236
- }, zi = (e, t) => ki(t).format(e), Wi = (e, t) => ji(t).format(e), Zi = (e, t) => Gi(t).format(e), Qi = (e, t = k()) => pr(e, t), Ji = ee([he, le], () => Xi);
4222
+ }, Vi = (e, t) => Gi(t).format(e), Xi = (e, t) => Di(t).format(e), zi = (e, t) => Ui(t).format(e), Wi = (e, t = k()) => hr(e, t), Zi = ee([he, le], () => ki);
4223
+ ee([he], () => Vi);
4224
+ ee([he], () => Xi);
4237
4225
  ee([he], () => zi);
4238
- ee([he], () => Wi);
4239
- ee([he], () => Zi);
4240
- ee([he, le], () => Qi);
4241
- window.emWidgets = { topic: hn };
4226
+ ee([he, le], () => Wi);
4227
+ window.emWidgets = { topic: an };
4242
4228
  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));
4243
- function Pt(e, t) {
4244
- dr(e, t);
4229
+ function At(e, t) {
4230
+ cr(e, t);
4245
4231
  }
4246
- const Ot = {
4232
+ const Bt = {
4247
4233
  en: {
4248
4234
  tournaments: "Tournaments",
4249
4235
  all: "All",
@@ -4322,13 +4308,13 @@ const Ot = {
4322
4308
  finished: "Finished"
4323
4309
  }
4324
4310
  };
4325
- function Yi(e, t) {
4311
+ function Qi(e, t) {
4326
4312
  if (e) {
4327
4313
  const r = document.createElement("style");
4328
4314
  r.innerHTML = t, e.appendChild(r);
4329
4315
  }
4330
4316
  }
4331
- function qi(e, t) {
4317
+ function Ji(e, t) {
4332
4318
  const r = new URL(t);
4333
4319
  fetch(r.href).then((n) => n.text()).then((n) => {
4334
4320
  const i = document.createElement("style");
@@ -4337,7 +4323,7 @@ function qi(e, t) {
4337
4323
  console.error("There was an error while trying to load client styling from URL", n);
4338
4324
  });
4339
4325
  }
4340
- function Ki(e, t, r) {
4326
+ function Yi(e, t, r) {
4341
4327
  if (window.emMessageBus) {
4342
4328
  const n = document.createElement("style");
4343
4329
  window.emMessageBus.subscribe(t, (i) => {
@@ -4345,23 +4331,23 @@ function Ki(e, t, r) {
4345
4331
  });
4346
4332
  }
4347
4333
  }
4348
- function eo(e) {
4349
- Ar(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
+ function qi(e) {
4335
+ Tr(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)}");
4350
4336
  }
4351
- function Ct(e, t, r) {
4337
+ function Pt(e, t, r) {
4352
4338
  const n = e.slice();
4353
4339
  return n[21] = t[r], n[23] = r, n;
4354
4340
  }
4355
- function It(e) {
4341
+ function Ot(e) {
4356
4342
  let t, r, n = (
4357
4343
  /*$_*/
4358
4344
  e[4]("tournaments") + ""
4359
- ), i, o, s, a, h = ut(
4345
+ ), i, o, s, a, h = st(
4360
4346
  /*filterItems*/
4361
4347
  e[1]
4362
4348
  ), u = [];
4363
4349
  for (let l = 0; l < h.length; l += 1)
4364
- u[l] = $t(Ct(e, h, l));
4350
+ u[l] = Rt(Pt(e, h, l));
4365
4351
  return {
4366
4352
  c() {
4367
4353
  t = L("ul"), r = L("li"), i = j(n), o = j(":"), s = z(), a = L("ul");
@@ -4382,7 +4368,7 @@ function It(e) {
4382
4368
  ) ? "MobileClass" : "Non-MobileClass/empty"));
4383
4369
  },
4384
4370
  m(l, c) {
4385
- F(l, t, c), B(t, r), B(r, i), B(r, o), B(t, s), B(t, a);
4371
+ $(l, t, c), B(t, r), B(r, i), B(r, o), B(t, s), B(t, a);
4386
4372
  for (let f = 0; f < u.length; f += 1)
4387
4373
  u[f] && u[f].m(a, null);
4388
4374
  },
@@ -4391,14 +4377,14 @@ function It(e) {
4391
4377
  16 && n !== (n = /*$_*/
4392
4378
  l[4]("tournaments") + "") && ue(i, n), c & /*makeButtonActive, filterItems, activeIndexes, allActive, userAgent, $_*/
4393
4379
  126) {
4394
- h = ut(
4380
+ h = st(
4395
4381
  /*filterItems*/
4396
4382
  l[1]
4397
4383
  );
4398
4384
  let f;
4399
4385
  for (f = 0; f < h.length; f += 1) {
4400
- const p = Ct(l, h, f);
4401
- u[f] ? u[f].p(p, c) : (u[f] = $t(p), u[f].c(), u[f].m(a, null));
4386
+ const d = Pt(l, h, f);
4387
+ u[f] ? u[f].p(d, c) : (u[f] = Rt(d), u[f].c(), u[f].m(a, null));
4402
4388
  }
4403
4389
  for (; f < u.length; f += 1)
4404
4390
  u[f].d(1);
@@ -4406,21 +4392,21 @@ function It(e) {
4406
4392
  }
4407
4393
  },
4408
4394
  d(l) {
4409
- l && M(t), Or(u, l);
4395
+ l && I(t), Ar(u, l);
4410
4396
  }
4411
4397
  };
4412
4398
  }
4413
- function Mt(e) {
4399
+ function Ct(e) {
4414
4400
  let t, r;
4415
4401
  return {
4416
4402
  c() {
4417
- t = st("svg"), r = st("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");
4403
+ t = it("svg"), r = it("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");
4418
4404
  },
4419
4405
  m(n, i) {
4420
- F(n, t, i), B(t, r);
4406
+ $(n, t, i), B(t, r);
4421
4407
  },
4422
4408
  d(n) {
4423
- n && M(t);
4409
+ n && I(t);
4424
4410
  }
4425
4411
  };
4426
4412
  }
@@ -4434,7 +4420,7 @@ function Nt(e) {
4434
4420
  r = j(t);
4435
4421
  },
4436
4422
  m(n, i) {
4437
- F(n, r, i);
4423
+ $(n, r, i);
4438
4424
  },
4439
4425
  p(n, i) {
4440
4426
  i & /*$_*/
@@ -4442,11 +4428,11 @@ function Nt(e) {
4442
4428
  n[4]("scheduled") + "") && ue(r, t);
4443
4429
  },
4444
4430
  d(n) {
4445
- n && M(r);
4431
+ n && I(r);
4446
4432
  }
4447
4433
  };
4448
4434
  }
4449
- function Lt(e) {
4435
+ function It(e) {
4450
4436
  let t = (
4451
4437
  /*$_*/
4452
4438
  e[4]("ongoing") + ""
@@ -4456,7 +4442,7 @@ function Lt(e) {
4456
4442
  r = j(t);
4457
4443
  },
4458
4444
  m(n, i) {
4459
- F(n, r, i);
4445
+ $(n, r, i);
4460
4446
  },
4461
4447
  p(n, i) {
4462
4448
  i & /*$_*/
@@ -4464,11 +4450,11 @@ function Lt(e) {
4464
4450
  n[4]("ongoing") + "") && ue(r, t);
4465
4451
  },
4466
4452
  d(n) {
4467
- n && M(r);
4453
+ n && I(r);
4468
4454
  }
4469
4455
  };
4470
4456
  }
4471
- function Rt(e) {
4457
+ function Mt(e) {
4472
4458
  let t = (
4473
4459
  /*$_*/
4474
4460
  e[4]("finished") + ""
@@ -4478,7 +4464,7 @@ function Rt(e) {
4478
4464
  r = j(t);
4479
4465
  },
4480
4466
  m(n, i) {
4481
- F(n, r, i);
4467
+ $(n, r, i);
4482
4468
  },
4483
4469
  p(n, i) {
4484
4470
  i & /*$_*/
@@ -4486,11 +4472,11 @@ function Rt(e) {
4486
4472
  n[4]("finished") + "") && ue(r, t);
4487
4473
  },
4488
4474
  d(n) {
4489
- n && M(r);
4475
+ n && I(r);
4490
4476
  }
4491
4477
  };
4492
4478
  }
4493
- function Ft(e) {
4479
+ function Lt(e) {
4494
4480
  let t = (
4495
4481
  /*$_*/
4496
4482
  e[4]("all") + ""
@@ -4500,7 +4486,7 @@ function Ft(e) {
4500
4486
  r = j(t);
4501
4487
  },
4502
4488
  m(n, i) {
4503
- F(n, r, i);
4489
+ $(n, r, i);
4504
4490
  },
4505
4491
  p(n, i) {
4506
4492
  i & /*$_*/
@@ -4508,33 +4494,33 @@ function Ft(e) {
4508
4494
  n[4]("all") + "") && ue(r, t);
4509
4495
  },
4510
4496
  d(n) {
4511
- n && M(r);
4497
+ n && I(r);
4512
4498
  }
4513
4499
  };
4514
4500
  }
4515
- function $t(e) {
4516
- let t, r, n, i, o, s, a, h, u, l, c, f, p = (
4501
+ function Rt(e) {
4502
+ let t, r, n, i, o, s, a, h, u, l, c, f, d = (
4517
4503
  /*activeIndexes*/
4518
4504
  (e[2][
4519
4505
  /*index*/
4520
4506
  e[23]
4521
4507
  ] == 1 || /*allActive*/
4522
4508
  e[3] && /*index*/
4523
- e[23] == 0) && Mt()
4524
- ), m = (
4509
+ e[23] == 0) && Ct()
4510
+ ), p = (
4525
4511
  /*filter*/
4526
4512
  e[21] == "Scheduled" && Nt(e)
4527
- ), d = (
4513
+ ), m = (
4528
4514
  /*filter*/
4529
- e[21] == "Ongoing" && Lt(e)
4515
+ e[21] == "Ongoing" && It(e)
4530
4516
  ), _ = (
4531
4517
  /*filter*/
4532
- e[21] == "Finished" && Rt(e)
4518
+ e[21] == "Finished" && Mt(e)
4533
4519
  ), x = (
4534
4520
  /*filter*/
4535
- e[21] == "All" && Ft(e)
4521
+ e[21] == "All" && Lt(e)
4536
4522
  );
4537
- function I() {
4523
+ function N() {
4538
4524
  return (
4539
4525
  /*click_handler*/
4540
4526
  e[13](
@@ -4547,7 +4533,7 @@ function $t(e) {
4547
4533
  }
4548
4534
  return {
4549
4535
  c() {
4550
- t = L("li"), r = L("button"), p && p.c(), n = z(), i = L("div"), m && m.c(), o = z(), d && d.c(), s = z(), _ && _.c(), a = z(), x && x.c(), l = z(), S(i, "class", "FilterButton " + (O(
4536
+ t = L("li"), r = L("button"), d && d.c(), n = z(), i = L("div"), p && p.c(), o = z(), m && m.c(), s = z(), _ && _.c(), a = z(), x && x.c(), l = z(), S(i, "class", "FilterButton " + (O(
4551
4537
  /*userAgent*/
4552
4538
  e[5]
4553
4539
  ) ? "MobileClass" : "Non-MobileClass/empty")), S(i, "part", "FilterButton " + (O(
@@ -4574,7 +4560,7 @@ function $t(e) {
4574
4560
  ) ? "MobileClass" : "Non-MobileClass/empty")), S(t, "class", "FiltersItem"), S(t, "part", "FiltersItem");
4575
4561
  },
4576
4562
  m(T, H) {
4577
- F(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 = Cr(t, "click", I), c = !0);
4563
+ $(T, t, H), B(t, r), d && d.m(r, null), B(r, n), B(r, i), p && p.m(i, null), B(i, o), m && m.m(i, null), B(i, s), _ && _.m(i, null), B(i, a), x && x.m(i, null), B(t, l), c || (f = Br(t, "click", N), c = !0);
4578
4564
  },
4579
4565
  p(T, H) {
4580
4566
  e = T, /*activeIndexes*/
@@ -4583,11 +4569,11 @@ function $t(e) {
4583
4569
  e[23]
4584
4570
  ] == 1 || /*allActive*/
4585
4571
  e[3] && /*index*/
4586
- e[23] == 0 ? p || (p = Mt(), p.c(), p.m(r, n)) : p && (p.d(1), p = null), /*filter*/
4587
- e[21] == "Scheduled" ? m ? m.p(e, H) : (m = Nt(e), m.c(), m.m(i, o)) : m && (m.d(1), m = null), /*filter*/
4588
- e[21] == "Ongoing" ? d ? d.p(e, H) : (d = Lt(e), d.c(), d.m(i, s)) : d && (d.d(1), d = null), /*filter*/
4589
- e[21] == "Finished" ? _ ? _.p(e, H) : (_ = Rt(e), _.c(), _.m(i, a)) : _ && (_.d(1), _ = null), /*filter*/
4590
- e[21] == "All" ? x ? x.p(e, H) : (x = Ft(e), x.c(), x.m(i, null)) : x && (x.d(1), x = null), H & /*activeIndexes, allActive*/
4572
+ e[23] == 0 ? d || (d = Ct(), d.c(), d.m(r, n)) : d && (d.d(1), d = null), /*filter*/
4573
+ e[21] == "Scheduled" ? p ? p.p(e, H) : (p = Nt(e), p.c(), p.m(i, o)) : p && (p.d(1), p = null), /*filter*/
4574
+ e[21] == "Ongoing" ? m ? m.p(e, H) : (m = It(e), m.c(), m.m(i, s)) : m && (m.d(1), m = null), /*filter*/
4575
+ e[21] == "Finished" ? _ ? _.p(e, H) : (_ = Mt(e), _.c(), _.m(i, a)) : _ && (_.d(1), _ = null), /*filter*/
4576
+ e[21] == "All" ? x ? x.p(e, H) : (x = Lt(e), x.c(), x.m(i, null)) : x && (x.d(1), x = null), H & /*activeIndexes, allActive*/
4591
4577
  12 && h !== (h = /*activeIndexes*/
4592
4578
  (e[2][
4593
4579
  /*index*/
@@ -4610,14 +4596,14 @@ function $t(e) {
4610
4596
  ) ? "MobileClass" : "Non-MobileClass/empty")) && S(r, "part", u);
4611
4597
  },
4612
4598
  d(T) {
4613
- T && M(t), p && p.d(), m && m.d(), d && d.d(), _ && _.d(), x && x.d(), c = !1, f();
4599
+ T && I(t), d && d.d(), p && p.d(), m && m.d(), _ && _.d(), x && x.d(), c = !1, f();
4614
4600
  }
4615
4601
  };
4616
4602
  }
4617
- function to(e) {
4603
+ function Ki(e) {
4618
4604
  let t, r = (
4619
4605
  /*filterItems*/
4620
- e[1].length > 0 && It(e)
4606
+ e[1].length > 0 && Ot(e)
4621
4607
  );
4622
4608
  return {
4623
4609
  c() {
@@ -4630,45 +4616,45 @@ function to(e) {
4630
4616
  ) ? "MobileClass" : "Non-MobileClass/empty"));
4631
4617
  },
4632
4618
  m(n, i) {
4633
- F(n, t, i), r && r.m(t, null), e[14](t);
4619
+ $(n, t, i), r && r.m(t, null), e[14](t);
4634
4620
  },
4635
4621
  p(n, [i]) {
4636
4622
  /*filterItems*/
4637
- n[1].length > 0 ? r ? r.p(n, i) : (r = It(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
4623
+ n[1].length > 0 ? r ? r.p(n, i) : (r = Ot(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
4638
4624
  },
4639
4625
  i: C,
4640
4626
  o: C,
4641
4627
  d(n) {
4642
- n && M(t), r && r.d(), e[14](null);
4628
+ n && I(t), r && r.d(), e[14](null);
4643
4629
  }
4644
4630
  };
4645
4631
  }
4646
- function ro(e, t, r) {
4632
+ function eo(e, t, r) {
4647
4633
  let n;
4648
- Hr(e, Ji, (v) => r(4, n = v));
4649
- 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
+ Sr(e, Zi, (y) => r(4, n = y));
4635
+ let { filters: i = "" } = t, { activefilters: o = "" } = t, { translationurl: s = "" } = t, { clientstyling: a = "" } = t, { clientstylingurl: h = "" } = t, { mbsource: u } = t, l, c = [], f = 0, d = new Array(100), p = !0, m = window.navigator.userAgent;
4650
4636
  const _ = () => {
4651
4637
  fetch(s).then((w) => w.json()).then((w) => {
4652
4638
  Object.keys(w).forEach((U) => {
4653
- Pt(U, w[U]);
4639
+ At(U, w[U]);
4654
4640
  });
4655
4641
  }).catch((w) => {
4656
4642
  console.log(w);
4657
4643
  });
4658
4644
  };
4659
- Object.keys(Ot).forEach((v) => {
4660
- Pt(v, Ot[v]);
4645
+ Object.keys(Bt).forEach((y) => {
4646
+ At(y, Bt[y]);
4661
4647
  });
4662
- const x = (v, w) => {
4648
+ const x = (y, w) => {
4663
4649
  if (w == 0)
4664
- r(3, m = !0), r(2, p = new Array(f)), window.postMessage(
4650
+ r(3, p = !0), r(2, d = new Array(f)), window.postMessage(
4665
4651
  {
4666
4652
  type: "TournamentsFiltersSelected",
4667
4653
  filters: ["All"]
4668
4654
  },
4669
4655
  window.location.href
4670
4656
  );
4671
- else if (r(3, m = !1), p[w] == 1 ? (r(2, p[w] = 0, p), p.indexOf(1) == -1 && r(3, m = !0)) : r(2, p[w] = 1, p), p.indexOf(1) == -1)
4657
+ else if (r(3, p = !1), d[w] == 1 ? (r(2, d[w] = 0, d), d.indexOf(1) == -1 && r(3, p = !0)) : r(2, d[w] = 1, d), d.indexOf(1) == -1)
4672
4658
  window.postMessage(
4673
4659
  {
4674
4660
  type: "TournamentsFiltersSelected",
@@ -4679,7 +4665,7 @@ function ro(e, t, r) {
4679
4665
  else {
4680
4666
  let U = [];
4681
4667
  for (let fe = 0; fe < c.length; fe++)
4682
- p[fe] == 1 && U.push(c[fe]);
4668
+ d[fe] == 1 && U.push(c[fe]);
4683
4669
  window.postMessage(
4684
4670
  {
4685
4671
  type: "TournamentsFiltersSelected",
@@ -4688,40 +4674,40 @@ function ro(e, t, r) {
4688
4674
  window.location.href
4689
4675
  );
4690
4676
  }
4691
- }, I = () => {
4677
+ }, N = () => {
4692
4678
  r(1, c = i.split(",")), f = c.length;
4693
4679
  }, T = () => {
4694
- let v = o.split(",");
4695
- r(2, p = new Array(f)), v.indexOf("All") != -1 ? r(3, m = !0) : (r(3, m = !1), v.forEach((w) => {
4680
+ let y = o.split(",");
4681
+ r(2, d = new Array(f)), y.indexOf("All") != -1 ? r(3, p = !0) : (r(3, p = !1), y.forEach((w) => {
4696
4682
  let U = c.indexOf(w);
4697
- U > 0 && r(2, p[U] = 1, p);
4683
+ U > 0 && r(2, d[U] = 1, d);
4698
4684
  }));
4699
4685
  };
4700
- Lr(() => () => {
4686
+ Nr(() => () => {
4701
4687
  });
4702
- const H = (v, w) => x(v, w);
4703
- function N(v) {
4704
- Ne[v ? "unshift" : "push"](() => {
4705
- l = v, r(0, l);
4688
+ const H = (y, w) => x(y, w);
4689
+ function M(y) {
4690
+ Ie[y ? "unshift" : "push"](() => {
4691
+ l = y, r(0, l);
4706
4692
  });
4707
4693
  }
4708
- return e.$$set = (v) => {
4709
- "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
+ return e.$$set = (y) => {
4695
+ "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);
4710
4696
  }, e.$$.update = () => {
4711
4697
  e.$$.dirty & /*translationurl*/
4712
4698
  512 && s && _(), e.$$.dirty & /*filters*/
4713
- 128 && i && I(), e.$$.dirty & /*activefilters*/
4699
+ 128 && i && N(), e.$$.dirty & /*activefilters*/
4714
4700
  256 && o && T(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4715
- 1025 && a && l && Yi(l, a), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4716
- 2049 && h && l && qi(l, h), e.$$.dirty & /*mbsource, customStylingContainer*/
4717
- 4097 && u && l && Ki(l, `${u}.Style`);
4701
+ 1025 && a && l && Qi(l, a), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4702
+ 2049 && h && l && Ji(l, h), e.$$.dirty & /*mbsource, customStylingContainer*/
4703
+ 4097 && u && l && Yi(l, `${u}.Style`);
4718
4704
  }, [
4719
4705
  l,
4720
4706
  c,
4707
+ d,
4721
4708
  p,
4722
- m,
4723
4709
  n,
4724
- d,
4710
+ m,
4725
4711
  x,
4726
4712
  i,
4727
4713
  o,
@@ -4730,17 +4716,17 @@ function ro(e, t, r) {
4730
4716
  h,
4731
4717
  u,
4732
4718
  H,
4733
- N
4719
+ M
4734
4720
  ];
4735
4721
  }
4736
- class no extends Wr {
4722
+ class to extends Vr {
4737
4723
  constructor(t) {
4738
- super(), Xr(
4724
+ super(), jr(
4739
4725
  this,
4740
4726
  t,
4741
- ro,
4742
- to,
4743
- Dt,
4727
+ eo,
4728
+ Ki,
4729
+ Ft,
4744
4730
  {
4745
4731
  filters: 7,
4746
4732
  activefilters: 8,
@@ -4749,7 +4735,7 @@ class no extends Wr {
4749
4735
  clientstylingurl: 11,
4750
4736
  mbsource: 12
4751
4737
  },
4752
- eo
4738
+ qi
4753
4739
  );
4754
4740
  }
4755
4741
  get filters() {
@@ -4789,7 +4775,7 @@ class no extends Wr {
4789
4775
  this.$$set({ mbsource: t }), D();
4790
4776
  }
4791
4777
  }
4792
- zr(no, { filters: {}, activefilters: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
4778
+ kr(to, { filters: {}, activefilters: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
4793
4779
  export {
4794
- no as default
4780
+ to as default
4795
4781
  };