@everymatrix/casino-tournaments-controller 1.74.1 → 1.74.3

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.
Files changed (54) hide show
  1. package/components/CasinoTournamentsController-BA7Lb1Ac.cjs +27 -0
  2. package/components/{CasinoTournamentsController-DiMl63Dl.js → CasinoTournamentsController-BZc_fieU.js} +1044 -1079
  3. package/components/{CasinoTournamentsController-CUFApsoD.js → CasinoTournamentsController-BhHxAQNX.js} +1033 -1068
  4. package/components/{CasinoTournamentsFilterController-uD2n3yvd.cjs → CasinoTournamentsFilterController-Bq34BLrs.cjs} +1 -1
  5. package/components/{CasinoTournamentsFilterController-D_Lf41wW.js → CasinoTournamentsFilterController-BuDb2PzI.js} +24 -24
  6. package/components/{CasinoTournamentsFilterController-Bkrc40qh.js → CasinoTournamentsFilterController-DFD3quVl.js} +26 -26
  7. package/components/{CasinoTournamentsListController-CIWdd6Dd.js → CasinoTournamentsListController-CMKXEOqo.js} +24 -24
  8. package/components/{CasinoTournamentsListController-CeBwU8Vq.js → CasinoTournamentsListController-D1-22E4-.js} +24 -24
  9. package/components/{CasinoTournamentsListController-DmlotvBw.cjs → CasinoTournamentsListController-DAFzNalK.cjs} +2 -2
  10. package/components/{CasinoTournamentsThumbnail-BMabwMus.js → CasinoTournamentsThumbnail-SdFfPp9F.js} +47 -47
  11. package/components/{CasinoTournamentsThumbnail-CkHjG_l-.cjs → CasinoTournamentsThumbnail-djFJwUMf.cjs} +1 -1
  12. package/components/{CasinoTournamentsThumbnail-CgNwdhA6.js → CasinoTournamentsThumbnail-zwDuT8fd.js} +47 -47
  13. package/components/{CasinoTournamentsThumbnailController-BF-FpWUZ.js → CasinoTournamentsThumbnailController-BtSNfKun.js} +59 -59
  14. package/components/{CasinoTournamentsThumbnailController-dQYqBWp_.cjs → CasinoTournamentsThumbnailController-CEKR4kpV.cjs} +1 -1
  15. package/components/{CasinoTournamentsThumbnailController-D22DSpP6.js → CasinoTournamentsThumbnailController-Dz0B5xjF.js} +59 -59
  16. package/components/{CasinoTournamentsThumbnailDuration-g11Z3j-A.cjs → CasinoTournamentsThumbnailDuration-CGEjgavh.cjs} +1 -1
  17. package/components/{CasinoTournamentsThumbnailDuration-DFmLvwKj.js → CasinoTournamentsThumbnailDuration-DGUJO9Tt.js} +56 -56
  18. package/components/{CasinoTournamentsThumbnailDuration-B-xVCGdb.js → CasinoTournamentsThumbnailDuration-DGg8mNK5.js} +58 -58
  19. package/components/{CasinoTournamentsThumbnailGamesSlider-CA0ZabQ-.js → CasinoTournamentsThumbnailGamesSlider-D8QgS5cG.js} +50 -50
  20. package/components/{CasinoTournamentsThumbnailGamesSlider-BpjF5Xf3.js → CasinoTournamentsThumbnailGamesSlider-DA-5_1kC.js} +55 -55
  21. package/components/{CasinoTournamentsThumbnailGamesSlider-D1EboI5U.cjs → CasinoTournamentsThumbnailGamesSlider-pFJA3wQt.cjs} +1 -1
  22. package/components/{CasinoTournamentsThumbnailPrizes--5OX9M1h.cjs → CasinoTournamentsThumbnailPrizes-C5vCtJ5V.cjs} +1 -1
  23. package/components/{CasinoTournamentsThumbnailPrizes-C8_QDMEw.js → CasinoTournamentsThumbnailPrizes-CGOgE4Ng.js} +37 -37
  24. package/components/{CasinoTournamentsThumbnailPrizes-DR958J_j.js → CasinoTournamentsThumbnailPrizes-DHRjXMFm.js} +38 -38
  25. package/es2015/casino-tournaments-controller.cjs +1 -1
  26. package/es2015/casino-tournaments-controller.js +1 -1
  27. package/esnext/casino-tournaments-controller.js +1 -1
  28. package/package.json +1 -1
  29. package/stencil/index-97d17652-BgKdDb-e.cjs +1 -0
  30. package/stencil/{index-97d17652--F7PvMq9.js → index-97d17652-C7V2DWFg.js} +176 -176
  31. package/stencil/{index-97d17652-CCFHkzJw.js → index-97d17652-DIpvPU9H.js} +187 -187
  32. package/stencil/index-b2193545-CD_KQ0BB.js +519 -0
  33. package/stencil/index-b2193545-CrHhiaNt.js +503 -0
  34. package/stencil/index-b2193545-ngvz84TK.cjs +1 -0
  35. package/stencil/{ui-image-CXqPvnQ2.js → ui-image-BNRjOSaN.js} +1 -1
  36. package/stencil/{ui-image-DgbODkuX.js → ui-image-D9tkwepr.js} +1 -1
  37. package/stencil/{ui-image-Bk8cIvcH.cjs → ui-image-DBXtq7Sy.cjs} +1 -1
  38. package/stencil/{ui-image-b7b48fe5-ByRuJtdE.js → ui-image-b7b48fe5-B-k0kWgx.js} +1 -1
  39. package/stencil/{ui-image-b7b48fe5-D6iig_uN.js → ui-image-b7b48fe5-D8-wEkoZ.js} +1 -1
  40. package/stencil/{ui-image-b7b48fe5-DG83WzAo.cjs → ui-image-b7b48fe5-yceZ9WkN.cjs} +1 -1
  41. package/stencil/{ui-image_2-qO3reSlr.js → ui-image_2-CzFe50WB.js} +2 -2
  42. package/stencil/{ui-image_2-DdFjzzNO.cjs → ui-image_2-Ha_4GYwN.cjs} +1 -1
  43. package/stencil/{ui-image_2-Bm97-wkj.js → ui-image_2-z5LhXZY2.js} +2 -2
  44. package/stencil/{ui-skeleton-D8L-WY77.js → ui-skeleton-BecGfbnY.js} +2 -2
  45. package/stencil/{ui-skeleton-B0BB970e.cjs → ui-skeleton-CKaouoPt.cjs} +1 -1
  46. package/stencil/{ui-skeleton-DSebcnN1.js → ui-skeleton-DXmvn9dE.js} +2 -2
  47. package/stencil/{ui-skeleton-ae35c6f2-CcPx4a2P.js → ui-skeleton-ae35c6f2-8tswdmF8.js} +1 -1
  48. package/stencil/{ui-skeleton-ae35c6f2-BH4D8vHD.js → ui-skeleton-ae35c6f2-BVAHFeog.js} +1 -1
  49. package/stencil/{ui-skeleton-ae35c6f2-DDiK5zGt.cjs → ui-skeleton-ae35c6f2-kPD5RoB3.cjs} +1 -1
  50. package/components/CasinoTournamentsController-CbfFinFG.cjs +0 -27
  51. package/stencil/index-97d17652-BhLhk_xz.cjs +0 -1
  52. package/stencil/index-b2193545-BS7xFIk4.js +0 -503
  53. package/stencil/index-b2193545-BTdVi7--.cjs +0 -1
  54. package/stencil/index-b2193545-rfNAj6ri.js +0 -519
@@ -1,28 +1,28 @@
1
1
  function he() {
2
2
  }
