@everymatrix/casino-tournaments-controller 1.54.12 → 1.55.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. package/components/{CasinoTournamentsController-CD_5uyUc.js → CasinoTournamentsController-B87iHebe.js} +835 -813
  2. package/components/{CasinoTournamentsController-UUtBZIFh.js → CasinoTournamentsController-D4fqxCja.js} +681 -659
  3. package/components/CasinoTournamentsController-WRSyK2QY.cjs +14 -0
  4. package/components/{CasinoTournamentsFilterController-CDD660uA.cjs → CasinoTournamentsFilterController-D0T7rVhL.cjs} +1 -1
  5. package/components/{CasinoTournamentsFilterController-C6PNRuAN.js → CasinoTournamentsFilterController-D9Tidq8w.js} +20 -20
  6. package/components/{CasinoTournamentsFilterController-C8EhVpC4.js → CasinoTournamentsFilterController-Dxau0WQ7.js} +22 -22
  7. package/components/{CasinoTournamentsListController-wgytIhYX.js → CasinoTournamentsListController-Bj5LNl9h.js} +21 -21
  8. package/components/{CasinoTournamentsListController-fm8TCneo.cjs → CasinoTournamentsListController-CWi9-FPc.cjs} +2 -2
  9. package/components/{CasinoTournamentsListController-l8AH-AQy.js → CasinoTournamentsListController-e7qQuaaY.js} +21 -21
  10. package/components/{CasinoTournamentsThumbnail-C1PdhLiD.js → CasinoTournamentsThumbnail-C51R2INs.js} +36 -36
  11. package/components/{CasinoTournamentsThumbnail-BVAQJY4f.cjs → CasinoTournamentsThumbnail-CXUAscGP.cjs} +1 -1
  12. package/components/{CasinoTournamentsThumbnail-CfBfOQ6y.js → CasinoTournamentsThumbnail-Dq4yRdNG.js} +41 -41
  13. package/components/{CasinoTournamentsThumbnailController-B5QfYW6Q.cjs → CasinoTournamentsThumbnailController-BHFgnbwb.cjs} +1 -1
  14. package/components/{CasinoTournamentsThumbnailController-neX5M-sd.js → CasinoTournamentsThumbnailController-BQ6_5mnS.js} +73 -73
  15. package/components/{CasinoTournamentsThumbnailController-DBjAq9-k.js → CasinoTournamentsThumbnailController-cb4JbcxA.js} +43 -43
  16. package/components/{CasinoTournamentsThumbnailDuration-CGgR5XoL.js → CasinoTournamentsThumbnailDuration-COqsPwJj.js} +40 -40
  17. package/components/{CasinoTournamentsThumbnailDuration-DFP9BWRc.cjs → CasinoTournamentsThumbnailDuration-CQkAFLBa.cjs} +1 -1
  18. package/components/{CasinoTournamentsThumbnailDuration-sMRWK6Da.js → CasinoTournamentsThumbnailDuration-DSbhjj1f.js} +46 -46
  19. package/components/{CasinoTournamentsThumbnailGamesSlider-BUainTMh.js → CasinoTournamentsThumbnailGamesSlider--YAPEoXl.js} +37 -37
  20. package/components/{CasinoTournamentsThumbnailGamesSlider-Bcgbm6UZ.js → CasinoTournamentsThumbnailGamesSlider-B1lnmQeN.js} +54 -54
  21. package/components/{CasinoTournamentsThumbnailGamesSlider-CU3QiSRS.cjs → CasinoTournamentsThumbnailGamesSlider-LY1F0kxk.cjs} +1 -1
  22. package/components/{CasinoTournamentsThumbnailPrizes-Cb6ucU30.js → CasinoTournamentsThumbnailPrizes-BbCxQeLs.js} +15 -15
  23. package/components/{CasinoTournamentsThumbnailPrizes-D5o6hcAd.cjs → CasinoTournamentsThumbnailPrizes-CY5bdmwv.cjs} +1 -1
  24. package/components/{CasinoTournamentsThumbnailPrizes-pB7CeUbv.js → CasinoTournamentsThumbnailPrizes-CcMFztse.js} +15 -15
  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/components/CasinoTournamentsController-C1dCP4c5.cjs +0 -14
@@ -1,15 +1,15 @@
1
- var Hn = Object.defineProperty, Bn = Object.defineProperties;
2
- var Pn = Object.getOwnPropertyDescriptors;
3
- var dr = Object.getOwnPropertySymbols;
4
- var Cn = Object.prototype.hasOwnProperty, On = Object.prototype.propertyIsEnumerable;
5
- var Rt = (e, t, r) => t in e ? Hn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, mr = (e, t) => {
1
+ var On = Object.defineProperty, In = Object.defineProperties;
2
+ var Ln = Object.getOwnPropertyDescriptors;
3
+ var br = Object.getOwnPropertySymbols;
4
+ var Nn = Object.prototype.hasOwnProperty, Mn = Object.prototype.propertyIsEnumerable;
5
+ var Rt = (e, t, r) => t in e ? On(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, gr = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- Cn.call(t, r) && Rt(e, r, t[r]);
8
- if (dr)
9
- for (var r of dr(t))
10
- On.call(t, r) && Rt(e, r, t[r]);
7
+ Nn.call(t, r) && Rt(e, r, t[r]);
8
+ if (br)
9
+ for (var r of br(t))
10
+ Mn.call(t, r) && Rt(e, r, t[r]);
11
11
  return e;
12
- }, pr = (e, t) => Bn(e, Pn(t));
12
+ }, vr = (e, t) => In(e, Ln(t));
13
13
  var fe = (e, t, r) => Rt(e, typeof t != "symbol" ? t + "" : t, r);
