@everymatrix/casino-tournaments-tab 1.75.1 → 1.76.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,14 +2,14 @@ var pr = Object.defineProperty, mr = Object.defineProperties;
2
2
  var dr = Object.getOwnPropertyDescriptors;
3
3
  var se = Object.getOwnPropertySymbols;
4
4
  var tt = Object.prototype.hasOwnProperty, rt = Object.prototype.propertyIsEnumerable;
5
- var xe = (e, t, r) => t in e ? pr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Z = (e, t) => {
5
+ var Se = (e, t, r) => t in e ? pr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, $ = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- tt.call(t, r) && xe(e, r, t[r]);
7
+ tt.call(t, r) && Se(e, r, t[r]);
8
8
  if (se)
9
9
  for (var r of se(t))
10
- rt.call(t, r) && xe(e, r, t[r]);
10
+ rt.call(t, r) && Se(e, r, t[r]);
11
11
  return e;
12
- }, Se = (e, t) => mr(e, dr(t));
12
+ }, ae = (e, t) => mr(e, dr(t));
13
13
  var nt = (e, t) => {
14
14
  var r = {};
15
15
  for (var n in e)
@@ -19,7 +19,7 @@ var nt = (e, t) => {
19
19
  t.indexOf(n) < 0 && rt.call(e, n) && (r[n] = e[n]);
20
20
  return r;
21
21
  };
22
- var x = (e, t, r) => (xe(e, typeof t != "symbol" ? t + "" : t, r), r);
22
+ var x = (e, t, r) => (Se(e, typeof t != "symbol" ? t + "" : t, r), r);
23
23
  var it = (e, t, r) => new Promise((n, i) => {
24
24
  var o = (h) => {
25
25
  try {
@@ -38,14 +38,14 @@ var it = (e, t, r) => new Promise((n, i) => {
38
38
  });
39
39
  function w() {
40
40
  }
41
- function Lt(e) {
41
+ function Nt(e) {
42
42
  return e();
43
43
  }
44
44
  function ot() {
45
45
  return /* @__PURE__ */ Object.create(null);
46
46
  }
47
47
  function ee(e) {
48
- e.forEach(Lt);
48
+ e.forEach(Nt);
49
49
  }
50
50
  function Je(e) {
51
51
  return typeof e == "function";
@@ -95,7 +95,7 @@ function _r(e, t) {
95
95
  function te(e, t, r) {
96
96
  e.insertBefore(t, r || null);
97
97
  }
98
- function V(e) {
98
+ function X(e) {
99
99
  e.parentNode && e.parentNode.removeChild(e);
100
100
  }
101
101
  function Er(e, t) {
@@ -145,42 +145,42 @@ function wr() {
145
145
  function $t(e) {
146
146
  wr().$$.on_mount.push(e);
147
147
  }
148
- const U = [], Ne = [];
149
- let D = [];
148
+ const D = [], Le = [];
149
+ let G = [];
150
150
  const at = [], Hr = /* @__PURE__ */ Promise.resolve();
151
- let Le = !1;
151
+ let Ne = !1;
152
152
  function Br() {
153
- Le || (Le = !0, Hr.then(P));
153
+ Ne || (Ne = !0, Hr.then(P));
154
154
  }
155
155
  function Ce(e) {
156
- D.push(e);
156
+ G.push(e);
157
157
  }
158
158
  const Te = /* @__PURE__ */ new Set();
159
- let $ = 0;
159
+ let R = 0;
160
160
  function P() {
161
- if ($ !== 0)
161
+ if (R !== 0)
162
162
  return;
163
163
  const e = Y;
164
164
  do {
165
165
  try {
166
- for (; $ < U.length; ) {
167
- const t = U[$];
168
- $++, J(t), Ar(t.$$);
166
+ for (; R < D.length; ) {
167
+ const t = D[R];
168
+ R++, J(t), Ar(t.$$);
169
169
  }
170
170
  } catch (t) {
171
- throw U.length = 0, $ = 0, t;
171
+ throw D.length = 0, R = 0, t;
172
172
  }
173
- for (J(null), U.length = 0, $ = 0; Ne.length; )
174
- Ne.pop()();
175
- for (let t = 0; t < D.length; t += 1) {
176
- const r = D[t];
173
+ for (J(null), D.length = 0, R = 0; Le.length; )
174
+ Le.pop()();
175
+ for (let t = 0; t < G.length; t += 1) {
176
+ const r = G[t];
177
177
  Te.has(r) || (Te.add(r), r());
178
178
  }
179
- D.length = 0;
180
- } while (U.length);
179
+ G.length = 0;
180
+ } while (D.length);
181
181
  for (; at.length; )
182
182
  at.pop()();
183
- Le = !1, Te.clear(), J(e);
183
+ Ne = !1, Te.clear(), J(e);
184
184
  }
185
185
  function Ar(e) {
186
186
  if (e.fragment !== null) {
@@ -191,7 +191,7 @@ function Ar(e) {
191
191
  }
192
192
  function Pr(e) {
193
193
  const t = [], r = [];
194
- D.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), D = t;
194
+ G.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), G = t;
195
195
  }
196
196
  const Or = /* @__PURE__ */ new Set();
197
197
  function Ir(e, t) {
@@ -200,19 +200,19 @@ function Ir(e, t) {
200
200
  function ut(e) {
201
201
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
202
202
  }
203
- function Nr(e, t, r) {
203
+ function Lr(e, t, r) {
204
204
  const { fragment: n, after_update: i } = e.$$;
205
205
  n && n.m(t, r), Ce(() => {
206
- const o = e.$$.on_mount.map(Lt).filter(Je);
206
+ const o = e.$$.on_mount.map(Nt).filter(Je);
207
207
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ee(o), e.$$.on_mount = [];
208
208
  }), i.forEach(Ce);
209
209
  }
210
- function Lr(e, t) {
210
+ function Nr(e, t) {
211
211
  const r = e.$$;
212
212
  r.fragment !== null && (Pr(r.after_update), ee(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
213
213
  }
214
214
  function Cr(e, t) {
215
- e.$$.dirty[0] === -1 && (U.push(e), Br(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
215
+ e.$$.dirty[0] === -1 && (D.push(e), Br(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
216
216
  }
217
217
  function Mr(e, t, r, n, i, o, s = null, a = [-1]) {
218
218
  const h = Y;
@@ -246,10 +246,10 @@ function Mr(e, t, r, n, i, o, s = null, a = [-1]) {
246
246
  }) : [], u.update(), l = !0, ee(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
247
247
  if (t.hydrate) {
248
248
  const f = Sr(t.target);
249
- u.fragment && u.fragment.l(f), f.forEach(V);
249
+ u.fragment && u.fragment.l(f), f.forEach(X);
250
250
  } else
251
251
  u.fragment && u.fragment.c();
252
- t.intro && Ir(e.$$.fragment), Nr(e, t.target, t.anchor), P();
252
+ t.intro && Ir(e.$$.fragment), Lr(e, t.target, t.anchor), P();
253
253
  }
254
254
  J(h);
255
255
  }
@@ -308,7 +308,7 @@ typeof HTMLElement == "function" && (Rt = class extends HTMLElement {
308
308
  te(u, s, l);
309
309
  },
310
310
  d: function(u) {
311
- u && V(s);
311
+ u && X(s);
312
312
  }
313
313
  };
314
314
  };
@@ -320,13 +320,13 @@ typeof HTMLElement == "function" && (Rt = class extends HTMLElement {
320
320
  o in n && (r[o] = [t(o)]);
321
321
  for (const o of this.attributes) {
322
322
  const s = this.$$g_p(o.name);
323
- s in this.$$d || (this.$$d[s] = he(s, o.value, this.$$p_d, "toProp"));
323
+ s in this.$$d || (this.$$d[s] = le(s, o.value, this.$$p_d, "toProp"));
324
324
  }
325
325
  for (const o in this.$$p_d)
326
326
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
327
327
  this.$$c = new this.$$ctor({
328
328
  target: this.shadowRoot || this,
329
- props: Se(Z({}, this.$$d), {
329
+ props: ae($({}, this.$$d), {
330
330
  $$slots: r,
331
331
  $$scope: {
332
332
  ctx: []
@@ -337,7 +337,7 @@ typeof HTMLElement == "function" && (Rt = class extends HTMLElement {
337
337
  this.$$r = !0;
338
338
  for (const o in this.$$p_d)
339
339
  if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
340
- const s = he(
340
+ const s = le(
341
341
  o,
342
342
  this.$$d[o],
343
343
  this.$$p_d,
@@ -361,7 +361,7 @@ typeof HTMLElement == "function" && (Rt = class extends HTMLElement {
361
361
  // and setting attributes through setAttribute etc, this is helpful
362
362
  attributeChangedCallback(t, r, n) {
363
363
  var i;
364
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = he(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
364
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = le(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
365
365
  }
366
366
  disconnectedCallback() {
367
367
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -374,7 +374,7 @@ typeof HTMLElement == "function" && (Rt = class extends HTMLElement {
374
374
  ) || t;
375
375
  }
376
376
  });
377
- function he(e, t, r, n) {
377
+ function le(e, t, r, n) {
378
378
  var o;
379
379
  const i = (o = r[e]) == null ? void 0 : o.type;
380
380
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
@@ -422,7 +422,7 @@ function $r(e, t, r, n, i, o) {
422
422
  },
423
423
  set(h) {
424
424
  var u;
425
- h = he(a, h, t), this.$$d[a] = h, (u = this.$$c) == null || u.$set({ [a]: h });
425
+ h = le(a, h, t), this.$$d[a] = h, (u = this.$$c) == null || u.$set({ [a]: h });
426
426
  }
427
427
  });
428
428
  }), n.forEach((a) => {
@@ -456,7 +456,7 @@ class Rr {
456
456
  }
457
457
  /** @returns {void} */
458
458
  $destroy() {
459
- Lr(this, 1), this.$destroy = w;
459
+ Nr(this, 1), this.$destroy = w;
460
460
  }
461
461
  /**
462
462
  * @template {Extract<keyof Events, string>} K
@@ -589,7 +589,7 @@ function De(e, t) {
589
589
  0 <= r && e.splice(r, 1);
590
590
  }
591
591
  }
592
- var be = function() {
592
+ var ge = function() {
593
593
  function e(t) {
594
594
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
595
595
  }
@@ -605,8 +605,8 @@ var be = function() {
605
605
  var u = h.value;
606
606
  u.remove(this);
607
607
  }
608
- } catch (g) {
609
- t = { error: g };
608
+ } catch (v) {
609
+ t = { error: v };
610
610
  } finally {
611
611
  try {
612
612
  h && !h.done && (r = a.return) && r.call(a);
@@ -621,8 +621,8 @@ var be = function() {
621
621
  if (A(l))
622
622
  try {
623
623
  l();
624
- } catch (g) {
625
- o = g instanceof we ? g.errors : [g];
624
+ } catch (v) {
625
+ o = v instanceof we ? v.errors : [v];
626
626
  }
627
627
  var f = this._finalizers;
628
628
  if (f) {
@@ -632,12 +632,12 @@ var be = function() {
632
632
  var d = p.value;
633
633
  try {
634
634
  ht(d);
635
- } catch (g) {
636
- o = o != null ? o : [], g instanceof we ? o = Ue(Ue([], Re(o)), Re(g.errors)) : o.push(g);
635
+ } catch (v) {
636
+ o = o != null ? o : [], v instanceof we ? o = Ue(Ue([], Re(o)), Re(v.errors)) : o.push(v);
637
637
  }
638
638
  }
639
- } catch (g) {
640
- n = { error: g };
639
+ } catch (v) {
640
+ n = { error: v };
641
641
  } finally {
642
642
  try {
643
643
  p && !p.done && (i = c.return) && i.call(c);
@@ -679,9 +679,9 @@ var be = function() {
679
679
  var t = new e();
680
680
  return t.closed = !0, t;
681
681
  }(), e;
682
- }(), Dt = be.EMPTY;
682
+ }(), Dt = ge.EMPTY;
683
683
  function Gt(e) {
684
- return e instanceof be || e && "closed" in e && A(e.remove) && A(e.add) && A(e.unsubscribe);
684
+ return e instanceof ge || e && "closed" in e && A(e.remove) && A(e.add) && A(e.unsubscribe);
685
685
  }
686
686
  function ht(e) {
687
687
  A(e) ? e() : e.unsubscribe();
@@ -706,7 +706,7 @@ function kr(e) {
706
706
  }
707
707
  function lt() {
708
708
  }
709
- function le(e) {
709
+ function fe(e) {
710
710
  e();
711
711
  }
712
712
  var Ft = function(e) {
@@ -740,7 +740,7 @@ var Ft = function(e) {
740
740
  this.unsubscribe();
741
741
  }
742
742
  }, t;
743
- }(be), Vr = function() {
743
+ }(ge), Vr = function() {
744
744
  function e(t) {
745
745
  this.partialObserver = t;
746
746
  }
@@ -750,7 +750,7 @@ var Ft = function(e) {
750
750
  try {
751
751
  r.next(t);
752
752
  } catch (n) {
753
- ae(n);
753
+ ue(n);
754
754
  }
755
755
  }, e.prototype.error = function(t) {
756
756
  var r = this.partialObserver;
@@ -758,17 +758,17 @@ var Ft = function(e) {
758
758
  try {
759
759
  r.error(t);
760
760
  } catch (n) {
761
- ae(n);
761
+ ue(n);
762
762
  }
763
763
  else
764
- ae(t);
764
+ ue(t);
765
765
  }, e.prototype.complete = function() {
766
766
  var t = this.partialObserver;
767
767
  if (t.complete)
768
768
  try {
769
769
  t.complete();
770
770
  } catch (r) {
771
- ae(r);
771
+ ue(r);
772
772
  }
773
773
  }, e;
774
774
  }(), Ge = function(e) {
@@ -783,7 +783,7 @@ var Ft = function(e) {
783
783
  }
784
784
  return t;
785
785
  }(Ft);
786
- function ae(e) {
786
+ function ue(e) {
787
787
  kr(e);
788
788
  }
789
789
  function Xr(e) {
@@ -816,7 +816,7 @@ var ft = function() {
816
816
  return r.source = this, r.operator = t, r;
817
817
  }, e.prototype.subscribe = function(t, r, n) {
818
818
  var i = this, o = Yr(t) ? t : new Ge(t, r, n);
819
- return le(function() {
819
+ return fe(function() {
820
820
  var s = i, a = s.operator, h = s.source;
821
821
  o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
822
822
  }), o;
@@ -895,7 +895,7 @@ var qr = Ut(function(e) {
895
895
  throw new qr();
896
896
  }, t.prototype.next = function(r) {
897
897
  var n = this;
898
- le(function() {
898
+ fe(function() {
899
899
  var i, o;
900
900
  if (n._throwIfClosed(), !n.isStopped) {
901
901
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
@@ -918,7 +918,7 @@ var qr = Ut(function(e) {
918
918
  });
919
919
  }, t.prototype.error = function(r) {
920
920
  var n = this;
921
- le(function() {
921
+ fe(function() {
922
922
  if (n._throwIfClosed(), !n.isStopped) {
923
923
  n.hasError = n.isStopped = !0, n.thrownError = r;
924
924
  for (var i = n.observers; i.length; )
@@ -927,7 +927,7 @@ var qr = Ut(function(e) {
927
927
  });
928
928
  }, t.prototype.complete = function() {
929
929
  var r = this;
930
- le(function() {
930
+ fe(function() {
931
931
  if (r._throwIfClosed(), !r.isStopped) {
932
932
  r.isStopped = !0;
933
933
  for (var n = r.observers; n.length; )
@@ -949,7 +949,7 @@ var qr = Ut(function(e) {
949
949
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
950
950
  }, t.prototype._innerSubscribe = function(r) {
951
951
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
952
- return o || s ? Dt : (this.currentObservers = null, a.push(r), new be(function() {
952
+ return o || s ? Dt : (this.currentObservers = null, a.push(r), new ge(function() {
953
953
  n.currentObservers = null, De(a, r);
954
954
  }));
955
955
  }, t.prototype._checkFinalizedStatuses = function(r) {
@@ -1015,24 +1015,24 @@ const mt = [], dt = {}, en = (e, t = 0) => {
1015
1015
  dt[e] = r, mt.push(e);
1016
1016
  }
1017
1017
  return dt[e];
1018
- }, R = [];
1018
+ }, U = [];
1019
1019
  function tn(e, t) {
1020
1020
  return {
1021
- subscribe: ge(e, t).subscribe
1021
+ subscribe: ve(e, t).subscribe
1022
1022
  };
1023
1023
  }
1024
- function ge(e, t = w) {
1024
+ function ve(e, t = w) {
1025
1025
  let r;
1026
1026
  const n = /* @__PURE__ */ new Set();
1027
1027
  function i(a) {
1028
1028
  if (Ct(e, a) && (e = a, r)) {
1029
- const h = !R.length;
1029
+ const h = !U.length;
1030
1030
  for (const u of n)
1031
- u[1](), R.push(u, e);
1031
+ u[1](), U.push(u, e);
1032
1032
  if (h) {
1033
- for (let u = 0; u < R.length; u += 2)
1034
- R[u][0](R[u + 1]);
1035
- R.length = 0;
1033
+ for (let u = 0; u < U.length; u += 2)
1034
+ U[u][0](U[u + 1]);
1035
+ U.length = 0;
1036
1036
  }
1037
1037
  }
1038
1038
  }
@@ -1047,7 +1047,7 @@ function ge(e, t = w) {
1047
1047
  }
1048
1048
  return { set: i, update: o, subscribe: s };
1049
1049
  }
1050
- function X(e, t, r) {
1050
+ function z(e, t, r) {
1051
1051
  const n = !Array.isArray(e), i = n ? [e] : e;
1052
1052
  if (!i.every(Boolean))
1053
1053
  throw new Error("derived() expects stores as input, got a falsy value");
@@ -1063,13 +1063,13 @@ function X(e, t, r) {
1063
1063
  const d = t(n ? u[0] : u, s, a);
1064
1064
  o ? s(d) : f = Je(d) ? d : w;
1065
1065
  }, p = i.map(
1066
- (d, g) => gr(
1066
+ (d, v) => gr(
1067
1067
  d,
1068
1068
  (S) => {
1069
- u[g] = S, l &= ~(1 << g), h && c();
1069
+ u[v] = S, l &= ~(1 << v), h && c();
1070
1070
  },
1071
1071
  () => {
1072
- l |= 1 << g;
1072
+ l |= 1 << v;
1073
1073
  }
1074
1074
  )
1075
1075
  );
@@ -1099,7 +1099,7 @@ function ln(e) {
1099
1099
  return Array.isArray(e) ? [] : {};
1100
1100
  }
1101
1101
  function q(e, t) {
1102
- return t.clone !== !1 && t.isMergeableObject(e) ? G(ln(e), e, t) : e;
1102
+ return t.clone !== !1 && t.isMergeableObject(e) ? F(ln(e), e, t) : e;
1103
1103
  }
1104
1104
  function fn(e, t, r) {
1105
1105
  return e.concat(t).map(function(n) {
@@ -1108,9 +1108,9 @@ function fn(e, t, r) {
1108
1108
  }
1109
1109
  function cn(e, t) {
1110
1110
  if (!t.customMerge)
1111
- return G;
1111
+ return F;
1112
1112
  var r = t.customMerge(e);
1113
- return typeof r == "function" ? r : G;
1113
+ return typeof r == "function" ? r : F;
1114
1114
  }
1115
1115
  function pn(e) {
1116
1116
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
@@ -1138,19 +1138,19 @@ function dn(e, t, r) {
1138
1138
  mn(e, i) || (Vt(e, i) && r.isMergeableObject(t[i]) ? n[i] = cn(i, r)(e[i], t[i], r) : n[i] = q(t[i], r));
1139
1139
  }), n;
1140
1140
  }
1141
- function G(e, t, r) {
1141
+ function F(e, t, r) {
1142
1142
  r = r || {}, r.arrayMerge = r.arrayMerge || fn, r.isMergeableObject = r.isMergeableObject || nn, r.cloneUnlessOtherwiseSpecified = q;
1143
1143
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1144
1144
  return o ? n ? r.arrayMerge(e, t, r) : dn(e, t, r) : q(t, r);
1145
1145
  }
1146
- G.all = function(t, r) {
1146
+ F.all = function(t, r) {
1147
1147
  if (!Array.isArray(t))
1148
1148
  throw new Error("first argument should be an array");
1149
1149
  return t.reduce(function(n, i) {
1150
- return G(n, i, r);
1150
+ return F(n, i, r);
1151
1151
  }, {});
1152
1152
  };
1153
- var bn = G, gn = bn;
1153
+ var bn = F, gn = bn;
1154
1154
  const vn = /* @__PURE__ */ rn(gn);
1155
1155
  var Fe = function(e, t) {
1156
1156
  return Fe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
@@ -1160,7 +1160,7 @@ var Fe = function(e, t) {
1160
1160
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1161
1161
  }, Fe(e, t);
1162
1162
  };
1163
- function ve(e, t) {
1163
+ function ye(e, t) {
1164
1164
  if (typeof t != "function" && t !== null)
1165
1165
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1166
1166
  Fe(e, t);
@@ -1242,15 +1242,15 @@ var Tn = function() {
1242
1242
  }
1243
1243
  }, Ae = {
1244
1244
  variadic: Sn
1245
- }, pe = function() {
1246
- return pe = Object.assign || function(t) {
1245
+ }, me = function() {
1246
+ return me = Object.assign || function(t) {
1247
1247
  for (var r, n = 1, i = arguments.length; n < i; n++) {
1248
1248
  r = arguments[n];
1249
1249
  for (var o in r)
1250
1250
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1251
1251
  }
1252
1252
  return t;
1253
- }, pe.apply(this, arguments);
1253
+ }, me.apply(this, arguments);
1254
1254
  };
1255
1255
  var m;
1256
1256
  (function(e) {
@@ -1260,10 +1260,10 @@ var y;
1260
1260
  (function(e) {
1261
1261
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
1262
1262
  })(y || (y = {}));
1263
- var F;
1263
+ var j;
1264
1264
  (function(e) {
1265
1265
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1266
- })(F || (F = {}));
1266
+ })(j || (j = {}));
1267
1267
  function gt(e) {
1268
1268
  return e.type === y.literal;
1269
1269
  }
@@ -1292,10 +1292,10 @@ function qt(e) {
1292
1292
  return e.type === y.tag;
1293
1293
  }
1294
1294
  function Kt(e) {
1295
- return !!(e && typeof e == "object" && e.type === F.number);
1295
+ return !!(e && typeof e == "object" && e.type === j.number);
1296
1296
  }
1297
1297
  function je(e) {
1298
- return !!(e && typeof e == "object" && e.type === F.dateTime);
1298
+ return !!(e && typeof e == "object" && e.type === j.dateTime);
1299
1299
  }
1300
1300
  var er = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Pn = /(?:[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;
1301
1301
  function On(e) {
@@ -1400,7 +1400,7 @@ var _ = function() {
1400
1400
  }, _.apply(this, arguments);
1401
1401
  };
1402
1402
  var In = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1403
- function Nn(e) {
1403
+ function Ln(e) {
1404
1404
  if (e.length === 0)
1405
1405
  throw new Error("Number skeleton cannot be empty");
1406
1406
  for (var t = e.split(In).filter(function(c) {
@@ -1418,7 +1418,7 @@ function Nn(e) {
1418
1418
  }
1419
1419
  return r;
1420
1420
  }
1421
- function Ln(e) {
1421
+ function Nn(e) {
1422
1422
  return e.replace(/^(.*?)-/, "");
1423
1423
  }
1424
1424
  var vt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, tr = /^(@+)?(\+|#+)?[rs]?$/g, Cn = /(\*)(0+)|(#+)(0+)|(0+)/g, rr = /^(0+)$/;
@@ -1510,7 +1510,7 @@ function $n(e) {
1510
1510
  continue;
1511
1511
  case "measure-unit":
1512
1512
  case "unit":
1513
- t.style = "unit", t.unit = Ln(i.options[0]);
1513
+ t.style = "unit", t.unit = Nn(i.options[0]);
1514
1514
  continue;
1515
1515
  case "compact-short":
1516
1516
  case "K":
@@ -1610,7 +1610,7 @@ function $n(e) {
1610
1610
  }
1611
1611
  return t;
1612
1612
  }
1613
- var ue = {
1613
+ var he = {
1614
1614
  "001": [
1615
1615
  "H",
1616
1616
  "h"
@@ -3060,7 +3060,7 @@ function Un(e) {
3060
3060
  }
3061
3061
  var r = e.language, n;
3062
3062
  r !== "root" && (n = e.maximize().region);
3063
- var i = ue[n || ""] || ue[r || ""] || ue["".concat(r, "-001")] || ue["001"];
3063
+ var i = he[n || ""] || he[r || ""] || he["".concat(r, "-001")] || he["001"];
3064
3064
  return i[0];
3065
3065
  }
3066
3066
  var Pe, Dn = new RegExp("^".concat(er.source, "*")), Gn = new RegExp("".concat(er.source, "*$"));
@@ -3374,28 +3374,28 @@ var qn = (
3374
3374
  var d = this.tryParseArgumentClose(i);
3375
3375
  if (d.err)
3376
3376
  return d;
3377
- var g = b(i, this.clonePosition());
3377
+ var v = b(i, this.clonePosition());
3378
3378
  if (u && Et(u == null ? void 0 : u.style, "::", 0)) {
3379
3379
  var S = Jn(u.style.slice(2));
3380
3380
  if (a === "number") {
3381
3381
  var f = this.parseNumberSkeletonFromString(S, u.styleLocation);
3382
3382
  return f.err ? f : {
3383
- val: { type: y.number, value: n, location: g, style: f.val },
3383
+ val: { type: y.number, value: n, location: v, style: f.val },
3384
3384
  err: null
3385
3385
  };
3386
3386
  } else {
3387
3387
  if (S.length === 0)
3388
- return this.error(m.EXPECT_DATE_TIME_SKELETON, g);
3389
- var N = S;
3390
- this.locale && (N = Rn(S, this.locale));
3388
+ return this.error(m.EXPECT_DATE_TIME_SKELETON, v);
3389
+ var L = S;
3390
+ this.locale && (L = Rn(S, this.locale));
3391
3391
  var c = {
3392
- type: F.dateTime,
3393
- pattern: N,
3392
+ type: j.dateTime,
3393
+ pattern: L,
3394
3394
  location: u.styleLocation,
3395
- parsedOptions: this.shouldParseSkeletons ? On(N) : {}
3396
- }, v = a === "date" ? y.date : y.time;
3395
+ parsedOptions: this.shouldParseSkeletons ? On(L) : {}
3396
+ }, g = a === "date" ? y.date : y.time;
3397
3397
  return {
3398
- val: { type: v, value: n, location: g, style: c },
3398
+ val: { type: g, value: n, location: v, style: c },
3399
3399
  err: null
3400
3400
  };
3401
3401
  }
@@ -3404,7 +3404,7 @@ var qn = (
3404
3404
  val: {
3405
3405
  type: a === "number" ? y.number : a === "date" ? y.date : y.time,
3406
3406
  value: n,
3407
- location: g,
3407
+ location: v,
3408
3408
  style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
3409
3409
  },
3410
3410
  err: null
@@ -3415,19 +3415,19 @@ var qn = (
3415
3415
  case "select": {
3416
3416
  var H = this.clonePosition();
3417
3417
  if (this.bumpSpace(), !this.bumpIf(","))
3418
- return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS, b(H, pe({}, H)));
3418
+ return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS, b(H, me({}, H)));
3419
3419
  this.bumpSpace();
3420
- var W = this.parseIdentifierIfPossible(), L = 0;
3421
- if (a !== "select" && W.value === "offset") {
3420
+ var Z = this.parseIdentifierIfPossible(), N = 0;
3421
+ if (a !== "select" && Z.value === "offset") {
3422
3422
  if (!this.bumpIf(":"))
3423
3423
  return this.error(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
3424
3424
  this.bumpSpace();
3425
3425
  var f = this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, m.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3426
3426
  if (f.err)
3427
3427
  return f;
3428
- this.bumpSpace(), W = this.parseIdentifierIfPossible(), L = f.val;
3428
+ this.bumpSpace(), Z = this.parseIdentifierIfPossible(), N = f.val;
3429
3429
  }
3430
- var oe = this.tryParsePluralOrSelectOptions(t, a, r, W);
3430
+ var oe = this.tryParsePluralOrSelectOptions(t, a, r, Z);
3431
3431
  if (oe.err)
3432
3432
  return oe;
3433
3433
  var d = this.tryParseArgumentClose(i);
@@ -3447,7 +3447,7 @@ var qn = (
3447
3447
  type: y.plural,
3448
3448
  value: n,
3449
3449
  options: xt(oe.val),
3450
- offset: L,
3450
+ offset: N,
3451
3451
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3452
3452
  location: et
3453
3453
  },
@@ -3497,13 +3497,13 @@ var qn = (
3497
3497
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3498
3498
  var n = [];
3499
3499
  try {
3500
- n = Nn(t);
3500
+ n = Ln(t);
3501
3501
  } catch (i) {
3502
3502
  return this.error(m.INVALID_NUMBER_SKELETON, r);
3503
3503
  }
3504
3504
  return {
3505
3505
  val: {
3506
- type: F.number,
3506
+ type: j.number,
3507
3507
  tokens: n,
3508
3508
  location: r,
3509
3509
  parsedOptions: this.shouldParseSkeletons ? $n(n) : {}
@@ -3531,9 +3531,9 @@ var qn = (
3531
3531
  var d = this.parseMessage(t + 1, r, n);
3532
3532
  if (d.err)
3533
3533
  return d;
3534
- var g = this.tryParseArgumentClose(p);
3535
- if (g.err)
3536
- return g;
3534
+ var v = this.tryParseArgumentClose(p);
3535
+ if (v.err)
3536
+ return v;
3537
3537
  a.push([
3538
3538
  u,
3539
3539
  {
@@ -3645,7 +3645,7 @@ function We(e) {
3645
3645
  });
3646
3646
  }
3647
3647
  function ri(e, t) {
3648
- t === void 0 && (t = {}), t = pe({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3648
+ t === void 0 && (t = {}), t = me({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3649
3649
  var r = new qn(e, t).parse();
3650
3650
  if (r.err) {
3651
3651
  var n = SyntaxError(m[r.err.kind]);
@@ -3653,14 +3653,14 @@ function ri(e, t) {
3653
3653
  }
3654
3654
  return t != null && t.captureLocation || We(r.val), r.val;
3655
3655
  }
3656
- var j;
3656
+ var k;
3657
3657
  (function(e) {
3658
3658
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3659
- })(j || (j = {}));
3660
- var ye = (
3659
+ })(k || (k = {}));
3660
+ var _e = (
3661
3661
  /** @class */
3662
3662
  function(e) {
3663
- ve(t, e);
3663
+ ye(t, e);
3664
3664
  function t(r, n, i) {
3665
3665
  var o = e.call(this, r) || this;
3666
3666
  return o.code = n, o.originalMessage = i, o;
@@ -3672,30 +3672,30 @@ var ye = (
3672
3672
  ), Tt = (
3673
3673
  /** @class */
3674
3674
  function(e) {
3675
- ve(t, e);
3675
+ ye(t, e);
3676
3676
  function t(r, n, i, o) {
3677
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), j.INVALID_VALUE, o) || this;
3677
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), k.INVALID_VALUE, o) || this;
3678
3678
  }
3679
3679
  return t;
3680
- }(ye)
3680
+ }(_e)
3681
3681
  ), ni = (
3682
3682
  /** @class */
3683
3683
  function(e) {
3684
- ve(t, e);
3684
+ ye(t, e);
3685
3685
  function t(r, n, i) {
3686
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), j.INVALID_VALUE, i) || this;
3686
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), k.INVALID_VALUE, i) || this;
3687
3687
  }
3688
3688
  return t;
3689
- }(ye)
3689
+ }(_e)
3690
3690
  ), ii = (
3691
3691
  /** @class */
3692
3692
  function(e) {
3693
- ve(t, e);
3693
+ ye(t, e);
3694
3694
  function t(r, n) {
3695
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), j.MISSING_VALUE, n) || this;
3695
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), k.MISSING_VALUE, n) || this;
3696
3696
  }
3697
3697
  return t;
3698
- }(ye)
3698
+ }(_e)
3699
3699
  ), E;
3700
3700
  (function(e) {
3701
3701
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
@@ -3709,7 +3709,7 @@ function oi(e) {
3709
3709
  function si(e) {
3710
3710
  return typeof e == "function";
3711
3711
  }
3712
- function fe(e, t, r, n, i, o, s) {
3712
+ function ce(e, t, r, n, i, o, s) {
3713
3713
  if (e.length === 1 && gt(e[0]))
3714
3714
  return [
3715
3715
  {
@@ -3769,16 +3769,16 @@ function fe(e, t, r, n, i, o, s) {
3769
3769
  continue;
3770
3770
  }
3771
3771
  if (qt(l)) {
3772
- var d = l.children, g = l.value, S = i[g];
3772
+ var d = l.children, v = l.value, S = i[v];
3773
3773
  if (!si(S))
3774
- throw new ni(g, "function", s);
3775
- var N = fe(d, t, r, n, i, o), v = S(N.map(function(L) {
3776
- return L.value;
3774
+ throw new ni(v, "function", s);
3775
+ var L = ce(d, t, r, n, i, o), g = S(L.map(function(N) {
3776
+ return N.value;
3777
3777
  }));
3778
- Array.isArray(v) || (v = [v]), a.push.apply(a, v.map(function(L) {
3778
+ Array.isArray(g) || (g = [g]), a.push.apply(a, g.map(function(N) {
3779
3779
  return {
3780
- type: typeof L == "string" ? E.literal : E.object,
3781
- value: L
3780
+ type: typeof N == "string" ? E.literal : E.object,
3781
+ value: N
3782
3782
  };
3783
3783
  }));
3784
3784
  }
@@ -3786,22 +3786,22 @@ function fe(e, t, r, n, i, o, s) {
3786
3786
  var H = l.options[c] || l.options.other;
3787
3787
  if (!H)
3788
3788
  throw new Tt(l.value, c, Object.keys(l.options), s);
3789
- a.push.apply(a, fe(H.value, t, r, n, i));
3789
+ a.push.apply(a, ce(H.value, t, r, n, i));
3790
3790
  continue;
3791
3791
  }
3792
3792
  if (Yt(l)) {
3793
3793
  var H = l.options["=".concat(c)];
3794
3794
  if (!H) {
3795
3795
  if (!Intl.PluralRules)
3796
- throw new ye(`Intl.PluralRules is not available in this environment.
3796
+ throw new _e(`Intl.PluralRules is not available in this environment.
3797
3797
  Try polyfilling it using "@formatjs/intl-pluralrules"
3798
- `, j.MISSING_INTL_API, s);
3799
- var W = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3800
- H = l.options[W] || l.options.other;
3798
+ `, k.MISSING_INTL_API, s);
3799
+ var Z = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3800
+ H = l.options[Z] || l.options.other;
3801
3801
  }
3802
3802
  if (!H)
3803
3803
  throw new Tt(l.value, c, Object.keys(l.options), s);
3804
- a.push.apply(a, fe(H.value, t, r, n, i, c - (l.offset || 0)));
3804
+ a.push.apply(a, ce(H.value, t, r, n, i, c - (l.offset || 0)));
3805
3805
  continue;
3806
3806
  }
3807
3807
  }
@@ -3882,7 +3882,7 @@ var li = (
3882
3882
  }, []);
3883
3883
  return l.length <= 1 ? l[0] || "" : l;
3884
3884
  }, this.formatToParts = function(h) {
3885
- return fe(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3885
+ return ce(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3886
3886
  }, this.resolvedOptions = function() {
3887
3887
  var h;
3888
3888
  return {
@@ -4001,7 +4001,7 @@ const O = {}, ci = (e, t, r) => r && (t in O || (O[t] = {}), e in O[t] || (O[t][
4001
4001
  return;
4002
4002
  if (t in O && e in O[t])
4003
4003
  return O[t][e];
4004
- const r = _e(t);
4004
+ const r = Ee(t);
4005
4005
  for (let n = 0; n < r.length; n++) {
4006
4006
  const i = r[n], o = mi(i, e);
4007
4007
  if (o)
@@ -4009,7 +4009,7 @@ const O = {}, ci = (e, t, r) => r && (t in O || (O[t] = {}), e in O[t] || (O[t][
4009
4009
  }
4010
4010
  };
4011
4011
  let qe;
4012
- const ne = ge({});
4012
+ const ne = ve({});
4013
4013
  function pi(e) {
4014
4014
  return qe[e] || null;
4015
4015
  }
@@ -4025,7 +4025,7 @@ function mi(e, t) {
4025
4025
  function di(e) {
4026
4026
  if (e == null)
4027
4027
  return;
4028
- const t = _e(e);
4028
+ const t = Ee(e);
4029
4029
  for (let r = 0; r < t.length; r++) {
4030
4030
  const n = t[r];
4031
4031
  if (ur(n))
@@ -4035,26 +4035,26 @@ function di(e) {
4035
4035
  function bi(e, ...t) {
4036
4036
  delete O[e], ne.update((r) => (r[e] = vn.all([r[e] || {}, ...t]), r));
4037
4037
  }
4038
- X(
4038
+ z(
4039
4039
  [ne],
4040
4040
  ([e]) => Object.keys(e)
4041
4041
  );
4042
4042
  ne.subscribe((e) => qe = e);
4043
- const ce = {};
4043
+ const pe = {};
4044
4044
  function gi(e, t) {
4045
- ce[e].delete(t), ce[e].size === 0 && delete ce[e];
4045
+ pe[e].delete(t), pe[e].size === 0 && delete pe[e];
4046
4046
  }
4047
4047
  function hr(e) {
4048
- return ce[e];
4048
+ return pe[e];
4049
4049
  }
4050
4050
  function vi(e) {
4051
- return _e(e).map((t) => {
4051
+ return Ee(e).map((t) => {
4052
4052
  const r = hr(t);
4053
4053
  return [t, r ? [...r] : []];
4054
4054
  }).filter(([, t]) => t.length > 0);
4055
4055
  }
4056
4056
  function Ze(e) {
4057
- return e == null ? !1 : _e(e).some(
4057
+ return e == null ? !1 : Ee(e).some(
4058
4058
  (t) => {
4059
4059
  var r;
4060
4060
  return (r = hr(t)) == null ? void 0 : r.size;
@@ -4118,10 +4118,10 @@ const _i = {
4118
4118
  handleMissingMessage: void 0,
4119
4119
  ignoreTag: !0
4120
4120
  }, xi = Ei;
4121
- function k() {
4121
+ function V() {
4122
4122
  return xi;
4123
4123
  }
4124
- const Ie = ge(!1);
4124
+ const Ie = ve(!1);
4125
4125
  var Si = Object.defineProperty, Ti = Object.defineProperties, wi = Object.getOwnPropertyDescriptors, wt = Object.getOwnPropertySymbols, Hi = Object.prototype.hasOwnProperty, Bi = Object.prototype.propertyIsEnumerable, Ht = (e, t, r) => t in e ? Si(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ai = (e, t) => {
4126
4126
  for (var r in t || (t = {}))
4127
4127
  Hi.call(t, r) && Ht(e, r, t[r]);
@@ -4131,81 +4131,81 @@ var Si = Object.defineProperty, Ti = Object.defineProperties, wi = Object.getOwn
4131
4131
  return e;
4132
4132
  }, Pi = (e, t) => Ti(e, wi(t));
4133
4133
  let Qe;
4134
- const me = ge(null);
4134
+ const de = ve(null);
4135
4135
  function Bt(e) {
4136
4136
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4137
4137
  }
4138
- function _e(e, t = k().fallbackLocale) {
4138
+ function Ee(e, t = V().fallbackLocale) {
4139
4139
  const r = Bt(e);
4140
4140
  return t ? [.../* @__PURE__ */ new Set([...r, ...Bt(t)])] : r;
4141
4141
  }
4142
4142
  function M() {
4143
4143
  return Qe != null ? Qe : void 0;
4144
4144
  }
4145
- me.subscribe((e) => {
4145
+ de.subscribe((e) => {
4146
4146
  Qe = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4147
4147
  });
4148
4148
  const Oi = (e) => {
4149
4149
  if (e && di(e) && Ze(e)) {
4150
- const { loadingDelay: t } = k();
4150
+ const { loadingDelay: t } = V();
4151
4151
  let r;
4152
4152
  return typeof window != "undefined" && M() != null && t ? r = window.setTimeout(
4153
4153
  () => Ie.set(!0),
4154
4154
  t
4155
4155
  ) : Ie.set(!0), lr(e).then(() => {
4156
- me.set(e);
4156
+ de.set(e);
4157
4157
  }).finally(() => {
4158
4158
  clearTimeout(r), Ie.set(!1);
4159
4159
  });
4160
4160
  }
4161
- return me.set(e);
4162
- }, ie = Pi(Ai({}, me), {
4161
+ return de.set(e);
4162
+ }, ie = Pi(Ai({}, de), {
4163
4163
  set: Oi
4164
- }), Ee = (e) => {
4164
+ }), xe = (e) => {
4165
4165
  const t = /* @__PURE__ */ Object.create(null);
4166
4166
  return (n) => {
4167
4167
  const i = JSON.stringify(n);
4168
4168
  return i in t ? t[i] : t[i] = e(n);
4169
4169
  };
4170
4170
  };
4171
- var Ii = Object.defineProperty, de = Object.getOwnPropertySymbols, fr = Object.prototype.hasOwnProperty, cr = Object.prototype.propertyIsEnumerable, At = (e, t, r) => t in e ? Ii(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ke = (e, t) => {
4171
+ var Ii = Object.defineProperty, be = Object.getOwnPropertySymbols, fr = Object.prototype.hasOwnProperty, cr = Object.prototype.propertyIsEnumerable, At = (e, t, r) => t in e ? Ii(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ke = (e, t) => {
4172
4172
  for (var r in t || (t = {}))
4173
4173
  fr.call(t, r) && At(e, r, t[r]);
4174
- if (de)
4175
- for (var r of de(t))
4174
+ if (be)
4175
+ for (var r of be(t))
4176
4176
  cr.call(t, r) && At(e, r, t[r]);
4177
4177
  return e;
4178
- }, z = (e, t) => {
4178
+ }, W = (e, t) => {
4179
4179
  var r = {};
4180
4180
  for (var n in e)
4181
4181
  fr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4182
- if (e != null && de)
4183
- for (var n of de(e))
4182
+ if (e != null && be)
4183
+ for (var n of be(e))
4184
4184
  t.indexOf(n) < 0 && cr.call(e, n) && (r[n] = e[n]);
4185
4185
  return r;
4186
4186
  };
4187
4187
  const K = (e, t) => {
4188
- const { formats: r } = k();
4188
+ const { formats: r } = V();
4189
4189
  if (e in r && t in r[e])
4190
4190
  return r[e][t];
4191
4191
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4192
- }, Ni = Ee(
4192
+ }, Li = xe(
4193
4193
  (e) => {
4194
- var t = e, { locale: r, format: n } = t, i = z(t, ["locale", "format"]);
4194
+ var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
4195
4195
  if (r == null)
4196
4196
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4197
4197
  return n && (i = K("number", n)), new Intl.NumberFormat(r, i);
4198
4198
  }
4199
- ), Li = Ee(
4199
+ ), Ni = xe(
4200
4200
  (e) => {
4201
- var t = e, { locale: r, format: n } = t, i = z(t, ["locale", "format"]);
4201
+ var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
4202
4202
  if (r == null)
4203
4203
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4204
4204
  return n ? i = K("date", n) : Object.keys(i).length === 0 && (i = K("date", "short")), new Intl.DateTimeFormat(r, i);
4205
4205
  }
4206
- ), Ci = Ee(
4206
+ ), Ci = xe(
4207
4207
  (e) => {
4208
- var t = e, { locale: r, format: n } = t, i = z(t, ["locale", "format"]);
4208
+ var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
4209
4209
  if (r == null)
4210
4210
  throw new Error(
4211
4211
  '[svelte-i18n] A "locale" must be set to format time values'
@@ -4215,28 +4215,28 @@ const K = (e, t) => {
4215
4215
  ), Mi = (e = {}) => {
4216
4216
  var t = e, {
4217
4217
  locale: r = M()
4218
- } = t, n = z(t, [
4218
+ } = t, n = W(t, [
4219
4219
  "locale"
4220
4220
  ]);
4221
- return Ni(Ke({ locale: r }, n));
4221
+ return Li(Ke({ locale: r }, n));
4222
4222
  }, $i = (e = {}) => {
4223
4223
  var t = e, {
4224
4224
  locale: r = M()
4225
- } = t, n = z(t, [
4225
+ } = t, n = W(t, [
4226
4226
  "locale"
4227
4227
  ]);
4228
- return Li(Ke({ locale: r }, n));
4228
+ return Ni(Ke({ locale: r }, n));
4229
4229
  }, Ri = (e = {}) => {
4230
4230
  var t = e, {
4231
4231
  locale: r = M()
4232
- } = t, n = z(t, [
4232
+ } = t, n = W(t, [
4233
4233
  "locale"
4234
4234
  ]);
4235
4235
  return Ci(Ke({ locale: r }, n));
4236
- }, Ui = Ee(
4236
+ }, Ui = xe(
4237
4237
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4238
- (e, t = M()) => new li(e, t, k().formats, {
4239
- ignoreTag: k().ignoreTag
4238
+ (e, t = M()) => new li(e, t, V().formats, {
4239
+ ignoreTag: V().ignoreTag
4240
4240
  })
4241
4241
  ), Di = (e, t = {}) => {
4242
4242
  var r, n, i, o;
@@ -4253,7 +4253,7 @@ const K = (e, t) => {
4253
4253
  );
4254
4254
  let l = ar(e, h);
4255
4255
  if (!l)
4256
- 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;
4256
+ l = (o = (i = (n = (r = V()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4257
4257
  else if (typeof l != "string")
4258
4258
  return console.warn(
4259
4259
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -4271,11 +4271,11 @@ const K = (e, t) => {
4271
4271
  }
4272
4272
  return f;
4273
4273
  }, Gi = (e, t) => Ri(t).format(e), Fi = (e, t) => $i(t).format(e), ji = (e, t) => Mi(t).format(e), ki = (e, t = M()) => ar(e, t);
4274
- X([ie, ne], () => Di);
4275
- X([ie], () => Gi);
4276
- X([ie], () => Fi);
4277
- X([ie], () => ji);
4278
- X([ie, ne], () => ki);
4274
+ z([ie, ne], () => Di);
4275
+ z([ie], () => Gi);
4276
+ z([ie], () => Fi);
4277
+ z([ie], () => ji);
4278
+ z([ie, ne], () => ki);
4279
4279
  window.emWidgets = { topic: en };
4280
4280
  const Vi = (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));
4281
4281
  function Xi(e, t) {
@@ -4314,7 +4314,7 @@ function Ot(e) {
4314
4314
  e[6]
4315
4315
  ), n = [];
4316
4316
  for (let i = 0; i < r.length; i += 1)
4317
- n[i] = Nt(Pt(e, r, i));
4317
+ n[i] = Lt(Pt(e, r, i));
4318
4318
  return {
4319
4319
  c() {
4320
4320
  t = I("ul");
@@ -4337,7 +4337,7 @@ function Ot(e) {
4337
4337
  let s;
4338
4338
  for (s = 0; s < r.length; s += 1) {
4339
4339
  const a = Pt(i, r, s);
4340
- n[s] ? n[s].p(a, o) : (n[s] = Nt(a), n[s].c(), n[s].m(t, null));
4340
+ n[s] ? n[s].p(a, o) : (n[s] = Lt(a), n[s].c(), n[s].m(t, null));
4341
4341
  }
4342
4342
  for (; s < n.length; s += 1)
4343
4343
  n[s].d(1);
@@ -4345,7 +4345,7 @@ function Ot(e) {
4345
4345
  }
4346
4346
  },
4347
4347
  d(i) {
4348
- i && V(t), Er(n, i);
4348
+ i && X(t), Er(n, i);
4349
4349
  }
4350
4350
  };
4351
4351
  }
@@ -4373,11 +4373,11 @@ function It(e) {
4373
4373
  ] + "") && Mt(i, n);
4374
4374
  },
4375
4375
  d(o) {
4376
- o && V(t);
4376
+ o && X(t);
4377
4377
  }
4378
4378
  };
4379
4379
  }
4380
- function Nt(e) {
4380
+ function Lt(e) {
4381
4381
  let t, r, n = (
4382
4382
  /*textReceiver*/
4383
4383
  e[4][
@@ -4432,7 +4432,7 @@ function Nt(e) {
4432
4432
  e[16] ? "active" : "")) && T(t, "part", h);
4433
4433
  },
4434
4434
  d(p) {
4435
- p && V(t), f && f.d(), u = !1, l();
4435
+ p && X(t), f && f.d(), u = !1, l();
4436
4436
  }
4437
4437
  };
4438
4438
  }
@@ -4458,22 +4458,25 @@ function Qi(e) {
4458
4458
  i: w,
4459
4459
  o: w,
4460
4460
  d(n) {
4461
- n && V(t), r && r.d(), e[14](null);
4461
+ n && X(t), r && r.d(), e[14](null);
4462
4462
  }
4463
4463
  };
4464
4464
  }
4465
4465
  function Ji(e, t, r) {
4466
4466
  let n, i, { tabs: o = "" } = t, { tab: s = void 0 } = t, { clientstyling: a = "" } = t, { clientstylingurl: h = "" } = t, { mbsource: u } = t, { tid: l = "pageTab" } = t, f, c = !1;
4467
4467
  const p = window.navigator.userAgent;
4468
- let d = {}, g = {};
4468
+ let d = {}, v = {};
4469
4469
  Gr({
4470
- TournamentsTabTotalUpdate: (v) => {
4471
- r(3, d = Se(Z({}, d), {
4472
- [v.state]: v.total
4470
+ TournamentsTabTotalUpdate: (g) => {
4471
+ r(3, d = ae($({}, d), {
4472
+ [g.state]: g.total
4473
4473
  }));
4474
4474
  },
4475
- TournamentsTabsLocalize: (v) => {
4476
- r(2, c = !0), r(4, g = Z(Z({}, g), v.tabTitleTranslations));
4475
+ TournamentsTabsLocalize: (g) => {
4476
+ r(2, c = !0), r(4, v = $($({}, v), g.tabTitleTranslations));
4477
+ },
4478
+ TournamentsTabLocaleTextUpdate: (g) => {
4479
+ r(2, c = !0), r(4, v = ae($({}, v), { [g.state]: g.text }));
4477
4480
  }
4478
4481
  }), $t(() => (window.postMessage(
4479
4482
  {
@@ -4483,23 +4486,23 @@ function Ji(e, t, r) {
4483
4486
  window.location.href
4484
4487
  ), () => {
4485
4488
  }));
4486
- const S = (v) => {
4487
- r(5, i = v), window.postMessage(
4489
+ const S = (g) => {
4490
+ r(5, i = g), window.postMessage(
4488
4491
  {
4489
4492
  type: "TournamentsTabSwitch",
4490
- tab: v,
4493
+ tab: g,
4491
4494
  tid: l
4492
4495
  },
4493
4496
  window.location.href
4494
4497
  );
4495
4498
  };
4496
- function N(v) {
4497
- Ne[v ? "unshift" : "push"](() => {
4498
- f = v, r(1, f);
4499
+ function L(g) {
4500
+ Le[g ? "unshift" : "push"](() => {
4501
+ f = g, r(1, f);
4499
4502
  });
4500
4503
  }
4501
- return e.$$set = (v) => {
4502
- "tabs" in v && r(8, o = v.tabs), "tab" in v && r(9, s = v.tab), "clientstyling" in v && r(10, a = v.clientstyling), "clientstylingurl" in v && r(11, h = v.clientstylingurl), "mbsource" in v && r(12, u = v.mbsource), "tid" in v && r(0, l = v.tid);
4504
+ return e.$$set = (g) => {
4505
+ "tabs" in g && r(8, o = g.tabs), "tab" in g && r(9, s = g.tab), "clientstyling" in g && r(10, a = g.clientstyling), "clientstylingurl" in g && r(11, h = g.clientstylingurl), "mbsource" in g && r(12, u = g.mbsource), "tid" in g && r(0, l = g.tid);
4503
4506
  }, e.$$.update = () => {
4504
4507
  e.$$.dirty & /*clientstyling, customStylingContainer*/
4505
4508
  1026 && a && f && Xi(f, a), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
@@ -4512,7 +4515,7 @@ function Ji(e, t, r) {
4512
4515
  f,
4513
4516
  c,
4514
4517
  d,
4515
- g,
4518
+ v,
4516
4519
  i,
4517
4520
  n,
4518
4521
  p,
@@ -4522,7 +4525,7 @@ function Ji(e, t, r) {
4522
4525
  h,
4523
4526
  u,
4524
4527
  S,
4525
- N
4528
+ L
4526
4529
  ];
4527
4530
  }
4528
4531
  class Yi extends Rr {