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

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