@everymatrix/casino-tournaments-filter-controller 1.54.0 → 1.54.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,75 +1,46 @@
1
- var yr = Object.defineProperty, vr = Object.defineProperties;
2
- var _r = Object.getOwnPropertyDescriptors;
3
- var et = Object.getOwnPropertySymbols;
4
- var Er = Object.prototype.hasOwnProperty, xr = Object.prototype.propertyIsEnumerable;
5
- var He = (e, t, r) => t in e ? yr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, tt = (e, t) => {
6
- for (var r in t || (t = {}))
7
- Er.call(t, r) && He(e, r, t[r]);
8
- if (et)
9
- for (var r of et(t))
10
- xr.call(t, r) && He(e, r, t[r]);
11
- return e;
12
- }, rt = (e, t) => vr(e, _r(t));
13
- var O = (e, t, r) => He(e, typeof t != "symbol" ? t + "" : t, r);
14
- var nt = (e, t, r) => new Promise((n, i) => {
15
- var o = (l) => {
16
- try {
17
- a(r.next(l));
18
- } catch (u) {
19
- i(u);
20
- }
21
- }, s = (l) => {
22
- try {
23
- a(r.throw(l));
24
- } catch (u) {
25
- i(u);
26
- }
27
- }, a = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(o, s);
28
- a((r = r.apply(e, t)).next());
29
- });
30
- function N() {
1
+ function C() {
31
2
  }
32
- function Ft(e) {
3
+ function Nt(e) {
33
4
  return e();
34
5
  }
35
- function it() {
6
+ function qe() {
36
7
  return /* @__PURE__ */ Object.create(null);
37
8
  }
38
- function ae(e) {
39
- e.forEach(Ft);
9
+ function se(e) {
10
+ e.forEach(Nt);
40
11
  }
41
- function Qe(e) {
12
+ function We(e) {
42
13
  return typeof e == "function";
43
14
  }
44
- function Ut(e, t) {
15
+ function It(e, t) {
45
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
17
  }
47
- function Sr(e) {
18
+ function cr(e) {
48
19
  return Object.keys(e).length === 0;
49
20
  }
50
- function Dt(e, ...t) {
21
+ function Mt(e, ...t) {
51
22
  if (e == null) {
52
23
  for (const n of t)
53
24
  n(void 0);
54
- return N;
25
+ return C;
55
26
  }
56
27
  const r = e.subscribe(...t);
57
28
  return r.unsubscribe ? () => r.unsubscribe() : r;
58
29
  }
59
- function Tr(e, t, r) {
60
- e.$$.on_destroy.push(Dt(t, r));
30
+ function dr(e, t, r) {
31
+ e.$$.on_destroy.push(Mt(t, r));
61
32
  }
62
33
  function B(e, t) {
63
34
  e.appendChild(t);
64
35
  }
65
- function Hr(e, t, r) {
66
- const n = wr(e);
36
+ function pr(e, t, r) {
37
+ const n = mr(e);
67
38
  if (!n.getElementById(t)) {
68
- const i = D("style");
69
- i.id = t, i.textContent = r, Ar(n, i);
39
+ const i = U("style");
40
+ i.id = t, i.textContent = r, br(n, i);
70
41
  }
71
42
  }
72
- function wr(e) {
43
+ function mr(e) {
73
44
  if (!e) return document;
74
45
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
75
46
  return t && /** @type {ShadowRoot} */
@@ -78,49 +49,49 @@ function wr(e) {
78
49
  t
79
50
  ) : e.ownerDocument;
80
51
  }
81
- function Ar(e, t) {
52
+ function br(e, t) {
82
53
  return B(
83
54
  /** @type {Document} */
84
55
  e.head || e,
85
56
  t
86
57
  ), t.sheet;
87
58
  }
88
- function $(e, t, r) {
59
+ function R(e, t, r) {
89
60
  e.insertBefore(t, r || null);
90
61
  }
91
- function M(e) {
62
+ function I(e) {
92
63
  e.parentNode && e.parentNode.removeChild(e);
93
64
  }
94
- function Br(e, t) {
65
+ function gr(e, t) {
95
66
  for (let r = 0; r < e.length; r += 1)
96
67
  e[r] && e[r].d(t);
97
68
  }
98
- function D(e) {
69
+ function U(e) {
99
70
  return document.createElement(e);
100
71
  }
101
- function ot(e) {
72
+ function Ke(e) {
102
73
  return document.createElementNS("http://www.w3.org/2000/svg", e);
103
74
  }
104
- function j(e) {
75
+ function G(e) {
105
76
  return document.createTextNode(e);
106
77
  }
107
- function W() {
108
- return j(" ");
78
+ function z() {
79
+ return G(" ");
109
80
  }
110
- function Pr(e, t, r, n) {
81
+ function yr(e, t, r, n) {
111
82
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
112
83
  }
113
84
  function x(e, t, r) {
114
85
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
115
86
  }
116
- function Or(e) {
87
+ function vr(e) {
117
88
  return Array.from(e.childNodes);
118
89
  }
119
- function ue(e, t) {
90
+ function ae(e, t) {
120
91
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
121
92
  t);
122
93
  }
123
- function Cr(e) {
94
+ function _r(e) {
124
95
  const t = {};
125
96
  return e.childNodes.forEach(
126
97
  /** @param {Element} node */
@@ -129,89 +100,89 @@ function Cr(e) {
129
100
  }
130
101
  ), t;
131
102
  }
132
- let Je;
133
- function ie(e) {
134
- Je = e;
135
- }
136
- const Z = [], Ie = [];
137
- let Q = [];
138
- const st = [], Nr = /* @__PURE__ */ Promise.resolve();
139
- let Me = !1;
140
- function Ir() {
141
- Me || (Me = !0, Nr.then(G));
142
- }
143
- function Le(e) {
144
- Q.push(e);
145
- }
146
- const we = /* @__PURE__ */ new Set();
147
- let X = 0;
148
- function G() {
149
- if (X !== 0)
103
+ let Ze;
104
+ function ne(e) {
105
+ Ze = e;
106
+ }
107
+ const W = [], Ce = [];
108
+ let Z = [];
109
+ const et = [], Er = /* @__PURE__ */ Promise.resolve();
110
+ let Ne = !1;
111
+ function xr() {
112
+ Ne || (Ne = !0, Er.then(D));
113
+ }
114
+ function Ie(e) {
115
+ Z.push(e);
116
+ }
117
+ const Te = /* @__PURE__ */ new Set();
118
+ let V = 0;
119
+ function D() {
120
+ if (V !== 0)
150
121
  return;
151
- const e = Je;
122
+ const e = Ze;
152
123
  do {
153
124
  try {
154
- for (; X < Z.length; ) {
155
- const t = Z[X];
156
- X++, ie(t), Mr(t.$$);
125
+ for (; V < W.length; ) {
126
+ const t = W[V];
127
+ V++, ne(t), Sr(t.$$);
157
128
  }
158
129
  } catch (t) {
159
- throw Z.length = 0, X = 0, t;
130
+ throw W.length = 0, V = 0, t;
160
131
  }
161
- for (ie(null), Z.length = 0, X = 0; Ie.length; ) Ie.pop()();
162
- for (let t = 0; t < Q.length; t += 1) {
163
- const r = Q[t];
164
- we.has(r) || (we.add(r), r());
132
+ for (ne(null), W.length = 0, V = 0; Ce.length; ) Ce.pop()();
133
+ for (let t = 0; t < Z.length; t += 1) {
134
+ const r = Z[t];
135
+ Te.has(r) || (Te.add(r), r());
165
136
  }
166
- Q.length = 0;
167
- } while (Z.length);
168
- for (; st.length; )
169
- st.pop()();
170
- Me = !1, we.clear(), ie(e);
137
+ Z.length = 0;
138
+ } while (W.length);
139
+ for (; et.length; )
140
+ et.pop()();
141
+ Ne = !1, Te.clear(), ne(e);
171
142
  }
172
- function Mr(e) {
143
+ function Sr(e) {
173
144
  if (e.fragment !== null) {
174
- e.update(), ae(e.before_update);
145
+ e.update(), se(e.before_update);
175
146
  const t = e.dirty;
176
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Le);
147
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ie);
177
148
  }
178
149
  }
179
- function Lr(e) {
150
+ function Tr(e) {
180
151
  const t = [], r = [];
181
- Q.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Q = t;
152
+ Z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Z = t;
182
153
  }
183
- const Rr = /* @__PURE__ */ new Set();
184
- function $r(e, t) {
185
- e && e.i && (Rr.delete(e), e.i(t));
154
+ const Hr = /* @__PURE__ */ new Set();
155
+ function wr(e, t) {
156
+ e && e.i && (Hr.delete(e), e.i(t));
186
157
  }
187
- function at(e) {
188
- return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
158
+ function tt(e) {
159
+ return e?.length !== void 0 ? e : Array.from(e);
189
160
  }
190
- function Fr(e, t, r) {
161
+ function Ar(e, t, r) {
191
162
  const { fragment: n, after_update: i } = e.$$;
192
- n && n.m(t, r), Le(() => {
193
- const o = e.$$.on_mount.map(Ft).filter(Qe);
194
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ae(o), e.$$.on_mount = [];
195
- }), i.forEach(Le);
163
+ n && n.m(t, r), Ie(() => {
164
+ const o = e.$$.on_mount.map(Nt).filter(We);
165
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : se(o), e.$$.on_mount = [];
166
+ }), i.forEach(Ie);
196
167
  }
197
- function Ur(e, t) {
168
+ function Br(e, t) {
198
169
  const r = e.$$;
199
- r.fragment !== null && (Lr(r.after_update), ae(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
170
+ r.fragment !== null && (Tr(r.after_update), se(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
200
171
  }
201
- function Dr(e, t) {
202
- e.$$.dirty[0] === -1 && (Z.push(e), Ir(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
172
+ function Pr(e, t) {
173
+ e.$$.dirty[0] === -1 && (W.push(e), xr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
203
174
  }
204
- function Gr(e, t, r, n, i, o, s = null, a = [-1]) {
205
- const l = Je;
206
- ie(e);
175
+ function Or(e, t, r, n, i, o, s = null, a = [-1]) {
176
+ const l = Ze;
177
+ ne(e);
207
178
  const u = e.$$ = {
208
179
  fragment: null,
209
180
  ctx: [],
210
181
  // state
211
182
  props: o,
212
- update: N,
183
+ update: C,
213
184
  not_equal: i,
214
- bound: it(),
185
+ bound: qe(),
215
186
  // lifecycle
216
187
  on_mount: [],
217
188
  on_destroy: [],
@@ -220,7 +191,7 @@ function Gr(e, t, r, n, i, o, s = null, a = [-1]) {
220
191
  after_update: [],
221
192
  context: new Map(t.context || (l ? l.$$.context : [])),
222
193
  // everything else
223
- callbacks: it(),
194
+ callbacks: qe(),
224
195
  dirty: a,
225
196
  skip_bound: !1,
226
197
  root: t.target || l.$$.root
@@ -229,141 +200,137 @@ function Gr(e, t, r, n, i, o, s = null, a = [-1]) {
229
200
  let h = !1;
230
201
  if (u.ctx = r(e, t.props || {}, (f, c, ...d) => {
231
202
  const m = d.length ? d[0] : c;
232
- return u.ctx && i(u.ctx[f], u.ctx[f] = m) && (!u.skip_bound && u.bound[f] && u.bound[f](m), h && Dr(e, f)), c;
233
- }), u.update(), h = !0, ae(u.before_update), u.fragment = n(u.ctx), t.target) {
203
+ return u.ctx && i(u.ctx[f], u.ctx[f] = m) && (!u.skip_bound && u.bound[f] && u.bound[f](m), h && Pr(e, f)), c;
204
+ }), u.update(), h = !0, se(u.before_update), u.fragment = n(u.ctx), t.target) {
234
205
  if (t.hydrate) {
235
- const f = Or(t.target);
236
- u.fragment && u.fragment.l(f), f.forEach(M);
206
+ const f = vr(t.target);
207
+ u.fragment && u.fragment.l(f), f.forEach(I);
237
208
  } else
238
209
  u.fragment && u.fragment.c();
239
- t.intro && $r(e.$$.fragment), Fr(e, t.target, t.anchor), G();
210
+ t.intro && wr(e.$$.fragment), Ar(e, t.target, t.anchor), D();
240
211
  }
241
- ie(l);
242
- }
243
- let Gt;
244
- typeof HTMLElement == "function" && (Gt = class extends HTMLElement {
245
- constructor(t, r, n) {
246
- super();
247
- /** The Svelte component constructor */
248
- O(this, "$$ctor");
249
- /** Slots */
250
- O(this, "$$s");
251
- /** The Svelte component instance */
252
- O(this, "$$c");
253
- /** Whether or not the custom element is connected */
254
- O(this, "$$cn", !1);
255
- /** Component props data */
256
- O(this, "$$d", {});
257
- /** `true` if currently in the process of reflecting component props back to attributes */
258
- O(this, "$$r", !1);
259
- /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
260
- O(this, "$$p_d", {});
261
- /** @type {Record<string, Function[]>} Event listeners */
262
- O(this, "$$l", {});
263
- /** @type {Map<Function, Function>} Event listener unsubscribe functions */
264
- O(this, "$$l_u", /* @__PURE__ */ new Map());
265
- this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
212
+ ne(l);
213
+ }
214
+ let Lt;
215
+ typeof HTMLElement == "function" && (Lt = class extends HTMLElement {
216
+ /** The Svelte component constructor */
217
+ $$ctor;
218
+ /** Slots */
219
+ $$s;
220
+ /** The Svelte component instance */
221
+ $$c;
222
+ /** Whether or not the custom element is connected */
223
+ $$cn = !1;
224
+ /** Component props data */
225
+ $$d = {};
226
+ /** `true` if currently in the process of reflecting component props back to attributes */
227
+ $$r = !1;
228
+ /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
229
+ $$p_d = {};
230
+ /** @type {Record<string, Function[]>} Event listeners */
231
+ $$l = {};
232
+ /** @type {Map<Function, Function>} Event listener unsubscribe functions */
233
+ $$l_u = /* @__PURE__ */ new Map();
234
+ constructor(e, t, r) {
235
+ super(), this.$$ctor = e, this.$$s = t, r && this.attachShadow({ mode: "open" });
266
236
  }
267
- addEventListener(t, r, n) {
268
- if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(r), this.$$c) {
269
- const i = this.$$c.$on(t, r);
270
- this.$$l_u.set(r, i);
237
+ addEventListener(e, t, r) {
238
+ if (this.$$l[e] = this.$$l[e] || [], this.$$l[e].push(t), this.$$c) {
239
+ const n = this.$$c.$on(e, t);
240
+ this.$$l_u.set(t, n);
271
241
  }
272
- super.addEventListener(t, r, n);
242
+ super.addEventListener(e, t, r);
273
243
  }
274
- removeEventListener(t, r, n) {
275
- if (super.removeEventListener(t, r, n), this.$$c) {
276
- const i = this.$$l_u.get(r);
277
- i && (i(), this.$$l_u.delete(r));
244
+ removeEventListener(e, t, r) {
245
+ if (super.removeEventListener(e, t, r), this.$$c) {
246
+ const n = this.$$l_u.get(t);
247
+ n && (n(), this.$$l_u.delete(t));
278
248
  }
279
249
  }
280
- connectedCallback() {
281
- return nt(this, null, function* () {
282
- if (this.$$cn = !0, !this.$$c) {
283
- let t = function(o) {
284
- return () => {
285
- let s;
286
- return {
287
- c: function() {
288
- s = D("slot"), o !== "default" && x(s, "name", o);
289
- },
290
- /**
291
- * @param {HTMLElement} target
292
- * @param {HTMLElement} [anchor]
293
- */
294
- m: function(u, h) {
295
- $(u, s, h);
296
- },
297
- d: function(u) {
298
- u && M(s);
299
- }
300
- };
250
+ async connectedCallback() {
251
+ if (this.$$cn = !0, !this.$$c) {
252
+ let e = function(i) {
253
+ return () => {
254
+ let o;
255
+ return {
256
+ c: function() {
257
+ o = U("slot"), i !== "default" && x(o, "name", i);
258
+ },
259
+ /**
260
+ * @param {HTMLElement} target
261
+ * @param {HTMLElement} [anchor]
262
+ */
263
+ m: function(l, u) {
264
+ R(l, o, u);
265
+ },
266
+ d: function(l) {
267
+ l && I(o);
268
+ }
301
269
  };
302
270
  };
303
- if (yield Promise.resolve(), !this.$$cn || this.$$c)
304
- return;
305
- const r = {}, n = Cr(this);
306
- for (const o of this.$$s)
307
- o in n && (r[o] = [t(o)]);
308
- for (const o of this.attributes) {
309
- const s = this.$$g_p(o.name);
310
- s in this.$$d || (this.$$d[s] = pe(s, o.value, this.$$p_d, "toProp"));
271
+ };
272
+ if (await Promise.resolve(), !this.$$cn || this.$$c)
273
+ return;
274
+ const t = {}, r = _r(this);
275
+ for (const i of this.$$s)
276
+ i in r && (t[i] = [e(i)]);
277
+ for (const i of this.attributes) {
278
+ const o = this.$$g_p(i.name);
279
+ o in this.$$d || (this.$$d[o] = de(o, i.value, this.$$p_d, "toProp"));
280
+ }
281
+ for (const i in this.$$p_d)
282
+ !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
283
+ this.$$c = new this.$$ctor({
284
+ target: this.shadowRoot || this,
285
+ props: {
286
+ ...this.$$d,
287
+ $$slots: t,
288
+ $$scope: {
289
+ ctx: []
290
+ }
311
291
  }
312
- for (const o in this.$$p_d)
313
- !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
314
- this.$$c = new this.$$ctor({
315
- target: this.shadowRoot || this,
316
- props: rt(tt({}, this.$$d), {
317
- $$slots: r,
318
- $$scope: {
319
- ctx: []
320
- }
321
- })
322
- });
323
- const i = () => {
324
- this.$$r = !0;
325
- for (const o in this.$$p_d)
326
- if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
327
- const s = pe(
328
- o,
329
- this.$$d[o],
330
- this.$$p_d,
331
- "toAttribute"
332
- );
333
- s == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, s);
334
- }
335
- this.$$r = !1;
336
- };
337
- this.$$c.$$.after_update.push(i), i();
338
- for (const o in this.$$l)
339
- for (const s of this.$$l[o]) {
340
- const a = this.$$c.$on(o, s);
341
- this.$$l_u.set(s, a);
292
+ });
293
+ const n = () => {
294
+ this.$$r = !0;
295
+ for (const i in this.$$p_d)
296
+ if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
297
+ const o = de(
298
+ i,
299
+ this.$$d[i],
300
+ this.$$p_d,
301
+ "toAttribute"
302
+ );
303
+ o == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, o);
342
304
  }
343
- this.$$l = {};
344
- }
345
- });
305
+ this.$$r = !1;
306
+ };
307
+ this.$$c.$$.after_update.push(n), n();
308
+ for (const i in this.$$l)
309
+ for (const o of this.$$l[i]) {
310
+ const s = this.$$c.$on(i, o);
311
+ this.$$l_u.set(o, s);
312
+ }
313
+ this.$$l = {};
314
+ }
346
315
  }
347
316
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
348
317
  // and setting attributes through setAttribute etc, this is helpful
349
- attributeChangedCallback(t, r, n) {
350
- var i;
351
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = pe(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
318
+ attributeChangedCallback(e, t, r) {
319
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = de(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
352
320
  }
353
321
  disconnectedCallback() {
354
322
  this.$$cn = !1, Promise.resolve().then(() => {
355
323
  !this.$$cn && this.$$c && (this.$$c.$destroy(), this.$$c = void 0);
356
324
  });
357
325
  }
358
- $$g_p(t) {
326
+ $$g_p(e) {
359
327
  return Object.keys(this.$$p_d).find(
360
- (r) => this.$$p_d[r].attribute === t || !this.$$p_d[r].attribute && r.toLowerCase() === t
361
- ) || t;
328
+ (t) => this.$$p_d[t].attribute === e || !this.$$p_d[t].attribute && t.toLowerCase() === e
329
+ ) || e;
362
330
  }
363
331
  });
364
- function pe(e, t, r, n) {
365
- var o;
366
- const i = (o = r[e]) == null ? void 0 : o.type;
332
+ function de(e, t, r, n) {
333
+ const i = r[e]?.type;
367
334
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
368
335
  return t;
369
336
  if (n === "toAttribute")
@@ -374,7 +341,7 @@ function pe(e, t, r, n) {
374
341
  case "Boolean":
375
342
  return t ? "" : null;
376
343
  case "Number":
377
- return t == null ? null : t;
344
+ return t ?? null;
378
345
  default:
379
346
  return t;
380
347
  }
@@ -391,8 +358,8 @@ function pe(e, t, r, n) {
391
358
  return t;
392
359
  }
393
360
  }
394
- function jr(e, t, r, n, i, o) {
395
- let s = class extends Gt {
361
+ function Cr(e, t, r, n, i, o) {
362
+ let s = class extends Lt {
396
363
  constructor() {
397
364
  super(e, r, i), this.$$p_d = t;
398
365
  }
@@ -408,42 +375,38 @@ function jr(e, t, r, n, i, o) {
408
375
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
409
376
  },
410
377
  set(l) {
411
- var u;
412
- l = pe(a, l, t), this.$$d[a] = l, (u = this.$$c) == null || u.$set({ [a]: l });
378
+ l = de(a, l, t), this.$$d[a] = l, this.$$c?.$set({ [a]: l });
413
379
  }
414
380
  });
415
381
  }), n.forEach((a) => {
416
382
  Object.defineProperty(s.prototype, a, {
417
383
  get() {
418
- var l;
419
- return (l = this.$$c) == null ? void 0 : l[a];
384
+ return this.$$c?.[a];
420
385
  }
421
386
  });
422
387
  }), e.element = /** @type {any} */
423
388
  s, s;
424
389
  }
425
- class kr {
426
- constructor() {
427
- /**
428
- * ### PRIVATE API
429
- *
430
- * Do not use, may change at any time
431
- *
432
- * @type {any}
433
- */
434
- O(this, "$$");
435
- /**
436
- * ### PRIVATE API
437
- *
438
- * Do not use, may change at any time
439
- *
440
- * @type {any}
441
- */
442
- O(this, "$$set");
443
- }
390
+ class Nr {
391
+ /**
392
+ * ### PRIVATE API
393
+ *
394
+ * Do not use, may change at any time
395
+ *
396
+ * @type {any}
397
+ */
398
+ $$ = void 0;
399
+ /**
400
+ * ### PRIVATE API
401
+ *
402
+ * Do not use, may change at any time
403
+ *
404
+ * @type {any}
405
+ */
406
+ $$set = void 0;
444
407
  /** @returns {void} */
445
408
  $destroy() {
446
- Ur(this, 1), this.$destroy = N;
409
+ Br(this, 1), this.$destroy = C;
447
410
  }
448
411
  /**
449
412
  * @template {Extract<keyof Events, string>} K
@@ -452,8 +415,8 @@ class kr {
452
415
  * @returns {() => void}
453
416
  */
454
417
  $on(t, r) {
455
- if (!Qe(r))
456
- return N;
418
+ if (!We(r))
419
+ return C;
457
420
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
458
421
  return n.push(r), () => {
459
422
  const i = n.indexOf(r);
@@ -465,22 +428,22 @@ class kr {
465
428
  * @returns {void}
466
429
  */
467
430
  $set(t) {
468
- this.$$set && !Sr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
431
+ this.$$set && !cr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
469
432
  }
470
433
  }
471
- const Vr = "4";
472
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Vr);
473
- var Re = function(e, t) {
474
- return Re = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
434
+ const Ir = "4";
435
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Ir);
436
+ var Me = function(e, t) {
437
+ return Me = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
475
438
  r.__proto__ = n;
476
439
  } || function(r, n) {
477
440
  for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
478
- }, Re(e, t);
441
+ }, Me(e, t);
479
442
  };
480
- function F(e, t) {
443
+ function $(e, t) {
481
444
  if (typeof t != "function" && t !== null)
482
445
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
483
- Re(e, t);
446
+ Me(e, t);
484
447
  function r() {
485
448
  this.constructor = e;
486
449
  }
@@ -495,7 +458,7 @@ var v = function() {
495
458
  return t;
496
459
  }, v.apply(this, arguments);
497
460
  };
498
- function Xr(e, t) {
461
+ function Mr(e, t) {
499
462
  var r = {};
500
463
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
501
464
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -503,7 +466,7 @@ function Xr(e, t) {
503
466
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
504
467
  return r;
505
468
  }
506
- function $e(e) {
469
+ function Le(e) {
507
470
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
508
471
  if (r) return r.call(e);
509
472
  if (e && typeof e.length == "number") return {
@@ -513,7 +476,7 @@ function $e(e) {
513
476
  };
514
477
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
515
478
  }
516
- function Fe(e, t) {
479
+ function Re(e, t) {
517
480
  var r = typeof Symbol == "function" && e[Symbol.iterator];
518
481
  if (!r) return e;
519
482
  var n = r.call(e), i, o = [], s;
@@ -530,21 +493,21 @@ function Fe(e, t) {
530
493
  }
531
494
  return o;
532
495
  }
533
- function J(e, t, r) {
496
+ function Q(e, t, r) {
534
497
  if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
535
498
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
536
499
  return e.concat(o || Array.prototype.slice.call(t));
537
500
  }
538
- function R(e) {
501
+ function L(e) {
539
502
  return typeof e == "function";
540
503
  }
541
- function jt(e) {
504
+ function Rt(e) {
542
505
  var t = function(n) {
543
506
  Error.call(n), n.stack = new Error().stack;
544
507
  }, r = e(t);
545
508
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
546
509
  }
547
- var Ae = jt(function(e) {
510
+ var He = Rt(function(e) {
548
511
  return function(r) {
549
512
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
550
513
  ` + r.map(function(n, i) {
@@ -553,13 +516,13 @@ var Ae = jt(function(e) {
553
516
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
554
517
  };
555
518
  });
556
- function Ue(e, t) {
519
+ function $e(e, t) {
557
520
  if (e) {
558
521
  var r = e.indexOf(t);
559
522
  0 <= r && e.splice(r, 1);
560
523
  }
561
524
  }
562
- var _e = function() {
525
+ var ve = function() {
563
526
  function e(t) {
564
527
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
565
528
  }
@@ -571,7 +534,7 @@ var _e = function() {
571
534
  if (s)
572
535
  if (this._parentage = null, Array.isArray(s))
573
536
  try {
574
- for (var a = $e(s), l = a.next(); !l.done; l = a.next()) {
537
+ for (var a = Le(s), l = a.next(); !l.done; l = a.next()) {
575
538
  var u = l.value;
576
539
  u.remove(this);
577
540
  }
@@ -587,22 +550,22 @@ var _e = function() {
587
550
  else
588
551
  s.remove(this);
589
552
  var h = this.initialTeardown;
590
- if (R(h))
553
+ if (L(h))
591
554
  try {
592
555
  h();
593
556
  } catch (p) {
594
- o = p instanceof Ae ? p.errors : [p];
557
+ o = p instanceof He ? p.errors : [p];
595
558
  }
596
559
  var f = this._finalizers;
597
560
  if (f) {
598
561
  this._finalizers = null;
599
562
  try {
600
- for (var c = $e(f), d = c.next(); !d.done; d = c.next()) {
563
+ for (var c = Le(f), d = c.next(); !d.done; d = c.next()) {
601
564
  var m = d.value;
602
565
  try {
603
- ut(m);
566
+ rt(m);
604
567
  } catch (p) {
605
- o = o != null ? o : [], p instanceof Ae ? o = J(J([], Fe(o)), Fe(p.errors)) : o.push(p);
568
+ o = o ?? [], p instanceof He ? o = Q(Q([], Re(o)), Re(p.errors)) : o.push(p);
606
569
  }
607
570
  }
608
571
  } catch (p) {
@@ -616,13 +579,13 @@ var _e = function() {
616
579
  }
617
580
  }
618
581
  if (o)
619
- throw new Ae(o);
582
+ throw new He(o);
620
583
  }
621
584
  }, e.prototype.add = function(t) {
622
585
  var r;
623
586
  if (t && t !== this)
624
587
  if (this.closed)
625
- ut(t);
588
+ rt(t);
626
589
  else {
627
590
  if (t instanceof e) {
628
591
  if (t.closed || t._hasParent(this))
@@ -639,56 +602,56 @@ var _e = function() {
639
602
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
640
603
  }, e.prototype._removeParent = function(t) {
641
604
  var r = this._parentage;
642
- r === t ? this._parentage = null : Array.isArray(r) && Ue(r, t);
605
+ r === t ? this._parentage = null : Array.isArray(r) && $e(r, t);
643
606
  }, e.prototype.remove = function(t) {
644
607
  var r = this._finalizers;
645
- r && Ue(r, t), t instanceof e && t._removeParent(this);
608
+ r && $e(r, t), t instanceof e && t._removeParent(this);
646
609
  }, e.EMPTY = function() {
647
610
  var t = new e();
648
611
  return t.closed = !0, t;
649
612
  }(), e;
650
- }(), kt = _e.EMPTY;
651
- function Vt(e) {
652
- return e instanceof _e || e && "closed" in e && R(e.remove) && R(e.add) && R(e.unsubscribe);
613
+ }(), $t = ve.EMPTY;
614
+ function Ft(e) {
615
+ return e instanceof ve || e && "closed" in e && L(e.remove) && L(e.add) && L(e.unsubscribe);
653
616
  }
654
- function ut(e) {
655
- R(e) ? e() : e.unsubscribe();
617
+ function rt(e) {
618
+ L(e) ? e() : e.unsubscribe();
656
619
  }
657
- var zr = {
620
+ var Lr = {
658
621
  onUnhandledError: null,
659
622
  onStoppedNotification: null,
660
623
  Promise: void 0,
661
624
  useDeprecatedSynchronousErrorHandling: !1,
662
625
  useDeprecatedNextContext: !1
663
- }, Wr = {
626
+ }, Rr = {
664
627
  setTimeout: function(e, t) {
665
628
  for (var r = [], n = 2; n < arguments.length; n++)
666
629
  r[n - 2] = arguments[n];
667
- return setTimeout.apply(void 0, J([e, t], Fe(r)));
630
+ return setTimeout.apply(void 0, Q([e, t], Re(r)));
668
631
  },
669
632
  clearTimeout: function(e) {
670
633
  return clearTimeout(e);
671
634
  },
672
635
  delegate: void 0
673
636
  };
674
- function Zr(e) {
675
- Wr.setTimeout(function() {
637
+ function $r(e) {
638
+ Rr.setTimeout(function() {
676
639
  throw e;
677
640
  });
678
641
  }
679
- function lt() {
642
+ function nt() {
680
643
  }
681
- function me(e) {
644
+ function pe(e) {
682
645
  e();
683
646
  }
684
- var Xt = function(e) {
685
- F(t, e);
647
+ var Ut = function(e) {
648
+ $(t, e);
686
649
  function t(r) {
687
650
  var n = e.call(this) || this;
688
- return n.isStopped = !1, r ? (n.destination = r, Vt(r) && r.add(n)) : n.destination = Yr, n;
651
+ return n.isStopped = !1, r ? (n.destination = r, Ft(r) && r.add(n)) : n.destination = Dr, n;
689
652
  }
690
653
  return t.create = function(r, n, i) {
691
- return new De(r, n, i);
654
+ return new Fe(r, n, i);
692
655
  }, t.prototype.next = function(r) {
693
656
  this.isStopped || this._next(r);
694
657
  }, t.prototype.error = function(r) {
@@ -712,7 +675,7 @@ var Xt = function(e) {
712
675
  this.unsubscribe();
713
676
  }
714
677
  }, t;
715
- }(_e), Qr = function() {
678
+ }(ve), Fr = function() {
716
679
  function e(t) {
717
680
  this.partialObserver = t;
718
681
  }
@@ -722,7 +685,7 @@ var Xt = function(e) {
722
685
  try {
723
686
  r.next(t);
724
687
  } catch (n) {
725
- ce(n);
688
+ fe(n);
726
689
  }
727
690
  }, e.prototype.error = function(t) {
728
691
  var r = this.partialObserver;
@@ -730,56 +693,56 @@ var Xt = function(e) {
730
693
  try {
731
694
  r.error(t);
732
695
  } catch (n) {
733
- ce(n);
696
+ fe(n);
734
697
  }
735
698
  else
736
- ce(t);
699
+ fe(t);
737
700
  }, e.prototype.complete = function() {
738
701
  var t = this.partialObserver;
739
702
  if (t.complete)
740
703
  try {
741
704
  t.complete();
742
705
  } catch (r) {
743
- ce(r);
706
+ fe(r);
744
707
  }
745
708
  }, e;
746
- }(), De = function(e) {
747
- F(t, e);
709
+ }(), Fe = function(e) {
710
+ $(t, e);
748
711
  function t(r, n, i) {
749
712
  var o = e.call(this) || this, s;
750
- return R(r) || !r ? s = {
751
- next: r != null ? r : void 0,
752
- error: n != null ? n : void 0,
753
- complete: i != null ? i : void 0
754
- } : s = r, o.destination = new Qr(s), o;
713
+ return L(r) || !r ? s = {
714
+ next: r ?? void 0,
715
+ error: n ?? void 0,
716
+ complete: i ?? void 0
717
+ } : s = r, o.destination = new Fr(s), o;
755
718
  }
756
719
  return t;
757
- }(Xt);
758
- function ce(e) {
759
- Zr(e);
720
+ }(Ut);
721
+ function fe(e) {
722
+ $r(e);
760
723
  }
761
- function Jr(e) {
724
+ function Ur(e) {
762
725
  throw e;
763
726
  }
764
- var Yr = {
727
+ var Dr = {
765
728
  closed: !0,
766
- next: lt,
767
- error: Jr,
768
- complete: lt
769
- }, qr = function() {
729
+ next: nt,
730
+ error: Ur,
731
+ complete: nt
732
+ }, Gr = function() {
770
733
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
771
734
  }();
772
- function Kr(e) {
735
+ function jr(e) {
773
736
  return e;
774
737
  }
775
- function en(e) {
776
- return e.length === 0 ? Kr : e.length === 1 ? e[0] : function(r) {
738
+ function kr(e) {
739
+ return e.length === 0 ? jr : e.length === 1 ? e[0] : function(r) {
777
740
  return e.reduce(function(n, i) {
778
741
  return i(n);
779
742
  }, r);
780
743
  };
781
744
  }
782
- var ht = function() {
745
+ var it = function() {
783
746
  function e(t) {
784
747
  t && (this._subscribe = t);
785
748
  }
@@ -787,8 +750,8 @@ var ht = function() {
787
750
  var r = new e();
788
751
  return r.source = this, r.operator = t, r;
789
752
  }, e.prototype.subscribe = function(t, r, n) {
790
- var i = this, o = rn(t) ? t : new De(t, r, n);
791
- return me(function() {
753
+ var i = this, o = Xr(t) ? t : new Fe(t, r, n);
754
+ return pe(function() {
792
755
  var s = i, a = s.operator, l = s.source;
793
756
  o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
794
757
  }), o;
@@ -800,8 +763,8 @@ var ht = function() {
800
763
  }
801
764
  }, e.prototype.forEach = function(t, r) {
802
765
  var n = this;
803
- return r = ft(r), new r(function(i, o) {
804
- var s = new De({
766
+ return r = ot(r), new r(function(i, o) {
767
+ var s = new Fe({
805
768
  next: function(a) {
806
769
  try {
807
770
  t(a);
@@ -817,15 +780,15 @@ var ht = function() {
817
780
  }, e.prototype._subscribe = function(t) {
818
781
  var r;
819
782
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
820
- }, e.prototype[qr] = function() {
783
+ }, e.prototype[Gr] = function() {
821
784
  return this;
822
785
  }, e.prototype.pipe = function() {
823
786
  for (var t = [], r = 0; r < arguments.length; r++)
824
787
  t[r] = arguments[r];
825
- return en(t)(this);
788
+ return kr(t)(this);
826
789
  }, e.prototype.toPromise = function(t) {
827
790
  var r = this;
828
- return t = ft(t), new t(function(n, i) {
791
+ return t = ot(t), new t(function(n, i) {
829
792
  var o;
830
793
  r.subscribe(function(s) {
831
794
  return o = s;
@@ -839,40 +802,40 @@ var ht = function() {
839
802
  return new e(t);
840
803
  }, e;
841
804
  }();
842
- function ft(e) {
805
+ function ot(e) {
843
806
  var t;
844
- return (t = e != null ? e : zr.Promise) !== null && t !== void 0 ? t : Promise;
807
+ return (t = e ?? Lr.Promise) !== null && t !== void 0 ? t : Promise;
845
808
  }
846
- function tn(e) {
847
- return e && R(e.next) && R(e.error) && R(e.complete);
809
+ function Vr(e) {
810
+ return e && L(e.next) && L(e.error) && L(e.complete);
848
811
  }
849
- function rn(e) {
850
- return e && e instanceof Xt || tn(e) && Vt(e);
812
+ function Xr(e) {
813
+ return e && e instanceof Ut || Vr(e) && Ft(e);
851
814
  }
852
- var nn = jt(function(e) {
815
+ var zr = Rt(function(e) {
853
816
  return function() {
854
817
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
855
818
  };
856
- }), zt = function(e) {
857
- F(t, e);
819
+ }), Dt = function(e) {
820
+ $(t, e);
858
821
  function t() {
859
822
  var r = e.call(this) || this;
860
823
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
861
824
  }
862
825
  return t.prototype.lift = function(r) {
863
- var n = new ct(this, this);
826
+ var n = new st(this, this);
864
827
  return n.operator = r, n;
865
828
  }, t.prototype._throwIfClosed = function() {
866
829
  if (this.closed)
867
- throw new nn();
830
+ throw new zr();
868
831
  }, t.prototype.next = function(r) {
869
832
  var n = this;
870
- me(function() {
833
+ pe(function() {
871
834
  var i, o;
872
835
  if (n._throwIfClosed(), !n.isStopped) {
873
836
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
874
837
  try {
875
- for (var s = $e(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
838
+ for (var s = Le(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
876
839
  var l = a.value;
877
840
  l.next(r);
878
841
  }
@@ -889,7 +852,7 @@ var nn = jt(function(e) {
889
852
  });
890
853
  }, t.prototype.error = function(r) {
891
854
  var n = this;
892
- me(function() {
855
+ pe(function() {
893
856
  if (n._throwIfClosed(), !n.isStopped) {
894
857
  n.hasError = n.isStopped = !0, n.thrownError = r;
895
858
  for (var i = n.observers; i.length; )
@@ -898,7 +861,7 @@ var nn = jt(function(e) {
898
861
  });
899
862
  }, t.prototype.complete = function() {
900
863
  var r = this;
901
- me(function() {
864
+ pe(function() {
902
865
  if (r._throwIfClosed(), !r.isStopped) {
903
866
  r.isStopped = !0;
904
867
  for (var n = r.observers; n.length; )
@@ -920,20 +883,20 @@ var nn = jt(function(e) {
920
883
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
921
884
  }, t.prototype._innerSubscribe = function(r) {
922
885
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
923
- return o || s ? kt : (this.currentObservers = null, a.push(r), new _e(function() {
924
- n.currentObservers = null, Ue(a, r);
886
+ return o || s ? $t : (this.currentObservers = null, a.push(r), new ve(function() {
887
+ n.currentObservers = null, $e(a, r);
925
888
  }));
926
889
  }, t.prototype._checkFinalizedStatuses = function(r) {
927
890
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
928
891
  i ? r.error(o) : s && r.complete();
929
892
  }, t.prototype.asObservable = function() {
930
- var r = new ht();
893
+ var r = new it();
931
894
  return r.source = this, r;
932
895
  }, t.create = function(r, n) {
933
- return new ct(r, n);
896
+ return new st(r, n);
934
897
  }, t;
935
- }(ht), ct = function(e) {
936
- F(t, e);
898
+ }(it), st = function(e) {
899
+ $(t, e);
937
900
  function t(r, n) {
938
901
  var i = e.call(this) || this;
939
902
  return i.destination = r, i.source = n, i;
@@ -949,17 +912,17 @@ var nn = jt(function(e) {
949
912
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
950
913
  }, t.prototype._subscribe = function(r) {
951
914
  var n, i;
952
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : kt;
915
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : $t;
953
916
  }, t;
954
- }(zt), Wt = {
917
+ }(Dt), Gt = {
955
918
  now: function() {
956
- return (Wt.delegate || Date).now();
919
+ return (Gt.delegate || Date).now();
957
920
  },
958
921
  delegate: void 0
959
- }, on = function(e) {
960
- F(t, e);
922
+ }, Wr = function(e) {
923
+ $(t, e);
961
924
  function t(r, n, i) {
962
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Wt);
925
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Gt);
963
926
  var o = e.call(this) || this;
964
927
  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;
965
928
  }
@@ -979,62 +942,62 @@ var nn = jt(function(e) {
979
942
  u && o.splice(0, u + 1);
980
943
  }
981
944
  }, t;
982
- }(zt);
983
- const dt = [], pt = {}, sn = (e, t = 0) => {
984
- if (dt.indexOf(e) == -1) {
985
- const r = new on(t);
986
- pt[e] = r, dt.push(e);
945
+ }(Dt);
946
+ const at = [], ut = {}, Zr = (e, t = 0) => {
947
+ if (at.indexOf(e) == -1) {
948
+ const r = new Wr(t);
949
+ ut[e] = r, at.push(e);
987
950
  }
988
- return pt[e];
989
- }, z = [];
990
- function an(e, t) {
951
+ return ut[e];
952
+ }, X = [];
953
+ function Qr(e, t) {
991
954
  return {
992
- subscribe: Ee(e, t).subscribe
955
+ subscribe: _e(e, t).subscribe
993
956
  };
994
957
  }
995
- function Ee(e, t = N) {
958
+ function _e(e, t = C) {
996
959
  let r;
997
960
  const n = /* @__PURE__ */ new Set();
998
961
  function i(a) {
999
- if (Ut(e, a) && (e = a, r)) {
1000
- const l = !z.length;
962
+ if (It(e, a) && (e = a, r)) {
963
+ const l = !X.length;
1001
964
  for (const u of n)
1002
- u[1](), z.push(u, e);
965
+ u[1](), X.push(u, e);
1003
966
  if (l) {
1004
- for (let u = 0; u < z.length; u += 2)
1005
- z[u][0](z[u + 1]);
1006
- z.length = 0;
967
+ for (let u = 0; u < X.length; u += 2)
968
+ X[u][0](X[u + 1]);
969
+ X.length = 0;
1007
970
  }
1008
971
  }
1009
972
  }
1010
973
  function o(a) {
1011
974
  i(a(e));
1012
975
  }
1013
- function s(a, l = N) {
976
+ function s(a, l = C) {
1014
977
  const u = [a, l];
1015
- return n.add(u), n.size === 1 && (r = t(i, o) || N), a(e), () => {
978
+ return n.add(u), n.size === 1 && (r = t(i, o) || C), a(e), () => {
1016
979
  n.delete(u), n.size === 0 && r && (r(), r = null);
1017
980
  };
1018
981
  }
1019
982
  return { set: i, update: o, subscribe: s };
1020
983
  }
1021
- function te(e, t, r) {
984
+ function ee(e, t, r) {
1022
985
  const n = !Array.isArray(e), i = n ? [e] : e;
1023
986
  if (!i.every(Boolean))
1024
987
  throw new Error("derived() expects stores as input, got a falsy value");
1025
988
  const o = t.length < 2;
1026
- return an(r, (s, a) => {
989
+ return Qr(r, (s, a) => {
1027
990
  let l = !1;
1028
991
  const u = [];
1029
- let h = 0, f = N;
992
+ let h = 0, f = C;
1030
993
  const c = () => {
1031
994
  if (h)
1032
995
  return;
1033
996
  f();
1034
997
  const m = t(n ? u[0] : u, s, a);
1035
- o ? s(m) : f = Qe(m) ? m : N;
998
+ o ? s(m) : f = We(m) ? m : C;
1036
999
  }, d = i.map(
1037
- (m, p) => Dt(
1000
+ (m, p) => Mt(
1038
1001
  m,
1039
1002
  (_) => {
1040
1003
  u[p] = _, h &= ~(1 << p), l && c();
@@ -1045,118 +1008,118 @@ function te(e, t, r) {
1045
1008
  )
1046
1009
  );
1047
1010
  return l = !0, c(), function() {
1048
- ae(d), f(), l = !1;
1011
+ se(d), f(), l = !1;
1049
1012
  };
1050
1013
  });
1051
1014
  }
1052
- function un(e) {
1015
+ function Jr(e) {
1053
1016
  return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1054
1017
  }
1055
- var ln = function(t) {
1056
- return hn(t) && !fn(t);
1018
+ var Yr = function(t) {
1019
+ return qr(t) && !Kr(t);
1057
1020
  };
1058
- function hn(e) {
1021
+ function qr(e) {
1059
1022
  return !!e && typeof e == "object";
1060
1023
  }
1061
- function fn(e) {
1024
+ function Kr(e) {
1062
1025
  var t = Object.prototype.toString.call(e);
1063
- return t === "[object RegExp]" || t === "[object Date]" || pn(e);
1026
+ return t === "[object RegExp]" || t === "[object Date]" || rn(e);
1064
1027
  }
1065
- var cn = typeof Symbol == "function" && Symbol.for, dn = cn ? Symbol.for("react.element") : 60103;
1066
- function pn(e) {
1067
- return e.$$typeof === dn;
1028
+ var en = typeof Symbol == "function" && Symbol.for, tn = en ? Symbol.for("react.element") : 60103;
1029
+ function rn(e) {
1030
+ return e.$$typeof === tn;
1068
1031
  }
1069
- function mn(e) {
1032
+ function nn(e) {
1070
1033
  return Array.isArray(e) ? [] : {};
1071
1034
  }
1072
- function oe(e, t) {
1073
- return t.clone !== !1 && t.isMergeableObject(e) ? Y(mn(e), e, t) : e;
1035
+ function ie(e, t) {
1036
+ return t.clone !== !1 && t.isMergeableObject(e) ? J(nn(e), e, t) : e;
1074
1037
  }
1075
- function bn(e, t, r) {
1038
+ function on(e, t, r) {
1076
1039
  return e.concat(t).map(function(n) {
1077
- return oe(n, r);
1040
+ return ie(n, r);
1078
1041
  });
1079
1042
  }
1080
- function gn(e, t) {
1043
+ function sn(e, t) {
1081
1044
  if (!t.customMerge)
1082
- return Y;
1045
+ return J;
1083
1046
  var r = t.customMerge(e);
1084
- return typeof r == "function" ? r : Y;
1047
+ return typeof r == "function" ? r : J;
1085
1048
  }
1086
- function yn(e) {
1049
+ function an(e) {
1087
1050
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1088
1051
  return Object.propertyIsEnumerable.call(e, t);
1089
1052
  }) : [];
1090
1053
  }
1091
- function mt(e) {
1092
- return Object.keys(e).concat(yn(e));
1054
+ function lt(e) {
1055
+ return Object.keys(e).concat(an(e));
1093
1056
  }
1094
- function Zt(e, t) {
1057
+ function jt(e, t) {
1095
1058
  try {
1096
1059
  return t in e;
1097
- } catch (r) {
1060
+ } catch {
1098
1061
  return !1;
1099
1062
  }
1100
1063
  }
1101
- function vn(e, t) {
1102
- return Zt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1064
+ function un(e, t) {
1065
+ return jt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1103
1066
  }
1104
- function _n(e, t, r) {
1067
+ function ln(e, t, r) {
1105
1068
  var n = {};
1106
- return r.isMergeableObject(e) && mt(e).forEach(function(i) {
1107
- n[i] = oe(e[i], r);
1108
- }), mt(t).forEach(function(i) {
1109
- vn(e, i) || (Zt(e, i) && r.isMergeableObject(t[i]) ? n[i] = gn(i, r)(e[i], t[i], r) : n[i] = oe(t[i], r));
1069
+ return r.isMergeableObject(e) && lt(e).forEach(function(i) {
1070
+ n[i] = ie(e[i], r);
1071
+ }), lt(t).forEach(function(i) {
1072
+ un(e, i) || (jt(e, i) && r.isMergeableObject(t[i]) ? n[i] = sn(i, r)(e[i], t[i], r) : n[i] = ie(t[i], r));
1110
1073
  }), n;
1111
1074
  }
1112
- function Y(e, t, r) {
1113
- r = r || {}, r.arrayMerge = r.arrayMerge || bn, r.isMergeableObject = r.isMergeableObject || ln, r.cloneUnlessOtherwiseSpecified = oe;
1075
+ function J(e, t, r) {
1076
+ r = r || {}, r.arrayMerge = r.arrayMerge || on, r.isMergeableObject = r.isMergeableObject || Yr, r.cloneUnlessOtherwiseSpecified = ie;
1114
1077
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1115
- return o ? n ? r.arrayMerge(e, t, r) : _n(e, t, r) : oe(t, r);
1078
+ return o ? n ? r.arrayMerge(e, t, r) : ln(e, t, r) : ie(t, r);
1116
1079
  }
1117
- Y.all = function(t, r) {
1080
+ J.all = function(t, r) {
1118
1081
  if (!Array.isArray(t))
1119
1082
  throw new Error("first argument should be an array");
1120
1083
  return t.reduce(function(n, i) {
1121
- return Y(n, i, r);
1084
+ return J(n, i, r);
1122
1085
  }, {});
1123
1086
  };
1124
- var En = Y, xn = En;
1125
- const Sn = /* @__PURE__ */ un(xn);
1126
- function Be(e, t) {
1127
- var r = t && t.cache ? t.cache : On, n = t && t.serializer ? t.serializer : Bn, i = t && t.strategy ? t.strategy : Hn;
1087
+ var hn = J, fn = hn;
1088
+ const cn = /* @__PURE__ */ Jr(fn);
1089
+ function we(e, t) {
1090
+ var r = t && t.cache ? t.cache : vn, n = t && t.serializer ? t.serializer : gn, i = t && t.strategy ? t.strategy : pn;
1128
1091
  return i(e, {
1129
1092
  cache: r,
1130
1093
  serializer: n
1131
1094
  });
1132
1095
  }
1133
- function Tn(e) {
1096
+ function dn(e) {
1134
1097
  return e == null || typeof e == "number" || typeof e == "boolean";
1135
1098
  }
1136
- function Qt(e, t, r, n) {
1137
- var i = Tn(n) ? n : r(n), o = t.get(i);
1138
- return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1099
+ function kt(e, t, r, n) {
1100
+ var i = dn(n) ? n : r(n), o = t.get(i);
1101
+ return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1139
1102
  }
1140
- function Jt(e, t, r) {
1103
+ function Vt(e, t, r) {
1141
1104
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1142
- return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1105
+ return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1143
1106
  }
1144
- function Ye(e, t, r, n, i) {
1107
+ function Qe(e, t, r, n, i) {
1145
1108
  return r.bind(t, e, n, i);
1146
1109
  }
1147
- function Hn(e, t) {
1148
- var r = e.length === 1 ? Qt : Jt;
1149
- return Ye(e, this, r, t.cache.create(), t.serializer);
1110
+ function pn(e, t) {
1111
+ var r = e.length === 1 ? kt : Vt;
1112
+ return Qe(e, this, r, t.cache.create(), t.serializer);
1150
1113
  }
1151
- function wn(e, t) {
1152
- return Ye(e, this, Jt, t.cache.create(), t.serializer);
1114
+ function mn(e, t) {
1115
+ return Qe(e, this, Vt, t.cache.create(), t.serializer);
1153
1116
  }
1154
- function An(e, t) {
1155
- return Ye(e, this, Qt, t.cache.create(), t.serializer);
1117
+ function bn(e, t) {
1118
+ return Qe(e, this, kt, t.cache.create(), t.serializer);
1156
1119
  }
1157
- var Bn = function() {
1120
+ var gn = function() {
1158
1121
  return JSON.stringify(arguments);
1159
- }, Pn = (
1122
+ }, yn = (
1160
1123
  /** @class */
1161
1124
  function() {
1162
1125
  function e() {
@@ -1168,13 +1131,13 @@ var Bn = function() {
1168
1131
  this.cache[t] = r;
1169
1132
  }, e;
1170
1133
  }()
1171
- ), On = {
1134
+ ), vn = {
1172
1135
  create: function() {
1173
- return new Pn();
1136
+ return new yn();
1174
1137
  }
1175
- }, Pe = {
1176
- variadic: wn,
1177
- monadic: An
1138
+ }, Ae = {
1139
+ variadic: mn,
1140
+ monadic: bn
1178
1141
  }, b;
1179
1142
  (function(e) {
1180
1143
  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";
@@ -1183,47 +1146,47 @@ var E;
1183
1146
  (function(e) {
1184
1147
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
1185
1148
  })(E || (E = {}));
1186
- var q;
1149
+ var Y;
1187
1150
  (function(e) {
1188
1151
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1189
- })(q || (q = {}));
1190
- function bt(e) {
1152
+ })(Y || (Y = {}));
1153
+ function ht(e) {
1191
1154
  return e.type === E.literal;
1192
1155
  }
1193
- function Cn(e) {
1156
+ function _n(e) {
1194
1157
  return e.type === E.argument;
1195
1158
  }
1196
- function Yt(e) {
1159
+ function Xt(e) {
1197
1160
  return e.type === E.number;
1198
1161
  }
1199
- function qt(e) {
1162
+ function zt(e) {
1200
1163
  return e.type === E.date;
1201
1164
  }
1202
- function Kt(e) {
1165
+ function Wt(e) {
1203
1166
  return e.type === E.time;
1204
1167
  }
1205
- function er(e) {
1168
+ function Zt(e) {
1206
1169
  return e.type === E.select;
1207
1170
  }
1208
- function tr(e) {
1171
+ function Qt(e) {
1209
1172
  return e.type === E.plural;
1210
1173
  }
1211
- function Nn(e) {
1174
+ function En(e) {
1212
1175
  return e.type === E.pound;
1213
1176
  }
1214
- function rr(e) {
1177
+ function Jt(e) {
1215
1178
  return e.type === E.tag;
1216
1179
  }
1217
- function nr(e) {
1218
- return !!(e && typeof e == "object" && e.type === q.number);
1180
+ function Yt(e) {
1181
+ return !!(e && typeof e == "object" && e.type === Y.number);
1219
1182
  }
1220
- function Ge(e) {
1221
- return !!(e && typeof e == "object" && e.type === q.dateTime);
1183
+ function Ue(e) {
1184
+ return !!(e && typeof e == "object" && e.type === Y.dateTime);
1222
1185
  }
1223
- var ir = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, In = /(?:[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;
1224
- function Mn(e) {
1186
+ var qt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, xn = /(?:[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;
1187
+ function Sn(e) {
1225
1188
  var t = {};
1226
- return e.replace(In, function(r) {
1189
+ return e.replace(xn, function(r) {
1227
1190
  var n = r.length;
1228
1191
  switch (r[0]) {
1229
1192
  case "G":
@@ -1312,11 +1275,11 @@ function Mn(e) {
1312
1275
  return "";
1313
1276
  }), t;
1314
1277
  }
1315
- var Ln = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1316
- function Rn(e) {
1278
+ var Tn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1279
+ function Hn(e) {
1317
1280
  if (e.length === 0)
1318
1281
  throw new Error("Number skeleton cannot be empty");
1319
- for (var t = e.split(Ln).filter(function(c) {
1282
+ for (var t = e.split(Tn).filter(function(c) {
1320
1283
  return c.length > 0;
1321
1284
  }), r = [], n = 0, i = t; n < i.length; n++) {
1322
1285
  var o = i[n], s = o.split("/");
@@ -1331,17 +1294,17 @@ function Rn(e) {
1331
1294
  }
1332
1295
  return r;
1333
1296
  }
1334
- function $n(e) {
1297
+ function wn(e) {
1335
1298
  return e.replace(/^(.*?)-/, "");
1336
1299
  }
1337
- var gt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, or = /^(@+)?(\+|#+)?[rs]?$/g, Fn = /(\*)(0+)|(#+)(0+)|(0+)/g, sr = /^(0+)$/;
1338
- function yt(e) {
1300
+ var ft = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Kt = /^(@+)?(\+|#+)?[rs]?$/g, An = /(\*)(0+)|(#+)(0+)|(0+)/g, er = /^(0+)$/;
1301
+ function ct(e) {
1339
1302
  var t = {};
1340
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(or, function(r, n, i) {
1303
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Kt, function(r, n, i) {
1341
1304
  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)), "";
1342
1305
  }), t;
1343
1306
  }
1344
- function ar(e) {
1307
+ function tr(e) {
1345
1308
  switch (e) {
1346
1309
  case "sign-auto":
1347
1310
  return {
@@ -1381,7 +1344,7 @@ function ar(e) {
1381
1344
  };
1382
1345
  }
1383
1346
  }
1384
- function Un(e) {
1347
+ function Bn(e) {
1385
1348
  var t;
1386
1349
  if (e[0] === "E" && e[1] === "E" ? (t = {
1387
1350
  notation: "engineering"
@@ -1389,17 +1352,17 @@ function Un(e) {
1389
1352
  notation: "scientific"
1390
1353
  }, e = e.slice(1)), t) {
1391
1354
  var r = e.slice(0, 2);
1392
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !sr.test(e))
1355
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !er.test(e))
1393
1356
  throw new Error("Malformed concise eng/scientific notation");
1394
1357
  t.minimumIntegerDigits = e.length;
1395
1358
  }
1396
1359
  return t;
1397
1360
  }
1398
- function vt(e) {
1399
- var t = {}, r = ar(e);
1361
+ function dt(e) {
1362
+ var t = {}, r = tr(e);
1400
1363
  return r || t;
1401
1364
  }
1402
- function Dn(e) {
1365
+ function Pn(e) {
1403
1366
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1404
1367
  var i = n[r];
1405
1368
  switch (i.stem) {
@@ -1423,7 +1386,7 @@ function Dn(e) {
1423
1386
  continue;
1424
1387
  case "measure-unit":
1425
1388
  case "unit":
1426
- t.style = "unit", t.unit = $n(i.options[0]);
1389
+ t.style = "unit", t.unit = wn(i.options[0]);
1427
1390
  continue;
1428
1391
  case "compact-short":
1429
1392
  case "K":
@@ -1435,12 +1398,12 @@ function Dn(e) {
1435
1398
  continue;
1436
1399
  case "scientific":
1437
1400
  t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1438
- return v(v({}, l), vt(u));
1401
+ return v(v({}, l), dt(u));
1439
1402
  }, {}));
1440
1403
  continue;
1441
1404
  case "engineering":
1442
1405
  t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1443
- return v(v({}, l), vt(u));
1406
+ return v(v({}, l), dt(u));
1444
1407
  }, {}));
1445
1408
  continue;
1446
1409
  case "notation-simple":
@@ -1485,7 +1448,7 @@ function Dn(e) {
1485
1448
  case "integer-width":
1486
1449
  if (i.options.length > 1)
1487
1450
  throw new RangeError("integer-width stems only accept a single optional option");
1488
- i.options[0].replace(Fn, function(l, u, h, f, c, d) {
1451
+ i.options[0].replace(An, function(l, u, h, f, c, d) {
1489
1452
  if (u)
1490
1453
  t.minimumIntegerDigits = h.length;
1491
1454
  else {
@@ -1498,32 +1461,32 @@ function Dn(e) {
1498
1461
  });
1499
1462
  continue;
1500
1463
  }
1501
- if (sr.test(i.stem)) {
1464
+ if (er.test(i.stem)) {
1502
1465
  t.minimumIntegerDigits = i.stem.length;
1503
1466
  continue;
1504
1467
  }
1505
- if (gt.test(i.stem)) {
1468
+ if (ft.test(i.stem)) {
1506
1469
  if (i.options.length > 1)
1507
1470
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1508
- i.stem.replace(gt, function(l, u, h, f, c, d) {
1471
+ i.stem.replace(ft, function(l, u, h, f, c, d) {
1509
1472
  return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1510
1473
  });
1511
1474
  var o = i.options[0];
1512
- o === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = v(v({}, t), yt(o)));
1475
+ o === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = v(v({}, t), ct(o)));
1513
1476
  continue;
1514
1477
  }
1515
- if (or.test(i.stem)) {
1516
- t = v(v({}, t), yt(i.stem));
1478
+ if (Kt.test(i.stem)) {
1479
+ t = v(v({}, t), ct(i.stem));
1517
1480
  continue;
1518
1481
  }
1519
- var s = ar(i.stem);
1482
+ var s = tr(i.stem);
1520
1483
  s && (t = v(v({}, t), s));
1521
- var a = Un(i.stem);
1484
+ var a = Bn(i.stem);
1522
1485
  a && (t = v(v({}, t), a));
1523
1486
  }
1524
1487
  return t;
1525
1488
  }
1526
- var de = {
1489
+ var ce = {
1527
1490
  "001": [
1528
1491
  "H",
1529
1492
  "h"
@@ -2938,13 +2901,13 @@ var de = {
2938
2901
  "h"
2939
2902
  ]
2940
2903
  };
2941
- function Gn(e, t) {
2904
+ function On(e, t) {
2942
2905
  for (var r = "", n = 0; n < e.length; n++) {
2943
2906
  var i = e.charAt(n);
2944
2907
  if (i === "j") {
2945
2908
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2946
2909
  o++, n++;
2947
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = jn(t);
2910
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Cn(t);
2948
2911
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2949
2912
  r += l;
2950
2913
  for (; s-- > 0; )
@@ -2953,7 +2916,7 @@ function Gn(e, t) {
2953
2916
  }
2954
2917
  return r;
2955
2918
  }
2956
- function jn(e) {
2919
+ function Cn(e) {
2957
2920
  var t = e.hourCycle;
2958
2921
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2959
2922
  e.hourCycles && // @ts-ignore
@@ -2972,23 +2935,23 @@ function jn(e) {
2972
2935
  }
2973
2936
  var r = e.language, n;
2974
2937
  r !== "root" && (n = e.maximize().region);
2975
- var i = de[n || ""] || de[r || ""] || de["".concat(r, "-001")] || de["001"];
2938
+ var i = ce[n || ""] || ce[r || ""] || ce["".concat(r, "-001")] || ce["001"];
2976
2939
  return i[0];
2977
2940
  }
2978
- var Oe, kn = new RegExp("^".concat(ir.source, "*")), Vn = new RegExp("".concat(ir.source, "*$"));
2941
+ var Be, Nn = new RegExp("^".concat(qt.source, "*")), In = new RegExp("".concat(qt.source, "*$"));
2979
2942
  function g(e, t) {
2980
2943
  return { start: e, end: t };
2981
2944
  }
2982
- var Xn = !!String.prototype.startsWith && "_a".startsWith("a", 1), zn = !!String.fromCodePoint, Wn = !!Object.fromEntries, Zn = !!String.prototype.codePointAt, Qn = !!String.prototype.trimStart, Jn = !!String.prototype.trimEnd, Yn = !!Number.isSafeInteger, qn = Yn ? Number.isSafeInteger : function(e) {
2945
+ var Mn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ln = !!String.fromCodePoint, Rn = !!Object.fromEntries, $n = !!String.prototype.codePointAt, Fn = !!String.prototype.trimStart, Un = !!String.prototype.trimEnd, Dn = !!Number.isSafeInteger, Gn = Dn ? Number.isSafeInteger : function(e) {
2983
2946
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2984
- }, je = !0;
2947
+ }, De = !0;
2985
2948
  try {
2986
- var Kn = lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2987
- je = ((Oe = Kn.exec("a")) === null || Oe === void 0 ? void 0 : Oe[0]) === "a";
2988
- } catch (e) {
2989
- je = !1;
2949
+ var jn = nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2950
+ De = ((Be = jn.exec("a")) === null || Be === void 0 ? void 0 : Be[0]) === "a";
2951
+ } catch {
2952
+ De = !1;
2990
2953
  }
2991
- var _t = Xn ? (
2954
+ var pt = Mn ? (
2992
2955
  // Native
2993
2956
  function(t, r, n) {
2994
2957
  return t.startsWith(r, n);
@@ -2998,7 +2961,7 @@ var _t = Xn ? (
2998
2961
  function(t, r, n) {
2999
2962
  return t.slice(n, n + r.length) === r;
3000
2963
  }
3001
- ), ke = zn ? String.fromCodePoint : (
2964
+ ), Ge = Ln ? String.fromCodePoint : (
3002
2965
  // IE11
3003
2966
  function() {
3004
2967
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3010,9 +2973,9 @@ var _t = Xn ? (
3010
2973
  }
3011
2974
  return n;
3012
2975
  }
3013
- ), Et = (
2976
+ ), mt = (
3014
2977
  // native
3015
- Wn ? Object.fromEntries : (
2978
+ Rn ? Object.fromEntries : (
3016
2979
  // Ponyfill
3017
2980
  function(t) {
3018
2981
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3022,7 +2985,7 @@ var _t = Xn ? (
3022
2985
  return r;
3023
2986
  }
3024
2987
  )
3025
- ), ur = Zn ? (
2988
+ ), rr = $n ? (
3026
2989
  // Native
3027
2990
  function(t, r) {
3028
2991
  return t.codePointAt(r);
@@ -3036,7 +2999,7 @@ var _t = Xn ? (
3036
2999
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3037
3000
  }
3038
3001
  }
3039
- ), ei = Qn ? (
3002
+ ), kn = Fn ? (
3040
3003
  // Native
3041
3004
  function(t) {
3042
3005
  return t.trimStart();
@@ -3044,9 +3007,9 @@ var _t = Xn ? (
3044
3007
  ) : (
3045
3008
  // Ponyfill
3046
3009
  function(t) {
3047
- return t.replace(kn, "");
3010
+ return t.replace(Nn, "");
3048
3011
  }
3049
- ), ti = Jn ? (
3012
+ ), Vn = Un ? (
3050
3013
  // Native
3051
3014
  function(t) {
3052
3015
  return t.trimEnd();
@@ -3054,32 +3017,32 @@ var _t = Xn ? (
3054
3017
  ) : (
3055
3018
  // Ponyfill
3056
3019
  function(t) {
3057
- return t.replace(Vn, "");
3020
+ return t.replace(In, "");
3058
3021
  }
3059
3022
  );
3060
- function lr(e, t) {
3023
+ function nr(e, t) {
3061
3024
  return new RegExp(e, t);
3062
3025
  }
3063
- var Ve;
3064
- if (je) {
3065
- var xt = lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3066
- Ve = function(t, r) {
3026
+ var je;
3027
+ if (De) {
3028
+ var bt = nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3029
+ je = function(t, r) {
3067
3030
  var n;
3068
- xt.lastIndex = r;
3069
- var i = xt.exec(t);
3031
+ bt.lastIndex = r;
3032
+ var i = bt.exec(t);
3070
3033
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3071
3034
  };
3072
3035
  } else
3073
- Ve = function(t, r) {
3036
+ je = function(t, r) {
3074
3037
  for (var n = []; ; ) {
3075
- var i = ur(t, r);
3076
- if (i === void 0 || hr(i) || oi(i))
3038
+ var i = rr(t, r);
3039
+ if (i === void 0 || ir(i) || Zn(i))
3077
3040
  break;
3078
3041
  n.push(i), r += i >= 65536 ? 2 : 1;
3079
3042
  }
3080
- return ke.apply(void 0, n);
3043
+ return Ge.apply(void 0, n);
3081
3044
  };
3082
- var ri = (
3045
+ var Xn = (
3083
3046
  /** @class */
3084
3047
  function() {
3085
3048
  function e(t, r) {
@@ -3110,7 +3073,7 @@ var ri = (
3110
3073
  if (n)
3111
3074
  break;
3112
3075
  return this.error(b.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
3113
- } else if (o === 60 && !this.ignoreTag && Xe(this.peek() || 0)) {
3076
+ } else if (o === 60 && !this.ignoreTag && ke(this.peek() || 0)) {
3114
3077
  var s = this.parseTag(t, r);
3115
3078
  if (s.err)
3116
3079
  return s;
@@ -3143,7 +3106,7 @@ var ri = (
3143
3106
  return o;
3144
3107
  var s = o.val, a = this.clonePosition();
3145
3108
  if (this.bumpIf("</")) {
3146
- if (this.isEOF() || !Xe(this.char()))
3109
+ if (this.isEOF() || !ke(this.char()))
3147
3110
  return this.error(b.INVALID_TAG, g(a, this.clonePosition()));
3148
3111
  var l = this.clonePosition(), u = this.parseTagName();
3149
3112
  return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, g(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -3161,7 +3124,7 @@ var ri = (
3161
3124
  return this.error(b.INVALID_TAG, g(n, this.clonePosition()));
3162
3125
  }, e.prototype.parseTagName = function() {
3163
3126
  var t = this.offset();
3164
- for (this.bump(); !this.isEOF() && ii(this.char()); )
3127
+ for (this.bump(); !this.isEOF() && Wn(this.char()); )
3165
3128
  this.bump();
3166
3129
  return this.message.slice(t, this.offset());
3167
3130
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3190,7 +3153,7 @@ var ri = (
3190
3153
  };
3191
3154
  }, e.prototype.tryParseLeftAngleBracket = function() {
3192
3155
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3193
- !ni(this.peek() || 0)) ? (this.bump(), "<") : null;
3156
+ !zn(this.peek() || 0)) ? (this.bump(), "<") : null;
3194
3157
  }, e.prototype.tryParseQuote = function(t) {
3195
3158
  if (this.isEOF() || this.char() !== 39)
3196
3159
  return null;
@@ -3224,12 +3187,12 @@ var ri = (
3224
3187
  r.push(n);
3225
3188
  this.bump();
3226
3189
  }
3227
- return ke.apply(void 0, r);
3190
+ return Ge.apply(void 0, r);
3228
3191
  }, e.prototype.tryParseUnquoted = function(t, r) {
3229
3192
  if (this.isEOF())
3230
3193
  return null;
3231
3194
  var n = this.char();
3232
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ke(n));
3195
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ge(n));
3233
3196
  }, e.prototype.parseArgument = function(t, r) {
3234
3197
  var n = this.clonePosition();
3235
3198
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3258,7 +3221,7 @@ var ri = (
3258
3221
  return this.error(b.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3259
3222
  }
3260
3223
  }, e.prototype.parseIdentifierIfPossible = function() {
3261
- var t = this.clonePosition(), r = this.offset(), n = Ve(this.message, r), i = r + n.length;
3224
+ var t = this.clonePosition(), r = this.offset(), n = je(this.message, r), i = r + n.length;
3262
3225
  this.bumpTo(i);
3263
3226
  var o = this.clonePosition(), s = g(t, o);
3264
3227
  return { value: n, location: s };
@@ -3277,7 +3240,7 @@ var ri = (
3277
3240
  var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3278
3241
  if (f.err)
3279
3242
  return f;
3280
- var c = ti(f.val);
3243
+ var c = Vn(f.val);
3281
3244
  if (c.length === 0)
3282
3245
  return this.error(b.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
3283
3246
  var d = g(h, this.clonePosition());
@@ -3287,8 +3250,8 @@ var ri = (
3287
3250
  if (m.err)
3288
3251
  return m;
3289
3252
  var p = g(i, this.clonePosition());
3290
- if (u && _t(u == null ? void 0 : u.style, "::", 0)) {
3291
- var _ = ei(u.style.slice(2));
3253
+ if (u && pt(u?.style, "::", 0)) {
3254
+ var _ = kn(u.style.slice(2));
3292
3255
  if (a === "number") {
3293
3256
  var f = this.parseNumberSkeletonFromString(_, u.styleLocation);
3294
3257
  return f.err ? f : {
@@ -3299,15 +3262,15 @@ var ri = (
3299
3262
  if (_.length === 0)
3300
3263
  return this.error(b.EXPECT_DATE_TIME_SKELETON, p);
3301
3264
  var S = _;
3302
- this.locale && (S = Gn(_, this.locale));
3265
+ this.locale && (S = On(_, this.locale));
3303
3266
  var c = {
3304
- type: q.dateTime,
3267
+ type: Y.dateTime,
3305
3268
  pattern: S,
3306
3269
  location: u.styleLocation,
3307
- parsedOptions: this.shouldParseSkeletons ? Mn(S) : {}
3308
- }, I = a === "date" ? E.date : E.time;
3270
+ parsedOptions: this.shouldParseSkeletons ? Sn(S) : {}
3271
+ }, N = a === "date" ? E.date : E.time;
3309
3272
  return {
3310
- val: { type: I, value: n, location: p, style: c },
3273
+ val: { type: N, value: n, location: p, style: c },
3311
3274
  err: null
3312
3275
  };
3313
3276
  }
@@ -3317,7 +3280,7 @@ var ri = (
3317
3280
  type: a === "number" ? E.number : a === "date" ? E.date : E.time,
3318
3281
  value: n,
3319
3282
  location: p,
3320
- style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
3283
+ style: (o = u?.style) !== null && o !== void 0 ? o : null
3321
3284
  },
3322
3285
  err: null
3323
3286
  };
@@ -3329,7 +3292,7 @@ var ri = (
3329
3292
  if (this.bumpSpace(), !this.bumpIf(","))
3330
3293
  return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, g(T, v({}, T)));
3331
3294
  this.bumpSpace();
3332
- var w = this.parseIdentifierIfPossible(), L = 0;
3295
+ var w = this.parseIdentifierIfPossible(), M = 0;
3333
3296
  if (a !== "select" && w.value === "offset") {
3334
3297
  if (!this.bumpIf(":"))
3335
3298
  return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
@@ -3337,11 +3300,11 @@ var ri = (
3337
3300
  var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3338
3301
  if (f.err)
3339
3302
  return f;
3340
- this.bumpSpace(), w = this.parseIdentifierIfPossible(), L = f.val;
3303
+ this.bumpSpace(), w = this.parseIdentifierIfPossible(), M = f.val;
3341
3304
  }
3342
- var V = this.tryParsePluralOrSelectOptions(t, a, r, w);
3343
- if (V.err)
3344
- return V;
3305
+ var k = this.tryParsePluralOrSelectOptions(t, a, r, w);
3306
+ if (k.err)
3307
+ return k;
3345
3308
  var m = this.tryParseArgumentClose(i);
3346
3309
  if (m.err)
3347
3310
  return m;
@@ -3350,7 +3313,7 @@ var ri = (
3350
3313
  val: {
3351
3314
  type: E.select,
3352
3315
  value: n,
3353
- options: Et(V.val),
3316
+ options: mt(k.val),
3354
3317
  location: y
3355
3318
  },
3356
3319
  err: null
@@ -3358,8 +3321,8 @@ var ri = (
3358
3321
  val: {
3359
3322
  type: E.plural,
3360
3323
  value: n,
3361
- options: Et(V.val),
3362
- offset: L,
3324
+ options: mt(k.val),
3325
+ offset: M,
3363
3326
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3364
3327
  location: y
3365
3328
  },
@@ -3409,16 +3372,16 @@ var ri = (
3409
3372
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3410
3373
  var n = [];
3411
3374
  try {
3412
- n = Rn(t);
3413
- } catch (i) {
3375
+ n = Hn(t);
3376
+ } catch {
3414
3377
  return this.error(b.INVALID_NUMBER_SKELETON, r);
3415
3378
  }
3416
3379
  return {
3417
3380
  val: {
3418
- type: q.number,
3381
+ type: Y.number,
3419
3382
  tokens: n,
3420
3383
  location: r,
3421
- parsedOptions: this.shouldParseSkeletons ? Dn(n) : {}
3384
+ parsedOptions: this.shouldParseSkeletons ? Pn(n) : {}
3422
3385
  },
3423
3386
  err: null
3424
3387
  };
@@ -3466,7 +3429,7 @@ var ri = (
3466
3429
  break;
3467
3430
  }
3468
3431
  var l = g(i, this.clonePosition());
3469
- return o ? (s *= n, qn(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3432
+ return o ? (s *= n, Gn(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3470
3433
  }, e.prototype.offset = function() {
3471
3434
  return this.position.offset;
3472
3435
  }, e.prototype.isEOF = function() {
@@ -3481,7 +3444,7 @@ var ri = (
3481
3444
  var t = this.position.offset;
3482
3445
  if (t >= this.message.length)
3483
3446
  throw Error("out of bound");
3484
- var r = ur(this.message, t);
3447
+ var r = rr(this.message, t);
3485
3448
  if (r === void 0)
3486
3449
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3487
3450
  return r;
@@ -3500,7 +3463,7 @@ var ri = (
3500
3463
  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);
3501
3464
  }
3502
3465
  }, e.prototype.bumpIf = function(t) {
3503
- if (_t(this.message, t, this.offset())) {
3466
+ if (pt(this.message, t, this.offset())) {
3504
3467
  for (var r = 0; r < t.length; r++)
3505
3468
  this.bump();
3506
3469
  return !0;
@@ -3522,56 +3485,56 @@ var ri = (
3522
3485
  break;
3523
3486
  }
3524
3487
  }, e.prototype.bumpSpace = function() {
3525
- for (; !this.isEOF() && hr(this.char()); )
3488
+ for (; !this.isEOF() && ir(this.char()); )
3526
3489
  this.bump();
3527
3490
  }, e.prototype.peek = function() {
3528
3491
  if (this.isEOF())
3529
3492
  return null;
3530
3493
  var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
3531
- return n != null ? n : null;
3494
+ return n ?? null;
3532
3495
  }, e;
3533
3496
  }()
3534
3497
  );
3535
- function Xe(e) {
3498
+ function ke(e) {
3536
3499
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3537
3500
  }
3538
- function ni(e) {
3539
- return Xe(e) || e === 47;
3501
+ function zn(e) {
3502
+ return ke(e) || e === 47;
3540
3503
  }
3541
- function ii(e) {
3504
+ function Wn(e) {
3542
3505
  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;
3543
3506
  }
3544
- function hr(e) {
3507
+ function ir(e) {
3545
3508
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3546
3509
  }
3547
- function oi(e) {
3510
+ function Zn(e) {
3548
3511
  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;
3549
3512
  }
3550
- function ze(e) {
3513
+ function Ve(e) {
3551
3514
  e.forEach(function(t) {
3552
- if (delete t.location, er(t) || tr(t))
3515
+ if (delete t.location, Zt(t) || Qt(t))
3553
3516
  for (var r in t.options)
3554
- delete t.options[r].location, ze(t.options[r].value);
3555
- else Yt(t) && nr(t.style) || (qt(t) || Kt(t)) && Ge(t.style) ? delete t.style.location : rr(t) && ze(t.children);
3517
+ delete t.options[r].location, Ve(t.options[r].value);
3518
+ else Xt(t) && Yt(t.style) || (zt(t) || Wt(t)) && Ue(t.style) ? delete t.style.location : Jt(t) && Ve(t.children);
3556
3519
  });
3557
3520
  }
3558
- function si(e, t) {
3521
+ function Qn(e, t) {
3559
3522
  t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3560
- var r = new ri(e, t).parse();
3523
+ var r = new Xn(e, t).parse();
3561
3524
  if (r.err) {
3562
3525
  var n = SyntaxError(b[r.err.kind]);
3563
3526
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3564
3527
  }
3565
- return t != null && t.captureLocation || ze(r.val), r.val;
3528
+ return t?.captureLocation || Ve(r.val), r.val;
3566
3529
  }
3567
- var K;
3530
+ var q;
3568
3531
  (function(e) {
3569
3532
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3570
- })(K || (K = {}));
3571
- var xe = (
3533
+ })(q || (q = {}));
3534
+ var Ee = (
3572
3535
  /** @class */
3573
3536
  function(e) {
3574
- F(t, e);
3537
+ $(t, e);
3575
3538
  function t(r, n, i) {
3576
3539
  var o = e.call(this, r) || this;
3577
3540
  return o.code = n, o.originalMessage = i, o;
@@ -3580,48 +3543,48 @@ var xe = (
3580
3543
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3581
3544
  }, t;
3582
3545
  }(Error)
3583
- ), St = (
3546
+ ), gt = (
3584
3547
  /** @class */
3585
3548
  function(e) {
3586
- F(t, e);
3549
+ $(t, e);
3587
3550
  function t(r, n, i, o) {
3588
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), K.INVALID_VALUE, o) || this;
3551
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), q.INVALID_VALUE, o) || this;
3589
3552
  }
3590
3553
  return t;
3591
- }(xe)
3592
- ), ai = (
3554
+ }(Ee)
3555
+ ), Jn = (
3593
3556
  /** @class */
3594
3557
  function(e) {
3595
- F(t, e);
3558
+ $(t, e);
3596
3559
  function t(r, n, i) {
3597
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), K.INVALID_VALUE, i) || this;
3560
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), q.INVALID_VALUE, i) || this;
3598
3561
  }
3599
3562
  return t;
3600
- }(xe)
3601
- ), ui = (
3563
+ }(Ee)
3564
+ ), Yn = (
3602
3565
  /** @class */
3603
3566
  function(e) {
3604
- F(t, e);
3567
+ $(t, e);
3605
3568
  function t(r, n) {
3606
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), K.MISSING_VALUE, n) || this;
3569
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), q.MISSING_VALUE, n) || this;
3607
3570
  }
3608
3571
  return t;
3609
- }(xe)
3572
+ }(Ee)
3610
3573
  ), A;
3611
3574
  (function(e) {
3612
3575
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3613
3576
  })(A || (A = {}));
3614
- function li(e) {
3577
+ function qn(e) {
3615
3578
  return e.length < 2 ? e : e.reduce(function(t, r) {
3616
3579
  var n = t[t.length - 1];
3617
3580
  return !n || n.type !== A.literal || r.type !== A.literal ? t.push(r) : n.value += r.value, t;
3618
3581
  }, []);
3619
3582
  }
3620
- function hi(e) {
3583
+ function Kn(e) {
3621
3584
  return typeof e == "function";
3622
3585
  }
3623
- function be(e, t, r, n, i, o, s) {
3624
- if (e.length === 1 && bt(e[0]))
3586
+ function me(e, t, r, n, i, o, s) {
3587
+ if (e.length === 1 && ht(e[0]))
3625
3588
  return [
3626
3589
  {
3627
3590
  type: A.literal,
@@ -3630,14 +3593,14 @@ function be(e, t, r, n, i, o, s) {
3630
3593
  ];
3631
3594
  for (var a = [], l = 0, u = e; l < u.length; l++) {
3632
3595
  var h = u[l];
3633
- if (bt(h)) {
3596
+ if (ht(h)) {
3634
3597
  a.push({
3635
3598
  type: A.literal,
3636
3599
  value: h.value
3637
3600
  });
3638
3601
  continue;
3639
3602
  }
3640
- if (Nn(h)) {
3603
+ if (En(h)) {
3641
3604
  typeof o == "number" && a.push({
3642
3605
  type: A.literal,
3643
3606
  value: r.getNumberFormat(t).format(o)
@@ -3646,89 +3609,89 @@ function be(e, t, r, n, i, o, s) {
3646
3609
  }
3647
3610
  var f = h.value;
3648
3611
  if (!(i && f in i))
3649
- throw new ui(f, s);
3612
+ throw new Yn(f, s);
3650
3613
  var c = i[f];
3651
- if (Cn(h)) {
3614
+ if (_n(h)) {
3652
3615
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3653
3616
  type: typeof c == "string" ? A.literal : A.object,
3654
3617
  value: c
3655
3618
  });
3656
3619
  continue;
3657
3620
  }
3658
- if (qt(h)) {
3659
- var d = typeof h.style == "string" ? n.date[h.style] : Ge(h.style) ? h.style.parsedOptions : void 0;
3621
+ if (zt(h)) {
3622
+ var d = typeof h.style == "string" ? n.date[h.style] : Ue(h.style) ? h.style.parsedOptions : void 0;
3660
3623
  a.push({
3661
3624
  type: A.literal,
3662
3625
  value: r.getDateTimeFormat(t, d).format(c)
3663
3626
  });
3664
3627
  continue;
3665
3628
  }
3666
- if (Kt(h)) {
3667
- var d = typeof h.style == "string" ? n.time[h.style] : Ge(h.style) ? h.style.parsedOptions : n.time.medium;
3629
+ if (Wt(h)) {
3630
+ var d = typeof h.style == "string" ? n.time[h.style] : Ue(h.style) ? h.style.parsedOptions : n.time.medium;
3668
3631
  a.push({
3669
3632
  type: A.literal,
3670
3633
  value: r.getDateTimeFormat(t, d).format(c)
3671
3634
  });
3672
3635
  continue;
3673
3636
  }
3674
- if (Yt(h)) {
3675
- var d = typeof h.style == "string" ? n.number[h.style] : nr(h.style) ? h.style.parsedOptions : void 0;
3637
+ if (Xt(h)) {
3638
+ var d = typeof h.style == "string" ? n.number[h.style] : Yt(h.style) ? h.style.parsedOptions : void 0;
3676
3639
  d && d.scale && (c = c * (d.scale || 1)), a.push({
3677
3640
  type: A.literal,
3678
3641
  value: r.getNumberFormat(t, d).format(c)
3679
3642
  });
3680
3643
  continue;
3681
3644
  }
3682
- if (rr(h)) {
3645
+ if (Jt(h)) {
3683
3646
  var m = h.children, p = h.value, _ = i[p];
3684
- if (!hi(_))
3685
- throw new ai(p, "function", s);
3686
- var S = be(m, t, r, n, i, o), I = _(S.map(function(L) {
3687
- return L.value;
3647
+ if (!Kn(_))
3648
+ throw new Jn(p, "function", s);
3649
+ var S = me(m, t, r, n, i, o), N = _(S.map(function(M) {
3650
+ return M.value;
3688
3651
  }));
3689
- Array.isArray(I) || (I = [I]), a.push.apply(a, I.map(function(L) {
3652
+ Array.isArray(N) || (N = [N]), a.push.apply(a, N.map(function(M) {
3690
3653
  return {
3691
- type: typeof L == "string" ? A.literal : A.object,
3692
- value: L
3654
+ type: typeof M == "string" ? A.literal : A.object,
3655
+ value: M
3693
3656
  };
3694
3657
  }));
3695
3658
  }
3696
- if (er(h)) {
3659
+ if (Zt(h)) {
3697
3660
  var T = h.options[c] || h.options.other;
3698
3661
  if (!T)
3699
- throw new St(h.value, c, Object.keys(h.options), s);
3700
- a.push.apply(a, be(T.value, t, r, n, i));
3662
+ throw new gt(h.value, c, Object.keys(h.options), s);
3663
+ a.push.apply(a, me(T.value, t, r, n, i));
3701
3664
  continue;
3702
3665
  }
3703
- if (tr(h)) {
3666
+ if (Qt(h)) {
3704
3667
  var T = h.options["=".concat(c)];
3705
3668
  if (!T) {
3706
3669
  if (!Intl.PluralRules)
3707
- throw new xe(`Intl.PluralRules is not available in this environment.
3670
+ throw new Ee(`Intl.PluralRules is not available in this environment.
3708
3671
  Try polyfilling it using "@formatjs/intl-pluralrules"
3709
- `, K.MISSING_INTL_API, s);
3672
+ `, q.MISSING_INTL_API, s);
3710
3673
  var w = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3711
3674
  T = h.options[w] || h.options.other;
3712
3675
  }
3713
3676
  if (!T)
3714
- throw new St(h.value, c, Object.keys(h.options), s);
3715
- a.push.apply(a, be(T.value, t, r, n, i, c - (h.offset || 0)));
3677
+ throw new gt(h.value, c, Object.keys(h.options), s);
3678
+ a.push.apply(a, me(T.value, t, r, n, i, c - (h.offset || 0)));
3716
3679
  continue;
3717
3680
  }
3718
3681
  }
3719
- return li(a);
3682
+ return qn(a);
3720
3683
  }
3721
- function fi(e, t) {
3684
+ function ei(e, t) {
3722
3685
  return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3723
3686
  return r[n] = v(v({}, e[n]), t[n] || {}), r;
3724
3687
  }, {})) : e;
3725
3688
  }
3726
- function ci(e, t) {
3689
+ function ti(e, t) {
3727
3690
  return t ? Object.keys(e).reduce(function(r, n) {
3728
- return r[n] = fi(e[n], t[n]), r;
3691
+ return r[n] = ei(e[n], t[n]), r;
3729
3692
  }, v({}, e)) : e;
3730
3693
  }
3731
- function Ce(e) {
3694
+ function Pe(e) {
3732
3695
  return {
3733
3696
  create: function() {
3734
3697
  return {
@@ -3742,39 +3705,39 @@ function Ce(e) {
3742
3705
  }
3743
3706
  };
3744
3707
  }
3745
- function di(e) {
3708
+ function ri(e) {
3746
3709
  return e === void 0 && (e = {
3747
3710
  number: {},
3748
3711
  dateTime: {},
3749
3712
  pluralRules: {}
3750
3713
  }), {
3751
- getNumberFormat: Be(function() {
3714
+ getNumberFormat: we(function() {
3752
3715
  for (var t, r = [], n = 0; n < arguments.length; n++)
3753
3716
  r[n] = arguments[n];
3754
- return new ((t = Intl.NumberFormat).bind.apply(t, J([void 0], r, !1)))();
3717
+ return new ((t = Intl.NumberFormat).bind.apply(t, Q([void 0], r, !1)))();
3755
3718
  }, {
3756
- cache: Ce(e.number),
3757
- strategy: Pe.variadic
3719
+ cache: Pe(e.number),
3720
+ strategy: Ae.variadic
3758
3721
  }),
3759
- getDateTimeFormat: Be(function() {
3722
+ getDateTimeFormat: we(function() {
3760
3723
  for (var t, r = [], n = 0; n < arguments.length; n++)
3761
3724
  r[n] = arguments[n];
3762
- return new ((t = Intl.DateTimeFormat).bind.apply(t, J([void 0], r, !1)))();
3725
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Q([void 0], r, !1)))();
3763
3726
  }, {
3764
- cache: Ce(e.dateTime),
3765
- strategy: Pe.variadic
3727
+ cache: Pe(e.dateTime),
3728
+ strategy: Ae.variadic
3766
3729
  }),
3767
- getPluralRules: Be(function() {
3730
+ getPluralRules: we(function() {
3768
3731
  for (var t, r = [], n = 0; n < arguments.length; n++)
3769
3732
  r[n] = arguments[n];
3770
- return new ((t = Intl.PluralRules).bind.apply(t, J([void 0], r, !1)))();
3733
+ return new ((t = Intl.PluralRules).bind.apply(t, Q([void 0], r, !1)))();
3771
3734
  }, {
3772
- cache: Ce(e.pluralRules),
3773
- strategy: Pe.variadic
3735
+ cache: Pe(e.pluralRules),
3736
+ strategy: Ae.variadic
3774
3737
  })
3775
3738
  };
3776
3739
  }
3777
- var pi = (
3740
+ var ni = (
3778
3741
  /** @class */
3779
3742
  function() {
3780
3743
  function e(t, r, n, i) {
@@ -3793,7 +3756,7 @@ var pi = (
3793
3756
  }, []);
3794
3757
  return h.length <= 1 ? h[0] || "" : h;
3795
3758
  }, this.formatToParts = function(l) {
3796
- return be(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3759
+ return me(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3797
3760
  }, this.resolvedOptions = function() {
3798
3761
  var l;
3799
3762
  return {
@@ -3806,13 +3769,13 @@ var pi = (
3806
3769
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3807
3770
  var s = i || {};
3808
3771
  s.formatters;
3809
- var a = Xr(s, ["formatters"]);
3772
+ var a = Mr(s, ["formatters"]);
3810
3773
  this.ast = e.__parse(t, v(v({}, a), { locale: this.resolvedLocale }));
3811
3774
  } else
3812
3775
  this.ast = t;
3813
3776
  if (!Array.isArray(this.ast))
3814
3777
  throw new TypeError("A message must be provided as a String or AST.");
3815
- this.formats = ci(e.formats, n), this.formatters = i && i.formatters || di(this.formatterCache);
3778
+ this.formats = ti(e.formats, n), this.formatters = i && i.formatters || ri(this.formatterCache);
3816
3779
  }
3817
3780
  return Object.defineProperty(e, "defaultLocale", {
3818
3781
  get: function() {
@@ -3821,11 +3784,11 @@ var pi = (
3821
3784
  enumerable: !1,
3822
3785
  configurable: !0
3823
3786
  }), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
3824
- if (typeof Intl.Locale != "undefined") {
3787
+ if (!(typeof Intl.Locale > "u")) {
3825
3788
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3826
3789
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3827
3790
  }
3828
- }, e.__parse = si, e.formats = {
3791
+ }, e.__parse = Qn, e.formats = {
3829
3792
  number: {
3830
3793
  integer: {
3831
3794
  maximumFractionDigits: 0
@@ -3886,7 +3849,7 @@ var pi = (
3886
3849
  }, e;
3887
3850
  }()
3888
3851
  );
3889
- function mi(e, t) {
3852
+ function ii(e, t) {
3890
3853
  if (t == null)
3891
3854
  return;
3892
3855
  if (t in e)
@@ -3907,92 +3870,92 @@ function mi(e, t) {
3907
3870
  n = void 0;
3908
3871
  return n;
3909
3872
  }
3910
- const U = {}, bi = (e, t, r) => r && (t in U || (U[t] = {}), e in U[t] || (U[t][e] = r), r), fr = (e, t) => {
3873
+ const F = {}, oi = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), or = (e, t) => {
3911
3874
  if (t == null)
3912
3875
  return;
3913
- if (t in U && e in U[t])
3914
- return U[t][e];
3915
- const r = Se(t);
3876
+ if (t in F && e in F[t])
3877
+ return F[t][e];
3878
+ const r = xe(t);
3916
3879
  for (let n = 0; n < r.length; n++) {
3917
- const i = r[n], o = yi(i, e);
3880
+ const i = r[n], o = ai(i, e);
3918
3881
  if (o)
3919
- return bi(e, t, o);
3882
+ return oi(e, t, o);
3920
3883
  }
3921
3884
  };
3922
- let qe;
3923
- const le = Ee({});
3924
- function gi(e) {
3925
- return qe[e] || null;
3885
+ let Je;
3886
+ const ue = _e({});
3887
+ function si(e) {
3888
+ return Je[e] || null;
3926
3889
  }
3927
- function cr(e) {
3928
- return e in qe;
3890
+ function sr(e) {
3891
+ return e in Je;
3929
3892
  }
3930
- function yi(e, t) {
3931
- if (!cr(e))
3893
+ function ai(e, t) {
3894
+ if (!sr(e))
3932
3895
  return null;
3933
- const r = gi(e);
3934
- return mi(r, t);
3896
+ const r = si(e);
3897
+ return ii(r, t);
3935
3898
  }
3936
- function vi(e) {
3899
+ function ui(e) {
3937
3900
  if (e == null)
3938
3901
  return;
3939
- const t = Se(e);
3902
+ const t = xe(e);
3940
3903
  for (let r = 0; r < t.length; r++) {
3941
3904
  const n = t[r];
3942
- if (cr(n))
3905
+ if (sr(n))
3943
3906
  return n;
3944
3907
  }
3945
3908
  }
3946
- function dr(e, ...t) {
3947
- delete U[e], le.update((r) => (r[e] = Sn.all([r[e] || {}, ...t]), r));
3909
+ function ar(e, ...t) {
3910
+ delete F[e], ue.update((r) => (r[e] = cn.all([r[e] || {}, ...t]), r));
3948
3911
  }
3949
- te(
3950
- [le],
3912
+ ee(
3913
+ [ue],
3951
3914
  ([e]) => Object.keys(e)
3952
3915
  );
3953
- le.subscribe((e) => qe = e);
3954
- const ge = {};
3955
- function _i(e, t) {
3956
- ge[e].delete(t), ge[e].size === 0 && delete ge[e];
3916
+ ue.subscribe((e) => Je = e);
3917
+ const be = {};
3918
+ function li(e, t) {
3919
+ be[e].delete(t), be[e].size === 0 && delete be[e];
3957
3920
  }
3958
- function pr(e) {
3959
- return ge[e];
3921
+ function ur(e) {
3922
+ return be[e];
3960
3923
  }
3961
- function Ei(e) {
3962
- return Se(e).map((t) => {
3963
- const r = pr(t);
3924
+ function hi(e) {
3925
+ return xe(e).map((t) => {
3926
+ const r = ur(t);
3964
3927
  return [t, r ? [...r] : []];
3965
3928
  }).filter(([, t]) => t.length > 0);
3966
3929
  }
3967
- function We(e) {
3968
- return e == null ? !1 : Se(e).some(
3930
+ function Xe(e) {
3931
+ return e == null ? !1 : xe(e).some(
3969
3932
  (t) => {
3970
3933
  var r;
3971
- return (r = pr(t)) == null ? void 0 : r.size;
3934
+ return (r = ur(t)) == null ? void 0 : r.size;
3972
3935
  }
3973
3936
  );
3974
3937
  }
3975
- function xi(e, t) {
3938
+ function fi(e, t) {
3976
3939
  return Promise.all(
3977
- t.map((n) => (_i(e, n), n().then((i) => i.default || i)))
3978
- ).then((n) => dr(e, ...n));
3979
- }
3980
- const ne = {};
3981
- function mr(e) {
3982
- if (!We(e))
3983
- return e in ne ? ne[e] : Promise.resolve();
3984
- const t = Ei(e);
3985
- return ne[e] = Promise.all(
3940
+ t.map((n) => (li(e, n), n().then((i) => i.default || i)))
3941
+ ).then((n) => ar(e, ...n));
3942
+ }
3943
+ const re = {};
3944
+ function lr(e) {
3945
+ if (!Xe(e))
3946
+ return e in re ? re[e] : Promise.resolve();
3947
+ const t = hi(e);
3948
+ return re[e] = Promise.all(
3986
3949
  t.map(
3987
- ([r, n]) => xi(r, n)
3950
+ ([r, n]) => fi(r, n)
3988
3951
  )
3989
3952
  ).then(() => {
3990
- if (We(e))
3991
- return mr(e);
3992
- delete ne[e];
3993
- }), ne[e];
3953
+ if (Xe(e))
3954
+ return lr(e);
3955
+ delete re[e];
3956
+ }), re[e];
3994
3957
  }
3995
- const Si = {
3958
+ const ci = {
3996
3959
  number: {
3997
3960
  scientific: { notation: "scientific" },
3998
3961
  engineering: { notation: "engineering" },
@@ -4021,150 +3984,150 @@ const Si = {
4021
3984
  timeZoneName: "short"
4022
3985
  }
4023
3986
  }
4024
- }, Ti = {
3987
+ }, di = {
4025
3988
  fallbackLocale: null,
4026
3989
  loadingDelay: 200,
4027
- formats: Si,
3990
+ formats: ci,
4028
3991
  warnOnMissingMessages: !0,
4029
3992
  handleMissingMessage: void 0,
4030
3993
  ignoreTag: !0
4031
- }, Hi = Ti;
4032
- function ee() {
4033
- return Hi;
3994
+ }, pi = di;
3995
+ function K() {
3996
+ return pi;
4034
3997
  }
4035
- const Ne = Ee(!1);
4036
- var wi = Object.defineProperty, Ai = Object.defineProperties, Bi = Object.getOwnPropertyDescriptors, Tt = Object.getOwnPropertySymbols, Pi = Object.prototype.hasOwnProperty, Oi = Object.prototype.propertyIsEnumerable, Ht = (e, t, r) => t in e ? wi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ci = (e, t) => {
3998
+ const Oe = _e(!1);
3999
+ var mi = Object.defineProperty, bi = Object.defineProperties, gi = Object.getOwnPropertyDescriptors, yt = Object.getOwnPropertySymbols, yi = Object.prototype.hasOwnProperty, vi = Object.prototype.propertyIsEnumerable, vt = (e, t, r) => t in e ? mi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, _i = (e, t) => {
4037
4000
  for (var r in t)
4038
- Pi.call(t, r) && Ht(e, r, t[r]);
4039
- if (Tt)
4040
- for (var r of Tt(t))
4041
- Oi.call(t, r) && Ht(e, r, t[r]);
4001
+ yi.call(t, r) && vt(e, r, t[r]);
4002
+ if (yt)
4003
+ for (var r of yt(t))
4004
+ vi.call(t, r) && vt(e, r, t[r]);
4042
4005
  return e;
4043
- }, Ni = (e, t) => Ai(e, Bi(t));
4044
- let Ze;
4045
- const ye = Ee(null);
4046
- function wt(e) {
4006
+ }, Ei = (e, t) => bi(e, gi(t));
4007
+ let ze;
4008
+ const ge = _e(null);
4009
+ function _t(e) {
4047
4010
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4048
4011
  }
4049
- function Se(e, t = ee().fallbackLocale) {
4050
- const r = wt(e);
4051
- return t ? [.../* @__PURE__ */ new Set([...r, ...wt(t)])] : r;
4012
+ function xe(e, t = K().fallbackLocale) {
4013
+ const r = _t(e);
4014
+ return t ? [.../* @__PURE__ */ new Set([...r, ..._t(t)])] : r;
4052
4015
  }
4053
- function k() {
4054
- return Ze != null ? Ze : void 0;
4016
+ function j() {
4017
+ return ze ?? void 0;
4055
4018
  }
4056
- ye.subscribe((e) => {
4057
- Ze = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4019
+ ge.subscribe((e) => {
4020
+ ze = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4058
4021
  });
4059
- const Ii = (e) => {
4060
- if (e && vi(e) && We(e)) {
4061
- const { loadingDelay: t } = ee();
4022
+ const xi = (e) => {
4023
+ if (e && ui(e) && Xe(e)) {
4024
+ const { loadingDelay: t } = K();
4062
4025
  let r;
4063
- return typeof window != "undefined" && k() != null && t ? r = window.setTimeout(
4064
- () => Ne.set(!0),
4026
+ return typeof window < "u" && j() != null && t ? r = window.setTimeout(
4027
+ () => Oe.set(!0),
4065
4028
  t
4066
- ) : Ne.set(!0), mr(e).then(() => {
4067
- ye.set(e);
4029
+ ) : Oe.set(!0), lr(e).then(() => {
4030
+ ge.set(e);
4068
4031
  }).finally(() => {
4069
- clearTimeout(r), Ne.set(!1);
4032
+ clearTimeout(r), Oe.set(!1);
4070
4033
  });
4071
4034
  }
4072
- return ye.set(e);
4073
- }, he = Ni(Ci({}, ye), {
4074
- set: Ii
4075
- }), Te = (e) => {
4035
+ return ge.set(e);
4036
+ }, le = Ei(_i({}, ge), {
4037
+ set: xi
4038
+ }), Se = (e) => {
4076
4039
  const t = /* @__PURE__ */ Object.create(null);
4077
4040
  return (n) => {
4078
4041
  const i = JSON.stringify(n);
4079
4042
  return i in t ? t[i] : t[i] = e(n);
4080
4043
  };
4081
4044
  };
4082
- var Mi = Object.defineProperty, ve = Object.getOwnPropertySymbols, br = Object.prototype.hasOwnProperty, gr = Object.prototype.propertyIsEnumerable, At = (e, t, r) => t in e ? Mi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ke = (e, t) => {
4045
+ var Si = Object.defineProperty, ye = Object.getOwnPropertySymbols, hr = Object.prototype.hasOwnProperty, fr = Object.prototype.propertyIsEnumerable, Et = (e, t, r) => t in e ? Si(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ye = (e, t) => {
4083
4046
  for (var r in t || (t = {}))
4084
- br.call(t, r) && At(e, r, t[r]);
4085
- if (ve)
4086
- for (var r of ve(t))
4087
- gr.call(t, r) && At(e, r, t[r]);
4047
+ hr.call(t, r) && Et(e, r, t[r]);
4048
+ if (ye)
4049
+ for (var r of ye(t))
4050
+ fr.call(t, r) && Et(e, r, t[r]);
4088
4051
  return e;
4089
- }, re = (e, t) => {
4052
+ }, te = (e, t) => {
4090
4053
  var r = {};
4091
4054
  for (var n in e)
4092
- br.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4093
- if (e != null && ve)
4094
- for (var n of ve(e))
4095
- t.indexOf(n) < 0 && gr.call(e, n) && (r[n] = e[n]);
4055
+ hr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4056
+ if (e != null && ye)
4057
+ for (var n of ye(e))
4058
+ t.indexOf(n) < 0 && fr.call(e, n) && (r[n] = e[n]);
4096
4059
  return r;
4097
4060
  };
4098
- const se = (e, t) => {
4099
- const { formats: r } = ee();
4061
+ const oe = (e, t) => {
4062
+ const { formats: r } = K();
4100
4063
  if (e in r && t in r[e])
4101
4064
  return r[e][t];
4102
4065
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4103
- }, Li = Te(
4066
+ }, Ti = Se(
4104
4067
  (e) => {
4105
- var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
4068
+ var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
4106
4069
  if (r == null)
4107
4070
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4108
- return n && (i = se("number", n)), new Intl.NumberFormat(r, i);
4071
+ return n && (i = oe("number", n)), new Intl.NumberFormat(r, i);
4109
4072
  }
4110
- ), Ri = Te(
4073
+ ), Hi = Se(
4111
4074
  (e) => {
4112
- var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
4075
+ var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
4113
4076
  if (r == null)
4114
4077
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4115
- return n ? i = se("date", n) : Object.keys(i).length === 0 && (i = se("date", "short")), new Intl.DateTimeFormat(r, i);
4078
+ return n ? i = oe("date", n) : Object.keys(i).length === 0 && (i = oe("date", "short")), new Intl.DateTimeFormat(r, i);
4116
4079
  }
4117
- ), $i = Te(
4080
+ ), wi = Se(
4118
4081
  (e) => {
4119
- var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
4082
+ var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
4120
4083
  if (r == null)
4121
4084
  throw new Error(
4122
4085
  '[svelte-i18n] A "locale" must be set to format time values'
4123
4086
  );
4124
- return n ? i = se("time", n) : Object.keys(i).length === 0 && (i = se("time", "short")), new Intl.DateTimeFormat(r, i);
4087
+ return n ? i = oe("time", n) : Object.keys(i).length === 0 && (i = oe("time", "short")), new Intl.DateTimeFormat(r, i);
4125
4088
  }
4126
- ), Fi = (e = {}) => {
4089
+ ), Ai = (e = {}) => {
4127
4090
  var t = e, {
4128
- locale: r = k()
4129
- } = t, n = re(t, [
4091
+ locale: r = j()
4092
+ } = t, n = te(t, [
4130
4093
  "locale"
4131
4094
  ]);
4132
- return Li(Ke({ locale: r }, n));
4133
- }, Ui = (e = {}) => {
4095
+ return Ti(Ye({ locale: r }, n));
4096
+ }, Bi = (e = {}) => {
4134
4097
  var t = e, {
4135
- locale: r = k()
4136
- } = t, n = re(t, [
4098
+ locale: r = j()
4099
+ } = t, n = te(t, [
4137
4100
  "locale"
4138
4101
  ]);
4139
- return Ri(Ke({ locale: r }, n));
4140
- }, Di = (e = {}) => {
4102
+ return Hi(Ye({ locale: r }, n));
4103
+ }, Pi = (e = {}) => {
4141
4104
  var t = e, {
4142
- locale: r = k()
4143
- } = t, n = re(t, [
4105
+ locale: r = j()
4106
+ } = t, n = te(t, [
4144
4107
  "locale"
4145
4108
  ]);
4146
- return $i(Ke({ locale: r }, n));
4147
- }, Gi = Te(
4109
+ return wi(Ye({ locale: r }, n));
4110
+ }, Oi = Se(
4148
4111
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4149
- (e, t = k()) => new pi(e, t, ee().formats, {
4150
- ignoreTag: ee().ignoreTag
4112
+ (e, t = j()) => new ni(e, t, K().formats, {
4113
+ ignoreTag: K().ignoreTag
4151
4114
  })
4152
- ), ji = (e, t = {}) => {
4115
+ ), Ci = (e, t = {}) => {
4153
4116
  var r, n, i, o;
4154
4117
  let s = t;
4155
4118
  typeof e == "object" && (s = e, e = s.id);
4156
4119
  const {
4157
4120
  values: a,
4158
- locale: l = k(),
4121
+ locale: l = j(),
4159
4122
  default: u
4160
4123
  } = s;
4161
4124
  if (l == null)
4162
4125
  throw new Error(
4163
4126
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4164
4127
  );
4165
- let h = fr(e, l);
4128
+ let h = or(e, l);
4166
4129
  if (!h)
4167
- h = (o = (i = (n = (r = ee()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4130
+ h = (o = (i = (n = (r = K()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4168
4131
  else if (typeof h != "string")
4169
4132
  return console.warn(
4170
4133
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -4173,7 +4136,7 @@ const se = (e, t) => {
4173
4136
  return h;
4174
4137
  let f = h;
4175
4138
  try {
4176
- f = Gi(h, l).format(a);
4139
+ f = Oi(h, l).format(a);
4177
4140
  } catch (c) {
4178
4141
  c instanceof Error && console.warn(
4179
4142
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4181,17 +4144,17 @@ const se = (e, t) => {
4181
4144
  );
4182
4145
  }
4183
4146
  return f;
4184
- }, ki = (e, t) => Di(t).format(e), Vi = (e, t) => Ui(t).format(e), Xi = (e, t) => Fi(t).format(e), zi = (e, t = k()) => fr(e, t), Wi = te([he, le], () => ji);
4185
- te([he], () => ki);
4186
- te([he], () => Vi);
4187
- te([he], () => Xi);
4188
- te([he, le], () => zi);
4189
- window.emWidgets = { topic: sn };
4190
- const C = (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));
4191
- function Bt(e, t) {
4192
- dr(e, t);
4193
- }
4194
- const Pt = {
4147
+ }, Ni = (e, t) => Pi(t).format(e), Ii = (e, t) => Bi(t).format(e), Mi = (e, t) => Ai(t).format(e), Li = (e, t = j()) => or(e, t), Ri = ee([le, ue], () => Ci);
4148
+ ee([le], () => Ni);
4149
+ ee([le], () => Ii);
4150
+ ee([le], () => Mi);
4151
+ ee([le, ue], () => Li);
4152
+ window.emWidgets = { topic: Zr };
4153
+ const O = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4154
+ function xt(e, t) {
4155
+ ar(e, t);
4156
+ }
4157
+ const St = {
4195
4158
  en: {
4196
4159
  tournaments: "Tournaments",
4197
4160
  all: "All",
@@ -4270,60 +4233,60 @@ const Pt = {
4270
4233
  finished: "Finished"
4271
4234
  }
4272
4235
  };
4273
- function Zi(e) {
4274
- Hr(e, "svelte-szp116", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}ul{display:flex;gap:10px;overflow-x:auto}ul.MobileClass{padding-top:21px}li:first-child{height:100%;position:realtive;padding:1em 0;margin:0;font-size:14px;text-align:center;letter-spacing:0px;color:var(--emw--color-white, #FFFFFF);opacity:1}li.MobileClass{position:absolute;left:10px;top:-15px;font-size:14px;height:auto}button{display:flex;align-items:center;background-color:transparent;justify-content:center;padding:10px;height:40px;border:1px solid var(--emw--color-white, #FFFFFF);min-width:40px;text-align:center;color:var(--emw--color-white, #FFFFFF)}button.MobileClass{height:30px}button:hover{background-color:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--color-black, #000000);cursor:pointer}.FiltersController{color:var(--emw--color-white, #FFFFFF);display:flex;justify-content:flex-end;margin-bottom:20px}.FiltersController.MobileClass{justify-content:flex-start;margin-bottom:10px}.FiltersController .FilterButton{font-size:14px;letter-spacing:0px;opacity:1;text-transform:uppercase}.FiltersController .FilterButton.MobileClass{font-size:10px}.FiltersController .Active{background-color:var(--emw--color-gray-300, #58586B);border:1px solid var(--emw--color-gray-300, #58586B)}.FiltersController .Active:hover{background-color:var(--emw--color-gray-300, #58586B);border:1px solid var(--emw--color-gray-300, #58586B)}");
4236
+ function $i(e) {
4237
+ pr(e, "svelte-szp116", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}ul{display:flex;gap:10px;overflow-x:auto}ul.MobileClass{padding-top:21px}li:first-child{height:100%;position:realtive;padding:1em 0;margin:0;font-size:14px;text-align:center;letter-spacing:0px;color:var(--emw--color-white, #FFFFFF);opacity:1}li.MobileClass{position:absolute;left:10px;top:-15px;font-size:14px;height:auto}button{display:flex;align-items:center;background-color:transparent;justify-content:center;padding:10px;height:40px;border:1px solid var(--emw--color-white, #FFFFFF);min-width:40px;text-align:center;color:var(--emw--color-white, #FFFFFF)}button.MobileClass{height:30px}button:hover{background-color:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--color-black, #000000);cursor:pointer}.FiltersController{color:var(--emw--color-white, #FFFFFF);display:flex;justify-content:flex-end;margin-bottom:20px}.FiltersController.MobileClass{justify-content:flex-start;margin-bottom:10px}.FiltersController .FilterButton{font-size:14px;letter-spacing:0px;opacity:1;text-transform:uppercase}.FiltersController .FilterButton.MobileClass{font-size:10px}.FiltersController .Active{background-color:var(--emw--color-gray-300, #58586B);border:1px solid var(--emw--color-gray-300, #58586B)}.FiltersController .Active:hover{background-color:var(--emw--color-gray-300, #58586B);border:1px solid var(--emw--color-gray-300, #58586B)}");
4275
4238
  }
4276
- function Ot(e, t, r) {
4239
+ function Tt(e, t, r) {
4277
4240
  const n = e.slice();
4278
4241
  return n[22] = t[r], n[24] = r, n;
4279
4242
  }
4280
- function Ct(e) {
4243
+ function Ht(e) {
4281
4244
  let t, r, n = (
4282
4245
  /*$_*/
4283
4246
  e[4]("tournaments") + ""
4284
- ), i, o, s, a = at(
4247
+ ), i, o, s, a = tt(
4285
4248
  /*filterItems*/
4286
4249
  e[1]
4287
4250
  ), l = [];
4288
4251
  for (let u = 0; u < a.length; u += 1)
4289
- l[u] = $t(Ot(e, a, u));
4252
+ l[u] = Ct(Tt(e, a, u));
4290
4253
  return {
4291
4254
  c() {
4292
- t = D("ul"), r = D("li"), i = j(n), o = j(":"), s = W();
4255
+ t = U("ul"), r = U("li"), i = G(n), o = G(":"), s = z();
4293
4256
  for (let u = 0; u < l.length; u += 1)
4294
4257
  l[u].c();
4295
- x(r, "class", "FiltersTitle " + (C(
4258
+ x(r, "class", "FiltersTitle " + (O(
4296
4259
  /*userAgent*/
4297
4260
  e[5]
4298
- ) ? "MobileClass" : "Non-MobileClass/empty")), x(r, "part", "FiltersTitle " + (C(
4261
+ ) ? "MobileClass" : "Non-MobileClass/empty")), x(r, "part", "FiltersTitle " + (O(
4299
4262
  /*userAgent*/
4300
4263
  e[5]
4301
- ) ? "MobileClass" : "Non-MobileClass/empty")), x(t, "class", "FiltersList " + (C(
4264
+ ) ? "MobileClass" : "Non-MobileClass/empty")), x(t, "class", "FiltersList " + (O(
4302
4265
  /*userAgent*/
4303
4266
  e[5]
4304
- ) ? "MobileClass" : "Non-MobileClass/empty")), x(t, "part", "FiltersList " + (C(
4267
+ ) ? "MobileClass" : "Non-MobileClass/empty")), x(t, "part", "FiltersList " + (O(
4305
4268
  /*userAgent*/
4306
4269
  e[5]
4307
4270
  ) ? "MobileClass" : "Non-MobileClass/empty"));
4308
4271
  },
4309
4272
  m(u, h) {
4310
- $(u, t, h), B(t, r), B(r, i), B(r, o), B(t, s);
4273
+ R(u, t, h), B(t, r), B(r, i), B(r, o), B(t, s);
4311
4274
  for (let f = 0; f < l.length; f += 1)
4312
4275
  l[f] && l[f].m(t, null);
4313
4276
  },
4314
4277
  p(u, h) {
4315
4278
  if (h & /*$_*/
4316
4279
  16 && n !== (n = /*$_*/
4317
- u[4]("tournaments") + "") && ue(i, n), h & /*makeButtonActive, filterItems, activeIndexes, allActive, userAgent, $_*/
4280
+ u[4]("tournaments") + "") && ae(i, n), h & /*makeButtonActive, filterItems, activeIndexes, allActive, userAgent, $_*/
4318
4281
  126) {
4319
- a = at(
4282
+ a = tt(
4320
4283
  /*filterItems*/
4321
4284
  u[1]
4322
4285
  );
4323
4286
  let f;
4324
4287
  for (f = 0; f < a.length; f += 1) {
4325
- const c = Ot(u, a, f);
4326
- l[f] ? l[f].p(c, h) : (l[f] = $t(c), l[f].c(), l[f].m(t, null));
4288
+ const c = Tt(u, a, f);
4289
+ l[f] ? l[f].p(c, h) : (l[f] = Ct(c), l[f].c(), l[f].m(t, null));
4327
4290
  }
4328
4291
  for (; f < l.length; f += 1)
4329
4292
  l[f].d(1);
@@ -4331,113 +4294,113 @@ function Ct(e) {
4331
4294
  }
4332
4295
  },
4333
4296
  d(u) {
4334
- u && M(t), Br(l, u);
4297
+ u && I(t), gr(l, u);
4335
4298
  }
4336
4299
  };
4337
4300
  }
4338
- function Nt(e) {
4301
+ function wt(e) {
4339
4302
  let t, r;
4340
4303
  return {
4341
4304
  c() {
4342
- t = ot("svg"), r = ot("path"), x(r, "d", "M10.97 4.97a.75.75 0 0 1 1.07 1.05l-3.99 4.99a.75.75 0 0 1-1.08.02L4.324 8.384a.75.75 0 1 1 1.06-1.06l2.094 2.093 3.473-4.425a.267.267 0 0 1 .02-.022z"), x(t, "xmlns", "http://www.w3.org/2000/svg"), x(t, "width", "16"), x(t, "height", "16"), x(t, "fill", "currentColor"), x(t, "class", "bi bi-check"), x(t, "part", "bi bi-check"), x(t, "viewBox", "0 0 16 16");
4305
+ t = Ke("svg"), r = Ke("path"), x(r, "d", "M10.97 4.97a.75.75 0 0 1 1.07 1.05l-3.99 4.99a.75.75 0 0 1-1.08.02L4.324 8.384a.75.75 0 1 1 1.06-1.06l2.094 2.093 3.473-4.425a.267.267 0 0 1 .02-.022z"), x(t, "xmlns", "http://www.w3.org/2000/svg"), x(t, "width", "16"), x(t, "height", "16"), x(t, "fill", "currentColor"), x(t, "class", "bi bi-check"), x(t, "part", "bi bi-check"), x(t, "viewBox", "0 0 16 16");
4343
4306
  },
4344
4307
  m(n, i) {
4345
- $(n, t, i), B(t, r);
4308
+ R(n, t, i), B(t, r);
4346
4309
  },
4347
4310
  d(n) {
4348
- n && M(t);
4311
+ n && I(t);
4349
4312
  }
4350
4313
  };
4351
4314
  }
4352
- function It(e) {
4315
+ function At(e) {
4353
4316
  let t = (
4354
4317
  /*$_*/
4355
4318
  e[4]("scheduled") + ""
4356
4319
  ), r;
4357
4320
  return {
4358
4321
  c() {
4359
- r = j(t);
4322
+ r = G(t);
4360
4323
  },
4361
4324
  m(n, i) {
4362
- $(n, r, i);
4325
+ R(n, r, i);
4363
4326
  },
4364
4327
  p(n, i) {
4365
4328
  i & /*$_*/
4366
4329
  16 && t !== (t = /*$_*/
4367
- n[4]("scheduled") + "") && ue(r, t);
4330
+ n[4]("scheduled") + "") && ae(r, t);
4368
4331
  },
4369
4332
  d(n) {
4370
- n && M(r);
4333
+ n && I(r);
4371
4334
  }
4372
4335
  };
4373
4336
  }
4374
- function Mt(e) {
4337
+ function Bt(e) {
4375
4338
  let t = (
4376
4339
  /*$_*/
4377
4340
  e[4]("ongoing") + ""
4378
4341
  ), r;
4379
4342
  return {
4380
4343
  c() {
4381
- r = j(t);
4344
+ r = G(t);
4382
4345
  },
4383
4346
  m(n, i) {
4384
- $(n, r, i);
4347
+ R(n, r, i);
4385
4348
  },
4386
4349
  p(n, i) {
4387
4350
  i & /*$_*/
4388
4351
  16 && t !== (t = /*$_*/
4389
- n[4]("ongoing") + "") && ue(r, t);
4352
+ n[4]("ongoing") + "") && ae(r, t);
4390
4353
  },
4391
4354
  d(n) {
4392
- n && M(r);
4355
+ n && I(r);
4393
4356
  }
4394
4357
  };
4395
4358
  }
4396
- function Lt(e) {
4359
+ function Pt(e) {
4397
4360
  let t = (
4398
4361
  /*$_*/
4399
4362
  e[4]("finished") + ""
4400
4363
  ), r;
4401
4364
  return {
4402
4365
  c() {
4403
- r = j(t);
4366
+ r = G(t);
4404
4367
  },
4405
4368
  m(n, i) {
4406
- $(n, r, i);
4369
+ R(n, r, i);
4407
4370
  },
4408
4371
  p(n, i) {
4409
4372
  i & /*$_*/
4410
4373
  16 && t !== (t = /*$_*/
4411
- n[4]("finished") + "") && ue(r, t);
4374
+ n[4]("finished") + "") && ae(r, t);
4412
4375
  },
4413
4376
  d(n) {
4414
- n && M(r);
4377
+ n && I(r);
4415
4378
  }
4416
4379
  };
4417
4380
  }
4418
- function Rt(e) {
4381
+ function Ot(e) {
4419
4382
  let t = (
4420
4383
  /*$_*/
4421
4384
  e[4]("all") + ""
4422
4385
  ), r;
4423
4386
  return {
4424
4387
  c() {
4425
- r = j(t);
4388
+ r = G(t);
4426
4389
  },
4427
4390
  m(n, i) {
4428
- $(n, r, i);
4391
+ R(n, r, i);
4429
4392
  },
4430
4393
  p(n, i) {
4431
4394
  i & /*$_*/
4432
4395
  16 && t !== (t = /*$_*/
4433
- n[4]("all") + "") && ue(r, t);
4396
+ n[4]("all") + "") && ae(r, t);
4434
4397
  },
4435
4398
  d(n) {
4436
- n && M(r);
4399
+ n && I(r);
4437
4400
  }
4438
4401
  };
4439
4402
  }
4440
- function $t(e) {
4403
+ function Ct(e) {
4441
4404
  let t, r, n, i, o, s, a, l, u, h, f, c, d = (
4442
4405
  /*activeIndexes*/
4443
4406
  (e[2][
@@ -4445,21 +4408,21 @@ function $t(e) {
4445
4408
  e[24]
4446
4409
  ] == 1 || /*allActive*/
4447
4410
  e[3] && /*index*/
4448
- e[24] == 0) && Nt()
4411
+ e[24] == 0) && wt()
4449
4412
  ), m = (
4450
4413
  /*filter*/
4451
- e[22] == "Scheduled" && It(e)
4414
+ e[22] == "Scheduled" && At(e)
4452
4415
  ), p = (
4453
4416
  /*filter*/
4454
- e[22] == "Ongoing" && Mt(e)
4417
+ e[22] == "Ongoing" && Bt(e)
4455
4418
  ), _ = (
4456
4419
  /*filter*/
4457
- e[22] == "Finished" && Lt(e)
4420
+ e[22] == "Finished" && Pt(e)
4458
4421
  ), S = (
4459
4422
  /*filter*/
4460
- e[22] == "All" && Rt(e)
4423
+ e[22] == "All" && Ot(e)
4461
4424
  );
4462
- function I() {
4425
+ function N() {
4463
4426
  return (
4464
4427
  /*click_handler*/
4465
4428
  e[12](
@@ -4472,10 +4435,10 @@ function $t(e) {
4472
4435
  }
4473
4436
  return {
4474
4437
  c() {
4475
- t = D("li"), r = D("button"), d && d.c(), n = W(), i = D("div"), m && m.c(), o = W(), p && p.c(), s = W(), _ && _.c(), a = W(), S && S.c(), h = W(), x(i, "class", "FilterButton " + (C(
4438
+ t = U("li"), r = U("button"), d && d.c(), n = z(), i = U("div"), m && m.c(), o = z(), p && p.c(), s = z(), _ && _.c(), a = z(), S && S.c(), h = z(), x(i, "class", "FilterButton " + (O(
4476
4439
  /*userAgent*/
4477
4440
  e[5]
4478
- ) ? "MobileClass" : "Non-MobileClass/empty")), x(i, "part", "FilterButton " + (C(
4441
+ ) ? "MobileClass" : "Non-MobileClass/empty")), x(i, "part", "FilterButton " + (O(
4479
4442
  /*userAgent*/
4480
4443
  e[5]
4481
4444
  ) ? "MobileClass" : "Non-MobileClass/empty")), x(r, "class", l = /*activeIndexes*/
@@ -4484,7 +4447,7 @@ function $t(e) {
4484
4447
  e[24]
4485
4448
  ] == 1 || /*allActive*/
4486
4449
  e[3] && /*index*/
4487
- e[24] == 0 ? "Active" : "") + " " + (C(
4450
+ e[24] == 0 ? "Active" : "") + " " + (O(
4488
4451
  /*userAgent*/
4489
4452
  e[5]
4490
4453
  ) ? "MobileClass" : "Non-MobileClass/empty")), x(r, "part", u = /*activeIndexes*/
@@ -4493,13 +4456,13 @@ function $t(e) {
4493
4456
  e[24]
4494
4457
  ] == 1 || /*allActive*/
4495
4458
  e[3] && /*index*/
4496
- e[24] == 0 ? "Active" : "") + " " + (C(
4459
+ e[24] == 0 ? "Active" : "") + " " + (O(
4497
4460
  /*userAgent*/
4498
4461
  e[5]
4499
4462
  ) ? "MobileClass" : "Non-MobileClass/empty")), x(t, "class", "FiltersItem"), x(t, "part", "FiltersItem");
4500
4463
  },
4501
4464
  m(T, w) {
4502
- $(T, t, w), B(t, r), d && d.m(r, null), B(r, n), B(r, i), m && m.m(i, null), B(i, o), p && p.m(i, null), B(i, s), _ && _.m(i, null), B(i, a), S && S.m(i, null), B(t, h), f || (c = Pr(t, "click", I), f = !0);
4465
+ R(T, t, w), B(t, r), d && d.m(r, null), B(r, n), B(r, i), m && m.m(i, null), B(i, o), p && p.m(i, null), B(i, s), _ && _.m(i, null), B(i, a), S && S.m(i, null), B(t, h), f || (c = yr(t, "click", N), f = !0);
4503
4466
  },
4504
4467
  p(T, w) {
4505
4468
  e = T, /*activeIndexes*/
@@ -4508,18 +4471,18 @@ function $t(e) {
4508
4471
  e[24]
4509
4472
  ] == 1 || /*allActive*/
4510
4473
  e[3] && /*index*/
4511
- e[24] == 0 ? d || (d = Nt(), d.c(), d.m(r, n)) : d && (d.d(1), d = null), /*filter*/
4512
- e[22] == "Scheduled" ? m ? m.p(e, w) : (m = It(e), m.c(), m.m(i, o)) : m && (m.d(1), m = null), /*filter*/
4513
- e[22] == "Ongoing" ? p ? p.p(e, w) : (p = Mt(e), p.c(), p.m(i, s)) : p && (p.d(1), p = null), /*filter*/
4514
- e[22] == "Finished" ? _ ? _.p(e, w) : (_ = Lt(e), _.c(), _.m(i, a)) : _ && (_.d(1), _ = null), /*filter*/
4515
- e[22] == "All" ? S ? S.p(e, w) : (S = Rt(e), S.c(), S.m(i, null)) : S && (S.d(1), S = null), w & /*activeIndexes, allActive*/
4474
+ e[24] == 0 ? d || (d = wt(), d.c(), d.m(r, n)) : d && (d.d(1), d = null), /*filter*/
4475
+ e[22] == "Scheduled" ? m ? m.p(e, w) : (m = At(e), m.c(), m.m(i, o)) : m && (m.d(1), m = null), /*filter*/
4476
+ e[22] == "Ongoing" ? p ? p.p(e, w) : (p = Bt(e), p.c(), p.m(i, s)) : p && (p.d(1), p = null), /*filter*/
4477
+ e[22] == "Finished" ? _ ? _.p(e, w) : (_ = Pt(e), _.c(), _.m(i, a)) : _ && (_.d(1), _ = null), /*filter*/
4478
+ e[22] == "All" ? S ? S.p(e, w) : (S = Ot(e), S.c(), S.m(i, null)) : S && (S.d(1), S = null), w & /*activeIndexes, allActive*/
4516
4479
  12 && l !== (l = /*activeIndexes*/
4517
4480
  (e[2][
4518
4481
  /*index*/
4519
4482
  e[24]
4520
4483
  ] == 1 || /*allActive*/
4521
4484
  e[3] && /*index*/
4522
- e[24] == 0 ? "Active" : "") + " " + (C(
4485
+ e[24] == 0 ? "Active" : "") + " " + (O(
4523
4486
  /*userAgent*/
4524
4487
  e[5]
4525
4488
  ) ? "MobileClass" : "Non-MobileClass/empty")) && x(r, "class", l), w & /*activeIndexes, allActive*/
@@ -4529,60 +4492,60 @@ function $t(e) {
4529
4492
  e[24]
4530
4493
  ] == 1 || /*allActive*/
4531
4494
  e[3] && /*index*/
4532
- e[24] == 0 ? "Active" : "") + " " + (C(
4495
+ e[24] == 0 ? "Active" : "") + " " + (O(
4533
4496
  /*userAgent*/
4534
4497
  e[5]
4535
4498
  ) ? "MobileClass" : "Non-MobileClass/empty")) && x(r, "part", u);
4536
4499
  },
4537
4500
  d(T) {
4538
- T && M(t), d && d.d(), m && m.d(), p && p.d(), _ && _.d(), S && S.d(), f = !1, c();
4501
+ T && I(t), d && d.d(), m && m.d(), p && p.d(), _ && _.d(), S && S.d(), f = !1, c();
4539
4502
  }
4540
4503
  };
4541
4504
  }
4542
- function Qi(e) {
4505
+ function Fi(e) {
4543
4506
  let t, r = (
4544
4507
  /*filterItems*/
4545
- e[1].length > 0 && Ct(e)
4508
+ e[1].length > 0 && Ht(e)
4546
4509
  );
4547
4510
  return {
4548
4511
  c() {
4549
- t = D("div"), r && r.c(), x(t, "class", "FiltersController " + (C(
4512
+ t = U("div"), r && r.c(), x(t, "class", "FiltersController " + (O(
4550
4513
  /*userAgent*/
4551
4514
  e[5]
4552
- ) ? "MobileClass" : "Non-MobileClass/empty")), x(t, "part", "FiltersController " + (C(
4515
+ ) ? "MobileClass" : "Non-MobileClass/empty")), x(t, "part", "FiltersController " + (O(
4553
4516
  /*userAgent*/
4554
4517
  e[5]
4555
4518
  ) ? "MobileClass" : "Non-MobileClass/empty"));
4556
4519
  },
4557
4520
  m(n, i) {
4558
- $(n, t, i), r && r.m(t, null), e[13](t);
4521
+ R(n, t, i), r && r.m(t, null), e[13](t);
4559
4522
  },
4560
4523
  p(n, [i]) {
4561
4524
  /*filterItems*/
4562
- n[1].length > 0 ? r ? r.p(n, i) : (r = Ct(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
4525
+ n[1].length > 0 ? r ? r.p(n, i) : (r = Ht(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
4563
4526
  },
4564
- i: N,
4565
- o: N,
4527
+ i: C,
4528
+ o: C,
4566
4529
  d(n) {
4567
- n && M(t), r && r.d(), e[13](null);
4530
+ n && I(t), r && r.d(), e[13](null);
4568
4531
  }
4569
4532
  };
4570
4533
  }
4571
- function Ji(e, t, r) {
4534
+ function Ui(e, t, r) {
4572
4535
  let n;
4573
- Tr(e, Wi, (y) => r(4, n = y));
4536
+ dr(e, Ri, (y) => r(4, n = y));
4574
4537
  let { filters: i = "" } = t, { activefilters: o = "" } = t, { translationurl: s = "" } = t, { clientstyling: a = "" } = t, { clientstylingurl: l = "" } = t, u, h = [], f = 0, c = new Array(100), d = !0, m = window.navigator.userAgent;
4575
4538
  const p = () => {
4576
4539
  fetch(s).then((H) => H.json()).then((H) => {
4577
4540
  Object.keys(H).forEach((P) => {
4578
- Bt(P, H[P]);
4541
+ xt(P, H[P]);
4579
4542
  });
4580
4543
  }).catch((H) => {
4581
4544
  console.log(H);
4582
4545
  });
4583
4546
  };
4584
- Object.keys(Pt).forEach((y) => {
4585
- Bt(y, Pt[y]);
4547
+ Object.keys(St).forEach((y) => {
4548
+ xt(y, St[y]);
4586
4549
  });
4587
4550
  const _ = (y, H) => {
4588
4551
  if (H == 0)
@@ -4603,8 +4566,8 @@ function Ji(e, t, r) {
4603
4566
  );
4604
4567
  else {
4605
4568
  let P = [];
4606
- for (let fe = 0; fe < h.length; fe++)
4607
- c[fe] == 1 && P.push(h[fe]);
4569
+ for (let he = 0; he < h.length; he++)
4570
+ c[he] == 1 && P.push(h[he]);
4608
4571
  window.postMessage(
4609
4572
  {
4610
4573
  type: "TournamentsFiltersSelected",
@@ -4615,7 +4578,7 @@ function Ji(e, t, r) {
4615
4578
  }
4616
4579
  }, S = () => {
4617
4580
  r(1, h = i.split(",")), f = h.length;
4618
- }, I = () => {
4581
+ }, N = () => {
4619
4582
  let y = o.split(",");
4620
4583
  r(2, c = new Array(f)), y.indexOf("All") != -1 ? r(3, d = !0) : (r(3, d = !1), y.forEach((H) => {
4621
4584
  let P = h.indexOf(H);
@@ -4638,9 +4601,9 @@ function Ji(e, t, r) {
4638
4601
  500
4639
4602
  );
4640
4603
  });
4641
- }, L = (y, H) => _(y, H);
4642
- function V(y) {
4643
- Ie[y ? "unshift" : "push"](() => {
4604
+ }, M = (y, H) => _(y, H);
4605
+ function k(y) {
4606
+ Ce[y ? "unshift" : "push"](() => {
4644
4607
  u = y, r(0, u);
4645
4608
  });
4646
4609
  }
@@ -4652,7 +4615,7 @@ function Ji(e, t, r) {
4652
4615
  2049 && u && l && w(), e.$$.dirty & /*translationurl*/
4653
4616
  512 && s && p(), e.$$.dirty & /*filters*/
4654
4617
  128 && i && S(), e.$$.dirty & /*activefilters*/
4655
- 256 && o && I();
4618
+ 256 && o && N();
4656
4619
  }, [
4657
4620
  u,
4658
4621
  h,
@@ -4666,18 +4629,18 @@ function Ji(e, t, r) {
4666
4629
  s,
4667
4630
  a,
4668
4631
  l,
4669
- L,
4670
- V
4632
+ M,
4633
+ k
4671
4634
  ];
4672
4635
  }
4673
- class Yi extends kr {
4636
+ class Di extends Nr {
4674
4637
  constructor(t) {
4675
- super(), Gr(
4638
+ super(), Or(
4676
4639
  this,
4677
4640
  t,
4678
- Ji,
4679
- Qi,
4680
- Ut,
4641
+ Ui,
4642
+ Fi,
4643
+ It,
4681
4644
  {
4682
4645
  filters: 7,
4683
4646
  activefilters: 8,
@@ -4685,41 +4648,41 @@ class Yi extends kr {
4685
4648
  clientstyling: 10,
4686
4649
  clientstylingurl: 11
4687
4650
  },
4688
- Zi
4651
+ $i
4689
4652
  );
4690
4653
  }
4691
4654
  get filters() {
4692
4655
  return this.$$.ctx[7];
4693
4656
  }
4694
4657
  set filters(t) {
4695
- this.$$set({ filters: t }), G();
4658
+ this.$$set({ filters: t }), D();
4696
4659
  }
4697
4660
  get activefilters() {
4698
4661
  return this.$$.ctx[8];
4699
4662
  }
4700
4663
  set activefilters(t) {
4701
- this.$$set({ activefilters: t }), G();
4664
+ this.$$set({ activefilters: t }), D();
4702
4665
  }
4703
4666
  get translationurl() {
4704
4667
  return this.$$.ctx[9];
4705
4668
  }
4706
4669
  set translationurl(t) {
4707
- this.$$set({ translationurl: t }), G();
4670
+ this.$$set({ translationurl: t }), D();
4708
4671
  }
4709
4672
  get clientstyling() {
4710
4673
  return this.$$.ctx[10];
4711
4674
  }
4712
4675
  set clientstyling(t) {
4713
- this.$$set({ clientstyling: t }), G();
4676
+ this.$$set({ clientstyling: t }), D();
4714
4677
  }
4715
4678
  get clientstylingurl() {
4716
4679
  return this.$$.ctx[11];
4717
4680
  }
4718
4681
  set clientstylingurl(t) {
4719
- this.$$set({ clientstylingurl: t }), G();
4682
+ this.$$set({ clientstylingurl: t }), D();
4720
4683
  }
4721
4684
  }
4722
- jr(Yi, { filters: {}, activefilters: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
4685
+ Cr(Di, { filters: {}, activefilters: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
4723
4686
  export {
4724
- Yi as default
4687
+ Di as C
4725
4688
  };