@everymatrix/casino-tournaments-controller 1.87.26 → 1.87.27

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 (51) hide show
  1. package/components/{CasinoTournamentsController-CnAIq520.js → CasinoTournamentsController-C9T28zEr.js} +1381 -1352
  2. package/components/CasinoTournamentsController-DQNDp9HR.cjs +27 -0
  3. package/components/{CasinoTournamentsController-BLxMNjdf.js → CasinoTournamentsController-DZHPUFoo.js} +1329 -1301
  4. package/components/{CasinoTournamentsFilterController-DthxSaAP.cjs → CasinoTournamentsFilterController-Bi5ABz6A.cjs} +1 -1
  5. package/components/{CasinoTournamentsFilterController-DTU_2gg8.js → CasinoTournamentsFilterController-ByO79eyB.js} +105 -105
  6. package/components/{CasinoTournamentsFilterController-CQQlddU7.js → CasinoTournamentsFilterController-CDvezs-D.js} +103 -103
  7. package/components/{CasinoTournamentsListController-CTyy6QGc.cjs → CasinoTournamentsListController-B5AHWoiQ.cjs} +5 -5
  8. package/components/{CasinoTournamentsListController-B44Sd_Xd.js → CasinoTournamentsListController-CYyjAv5V.js} +434 -434
  9. package/components/{CasinoTournamentsListController-D8Mce-Ba.js → CasinoTournamentsListController-D1Q3oNPH.js} +434 -434
  10. package/components/CasinoTournamentsThumbnail-BJPotmwg.cjs +3 -0
  11. package/components/{CasinoTournamentsThumbnail-C8m2-yzp.js → CasinoTournamentsThumbnail-BYKG7BsJ.js} +148 -148
  12. package/components/{CasinoTournamentsThumbnail-CvUCJuL_.js → CasinoTournamentsThumbnail-DmG-fM0f.js} +148 -148
  13. package/components/{CasinoTournamentsThumbnailController-DRIgHZK4.js → CasinoTournamentsThumbnailController-B4DgkNpX.js} +63 -63
  14. package/components/{CasinoTournamentsThumbnailController-AwtNpbCC.cjs → CasinoTournamentsThumbnailController-DvWCmf2R.cjs} +1 -1
  15. package/components/{CasinoTournamentsThumbnailController-DOhlVFj-.js → CasinoTournamentsThumbnailController-Fj4xURf5.js} +64 -64
  16. package/components/{CasinoTournamentsThumbnailDuration-BBDiU1hp.js → CasinoTournamentsThumbnailDuration-BMMU0ZJo.js} +112 -112
  17. package/components/CasinoTournamentsThumbnailDuration-CXGu4tqo.cjs +1 -0
  18. package/components/{CasinoTournamentsThumbnailDuration-B1oKgcSP.js → CasinoTournamentsThumbnailDuration-DFufp6Vu.js} +112 -112
  19. package/components/CasinoTournamentsThumbnailGamesSlider-CQECbxUh.js +434 -0
  20. package/components/CasinoTournamentsThumbnailGamesSlider-D_kKdnqN.js +434 -0
  21. package/components/CasinoTournamentsThumbnailGamesSlider-Dode2Q67.cjs +1 -0
  22. package/components/{CasinoTournamentsThumbnailPrizes-Om5Riw3x.js → CasinoTournamentsThumbnailPrizes-D-GYVO90.js} +104 -104
  23. package/components/{CasinoTournamentsThumbnailPrizes-BUXbwFNF.cjs → CasinoTournamentsThumbnailPrizes-DIvLHGtT.cjs} +1 -1
  24. package/components/{CasinoTournamentsThumbnailPrizes-CJpsQ6IH.js → CasinoTournamentsThumbnailPrizes-fRbY2GFR.js} +104 -104
  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/app-globals-0f993ce5-BD-Q0C8R.cjs +1 -0
  30. package/stencil/{app-globals-0f993ce5-B6nNHmA4.js → app-globals-0f993ce5-Cgk0KVAu.js} +2 -2
  31. package/stencil/{index-b2193545-DfeVnolx.cjs → index-b2193545-BB6id_PQ.cjs} +1 -1
  32. package/stencil/{index-b2193545-DuA2iMSm.js → index-b2193545-Dg04r8Mf.js} +1 -1
  33. package/stencil/{index-b2193545-BpG2toSK.js → index-b2193545-oPMLiBVn.js} +1 -1
  34. package/stencil/{ui-image-O0NdjWCu.js → ui-image-BiEqrTjD.js} +4 -4
  35. package/stencil/{ui-image-Cs_BBOYl.js → ui-image-DyN7Fe9v.js} +1 -1
  36. package/stencil/ui-image-GKGnzjWQ.cjs +1 -0
  37. package/stencil/{ui-skeleton-i9jZ615T.js → ui-skeleton-CCeXOW4G.js} +3 -3
  38. package/stencil/ui-skeleton-CImpq9cv.cjs +1 -0
  39. package/stencil/{ui-skeleton-Yn79cPkz.js → ui-skeleton-DGlqF493.js} +3 -3
  40. package/stencil/{ui-skeleton-ed169f8f-BRUG1h6n.cjs → ui-skeleton-ed169f8f-B7StGL8M.cjs} +1 -1
  41. package/stencil/{ui-skeleton-ed169f8f-UdVwF_E9.js → ui-skeleton-ed169f8f-CLXtOZ1A.js} +1 -1
  42. package/stencil/{ui-skeleton-ed169f8f-B-SERL0D.js → ui-skeleton-ed169f8f-Dc_jq3n7.js} +1 -1
  43. package/components/CasinoTournamentsController-DgQHHIEF.cjs +0 -27
  44. package/components/CasinoTournamentsThumbnail-DrL4ipPE.cjs +0 -3
  45. package/components/CasinoTournamentsThumbnailDuration-D8Fw1T6T.cjs +0 -1
  46. package/components/CasinoTournamentsThumbnailGamesSlider-BwHrytSr.cjs +0 -1
  47. package/components/CasinoTournamentsThumbnailGamesSlider-CCZ61DSI.js +0 -434
  48. package/components/CasinoTournamentsThumbnailGamesSlider-DyDWiEwW.js +0 -434
  49. package/stencil/app-globals-0f993ce5-DgOnOgxM.cjs +0 -1
  50. package/stencil/ui-image-DUHLTRXs.cjs +0 -1
  51. package/stencil/ui-skeleton-B0E7XBJC.cjs +0 -1
@@ -1,28 +1,28 @@
1
1
  function fe() {
2
2
  }