14
14
  var Le = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (l) => {
@@ -29,29 +29,29 @@ var Le = (e, t, r) => new Promise((n, i) => {
29
29
  });
30
30
  function ce() {
31
31
  }
32
- function kr(e) {
32
+ function zr(e) {
33
33
  return e();
34
34
  }
35
- function br() {
35
+ function yr() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
38
  function ht(e) {
39
- e.forEach(kr);
39
+ e.forEach(zr);
40
40
  }
41
41
  function St(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function Vr(e, t) {
44
+ function Wr(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
- let pt;
48
- function Es(e, t) {
49
- return e === t ? !0 : (pt || (pt = document.createElement("a")), pt.href = t, e === pt.href);
47
+ let mt;
48
+ function ws(e, t) {
49
+ return e === t ? !0 : (mt || (mt = document.createElement("a")), mt.href = t, e === mt.href);
50
50
  }
51
- function In(e) {
51
+ function Rn(e) {
52
52
  return Object.keys(e).length === 0;
53
53
  }
54
- function Xr(e, ...t) {
54
+ function qr(e, ...t) {
55
55
  if (e == null) {
56
56
  for (const n of t)
57
57
  n(void 0);
@@ -60,23 +60,23 @@ function Xr(e, ...t) {
60
60
  const r = e.subscribe(...t);
61
61
  return r.unsubscribe ? () => r.unsubscribe() : r;
62
62
  }
63
- function Ln(e, t, r) {
64
- e.$$.on_destroy.push(Xr(t, r));
63
+ function Dn(e, t, r) {
64
+ e.$$.on_destroy.push(qr(t, r));
65
65
  }
66
- function _s(e) {
66
+ function Ts(e) {
67
67
  return e && St(e.destroy) ? e.destroy : ce;
68
68
  }
69
69
  function re(e, t) {
70
70
  e.appendChild(t);
71
71
  }
72
- function Nn(e, t, r) {
73
- const n = Mn(e);
72
+ function Fn(e, t, r) {
73
+ const n = Un(e);
74
74
  if (!n.getElementById(t)) {
75
75
  const i = z("style");
76
- i.id = t, i.textContent = r, Rn(n, i);
76
+ i.id = t, i.textContent = r, Gn(n, i);
77
77
  }
78
78
  }
79
- function Mn(e) {
79
+ function Un(e) {
80
80
  if (!e) return document;
81
81
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
82
82
  return t && /** @type {ShadowRoot} */
@@ -85,7 +85,7 @@ function Mn(e) {
85
85
  t
86
86
  ) : e.ownerDocument;
87
87
  }
88
- function Rn(e, t) {
88
+ function Gn(e, t) {
89
89
  return re(
90
90
  /** @type {Document} */
91
91
  e.head || e,
@@ -98,26 +98,26 @@ function de(e, t, r) {
98
98
  function ne(e) {
99
99
  e.parentNode && e.parentNode.removeChild(e);
100
100
  }
101
- function xs(e, t) {
101
+ function Ss(e, t) {
102
102
  for (let r = 0; r < e.length; r += 1)
103
103
  e[r] && e[r].d(t);
104
104
  }
105
105
  function z(e) {
106
106
  return document.createElement(e);
107
107
  }
108
- function ws(e) {
108
+ function As(e) {
109
109
  return document.createElementNS("http://www.w3.org/2000/svg", e);
110
110
  }
111
111
  function Ne(e) {
112
112
  return document.createTextNode(e);
113
113
  }
114
- function Xt() {
114
+ function zt() {
115
115
  return Ne(" ");
116
116
  }
117
- function Dn() {
117
+ function jn() {
118
118
  return Ne("");
119
119
  }
120
- function zt(e, t, r, n) {
120
+ function Wt(e, t, r, n) {
121
121
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
122
122
  }
123
123
  function U(e, t, r) {
@@ -127,18 +127,18 @@ function w(e, t, r) {
127
127
  const n = t.toLowerCase();
128
128
  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);
129
129
  }
130
- function Fn(e) {
130
+ function $n(e) {
131
131
  return Array.from(e.childNodes);
132
132
  }
133
133
  function st(e, t) {
134
134
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
135
135
  t);
136
136
  }
137
- function Ts(e, t, r, n) {
137
+ function Hs(e, t, r, n) {
138
138
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
139
139
  }
140
140
  let bt;
141
- function Un() {
141
+ function kn() {
142
142
  if (bt === void 0) {
143
143
  bt = !1;
144
144
  try {
@@ -149,16 +149,16 @@ function Un() {
149
149
  }
150
150
  return bt;
151
151
  }
152
- function Ss(e, t) {
152
+ function Bs(e, t) {
153
153
  getComputedStyle(e).position === "static" && (e.style.position = "relative");
154
154
  const n = z("iframe");
155
155
  n.setAttribute(
156
156
  "style",
157
157
  "display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"
158
158
  ), n.setAttribute("aria-hidden", "true"), n.tabIndex = -1;
159
- const i = Un();
159
+ const i = kn();
160
160
  let o;
161
- return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", o = zt(
161
+ return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", o = Wt(
162
162
  window,
163
163
  "message",
164
164
  /** @param {MessageEvent} event */
@@ -166,15 +166,15 @@ function Ss(e, t) {
166
166
  s.source === n.contentWindow && t();
167
167
  }
168
168
  )) : (n.src = "about:blank", n.onload = () => {
169
- o = zt(n.contentWindow, "resize", t), t();
169
+ o = Wt(n.contentWindow, "resize", t), t();
170
170
  }), re(e, n), () => {
171
171
  (i || o && n.contentWindow) && o(), ne(n);
172
172
  };
173
173
  }
174
- function As(e, t, r) {
174
+ function Ps(e, t, r) {
175
175
  e.classList.toggle(t, !!r);
176
176
  }
177
- function Gn(e) {
177
+ function Vn(e) {
178
178
  const t = {};
179
179
  return e.childNodes.forEach(
180
180
  /** @param {Element} node */
@@ -187,21 +187,21 @@ let at;
187
187
  function ot(e) {
188
188
  at = e;
189
189
  }
190
- function jn() {
190
+ function Xn() {
191
191
  if (!at) throw new Error("Function called outside component initialization");
192
192
  return at;
193
193
  }
194
- function $n(e) {
195
- jn().$$.on_mount.push(e);
194
+ function zn(e) {
195
+ Xn().$$.on_mount.push(e);
196
196
  }
197
- const $e = [], Wt = [];
197
+ const $e = [], qt = [];
198
198
  let ke = [];
199
- const gr = [], kn = /* @__PURE__ */ Promise.resolve();
200
- let qt = !1;
201
- function Vn() {
202
- qt || (qt = !0, kn.then(F));
199
+ const Er = [], Wn = /* @__PURE__ */ Promise.resolve();
200
+ let Zt = !1;
201
+ function qn() {
202
+ Zt || (Zt = !0, Wn.then(F));
203
203
  }
204
- function Zt(e) {
204
+ function Jt(e) {
205
205
  ke.push(e);
206
206
  }
207
207
  const Dt = /* @__PURE__ */ new Set();
@@ -214,55 +214,55 @@ function F() {
214
214
  try {
215
215
  for (; Ge < $e.length; ) {
216
216
  const t = $e[Ge];
217
- Ge++, ot(t), Xn(t.$$);
217
+ Ge++, ot(t), Zn(t.$$);
218
218
  }
219
219
  } catch (t) {
220
220
  throw $e.length = 0, Ge = 0, t;
221
221
  }
222
- for (ot(null), $e.length = 0, Ge = 0; Wt.length; ) Wt.pop()();
222
+ for (ot(null), $e.length = 0, Ge = 0; qt.length; ) qt.pop()();
223
223
  for (let t = 0; t < ke.length; t += 1) {
224
224
  const r = ke[t];
225
225
  Dt.has(r) || (Dt.add(r), r());
226
226
  }
227
227
  ke.length = 0;
228
228
  } while ($e.length);
229
- for (; gr.length; )
230
- gr.pop()();
231
- qt = !1, Dt.clear(), ot(e);
229
+ for (; Er.length; )
230
+ Er.pop()();
231
+ Zt = !1, Dt.clear(), ot(e);
232
232
  }
233
- function Xn(e) {
233
+ function Zn(e) {
234
234
  if (e.fragment !== null) {
235
235
  e.update(), ht(e.before_update);
236
236
  const t = e.dirty;
237
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Zt);
237
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Jt);
238
238
  }
239
239
  }
240
- function zn(e) {
240
+ function Jn(e) {
241
241
  const t = [], r = [];
242
242
  ke.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ke = t;
243
243
  }
244
- const Wn = /* @__PURE__ */ new Set();
245
- function qn(e, t) {
246
- e && e.i && (Wn.delete(e), e.i(t));
244
+ const Qn = /* @__PURE__ */ new Set();
245
+ function Yn(e, t) {
246
+ e && e.i && (Qn.delete(e), e.i(t));
247
247
  }
248
- function Hs(e) {
248
+ function Cs(e) {
249
249
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
250
250
  }
251
- function Zn(e, t, r) {
251
+ function Kn(e, t, r) {
252
252
  const { fragment: n, after_update: i } = e.$$;
253
- n && n.m(t, r), Zt(() => {
254
- const o = e.$$.on_mount.map(kr).filter(St);
253
+ n && n.m(t, r), Jt(() => {
254
+ const o = e.$$.on_mount.map(zr).filter(St);
255
255
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ht(o), e.$$.on_mount = [];
256
- }), i.forEach(Zt);
256
+ }), i.forEach(Jt);
257
257
  }
258
- function Jn(e, t) {
258
+ function ei(e, t) {
259
259
  const r = e.$$;
260
- r.fragment !== null && (zn(r.after_update), ht(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
260
+ r.fragment !== null && (Jn(r.after_update), ht(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
261
261
  }
262
- function Qn(e, t) {
263
- e.$$.dirty[0] === -1 && ($e.push(e), Vn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
262
+ function ti(e, t) {
263
+ e.$$.dirty[0] === -1 && ($e.push(e), qn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
264
264
  }
265
- function Yn(e, t, r, n, i, o, s = null, a = [-1]) {
265
+ function ri(e, t, r, n, i, o, s = null, a = [-1]) {
266
266
  const l = at;
267
267
  ot(e);
268
268
  const u = e.$$ = {
@@ -272,7 +272,7 @@ function Yn(e, t, r, n, i, o, s = null, a = [-1]) {
272
272
  props: o,
273
273
  update: ce,
274
274
  not_equal: i,
275
- bound: br(),
275
+ bound: yr(),
276
276
  // lifecycle
277
277
  on_mount: [],
278
278
  on_destroy: [],
@@ -281,28 +281,28 @@ function Yn(e, t, r, n, i, o, s = null, a = [-1]) {
281
281
  after_update: [],
282
282
  context: new Map(t.context || (l ? l.$$.context : [])),
283
283
  // everything else
284
- callbacks: br(),
284
+ callbacks: yr(),
285
285
  dirty: a,
286
286
  skip_bound: !1,
287
287
  root: t.target || l.$$.root
288
288
  };
289
289
  s && s(u.root);
290
290
  let c = !1;
291
- if (u.ctx = r ? r(e, t.props || {}, (d, p, ..._) => {
292
- const O = _.length ? _[0] : p;
293
- return u.ctx && i(u.ctx[d], u.ctx[d] = O) && (!u.skip_bound && u.bound[d] && u.bound[d](O), c && Qn(e, d)), p;
291
+ if (u.ctx = r ? r(e, t.props || {}, (d, m, ..._) => {
292
+ const O = _.length ? _[0] : m;
293
+ return u.ctx && i(u.ctx[d], u.ctx[d] = O) && (!u.skip_bound && u.bound[d] && u.bound[d](O), c && ti(e, d)), m;
294
294
  }) : [], u.update(), c = !0, ht(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
295
295
  if (t.hydrate) {
296
- const d = Fn(t.target);
296
+ const d = $n(t.target);
297
297
  u.fragment && u.fragment.l(d), d.forEach(ne);
298
298
  } else
299
299
  u.fragment && u.fragment.c();
300
- t.intro && qn(e.$$.fragment), Zn(e, t.target, t.anchor), F();
300
+ t.intro && Yn(e.$$.fragment), Kn(e, t.target, t.anchor), F();
301
301
  }
302
302
  ot(l);
303
303
  }
304
- let zr;
305
- typeof HTMLElement == "function" && (zr = class extends HTMLElement {
304
+ let Zr;
305
+ typeof HTMLElement == "function" && (Zr = class extends HTMLElement {
306
306
  constructor(t, r, n) {
307
307
  super();
308
308
  /** The Svelte component constructor */
@@ -363,7 +363,7 @@ typeof HTMLElement == "function" && (zr = class extends HTMLElement {
363
363
  };
364
364
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
365
365
  return;
366
- const r = {}, n = Gn(this);
366
+ const r = {}, n = Vn(this);
367
367
  for (const o of this.$$s)
368
368
  o in n && (r[o] = [t(o)]);
369
369
  for (const o of this.attributes) {
@@ -374,7 +374,7 @@ typeof HTMLElement == "function" && (zr = class extends HTMLElement {
374
374
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
375
375
  this.$$c = new this.$$ctor({
376
376
  target: this.shadowRoot || this,
377
- props: pr(mr({}, this.$$d), {
377
+ props: vr(gr({}, this.$$d), {
378
378
  $$slots: r,
379
379
  $$scope: {
380
380
  ctx: []
@@ -452,8 +452,8 @@ function yt(e, t, r, n) {
452
452
  return t;
453
453
  }
454
454
  }
455
- function Kn(e, t, r, n, i, o) {
456
- let s = class extends zr {
455
+ function ni(e, t, r, n, i, o) {
456
+ let s = class extends Zr {
457
457
  constructor() {
458
458
  super(e, r, i), this.$$p_d = t;
459
459
  }
@@ -483,7 +483,7 @@ function Kn(e, t, r, n, i, o) {
483
483
  }), e.element = /** @type {any} */
484
484
  s, s;
485
485
  }
486
- class ei {
486
+ class ii {
487
487
  constructor() {
488
488
  /**
489
489
  * ### PRIVATE API
@@ -504,7 +504,7 @@ class ei {
504
504
  }
505
505
  /** @returns {void} */
506
506
  $destroy() {
507
- Jn(this, 1), this.$destroy = ce;
507
+ ei(this, 1), this.$destroy = ce;
508
508
  }
509
509
  /**
510
510
  * @template {Extract<keyof Events, string>} K
@@ -526,22 +526,22 @@ class ei {
526
526
  * @returns {void}
527
527
  */
528
528
  $set(t) {
529
- this.$$set && !In(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
529
+ this.$$set && !Rn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
530
530
  }
531
531
  }
532
- const ti = "4";
533
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(ti);
534
- var Jt = function(e, t) {
535
- return Jt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
532
+ const oi = "4";
533
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(oi);
534
+ var Qt = function(e, t) {
535
+ return Qt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
536
536
  r.__proto__ = n;
537
537
  } || function(r, n) {
538
538
  for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
539
- }, Jt(e, t);
539
+ }, Qt(e, t);
540
540
  };
541
541
  function we(e, t) {
542
542
  if (typeof t != "function" && t !== null)
543
543
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
544
- Jt(e, t);
544
+ Qt(e, t);
545
545
  function r() {
546
546
  this.constructor = e;
547
547
  }
@@ -556,7 +556,7 @@ var P = function() {
556
556
  return t;
557
557
  }, P.apply(this, arguments);
558
558
  };
559
- function ri(e, t) {
559
+ function si(e, t) {
560
560
  var r = {};
561
561
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
562
562
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -564,7 +564,7 @@ function ri(e, t) {
564
564
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
565
565
  return r;
566
566
  }
567
- function Qt(e) {
567
+ function Yt(e) {
568
568
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
569
569
  if (r) return r.call(e);
570
570
  if (e && typeof e.length == "number") return {
@@ -574,7 +574,7 @@ function Qt(e) {
574
574
  };
575
575
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
576
576
  }
577
- function Yt(e, t) {
577
+ function Kt(e, t) {
578
578
  var r = typeof Symbol == "function" && e[Symbol.iterator];
579
579
  if (!r) return e;
580
580
  var n = r.call(e), i, o = [], s;
@@ -599,13 +599,13 @@ function Ve(e, t, r) {
599
599
  function xe(e) {
600
600
  return typeof e == "function";
601
601
  }
602
- function Wr(e) {
602
+ function Jr(e) {
603
603
  var t = function(n) {
604
604
  Error.call(n), n.stack = new Error().stack;
605
605
  }, r = e(t);
606
606
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
607
607
  }
608
- var Ft = Wr(function(e) {
608
+ var Ft = Jr(function(e) {
609
609
  return function(r) {
610
610
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
611
611
  ` + r.map(function(n, i) {
@@ -614,7 +614,7 @@ var Ft = Wr(function(e) {
614
614
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
615
615
  };
616
616
  });
617
- function Kt(e, t) {
617
+ function er(e, t) {
618
618
  if (e) {
619
619
  var r = e.indexOf(t);
620
620
  0 <= r && e.splice(r, 1);
@@ -632,7 +632,7 @@ var At = function() {
632
632
  if (s)
633
633
  if (this._parentage = null, Array.isArray(s))
634
634
  try {
635
- for (var a = Qt(s), l = a.next(); !l.done; l = a.next()) {
635
+ for (var a = Yt(s), l = a.next(); !l.done; l = a.next()) {
636
636
  var u = l.value;
637
637
  u.remove(this);
638
638
  }
@@ -658,19 +658,19 @@ var At = function() {
658
658
  if (d) {
659
659
  this._finalizers = null;
660
660
  try {
661
- for (var p = Qt(d), _ = p.next(); !_.done; _ = p.next()) {
661
+ for (var m = Yt(d), _ = m.next(); !_.done; _ = m.next()) {
662
662
  var O = _.value;
663
663
  try {
664
- vr(O);
664
+ _r(O);
665
665
  } catch (B) {
666
- o = o != null ? o : [], B instanceof Ft ? o = Ve(Ve([], Yt(o)), Yt(B.errors)) : o.push(B);
666
+ o = o != null ? o : [], B instanceof Ft ? o = Ve(Ve([], Kt(o)), Kt(B.errors)) : o.push(B);
667
667
  }
668
668
  }
669
669
  } catch (B) {
670
670
  n = { error: B };
671
671
  } finally {
672
672
  try {
673
- _ && !_.done && (i = p.return) && i.call(p);
673
+ _ && !_.done && (i = m.return) && i.call(m);
674
674
  } finally {
675
675
  if (n) throw n.error;
676
676
  }
@@ -683,7 +683,7 @@ var At = function() {
683
683
  var r;
684
684
  if (t && t !== this)
685
685
  if (this.closed)
686
- vr(t);
686
+ _r(t);
687
687
  else {
688
688
  if (t instanceof e) {
689
689
  if (t.closed || t._hasParent(this))
@@ -700,52 +700,56 @@ var At = function() {
700
700
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
701
701
  }, e.prototype._removeParent = function(t) {
702
702
  var r = this._parentage;
703
- r === t ? this._parentage = null : Array.isArray(r) && Kt(r, t);
703
+ r === t ? this._parentage = null : Array.isArray(r) && er(r, t);
704
704
  }, e.prototype.remove = function(t) {
705
705
  var r = this._finalizers;
706
- r && Kt(r, t), t instanceof e && t._removeParent(this);
706
+ r && er(r, t), t instanceof e && t._removeParent(this);
707
707
  }, e.EMPTY = function() {
708
708
  var t = new e();
709
709
  return t.closed = !0, t;
710
710
  }(), e;
711
- }(), qr = At.EMPTY;
712
- function Zr(e) {
711
+ }(), Qr = At.EMPTY;
712
+ function Yr(e) {
713
713
  return e instanceof At || e && "closed" in e && xe(e.remove) && xe(e.add) && xe(e.unsubscribe);
714
714
  }
715
- function vr(e) {
715
+ function _r(e) {
716
716
  xe(e) ? e() : e.unsubscribe();
717
717
  }
718
- var ni = {
719
- Promise: void 0
720
- }, ii = {
718
+ var Kr = {
719
+ onUnhandledError: null,
720
+ onStoppedNotification: null,
721
+ Promise: void 0,
722
+ useDeprecatedSynchronousErrorHandling: !1,
723
+ useDeprecatedNextContext: !1
724
+ }, ai = {
721
725
  setTimeout: function(e, t) {
722
726
  for (var r = [], n = 2; n < arguments.length; n++)
723
727
  r[n - 2] = arguments[n];
724
- return setTimeout.apply(void 0, Ve([e, t], Yt(r)));
728
+ return setTimeout.apply(void 0, Ve([e, t], Kt(r)));
725
729
  },
726
730
  clearTimeout: function(e) {
727
731
  return clearTimeout(e);
728
732
  },
729
733
  delegate: void 0
730
734
  };
731
- function oi(e) {
732
- ii.setTimeout(function() {
735
+ function ui(e) {
736
+ ai.setTimeout(function() {
733
737
  throw e;
734
738
  });
735
739
  }
736
- function yr() {
740
+ function xr() {
737
741
  }
738
742
  function Et(e) {
739
743
  e();
740
744
  }
741
- var Jr = function(e) {
745
+ var en = function(e) {
742
746
  we(t, e);
743
747
  function t(r) {
744
748
  var n = e.call(this) || this;
745
- return n.isStopped = !1, r ? (n.destination = r, Zr(r) && r.add(n)) : n.destination = ui, n;
749
+ return n.isStopped = !1, r ? (n.destination = r, Yr(r) && r.add(n)) : n.destination = ci, n;
746
750
  }
747
751
  return t.create = function(r, n, i) {
748
- return new er(r, n, i);
752
+ return new tr(r, n, i);
749
753
  }, t.prototype.next = function(r) {
750
754
  this.isStopped || this._next(r);
751
755
  }, t.prototype.error = function(r) {
@@ -769,7 +773,11 @@ var Jr = function(e) {
769
773
  this.unsubscribe();
770
774
  }
771
775
  }, t;
772
- }(At), si = function() {
776
+ }(At), li = Function.prototype.bind;
777
+ function Ut(e, t) {
778
+ return li.call(e, t);
779
+ }
780
+ var hi = function() {
773
781
  function e(t) {
774
782
  this.partialObserver = t;
775
783
  }
@@ -800,43 +808,55 @@ var Jr = function(e) {
800
808
  gt(r);
801
809
  }
802
810
  }, e;
803
- }(), er = function(e) {
811
+ }(), tr = function(e) {
804
812
  we(t, e);
805
813
  function t(r, n, i) {
806
814
  var o = e.call(this) || this, s;
807
- return xe(r) || !r ? s = {
808
- next: r != null ? r : void 0,
809
- error: n != null ? n : void 0,
810
- complete: i != null ? i : void 0
811
- } : s = r, o.destination = new si(s), o;
815
+ if (xe(r) || !r)
816
+ s = {
817
+ next: r != null ? r : void 0,
818
+ error: n != null ? n : void 0,
819
+ complete: i != null ? i : void 0
820
+ };
821
+ else {
822
+ var a;
823
+ o && Kr.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
824
+ return o.unsubscribe();
825
+ }, s = {
826
+ next: r.next && Ut(r.next, a),
827
+ error: r.error && Ut(r.error, a),
828
+ complete: r.complete && Ut(r.complete, a)
829
+ }) : s = r;
830
+ }
831
+ return o.destination = new hi(s), o;
812
832
  }
813
833
  return t;
814
- }(Jr);
834
+ }(en);
815
835
  function gt(e) {
816
- oi(e);
836
+ ui(e);
817
837
  }
818
- function ai(e) {
838
+ function fi(e) {
819
839
  throw e;
820
840
  }
821
- var ui = {
841
+ var ci = {
822
842
  closed: !0,
823
- next: yr,
824
- error: ai,
825
- complete: yr
826
- }, li = function() {
843
+ next: xr,
844
+ error: fi,
845
+ complete: xr
846
+ }, di = function() {
827
847
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
828
848
  }();
829
- function hi(e) {
849
+ function pi(e) {
830
850
  return e;
831
851
  }
832
- function fi(e) {
833
- return e.length === 0 ? hi : e.length === 1 ? e[0] : function(r) {
852
+ function mi(e) {
853
+ return e.length === 0 ? pi : e.length === 1 ? e[0] : function(r) {
834
854
  return e.reduce(function(n, i) {
835
855
  return i(n);
836
856
  }, r);
837
857
  };
838
858
  }
839
- var Er = function() {
859
+ var wr = function() {
840
860
  function e(t) {
841
861
  t && (this._subscribe = t);
842
862
  }
@@ -844,7 +864,7 @@ var Er = function() {
844
864
  var r = new e();
845
865
  return r.source = this, r.operator = t, r;
846
866
  }, e.prototype.subscribe = function(t, r, n) {
847
- var i = this, o = di(t) ? t : new er(t, r, n);
867
+ var i = this, o = gi(t) ? t : new tr(t, r, n);
848
868
  return Et(function() {
849
869
  var s = i, a = s.operator, l = s.source;
850
870
  o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
@@ -857,8 +877,8 @@ var Er = function() {
857
877
  }
858
878
  }, e.prototype.forEach = function(t, r) {
859
879
  var n = this;
860
- return r = _r(r), new r(function(i, o) {
861
- var s = new er({
880
+ return r = Tr(r), new r(function(i, o) {
881
+ var s = new tr({
862
882
  next: function(a) {
863
883
  try {
864
884
  t(a);
@@ -874,15 +894,15 @@ var Er = function() {
874
894
  }, e.prototype._subscribe = function(t) {
875
895
  var r;
876
896
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
877
- }, e.prototype[li] = function() {
897
+ }, e.prototype[di] = function() {
878
898
  return this;
879
899
  }, e.prototype.pipe = function() {
880
900
  for (var t = [], r = 0; r < arguments.length; r++)
881
901
  t[r] = arguments[r];
882
- return fi(t)(this);
902
+ return mi(t)(this);
883
903
  }, e.prototype.toPromise = function(t) {
884
904
  var r = this;
885
- return t = _r(t), new t(function(n, i) {
905
+ return t = Tr(t), new t(function(n, i) {
886
906
  var o;
887
907
  r.subscribe(function(s) {
888
908
  return o = s;
@@ -896,32 +916,32 @@ var Er = function() {
896
916
  return new e(t);
897
917
  }, e;
898
918
  }();
899
- function _r(e) {
919
+ function Tr(e) {
900
920
  var t;
901
- return (t = e != null ? e : ni.Promise) !== null && t !== void 0 ? t : Promise;
921
+ return (t = e != null ? e : Kr.Promise) !== null && t !== void 0 ? t : Promise;
902
922
  }
903
- function ci(e) {
923
+ function bi(e) {
904
924
  return e && xe(e.next) && xe(e.error) && xe(e.complete);
905
925
  }
906
- function di(e) {
907
- return e && e instanceof Jr || ci(e) && Zr(e);
926
+ function gi(e) {
927
+ return e && e instanceof en || bi(e) && Yr(e);
908
928
  }
909
- var mi = Wr(function(e) {
929
+ var vi = Jr(function(e) {
910
930
  return function() {
911
931
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
912
932
  };
913
- }), Qr = function(e) {
933
+ }), tn = function(e) {
914
934
  we(t, e);
915
935
  function t() {
916
936
  var r = e.call(this) || this;
917
937
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
918
938
  }
919
939
  return t.prototype.lift = function(r) {
920
- var n = new xr(this, this);
940
+ var n = new Sr(this, this);
921
941
  return n.operator = r, n;
922
942
  }, t.prototype._throwIfClosed = function() {
923
943
  if (this.closed)
924
- throw new mi();
944
+ throw new vi();
925
945
  }, t.prototype.next = function(r) {
926
946
  var n = this;
927
947
  Et(function() {
@@ -929,7 +949,7 @@ var mi = Wr(function(e) {
929
949
  if (n._throwIfClosed(), !n.isStopped) {
930
950
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
931
951
  try {
932
- for (var s = Qt(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
952
+ for (var s = Yt(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
933
953
  var l = a.value;
934
954
  l.next(r);
935
955
  }
@@ -977,19 +997,19 @@ var mi = Wr(function(e) {
977
997
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
978
998
  }, t.prototype._innerSubscribe = function(r) {
979
999
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
980
- return o || s ? qr : (this.currentObservers = null, a.push(r), new At(function() {
981
- n.currentObservers = null, Kt(a, r);
1000
+ return o || s ? Qr : (this.currentObservers = null, a.push(r), new At(function() {
1001
+ n.currentObservers = null, er(a, r);
982
1002
  }));
983
1003
  }, t.prototype._checkFinalizedStatuses = function(r) {
984
1004
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
985
1005
  i ? r.error(o) : s && r.complete();
986
1006
  }, t.prototype.asObservable = function() {
987
- var r = new Er();
1007
+ var r = new wr();
988
1008
  return r.source = this, r;
989
1009
  }, t.create = function(r, n) {
990
- return new xr(r, n);
1010
+ return new Sr(r, n);
991
1011
  }, t;
992
- }(Er), xr = function(e) {
1012
+ }(wr), Sr = function(e) {
993
1013
  we(t, e);
994
1014
  function t(r, n) {
995
1015
  var i = e.call(this) || this;
@@ -1006,17 +1026,17 @@ var mi = Wr(function(e) {
1006
1026
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1007
1027
  }, t.prototype._subscribe = function(r) {
1008
1028
  var n, i;
1009
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : qr;
1029
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Qr;
1010
1030
  }, t;
1011
- }(Qr), Yr = {
1031
+ }(tn), rn = {
1012
1032
  now: function() {
1013
- return (Yr.delegate || Date).now();
1033
+ return (rn.delegate || Date).now();
1014
1034
  },
1015
1035
  delegate: void 0
1016
- }, pi = function(e) {
1036
+ }, yi = function(e) {
1017
1037
  we(t, e);
1018
1038
  function t(r, n, i) {
1019
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Yr);
1039
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = rn);
1020
1040
  var o = e.call(this) || this;
1021
1041
  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;
1022
1042
  }
@@ -1036,15 +1056,15 @@ var mi = Wr(function(e) {
1036
1056
  u && o.splice(0, u + 1);
1037
1057
  }
1038
1058
  }, t;
1039
- }(Qr);
1040
- const wr = [], Tr = {}, bi = (e, t = 0) => {
1041
- if (wr.indexOf(e) == -1) {
1042
- const r = new pi(t);
1043
- Tr[e] = r, wr.push(e);
1059
+ }(tn);
1060
+ const Ar = [], Hr = {}, Ei = (e, t = 0) => {
1061
+ if (Ar.indexOf(e) == -1) {
1062
+ const r = new yi(t);
1063
+ Hr[e] = r, Ar.push(e);
1044
1064
  }
1045
- return Tr[e];
1065
+ return Hr[e];
1046
1066
  }, je = [];
1047
- function gi(e, t) {
1067
+ function _i(e, t) {
1048
1068
  return {
1049
1069
  subscribe: Ht(e, t).subscribe
1050
1070
  };
@@ -1053,7 +1073,7 @@ function Ht(e, t = ce) {
1053
1073
  let r;
1054
1074
  const n = /* @__PURE__ */ new Set();
1055
1075
  function i(a) {
1056
- if (Vr(e, a) && (e = a, r)) {
1076
+ if (Wr(e, a) && (e = a, r)) {
1057
1077
  const l = !je.length;
1058
1078
  for (const u of n)
1059
1079
  u[1](), je.push(u, e);
@@ -1080,97 +1100,97 @@ function Ze(e, t, r) {
1080
1100
  if (!i.every(Boolean))
1081
1101
  throw new Error("derived() expects stores as input, got a falsy value");
1082
1102
  const o = t.length < 2;
1083
- return gi(r, (s, a) => {
1103
+ return _i(r, (s, a) => {
1084
1104
  let l = !1;
1085
1105
  const u = [];
1086
1106
  let c = 0, d = ce;
1087
- const p = () => {
1107
+ const m = () => {
1088
1108
  if (c)
1089
1109
  return;
1090
1110
  d();
1091
1111
  const O = t(n ? u[0] : u, s, a);
1092
1112
  o ? s(O) : d = St(O) ? O : ce;
1093
1113
  }, _ = i.map(
1094
- (O, B) => Xr(
1114
+ (O, B) => qr(
1095
1115
  O,
1096
1116
  (ee) => {
1097
- u[B] = ee, c &= ~(1 << B), l && p();
1117
+ u[B] = ee, c &= ~(1 << B), l && m();
1098
1118
  },
1099
1119
  () => {
1100
1120
  c |= 1 << B;
1101
1121
  }
1102
1122
  )
1103
1123
  );
1104
- return l = !0, p(), function() {
1124
+ return l = !0, m(), function() {
1105
1125
  ht(_), d(), l = !1;
1106
1126
  };
1107
1127
  });
1108
1128
  }
1109
- var vi = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
1110
- function yi(e) {
1129
+ var xi = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
1130
+ function wi(e) {
1111
1131
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1112
1132
  }
1113
- var Ei = function(t) {
1114
- return _i(t) && !xi(t);
1133
+ var Ti = function(t) {
1134
+ return Si(t) && !Ai(t);
1115
1135
  };
1116
- function _i(e) {
1136
+ function Si(e) {
1117
1137
  return !!e && typeof e == "object";
1118
1138
  }
1119
- function xi(e) {
1139
+ function Ai(e) {
1120
1140
  var t = Object.prototype.toString.call(e);
1121
- return t === "[object RegExp]" || t === "[object Date]" || Si(e);
1141
+ return t === "[object RegExp]" || t === "[object Date]" || Pi(e);
1122
1142
  }
1123
- var wi = typeof Symbol == "function" && Symbol.for, Ti = wi ? Symbol.for("react.element") : 60103;
1124
- function Si(e) {
1125
- return e.$$typeof === Ti;
1143
+ var Hi = typeof Symbol == "function" && Symbol.for, Bi = Hi ? Symbol.for("react.element") : 60103;
1144
+ function Pi(e) {
1145
+ return e.$$typeof === Bi;
1126
1146
  }
1127
- function Ai(e) {
1147
+ function Ci(e) {
1128
1148
  return Array.isArray(e) ? [] : {};
1129
1149
  }
1130
1150
  function ut(e, t) {
1131
- return t.clone !== !1 && t.isMergeableObject(e) ? Xe(Ai(e), e, t) : e;
1151
+ return t.clone !== !1 && t.isMergeableObject(e) ? Xe(Ci(e), e, t) : e;
1132
1152
  }
1133
- function Hi(e, t, r) {
1153
+ function Oi(e, t, r) {
1134
1154
  return e.concat(t).map(function(n) {
1135
1155
  return ut(n, r);
1136
1156
  });
1137
1157
  }
1138
- function Bi(e, t) {
1158
+ function Ii(e, t) {
1139
1159
  if (!t.customMerge)
1140
1160
  return Xe;
1141
1161
  var r = t.customMerge(e);
1142
1162
  return typeof r == "function" ? r : Xe;
1143
1163
  }
1144
- function Pi(e) {
1164
+ function Li(e) {
1145
1165
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1146
1166
  return Object.propertyIsEnumerable.call(e, t);
1147
1167
  }) : [];
1148
1168
  }
1149
- function Sr(e) {
1150
- return Object.keys(e).concat(Pi(e));
1169
+ function Br(e) {
1170
+ return Object.keys(e).concat(Li(e));
1151
1171
  }
1152
- function Kr(e, t) {
1172
+ function nn(e, t) {
1153
1173
  try {
1154
1174
  return t in e;
1155
1175
  } catch (r) {
1156
1176
  return !1;
1157
1177
  }
1158
1178
  }
1159
- function Ci(e, t) {
1160
- return Kr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1179
+ function Ni(e, t) {
1180
+ return nn(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1161
1181
  }
1162
- function Oi(e, t, r) {
1182
+ function Mi(e, t, r) {
1163
1183
  var n = {};
1164
- return r.isMergeableObject(e) && Sr(e).forEach(function(i) {
1184
+ return r.isMergeableObject(e) && Br(e).forEach(function(i) {
1165
1185
  n[i] = ut(e[i], r);
1166
- }), Sr(t).forEach(function(i) {
1167
- Ci(e, i) || (Kr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Bi(i, r)(e[i], t[i], r) : n[i] = ut(t[i], r));
1186
+ }), Br(t).forEach(function(i) {
1187
+ Ni(e, i) || (nn(e, i) && r.isMergeableObject(t[i]) ? n[i] = Ii(i, r)(e[i], t[i], r) : n[i] = ut(t[i], r));
1168
1188
  }), n;
1169
1189
  }
1170
1190
  function Xe(e, t, r) {
1171
- r = r || {}, r.arrayMerge = r.arrayMerge || Hi, r.isMergeableObject = r.isMergeableObject || Ei, r.cloneUnlessOtherwiseSpecified = ut;
1191
+ r = r || {}, r.arrayMerge = r.arrayMerge || Oi, r.isMergeableObject = r.isMergeableObject || Ti, r.cloneUnlessOtherwiseSpecified = ut;
1172
1192
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1173
- return o ? n ? r.arrayMerge(e, t, r) : Oi(e, t, r) : ut(t, r);
1193
+ return o ? n ? r.arrayMerge(e, t, r) : Mi(e, t, r) : ut(t, r);
1174
1194
  }
1175
1195
  Xe.all = function(t, r) {
1176
1196
  if (!Array.isArray(t))
@@ -1179,56 +1199,58 @@ Xe.all = function(t, r) {
1179
1199
  return Xe(n, i, r);
1180
1200
  }, {});
1181
1201
  };
1182
- var Ii = Xe, Li = Ii;
1183
- const Ni = /* @__PURE__ */ yi(Li);
1184
- function Ut(e, t) {
1185
- var r = t && t.cache ? t.cache : ji, n = t && t.serializer ? t.serializer : Ui, i = t && t.strategy ? t.strategy : Di;
1202
+ var Ri = Xe, Di = Ri;
1203
+ const Fi = /* @__PURE__ */ wi(Di);
1204
+ function Gt(e, t) {
1205
+ var r = t && t.cache ? t.cache : Vi, n = t && t.serializer ? t.serializer : ki, i = t && t.strategy ? t.strategy : Gi;
1186
1206
  return i(e, {
1187
1207
  cache: r,
1188
1208
  serializer: n
1189
1209
  });
1190
1210
  }
1191
- function Mi(e) {
1211
+ function Ui(e) {
1192
1212
  return e == null || typeof e == "number" || typeof e == "boolean";
1193
1213
  }
1194
- function Ri(e, t, r, n) {
1195
- var i = Mi(n) ? n : r(n), o = t.get(i);
1214
+ function on(e, t, r, n) {
1215
+ var i = Ui(n) ? n : r(n), o = t.get(i);
1196
1216
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1197
1217
  }
1198
- function en(e, t, r) {
1218
+ function sn(e, t, r) {
1199
1219
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1200
1220
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1201
1221
  }
1202
- function tn(e, t, r, n, i) {
1222
+ function fr(e, t, r, n, i) {
1203
1223
  return r.bind(t, e, n, i);
1204
1224
  }
1205
- function Di(e, t) {
1206
- var r = e.length === 1 ? Ri : en;
1207
- return tn(e, this, r, t.cache.create(), t.serializer);
1225
+ function Gi(e, t) {
1226
+ var r = e.length === 1 ? on : sn;
1227
+ return fr(e, this, r, t.cache.create(), t.serializer);
1228
+ }
1229
+ function ji(e, t) {
1230
+ return fr(e, this, sn, t.cache.create(), t.serializer);
1208
1231
  }
1209
- function Fi(e, t) {
1210
- return tn(e, this, en, t.cache.create(), t.serializer);
1232
+ function $i(e, t) {
1233
+ return fr(e, this, on, t.cache.create(), t.serializer);
1211
1234
  }
1212
- var Ui = function() {
1235
+ var ki = function() {
1213
1236
  return JSON.stringify(arguments);
1214
- }, Gi = (
1215
- /** @class */
1216
- function() {
1217
- function e() {
1218
- this.cache = /* @__PURE__ */ Object.create(null);
1219
- }
1220
- return e.prototype.get = function(t) {
1221
- return this.cache[t];
1222
- }, e.prototype.set = function(t, r) {
1223
- this.cache[t] = r;
1224
- }, e;
1225
- }()
1226
- ), ji = {
1237
+ };
1238
+ function cr() {
1239
+ this.cache = /* @__PURE__ */ Object.create(null);
1240
+ }
1241
+ cr.prototype.get = function(e) {
1242
+ return this.cache[e];
1243
+ };
1244
+ cr.prototype.set = function(e, t) {
1245
+ this.cache[e] = t;
1246
+ };
1247
+ var Vi = {
1227
1248
  create: function() {
1228
- return new Gi();
1249
+ return new cr();
1229
1250
  }
1230
- }, Gt = {
1231
- variadic: Fi
1251
+ }, jt = {
1252
+ variadic: ji,
1253
+ monadic: $i
1232
1254
  }, A;
1233
1255
  (function(e) {
1234
1256
  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";
@@ -1241,43 +1263,43 @@ var ze;
1241
1263
  (function(e) {
1242
1264
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1243
1265
  })(ze || (ze = {}));
1244
- function Ar(e) {
1266
+ function Pr(e) {
1245
1267
  return e.type === D.literal;
1246
1268
  }
1247
- function $i(e) {
1269
+ function Xi(e) {
1248
1270
  return e.type === D.argument;
1249
1271
  }
1250
- function rn(e) {
1272
+ function an(e) {
1251
1273
  return e.type === D.number;
1252
1274
  }
1253
- function nn(e) {
1275
+ function un(e) {
1254
1276
  return e.type === D.date;
1255
1277
  }
1256
- function on(e) {
1278
+ function ln(e) {
1257
1279
  return e.type === D.time;
1258
1280
  }
1259
- function sn(e) {
1281
+ function hn(e) {
1260
1282
  return e.type === D.select;
1261
1283
  }
1262
- function an(e) {
1284
+ function fn(e) {
1263
1285
  return e.type === D.plural;
1264
1286
  }
1265
- function ki(e) {
1287
+ function zi(e) {
1266
1288
  return e.type === D.pound;
1267
1289
  }
1268
- function un(e) {
1290
+ function cn(e) {
1269
1291
  return e.type === D.tag;
1270
1292
  }
1271
- function ln(e) {
1293
+ function dn(e) {
1272
1294
  return !!(e && typeof e == "object" && e.type === ze.number);
1273
1295
  }
1274
- function tr(e) {
1296
+ function rr(e) {
1275
1297
  return !!(e && typeof e == "object" && e.type === ze.dateTime);
1276
1298
  }
1277
- var hn = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Vi = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1278
- function Xi(e) {
1299
+ var pn = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Wi = /(?:[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;
1300
+ function qi(e) {
1279
1301
  var t = {};
1280
- return e.replace(Vi, function(r) {
1302
+ return e.replace(Wi, function(r) {
1281
1303
  var n = r.length;
1282
1304
  switch (r[0]) {
1283
1305
  case "G":
@@ -1366,12 +1388,12 @@ function Xi(e) {
1366
1388
  return "";
1367
1389
  }), t;
1368
1390
  }
1369
- var zi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1370
- function Wi(e) {
1391
+ var Zi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1392
+ function Ji(e) {
1371
1393
  if (e.length === 0)
1372
1394
  throw new Error("Number skeleton cannot be empty");
1373
- for (var t = e.split(zi).filter(function(p) {
1374
- return p.length > 0;
1395
+ for (var t = e.split(Zi).filter(function(m) {
1396
+ return m.length > 0;
1375
1397
  }), r = [], n = 0, i = t; n < i.length; n++) {
1376
1398
  var o = i[n], s = o.split("/");
1377
1399
  if (s.length === 0)
@@ -1385,17 +1407,17 @@ function Wi(e) {
1385
1407
  }
1386
1408
  return r;
1387
1409
  }
1388
- function qi(e) {
1410
+ function Qi(e) {
1389
1411
  return e.replace(/^(.*?)-/, "");
1390
1412
  }
1391
- var Hr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, fn = /^(@+)?(\+|#+)?[rs]?$/g, Zi = /(\*)(0+)|(#+)(0+)|(0+)/g, cn = /^(0+)$/;
1392
- function Br(e) {
1413
+ var Cr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, mn = /^(@+)?(\+|#+)?[rs]?$/g, Yi = /(\*)(0+)|(#+)(0+)|(0+)/g, bn = /^(0+)$/;
1414
+ function Or(e) {
1393
1415
  var t = {};
1394
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(fn, function(r, n, i) {
1416
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(mn, function(r, n, i) {
1395
1417
  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)), "";
1396
1418
  }), t;
1397
1419
  }
1398
- function dn(e) {
1420
+ function gn(e) {
1399
1421
  switch (e) {
1400
1422
  case "sign-auto":
1401
1423
  return {
@@ -1435,7 +1457,7 @@ function dn(e) {
1435
1457
  };
1436
1458
  }
1437
1459
  }
1438
- function Ji(e) {
1460
+ function Ki(e) {
1439
1461
  var t;
1440
1462
  if (e[0] === "E" && e[1] === "E" ? (t = {
1441
1463
  notation: "engineering"
@@ -1443,17 +1465,17 @@ function Ji(e) {
1443
1465
  notation: "scientific"
1444
1466
  }, e = e.slice(1)), t) {
1445
1467
  var r = e.slice(0, 2);
1446
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !cn.test(e))
1468
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !bn.test(e))
1447
1469
  throw new Error("Malformed concise eng/scientific notation");
1448
1470
  t.minimumIntegerDigits = e.length;
1449
1471
  }
1450
1472
  return t;
1451
1473
  }
1452
- function Pr(e) {
1453
- var t = {}, r = dn(e);
1474
+ function Ir(e) {
1475
+ var t = {}, r = gn(e);
1454
1476
  return r || t;
1455
1477
  }
1456
- function Qi(e) {
1478
+ function eo(e) {
1457
1479
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1458
1480
  var i = n[r];
1459
1481
  switch (i.stem) {
@@ -1477,7 +1499,7 @@ function Qi(e) {
1477
1499
  continue;
1478
1500
  case "measure-unit":
1479
1501
  case "unit":
1480
- t.style = "unit", t.unit = qi(i.options[0]);
1502
+ t.style = "unit", t.unit = Qi(i.options[0]);
1481
1503
  continue;
1482
1504
  case "compact-short":
1483
1505
  case "K":
@@ -1489,12 +1511,12 @@ function Qi(e) {
1489
1511
  continue;
1490
1512
  case "scientific":
1491
1513
  t = P(P(P({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1492
- return P(P({}, l), Pr(u));
1514
+ return P(P({}, l), Ir(u));
1493
1515
  }, {}));
1494
1516
  continue;
1495
1517
  case "engineering":
1496
1518
  t = P(P(P({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1497
- return P(P({}, l), Pr(u));
1519
+ return P(P({}, l), Ir(u));
1498
1520
  }, {}));
1499
1521
  continue;
1500
1522
  case "notation-simple":
@@ -1539,11 +1561,11 @@ function Qi(e) {
1539
1561
  case "integer-width":
1540
1562
  if (i.options.length > 1)
1541
1563
  throw new RangeError("integer-width stems only accept a single optional option");
1542
- i.options[0].replace(Zi, function(l, u, c, d, p, _) {
1564
+ i.options[0].replace(Yi, function(l, u, c, d, m, _) {
1543
1565
  if (u)
1544
1566
  t.minimumIntegerDigits = c.length;
1545
1567
  else {
1546
- if (d && p)
1568
+ if (d && m)
1547
1569
  throw new Error("We currently do not support maximum integer digits");
1548
1570
  if (_)
1549
1571
  throw new Error("We currently do not support exact integer digits");
@@ -1552,27 +1574,27 @@ function Qi(e) {
1552
1574
  });
1553
1575
  continue;
1554
1576
  }
1555
- if (cn.test(i.stem)) {
1577
+ if (bn.test(i.stem)) {
1556
1578
  t.minimumIntegerDigits = i.stem.length;
1557
1579
  continue;
1558
1580
  }
1559
- if (Hr.test(i.stem)) {
1581
+ if (Cr.test(i.stem)) {
1560
1582
  if (i.options.length > 1)
1561
1583
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1562
- i.stem.replace(Hr, function(l, u, c, d, p, _) {
1563
- return c === "*" ? t.minimumFractionDigits = u.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : p && _ ? (t.minimumFractionDigits = p.length, t.maximumFractionDigits = p.length + _.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1584
+ i.stem.replace(Cr, function(l, u, c, d, m, _) {
1585
+ return c === "*" ? t.minimumFractionDigits = u.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : m && _ ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + _.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1564
1586
  });
1565
1587
  var o = i.options[0];
1566
- o === "w" ? t = P(P({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = P(P({}, t), Br(o)));
1588
+ o === "w" ? t = P(P({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = P(P({}, t), Or(o)));
1567
1589
  continue;
1568
1590
  }
1569
- if (fn.test(i.stem)) {
1570
- t = P(P({}, t), Br(i.stem));
1591
+ if (mn.test(i.stem)) {
1592
+ t = P(P({}, t), Or(i.stem));
1571
1593
  continue;
1572
1594
  }
1573
- var s = dn(i.stem);
1595
+ var s = gn(i.stem);
1574
1596
  s && (t = P(P({}, t), s));
1575
- var a = Ji(i.stem);
1597
+ var a = Ki(i.stem);
1576
1598
  a && (t = P(P({}, t), a));
1577
1599
  }
1578
1600
  return t;
@@ -2992,13 +3014,13 @@ var vt = {
2992
3014
  "h"
2993
3015
  ]
2994
3016
  };
2995
- function Yi(e, t) {
3017
+ function to(e, t) {
2996
3018
  for (var r = "", n = 0; n < e.length; n++) {
2997
3019
  var i = e.charAt(n);
2998
3020
  if (i === "j") {
2999
3021
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3000
3022
  o++, n++;
3001
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Ki(t);
3023
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = ro(t);
3002
3024
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
3003
3025
  r += l;
3004
3026
  for (; s-- > 0; )
@@ -3007,7 +3029,7 @@ function Yi(e, t) {
3007
3029
  }
3008
3030
  return r;
3009
3031
  }
3010
- function Ki(e) {
3032
+ function ro(e) {
3011
3033
  var t = e.hourCycle;
3012
3034
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3013
3035
  e.hourCycles && // @ts-ignore
@@ -3029,20 +3051,20 @@ function Ki(e) {
3029
3051
  var i = vt[n || ""] || vt[r || ""] || vt["".concat(r, "-001")] || vt["001"];
3030
3052
  return i[0];
3031
3053
  }
3032
- var jt, eo = new RegExp("^".concat(hn.source, "*")), to = new RegExp("".concat(hn.source, "*$"));
3054
+ var $t, no = new RegExp("^".concat(pn.source, "*")), io = new RegExp("".concat(pn.source, "*$"));
3033
3055
  function H(e, t) {
3034
3056
  return { start: e, end: t };
3035
3057
  }
3036
- var ro = !!String.prototype.startsWith && "_a".startsWith("a", 1), no = !!String.fromCodePoint, io = !!Object.fromEntries, oo = !!String.prototype.codePointAt, so = !!String.prototype.trimStart, ao = !!String.prototype.trimEnd, uo = !!Number.isSafeInteger, lo = uo ? Number.isSafeInteger : function(e) {
3058
+ var oo = !!String.prototype.startsWith && "_a".startsWith("a", 1), so = !!String.fromCodePoint, ao = !!Object.fromEntries, uo = !!String.prototype.codePointAt, lo = !!String.prototype.trimStart, ho = !!String.prototype.trimEnd, fo = !!Number.isSafeInteger, co = fo ? Number.isSafeInteger : function(e) {
3037
3059
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3038
- }, rr = !0;
3060
+ }, nr = !0;
3039
3061
  try {
3040
- var ho = pn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3041
- rr = ((jt = ho.exec("a")) === null || jt === void 0 ? void 0 : jt[0]) === "a";
3062
+ var po = yn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3063
+ nr = (($t = po.exec("a")) === null || $t === void 0 ? void 0 : $t[0]) === "a";
3042
3064
  } catch (e) {
3043
- rr = !1;
3065
+ nr = !1;
3044
3066
  }
3045
- var Cr = ro ? (
3067
+ var Lr = oo ? (
3046
3068
  // Native
3047
3069
  function(t, r, n) {
3048
3070
  return t.startsWith(r, n);
@@ -3052,7 +3074,7 @@ var Cr = ro ? (
3052
3074
  function(t, r, n) {
3053
3075
  return t.slice(n, n + r.length) === r;
3054
3076
  }
3055
- ), nr = no ? String.fromCodePoint : (
3077
+ ), ir = so ? String.fromCodePoint : (
3056
3078
  // IE11
3057
3079
  function() {
3058
3080
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3064,9 +3086,9 @@ var Cr = ro ? (
3064
3086
  }
3065
3087
  return n;
3066
3088
  }
3067
- ), Or = (
3089
+ ), Nr = (
3068
3090
  // native
3069
- io ? Object.fromEntries : (
3091
+ ao ? Object.fromEntries : (
3070
3092
  // Ponyfill
3071
3093
  function(t) {
3072
3094
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3076,7 +3098,7 @@ var Cr = ro ? (
3076
3098
  return r;
3077
3099
  }
3078
3100
  )
3079
- ), mn = oo ? (
3101
+ ), vn = uo ? (
3080
3102
  // Native
3081
3103
  function(t, r) {
3082
3104
  return t.codePointAt(r);
@@ -3090,7 +3112,7 @@ var Cr = ro ? (
3090
3112
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3091
3113
  }
3092
3114
  }
3093
- ), fo = so ? (
3115
+ ), mo = lo ? (
3094
3116
  // Native
3095
3117
  function(t) {
3096
3118
  return t.trimStart();
@@ -3098,9 +3120,9 @@ var Cr = ro ? (
3098
3120
  ) : (
3099
3121
  // Ponyfill
3100
3122
  function(t) {
3101
- return t.replace(eo, "");
3123
+ return t.replace(no, "");
3102
3124
  }
3103
- ), co = ao ? (
3125
+ ), bo = ho ? (
3104
3126
  // Native
3105
3127
  function(t) {
3106
3128
  return t.trimEnd();
@@ -3108,32 +3130,32 @@ var Cr = ro ? (
3108
3130
  ) : (
3109
3131
  // Ponyfill
3110
3132
  function(t) {
3111
- return t.replace(to, "");
3133
+ return t.replace(io, "");
3112
3134
  }
3113
3135
  );
3114
- function pn(e, t) {
3136
+ function yn(e, t) {
3115
3137
  return new RegExp(e, t);
3116
3138
  }
3117
- var ir;
3118
- if (rr) {
3119
- var Ir = pn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3120
- ir = function(t, r) {
3139
+ var or;
3140
+ if (nr) {
3141
+ var Mr = yn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3142
+ or = function(t, r) {
3121
3143
  var n;
3122
- Ir.lastIndex = r;
3123
- var i = Ir.exec(t);
3144
+ Mr.lastIndex = r;
3145
+ var i = Mr.exec(t);
3124
3146
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3125
3147
  };
3126
3148
  } else
3127
- ir = function(t, r) {
3149
+ or = function(t, r) {
3128
3150
  for (var n = []; ; ) {
3129
- var i = mn(t, r);
3130
- if (i === void 0 || bn(i) || go(i))
3151
+ var i = vn(t, r);
3152
+ if (i === void 0 || En(i) || Eo(i))
3131
3153
  break;
3132
3154
  n.push(i), r += i >= 65536 ? 2 : 1;
3133
3155
  }
3134
- return nr.apply(void 0, n);
3156
+ return ir.apply(void 0, n);
3135
3157
  };
3136
- var mo = (
3158
+ var go = (
3137
3159
  /** @class */
3138
3160
  function() {
3139
3161
  function e(t, r) {
@@ -3164,7 +3186,7 @@ var mo = (
3164
3186
  if (n)
3165
3187
  break;
3166
3188
  return this.error(A.UNMATCHED_CLOSING_TAG, H(this.clonePosition(), this.clonePosition()));
3167
- } else if (o === 60 && !this.ignoreTag && or(this.peek() || 0)) {
3189
+ } else if (o === 60 && !this.ignoreTag && sr(this.peek() || 0)) {
3168
3190
  var s = this.parseTag(t, r);
3169
3191
  if (s.err)
3170
3192
  return s;
@@ -3197,7 +3219,7 @@ var mo = (
3197
3219
  return o;
3198
3220
  var s = o.val, a = this.clonePosition();
3199
3221
  if (this.bumpIf("</")) {
3200
- if (this.isEOF() || !or(this.char()))
3222
+ if (this.isEOF() || !sr(this.char()))
3201
3223
  return this.error(A.INVALID_TAG, H(a, this.clonePosition()));
3202
3224
  var l = this.clonePosition(), u = this.parseTagName();
3203
3225
  return i !== u ? this.error(A.UNMATCHED_CLOSING_TAG, H(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -3215,7 +3237,7 @@ var mo = (
3215
3237
  return this.error(A.INVALID_TAG, H(n, this.clonePosition()));
3216
3238
  }, e.prototype.parseTagName = function() {
3217
3239
  var t = this.offset();
3218
- for (this.bump(); !this.isEOF() && bo(this.char()); )
3240
+ for (this.bump(); !this.isEOF() && yo(this.char()); )
3219
3241
  this.bump();
3220
3242
  return this.message.slice(t, this.offset());
3221
3243
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3244,7 +3266,7 @@ var mo = (
3244
3266
  };
3245
3267
  }, e.prototype.tryParseLeftAngleBracket = function() {
3246
3268
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3247
- !po(this.peek() || 0)) ? (this.bump(), "<") : null;
3269
+ !vo(this.peek() || 0)) ? (this.bump(), "<") : null;
3248
3270
  }, e.prototype.tryParseQuote = function(t) {
3249
3271
  if (this.isEOF() || this.char() !== 39)
3250
3272
  return null;
@@ -3278,12 +3300,12 @@ var mo = (
3278
3300
  r.push(n);
3279
3301
  this.bump();
3280
3302
  }
3281
- return nr.apply(void 0, r);
3303
+ return ir.apply(void 0, r);
3282
3304
  }, e.prototype.tryParseUnquoted = function(t, r) {
3283
3305
  if (this.isEOF())
3284
3306
  return null;
3285
3307
  var n = this.char();
3286
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), nr(n));
3308
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ir(n));
3287
3309
  }, e.prototype.parseArgument = function(t, r) {
3288
3310
  var n = this.clonePosition();
3289
3311
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3312,7 +3334,7 @@ var mo = (
3312
3334
  return this.error(A.MALFORMED_ARGUMENT, H(n, this.clonePosition()));
3313
3335
  }
3314
3336
  }, e.prototype.parseIdentifierIfPossible = function() {
3315
- var t = this.clonePosition(), r = this.offset(), n = ir(this.message, r), i = r + n.length;
3337
+ var t = this.clonePosition(), r = this.offset(), n = or(this.message, r), i = r + n.length;
3316
3338
  this.bumpTo(i);
3317
3339
  var o = this.clonePosition(), s = H(t, o);
3318
3340
  return { value: n, location: s };
@@ -3331,18 +3353,18 @@ var mo = (
3331
3353
  var c = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
3332
3354
  if (d.err)
3333
3355
  return d;
3334
- var p = co(d.val);
3335
- if (p.length === 0)
3356
+ var m = bo(d.val);
3357
+ if (m.length === 0)
3336
3358
  return this.error(A.EXPECT_ARGUMENT_STYLE, H(this.clonePosition(), this.clonePosition()));
3337
3359
  var _ = H(c, this.clonePosition());
3338
- u = { style: p, styleLocation: _ };
3360
+ u = { style: m, styleLocation: _ };
3339
3361
  }
3340
3362
  var O = this.tryParseArgumentClose(i);
3341
3363
  if (O.err)
3342
3364
  return O;
3343
3365
  var B = H(i, this.clonePosition());
3344
- if (u && Cr(u == null ? void 0 : u.style, "::", 0)) {
3345
- var ee = fo(u.style.slice(2));
3366
+ if (u && Lr(u == null ? void 0 : u.style, "::", 0)) {
3367
+ var ee = mo(u.style.slice(2));
3346
3368
  if (a === "number") {
3347
3369
  var d = this.parseNumberSkeletonFromString(ee, u.styleLocation);
3348
3370
  return d.err ? d : {
@@ -3352,16 +3374,16 @@ var mo = (
3352
3374
  } else {
3353
3375
  if (ee.length === 0)
3354
3376
  return this.error(A.EXPECT_DATE_TIME_SKELETON, B);
3355
- var me = ee;
3356
- this.locale && (me = Yi(ee, this.locale));
3357
- var p = {
3377
+ var pe = ee;
3378
+ this.locale && (pe = to(ee, this.locale));
3379
+ var m = {
3358
3380
  type: ze.dateTime,
3359
- pattern: me,
3381
+ pattern: pe,
3360
3382
  location: u.styleLocation,
3361
- parsedOptions: this.shouldParseSkeletons ? Xi(me) : {}
3383
+ parsedOptions: this.shouldParseSkeletons ? qi(pe) : {}
3362
3384
  }, ie = a === "date" ? D.date : D.time;
3363
3385
  return {
3364
- val: { type: ie, value: n, location: B, style: p },
3386
+ val: { type: ie, value: n, location: B, style: m },
3365
3387
  err: null
3366
3388
  };
3367
3389
  }
@@ -3404,7 +3426,7 @@ var mo = (
3404
3426
  val: {
3405
3427
  type: D.select,
3406
3428
  value: n,
3407
- options: Or(le.val),
3429
+ options: Nr(le.val),
3408
3430
  location: ge
3409
3431
  },
3410
3432
  err: null
@@ -3412,7 +3434,7 @@ var mo = (
3412
3434
  val: {
3413
3435
  type: D.plural,
3414
3436
  value: n,
3415
- options: Or(le.val),
3437
+ options: Nr(le.val),
3416
3438
  offset: Z,
3417
3439
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3418
3440
  location: ge
@@ -3463,7 +3485,7 @@ var mo = (
3463
3485
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3464
3486
  var n = [];
3465
3487
  try {
3466
- n = Wi(t);
3488
+ n = Ji(t);
3467
3489
  } catch (i) {
3468
3490
  return this.error(A.INVALID_NUMBER_SKELETON, r);
3469
3491
  }
@@ -3472,7 +3494,7 @@ var mo = (
3472
3494
  type: ze.number,
3473
3495
  tokens: n,
3474
3496
  location: r,
3475
- parsedOptions: this.shouldParseSkeletons ? Qi(n) : {}
3497
+ parsedOptions: this.shouldParseSkeletons ? eo(n) : {}
3476
3498
  },
3477
3499
  err: null
3478
3500
  };
@@ -3481,9 +3503,9 @@ var mo = (
3481
3503
  if (u.length === 0) {
3482
3504
  var d = this.clonePosition();
3483
3505
  if (r !== "select" && this.bumpIf("=")) {
3484
- var p = this.tryParseDecimalInteger(A.EXPECT_PLURAL_ARGUMENT_SELECTOR, A.INVALID_PLURAL_ARGUMENT_SELECTOR);
3485
- if (p.err)
3486
- return p;
3506
+ var m = this.tryParseDecimalInteger(A.EXPECT_PLURAL_ARGUMENT_SELECTOR, A.INVALID_PLURAL_ARGUMENT_SELECTOR);
3507
+ if (m.err)
3508
+ return m;
3487
3509
  c = H(d, this.clonePosition()), u = this.message.slice(d.offset, this.offset());
3488
3510
  } else
3489
3511
  break;
@@ -3520,7 +3542,7 @@ var mo = (
3520
3542
  break;
3521
3543
  }
3522
3544
  var l = H(i, this.clonePosition());
3523
- return o ? (s *= n, lo(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3545
+ return o ? (s *= n, co(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3524
3546
  }, e.prototype.offset = function() {
3525
3547
  return this.position.offset;
3526
3548
  }, e.prototype.isEOF = function() {
@@ -3535,7 +3557,7 @@ var mo = (
3535
3557
  var t = this.position.offset;
3536
3558
  if (t >= this.message.length)
3537
3559
  throw Error("out of bound");
3538
- var r = mn(this.message, t);
3560
+ var r = vn(this.message, t);
3539
3561
  if (r === void 0)
3540
3562
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3541
3563
  return r;
@@ -3554,7 +3576,7 @@ var mo = (
3554
3576
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
3555
3577
  }
3556
3578
  }, e.prototype.bumpIf = function(t) {
3557
- if (Cr(this.message, t, this.offset())) {
3579
+ if (Lr(this.message, t, this.offset())) {
3558
3580
  for (var r = 0; r < t.length; r++)
3559
3581
  this.bump();
3560
3582
  return !0;
@@ -3576,7 +3598,7 @@ var mo = (
3576
3598
  break;
3577
3599
  }
3578
3600
  }, e.prototype.bumpSpace = function() {
3579
- for (; !this.isEOF() && bn(this.char()); )
3601
+ for (; !this.isEOF() && En(this.char()); )
3580
3602
  this.bump();
3581
3603
  }, e.prototype.peek = function() {
3582
3604
  if (this.isEOF())
@@ -3586,37 +3608,37 @@ var mo = (
3586
3608
  }, e;
3587
3609
  }()
3588
3610
  );
3589
- function or(e) {
3611
+ function sr(e) {
3590
3612
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3591
3613
  }
3592
- function po(e) {
3593
- return or(e) || e === 47;
3614
+ function vo(e) {
3615
+ return sr(e) || e === 47;
3594
3616
  }
3595
- function bo(e) {
3617
+ function yo(e) {
3596
3618
  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;
3597
3619
  }
3598
- function bn(e) {
3620
+ function En(e) {
3599
3621
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3600
3622
  }
3601
- function go(e) {
3623
+ function Eo(e) {
3602
3624
  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;
3603
3625
  }
3604
- function sr(e) {
3626
+ function ar(e) {
3605
3627
  e.forEach(function(t) {
3606
- if (delete t.location, sn(t) || an(t))
3628
+ if (delete t.location, hn(t) || fn(t))
3607
3629
  for (var r in t.options)
3608
- delete t.options[r].location, sr(t.options[r].value);
3609
- else rn(t) && ln(t.style) || (nn(t) || on(t)) && tr(t.style) ? delete t.style.location : un(t) && sr(t.children);
3630
+ delete t.options[r].location, ar(t.options[r].value);
3631
+ else an(t) && dn(t.style) || (un(t) || ln(t)) && rr(t.style) ? delete t.style.location : cn(t) && ar(t.children);
3610
3632
  });
3611
3633
  }
3612
- function vo(e, t) {
3634
+ function _o(e, t) {
3613
3635
  t === void 0 && (t = {}), t = P({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3614
- var r = new mo(e, t).parse();
3636
+ var r = new go(e, t).parse();
3615
3637
  if (r.err) {
3616
3638
  var n = SyntaxError(A[r.err.kind]);
3617
3639
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3618
3640
  }
3619
- return t != null && t.captureLocation || sr(r.val), r.val;
3641
+ return t != null && t.captureLocation || ar(r.val), r.val;
3620
3642
  }
3621
3643
  var We;
3622
3644
  (function(e) {
@@ -3634,7 +3656,7 @@ var Bt = (
3634
3656
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3635
3657
  }, t;
3636
3658
  }(Error)
3637
- ), Lr = (
3659
+ ), Rr = (
3638
3660
  /** @class */
3639
3661
  function(e) {
3640
3662
  we(t, e);
@@ -3643,7 +3665,7 @@ var Bt = (
3643
3665
  }
3644
3666
  return t;
3645
3667
  }(Bt)
3646
- ), yo = (
3668
+ ), xo = (
3647
3669
  /** @class */
3648
3670
  function(e) {
3649
3671
  we(t, e);
@@ -3652,7 +3674,7 @@ var Bt = (
3652
3674
  }
3653
3675
  return t;
3654
3676
  }(Bt)
3655
- ), Eo = (
3677
+ ), wo = (
3656
3678
  /** @class */
3657
3679
  function(e) {
3658
3680
  we(t, e);
@@ -3665,17 +3687,17 @@ var Bt = (
3665
3687
  (function(e) {
3666
3688
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3667
3689
  })(K || (K = {}));
3668
- function _o(e) {
3690
+ function To(e) {
3669
3691
  return e.length < 2 ? e : e.reduce(function(t, r) {
3670
3692
  var n = t[t.length - 1];
3671
3693
  return !n || n.type !== K.literal || r.type !== K.literal ? t.push(r) : n.value += r.value, t;
3672
3694
  }, []);
3673
3695
  }
3674
- function xo(e) {
3696
+ function So(e) {
3675
3697
  return typeof e == "function";
3676
3698
  }
3677
3699
  function _t(e, t, r, n, i, o, s) {
3678
- if (e.length === 1 && Ar(e[0]))
3700
+ if (e.length === 1 && Pr(e[0]))
3679
3701
  return [
3680
3702
  {
3681
3703
  type: K.literal,
@@ -3684,14 +3706,14 @@ function _t(e, t, r, n, i, o, s) {
3684
3706
  ];
3685
3707
  for (var a = [], l = 0, u = e; l < u.length; l++) {
3686
3708
  var c = u[l];
3687
- if (Ar(c)) {
3709
+ if (Pr(c)) {
3688
3710
  a.push({
3689
3711
  type: K.literal,
3690
3712
  value: c.value
3691
3713
  });
3692
3714
  continue;
3693
3715
  }
3694
- if (ki(c)) {
3716
+ if (zi(c)) {
3695
3717
  typeof o == "number" && a.push({
3696
3718
  type: K.literal,
3697
3719
  value: r.getNumberFormat(t).format(o)
@@ -3700,44 +3722,44 @@ function _t(e, t, r, n, i, o, s) {
3700
3722
  }
3701
3723
  var d = c.value;
3702
3724
  if (!(i && d in i))
3703
- throw new Eo(d, s);
3704
- var p = i[d];
3705
- if ($i(c)) {
3706
- (!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""), a.push({
3707
- type: typeof p == "string" ? K.literal : K.object,
3708
- value: p
3725
+ throw new wo(d, s);
3726
+ var m = i[d];
3727
+ if (Xi(c)) {
3728
+ (!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), a.push({
3729
+ type: typeof m == "string" ? K.literal : K.object,
3730
+ value: m
3709
3731
  });
3710
3732
  continue;
3711
3733
  }
3712
- if (nn(c)) {
3713
- var _ = typeof c.style == "string" ? n.date[c.style] : tr(c.style) ? c.style.parsedOptions : void 0;
3734
+ if (un(c)) {
3735
+ var _ = typeof c.style == "string" ? n.date[c.style] : rr(c.style) ? c.style.parsedOptions : void 0;
3714
3736
  a.push({
3715
3737
  type: K.literal,
3716
- value: r.getDateTimeFormat(t, _).format(p)
3738
+ value: r.getDateTimeFormat(t, _).format(m)
3717
3739
  });
3718
3740
  continue;
3719
3741
  }
3720
- if (on(c)) {
3721
- var _ = typeof c.style == "string" ? n.time[c.style] : tr(c.style) ? c.style.parsedOptions : n.time.medium;
3742
+ if (ln(c)) {
3743
+ var _ = typeof c.style == "string" ? n.time[c.style] : rr(c.style) ? c.style.parsedOptions : n.time.medium;
3722
3744
  a.push({
3723
3745
  type: K.literal,
3724
- value: r.getDateTimeFormat(t, _).format(p)
3746
+ value: r.getDateTimeFormat(t, _).format(m)
3725
3747
  });
3726
3748
  continue;
3727
3749
  }
3728
- if (rn(c)) {
3729
- var _ = typeof c.style == "string" ? n.number[c.style] : ln(c.style) ? c.style.parsedOptions : void 0;
3730
- _ && _.scale && (p = p * (_.scale || 1)), a.push({
3750
+ if (an(c)) {
3751
+ var _ = typeof c.style == "string" ? n.number[c.style] : dn(c.style) ? c.style.parsedOptions : void 0;
3752
+ _ && _.scale && (m = m * (_.scale || 1)), a.push({
3731
3753
  type: K.literal,
3732
- value: r.getNumberFormat(t, _).format(p)
3754
+ value: r.getNumberFormat(t, _).format(m)
3733
3755
  });
3734
3756
  continue;
3735
3757
  }
3736
- if (un(c)) {
3758
+ if (cn(c)) {
3737
3759
  var O = c.children, B = c.value, ee = i[B];
3738
- if (!xo(ee))
3739
- throw new yo(B, "function", s);
3740
- var me = _t(O, t, r, n, i, o), ie = ee(me.map(function(Z) {
3760
+ if (!So(ee))
3761
+ throw new xo(B, "function", s);
3762
+ var pe = _t(O, t, r, n, i, o), ie = ee(pe.map(function(Z) {
3741
3763
  return Z.value;
3742
3764
  }));
3743
3765
  Array.isArray(ie) || (ie = [ie]), a.push.apply(a, ie.map(function(Z) {
@@ -3747,42 +3769,42 @@ function _t(e, t, r, n, i, o, s) {
3747
3769
  };
3748
3770
  }));
3749
3771
  }
3750
- if (sn(c)) {
3751
- var M = c.options[p] || c.options.other;
3772
+ if (hn(c)) {
3773
+ var M = c.options[m] || c.options.other;
3752
3774
  if (!M)
3753
- throw new Lr(c.value, p, Object.keys(c.options), s);
3775
+ throw new Rr(c.value, m, Object.keys(c.options), s);
3754
3776
  a.push.apply(a, _t(M.value, t, r, n, i));
3755
3777
  continue;
3756
3778
  }
3757
- if (an(c)) {
3758
- var M = c.options["=".concat(p)];
3779
+ if (fn(c)) {
3780
+ var M = c.options["=".concat(m)];
3759
3781
  if (!M) {
3760
3782
  if (!Intl.PluralRules)
3761
3783
  throw new Bt(`Intl.PluralRules is not available in this environment.
3762
3784
  Try polyfilling it using "@formatjs/intl-pluralrules"
3763
3785
  `, We.MISSING_INTL_API, s);
3764
- var $ = r.getPluralRules(t, { type: c.pluralType }).select(p - (c.offset || 0));
3786
+ var $ = r.getPluralRules(t, { type: c.pluralType }).select(m - (c.offset || 0));
3765
3787
  M = c.options[$] || c.options.other;
3766
3788
  }
3767
3789
  if (!M)
3768
- throw new Lr(c.value, p, Object.keys(c.options), s);
3769
- a.push.apply(a, _t(M.value, t, r, n, i, p - (c.offset || 0)));
3790
+ throw new Rr(c.value, m, Object.keys(c.options), s);
3791
+ a.push.apply(a, _t(M.value, t, r, n, i, m - (c.offset || 0)));
3770
3792
  continue;
3771
3793
  }
3772
3794
  }
3773
- return _o(a);
3795
+ return To(a);
3774
3796
  }
3775
- function wo(e, t) {
3797
+ function Ao(e, t) {
3776
3798
  return t ? P(P(P({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3777
3799
  return r[n] = P(P({}, e[n]), t[n] || {}), r;
3778
3800
  }, {})) : e;
3779
3801
  }
3780
- function To(e, t) {
3802
+ function Ho(e, t) {
3781
3803
  return t ? Object.keys(e).reduce(function(r, n) {
3782
- return r[n] = wo(e[n], t[n]), r;
3804
+ return r[n] = Ao(e[n], t[n]), r;
3783
3805
  }, P({}, e)) : e;
3784
3806
  }
3785
- function $t(e) {
3807
+ function kt(e) {
3786
3808
  return {
3787
3809
  create: function() {
3788
3810
  return {
@@ -3796,39 +3818,39 @@ function $t(e) {
3796
3818
  }
3797
3819
  };
3798
3820
  }
3799
- function So(e) {
3821
+ function Bo(e) {
3800
3822
  return e === void 0 && (e = {
3801
3823
  number: {},
3802
3824
  dateTime: {},
3803
3825
  pluralRules: {}
3804
3826
  }), {
3805
- getNumberFormat: Ut(function() {
3827
+ getNumberFormat: Gt(function() {
3806
3828
  for (var t, r = [], n = 0; n < arguments.length; n++)
3807
3829
  r[n] = arguments[n];
3808
3830
  return new ((t = Intl.NumberFormat).bind.apply(t, Ve([void 0], r, !1)))();
3809
3831
  }, {
3810
- cache: $t(e.number),
3811
- strategy: Gt.variadic
3832
+ cache: kt(e.number),
3833
+ strategy: jt.variadic
3812
3834
  }),
3813
- getDateTimeFormat: Ut(function() {
3835
+ getDateTimeFormat: Gt(function() {
3814
3836
  for (var t, r = [], n = 0; n < arguments.length; n++)
3815
3837
  r[n] = arguments[n];
3816
3838
  return new ((t = Intl.DateTimeFormat).bind.apply(t, Ve([void 0], r, !1)))();
3817
3839
  }, {
3818
- cache: $t(e.dateTime),
3819
- strategy: Gt.variadic
3840
+ cache: kt(e.dateTime),
3841
+ strategy: jt.variadic
3820
3842
  }),
3821
- getPluralRules: Ut(function() {
3843
+ getPluralRules: Gt(function() {
3822
3844
  for (var t, r = [], n = 0; n < arguments.length; n++)
3823
3845
  r[n] = arguments[n];
3824
3846
  return new ((t = Intl.PluralRules).bind.apply(t, Ve([void 0], r, !1)))();
3825
3847
  }, {
3826
- cache: $t(e.pluralRules),
3827
- strategy: Gt.variadic
3848
+ cache: kt(e.pluralRules),
3849
+ strategy: jt.variadic
3828
3850
  })
3829
3851
  };
3830
3852
  }
3831
- var Ao = (
3853
+ var Po = (
3832
3854
  /** @class */
3833
3855
  function() {
3834
3856
  function e(t, r, n, i) {
@@ -3842,8 +3864,8 @@ var Ao = (
3842
3864
  var u = o.formatToParts(l);
3843
3865
  if (u.length === 1)
3844
3866
  return u[0].value;
3845
- var c = u.reduce(function(d, p) {
3846
- return !d.length || p.type !== K.literal || typeof d[d.length - 1] != "string" ? d.push(p.value) : d[d.length - 1] += p.value, d;
3867
+ var c = u.reduce(function(d, m) {
3868
+ return !d.length || m.type !== K.literal || typeof d[d.length - 1] != "string" ? d.push(m.value) : d[d.length - 1] += m.value, d;
3847
3869
  }, []);
3848
3870
  return c.length <= 1 ? c[0] || "" : c;
3849
3871
  }, this.formatToParts = function(l) {
@@ -3860,13 +3882,13 @@ var Ao = (
3860
3882
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3861
3883
  var s = i || {};
3862
3884
  s.formatters;
3863
- var a = ri(s, ["formatters"]);
3885
+ var a = si(s, ["formatters"]);
3864
3886
  this.ast = e.__parse(t, P(P({}, a), { locale: this.resolvedLocale }));
3865
3887
  } else
3866
3888
  this.ast = t;
3867
3889
  if (!Array.isArray(this.ast))
3868
3890
  throw new TypeError("A message must be provided as a String or AST.");
3869
- this.formats = To(e.formats, n), this.formatters = i && i.formatters || So(this.formatterCache);
3891
+ this.formats = Ho(e.formats, n), this.formatters = i && i.formatters || Bo(this.formatterCache);
3870
3892
  }
3871
3893
  return Object.defineProperty(e, "defaultLocale", {
3872
3894
  get: function() {
@@ -3879,7 +3901,7 @@ var Ao = (
3879
3901
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3880
3902
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3881
3903
  }
3882
- }, e.__parse = vo, e.formats = {
3904
+ }, e.__parse = _o, e.formats = {
3883
3905
  number: {
3884
3906
  integer: {
3885
3907
  maximumFractionDigits: 0
@@ -3940,7 +3962,7 @@ var Ao = (
3940
3962
  }, e;
3941
3963
  }()
3942
3964
  );
3943
- function Ho(e, t) {
3965
+ function Co(e, t) {
3944
3966
  if (t == null)
3945
3967
  return;
3946
3968
  if (t in e)
@@ -3961,92 +3983,92 @@ function Ho(e, t) {
3961
3983
  n = void 0;
3962
3984
  return n;
3963
3985
  }
3964
- const Ae = {}, Bo = (e, t, r) => r && (t in Ae || (Ae[t] = {}), e in Ae[t] || (Ae[t][e] = r), r), gn = (e, t) => {
3986
+ const Ae = {}, Oo = (e, t, r) => r && (t in Ae || (Ae[t] = {}), e in Ae[t] || (Ae[t][e] = r), r), _n = (e, t) => {
3965
3987
  if (t == null)
3966
3988
  return;
3967
3989
  if (t in Ae && e in Ae[t])
3968
3990
  return Ae[t][e];
3969
3991
  const r = Pt(t);
3970
3992
  for (let n = 0; n < r.length; n++) {
3971
- const i = r[n], o = Co(i, e);
3993
+ const i = r[n], o = Lo(i, e);
3972
3994
  if (o)
3973
- return Bo(e, t, o);
3995
+ return Oo(e, t, o);
3974
3996
  }
3975
3997
  };
3976
- let hr;
3998
+ let dr;
3977
3999
  const Je = Ht({});
3978
- function Po(e) {
3979
- return hr[e] || null;
4000
+ function Io(e) {
4001
+ return dr[e] || null;
3980
4002
  }
3981
- function vn(e) {
3982
- return e in hr;
4003
+ function xn(e) {
4004
+ return e in dr;
3983
4005
  }
3984
- function Co(e, t) {
3985
- if (!vn(e))
4006
+ function Lo(e, t) {
4007
+ if (!xn(e))
3986
4008
  return null;
3987
- const r = Po(e);
3988
- return Ho(r, t);
4009
+ const r = Io(e);
4010
+ return Co(r, t);
3989
4011
  }
3990
- function Oo(e) {
4012
+ function No(e) {
3991
4013
  if (e == null)
3992
4014
  return;
3993
4015
  const t = Pt(e);
3994
4016
  for (let r = 0; r < t.length; r++) {
3995
4017
  const n = t[r];
3996
- if (vn(n))
4018
+ if (xn(n))
3997
4019
  return n;
3998
4020
  }
3999
4021
  }
4000
- function yn(e, ...t) {
4001
- delete Ae[e], Je.update((r) => (r[e] = Ni.all([r[e] || {}, ...t]), r));
4022
+ function wn(e, ...t) {
4023
+ delete Ae[e], Je.update((r) => (r[e] = Fi.all([r[e] || {}, ...t]), r));
4002
4024
  }
4003
4025
  Ze(
4004
4026
  [Je],
4005
4027
  ([e]) => Object.keys(e)
4006
4028
  );
4007
- Je.subscribe((e) => hr = e);
4029
+ Je.subscribe((e) => dr = e);
4008
4030
  const xt = {};
4009
- function Io(e, t) {
4031
+ function Mo(e, t) {
4010
4032
  xt[e].delete(t), xt[e].size === 0 && delete xt[e];
4011
4033
  }
4012
- function En(e) {
4034
+ function Tn(e) {
4013
4035
  return xt[e];
4014
4036
  }
4015
- function Lo(e) {
4037
+ function Ro(e) {
4016
4038
  return Pt(e).map((t) => {
4017
- const r = En(t);
4039
+ const r = Tn(t);
4018
4040
  return [t, r ? [...r] : []];
4019
4041
  }).filter(([, t]) => t.length > 0);
4020
4042
  }
4021
- function ar(e) {
4043
+ function ur(e) {
4022
4044
  return e == null ? !1 : Pt(e).some(
4023
4045
  (t) => {
4024
4046
  var r;
4025
- return (r = En(t)) == null ? void 0 : r.size;
4047
+ return (r = Tn(t)) == null ? void 0 : r.size;
4026
4048
  }
4027
4049
  );
4028
4050
  }
4029
- function No(e, t) {
4051
+ function Do(e, t) {
4030
4052
  return Promise.all(
4031
- t.map((n) => (Io(e, n), n().then((i) => i.default || i)))
4032
- ).then((n) => yn(e, ...n));
4053
+ t.map((n) => (Mo(e, n), n().then((i) => i.default || i)))
4054
+ ).then((n) => wn(e, ...n));
4033
4055
  }
4034
4056
  const it = {};
4035
- function _n(e) {
4036
- if (!ar(e))
4057
+ function Sn(e) {
4058
+ if (!ur(e))
4037
4059
  return e in it ? it[e] : Promise.resolve();
4038
- const t = Lo(e);
4060
+ const t = Ro(e);
4039
4061
  return it[e] = Promise.all(
4040
4062
  t.map(
4041
- ([r, n]) => No(r, n)
4063
+ ([r, n]) => Do(r, n)
4042
4064
  )
4043
4065
  ).then(() => {
4044
- if (ar(e))
4045
- return _n(e);
4066
+ if (ur(e))
4067
+ return Sn(e);
4046
4068
  delete it[e];
4047
4069
  }), it[e];
4048
4070
  }
4049
- const Mo = {
4071
+ const Fo = {
4050
4072
  number: {
4051
4073
  scientific: { notation: "scientific" },
4052
4074
  engineering: { notation: "engineering" },
@@ -4075,57 +4097,57 @@ const Mo = {
4075
4097
  timeZoneName: "short"
4076
4098
  }
4077
4099
  }
4078
- }, Ro = {
4100
+ }, Uo = {
4079
4101
  fallbackLocale: null,
4080
4102
  loadingDelay: 200,
4081
- formats: Mo,
4103
+ formats: Fo,
4082
4104
  warnOnMissingMessages: !0,
4083
4105
  handleMissingMessage: void 0,
4084
4106
  ignoreTag: !0
4085
- }, Do = Ro;
4107
+ }, Go = Uo;
4086
4108
  function qe() {
4087
- return Do;
4109
+ return Go;
4088
4110
  }
4089
- const kt = Ht(!1);
4090
- var Fo = Object.defineProperty, Uo = Object.defineProperties, Go = Object.getOwnPropertyDescriptors, Nr = Object.getOwnPropertySymbols, jo = Object.prototype.hasOwnProperty, $o = Object.prototype.propertyIsEnumerable, Mr = (e, t, r) => t in e ? Fo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ko = (e, t) => {
4111
+ const Vt = Ht(!1);
4112
+ var jo = Object.defineProperty, $o = Object.defineProperties, ko = Object.getOwnPropertyDescriptors, Dr = Object.getOwnPropertySymbols, Vo = Object.prototype.hasOwnProperty, Xo = Object.prototype.propertyIsEnumerable, Fr = (e, t, r) => t in e ? jo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, zo = (e, t) => {
4091
4113
  for (var r in t || (t = {}))
4092
- jo.call(t, r) && Mr(e, r, t[r]);
4093
- if (Nr)
4094
- for (var r of Nr(t))
4095
- $o.call(t, r) && Mr(e, r, t[r]);
4114
+ Vo.call(t, r) && Fr(e, r, t[r]);
4115
+ if (Dr)
4116
+ for (var r of Dr(t))
4117
+ Xo.call(t, r) && Fr(e, r, t[r]);
4096
4118
  return e;
4097
- }, Vo = (e, t) => Uo(e, Go(t));
4098
- let ur;
4119
+ }, Wo = (e, t) => $o(e, ko(t));
4120
+ let lr;
4099
4121
  const wt = Ht(null);
4100
- function Rr(e) {
4122
+ function Ur(e) {
4101
4123
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4102
4124
  }
4103
4125
  function Pt(e, t = qe().fallbackLocale) {
4104
- const r = Rr(e);
4105
- return t ? [.../* @__PURE__ */ new Set([...r, ...Rr(t)])] : r;
4126
+ const r = Ur(e);
4127
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Ur(t)])] : r;
4106
4128
  }
4107
4129
  function Me() {
4108
- return ur != null ? ur : void 0;
4130
+ return lr != null ? lr : void 0;
4109
4131
  }
4110
4132
  wt.subscribe((e) => {
4111
- ur = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4133
+ lr = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4112
4134
  });
4113
- const Xo = (e) => {
4114
- if (e && Oo(e) && ar(e)) {
4135
+ const qo = (e) => {
4136
+ if (e && No(e) && ur(e)) {
4115
4137
  const { loadingDelay: t } = qe();
4116
4138
  let r;
4117
4139
  return typeof window != "undefined" && Me() != null && t ? r = window.setTimeout(
4118
- () => kt.set(!0),
4140
+ () => Vt.set(!0),
4119
4141
  t
4120
- ) : kt.set(!0), _n(e).then(() => {
4142
+ ) : Vt.set(!0), Sn(e).then(() => {
4121
4143
  wt.set(e);
4122
4144
  }).finally(() => {
4123
- clearTimeout(r), kt.set(!1);
4145
+ clearTimeout(r), Vt.set(!1);
4124
4146
  });
4125
4147
  }
4126
4148
  return wt.set(e);
4127
- }, He = Vo(ko({}, wt), {
4128
- set: Xo
4149
+ }, He = Wo(zo({}, wt), {
4150
+ set: qo
4129
4151
  }), Ct = (e) => {
4130
4152
  const t = /* @__PURE__ */ Object.create(null);
4131
4153
  return (n) => {
@@ -4133,20 +4155,20 @@ const Xo = (e) => {
4133
4155
  return i in t ? t[i] : t[i] = e(n);
4134
4156
  };
4135
4157
  };
4136
- var zo = Object.defineProperty, Tt = Object.getOwnPropertySymbols, xn = Object.prototype.hasOwnProperty, wn = Object.prototype.propertyIsEnumerable, Dr = (e, t, r) => t in e ? zo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, fr = (e, t) => {
4158
+ var Zo = Object.defineProperty, Tt = Object.getOwnPropertySymbols, An = Object.prototype.hasOwnProperty, Hn = Object.prototype.propertyIsEnumerable, Gr = (e, t, r) => t in e ? Zo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, pr = (e, t) => {
4137
4159
  for (var r in t || (t = {}))
4138
- xn.call(t, r) && Dr(e, r, t[r]);
4160
+ An.call(t, r) && Gr(e, r, t[r]);
4139
4161
  if (Tt)
4140
4162
  for (var r of Tt(t))
4141
- wn.call(t, r) && Dr(e, r, t[r]);
4163
+ Hn.call(t, r) && Gr(e, r, t[r]);
4142
4164
  return e;
4143
4165
  }, Qe = (e, t) => {
4144
4166
  var r = {};
4145
4167
  for (var n in e)
4146
- xn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4168
+ An.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4147
4169
  if (e != null && Tt)
4148
4170
  for (var n of Tt(e))
4149
- t.indexOf(n) < 0 && wn.call(e, n) && (r[n] = e[n]);
4171
+ t.indexOf(n) < 0 && Hn.call(e, n) && (r[n] = e[n]);
4150
4172
  return r;
4151
4173
  };
4152
4174
  const lt = (e, t) => {
@@ -4154,21 +4176,21 @@ const lt = (e, t) => {
4154
4176
  if (e in r && t in r[e])
4155
4177
  return r[e][t];
4156
4178
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4157
- }, Wo = Ct(
4179
+ }, Jo = Ct(
4158
4180
  (e) => {
4159
4181
  var t = e, { locale: r, format: n } = t, i = Qe(t, ["locale", "format"]);
4160
4182
  if (r == null)
4161
4183
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4162
4184
  return n && (i = lt("number", n)), new Intl.NumberFormat(r, i);
4163
4185
  }
4164
- ), qo = Ct(
4186
+ ), Qo = Ct(
4165
4187
  (e) => {
4166
4188
  var t = e, { locale: r, format: n } = t, i = Qe(t, ["locale", "format"]);
4167
4189
  if (r == null)
4168
4190
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4169
4191
  return n ? i = lt("date", n) : Object.keys(i).length === 0 && (i = lt("date", "short")), new Intl.DateTimeFormat(r, i);
4170
4192
  }
4171
- ), Zo = Ct(
4193
+ ), Yo = Ct(
4172
4194
  (e) => {
4173
4195
  var t = e, { locale: r, format: n } = t, i = Qe(t, ["locale", "format"]);
4174
4196
  if (r == null)
@@ -4177,33 +4199,33 @@ const lt = (e, t) => {
4177
4199
  );
4178
4200
  return n ? i = lt("time", n) : Object.keys(i).length === 0 && (i = lt("time", "short")), new Intl.DateTimeFormat(r, i);
4179
4201
  }
4180
- ), Jo = (e = {}) => {
4202
+ ), Ko = (e = {}) => {
4181
4203
  var t = e, {
4182
4204
  locale: r = Me()
4183
4205
  } = t, n = Qe(t, [
4184
4206
  "locale"
4185
4207
  ]);
4186
- return Wo(fr({ locale: r }, n));
4187
- }, Qo = (e = {}) => {
4208
+ return Jo(pr({ locale: r }, n));
4209
+ }, es = (e = {}) => {
4188
4210
  var t = e, {
4189
4211
  locale: r = Me()
4190
4212
  } = t, n = Qe(t, [
4191
4213
  "locale"
4192
4214
  ]);
4193
- return qo(fr({ locale: r }, n));
4194
- }, Yo = (e = {}) => {
4215
+ return Qo(pr({ locale: r }, n));
4216
+ }, ts = (e = {}) => {
4195
4217
  var t = e, {
4196
4218
  locale: r = Me()
4197
4219
  } = t, n = Qe(t, [
4198
4220
  "locale"
4199
4221
  ]);
4200
- return Zo(fr({ locale: r }, n));
4201
- }, Ko = Ct(
4222
+ return Yo(pr({ locale: r }, n));
4223
+ }, rs = Ct(
4202
4224
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4203
- (e, t = Me()) => new Ao(e, t, qe().formats, {
4225
+ (e, t = Me()) => new Po(e, t, qe().formats, {
4204
4226
  ignoreTag: qe().ignoreTag
4205
4227
  })
4206
- ), es = (e, t = {}) => {
4228
+ ), ns = (e, t = {}) => {
4207
4229
  var r, n, i, o;
4208
4230
  let s = t;
4209
4231
  typeof e == "object" && (s = e, e = s.id);
@@ -4216,7 +4238,7 @@ const lt = (e, t) => {
4216
4238
  throw new Error(
4217
4239
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4218
4240
  );
4219
- let c = gn(e, l);
4241
+ let c = _n(e, l);
4220
4242
  if (!c)
4221
4243
  c = (o = (i = (n = (r = qe()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4222
4244
  else if (typeof c != "string")
@@ -4227,33 +4249,33 @@ const lt = (e, t) => {
4227
4249
  return c;
4228
4250
  let d = c;
4229
4251
  try {
4230
- d = Ko(c, l).format(a);
4231
- } catch (p) {
4232
- p instanceof Error && console.warn(
4252
+ d = rs(c, l).format(a);
4253
+ } catch (m) {
4254
+ m instanceof Error && console.warn(
4233
4255
  `[svelte-i18n] Message "${e}" has syntax error:`,
4234
- p.message
4256
+ m.message
4235
4257
  );
4236
4258
  }
4237
4259
  return d;
4238
- }, ts = (e, t) => Yo(t).format(e), rs = (e, t) => Qo(t).format(e), ns = (e, t) => Jo(t).format(e), is = (e, t = Me()) => gn(e, t), os = Ze([He, Je], () => es);
4239
- Ze([He], () => ts);
4240
- Ze([He], () => rs);
4241
- Ze([He], () => ns);
4242
- Ze([He, Je], () => is);
4243
- window.emWidgets = { topic: bi };
4244
- 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)), ss = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4245
- function as({ withLocale: e, translations: t }) {
4260
+ }, is = (e, t) => ts(t).format(e), os = (e, t) => es(t).format(e), ss = (e, t) => Ko(t).format(e), as = (e, t = Me()) => _n(e, t), us = Ze([He, Je], () => ns);
4261
+ Ze([He], () => is);
4262
+ Ze([He], () => os);
4263
+ Ze([He], () => ss);
4264
+ Ze([He, Je], () => as);
4265
+ window.emWidgets = { topic: Ei };
4266
+ const Os = (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)), ls = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4267
+ function hs({ withLocale: e, translations: t }) {
4246
4268
  He.subscribe((r) => {
4247
4269
  r == null && (Je.set(t), He.set(e));
4248
4270
  });
4249
4271
  }
4250
- function Vt(e, t) {
4251
- yn(e, t);
4272
+ function Xt(e, t) {
4273
+ wn(e, t);
4252
4274
  }
4253
- function Fr(e) {
4275
+ function jr(e) {
4254
4276
  He.set(e);
4255
4277
  }
4256
- const Ur = {
4278
+ const $r = {
4257
4279
  en: {
4258
4280
  500: "500 - Internal server error",
4259
4281
  showMore: "Show more",
@@ -4321,7 +4343,7 @@ const Ur = {
4321
4343
  noTournaments: "No tournaments found"
4322
4344
  }
4323
4345
  };
4324
- var lr = { exports: {} };
4346
+ var hr = { exports: {} };
4325
4347
  /** @license
4326
4348
  * eventsource.js
4327
4349
  * Available under MIT License (MIT)
@@ -4329,7 +4351,7 @@ var lr = { exports: {} };
4329
4351
  */
4330
4352
  (function(e, t) {
4331
4353
  (function(r) {
4332
- var n = r.setTimeout, i = r.clearTimeout, o = r.XMLHttpRequest, s = r.XDomainRequest, a = r.ActiveXObject, l = r.EventSource, u = r.document, c = r.Promise, d = r.fetch, p = r.Response, _ = r.TextDecoder, O = r.TextEncoder, B = r.AbortController;
4354
+ var n = r.setTimeout, i = r.clearTimeout, o = r.XMLHttpRequest, s = r.XDomainRequest, a = r.ActiveXObject, l = r.EventSource, u = r.document, c = r.Promise, d = r.fetch, m = r.Response, _ = r.TextDecoder, O = r.TextEncoder, B = r.AbortController;
4333
4355
  if (typeof window != "undefined" && typeof u != "undefined" && !("readyState" in u) && u.body == null && (u.readyState = "loading", window.addEventListener("load", function(h) {
4334
4356
  u.readyState = "complete";
4335
4357
  }, !1)), o == null && a != null && (o = function() {
@@ -4344,12 +4366,12 @@ var lr = { exports: {} };
4344
4366
  var ee = d;
4345
4367
  d = function(h, b) {
4346
4368
  var g = b.signal;
4347
- return ee(h, { headers: b.headers, credentials: b.credentials, cache: b.cache }).then(function(m) {
4348
- var y = m.body.getReader();
4369
+ return ee(h, { headers: b.headers, credentials: b.credentials, cache: b.cache }).then(function(p) {
4370
+ var y = p.body.getReader();
4349
4371
  return g._reader = y, g._aborted && g._reader.cancel(), {
4350
- status: m.status,
4351
- statusText: m.statusText,
4352
- headers: m.headers,
4372
+ status: p.status,
4373
+ statusText: p.statusText,
4374
+ headers: p.headers,
4353
4375
  body: {
4354
4376
  getReader: function() {
4355
4377
  return y;
@@ -4366,10 +4388,10 @@ var lr = { exports: {} };
4366
4388
  };
4367
4389
  };
4368
4390
  }
4369
- function me() {
4391
+ function pe() {
4370
4392
  this.bitsNeeded = 0, this.codePoint = 0;
4371
4393
  }
4372
- me.prototype.decode = function(h) {
4394
+ pe.prototype.decode = function(h) {
4373
4395
  function b(C, L, E) {
4374
4396
  if (E === 1)
4375
4397
  return C >= 128 >> L && C << L <= 2047;
@@ -4388,9 +4410,9 @@ var lr = { exports: {} };
4388
4410
  return 3;
4389
4411
  throw new Error();
4390
4412
  }
4391
- for (var m = 65533, y = "", v = this.bitsNeeded, x = this.codePoint, R = 0; R < h.length; R += 1) {
4413
+ for (var p = 65533, y = "", v = this.bitsNeeded, x = this.codePoint, R = 0; R < h.length; R += 1) {
4392
4414
  var T = h[R];
4393
- v !== 0 && (T < 128 || T > 191 || !b(x << 6 | T & 63, v - 6, g(v, x))) && (v = 0, x = m, y += String.fromCharCode(x)), v === 0 ? (T >= 0 && T <= 127 ? (v = 0, x = T) : T >= 192 && T <= 223 ? (v = 6 * 1, x = T & 31) : T >= 224 && T <= 239 ? (v = 6 * 2, x = T & 15) : T >= 240 && T <= 247 ? (v = 6 * 3, x = T & 7) : (v = 0, x = m), v !== 0 && !b(x, v, g(v, x)) && (v = 0, x = m)) : (v -= 6, x = x << 6 | T & 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))));
4415
+ v !== 0 && (T < 128 || T > 191 || !b(x << 6 | T & 63, v - 6, g(v, x))) && (v = 0, x = p, y += String.fromCharCode(x)), v === 0 ? (T >= 0 && T <= 127 ? (v = 0, x = T) : T >= 192 && T <= 223 ? (v = 6 * 1, x = T & 31) : T >= 224 && T <= 239 ? (v = 6 * 2, x = T & 15) : T >= 240 && T <= 247 ? (v = 6 * 3, x = T & 7) : (v = 0, x = p), v !== 0 && !b(x, v, g(v, x)) && (v = 0, x = p)) : (v -= 6, x = x << 6 | T & 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))));
4394
4416
  }
4395
4417
  return this.bitsNeeded = v, this.codePoint = x, y;
4396
4418
  };
@@ -4402,7 +4424,7 @@ var lr = { exports: {} };
4402
4424
  }
4403
4425
  return !1;
4404
4426
  };
4405
- (_ == null || O == null || !ie()) && (_ = me);
4427
+ (_ == null || O == null || !ie()) && (_ = pe);
4406
4428
  var M = function() {
4407
4429
  };
4408
4430
  function $(h) {
@@ -4410,18 +4432,18 @@ var lr = { exports: {} };
4410
4432
  }
4411
4433
  $.prototype.open = function(h, b) {
4412
4434
  this._abort(!0);
4413
- var g = this, m = this._xhr, y = 1, v = 0;
4435
+ var g = this, p = this._xhr, y = 1, v = 0;
4414
4436
  this._abort = function(E) {
4415
- g._sendTimeout !== 0 && (i(g._sendTimeout), g._sendTimeout = 0), (y === 1 || y === 2 || y === 3) && (y = 4, m.onload = M, m.onerror = M, m.onabort = M, m.onprogress = M, m.onreadystatechange = M, m.abort(), v !== 0 && (i(v), v = 0), E || (g.readyState = 4, g.onabort(null), g.onreadystatechange())), y = 0;
4437
+ g._sendTimeout !== 0 && (i(g._sendTimeout), g._sendTimeout = 0), (y === 1 || y === 2 || y === 3) && (y = 4, p.onload = M, p.onerror = M, p.onabort = M, p.onprogress = M, p.onreadystatechange = M, p.abort(), v !== 0 && (i(v), v = 0), E || (g.readyState = 4, g.onabort(null), g.onreadystatechange())), y = 0;
4416
4438
  };
4417
4439
  var x = function() {
4418
4440
  if (y === 1) {
4419
4441
  var E = 0, f = "", S = void 0;
4420
- if ("contentType" in m)
4421
- E = 200, f = "OK", S = m.contentType;
4442
+ if ("contentType" in p)
4443
+ E = 200, f = "OK", S = p.contentType;
4422
4444
  else
4423
4445
  try {
4424
- E = m.status, f = m.statusText, S = m.getResponseHeader("Content-Type");
4446
+ E = p.status, f = p.statusText, S = p.getResponseHeader("Content-Type");
4425
4447
  } catch (N) {
4426
4448
  E = 0, f = "", S = void 0;
4427
4449
  }
@@ -4432,7 +4454,7 @@ var lr = { exports: {} };
4432
4454
  y = 3;
4433
4455
  var E = "";
4434
4456
  try {
4435
- E = m.responseText;
4457
+ E = p.responseText;
4436
4458
  } catch (f) {
4437
4459
  }
4438
4460
  g.readyState = 3, g.responseText = E, g.onprogress();
@@ -4452,21 +4474,21 @@ var lr = { exports: {} };
4452
4474
  g.onreadystatechange();
4453
4475
  }
4454
4476
  }, C = function(E) {
4455
- m != null && (m.readyState === 4 ? (!("onload" in m) || !("onerror" in m) || !("onabort" in m)) && T(m.responseText === "" ? "error" : "load", E) : m.readyState === 3 ? "onprogress" in m || R() : m.readyState === 2 && x());
4477
+ 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 || R() : p.readyState === 2 && x());
4456
4478
  }, L = function() {
4457
4479
  v = n(function() {
4458
4480
  L();
4459
- }, 500), m.readyState === 3 && R();
4481
+ }, 500), p.readyState === 3 && R();
4460
4482
  };
4461
- "onload" in m && (m.onload = function(E) {
4483
+ "onload" in p && (p.onload = function(E) {
4462
4484
  T("load", E);
4463
- }), "onerror" in m && (m.onerror = function(E) {
4485
+ }), "onerror" in p && (p.onerror = function(E) {
4464
4486
  T("error", E);
4465
- }), "onabort" in m && (m.onabort = function(E) {
4487
+ }), "onabort" in p && (p.onabort = function(E) {
4466
4488
  T("abort", E);
4467
- }), "onprogress" in m && (m.onprogress = R), "onreadystatechange" in m && (m.onreadystatechange = function(E) {
4489
+ }), "onprogress" in p && (p.onprogress = R), "onreadystatechange" in p && (p.onreadystatechange = function(E) {
4468
4490
  C(E);
4469
- }), ("contentType" in m || !("ontimeout" in o.prototype)) && (b += (b.indexOf("?") === -1 ? "?" : "&") + "padding=true"), m.open(h, b, !0), "readyState" in m && (v = n(function() {
4491
+ }), ("contentType" in p || !("ontimeout" in o.prototype)) && (b += (b.indexOf("?") === -1 ? "?" : "&") + "padding=true"), p.open(h, b, !0), "readyState" in p && (v = n(function() {
4470
4492
  L();
4471
4493
  }, 0));
4472
4494
  }, $.prototype.abort = function() {
@@ -4501,8 +4523,8 @@ var lr = { exports: {} };
4501
4523
  }
4502
4524
  function le(h) {
4503
4525
  for (var b = /* @__PURE__ */ Object.create(null), g = h.split(`\r
4504
- `), m = 0; m < g.length; m += 1) {
4505
- var y = g[m], v = y.split(": "), x = v.shift(), R = v.join(": ");
4526
+ `), p = 0; p < g.length; p += 1) {
4527
+ var y = g[p], v = y.split(": "), x = v.shift(), R = v.join(": ");
4506
4528
  b[Z(x)] = R;
4507
4529
  }
4508
4530
  this._map = b;
@@ -4512,18 +4534,18 @@ var lr = { exports: {} };
4512
4534
  }, o != null && o.HEADERS_RECEIVED == null && (o.HEADERS_RECEIVED = 2);
4513
4535
  function ge() {
4514
4536
  }
4515
- ge.prototype.open = function(h, b, g, m, y, v, x) {
4537
+ ge.prototype.open = function(h, b, g, p, y, v, x) {
4516
4538
  h.open("GET", y);
4517
4539
  var R = 0;
4518
4540
  h.onprogress = function() {
4519
4541
  var C = h.responseText, L = C.slice(R);
4520
4542
  R += L.length, g(L);
4521
4543
  }, h.onerror = function(C) {
4522
- C.preventDefault(), m(new Error("NetworkError"));
4544
+ C.preventDefault(), p(new Error("NetworkError"));
4523
4545
  }, h.onload = function() {
4524
- m(null);
4546
+ p(null);
4525
4547
  }, h.onabort = function() {
4526
- m(null);
4548
+ p(null);
4527
4549
  }, h.onreadystatechange = function() {
4528
4550
  if (h.readyState === o.HEADERS_RECEIVED) {
4529
4551
  var C = h.status, L = h.statusText, E = h.getResponseHeader("Content-Type"), f = h.getAllResponseHeaders();
@@ -4542,7 +4564,7 @@ var lr = { exports: {} };
4542
4564
  };
4543
4565
  function Be() {
4544
4566
  }
4545
- Be.prototype.open = function(h, b, g, m, y, v, x) {
4567
+ Be.prototype.open = function(h, b, g, p, y, v, x) {
4546
4568
  var R = null, T = new B(), C = T.signal, L = new _();
4547
4569
  return d(y, {
4548
4570
  headers: x,
@@ -4569,14 +4591,14 @@ var lr = { exports: {} };
4569
4591
  if (E.name !== "AbortError")
4570
4592
  return E;
4571
4593
  }).then(function(E) {
4572
- m(E);
4594
+ p(E);
4573
4595
  }), {
4574
4596
  abort: function() {
4575
4597
  R != null && R.cancel(), T.abort();
4576
4598
  }
4577
4599
  };
4578
4600
  };
4579
- function pe() {
4601
+ function me() {
4580
4602
  this._listeners = /* @__PURE__ */ Object.create(null);
4581
4603
  }
4582
4604
  function Pe(h) {
@@ -4584,31 +4606,31 @@ var lr = { exports: {} };
4584
4606
  throw h;
4585
4607
  }, 0);
4586
4608
  }
4587
- pe.prototype.dispatchEvent = function(h) {
4609
+ me.prototype.dispatchEvent = function(h) {
4588
4610
  h.target = this;
4589
4611
  var b = this._listeners[h.type];
4590
4612
  if (b != null)
4591
- for (var g = b.length, m = 0; m < g; m += 1) {
4592
- var y = b[m];
4613
+ for (var g = b.length, p = 0; p < g; p += 1) {
4614
+ var y = b[p];
4593
4615
  try {
4594
4616
  typeof y.handleEvent == "function" ? y.handleEvent(h) : y.call(this, h);
4595
4617
  } catch (v) {
4596
4618
  Pe(v);
4597
4619
  }
4598
4620
  }
4599
- }, pe.prototype.addEventListener = function(h, b) {
4621
+ }, me.prototype.addEventListener = function(h, b) {
4600
4622
  h = String(h);
4601
- var g = this._listeners, m = g[h];
4602
- m == null && (m = [], g[h] = m);
4603
- for (var y = !1, v = 0; v < m.length; v += 1)
4604
- m[v] === b && (y = !0);
4605
- y || m.push(b);
4606
- }, pe.prototype.removeEventListener = function(h, b) {
4623
+ var g = this._listeners, p = g[h];
4624
+ p == null && (p = [], g[h] = p);
4625
+ for (var y = !1, v = 0; v < p.length; v += 1)
4626
+ p[v] === b && (y = !0);
4627
+ y || p.push(b);
4628
+ }, me.prototype.removeEventListener = function(h, b) {
4607
4629
  h = String(h);
4608
- var g = this._listeners, m = g[h];
4609
- if (m != null) {
4610
- for (var y = [], v = 0; v < m.length; v += 1)
4611
- m[v] !== b && y.push(m[v]);
4630
+ var g = this._listeners, p = g[h];
4631
+ if (p != null) {
4632
+ for (var y = [], v = 0; v < p.length; v += 1)
4633
+ p[v] !== b && y.push(p[v]);
4612
4634
  y.length === 0 ? delete g[h] : g[h] = y;
4613
4635
  }
4614
4636
  };
@@ -4635,20 +4657,20 @@ var lr = { exports: {} };
4635
4657
  }, Te = function(h, b, g) {
4636
4658
  try {
4637
4659
  typeof b == "function" && b.call(h, g);
4638
- } catch (m) {
4639
- Pe(m);
4660
+ } catch (p) {
4661
+ Pe(p);
4640
4662
  }
4641
4663
  };
4642
4664
  function J(h, b) {
4643
- pe.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, dt(this, h, b);
4665
+ me.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, dt(this, h, b);
4644
4666
  }
4645
4667
  function It() {
4646
4668
  return o != null && "withCredentials" in o.prototype || s == null ? new o() : new s();
4647
4669
  }
4648
- var Lt = d != null && p != null && "body" in p.prototype;
4670
+ var Lt = d != null && m != null && "body" in m.prototype;
4649
4671
  function dt(h, b, g) {
4650
4672
  b = String(b);
4651
- var m = !!g.withCredentials, y = g.lastEventIdQueryParameterName || "lastEventId", v = De(1e3), x = tt(g.heartbeatTimeout, 45e3), R = "", T = v, C = !1, L = 0, E = g.headers || {}, f = g.Transport, S = Lt && f == null ? void 0 : new $(f != null ? new f() : It()), N = f != null && typeof f != "string" ? new f() : S == null ? new Be() : new ge(), I = void 0, k = 0, q = Oe, Se = "", rt = "", G = "", mt = "", Q = se, Nt = 0, Ie = 0, Sn = function(V, j, ae, ue) {
4673
+ var p = !!g.withCredentials, y = g.lastEventIdQueryParameterName || "lastEventId", v = De(1e3), x = tt(g.heartbeatTimeout, 45e3), R = "", T = v, C = !1, L = 0, E = g.headers || {}, f = g.Transport, S = Lt && f == null ? void 0 : new $(f != null ? new f() : It()), N = f != null && typeof f != "string" ? new f() : S == null ? new Be() : new ge(), I = void 0, k = 0, q = Oe, Se = "", rt = "", G = "", pt = "", Q = se, Nt = 0, Ie = 0, Pn = function(V, j, ae, ue) {
4652
4674
  if (q === W)
4653
4675
  if (V === 200 && ae != null && et.test(ae)) {
4654
4676
  q = he, C = Date.now(), T = v, h.readyState = he;
@@ -4668,14 +4690,14 @@ var lr = { exports: {} };
4668
4690
  });
4669
4691
  h.dispatchEvent(Y), Te(h, h.onerror, Y), console.error(X);
4670
4692
  }
4671
- }, An = function(V) {
4693
+ }, Cn = function(V) {
4672
4694
  if (q === he) {
4673
4695
  for (var j = -1, ae = 0; ae < V.length; ae += 1) {
4674
4696
  var ue = V.charCodeAt(ae);
4675
4697
  (ue === 10 || ue === 13) && (j = ae);
4676
4698
  }
4677
- var Y = (j !== -1 ? mt : "") + V.slice(0, j + 1);
4678
- mt = (j === -1 ? mt : "") + V.slice(j + 1), V !== "" && (C = Date.now(), L += V.length);
4699
+ var Y = (j !== -1 ? pt : "") + V.slice(0, j + 1);
4700
+ pt = (j === -1 ? pt : "") + V.slice(j + 1), V !== "" && (C = Date.now(), L += V.length);
4679
4701
  for (var X = 0; X < Y.length; X += 1) {
4680
4702
  var ue = Y.charCodeAt(X);
4681
4703
  if (Q === oe && ue === 10)
@@ -4706,7 +4728,7 @@ var lr = { exports: {} };
4706
4728
  Q === se && (Nt = X, Q = ye), Q === ye ? ue === 58 && (Ie = X + 1, Q = Ke) : Q === Ke && (Q = be);
4707
4729
  }
4708
4730
  }
4709
- }, cr = function(V) {
4731
+ }, mr = function(V) {
4710
4732
  if (q === he || q === W) {
4711
4733
  q = Oe, k !== 0 && (i(k), k = 0), k = n(function() {
4712
4734
  nt();
@@ -4719,7 +4741,7 @@ var lr = { exports: {} };
4719
4741
  }, nt = function() {
4720
4742
  if (k = 0, q !== Oe) {
4721
4743
  if (!C && I != null)
4722
- cr(new Error("No activity within " + x + " milliseconds. " + (q === W ? "No response received." : L + " chars received.") + " Reconnecting.")), I != null && (I.abort(), I = void 0);
4744
+ mr(new Error("No activity within " + x + " milliseconds. " + (q === W ? "No response received." : L + " chars received.") + " Reconnecting.")), I != null && (I.abort(), I = void 0);
4723
4745
  else {
4724
4746
  var V = Math.max((C || Date.now()) + x - Date.now(), 1);
4725
4747
  C = !1, k = n(function() {
@@ -4730,7 +4752,7 @@ var lr = { exports: {} };
4730
4752
  }
4731
4753
  C = !1, L = 0, k = n(function() {
4732
4754
  nt();
4733
- }, x), q = W, Se = "", G = "", rt = R, mt = "", Nt = 0, Ie = 0, Q = se;
4755
+ }, x), q = W, Se = "", G = "", rt = R, pt = "", Nt = 0, Ie = 0, Q = se;
4734
4756
  var j = b;
4735
4757
  if (b.slice(0, 5) !== "data:" && b.slice(0, 5) !== "blob:" && R !== "") {
4736
4758
  var ae = b.indexOf("?");
@@ -4745,14 +4767,14 @@ var lr = { exports: {} };
4745
4767
  for (var Ee in X)
4746
4768
  Object.prototype.hasOwnProperty.call(X, Ee) && (Y[Ee] = X[Ee]);
4747
4769
  try {
4748
- I = N.open(S, Sn, An, cr, j, ue, Y);
4770
+ I = N.open(S, Pn, Cn, mr, j, ue, Y);
4749
4771
  } catch (_e) {
4750
4772
  throw Mt(), _e;
4751
4773
  }
4752
4774
  };
4753
- h.url = b, h.readyState = W, h.withCredentials = m, h.headers = E, h._close = Mt, nt();
4775
+ h.url = b, h.readyState = W, h.withCredentials = p, h.headers = E, h._close = Mt, nt();
4754
4776
  }
4755
- J.prototype = Object.create(pe.prototype), J.prototype.CONNECTING = W, J.prototype.OPEN = he, J.prototype.CLOSED = ve, J.prototype.close = function() {
4777
+ J.prototype = Object.create(me.prototype), J.prototype.CONNECTING = W, J.prototype.OPEN = he, J.prototype.CLOSED = ve, J.prototype.close = function() {
4756
4778
  this._close();
4757
4779
  }, J.CONNECTING = W, J.OPEN = he, J.CLOSED = ve, J.prototype.withCredentials = void 0;
4758
4780
  var Fe = l;
@@ -4764,9 +4786,9 @@ var lr = { exports: {} };
4764
4786
  }(function(h) {
4765
4787
  h.EventSourcePolyfill = J, h.NativeEventSource = l, h.EventSource = Fe;
4766
4788
  });
4767
- })(typeof globalThis == "undefined" ? typeof window != "undefined" ? window : typeof self != "undefined" ? self : vi : globalThis);
4768
- })(lr, lr.exports);
4769
- var us = lr.exports;
4789
+ })(typeof globalThis == "undefined" ? typeof window != "undefined" ? window : typeof self != "undefined" ? self : xi : globalThis);
4790
+ })(hr, hr.exports);
4791
+ var fs = hr.exports;
4770
4792
  if (typeof window != "undefined") {
4771
4793
  let e = function(t) {
4772
4794
  return function(...r) {
@@ -4779,7 +4801,7 @@ if (typeof window != "undefined") {
4779
4801
  }
4780
4802
  };
4781
4803
  };
4782
- customElements.define = e(customElements.define), import("./CasinoTournamentsFilterController-C8EhVpC4.js").then(({ default: t }) => {
4804
+ customElements.define = e(customElements.define), import("./CasinoTournamentsFilterController-D9Tidq8w.js").then(({ default: t }) => {
4783
4805
  !customElements.get("casino-tournaments-filter-controller") && customElements.define("casino-tournaments-filter-controller", t.element);
4784
4806
  });
4785
4807
  }
@@ -4795,52 +4817,52 @@ if (typeof window != "undefined") {
4795
4817
  }
4796
4818
  };
4797
4819
  };
4798
- customElements.define = e(customElements.define), import("./CasinoTournamentsListController-wgytIhYX.js").then(({ default: t }) => {
4820
+ customElements.define = e(customElements.define), import("./CasinoTournamentsListController-Bj5LNl9h.js").then(({ default: t }) => {
4799
4821
  !customElements.get("casino-tournaments-list-controller") && customElements.define("casino-tournaments-list-controller", t.element);
4800
4822
  });
4801
4823
  }
4802
- const Gr = (e) => e.length > 0 && e != "false";
4803
- function ls(e) {
4804
- Nn(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}");
4824
+ const kr = (e) => e.length > 0 && e != "false";
4825
+ function cs(e) {
4826
+ Fn(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}");
4805
4827
  }
4806
- function hs(e) {
4828
+ function ds(e) {
4807
4829
  let t, r, n, i, o, s, a = (
4808
4830
  /*filtersLoaded*/
4809
- e[19] && jr(e)
4831
+ e[19] && Vr(e)
4810
4832
  );
4811
- function l(p, _) {
4833
+ function l(m, _) {
4812
4834
  return (
4813
4835
  /*tournamentsNumber*/
4814
- p[20] == 0 ? ds : cs
4836
+ m[20] == 0 ? bs : ms
4815
4837
  );
4816
4838
  }
4817
4839
  let u = l(e), c = u(e), d = !/*allTournamentsShown*/
4818
- e[21] && $r(e);
4840
+ e[21] && Xr(e);
4819
4841
  return {
4820
4842
  c() {
4821
- t = z("div"), r = z("div"), n = z("div"), a && a.c(), i = Xt(), o = z("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");
4843
+ t = z("div"), r = z("div"), n = z("div"), a && a.c(), i = zt(), o = z("div"), c.c(), s = zt(), 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");
4822
4844
  },
4823
- m(p, _) {
4824
- de(p, t, _), re(t, r), re(r, n), a && a.m(n, null), re(r, i), re(r, o), c.m(o, null), re(r, s), d && d.m(r, null);
4845
+ m(m, _) {
4846
+ de(m, t, _), re(t, r), re(r, n), a && a.m(n, null), re(r, i), re(r, o), c.m(o, null), re(r, s), d && d.m(r, null);
4825
4847
  },
4826
- p(p, _) {
4848
+ p(m, _) {
4827
4849
  /*filtersLoaded*/
4828
- p[19] ? a ? a.p(p, _) : (a = jr(p), a.c(), a.m(n, null)) : a && (a.d(1), a = null), u === (u = l(p)) && c ? c.p(p, _) : (c.d(1), c = u(p), c && (c.c(), c.m(o, null))), /*allTournamentsShown*/
4829
- p[21] ? d && (d.d(1), d = null) : d ? d.p(p, _) : (d = $r(p), d.c(), d.m(r, null));
4850
+ m[19] ? a ? a.p(m, _) : (a = Vr(m), a.c(), a.m(n, null)) : a && (a.d(1), a = null), u === (u = l(m)) && c ? c.p(m, _) : (c.d(1), c = u(m), c && (c.c(), c.m(o, null))), /*allTournamentsShown*/
4851
+ m[21] ? d && (d.d(1), d = null) : d ? d.p(m, _) : (d = Xr(m), d.c(), d.m(r, null));
4830
4852
  },
4831
- d(p) {
4832
- p && ne(t), a && a.d(), c.d(), d && d.d();
4853
+ d(m) {
4854
+ m && ne(t), a && a.d(), c.d(), d && d.d();
4833
4855
  }
4834
4856
  };
4835
4857
  }
4836
- function fs(e) {
4858
+ function ps(e) {
4837
4859
  let t, r = (
4838
4860
  /*$_*/
4839
4861
  e[22]("500") + ""
4840
4862
  ), n, i, o, s;
4841
4863
  return {
4842
4864
  c() {
4843
- t = z("p"), n = Ne(r), i = Xt(), o = z("p"), s = Ne(
4865
+ t = z("p"), n = Ne(r), i = zt(), o = z("p"), s = Ne(
4844
4866
  /*error*/
4845
4867
  e[17]
4846
4868
  );
@@ -4863,7 +4885,7 @@ function fs(e) {
4863
4885
  }
4864
4886
  };
4865
4887
  }
4866
- function jr(e) {
4888
+ function Vr(e) {
4867
4889
  let t;
4868
4890
  return {
4869
4891
  c() {
@@ -4882,7 +4904,7 @@ function jr(e) {
4882
4904
  "translationurl",
4883
4905
  /*translationurl*/
4884
4906
  e[4]
4885
- ), w(t, "filters", gs), w(
4907
+ ), w(t, "filters", Es), w(
4886
4908
  t,
4887
4909
  "activefilters",
4888
4910
  /*filters*/
@@ -4924,7 +4946,7 @@ function jr(e) {
4924
4946
  }
4925
4947
  };
4926
4948
  }
4927
- function cs(e) {
4949
+ function ms(e) {
4928
4950
  let t;
4929
4951
  return {
4930
4952
  c() {
@@ -5098,18 +5120,18 @@ function cs(e) {
5098
5120
  }
5099
5121
  };
5100
5122
  }
5101
- function ds(e) {
5123
+ function bs(e) {
5102
5124
  let t;
5103
5125
  function r(o, s) {
5104
5126
  return (
5105
5127
  /*isLoading*/
5106
- o[18] ? ps : ms
5128
+ o[18] ? vs : gs
5107
5129
  );
5108
5130
  }
5109
5131
  let n = r(e), i = n(e);
5110
5132
  return {
5111
5133
  c() {
5112
- i.c(), t = Dn();
5134
+ i.c(), t = jn();
5113
5135
  },
5114
5136
  m(o, s) {
5115
5137
  i.m(o, s), de(o, t, s);
@@ -5122,7 +5144,7 @@ function ds(e) {
5122
5144
  }
5123
5145
  };
5124
5146
  }
5125
- function ms(e) {
5147
+ function gs(e) {
5126
5148
  let t, r = (
5127
5149
  /*$_*/
5128
5150
  e[22]("noTournaments") + ""
@@ -5144,7 +5166,7 @@ function ms(e) {
5144
5166
  }
5145
5167
  };
5146
5168
  }
5147
- function ps(e) {
5169
+ function vs(e) {
5148
5170
  let t, r = (
5149
5171
  /*$_*/
5150
5172
  e[22]("loading") + ""
@@ -5166,7 +5188,7 @@ function ps(e) {
5166
5188
  }
5167
5189
  };
5168
5190
  }
5169
- function $r(e) {
5191
+ function Xr(e) {
5170
5192
  let t, r, n, i = (
5171
5193
  /*$_*/
5172
5194
  e[22]("showMore") + ""
@@ -5176,7 +5198,7 @@ function $r(e) {
5176
5198
  t = z("div"), r = z("div"), n = z("button"), o = Ne(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");
5177
5199
  },
5178
5200
  m(l, u) {
5179
- de(l, t, u), re(t, r), re(r, n), re(n, o), s || (a = zt(
5201
+ de(l, t, u), re(t, r), re(r, n), re(n, o), s || (a = Wt(
5180
5202
  n,
5181
5203
  "click",
5182
5204
  /*click_handler*/
@@ -5193,12 +5215,12 @@ function $r(e) {
5193
5215
  }
5194
5216
  };
5195
5217
  }
5196
- function bs(e) {
5218
+ function ys(e) {
5197
5219
  let t;
5198
5220
  function r(o, s) {
5199
5221
  return (
5200
5222
  /*hasErrors*/
5201
- o[16] ? fs : hs
5223
+ o[16] ? ps : ds
5202
5224
  );
5203
5225
  }
5204
5226
  let n = r(e), i = n(e);
@@ -5219,27 +5241,27 @@ function bs(e) {
5219
5241
  }
5220
5242
  };
5221
5243
  }
5222
- let gs = "All,Scheduled,Ongoing,Finished";
5223
- function vs(e, t, r) {
5244
+ let Es = "All,Scheduled,Ongoing,Finished";
5245
+ function _s(e, t, r) {
5224
5246
  let n;
5225
- Ln(e, os, (f) => r(22, n = f));
5226
- let { session: i = "" } = t, { userid: o = "" } = t, { endpoint: s = "" } = t, { lang: a = "en" } = t, { translationurl: l = "" } = t, { numberoftournaments: u = "6" } = t, { showmorestep: c = "2" } = t, { filters: d = "All" } = t, { loginevent: p = "" } = t, { registerevent: _ = "" } = t, { loginurl: O = "" } = t, { registerurl: B = "" } = t, { currency: ee = "EUR" } = t, { keepbrowsercontext: me = "false" } = t, { sorttype: ie = "" } = t, { sortorder: M = "" } = t, { starttimeafter: $ = "" } = t, { showanonymoustournaments: Z = "true" } = t, { clientstyling: le = "" } = t, { clientstylingurl: ge = "" } = t, { delaybeforeload: Re = 1e3 } = t, Be = !1, pe = "", Pe = !1, te = "", ft = window.navigator.userAgent, Ce = !0, Ye = !1, Oe = !1, W, he = 0, ve = !1, oe = 6, se = !0, ye = [], Ke, be, et = !1, ct;
5227
- as({ withLocale: "en", translations: {} });
5247
+ Dn(e, us, (f) => r(22, n = f));
5248
+ let { session: i = "" } = t, { userid: o = "" } = t, { endpoint: s = "" } = t, { lang: a = "en" } = t, { translationurl: l = "" } = t, { numberoftournaments: u = "6" } = t, { showmorestep: c = "2" } = t, { filters: d = "All" } = t, { loginevent: m = "" } = t, { registerevent: _ = "" } = t, { loginurl: O = "" } = t, { registerurl: B = "" } = t, { currency: ee = "EUR" } = t, { keepbrowsercontext: pe = "false" } = t, { sorttype: ie = "" } = t, { sortorder: M = "" } = t, { starttimeafter: $ = "" } = t, { showanonymoustournaments: Z = "true" } = t, { clientstyling: le = "" } = t, { clientstylingurl: ge = "" } = t, { delaybeforeload: Re = 1e3 } = t, Be = !1, me = "", Pe = !1, te = "", ft = window.navigator.userAgent, Ce = !0, Ye = !1, Oe = !1, W, he = 0, ve = !1, oe = 6, se = !0, ye = [], Ke, be, et = !1, ct;
5249
+ hs({ withLocale: "en", translations: {} });
5228
5250
  const Ot = () => {
5229
5251
  fetch(l).then((S) => S.json()).then((S) => {
5230
5252
  ct = S, Object.keys(S).forEach((N) => {
5231
- Vt(N, S[N]);
5253
+ Xt(N, S[N]);
5232
5254
  });
5233
5255
  }).catch((S) => {
5234
5256
  console.log(S);
5235
5257
  });
5236
5258
  }, tt = (f) => {
5237
5259
  f && Object.keys(f).forEach((S) => {
5238
- Vt(S, f[S]);
5260
+ Xt(S, f[S]);
5239
5261
  });
5240
5262
  };
5241
- Object.keys(Ur).forEach((f) => {
5242
- Vt(f, Ur[f]);
5263
+ Object.keys($r).forEach((f) => {
5264
+ Xt(f, $r[f]);
5243
5265
  });
5244
5266
  const De = (f) => {
5245
5267
  f.data && f.data.type === "UserSessionID" && (Pe = !0, r(30, te = f.data.session), f.data.userid, J(s, 0, oe)), f.data && f.data.type === "TournamentsFiltersSelected" && (ye = f.data.filters, J(s, 0, oe)), f.data && f.data.type === "TournamentThumbnailMounted" && tt(ct);
@@ -5274,9 +5296,9 @@ function vs(e, t, r) {
5274
5296
  let I = new URL(`${f}/v1/tournaments`), k = new Headers();
5275
5297
  I.searchParams.append("pagination", `offset=${S},limit=${N}`), I.searchParams.append("sortField", "StartTime"), I.searchParams.append("sortOrder", M || "desc"), I.searchParams.append("language", a);
5276
5298
  const q = { StartTimeAfter: Lt() };
5277
- !Gr(i) && Z === "false" && (q.tags = "no-role-set"), ye.length > 0 && ye[0] != "All" && (q.state = ye.map((G) => Te(G)).join("|"));
5299
+ !kr(i) && Z === "false" && (q.tags = "no-role-set"), ye.length > 0 && ye[0] != "All" && (q.state = ye.map((G) => Te(G)).join("|"));
5278
5300
  const Se = Object.keys(q).map((G) => `${G}=${q[G]}`).join(",");
5279
- return I.searchParams.append("filter", Se), I.searchParams.append("platform", ss(ft)), ie && I.searchParams.append("sortType", ie), Pe && k.append("X-SessionID", te), fetch(I, {
5301
+ return I.searchParams.append("filter", Se), I.searchParams.append("platform", ls(ft)), ie && I.searchParams.append("sortType", ie), Pe && k.append("X-SessionID", te), fetch(I, {
5280
5302
  method: "GET",
5281
5303
  headers: k,
5282
5304
  cache: "no-cache"
@@ -5315,7 +5337,7 @@ function vs(e, t, r) {
5315
5337
  1e3
5316
5338
  ), be && (be.removeEventListener("message", Fe), be.close());
5317
5339
  let f = `${s}/v1/tournaments/updates?${Ke}`;
5318
- be = new us.EventSourcePolyfill(
5340
+ be = new fs.EventSourcePolyfill(
5319
5341
  f,
5320
5342
  {
5321
5343
  headers: {
@@ -5335,17 +5357,17 @@ function vs(e, t, r) {
5335
5357
  },
5336
5358
  window.location.href
5337
5359
  ), yield It(s, f, S), oe >= he && r(21, se = !0);
5338
- }), g = () => (s || (r(17, pe = "Endpoint is missing! Please provide a valid endpointURL."), r(16, Be = !0), console.error(pe)), (!a || a.length != 2) && (r(17, pe = "Language is missing! Please provide a valid language (alpha2code)"), r(16, Be = !0), console.error(pe)), Be), m = () => {
5360
+ }), g = () => (s || (r(17, me = "Endpoint is missing! Please provide a valid endpointURL."), r(16, Be = !0), console.error(me)), (!a || a.length != 2) && (r(17, me = "Language is missing! Please provide a valid language (alpha2code)"), r(16, Be = !0), console.error(me)), Be), p = () => {
5339
5361
  if (!ve) return !1;
5340
- g() || (oe = parseInt(u, 10), Fr(a), J(s, 0, oe));
5362
+ g() || (oe = parseInt(u, 10), jr(a), J(s, 0, oe));
5341
5363
  }, y = () => {
5342
- Fr(a);
5364
+ jr(a);
5343
5365
  }, v = () => {
5344
5366
  ye = d.split(","), r(19, Ye = !0);
5345
5367
  }, x = () => {
5346
- Gr(i) ? (Pe = !0, r(30, te = i)) : (Pe = !1, r(30, te = ""));
5368
+ kr(i) ? (Pe = !0, r(30, te = i)) : (Pe = !1, r(30, te = ""));
5347
5369
  }, R = () => Le(this, null, function* () {
5348
- et || (et = !0, yield m(), et = !1);
5370
+ et || (et = !0, yield p(), et = !1);
5349
5371
  }), T = () => {
5350
5372
  let f = document.createElement("style");
5351
5373
  f.innerHTML = le, W.appendChild(f);
@@ -5364,7 +5386,7 @@ function vs(e, t, r) {
5364
5386
  );
5365
5387
  });
5366
5388
  };
5367
- $n(() => (setTimeout(
5389
+ zn(() => (setTimeout(
5368
5390
  () => {
5369
5391
  r(31, ve = !0);
5370
5392
  },
@@ -5374,12 +5396,12 @@ function vs(e, t, r) {
5374
5396
  }));
5375
5397
  const L = () => b();
5376
5398
  function E(f) {
5377
- Wt[f ? "unshift" : "push"](() => {
5399
+ qt[f ? "unshift" : "push"](() => {
5378
5400
  W = f, r(15, W);
5379
5401
  });
5380
5402
  }
5381
5403
  return e.$$set = (f) => {
5382
- "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, l = f.translationurl), "numberoftournaments" in f && r(5, u = f.numberoftournaments), "showmorestep" in f && r(24, 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, O = f.loginurl), "registerurl" in f && r(10, B = f.registerurl), "currency" in f && r(11, ee = f.currency), "keepbrowsercontext" in f && r(12, me = f.keepbrowsercontext), "sorttype" in f && r(25, ie = f.sorttype), "sortorder" in f && r(26, M = f.sortorder), "starttimeafter" in f && r(27, $ = f.starttimeafter), "showanonymoustournaments" in f && r(28, Z = f.showanonymoustournaments), "clientstyling" in f && r(13, le = f.clientstyling), "clientstylingurl" in f && r(14, ge = f.clientstylingurl), "delaybeforeload" in f && r(29, Re = f.delaybeforeload);
5404
+ "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, l = f.translationurl), "numberoftournaments" in f && r(5, u = f.numberoftournaments), "showmorestep" in f && r(24, c = f.showmorestep), "filters" in f && r(6, d = f.filters), "loginevent" in f && r(7, m = f.loginevent), "registerevent" in f && r(8, _ = f.registerevent), "loginurl" in f && r(9, O = f.loginurl), "registerurl" in f && r(10, B = f.registerurl), "currency" in f && r(11, ee = f.currency), "keepbrowsercontext" in f && r(12, pe = f.keepbrowsercontext), "sorttype" in f && r(25, ie = f.sorttype), "sortorder" in f && r(26, M = f.sortorder), "starttimeafter" in f && r(27, $ = f.starttimeafter), "showanonymoustournaments" in f && r(28, Z = f.showanonymoustournaments), "clientstyling" in f && r(13, le = f.clientstyling), "clientstylingurl" in f && r(14, ge = f.clientstylingurl), "delaybeforeload" in f && r(29, Re = f.delaybeforeload);
5383
5405
  }, e.$$.update = () => {
5384
5406
  e.$$.dirty[0] & /*customStylingContainer, clientstyling*/
5385
5407
  40960 && W && le && T(), e.$$.dirty[0] & /*customStylingContainer, clientstylingurl*/
@@ -5388,7 +5410,7 @@ function vs(e, t, r) {
5388
5410
  64 && d && v(), e.$$.dirty[0] & /*lang*/
5389
5411
  8 && a && y(), e.$$.dirty[0] & /*translationurl*/
5390
5412
  16 && l && Ot(), e.$$.dirty[1] & /*isMounted*/
5391
- 1 && ve && m(), e.$$.dirty[0] & /*session*/
5413
+ 1 && ve && p(), e.$$.dirty[0] & /*session*/
5392
5414
  1 && (i === "" || i) && x(), e.$$.dirty[0] & /*sessionID*/
5393
5415
  1073741824 && (te === "" || te) && R(), e.$$.dirty[0] & /*endpoint, numberoftournaments, showmorestep, lang, showanonymoustournaments*/
5394
5416
  285212716 && s && u && c && a && Z && R();
@@ -5400,17 +5422,17 @@ function vs(e, t, r) {
5400
5422
  l,
5401
5423
  u,
5402
5424
  d,
5403
- p,
5425
+ m,
5404
5426
  _,
5405
5427
  O,
5406
5428
  B,
5407
5429
  ee,
5408
- me,
5430
+ pe,
5409
5431
  le,
5410
5432
  ge,
5411
5433
  W,
5412
5434
  Be,
5413
- pe,
5435
+ me,
5414
5436
  Ce,
5415
5437
  Ye,
5416
5438
  he,
@@ -5429,14 +5451,14 @@ function vs(e, t, r) {
5429
5451
  E
5430
5452
  ];
5431
5453
  }
5432
- class Tn extends ei {
5454
+ class Bn extends ii {
5433
5455
  constructor(t) {
5434
- super(), Yn(
5456
+ super(), ri(
5435
5457
  this,
5436
5458
  t,
5437
- vs,
5438
- bs,
5439
- Vr,
5459
+ _s,
5460
+ ys,
5461
+ Wr,
5440
5462
  {
5441
5463
  session: 0,
5442
5464
  userid: 1,
@@ -5460,7 +5482,7 @@ class Tn extends ei {
5460
5482
  clientstylingurl: 14,
5461
5483
  delaybeforeload: 29
5462
5484
  },
5463
- ls,
5485
+ cs,
5464
5486
  [-1, -1, -1]
5465
5487
  );
5466
5488
  }
@@ -5591,49 +5613,49 @@ class Tn extends ei {
5591
5613
  this.$$set({ delaybeforeload: t }), F();
5592
5614
  }
5593
5615
  }
5594
- Kn(Tn, { session: {}, userid: {}, endpoint: {}, lang: {}, translationurl: {}, numberoftournaments: {}, showmorestep: {}, filters: {}, loginevent: {}, registerevent: {}, loginurl: {}, registerurl: {}, currency: {}, keepbrowsercontext: {}, sorttype: {}, sortorder: {}, starttimeafter: {}, showanonymoustournaments: {}, clientstyling: {}, clientstylingurl: {}, delaybeforeload: {} }, [], [], !0);
5595
- const Ps = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5616
+ ni(Bn, { session: {}, userid: {}, endpoint: {}, lang: {}, translationurl: {}, numberoftournaments: {}, showmorestep: {}, filters: {}, loginevent: {}, registerevent: {}, loginurl: {}, registerurl: {}, currency: {}, keepbrowsercontext: {}, sorttype: {}, sortorder: {}, starttimeafter: {}, showanonymoustournaments: {}, clientstyling: {}, clientstylingurl: {}, delaybeforeload: {} }, [], [], !0);
5617
+ const Is = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5596
5618
  __proto__: null,
5597
- default: Tn
5619
+ default: Bn
5598
5620
  }, Symbol.toStringTag, { value: "Module" }));
5599
5621
  export {
5600
- os as $,
5601
- _s as A,
5602
- ht as B,
5603
- Ts as C,
5604
- St as D,
5622
+ us as $,
5623
+ Ts as A,
5624
+ St as B,
5625
+ ht as C,
5626
+ Hs as D,
5605
5627
  Je as E,
5606
- ss as F,
5607
- As as G,
5608
- Ss as H,
5609
- Zt as I,
5610
- Es as J,
5611
- Ps as K,
5612
- ei as S,
5613
- yn as a,
5614
- Nn as b,
5615
- de as c,
5616
- ne as d,
5628
+ ls as F,
5629
+ Ps as G,
5630
+ Jt as H,
5631
+ Bs as I,
5632
+ ws as J,
5633
+ Is as K,
5634
+ ii as S,
5635
+ wn as a,
5636
+ Fn as b,
5637
+ ni as c,
5638
+ U as d,
5617
5639
  z as e,
5618
5640
  F as f,
5619
- U as g,
5620
- Bs as h,
5621
- Yn as i,
5622
- Ln as j,
5623
- Hs as k,
5624
- xs as l,
5625
- st as m,
5641
+ Os as g,
5642
+ de as h,
5643
+ ri as i,
5644
+ ne as j,
5645
+ Dn as k,
5646
+ Cs as l,
5647
+ zt as m,
5626
5648
  ce as n,
5627
5649
  re as o,
5628
- Xt as p,
5629
- Wt as q,
5630
- zt as r,
5631
- Vr as s,
5650
+ st as p,
5651
+ Ss as q,
5652
+ Wt as r,
5653
+ Wr as s,
5632
5654
  Ne as t,
5633
- ws as u,
5634
- Kn as v,
5635
- $n as w,
5636
- Dn as x,
5655
+ qt as u,
5656
+ As as v,
5657
+ zn as w,
5658
+ jn as x,
5637
5659
  w as y,
5638
5660
  He as z
5639
5661
  };