3
- function $r(e) {
3
+ function Fr(e) {
4
4
  return e();
5
5
  }
6
- function mr() {
6
+ function fr() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
- function ut(e) {
10
- e.forEach($r);
9
+ function lt(e) {
10
+ e.forEach(Fr);
11
11
  }
12
- function St(e) {
12
+ function Tt(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function kr(e, t) {
15
+ function Ur(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
- let pt;
19
- function bs(e, t) {
20
- return e === t ? !0 : (pt || (pt = document.createElement("a")), pt.href = t, e === pt.href);
18
+ let mt;
19
+ function cs(e, t) {
20
+ return e === t ? !0 : (mt || (mt = document.createElement("a")), mt.href = t, e === mt.href);
21
21
  }
22
- function Sn(e) {
22
+ function _n(e) {
23
23
  return Object.keys(e).length === 0;
24
24
  }
25
- function Vr(e, ...t) {
25
+ function Gr(e, ...t) {
26
26
  if (e == null) {
27
27
  for (const n of t)
28
28
  n(void 0);
@@ -31,23 +31,23 @@ function Vr(e, ...t) {
31
31
  const r = e.subscribe(...t);
32
32
  return r.unsubscribe ? () => r.unsubscribe() : r;
33
33
  }
34
- function An(e, t, r) {
35
- e.$$.on_destroy.push(Vr(t, r));
34
+ function xn(e, t, r) {
35
+ e.$$.on_destroy.push(Gr(t, r));
36
36
  }
37
- function gs(e) {
38
- return e && St(e.destroy) ? e.destroy : he;
37
+ function ds(e) {
38
+ return e && Tt(e.destroy) ? e.destroy : he;
39
39
  }
40
40
  function te(e, t) {
41
41
  e.appendChild(t);
42
42
  }
43
- function Hn(e, t, r) {
44
- const n = Bn(e);
43
+ function wn(e, t, r) {
44
+ const n = Tn(e);
45
45
  if (!n.getElementById(t)) {
46
46
  const i = X("style");
47
- i.id = t, i.textContent = r, Pn(n, i);
47
+ i.id = t, i.textContent = r, Sn(n, i);
48
48
  }
49
49
  }
50
- function Bn(e) {
50
+ function Tn(e) {
51
51
  if (!e)
52
52
  return document;
53
53
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -57,7 +57,7 @@ function Bn(e) {
57
57
  t
58
58
  ) : e.ownerDocument;
59
59
  }
60
- function Pn(e, t) {
60
+ function Sn(e, t) {
61
61
  return te(
62
62
  /** @type {Document} */
63
63
  e.head || e,
@@ -70,26 +70,26 @@ function fe(e, t, r) {
70
70
  function re(e) {
71
71
  e.parentNode && e.parentNode.removeChild(e);
72
72
  }
73
- function vs(e, t) {
73
+ function ms(e, t) {
74
74
  for (let r = 0; r < e.length; r += 1)
75
75
  e[r] && e[r].d(t);
76
76
  }
77
77
  function X(e) {
78
78
  return document.createElement(e);
79
79
  }
80
- function ys(e) {
80
+ function ps(e) {
81
81
  return document.createElementNS("http://www.w3.org/2000/svg", e);
82
82
  }
83
83
  function Le(e) {
84
84
  return document.createTextNode(e);
85
85
  }
86
- function Xt() {
86
+ function $t() {
87
87
  return Le(" ");
88
88
  }
89
- function On() {
89
+ function An() {
90
90
  return Le("");
91
91
  }
92
- function zt(e, t, r, n) {
92
+ function kt(e, t, r, n) {
93
93
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
94
94
  }
95
95
  function F(e, t, r) {
@@ -99,38 +99,38 @@ function x(e, t, r) {
99
99
  const n = t.toLowerCase();
100
100
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : F(e, t, r);
101
101
  }
102
- function Cn(e) {
102
+ function Hn(e) {
103
103
  return Array.from(e.childNodes);
104
104
  }
105
- function it(e, t) {
105
+ function ot(e, t) {
106
106
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
107
107
  t);
108
108
  }
109
- function _s(e, t, r, n) {
109
+ function bs(e, t, r, n) {
110
110
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
111
111
  }
112
- let mt;
113
- function In() {
114
- if (mt === void 0) {
115
- mt = !1;
112
+ let pt;
113
+ function Bn() {
114
+ if (pt === void 0) {
115
+ pt = !1;
116
116
  try {
117
117
  typeof window < "u" && window.parent && window.parent.document;
118
118
  } catch {
119
- mt = !0;
119
+ pt = !0;
120
120
  }
121
121
  }
122
- return mt;
122
+ return pt;
123
123
  }
124
- function Es(e, t) {
124
+ function gs(e, t) {
125
125
  getComputedStyle(e).position === "static" && (e.style.position = "relative");
126
126
  const n = X("iframe");
127
127
  n.setAttribute(
128
128
  "style",
129
129
  "display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"
130
130
  ), n.setAttribute("aria-hidden", "true"), n.tabIndex = -1;
131
- const i = In();
131
+ const i = Bn();
132
132
  let o;
133
- return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", o = zt(
133
+ return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", o = kt(
134
134
  window,
135
135
  "message",
136
136
  /** @param {MessageEvent} event */
@@ -138,15 +138,15 @@ function Es(e, t) {
138
138
  s.source === n.contentWindow && t();
139
139
  }
140
140
  )) : (n.src = "about:blank", n.onload = () => {
141
- o = zt(n.contentWindow, "resize", t), t();
141
+ o = kt(n.contentWindow, "resize", t), t();
142
142
  }), te(e, n), () => {
143
143
  (i || o && n.contentWindow) && o(), re(n);
144
144
  };
145
145
  }
146
- function xs(e, t, r) {
146
+ function ys(e, t, r) {
147
147
  e.classList.toggle(t, !!r);
148
148
  }
149
- function Ln(e) {
149
+ function Pn(e) {
150
150
  const t = {};
151
151
  return e.childNodes.forEach(
152
152
  /** @param {Element} node */
@@ -155,90 +155,90 @@ function Ln(e) {
155
155
  }
156
156
  ), t;
157
157
  }
158
- let ot;
159
- function nt(e) {
160
- ot = e;
158
+ let st;
159
+ function it(e) {
160
+ st = e;
161
161
  }
162
- function Nn() {
163
- if (!ot)
162
+ function Cn() {
163
+ if (!st)
164
164
  throw new Error("Function called outside component initialization");
165
- return ot;
165
+ return st;
166
166
  }
167
- function Mn(e) {
168
- Nn().$$.on_mount.push(e);
167
+ function On(e) {
168
+ Cn().$$.on_mount.push(e);
169
169
  }
170
- const Ge = [], Wt = [];
170
+ const Ge = [], Vt = [];
171
171
  let je = [];
172
- const br = [], Rn = /* @__PURE__ */ Promise.resolve();
173
- let qt = !1;
174
- function Dn() {
175
- qt || (qt = !0, Rn.then(N));
172
+ const cr = [], In = /* @__PURE__ */ Promise.resolve();
173
+ let Xt = !1;
174
+ function Ln() {
175
+ Xt || (Xt = !0, In.then(M));
176
176
  }
177
- function Zt(e) {
177
+ function zt(e) {
178
178
  je.push(e);
179
179
  }
180
- const Rt = /* @__PURE__ */ new Set();
180
+ const Nt = /* @__PURE__ */ new Set();
181
181
  let Fe = 0;
182
- function N() {
182
+ function M() {
183
183
  if (Fe !== 0)
184
184
  return;
185
- const e = ot;
185
+ const e = st;
186
186
  do {
187
187
  try {
188
188
  for (; Fe < Ge.length; ) {
189
189
  const t = Ge[Fe];
190
- Fe++, nt(t), Fn(t.$$);
190
+ Fe++, it(t), Nn(t.$$);
191
191
  }
192
192
  } catch (t) {
193
193
  throw Ge.length = 0, Fe = 0, t;
194
194
  }
195
- for (nt(null), Ge.length = 0, Fe = 0; Wt.length; )
196
- Wt.pop()();
195
+ for (it(null), Ge.length = 0, Fe = 0; Vt.length; )
196
+ Vt.pop()();
197
197
  for (let t = 0; t < je.length; t += 1) {
198
198
  const r = je[t];
199
- Rt.has(r) || (Rt.add(r), r());
199
+ Nt.has(r) || (Nt.add(r), r());
200
200
  }
201
201
  je.length = 0;
202
202
  } while (Ge.length);
203
- for (; br.length; )
204
- br.pop()();
205
- qt = !1, Rt.clear(), nt(e);
203
+ for (; cr.length; )
204
+ cr.pop()();
205
+ Xt = !1, Nt.clear(), it(e);
206
206
  }
207
- function Fn(e) {
207
+ function Nn(e) {
208
208
  if (e.fragment !== null) {
209
- e.update(), ut(e.before_update);
209
+ e.update(), lt(e.before_update);
210
210
  const t = e.dirty;
211
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Zt);
211
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(zt);
212
212
  }
213
213
  }
214
- function Un(e) {
214
+ function Mn(e) {
215
215
  const t = [], r = [];
216
216
  je.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), je = t;
217
217
  }
218
- const Gn = /* @__PURE__ */ new Set();
219
- function jn(e, t) {
220
- e && e.i && (Gn.delete(e), e.i(t));
218
+ const Rn = /* @__PURE__ */ new Set();
219
+ function Dn(e, t) {
220
+ e && e.i && (Rn.delete(e), e.i(t));
221
221
  }
222
- function ws(e) {
222
+ function vs(e) {
223
223
  return e?.length !== void 0 ? e : Array.from(e);
224
224
  }
225
- function $n(e, t, r) {
225
+ function Fn(e, t, r) {
226
226
  const { fragment: n, after_update: i } = e.$$;
227
- n && n.m(t, r), Zt(() => {
228
- const o = e.$$.on_mount.map($r).filter(St);
229
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ut(o), e.$$.on_mount = [];
230
- }), i.forEach(Zt);
227
+ n && n.m(t, r), zt(() => {
228
+ const o = e.$$.on_mount.map(Fr).filter(Tt);
229
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : lt(o), e.$$.on_mount = [];
230
+ }), i.forEach(zt);
231
231
  }
232
- function kn(e, t) {
232
+ function Un(e, t) {
233
233
  const r = e.$$;
234
- r.fragment !== null && (Un(r.after_update), ut(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
234
+ r.fragment !== null && (Mn(r.after_update), lt(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
235
235
  }
236
- function Vn(e, t) {
237
- e.$$.dirty[0] === -1 && (Ge.push(e), Dn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
236
+ function Gn(e, t) {
237
+ e.$$.dirty[0] === -1 && (Ge.push(e), Ln(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
238
238
  }
239
- function Xn(e, t, r, n, i, o, s = null, a = [-1]) {
240
- const f = ot;
241
- nt(e);
239
+ function jn(e, t, r, n, i, o, s = null, a = [-1]) {
240
+ const f = st;
241
+ it(e);
242
242
  const h = e.$$ = {
243
243
  fragment: null,
244
244
  ctx: [],
@@ -246,7 +246,7 @@ function Xn(e, t, r, n, i, o, s = null, a = [-1]) {
246
246
  props: o,
247
247
  update: he,
248
248
  not_equal: i,
249
- bound: mr(),
249
+ bound: fr(),
250
250
  // lifecycle
251
251
  on_mount: [],
252
252
  on_destroy: [],
@@ -255,28 +255,28 @@ function Xn(e, t, r, n, i, o, s = null, a = [-1]) {
255
255
  after_update: [],
256
256
  context: new Map(t.context || (f ? f.$$.context : [])),
257
257
  // everything else
258
- callbacks: mr(),
258
+ callbacks: fr(),
259
259
  dirty: a,
260
260
  skip_bound: !1,
261
261
  root: t.target || f.$$.root
262
262
  };
263
263
  s && s(h.root);
264
264
  let c = !1;
265
- if (h.ctx = r ? r(e, t.props || {}, (d, p, ...E) => {
266
- const P = E.length ? E[0] : p;
267
- return h.ctx && i(h.ctx[d], h.ctx[d] = P) && (!h.skip_bound && h.bound[d] && h.bound[d](P), c && Vn(e, d)), p;
268
- }) : [], h.update(), c = !0, ut(h.before_update), h.fragment = n ? n(h.ctx) : !1, t.target) {
265
+ if (h.ctx = r ? r(e, t.props || {}, (d, m, ..._) => {
266
+ const C = _.length ? _[0] : m;
267
+ return h.ctx && i(h.ctx[d], h.ctx[d] = C) && (!h.skip_bound && h.bound[d] && h.bound[d](C), c && Gn(e, d)), m;
268
+ }) : [], h.update(), c = !0, lt(h.before_update), h.fragment = n ? n(h.ctx) : !1, t.target) {
269
269
  if (t.hydrate) {
270
- const d = Cn(t.target);
270
+ const d = Hn(t.target);
271
271
  h.fragment && h.fragment.l(d), d.forEach(re);
272
272
  } else
273
273
  h.fragment && h.fragment.c();
274
- t.intro && jn(e.$$.fragment), $n(e, t.target, t.anchor), N();
274
+ t.intro && Dn(e.$$.fragment), Fn(e, t.target, t.anchor), M();
275
275
  }
276
- nt(f);
276
+ it(f);
277
277
  }
278
- let Xr;
279
- typeof HTMLElement == "function" && (Xr = class extends HTMLElement {
278
+ let jr;
279
+ typeof HTMLElement == "function" && (jr = class extends HTMLElement {
280
280
  /** The Svelte component constructor */
281
281
  $$ctor;
282
282
  /** Slots */
@@ -335,12 +335,12 @@ typeof HTMLElement == "function" && (Xr = class extends HTMLElement {
335
335
  };
336
336
  if (await Promise.resolve(), !this.$$cn || this.$$c)
337
337
  return;
338
- const t = {}, r = Ln(this);
338
+ const t = {}, r = Pn(this);
339
339
  for (const i of this.$$s)
340
340
  i in r && (t[i] = [e(i)]);
341
341
  for (const i of this.attributes) {
342
342
  const o = this.$$g_p(i.name);
343
- o in this.$$d || (this.$$d[o] = vt(o, i.value, this.$$p_d, "toProp"));
343
+ o in this.$$d || (this.$$d[o] = yt(o, i.value, this.$$p_d, "toProp"));
344
344
  }
345
345
  for (const i in this.$$p_d)
346
346
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -358,7 +358,7 @@ typeof HTMLElement == "function" && (Xr = class extends HTMLElement {
358
358
  this.$$r = !0;
359
359
  for (const i in this.$$p_d)
360
360
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
361
- const o = vt(
361
+ const o = yt(
362
362
  i,
363
363
  this.$$d[i],
364
364
  this.$$p_d,
@@ -380,7 +380,7 @@ typeof HTMLElement == "function" && (Xr = class extends HTMLElement {
380
380
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
381
381
  // and setting attributes through setAttribute etc, this is helpful
382
382
  attributeChangedCallback(e, t, r) {
383
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = vt(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
383
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = yt(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
384
384
  }
385
385
  disconnectedCallback() {
386
386
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -393,7 +393,7 @@ typeof HTMLElement == "function" && (Xr = class extends HTMLElement {
393
393
  ) || e;
394
394
  }
395
395
  });
396
- function vt(e, t, r, n) {
396
+ function yt(e, t, r, n) {
397
397
  const i = r[e]?.type;
398
398
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
399
399
  return t;
@@ -422,8 +422,8 @@ function vt(e, t, r, n) {
422
422
  return t;
423
423
  }
424
424
  }
425
- function zn(e, t, r, n, i, o) {
426
- let s = class extends Xr {
425
+ function $n(e, t, r, n, i, o) {
426
+ let s = class extends jr {
427
427
  constructor() {
428
428
  super(e, r, i), this.$$p_d = t;
429
429
  }
@@ -439,7 +439,7 @@ function zn(e, t, r, n, i, o) {
439
439
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
440
440
  },
441
441
  set(f) {
442
- f = vt(a, f, t), this.$$d[a] = f, this.$$c?.$set({ [a]: f });
442
+ f = yt(a, f, t), this.$$d[a] = f, this.$$c?.$set({ [a]: f });
443
443
  }
444
444
  });
445
445
  }), n.forEach((a) => {
@@ -451,7 +451,7 @@ function zn(e, t, r, n, i, o) {
451
451
  }), e.element = /** @type {any} */
452
452
  s, s;
453
453
  }
454
- class Wn {
454
+ class kn {
455
455
  /**
456
456
  * ### PRIVATE API
457
457
  *
@@ -470,7 +470,7 @@ class Wn {
470
470
  $$set = void 0;
471
471
  /** @returns {void} */
472
472
  $destroy() {
473
- kn(this, 1), this.$destroy = he;
473
+ Un(this, 1), this.$destroy = he;
474
474
  }
475
475
  /**
476
476
  * @template {Extract<keyof Events, string>} K
@@ -479,7 +479,7 @@ class Wn {
479
479
  * @returns {() => void}
480
480
  */
481
481
  $on(t, r) {
482
- if (!St(r))
482
+ if (!Tt(r))
483
483
  return he;
484
484
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
485
485
  return n.push(r), () => {
@@ -492,11 +492,11 @@ class Wn {
492
492
  * @returns {void}
493
493
  */
494
494
  $set(t) {
495
- this.$$set && !Sn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
495
+ this.$$set && !_n(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
496
496
  }
497
497
  }
498
- const qn = "4";
499
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(qn);
498
+ const Vn = "4";
499
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Vn);
500
500
  /*! *****************************************************************************
501
501
  Copyright (c) Microsoft Corporation.
502
502
 
@@ -511,24 +511,43 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
511
511
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
512
512
  PERFORMANCE OF THIS SOFTWARE.
513
513
  ***************************************************************************** */
514
- var Jt = function(e, t) {
515
- return Jt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
514
+ var Wt = function(e, t) {
515
+ return Wt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
516
516
  r.__proto__ = n;
517
517
  } || function(r, n) {
518
518
  for (var i in n)
519
519
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
520
- }, Jt(e, t);
520
+ }, Wt(e, t);
521
521
  };
522
- function lt(e, t) {
522
+ function xe(e, t) {
523
523
  if (typeof t != "function" && t !== null)
524
524
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
525
- Jt(e, t);
525
+ Wt(e, t);
526
526
  function r() {
527
527
  this.constructor = e;
528
528
  }
529
529
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
530
530
  }
531
- function Qt(e) {
531
+ var B = function() {
532
+ return B = Object.assign || function(t) {
533
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
534
+ r = arguments[n];
535
+ for (var o in r)
536
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
537
+ }
538
+ return t;
539
+ }, B.apply(this, arguments);
540
+ };
541
+ function Xn(e, t) {
542
+ var r = {};
543
+ for (var n in e)
544
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
545
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
546
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
547
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
548
+ return r;
549
+ }
550
+ function qt(e) {
532
551
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
533
552
  if (r)
534
553
  return r.call(e);
@@ -540,7 +559,7 @@ function Qt(e) {
540
559
  };
541
560
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
542
561
  }
543
- function Yt(e, t) {
562
+ function Zt(e, t) {
544
563
  var r = typeof Symbol == "function" && e[Symbol.iterator];
545
564
  if (!r)
546
565
  return e;
@@ -560,22 +579,22 @@ function Yt(e, t) {
560
579
  }
561
580
  return o;
562
581
  }
563
- function Kt(e, t, r) {
564
- if (arguments.length === 2)
582
+ function $e(e, t, r) {
583
+ if (r || arguments.length === 2)
565
584
  for (var n = 0, i = t.length, o; n < i; n++)
566
585
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
567
586
  return e.concat(o || t);
568
587
  }
569
- function xe(e) {
588
+ function _e(e) {
570
589
  return typeof e == "function";
571
590
  }
572
- function zr(e) {
591
+ function $r(e) {
573
592
  var t = function(n) {
574
593
  Error.call(n), n.stack = new Error().stack;
575
594
  }, r = e(t);
576
595
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
577
596
  }
578
- var Dt = zr(function(e) {
597
+ var Mt = $r(function(e) {
579
598
  return function(r) {
580
599
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
581
600
  ` + r.map(function(n, i) {
@@ -584,13 +603,13 @@ var Dt = zr(function(e) {
584
603
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
585
604
  };
586
605
  });
587
- function er(e, t) {
606
+ function Jt(e, t) {
588
607
  if (e) {
589
608
  var r = e.indexOf(t);
590
609
  0 <= r && e.splice(r, 1);
591
610
  }
592
611
  }
593
- var At = function() {
612
+ var St = function() {
594
613
  function e(t) {
595
614
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
596
615
  }
@@ -602,7 +621,7 @@ var At = function() {
602
621
  if (s)
603
622
  if (this._parentage = null, Array.isArray(s))
604
623
  try {
605
- for (var a = Qt(s), f = a.next(); !f.done; f = a.next()) {
624
+ for (var a = qt(s), f = a.next(); !f.done; f = a.next()) {
606
625
  var h = f.value;
607
626
  h.remove(this);
608
627
  }
@@ -619,29 +638,29 @@ var At = function() {
619
638
  else
620
639
  s.remove(this);
621
640
  var c = this.initialTeardown;
622
- if (xe(c))
641
+ if (_e(c))
623
642
  try {
624
643
  c();
625
644
  } catch (H) {
626
- o = H instanceof Dt ? H.errors : [H];
645
+ o = H instanceof Mt ? H.errors : [H];
627
646
  }
628
647
  var d = this._finalizers;
629
648
  if (d) {
630
649
  this._finalizers = null;
631
650
  try {
632
- for (var p = Qt(d), E = p.next(); !E.done; E = p.next()) {
633
- var P = E.value;
651
+ for (var m = qt(d), _ = m.next(); !_.done; _ = m.next()) {
652
+ var C = _.value;
634
653
  try {
635
- gr(P);
654
+ dr(C);
636
655
  } catch (H) {
637
- o = o ?? [], H instanceof Dt ? o = Kt(Kt([], Yt(o)), Yt(H.errors)) : o.push(H);
656
+ o = o ?? [], H instanceof Mt ? o = $e($e([], Zt(o)), Zt(H.errors)) : o.push(H);
638
657
  }
639
658
  }
640
659
  } catch (H) {
641
660
  n = { error: H };
642
661
  } finally {
643
662
  try {
644
- E && !E.done && (i = p.return) && i.call(p);
663
+ _ && !_.done && (i = m.return) && i.call(m);
645
664
  } finally {
646
665
  if (n)
647
666
  throw n.error;
@@ -649,13 +668,13 @@ var At = function() {
649
668
  }
650
669
  }
651
670
  if (o)
652
- throw new Dt(o);
671
+ throw new Mt(o);
653
672
  }
654
673
  }, e.prototype.add = function(t) {
655
674
  var r;
656
675
  if (t && t !== this)
657
676
  if (this.closed)
658
- gr(t);
677
+ dr(t);
659
678
  else {
660
679
  if (t instanceof e) {
661
680
  if (t.closed || t._hasParent(this))
@@ -672,52 +691,56 @@ var At = function() {
672
691
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
673
692
  }, e.prototype._removeParent = function(t) {
674
693
  var r = this._parentage;
675
- r === t ? this._parentage = null : Array.isArray(r) && er(r, t);
694
+ r === t ? this._parentage = null : Array.isArray(r) && Jt(r, t);
676
695
  }, e.prototype.remove = function(t) {
677
696
  var r = this._finalizers;
678
- r && er(r, t), t instanceof e && t._removeParent(this);
697
+ r && Jt(r, t), t instanceof e && t._removeParent(this);
679
698
  }, e.EMPTY = function() {
680
699
  var t = new e();
681
700
  return t.closed = !0, t;
682
701
  }(), e;
683
- }(), Wr = At.EMPTY;
684
- function qr(e) {
685
- return e instanceof At || e && "closed" in e && xe(e.remove) && xe(e.add) && xe(e.unsubscribe);
686
- }
687
- function gr(e) {
688
- xe(e) ? e() : e.unsubscribe();
689
- }
690
- var Zn = {
691
- Promise: void 0
692
- }, Jn = {
702
+ }(), kr = St.EMPTY;
703
+ function Vr(e) {
704
+ return e instanceof St || e && "closed" in e && _e(e.remove) && _e(e.add) && _e(e.unsubscribe);
705
+ }
706
+ function dr(e) {
707
+ _e(e) ? e() : e.unsubscribe();
708
+ }
709
+ var zn = {
710
+ onUnhandledError: null,
711
+ onStoppedNotification: null,
712
+ Promise: void 0,
713
+ useDeprecatedSynchronousErrorHandling: !1,
714
+ useDeprecatedNextContext: !1
715
+ }, Wn = {
693
716
  setTimeout: function(e, t) {
694
717
  for (var r = [], n = 2; n < arguments.length; n++)
695
718
  r[n - 2] = arguments[n];
696
- return setTimeout.apply(void 0, Kt([e, t], Yt(r)));
719
+ return setTimeout.apply(void 0, $e([e, t], Zt(r)));
697
720
  },
698
721
  clearTimeout: function(e) {
699
722
  return clearTimeout(e);
700
723
  },
701
724
  delegate: void 0
702
725
  };
703
- function Qn(e) {
704
- Jn.setTimeout(function() {
726
+ function qn(e) {
727
+ Wn.setTimeout(function() {
705
728
  throw e;
706
729
  });
707
730
  }
708
- function vr() {
731
+ function mr() {
709
732
  }
710
- function yt(e) {
733
+ function vt(e) {
711
734
  e();
712
735
  }
713
- var Zr = function(e) {
714
- lt(t, e);
736
+ var Xr = function(e) {
737
+ xe(t, e);
715
738
  function t(r) {
716
739
  var n = e.call(this) || this;
717
- return n.isStopped = !1, r ? (n.destination = r, qr(r) && r.add(n)) : n.destination = ei, n;
740
+ return n.isStopped = !1, r ? (n.destination = r, Vr(r) && r.add(n)) : n.destination = Qn, n;
718
741
  }
719
742
  return t.create = function(r, n, i) {
720
- return new tr(r, n, i);
743
+ return new Qt(r, n, i);
721
744
  }, t.prototype.next = function(r) {
722
745
  this.isStopped || this._next(r);
723
746
  }, t.prototype.error = function(r) {
@@ -741,7 +764,7 @@ var Zr = function(e) {
741
764
  this.unsubscribe();
742
765
  }
743
766
  }, t;
744
- }(At), Yn = function() {
767
+ }(St), Zn = function() {
745
768
  function e(t) {
746
769
  this.partialObserver = t;
747
770
  }
@@ -772,43 +795,43 @@ var Zr = function(e) {
772
795
  bt(r);
773
796
  }
774
797
  }, e;
775
- }(), tr = function(e) {
776
- lt(t, e);
798
+ }(), Qt = function(e) {
799
+ xe(t, e);
777
800
  function t(r, n, i) {
778
801
  var o = e.call(this) || this, s;
779
- return xe(r) || !r ? s = {
802
+ return _e(r) || !r ? s = {
780
803
  next: r ?? void 0,
781
804
  error: n ?? void 0,
782
805
  complete: i ?? void 0
783
- } : s = r, o.destination = new Yn(s), o;
806
+ } : s = r, o.destination = new Zn(s), o;
784
807
  }
785
808
  return t;
786
- }(Zr);
809
+ }(Xr);
787
810
  function bt(e) {
788
- Qn(e);
811
+ qn(e);
789
812
  }
790
- function Kn(e) {
813
+ function Jn(e) {
791
814
  throw e;
792
815
  }
793
- var ei = {
816
+ var Qn = {
794
817
  closed: !0,
795
- next: vr,
796
- error: Kn,
797
- complete: vr
798
- }, ti = function() {
818
+ next: mr,
819
+ error: Jn,
820
+ complete: mr
821
+ }, Yn = function() {
799
822
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
800
823
  }();
801
- function ri(e) {
824
+ function Kn(e) {
802
825
  return e;
803
826
  }
804
- function ni(e) {
805
- return e.length === 0 ? ri : e.length === 1 ? e[0] : function(r) {
827
+ function ei(e) {
828
+ return e.length === 0 ? Kn : e.length === 1 ? e[0] : function(r) {
806
829
  return e.reduce(function(n, i) {
807
830
  return i(n);
808
831
  }, r);
809
832
  };
810
833
  }
811
- var yr = function() {
834
+ var pr = function() {
812
835
  function e(t) {
813
836
  t && (this._subscribe = t);
814
837
  }
@@ -816,8 +839,8 @@ var yr = function() {
816
839
  var r = new e();
817
840
  return r.source = this, r.operator = t, r;
818
841
  }, e.prototype.subscribe = function(t, r, n) {
819
- var i = this, o = oi(t) ? t : new tr(t, r, n);
820
- return yt(function() {
842
+ var i = this, o = ri(t) ? t : new Qt(t, r, n);
843
+ return vt(function() {
821
844
  var s = i, a = s.operator, f = s.source;
822
845
  o.add(a ? a.call(o, f) : f ? i._subscribe(o) : i._trySubscribe(o));
823
846
  }), o;
@@ -829,8 +852,8 @@ var yr = function() {
829
852
  }
830
853
  }, e.prototype.forEach = function(t, r) {
831
854
  var n = this;
832
- return r = _r(r), new r(function(i, o) {
833
- var s = new tr({
855
+ return r = br(r), new r(function(i, o) {
856
+ var s = new Qt({
834
857
  next: function(a) {
835
858
  try {
836
859
  t(a);
@@ -846,15 +869,15 @@ var yr = function() {
846
869
  }, e.prototype._subscribe = function(t) {
847
870
  var r;
848
871
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
849
- }, e.prototype[ti] = function() {
872
+ }, e.prototype[Yn] = function() {
850
873
  return this;
851
874
  }, e.prototype.pipe = function() {
852
875
  for (var t = [], r = 0; r < arguments.length; r++)
853
876
  t[r] = arguments[r];
854
- return ni(t)(this);
877
+ return ei(t)(this);
855
878
  }, e.prototype.toPromise = function(t) {
856
879
  var r = this;
857
- return t = _r(t), new t(function(n, i) {
880
+ return t = br(t), new t(function(n, i) {
858
881
  var o;
859
882
  r.subscribe(function(s) {
860
883
  return o = s;
@@ -868,40 +891,40 @@ var yr = function() {
868
891
  return new e(t);
869
892
  }, e;
870
893
  }();
871
- function _r(e) {
894
+ function br(e) {
872
895
  var t;
873
- return (t = e ?? Zn.Promise) !== null && t !== void 0 ? t : Promise;
896
+ return (t = e ?? zn.Promise) !== null && t !== void 0 ? t : Promise;
874
897
  }
875
- function ii(e) {
876
- return e && xe(e.next) && xe(e.error) && xe(e.complete);
898
+ function ti(e) {
899
+ return e && _e(e.next) && _e(e.error) && _e(e.complete);
877
900
  }
878
- function oi(e) {
879
- return e && e instanceof Zr || ii(e) && qr(e);
901
+ function ri(e) {
902
+ return e && e instanceof Xr || ti(e) && Vr(e);
880
903
  }
881
- var si = zr(function(e) {
904
+ var ni = $r(function(e) {
882
905
  return function() {
883
906
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
884
907
  };
885
- }), Jr = function(e) {
886
- lt(t, e);
908
+ }), zr = function(e) {
909
+ xe(t, e);
887
910
  function t() {
888
911
  var r = e.call(this) || this;
889
912
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
890
913
  }
891
914
  return t.prototype.lift = function(r) {
892
- var n = new Er(this, this);
915
+ var n = new gr(this, this);
893
916
  return n.operator = r, n;
894
917
  }, t.prototype._throwIfClosed = function() {
895
918
  if (this.closed)
896
- throw new si();
919
+ throw new ni();
897
920
  }, t.prototype.next = function(r) {
898
921
  var n = this;
899
- yt(function() {
922
+ vt(function() {
900
923
  var i, o;
901
924
  if (n._throwIfClosed(), !n.isStopped) {
902
925
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
903
926
  try {
904
- for (var s = Qt(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
927
+ for (var s = qt(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
905
928
  var f = a.value;
906
929
  f.next(r);
907
930
  }
@@ -919,7 +942,7 @@ var si = zr(function(e) {
919
942
  });
920
943
  }, t.prototype.error = function(r) {
921
944
  var n = this;
922
- yt(function() {
945
+ vt(function() {
923
946
  if (n._throwIfClosed(), !n.isStopped) {
924
947
  n.hasError = n.isStopped = !0, n.thrownError = r;
925
948
  for (var i = n.observers; i.length; )
@@ -928,7 +951,7 @@ var si = zr(function(e) {
928
951
  });
929
952
  }, t.prototype.complete = function() {
930
953
  var r = this;
931
- yt(function() {
954
+ vt(function() {
932
955
  if (r._throwIfClosed(), !r.isStopped) {
933
956
  r.isStopped = !0;
934
957
  for (var n = r.observers; n.length; )
@@ -950,20 +973,20 @@ var si = zr(function(e) {
950
973
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
951
974
  }, t.prototype._innerSubscribe = function(r) {
952
975
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
953
- return o || s ? Wr : (this.currentObservers = null, a.push(r), new At(function() {
954
- n.currentObservers = null, er(a, r);
976
+ return o || s ? kr : (this.currentObservers = null, a.push(r), new St(function() {
977
+ n.currentObservers = null, Jt(a, r);
955
978
  }));
956
979
  }, t.prototype._checkFinalizedStatuses = function(r) {
957
980
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
958
981
  i ? r.error(o) : s && r.complete();
959
982
  }, t.prototype.asObservable = function() {
960
- var r = new yr();
983
+ var r = new pr();
961
984
  return r.source = this, r;
962
985
  }, t.create = function(r, n) {
963
- return new Er(r, n);
986
+ return new gr(r, n);
964
987
  }, t;
965
- }(yr), Er = function(e) {
966
- lt(t, e);
988
+ }(pr), gr = function(e) {
989
+ xe(t, e);
967
990
  function t(r, n) {
968
991
  var i = e.call(this) || this;
969
992
  return i.destination = r, i.source = n, i;
@@ -979,17 +1002,17 @@ var si = zr(function(e) {
979
1002
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
980
1003
  }, t.prototype._subscribe = function(r) {
981
1004
  var n, i;
982
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Wr;
1005
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : kr;
983
1006
  }, t;
984
- }(Jr), Qr = {
1007
+ }(zr), Wr = {
985
1008
  now: function() {
986
- return (Qr.delegate || Date).now();
1009
+ return (Wr.delegate || Date).now();
987
1010
  },
988
1011
  delegate: void 0
989
- }, ai = function(e) {
990
- lt(t, e);
1012
+ }, ii = function(e) {
1013
+ xe(t, e);
991
1014
  function t(r, n, i) {
992
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Qr);
1015
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Wr);
993
1016
  var o = e.call(this) || this;
994
1017
  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;
995
1018
  }
@@ -1009,24 +1032,24 @@ var si = zr(function(e) {
1009
1032
  h && o.splice(0, h + 1);
1010
1033
  }
1011
1034
  }, t;
1012
- }(Jr);
1013
- const xr = [], wr = {}, ui = (e, t = 0) => {
1014
- if (xr.indexOf(e) == -1) {
1015
- const r = new ai(t);
1016
- wr[e] = r, xr.push(e);
1035
+ }(zr);
1036
+ const yr = [], vr = {}, oi = (e, t = 0) => {
1037
+ if (yr.indexOf(e) == -1) {
1038
+ const r = new ii(t);
1039
+ vr[e] = r, yr.push(e);
1017
1040
  }
1018
- return wr[e];
1041
+ return vr[e];
1019
1042
  }, Ue = [];
1020
- function li(e, t) {
1043
+ function si(e, t) {
1021
1044
  return {
1022
- subscribe: Ht(e, t).subscribe
1045
+ subscribe: At(e, t).subscribe
1023
1046
  };
1024
1047
  }
1025
- function Ht(e, t = he) {
1048
+ function At(e, t = he) {
1026
1049
  let r;
1027
1050
  const n = /* @__PURE__ */ new Set();
1028
1051
  function i(a) {
1029
- if (kr(e, a) && (e = a, r)) {
1052
+ if (Ur(e, a) && (e = a, r)) {
1030
1053
  const f = !Ue.length;
1031
1054
  for (const h of n)
1032
1055
  h[1](), Ue.push(h, e);
@@ -1048,185 +1071,146 @@ function Ht(e, t = he) {
1048
1071
  }
1049
1072
  return { set: i, update: o, subscribe: s };
1050
1073
  }
1051
- function ze(e, t, r) {
1074
+ function We(e, t, r) {
1052
1075
  const n = !Array.isArray(e), i = n ? [e] : e;
1053
1076
  if (!i.every(Boolean))
1054
1077
  throw new Error("derived() expects stores as input, got a falsy value");
1055
1078
  const o = t.length < 2;
1056
- return li(r, (s, a) => {
1079
+ return si(r, (s, a) => {
1057
1080
  let f = !1;
1058
1081
  const h = [];
1059
1082
  let c = 0, d = he;
1060
- const p = () => {
1083
+ const m = () => {
1061
1084
  if (c)
1062
1085
  return;
1063
1086
  d();
1064
- const P = t(n ? h[0] : h, s, a);
1065
- o ? s(P) : d = St(P) ? P : he;
1066
- }, E = i.map(
1067
- (P, H) => Vr(
1068
- P,
1087
+ const C = t(n ? h[0] : h, s, a);
1088
+ o ? s(C) : d = Tt(C) ? C : he;
1089
+ }, _ = i.map(
1090
+ (C, H) => Gr(
1091
+ C,
1069
1092
  (Y) => {
1070
- h[H] = Y, c &= ~(1 << H), f && p();
1093
+ h[H] = Y, c &= ~(1 << H), f && m();
1071
1094
  },
1072
1095
  () => {
1073
1096
  c |= 1 << H;
1074
1097
  }
1075
1098
  )
1076
1099
  );
1077
- return f = !0, p(), function() {
1078
- ut(E), d(), f = !1;
1100
+ return f = !0, m(), function() {
1101
+ lt(_), d(), f = !1;
1079
1102
  };
1080
1103
  });
1081
1104
  }
1082
- var hi = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1083
- function fi(e) {
1105
+ var ai = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1106
+ function ui(e) {
1084
1107
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1085
1108
  }
1086
- var ci = function(t) {
1087
- return di(t) && !pi(t);
1109
+ var li = function(t) {
1110
+ return hi(t) && !fi(t);
1088
1111
  };
1089
- function di(e) {
1112
+ function hi(e) {
1090
1113
  return !!e && typeof e == "object";
1091
1114
  }
1092
- function pi(e) {
1115
+ function fi(e) {
1093
1116
  var t = Object.prototype.toString.call(e);
1094
- return t === "[object RegExp]" || t === "[object Date]" || gi(e);
1117
+ return t === "[object RegExp]" || t === "[object Date]" || mi(e);
1095
1118
  }
1096
- var mi = typeof Symbol == "function" && Symbol.for, bi = mi ? Symbol.for("react.element") : 60103;
1097
- function gi(e) {
1098
- return e.$$typeof === bi;
1119
+ var ci = typeof Symbol == "function" && Symbol.for, di = ci ? Symbol.for("react.element") : 60103;
1120
+ function mi(e) {
1121
+ return e.$$typeof === di;
1099
1122
  }
1100
- function vi(e) {
1123
+ function pi(e) {
1101
1124
  return Array.isArray(e) ? [] : {};
1102
1125
  }
1103
- function st(e, t) {
1104
- return t.clone !== !1 && t.isMergeableObject(e) ? $e(vi(e), e, t) : e;
1126
+ function at(e, t) {
1127
+ return t.clone !== !1 && t.isMergeableObject(e) ? ke(pi(e), e, t) : e;
1105
1128
  }
1106
- function yi(e, t, r) {
1129
+ function bi(e, t, r) {
1107
1130
  return e.concat(t).map(function(n) {
1108
- return st(n, r);
1131
+ return at(n, r);
1109
1132
  });
1110
1133
  }
1111
- function _i(e, t) {
1134
+ function gi(e, t) {
1112
1135
  if (!t.customMerge)
1113
- return $e;
1136
+ return ke;
1114
1137
  var r = t.customMerge(e);
1115
- return typeof r == "function" ? r : $e;
1138
+ return typeof r == "function" ? r : ke;
1116
1139
  }
1117
- function Ei(e) {
1140
+ function yi(e) {
1118
1141
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1119
1142
  return Object.propertyIsEnumerable.call(e, t);
1120
1143
  }) : [];
1121
1144
  }
1122
- function Tr(e) {
1123
- return Object.keys(e).concat(Ei(e));
1145
+ function Er(e) {
1146
+ return Object.keys(e).concat(yi(e));
1124
1147
  }
1125
- function Yr(e, t) {
1148
+ function qr(e, t) {
1126
1149
  try {
1127
1150
  return t in e;
1128
1151
  } catch {
1129
1152
  return !1;
1130
1153
  }
1131
1154
  }
1132
- function xi(e, t) {
1133
- return Yr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1155
+ function vi(e, t) {
1156
+ return qr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1134
1157
  }
1135
- function wi(e, t, r) {
1158
+ function Ei(e, t, r) {
1136
1159
  var n = {};
1137
- return r.isMergeableObject(e) && Tr(e).forEach(function(i) {
1138
- n[i] = st(e[i], r);
1139
- }), Tr(t).forEach(function(i) {
1140
- xi(e, i) || (Yr(e, i) && r.isMergeableObject(t[i]) ? n[i] = _i(i, r)(e[i], t[i], r) : n[i] = st(t[i], r));
1160
+ return r.isMergeableObject(e) && Er(e).forEach(function(i) {
1161
+ n[i] = at(e[i], r);
1162
+ }), Er(t).forEach(function(i) {
1163
+ vi(e, i) || (qr(e, i) && r.isMergeableObject(t[i]) ? n[i] = gi(i, r)(e[i], t[i], r) : n[i] = at(t[i], r));
1141
1164
  }), n;
1142
1165
  }
1143
- function $e(e, t, r) {
1144
- r = r || {}, r.arrayMerge = r.arrayMerge || yi, r.isMergeableObject = r.isMergeableObject || ci, r.cloneUnlessOtherwiseSpecified = st;
1166
+ function ke(e, t, r) {
1167
+ r = r || {}, r.arrayMerge = r.arrayMerge || bi, r.isMergeableObject = r.isMergeableObject || li, r.cloneUnlessOtherwiseSpecified = at;
1145
1168
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1146
- return o ? n ? r.arrayMerge(e, t, r) : wi(e, t, r) : st(t, r);
1169
+ return o ? n ? r.arrayMerge(e, t, r) : Ei(e, t, r) : at(t, r);
1147
1170
  }
1148
- $e.all = function(t, r) {
1171
+ ke.all = function(t, r) {
1149
1172
  if (!Array.isArray(t))
1150
1173
  throw new Error("first argument should be an array");
1151
1174
  return t.reduce(function(n, i) {
1152
- return $e(n, i, r);
1175
+ return ke(n, i, r);
1153
1176
  }, {});
1154
1177
  };
1155
- var Ti = $e, Si = Ti;
1156
- const Ai = /* @__PURE__ */ fi(Si);
1157
- var rr = function(e, t) {
1158
- return rr = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1159
- r.__proto__ = n;
1160
- } || function(r, n) {
1161
- for (var i in n)
1162
- Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1163
- }, rr(e, t);
1164
- };
1165
- function Bt(e, t) {
1166
- if (typeof t != "function" && t !== null)
1167
- throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1168
- rr(e, t);
1169
- function r() {
1170
- this.constructor = e;
1171
- }
1172
- e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1173
- }
1174
- var be = function() {
1175
- return be = Object.assign || function(t) {
1176
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1177
- r = arguments[n];
1178
- for (var o in r)
1179
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1180
- }
1181
- return t;
1182
- }, be.apply(this, arguments);
1183
- };
1184
- function Hi(e, t) {
1185
- var r = {};
1186
- for (var n in e)
1187
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1188
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
1189
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1190
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1191
- return r;
1192
- }
1193
- function Ft(e, t, r) {
1194
- if (r || arguments.length === 2)
1195
- for (var n = 0, i = t.length, o; n < i; n++)
1196
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1197
- return e.concat(o || Array.prototype.slice.call(t));
1198
- }
1199
- function Ut(e, t) {
1200
- var r = t && t.cache ? t.cache : Ni, n = t && t.serializer ? t.serializer : Ii, i = t && t.strategy ? t.strategy : Oi;
1178
+ var _i = ke, xi = _i;
1179
+ const wi = /* @__PURE__ */ ui(xi);
1180
+ function Rt(e, t) {
1181
+ var r = t && t.cache ? t.cache : Ci, n = t && t.serializer ? t.serializer : Bi, i = t && t.strategy ? t.strategy : Si;
1201
1182
  return i(e, {
1202
1183
  cache: r,
1203
1184
  serializer: n
1204
1185
  });
1205
1186
  }
1206
- function Bi(e) {
1187
+ function Ti(e) {
1207
1188
  return e == null || typeof e == "number" || typeof e == "boolean";
1208
1189
  }
1209
- function Pi(e, t, r, n) {
1210
- var i = Bi(n) ? n : r(n), o = t.get(i);
1190
+ function Zr(e, t, r, n) {
1191
+ var i = Ti(n) ? n : r(n), o = t.get(i);
1211
1192
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1212
1193
  }
1213
- function Kr(e, t, r) {
1194
+ function Jr(e, t, r) {
1214
1195
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1215
1196
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1216
1197
  }
1217
- function en(e, t, r, n, i) {
1198
+ function ar(e, t, r, n, i) {
1218
1199
  return r.bind(t, e, n, i);
1219
1200
  }
1220
- function Oi(e, t) {
1221
- var r = e.length === 1 ? Pi : Kr;
1222
- return en(e, this, r, t.cache.create(), t.serializer);
1201
+ function Si(e, t) {
1202
+ var r = e.length === 1 ? Zr : Jr;
1203
+ return ar(e, this, r, t.cache.create(), t.serializer);
1223
1204
  }
1224
- function Ci(e, t) {
1225
- return en(e, this, Kr, t.cache.create(), t.serializer);
1205
+ function Ai(e, t) {
1206
+ return ar(e, this, Jr, t.cache.create(), t.serializer);
1226
1207
  }
1227
- var Ii = function() {
1208
+ function Hi(e, t) {
1209
+ return ar(e, this, Zr, t.cache.create(), t.serializer);
1210
+ }
1211
+ var Bi = function() {
1228
1212
  return JSON.stringify(arguments);
1229
- }, Li = (
1213
+ }, Pi = (
1230
1214
  /** @class */
1231
1215
  function() {
1232
1216
  function e() {
@@ -1238,71 +1222,62 @@ var Ii = function() {
1238
1222
  this.cache[t] = r;
1239
1223
  }, e;
1240
1224
  }()
1241
- ), Ni = {
1225
+ ), Ci = {
1242
1226
  create: function() {
1243
- return new Li();
1227
+ return new Pi();
1244
1228
  }
1245
- }, Gt = {
1246
- variadic: Ci
1247
- }, xt = function() {
1248
- return xt = Object.assign || function(t) {
1249
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1250
- r = arguments[n];
1251
- for (var o in r)
1252
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1253
- }
1254
- return t;
1255
- }, xt.apply(this, arguments);
1256
- };
1257
- var S;
1229
+ }, Dt = {
1230
+ variadic: Ai,
1231
+ monadic: Hi
1232
+ }, S;
1258
1233
  (function(e) {
1259
1234
  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";
1260
1235
  })(S || (S = {}));
1261
- var M;
1236
+ var R;
1262
1237
  (function(e) {
1263
1238
  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";
1264
- })(M || (M = {}));
1265
- var ke;
1239
+ })(R || (R = {}));
1240
+ var Ve;
1266
1241
  (function(e) {
1267
1242
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1268
- })(ke || (ke = {}));
1269
- function Sr(e) {
1270
- return e.type === M.literal;
1243
+ })(Ve || (Ve = {}));
1244
+ function _r(e) {
1245
+ return e.type === R.literal;
1271
1246
  }
1272
- function Mi(e) {
1273
- return e.type === M.argument;
1247
+ function Oi(e) {
1248
+ return e.type === R.argument;
1274
1249
  }
1275
- function tn(e) {
1276
- return e.type === M.number;
1250
+ function Qr(e) {
1251
+ return e.type === R.number;
1277
1252
  }
1278
- function rn(e) {
1279
- return e.type === M.date;
1253
+ function Yr(e) {
1254
+ return e.type === R.date;
1280
1255
  }
1281
- function nn(e) {
1282
- return e.type === M.time;
1256
+ function Kr(e) {
1257
+ return e.type === R.time;
1283
1258
  }
1284
- function on(e) {
1285
- return e.type === M.select;
1259
+ function en(e) {
1260
+ return e.type === R.select;
1286
1261
  }
1287
- function sn(e) {
1288
- return e.type === M.plural;
1262
+ function tn(e) {
1263
+ return e.type === R.plural;
1289
1264
  }
1290
- function Ri(e) {
1291
- return e.type === M.pound;
1265
+ function Ii(e) {
1266
+ return e.type === R.pound;
1292
1267
  }
1293
- function an(e) {
1294
- return e.type === M.tag;
1268
+ function rn(e) {
1269
+ return e.type === R.tag;
1295
1270
  }
1296
- function un(e) {
1297
- return !!(e && typeof e == "object" && e.type === ke.number);
1271
+ function nn(e) {
1272
+ return !!(e && typeof e == "object" && e.type === Ve.number);
1298
1273
  }
1299
- function nr(e) {
1300
- return !!(e && typeof e == "object" && e.type === ke.dateTime);
1274
+ function Yt(e) {
1275
+ return !!(e && typeof e == "object" && e.type === Ve.dateTime);
1301
1276
  }
1302
- var ln = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Di = /(?:[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;
1303
- function Fi(e) {
1277
+ var on = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Li = /(?:[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;
1278
+ function Ni(e) {
1304
1279
  var t = {};
1305
- return e.replace(Di, function(r) {
1280
+ return e.replace(Li, function(r) {
1306
1281
  var n = r.length;
1307
1282
  switch (r[0]) {
1308
1283
  case "G":
@@ -1391,22 +1366,12 @@ function Fi(e) {
1391
1366
  return "";
1392
1367
  }), t;
1393
1368
  }
1394
- var R = function() {
1395
- return R = Object.assign || function(t) {
1396
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1397
- r = arguments[n];
1398
- for (var o in r)
1399
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1400
- }
1401
- return t;
1402
- }, R.apply(this, arguments);
1403
- };
1404
- var Ui = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1405
- function Gi(e) {
1369
+ var Mi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1370
+ function Ri(e) {
1406
1371
  if (e.length === 0)
1407
1372
  throw new Error("Number skeleton cannot be empty");
1408
- for (var t = e.split(Ui).filter(function(p) {
1409
- return p.length > 0;
1373
+ for (var t = e.split(Mi).filter(function(m) {
1374
+ return m.length > 0;
1410
1375
  }), r = [], n = 0, i = t; n < i.length; n++) {
1411
1376
  var o = i[n], s = o.split("/");
1412
1377
  if (s.length === 0)
@@ -1420,17 +1385,17 @@ function Gi(e) {
1420
1385
  }
1421
1386
  return r;
1422
1387
  }
1423
- function ji(e) {
1388
+ function Di(e) {
1424
1389
  return e.replace(/^(.*?)-/, "");
1425
1390
  }
1426
- var Ar = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, hn = /^(@+)?(\+|#+)?[rs]?$/g, $i = /(\*)(0+)|(#+)(0+)|(0+)/g, fn = /^(0+)$/;
1427
- function Hr(e) {
1391
+ var xr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, sn = /^(@+)?(\+|#+)?[rs]?$/g, Fi = /(\*)(0+)|(#+)(0+)|(0+)/g, an = /^(0+)$/;
1392
+ function wr(e) {
1428
1393
  var t = {};
1429
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(hn, function(r, n, i) {
1394
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(sn, function(r, n, i) {
1430
1395
  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)), "";
1431
1396
  }), t;
1432
1397
  }
1433
- function cn(e) {
1398
+ function un(e) {
1434
1399
  switch (e) {
1435
1400
  case "sign-auto":
1436
1401
  return {
@@ -1470,7 +1435,7 @@ function cn(e) {
1470
1435
  };
1471
1436
  }
1472
1437
  }
1473
- function ki(e) {
1438
+ function Ui(e) {
1474
1439
  var t;
1475
1440
  if (e[0] === "E" && e[1] === "E" ? (t = {
1476
1441
  notation: "engineering"
@@ -1478,17 +1443,17 @@ function ki(e) {
1478
1443
  notation: "scientific"
1479
1444
  }, e = e.slice(1)), t) {
1480
1445
  var r = e.slice(0, 2);
1481
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !fn.test(e))
1446
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !an.test(e))
1482
1447
  throw new Error("Malformed concise eng/scientific notation");
1483
1448
  t.minimumIntegerDigits = e.length;
1484
1449
  }
1485
1450
  return t;
1486
1451
  }
1487
- function Br(e) {
1488
- var t = {}, r = cn(e);
1452
+ function Tr(e) {
1453
+ var t = {}, r = un(e);
1489
1454
  return r || t;
1490
1455
  }
1491
- function Vi(e) {
1456
+ function Gi(e) {
1492
1457
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1493
1458
  var i = n[r];
1494
1459
  switch (i.stem) {
@@ -1512,7 +1477,7 @@ function Vi(e) {
1512
1477
  continue;
1513
1478
  case "measure-unit":
1514
1479
  case "unit":
1515
- t.style = "unit", t.unit = ji(i.options[0]);
1480
+ t.style = "unit", t.unit = Di(i.options[0]);
1516
1481
  continue;
1517
1482
  case "compact-short":
1518
1483
  case "K":
@@ -1523,13 +1488,13 @@ function Vi(e) {
1523
1488
  t.notation = "compact", t.compactDisplay = "long";
1524
1489
  continue;
1525
1490
  case "scientific":
1526
- t = R(R(R({}, t), { notation: "scientific" }), i.options.reduce(function(f, h) {
1527
- return R(R({}, f), Br(h));
1491
+ t = B(B(B({}, t), { notation: "scientific" }), i.options.reduce(function(f, h) {
1492
+ return B(B({}, f), Tr(h));
1528
1493
  }, {}));
1529
1494
  continue;
1530
1495
  case "engineering":
1531
- t = R(R(R({}, t), { notation: "engineering" }), i.options.reduce(function(f, h) {
1532
- return R(R({}, f), Br(h));
1496
+ t = B(B(B({}, t), { notation: "engineering" }), i.options.reduce(function(f, h) {
1497
+ return B(B({}, f), Tr(h));
1533
1498
  }, {}));
1534
1499
  continue;
1535
1500
  case "notation-simple":
@@ -1574,41 +1539,41 @@ function Vi(e) {
1574
1539
  case "integer-width":
1575
1540
  if (i.options.length > 1)
1576
1541
  throw new RangeError("integer-width stems only accept a single optional option");
1577
- i.options[0].replace($i, function(f, h, c, d, p, E) {
1542
+ i.options[0].replace(Fi, function(f, h, c, d, m, _) {
1578
1543
  if (h)
1579
1544
  t.minimumIntegerDigits = c.length;
1580
1545
  else {
1581
- if (d && p)
1546
+ if (d && m)
1582
1547
  throw new Error("We currently do not support maximum integer digits");
1583
- if (E)
1548
+ if (_)
1584
1549
  throw new Error("We currently do not support exact integer digits");
1585
1550
  }
1586
1551
  return "";
1587
1552
  });
1588
1553
  continue;
1589
1554
  }
1590
- if (fn.test(i.stem)) {
1555
+ if (an.test(i.stem)) {
1591
1556
  t.minimumIntegerDigits = i.stem.length;
1592
1557
  continue;
1593
1558
  }
1594
- if (Ar.test(i.stem)) {
1559
+ if (xr.test(i.stem)) {
1595
1560
  if (i.options.length > 1)
1596
1561
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1597
- i.stem.replace(Ar, function(f, h, c, d, p, E) {
1598
- return c === "*" ? t.minimumFractionDigits = h.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : p && E ? (t.minimumFractionDigits = p.length, t.maximumFractionDigits = p.length + E.length) : (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length), "";
1562
+ i.stem.replace(xr, function(f, h, c, d, m, _) {
1563
+ return c === "*" ? t.minimumFractionDigits = h.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : m && _ ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + _.length) : (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length), "";
1599
1564
  });
1600
1565
  var o = i.options[0];
1601
- o === "w" ? t = R(R({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = R(R({}, t), Hr(o)));
1566
+ o === "w" ? t = B(B({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = B(B({}, t), wr(o)));
1602
1567
  continue;
1603
1568
  }
1604
- if (hn.test(i.stem)) {
1605
- t = R(R({}, t), Hr(i.stem));
1569
+ if (sn.test(i.stem)) {
1570
+ t = B(B({}, t), wr(i.stem));
1606
1571
  continue;
1607
1572
  }
1608
- var s = cn(i.stem);
1609
- s && (t = R(R({}, t), s));
1610
- var a = ki(i.stem);
1611
- a && (t = R(R({}, t), a));
1573
+ var s = un(i.stem);
1574
+ s && (t = B(B({}, t), s));
1575
+ var a = Ui(i.stem);
1576
+ a && (t = B(B({}, t), a));
1612
1577
  }
1613
1578
  return t;
1614
1579
  }
@@ -3027,13 +2992,13 @@ var gt = {
3027
2992
  "h"
3028
2993
  ]
3029
2994
  };
3030
- function Xi(e, t) {
2995
+ function ji(e, t) {
3031
2996
  for (var r = "", n = 0; n < e.length; n++) {
3032
2997
  var i = e.charAt(n);
3033
2998
  if (i === "j") {
3034
2999
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3035
3000
  o++, n++;
3036
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), f = "a", h = zi(t);
3001
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), f = "a", h = $i(t);
3037
3002
  for ((h == "H" || h == "k") && (a = 0); a-- > 0; )
3038
3003
  r += f;
3039
3004
  for (; s-- > 0; )
@@ -3043,7 +3008,7 @@ function Xi(e, t) {
3043
3008
  }
3044
3009
  return r;
3045
3010
  }
3046
- function zi(e) {
3011
+ function $i(e) {
3047
3012
  var t = e.hourCycle;
3048
3013
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3049
3014
  e.hourCycles && // @ts-ignore
@@ -3065,20 +3030,20 @@ function zi(e) {
3065
3030
  var i = gt[n || ""] || gt[r || ""] || gt["".concat(r, "-001")] || gt["001"];
3066
3031
  return i[0];
3067
3032
  }
3068
- var jt, Wi = new RegExp("^".concat(ln.source, "*")), qi = new RegExp("".concat(ln.source, "*$"));
3033
+ var Ft, ki = new RegExp("^".concat(on.source, "*")), Vi = new RegExp("".concat(on.source, "*$"));
3069
3034
  function A(e, t) {
3070
3035
  return { start: e, end: t };
3071
3036
  }
3072
- var Zi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ji = !!String.fromCodePoint, Qi = !!Object.fromEntries, Yi = !!String.prototype.codePointAt, Ki = !!String.prototype.trimStart, eo = !!String.prototype.trimEnd, to = !!Number.isSafeInteger, ro = to ? Number.isSafeInteger : function(e) {
3037
+ var Xi = !!String.prototype.startsWith && "_a".startsWith("a", 1), zi = !!String.fromCodePoint, Wi = !!Object.fromEntries, qi = !!String.prototype.codePointAt, Zi = !!String.prototype.trimStart, Ji = !!String.prototype.trimEnd, Qi = !!Number.isSafeInteger, Yi = Qi ? Number.isSafeInteger : function(e) {
3073
3038
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3074
- }, ir = !0;
3039
+ }, Kt = !0;
3075
3040
  try {
3076
- var no = pn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3077
- ir = ((jt = no.exec("a")) === null || jt === void 0 ? void 0 : jt[0]) === "a";
3041
+ var Ki = hn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3042
+ Kt = ((Ft = Ki.exec("a")) === null || Ft === void 0 ? void 0 : Ft[0]) === "a";
3078
3043
  } catch {
3079
- ir = !1;
3044
+ Kt = !1;
3080
3045
  }
3081
- var Pr = Zi ? (
3046
+ var Sr = Xi ? (
3082
3047
  // Native
3083
3048
  function(t, r, n) {
3084
3049
  return t.startsWith(r, n);
@@ -3088,7 +3053,7 @@ var Pr = Zi ? (
3088
3053
  function(t, r, n) {
3089
3054
  return t.slice(n, n + r.length) === r;
3090
3055
  }
3091
- ), or = Ji ? String.fromCodePoint : (
3056
+ ), er = zi ? String.fromCodePoint : (
3092
3057
  // IE11
3093
3058
  function() {
3094
3059
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3100,9 +3065,9 @@ var Pr = Zi ? (
3100
3065
  }
3101
3066
  return n;
3102
3067
  }
3103
- ), Or = (
3068
+ ), Ar = (
3104
3069
  // native
3105
- Qi ? Object.fromEntries : (
3070
+ Wi ? Object.fromEntries : (
3106
3071
  // Ponyfill
3107
3072
  function(t) {
3108
3073
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3112,7 +3077,7 @@ var Pr = Zi ? (
3112
3077
  return r;
3113
3078
  }
3114
3079
  )
3115
- ), dn = Yi ? (
3080
+ ), ln = qi ? (
3116
3081
  // Native
3117
3082
  function(t, r) {
3118
3083
  return t.codePointAt(r);
@@ -3126,7 +3091,7 @@ var Pr = Zi ? (
3126
3091
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3127
3092
  }
3128
3093
  }
3129
- ), io = Ki ? (
3094
+ ), eo = Zi ? (
3130
3095
  // Native
3131
3096
  function(t) {
3132
3097
  return t.trimStart();
@@ -3134,9 +3099,9 @@ var Pr = Zi ? (
3134
3099
  ) : (
3135
3100
  // Ponyfill
3136
3101
  function(t) {
3137
- return t.replace(Wi, "");
3102
+ return t.replace(ki, "");
3138
3103
  }
3139
- ), oo = eo ? (
3104
+ ), to = Ji ? (
3140
3105
  // Native
3141
3106
  function(t) {
3142
3107
  return t.trimEnd();
@@ -3144,32 +3109,32 @@ var Pr = Zi ? (
3144
3109
  ) : (
3145
3110
  // Ponyfill
3146
3111
  function(t) {
3147
- return t.replace(qi, "");
3112
+ return t.replace(Vi, "");
3148
3113
  }
3149
3114
  );
3150
- function pn(e, t) {
3115
+ function hn(e, t) {
3151
3116
  return new RegExp(e, t);
3152
3117
  }
3153
- var sr;
3154
- if (ir) {
3155
- var Cr = pn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3156
- sr = function(t, r) {
3118
+ var tr;
3119
+ if (Kt) {
3120
+ var Hr = hn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3121
+ tr = function(t, r) {
3157
3122
  var n;
3158
- Cr.lastIndex = r;
3159
- var i = Cr.exec(t);
3123
+ Hr.lastIndex = r;
3124
+ var i = Hr.exec(t);
3160
3125
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3161
3126
  };
3162
3127
  } else
3163
- sr = function(t, r) {
3128
+ tr = function(t, r) {
3164
3129
  for (var n = []; ; ) {
3165
- var i = dn(t, r);
3166
- if (i === void 0 || mn(i) || lo(i))
3130
+ var i = ln(t, r);
3131
+ if (i === void 0 || fn(i) || oo(i))
3167
3132
  break;
3168
3133
  n.push(i), r += i >= 65536 ? 2 : 1;
3169
3134
  }
3170
- return or.apply(void 0, n);
3135
+ return er.apply(void 0, n);
3171
3136
  };
3172
- var so = (
3137
+ var ro = (
3173
3138
  /** @class */
3174
3139
  function() {
3175
3140
  function e(t, r) {
@@ -3193,14 +3158,14 @@ var so = (
3193
3158
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3194
3159
  var a = this.clonePosition();
3195
3160
  this.bump(), i.push({
3196
- type: M.pound,
3161
+ type: R.pound,
3197
3162
  location: A(a, this.clonePosition())
3198
3163
  });
3199
3164
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3200
3165
  if (n)
3201
3166
  break;
3202
3167
  return this.error(S.UNMATCHED_CLOSING_TAG, A(this.clonePosition(), this.clonePosition()));
3203
- } else if (o === 60 && !this.ignoreTag && ar(this.peek() || 0)) {
3168
+ } else if (o === 60 && !this.ignoreTag && rr(this.peek() || 0)) {
3204
3169
  var s = this.parseTag(t, r);
3205
3170
  if (s.err)
3206
3171
  return s;
@@ -3221,7 +3186,7 @@ var so = (
3221
3186
  if (this.bumpSpace(), this.bumpIf("/>"))
3222
3187
  return {
3223
3188
  val: {
3224
- type: M.literal,
3189
+ type: R.literal,
3225
3190
  value: "<".concat(i, "/>"),
3226
3191
  location: A(n, this.clonePosition())
3227
3192
  },
@@ -3233,12 +3198,12 @@ var so = (
3233
3198
  return o;
3234
3199
  var s = o.val, a = this.clonePosition();
3235
3200
  if (this.bumpIf("</")) {
3236
- if (this.isEOF() || !ar(this.char()))
3201
+ if (this.isEOF() || !rr(this.char()))
3237
3202
  return this.error(S.INVALID_TAG, A(a, this.clonePosition()));
3238
3203
  var f = this.clonePosition(), h = this.parseTagName();
3239
3204
  return i !== h ? this.error(S.UNMATCHED_CLOSING_TAG, A(f, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3240
3205
  val: {
3241
- type: M.tag,
3206
+ type: R.tag,
3242
3207
  value: i,
3243
3208
  children: s,
3244
3209
  location: A(n, this.clonePosition())
@@ -3251,7 +3216,7 @@ var so = (
3251
3216
  return this.error(S.INVALID_TAG, A(n, this.clonePosition()));
3252
3217
  }, e.prototype.parseTagName = function() {
3253
3218
  var t = this.offset();
3254
- for (this.bump(); !this.isEOF() && uo(this.char()); )
3219
+ for (this.bump(); !this.isEOF() && io(this.char()); )
3255
3220
  this.bump();
3256
3221
  return this.message.slice(t, this.offset());
3257
3222
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3275,12 +3240,12 @@ var so = (
3275
3240
  }
3276
3241
  var f = A(n, this.clonePosition());
3277
3242
  return {
3278
- val: { type: M.literal, value: i, location: f },
3243
+ val: { type: R.literal, value: i, location: f },
3279
3244
  err: null
3280
3245
  };
3281
3246
  }, e.prototype.tryParseLeftAngleBracket = function() {
3282
3247
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3283
- !ao(this.peek() || 0)) ? (this.bump(), "<") : null;
3248
+ !no(this.peek() || 0)) ? (this.bump(), "<") : null;
3284
3249
  }, e.prototype.tryParseQuote = function(t) {
3285
3250
  if (this.isEOF() || this.char() !== 39)
3286
3251
  return null;
@@ -3314,12 +3279,12 @@ var so = (
3314
3279
  r.push(n);
3315
3280
  this.bump();
3316
3281
  }
3317
- return or.apply(void 0, r);
3282
+ return er.apply(void 0, r);
3318
3283
  }, e.prototype.tryParseUnquoted = function(t, r) {
3319
3284
  if (this.isEOF())
3320
3285
  return null;
3321
3286
  var n = this.char();
3322
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), or(n));
3287
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), er(n));
3323
3288
  }, e.prototype.parseArgument = function(t, r) {
3324
3289
  var n = this.clonePosition();
3325
3290
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3335,7 +3300,7 @@ var so = (
3335
3300
  case 125:
3336
3301
  return this.bump(), {
3337
3302
  val: {
3338
- type: M.argument,
3303
+ type: R.argument,
3339
3304
  // value does not include the opening and closing braces.
3340
3305
  value: i,
3341
3306
  location: A(n, this.clonePosition())
@@ -3348,7 +3313,7 @@ var so = (
3348
3313
  return this.error(S.MALFORMED_ARGUMENT, A(n, this.clonePosition()));
3349
3314
  }
3350
3315
  }, e.prototype.parseIdentifierIfPossible = function() {
3351
- var t = this.clonePosition(), r = this.offset(), n = sr(this.message, r), i = r + n.length;
3316
+ var t = this.clonePosition(), r = this.offset(), n = tr(this.message, r), i = r + n.length;
3352
3317
  this.bumpTo(i);
3353
3318
  var o = this.clonePosition(), s = A(t, o);
3354
3319
  return { value: n, location: s };
@@ -3367,44 +3332,44 @@ var so = (
3367
3332
  var c = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
3368
3333
  if (d.err)
3369
3334
  return d;
3370
- var p = oo(d.val);
3371
- if (p.length === 0)
3335
+ var m = to(d.val);
3336
+ if (m.length === 0)
3372
3337
  return this.error(S.EXPECT_ARGUMENT_STYLE, A(this.clonePosition(), this.clonePosition()));
3373
- var E = A(c, this.clonePosition());
3374
- h = { style: p, styleLocation: E };
3338
+ var _ = A(c, this.clonePosition());
3339
+ h = { style: m, styleLocation: _ };
3375
3340
  }
3376
- var P = this.tryParseArgumentClose(i);
3377
- if (P.err)
3378
- return P;
3341
+ var C = this.tryParseArgumentClose(i);
3342
+ if (C.err)
3343
+ return C;
3379
3344
  var H = A(i, this.clonePosition());
3380
- if (h && Pr(h?.style, "::", 0)) {
3381
- var Y = io(h.style.slice(2));
3345
+ if (h && Sr(h?.style, "::", 0)) {
3346
+ var Y = eo(h.style.slice(2));
3382
3347
  if (a === "number") {
3383
3348
  var d = this.parseNumberSkeletonFromString(Y, h.styleLocation);
3384
3349
  return d.err ? d : {
3385
- val: { type: M.number, value: n, location: H, style: d.val },
3350
+ val: { type: R.number, value: n, location: H, style: d.val },
3386
3351
  err: null
3387
3352
  };
3388
3353
  } else {
3389
3354
  if (Y.length === 0)
3390
3355
  return this.error(S.EXPECT_DATE_TIME_SKELETON, H);
3391
3356
  var ce = Y;
3392
- this.locale && (ce = Xi(Y, this.locale));
3393
- var p = {
3394
- type: ke.dateTime,
3357
+ this.locale && (ce = ji(Y, this.locale));
3358
+ var m = {
3359
+ type: Ve.dateTime,
3395
3360
  pattern: ce,
3396
3361
  location: h.styleLocation,
3397
- parsedOptions: this.shouldParseSkeletons ? Fi(ce) : {}
3398
- }, ne = a === "date" ? M.date : M.time;
3362
+ parsedOptions: this.shouldParseSkeletons ? Ni(ce) : {}
3363
+ }, ne = a === "date" ? R.date : R.time;
3399
3364
  return {
3400
- val: { type: ne, value: n, location: H, style: p },
3365
+ val: { type: ne, value: n, location: H, style: m },
3401
3366
  err: null
3402
3367
  };
3403
3368
  }
3404
3369
  }
3405
3370
  return {
3406
3371
  val: {
3407
- type: a === "number" ? M.number : a === "date" ? M.date : M.time,
3372
+ type: a === "number" ? R.number : a === "date" ? R.date : R.time,
3408
3373
  value: n,
3409
3374
  location: H,
3410
3375
  style: (o = h?.style) !== null && o !== void 0 ? o : null
@@ -3415,9 +3380,9 @@ var so = (
3415
3380
  case "plural":
3416
3381
  case "selectordinal":
3417
3382
  case "select": {
3418
- var I = this.clonePosition();
3383
+ var L = this.clonePosition();
3419
3384
  if (this.bumpSpace(), !this.bumpIf(","))
3420
- return this.error(S.EXPECT_SELECT_ARGUMENT_OPTIONS, A(I, xt({}, I)));
3385
+ return this.error(S.EXPECT_SELECT_ARGUMENT_OPTIONS, A(L, B({}, L)));
3421
3386
  this.bumpSpace();
3422
3387
  var j = this.parseIdentifierIfPossible(), q = 0;
3423
3388
  if (a !== "select" && j.value === "offset") {
@@ -3432,26 +3397,26 @@ var so = (
3432
3397
  var le = this.tryParsePluralOrSelectOptions(t, a, r, j);
3433
3398
  if (le.err)
3434
3399
  return le;
3435
- var P = this.tryParseArgumentClose(i);
3436
- if (P.err)
3437
- return P;
3438
- var me = A(i, this.clonePosition());
3400
+ var C = this.tryParseArgumentClose(i);
3401
+ if (C.err)
3402
+ return C;
3403
+ var pe = A(i, this.clonePosition());
3439
3404
  return a === "select" ? {
3440
3405
  val: {
3441
- type: M.select,
3406
+ type: R.select,
3442
3407
  value: n,
3443
- options: Or(le.val),
3444
- location: me
3408
+ options: Ar(le.val),
3409
+ location: pe
3445
3410
  },
3446
3411
  err: null
3447
3412
  } : {
3448
3413
  val: {
3449
- type: M.plural,
3414
+ type: R.plural,
3450
3415
  value: n,
3451
- options: Or(le.val),
3416
+ options: Ar(le.val),
3452
3417
  offset: q,
3453
3418
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3454
- location: me
3419
+ location: pe
3455
3420
  },
3456
3421
  err: null
3457
3422
  };
@@ -3499,16 +3464,16 @@ var so = (
3499
3464
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3500
3465
  var n = [];
3501
3466
  try {
3502
- n = Gi(t);
3467
+ n = Ri(t);
3503
3468
  } catch {
3504
3469
  return this.error(S.INVALID_NUMBER_SKELETON, r);
3505
3470
  }
3506
3471
  return {
3507
3472
  val: {
3508
- type: ke.number,
3473
+ type: Ve.number,
3509
3474
  tokens: n,
3510
3475
  location: r,
3511
- parsedOptions: this.shouldParseSkeletons ? Vi(n) : {}
3476
+ parsedOptions: this.shouldParseSkeletons ? Gi(n) : {}
3512
3477
  },
3513
3478
  err: null
3514
3479
  };
@@ -3517,9 +3482,9 @@ var so = (
3517
3482
  if (h.length === 0) {
3518
3483
  var d = this.clonePosition();
3519
3484
  if (r !== "select" && this.bumpIf("=")) {
3520
- var p = this.tryParseDecimalInteger(S.EXPECT_PLURAL_ARGUMENT_SELECTOR, S.INVALID_PLURAL_ARGUMENT_SELECTOR);
3521
- if (p.err)
3522
- return p;
3485
+ var m = this.tryParseDecimalInteger(S.EXPECT_PLURAL_ARGUMENT_SELECTOR, S.INVALID_PLURAL_ARGUMENT_SELECTOR);
3486
+ if (m.err)
3487
+ return m;
3523
3488
  c = A(d, this.clonePosition()), h = this.message.slice(d.offset, this.offset());
3524
3489
  } else
3525
3490
  break;
@@ -3527,20 +3492,20 @@ var so = (
3527
3492
  if (f.has(h))
3528
3493
  return this.error(r === "select" ? S.DUPLICATE_SELECT_ARGUMENT_SELECTOR : S.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
3529
3494
  h === "other" && (s = !0), this.bumpSpace();
3530
- var E = this.clonePosition();
3495
+ var _ = this.clonePosition();
3531
3496
  if (!this.bumpIf("{"))
3532
3497
  return this.error(r === "select" ? S.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : S.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, A(this.clonePosition(), this.clonePosition()));
3533
- var P = this.parseMessage(t + 1, r, n);
3534
- if (P.err)
3535
- return P;
3536
- var H = this.tryParseArgumentClose(E);
3498
+ var C = this.parseMessage(t + 1, r, n);
3499
+ if (C.err)
3500
+ return C;
3501
+ var H = this.tryParseArgumentClose(_);
3537
3502
  if (H.err)
3538
3503
  return H;
3539
3504
  a.push([
3540
3505
  h,
3541
3506
  {
3542
- value: P.val,
3543
- location: A(E, this.clonePosition())
3507
+ value: C.val,
3508
+ location: A(_, this.clonePosition())
3544
3509
  }
3545
3510
  ]), f.add(h), this.bumpSpace(), o = this.parseIdentifierIfPossible(), h = o.value, c = o.location;
3546
3511
  }
@@ -3556,7 +3521,7 @@ var so = (
3556
3521
  break;
3557
3522
  }
3558
3523
  var f = A(i, this.clonePosition());
3559
- return o ? (s *= n, ro(s) ? { val: s, err: null } : this.error(r, f)) : this.error(t, f);
3524
+ return o ? (s *= n, Yi(s) ? { val: s, err: null } : this.error(r, f)) : this.error(t, f);
3560
3525
  }, e.prototype.offset = function() {
3561
3526
  return this.position.offset;
3562
3527
  }, e.prototype.isEOF = function() {
@@ -3571,7 +3536,7 @@ var so = (
3571
3536
  var t = this.position.offset;
3572
3537
  if (t >= this.message.length)
3573
3538
  throw Error("out of bound");
3574
- var r = dn(this.message, t);
3539
+ var r = ln(this.message, t);
3575
3540
  if (r === void 0)
3576
3541
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3577
3542
  return r;
@@ -3590,7 +3555,7 @@ var so = (
3590
3555
  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);
3591
3556
  }
3592
3557
  }, e.prototype.bumpIf = function(t) {
3593
- if (Pr(this.message, t, this.offset())) {
3558
+ if (Sr(this.message, t, this.offset())) {
3594
3559
  for (var r = 0; r < t.length; r++)
3595
3560
  this.bump();
3596
3561
  return !0;
@@ -3612,7 +3577,7 @@ var so = (
3612
3577
  break;
3613
3578
  }
3614
3579
  }, e.prototype.bumpSpace = function() {
3615
- for (; !this.isEOF() && mn(this.char()); )
3580
+ for (; !this.isEOF() && fn(this.char()); )
3616
3581
  this.bump();
3617
3582
  }, e.prototype.peek = function() {
3618
3583
  if (this.isEOF())
@@ -3622,47 +3587,47 @@ var so = (
3622
3587
  }, e;
3623
3588
  }()
3624
3589
  );
3625
- function ar(e) {
3590
+ function rr(e) {
3626
3591
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3627
3592
  }
3628
- function ao(e) {
3629
- return ar(e) || e === 47;
3593
+ function no(e) {
3594
+ return rr(e) || e === 47;
3630
3595
  }
3631
- function uo(e) {
3596
+ function io(e) {
3632
3597
  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;
3633
3598
  }
3634
- function mn(e) {
3599
+ function fn(e) {
3635
3600
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3636
3601
  }
3637
- function lo(e) {
3602
+ function oo(e) {
3638
3603
  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;
3639
3604
  }
3640
- function ur(e) {
3605
+ function nr(e) {
3641
3606
  e.forEach(function(t) {
3642
- if (delete t.location, on(t) || sn(t))
3607
+ if (delete t.location, en(t) || tn(t))
3643
3608
  for (var r in t.options)
3644
- delete t.options[r].location, ur(t.options[r].value);
3609
+ delete t.options[r].location, nr(t.options[r].value);
3645
3610
  else
3646
- tn(t) && un(t.style) || (rn(t) || nn(t)) && nr(t.style) ? delete t.style.location : an(t) && ur(t.children);
3611
+ Qr(t) && nn(t.style) || (Yr(t) || Kr(t)) && Yt(t.style) ? delete t.style.location : rn(t) && nr(t.children);
3647
3612
  });
3648
3613
  }
3649
- function ho(e, t) {
3650
- t === void 0 && (t = {}), t = xt({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3651
- var r = new so(e, t).parse();
3614
+ function so(e, t) {
3615
+ t === void 0 && (t = {}), t = B({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3616
+ var r = new ro(e, t).parse();
3652
3617
  if (r.err) {
3653
3618
  var n = SyntaxError(S[r.err.kind]);
3654
3619
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3655
3620
  }
3656
- return t?.captureLocation || ur(r.val), r.val;
3621
+ return t?.captureLocation || nr(r.val), r.val;
3657
3622
  }
3658
- var Ve;
3623
+ var Xe;
3659
3624
  (function(e) {
3660
3625
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3661
- })(Ve || (Ve = {}));
3662
- var Pt = (
3626
+ })(Xe || (Xe = {}));
3627
+ var Ht = (
3663
3628
  /** @class */
3664
3629
  function(e) {
3665
- Bt(t, e);
3630
+ xe(t, e);
3666
3631
  function t(r, n, i) {
3667
3632
  var o = e.call(this, r) || this;
3668
3633
  return o.code = n, o.originalMessage = i, o;
@@ -3671,48 +3636,48 @@ var Pt = (
3671
3636
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3672
3637
  }, t;
3673
3638
  }(Error)
3674
- ), Ir = (
3639
+ ), Br = (
3675
3640
  /** @class */
3676
3641
  function(e) {
3677
- Bt(t, e);
3642
+ xe(t, e);
3678
3643
  function t(r, n, i, o) {
3679
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Ve.INVALID_VALUE, o) || this;
3644
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Xe.INVALID_VALUE, o) || this;
3680
3645
  }
3681
3646
  return t;
3682
- }(Pt)
3683
- ), fo = (
3647
+ }(Ht)
3648
+ ), ao = (
3684
3649
  /** @class */
3685
3650
  function(e) {
3686
- Bt(t, e);
3651
+ xe(t, e);
3687
3652
  function t(r, n, i) {
3688
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Ve.INVALID_VALUE, i) || this;
3653
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Xe.INVALID_VALUE, i) || this;
3689
3654
  }
3690
3655
  return t;
3691
- }(Pt)
3692
- ), co = (
3656
+ }(Ht)
3657
+ ), uo = (
3693
3658
  /** @class */
3694
3659
  function(e) {
3695
- Bt(t, e);
3660
+ xe(t, e);
3696
3661
  function t(r, n) {
3697
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Ve.MISSING_VALUE, n) || this;
3662
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Xe.MISSING_VALUE, n) || this;
3698
3663
  }
3699
3664
  return t;
3700
- }(Pt)
3665
+ }(Ht)
3701
3666
  ), Q;
3702
3667
  (function(e) {
3703
3668
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3704
3669
  })(Q || (Q = {}));
3705
- function po(e) {
3670
+ function lo(e) {
3706
3671
  return e.length < 2 ? e : e.reduce(function(t, r) {
3707
3672
  var n = t[t.length - 1];
3708
3673
  return !n || n.type !== Q.literal || r.type !== Q.literal ? t.push(r) : n.value += r.value, t;
3709
3674
  }, []);
3710
3675
  }
3711
- function mo(e) {
3676
+ function ho(e) {
3712
3677
  return typeof e == "function";
3713
3678
  }
3714
- function _t(e, t, r, n, i, o, s) {
3715
- if (e.length === 1 && Sr(e[0]))
3679
+ function Et(e, t, r, n, i, o, s) {
3680
+ if (e.length === 1 && _r(e[0]))
3716
3681
  return [
3717
3682
  {
3718
3683
  type: Q.literal,
@@ -3721,14 +3686,14 @@ function _t(e, t, r, n, i, o, s) {
3721
3686
  ];
3722
3687
  for (var a = [], f = 0, h = e; f < h.length; f++) {
3723
3688
  var c = h[f];
3724
- if (Sr(c)) {
3689
+ if (_r(c)) {
3725
3690
  a.push({
3726
3691
  type: Q.literal,
3727
3692
  value: c.value
3728
3693
  });
3729
3694
  continue;
3730
3695
  }
3731
- if (Ri(c)) {
3696
+ if (Ii(c)) {
3732
3697
  typeof o == "number" && a.push({
3733
3698
  type: Q.literal,
3734
3699
  value: r.getNumberFormat(t).format(o)
@@ -3737,44 +3702,44 @@ function _t(e, t, r, n, i, o, s) {
3737
3702
  }
3738
3703
  var d = c.value;
3739
3704
  if (!(i && d in i))
3740
- throw new co(d, s);
3741
- var p = i[d];
3742
- if (Mi(c)) {
3743
- (!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""), a.push({
3744
- type: typeof p == "string" ? Q.literal : Q.object,
3745
- value: p
3705
+ throw new uo(d, s);
3706
+ var m = i[d];
3707
+ if (Oi(c)) {
3708
+ (!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), a.push({
3709
+ type: typeof m == "string" ? Q.literal : Q.object,
3710
+ value: m
3746
3711
  });
3747
3712
  continue;
3748
3713
  }
3749
- if (rn(c)) {
3750
- var E = typeof c.style == "string" ? n.date[c.style] : nr(c.style) ? c.style.parsedOptions : void 0;
3714
+ if (Yr(c)) {
3715
+ var _ = typeof c.style == "string" ? n.date[c.style] : Yt(c.style) ? c.style.parsedOptions : void 0;
3751
3716
  a.push({
3752
3717
  type: Q.literal,
3753
- value: r.getDateTimeFormat(t, E).format(p)
3718
+ value: r.getDateTimeFormat(t, _).format(m)
3754
3719
  });
3755
3720
  continue;
3756
3721
  }
3757
- if (nn(c)) {
3758
- var E = typeof c.style == "string" ? n.time[c.style] : nr(c.style) ? c.style.parsedOptions : n.time.medium;
3722
+ if (Kr(c)) {
3723
+ var _ = typeof c.style == "string" ? n.time[c.style] : Yt(c.style) ? c.style.parsedOptions : n.time.medium;
3759
3724
  a.push({
3760
3725
  type: Q.literal,
3761
- value: r.getDateTimeFormat(t, E).format(p)
3726
+ value: r.getDateTimeFormat(t, _).format(m)
3762
3727
  });
3763
3728
  continue;
3764
3729
  }
3765
- if (tn(c)) {
3766
- var E = typeof c.style == "string" ? n.number[c.style] : un(c.style) ? c.style.parsedOptions : void 0;
3767
- E && E.scale && (p = p * (E.scale || 1)), a.push({
3730
+ if (Qr(c)) {
3731
+ var _ = typeof c.style == "string" ? n.number[c.style] : nn(c.style) ? c.style.parsedOptions : void 0;
3732
+ _ && _.scale && (m = m * (_.scale || 1)), a.push({
3768
3733
  type: Q.literal,
3769
- value: r.getNumberFormat(t, E).format(p)
3734
+ value: r.getNumberFormat(t, _).format(m)
3770
3735
  });
3771
3736
  continue;
3772
3737
  }
3773
- if (an(c)) {
3774
- var P = c.children, H = c.value, Y = i[H];
3775
- if (!mo(Y))
3776
- throw new fo(H, "function", s);
3777
- var ce = _t(P, t, r, n, i, o), ne = Y(ce.map(function(q) {
3738
+ if (rn(c)) {
3739
+ var C = c.children, H = c.value, Y = i[H];
3740
+ if (!ho(Y))
3741
+ throw new ao(H, "function", s);
3742
+ var ce = Et(C, t, r, n, i, o), ne = Y(ce.map(function(q) {
3778
3743
  return q.value;
3779
3744
  }));
3780
3745
  Array.isArray(ne) || (ne = [ne]), a.push.apply(a, ne.map(function(q) {
@@ -3784,42 +3749,42 @@ function _t(e, t, r, n, i, o, s) {
3784
3749
  };
3785
3750
  }));
3786
3751
  }
3787
- if (on(c)) {
3788
- var I = c.options[p] || c.options.other;
3789
- if (!I)
3790
- throw new Ir(c.value, p, Object.keys(c.options), s);
3791
- a.push.apply(a, _t(I.value, t, r, n, i));
3752
+ if (en(c)) {
3753
+ var L = c.options[m] || c.options.other;
3754
+ if (!L)
3755
+ throw new Br(c.value, m, Object.keys(c.options), s);
3756
+ a.push.apply(a, Et(L.value, t, r, n, i));
3792
3757
  continue;
3793
3758
  }
3794
- if (sn(c)) {
3795
- var I = c.options["=".concat(p)];
3796
- if (!I) {
3759
+ if (tn(c)) {
3760
+ var L = c.options["=".concat(m)];
3761
+ if (!L) {
3797
3762
  if (!Intl.PluralRules)
3798
- throw new Pt(`Intl.PluralRules is not available in this environment.
3763
+ throw new Ht(`Intl.PluralRules is not available in this environment.
3799
3764
  Try polyfilling it using "@formatjs/intl-pluralrules"
3800
- `, Ve.MISSING_INTL_API, s);
3801
- var j = r.getPluralRules(t, { type: c.pluralType }).select(p - (c.offset || 0));
3802
- I = c.options[j] || c.options.other;
3765
+ `, Xe.MISSING_INTL_API, s);
3766
+ var j = r.getPluralRules(t, { type: c.pluralType }).select(m - (c.offset || 0));
3767
+ L = c.options[j] || c.options.other;
3803
3768
  }
3804
- if (!I)
3805
- throw new Ir(c.value, p, Object.keys(c.options), s);
3806
- a.push.apply(a, _t(I.value, t, r, n, i, p - (c.offset || 0)));
3769
+ if (!L)
3770
+ throw new Br(c.value, m, Object.keys(c.options), s);
3771
+ a.push.apply(a, Et(L.value, t, r, n, i, m - (c.offset || 0)));
3807
3772
  continue;
3808
3773
  }
3809
3774
  }
3810
- return po(a);
3775
+ return lo(a);
3811
3776
  }
3812
- function bo(e, t) {
3813
- return t ? be(be(be({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3814
- return r[n] = be(be({}, e[n]), t[n] || {}), r;
3777
+ function fo(e, t) {
3778
+ return t ? B(B(B({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3779
+ return r[n] = B(B({}, e[n]), t[n] || {}), r;
3815
3780
  }, {})) : e;
3816
3781
  }
3817
- function go(e, t) {
3782
+ function co(e, t) {
3818
3783
  return t ? Object.keys(e).reduce(function(r, n) {
3819
- return r[n] = bo(e[n], t[n]), r;
3820
- }, be({}, e)) : e;
3784
+ return r[n] = fo(e[n], t[n]), r;
3785
+ }, B({}, e)) : e;
3821
3786
  }
3822
- function $t(e) {
3787
+ function Ut(e) {
3823
3788
  return {
3824
3789
  create: function() {
3825
3790
  return {
@@ -3833,39 +3798,39 @@ function $t(e) {
3833
3798
  }
3834
3799
  };
3835
3800
  }
3836
- function vo(e) {
3801
+ function mo(e) {
3837
3802
  return e === void 0 && (e = {
3838
3803
  number: {},
3839
3804
  dateTime: {},
3840
3805
  pluralRules: {}
3841
3806
  }), {
3842
- getNumberFormat: Ut(function() {
3807
+ getNumberFormat: Rt(function() {
3843
3808
  for (var t, r = [], n = 0; n < arguments.length; n++)
3844
3809
  r[n] = arguments[n];
3845
- return new ((t = Intl.NumberFormat).bind.apply(t, Ft([void 0], r, !1)))();
3810
+ return new ((t = Intl.NumberFormat).bind.apply(t, $e([void 0], r, !1)))();
3846
3811
  }, {
3847
- cache: $t(e.number),
3848
- strategy: Gt.variadic
3812
+ cache: Ut(e.number),
3813
+ strategy: Dt.variadic
3849
3814
  }),
3850
- getDateTimeFormat: Ut(function() {
3815
+ getDateTimeFormat: Rt(function() {
3851
3816
  for (var t, r = [], n = 0; n < arguments.length; n++)
3852
3817
  r[n] = arguments[n];
3853
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Ft([void 0], r, !1)))();
3818
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, $e([void 0], r, !1)))();
3854
3819
  }, {
3855
- cache: $t(e.dateTime),
3856
- strategy: Gt.variadic
3820
+ cache: Ut(e.dateTime),
3821
+ strategy: Dt.variadic
3857
3822
  }),
3858
- getPluralRules: Ut(function() {
3823
+ getPluralRules: Rt(function() {
3859
3824
  for (var t, r = [], n = 0; n < arguments.length; n++)
3860
3825
  r[n] = arguments[n];
3861
- return new ((t = Intl.PluralRules).bind.apply(t, Ft([void 0], r, !1)))();
3826
+ return new ((t = Intl.PluralRules).bind.apply(t, $e([void 0], r, !1)))();
3862
3827
  }, {
3863
- cache: $t(e.pluralRules),
3864
- strategy: Gt.variadic
3828
+ cache: Ut(e.pluralRules),
3829
+ strategy: Dt.variadic
3865
3830
  })
3866
3831
  };
3867
3832
  }
3868
- var yo = (
3833
+ var po = (
3869
3834
  /** @class */
3870
3835
  function() {
3871
3836
  function e(t, r, n, i) {
@@ -3879,12 +3844,12 @@ var yo = (
3879
3844
  var h = o.formatToParts(f);
3880
3845
  if (h.length === 1)
3881
3846
  return h[0].value;
3882
- var c = h.reduce(function(d, p) {
3883
- return !d.length || p.type !== Q.literal || typeof d[d.length - 1] != "string" ? d.push(p.value) : d[d.length - 1] += p.value, d;
3847
+ var c = h.reduce(function(d, m) {
3848
+ return !d.length || m.type !== Q.literal || typeof d[d.length - 1] != "string" ? d.push(m.value) : d[d.length - 1] += m.value, d;
3884
3849
  }, []);
3885
3850
  return c.length <= 1 ? c[0] || "" : c;
3886
3851
  }, this.formatToParts = function(f) {
3887
- return _t(o.ast, o.locales, o.formatters, o.formats, f, void 0, o.message);
3852
+ return Et(o.ast, o.locales, o.formatters, o.formats, f, void 0, o.message);
3888
3853
  }, this.resolvedOptions = function() {
3889
3854
  var f;
3890
3855
  return {
@@ -3897,13 +3862,13 @@ var yo = (
3897
3862
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3898
3863
  var s = i || {};
3899
3864
  s.formatters;
3900
- var a = Hi(s, ["formatters"]);
3901
- this.ast = e.__parse(t, be(be({}, a), { locale: this.resolvedLocale }));
3865
+ var a = Xn(s, ["formatters"]);
3866
+ this.ast = e.__parse(t, B(B({}, a), { locale: this.resolvedLocale }));
3902
3867
  } else
3903
3868
  this.ast = t;
3904
3869
  if (!Array.isArray(this.ast))
3905
3870
  throw new TypeError("A message must be provided as a String or AST.");
3906
- this.formats = go(e.formats, n), this.formatters = i && i.formatters || vo(this.formatterCache);
3871
+ this.formats = co(e.formats, n), this.formatters = i && i.formatters || mo(this.formatterCache);
3907
3872
  }
3908
3873
  return Object.defineProperty(e, "defaultLocale", {
3909
3874
  get: function() {
@@ -3916,7 +3881,7 @@ var yo = (
3916
3881
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3917
3882
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3918
3883
  }
3919
- }, e.__parse = ho, e.formats = {
3884
+ }, e.__parse = so, e.formats = {
3920
3885
  number: {
3921
3886
  integer: {
3922
3887
  maximumFractionDigits: 0
@@ -3977,7 +3942,7 @@ var yo = (
3977
3942
  }, e;
3978
3943
  }()
3979
3944
  );
3980
- function _o(e, t) {
3945
+ function bo(e, t) {
3981
3946
  if (t == null)
3982
3947
  return;
3983
3948
  if (t in e)
@@ -3998,92 +3963,92 @@ function _o(e, t) {
3998
3963
  n = void 0;
3999
3964
  return n;
4000
3965
  }
4001
- const Ae = {}, Eo = (e, t, r) => r && (t in Ae || (Ae[t] = {}), e in Ae[t] || (Ae[t][e] = r), r), bn = (e, t) => {
3966
+ const Ae = {}, go = (e, t, r) => r && (t in Ae || (Ae[t] = {}), e in Ae[t] || (Ae[t][e] = r), r), cn = (e, t) => {
4002
3967
  if (t == null)
4003
3968
  return;
4004
3969
  if (t in Ae && e in Ae[t])
4005
3970
  return Ae[t][e];
4006
- const r = Ot(t);
3971
+ const r = Bt(t);
4007
3972
  for (let n = 0; n < r.length; n++) {
4008
- const i = r[n], o = wo(i, e);
3973
+ const i = r[n], o = vo(i, e);
4009
3974
  if (o)
4010
- return Eo(e, t, o);
3975
+ return go(e, t, o);
4011
3976
  }
4012
3977
  };
4013
- let cr;
4014
- const We = Ht({});
4015
- function xo(e) {
4016
- return cr[e] || null;
3978
+ let ur;
3979
+ const qe = At({});
3980
+ function yo(e) {
3981
+ return ur[e] || null;
4017
3982
  }
4018
- function gn(e) {
4019
- return e in cr;
3983
+ function dn(e) {
3984
+ return e in ur;
4020
3985
  }
4021
- function wo(e, t) {
4022
- if (!gn(e))
3986
+ function vo(e, t) {
3987
+ if (!dn(e))
4023
3988
  return null;
4024
- const r = xo(e);
4025
- return _o(r, t);
3989
+ const r = yo(e);
3990
+ return bo(r, t);
4026
3991
  }
4027
- function To(e) {
3992
+ function Eo(e) {
4028
3993
  if (e == null)
4029
3994
  return;
4030
- const t = Ot(e);
3995
+ const t = Bt(e);
4031
3996
  for (let r = 0; r < t.length; r++) {
4032
3997
  const n = t[r];
4033
- if (gn(n))
3998
+ if (dn(n))
4034
3999
  return n;
4035
4000
  }
4036
4001
  }
4037
- function vn(e, ...t) {
4038
- delete Ae[e], We.update((r) => (r[e] = Ai.all([r[e] || {}, ...t]), r));
4002
+ function mn(e, ...t) {
4003
+ delete Ae[e], qe.update((r) => (r[e] = wi.all([r[e] || {}, ...t]), r));
4039
4004
  }
4040
- ze(
4041
- [We],
4005
+ We(
4006
+ [qe],
4042
4007
  ([e]) => Object.keys(e)
4043
4008
  );
4044
- We.subscribe((e) => cr = e);
4045
- const Et = {};
4046
- function So(e, t) {
4047
- Et[e].delete(t), Et[e].size === 0 && delete Et[e];
4009
+ qe.subscribe((e) => ur = e);
4010
+ const _t = {};
4011
+ function _o(e, t) {
4012
+ _t[e].delete(t), _t[e].size === 0 && delete _t[e];
4048
4013
  }
4049
- function yn(e) {
4050
- return Et[e];
4014
+ function pn(e) {
4015
+ return _t[e];
4051
4016
  }
4052
- function Ao(e) {
4053
- return Ot(e).map((t) => {
4054
- const r = yn(t);
4017
+ function xo(e) {
4018
+ return Bt(e).map((t) => {
4019
+ const r = pn(t);
4055
4020
  return [t, r ? [...r] : []];
4056
4021
  }).filter(([, t]) => t.length > 0);
4057
4022
  }
4058
- function lr(e) {
4059
- return e == null ? !1 : Ot(e).some(
4023
+ function ir(e) {
4024
+ return e == null ? !1 : Bt(e).some(
4060
4025
  (t) => {
4061
4026
  var r;
4062
- return (r = yn(t)) == null ? void 0 : r.size;
4027
+ return (r = pn(t)) == null ? void 0 : r.size;
4063
4028
  }
4064
4029
  );
4065
4030
  }
4066
- function Ho(e, t) {
4031
+ function wo(e, t) {
4067
4032
  return Promise.all(
4068
- t.map((n) => (So(e, n), n().then((i) => i.default || i)))
4069
- ).then((n) => vn(e, ...n));
4070
- }
4071
- const rt = {};
4072
- function _n(e) {
4073
- if (!lr(e))
4074
- return e in rt ? rt[e] : Promise.resolve();
4075
- const t = Ao(e);
4076
- return rt[e] = Promise.all(
4033
+ t.map((n) => (_o(e, n), n().then((i) => i.default || i)))
4034
+ ).then((n) => mn(e, ...n));
4035
+ }
4036
+ const nt = {};
4037
+ function bn(e) {
4038
+ if (!ir(e))
4039
+ return e in nt ? nt[e] : Promise.resolve();
4040
+ const t = xo(e);
4041
+ return nt[e] = Promise.all(
4077
4042
  t.map(
4078
- ([r, n]) => Ho(r, n)
4043
+ ([r, n]) => wo(r, n)
4079
4044
  )
4080
4045
  ).then(() => {
4081
- if (lr(e))
4082
- return _n(e);
4083
- delete rt[e];
4084
- }), rt[e];
4046
+ if (ir(e))
4047
+ return bn(e);
4048
+ delete nt[e];
4049
+ }), nt[e];
4085
4050
  }
4086
- const Bo = {
4051
+ const To = {
4087
4052
  number: {
4088
4053
  scientific: { notation: "scientific" },
4089
4054
  engineering: { notation: "engineering" },
@@ -4112,135 +4077,135 @@ const Bo = {
4112
4077
  timeZoneName: "short"
4113
4078
  }
4114
4079
  }
4115
- }, Po = {
4080
+ }, So = {
4116
4081
  fallbackLocale: null,
4117
4082
  loadingDelay: 200,
4118
- formats: Bo,
4083
+ formats: To,
4119
4084
  warnOnMissingMessages: !0,
4120
4085
  handleMissingMessage: void 0,
4121
4086
  ignoreTag: !0
4122
- }, Oo = Po;
4123
- function Xe() {
4124
- return Oo;
4125
- }
4126
- const kt = Ht(!1);
4127
- var Co = Object.defineProperty, Io = Object.defineProperties, Lo = Object.getOwnPropertyDescriptors, Lr = Object.getOwnPropertySymbols, No = Object.prototype.hasOwnProperty, Mo = Object.prototype.propertyIsEnumerable, Nr = (e, t, r) => t in e ? Co(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ro = (e, t) => {
4128
- for (var r in t || (t = {}))
4129
- No.call(t, r) && Nr(e, r, t[r]);
4130
- if (Lr)
4131
- for (var r of Lr(t))
4132
- Mo.call(t, r) && Nr(e, r, t[r]);
4087
+ }, Ao = So;
4088
+ function ze() {
4089
+ return Ao;
4090
+ }
4091
+ const Gt = At(!1);
4092
+ var Ho = Object.defineProperty, Bo = Object.defineProperties, Po = Object.getOwnPropertyDescriptors, Pr = Object.getOwnPropertySymbols, Co = Object.prototype.hasOwnProperty, Oo = Object.prototype.propertyIsEnumerable, Cr = (e, t, r) => t in e ? Ho(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Io = (e, t) => {
4093
+ for (var r in t)
4094
+ Co.call(t, r) && Cr(e, r, t[r]);
4095
+ if (Pr)
4096
+ for (var r of Pr(t))
4097
+ Oo.call(t, r) && Cr(e, r, t[r]);
4133
4098
  return e;
4134
- }, Do = (e, t) => Io(e, Lo(t));
4135
- let hr;
4136
- const wt = Ht(null);
4137
- function Mr(e) {
4099
+ }, Lo = (e, t) => Bo(e, Po(t));
4100
+ let or;
4101
+ const xt = At(null);
4102
+ function Or(e) {
4138
4103
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4139
4104
  }
4140
- function Ot(e, t = Xe().fallbackLocale) {
4141
- const r = Mr(e);
4142
- return t ? [.../* @__PURE__ */ new Set([...r, ...Mr(t)])] : r;
4105
+ function Bt(e, t = ze().fallbackLocale) {
4106
+ const r = Or(e);
4107
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Or(t)])] : r;
4143
4108
  }
4144
4109
  function Ne() {
4145
- return hr ?? void 0;
4110
+ return or ?? void 0;
4146
4111
  }
4147
- wt.subscribe((e) => {
4148
- hr = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4112
+ xt.subscribe((e) => {
4113
+ or = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4149
4114
  });
4150
- const Fo = (e) => {
4151
- if (e && To(e) && lr(e)) {
4152
- const { loadingDelay: t } = Xe();
4115
+ const No = (e) => {
4116
+ if (e && Eo(e) && ir(e)) {
4117
+ const { loadingDelay: t } = ze();
4153
4118
  let r;
4154
4119
  return typeof window < "u" && Ne() != null && t ? r = window.setTimeout(
4155
- () => kt.set(!0),
4120
+ () => Gt.set(!0),
4156
4121
  t
4157
- ) : kt.set(!0), _n(e).then(() => {
4158
- wt.set(e);
4122
+ ) : Gt.set(!0), bn(e).then(() => {
4123
+ xt.set(e);
4159
4124
  }).finally(() => {
4160
- clearTimeout(r), kt.set(!1);
4125
+ clearTimeout(r), Gt.set(!1);
4161
4126
  });
4162
4127
  }
4163
- return wt.set(e);
4164
- }, He = Do(Ro({}, wt), {
4165
- set: Fo
4166
- }), Ct = (e) => {
4128
+ return xt.set(e);
4129
+ }, He = Lo(Io({}, xt), {
4130
+ set: No
4131
+ }), Pt = (e) => {
4167
4132
  const t = /* @__PURE__ */ Object.create(null);
4168
4133
  return (n) => {
4169
4134
  const i = JSON.stringify(n);
4170
4135
  return i in t ? t[i] : t[i] = e(n);
4171
4136
  };
4172
4137
  };
4173
- var Uo = Object.defineProperty, Tt = Object.getOwnPropertySymbols, En = Object.prototype.hasOwnProperty, xn = Object.prototype.propertyIsEnumerable, Rr = (e, t, r) => t in e ? Uo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, dr = (e, t) => {
4138
+ var Mo = Object.defineProperty, wt = Object.getOwnPropertySymbols, gn = Object.prototype.hasOwnProperty, yn = Object.prototype.propertyIsEnumerable, Ir = (e, t, r) => t in e ? Mo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, lr = (e, t) => {
4174
4139
  for (var r in t || (t = {}))
4175
- En.call(t, r) && Rr(e, r, t[r]);
4176
- if (Tt)
4177
- for (var r of Tt(t))
4178
- xn.call(t, r) && Rr(e, r, t[r]);
4140
+ gn.call(t, r) && Ir(e, r, t[r]);
4141
+ if (wt)
4142
+ for (var r of wt(t))
4143
+ yn.call(t, r) && Ir(e, r, t[r]);
4179
4144
  return e;
4180
- }, qe = (e, t) => {
4145
+ }, Ze = (e, t) => {
4181
4146
  var r = {};
4182
4147
  for (var n in e)
4183
- En.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4184
- if (e != null && Tt)
4185
- for (var n of Tt(e))
4186
- t.indexOf(n) < 0 && xn.call(e, n) && (r[n] = e[n]);
4148
+ gn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4149
+ if (e != null && wt)
4150
+ for (var n of wt(e))
4151
+ t.indexOf(n) < 0 && yn.call(e, n) && (r[n] = e[n]);
4187
4152
  return r;
4188
4153
  };
4189
- const at = (e, t) => {
4190
- const { formats: r } = Xe();
4154
+ const ut = (e, t) => {
4155
+ const { formats: r } = ze();
4191
4156
  if (e in r && t in r[e])
4192
4157
  return r[e][t];
4193
4158
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4194
- }, Go = Ct(
4159
+ }, Ro = Pt(
4195
4160
  (e) => {
4196
- var t = e, { locale: r, format: n } = t, i = qe(t, ["locale", "format"]);
4161
+ var t = e, { locale: r, format: n } = t, i = Ze(t, ["locale", "format"]);
4197
4162
  if (r == null)
4198
4163
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4199
- return n && (i = at("number", n)), new Intl.NumberFormat(r, i);
4164
+ return n && (i = ut("number", n)), new Intl.NumberFormat(r, i);
4200
4165
  }
4201
- ), jo = Ct(
4166
+ ), Do = Pt(
4202
4167
  (e) => {
4203
- var t = e, { locale: r, format: n } = t, i = qe(t, ["locale", "format"]);
4168
+ var t = e, { locale: r, format: n } = t, i = Ze(t, ["locale", "format"]);
4204
4169
  if (r == null)
4205
4170
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4206
- return n ? i = at("date", n) : Object.keys(i).length === 0 && (i = at("date", "short")), new Intl.DateTimeFormat(r, i);
4171
+ return n ? i = ut("date", n) : Object.keys(i).length === 0 && (i = ut("date", "short")), new Intl.DateTimeFormat(r, i);
4207
4172
  }
4208
- ), $o = Ct(
4173
+ ), Fo = Pt(
4209
4174
  (e) => {
4210
- var t = e, { locale: r, format: n } = t, i = qe(t, ["locale", "format"]);
4175
+ var t = e, { locale: r, format: n } = t, i = Ze(t, ["locale", "format"]);
4211
4176
  if (r == null)
4212
4177
  throw new Error(
4213
4178
  '[svelte-i18n] A "locale" must be set to format time values'
4214
4179
  );
4215
- return n ? i = at("time", n) : Object.keys(i).length === 0 && (i = at("time", "short")), new Intl.DateTimeFormat(r, i);
4180
+ return n ? i = ut("time", n) : Object.keys(i).length === 0 && (i = ut("time", "short")), new Intl.DateTimeFormat(r, i);
4216
4181
  }
4217
- ), ko = (e = {}) => {
4182
+ ), Uo = (e = {}) => {
4218
4183
  var t = e, {
4219
4184
  locale: r = Ne()
4220
- } = t, n = qe(t, [
4185
+ } = t, n = Ze(t, [
4221
4186
  "locale"
4222
4187
  ]);
4223
- return Go(dr({ locale: r }, n));
4224
- }, Vo = (e = {}) => {
4188
+ return Ro(lr({ locale: r }, n));
4189
+ }, Go = (e = {}) => {
4225
4190
  var t = e, {
4226
4191
  locale: r = Ne()
4227
- } = t, n = qe(t, [
4192
+ } = t, n = Ze(t, [
4228
4193
  "locale"
4229
4194
  ]);
4230
- return jo(dr({ locale: r }, n));
4231
- }, Xo = (e = {}) => {
4195
+ return Do(lr({ locale: r }, n));
4196
+ }, jo = (e = {}) => {
4232
4197
  var t = e, {
4233
4198
  locale: r = Ne()
4234
- } = t, n = qe(t, [
4199
+ } = t, n = Ze(t, [
4235
4200
  "locale"
4236
4201
  ]);
4237
- return $o(dr({ locale: r }, n));
4238
- }, zo = Ct(
4202
+ return Fo(lr({ locale: r }, n));
4203
+ }, $o = Pt(
4239
4204
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4240
- (e, t = Ne()) => new yo(e, t, Xe().formats, {
4241
- ignoreTag: Xe().ignoreTag
4205
+ (e, t = Ne()) => new po(e, t, ze().formats, {
4206
+ ignoreTag: ze().ignoreTag
4242
4207
  })
4243
- ), Wo = (e, t = {}) => {
4208
+ ), ko = (e, t = {}) => {
4244
4209
  var r, n, i, o;
4245
4210
  let s = t;
4246
4211
  typeof e == "object" && (s = e, e = s.id);
@@ -4253,9 +4218,9 @@ const at = (e, t) => {
4253
4218
  throw new Error(
4254
4219
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4255
4220
  );
4256
- let c = bn(e, f);
4221
+ let c = cn(e, f);
4257
4222
  if (!c)
4258
- c = (o = (i = (n = (r = Xe()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: f, id: e, defaultValue: h })) != null ? i : h) != null ? o : e;
4223
+ c = (o = (i = (n = (r = ze()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: f, id: e, defaultValue: h })) != null ? i : h) != null ? o : e;
4259
4224
  else if (typeof c != "string")
4260
4225
  return console.warn(
4261
4226
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -4264,33 +4229,33 @@ const at = (e, t) => {
4264
4229
  return c;
4265
4230
  let d = c;
4266
4231
  try {
4267
- d = zo(c, f).format(a);
4268
- } catch (p) {
4269
- p instanceof Error && console.warn(
4232
+ d = $o(c, f).format(a);
4233
+ } catch (m) {
4234
+ m instanceof Error && console.warn(
4270
4235
  `[svelte-i18n] Message "${e}" has syntax error:`,
4271
- p.message
4236
+ m.message
4272
4237
  );
4273
4238
  }
4274
4239
  return d;
4275
- }, qo = (e, t) => Xo(t).format(e), Zo = (e, t) => Vo(t).format(e), Jo = (e, t) => ko(t).format(e), Qo = (e, t = Ne()) => bn(e, t), Yo = ze([He, We], () => Wo);
4276
- ze([He], () => qo);
4277
- ze([He], () => Zo);
4278
- ze([He], () => Jo);
4279
- ze([He, We], () => Qo);
4280
- window.emWidgets = { topic: ui };
4281
- const Ts = (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)), Ko = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4282
- function es({ withLocale: e, translations: t }) {
4240
+ }, Vo = (e, t) => jo(t).format(e), Xo = (e, t) => Go(t).format(e), zo = (e, t) => Uo(t).format(e), Wo = (e, t = Ne()) => cn(e, t), qo = We([He, qe], () => ko);
4241
+ We([He], () => Vo);
4242
+ We([He], () => Xo);
4243
+ We([He], () => zo);
4244
+ We([He, qe], () => Wo);
4245
+ window.emWidgets = { topic: oi };
4246
+ const Es = (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)), Zo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4247
+ function Jo({ withLocale: e, translations: t }) {
4283
4248
  He.subscribe((r) => {
4284
- r == null && (We.set(t), He.set(e));
4249
+ r == null && (qe.set(t), He.set(e));
4285
4250
  });
4286
4251
  }
4287
- function Vt(e, t) {
4288
- vn(e, t);
4252
+ function jt(e, t) {
4253
+ mn(e, t);
4289
4254
  }
4290
- function Dr(e) {
4255
+ function Lr(e) {
4291
4256
  He.set(e);
4292
4257
  }
4293
- const Fr = {
4258
+ const Nr = {
4294
4259
  en: {
4295
4260
  500: "500 - Internal server error",
4296
4261
  showMore: "Show more",
@@ -4358,7 +4323,7 @@ const Fr = {
4358
4323
  noTournaments: "No tournaments found"
4359
4324
  }
4360
4325
  };
4361
- var fr = { exports: {} };
4326
+ var sr = { exports: {} };
4362
4327
  /** @license
4363
4328
  * eventsource.js
4364
4329
  * Available under MIT License (MIT)
@@ -4366,7 +4331,7 @@ var fr = { exports: {} };
4366
4331
  */
4367
4332
  (function(e, t) {
4368
4333
  (function(r) {
4369
- var n = r.setTimeout, i = r.clearTimeout, o = r.XMLHttpRequest, s = r.XDomainRequest, a = r.ActiveXObject, f = r.EventSource, h = r.document, c = r.Promise, d = r.fetch, p = r.Response, E = r.TextDecoder, P = r.TextEncoder, H = r.AbortController;
4334
+ var n = r.setTimeout, i = r.clearTimeout, o = r.XMLHttpRequest, s = r.XDomainRequest, a = r.ActiveXObject, f = r.EventSource, h = r.document, c = r.Promise, d = r.fetch, m = r.Response, _ = r.TextDecoder, C = r.TextEncoder, H = r.AbortController;
4370
4335
  if (typeof window < "u" && typeof h < "u" && !("readyState" in h) && h.body == null && (h.readyState = "loading", window.addEventListener("load", function(l) {
4371
4336
  h.readyState = "complete";
4372
4337
  }, !1)), o == null && a != null && (o = function() {
@@ -4381,15 +4346,15 @@ var fr = { exports: {} };
4381
4346
  var Y = d;
4382
4347
  d = function(l, b) {
4383
4348
  var g = b.signal;
4384
- return Y(l, { headers: b.headers, credentials: b.credentials, cache: b.cache }).then(function(m) {
4385
- var y = m.body.getReader();
4386
- return g._reader = y, g._aborted && g._reader.cancel(), {
4387
- status: m.status,
4388
- statusText: m.statusText,
4389
- headers: m.headers,
4349
+ return Y(l, { headers: b.headers, credentials: b.credentials, cache: b.cache }).then(function(p) {
4350
+ var v = p.body.getReader();
4351
+ return g._reader = v, g._aborted && g._reader.cancel(), {
4352
+ status: p.status,
4353
+ statusText: p.statusText,
4354
+ headers: p.headers,
4390
4355
  body: {
4391
4356
  getReader: function() {
4392
- return y;
4357
+ return v;
4393
4358
  }
4394
4359
  }
4395
4360
  };
@@ -4407,103 +4372,103 @@ var fr = { exports: {} };
4407
4372
  this.bitsNeeded = 0, this.codePoint = 0;
4408
4373
  }
4409
4374
  ce.prototype.decode = function(l) {
4410
- function b(B, O, u) {
4375
+ function b(P, O, u) {
4411
4376
  if (u === 1)
4412
- return B >= 128 >> O && B << O <= 2047;
4377
+ return P >= 128 >> O && P << O <= 2047;
4413
4378
  if (u === 2)
4414
- return B >= 2048 >> O && B << O <= 55295 || B >= 57344 >> O && B << O <= 65535;
4379
+ return P >= 2048 >> O && P << O <= 55295 || P >= 57344 >> O && P << O <= 65535;
4415
4380
  if (u === 3)
4416
- return B >= 65536 >> O && B << O <= 1114111;
4381
+ return P >= 65536 >> O && P << O <= 1114111;
4417
4382
  throw new Error();
4418
4383
  }
4419
- function g(B, O) {
4420
- if (B === 6 * 1)
4384
+ function g(P, O) {
4385
+ if (P === 6 * 1)
4421
4386
  return O >> 6 > 15 ? 3 : O > 31 ? 2 : 1;
4422
- if (B === 6 * 2)
4387
+ if (P === 6 * 2)
4423
4388
  return O > 15 ? 3 : 2;
4424
- if (B === 6 * 3)
4389
+ if (P === 6 * 3)
4425
4390
  return 3;
4426
4391
  throw new Error();
4427
4392
  }
4428
- for (var m = 65533, y = "", v = this.bitsNeeded, w = this.codePoint, L = 0; L < l.length; L += 1) {
4429
- var T = l[L];
4430
- v !== 0 && (T < 128 || T > 191 || !b(w << 6 | T & 63, v - 6, g(v, w))) && (v = 0, w = m, y += String.fromCharCode(w)), v === 0 ? (T >= 0 && T <= 127 ? (v = 0, w = T) : T >= 192 && T <= 223 ? (v = 6 * 1, w = T & 31) : T >= 224 && T <= 239 ? (v = 6 * 2, w = T & 15) : T >= 240 && T <= 247 ? (v = 6 * 3, w = T & 7) : (v = 0, w = m), v !== 0 && !b(w, v, g(v, w)) && (v = 0, w = m)) : (v -= 6, w = w << 6 | T & 63), v === 0 && (w <= 65535 ? y += String.fromCharCode(w) : (y += String.fromCharCode(55296 + (w - 65535 - 1 >> 10)), y += String.fromCharCode(56320 + (w - 65535 - 1 & 1023))));
4393
+ for (var p = 65533, v = "", y = this.bitsNeeded, w = this.codePoint, N = 0; N < l.length; N += 1) {
4394
+ var T = l[N];
4395
+ y !== 0 && (T < 128 || T > 191 || !b(w << 6 | T & 63, y - 6, g(y, w))) && (y = 0, w = p, v += String.fromCharCode(w)), y === 0 ? (T >= 0 && T <= 127 ? (y = 0, w = T) : T >= 192 && T <= 223 ? (y = 6 * 1, w = T & 31) : T >= 224 && T <= 239 ? (y = 6 * 2, w = T & 15) : T >= 240 && T <= 247 ? (y = 6 * 3, w = T & 7) : (y = 0, w = p), y !== 0 && !b(w, y, g(y, w)) && (y = 0, w = p)) : (y -= 6, w = w << 6 | T & 63), y === 0 && (w <= 65535 ? v += String.fromCharCode(w) : (v += String.fromCharCode(55296 + (w - 65535 - 1 >> 10)), v += String.fromCharCode(56320 + (w - 65535 - 1 & 1023))));
4431
4396
  }
4432
- return this.bitsNeeded = v, this.codePoint = w, y;
4397
+ return this.bitsNeeded = y, this.codePoint = w, v;
4433
4398
  };
4434
4399
  var ne = function() {
4435
4400
  try {
4436
- return new E().decode(new P().encode("test"), { stream: !0 }) === "test";
4401
+ return new _().decode(new C().encode("test"), { stream: !0 }) === "test";
4437
4402
  } catch (l) {
4438
4403
  console.debug("TextDecoder does not support streaming option. Using polyfill instead: " + l);
4439
4404
  }
4440
4405
  return !1;
4441
4406
  };
4442
- (E == null || P == null || !ne()) && (E = ce);
4443
- var I = function() {
4407
+ (_ == null || C == null || !ne()) && (_ = ce);
4408
+ var L = function() {
4444
4409
  };
4445
4410
  function j(l) {
4446
- this.withCredentials = !1, this.readyState = 0, this.status = 0, this.statusText = "", this.responseText = "", this.onprogress = I, this.onload = I, this.onerror = I, this.onreadystatechange = I, this._contentType = "", this._xhr = l, this._sendTimeout = 0, this._abort = I;
4411
+ this.withCredentials = !1, this.readyState = 0, this.status = 0, this.statusText = "", this.responseText = "", this.onprogress = L, this.onload = L, this.onerror = L, this.onreadystatechange = L, this._contentType = "", this._xhr = l, this._sendTimeout = 0, this._abort = L;
4447
4412
  }
4448
4413
  j.prototype.open = function(l, b) {
4449
4414
  this._abort(!0);
4450
- var g = this, m = this._xhr, y = 1, v = 0;
4415
+ var g = this, p = this._xhr, v = 1, y = 0;
4451
4416
  this._abort = function(u) {
4452
- g._sendTimeout !== 0 && (i(g._sendTimeout), g._sendTimeout = 0), (y === 1 || y === 2 || y === 3) && (y = 4, m.onload = I, m.onerror = I, m.onabort = I, m.onprogress = I, m.onreadystatechange = I, m.abort(), v !== 0 && (i(v), v = 0), u || (g.readyState = 4, g.onabort(null), g.onreadystatechange())), y = 0;
4417
+ g._sendTimeout !== 0 && (i(g._sendTimeout), g._sendTimeout = 0), (v === 1 || v === 2 || v === 3) && (v = 4, p.onload = L, p.onerror = L, p.onabort = L, p.onprogress = L, p.onreadystatechange = L, p.abort(), y !== 0 && (i(y), y = 0), u || (g.readyState = 4, g.onabort(null), g.onreadystatechange())), v = 0;
4453
4418
  };
4454
4419
  var w = function() {
4455
- if (y === 1) {
4456
- var u = 0, _ = "", C = void 0;
4457
- if ("contentType" in m)
4458
- u = 200, _ = "OK", C = m.contentType;
4420
+ if (v === 1) {
4421
+ var u = 0, E = "", I = void 0;
4422
+ if ("contentType" in p)
4423
+ u = 200, E = "OK", I = p.contentType;
4459
4424
  else
4460
4425
  try {
4461
- u = m.status, _ = m.statusText, C = m.getResponseHeader("Content-Type");
4426
+ u = p.status, E = p.statusText, I = p.getResponseHeader("Content-Type");
4462
4427
  } catch {
4463
- u = 0, _ = "", C = void 0;
4428
+ u = 0, E = "", I = void 0;
4464
4429
  }
4465
- u !== 0 && (y = 2, g.readyState = 2, g.status = u, g.statusText = _, g._contentType = C, g.onreadystatechange());
4430
+ u !== 0 && (v = 2, g.readyState = 2, g.status = u, g.statusText = E, g._contentType = I, g.onreadystatechange());
4466
4431
  }
4467
- }, L = function() {
4468
- if (w(), y === 2 || y === 3) {
4469
- y = 3;
4432
+ }, N = function() {
4433
+ if (w(), v === 2 || v === 3) {
4434
+ v = 3;
4470
4435
  var u = "";
4471
4436
  try {
4472
- u = m.responseText;
4437
+ u = p.responseText;
4473
4438
  } catch {
4474
4439
  }
4475
4440
  g.readyState = 3, g.responseText = u, g.onprogress();
4476
4441
  }
4477
- }, T = function(u, _) {
4478
- if ((_ == null || _.preventDefault == null) && (_ = {
4479
- preventDefault: I
4480
- }), L(), y === 1 || y === 2 || y === 3) {
4481
- if (y = 4, v !== 0 && (i(v), v = 0), g.readyState = 4, u === "load")
4482
- g.onload(_);
4442
+ }, T = function(u, E) {
4443
+ if ((E == null || E.preventDefault == null) && (E = {
4444
+ preventDefault: L
4445
+ }), N(), v === 1 || v === 2 || v === 3) {
4446
+ if (v = 4, y !== 0 && (i(y), y = 0), g.readyState = 4, u === "load")
4447
+ g.onload(E);
4483
4448
  else if (u === "error")
4484
- g.onerror(_);
4449
+ g.onerror(E);
4485
4450
  else if (u === "abort")
4486
- g.onabort(_);
4451
+ g.onabort(E);
4487
4452
  else
4488
4453
  throw new TypeError();
4489
4454
  g.onreadystatechange();
4490
4455
  }
4491
- }, B = function(u) {
4492
- m != null && (m.readyState === 4 ? (!("onload" in m) || !("onerror" in m) || !("onabort" in m)) && T(m.responseText === "" ? "error" : "load", u) : m.readyState === 3 ? "onprogress" in m || L() : m.readyState === 2 && w());
4456
+ }, P = function(u) {
4457
+ p != null && (p.readyState === 4 ? (!("onload" in p) || !("onerror" in p) || !("onabort" in p)) && T(p.responseText === "" ? "error" : "load", u) : p.readyState === 3 ? "onprogress" in p || N() : p.readyState === 2 && w());
4493
4458
  }, O = function() {
4494
- v = n(function() {
4459
+ y = n(function() {
4495
4460
  O();
4496
- }, 500), m.readyState === 3 && L();
4461
+ }, 500), p.readyState === 3 && N();
4497
4462
  };
4498
- "onload" in m && (m.onload = function(u) {
4463
+ "onload" in p && (p.onload = function(u) {
4499
4464
  T("load", u);
4500
- }), "onerror" in m && (m.onerror = function(u) {
4465
+ }), "onerror" in p && (p.onerror = function(u) {
4501
4466
  T("error", u);
4502
- }), "onabort" in m && (m.onabort = function(u) {
4467
+ }), "onabort" in p && (p.onabort = function(u) {
4503
4468
  T("abort", u);
4504
- }), "onprogress" in m && (m.onprogress = L), "onreadystatechange" in m && (m.onreadystatechange = function(u) {
4505
- B(u);
4506
- }), ("contentType" in m || !("ontimeout" in o.prototype)) && (b += (b.indexOf("?") === -1 ? "?" : "&") + "padding=true"), m.open(l, b, !0), "readyState" in m && (v = n(function() {
4469
+ }), "onprogress" in p && (p.onprogress = N), "onreadystatechange" in p && (p.onreadystatechange = function(u) {
4470
+ P(u);
4471
+ }), ("contentType" in p || !("ontimeout" in o.prototype)) && (b += (b.indexOf("?") === -1 ? "?" : "&") + "padding=true"), p.open(l, b, !0), "readyState" in p && (y = n(function() {
4507
4472
  O();
4508
4473
  }, 0));
4509
4474
  }, j.prototype.abort = function() {
@@ -4538,35 +4503,35 @@ var fr = { exports: {} };
4538
4503
  }
4539
4504
  function le(l) {
4540
4505
  for (var b = /* @__PURE__ */ Object.create(null), g = l.split(`\r
4541
- `), m = 0; m < g.length; m += 1) {
4542
- var y = g[m], v = y.split(": "), w = v.shift(), L = v.join(": ");
4543
- b[q(w)] = L;
4506
+ `), p = 0; p < g.length; p += 1) {
4507
+ var v = g[p], y = v.split(": "), w = y.shift(), N = y.join(": ");
4508
+ b[q(w)] = N;
4544
4509
  }
4545
4510
  this._map = b;
4546
4511
  }
4547
4512
  le.prototype.get = function(l) {
4548
4513
  return this._map[q(l)];
4549
4514
  }, o != null && o.HEADERS_RECEIVED == null && (o.HEADERS_RECEIVED = 2);
4550
- function me() {
4515
+ function pe() {
4551
4516
  }
4552
- me.prototype.open = function(l, b, g, m, y, v, w) {
4553
- l.open("GET", y);
4554
- var L = 0;
4517
+ pe.prototype.open = function(l, b, g, p, v, y, w) {
4518
+ l.open("GET", v);
4519
+ var N = 0;
4555
4520
  l.onprogress = function() {
4556
- var B = l.responseText, O = B.slice(L);
4557
- L += O.length, g(O);
4558
- }, l.onerror = function(B) {
4559
- B.preventDefault(), m(new Error("NetworkError"));
4521
+ var P = l.responseText, O = P.slice(N);
4522
+ N += O.length, g(O);
4523
+ }, l.onerror = function(P) {
4524
+ P.preventDefault(), p(new Error("NetworkError"));
4560
4525
  }, l.onload = function() {
4561
- m(null);
4526
+ p(null);
4562
4527
  }, l.onabort = function() {
4563
- m(null);
4528
+ p(null);
4564
4529
  }, l.onreadystatechange = function() {
4565
4530
  if (l.readyState === o.HEADERS_RECEIVED) {
4566
- var B = l.status, O = l.statusText, u = l.getResponseHeader("Content-Type"), _ = l.getAllResponseHeaders();
4567
- b(B, O, u, new le(_));
4531
+ var P = l.status, O = l.statusText, u = l.getResponseHeader("Content-Type"), E = l.getAllResponseHeaders();
4532
+ b(P, O, u, new le(E));
4568
4533
  }
4569
- }, l.withCredentials = v;
4534
+ }, l.withCredentials = y;
4570
4535
  for (var T in w)
4571
4536
  Object.prototype.hasOwnProperty.call(w, T) && l.setRequestHeader(T, w[T]);
4572
4537
  return l.send(), l;
@@ -4579,25 +4544,25 @@ var fr = { exports: {} };
4579
4544
  };
4580
4545
  function Re() {
4581
4546
  }
4582
- Re.prototype.open = function(l, b, g, m, y, v, w) {
4583
- var L = null, T = new H(), B = T.signal, O = new E();
4584
- return d(y, {
4547
+ Re.prototype.open = function(l, b, g, p, v, y, w) {
4548
+ var N = null, T = new H(), P = T.signal, O = new _();
4549
+ return d(v, {
4585
4550
  headers: w,
4586
- credentials: v ? "include" : "same-origin",
4587
- signal: B,
4551
+ credentials: y ? "include" : "same-origin",
4552
+ signal: P,
4588
4553
  cache: "no-store"
4589
4554
  }).then(function(u) {
4590
- return L = u.body.getReader(), b(u.status, u.statusText, u.headers.get("Content-Type"), new Me(u.headers)), new c(function(_, C) {
4555
+ return N = u.body.getReader(), b(u.status, u.statusText, u.headers.get("Content-Type"), new Me(u.headers)), new c(function(E, I) {
4591
4556
  var D = function() {
4592
- L.read().then(function(W) {
4557
+ N.read().then(function(W) {
4593
4558
  if (W.done)
4594
- _(void 0);
4559
+ E(void 0);
4595
4560
  else {
4596
4561
  var U = O.decode(W.value, { stream: !0 });
4597
4562
  g(U), D();
4598
4563
  }
4599
4564
  }).catch(function(W) {
4600
- C(W);
4565
+ I(W);
4601
4566
  });
4602
4567
  };
4603
4568
  D();
@@ -4606,14 +4571,14 @@ var fr = { exports: {} };
4606
4571
  if (u.name !== "AbortError")
4607
4572
  return u;
4608
4573
  }).then(function(u) {
4609
- m(u);
4574
+ p(u);
4610
4575
  }), {
4611
4576
  abort: function() {
4612
- L?.cancel(), T.abort();
4577
+ N?.cancel(), T.abort();
4613
4578
  }
4614
4579
  };
4615
4580
  };
4616
- function ge() {
4581
+ function be() {
4617
4582
  this._listeners = /* @__PURE__ */ Object.create(null);
4618
4583
  }
4619
4584
  function Be(l) {
@@ -4621,32 +4586,32 @@ var fr = { exports: {} };
4621
4586
  throw l;
4622
4587
  }, 0);
4623
4588
  }
4624
- ge.prototype.dispatchEvent = function(l) {
4589
+ be.prototype.dispatchEvent = function(l) {
4625
4590
  l.target = this;
4626
4591
  var b = this._listeners[l.type];
4627
4592
  if (b != null)
4628
- for (var g = b.length, m = 0; m < g; m += 1) {
4629
- var y = b[m];
4593
+ for (var g = b.length, p = 0; p < g; p += 1) {
4594
+ var v = b[p];
4630
4595
  try {
4631
- typeof y.handleEvent == "function" ? y.handleEvent(l) : y.call(this, l);
4632
- } catch (v) {
4633
- Be(v);
4596
+ typeof v.handleEvent == "function" ? v.handleEvent(l) : v.call(this, l);
4597
+ } catch (y) {
4598
+ Be(y);
4634
4599
  }
4635
4600
  }
4636
- }, ge.prototype.addEventListener = function(l, b) {
4601
+ }, be.prototype.addEventListener = function(l, b) {
4637
4602
  l = String(l);
4638
- var g = this._listeners, m = g[l];
4639
- m == null && (m = [], g[l] = m);
4640
- for (var y = !1, v = 0; v < m.length; v += 1)
4641
- m[v] === b && (y = !0);
4642
- y || m.push(b);
4643
- }, ge.prototype.removeEventListener = function(l, b) {
4603
+ var g = this._listeners, p = g[l];
4604
+ p == null && (p = [], g[l] = p);
4605
+ for (var v = !1, y = 0; y < p.length; y += 1)
4606
+ p[y] === b && (v = !0);
4607
+ v || p.push(b);
4608
+ }, be.prototype.removeEventListener = function(l, b) {
4644
4609
  l = String(l);
4645
- var g = this._listeners, m = g[l];
4646
- if (m != null) {
4647
- for (var y = [], v = 0; v < m.length; v += 1)
4648
- m[v] !== b && y.push(m[v]);
4649
- y.length === 0 ? delete g[l] : g[l] = y;
4610
+ var g = this._listeners, p = g[l];
4611
+ if (p != null) {
4612
+ for (var v = [], y = 0; y < p.length; y += 1)
4613
+ p[y] !== b && v.push(p[y]);
4614
+ v.length === 0 ? delete g[l] : g[l] = v;
4650
4615
  }
4651
4616
  };
4652
4617
  function K(l) {
@@ -4660,59 +4625,59 @@ var fr = { exports: {} };
4660
4625
  K.call(this, l), this.status = b.status, this.statusText = b.statusText, this.headers = b.headers;
4661
4626
  }
4662
4627
  Pe.prototype = Object.create(K.prototype);
4663
- function Ze(l, b) {
4628
+ function Je(l, b) {
4664
4629
  K.call(this, l), this.error = b.error;
4665
4630
  }
4666
- Ze.prototype = Object.create(K.prototype);
4667
- var Oe = -1, ie = 0, z = 1, de = 2, we = -1, $ = 0, Te = 1, Se = 2, ft = 3, pe = /^text\/event\-stream(;.*)?$/i, Je = 1e3, ct = 18e6, Qe = function(l, b) {
4631
+ Je.prototype = Object.create(K.prototype);
4632
+ var Ce = -1, ie = 0, z = 1, de = 2, we = -1, $ = 0, Te = 1, Se = 2, ft = 3, me = /^text\/event\-stream(;.*)?$/i, Qe = 1e3, ct = 18e6, Ye = function(l, b) {
4668
4633
  var g = l == null ? b : parseInt(l, 10);
4669
- return g !== g && (g = b), Ye(g);
4670
- }, Ye = function(l) {
4671
- return Math.min(Math.max(l, Je), ct);
4672
- }, ve = function(l, b, g) {
4634
+ return g !== g && (g = b), Ke(g);
4635
+ }, Ke = function(l) {
4636
+ return Math.min(Math.max(l, Qe), ct);
4637
+ }, ge = function(l, b, g) {
4673
4638
  try {
4674
4639
  typeof b == "function" && b.call(l, g);
4675
- } catch (m) {
4676
- Be(m);
4640
+ } catch (p) {
4641
+ Be(p);
4677
4642
  }
4678
4643
  };
4679
4644
  function oe(l, b) {
4680
- ge.call(this), b = b || {}, this.onopen = void 0, this.onmessage = void 0, this.onerror = void 0, this.url = void 0, this.readyState = void 0, this.withCredentials = void 0, this.headers = void 0, this._close = void 0, Lt(this, l, b);
4645
+ be.call(this), b = b || {}, this.onopen = void 0, this.onmessage = void 0, this.onerror = void 0, this.url = void 0, this.readyState = void 0, this.withCredentials = void 0, this.headers = void 0, this._close = void 0, Ot(this, l, b);
4681
4646
  }
4682
- function Ke() {
4647
+ function et() {
4683
4648
  return o != null && "withCredentials" in o.prototype || s == null ? new o() : new s();
4684
4649
  }
4685
- var It = d != null && p != null && "body" in p.prototype;
4686
- function Lt(l, b, g) {
4650
+ var Ct = d != null && m != null && "body" in m.prototype;
4651
+ function Ot(l, b, g) {
4687
4652
  b = String(b);
4688
- var m = !!g.withCredentials, y = g.lastEventIdQueryParameterName || "lastEventId", v = Ye(1e3), w = Qe(g.heartbeatTimeout, 45e3), L = "", T = v, B = !1, O = 0, u = g.headers || {}, _ = g.Transport, C = It && _ == null ? void 0 : new j(_ != null ? new _() : Ke()), D = _ != null && typeof _ != "string" ? new _() : C == null ? new Re() : new me(), W = void 0, U = 0, se = Oe, Ce = "", ee = "", ye = "", dt = "", Z = $, Nt = 0, Ie = 0, wn = function(k, G, ae, ue) {
4653
+ var p = !!g.withCredentials, v = g.lastEventIdQueryParameterName || "lastEventId", y = Ke(1e3), w = Ye(g.heartbeatTimeout, 45e3), N = "", T = y, P = !1, O = 0, u = g.headers || {}, E = g.Transport, I = Ct && E == null ? void 0 : new j(E != null ? new E() : et()), D = E != null && typeof E != "string" ? new E() : I == null ? new Re() : new pe(), W = void 0, U = 0, se = Ce, Oe = "", ee = "", ye = "", dt = "", Z = $, It = 0, Ie = 0, vn = function(k, G, ae, ue) {
4689
4654
  if (se === ie)
4690
- if (k === 200 && ae != null && pe.test(ae)) {
4691
- se = z, B = Date.now(), T = v, l.readyState = z;
4655
+ if (k === 200 && ae != null && me.test(ae)) {
4656
+ se = z, P = Date.now(), T = y, l.readyState = z;
4692
4657
  var J = new Pe("open", {
4693
4658
  status: k,
4694
4659
  statusText: G,
4695
4660
  headers: ue
4696
4661
  });
4697
- l.dispatchEvent(J), ve(l, l.onopen, J);
4662
+ l.dispatchEvent(J), ge(l, l.onopen, J);
4698
4663
  } else {
4699
4664
  var V = "";
4700
- k !== 200 ? (G && (G = G.replace(/\s+/g, " ")), V = "EventSource's response has a status " + k + " " + G + " that is not 200. Aborting the connection.") : V = "EventSource's response has a Content-Type specifying an unsupported type: " + (ae == null ? "-" : ae.replace(/\s+/g, " ")) + ". Aborting the connection.", Mt();
4665
+ k !== 200 ? (G && (G = G.replace(/\s+/g, " ")), V = "EventSource's response has a status " + k + " " + G + " that is not 200. Aborting the connection.") : V = "EventSource's response has a Content-Type specifying an unsupported type: " + (ae == null ? "-" : ae.replace(/\s+/g, " ")) + ". Aborting the connection.", Lt();
4701
4666
  var J = new Pe("error", {
4702
4667
  status: k,
4703
4668
  statusText: G,
4704
4669
  headers: ue
4705
4670
  });
4706
- l.dispatchEvent(J), ve(l, l.onerror, J), console.error(V);
4671
+ l.dispatchEvent(J), ge(l, l.onerror, J), console.error(V);
4707
4672
  }
4708
- }, Tn = function(k) {
4673
+ }, En = function(k) {
4709
4674
  if (se === z) {
4710
4675
  for (var G = -1, ae = 0; ae < k.length; ae += 1) {
4711
4676
  var ue = k.charCodeAt(ae);
4712
4677
  (ue === 10 || ue === 13) && (G = ae);
4713
4678
  }
4714
4679
  var J = (G !== -1 ? dt : "") + k.slice(0, G + 1);
4715
- dt = (G === -1 ? dt : "") + k.slice(G + 1), k !== "" && (B = Date.now(), O += k.length);
4680
+ dt = (G === -1 ? dt : "") + k.slice(G + 1), k !== "" && (P = Date.now(), O += k.length);
4716
4681
  for (var V = 0; V < J.length; V += 1) {
4717
4682
  var ue = J.charCodeAt(V);
4718
4683
  if (Z === we && ue === 10)
@@ -4720,97 +4685,97 @@ var fr = { exports: {} };
4720
4685
  else if (Z === we && (Z = $), ue === 13 || ue === 10) {
4721
4686
  if (Z !== $) {
4722
4687
  Z === Te && (Ie = V + 1);
4723
- var _e = J.slice(Nt, Ie - 1), Ee = J.slice(Ie + (Ie < V && J.charCodeAt(Ie) === 32 ? 1 : 0), V);
4724
- _e === "data" ? (Ce += `
4725
- `, Ce += Ee) : _e === "id" ? ee = Ee : _e === "event" ? ye = Ee : _e === "retry" ? (v = Qe(Ee, v), T = v) : _e === "heartbeatTimeout" && (w = Qe(Ee, w), U !== 0 && (i(U), U = n(function() {
4726
- tt();
4688
+ var ve = J.slice(It, Ie - 1), Ee = J.slice(Ie + (Ie < V && J.charCodeAt(Ie) === 32 ? 1 : 0), V);
4689
+ ve === "data" ? (Oe += `
4690
+ `, Oe += Ee) : ve === "id" ? ee = Ee : ve === "event" ? ye = Ee : ve === "retry" ? (y = Ye(Ee, y), T = y) : ve === "heartbeatTimeout" && (w = Ye(Ee, w), U !== 0 && (i(U), U = n(function() {
4691
+ rt();
4727
4692
  }, w)));
4728
4693
  }
4729
4694
  if (Z === $) {
4730
- if (Ce !== "") {
4731
- L = ee, ye === "" && (ye = "message");
4695
+ if (Oe !== "") {
4696
+ N = ee, ye === "" && (ye = "message");
4732
4697
  var De = new ht(ye, {
4733
- data: Ce.slice(1),
4698
+ data: Oe.slice(1),
4734
4699
  lastEventId: ee
4735
4700
  });
4736
- if (l.dispatchEvent(De), ye === "open" ? ve(l, l.onopen, De) : ye === "message" ? ve(l, l.onmessage, De) : ye === "error" && ve(l, l.onerror, De), se === de)
4701
+ if (l.dispatchEvent(De), ye === "open" ? ge(l, l.onopen, De) : ye === "message" ? ge(l, l.onmessage, De) : ye === "error" && ge(l, l.onerror, De), se === de)
4737
4702
  return;
4738
4703
  }
4739
- Ce = "", ye = "";
4704
+ Oe = "", ye = "";
4740
4705
  }
4741
4706
  Z = ue === 13 ? we : $;
4742
4707
  } else
4743
- Z === $ && (Nt = V, Z = Te), Z === Te ? ue === 58 && (Ie = V + 1, Z = Se) : Z === Se && (Z = ft);
4708
+ Z === $ && (It = V, Z = Te), Z === Te ? ue === 58 && (Ie = V + 1, Z = Se) : Z === Se && (Z = ft);
4744
4709
  }
4745
4710
  }
4746
- }, pr = function(k) {
4711
+ }, hr = function(k) {
4747
4712
  if (se === z || se === ie) {
4748
- se = Oe, U !== 0 && (i(U), U = 0), U = n(function() {
4749
- tt();
4750
- }, T), T = Ye(Math.min(v * 16, T * 2)), l.readyState = ie;
4751
- var G = new Ze("error", { error: k });
4752
- l.dispatchEvent(G), ve(l, l.onerror, G), k != null && console.error(k);
4713
+ se = Ce, U !== 0 && (i(U), U = 0), U = n(function() {
4714
+ rt();
4715
+ }, T), T = Ke(Math.min(y * 16, T * 2)), l.readyState = ie;
4716
+ var G = new Je("error", { error: k });
4717
+ l.dispatchEvent(G), ge(l, l.onerror, G), k != null && console.error(k);
4753
4718
  }
4754
- }, Mt = function() {
4719
+ }, Lt = function() {
4755
4720
  se = de, W != null && (W.abort(), W = void 0), U !== 0 && (i(U), U = 0), l.readyState = de;
4756
- }, tt = function() {
4757
- if (U = 0, se !== Oe) {
4758
- if (!B && W != null)
4759
- pr(new Error("No activity within " + w + " milliseconds. " + (se === ie ? "No response received." : O + " chars received.") + " Reconnecting.")), W != null && (W.abort(), W = void 0);
4721
+ }, rt = function() {
4722
+ if (U = 0, se !== Ce) {
4723
+ if (!P && W != null)
4724
+ hr(new Error("No activity within " + w + " milliseconds. " + (se === ie ? "No response received." : O + " chars received.") + " Reconnecting.")), W != null && (W.abort(), W = void 0);
4760
4725
  else {
4761
- var k = Math.max((B || Date.now()) + w - Date.now(), 1);
4762
- B = !1, U = n(function() {
4763
- tt();
4726
+ var k = Math.max((P || Date.now()) + w - Date.now(), 1);
4727
+ P = !1, U = n(function() {
4728
+ rt();
4764
4729
  }, k);
4765
4730
  }
4766
4731
  return;
4767
4732
  }
4768
- B = !1, O = 0, U = n(function() {
4769
- tt();
4770
- }, w), se = ie, Ce = "", ye = "", ee = L, dt = "", Nt = 0, Ie = 0, Z = $;
4733
+ P = !1, O = 0, U = n(function() {
4734
+ rt();
4735
+ }, w), se = ie, Oe = "", ye = "", ee = N, dt = "", It = 0, Ie = 0, Z = $;
4771
4736
  var G = b;
4772
- if (b.slice(0, 5) !== "data:" && b.slice(0, 5) !== "blob:" && L !== "") {
4737
+ if (b.slice(0, 5) !== "data:" && b.slice(0, 5) !== "blob:" && N !== "") {
4773
4738
  var ae = b.indexOf("?");
4774
4739
  G = ae === -1 ? b : b.slice(0, ae + 1) + b.slice(ae + 1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g, function(Ee, De) {
4775
- return De === y ? "" : Ee;
4776
- }), G += (b.indexOf("?") === -1 ? "?" : "&") + y + "=" + encodeURIComponent(L);
4740
+ return De === v ? "" : Ee;
4741
+ }), G += (b.indexOf("?") === -1 ? "?" : "&") + v + "=" + encodeURIComponent(N);
4777
4742
  }
4778
4743
  var ue = l.withCredentials, J = {};
4779
4744
  J.Accept = "text/event-stream";
4780
4745
  var V = l.headers;
4781
4746
  if (V != null)
4782
- for (var _e in V)
4783
- Object.prototype.hasOwnProperty.call(V, _e) && (J[_e] = V[_e]);
4747
+ for (var ve in V)
4748
+ Object.prototype.hasOwnProperty.call(V, ve) && (J[ve] = V[ve]);
4784
4749
  try {
4785
- W = D.open(C, wn, Tn, pr, G, ue, J);
4750
+ W = D.open(I, vn, En, hr, G, ue, J);
4786
4751
  } catch (Ee) {
4787
- throw Mt(), Ee;
4752
+ throw Lt(), Ee;
4788
4753
  }
4789
4754
  };
4790
- l.url = b, l.readyState = ie, l.withCredentials = m, l.headers = u, l._close = Mt, tt();
4755
+ l.url = b, l.readyState = ie, l.withCredentials = p, l.headers = u, l._close = Lt, rt();
4791
4756
  }
4792
- oe.prototype = Object.create(ge.prototype), oe.prototype.CONNECTING = ie, oe.prototype.OPEN = z, oe.prototype.CLOSED = de, oe.prototype.close = function() {
4757
+ oe.prototype = Object.create(be.prototype), oe.prototype.CONNECTING = ie, oe.prototype.OPEN = z, oe.prototype.CLOSED = de, oe.prototype.close = function() {
4793
4758
  this._close();
4794
4759
  }, oe.CONNECTING = ie, oe.OPEN = z, oe.CLOSED = de, oe.prototype.withCredentials = void 0;
4795
- var et = f;
4796
- o != null && (f == null || !("withCredentials" in f.prototype)) && (et = oe), function(l) {
4760
+ var tt = f;
4761
+ o != null && (f == null || !("withCredentials" in f.prototype)) && (tt = oe), function(l) {
4797
4762
  {
4798
4763
  var b = l(t);
4799
4764
  b !== void 0 && (e.exports = b);
4800
4765
  }
4801
4766
  }(function(l) {
4802
- l.EventSourcePolyfill = oe, l.NativeEventSource = f, l.EventSource = et;
4767
+ l.EventSourcePolyfill = oe, l.NativeEventSource = f, l.EventSource = tt;
4803
4768
  });
4804
- })(typeof globalThis > "u" ? typeof window < "u" ? window : typeof self < "u" ? self : hi : globalThis);
4805
- })(fr, fr.exports);
4806
- var ts = fr.exports;
4807
- function rs(e, t) {
4769
+ })(typeof globalThis > "u" ? typeof window < "u" ? window : typeof self < "u" ? self : ai : globalThis);
4770
+ })(sr, sr.exports);
4771
+ var Qo = sr.exports;
4772
+ function Yo(e, t) {
4808
4773
  if (e) {
4809
4774
  const r = document.createElement("style");
4810
4775
  r.innerHTML = t, e.appendChild(r);
4811
4776
  }
4812
4777
  }
4813
- function ns(e, t) {
4778
+ function Ko(e, t) {
4814
4779
  const r = new URL(t);
4815
4780
  fetch(r.href).then((n) => n.text()).then((n) => {
4816
4781
  const i = document.createElement("style");
@@ -4819,7 +4784,7 @@ function ns(e, t) {
4819
4784
  console.error("There was an error while trying to load client styling from URL", n);
4820
4785
  });
4821
4786
  }
4822
- function is(e, t, r) {
4787
+ function es(e, t, r) {
4823
4788
  if (window.emMessageBus) {
4824
4789
  const n = document.createElement("style");
4825
4790
  window.emMessageBus.subscribe(t, (i) => {
@@ -4839,7 +4804,7 @@ if (typeof window < "u") {
4839
4804
  }
4840
4805
  };
4841
4806
  };
4842
- customElements.define = e(customElements.define), import("./CasinoTournamentsFilterController-D_Lf41wW.js").then(({ default: t }) => {
4807
+ customElements.define = e(customElements.define), import("./CasinoTournamentsFilterController-BuDb2PzI.js").then(({ default: t }) => {
4843
4808
  !customElements.get("casino-tournaments-filter-controller") && customElements.define("casino-tournaments-filter-controller", t.element);
4844
4809
  });
4845
4810
  }
@@ -4855,52 +4820,52 @@ if (typeof window < "u") {
4855
4820
  }
4856
4821
  };
4857
4822
  };
4858
- customElements.define = e(customElements.define), import("./CasinoTournamentsListController-CIWdd6Dd.js").then(({ default: t }) => {
4823
+ customElements.define = e(customElements.define), import("./CasinoTournamentsListController-CMKXEOqo.js").then(({ default: t }) => {
4859
4824
  !customElements.get("casino-tournaments-list-controller") && customElements.define("casino-tournaments-list-controller", t.element);
4860
4825
  });
4861
4826
  }
4862
- const Ur = (e) => e.length > 0 && e != "false";
4863
- function os(e) {
4864
- Hn(e, "svelte-v0e19m", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.ShowMoreButton{background:var(--emw--color-contrast, #07072A);font-size:18px;width:280px;height:60px;text-align:center;color:var(--emw--color-green, #48952a);border:solid var(--emw--color-green, #48952a) 1px;text-transform:uppercase;margin-bottom:20px;cursor:pointer}.ShowMoreButton:hover{opacity:0.7}.TournamentsWrapper{min-height:100vh;background:var(--emw--color-contrast, #07072A);overflow-x:hidden}.Tournaments{color:var(--emw--color-white, #FFFFFF);display:flex;flex-direction:column;position:relative;margin:0 auto;max-width:1300px;padding:24px 0}@media screen and (max-width: 1300px){.Tournaments{padding:24px 2.4%}}.Tournaments .FirstRow{width:100%;margin:0 auto}.Tournaments .SecondRow{margin:0 auto;width:100%}.Tournaments .ThirdRow{display:flex;flex-direction:column;justify-content:center}.Tournaments .ThirdRow .CenterButton{padding-top:20px;width:100%;display:flex;justify-content:center}");
4827
+ const Mr = (e) => e.length > 0 && e != "false";
4828
+ function ts(e) {
4829
+ wn(e, "svelte-v0e19m", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.ShowMoreButton{background:var(--emw--color-contrast, #07072A);font-size:18px;width:280px;height:60px;text-align:center;color:var(--emw--color-green, #48952a);border:solid var(--emw--color-green, #48952a) 1px;text-transform:uppercase;margin-bottom:20px;cursor:pointer}.ShowMoreButton:hover{opacity:0.7}.TournamentsWrapper{min-height:100vh;background:var(--emw--color-contrast, #07072A);overflow-x:hidden}.Tournaments{color:var(--emw--color-white, #FFFFFF);display:flex;flex-direction:column;position:relative;margin:0 auto;max-width:1300px;padding:24px 0}@media screen and (max-width: 1300px){.Tournaments{padding:24px 2.4%}}.Tournaments .FirstRow{width:100%;margin:0 auto}.Tournaments .SecondRow{margin:0 auto;width:100%}.Tournaments .ThirdRow{display:flex;flex-direction:column;justify-content:center}.Tournaments .ThirdRow .CenterButton{padding-top:20px;width:100%;display:flex;justify-content:center}");
4865
4830
  }
4866
- function ss(e) {
4831
+ function rs(e) {
4867
4832
  let t, r, n, i, o, s, a = (
4868
4833
  /*filtersLoaded*/
4869
- e[20] && Gr(e)
4834
+ e[20] && Rr(e)
4870
4835
  );
4871
- function f(p, E) {
4836
+ function f(m, _) {
4872
4837
  return (
4873
4838
  /*tournamentsNumber*/
4874
- p[21] == 0 ? ls : us
4839
+ m[21] == 0 ? os : is
4875
4840
  );
4876
4841
  }
4877
4842
  let h = f(e), c = h(e), d = !/*allTournamentsShown*/
4878
- e[22] && jr(e);
4843
+ e[22] && Dr(e);
4879
4844
  return {
4880
4845
  c() {
4881
- t = X("div"), r = X("div"), n = X("div"), a && a.c(), i = Xt(), o = X("div"), c.c(), s = Xt(), d && d.c(), F(n, "class", "FirstRow"), F(n, "part", "FirstRow"), F(o, "class", "SecondRow"), F(o, "part", "SecondRow"), F(r, "class", "Tournaments"), F(r, "part", "Tournaments"), F(t, "class", "TournamentsWrapper"), F(t, "part", "TournamentsWrapper");
4846
+ t = X("div"), r = X("div"), n = X("div"), a && a.c(), i = $t(), o = X("div"), c.c(), s = $t(), d && d.c(), F(n, "class", "FirstRow"), F(n, "part", "FirstRow"), F(o, "class", "SecondRow"), F(o, "part", "SecondRow"), F(r, "class", "Tournaments"), F(r, "part", "Tournaments"), F(t, "class", "TournamentsWrapper"), F(t, "part", "TournamentsWrapper");
4882
4847
  },
4883
- m(p, E) {
4884
- fe(p, t, E), te(t, r), te(r, n), a && a.m(n, null), te(r, i), te(r, o), c.m(o, null), te(r, s), d && d.m(r, null);
4848
+ m(m, _) {
4849
+ fe(m, t, _), te(t, r), te(r, n), a && a.m(n, null), te(r, i), te(r, o), c.m(o, null), te(r, s), d && d.m(r, null);
4885
4850
  },
4886
- p(p, E) {
4851
+ p(m, _) {
4887
4852
  /*filtersLoaded*/
4888
- p[20] ? a ? a.p(p, E) : (a = Gr(p), a.c(), a.m(n, null)) : a && (a.d(1), a = null), h === (h = f(p)) && c ? c.p(p, E) : (c.d(1), c = h(p), c && (c.c(), c.m(o, null))), /*allTournamentsShown*/
4889
- p[22] ? d && (d.d(1), d = null) : d ? d.p(p, E) : (d = jr(p), d.c(), d.m(r, null));
4853
+ m[20] ? a ? a.p(m, _) : (a = Rr(m), a.c(), a.m(n, null)) : a && (a.d(1), a = null), h === (h = f(m)) && c ? c.p(m, _) : (c.d(1), c = h(m), c && (c.c(), c.m(o, null))), /*allTournamentsShown*/
4854
+ m[22] ? d && (d.d(1), d = null) : d ? d.p(m, _) : (d = Dr(m), d.c(), d.m(r, null));
4890
4855
  },
4891
- d(p) {
4892
- p && re(t), a && a.d(), c.d(), d && d.d();
4856
+ d(m) {
4857
+ m && re(t), a && a.d(), c.d(), d && d.d();
4893
4858
  }
4894
4859
  };
4895
4860
  }
4896
- function as(e) {
4861
+ function ns(e) {
4897
4862
  let t, r = (
4898
4863
  /*$_*/
4899
4864
  e[23]("500") + ""
4900
4865
  ), n, i, o, s;
4901
4866
  return {
4902
4867
  c() {
4903
- t = X("p"), n = Le(r), i = Xt(), o = X("p"), s = Le(
4868
+ t = X("p"), n = Le(r), i = $t(), o = X("p"), s = Le(
4904
4869
  /*error*/
4905
4870
  e[18]
4906
4871
  );
@@ -4911,8 +4876,8 @@ function as(e) {
4911
4876
  p(a, f) {
4912
4877
  f[0] & /*$_*/
4913
4878
  8388608 && r !== (r = /*$_*/
4914
- a[23]("500") + "") && it(n, r), f[0] & /*error*/
4915
- 262144 && it(
4879
+ a[23]("500") + "") && ot(n, r), f[0] & /*error*/
4880
+ 262144 && ot(
4916
4881
  s,
4917
4882
  /*error*/
4918
4883
  a[18]
@@ -4923,7 +4888,7 @@ function as(e) {
4923
4888
  }
4924
4889
  };
4925
4890
  }
4926
- function Gr(e) {
4891
+ function Rr(e) {
4927
4892
  let t;
4928
4893
  return {
4929
4894
  c() {
@@ -4947,7 +4912,7 @@ function Gr(e) {
4947
4912
  "mbsource",
4948
4913
  /*mbsource*/
4949
4914
  e[15]
4950
- ), x(t, "filters", ds), x(
4915
+ ), x(t, "filters", ls), x(
4951
4916
  t,
4952
4917
  "activefilters",
4953
4918
  /*filters*/
@@ -4995,7 +4960,7 @@ function Gr(e) {
4995
4960
  }
4996
4961
  };
4997
4962
  }
4998
- function us(e) {
4963
+ function is(e) {
4999
4964
  let t;
5000
4965
  return {
5001
4966
  c() {
@@ -5180,18 +5145,18 @@ function us(e) {
5180
5145
  }
5181
5146
  };
5182
5147
  }
5183
- function ls(e) {
5148
+ function os(e) {
5184
5149
  let t;
5185
5150
  function r(o, s) {
5186
5151
  return (
5187
5152
  /*isLoading*/
5188
- o[19] ? fs : hs
5153
+ o[19] ? as : ss
5189
5154
  );
5190
5155
  }
5191
5156
  let n = r(e), i = n(e);
5192
5157
  return {
5193
5158
  c() {
5194
- i.c(), t = On();
5159
+ i.c(), t = An();
5195
5160
  },
5196
5161
  m(o, s) {
5197
5162
  i.m(o, s), fe(o, t, s);
@@ -5204,7 +5169,7 @@ function ls(e) {
5204
5169
  }
5205
5170
  };
5206
5171
  }
5207
- function hs(e) {
5172
+ function ss(e) {
5208
5173
  let t, r = (
5209
5174
  /*$_*/
5210
5175
  e[23]("noTournaments") + ""
@@ -5219,14 +5184,14 @@ function hs(e) {
5219
5184
  p(i, o) {
5220
5185
  o[0] & /*$_*/
5221
5186
  8388608 && r !== (r = /*$_*/
5222
- i[23]("noTournaments") + "") && it(n, r);
5187
+ i[23]("noTournaments") + "") && ot(n, r);
5223
5188
  },
5224
5189
  d(i) {
5225
5190
  i && re(t);
5226
5191
  }
5227
5192
  };
5228
5193
  }
5229
- function fs(e) {
5194
+ function as(e) {
5230
5195
  let t, r = (
5231
5196
  /*$_*/
5232
5197
  e[23]("loading") + ""
@@ -5241,14 +5206,14 @@ function fs(e) {
5241
5206
  p(i, o) {
5242
5207
  o[0] & /*$_*/
5243
5208
  8388608 && r !== (r = /*$_*/
5244
- i[23]("loading") + "") && it(n, r);
5209
+ i[23]("loading") + "") && ot(n, r);
5245
5210
  },
5246
5211
  d(i) {
5247
5212
  i && re(t);
5248
5213
  }
5249
5214
  };
5250
5215
  }
5251
- function jr(e) {
5216
+ function Dr(e) {
5252
5217
  let t, r, n, i = (
5253
5218
  /*$_*/
5254
5219
  e[23]("showMore") + ""
@@ -5258,7 +5223,7 @@ function jr(e) {
5258
5223
  t = X("div"), r = X("div"), n = X("button"), o = Le(i), F(n, "class", "ShowMoreButton"), F(n, "part", "ShowMoreButton"), F(n, "title", "Show More"), F(r, "class", "CenterButton"), F(r, "part", "CenterButton"), F(t, "class", "ThirdRow"), F(t, "part", "ThirdRow");
5259
5224
  },
5260
5225
  m(f, h) {
5261
- fe(f, t, h), te(t, r), te(r, n), te(n, o), s || (a = zt(
5226
+ fe(f, t, h), te(t, r), te(r, n), te(n, o), s || (a = kt(
5262
5227
  n,
5263
5228
  "click",
5264
5229
  /*click_handler*/
@@ -5268,19 +5233,19 @@ function jr(e) {
5268
5233
  p(f, h) {
5269
5234
  h[0] & /*$_*/
5270
5235
  8388608 && i !== (i = /*$_*/
5271
- f[23]("showMore") + "") && it(o, i);
5236
+ f[23]("showMore") + "") && ot(o, i);
5272
5237
  },
5273
5238
  d(f) {
5274
5239
  f && re(t), s = !1, a();
5275
5240
  }
5276
5241
  };
5277
5242
  }
5278
- function cs(e) {
5243
+ function us(e) {
5279
5244
  let t;
5280
5245
  function r(o, s) {
5281
5246
  return (
5282
5247
  /*hasErrors*/
5283
- o[17] ? as : ss
5248
+ o[17] ? ns : rs
5284
5249
  );
5285
5250
  }
5286
5251
  let n = r(e), i = n(e);
@@ -5301,33 +5266,33 @@ function cs(e) {
5301
5266
  }
5302
5267
  };
5303
5268
  }
5304
- let ds = "All,Scheduled,Ongoing,Finished";
5305
- function ps(e, t, r) {
5269
+ let ls = "All,Scheduled,Ongoing,Finished";
5270
+ function hs(e, t, r) {
5306
5271
  let n;
5307
- An(e, Yo, (u) => r(23, n = u));
5308
- let { session: i = "" } = t, { userid: o = "" } = t, { endpoint: s = "" } = t, { lang: a = "en" } = t, { translationurl: f = "" } = t, { numberoftournaments: h = "6" } = t, { showmorestep: c = "2" } = t, { filters: d = "All" } = t, { loginevent: p = "" } = t, { registerevent: E = "" } = t, { loginurl: P = "" } = t, { registerurl: H = "" } = t, { currency: Y = "EUR" } = t, { keepbrowsercontext: ce = "false" } = t, { sorttype: ne = "" } = t, { sortorder: I = "" } = t, { starttimeafter: j = "" } = t, { showanonymoustournaments: q = "true" } = t, { clientstyling: le = "" } = t, { clientstylingurl: me = "" } = t, { delaybeforeload: Me = 1e3 } = t, Re = !1, ge = "", Be = !1, K = "", ht = window.navigator.userAgent, Pe = !0, Ze = !1, Oe = !1, { mbsource: ie } = t, z, de = 0, we = !1, $ = 6, Te = !0, Se = [], ft, pe, Je = !1, ct;
5309
- es({ withLocale: "en", translations: {} });
5310
- const Qe = () => {
5311
- fetch(f).then((_) => _.json()).then((_) => {
5312
- ct = _, Object.keys(_).forEach((C) => {
5313
- Vt(C, _[C]);
5272
+ xn(e, qo, (u) => r(23, n = u));
5273
+ let { session: i = "" } = t, { userid: o = "" } = t, { endpoint: s = "" } = t, { lang: a = "en" } = t, { translationurl: f = "" } = t, { numberoftournaments: h = "6" } = t, { showmorestep: c = "2" } = t, { filters: d = "All" } = t, { loginevent: m = "" } = t, { registerevent: _ = "" } = t, { loginurl: C = "" } = t, { registerurl: H = "" } = t, { currency: Y = "EUR" } = t, { keepbrowsercontext: ce = "false" } = t, { sorttype: ne = "" } = t, { sortorder: L = "" } = t, { starttimeafter: j = "" } = t, { showanonymoustournaments: q = "true" } = t, { clientstyling: le = "" } = t, { clientstylingurl: pe = "" } = t, { delaybeforeload: Me = 1e3 } = t, Re = !1, be = "", Be = !1, K = "", ht = window.navigator.userAgent, Pe = !0, Je = !1, Ce = !1, { mbsource: ie } = t, z, de = 0, we = !1, $ = 6, Te = !0, Se = [], ft, me, Qe = !1, ct;
5274
+ Jo({ withLocale: "en", translations: {} });
5275
+ const Ye = () => {
5276
+ fetch(f).then((E) => E.json()).then((E) => {
5277
+ ct = E, Object.keys(E).forEach((I) => {
5278
+ jt(I, E[I]);
5314
5279
  });
5315
- }).catch((_) => {
5316
- console.log(_);
5280
+ }).catch((E) => {
5281
+ console.log(E);
5317
5282
  });
5318
- }, Ye = (u) => {
5319
- u && Object.keys(u).forEach((_) => {
5320
- Vt(_, u[_]);
5283
+ }, Ke = (u) => {
5284
+ u && Object.keys(u).forEach((E) => {
5285
+ jt(E, u[E]);
5321
5286
  });
5322
5287
  };
5323
- Object.keys(Fr).forEach((u) => {
5324
- Vt(u, Fr[u]);
5288
+ Object.keys(Nr).forEach((u) => {
5289
+ jt(u, Nr[u]);
5325
5290
  });
5326
- const ve = (u) => {
5327
- u.data && u.data.type === "UserSessionID" && (Be = !0, r(31, K = u.data.session), u.data.userid, Ke(s, 0, $)), u.data && u.data.type === "TournamentsFiltersSelected" && (Se = u.data.filters, Ke(s, 0, $)), u.data && u.data.type === "TournamentThumbnailMounted" && Ye(ct);
5328
- }, oe = (u) => u == "Scheduled" ? "Unstarted" : u == "Ongoing" ? "Running" : "Closing|Closed", Ke = async (u, _, C) => {
5291
+ const ge = (u) => {
5292
+ u.data && u.data.type === "UserSessionID" && (Be = !0, r(31, K = u.data.session), u.data.userid, et(s, 0, $)), u.data && u.data.type === "TournamentsFiltersSelected" && (Se = u.data.filters, et(s, 0, $)), u.data && u.data.type === "TournamentThumbnailMounted" && Ke(ct);
5293
+ }, oe = (u) => u == "Scheduled" ? "Unstarted" : u == "Ongoing" ? "Running" : "Closing|Closed", et = async (u, E, I) => {
5329
5294
  r(19, Pe = !0), r(21, de = 0);
5330
- const D = await et(u, _, C);
5295
+ const D = await tt(u, E, I);
5331
5296
  setTimeout(
5332
5297
  () => {
5333
5298
  window.postMessage(
@@ -5340,8 +5305,8 @@ function ps(e, t, r) {
5340
5305
  },
5341
5306
  50
5342
5307
  ), r(19, Pe = !1);
5343
- }, It = async (u, _, C) => {
5344
- const D = await et(u, _, C);
5308
+ }, Ct = async (u, E, I) => {
5309
+ const D = await tt(u, E, I);
5345
5310
  window.postMessage(
5346
5311
  {
5347
5312
  type: "TournamentListShowMore",
@@ -5349,55 +5314,55 @@ function ps(e, t, r) {
5349
5314
  },
5350
5315
  window.location.href
5351
5316
  );
5352
- }, Lt = () => {
5317
+ }, Ot = () => {
5353
5318
  const u = /* @__PURE__ */ new Date();
5354
5319
  return j ? u.setDate(u.getDate() - Number(j)) : u.setMonth(u.getMonth() - 1), u.toISOString().substring(0, 10);
5355
- }, et = async (u, _, C) => {
5320
+ }, tt = async (u, E, I) => {
5356
5321
  let D = new URL(`${u}/v1/tournaments`), W = new Headers();
5357
- D.searchParams.append("pagination", `offset=${_},limit=${C}`), D.searchParams.append("sortField", "StartTime"), D.searchParams.append("sortOrder", I || "desc"), D.searchParams.append("language", a);
5358
- const U = { StartTimeAfter: Lt() };
5359
- !Ur(i) && q === "false" && (U.tags = "no-role-set"), Se.length > 0 && Se[0] != "All" && (U.state = Se.map((ee) => oe(ee)).join("|"));
5322
+ D.searchParams.append("pagination", `offset=${E},limit=${I}`), D.searchParams.append("sortField", "StartTime"), D.searchParams.append("sortOrder", L || "desc"), D.searchParams.append("language", a);
5323
+ const U = { StartTimeAfter: Ot() };
5324
+ !Mr(i) && q === "false" && (U.tags = "no-role-set"), Se.length > 0 && Se[0] != "All" && (U.state = Se.map((ee) => oe(ee)).join("|"));
5360
5325
  const se = Object.keys(U).map((ee) => `${ee}=${U[ee]}`).join(",");
5361
- return D.searchParams.append("filter", se), D.searchParams.append("platform", Ko(ht)), ne && D.searchParams.append("sortType", ne), Be && W.append("X-SessionID", K), fetch(D, {
5326
+ return D.searchParams.append("filter", se), D.searchParams.append("platform", Zo(ht)), ne && D.searchParams.append("sortType", ne), Be && W.append("X-SessionID", K), fetch(D, {
5362
5327
  method: "GET",
5363
5328
  headers: W,
5364
5329
  cache: "no-cache"
5365
- }).then((ee) => ee.json()).then((ee) => (ft = D.searchParams.toString(), r(21, de = ee.total), $ >= de ? r(22, Te = !0) : r(22, Te = !1), Oe || b(), ee));
5330
+ }).then((ee) => ee.json()).then((ee) => (ft = D.searchParams.toString(), r(21, de = ee.total), $ >= de ? r(22, Te = !0) : r(22, Te = !1), Ce || b(), ee));
5366
5331
  }, l = (u) => {
5367
5332
  if (u.type != "message")
5368
5333
  return;
5369
- let _ = u.data;
5370
- if (_)
5334
+ let E = u.data;
5335
+ if (E)
5371
5336
  try {
5372
- let C = JSON.parse(_);
5373
- if (!C || !C.item)
5337
+ let I = JSON.parse(E);
5338
+ if (!I || !I.item)
5374
5339
  return;
5375
- let D = C.item;
5376
- C.messageType == "TournamentUpdate" && window.postMessage(
5340
+ let D = I.item;
5341
+ I.messageType == "TournamentUpdate" && window.postMessage(
5377
5342
  {
5378
5343
  type: "UpdateTournamentView",
5379
5344
  tournamentData: D
5380
5345
  },
5381
5346
  window.location.href
5382
- ), C.messageType == "TournamentRemove" && window.postMessage(
5347
+ ), I.messageType == "TournamentRemove" && window.postMessage(
5383
5348
  {
5384
5349
  type: "TournamentList",
5385
- tournamentList: C.items
5350
+ tournamentList: I.items
5386
5351
  },
5387
5352
  window.location.href
5388
5353
  );
5389
- } catch (C) {
5390
- console.error(C);
5354
+ } catch (I) {
5355
+ console.error(I);
5391
5356
  }
5392
5357
  }, b = () => {
5393
- Oe = !0, setTimeout(
5358
+ Ce = !0, setTimeout(
5394
5359
  () => {
5395
- Oe = !1;
5360
+ Ce = !1;
5396
5361
  },
5397
5362
  1e3
5398
- ), pe && (pe.removeEventListener("message", l), pe.close());
5363
+ ), me && (me.removeEventListener("message", l), me.close());
5399
5364
  let u = `${s}/v1/tournaments/updates?${ft}`;
5400
- pe = new ts.EventSourcePolyfill(
5365
+ me = new Qo.EventSourcePolyfill(
5401
5366
  u,
5402
5367
  {
5403
5368
  headers: {
@@ -5405,60 +5370,60 @@ function ps(e, t, r) {
5405
5370
  "X-SessionId": i
5406
5371
  }
5407
5372
  }
5408
- ), typeof pe < "u" && pe.addEventListener("message", l);
5373
+ ), typeof me < "u" && me.addEventListener("message", l);
5409
5374
  }, g = async () => {
5410
5375
  let u = $;
5411
- const _ = parseInt(c, 10);
5412
- $ += _, window.postMessage(
5376
+ const E = parseInt(c, 10);
5377
+ $ += E, window.postMessage(
5413
5378
  {
5414
5379
  type: "TournamentsPagination",
5415
5380
  offset: 0,
5416
5381
  limit: $
5417
5382
  },
5418
5383
  window.location.href
5419
- ), await It(s, u, _), $ >= de && r(22, Te = !0);
5420
- }, m = () => (s || (r(18, ge = "Endpoint is missing! Please provide a valid endpointURL."), r(17, Re = !0), console.error(ge)), Re), y = () => {
5384
+ ), await Ct(s, u, E), $ >= de && r(22, Te = !0);
5385
+ }, p = () => (s || (r(18, be = "Endpoint is missing! Please provide a valid endpointURL."), r(17, Re = !0), console.error(be)), Re), v = () => {
5421
5386
  if (!we)
5422
5387
  return !1;
5423
- m() || ($ = parseInt(h, 10), Dr(a), Ke(s, 0, $));
5424
- }, v = () => {
5425
- Dr(a);
5388
+ p() || ($ = parseInt(h, 10), Lr(a), et(s, 0, $));
5389
+ }, y = () => {
5390
+ Lr(a);
5426
5391
  }, w = () => {
5427
- Se = d.split(","), r(20, Ze = !0);
5428
- }, L = () => {
5429
- Ur(i) ? (Be = !0, r(31, K = i)) : (Be = !1, r(31, K = ""));
5392
+ Se = d.split(","), r(20, Je = !0);
5393
+ }, N = () => {
5394
+ Mr(i) ? (Be = !0, r(31, K = i)) : (Be = !1, r(31, K = ""));
5430
5395
  }, T = async () => {
5431
- Je || (Je = !0, await y(), Je = !1);
5396
+ Qe || (Qe = !0, await v(), Qe = !1);
5432
5397
  };
5433
- Mn(() => (setTimeout(
5398
+ On(() => (setTimeout(
5434
5399
  () => {
5435
5400
  r(32, we = !0);
5436
5401
  },
5437
5402
  Me
5438
- ), window.addEventListener("message", ve, !1), () => {
5439
- window.removeEventListener("message", ve), pe && (pe.removeEventListener("message", l), pe.close());
5403
+ ), window.addEventListener("message", ge, !1), () => {
5404
+ window.removeEventListener("message", ge), me && (me.removeEventListener("message", l), me.close());
5440
5405
  }));
5441
- const B = () => g();
5406
+ const P = () => g();
5442
5407
  function O(u) {
5443
- Wt[u ? "unshift" : "push"](() => {
5408
+ Vt[u ? "unshift" : "push"](() => {
5444
5409
  z = u, r(16, z);
5445
5410
  });
5446
5411
  }
5447
5412
  return e.$$set = (u) => {
5448
- "session" in u && r(0, i = u.session), "userid" in u && r(1, o = u.userid), "endpoint" in u && r(2, s = u.endpoint), "lang" in u && r(3, a = u.lang), "translationurl" in u && r(4, f = u.translationurl), "numberoftournaments" in u && r(5, h = u.numberoftournaments), "showmorestep" in u && r(25, c = u.showmorestep), "filters" in u && r(6, d = u.filters), "loginevent" in u && r(7, p = u.loginevent), "registerevent" in u && r(8, E = u.registerevent), "loginurl" in u && r(9, P = u.loginurl), "registerurl" in u && r(10, H = u.registerurl), "currency" in u && r(11, Y = u.currency), "keepbrowsercontext" in u && r(12, ce = u.keepbrowsercontext), "sorttype" in u && r(26, ne = u.sorttype), "sortorder" in u && r(27, I = u.sortorder), "starttimeafter" in u && r(28, j = u.starttimeafter), "showanonymoustournaments" in u && r(29, q = u.showanonymoustournaments), "clientstyling" in u && r(13, le = u.clientstyling), "clientstylingurl" in u && r(14, me = u.clientstylingurl), "delaybeforeload" in u && r(30, Me = u.delaybeforeload), "mbsource" in u && r(15, ie = u.mbsource);
5413
+ "session" in u && r(0, i = u.session), "userid" in u && r(1, o = u.userid), "endpoint" in u && r(2, s = u.endpoint), "lang" in u && r(3, a = u.lang), "translationurl" in u && r(4, f = u.translationurl), "numberoftournaments" in u && r(5, h = u.numberoftournaments), "showmorestep" in u && r(25, c = u.showmorestep), "filters" in u && r(6, d = u.filters), "loginevent" in u && r(7, m = u.loginevent), "registerevent" in u && r(8, _ = u.registerevent), "loginurl" in u && r(9, C = u.loginurl), "registerurl" in u && r(10, H = u.registerurl), "currency" in u && r(11, Y = u.currency), "keepbrowsercontext" in u && r(12, ce = u.keepbrowsercontext), "sorttype" in u && r(26, ne = u.sorttype), "sortorder" in u && r(27, L = u.sortorder), "starttimeafter" in u && r(28, j = u.starttimeafter), "showanonymoustournaments" in u && r(29, q = u.showanonymoustournaments), "clientstyling" in u && r(13, le = u.clientstyling), "clientstylingurl" in u && r(14, pe = u.clientstylingurl), "delaybeforeload" in u && r(30, Me = u.delaybeforeload), "mbsource" in u && r(15, ie = u.mbsource);
5449
5414
  }, e.$$.update = () => {
5450
5415
  e.$$.dirty[0] & /*userid*/
5451
5416
  2, e.$$.dirty[0] & /*filters*/
5452
5417
  64 && d && w(), e.$$.dirty[0] & /*lang*/
5453
- 8 && a && v(), e.$$.dirty[0] & /*translationurl*/
5454
- 16 && f && Qe(), e.$$.dirty[1] & /*isMounted*/
5455
- 2 && we && y(), e.$$.dirty[0] & /*session*/
5456
- 1 && (i === "" || i) && L(), e.$$.dirty[1] & /*sessionID*/
5418
+ 8 && a && y(), e.$$.dirty[0] & /*translationurl*/
5419
+ 16 && f && Ye(), e.$$.dirty[1] & /*isMounted*/
5420
+ 2 && we && v(), e.$$.dirty[0] & /*session*/
5421
+ 1 && (i === "" || i) && N(), e.$$.dirty[1] & /*sessionID*/
5457
5422
  1 && (K === "" || K) && T(), e.$$.dirty[0] & /*endpoint, numberoftournaments, showmorestep, lang, showanonymoustournaments*/
5458
5423
  570425388 && s && h && c && a && q && T(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5459
- 73728 && le && z && rs(z, le), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5460
- 81920 && me && z && ns(z, me), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5461
- 98304 && ie && z && is(z, `${ie}.Style`);
5424
+ 73728 && le && z && Yo(z, le), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5425
+ 81920 && pe && z && Ko(z, pe), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5426
+ 98304 && ie && z && es(z, `${ie}.Style`);
5462
5427
  }, [
5463
5428
  i,
5464
5429
  o,
@@ -5467,44 +5432,44 @@ function ps(e, t, r) {
5467
5432
  f,
5468
5433
  h,
5469
5434
  d,
5470
- p,
5471
- E,
5472
- P,
5435
+ m,
5436
+ _,
5437
+ C,
5473
5438
  H,
5474
5439
  Y,
5475
5440
  ce,
5476
5441
  le,
5477
- me,
5442
+ pe,
5478
5443
  ie,
5479
5444
  z,
5480
5445
  Re,
5481
- ge,
5446
+ be,
5482
5447
  Pe,
5483
- Ze,
5448
+ Je,
5484
5449
  de,
5485
5450
  Te,
5486
5451
  n,
5487
5452
  g,
5488
5453
  c,
5489
5454
  ne,
5490
- I,
5455
+ L,
5491
5456
  j,
5492
5457
  q,
5493
5458
  Me,
5494
5459
  K,
5495
5460
  we,
5496
- B,
5461
+ P,
5497
5462
  O
5498
5463
  ];
5499
5464
  }
5500
- class ms extends Wn {
5465
+ class fs extends kn {
5501
5466
  constructor(t) {
5502
- super(), Xn(
5467
+ super(), jn(
5503
5468
  this,
5504
5469
  t,
5505
- ps,
5506
- cs,
5507
- kr,
5470
+ hs,
5471
+ us,
5472
+ Ur,
5508
5473
  {
5509
5474
  session: 0,
5510
5475
  userid: 1,
@@ -5529,7 +5494,7 @@ class ms extends Wn {
5529
5494
  delaybeforeload: 30,
5530
5495
  mbsource: 15
5531
5496
  },
5532
- os,
5497
+ ts,
5533
5498
  [-1, -1, -1]
5534
5499
  );
5535
5500
  }
@@ -5537,177 +5502,177 @@ class ms extends Wn {
5537
5502
  return this.$$.ctx[0];
5538
5503
  }
5539
5504
  set session(t) {
5540
- this.$$set({ session: t }), N();
5505
+ this.$$set({ session: t }), M();
5541
5506
  }
5542
5507
  get userid() {
5543
5508
  return this.$$.ctx[1];
5544
5509
  }
5545
5510
  set userid(t) {
5546
- this.$$set({ userid: t }), N();
5511
+ this.$$set({ userid: t }), M();
5547
5512
  }
5548
5513
  get endpoint() {
5549
5514
  return this.$$.ctx[2];
5550
5515
  }
5551
5516
  set endpoint(t) {
5552
- this.$$set({ endpoint: t }), N();
5517
+ this.$$set({ endpoint: t }), M();
5553
5518
  }
5554
5519
  get lang() {
5555
5520
  return this.$$.ctx[3];
5556
5521
  }
5557
5522
  set lang(t) {
5558
- this.$$set({ lang: t }), N();
5523
+ this.$$set({ lang: t }), M();
5559
5524
  }
5560
5525
  get translationurl() {
5561
5526
  return this.$$.ctx[4];
5562
5527
  }
5563
5528
  set translationurl(t) {
5564
- this.$$set({ translationurl: t }), N();
5529
+ this.$$set({ translationurl: t }), M();
5565
5530
  }
5566
5531
  get numberoftournaments() {
5567
5532
  return this.$$.ctx[5];
5568
5533
  }
5569
5534
  set numberoftournaments(t) {
5570
- this.$$set({ numberoftournaments: t }), N();
5535
+ this.$$set({ numberoftournaments: t }), M();
5571
5536
  }
5572
5537
  get showmorestep() {
5573
5538
  return this.$$.ctx[25];
5574
5539
  }
5575
5540
  set showmorestep(t) {
5576
- this.$$set({ showmorestep: t }), N();
5541
+ this.$$set({ showmorestep: t }), M();
5577
5542
  }
5578
5543
  get filters() {
5579
5544
  return this.$$.ctx[6];
5580
5545
  }
5581
5546
  set filters(t) {
5582
- this.$$set({ filters: t }), N();
5547
+ this.$$set({ filters: t }), M();
5583
5548
  }
5584
5549
  get loginevent() {
5585
5550
  return this.$$.ctx[7];
5586
5551
  }
5587
5552
  set loginevent(t) {
5588
- this.$$set({ loginevent: t }), N();
5553
+ this.$$set({ loginevent: t }), M();
5589
5554
  }
5590
5555
  get registerevent() {
5591
5556
  return this.$$.ctx[8];
5592
5557
  }
5593
5558
  set registerevent(t) {
5594
- this.$$set({ registerevent: t }), N();
5559
+ this.$$set({ registerevent: t }), M();
5595
5560
  }
5596
5561
  get loginurl() {
5597
5562
  return this.$$.ctx[9];
5598
5563
  }
5599
5564
  set loginurl(t) {
5600
- this.$$set({ loginurl: t }), N();
5565
+ this.$$set({ loginurl: t }), M();
5601
5566
  }
5602
5567
  get registerurl() {
5603
5568
  return this.$$.ctx[10];
5604
5569
  }
5605
5570
  set registerurl(t) {
5606
- this.$$set({ registerurl: t }), N();
5571
+ this.$$set({ registerurl: t }), M();
5607
5572
  }
5608
5573
  get currency() {
5609
5574
  return this.$$.ctx[11];
5610
5575
  }
5611
5576
  set currency(t) {
5612
- this.$$set({ currency: t }), N();
5577
+ this.$$set({ currency: t }), M();
5613
5578
  }
5614
5579
  get keepbrowsercontext() {
5615
5580
  return this.$$.ctx[12];
5616
5581
  }
5617
5582
  set keepbrowsercontext(t) {
5618
- this.$$set({ keepbrowsercontext: t }), N();
5583
+ this.$$set({ keepbrowsercontext: t }), M();
5619
5584
  }
5620
5585
  get sorttype() {
5621
5586
  return this.$$.ctx[26];
5622
5587
  }
5623
5588
  set sorttype(t) {
5624
- this.$$set({ sorttype: t }), N();
5589
+ this.$$set({ sorttype: t }), M();
5625
5590
  }
5626
5591
  get sortorder() {
5627
5592
  return this.$$.ctx[27];
5628
5593
  }
5629
5594
  set sortorder(t) {
5630
- this.$$set({ sortorder: t }), N();
5595
+ this.$$set({ sortorder: t }), M();
5631
5596
  }
5632
5597
  get starttimeafter() {
5633
5598
  return this.$$.ctx[28];
5634
5599
  }
5635
5600
  set starttimeafter(t) {
5636
- this.$$set({ starttimeafter: t }), N();
5601
+ this.$$set({ starttimeafter: t }), M();
5637
5602
  }
5638
5603
  get showanonymoustournaments() {
5639
5604
  return this.$$.ctx[29];
5640
5605
  }
5641
5606
  set showanonymoustournaments(t) {
5642
- this.$$set({ showanonymoustournaments: t }), N();
5607
+ this.$$set({ showanonymoustournaments: t }), M();
5643
5608
  }
5644
5609
  get clientstyling() {
5645
5610
  return this.$$.ctx[13];
5646
5611
  }
5647
5612
  set clientstyling(t) {
5648
- this.$$set({ clientstyling: t }), N();
5613
+ this.$$set({ clientstyling: t }), M();
5649
5614
  }
5650
5615
  get clientstylingurl() {
5651
5616
  return this.$$.ctx[14];
5652
5617
  }
5653
5618
  set clientstylingurl(t) {
5654
- this.$$set({ clientstylingurl: t }), N();
5619
+ this.$$set({ clientstylingurl: t }), M();
5655
5620
  }
5656
5621
  get delaybeforeload() {
5657
5622
  return this.$$.ctx[30];
5658
5623
  }
5659
5624
  set delaybeforeload(t) {
5660
- this.$$set({ delaybeforeload: t }), N();
5625
+ this.$$set({ delaybeforeload: t }), M();
5661
5626
  }
5662
5627
  get mbsource() {
5663
5628
  return this.$$.ctx[15];
5664
5629
  }
5665
5630
  set mbsource(t) {
5666
- this.$$set({ mbsource: t }), N();
5631
+ this.$$set({ mbsource: t }), M();
5667
5632
  }
5668
5633
  }
5669
- zn(ms, { session: {}, userid: {}, endpoint: {}, lang: {}, translationurl: {}, numberoftournaments: {}, showmorestep: {}, filters: {}, loginevent: {}, registerevent: {}, loginurl: {}, registerurl: {}, currency: {}, keepbrowsercontext: {}, sorttype: {}, sortorder: {}, starttimeafter: {}, showanonymoustournaments: {}, clientstyling: {}, clientstylingurl: {}, delaybeforeload: {}, mbsource: {} }, [], [], !0);
5634
+ $n(fs, { session: {}, userid: {}, endpoint: {}, lang: {}, translationurl: {}, numberoftournaments: {}, showmorestep: {}, filters: {}, loginevent: {}, registerevent: {}, loginurl: {}, registerurl: {}, currency: {}, keepbrowsercontext: {}, sorttype: {}, sortorder: {}, starttimeafter: {}, showanonymoustournaments: {}, clientstyling: {}, clientstylingurl: {}, delaybeforeload: {}, mbsource: {} }, [], [], !0);
5670
5635
  export {
5671
- Yo as $,
5672
- On as A,
5636
+ qo as $,
5637
+ An as A,
5673
5638
  x as B,
5674
5639
  He as C,
5675
- We as D,
5676
- gs as E,
5677
- ut as F,
5678
- bs as G,
5679
- St as H,
5680
- Ko as I,
5681
- _s as J,
5682
- xs as K,
5683
- Es as L,
5684
- Zt as M,
5685
- ms as N,
5686
- Wn as S,
5687
- vn as a,
5688
- Hn as b,
5689
- zn as c,
5690
- re as d,
5691
- fe as e,
5692
- N as f,
5693
- X as g,
5694
- F as h,
5695
- Xn as i,
5696
- Ts as j,
5697
- An as k,
5698
- ws as l,
5699
- vs as m,
5640
+ qe as D,
5641
+ ds as E,
5642
+ Tt as F,
5643
+ lt as G,
5644
+ cs as H,
5645
+ Zo as I,
5646
+ bs as J,
5647
+ ys as K,
5648
+ zt as L,
5649
+ gs as M,
5650
+ fs as N,
5651
+ kn as S,
5652
+ mn as a,
5653
+ wn as b,
5654
+ $n as c,
5655
+ F as d,
5656
+ X as e,
5657
+ M as f,
5658
+ Es as g,
5659
+ fe as h,
5660
+ jn as i,
5661
+ re as j,
5662
+ xn as k,
5663
+ vs as l,
5664
+ $t as m,
5700
5665
  he as n,
5701
- Mn as o,
5702
- it as p,
5703
- te as q,
5704
- Xt as r,
5705
- kr as s,
5666
+ On as o,
5667
+ te as p,
5668
+ ot as q,
5669
+ ms as r,
5670
+ Ur as s,
5706
5671
  Le as t,
5707
- Wt as u,
5708
- zt as v,
5709
- ys as w,
5710
- rs as x,
5711
- ns as y,
5712
- is as z
5672
+ kt as u,
5673
+ Vt as v,
5674
+ Yo as w,
5675
+ Ko as x,
5676
+ es as y,
5677
+ ps as z
5713
5678
  };