3
- function $r(e) {
3
+ function kr(e) {
4
4
  return e();
5
5
  }
6
- function mr() {
6
+ function br() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
- function lt(e) {
10
- e.forEach($r);
9
+ function ft(e) {
10
+ e.forEach(kr);
11
11
  }
12
- function St(e) {
12
+ function Ht(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function kr(e, t) {
15
+ function Vr(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 gs(e, t) {
20
- return e === t ? !0 : (pt || (pt = document.createElement("a")), pt.href = t, e === pt.href);
18
+ let bt;
19
+ function Es(e, t) {
20
+ return e === t ? !0 : (bt || (bt = document.createElement("a")), bt.href = t, e === bt.href);
21
21
  }
22
- function Sn(e) {
22
+ function An(e) {
23
23
  return Object.keys(e).length === 0;
24
24
  }
25
- function Vr(e, ...t) {
25
+ function Xr(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 Hn(e, t, r) {
35
+ e.$$.on_destroy.push(Xr(t, r));
36
36
  }
37
- function vs(e) {
38
- return e && St(e.destroy) ? e.destroy : fe;
37
+ function _s(e) {
38
+ return e && Ht(e.destroy) ? e.destroy : fe;
39
39
  }
40
- function K(e, t) {
40
+ function Y(e, t) {
41
41
  e.appendChild(t);
42
42
  }
43
- function Hn(e, t, r) {
44
- const n = Bn(e);
43
+ function Bn(e, t, r) {
44
+ const n = On(e);
45
45
  if (!n.getElementById(t)) {
46
- const i = X("style");
46
+ const i = V("style");
47
47
  i.id = t, i.textContent = r, Pn(n, i);
48
48
  }
49
49
  }
50
- function Bn(e) {
50
+ function On(e) {
51
51
  if (!e)
52
52
  return document;
53
53
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -58,79 +58,79 @@ function Bn(e) {
58
58
  ) : e.ownerDocument;
59
59
  }
60
60
  function Pn(e, t) {
61
- return K(
61
+ return Y(
62
62
  /** @type {Document} */
63
63
  e.head || e,
64
64
  t
65
65
  ), t.sheet;
66
66
  }
67
- function ue(e, t, r) {
67
+ function ae(e, t, r) {
68
68
  e.insertBefore(t, r || null);
69
69
  }
70
- function ee(e) {
70
+ function K(e) {
71
71
  e.parentNode && e.parentNode.removeChild(e);
72
72
  }
73
- function ys(e, t) {
73
+ function ws(e, t) {
74
74
  for (let r = 0; r < e.length; r += 1)
75
75
  e[r] && e[r].d(t);
76
76
  }
77
- function X(e) {
77
+ function V(e) {
78
78
  return document.createElement(e);
79
79
  }
80
- function Es(e) {
80
+ function xs(e) {
81
81
  return document.createElementNS("http://www.w3.org/2000/svg", e);
82
82
  }
83
- function He(e) {
83
+ function Be(e) {
84
84
  return document.createTextNode(e);
85
85
  }
86
- function Xt() {
87
- return He(" ");
86
+ function zt() {
87
+ return Be(" ");
88
88
  }
89
- function On() {
90
- return He("");
89
+ function Cn() {
90
+ return Be("");
91
91
  }
92
- function zt(e, t, r, n) {
92
+ function Wt(e, t, r, n) {
93
93
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
94
94
  }
95
- function U(e, t, r) {
95
+ function G(e, t, r) {
96
96
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
97
97
  }
98
- function x(e, t, r) {
98
+ function w(e, t, r) {
99
99
  const n = t.toLowerCase();
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 : U(e, t, r);
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 : G(e, t, r);
101
101
  }
102
- function Cn(e) {
102
+ function In(e) {
103
103
  return Array.from(e.childNodes);
104
104
  }
105
- function Ve(e, t) {
105
+ function qe(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 Ss(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 gt;
113
+ function Ln() {
114
+ if (gt === void 0) {
115
+ gt = !1;
116
116
  try {
117
117
  typeof window < "u" && window.parent && window.parent.document;
118
118
  } catch {
119
- mt = !0;
119
+ gt = !0;
120
120
  }
121
121
  }
122
- return mt;
122
+ return gt;
123
123
  }
124
- function xs(e, t) {
124
+ function Ts(e, t) {
125
125
  getComputedStyle(e).position === "static" && (e.style.position = "relative");
126
- const n = X("iframe");
126
+ const n = V("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 = Ln();
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 = Wt(
134
134
  window,
135
135
  "message",
136
136
  /** @param {MessageEvent} event */
@@ -138,15 +138,15 @@ function xs(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();
142
- }), K(e, n), () => {
143
- (i || o && n.contentWindow) && o(), ee(n);
141
+ o = Wt(n.contentWindow, "resize", t), t();
142
+ }), Y(e, n), () => {
143
+ (i || o && n.contentWindow) && o(), K(n);
144
144
  };
145
145
  }
146
- function ws(e, t, r) {
146
+ function As(e, t, r) {
147
147
  e.classList.toggle(t, !!r);
148
148
  }
149
- function Ln(e) {
149
+ function Nn(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 st;
159
- function ot(e) {
160
- st = e;
158
+ let ut;
159
+ function at(e) {
160
+ ut = e;
161
161
  }
162
- function Nn() {
163
- if (!st)
162
+ function Mn() {
163
+ if (!ut)
164
164
  throw new Error("Function called outside component initialization");
165
- return st;
165
+ return ut;
166
166
  }
167
- function Mn(e) {
168
- Nn().$$.on_mount.push(e);
167
+ function Rn(e) {
168
+ Mn().$$.on_mount.push(e);
169
169
  }
170
- const $e = [], Wt = [];
171
- let ke = [];
172
- const br = [], Rn = /* @__PURE__ */ Promise.resolve();
173
- let qt = !1;
174
- function Dn() {
175
- qt || (qt = !0, Rn.then(M));
170
+ const Xe = [], qt = [];
171
+ let We = [];
172
+ const gr = [], Dn = /* @__PURE__ */ Promise.resolve();
173
+ let Zt = !1;
174
+ function Fn() {
175
+ Zt || (Zt = !0, Dn.then(D));
176
176
  }
177
- function Zt(e) {
178
- ke.push(e);
177
+ function Jt(e) {
178
+ We.push(e);
179
179
  }
180
- const Rt = /* @__PURE__ */ new Set();
181
- let Ge = 0;
182
- function M() {
183
- if (Ge !== 0)
180
+ const Dt = /* @__PURE__ */ new Set();
181
+ let ke = 0;
182
+ function D() {
183
+ if (ke !== 0)
184
184
  return;
185
- const e = st;
185
+ const e = ut;
186
186
  do {
187
187
  try {
188
- for (; Ge < $e.length; ) {
189
- const t = $e[Ge];
190
- Ge++, ot(t), Fn(t.$$);
188
+ for (; ke < Xe.length; ) {
189
+ const t = Xe[ke];
190
+ ke++, at(t), Un(t.$$);
191
191
  }
192
192
  } catch (t) {
193
- throw $e.length = 0, Ge = 0, t;
193
+ throw Xe.length = 0, ke = 0, t;
194
194
  }
195
- for (ot(null), $e.length = 0, Ge = 0; Wt.length; )
196
- Wt.pop()();
197
- for (let t = 0; t < ke.length; t += 1) {
198
- const r = ke[t];
199
- Rt.has(r) || (Rt.add(r), r());
195
+ for (at(null), Xe.length = 0, ke = 0; qt.length; )
196
+ qt.pop()();
197
+ for (let t = 0; t < We.length; t += 1) {
198
+ const r = We[t];
199
+ Dt.has(r) || (Dt.add(r), r());
200
200
  }
201
- ke.length = 0;
202
- } while ($e.length);
203
- for (; br.length; )
204
- br.pop()();
205
- qt = !1, Rt.clear(), ot(e);
201
+ We.length = 0;
202
+ } while (Xe.length);
203
+ for (; gr.length; )
204
+ gr.pop()();
205
+ Zt = !1, Dt.clear(), at(e);
206
206
  }
207
- function Fn(e) {
207
+ function Un(e) {
208
208
  if (e.fragment !== null) {
209
- e.update(), lt(e.before_update);
209
+ e.update(), ft(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(Jt);
212
212
  }
213
213
  }
214
- function Un(e) {
214
+ function Gn(e) {
215
215
  const t = [], r = [];
216
- ke.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ke = t;
216
+ We.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), We = 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 jn = /* @__PURE__ */ new Set();
219
+ function $n(e, t) {
220
+ e && e.i && (jn.delete(e), e.i(t));
221
221
  }
222
- function Ts(e) {
222
+ function Hs(e) {
223
223
  return e?.length !== void 0 ? e : Array.from(e);
224
224
  }
225
- function $n(e, t, r) {
225
+ function kn(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) : lt(o), e.$$.on_mount = [];
230
- }), i.forEach(Zt);
227
+ n && n.m(t, r), Jt(() => {
228
+ const o = e.$$.on_mount.map(kr).filter(Ht);
229
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ft(o), e.$$.on_mount = [];
230
+ }), i.forEach(Jt);
231
231
  }
232
- function kn(e, t) {
232
+ function Vn(e, t) {
233
233
  const r = e.$$;
234
- r.fragment !== null && (Un(r.after_update), lt(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
234
+ r.fragment !== null && (Gn(r.after_update), ft(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 && ($e.push(e), Dn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
236
+ function Xn(e, t) {
237
+ e.$$.dirty[0] === -1 && (Xe.push(e), Fn(), 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 = st;
241
- ot(e);
239
+ function zn(e, t, r, n, i, o, s = null, a = [-1]) {
240
+ const h = ut;
241
+ at(e);
242
242
  const l = e.$$ = {
243
243
  fragment: null,
244
244
  ctx: [],
@@ -246,37 +246,37 @@ function Xn(e, t, r, n, i, o, s = null, a = [-1]) {
246
246
  props: o,
247
247
  update: fe,
248
248
  not_equal: i,
249
- bound: mr(),
249
+ bound: br(),
250
250
  // lifecycle
251
251
  on_mount: [],
252
252
  on_destroy: [],
253
253
  on_disconnect: [],
254
254
  before_update: [],
255
255
  after_update: [],
256
- context: new Map(t.context || (f ? f.$$.context : [])),
256
+ context: new Map(t.context || (h ? h.$$.context : [])),
257
257
  // everything else
258
- callbacks: mr(),
258
+ callbacks: br(),
259
259
  dirty: a,
260
260
  skip_bound: !1,
261
- root: t.target || f.$$.root
261
+ root: t.target || h.$$.root
262
262
  };
263
263
  s && s(l.root);
264
264
  let c = !1;
265
- if (l.ctx = r ? r(e, t.props || {}, (d, m, ..._) => {
266
- const C = _.length ? _[0] : m;
267
- return l.ctx && i(l.ctx[d], l.ctx[d] = C) && (!l.skip_bound && l.bound[d] && l.bound[d](C), c && Vn(e, d)), m;
268
- }) : [], l.update(), c = !0, lt(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
265
+ if (l.ctx = r ? r(e, t.props || {}, (d, p, ..._) => {
266
+ const C = _.length ? _[0] : p;
267
+ return l.ctx && i(l.ctx[d], l.ctx[d] = C) && (!l.skip_bound && l.bound[d] && l.bound[d](C), c && Xn(e, d)), p;
268
+ }) : [], l.update(), c = !0, ft(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
269
269
  if (t.hydrate) {
270
- const d = Cn(t.target);
271
- l.fragment && l.fragment.l(d), d.forEach(ee);
270
+ const d = In(t.target);
271
+ l.fragment && l.fragment.l(d), d.forEach(K);
272
272
  } else
273
273
  l.fragment && l.fragment.c();
274
- t.intro && jn(e.$$.fragment), $n(e, t.target, t.anchor), M();
274
+ t.intro && $n(e.$$.fragment), kn(e, t.target, t.anchor), D();
275
275
  }
276
- ot(f);
276
+ at(h);
277
277
  }
278
- let Xr;
279
- typeof HTMLElement == "function" && (Xr = class extends HTMLElement {
278
+ let zr;
279
+ typeof HTMLElement == "function" && (zr = class extends HTMLElement {
280
280
  /** The Svelte component constructor */
281
281
  $$ctor;
282
282
  /** Slots */
@@ -318,29 +318,29 @@ typeof HTMLElement == "function" && (Xr = class extends HTMLElement {
318
318
  let o;
319
319
  return {
320
320
  c: function() {
321
- o = X("slot"), i !== "default" && U(o, "name", i);
321
+ o = V("slot"), i !== "default" && G(o, "name", i);
322
322
  },
323
323
  /**
324
324
  * @param {HTMLElement} target
325
325
  * @param {HTMLElement} [anchor]
326
326
  */
327
- m: function(f, l) {
328
- ue(f, o, l);
327
+ m: function(h, l) {
328
+ ae(h, o, l);
329
329
  },
330
- d: function(f) {
331
- f && ee(o);
330
+ d: function(h) {
331
+ h && K(o);
332
332
  }
333
333
  };
334
334
  };
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 = Nn(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] = Et(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 = Et(
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] = Et(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 Et(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 Wn(e, t, r, n, i, o) {
426
+ let s = class extends zr {
427
427
  constructor() {
428
428
  super(e, r, i), this.$$p_d = t;
429
429
  }
@@ -438,8 +438,8 @@ function zn(e, t, r, n, i, o) {
438
438
  get() {
439
439
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
440
440
  },
441
- set(f) {
442
- f = vt(a, f, t), this.$$d[a] = f, this.$$c?.$set({ [a]: f });
441
+ set(h) {
442
+ h = Et(a, h, t), this.$$d[a] = h, this.$$c?.$set({ [a]: h });
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 qn {
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 = fe;
473
+ Vn(this, 1), this.$destroy = fe;
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 (!Ht(r))
483
483
  return fe;
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 && !An(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 Zn = "4";
499
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Zn);
500
500
  /*! *****************************************************************************
501
501
  Copyright (c) Microsoft Corporation.
502
502
 
@@ -511,24 +511,24 @@ 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 Qt = function(e, t) {
515
+ return Qt = 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
+ }, Qt(e, t);
521
521
  };
522
- function ht(e, t) {
522
+ function ct(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
+ Qt(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
+ function Yt(e) {
532
532
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
533
533
  if (r)
534
534
  return r.call(e);
@@ -540,7 +540,7 @@ function Qt(e) {
540
540
  };
541
541
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
542
542
  }
543
- function Yt(e, t) {
543
+ function Kt(e, t) {
544
544
  var r = typeof Symbol == "function" && e[Symbol.iterator];
545
545
  if (!r)
546
546
  return e;
@@ -560,22 +560,22 @@ function Yt(e, t) {
560
560
  }
561
561
  return o;
562
562
  }
563
- function Kt(e, t, r) {
563
+ function er(e, t, r) {
564
564
  if (arguments.length === 2)
565
565
  for (var n = 0, i = t.length, o; n < i; n++)
566
566
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
567
567
  return e.concat(o || t);
568
568
  }
569
- function we(e) {
569
+ function Se(e) {
570
570
  return typeof e == "function";
571
571
  }
572
- function zr(e) {
572
+ function Wr(e) {
573
573
  var t = function(n) {
574
574
  Error.call(n), n.stack = new Error().stack;
575
575
  }, r = e(t);
576
576
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
577
577
  }
578
- var Dt = zr(function(e) {
578
+ var Ft = Wr(function(e) {
579
579
  return function(r) {
580
580
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
581
581
  ` + r.map(function(n, i) {
@@ -584,13 +584,13 @@ var Dt = zr(function(e) {
584
584
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
585
585
  };
586
586
  });
587
- function er(e, t) {
587
+ function tr(e, t) {
588
588
  if (e) {
589
589
  var r = e.indexOf(t);
590
590
  0 <= r && e.splice(r, 1);
591
591
  }
592
592
  }
593
- var At = function() {
593
+ var Bt = function() {
594
594
  function e(t) {
595
595
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
596
596
  }
@@ -602,15 +602,15 @@ var At = function() {
602
602
  if (s)
603
603
  if (this._parentage = null, Array.isArray(s))
604
604
  try {
605
- for (var a = Qt(s), f = a.next(); !f.done; f = a.next()) {
606
- var l = f.value;
605
+ for (var a = Yt(s), h = a.next(); !h.done; h = a.next()) {
606
+ var l = h.value;
607
607
  l.remove(this);
608
608
  }
609
609
  } catch (H) {
610
610
  t = { error: H };
611
611
  } finally {
612
612
  try {
613
- f && !f.done && (r = a.return) && r.call(a);
613
+ h && !h.done && (r = a.return) && r.call(a);
614
614
  } finally {
615
615
  if (t)
616
616
  throw t.error;
@@ -619,29 +619,29 @@ var At = function() {
619
619
  else
620
620
  s.remove(this);
621
621
  var c = this.initialTeardown;
622
- if (we(c))
622
+ if (Se(c))
623
623
  try {
624
624
  c();
625
625
  } catch (H) {
626
- o = H instanceof Dt ? H.errors : [H];
626
+ o = H instanceof Ft ? H.errors : [H];
627
627
  }
628
628
  var d = this._finalizers;
629
629
  if (d) {
630
630
  this._finalizers = null;
631
631
  try {
632
- for (var m = Qt(d), _ = m.next(); !_.done; _ = m.next()) {
632
+ for (var p = Yt(d), _ = p.next(); !_.done; _ = p.next()) {
633
633
  var C = _.value;
634
634
  try {
635
- gr(C);
635
+ vr(C);
636
636
  } catch (H) {
637
- o = o ?? [], H instanceof Dt ? o = Kt(Kt([], Yt(o)), Yt(H.errors)) : o.push(H);
637
+ o = o ?? [], H instanceof Ft ? o = er(er([], Kt(o)), Kt(H.errors)) : o.push(H);
638
638
  }
639
639
  }
640
640
  } catch (H) {
641
641
  n = { error: H };
642
642
  } finally {
643
643
  try {
644
- _ && !_.done && (i = m.return) && i.call(m);
644
+ _ && !_.done && (i = p.return) && i.call(p);
645
645
  } finally {
646
646
  if (n)
647
647
  throw n.error;
@@ -649,13 +649,13 @@ var At = function() {
649
649
  }
650
650
  }
651
651
  if (o)
652
- throw new Dt(o);
652
+ throw new Ft(o);
653
653
  }
654
654
  }, e.prototype.add = function(t) {
655
655
  var r;
656
656
  if (t && t !== this)
657
657
  if (this.closed)
658
- gr(t);
658
+ vr(t);
659
659
  else {
660
660
  if (t instanceof e) {
661
661
  if (t.closed || t._hasParent(this))
@@ -672,52 +672,52 @@ var At = function() {
672
672
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
673
673
  }, e.prototype._removeParent = function(t) {
674
674
  var r = this._parentage;
675
- r === t ? this._parentage = null : Array.isArray(r) && er(r, t);
675
+ r === t ? this._parentage = null : Array.isArray(r) && tr(r, t);
676
676
  }, e.prototype.remove = function(t) {
677
677
  var r = this._finalizers;
678
- r && er(r, t), t instanceof e && t._removeParent(this);
678
+ r && tr(r, t), t instanceof e && t._removeParent(this);
679
679
  }, e.EMPTY = function() {
680
680
  var t = new e();
681
681
  return t.closed = !0, t;
682
682
  }(), e;
683
- }(), Wr = At.EMPTY;
684
- function qr(e) {
685
- return e instanceof At || e && "closed" in e && we(e.remove) && we(e.add) && we(e.unsubscribe);
683
+ }(), qr = Bt.EMPTY;
684
+ function Zr(e) {
685
+ return e instanceof Bt || e && "closed" in e && Se(e.remove) && Se(e.add) && Se(e.unsubscribe);
686
686
  }
687
- function gr(e) {
688
- we(e) ? e() : e.unsubscribe();
687
+ function vr(e) {
688
+ Se(e) ? e() : e.unsubscribe();
689
689
  }
690
- var Zn = {
690
+ var Jn = {
691
691
  Promise: void 0
692
- }, Jn = {
692
+ }, Qn = {
693
693
  setTimeout: function(e, t) {
694
694
  for (var r = [], n = 2; n < arguments.length; n++)
695
695
  r[n - 2] = arguments[n];
696
- return setTimeout.apply(void 0, Kt([e, t], Yt(r)));
696
+ return setTimeout.apply(void 0, er([e, t], Kt(r)));
697
697
  },
698
698
  clearTimeout: function(e) {
699
699
  return clearTimeout(e);
700
700
  },
701
701
  delegate: void 0
702
702
  };
703
- function Qn(e) {
704
- Jn.setTimeout(function() {
703
+ function Yn(e) {
704
+ Qn.setTimeout(function() {
705
705
  throw e;
706
706
  });
707
707
  }
708
- function vr() {
708
+ function yr() {
709
709
  }
710
- function yt(e) {
710
+ function _t(e) {
711
711
  e();
712
712
  }
713
- var Zr = function(e) {
714
- ht(t, e);
713
+ var Jr = function(e) {
714
+ ct(t, e);
715
715
  function t(r) {
716
716
  var n = e.call(this) || this;
717
- return n.isStopped = !1, r ? (n.destination = r, qr(r) && r.add(n)) : n.destination = ei, n;
717
+ return n.isStopped = !1, r ? (n.destination = r, Zr(r) && r.add(n)) : n.destination = ti, n;
718
718
  }
719
719
  return t.create = function(r, n, i) {
720
- return new tr(r, n, i);
720
+ return new rr(r, n, i);
721
721
  }, t.prototype.next = function(r) {
722
722
  this.isStopped || this._next(r);
723
723
  }, t.prototype.error = function(r) {
@@ -741,7 +741,7 @@ var Zr = function(e) {
741
741
  this.unsubscribe();
742
742
  }
743
743
  }, t;
744
- }(At), Yn = function() {
744
+ }(Bt), Kn = function() {
745
745
  function e(t) {
746
746
  this.partialObserver = t;
747
747
  }
@@ -751,7 +751,7 @@ var Zr = function(e) {
751
751
  try {
752
752
  r.next(t);
753
753
  } catch (n) {
754
- bt(n);
754
+ vt(n);
755
755
  }
756
756
  }, e.prototype.error = function(t) {
757
757
  var r = this.partialObserver;
@@ -759,56 +759,56 @@ var Zr = function(e) {
759
759
  try {
760
760
  r.error(t);
761
761
  } catch (n) {
762
- bt(n);
762
+ vt(n);
763
763
  }
764
764
  else
765
- bt(t);
765
+ vt(t);
766
766
  }, e.prototype.complete = function() {
767
767
  var t = this.partialObserver;
768
768
  if (t.complete)
769
769
  try {
770
770
  t.complete();
771
771
  } catch (r) {
772
- bt(r);
772
+ vt(r);
773
773
  }
774
774
  }, e;
775
- }(), tr = function(e) {
776
- ht(t, e);
775
+ }(), rr = function(e) {
776
+ ct(t, e);
777
777
  function t(r, n, i) {
778
778
  var o = e.call(this) || this, s;
779
- return we(r) || !r ? s = {
779
+ return Se(r) || !r ? s = {
780
780
  next: r ?? void 0,
781
781
  error: n ?? void 0,
782
782
  complete: i ?? void 0
783
- } : s = r, o.destination = new Yn(s), o;
783
+ } : s = r, o.destination = new Kn(s), o;
784
784
  }
785
785
  return t;
786
- }(Zr);
787
- function bt(e) {
788
- Qn(e);
786
+ }(Jr);
787
+ function vt(e) {
788
+ Yn(e);
789
789
  }
790
- function Kn(e) {
790
+ function ei(e) {
791
791
  throw e;
792
792
  }
793
- var ei = {
793
+ var ti = {
794
794
  closed: !0,
795
- next: vr,
796
- error: Kn,
797
- complete: vr
798
- }, ti = function() {
795
+ next: yr,
796
+ error: ei,
797
+ complete: yr
798
+ }, ri = function() {
799
799
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
800
800
  }();
801
- function ri(e) {
801
+ function ni(e) {
802
802
  return e;
803
803
  }
804
- function ni(e) {
805
- return e.length === 0 ? ri : e.length === 1 ? e[0] : function(r) {
804
+ function ii(e) {
805
+ return e.length === 0 ? ni : e.length === 1 ? e[0] : function(r) {
806
806
  return e.reduce(function(n, i) {
807
807
  return i(n);
808
808
  }, r);
809
809
  };
810
810
  }
811
- var yr = function() {
811
+ var Er = function() {
812
812
  function e(t) {
813
813
  t && (this._subscribe = t);
814
814
  }
@@ -816,10 +816,10 @@ var yr = function() {
816
816
  var r = new e();
817
817
  return r.source = this, r.operator = t, r;
818
818
  }, e.prototype.subscribe = function(t, r, n) {
819
- var i = this, o = oi(t) ? t : new tr(t, r, n);
820
- return yt(function() {
821
- var s = i, a = s.operator, f = s.source;
822
- o.add(a ? a.call(o, f) : f ? i._subscribe(o) : i._trySubscribe(o));
819
+ var i = this, o = si(t) ? t : new rr(t, r, n);
820
+ return _t(function() {
821
+ var s = i, a = s.operator, h = s.source;
822
+ o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
823
823
  }), o;
824
824
  }, e.prototype._trySubscribe = function(t) {
825
825
  try {
@@ -829,13 +829,13 @@ var yr = function() {
829
829
  }
830
830
  }, e.prototype.forEach = function(t, r) {
831
831
  var n = this;
832
- return r = Er(r), new r(function(i, o) {
833
- var s = new tr({
832
+ return r = _r(r), new r(function(i, o) {
833
+ var s = new rr({
834
834
  next: function(a) {
835
835
  try {
836
836
  t(a);
837
- } catch (f) {
838
- o(f), s.unsubscribe();
837
+ } catch (h) {
838
+ o(h), s.unsubscribe();
839
839
  }
840
840
  },
841
841
  error: o,
@@ -846,15 +846,15 @@ var yr = function() {
846
846
  }, e.prototype._subscribe = function(t) {
847
847
  var r;
848
848
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
849
- }, e.prototype[ti] = function() {
849
+ }, e.prototype[ri] = function() {
850
850
  return this;
851
851
  }, e.prototype.pipe = function() {
852
852
  for (var t = [], r = 0; r < arguments.length; r++)
853
853
  t[r] = arguments[r];
854
- return ni(t)(this);
854
+ return ii(t)(this);
855
855
  }, e.prototype.toPromise = function(t) {
856
856
  var r = this;
857
- return t = Er(t), new t(function(n, i) {
857
+ return t = _r(t), new t(function(n, i) {
858
858
  var o;
859
859
  r.subscribe(function(s) {
860
860
  return o = s;
@@ -868,42 +868,42 @@ var yr = function() {
868
868
  return new e(t);
869
869
  }, e;
870
870
  }();
871
- function Er(e) {
871
+ function _r(e) {
872
872
  var t;
873
- return (t = e ?? Zn.Promise) !== null && t !== void 0 ? t : Promise;
874
- }
875
- function ii(e) {
876
- return e && we(e.next) && we(e.error) && we(e.complete);
873
+ return (t = e ?? Jn.Promise) !== null && t !== void 0 ? t : Promise;
877
874
  }
878
875
  function oi(e) {
879
- return e && e instanceof Zr || ii(e) && qr(e);
876
+ return e && Se(e.next) && Se(e.error) && Se(e.complete);
877
+ }
878
+ function si(e) {
879
+ return e && e instanceof Jr || oi(e) && Zr(e);
880
880
  }
881
- var si = zr(function(e) {
881
+ var ai = Wr(function(e) {
882
882
  return function() {
883
883
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
884
884
  };
885
- }), Jr = function(e) {
886
- ht(t, e);
885
+ }), Qr = function(e) {
886
+ ct(t, e);
887
887
  function t() {
888
888
  var r = e.call(this) || this;
889
889
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
890
890
  }
891
891
  return t.prototype.lift = function(r) {
892
- var n = new _r(this, this);
892
+ var n = new wr(this, this);
893
893
  return n.operator = r, n;
894
894
  }, t.prototype._throwIfClosed = function() {
895
895
  if (this.closed)
896
- throw new si();
896
+ throw new ai();
897
897
  }, t.prototype.next = function(r) {
898
898
  var n = this;
899
- yt(function() {
899
+ _t(function() {
900
900
  var i, o;
901
901
  if (n._throwIfClosed(), !n.isStopped) {
902
902
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
903
903
  try {
904
- for (var s = Qt(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
905
- var f = a.value;
906
- f.next(r);
904
+ for (var s = Yt(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
905
+ var h = a.value;
906
+ h.next(r);
907
907
  }
908
908
  } catch (l) {
909
909
  i = { error: l };
@@ -919,7 +919,7 @@ var si = zr(function(e) {
919
919
  });
920
920
  }, t.prototype.error = function(r) {
921
921
  var n = this;
922
- yt(function() {
922
+ _t(function() {
923
923
  if (n._throwIfClosed(), !n.isStopped) {
924
924
  n.hasError = n.isStopped = !0, n.thrownError = r;
925
925
  for (var i = n.observers; i.length; )
@@ -928,7 +928,7 @@ var si = zr(function(e) {
928
928
  });
929
929
  }, t.prototype.complete = function() {
930
930
  var r = this;
931
- yt(function() {
931
+ _t(function() {
932
932
  if (r._throwIfClosed(), !r.isStopped) {
933
933
  r.isStopped = !0;
934
934
  for (var n = r.observers; n.length; )
@@ -950,20 +950,20 @@ var si = zr(function(e) {
950
950
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
951
951
  }, t.prototype._innerSubscribe = function(r) {
952
952
  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);
953
+ return o || s ? qr : (this.currentObservers = null, a.push(r), new Bt(function() {
954
+ n.currentObservers = null, tr(a, r);
955
955
  }));
956
956
  }, t.prototype._checkFinalizedStatuses = function(r) {
957
957
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
958
958
  i ? r.error(o) : s && r.complete();
959
959
  }, t.prototype.asObservable = function() {
960
- var r = new yr();
960
+ var r = new Er();
961
961
  return r.source = this, r;
962
962
  }, t.create = function(r, n) {
963
- return new _r(r, n);
963
+ return new wr(r, n);
964
964
  }, t;
965
- }(yr), _r = function(e) {
966
- ht(t, e);
965
+ }(Er), wr = function(e) {
966
+ ct(t, e);
967
967
  function t(r, n) {
968
968
  var i = e.call(this) || this;
969
969
  return i.destination = r, i.source = n, i;
@@ -979,150 +979,150 @@ var si = zr(function(e) {
979
979
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
980
980
  }, t.prototype._subscribe = function(r) {
981
981
  var n, i;
982
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Wr;
982
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : qr;
983
983
  }, t;
984
- }(Jr), Qr = {
984
+ }(Qr), Yr = {
985
985
  now: function() {
986
- return (Qr.delegate || Date).now();
986
+ return (Yr.delegate || Date).now();
987
987
  },
988
988
  delegate: void 0
989
- }, ai = function(e) {
990
- ht(t, e);
989
+ }, ui = function(e) {
990
+ ct(t, e);
991
991
  function t(r, n, i) {
992
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Qr);
992
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Yr);
993
993
  var o = e.call(this) || this;
994
994
  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
995
  }
996
996
  return t.prototype.next = function(r) {
997
- var n = this, i = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, a = n._timestampProvider, f = n._windowTime;
998
- i || (o.push(r), !s && o.push(a.now() + f)), this._trimBuffer(), e.prototype.next.call(this, r);
997
+ var n = this, i = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, a = n._timestampProvider, h = n._windowTime;
998
+ i || (o.push(r), !s && o.push(a.now() + h)), this._trimBuffer(), e.prototype.next.call(this, r);
999
999
  }, t.prototype._subscribe = function(r) {
1000
1000
  this._throwIfClosed(), this._trimBuffer();
1001
- for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, s = i._buffer, a = s.slice(), f = 0; f < a.length && !r.closed; f += o ? 1 : 2)
1002
- r.next(a[f]);
1001
+ for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, s = i._buffer, a = s.slice(), h = 0; h < a.length && !r.closed; h += o ? 1 : 2)
1002
+ r.next(a[h]);
1003
1003
  return this._checkFinalizedStatuses(r), n;
1004
1004
  }, t.prototype._trimBuffer = function() {
1005
1005
  var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * n;
1006
1006
  if (n < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
1007
- for (var f = i.now(), l = 0, c = 1; c < o.length && o[c] <= f; c += 2)
1007
+ for (var h = i.now(), l = 0, c = 1; c < o.length && o[c] <= h; c += 2)
1008
1008
  l = c;
1009
1009
  l && o.splice(0, l + 1);
1010
1010
  }
1011
1011
  }, t;
1012
- }(Jr);
1013
- const xr = [], wr = {}, ui = (e, t = 0) => {
1012
+ }(Qr);
1013
+ const xr = [], Sr = {}, li = (e, t = 0) => {
1014
1014
  if (xr.indexOf(e) == -1) {
1015
- const r = new ai(t);
1016
- wr[e] = r, xr.push(e);
1015
+ const r = new ui(t);
1016
+ Sr[e] = r, xr.push(e);
1017
1017
  }
1018
- return wr[e];
1019
- }, je = [];
1020
- function li(e, t) {
1018
+ return Sr[e];
1019
+ }, Ve = [];
1020
+ function hi(e, t) {
1021
1021
  return {
1022
- subscribe: Ht(e, t).subscribe
1022
+ subscribe: Ot(e, t).subscribe
1023
1023
  };
1024
1024
  }
1025
- function Ht(e, t = fe) {
1025
+ function Ot(e, t = fe) {
1026
1026
  let r;
1027
1027
  const n = /* @__PURE__ */ new Set();
1028
1028
  function i(a) {
1029
- if (kr(e, a) && (e = a, r)) {
1030
- const f = !je.length;
1029
+ if (Vr(e, a) && (e = a, r)) {
1030
+ const h = !Ve.length;
1031
1031
  for (const l of n)
1032
- l[1](), je.push(l, e);
1033
- if (f) {
1034
- for (let l = 0; l < je.length; l += 2)
1035
- je[l][0](je[l + 1]);
1036
- je.length = 0;
1032
+ l[1](), Ve.push(l, e);
1033
+ if (h) {
1034
+ for (let l = 0; l < Ve.length; l += 2)
1035
+ Ve[l][0](Ve[l + 1]);
1036
+ Ve.length = 0;
1037
1037
  }
1038
1038
  }
1039
1039
  }
1040
1040
  function o(a) {
1041
1041
  i(a(e));
1042
1042
  }
1043
- function s(a, f = fe) {
1044
- const l = [a, f];
1043
+ function s(a, h = fe) {
1044
+ const l = [a, h];
1045
1045
  return n.add(l), n.size === 1 && (r = t(i, o) || fe), a(e), () => {
1046
1046
  n.delete(l), n.size === 0 && r && (r(), r = null);
1047
1047
  };
1048
1048
  }
1049
1049
  return { set: i, update: o, subscribe: s };
1050
1050
  }
1051
- function Ze(e, t, r) {
1051
+ function Ke(e, t, r) {
1052
1052
  const n = !Array.isArray(e), i = n ? [e] : e;
1053
1053
  if (!i.every(Boolean))
1054
1054
  throw new Error("derived() expects stores as input, got a falsy value");
1055
1055
  const o = t.length < 2;
1056
- return li(r, (s, a) => {
1057
- let f = !1;
1056
+ return hi(r, (s, a) => {
1057
+ let h = !1;
1058
1058
  const l = [];
1059
1059
  let c = 0, d = fe;
1060
- const m = () => {
1060
+ const p = () => {
1061
1061
  if (c)
1062
1062
  return;
1063
1063
  d();
1064
1064
  const C = t(n ? l[0] : l, s, a);
1065
- o ? s(C) : d = St(C) ? C : fe;
1065
+ o ? s(C) : d = Ht(C) ? C : fe;
1066
1066
  }, _ = i.map(
1067
- (C, H) => Vr(
1067
+ (C, H) => Xr(
1068
1068
  C,
1069
- (te) => {
1070
- l[H] = te, c &= ~(1 << H), f && m();
1069
+ (ee) => {
1070
+ l[H] = ee, c &= ~(1 << H), h && p();
1071
1071
  },
1072
1072
  () => {
1073
1073
  c |= 1 << H;
1074
1074
  }
1075
1075
  )
1076
1076
  );
1077
- return f = !0, m(), function() {
1078
- lt(_), d(), f = !1;
1077
+ return h = !0, p(), function() {
1078
+ ft(_), d(), h = !1;
1079
1079
  };
1080
1080
  });
1081
1081
  }
1082
- var hi = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1083
- function fi(e) {
1082
+ var fi = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1083
+ function ci(e) {
1084
1084
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1085
1085
  }
1086
- var ci = function(t) {
1087
- return di(t) && !pi(t);
1086
+ var di = function(t) {
1087
+ return pi(t) && !mi(t);
1088
1088
  };
1089
- function di(e) {
1089
+ function pi(e) {
1090
1090
  return !!e && typeof e == "object";
1091
1091
  }
1092
- function pi(e) {
1092
+ function mi(e) {
1093
1093
  var t = Object.prototype.toString.call(e);
1094
- return t === "[object RegExp]" || t === "[object Date]" || gi(e);
1095
- }
1096
- var mi = typeof Symbol == "function" && Symbol.for, bi = mi ? Symbol.for("react.element") : 60103;
1097
- function gi(e) {
1098
- return e.$$typeof === bi;
1094
+ return t === "[object RegExp]" || t === "[object Date]" || vi(e);
1099
1095
  }
1096
+ var bi = typeof Symbol == "function" && Symbol.for, gi = bi ? Symbol.for("react.element") : 60103;
1100
1097
  function vi(e) {
1098
+ return e.$$typeof === gi;
1099
+ }
1100
+ function yi(e) {
1101
1101
  return Array.isArray(e) ? [] : {};
1102
1102
  }
1103
- function at(e, t) {
1104
- return t.clone !== !1 && t.isMergeableObject(e) ? Xe(vi(e), e, t) : e;
1103
+ function lt(e, t) {
1104
+ return t.clone !== !1 && t.isMergeableObject(e) ? Ze(yi(e), e, t) : e;
1105
1105
  }
1106
- function yi(e, t, r) {
1106
+ function Ei(e, t, r) {
1107
1107
  return e.concat(t).map(function(n) {
1108
- return at(n, r);
1108
+ return lt(n, r);
1109
1109
  });
1110
1110
  }
1111
- function Ei(e, t) {
1111
+ function _i(e, t) {
1112
1112
  if (!t.customMerge)
1113
- return Xe;
1113
+ return Ze;
1114
1114
  var r = t.customMerge(e);
1115
- return typeof r == "function" ? r : Xe;
1115
+ return typeof r == "function" ? r : Ze;
1116
1116
  }
1117
- function _i(e) {
1117
+ function wi(e) {
1118
1118
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1119
1119
  return Object.propertyIsEnumerable.call(e, t);
1120
1120
  }) : [];
1121
1121
  }
1122
1122
  function Tr(e) {
1123
- return Object.keys(e).concat(_i(e));
1123
+ return Object.keys(e).concat(wi(e));
1124
1124
  }
1125
- function Yr(e, t) {
1125
+ function Kr(e, t) {
1126
1126
  try {
1127
1127
  return t in e;
1128
1128
  } catch {
@@ -1130,58 +1130,58 @@ function Yr(e, t) {
1130
1130
  }
1131
1131
  }
1132
1132
  function xi(e, t) {
1133
- return Yr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1133
+ return Kr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1134
1134
  }
1135
- function wi(e, t, r) {
1135
+ function Si(e, t, r) {
1136
1136
  var n = {};
1137
1137
  return r.isMergeableObject(e) && Tr(e).forEach(function(i) {
1138
- n[i] = at(e[i], r);
1138
+ n[i] = lt(e[i], r);
1139
1139
  }), Tr(t).forEach(function(i) {
1140
- xi(e, i) || (Yr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Ei(i, r)(e[i], t[i], r) : n[i] = at(t[i], r));
1140
+ xi(e, i) || (Kr(e, i) && r.isMergeableObject(t[i]) ? n[i] = _i(i, r)(e[i], t[i], r) : n[i] = lt(t[i], r));
1141
1141
  }), n;
1142
1142
  }
1143
- function Xe(e, t, r) {
1144
- r = r || {}, r.arrayMerge = r.arrayMerge || yi, r.isMergeableObject = r.isMergeableObject || ci, r.cloneUnlessOtherwiseSpecified = at;
1143
+ function Ze(e, t, r) {
1144
+ r = r || {}, r.arrayMerge = r.arrayMerge || Ei, r.isMergeableObject = r.isMergeableObject || di, r.cloneUnlessOtherwiseSpecified = lt;
1145
1145
  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) : at(t, r);
1146
+ return o ? n ? r.arrayMerge(e, t, r) : Si(e, t, r) : lt(t, r);
1147
1147
  }
1148
- Xe.all = function(t, r) {
1148
+ Ze.all = function(t, r) {
1149
1149
  if (!Array.isArray(t))
1150
1150
  throw new Error("first argument should be an array");
1151
1151
  return t.reduce(function(n, i) {
1152
- return Xe(n, i, r);
1152
+ return Ze(n, i, r);
1153
1153
  }, {});
1154
1154
  };
1155
- var Ti = Xe, 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) {
1155
+ var Ti = Ze, Ai = Ti;
1156
+ const Hi = /* @__PURE__ */ ci(Ai);
1157
+ var nr = function(e, t) {
1158
+ return nr = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1159
1159
  r.__proto__ = n;
1160
1160
  } || function(r, n) {
1161
1161
  for (var i in n)
1162
1162
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1163
- }, rr(e, t);
1163
+ }, nr(e, t);
1164
1164
  };
1165
- function Bt(e, t) {
1165
+ function Pt(e, t) {
1166
1166
  if (typeof t != "function" && t !== null)
1167
1167
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1168
- rr(e, t);
1168
+ nr(e, t);
1169
1169
  function r() {
1170
1170
  this.constructor = e;
1171
1171
  }
1172
1172
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1173
1173
  }
1174
- var ve = function() {
1175
- return ve = Object.assign || function(t) {
1174
+ var Ee = function() {
1175
+ return Ee = Object.assign || function(t) {
1176
1176
  for (var r, n = 1, i = arguments.length; n < i; n++) {
1177
1177
  r = arguments[n];
1178
1178
  for (var o in r)
1179
1179
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1180
1180
  }
1181
1181
  return t;
1182
- }, ve.apply(this, arguments);
1182
+ }, Ee.apply(this, arguments);
1183
1183
  };
1184
- function Hi(e, t) {
1184
+ function Bi(e, t) {
1185
1185
  var r = {};
1186
1186
  for (var n in e)
1187
1187
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -1190,43 +1190,43 @@ function Hi(e, t) {
1190
1190
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1191
1191
  return r;
1192
1192
  }
1193
- function Ft(e, t, r) {
1193
+ function Ut(e, t, r) {
1194
1194
  if (r || arguments.length === 2)
1195
1195
  for (var n = 0, i = t.length, o; n < i; n++)
1196
1196
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1197
1197
  return e.concat(o || Array.prototype.slice.call(t));
1198
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;
1199
+ function Gt(e, t) {
1200
+ var r = t && t.cache ? t.cache : Mi, n = t && t.serializer ? t.serializer : Li, i = t && t.strategy ? t.strategy : Ci;
1201
1201
  return i(e, {
1202
1202
  cache: r,
1203
1203
  serializer: n
1204
1204
  });
1205
1205
  }
1206
- function Bi(e) {
1206
+ function Oi(e) {
1207
1207
  return e == null || typeof e == "number" || typeof e == "boolean";
1208
1208
  }
1209
1209
  function Pi(e, t, r, n) {
1210
- var i = Bi(n) ? n : r(n), o = t.get(i);
1210
+ var i = Oi(n) ? n : r(n), o = t.get(i);
1211
1211
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1212
1212
  }
1213
- function Kr(e, t, r) {
1213
+ function en(e, t, r) {
1214
1214
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1215
1215
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1216
1216
  }
1217
- function en(e, t, r, n, i) {
1217
+ function tn(e, t, r, n, i) {
1218
1218
  return r.bind(t, e, n, i);
1219
1219
  }
1220
- function Oi(e, t) {
1221
- var r = e.length === 1 ? Pi : Kr;
1222
- return en(e, this, r, t.cache.create(), t.serializer);
1223
- }
1224
1220
  function Ci(e, t) {
1225
- return en(e, this, Kr, t.cache.create(), t.serializer);
1221
+ var r = e.length === 1 ? Pi : en;
1222
+ return tn(e, this, r, t.cache.create(), t.serializer);
1223
+ }
1224
+ function Ii(e, t) {
1225
+ return tn(e, this, en, t.cache.create(), t.serializer);
1226
1226
  }
1227
- var Ii = function() {
1227
+ var Li = function() {
1228
1228
  return JSON.stringify(arguments);
1229
- }, Li = (
1229
+ }, Ni = (
1230
1230
  /** @class */
1231
1231
  function() {
1232
1232
  function e() {
@@ -1238,71 +1238,71 @@ var Ii = function() {
1238
1238
  this.cache[t] = r;
1239
1239
  }, e;
1240
1240
  }()
1241
- ), Ni = {
1241
+ ), Mi = {
1242
1242
  create: function() {
1243
- return new Li();
1243
+ return new Ni();
1244
1244
  }
1245
- }, Gt = {
1246
- variadic: Ci
1247
- }, xt = function() {
1248
- return xt = Object.assign || function(t) {
1245
+ }, jt = {
1246
+ variadic: Ii
1247
+ }, St = function() {
1248
+ return St = Object.assign || function(t) {
1249
1249
  for (var r, n = 1, i = arguments.length; n < i; n++) {
1250
1250
  r = arguments[n];
1251
1251
  for (var o in r)
1252
1252
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1253
1253
  }
1254
1254
  return t;
1255
- }, xt.apply(this, arguments);
1255
+ }, St.apply(this, arguments);
1256
1256
  };
1257
- var S;
1257
+ var T;
1258
1258
  (function(e) {
1259
1259
  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
- })(S || (S = {}));
1261
- var R;
1260
+ })(T || (T = {}));
1261
+ var F;
1262
1262
  (function(e) {
1263
1263
  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
- })(R || (R = {}));
1265
- var ze;
1264
+ })(F || (F = {}));
1265
+ var Je;
1266
1266
  (function(e) {
1267
1267
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1268
- })(ze || (ze = {}));
1269
- function Sr(e) {
1270
- return e.type === R.literal;
1268
+ })(Je || (Je = {}));
1269
+ function Ar(e) {
1270
+ return e.type === F.literal;
1271
1271
  }
1272
- function Mi(e) {
1273
- return e.type === R.argument;
1274
- }
1275
- function tn(e) {
1276
- return e.type === R.number;
1272
+ function Ri(e) {
1273
+ return e.type === F.argument;
1277
1274
  }
1278
1275
  function rn(e) {
1279
- return e.type === R.date;
1276
+ return e.type === F.number;
1280
1277
  }
1281
1278
  function nn(e) {
1282
- return e.type === R.time;
1279
+ return e.type === F.date;
1283
1280
  }
1284
1281
  function on(e) {
1285
- return e.type === R.select;
1282
+ return e.type === F.time;
1286
1283
  }
1287
1284
  function sn(e) {
1288
- return e.type === R.plural;
1289
- }
1290
- function Ri(e) {
1291
- return e.type === R.pound;
1285
+ return e.type === F.select;
1292
1286
  }
1293
1287
  function an(e) {
1294
- return e.type === R.tag;
1288
+ return e.type === F.plural;
1289
+ }
1290
+ function Di(e) {
1291
+ return e.type === F.pound;
1295
1292
  }
1296
1293
  function un(e) {
1297
- return !!(e && typeof e == "object" && e.type === ze.number);
1294
+ return e.type === F.tag;
1298
1295
  }
1299
- function nr(e) {
1300
- return !!(e && typeof e == "object" && e.type === ze.dateTime);
1296
+ function ln(e) {
1297
+ return !!(e && typeof e == "object" && e.type === Je.number);
1301
1298
  }
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) {
1299
+ function ir(e) {
1300
+ return !!(e && typeof e == "object" && e.type === Je.dateTime);
1301
+ }
1302
+ var hn = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Fi = /(?:[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 Ui(e) {
1304
1304
  var t = {};
1305
- return e.replace(Di, function(r) {
1305
+ return e.replace(Fi, function(r) {
1306
1306
  var n = r.length;
1307
1307
  switch (r[0]) {
1308
1308
  case "G":
@@ -1391,46 +1391,46 @@ function Fi(e) {
1391
1391
  return "";
1392
1392
  }), t;
1393
1393
  }
1394
- var F = function() {
1395
- return F = Object.assign || function(t) {
1394
+ var U = function() {
1395
+ return U = Object.assign || function(t) {
1396
1396
  for (var r, n = 1, i = arguments.length; n < i; n++) {
1397
1397
  r = arguments[n];
1398
1398
  for (var o in r)
1399
1399
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1400
1400
  }
1401
1401
  return t;
1402
- }, F.apply(this, arguments);
1402
+ }, U.apply(this, arguments);
1403
1403
  };
1404
- var Ui = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1405
- function Gi(e) {
1404
+ var Gi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1405
+ function ji(e) {
1406
1406
  if (e.length === 0)
1407
1407
  throw new Error("Number skeleton cannot be empty");
1408
- for (var t = e.split(Ui).filter(function(m) {
1409
- return m.length > 0;
1408
+ for (var t = e.split(Gi).filter(function(p) {
1409
+ return p.length > 0;
1410
1410
  }), r = [], n = 0, i = t; n < i.length; n++) {
1411
1411
  var o = i[n], s = o.split("/");
1412
1412
  if (s.length === 0)
1413
1413
  throw new Error("Invalid number skeleton");
1414
- for (var a = s[0], f = s.slice(1), l = 0, c = f; l < c.length; l++) {
1414
+ for (var a = s[0], h = s.slice(1), l = 0, c = h; l < c.length; l++) {
1415
1415
  var d = c[l];
1416
1416
  if (d.length === 0)
1417
1417
  throw new Error("Invalid number skeleton");
1418
1418
  }
1419
- r.push({ stem: a, options: f });
1419
+ r.push({ stem: a, options: h });
1420
1420
  }
1421
1421
  return r;
1422
1422
  }
1423
- function ji(e) {
1423
+ function $i(e) {
1424
1424
  return e.replace(/^(.*?)-/, "");
1425
1425
  }
1426
- var Ar = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, hn = /^(@+)?(\+|#+)?[rs]?$/g, $i = /(\*)(0+)|(#+)(0+)|(0+)/g, fn = /^(0+)$/;
1427
- function Hr(e) {
1426
+ var Hr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, fn = /^(@+)?(\+|#+)?[rs]?$/g, ki = /(\*)(0+)|(#+)(0+)|(0+)/g, cn = /^(0+)$/;
1427
+ function Br(e) {
1428
1428
  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) {
1429
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(fn, function(r, n, i) {
1430
1430
  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
1431
  }), t;
1432
1432
  }
1433
- function cn(e) {
1433
+ function dn(e) {
1434
1434
  switch (e) {
1435
1435
  case "sign-auto":
1436
1436
  return {
@@ -1470,7 +1470,7 @@ function cn(e) {
1470
1470
  };
1471
1471
  }
1472
1472
  }
1473
- function ki(e) {
1473
+ function Vi(e) {
1474
1474
  var t;
1475
1475
  if (e[0] === "E" && e[1] === "E" ? (t = {
1476
1476
  notation: "engineering"
@@ -1478,17 +1478,17 @@ function ki(e) {
1478
1478
  notation: "scientific"
1479
1479
  }, e = e.slice(1)), t) {
1480
1480
  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))
1481
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !cn.test(e))
1482
1482
  throw new Error("Malformed concise eng/scientific notation");
1483
1483
  t.minimumIntegerDigits = e.length;
1484
1484
  }
1485
1485
  return t;
1486
1486
  }
1487
- function Br(e) {
1488
- var t = {}, r = cn(e);
1487
+ function Or(e) {
1488
+ var t = {}, r = dn(e);
1489
1489
  return r || t;
1490
1490
  }
1491
- function Vi(e) {
1491
+ function Xi(e) {
1492
1492
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1493
1493
  var i = n[r];
1494
1494
  switch (i.stem) {
@@ -1512,7 +1512,7 @@ function Vi(e) {
1512
1512
  continue;
1513
1513
  case "measure-unit":
1514
1514
  case "unit":
1515
- t.style = "unit", t.unit = ji(i.options[0]);
1515
+ t.style = "unit", t.unit = $i(i.options[0]);
1516
1516
  continue;
1517
1517
  case "compact-short":
1518
1518
  case "K":
@@ -1523,13 +1523,13 @@ function Vi(e) {
1523
1523
  t.notation = "compact", t.compactDisplay = "long";
1524
1524
  continue;
1525
1525
  case "scientific":
1526
- t = F(F(F({}, t), { notation: "scientific" }), i.options.reduce(function(f, l) {
1527
- return F(F({}, f), Br(l));
1526
+ t = U(U(U({}, t), { notation: "scientific" }), i.options.reduce(function(h, l) {
1527
+ return U(U({}, h), Or(l));
1528
1528
  }, {}));
1529
1529
  continue;
1530
1530
  case "engineering":
1531
- t = F(F(F({}, t), { notation: "engineering" }), i.options.reduce(function(f, l) {
1532
- return F(F({}, f), Br(l));
1531
+ t = U(U(U({}, t), { notation: "engineering" }), i.options.reduce(function(h, l) {
1532
+ return U(U({}, h), Or(l));
1533
1533
  }, {}));
1534
1534
  continue;
1535
1535
  case "notation-simple":
@@ -1574,11 +1574,11 @@ function Vi(e) {
1574
1574
  case "integer-width":
1575
1575
  if (i.options.length > 1)
1576
1576
  throw new RangeError("integer-width stems only accept a single optional option");
1577
- i.options[0].replace($i, function(f, l, c, d, m, _) {
1577
+ i.options[0].replace(ki, function(h, l, c, d, p, _) {
1578
1578
  if (l)
1579
1579
  t.minimumIntegerDigits = c.length;
1580
1580
  else {
1581
- if (d && m)
1581
+ if (d && p)
1582
1582
  throw new Error("We currently do not support maximum integer digits");
1583
1583
  if (_)
1584
1584
  throw new Error("We currently do not support exact integer digits");
@@ -1587,32 +1587,32 @@ function Vi(e) {
1587
1587
  });
1588
1588
  continue;
1589
1589
  }
1590
- if (fn.test(i.stem)) {
1590
+ if (cn.test(i.stem)) {
1591
1591
  t.minimumIntegerDigits = i.stem.length;
1592
1592
  continue;
1593
1593
  }
1594
- if (Ar.test(i.stem)) {
1594
+ if (Hr.test(i.stem)) {
1595
1595
  if (i.options.length > 1)
1596
1596
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1597
- i.stem.replace(Ar, function(f, l, c, d, m, _) {
1598
- return c === "*" ? t.minimumFractionDigits = l.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : m && _ ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + _.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1597
+ i.stem.replace(Hr, function(h, l, c, d, p, _) {
1598
+ return c === "*" ? t.minimumFractionDigits = l.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : p && _ ? (t.minimumFractionDigits = p.length, t.maximumFractionDigits = p.length + _.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1599
1599
  });
1600
1600
  var o = i.options[0];
1601
- o === "w" ? t = F(F({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = F(F({}, t), Hr(o)));
1601
+ o === "w" ? t = U(U({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = U(U({}, t), Br(o)));
1602
1602
  continue;
1603
1603
  }
1604
- if (hn.test(i.stem)) {
1605
- t = F(F({}, t), Hr(i.stem));
1604
+ if (fn.test(i.stem)) {
1605
+ t = U(U({}, t), Br(i.stem));
1606
1606
  continue;
1607
1607
  }
1608
- var s = cn(i.stem);
1609
- s && (t = F(F({}, t), s));
1610
- var a = ki(i.stem);
1611
- a && (t = F(F({}, t), a));
1608
+ var s = dn(i.stem);
1609
+ s && (t = U(U({}, t), s));
1610
+ var a = Vi(i.stem);
1611
+ a && (t = U(U({}, t), a));
1612
1612
  }
1613
1613
  return t;
1614
1614
  }
1615
- var gt = {
1615
+ var yt = {
1616
1616
  "001": [
1617
1617
  "H",
1618
1618
  "h"
@@ -3027,15 +3027,15 @@ var gt = {
3027
3027
  "h"
3028
3028
  ]
3029
3029
  };
3030
- function Xi(e, t) {
3030
+ function zi(e, t) {
3031
3031
  for (var r = "", n = 0; n < e.length; n++) {
3032
3032
  var i = e.charAt(n);
3033
3033
  if (i === "j") {
3034
3034
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3035
3035
  o++, n++;
3036
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), f = "a", l = zi(t);
3036
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", l = Wi(t);
3037
3037
  for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
3038
- r += f;
3038
+ r += h;
3039
3039
  for (; s-- > 0; )
3040
3040
  r = l + r;
3041
3041
  } else
@@ -3043,7 +3043,7 @@ function Xi(e, t) {
3043
3043
  }
3044
3044
  return r;
3045
3045
  }
3046
- function zi(e) {
3046
+ function Wi(e) {
3047
3047
  var t = e.hourCycle;
3048
3048
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3049
3049
  e.hourCycles && // @ts-ignore
@@ -3062,23 +3062,23 @@ function zi(e) {
3062
3062
  }
3063
3063
  var r = e.language, n;
3064
3064
  r !== "root" && (n = e.maximize().region);
3065
- var i = gt[n || ""] || gt[r || ""] || gt["".concat(r, "-001")] || gt["001"];
3065
+ var i = yt[n || ""] || yt[r || ""] || yt["".concat(r, "-001")] || yt["001"];
3066
3066
  return i[0];
3067
3067
  }
3068
- var jt, Wi = new RegExp("^".concat(ln.source, "*")), qi = new RegExp("".concat(ln.source, "*$"));
3068
+ var $t, qi = new RegExp("^".concat(hn.source, "*")), Zi = new RegExp("".concat(hn.source, "*$"));
3069
3069
  function A(e, t) {
3070
3070
  return { start: e, end: t };
3071
3071
  }
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) {
3072
+ var Ji = !!String.prototype.startsWith && "_a".startsWith("a", 1), Qi = !!String.fromCodePoint, Yi = !!Object.fromEntries, Ki = !!String.prototype.codePointAt, eo = !!String.prototype.trimStart, to = !!String.prototype.trimEnd, ro = !!Number.isSafeInteger, no = ro ? Number.isSafeInteger : function(e) {
3073
3073
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3074
- }, ir = !0;
3074
+ }, or = !0;
3075
3075
  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";
3076
+ var io = mn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3077
+ or = (($t = io.exec("a")) === null || $t === void 0 ? void 0 : $t[0]) === "a";
3078
3078
  } catch {
3079
- ir = !1;
3079
+ or = !1;
3080
3080
  }
3081
- var Pr = Zi ? (
3081
+ var Pr = Ji ? (
3082
3082
  // Native
3083
3083
  function(t, r, n) {
3084
3084
  return t.startsWith(r, n);
@@ -3088,7 +3088,7 @@ var Pr = Zi ? (
3088
3088
  function(t, r, n) {
3089
3089
  return t.slice(n, n + r.length) === r;
3090
3090
  }
3091
- ), or = Ji ? String.fromCodePoint : (
3091
+ ), sr = Qi ? String.fromCodePoint : (
3092
3092
  // IE11
3093
3093
  function() {
3094
3094
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3100,9 +3100,9 @@ var Pr = Zi ? (
3100
3100
  }
3101
3101
  return n;
3102
3102
  }
3103
- ), Or = (
3103
+ ), Cr = (
3104
3104
  // native
3105
- Qi ? Object.fromEntries : (
3105
+ Yi ? Object.fromEntries : (
3106
3106
  // Ponyfill
3107
3107
  function(t) {
3108
3108
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3112,7 +3112,7 @@ var Pr = Zi ? (
3112
3112
  return r;
3113
3113
  }
3114
3114
  )
3115
- ), dn = Yi ? (
3115
+ ), pn = Ki ? (
3116
3116
  // Native
3117
3117
  function(t, r) {
3118
3118
  return t.codePointAt(r);
@@ -3126,7 +3126,7 @@ var Pr = Zi ? (
3126
3126
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3127
3127
  }
3128
3128
  }
3129
- ), io = Ki ? (
3129
+ ), oo = eo ? (
3130
3130
  // Native
3131
3131
  function(t) {
3132
3132
  return t.trimStart();
@@ -3134,9 +3134,9 @@ var Pr = Zi ? (
3134
3134
  ) : (
3135
3135
  // Ponyfill
3136
3136
  function(t) {
3137
- return t.replace(Wi, "");
3137
+ return t.replace(qi, "");
3138
3138
  }
3139
- ), oo = eo ? (
3139
+ ), so = to ? (
3140
3140
  // Native
3141
3141
  function(t) {
3142
3142
  return t.trimEnd();
@@ -3144,32 +3144,32 @@ var Pr = Zi ? (
3144
3144
  ) : (
3145
3145
  // Ponyfill
3146
3146
  function(t) {
3147
- return t.replace(qi, "");
3147
+ return t.replace(Zi, "");
3148
3148
  }
3149
3149
  );
3150
- function pn(e, t) {
3150
+ function mn(e, t) {
3151
3151
  return new RegExp(e, t);
3152
3152
  }
3153
- var sr;
3154
- if (ir) {
3155
- var Cr = pn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3156
- sr = function(t, r) {
3153
+ var ar;
3154
+ if (or) {
3155
+ var Ir = mn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3156
+ ar = function(t, r) {
3157
3157
  var n;
3158
- Cr.lastIndex = r;
3159
- var i = Cr.exec(t);
3158
+ Ir.lastIndex = r;
3159
+ var i = Ir.exec(t);
3160
3160
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3161
3161
  };
3162
3162
  } else
3163
- sr = function(t, r) {
3163
+ ar = function(t, r) {
3164
3164
  for (var n = []; ; ) {
3165
- var i = dn(t, r);
3166
- if (i === void 0 || mn(i) || lo(i))
3165
+ var i = pn(t, r);
3166
+ if (i === void 0 || bn(i) || ho(i))
3167
3167
  break;
3168
3168
  n.push(i), r += i >= 65536 ? 2 : 1;
3169
3169
  }
3170
- return or.apply(void 0, n);
3170
+ return sr.apply(void 0, n);
3171
3171
  };
3172
- var so = (
3172
+ var ao = (
3173
3173
  /** @class */
3174
3174
  function() {
3175
3175
  function e(t, r) {
@@ -3193,14 +3193,14 @@ var so = (
3193
3193
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3194
3194
  var a = this.clonePosition();
3195
3195
  this.bump(), i.push({
3196
- type: R.pound,
3196
+ type: F.pound,
3197
3197
  location: A(a, this.clonePosition())
3198
3198
  });
3199
3199
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3200
3200
  if (n)
3201
3201
  break;
3202
- return this.error(S.UNMATCHED_CLOSING_TAG, A(this.clonePosition(), this.clonePosition()));
3203
- } else if (o === 60 && !this.ignoreTag && ar(this.peek() || 0)) {
3202
+ return this.error(T.UNMATCHED_CLOSING_TAG, A(this.clonePosition(), this.clonePosition()));
3203
+ } else if (o === 60 && !this.ignoreTag && ur(this.peek() || 0)) {
3204
3204
  var s = this.parseTag(t, r);
3205
3205
  if (s.err)
3206
3206
  return s;
@@ -3221,7 +3221,7 @@ var so = (
3221
3221
  if (this.bumpSpace(), this.bumpIf("/>"))
3222
3222
  return {
3223
3223
  val: {
3224
- type: R.literal,
3224
+ type: F.literal,
3225
3225
  value: "<".concat(i, "/>"),
3226
3226
  location: A(n, this.clonePosition())
3227
3227
  },
@@ -3233,25 +3233,25 @@ var so = (
3233
3233
  return o;
3234
3234
  var s = o.val, a = this.clonePosition();
3235
3235
  if (this.bumpIf("</")) {
3236
- if (this.isEOF() || !ar(this.char()))
3237
- return this.error(S.INVALID_TAG, A(a, this.clonePosition()));
3238
- var f = this.clonePosition(), l = this.parseTagName();
3239
- return i !== l ? this.error(S.UNMATCHED_CLOSING_TAG, A(f, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3236
+ if (this.isEOF() || !ur(this.char()))
3237
+ return this.error(T.INVALID_TAG, A(a, this.clonePosition()));
3238
+ var h = this.clonePosition(), l = this.parseTagName();
3239
+ return i !== l ? this.error(T.UNMATCHED_CLOSING_TAG, A(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3240
3240
  val: {
3241
- type: R.tag,
3241
+ type: F.tag,
3242
3242
  value: i,
3243
3243
  children: s,
3244
3244
  location: A(n, this.clonePosition())
3245
3245
  },
3246
3246
  err: null
3247
- } : this.error(S.INVALID_TAG, A(a, this.clonePosition())));
3247
+ } : this.error(T.INVALID_TAG, A(a, this.clonePosition())));
3248
3248
  } else
3249
- return this.error(S.UNCLOSED_TAG, A(n, this.clonePosition()));
3249
+ return this.error(T.UNCLOSED_TAG, A(n, this.clonePosition()));
3250
3250
  } else
3251
- return this.error(S.INVALID_TAG, A(n, this.clonePosition()));
3251
+ return this.error(T.INVALID_TAG, A(n, this.clonePosition()));
3252
3252
  }, e.prototype.parseTagName = function() {
3253
3253
  var t = this.offset();
3254
- for (this.bump(); !this.isEOF() && uo(this.char()); )
3254
+ for (this.bump(); !this.isEOF() && lo(this.char()); )
3255
3255
  this.bump();
3256
3256
  return this.message.slice(t, this.offset());
3257
3257
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3273,14 +3273,14 @@ var so = (
3273
3273
  }
3274
3274
  break;
3275
3275
  }
3276
- var f = A(n, this.clonePosition());
3276
+ var h = A(n, this.clonePosition());
3277
3277
  return {
3278
- val: { type: R.literal, value: i, location: f },
3278
+ val: { type: F.literal, value: i, location: h },
3279
3279
  err: null
3280
3280
  };
3281
3281
  }, e.prototype.tryParseLeftAngleBracket = function() {
3282
3282
  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;
3283
+ !uo(this.peek() || 0)) ? (this.bump(), "<") : null;
3284
3284
  }, e.prototype.tryParseQuote = function(t) {
3285
3285
  if (this.isEOF() || this.char() !== 39)
3286
3286
  return null;
@@ -3314,28 +3314,28 @@ var so = (
3314
3314
  r.push(n);
3315
3315
  this.bump();
3316
3316
  }
3317
- return or.apply(void 0, r);
3317
+ return sr.apply(void 0, r);
3318
3318
  }, e.prototype.tryParseUnquoted = function(t, r) {
3319
3319
  if (this.isEOF())
3320
3320
  return null;
3321
3321
  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));
3322
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), sr(n));
3323
3323
  }, e.prototype.parseArgument = function(t, r) {
3324
3324
  var n = this.clonePosition();
3325
3325
  if (this.bump(), this.bumpSpace(), this.isEOF())
3326
- return this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE, A(n, this.clonePosition()));
3326
+ return this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE, A(n, this.clonePosition()));
3327
3327
  if (this.char() === 125)
3328
- return this.bump(), this.error(S.EMPTY_ARGUMENT, A(n, this.clonePosition()));
3328
+ return this.bump(), this.error(T.EMPTY_ARGUMENT, A(n, this.clonePosition()));
3329
3329
  var i = this.parseIdentifierIfPossible().value;
3330
3330
  if (!i)
3331
- return this.error(S.MALFORMED_ARGUMENT, A(n, this.clonePosition()));
3331
+ return this.error(T.MALFORMED_ARGUMENT, A(n, this.clonePosition()));
3332
3332
  if (this.bumpSpace(), this.isEOF())
3333
- return this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE, A(n, this.clonePosition()));
3333
+ return this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE, A(n, this.clonePosition()));
3334
3334
  switch (this.char()) {
3335
3335
  case 125:
3336
3336
  return this.bump(), {
3337
3337
  val: {
3338
- type: R.argument,
3338
+ type: F.argument,
3339
3339
  // value does not include the opening and closing braces.
3340
3340
  value: i,
3341
3341
  location: A(n, this.clonePosition())
@@ -3343,20 +3343,20 @@ var so = (
3343
3343
  err: null
3344
3344
  };
3345
3345
  case 44:
3346
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE, A(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3346
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE, A(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3347
3347
  default:
3348
- return this.error(S.MALFORMED_ARGUMENT, A(n, this.clonePosition()));
3348
+ return this.error(T.MALFORMED_ARGUMENT, A(n, this.clonePosition()));
3349
3349
  }
3350
3350
  }, e.prototype.parseIdentifierIfPossible = function() {
3351
- var t = this.clonePosition(), r = this.offset(), n = sr(this.message, r), i = r + n.length;
3351
+ var t = this.clonePosition(), r = this.offset(), n = ar(this.message, r), i = r + n.length;
3352
3352
  this.bumpTo(i);
3353
3353
  var o = this.clonePosition(), s = A(t, o);
3354
3354
  return { value: n, location: s };
3355
3355
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3356
- var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, f = this.clonePosition();
3356
+ var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3357
3357
  switch (a) {
3358
3358
  case "":
3359
- return this.error(S.EXPECT_ARGUMENT_TYPE, A(s, f));
3359
+ return this.error(T.EXPECT_ARGUMENT_TYPE, A(s, h));
3360
3360
  case "number":
3361
3361
  case "date":
3362
3362
  case "time": {
@@ -3367,44 +3367,44 @@ var so = (
3367
3367
  var c = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
3368
3368
  if (d.err)
3369
3369
  return d;
3370
- var m = oo(d.val);
3371
- if (m.length === 0)
3372
- return this.error(S.EXPECT_ARGUMENT_STYLE, A(this.clonePosition(), this.clonePosition()));
3370
+ var p = so(d.val);
3371
+ if (p.length === 0)
3372
+ return this.error(T.EXPECT_ARGUMENT_STYLE, A(this.clonePosition(), this.clonePosition()));
3373
3373
  var _ = A(c, this.clonePosition());
3374
- l = { style: m, styleLocation: _ };
3374
+ l = { style: p, styleLocation: _ };
3375
3375
  }
3376
3376
  var C = this.tryParseArgumentClose(i);
3377
3377
  if (C.err)
3378
3378
  return C;
3379
3379
  var H = A(i, this.clonePosition());
3380
3380
  if (l && Pr(l?.style, "::", 0)) {
3381
- var te = io(l.style.slice(2));
3381
+ var ee = oo(l.style.slice(2));
3382
3382
  if (a === "number") {
3383
- var d = this.parseNumberSkeletonFromString(te, l.styleLocation);
3383
+ var d = this.parseNumberSkeletonFromString(ee, l.styleLocation);
3384
3384
  return d.err ? d : {
3385
- val: { type: R.number, value: n, location: H, style: d.val },
3385
+ val: { type: F.number, value: n, location: H, style: d.val },
3386
3386
  err: null
3387
3387
  };
3388
3388
  } else {
3389
- if (te.length === 0)
3390
- return this.error(S.EXPECT_DATE_TIME_SKELETON, H);
3391
- var ce = te;
3392
- this.locale && (ce = Xi(te, this.locale));
3393
- var m = {
3394
- type: ze.dateTime,
3389
+ if (ee.length === 0)
3390
+ return this.error(T.EXPECT_DATE_TIME_SKELETON, H);
3391
+ var ce = ee;
3392
+ this.locale && (ce = zi(ee, this.locale));
3393
+ var p = {
3394
+ type: Je.dateTime,
3395
3395
  pattern: ce,
3396
3396
  location: l.styleLocation,
3397
- parsedOptions: this.shouldParseSkeletons ? Fi(ce) : {}
3398
- }, ne = a === "date" ? R.date : R.time;
3397
+ parsedOptions: this.shouldParseSkeletons ? Ui(ce) : {}
3398
+ }, ne = a === "date" ? F.date : F.time;
3399
3399
  return {
3400
- val: { type: ne, value: n, location: H, style: m },
3400
+ val: { type: ne, value: n, location: H, style: p },
3401
3401
  err: null
3402
3402
  };
3403
3403
  }
3404
3404
  }
3405
3405
  return {
3406
3406
  val: {
3407
- type: a === "number" ? R.number : a === "date" ? R.date : R.time,
3407
+ type: a === "number" ? F.number : a === "date" ? F.date : F.time,
3408
3408
  value: n,
3409
3409
  location: H,
3410
3410
  style: (o = l?.style) !== null && o !== void 0 ? o : null
@@ -3415,52 +3415,52 @@ var so = (
3415
3415
  case "plural":
3416
3416
  case "selectordinal":
3417
3417
  case "select": {
3418
- var L = this.clonePosition();
3418
+ var N = this.clonePosition();
3419
3419
  if (this.bumpSpace(), !this.bumpIf(","))
3420
- return this.error(S.EXPECT_SELECT_ARGUMENT_OPTIONS, A(L, xt({}, L)));
3420
+ return this.error(T.EXPECT_SELECT_ARGUMENT_OPTIONS, A(N, St({}, N)));
3421
3421
  this.bumpSpace();
3422
- var $ = this.parseIdentifierIfPossible(), q = 0;
3422
+ var $ = this.parseIdentifierIfPossible(), W = 0;
3423
3423
  if (a !== "select" && $.value === "offset") {
3424
3424
  if (!this.bumpIf(":"))
3425
- return this.error(S.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, A(this.clonePosition(), this.clonePosition()));
3425
+ return this.error(T.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, A(this.clonePosition(), this.clonePosition()));
3426
3426
  this.bumpSpace();
3427
- var d = this.tryParseDecimalInteger(S.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, S.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3427
+ var d = this.tryParseDecimalInteger(T.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, T.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3428
3428
  if (d.err)
3429
3429
  return d;
3430
- this.bumpSpace(), $ = this.parseIdentifierIfPossible(), q = d.val;
3430
+ this.bumpSpace(), $ = this.parseIdentifierIfPossible(), W = d.val;
3431
3431
  }
3432
- var le = this.tryParsePluralOrSelectOptions(t, a, r, $);
3433
- if (le.err)
3434
- return le;
3432
+ var ue = this.tryParsePluralOrSelectOptions(t, a, r, $);
3433
+ if (ue.err)
3434
+ return ue;
3435
3435
  var C = this.tryParseArgumentClose(i);
3436
3436
  if (C.err)
3437
3437
  return C;
3438
- var be = A(i, this.clonePosition());
3438
+ var ge = A(i, this.clonePosition());
3439
3439
  return a === "select" ? {
3440
3440
  val: {
3441
- type: R.select,
3441
+ type: F.select,
3442
3442
  value: n,
3443
- options: Or(le.val),
3444
- location: be
3443
+ options: Cr(ue.val),
3444
+ location: ge
3445
3445
  },
3446
3446
  err: null
3447
3447
  } : {
3448
3448
  val: {
3449
- type: R.plural,
3449
+ type: F.plural,
3450
3450
  value: n,
3451
- options: Or(le.val),
3452
- offset: q,
3451
+ options: Cr(ue.val),
3452
+ offset: W,
3453
3453
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3454
- location: be
3454
+ location: ge
3455
3455
  },
3456
3456
  err: null
3457
3457
  };
3458
3458
  }
3459
3459
  default:
3460
- return this.error(S.INVALID_ARGUMENT_TYPE, A(s, f));
3460
+ return this.error(T.INVALID_ARGUMENT_TYPE, A(s, h));
3461
3461
  }
3462
3462
  }, e.prototype.tryParseArgumentClose = function(t) {
3463
- return this.isEOF() || this.char() !== 125 ? this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE, A(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3463
+ return this.isEOF() || this.char() !== 125 ? this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE, A(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3464
3464
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3465
3465
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3466
3466
  var n = this.char();
@@ -3469,7 +3469,7 @@ var so = (
3469
3469
  this.bump();
3470
3470
  var i = this.clonePosition();
3471
3471
  if (!this.bumpUntil("'"))
3472
- return this.error(S.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, A(i, this.clonePosition()));
3472
+ return this.error(T.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, A(i, this.clonePosition()));
3473
3473
  this.bump();
3474
3474
  break;
3475
3475
  }
@@ -3499,37 +3499,37 @@ var so = (
3499
3499
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3500
3500
  var n = [];
3501
3501
  try {
3502
- n = Gi(t);
3502
+ n = ji(t);
3503
3503
  } catch {
3504
- return this.error(S.INVALID_NUMBER_SKELETON, r);
3504
+ return this.error(T.INVALID_NUMBER_SKELETON, r);
3505
3505
  }
3506
3506
  return {
3507
3507
  val: {
3508
- type: ze.number,
3508
+ type: Je.number,
3509
3509
  tokens: n,
3510
3510
  location: r,
3511
- parsedOptions: this.shouldParseSkeletons ? Vi(n) : {}
3511
+ parsedOptions: this.shouldParseSkeletons ? Xi(n) : {}
3512
3512
  },
3513
3513
  err: null
3514
3514
  };
3515
3515
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3516
- for (var o, s = !1, a = [], f = /* @__PURE__ */ new Set(), l = i.value, c = i.location; ; ) {
3516
+ for (var o, s = !1, a = [], h = /* @__PURE__ */ new Set(), l = i.value, c = i.location; ; ) {
3517
3517
  if (l.length === 0) {
3518
3518
  var d = this.clonePosition();
3519
3519
  if (r !== "select" && this.bumpIf("=")) {
3520
- var m = this.tryParseDecimalInteger(S.EXPECT_PLURAL_ARGUMENT_SELECTOR, S.INVALID_PLURAL_ARGUMENT_SELECTOR);
3521
- if (m.err)
3522
- return m;
3520
+ var p = this.tryParseDecimalInteger(T.EXPECT_PLURAL_ARGUMENT_SELECTOR, T.INVALID_PLURAL_ARGUMENT_SELECTOR);
3521
+ if (p.err)
3522
+ return p;
3523
3523
  c = A(d, this.clonePosition()), l = this.message.slice(d.offset, this.offset());
3524
3524
  } else
3525
3525
  break;
3526
3526
  }
3527
- if (f.has(l))
3528
- return this.error(r === "select" ? S.DUPLICATE_SELECT_ARGUMENT_SELECTOR : S.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
3527
+ if (h.has(l))
3528
+ return this.error(r === "select" ? T.DUPLICATE_SELECT_ARGUMENT_SELECTOR : T.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
3529
3529
  l === "other" && (s = !0), this.bumpSpace();
3530
3530
  var _ = this.clonePosition();
3531
3531
  if (!this.bumpIf("{"))
3532
- return this.error(r === "select" ? S.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : S.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, A(this.clonePosition(), this.clonePosition()));
3532
+ return this.error(r === "select" ? T.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : T.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, A(this.clonePosition(), this.clonePosition()));
3533
3533
  var C = this.parseMessage(t + 1, r, n);
3534
3534
  if (C.err)
3535
3535
  return C;
@@ -3542,9 +3542,9 @@ var so = (
3542
3542
  value: C.val,
3543
3543
  location: A(_, this.clonePosition())
3544
3544
  }
3545
- ]), f.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, c = o.location;
3545
+ ]), h.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, c = o.location;
3546
3546
  }
3547
- return a.length === 0 ? this.error(r === "select" ? S.EXPECT_SELECT_ARGUMENT_SELECTOR : S.EXPECT_PLURAL_ARGUMENT_SELECTOR, A(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(S.MISSING_OTHER_CLAUSE, A(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3547
+ return a.length === 0 ? this.error(r === "select" ? T.EXPECT_SELECT_ARGUMENT_SELECTOR : T.EXPECT_PLURAL_ARGUMENT_SELECTOR, A(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(T.MISSING_OTHER_CLAUSE, A(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3548
3548
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3549
3549
  var n = 1, i = this.clonePosition();
3550
3550
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3555,8 +3555,8 @@ var so = (
3555
3555
  else
3556
3556
  break;
3557
3557
  }
3558
- 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);
3558
+ var h = A(i, this.clonePosition());
3559
+ return o ? (s *= n, no(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3560
3560
  }, e.prototype.offset = function() {
3561
3561
  return this.position.offset;
3562
3562
  }, e.prototype.isEOF = function() {
@@ -3571,7 +3571,7 @@ var so = (
3571
3571
  var t = this.position.offset;
3572
3572
  if (t >= this.message.length)
3573
3573
  throw Error("out of bound");
3574
- var r = dn(this.message, t);
3574
+ var r = pn(this.message, t);
3575
3575
  if (r === void 0)
3576
3576
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3577
3577
  return r;
@@ -3612,7 +3612,7 @@ var so = (
3612
3612
  break;
3613
3613
  }
3614
3614
  }, e.prototype.bumpSpace = function() {
3615
- for (; !this.isEOF() && mn(this.char()); )
3615
+ for (; !this.isEOF() && bn(this.char()); )
3616
3616
  this.bump();
3617
3617
  }, e.prototype.peek = function() {
3618
3618
  if (this.isEOF())
@@ -3622,47 +3622,47 @@ var so = (
3622
3622
  }, e;
3623
3623
  }()
3624
3624
  );
3625
- function ar(e) {
3625
+ function ur(e) {
3626
3626
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3627
3627
  }
3628
- function ao(e) {
3629
- return ar(e) || e === 47;
3630
- }
3631
3628
  function uo(e) {
3629
+ return ur(e) || e === 47;
3630
+ }
3631
+ function lo(e) {
3632
3632
  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
3633
  }
3634
- function mn(e) {
3634
+ function bn(e) {
3635
3635
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3636
3636
  }
3637
- function lo(e) {
3637
+ function ho(e) {
3638
3638
  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
3639
  }
3640
- function ur(e) {
3640
+ function lr(e) {
3641
3641
  e.forEach(function(t) {
3642
- if (delete t.location, on(t) || sn(t))
3642
+ if (delete t.location, sn(t) || an(t))
3643
3643
  for (var r in t.options)
3644
- delete t.options[r].location, ur(t.options[r].value);
3644
+ delete t.options[r].location, lr(t.options[r].value);
3645
3645
  else
3646
- tn(t) && un(t.style) || (rn(t) || nn(t)) && nr(t.style) ? delete t.style.location : an(t) && ur(t.children);
3646
+ rn(t) && ln(t.style) || (nn(t) || on(t)) && ir(t.style) ? delete t.style.location : un(t) && lr(t.children);
3647
3647
  });
3648
3648
  }
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();
3649
+ function fo(e, t) {
3650
+ t === void 0 && (t = {}), t = St({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3651
+ var r = new ao(e, t).parse();
3652
3652
  if (r.err) {
3653
- var n = SyntaxError(S[r.err.kind]);
3653
+ var n = SyntaxError(T[r.err.kind]);
3654
3654
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3655
3655
  }
3656
- return t?.captureLocation || ur(r.val), r.val;
3656
+ return t?.captureLocation || lr(r.val), r.val;
3657
3657
  }
3658
- var We;
3658
+ var Qe;
3659
3659
  (function(e) {
3660
3660
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3661
- })(We || (We = {}));
3662
- var Pt = (
3661
+ })(Qe || (Qe = {}));
3662
+ var Ct = (
3663
3663
  /** @class */
3664
3664
  function(e) {
3665
- Bt(t, e);
3665
+ Pt(t, e);
3666
3666
  function t(r, n, i) {
3667
3667
  var o = e.call(this, r) || this;
3668
3668
  return o.code = n, o.originalMessage = i, o;
@@ -3671,155 +3671,155 @@ var Pt = (
3671
3671
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3672
3672
  }, t;
3673
3673
  }(Error)
3674
- ), Ir = (
3674
+ ), Lr = (
3675
3675
  /** @class */
3676
3676
  function(e) {
3677
- Bt(t, e);
3677
+ Pt(t, e);
3678
3678
  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('", "'), '"'), We.INVALID_VALUE, o) || this;
3679
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Qe.INVALID_VALUE, o) || this;
3680
3680
  }
3681
3681
  return t;
3682
- }(Pt)
3683
- ), fo = (
3682
+ }(Ct)
3683
+ ), co = (
3684
3684
  /** @class */
3685
3685
  function(e) {
3686
- Bt(t, e);
3686
+ Pt(t, e);
3687
3687
  function t(r, n, i) {
3688
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), We.INVALID_VALUE, i) || this;
3688
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Qe.INVALID_VALUE, i) || this;
3689
3689
  }
3690
3690
  return t;
3691
- }(Pt)
3692
- ), co = (
3691
+ }(Ct)
3692
+ ), po = (
3693
3693
  /** @class */
3694
3694
  function(e) {
3695
- Bt(t, e);
3695
+ Pt(t, e);
3696
3696
  function t(r, n) {
3697
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), We.MISSING_VALUE, n) || this;
3697
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Qe.MISSING_VALUE, n) || this;
3698
3698
  }
3699
3699
  return t;
3700
- }(Pt)
3701
- ), Y;
3700
+ }(Ct)
3701
+ ), Q;
3702
3702
  (function(e) {
3703
3703
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3704
- })(Y || (Y = {}));
3705
- function po(e) {
3704
+ })(Q || (Q = {}));
3705
+ function mo(e) {
3706
3706
  return e.length < 2 ? e : e.reduce(function(t, r) {
3707
3707
  var n = t[t.length - 1];
3708
- return !n || n.type !== Y.literal || r.type !== Y.literal ? t.push(r) : n.value += r.value, t;
3708
+ return !n || n.type !== Q.literal || r.type !== Q.literal ? t.push(r) : n.value += r.value, t;
3709
3709
  }, []);
3710
3710
  }
3711
- function mo(e) {
3711
+ function bo(e) {
3712
3712
  return typeof e == "function";
3713
3713
  }
3714
- function Et(e, t, r, n, i, o, s) {
3715
- if (e.length === 1 && Sr(e[0]))
3714
+ function wt(e, t, r, n, i, o, s) {
3715
+ if (e.length === 1 && Ar(e[0]))
3716
3716
  return [
3717
3717
  {
3718
- type: Y.literal,
3718
+ type: Q.literal,
3719
3719
  value: e[0].value
3720
3720
  }
3721
3721
  ];
3722
- for (var a = [], f = 0, l = e; f < l.length; f++) {
3723
- var c = l[f];
3724
- if (Sr(c)) {
3722
+ for (var a = [], h = 0, l = e; h < l.length; h++) {
3723
+ var c = l[h];
3724
+ if (Ar(c)) {
3725
3725
  a.push({
3726
- type: Y.literal,
3726
+ type: Q.literal,
3727
3727
  value: c.value
3728
3728
  });
3729
3729
  continue;
3730
3730
  }
3731
- if (Ri(c)) {
3731
+ if (Di(c)) {
3732
3732
  typeof o == "number" && a.push({
3733
- type: Y.literal,
3733
+ type: Q.literal,
3734
3734
  value: r.getNumberFormat(t).format(o)
3735
3735
  });
3736
3736
  continue;
3737
3737
  }
3738
3738
  var d = c.value;
3739
3739
  if (!(i && d in i))
3740
- throw new co(d, s);
3741
- var m = i[d];
3742
- if (Mi(c)) {
3743
- (!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), a.push({
3744
- type: typeof m == "string" ? Y.literal : Y.object,
3745
- value: m
3740
+ throw new po(d, s);
3741
+ var p = i[d];
3742
+ if (Ri(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
3746
3746
  });
3747
3747
  continue;
3748
3748
  }
3749
- if (rn(c)) {
3750
- var _ = typeof c.style == "string" ? n.date[c.style] : nr(c.style) ? c.style.parsedOptions : void 0;
3749
+ if (nn(c)) {
3750
+ var _ = typeof c.style == "string" ? n.date[c.style] : ir(c.style) ? c.style.parsedOptions : void 0;
3751
3751
  a.push({
3752
- type: Y.literal,
3753
- value: r.getDateTimeFormat(t, _).format(m)
3752
+ type: Q.literal,
3753
+ value: r.getDateTimeFormat(t, _).format(p)
3754
3754
  });
3755
3755
  continue;
3756
3756
  }
3757
- if (nn(c)) {
3758
- var _ = typeof c.style == "string" ? n.time[c.style] : nr(c.style) ? c.style.parsedOptions : n.time.medium;
3757
+ if (on(c)) {
3758
+ var _ = typeof c.style == "string" ? n.time[c.style] : ir(c.style) ? c.style.parsedOptions : n.time.medium;
3759
3759
  a.push({
3760
- type: Y.literal,
3761
- value: r.getDateTimeFormat(t, _).format(m)
3760
+ type: Q.literal,
3761
+ value: r.getDateTimeFormat(t, _).format(p)
3762
3762
  });
3763
3763
  continue;
3764
3764
  }
3765
- if (tn(c)) {
3766
- var _ = typeof c.style == "string" ? n.number[c.style] : un(c.style) ? c.style.parsedOptions : void 0;
3767
- _ && _.scale && (m = m * (_.scale || 1)), a.push({
3768
- type: Y.literal,
3769
- value: r.getNumberFormat(t, _).format(m)
3765
+ if (rn(c)) {
3766
+ var _ = typeof c.style == "string" ? n.number[c.style] : ln(c.style) ? c.style.parsedOptions : void 0;
3767
+ _ && _.scale && (p = p * (_.scale || 1)), a.push({
3768
+ type: Q.literal,
3769
+ value: r.getNumberFormat(t, _).format(p)
3770
3770
  });
3771
3771
  continue;
3772
3772
  }
3773
- if (an(c)) {
3774
- var C = c.children, H = c.value, te = i[H];
3775
- if (!mo(te))
3776
- throw new fo(H, "function", s);
3777
- var ce = Et(C, t, r, n, i, o), ne = te(ce.map(function(q) {
3778
- return q.value;
3773
+ if (un(c)) {
3774
+ var C = c.children, H = c.value, ee = i[H];
3775
+ if (!bo(ee))
3776
+ throw new co(H, "function", s);
3777
+ var ce = wt(C, t, r, n, i, o), ne = ee(ce.map(function(W) {
3778
+ return W.value;
3779
3779
  }));
3780
- Array.isArray(ne) || (ne = [ne]), a.push.apply(a, ne.map(function(q) {
3780
+ Array.isArray(ne) || (ne = [ne]), a.push.apply(a, ne.map(function(W) {
3781
3781
  return {
3782
- type: typeof q == "string" ? Y.literal : Y.object,
3783
- value: q
3782
+ type: typeof W == "string" ? Q.literal : Q.object,
3783
+ value: W
3784
3784
  };
3785
3785
  }));
3786
3786
  }
3787
- if (on(c)) {
3788
- var L = c.options[m] || c.options.other;
3789
- if (!L)
3790
- throw new Ir(c.value, m, Object.keys(c.options), s);
3791
- a.push.apply(a, Et(L.value, t, r, n, i));
3787
+ if (sn(c)) {
3788
+ var N = c.options[p] || c.options.other;
3789
+ if (!N)
3790
+ throw new Lr(c.value, p, Object.keys(c.options), s);
3791
+ a.push.apply(a, wt(N.value, t, r, n, i));
3792
3792
  continue;
3793
3793
  }
3794
- if (sn(c)) {
3795
- var L = c.options["=".concat(m)];
3796
- if (!L) {
3794
+ if (an(c)) {
3795
+ var N = c.options["=".concat(p)];
3796
+ if (!N) {
3797
3797
  if (!Intl.PluralRules)
3798
- throw new Pt(`Intl.PluralRules is not available in this environment.
3798
+ throw new Ct(`Intl.PluralRules is not available in this environment.
3799
3799
  Try polyfilling it using "@formatjs/intl-pluralrules"
3800
- `, We.MISSING_INTL_API, s);
3801
- var $ = r.getPluralRules(t, { type: c.pluralType }).select(m - (c.offset || 0));
3802
- L = c.options[$] || c.options.other;
3800
+ `, Qe.MISSING_INTL_API, s);
3801
+ var $ = r.getPluralRules(t, { type: c.pluralType }).select(p - (c.offset || 0));
3802
+ N = c.options[$] || c.options.other;
3803
3803
  }
3804
- if (!L)
3805
- throw new Ir(c.value, m, Object.keys(c.options), s);
3806
- a.push.apply(a, Et(L.value, t, r, n, i, m - (c.offset || 0)));
3804
+ if (!N)
3805
+ throw new Lr(c.value, p, Object.keys(c.options), s);
3806
+ a.push.apply(a, wt(N.value, t, r, n, i, p - (c.offset || 0)));
3807
3807
  continue;
3808
3808
  }
3809
3809
  }
3810
- return po(a);
3810
+ return mo(a);
3811
3811
  }
3812
- function bo(e, t) {
3813
- return t ? ve(ve(ve({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3814
- return r[n] = ve(ve({}, e[n]), t[n] || {}), r;
3812
+ function go(e, t) {
3813
+ return t ? Ee(Ee(Ee({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3814
+ return r[n] = Ee(Ee({}, e[n]), t[n] || {}), r;
3815
3815
  }, {})) : e;
3816
3816
  }
3817
- function go(e, t) {
3817
+ function vo(e, t) {
3818
3818
  return t ? Object.keys(e).reduce(function(r, n) {
3819
- return r[n] = bo(e[n], t[n]), r;
3820
- }, ve({}, e)) : e;
3819
+ return r[n] = go(e[n], t[n]), r;
3820
+ }, Ee({}, e)) : e;
3821
3821
  }
3822
- function $t(e) {
3822
+ function kt(e) {
3823
3823
  return {
3824
3824
  create: function() {
3825
3825
  return {
@@ -3833,39 +3833,39 @@ function $t(e) {
3833
3833
  }
3834
3834
  };
3835
3835
  }
3836
- function vo(e) {
3836
+ function yo(e) {
3837
3837
  return e === void 0 && (e = {
3838
3838
  number: {},
3839
3839
  dateTime: {},
3840
3840
  pluralRules: {}
3841
3841
  }), {
3842
- getNumberFormat: Ut(function() {
3842
+ getNumberFormat: Gt(function() {
3843
3843
  for (var t, r = [], n = 0; n < arguments.length; n++)
3844
3844
  r[n] = arguments[n];
3845
- return new ((t = Intl.NumberFormat).bind.apply(t, Ft([void 0], r, !1)))();
3845
+ return new ((t = Intl.NumberFormat).bind.apply(t, Ut([void 0], r, !1)))();
3846
3846
  }, {
3847
- cache: $t(e.number),
3848
- strategy: Gt.variadic
3847
+ cache: kt(e.number),
3848
+ strategy: jt.variadic
3849
3849
  }),
3850
- getDateTimeFormat: Ut(function() {
3850
+ getDateTimeFormat: Gt(function() {
3851
3851
  for (var t, r = [], n = 0; n < arguments.length; n++)
3852
3852
  r[n] = arguments[n];
3853
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Ft([void 0], r, !1)))();
3853
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Ut([void 0], r, !1)))();
3854
3854
  }, {
3855
- cache: $t(e.dateTime),
3856
- strategy: Gt.variadic
3855
+ cache: kt(e.dateTime),
3856
+ strategy: jt.variadic
3857
3857
  }),
3858
- getPluralRules: Ut(function() {
3858
+ getPluralRules: Gt(function() {
3859
3859
  for (var t, r = [], n = 0; n < arguments.length; n++)
3860
3860
  r[n] = arguments[n];
3861
- return new ((t = Intl.PluralRules).bind.apply(t, Ft([void 0], r, !1)))();
3861
+ return new ((t = Intl.PluralRules).bind.apply(t, Ut([void 0], r, !1)))();
3862
3862
  }, {
3863
- cache: $t(e.pluralRules),
3864
- strategy: Gt.variadic
3863
+ cache: kt(e.pluralRules),
3864
+ strategy: jt.variadic
3865
3865
  })
3866
3866
  };
3867
3867
  }
3868
- var yo = (
3868
+ var Eo = (
3869
3869
  /** @class */
3870
3870
  function() {
3871
3871
  function e(t, r, n, i) {
@@ -3875,20 +3875,20 @@ var yo = (
3875
3875
  number: {},
3876
3876
  dateTime: {},
3877
3877
  pluralRules: {}
3878
- }, this.format = function(f) {
3879
- var l = o.formatToParts(f);
3878
+ }, this.format = function(h) {
3879
+ var l = o.formatToParts(h);
3880
3880
  if (l.length === 1)
3881
3881
  return l[0].value;
3882
- var c = l.reduce(function(d, m) {
3883
- return !d.length || m.type !== Y.literal || typeof d[d.length - 1] != "string" ? d.push(m.value) : d[d.length - 1] += m.value, d;
3882
+ var c = l.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;
3884
3884
  }, []);
3885
3885
  return c.length <= 1 ? c[0] || "" : c;
3886
- }, this.formatToParts = function(f) {
3887
- return Et(o.ast, o.locales, o.formatters, o.formats, f, void 0, o.message);
3886
+ }, this.formatToParts = function(h) {
3887
+ return wt(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3888
3888
  }, this.resolvedOptions = function() {
3889
- var f;
3889
+ var h;
3890
3890
  return {
3891
- locale: ((f = o.resolvedLocale) === null || f === void 0 ? void 0 : f.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
3891
+ locale: ((h = o.resolvedLocale) === null || h === void 0 ? void 0 : h.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
3892
3892
  };
3893
3893
  }, this.getAst = function() {
3894
3894
  return o.ast;
@@ -3897,13 +3897,13 @@ var yo = (
3897
3897
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3898
3898
  var s = i || {};
3899
3899
  s.formatters;
3900
- var a = Hi(s, ["formatters"]);
3901
- this.ast = e.__parse(t, ve(ve({}, a), { locale: this.resolvedLocale }));
3900
+ var a = Bi(s, ["formatters"]);
3901
+ this.ast = e.__parse(t, Ee(Ee({}, a), { locale: this.resolvedLocale }));
3902
3902
  } else
3903
3903
  this.ast = t;
3904
3904
  if (!Array.isArray(this.ast))
3905
3905
  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);
3906
+ this.formats = vo(e.formats, n), this.formatters = i && i.formatters || yo(this.formatterCache);
3907
3907
  }
3908
3908
  return Object.defineProperty(e, "defaultLocale", {
3909
3909
  get: function() {
@@ -3916,7 +3916,7 @@ var yo = (
3916
3916
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3917
3917
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3918
3918
  }
3919
- }, e.__parse = ho, e.formats = {
3919
+ }, e.__parse = fo, e.formats = {
3920
3920
  number: {
3921
3921
  integer: {
3922
3922
  maximumFractionDigits: 0
@@ -3977,7 +3977,7 @@ var yo = (
3977
3977
  }, e;
3978
3978
  }()
3979
3979
  );
3980
- function Eo(e, t) {
3980
+ function _o(e, t) {
3981
3981
  if (t == null)
3982
3982
  return;
3983
3983
  if (t in e)
@@ -3998,92 +3998,92 @@ function Eo(e, t) {
3998
3998
  n = void 0;
3999
3999
  return n;
4000
4000
  }
4001
- const Ae = {}, _o = (e, t, r) => r && (t in Ae || (Ae[t] = {}), e in Ae[t] || (Ae[t][e] = r), r), bn = (e, t) => {
4001
+ const He = {}, wo = (e, t, r) => r && (t in He || (He[t] = {}), e in He[t] || (He[t][e] = r), r), gn = (e, t) => {
4002
4002
  if (t == null)
4003
4003
  return;
4004
- if (t in Ae && e in Ae[t])
4005
- return Ae[t][e];
4006
- const r = Ot(t);
4004
+ if (t in He && e in He[t])
4005
+ return He[t][e];
4006
+ const r = It(t);
4007
4007
  for (let n = 0; n < r.length; n++) {
4008
- const i = r[n], o = wo(i, e);
4008
+ const i = r[n], o = So(i, e);
4009
4009
  if (o)
4010
- return _o(e, t, o);
4010
+ return wo(e, t, o);
4011
4011
  }
4012
4012
  };
4013
- let cr;
4014
- const Je = Ht({});
4013
+ let dr;
4014
+ const et = Ot({});
4015
4015
  function xo(e) {
4016
- return cr[e] || null;
4016
+ return dr[e] || null;
4017
4017
  }
4018
- function gn(e) {
4019
- return e in cr;
4018
+ function vn(e) {
4019
+ return e in dr;
4020
4020
  }
4021
- function wo(e, t) {
4022
- if (!gn(e))
4021
+ function So(e, t) {
4022
+ if (!vn(e))
4023
4023
  return null;
4024
4024
  const r = xo(e);
4025
- return Eo(r, t);
4025
+ return _o(r, t);
4026
4026
  }
4027
4027
  function To(e) {
4028
4028
  if (e == null)
4029
4029
  return;
4030
- const t = Ot(e);
4030
+ const t = It(e);
4031
4031
  for (let r = 0; r < t.length; r++) {
4032
4032
  const n = t[r];
4033
- if (gn(n))
4033
+ if (vn(n))
4034
4034
  return n;
4035
4035
  }
4036
4036
  }
4037
- function vn(e, ...t) {
4038
- delete Ae[e], Je.update((r) => (r[e] = Ai.all([r[e] || {}, ...t]), r));
4037
+ function yn(e, ...t) {
4038
+ delete He[e], et.update((r) => (r[e] = Hi.all([r[e] || {}, ...t]), r));
4039
4039
  }
4040
- Ze(
4041
- [Je],
4040
+ Ke(
4041
+ [et],
4042
4042
  ([e]) => Object.keys(e)
4043
4043
  );
4044
- Je.subscribe((e) => cr = e);
4045
- const _t = {};
4046
- function So(e, t) {
4047
- _t[e].delete(t), _t[e].size === 0 && delete _t[e];
4044
+ et.subscribe((e) => dr = e);
4045
+ const xt = {};
4046
+ function Ao(e, t) {
4047
+ xt[e].delete(t), xt[e].size === 0 && delete xt[e];
4048
4048
  }
4049
- function yn(e) {
4050
- return _t[e];
4049
+ function En(e) {
4050
+ return xt[e];
4051
4051
  }
4052
- function Ao(e) {
4053
- return Ot(e).map((t) => {
4054
- const r = yn(t);
4052
+ function Ho(e) {
4053
+ return It(e).map((t) => {
4054
+ const r = En(t);
4055
4055
  return [t, r ? [...r] : []];
4056
4056
  }).filter(([, t]) => t.length > 0);
4057
4057
  }
4058
- function lr(e) {
4059
- return e == null ? !1 : Ot(e).some(
4058
+ function hr(e) {
4059
+ return e == null ? !1 : It(e).some(
4060
4060
  (t) => {
4061
4061
  var r;
4062
- return (r = yn(t)) == null ? void 0 : r.size;
4062
+ return (r = En(t)) == null ? void 0 : r.size;
4063
4063
  }
4064
4064
  );
4065
4065
  }
4066
- function Ho(e, t) {
4066
+ function Bo(e, t) {
4067
4067
  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 it = {};
4072
- function En(e) {
4073
- if (!lr(e))
4074
- return e in it ? it[e] : Promise.resolve();
4075
- const t = Ao(e);
4076
- return it[e] = Promise.all(
4068
+ t.map((n) => (Ao(e, n), n().then((i) => i.default || i)))
4069
+ ).then((n) => yn(e, ...n));
4070
+ }
4071
+ const st = {};
4072
+ function _n(e) {
4073
+ if (!hr(e))
4074
+ return e in st ? st[e] : Promise.resolve();
4075
+ const t = Ho(e);
4076
+ return st[e] = Promise.all(
4077
4077
  t.map(
4078
- ([r, n]) => Ho(r, n)
4078
+ ([r, n]) => Bo(r, n)
4079
4079
  )
4080
4080
  ).then(() => {
4081
- if (lr(e))
4082
- return En(e);
4083
- delete it[e];
4084
- }), it[e];
4081
+ if (hr(e))
4082
+ return _n(e);
4083
+ delete st[e];
4084
+ }), st[e];
4085
4085
  }
4086
- const Bo = {
4086
+ const Oo = {
4087
4087
  number: {
4088
4088
  scientific: { notation: "scientific" },
4089
4089
  engineering: { notation: "engineering" },
@@ -4115,147 +4115,147 @@ const Bo = {
4115
4115
  }, Po = {
4116
4116
  fallbackLocale: null,
4117
4117
  loadingDelay: 200,
4118
- formats: Bo,
4118
+ formats: Oo,
4119
4119
  warnOnMissingMessages: !0,
4120
4120
  handleMissingMessage: void 0,
4121
4121
  ignoreTag: !0
4122
- }, Oo = Po;
4123
- function qe() {
4124
- return Oo;
4122
+ }, Co = Po;
4123
+ function Ye() {
4124
+ return Co;
4125
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) => {
4126
+ const Vt = Ot(!1);
4127
+ var Io = Object.defineProperty, Lo = Object.defineProperties, No = Object.getOwnPropertyDescriptors, Nr = Object.getOwnPropertySymbols, Mo = Object.prototype.hasOwnProperty, Ro = Object.prototype.propertyIsEnumerable, Mr = (e, t, r) => t in e ? Io(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Do = (e, t) => {
4128
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]);
4129
+ Mo.call(t, r) && Mr(e, r, t[r]);
4130
+ if (Nr)
4131
+ for (var r of Nr(t))
4132
+ Ro.call(t, r) && Mr(e, r, t[r]);
4133
4133
  return e;
4134
- }, Do = (e, t) => Io(e, Lo(t));
4135
- let hr;
4136
- const wt = Ht(null);
4137
- function Mr(e) {
4134
+ }, Fo = (e, t) => Lo(e, No(t));
4135
+ let fr;
4136
+ const Tt = Ot(null);
4137
+ function Rr(e) {
4138
4138
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4139
4139
  }
4140
- function Ot(e, t = qe().fallbackLocale) {
4141
- const r = Mr(e);
4142
- return t ? [.../* @__PURE__ */ new Set([...r, ...Mr(t)])] : r;
4140
+ function It(e, t = Ye().fallbackLocale) {
4141
+ const r = Rr(e);
4142
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Rr(t)])] : r;
4143
4143
  }
4144
- function Ie() {
4145
- return hr ?? void 0;
4144
+ function Le() {
4145
+ return fr ?? void 0;
4146
4146
  }
4147
- wt.subscribe((e) => {
4148
- hr = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4147
+ Tt.subscribe((e) => {
4148
+ fr = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4149
4149
  });
4150
- const Fo = (e) => {
4151
- if (e && To(e) && lr(e)) {
4152
- const { loadingDelay: t } = qe();
4150
+ const Uo = (e) => {
4151
+ if (e && To(e) && hr(e)) {
4152
+ const { loadingDelay: t } = Ye();
4153
4153
  let r;
4154
- return typeof window < "u" && Ie() != null && t ? r = window.setTimeout(
4155
- () => kt.set(!0),
4154
+ return typeof window < "u" && Le() != null && t ? r = window.setTimeout(
4155
+ () => Vt.set(!0),
4156
4156
  t
4157
- ) : kt.set(!0), En(e).then(() => {
4158
- wt.set(e);
4157
+ ) : Vt.set(!0), _n(e).then(() => {
4158
+ Tt.set(e);
4159
4159
  }).finally(() => {
4160
- clearTimeout(r), kt.set(!1);
4160
+ clearTimeout(r), Vt.set(!1);
4161
4161
  });
4162
4162
  }
4163
- return wt.set(e);
4164
- }, Be = Do(Ro({}, wt), {
4165
- set: Fo
4166
- }), Ct = (e) => {
4163
+ return Tt.set(e);
4164
+ }, Oe = Fo(Do({}, Tt), {
4165
+ set: Uo
4166
+ }), Lt = (e) => {
4167
4167
  const t = /* @__PURE__ */ Object.create(null);
4168
4168
  return (n) => {
4169
4169
  const i = JSON.stringify(n);
4170
4170
  return i in t ? t[i] : t[i] = e(n);
4171
4171
  };
4172
4172
  };
4173
- var Uo = Object.defineProperty, Tt = Object.getOwnPropertySymbols, _n = 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) => {
4173
+ var Go = Object.defineProperty, At = Object.getOwnPropertySymbols, wn = Object.prototype.hasOwnProperty, xn = Object.prototype.propertyIsEnumerable, Dr = (e, t, r) => t in e ? Go(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, pr = (e, t) => {
4174
4174
  for (var r in t || (t = {}))
4175
- _n.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]);
4175
+ wn.call(t, r) && Dr(e, r, t[r]);
4176
+ if (At)
4177
+ for (var r of At(t))
4178
+ xn.call(t, r) && Dr(e, r, t[r]);
4179
4179
  return e;
4180
- }, Qe = (e, t) => {
4180
+ }, tt = (e, t) => {
4181
4181
  var r = {};
4182
4182
  for (var n in e)
4183
- _n.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4184
- if (e != null && Tt)
4185
- for (var n of Tt(e))
4183
+ wn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4184
+ if (e != null && At)
4185
+ for (var n of At(e))
4186
4186
  t.indexOf(n) < 0 && xn.call(e, n) && (r[n] = e[n]);
4187
4187
  return r;
4188
4188
  };
4189
- const ut = (e, t) => {
4190
- const { formats: r } = qe();
4189
+ const ht = (e, t) => {
4190
+ const { formats: r } = Ye();
4191
4191
  if (e in r && t in r[e])
4192
4192
  return r[e][t];
4193
4193
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4194
- }, Go = Ct(
4194
+ }, jo = Lt(
4195
4195
  (e) => {
4196
- var t = e, { locale: r, format: n } = t, i = Qe(t, ["locale", "format"]);
4196
+ var t = e, { locale: r, format: n } = t, i = tt(t, ["locale", "format"]);
4197
4197
  if (r == null)
4198
4198
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4199
- return n && (i = ut("number", n)), new Intl.NumberFormat(r, i);
4199
+ return n && (i = ht("number", n)), new Intl.NumberFormat(r, i);
4200
4200
  }
4201
- ), jo = Ct(
4201
+ ), $o = Lt(
4202
4202
  (e) => {
4203
- var t = e, { locale: r, format: n } = t, i = Qe(t, ["locale", "format"]);
4203
+ var t = e, { locale: r, format: n } = t, i = tt(t, ["locale", "format"]);
4204
4204
  if (r == null)
4205
4205
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4206
- return n ? i = ut("date", n) : Object.keys(i).length === 0 && (i = ut("date", "short")), new Intl.DateTimeFormat(r, i);
4206
+ return n ? i = ht("date", n) : Object.keys(i).length === 0 && (i = ht("date", "short")), new Intl.DateTimeFormat(r, i);
4207
4207
  }
4208
- ), $o = Ct(
4208
+ ), ko = Lt(
4209
4209
  (e) => {
4210
- var t = e, { locale: r, format: n } = t, i = Qe(t, ["locale", "format"]);
4210
+ var t = e, { locale: r, format: n } = t, i = tt(t, ["locale", "format"]);
4211
4211
  if (r == null)
4212
4212
  throw new Error(
4213
4213
  '[svelte-i18n] A "locale" must be set to format time values'
4214
4214
  );
4215
- return n ? i = ut("time", n) : Object.keys(i).length === 0 && (i = ut("time", "short")), new Intl.DateTimeFormat(r, i);
4215
+ return n ? i = ht("time", n) : Object.keys(i).length === 0 && (i = ht("time", "short")), new Intl.DateTimeFormat(r, i);
4216
4216
  }
4217
- ), ko = (e = {}) => {
4217
+ ), Vo = (e = {}) => {
4218
4218
  var t = e, {
4219
- locale: r = Ie()
4220
- } = t, n = Qe(t, [
4219
+ locale: r = Le()
4220
+ } = t, n = tt(t, [
4221
4221
  "locale"
4222
4222
  ]);
4223
- return Go(dr({ locale: r }, n));
4224
- }, Vo = (e = {}) => {
4223
+ return jo(pr({ locale: r }, n));
4224
+ }, Xo = (e = {}) => {
4225
4225
  var t = e, {
4226
- locale: r = Ie()
4227
- } = t, n = Qe(t, [
4226
+ locale: r = Le()
4227
+ } = t, n = tt(t, [
4228
4228
  "locale"
4229
4229
  ]);
4230
- return jo(dr({ locale: r }, n));
4231
- }, Xo = (e = {}) => {
4230
+ return $o(pr({ locale: r }, n));
4231
+ }, zo = (e = {}) => {
4232
4232
  var t = e, {
4233
- locale: r = Ie()
4234
- } = t, n = Qe(t, [
4233
+ locale: r = Le()
4234
+ } = t, n = tt(t, [
4235
4235
  "locale"
4236
4236
  ]);
4237
- return $o(dr({ locale: r }, n));
4238
- }, zo = Ct(
4237
+ return ko(pr({ locale: r }, n));
4238
+ }, Wo = Lt(
4239
4239
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4240
- (e, t = Ie()) => new yo(e, t, qe().formats, {
4241
- ignoreTag: qe().ignoreTag
4240
+ (e, t = Le()) => new Eo(e, t, Ye().formats, {
4241
+ ignoreTag: Ye().ignoreTag
4242
4242
  })
4243
- ), Wo = (e, t = {}) => {
4243
+ ), qo = (e, t = {}) => {
4244
4244
  var r, n, i, o;
4245
4245
  let s = t;
4246
4246
  typeof e == "object" && (s = e, e = s.id);
4247
4247
  const {
4248
4248
  values: a,
4249
- locale: f = Ie(),
4249
+ locale: h = Le(),
4250
4250
  default: l
4251
4251
  } = s;
4252
- if (f == null)
4252
+ if (h == null)
4253
4253
  throw new Error(
4254
4254
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4255
4255
  );
4256
- let c = bn(e, f);
4256
+ let c = gn(e, h);
4257
4257
  if (!c)
4258
- c = (o = (i = (n = (r = qe()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: f, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4258
+ c = (o = (i = (n = (r = Ye()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4259
4259
  else if (typeof c != "string")
4260
4260
  return console.warn(
4261
4261
  `[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,34 +4264,34 @@ const ut = (e, t) => {
4264
4264
  return c;
4265
4265
  let d = c;
4266
4266
  try {
4267
- d = zo(c, f).format(a);
4268
- } catch (m) {
4269
- m instanceof Error && console.warn(
4267
+ d = Wo(c, h).format(a);
4268
+ } catch (p) {
4269
+ p instanceof Error && console.warn(
4270
4270
  `[svelte-i18n] Message "${e}" has syntax error:`,
4271
- m.message
4271
+ p.message
4272
4272
  );
4273
4273
  }
4274
4274
  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 = Ie()) => bn(e, t), Yo = Ze([Be, Je], () => Wo);
4276
- Ze([Be], () => qo);
4277
- Ze([Be], () => Zo);
4278
- Ze([Be], () => Jo);
4279
- Ze([Be, Je], () => Qo);
4280
- window.emWidgets = { topic: ui };
4281
- const Ss = (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";
4275
+ }, Zo = (e, t) => zo(t).format(e), Jo = (e, t) => Xo(t).format(e), Qo = (e, t) => Vo(t).format(e), Yo = (e, t = Le()) => gn(e, t), Ko = Ke([Oe, et], () => qo);
4276
+ Ke([Oe], () => Zo);
4277
+ Ke([Oe], () => Jo);
4278
+ Ke([Oe], () => Qo);
4279
+ Ke([Oe, et], () => Yo);
4280
+ window.emWidgets = { topic: li };
4281
+ const Bs = (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)), es = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4282
4282
  String(Number.MAX_SAFE_INTEGER).length;
4283
- function es({ withLocale: e, translations: t }) {
4284
- Be.subscribe((r) => {
4285
- r == null && (Je.set(t), Be.set(e));
4283
+ function ts({ withLocale: e, translations: t }) {
4284
+ Oe.subscribe((r) => {
4285
+ r == null && (et.set(t), Oe.set(e));
4286
4286
  });
4287
4287
  }
4288
- function Vt(e, t) {
4289
- vn(e, t);
4288
+ function Xt(e, t) {
4289
+ yn(e, t);
4290
4290
  }
4291
- function Dr(e) {
4292
- Be.set(e);
4291
+ function Fr(e) {
4292
+ Oe.set(e);
4293
4293
  }
4294
- const Fr = {
4294
+ const Ur = {
4295
4295
  en: {
4296
4296
  500: "500 - Internal server error",
4297
4297
  showMore: "Show more",
@@ -4370,7 +4370,7 @@ const Fr = {
4370
4370
  fetchError: "An error has occurred when fetching the tournaments"
4371
4371
  }
4372
4372
  };
4373
- var fr = { exports: {} };
4373
+ var cr = { exports: {} };
4374
4374
  /** @license
4375
4375
  * eventsource.js
4376
4376
  * Available under MIT License (MIT)
@@ -4378,7 +4378,7 @@ var fr = { exports: {} };
4378
4378
  */
4379
4379
  (function(e, t) {
4380
4380
  (function(r) {
4381
- var n = r.setTimeout, i = r.clearTimeout, o = r.XMLHttpRequest, s = r.XDomainRequest, a = r.ActiveXObject, f = r.EventSource, l = r.document, c = r.Promise, d = r.fetch, m = r.Response, _ = r.TextDecoder, C = r.TextEncoder, H = r.AbortController;
4381
+ var n = r.setTimeout, i = r.clearTimeout, o = r.XMLHttpRequest, s = r.XDomainRequest, a = r.ActiveXObject, h = r.EventSource, l = r.document, c = r.Promise, d = r.fetch, p = r.Response, _ = r.TextDecoder, C = r.TextEncoder, H = r.AbortController;
4382
4382
  if (typeof window < "u" && typeof l < "u" && !("readyState" in l) && l.body == null && (l.readyState = "loading", window.addEventListener("load", function(u) {
4383
4383
  l.readyState = "complete";
4384
4384
  }, !1)), o == null && a != null && (o = function() {
@@ -4390,15 +4390,15 @@ var fr = { exports: {} };
4390
4390
  }), Date.now || (Date.now = function() {
4391
4391
  return (/* @__PURE__ */ new Date()).getTime();
4392
4392
  }), H == null) {
4393
- var te = d;
4393
+ var ee = d;
4394
4394
  d = function(u, b) {
4395
4395
  var g = b.signal;
4396
- return te(u, { headers: b.headers, credentials: b.credentials, cache: b.cache }).then(function(p) {
4397
- var y = p.body.getReader();
4396
+ return ee(u, { headers: b.headers, credentials: b.credentials, cache: b.cache }).then(function(m) {
4397
+ var y = m.body.getReader();
4398
4398
  return g._reader = y, g._aborted && g._reader.cancel(), {
4399
- status: p.status,
4400
- statusText: p.statusText,
4401
- headers: p.headers,
4399
+ status: m.status,
4400
+ statusText: m.statusText,
4401
+ headers: m.headers,
4402
4402
  body: {
4403
4403
  getReader: function() {
4404
4404
  return y;
@@ -4419,29 +4419,29 @@ var fr = { exports: {} };
4419
4419
  this.bitsNeeded = 0, this.codePoint = 0;
4420
4420
  }
4421
4421
  ce.prototype.decode = function(u) {
4422
- function b(B, I, E) {
4422
+ function b(O, I, E) {
4423
4423
  if (E === 1)
4424
- return B >= 128 >> I && B << I <= 2047;
4424
+ return O >= 128 >> I && O << I <= 2047;
4425
4425
  if (E === 2)
4426
- return B >= 2048 >> I && B << I <= 55295 || B >= 57344 >> I && B << I <= 65535;
4426
+ return O >= 2048 >> I && O << I <= 55295 || O >= 57344 >> I && O << I <= 65535;
4427
4427
  if (E === 3)
4428
- return B >= 65536 >> I && B << I <= 1114111;
4428
+ return O >= 65536 >> I && O << I <= 1114111;
4429
4429
  throw new Error();
4430
4430
  }
4431
- function g(B, I) {
4432
- if (B === 6 * 1)
4431
+ function g(O, I) {
4432
+ if (O === 6 * 1)
4433
4433
  return I >> 6 > 15 ? 3 : I > 31 ? 2 : 1;
4434
- if (B === 6 * 2)
4434
+ if (O === 6 * 2)
4435
4435
  return I > 15 ? 3 : 2;
4436
- if (B === 6 * 3)
4436
+ if (O === 6 * 3)
4437
4437
  return 3;
4438
4438
  throw new Error();
4439
4439
  }
4440
- for (var p = 65533, y = "", v = this.bitsNeeded, w = this.codePoint, N = 0; N < u.length; N += 1) {
4441
- var T = u[N];
4442
- v !== 0 && (T < 128 || T > 191 || !b(w << 6 | T & 63, v - 6, g(v, w))) && (v = 0, w = p, 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 = p), v !== 0 && !b(w, v, g(v, w)) && (v = 0, w = p)) : (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))));
4440
+ for (var m = 65533, y = "", v = this.bitsNeeded, x = this.codePoint, M = 0; M < u.length; M += 1) {
4441
+ var S = u[M];
4442
+ v !== 0 && (S < 128 || S > 191 || !b(x << 6 | S & 63, v - 6, g(v, x))) && (v = 0, x = m, y += String.fromCharCode(x)), v === 0 ? (S >= 0 && S <= 127 ? (v = 0, x = S) : S >= 192 && S <= 223 ? (v = 6 * 1, x = S & 31) : S >= 224 && S <= 239 ? (v = 6 * 2, x = S & 15) : S >= 240 && S <= 247 ? (v = 6 * 3, x = S & 7) : (v = 0, x = m), v !== 0 && !b(x, v, g(v, x)) && (v = 0, x = m)) : (v -= 6, x = x << 6 | S & 63), v === 0 && (x <= 65535 ? y += String.fromCharCode(x) : (y += String.fromCharCode(55296 + (x - 65535 - 1 >> 10)), y += String.fromCharCode(56320 + (x - 65535 - 1 & 1023))));
4443
4443
  }
4444
- return this.bitsNeeded = v, this.codePoint = w, y;
4444
+ return this.bitsNeeded = v, this.codePoint = x, y;
4445
4445
  };
4446
4446
  var ne = function() {
4447
4447
  try {
@@ -4452,70 +4452,70 @@ var fr = { exports: {} };
4452
4452
  return !1;
4453
4453
  };
4454
4454
  (_ == null || C == null || !ne()) && (_ = ce);
4455
- var L = function() {
4455
+ var N = function() {
4456
4456
  };
4457
4457
  function $(u) {
4458
- 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 = u, this._sendTimeout = 0, this._abort = L;
4458
+ this.withCredentials = !1, this.readyState = 0, this.status = 0, this.statusText = "", this.responseText = "", this.onprogress = N, this.onload = N, this.onerror = N, this.onreadystatechange = N, this._contentType = "", this._xhr = u, this._sendTimeout = 0, this._abort = N;
4459
4459
  }
4460
4460
  $.prototype.open = function(u, b) {
4461
4461
  this._abort(!0);
4462
- var g = this, p = this._xhr, y = 1, v = 0;
4462
+ var g = this, m = this._xhr, y = 1, v = 0;
4463
4463
  this._abort = function(E) {
4464
- g._sendTimeout !== 0 && (i(g._sendTimeout), g._sendTimeout = 0), (y === 1 || y === 2 || y === 3) && (y = 4, p.onload = L, p.onerror = L, p.onabort = L, p.onprogress = L, p.onreadystatechange = L, p.abort(), v !== 0 && (i(v), v = 0), E || (g.readyState = 4, g.onabort(null), g.onreadystatechange())), y = 0;
4464
+ g._sendTimeout !== 0 && (i(g._sendTimeout), g._sendTimeout = 0), (y === 1 || y === 2 || y === 3) && (y = 4, m.onload = N, m.onerror = N, m.onabort = N, m.onprogress = N, m.onreadystatechange = N, m.abort(), v !== 0 && (i(v), v = 0), E || (g.readyState = 4, g.onabort(null), g.onreadystatechange())), y = 0;
4465
4465
  };
4466
- var w = function() {
4466
+ var x = function() {
4467
4467
  if (y === 1) {
4468
- var E = 0, h = "", P = void 0;
4469
- if ("contentType" in p)
4470
- E = 200, h = "OK", P = p.contentType;
4468
+ var E = 0, R = "", f = void 0;
4469
+ if ("contentType" in m)
4470
+ E = 200, R = "OK", f = m.contentType;
4471
4471
  else
4472
4472
  try {
4473
- E = p.status, h = p.statusText, P = p.getResponseHeader("Content-Type");
4473
+ E = m.status, R = m.statusText, f = m.getResponseHeader("Content-Type");
4474
4474
  } catch {
4475
- E = 0, h = "", P = void 0;
4475
+ E = 0, R = "", f = void 0;
4476
4476
  }
4477
- E !== 0 && (y = 2, g.readyState = 2, g.status = E, g.statusText = h, g._contentType = P, g.onreadystatechange());
4477
+ E !== 0 && (y = 2, g.readyState = 2, g.status = E, g.statusText = R, g._contentType = f, g.onreadystatechange());
4478
4478
  }
4479
- }, N = function() {
4480
- if (w(), y === 2 || y === 3) {
4479
+ }, M = function() {
4480
+ if (x(), y === 2 || y === 3) {
4481
4481
  y = 3;
4482
4482
  var E = "";
4483
4483
  try {
4484
- E = p.responseText;
4484
+ E = m.responseText;
4485
4485
  } catch {
4486
4486
  }
4487
4487
  g.readyState = 3, g.responseText = E, g.onprogress();
4488
4488
  }
4489
- }, T = function(E, h) {
4490
- if ((h == null || h.preventDefault == null) && (h = {
4491
- preventDefault: L
4492
- }), N(), y === 1 || y === 2 || y === 3) {
4489
+ }, S = function(E, R) {
4490
+ if ((R == null || R.preventDefault == null) && (R = {
4491
+ preventDefault: N
4492
+ }), M(), y === 1 || y === 2 || y === 3) {
4493
4493
  if (y = 4, v !== 0 && (i(v), v = 0), g.readyState = 4, E === "load")
4494
- g.onload(h);
4494
+ g.onload(R);
4495
4495
  else if (E === "error")
4496
- g.onerror(h);
4496
+ g.onerror(R);
4497
4497
  else if (E === "abort")
4498
- g.onabort(h);
4498
+ g.onabort(R);
4499
4499
  else
4500
4500
  throw new TypeError();
4501
4501
  g.onreadystatechange();
4502
4502
  }
4503
- }, B = function(E) {
4504
- p != null && (p.readyState === 4 ? (!("onload" in p) || !("onerror" in p) || !("onabort" in p)) && T(p.responseText === "" ? "error" : "load", E) : p.readyState === 3 ? "onprogress" in p || N() : p.readyState === 2 && w());
4503
+ }, O = function(E) {
4504
+ m != null && (m.readyState === 4 ? (!("onload" in m) || !("onerror" in m) || !("onabort" in m)) && S(m.responseText === "" ? "error" : "load", E) : m.readyState === 3 ? "onprogress" in m || M() : m.readyState === 2 && x());
4505
4505
  }, I = function() {
4506
4506
  v = n(function() {
4507
4507
  I();
4508
- }, 500), p.readyState === 3 && N();
4508
+ }, 500), m.readyState === 3 && M();
4509
4509
  };
4510
- "onload" in p && (p.onload = function(E) {
4511
- T("load", E);
4512
- }), "onerror" in p && (p.onerror = function(E) {
4513
- T("error", E);
4514
- }), "onabort" in p && (p.onabort = function(E) {
4515
- T("abort", E);
4516
- }), "onprogress" in p && (p.onprogress = N), "onreadystatechange" in p && (p.onreadystatechange = function(E) {
4517
- B(E);
4518
- }), ("contentType" in p || !("ontimeout" in o.prototype)) && (b += (b.indexOf("?") === -1 ? "?" : "&") + "padding=true"), p.open(u, b, !0), "readyState" in p && (v = n(function() {
4510
+ "onload" in m && (m.onload = function(E) {
4511
+ S("load", E);
4512
+ }), "onerror" in m && (m.onerror = function(E) {
4513
+ S("error", E);
4514
+ }), "onabort" in m && (m.onabort = function(E) {
4515
+ S("abort", E);
4516
+ }), "onprogress" in m && (m.onprogress = M), "onreadystatechange" in m && (m.onreadystatechange = function(E) {
4517
+ O(E);
4518
+ }), ("contentType" in m || !("ontimeout" in o.prototype)) && (b += (b.indexOf("?") === -1 ? "?" : "&") + "padding=true"), m.open(u, b, !0), "readyState" in m && (v = n(function() {
4519
4519
  I();
4520
4520
  }, 0));
4521
4521
  }, $.prototype.abort = function() {
@@ -4543,286 +4543,287 @@ var fr = { exports: {} };
4543
4543
  throw g;
4544
4544
  }
4545
4545
  };
4546
- function q(u) {
4546
+ function W(u) {
4547
4547
  return u.replace(/[A-Z]/g, function(b) {
4548
4548
  return String.fromCharCode(b.charCodeAt(0) + 32);
4549
4549
  });
4550
4550
  }
4551
- function le(u) {
4551
+ function ue(u) {
4552
4552
  for (var b = /* @__PURE__ */ Object.create(null), g = u.split(`\r
4553
- `), p = 0; p < g.length; p += 1) {
4554
- var y = g[p], v = y.split(": "), w = v.shift(), N = v.join(": ");
4555
- b[q(w)] = N;
4553
+ `), m = 0; m < g.length; m += 1) {
4554
+ var y = g[m], v = y.split(": "), x = v.shift(), M = v.join(": ");
4555
+ b[W(x)] = M;
4556
4556
  }
4557
4557
  this._map = b;
4558
4558
  }
4559
- le.prototype.get = function(u) {
4560
- return this._map[q(u)];
4559
+ ue.prototype.get = function(u) {
4560
+ return this._map[W(u)];
4561
4561
  }, o != null && o.HEADERS_RECEIVED == null && (o.HEADERS_RECEIVED = 2);
4562
- function be() {
4562
+ function ge() {
4563
4563
  }
4564
- be.prototype.open = function(u, b, g, p, y, v, w) {
4564
+ ge.prototype.open = function(u, b, g, m, y, v, x) {
4565
4565
  u.open("GET", y);
4566
- var N = 0;
4566
+ var M = 0;
4567
4567
  u.onprogress = function() {
4568
- var B = u.responseText, I = B.slice(N);
4569
- N += I.length, g(I);
4570
- }, u.onerror = function(B) {
4571
- B.preventDefault(), p(new Error("NetworkError"));
4568
+ var O = u.responseText, I = O.slice(M);
4569
+ M += I.length, g(I);
4570
+ }, u.onerror = function(O) {
4571
+ O.preventDefault(), m(new Error("NetworkError"));
4572
4572
  }, u.onload = function() {
4573
- p(null);
4573
+ m(null);
4574
4574
  }, u.onabort = function() {
4575
- p(null);
4575
+ m(null);
4576
4576
  }, u.onreadystatechange = function() {
4577
4577
  if (u.readyState === o.HEADERS_RECEIVED) {
4578
- var B = u.status, I = u.statusText, E = u.getResponseHeader("Content-Type"), h = u.getAllResponseHeaders();
4579
- b(B, I, E, new le(h));
4578
+ var O = u.status, I = u.statusText, E = u.getResponseHeader("Content-Type"), R = u.getAllResponseHeaders();
4579
+ b(O, I, E, new ue(R));
4580
4580
  }
4581
4581
  }, u.withCredentials = v;
4582
- for (var T in w)
4583
- Object.prototype.hasOwnProperty.call(w, T) && u.setRequestHeader(T, w[T]);
4582
+ for (var S in x)
4583
+ Object.prototype.hasOwnProperty.call(x, S) && u.setRequestHeader(S, x[S]);
4584
4584
  return u.send(), u;
4585
4585
  };
4586
- function Le(u) {
4586
+ function Ne(u) {
4587
4587
  this._headers = u;
4588
4588
  }
4589
- Le.prototype.get = function(u) {
4589
+ Ne.prototype.get = function(u) {
4590
4590
  return this._headers.get(u);
4591
4591
  };
4592
- function Ne() {
4592
+ function Me() {
4593
4593
  }
4594
- Ne.prototype.open = function(u, b, g, p, y, v, w) {
4595
- var N = null, T = new H(), B = T.signal, I = new _();
4594
+ Me.prototype.open = function(u, b, g, m, y, v, x) {
4595
+ var M = null, S = new H(), O = S.signal, I = new _();
4596
4596
  return d(y, {
4597
- headers: w,
4597
+ headers: x,
4598
4598
  credentials: v ? "include" : "same-origin",
4599
- signal: B,
4599
+ signal: O,
4600
4600
  cache: "no-store"
4601
4601
  }).then(function(E) {
4602
- return N = E.body.getReader(), b(E.status, E.statusText, E.headers.get("Content-Type"), new Le(E.headers)), new c(function(h, P) {
4603
- var D = function() {
4604
- N.read().then(function(O) {
4605
- if (O.done)
4606
- h(void 0);
4602
+ return M = E.body.getReader(), b(E.status, E.statusText, E.headers.get("Content-Type"), new Ne(E.headers)), new c(function(R, f) {
4603
+ var L = function() {
4604
+ M.read().then(function(P) {
4605
+ if (P.done)
4606
+ R(void 0);
4607
4607
  else {
4608
- var k = I.decode(O.value, { stream: !0 });
4609
- g(k), D();
4608
+ var B = I.decode(P.value, { stream: !0 });
4609
+ g(B), L();
4610
4610
  }
4611
- }).catch(function(O) {
4612
- P(O);
4611
+ }).catch(function(P) {
4612
+ f(P);
4613
4613
  });
4614
4614
  };
4615
- D();
4615
+ L();
4616
4616
  });
4617
4617
  }).catch(function(E) {
4618
4618
  if (E.name !== "AbortError")
4619
4619
  return E;
4620
4620
  }).then(function(E) {
4621
- p(E);
4621
+ m(E);
4622
4622
  }), {
4623
4623
  abort: function() {
4624
- N?.cancel(), T.abort();
4624
+ M?.cancel(), S.abort();
4625
4625
  }
4626
4626
  };
4627
4627
  };
4628
- function ye() {
4628
+ function _e() {
4629
4629
  this._listeners = /* @__PURE__ */ Object.create(null);
4630
4630
  }
4631
- function Me(u) {
4631
+ function Re(u) {
4632
4632
  n(function() {
4633
4633
  throw u;
4634
4634
  }, 0);
4635
4635
  }
4636
- ye.prototype.dispatchEvent = function(u) {
4636
+ _e.prototype.dispatchEvent = function(u) {
4637
4637
  u.target = this;
4638
4638
  var b = this._listeners[u.type];
4639
4639
  if (b != null)
4640
- for (var g = b.length, p = 0; p < g; p += 1) {
4641
- var y = b[p];
4640
+ for (var g = b.length, m = 0; m < g; m += 1) {
4641
+ var y = b[m];
4642
4642
  try {
4643
4643
  typeof y.handleEvent == "function" ? y.handleEvent(u) : y.call(this, u);
4644
4644
  } catch (v) {
4645
- Me(v);
4645
+ Re(v);
4646
4646
  }
4647
4647
  }
4648
- }, ye.prototype.addEventListener = function(u, b) {
4648
+ }, _e.prototype.addEventListener = function(u, b) {
4649
4649
  u = String(u);
4650
- var g = this._listeners, p = g[u];
4651
- p == null && (p = [], g[u] = p);
4652
- for (var y = !1, v = 0; v < p.length; v += 1)
4653
- p[v] === b && (y = !0);
4654
- y || p.push(b);
4655
- }, ye.prototype.removeEventListener = function(u, b) {
4650
+ var g = this._listeners, m = g[u];
4651
+ m == null && (m = [], g[u] = m);
4652
+ for (var y = !1, v = 0; v < m.length; v += 1)
4653
+ m[v] === b && (y = !0);
4654
+ y || m.push(b);
4655
+ }, _e.prototype.removeEventListener = function(u, b) {
4656
4656
  u = String(u);
4657
- var g = this._listeners, p = g[u];
4658
- if (p != null) {
4659
- for (var y = [], v = 0; v < p.length; v += 1)
4660
- p[v] !== b && y.push(p[v]);
4657
+ var g = this._listeners, m = g[u];
4658
+ if (m != null) {
4659
+ for (var y = [], v = 0; v < m.length; v += 1)
4660
+ m[v] !== b && y.push(m[v]);
4661
4661
  y.length === 0 ? delete g[u] : g[u] = y;
4662
4662
  }
4663
4663
  };
4664
4664
  function de(u) {
4665
4665
  this.type = u, this.target = void 0;
4666
4666
  }
4667
- function ge(u, b) {
4667
+ function ve(u, b) {
4668
4668
  de.call(this, u), this.data = b.data, this.lastEventId = b.lastEventId;
4669
4669
  }
4670
- ge.prototype = Object.create(de.prototype);
4671
- function Ye(u, b) {
4670
+ ve.prototype = Object.create(de.prototype);
4671
+ function rt(u, b) {
4672
4672
  de.call(this, u), this.status = b.status, this.statusText = b.statusText, this.headers = b.headers;
4673
4673
  }
4674
- Ye.prototype = Object.create(de.prototype);
4675
- function Re(u, b) {
4674
+ rt.prototype = Object.create(de.prototype);
4675
+ function De(u, b) {
4676
4676
  de.call(this, u), this.error = b.error;
4677
4677
  }
4678
- Re.prototype = Object.create(de.prototype);
4679
- var De = -1, he = 0, pe = 1, Z = 2, Ee = -1, ie = 0, oe = 1, Pe = 2, Oe = 3, ft = /^text\/event\-stream(;.*)?$/i, me = 1e3, Ke = 18e6, Fe = function(u, b) {
4678
+ De.prototype = Object.create(de.prototype);
4679
+ var Fe = -1, le = 0, pe = 1, q = 2, nt = -1, te = 0, Te = 1, he = 2, Ue = 3, Pe = /^text\/event\-stream(;.*)?$/i, dt = 1e3, me = 18e6, Ce = function(u, b) {
4680
4680
  var g = u == null ? b : parseInt(u, 10);
4681
- return g !== g && (g = b), et(g);
4682
- }, et = function(u) {
4683
- return Math.min(Math.max(u, me), Ke);
4684
- }, Te = function(u, b, g) {
4681
+ return g !== g && (g = b), Ge(g);
4682
+ }, Ge = function(u) {
4683
+ return Math.min(Math.max(u, dt), me);
4684
+ }, Ae = function(u, b, g) {
4685
4685
  try {
4686
4686
  typeof b == "function" && b.call(u, g);
4687
- } catch (p) {
4688
- Me(p);
4687
+ } catch (m) {
4688
+ Re(m);
4689
4689
  }
4690
4690
  };
4691
- function re(u, b) {
4692
- ye.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, u, b);
4691
+ function ie(u, b) {
4692
+ _e.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, it(this, u, b);
4693
4693
  }
4694
- function It() {
4694
+ function pt() {
4695
4695
  return o != null && "withCredentials" in o.prototype || s == null ? new o() : new s();
4696
4696
  }
4697
- var tt = d != null && m != null && "body" in m.prototype;
4698
- function Lt(u, b, g) {
4697
+ var Nt = d != null && p != null && "body" in p.prototype;
4698
+ function it(u, b, g) {
4699
4699
  b = String(b);
4700
- var p = !!g.withCredentials, y = g.lastEventIdQueryParameterName || "lastEventId", v = et(1e3), w = Fe(g.heartbeatTimeout, 45e3), N = "", T = v, B = !1, I = 0, E = g.headers || {}, h = g.Transport, P = tt && h == null ? void 0 : new $(h != null ? new h() : It()), D = h != null && typeof h != "string" ? new h() : P == null ? new Ne() : new be(), O = void 0, k = 0, W = De, Se = "", rt = "", G = "", dt = "", J = ie, Nt = 0, Ce = 0, wn = function(V, j, se, ae) {
4701
- if (W === he)
4702
- if (V === 200 && se != null && ft.test(se)) {
4703
- W = pe, B = Date.now(), T = v, u.readyState = pe;
4704
- var Q = new Ye("open", {
4705
- status: V,
4700
+ var m = !!g.withCredentials, y = g.lastEventIdQueryParameterName || "lastEventId", v = Ge(1e3), x = Ce(g.heartbeatTimeout, 45e3), M = "", S = v, O = !1, I = 0, E = g.headers || {}, R = g.Transport, f = Nt && R == null ? void 0 : new $(R != null ? new R() : pt()), L = R != null && typeof R != "string" ? new R() : f == null ? new Me() : new ge(), P = void 0, B = 0, re = Fe, be = "", je = "", ye = "", z = "", Z = te, Mt = 0, Ie = 0, Sn = function(k, j, oe, se) {
4701
+ if (re === le)
4702
+ if (k === 200 && oe != null && Pe.test(oe)) {
4703
+ re = pe, O = Date.now(), S = v, u.readyState = pe;
4704
+ var J = new rt("open", {
4705
+ status: k,
4706
4706
  statusText: j,
4707
- headers: ae
4707
+ headers: se
4708
4708
  });
4709
- u.dispatchEvent(Q), Te(u, u.onopen, Q);
4709
+ u.dispatchEvent(J), Ae(u, u.onopen, J);
4710
4710
  } else {
4711
- var z = "";
4712
- V !== 200 ? (j && (j = j.replace(/\s+/g, " ")), z = "EventSource's response has a status " + V + " " + j + " that is not 200. Aborting the connection.") : z = "EventSource's response has a Content-Type specifying an unsupported type: " + (se == null ? "-" : se.replace(/\s+/g, " ")) + ". Aborting the connection.", Mt();
4713
- var Q = new Ye("error", {
4714
- status: V,
4711
+ var X = "";
4712
+ k !== 200 ? (j && (j = j.replace(/\s+/g, " ")), X = "EventSource's response has a status " + k + " " + j + " that is not 200. Aborting the connection.") : X = "EventSource's response has a Content-Type specifying an unsupported type: " + (oe == null ? "-" : oe.replace(/\s+/g, " ")) + ". Aborting the connection.", Rt();
4713
+ var J = new rt("error", {
4714
+ status: k,
4715
4715
  statusText: j,
4716
- headers: ae
4716
+ headers: se
4717
4717
  });
4718
- u.dispatchEvent(Q), Te(u, u.onerror, Q), console.error(z);
4718
+ u.dispatchEvent(J), Ae(u, u.onerror, J), console.error(X);
4719
4719
  }
4720
- }, Tn = function(V) {
4721
- if (W === pe) {
4722
- for (var j = -1, se = 0; se < V.length; se += 1) {
4723
- var ae = V.charCodeAt(se);
4724
- (ae === 10 || ae === 13) && (j = se);
4720
+ }, Tn = function(k) {
4721
+ if (re === pe) {
4722
+ for (var j = -1, oe = 0; oe < k.length; oe += 1) {
4723
+ var se = k.charCodeAt(oe);
4724
+ (se === 10 || se === 13) && (j = oe);
4725
4725
  }
4726
- var Q = (j !== -1 ? dt : "") + V.slice(0, j + 1);
4727
- dt = (j === -1 ? dt : "") + V.slice(j + 1), V !== "" && (B = Date.now(), I += V.length);
4728
- for (var z = 0; z < Q.length; z += 1) {
4729
- var ae = Q.charCodeAt(z);
4730
- if (J === Ee && ae === 10)
4731
- J = ie;
4732
- else if (J === Ee && (J = ie), ae === 13 || ae === 10) {
4733
- if (J !== ie) {
4734
- J === oe && (Ce = z + 1);
4735
- var _e = Q.slice(Nt, Ce - 1), xe = Q.slice(Ce + (Ce < z && Q.charCodeAt(Ce) === 32 ? 1 : 0), z);
4736
- _e === "data" ? (Se += `
4737
- `, Se += xe) : _e === "id" ? rt = xe : _e === "event" ? G = xe : _e === "retry" ? (v = Fe(xe, v), T = v) : _e === "heartbeatTimeout" && (w = Fe(xe, w), k !== 0 && (i(k), k = n(function() {
4738
- nt();
4739
- }, w)));
4726
+ var J = (j !== -1 ? z : "") + k.slice(0, j + 1);
4727
+ z = (j === -1 ? z : "") + k.slice(j + 1), k !== "" && (O = Date.now(), I += k.length);
4728
+ for (var X = 0; X < J.length; X += 1) {
4729
+ var se = J.charCodeAt(X);
4730
+ if (Z === nt && se === 10)
4731
+ Z = te;
4732
+ else if (Z === nt && (Z = te), se === 13 || se === 10) {
4733
+ if (Z !== te) {
4734
+ Z === Te && (Ie = X + 1);
4735
+ var we = J.slice(Mt, Ie - 1), xe = J.slice(Ie + (Ie < X && J.charCodeAt(Ie) === 32 ? 1 : 0), X);
4736
+ we === "data" ? (be += `
4737
+ `, be += xe) : we === "id" ? je = xe : we === "event" ? ye = xe : we === "retry" ? (v = Ce(xe, v), S = v) : we === "heartbeatTimeout" && (x = Ce(xe, x), B !== 0 && (i(B), B = n(function() {
4738
+ ot();
4739
+ }, x)));
4740
4740
  }
4741
- if (J === ie) {
4742
- if (Se !== "") {
4743
- N = rt, G === "" && (G = "message");
4744
- var Ue = new ge(G, {
4745
- data: Se.slice(1),
4746
- lastEventId: rt
4741
+ if (Z === te) {
4742
+ if (be !== "") {
4743
+ M = je, ye === "" && (ye = "message");
4744
+ var $e = new ve(ye, {
4745
+ data: be.slice(1),
4746
+ lastEventId: je
4747
4747
  });
4748
- if (u.dispatchEvent(Ue), G === "open" ? Te(u, u.onopen, Ue) : G === "message" ? Te(u, u.onmessage, Ue) : G === "error" && Te(u, u.onerror, Ue), W === Z)
4748
+ if (u.dispatchEvent($e), ye === "open" ? Ae(u, u.onopen, $e) : ye === "message" ? Ae(u, u.onmessage, $e) : ye === "error" && Ae(u, u.onerror, $e), re === q)
4749
4749
  return;
4750
4750
  }
4751
- Se = "", G = "";
4751
+ be = "", ye = "";
4752
4752
  }
4753
- J = ae === 13 ? Ee : ie;
4753
+ Z = se === 13 ? nt : te;
4754
4754
  } else
4755
- J === ie && (Nt = z, J = oe), J === oe ? ae === 58 && (Ce = z + 1, J = Pe) : J === Pe && (J = Oe);
4755
+ Z === te && (Mt = X, Z = Te), Z === Te ? se === 58 && (Ie = X + 1, Z = he) : Z === he && (Z = Ue);
4756
4756
  }
4757
4757
  }
4758
- }, pr = function(V) {
4759
- if (W === pe || W === he) {
4760
- W = De, k !== 0 && (i(k), k = 0), k = n(function() {
4761
- nt();
4762
- }, T), T = et(Math.min(v * 16, T * 2)), u.readyState = he;
4763
- var j = new Re("error", { error: V });
4764
- u.dispatchEvent(j), Te(u, u.onerror, j), V != null && console.error(V);
4758
+ }, mr = function(k) {
4759
+ if (re === pe || re === le) {
4760
+ re = Fe, B !== 0 && (i(B), B = 0), B = n(function() {
4761
+ ot();
4762
+ }, S), S = Ge(Math.min(v * 16, S * 2)), u.readyState = le;
4763
+ var j = new De("error", { error: k });
4764
+ u.dispatchEvent(j), Ae(u, u.onerror, j), k != null && console.error(k);
4765
4765
  }
4766
- }, Mt = function() {
4767
- W = Z, O != null && (O.abort(), O = void 0), k !== 0 && (i(k), k = 0), u.readyState = Z;
4768
- }, nt = function() {
4769
- if (k = 0, W !== De) {
4770
- if (!B && O != null)
4771
- pr(new Error("No activity within " + w + " milliseconds. " + (W === he ? "No response received." : I + " chars received.") + " Reconnecting.")), O != null && (O.abort(), O = void 0);
4766
+ }, Rt = function() {
4767
+ re = q, P != null && (P.abort(), P = void 0), B !== 0 && (i(B), B = 0), u.readyState = q;
4768
+ }, ot = function() {
4769
+ if (B = 0, re !== Fe) {
4770
+ if (!O && P != null)
4771
+ mr(new Error("No activity within " + x + " milliseconds. " + (re === le ? "No response received." : I + " chars received.") + " Reconnecting.")), P != null && (P.abort(), P = void 0);
4772
4772
  else {
4773
- var V = Math.max((B || Date.now()) + w - Date.now(), 1);
4774
- B = !1, k = n(function() {
4775
- nt();
4776
- }, V);
4773
+ var k = Math.max((O || Date.now()) + x - Date.now(), 1);
4774
+ O = !1, B = n(function() {
4775
+ ot();
4776
+ }, k);
4777
4777
  }
4778
4778
  return;
4779
4779
  }
4780
- B = !1, I = 0, k = n(function() {
4781
- nt();
4782
- }, w), W = he, Se = "", G = "", rt = N, dt = "", Nt = 0, Ce = 0, J = ie;
4780
+ O = !1, I = 0, B = n(function() {
4781
+ ot();
4782
+ }, x), re = le, be = "", ye = "", je = M, z = "", Mt = 0, Ie = 0, Z = te;
4783
4783
  var j = b;
4784
- if (b.slice(0, 5) !== "data:" && b.slice(0, 5) !== "blob:" && N !== "") {
4785
- var se = b.indexOf("?");
4786
- j = se === -1 ? b : b.slice(0, se + 1) + b.slice(se + 1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g, function(xe, Ue) {
4787
- return Ue === y ? "" : xe;
4788
- }), j += (b.indexOf("?") === -1 ? "?" : "&") + y + "=" + encodeURIComponent(N);
4784
+ if (b.slice(0, 5) !== "data:" && b.slice(0, 5) !== "blob:" && M !== "") {
4785
+ var oe = b.indexOf("?");
4786
+ j = oe === -1 ? b : b.slice(0, oe + 1) + b.slice(oe + 1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g, function(xe, $e) {
4787
+ return $e === y ? "" : xe;
4788
+ }), j += (b.indexOf("?") === -1 ? "?" : "&") + y + "=" + encodeURIComponent(M);
4789
4789
  }
4790
- var ae = u.withCredentials, Q = {};
4791
- Q.Accept = "text/event-stream";
4792
- var z = u.headers;
4793
- if (z != null)
4794
- for (var _e in z)
4795
- Object.prototype.hasOwnProperty.call(z, _e) && (Q[_e] = z[_e]);
4790
+ var se = u.withCredentials, J = {};
4791
+ J.Accept = "text/event-stream";
4792
+ var X = u.headers;
4793
+ if (X != null)
4794
+ for (var we in X)
4795
+ Object.prototype.hasOwnProperty.call(X, we) && (J[we] = X[we]);
4796
4796
  try {
4797
- O = D.open(P, wn, Tn, pr, j, ae, Q);
4797
+ P = L.open(f, Sn, Tn, mr, j, se, J);
4798
4798
  } catch (xe) {
4799
- throw Mt(), xe;
4799
+ throw Rt(), xe;
4800
4800
  }
4801
4801
  };
4802
- u.url = b, u.readyState = he, u.withCredentials = p, u.headers = E, u._close = Mt, nt();
4802
+ u.url = b, u.readyState = le, u.withCredentials = m, u.headers = E, u._close = Rt, ot();
4803
4803
  }
4804
- re.prototype = Object.create(ye.prototype), re.prototype.CONNECTING = he, re.prototype.OPEN = pe, re.prototype.CLOSED = Z, re.prototype.close = function() {
4804
+ ie.prototype = Object.create(_e.prototype), ie.prototype.CONNECTING = le, ie.prototype.OPEN = pe, ie.prototype.CLOSED = q, ie.prototype.close = function() {
4805
4805
  this._close();
4806
- }, re.CONNECTING = he, re.OPEN = pe, re.CLOSED = Z, re.prototype.withCredentials = void 0;
4807
- var ct = f;
4808
- o != null && (f == null || !("withCredentials" in f.prototype)) && (ct = re), function(u) {
4806
+ }, ie.CONNECTING = le, ie.OPEN = pe, ie.CLOSED = q, ie.prototype.withCredentials = void 0;
4807
+ var mt = h;
4808
+ o != null && (h == null || !("withCredentials" in h.prototype)) && (mt = ie), function(u) {
4809
4809
  {
4810
4810
  var b = u(t);
4811
4811
  b !== void 0 && (e.exports = b);
4812
4812
  }
4813
4813
  }(function(u) {
4814
- u.EventSourcePolyfill = re, u.NativeEventSource = f, u.EventSource = ct;
4814
+ u.EventSourcePolyfill = ie, u.NativeEventSource = h, u.EventSource = mt;
4815
4815
  });
4816
- })(typeof globalThis > "u" ? typeof window < "u" ? window : typeof self < "u" ? self : hi : globalThis);
4817
- })(fr, fr.exports);
4818
- var ts = fr.exports;
4819
- function rs(e, t) {
4816
+ })(typeof globalThis > "u" ? typeof window < "u" ? window : typeof self < "u" ? self : fi : globalThis);
4817
+ })(cr, cr.exports);
4818
+ var rs = cr.exports;
4819
+ const ze = "__WIDGET_GLOBAL_STYLE_CACHE__";
4820
+ function ns(e, t) {
4820
4821
  if (e) {
4821
4822
  const r = document.createElement("style");
4822
4823
  r.innerHTML = t, e.appendChild(r);
4823
4824
  }
4824
4825
  }
4825
- function ns(e, t) {
4826
+ function is(e, t) {
4826
4827
  if (!e || !t)
4827
4828
  return;
4828
4829
  const r = new URL(t);
@@ -4833,13 +4834,40 @@ function ns(e, t) {
4833
4834
  console.error("There was an error while trying to load client styling from URL", n);
4834
4835
  });
4835
4836
  }
4836
- function is(e, t, r) {
4837
- if (window.emMessageBus) {
4838
- const n = document.createElement("style");
4839
- window.emMessageBus.subscribe(t, (i) => {
4840
- n.innerHTML = i, e && e.appendChild(n);
4837
+ function os(e, t, r, n = !1) {
4838
+ if (!window.emMessageBus)
4839
+ return;
4840
+ if (!("adoptedStyleSheets" in Document.prototype) || !n)
4841
+ return r = ss(e, t), r;
4842
+ window[ze] || (window[ze] = {}), r = as(e, t);
4843
+ const o = r.unsubscribe.bind(r), s = () => {
4844
+ if (window[ze][t]) {
4845
+ const a = window[ze][t];
4846
+ a.refCount > 1 ? a.refCount = a.refCount - 1 : delete window[ze][t];
4847
+ }
4848
+ o();
4849
+ };
4850
+ return r.unsubscribe = s, r;
4851
+ }
4852
+ function ss(e, t) {
4853
+ const r = document.createElement("style");
4854
+ return window.emMessageBus.subscribe(t, (n) => {
4855
+ e && (r.innerHTML = n, e.appendChild(r));
4856
+ });
4857
+ }
4858
+ function as(e, t) {
4859
+ return window.emMessageBus.subscribe(t, (r) => {
4860
+ if (!e)
4861
+ return;
4862
+ const n = e.getRootNode(), i = window[ze];
4863
+ let o = i[t]?.sheet;
4864
+ o ? i[t].refCount = i[t].refCount + 1 : (o = new CSSStyleSheet(), o.replaceSync(r), i[t] = {
4865
+ sheet: o,
4866
+ refCount: 1
4841
4867
  });
4842
- }
4868
+ const s = n.adoptedStyleSheets || [];
4869
+ s.includes(o) || (n.adoptedStyleSheets = [...s, o]);
4870
+ });
4843
4871
  }
4844
4872
  if (typeof window < "u") {
4845
4873
  let e = function(t) {
@@ -4853,7 +4881,7 @@ if (typeof window < "u") {
4853
4881
  }
4854
4882
  };
4855
4883
  };
4856
- customElements.define = e(customElements.define), import("./CasinoTournamentsFilterController-CQQlddU7.js").then(({ default: t }) => {
4884
+ customElements.define = e(customElements.define), import("./CasinoTournamentsFilterController-ByO79eyB.js").then(({ default: t }) => {
4857
4885
  !customElements.get("casino-tournaments-filter-controller") && customElements.define("casino-tournaments-filter-controller", t.element);
4858
4886
  });
4859
4887
  }
@@ -4869,135 +4897,135 @@ if (typeof window < "u") {
4869
4897
  }
4870
4898
  };
4871
4899
  };
4872
- customElements.define = e(customElements.define), import("./CasinoTournamentsListController-B44Sd_Xd.js").then(({ default: t }) => {
4900
+ customElements.define = e(customElements.define), import("./CasinoTournamentsListController-CYyjAv5V.js").then(({ default: t }) => {
4873
4901
  !customElements.get("casino-tournaments-list-controller") && customElements.define("casino-tournaments-list-controller", t.element);
4874
4902
  });
4875
4903
  }
4876
- const Ur = (e) => e.length > 0 && e != "false";
4877
- function os(e) {
4878
- 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}");
4904
+ const Gr = (e) => e.length > 0 && e != "false";
4905
+ function us(e) {
4906
+ Bn(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}");
4879
4907
  }
4880
- function ss(e) {
4908
+ function ls(e) {
4881
4909
  let t, r, n, i, o, s, a = (
4882
4910
  /*filtersLoaded*/
4883
- e[21] && Gr(e)
4911
+ e[21] && jr(e)
4884
4912
  );
4885
- function f(m, _) {
4913
+ function h(p, _) {
4886
4914
  return (
4887
4915
  /*tournamentsNumber*/
4888
- m[22] == 0 ? ls : us
4916
+ p[22] == 0 ? cs : fs
4889
4917
  );
4890
4918
  }
4891
- let l = f(e), c = l(e), d = !/*allTournamentsShown*/
4892
- e[23] && jr(e);
4919
+ let l = h(e), c = l(e), d = !/*allTournamentsShown*/
4920
+ e[23] && $r(e);
4893
4921
  return {
4894
4922
  c() {
4895
- t = X("div"), r = X("div"), n = X("div"), a && a.c(), i = Xt(), o = X("div"), c.c(), s = Xt(), d && d.c(), U(n, "class", "FirstRow"), U(n, "part", "FirstRow"), U(o, "class", "SecondRow"), U(o, "part", "SecondRow"), U(r, "class", "Tournaments"), U(r, "part", "Tournaments"), U(t, "class", "TournamentsWrapper"), U(t, "part", "TournamentsWrapper");
4923
+ t = V("div"), r = V("div"), n = V("div"), a && a.c(), i = zt(), o = V("div"), c.c(), s = zt(), d && d.c(), G(n, "class", "FirstRow"), G(n, "part", "FirstRow"), G(o, "class", "SecondRow"), G(o, "part", "SecondRow"), G(r, "class", "Tournaments"), G(r, "part", "Tournaments"), G(t, "class", "TournamentsWrapper"), G(t, "part", "TournamentsWrapper");
4896
4924
  },
4897
- m(m, _) {
4898
- ue(m, t, _), K(t, r), K(r, n), a && a.m(n, null), K(r, i), K(r, o), c.m(o, null), K(r, s), d && d.m(r, null);
4925
+ m(p, _) {
4926
+ ae(p, t, _), Y(t, r), Y(r, n), a && a.m(n, null), Y(r, i), Y(r, o), c.m(o, null), Y(r, s), d && d.m(r, null);
4899
4927
  },
4900
- p(m, _) {
4928
+ p(p, _) {
4901
4929
  /*filtersLoaded*/
4902
- m[21] ? a ? a.p(m, _) : (a = Gr(m), a.c(), a.m(n, null)) : a && (a.d(1), a = null), l === (l = f(m)) && c ? c.p(m, _) : (c.d(1), c = l(m), c && (c.c(), c.m(o, null))), /*allTournamentsShown*/
4903
- m[23] ? d && (d.d(1), d = null) : d ? d.p(m, _) : (d = jr(m), d.c(), d.m(r, null));
4930
+ p[21] ? a ? a.p(p, _) : (a = jr(p), a.c(), a.m(n, null)) : a && (a.d(1), a = null), l === (l = h(p)) && c ? c.p(p, _) : (c.d(1), c = l(p), c && (c.c(), c.m(o, null))), /*allTournamentsShown*/
4931
+ p[23] ? d && (d.d(1), d = null) : d ? d.p(p, _) : (d = $r(p), d.c(), d.m(r, null));
4904
4932
  },
4905
- d(m) {
4906
- m && ee(t), a && a.d(), c.d(), d && d.d();
4933
+ d(p) {
4934
+ p && K(t), a && a.d(), c.d(), d && d.d();
4907
4935
  }
4908
4936
  };
4909
4937
  }
4910
- function as(e) {
4938
+ function hs(e) {
4911
4939
  let t, r = (
4912
4940
  /*$_*/
4913
4941
  e[24]("500") + ""
4914
4942
  ), n, i, o, s;
4915
4943
  return {
4916
4944
  c() {
4917
- t = X("p"), n = He(r), i = Xt(), o = X("p"), s = He(
4945
+ t = V("p"), n = Be(r), i = zt(), o = V("p"), s = Be(
4918
4946
  /*error*/
4919
4947
  e[19]
4920
4948
  );
4921
4949
  },
4922
- m(a, f) {
4923
- ue(a, t, f), K(t, n), ue(a, i, f), ue(a, o, f), K(o, s);
4950
+ m(a, h) {
4951
+ ae(a, t, h), Y(t, n), ae(a, i, h), ae(a, o, h), Y(o, s);
4924
4952
  },
4925
- p(a, f) {
4926
- f[0] & /*$_*/
4953
+ p(a, h) {
4954
+ h[0] & /*$_*/
4927
4955
  16777216 && r !== (r = /*$_*/
4928
- a[24]("500") + "") && Ve(n, r), f[0] & /*error*/
4929
- 524288 && Ve(
4956
+ a[24]("500") + "") && qe(n, r), h[0] & /*error*/
4957
+ 524288 && qe(
4930
4958
  s,
4931
4959
  /*error*/
4932
4960
  a[19]
4933
4961
  );
4934
4962
  },
4935
4963
  d(a) {
4936
- a && (ee(t), ee(i), ee(o));
4964
+ a && (K(t), K(i), K(o));
4937
4965
  }
4938
4966
  };
4939
4967
  }
4940
- function Gr(e) {
4968
+ function jr(e) {
4941
4969
  let t;
4942
4970
  return {
4943
4971
  c() {
4944
- t = X("casino-tournaments-filter-controller"), x(
4972
+ t = V("casino-tournaments-filter-controller"), w(
4945
4973
  t,
4946
4974
  "clientstyling",
4947
4975
  /*clientstyling*/
4948
4976
  e[13]
4949
- ), x(
4977
+ ), w(
4950
4978
  t,
4951
4979
  "clientstylingurl",
4952
4980
  /*clientstylingurl*/
4953
4981
  e[14]
4954
- ), x(
4982
+ ), w(
4955
4983
  t,
4956
4984
  "translationurl",
4957
4985
  /*translationurl*/
4958
4986
  e[4]
4959
- ), x(
4987
+ ), w(
4960
4988
  t,
4961
4989
  "mbsource",
4962
4990
  /*mbsource*/
4963
4991
  e[15]
4964
- ), x(t, "filters", ps), x(
4992
+ ), w(t, "filters", gs), w(
4965
4993
  t,
4966
4994
  "activefilters",
4967
4995
  /*filters*/
4968
4996
  e[6]
4969
- ), x(t, "exportparts", "FiltersController, MobileClass, Non-MobileClass/empty, Active, FilterButton, bi, bi-check, FiltersList, FiltersTitle, FiltersItem");
4997
+ ), w(t, "exportparts", "FiltersController, MobileClass, Non-MobileClass/empty, Active, FilterButton, bi, bi-check, FiltersList, FiltersTitle, FiltersItem");
4970
4998
  },
4971
4999
  m(r, n) {
4972
- ue(r, t, n);
5000
+ ae(r, t, n);
4973
5001
  },
4974
5002
  p(r, n) {
4975
5003
  n[0] & /*clientstyling*/
4976
- 8192 && x(
5004
+ 8192 && w(
4977
5005
  t,
4978
5006
  "clientstyling",
4979
5007
  /*clientstyling*/
4980
5008
  r[13]
4981
5009
  ), n[0] & /*clientstylingurl*/
4982
- 16384 && x(
5010
+ 16384 && w(
4983
5011
  t,
4984
5012
  "clientstylingurl",
4985
5013
  /*clientstylingurl*/
4986
5014
  r[14]
4987
5015
  ), n[0] & /*translationurl*/
4988
- 16 && x(
5016
+ 16 && w(
4989
5017
  t,
4990
5018
  "translationurl",
4991
5019
  /*translationurl*/
4992
5020
  r[4]
4993
5021
  ), n[0] & /*mbsource*/
4994
- 32768 && x(
5022
+ 32768 && w(
4995
5023
  t,
4996
5024
  "mbsource",
4997
5025
  /*mbsource*/
4998
5026
  r[15]
4999
5027
  ), n[0] & /*filters*/
5000
- 64 && x(
5028
+ 64 && w(
5001
5029
  t,
5002
5030
  "activefilters",
5003
5031
  /*filters*/
@@ -5005,184 +5033,184 @@ function Gr(e) {
5005
5033
  );
5006
5034
  },
5007
5035
  d(r) {
5008
- r && ee(t);
5036
+ r && K(t);
5009
5037
  }
5010
5038
  };
5011
5039
  }
5012
- function us(e) {
5040
+ function fs(e) {
5013
5041
  let t;
5014
5042
  return {
5015
5043
  c() {
5016
- t = X("casino-tournaments-list-controller"), x(
5044
+ t = V("casino-tournaments-list-controller"), w(
5017
5045
  t,
5018
5046
  "clientstyling",
5019
5047
  /*clientstyling*/
5020
5048
  e[13]
5021
- ), x(
5049
+ ), w(
5022
5050
  t,
5023
5051
  "clientstylingurl",
5024
5052
  /*clientstylingurl*/
5025
5053
  e[14]
5026
- ), x(
5054
+ ), w(
5027
5055
  t,
5028
5056
  "translationurl",
5029
5057
  /*translationurl*/
5030
5058
  e[4]
5031
- ), x(
5059
+ ), w(
5032
5060
  t,
5033
5061
  "userid",
5034
5062
  /*userid*/
5035
5063
  e[1]
5036
- ), x(
5064
+ ), w(
5037
5065
  t,
5038
5066
  "numberoftournaments",
5039
5067
  /*numberoftournaments*/
5040
5068
  e[5]
5041
- ), x(
5069
+ ), w(
5042
5070
  t,
5043
5071
  "loginurl",
5044
5072
  /*loginurl*/
5045
5073
  e[9]
5046
- ), x(
5074
+ ), w(
5047
5075
  t,
5048
5076
  "loginevent",
5049
5077
  /*loginevent*/
5050
5078
  e[7]
5051
- ), x(
5079
+ ), w(
5052
5080
  t,
5053
5081
  "registerurl",
5054
5082
  /*registerurl*/
5055
5083
  e[10]
5056
- ), x(
5084
+ ), w(
5057
5085
  t,
5058
5086
  "registerevent",
5059
5087
  /*registerevent*/
5060
5088
  e[8]
5061
- ), x(
5089
+ ), w(
5062
5090
  t,
5063
5091
  "lang",
5064
5092
  /*lang*/
5065
5093
  e[3]
5066
- ), x(
5094
+ ), w(
5067
5095
  t,
5068
5096
  "currency",
5069
5097
  /*currency*/
5070
5098
  e[11]
5071
- ), x(
5099
+ ), w(
5072
5100
  t,
5073
5101
  "keepbrowsercontext",
5074
5102
  /*keepbrowsercontext*/
5075
5103
  e[12]
5076
- ), x(
5104
+ ), w(
5077
5105
  t,
5078
5106
  "mbsource",
5079
5107
  /*mbsource*/
5080
5108
  e[15]
5081
- ), x(
5109
+ ), w(
5082
5110
  t,
5083
5111
  "session",
5084
5112
  /*session*/
5085
5113
  e[0]
5086
- ), x(
5114
+ ), w(
5087
5115
  t,
5088
5116
  "endpoint",
5089
5117
  /*endpoint*/
5090
5118
  e[2]
5091
- ), x(t, "exportparts", `Thumbnail, Status, Enrolled, CardImg, CardImgFinished, Details, Title, Date, ScoreCriteria, ScoreCriteriaP, ScoreCriteriaSpan, Games, GamesP, GamesAnchor, TournamentPrizes, TournamentPrizesSvg, a, TournamentPrizesSvgA, PrizesTitle, Prizes, Prize, PrizeText, PrizeRank,
5119
+ ), w(t, "exportparts", `Thumbnail, Status, Enrolled, CardImg, CardImgFinished, Details, Title, Date, ScoreCriteria, ScoreCriteriaP, ScoreCriteriaSpan, Games, GamesP, GamesAnchor, TournamentPrizes, TournamentPrizesSvg, a, TournamentPrizesSvgA, PrizesTitle, Prizes, Prize, PrizeText, PrizeRank,
5092
5120
  TournamentDuration, TournamentDates, StartDate, EndDate, ProgressBar, ProgressBarFillEnd, Finished, ProgressBarFillStarting, Remaining, ProgressBarFill,
5093
5121
  TournamentsGamesSlider, SliderNavButton, items, item, PlayNowButton, itemHover, SliderNavButton
5094
5122
  TournamentCard, CardMaxWidth, CardFullSize, elementToFadeOut, elementToFadeIn, ph-item, ph-col-12, ph-picture, ph-row, ph-col-6, big, ph-col-4, empty, ph-col-8, TournamentButtons, LoginButton, RegisterButton, DetailsButton, EnrolledButton, JoinButton, JoinButtonSpan, JoinButtonSvg, JoinButtonSvgA, JoinButtonFullSize, spinner, DetailsLargeButton, ErrorText, TournamentList, StatusUnstarted, StatusRunning, StatusClosed, StatusClosing, TournamentPrizesIconSection, TournamentPrizesIconWrapper`);
5095
5123
  },
5096
5124
  m(r, n) {
5097
- ue(r, t, n);
5125
+ ae(r, t, n);
5098
5126
  },
5099
5127
  p(r, n) {
5100
5128
  n[0] & /*clientstyling*/
5101
- 8192 && x(
5129
+ 8192 && w(
5102
5130
  t,
5103
5131
  "clientstyling",
5104
5132
  /*clientstyling*/
5105
5133
  r[13]
5106
5134
  ), n[0] & /*clientstylingurl*/
5107
- 16384 && x(
5135
+ 16384 && w(
5108
5136
  t,
5109
5137
  "clientstylingurl",
5110
5138
  /*clientstylingurl*/
5111
5139
  r[14]
5112
5140
  ), n[0] & /*translationurl*/
5113
- 16 && x(
5141
+ 16 && w(
5114
5142
  t,
5115
5143
  "translationurl",
5116
5144
  /*translationurl*/
5117
5145
  r[4]
5118
5146
  ), n[0] & /*userid*/
5119
- 2 && x(
5147
+ 2 && w(
5120
5148
  t,
5121
5149
  "userid",
5122
5150
  /*userid*/
5123
5151
  r[1]
5124
5152
  ), n[0] & /*numberoftournaments*/
5125
- 32 && x(
5153
+ 32 && w(
5126
5154
  t,
5127
5155
  "numberoftournaments",
5128
5156
  /*numberoftournaments*/
5129
5157
  r[5]
5130
5158
  ), n[0] & /*loginurl*/
5131
- 512 && x(
5159
+ 512 && w(
5132
5160
  t,
5133
5161
  "loginurl",
5134
5162
  /*loginurl*/
5135
5163
  r[9]
5136
5164
  ), n[0] & /*loginevent*/
5137
- 128 && x(
5165
+ 128 && w(
5138
5166
  t,
5139
5167
  "loginevent",
5140
5168
  /*loginevent*/
5141
5169
  r[7]
5142
5170
  ), n[0] & /*registerurl*/
5143
- 1024 && x(
5171
+ 1024 && w(
5144
5172
  t,
5145
5173
  "registerurl",
5146
5174
  /*registerurl*/
5147
5175
  r[10]
5148
5176
  ), n[0] & /*registerevent*/
5149
- 256 && x(
5177
+ 256 && w(
5150
5178
  t,
5151
5179
  "registerevent",
5152
5180
  /*registerevent*/
5153
5181
  r[8]
5154
5182
  ), n[0] & /*lang*/
5155
- 8 && x(
5183
+ 8 && w(
5156
5184
  t,
5157
5185
  "lang",
5158
5186
  /*lang*/
5159
5187
  r[3]
5160
5188
  ), n[0] & /*currency*/
5161
- 2048 && x(
5189
+ 2048 && w(
5162
5190
  t,
5163
5191
  "currency",
5164
5192
  /*currency*/
5165
5193
  r[11]
5166
5194
  ), n[0] & /*keepbrowsercontext*/
5167
- 4096 && x(
5195
+ 4096 && w(
5168
5196
  t,
5169
5197
  "keepbrowsercontext",
5170
5198
  /*keepbrowsercontext*/
5171
5199
  r[12]
5172
5200
  ), n[0] & /*mbsource*/
5173
- 32768 && x(
5201
+ 32768 && w(
5174
5202
  t,
5175
5203
  "mbsource",
5176
5204
  /*mbsource*/
5177
5205
  r[15]
5178
5206
  ), n[0] & /*session*/
5179
- 1 && x(
5207
+ 1 && w(
5180
5208
  t,
5181
5209
  "session",
5182
5210
  /*session*/
5183
5211
  r[0]
5184
5212
  ), n[0] & /*endpoint*/
5185
- 4 && x(
5213
+ 4 && w(
5186
5214
  t,
5187
5215
  "endpoint",
5188
5216
  /*endpoint*/
@@ -5190,145 +5218,145 @@ function us(e) {
5190
5218
  );
5191
5219
  },
5192
5220
  d(r) {
5193
- r && ee(t);
5221
+ r && K(t);
5194
5222
  }
5195
5223
  };
5196
5224
  }
5197
- function ls(e) {
5225
+ function cs(e) {
5198
5226
  let t;
5199
5227
  function r(o, s) {
5200
5228
  return (
5201
5229
  /*isLoading*/
5202
- o[20] ? cs : (
5230
+ o[20] ? ms : (
5203
5231
  /*hasFetchErrors*/
5204
- o[18] ? fs : hs
5232
+ o[18] ? ps : ds
5205
5233
  )
5206
5234
  );
5207
5235
  }
5208
5236
  let n = r(e), i = n(e);
5209
5237
  return {
5210
5238
  c() {
5211
- i.c(), t = On();
5239
+ i.c(), t = Cn();
5212
5240
  },
5213
5241
  m(o, s) {
5214
- i.m(o, s), ue(o, t, s);
5242
+ i.m(o, s), ae(o, t, s);
5215
5243
  },
5216
5244
  p(o, s) {
5217
5245
  n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t.parentNode, t)));
5218
5246
  },
5219
5247
  d(o) {
5220
- o && ee(t), i.d(o);
5248
+ o && K(t), i.d(o);
5221
5249
  }
5222
5250
  };
5223
5251
  }
5224
- function hs(e) {
5252
+ function ds(e) {
5225
5253
  let t, r = (
5226
5254
  /*$_*/
5227
5255
  e[24]("noTournaments") + ""
5228
5256
  ), n;
5229
5257
  return {
5230
5258
  c() {
5231
- t = X("p"), n = He(r), U(t, "class", "NoTournaments"), U(t, "part", "NoTournaments");
5259
+ t = V("p"), n = Be(r), G(t, "class", "NoTournaments"), G(t, "part", "NoTournaments");
5232
5260
  },
5233
5261
  m(i, o) {
5234
- ue(i, t, o), K(t, n);
5262
+ ae(i, t, o), Y(t, n);
5235
5263
  },
5236
5264
  p(i, o) {
5237
5265
  o[0] & /*$_*/
5238
5266
  16777216 && r !== (r = /*$_*/
5239
- i[24]("noTournaments") + "") && Ve(n, r);
5267
+ i[24]("noTournaments") + "") && qe(n, r);
5240
5268
  },
5241
5269
  d(i) {
5242
- i && ee(t);
5270
+ i && K(t);
5243
5271
  }
5244
5272
  };
5245
5273
  }
5246
- function fs(e) {
5274
+ function ps(e) {
5247
5275
  let t, r = (
5248
5276
  /*$_*/
5249
5277
  e[24]("fetchError") + ""
5250
5278
  ), n;
5251
5279
  return {
5252
5280
  c() {
5253
- t = X("p"), n = He(r), U(t, "class", "FetchErrorMessage");
5281
+ t = V("p"), n = Be(r), G(t, "class", "FetchErrorMessage");
5254
5282
  },
5255
5283
  m(i, o) {
5256
- ue(i, t, o), K(t, n);
5284
+ ae(i, t, o), Y(t, n);
5257
5285
  },
5258
5286
  p(i, o) {
5259
5287
  o[0] & /*$_*/
5260
5288
  16777216 && r !== (r = /*$_*/
5261
- i[24]("fetchError") + "") && Ve(n, r);
5289
+ i[24]("fetchError") + "") && qe(n, r);
5262
5290
  },
5263
5291
  d(i) {
5264
- i && ee(t);
5292
+ i && K(t);
5265
5293
  }
5266
5294
  };
5267
5295
  }
5268
- function cs(e) {
5296
+ function ms(e) {
5269
5297
  let t, r = (
5270
5298
  /*$_*/
5271
5299
  e[24]("loading") + ""
5272
5300
  ), n;
5273
5301
  return {
5274
5302
  c() {
5275
- t = X("p"), n = He(r), U(t, "class", "LoadingMessage"), U(t, "part", "LoadingMessage");
5303
+ t = V("p"), n = Be(r), G(t, "class", "LoadingMessage"), G(t, "part", "LoadingMessage");
5276
5304
  },
5277
5305
  m(i, o) {
5278
- ue(i, t, o), K(t, n);
5306
+ ae(i, t, o), Y(t, n);
5279
5307
  },
5280
5308
  p(i, o) {
5281
5309
  o[0] & /*$_*/
5282
5310
  16777216 && r !== (r = /*$_*/
5283
- i[24]("loading") + "") && Ve(n, r);
5311
+ i[24]("loading") + "") && qe(n, r);
5284
5312
  },
5285
5313
  d(i) {
5286
- i && ee(t);
5314
+ i && K(t);
5287
5315
  }
5288
5316
  };
5289
5317
  }
5290
- function jr(e) {
5318
+ function $r(e) {
5291
5319
  let t, r, n, i = (
5292
5320
  /*$_*/
5293
5321
  e[24]("showMore") + ""
5294
5322
  ), o, s, a;
5295
5323
  return {
5296
5324
  c() {
5297
- t = X("div"), r = X("div"), n = X("button"), o = He(i), U(n, "class", "ShowMoreButton"), U(n, "part", "ShowMoreButton"), U(n, "title", "Show More"), U(r, "class", "CenterButton"), U(r, "part", "CenterButton"), U(t, "class", "ThirdRow"), U(t, "part", "ThirdRow");
5325
+ t = V("div"), r = V("div"), n = V("button"), o = Be(i), G(n, "class", "ShowMoreButton"), G(n, "part", "ShowMoreButton"), G(n, "title", "Show More"), G(r, "class", "CenterButton"), G(r, "part", "CenterButton"), G(t, "class", "ThirdRow"), G(t, "part", "ThirdRow");
5298
5326
  },
5299
- m(f, l) {
5300
- ue(f, t, l), K(t, r), K(r, n), K(n, o), s || (a = zt(
5327
+ m(h, l) {
5328
+ ae(h, t, l), Y(t, r), Y(r, n), Y(n, o), s || (a = Wt(
5301
5329
  n,
5302
5330
  "click",
5303
5331
  /*click_handler*/
5304
5332
  e[34]
5305
5333
  ), s = !0);
5306
5334
  },
5307
- p(f, l) {
5335
+ p(h, l) {
5308
5336
  l[0] & /*$_*/
5309
5337
  16777216 && i !== (i = /*$_*/
5310
- f[24]("showMore") + "") && Ve(o, i);
5338
+ h[24]("showMore") + "") && qe(o, i);
5311
5339
  },
5312
- d(f) {
5313
- f && ee(t), s = !1, a();
5340
+ d(h) {
5341
+ h && K(t), s = !1, a();
5314
5342
  }
5315
5343
  };
5316
5344
  }
5317
- function ds(e) {
5345
+ function bs(e) {
5318
5346
  let t;
5319
5347
  function r(o, s) {
5320
5348
  return (
5321
5349
  /*hasErrors*/
5322
- o[17] ? as : ss
5350
+ o[17] ? hs : ls
5323
5351
  );
5324
5352
  }
5325
5353
  let n = r(e), i = n(e);
5326
5354
  return {
5327
5355
  c() {
5328
- t = X("div"), i.c();
5356
+ t = V("div"), i.c();
5329
5357
  },
5330
5358
  m(o, s) {
5331
- ue(o, t, s), i.m(t, null), e[35](t);
5359
+ ae(o, t, s), i.m(t, null), e[35](t);
5332
5360
  },
5333
5361
  p(o, s) {
5334
5362
  n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
@@ -5336,213 +5364,213 @@ function ds(e) {
5336
5364
  i: fe,
5337
5365
  o: fe,
5338
5366
  d(o) {
5339
- o && ee(t), i.d(), e[35](null);
5367
+ o && K(t), i.d(), e[35](null);
5340
5368
  }
5341
5369
  };
5342
5370
  }
5343
- let ps = "All,Scheduled,Ongoing,Finished";
5344
- function ms(e, t, r) {
5371
+ let gs = "All,Scheduled,Ongoing,Finished";
5372
+ function vs(e, t, r) {
5345
5373
  let n;
5346
- An(e, Yo, (h) => r(24, n = h));
5347
- let { session: i = "" } = t, { userid: o = "" } = t, { endpoint: s = "" } = t, { lang: a = "en" } = t, { translationurl: f = "" } = t, { numberoftournaments: l = "6" } = t, { showmorestep: c = "2" } = t, { filters: d = "All" } = t, { loginevent: m = "" } = t, { registerevent: _ = "" } = t, { loginurl: C = "" } = t, { registerurl: H = "" } = t, { currency: te = "EUR" } = t, { keepbrowsercontext: ce = "false" } = t, { sorttype: ne = "" } = t, { sortorder: L = "" } = t, { starttimeafter: $ = "" } = t, { showanonymoustournaments: q = "true" } = t, { clientstyling: le = "" } = t, { clientstylingurl: be = "" } = t, { delaybeforeload: Le = 1e3 } = t, Ne = !1, ye = !1, Me = "", de = !1, ge = "", Ye = window.navigator.userAgent, Re = !0, De = !1, he = !1, { mbsource: pe } = t, Z, Ee = 0, ie = !1, oe = 6, Pe = !0, Oe = [], ft, me, Ke = !1, Fe;
5348
- es({ withLocale: "en", translations: {} });
5349
- const et = () => {
5350
- fetch(f).then((P) => P.json()).then((P) => {
5351
- Fe = P, Object.keys(P).forEach((D) => {
5352
- Vt(D, P[D]);
5374
+ Hn(e, Ko, (f) => r(24, n = f));
5375
+ let { session: i = "" } = t, { userid: o = "" } = t, { endpoint: s = "" } = t, { lang: a = "en" } = t, { translationurl: h = "" } = t, { numberoftournaments: l = "6" } = t, { showmorestep: c = "2" } = t, { filters: d = "All" } = t, { loginevent: p = "" } = t, { registerevent: _ = "" } = t, { loginurl: C = "" } = t, { registerurl: H = "" } = t, { currency: ee = "EUR" } = t, { keepbrowsercontext: ce = "false" } = t, { sorttype: ne = "" } = t, { sortorder: N = "" } = t, { starttimeafter: $ = "" } = t, { showanonymoustournaments: W = "true" } = t, { clientstyling: ue = "" } = t, { clientstylingurl: ge = "" } = t, { delaybeforeload: Ne = 1e3 } = t, Me = !1, _e = !1, Re = "", de = !1, ve = "", rt = window.navigator.userAgent, De = !0, Fe = !1, le = !1, { mbsource: pe } = t, q, nt, te = 0, Te = !1, he = 6, Ue = !0, Pe = [], dt, me, Ce = !1, Ge;
5376
+ ts({ withLocale: "en", translations: {} });
5377
+ const Ae = () => {
5378
+ fetch(h).then((L) => L.json()).then((L) => {
5379
+ Ge = L, Object.keys(L).forEach((P) => {
5380
+ Xt(P, L[P]);
5353
5381
  });
5354
- }).catch((P) => {
5355
- console.log(P);
5382
+ }).catch((L) => {
5383
+ console.log(L);
5356
5384
  });
5357
- }, Te = (h) => {
5358
- h && Object.keys(h).forEach((P) => {
5359
- Vt(P, h[P]);
5385
+ }, ie = (f) => {
5386
+ f && Object.keys(f).forEach((L) => {
5387
+ Xt(L, f[L]);
5360
5388
  });
5361
5389
  };
5362
- Object.keys(Fr).forEach((h) => {
5363
- Vt(h, Fr[h]);
5390
+ Object.keys(Ur).forEach((f) => {
5391
+ Xt(f, Ur[f]);
5364
5392
  });
5365
- const re = (h) => {
5366
- h.data && h.data.type === "UserSessionID" && (de = !0, r(32, ge = h.data.session), h.data.userid, tt(s, 0, oe)), h.data && h.data.type === "TournamentsFiltersSelected" && (Oe = h.data.filters, tt(s, 0, oe)), h.data && h.data.type === "TournamentThumbnailMounted" && Te(Fe);
5367
- }, It = (h) => h == "Scheduled" ? "Unstarted" : h == "Ongoing" ? "Running" : "Closing|Closed", tt = async (h, P, D) => {
5368
- r(20, Re = !0), r(22, Ee = 0);
5369
- const O = await u(h, P, D);
5370
- O === null ? r(18, ye = !0) : setTimeout(
5393
+ const pt = (f) => {
5394
+ f.data && f.data.type === "UserSessionID" && (de = !0, r(32, ve = f.data.session), f.data.userid, it(s, 0, he)), f.data && f.data.type === "TournamentsFiltersSelected" && (Pe = f.data.filters, it(s, 0, he)), f.data && f.data.type === "TournamentThumbnailMounted" && ie(Ge);
5395
+ }, Nt = (f) => f == "Scheduled" ? "Unstarted" : f == "Ongoing" ? "Running" : "Closing|Closed", it = async (f, L, P) => {
5396
+ r(20, De = !0), r(22, te = 0);
5397
+ const B = await b(f, L, P);
5398
+ B === null ? r(18, _e = !0) : setTimeout(
5371
5399
  () => window.postMessage(
5372
5400
  {
5373
5401
  type: "TournamentList",
5374
- tournamentList: O.items
5402
+ tournamentList: B.items
5375
5403
  },
5376
5404
  window.location.href
5377
5405
  ),
5378
5406
  50
5379
- ), r(20, Re = !1);
5380
- }, Lt = async (h, P, D) => {
5381
- const O = await u(h, P, D);
5382
- O === null ? r(18, ye = !0) : window.postMessage(
5407
+ ), r(20, De = !1);
5408
+ }, mt = async (f, L, P) => {
5409
+ const B = await b(f, L, P);
5410
+ B === null ? r(18, _e = !0) : window.postMessage(
5383
5411
  {
5384
5412
  type: "TournamentListShowMore",
5385
- tournamentList: O.items
5413
+ tournamentList: B.items
5386
5414
  },
5387
5415
  window.location.href
5388
5416
  );
5389
- }, ct = () => {
5390
- const h = /* @__PURE__ */ new Date();
5391
- return $ ? h.setDate(h.getDate() - Number($)) : h.setMonth(h.getMonth() - 1), h.toISOString().substring(0, 10);
5392
- }, u = async (h, P, D) => {
5393
- const O = new URL(`${h}/v1/tournaments`), k = new Headers();
5394
- O.searchParams.append("pagination", `offset=${P},limit=${D}`), O.searchParams.append("sortField", "StartTime"), O.searchParams.append("sortOrder", L || "desc"), O.searchParams.append("language", a), O.searchParams.append("platform", Ko(Ye));
5395
- const W = { StartTimeAfter: ct() };
5396
- !Ur(i) && q === "false" && (W.tags = "no-role-set"), Oe.length > 0 && Oe[0] != "All" && (W.state = Oe.map((G) => It(G)).join("|"));
5397
- const Se = Object.keys(W).map((G) => `${G}=${W[G]}`).join(",");
5398
- return O.searchParams.append("filter", Se), ne && O.searchParams.append("sortType", ne), de && k.append("X-SessionID", ge), fetch(O, {
5417
+ }, u = () => {
5418
+ const f = /* @__PURE__ */ new Date();
5419
+ return $ ? f.setDate(f.getDate() - Number($)) : f.setMonth(f.getMonth() - 1), f.toISOString().substring(0, 10);
5420
+ }, b = async (f, L, P) => {
5421
+ const B = new URL(`${f}/v1/tournaments`), re = new Headers();
5422
+ B.searchParams.append("pagination", `offset=${L},limit=${P}`), B.searchParams.append("sortField", "StartTime"), B.searchParams.append("sortOrder", N || "desc"), B.searchParams.append("language", a), B.searchParams.append("platform", es(rt));
5423
+ const be = { StartTimeAfter: u() };
5424
+ !Gr(i) && W === "false" && (be.tags = "no-role-set"), Pe.length > 0 && Pe[0] != "All" && (be.state = Pe.map((z) => Nt(z)).join("|"));
5425
+ const je = Object.keys(be).map((z) => `${z}=${be[z]}`).join(",");
5426
+ return B.searchParams.append("filter", je), ne && B.searchParams.append("sortType", ne), de && re.append("X-SessionID", ve), fetch(B, {
5399
5427
  method: "GET",
5400
- headers: k,
5428
+ headers: re,
5401
5429
  cache: "no-cache"
5402
- }).then((G) => G.ok ? G.json() : null).then((G) => G === null ? null : (ft = O.searchParams.toString(), r(22, Ee = G.total), oe >= Ee ? r(23, Pe = !0) : r(23, Pe = !1), he || g(), G));
5403
- }, b = (h) => {
5404
- if (h.type != "message")
5430
+ }).then((z) => z.ok ? z.json() : null).then((z) => z === null ? null : (dt = B.searchParams.toString(), r(22, te = z.total), he >= te ? r(23, Ue = !0) : r(23, Ue = !1), le || m(), z));
5431
+ }, g = (f) => {
5432
+ if (f.type != "message")
5405
5433
  return;
5406
- let P = h.data;
5407
- if (P)
5434
+ let L = f.data;
5435
+ if (L)
5408
5436
  try {
5409
- let D = JSON.parse(P);
5410
- if (!D || !D.item)
5437
+ let P = JSON.parse(L);
5438
+ if (!P || !P.item)
5411
5439
  return;
5412
- let O = D.item;
5413
- D.messageType == "TournamentUpdate" && window.postMessage(
5440
+ let B = P.item;
5441
+ P.messageType == "TournamentUpdate" && window.postMessage(
5414
5442
  {
5415
5443
  type: "UpdateTournamentView",
5416
- tournamentData: O
5444
+ tournamentData: B
5417
5445
  },
5418
5446
  window.location.href
5419
- ), D.messageType == "TournamentRemove" && window.postMessage(
5447
+ ), P.messageType == "TournamentRemove" && window.postMessage(
5420
5448
  {
5421
5449
  type: "TournamentList",
5422
- tournamentList: D.items
5450
+ tournamentList: P.items
5423
5451
  },
5424
5452
  window.location.href
5425
5453
  );
5426
- } catch (D) {
5427
- console.error(D);
5454
+ } catch (P) {
5455
+ console.error(P);
5428
5456
  }
5429
- }, g = () => {
5430
- he = !0, setTimeout(
5457
+ }, m = () => {
5458
+ le = !0, setTimeout(
5431
5459
  () => {
5432
- he = !1;
5460
+ le = !1;
5433
5461
  },
5434
5462
  1e3
5435
- ), me && (me.removeEventListener("message", b), me.close());
5436
- let h = `${s}/v1/tournaments/updates?${ft}`;
5437
- me = new ts.EventSourcePolyfill(
5438
- h,
5463
+ ), me && (me.removeEventListener("message", g), me.close());
5464
+ let f = `${s}/v1/tournaments/updates?${dt}`;
5465
+ me = new rs.EventSourcePolyfill(
5466
+ f,
5439
5467
  {
5440
5468
  headers: {
5441
5469
  accept: "text/event-stream",
5442
5470
  "X-SessionId": i
5443
5471
  }
5444
5472
  }
5445
- ), typeof me < "u" && me.addEventListener("message", b);
5446
- }, p = async () => {
5447
- let h = oe;
5448
- const P = parseInt(c, 10);
5449
- oe += P, window.postMessage(
5473
+ ), typeof me < "u" && me.addEventListener("message", g);
5474
+ }, y = async () => {
5475
+ let f = he;
5476
+ const L = parseInt(c, 10);
5477
+ he += L, window.postMessage(
5450
5478
  {
5451
5479
  type: "TournamentsPagination",
5452
5480
  offset: 0,
5453
- limit: oe
5481
+ limit: he
5454
5482
  },
5455
5483
  window.location.href
5456
- ), await Lt(s, h, P), oe >= Ee && r(23, Pe = !0);
5457
- }, y = () => (s || (r(19, Me = "Endpoint is missing! Please provide a valid endpointURL."), r(17, Ne = !0), console.error(Me)), Ne), v = () => {
5458
- if (!ie)
5484
+ ), await mt(s, f, L), he >= te && r(23, Ue = !0);
5485
+ }, v = () => (s || (r(19, Re = "Endpoint is missing! Please provide a valid endpointURL."), r(17, Me = !0), console.error(Re)), Me), x = () => {
5486
+ if (!Te)
5459
5487
  return !1;
5460
- y() || (oe = parseInt(l, 10), Dr(a), tt(s, 0, oe));
5461
- }, w = () => {
5462
- Dr(a);
5463
- }, N = () => {
5464
- Oe = d.split(","), r(21, De = !0);
5465
- }, T = () => {
5466
- Ur(i) ? (de = !0, r(32, ge = i)) : (de = !1, r(32, ge = ""));
5467
- }, B = async () => {
5468
- Ke || (Ke = !0, await v(), Ke = !1);
5488
+ v() || (he = parseInt(l, 10), Fr(a), it(s, 0, he));
5489
+ }, M = () => {
5490
+ Fr(a);
5491
+ }, S = () => {
5492
+ Pe = d.split(","), r(21, Fe = !0);
5493
+ }, O = () => {
5494
+ Gr(i) ? (de = !0, r(32, ve = i)) : (de = !1, r(32, ve = ""));
5495
+ }, I = async () => {
5496
+ Ce || (Ce = !0, await x(), Ce = !1);
5469
5497
  };
5470
- Mn(() => (setTimeout(
5498
+ Rn(() => (setTimeout(
5471
5499
  () => {
5472
- r(33, ie = !0);
5500
+ r(33, Te = !0);
5473
5501
  },
5474
- Le
5475
- ), window.addEventListener("message", re, !1), () => {
5476
- window.removeEventListener("message", re), me && (me.removeEventListener("message", b), me.close());
5502
+ Ne
5503
+ ), window.addEventListener("message", pt, !1), () => {
5504
+ window.removeEventListener("message", pt), me && (me.removeEventListener("message", g), me.close());
5477
5505
  }));
5478
- const I = () => p();
5479
- function E(h) {
5480
- Wt[h ? "unshift" : "push"](() => {
5481
- Z = h, r(16, Z);
5506
+ const E = () => y();
5507
+ function R(f) {
5508
+ qt[f ? "unshift" : "push"](() => {
5509
+ q = f, r(16, q);
5482
5510
  });
5483
5511
  }
5484
- return e.$$set = (h) => {
5485
- "session" in h && r(0, i = h.session), "userid" in h && r(1, o = h.userid), "endpoint" in h && r(2, s = h.endpoint), "lang" in h && r(3, a = h.lang), "translationurl" in h && r(4, f = h.translationurl), "numberoftournaments" in h && r(5, l = h.numberoftournaments), "showmorestep" in h && r(26, c = h.showmorestep), "filters" in h && r(6, d = h.filters), "loginevent" in h && r(7, m = h.loginevent), "registerevent" in h && r(8, _ = h.registerevent), "loginurl" in h && r(9, C = h.loginurl), "registerurl" in h && r(10, H = h.registerurl), "currency" in h && r(11, te = h.currency), "keepbrowsercontext" in h && r(12, ce = h.keepbrowsercontext), "sorttype" in h && r(27, ne = h.sorttype), "sortorder" in h && r(28, L = h.sortorder), "starttimeafter" in h && r(29, $ = h.starttimeafter), "showanonymoustournaments" in h && r(30, q = h.showanonymoustournaments), "clientstyling" in h && r(13, le = h.clientstyling), "clientstylingurl" in h && r(14, be = h.clientstylingurl), "delaybeforeload" in h && r(31, Le = h.delaybeforeload), "mbsource" in h && r(15, pe = h.mbsource);
5512
+ return e.$$set = (f) => {
5513
+ "session" in f && r(0, i = f.session), "userid" in f && r(1, o = f.userid), "endpoint" in f && r(2, s = f.endpoint), "lang" in f && r(3, a = f.lang), "translationurl" in f && r(4, h = f.translationurl), "numberoftournaments" in f && r(5, l = f.numberoftournaments), "showmorestep" in f && r(26, c = f.showmorestep), "filters" in f && r(6, d = f.filters), "loginevent" in f && r(7, p = f.loginevent), "registerevent" in f && r(8, _ = f.registerevent), "loginurl" in f && r(9, C = f.loginurl), "registerurl" in f && r(10, H = f.registerurl), "currency" in f && r(11, ee = f.currency), "keepbrowsercontext" in f && r(12, ce = f.keepbrowsercontext), "sorttype" in f && r(27, ne = f.sorttype), "sortorder" in f && r(28, N = f.sortorder), "starttimeafter" in f && r(29, $ = f.starttimeafter), "showanonymoustournaments" in f && r(30, W = f.showanonymoustournaments), "clientstyling" in f && r(13, ue = f.clientstyling), "clientstylingurl" in f && r(14, ge = f.clientstylingurl), "delaybeforeload" in f && r(31, Ne = f.delaybeforeload), "mbsource" in f && r(15, pe = f.mbsource);
5486
5514
  }, e.$$.update = () => {
5487
5515
  e.$$.dirty[0] & /*userid*/
5488
5516
  2, e.$$.dirty[0] & /*filters*/
5489
- 64 && d && N(), e.$$.dirty[0] & /*lang*/
5490
- 8 && a && w(), e.$$.dirty[0] & /*translationurl*/
5491
- 16 && f && et(), e.$$.dirty[1] & /*isMounted*/
5492
- 4 && ie && v(), e.$$.dirty[0] & /*session*/
5493
- 1 && (i === "" || i) && T(), e.$$.dirty[1] & /*sessionID*/
5494
- 2 && (ge === "" || ge) && B(), e.$$.dirty[0] & /*endpoint, numberoftournaments, showmorestep, lang, showanonymoustournaments*/
5495
- 1140850732 && s && l && c && a && q && B(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5496
- 73728 && le && Z && rs(Z, le), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5497
- 81920 && be && Z && ns(Z, be), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5498
- 98304 && pe && Z && is(Z, `${pe}.Style`);
5517
+ 64 && d && S(), e.$$.dirty[0] & /*lang*/
5518
+ 8 && a && M(), e.$$.dirty[0] & /*translationurl*/
5519
+ 16 && h && Ae(), e.$$.dirty[1] & /*isMounted*/
5520
+ 4 && Te && x(), e.$$.dirty[0] & /*session*/
5521
+ 1 && (i === "" || i) && O(), e.$$.dirty[1] & /*sessionID*/
5522
+ 2 && (ve === "" || ve) && I(), e.$$.dirty[0] & /*endpoint, numberoftournaments, showmorestep, lang, showanonymoustournaments*/
5523
+ 1140850732 && s && l && c && a && W && I(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5524
+ 73728 && ue && q && ns(q, ue), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5525
+ 81920 && ge && q && is(q, ge), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5526
+ 98304 && pe && q && os(q, `${pe}.Style`, nt);
5499
5527
  }, [
5500
5528
  i,
5501
5529
  o,
5502
5530
  s,
5503
5531
  a,
5504
- f,
5532
+ h,
5505
5533
  l,
5506
5534
  d,
5507
- m,
5535
+ p,
5508
5536
  _,
5509
5537
  C,
5510
5538
  H,
5511
- te,
5539
+ ee,
5512
5540
  ce,
5513
- le,
5514
- be,
5541
+ ue,
5542
+ ge,
5515
5543
  pe,
5516
- Z,
5517
- Ne,
5518
- ye,
5544
+ q,
5519
5545
  Me,
5546
+ _e,
5520
5547
  Re,
5521
5548
  De,
5522
- Ee,
5523
- Pe,
5549
+ Fe,
5550
+ te,
5551
+ Ue,
5524
5552
  n,
5525
- p,
5553
+ y,
5526
5554
  c,
5527
5555
  ne,
5528
- L,
5556
+ N,
5529
5557
  $,
5530
- q,
5531
- Le,
5532
- ge,
5533
- ie,
5534
- I,
5535
- E
5558
+ W,
5559
+ Ne,
5560
+ ve,
5561
+ Te,
5562
+ E,
5563
+ R
5536
5564
  ];
5537
5565
  }
5538
- class bs extends Wn {
5566
+ class ys extends qn {
5539
5567
  constructor(t) {
5540
- super(), Xn(
5568
+ super(), zn(
5541
5569
  this,
5542
5570
  t,
5543
- ms,
5544
- ds,
5545
- kr,
5571
+ vs,
5572
+ bs,
5573
+ Vr,
5546
5574
  {
5547
5575
  session: 0,
5548
5576
  userid: 1,
@@ -5567,7 +5595,7 @@ class bs extends Wn {
5567
5595
  delaybeforeload: 31,
5568
5596
  mbsource: 15
5569
5597
  },
5570
- os,
5598
+ us,
5571
5599
  [-1, -1, -1]
5572
5600
  );
5573
5601
  }
@@ -5575,177 +5603,177 @@ class bs extends Wn {
5575
5603
  return this.$$.ctx[0];
5576
5604
  }
5577
5605
  set session(t) {
5578
- this.$$set({ session: t }), M();
5606
+ this.$$set({ session: t }), D();
5579
5607
  }
5580
5608
  get userid() {
5581
5609
  return this.$$.ctx[1];
5582
5610
  }
5583
5611
  set userid(t) {
5584
- this.$$set({ userid: t }), M();
5612
+ this.$$set({ userid: t }), D();
5585
5613
  }
5586
5614
  get endpoint() {
5587
5615
  return this.$$.ctx[2];
5588
5616
  }
5589
5617
  set endpoint(t) {
5590
- this.$$set({ endpoint: t }), M();
5618
+ this.$$set({ endpoint: t }), D();
5591
5619
  }
5592
5620
  get lang() {
5593
5621
  return this.$$.ctx[3];
5594
5622
  }
5595
5623
  set lang(t) {
5596
- this.$$set({ lang: t }), M();
5624
+ this.$$set({ lang: t }), D();
5597
5625
  }
5598
5626
  get translationurl() {
5599
5627
  return this.$$.ctx[4];
5600
5628
  }
5601
5629
  set translationurl(t) {
5602
- this.$$set({ translationurl: t }), M();
5630
+ this.$$set({ translationurl: t }), D();
5603
5631
  }
5604
5632
  get numberoftournaments() {
5605
5633
  return this.$$.ctx[5];
5606
5634
  }
5607
5635
  set numberoftournaments(t) {
5608
- this.$$set({ numberoftournaments: t }), M();
5636
+ this.$$set({ numberoftournaments: t }), D();
5609
5637
  }
5610
5638
  get showmorestep() {
5611
5639
  return this.$$.ctx[26];
5612
5640
  }
5613
5641
  set showmorestep(t) {
5614
- this.$$set({ showmorestep: t }), M();
5642
+ this.$$set({ showmorestep: t }), D();
5615
5643
  }
5616
5644
  get filters() {
5617
5645
  return this.$$.ctx[6];
5618
5646
  }
5619
5647
  set filters(t) {
5620
- this.$$set({ filters: t }), M();
5648
+ this.$$set({ filters: t }), D();
5621
5649
  }
5622
5650
  get loginevent() {
5623
5651
  return this.$$.ctx[7];
5624
5652
  }
5625
5653
  set loginevent(t) {
5626
- this.$$set({ loginevent: t }), M();
5654
+ this.$$set({ loginevent: t }), D();
5627
5655
  }
5628
5656
  get registerevent() {
5629
5657
  return this.$$.ctx[8];
5630
5658
  }
5631
5659
  set registerevent(t) {
5632
- this.$$set({ registerevent: t }), M();
5660
+ this.$$set({ registerevent: t }), D();
5633
5661
  }
5634
5662
  get loginurl() {
5635
5663
  return this.$$.ctx[9];
5636
5664
  }
5637
5665
  set loginurl(t) {
5638
- this.$$set({ loginurl: t }), M();
5666
+ this.$$set({ loginurl: t }), D();
5639
5667
  }
5640
5668
  get registerurl() {
5641
5669
  return this.$$.ctx[10];
5642
5670
  }
5643
5671
  set registerurl(t) {
5644
- this.$$set({ registerurl: t }), M();
5672
+ this.$$set({ registerurl: t }), D();
5645
5673
  }
5646
5674
  get currency() {
5647
5675
  return this.$$.ctx[11];
5648
5676
  }
5649
5677
  set currency(t) {
5650
- this.$$set({ currency: t }), M();
5678
+ this.$$set({ currency: t }), D();
5651
5679
  }
5652
5680
  get keepbrowsercontext() {
5653
5681
  return this.$$.ctx[12];
5654
5682
  }
5655
5683
  set keepbrowsercontext(t) {
5656
- this.$$set({ keepbrowsercontext: t }), M();
5684
+ this.$$set({ keepbrowsercontext: t }), D();
5657
5685
  }
5658
5686
  get sorttype() {
5659
5687
  return this.$$.ctx[27];
5660
5688
  }
5661
5689
  set sorttype(t) {
5662
- this.$$set({ sorttype: t }), M();
5690
+ this.$$set({ sorttype: t }), D();
5663
5691
  }
5664
5692
  get sortorder() {
5665
5693
  return this.$$.ctx[28];
5666
5694
  }
5667
5695
  set sortorder(t) {
5668
- this.$$set({ sortorder: t }), M();
5696
+ this.$$set({ sortorder: t }), D();
5669
5697
  }
5670
5698
  get starttimeafter() {
5671
5699
  return this.$$.ctx[29];
5672
5700
  }
5673
5701
  set starttimeafter(t) {
5674
- this.$$set({ starttimeafter: t }), M();
5702
+ this.$$set({ starttimeafter: t }), D();
5675
5703
  }
5676
5704
  get showanonymoustournaments() {
5677
5705
  return this.$$.ctx[30];
5678
5706
  }
5679
5707
  set showanonymoustournaments(t) {
5680
- this.$$set({ showanonymoustournaments: t }), M();
5708
+ this.$$set({ showanonymoustournaments: t }), D();
5681
5709
  }
5682
5710
  get clientstyling() {
5683
5711
  return this.$$.ctx[13];
5684
5712
  }
5685
5713
  set clientstyling(t) {
5686
- this.$$set({ clientstyling: t }), M();
5714
+ this.$$set({ clientstyling: t }), D();
5687
5715
  }
5688
5716
  get clientstylingurl() {
5689
5717
  return this.$$.ctx[14];
5690
5718
  }
5691
5719
  set clientstylingurl(t) {
5692
- this.$$set({ clientstylingurl: t }), M();
5720
+ this.$$set({ clientstylingurl: t }), D();
5693
5721
  }
5694
5722
  get delaybeforeload() {
5695
5723
  return this.$$.ctx[31];
5696
5724
  }
5697
5725
  set delaybeforeload(t) {
5698
- this.$$set({ delaybeforeload: t }), M();
5726
+ this.$$set({ delaybeforeload: t }), D();
5699
5727
  }
5700
5728
  get mbsource() {
5701
5729
  return this.$$.ctx[15];
5702
5730
  }
5703
5731
  set mbsource(t) {
5704
- this.$$set({ mbsource: t }), M();
5732
+ this.$$set({ mbsource: t }), D();
5705
5733
  }
5706
5734
  }
5707
- zn(bs, { session: {}, userid: {}, endpoint: {}, lang: {}, translationurl: {}, numberoftournaments: {}, showmorestep: {}, filters: {}, loginevent: {}, registerevent: {}, loginurl: {}, registerurl: {}, currency: {}, keepbrowsercontext: {}, sorttype: {}, sortorder: {}, starttimeafter: {}, showanonymoustournaments: {}, clientstyling: {}, clientstylingurl: {}, delaybeforeload: {}, mbsource: {} }, [], [], !0);
5735
+ Wn(ys, { session: {}, userid: {}, endpoint: {}, lang: {}, translationurl: {}, numberoftournaments: {}, showmorestep: {}, filters: {}, loginevent: {}, registerevent: {}, loginurl: {}, registerurl: {}, currency: {}, keepbrowsercontext: {}, sorttype: {}, sortorder: {}, starttimeafter: {}, showanonymoustournaments: {}, clientstyling: {}, clientstylingurl: {}, delaybeforeload: {}, mbsource: {} }, [], [], !0);
5708
5736
  export {
5709
- Yo as $,
5710
- On as A,
5711
- x as B,
5712
- Be as C,
5713
- Je as D,
5714
- lt as E,
5715
- vs as F,
5716
- gs as G,
5717
- St as H,
5718
- Ko as I,
5719
- _s as J,
5720
- ws as K,
5721
- xs as L,
5722
- Zt as M,
5723
- bs as N,
5724
- Wn as S,
5725
- vn as a,
5726
- Hn as b,
5727
- zn as c,
5728
- ee as d,
5729
- ue as e,
5730
- M as f,
5731
- X as g,
5732
- U as h,
5733
- Xn as i,
5734
- Ss as j,
5735
- An as k,
5736
- Ts as l,
5737
- ys as m,
5737
+ Ko as $,
5738
+ Cn as A,
5739
+ w as B,
5740
+ Oe as C,
5741
+ et as D,
5742
+ es as E,
5743
+ _s as F,
5744
+ ft as G,
5745
+ Ht as H,
5746
+ Es as I,
5747
+ Ss as J,
5748
+ As as K,
5749
+ Ts as L,
5750
+ Jt as M,
5751
+ ys as N,
5752
+ qn as S,
5753
+ yn as a,
5754
+ Bn as b,
5755
+ Wn as c,
5756
+ K as d,
5757
+ ae as e,
5758
+ D as f,
5759
+ V as g,
5760
+ G as h,
5761
+ zn as i,
5762
+ Bs as j,
5763
+ Hn as k,
5764
+ Hs as l,
5765
+ ws as m,
5738
5766
  fe as n,
5739
- Mn as o,
5740
- Ve as p,
5741
- K as q,
5742
- Xt as r,
5743
- kr as s,
5744
- He as t,
5745
- Wt as u,
5746
- zt as v,
5747
- Es as w,
5748
- rs as x,
5749
- ns as y,
5750
- is as z
5767
+ Rn as o,
5768
+ qe as p,
5769
+ Y as q,
5770
+ zt as r,
5771
+ Vr as s,
5772
+ Be as t,
5773
+ qt as u,
5774
+ Wt as v,
5775
+ xs as w,
5776
+ ns as x,
5777
+ is as y,
5778
+ os as z
5751
5779
  };