@everymatrix/casino-tournaments-filter-controller 1.53.0 → 1.53.10

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 Er = Object.defineProperty, xr = Object.defineProperties;
2
- var Sr = Object.getOwnPropertyDescriptors;
3
- var rt = Object.getOwnPropertySymbols;
4
- var Tr = Object.prototype.hasOwnProperty, Hr = Object.prototype.propertyIsEnumerable;
5
- var He = (e, t, r) => t in e ? Er(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, nt = (e, t) => {
6
- for (var r in t || (t = {}))
7
- Tr.call(t, r) && He(e, r, t[r]);
8
- if (rt)
9
- for (var r of rt(t))
10
- Hr.call(t, r) && He(e, r, t[r]);
11
- return e;
12
- }, it = (e, t) => xr(e, Sr(t));
13
- var O = (e, t, r) => He(e, typeof t != "symbol" ? t + "" : t, r);
14
- var ot = (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 I() {
1
+ function C() {
31
2
  }
32
- function Dt(e) {
3
+ function Nt(e) {
33
4
  return e();
34
5
  }
35
- function st() {
6
+ function qe() {
36
7
  return /* @__PURE__ */ Object.create(null);
37
8
  }
38
- function ae(e) {
39
- e.forEach(Dt);
9
+ function se(e) {
10
+ e.forEach(Nt);
40
11
  }
41
- function Je(e) {
12
+ function We(e) {
42
13
  return typeof e == "function";
43
14
  }
44
- function Gt(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 wr(e) {
18
+ function cr(e) {
48
19
  return Object.keys(e).length === 0;
49
20
  }
50
- function jt(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 I;
25
+ return C;
55
26
  }
56
27
  const r = e.subscribe(...t);
57
28
  return r.unsubscribe ? () => r.unsubscribe() : r;
58
29
  }
59
- function Ar(e, t, r) {
60
- e.$$.on_destroy.push(jt(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 Br(e, t, r) {
66
- const n = Pr(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, Or(n, i);
39
+ const i = U("style");
40
+ i.id = t, i.textContent = r, br(n, i);
70
41
  }
71
42
  }
72
- function Pr(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 Pr(e) {
78
49
  t
79
50
  ) : e.ownerDocument;
80
51
  }
81
- function Or(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 Cr(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 at(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 Ir(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 Nr(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 Mr(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 Mr(e) {
129
100
  }
130
101
  ), t;
131
102
  }
132
- let Ye;
133
- function ie(e) {
134
- Ye = e;
103
+ let Ze;
104
+ function ne(e) {
105
+ Ze = e;
135
106
  }
136
- const Z = [], Me = [];
137
- let Q = [];
138
- const ut = [], Lr = /* @__PURE__ */ Promise.resolve();
139
- let Le = !1;
140
- function Rr() {
141
- Le || (Le = !0, Lr.then(G));
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));
142
113
  }
143
- function Re(e) {
144
- Q.push(e);
114
+ function Ie(e) {
115
+ Z.push(e);
145
116
  }
146
- const we = /* @__PURE__ */ new Set();
147
- let X = 0;
148
- function G() {
149
- if (X !== 0)
117
+ const Te = /* @__PURE__ */ new Set();
118
+ let V = 0;
119
+ function D() {
120
+ if (V !== 0)
150
121
  return;
151
- const e = Ye;
122
+ const e = Ze;
152
123
  do {
153
124
  try {
154
- for (; X < Z.length; ) {
155
- const t = Z[X];
156
- X++, ie(t), $r(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; Me.length; ) Me.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 (; ut.length; )
169
- ut.pop()();
170
- Le = !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 $r(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(Re);
147
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ie);
177
148
  }
178
149
  }
179
- function Fr(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 Ur = /* @__PURE__ */ new Set();
184
- function Dr(e, t) {
185
- e && e.i && (Ur.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 lt(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 Gr(e, t, r) {
161
+ function Ar(e, t, r) {
191
162
  const { fragment: n, after_update: i } = e.$$;
192
- n && n.m(t, r), Re(() => {
193
- const o = e.$$.on_mount.map(Dt).filter(Je);
194
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ae(o), e.$$.on_mount = [];
195
- }), i.forEach(Re);
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 jr(e, t) {
168
+ function Br(e, t) {
198
169
  const r = e.$$;
199
- r.fragment !== null && (Fr(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 kr(e, t) {
202
- e.$$.dirty[0] === -1 && (Z.push(e), Rr(), 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 Vr(e, t, r, n, i, o, s = null, a = [-1]) {
205
- const l = Ye;
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: I,
183
+ update: C,
213
184
  not_equal: i,
214
- bound: st(),
185
+ bound: qe(),
215
186
  // lifecycle
216
187
  on_mount: [],
217
188
  on_destroy: [],
@@ -220,150 +191,146 @@ function Vr(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: st(),
194
+ callbacks: qe(),
224
195
  dirty: a,
225
196
  skip_bound: !1,
226
197
  root: t.target || l.$$.root
227
198
  };
228
199
  s && s(u.root);
229
200
  let h = !1;
230
- if (u.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
231
- const m = p.length ? p[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 && kr(e, f)), c;
233
- }) : [], u.update(), h = !0, ae(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
201
+ if (u.ctx = r(e, t.props || {}, (f, c, ...d) => {
202
+ const m = d.length ? d[0] : c;
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 = Nr(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 && Dr(e.$$.fragment), Gr(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 kt;
244
- typeof HTMLElement == "function" && (kt = 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 ot(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 = Mr(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] = de(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: it(nt({}, 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 = de(
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] = de(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
332
  function de(e, t, r, n) {
365
- var o;
366
- const i = (o = r[e]) == null ? void 0 : o.type;
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 de(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 de(e, t, r, n) {
391
358
  return t;
392
359
  }
393
360
  }
394
- function Xr(e, t, r, n, i, o) {
395
- let s = class extends kt {
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 Xr(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 = de(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 zr {
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
- jr(this, 1), this.$destroy = I;
409
+ Br(this, 1), this.$destroy = C;
447
410
  }
448
411
  /**
449
412
  * @template {Extract<keyof Events, string>} K
@@ -452,8 +415,8 @@ class zr {
452
415
  * @returns {() => void}
453
416
  */
454
417
  $on(t, r) {
455
- if (!Je(r))
456
- return I;
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,37 +428,37 @@ class zr {
465
428
  * @returns {void}
466
429
  */
467
430
  $set(t) {
468
- this.$$set && !wr(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 Wr = "4";
472
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Wr);
473
- var $e = function(e, t) {
474
- return $e = 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
- }, $e(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
- $e(e, t);
446
+ Me(e, t);
484
447
  function r() {
485
448
  this.constructor = e;
486
449
  }
487
450
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
488
451
  }
489
- var y = function() {
490
- return y = Object.assign || function(t) {
452
+ var v = function() {
453
+ return v = Object.assign || function(t) {
491
454
  for (var r, n = 1, i = arguments.length; n < i; n++) {
492
455
  r = arguments[n];
493
456
  for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
494
457
  }
495
458
  return t;
496
- }, y.apply(this, arguments);
459
+ }, v.apply(this, arguments);
497
460
  };
498
- function Zr(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 Zr(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 Fe(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 Fe(e) {
513
476
  };
514
477
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
515
478
  }
516
- function Ue(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 Ue(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 Vt(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 = Vt(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 = Vt(function(e) {
553
516
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
554
517
  };
555
518
  });
556
- function De(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,12 +534,12 @@ var _e = function() {
571
534
  if (s)
572
535
  if (this._parentage = null, Array.isArray(s))
573
536
  try {
574
- for (var a = Fe(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
  }
578
- } catch (d) {
579
- t = { error: d };
541
+ } catch (p) {
542
+ t = { error: p };
580
543
  } finally {
581
544
  try {
582
545
  l && !l.done && (r = a.return) && r.call(a);
@@ -587,42 +550,42 @@ 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
- } catch (d) {
594
- o = d instanceof Ae ? d.errors : [d];
556
+ } catch (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 = Fe(f), p = c.next(); !p.done; p = c.next()) {
601
- var m = p.value;
563
+ for (var c = Le(f), d = c.next(); !d.done; d = c.next()) {
564
+ var m = d.value;
602
565
  try {
603
- ht(m);
604
- } catch (d) {
605
- o = o != null ? o : [], d instanceof Ae ? o = J(J([], Ue(o)), Ue(d.errors)) : o.push(d);
566
+ rt(m);
567
+ } catch (p) {
568
+ o = o ?? [], p instanceof He ? o = Q(Q([], Re(o)), Re(p.errors)) : o.push(p);
606
569
  }
607
570
  }
608
- } catch (d) {
609
- n = { error: d };
571
+ } catch (p) {
572
+ n = { error: p };
610
573
  } finally {
611
574
  try {
612
- p && !p.done && (i = c.return) && i.call(c);
575
+ d && !d.done && (i = c.return) && i.call(c);
613
576
  } finally {
614
577
  if (n) throw n.error;
615
578
  }
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
- ht(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) && De(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 && De(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
- }(), Xt = _e.EMPTY;
651
- function zt(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 ht(e) {
655
- R(e) ? e() : e.unsubscribe();
617
+ function rt(e) {
618
+ L(e) ? e() : e.unsubscribe();
656
619
  }
657
- var Wt = {
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
- }, Qr = {
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], Ue(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 Jr(e) {
675
- Qr.setTimeout(function() {
637
+ function $r(e) {
638
+ Rr.setTimeout(function() {
676
639
  throw e;
677
640
  });
678
641
  }
679
- function ft() {
642
+ function nt() {
680
643
  }
681
- function me(e) {
644
+ function pe(e) {
682
645
  e();
683
646
  }
684
- var Zt = 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, zt(r) && r.add(n)) : n.destination = en, 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 Ge(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,11 +675,7 @@ var Zt = function(e) {
712
675
  this.unsubscribe();
713
676
  }
714
677
  }, t;
715
- }(_e), Yr = Function.prototype.bind;
716
- function Be(e, t) {
717
- return Yr.call(e, t);
718
- }
719
- var qr = function() {
678
+ }(ve), Fr = function() {
720
679
  function e(t) {
721
680
  this.partialObserver = t;
722
681
  }
@@ -726,7 +685,7 @@ var qr = function() {
726
685
  try {
727
686
  r.next(t);
728
687
  } catch (n) {
729
- ce(n);
688
+ fe(n);
730
689
  }
731
690
  }, e.prototype.error = function(t) {
732
691
  var r = this.partialObserver;
@@ -734,68 +693,56 @@ var qr = function() {
734
693
  try {
735
694
  r.error(t);
736
695
  } catch (n) {
737
- ce(n);
696
+ fe(n);
738
697
  }
739
698
  else
740
- ce(t);
699
+ fe(t);
741
700
  }, e.prototype.complete = function() {
742
701
  var t = this.partialObserver;
743
702
  if (t.complete)
744
703
  try {
745
704
  t.complete();
746
705
  } catch (r) {
747
- ce(r);
706
+ fe(r);
748
707
  }
749
708
  }, e;
750
- }(), Ge = function(e) {
751
- F(t, e);
709
+ }(), Fe = function(e) {
710
+ $(t, e);
752
711
  function t(r, n, i) {
753
712
  var o = e.call(this) || this, s;
754
- if (R(r) || !r)
755
- s = {
756
- next: r != null ? r : void 0,
757
- error: n != null ? n : void 0,
758
- complete: i != null ? i : void 0
759
- };
760
- else {
761
- var a;
762
- o && Wt.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
763
- return o.unsubscribe();
764
- }, s = {
765
- next: r.next && Be(r.next, a),
766
- error: r.error && Be(r.error, a),
767
- complete: r.complete && Be(r.complete, a)
768
- }) : s = r;
769
- }
770
- return 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;
771
718
  }
772
719
  return t;
773
- }(Zt);
774
- function ce(e) {
775
- Jr(e);
720
+ }(Ut);
721
+ function fe(e) {
722
+ $r(e);
776
723
  }
777
- function Kr(e) {
724
+ function Ur(e) {
778
725
  throw e;
779
726
  }
780
- var en = {
727
+ var Dr = {
781
728
  closed: !0,
782
- next: ft,
783
- error: Kr,
784
- complete: ft
785
- }, tn = function() {
729
+ next: nt,
730
+ error: Ur,
731
+ complete: nt
732
+ }, Gr = function() {
786
733
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
787
734
  }();
788
- function rn(e) {
735
+ function jr(e) {
789
736
  return e;
790
737
  }
791
- function nn(e) {
792
- return e.length === 0 ? rn : e.length === 1 ? e[0] : function(r) {
738
+ function kr(e) {
739
+ return e.length === 0 ? jr : e.length === 1 ? e[0] : function(r) {
793
740
  return e.reduce(function(n, i) {
794
741
  return i(n);
795
742
  }, r);
796
743
  };
797
744
  }
798
- var ct = function() {
745
+ var it = function() {
799
746
  function e(t) {
800
747
  t && (this._subscribe = t);
801
748
  }
@@ -803,8 +750,8 @@ var ct = function() {
803
750
  var r = new e();
804
751
  return r.source = this, r.operator = t, r;
805
752
  }, e.prototype.subscribe = function(t, r, n) {
806
- var i = this, o = sn(t) ? t : new Ge(t, r, n);
807
- return me(function() {
753
+ var i = this, o = Xr(t) ? t : new Fe(t, r, n);
754
+ return pe(function() {
808
755
  var s = i, a = s.operator, l = s.source;
809
756
  o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
810
757
  }), o;
@@ -816,8 +763,8 @@ var ct = function() {
816
763
  }
817
764
  }, e.prototype.forEach = function(t, r) {
818
765
  var n = this;
819
- return r = pt(r), new r(function(i, o) {
820
- var s = new Ge({
766
+ return r = ot(r), new r(function(i, o) {
767
+ var s = new Fe({
821
768
  next: function(a) {
822
769
  try {
823
770
  t(a);
@@ -833,15 +780,15 @@ var ct = function() {
833
780
  }, e.prototype._subscribe = function(t) {
834
781
  var r;
835
782
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
836
- }, e.prototype[tn] = function() {
783
+ }, e.prototype[Gr] = function() {
837
784
  return this;
838
785
  }, e.prototype.pipe = function() {
839
786
  for (var t = [], r = 0; r < arguments.length; r++)
840
787
  t[r] = arguments[r];
841
- return nn(t)(this);
788
+ return kr(t)(this);
842
789
  }, e.prototype.toPromise = function(t) {
843
790
  var r = this;
844
- return t = pt(t), new t(function(n, i) {
791
+ return t = ot(t), new t(function(n, i) {
845
792
  var o;
846
793
  r.subscribe(function(s) {
847
794
  return o = s;
@@ -855,40 +802,40 @@ var ct = function() {
855
802
  return new e(t);
856
803
  }, e;
857
804
  }();
858
- function pt(e) {
805
+ function ot(e) {
859
806
  var t;
860
- return (t = e != null ? e : Wt.Promise) !== null && t !== void 0 ? t : Promise;
807
+ return (t = e ?? Lr.Promise) !== null && t !== void 0 ? t : Promise;
861
808
  }
862
- function on(e) {
863
- 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);
864
811
  }
865
- function sn(e) {
866
- return e && e instanceof Zt || on(e) && zt(e);
812
+ function Xr(e) {
813
+ return e && e instanceof Ut || Vr(e) && Ft(e);
867
814
  }
868
- var an = Vt(function(e) {
815
+ var zr = Rt(function(e) {
869
816
  return function() {
870
817
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
871
818
  };
872
- }), Qt = function(e) {
873
- F(t, e);
819
+ }), Dt = function(e) {
820
+ $(t, e);
874
821
  function t() {
875
822
  var r = e.call(this) || this;
876
823
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
877
824
  }
878
825
  return t.prototype.lift = function(r) {
879
- var n = new dt(this, this);
826
+ var n = new st(this, this);
880
827
  return n.operator = r, n;
881
828
  }, t.prototype._throwIfClosed = function() {
882
829
  if (this.closed)
883
- throw new an();
830
+ throw new zr();
884
831
  }, t.prototype.next = function(r) {
885
832
  var n = this;
886
- me(function() {
833
+ pe(function() {
887
834
  var i, o;
888
835
  if (n._throwIfClosed(), !n.isStopped) {
889
836
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
890
837
  try {
891
- for (var s = Fe(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()) {
892
839
  var l = a.value;
893
840
  l.next(r);
894
841
  }
@@ -905,7 +852,7 @@ var an = Vt(function(e) {
905
852
  });
906
853
  }, t.prototype.error = function(r) {
907
854
  var n = this;
908
- me(function() {
855
+ pe(function() {
909
856
  if (n._throwIfClosed(), !n.isStopped) {
910
857
  n.hasError = n.isStopped = !0, n.thrownError = r;
911
858
  for (var i = n.observers; i.length; )
@@ -914,7 +861,7 @@ var an = Vt(function(e) {
914
861
  });
915
862
  }, t.prototype.complete = function() {
916
863
  var r = this;
917
- me(function() {
864
+ pe(function() {
918
865
  if (r._throwIfClosed(), !r.isStopped) {
919
866
  r.isStopped = !0;
920
867
  for (var n = r.observers; n.length; )
@@ -936,20 +883,20 @@ var an = Vt(function(e) {
936
883
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
937
884
  }, t.prototype._innerSubscribe = function(r) {
938
885
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
939
- return o || s ? Xt : (this.currentObservers = null, a.push(r), new _e(function() {
940
- n.currentObservers = null, De(a, r);
886
+ return o || s ? $t : (this.currentObservers = null, a.push(r), new ve(function() {
887
+ n.currentObservers = null, $e(a, r);
941
888
  }));
942
889
  }, t.prototype._checkFinalizedStatuses = function(r) {
943
890
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
944
891
  i ? r.error(o) : s && r.complete();
945
892
  }, t.prototype.asObservable = function() {
946
- var r = new ct();
893
+ var r = new it();
947
894
  return r.source = this, r;
948
895
  }, t.create = function(r, n) {
949
- return new dt(r, n);
896
+ return new st(r, n);
950
897
  }, t;
951
- }(ct), dt = function(e) {
952
- F(t, e);
898
+ }(it), st = function(e) {
899
+ $(t, e);
953
900
  function t(r, n) {
954
901
  var i = e.call(this) || this;
955
902
  return i.destination = r, i.source = n, i;
@@ -965,17 +912,17 @@ var an = Vt(function(e) {
965
912
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
966
913
  }, t.prototype._subscribe = function(r) {
967
914
  var n, i;
968
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Xt;
915
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : $t;
969
916
  }, t;
970
- }(Qt), Jt = {
917
+ }(Dt), Gt = {
971
918
  now: function() {
972
- return (Jt.delegate || Date).now();
919
+ return (Gt.delegate || Date).now();
973
920
  },
974
921
  delegate: void 0
975
- }, un = function(e) {
976
- F(t, e);
922
+ }, Wr = function(e) {
923
+ $(t, e);
977
924
  function t(r, n, i) {
978
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Jt);
925
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Gt);
979
926
  var o = e.call(this) || this;
980
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;
981
928
  }
@@ -995,200 +942,202 @@ var an = Vt(function(e) {
995
942
  u && o.splice(0, u + 1);
996
943
  }
997
944
  }, t;
998
- }(Qt);
999
- const mt = [], bt = {}, ln = (e, t = 0) => {
1000
- if (mt.indexOf(e) == -1) {
1001
- const r = new un(t);
1002
- bt[e] = r, mt.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);
1003
950
  }
1004
- return bt[e];
1005
- }, z = [];
1006
- function hn(e, t) {
951
+ return ut[e];
952
+ }, X = [];
953
+ function Qr(e, t) {
1007
954
  return {
1008
- subscribe: Ee(e, t).subscribe
955
+ subscribe: _e(e, t).subscribe
1009
956
  };
1010
957
  }
1011
- function Ee(e, t = I) {
958
+ function _e(e, t = C) {
1012
959
  let r;
1013
960
  const n = /* @__PURE__ */ new Set();
1014
961
  function i(a) {
1015
- if (Gt(e, a) && (e = a, r)) {
1016
- const l = !z.length;
962
+ if (It(e, a) && (e = a, r)) {
963
+ const l = !X.length;
1017
964
  for (const u of n)
1018
- u[1](), z.push(u, e);
965
+ u[1](), X.push(u, e);
1019
966
  if (l) {
1020
- for (let u = 0; u < z.length; u += 2)
1021
- z[u][0](z[u + 1]);
1022
- z.length = 0;
967
+ for (let u = 0; u < X.length; u += 2)
968
+ X[u][0](X[u + 1]);
969
+ X.length = 0;
1023
970
  }
1024
971
  }
1025
972
  }
1026
973
  function o(a) {
1027
974
  i(a(e));
1028
975
  }
1029
- function s(a, l = I) {
976
+ function s(a, l = C) {
1030
977
  const u = [a, l];
1031
- return n.add(u), n.size === 1 && (r = t(i, o) || I), a(e), () => {
978
+ return n.add(u), n.size === 1 && (r = t(i, o) || C), a(e), () => {
1032
979
  n.delete(u), n.size === 0 && r && (r(), r = null);
1033
980
  };
1034
981
  }
1035
982
  return { set: i, update: o, subscribe: s };
1036
983
  }
1037
- function te(e, t, r) {
984
+ function ee(e, t, r) {
1038
985
  const n = !Array.isArray(e), i = n ? [e] : e;
1039
986
  if (!i.every(Boolean))
1040
987
  throw new Error("derived() expects stores as input, got a falsy value");
1041
988
  const o = t.length < 2;
1042
- return hn(r, (s, a) => {
989
+ return Qr(r, (s, a) => {
1043
990
  let l = !1;
1044
991
  const u = [];
1045
- let h = 0, f = I;
992
+ let h = 0, f = C;
1046
993
  const c = () => {
1047
994
  if (h)
1048
995
  return;
1049
996
  f();
1050
997
  const m = t(n ? u[0] : u, s, a);
1051
- o ? s(m) : f = Je(m) ? m : I;
1052
- }, p = i.map(
1053
- (m, d) => jt(
998
+ o ? s(m) : f = We(m) ? m : C;
999
+ }, d = i.map(
1000
+ (m, p) => Mt(
1054
1001
  m,
1055
1002
  (_) => {
1056
- u[d] = _, h &= ~(1 << d), l && c();
1003
+ u[p] = _, h &= ~(1 << p), l && c();
1057
1004
  },
1058
1005
  () => {
1059
- h |= 1 << d;
1006
+ h |= 1 << p;
1060
1007
  }
1061
1008
  )
1062
1009
  );
1063
1010
  return l = !0, c(), function() {
1064
- ae(p), f(), l = !1;
1011
+ se(d), f(), l = !1;
1065
1012
  };
1066
1013
  });
1067
1014
  }
1068
- function fn(e) {
1069
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1015
+ function Jr(e) {
1016
+ return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1070
1017
  }
1071
- var cn = function(t) {
1072
- return pn(t) && !dn(t);
1018
+ var Yr = function(t) {
1019
+ return qr(t) && !Kr(t);
1073
1020
  };
1074
- function pn(e) {
1021
+ function qr(e) {
1075
1022
  return !!e && typeof e == "object";
1076
1023
  }
1077
- function dn(e) {
1024
+ function Kr(e) {
1078
1025
  var t = Object.prototype.toString.call(e);
1079
- return t === "[object RegExp]" || t === "[object Date]" || gn(e);
1026
+ return t === "[object RegExp]" || t === "[object Date]" || rn(e);
1080
1027
  }
1081
- var mn = typeof Symbol == "function" && Symbol.for, bn = mn ? Symbol.for("react.element") : 60103;
1082
- function gn(e) {
1083
- return e.$$typeof === bn;
1028
+ var en = typeof Symbol == "function" && Symbol.for, tn = en ? Symbol.for("react.element") : 60103;
1029
+ function rn(e) {
1030
+ return e.$$typeof === tn;
1084
1031
  }
1085
- function vn(e) {
1032
+ function nn(e) {
1086
1033
  return Array.isArray(e) ? [] : {};
1087
1034
  }
1088
- function oe(e, t) {
1089
- return t.clone !== !1 && t.isMergeableObject(e) ? Y(vn(e), e, t) : e;
1035
+ function ie(e, t) {
1036
+ return t.clone !== !1 && t.isMergeableObject(e) ? J(nn(e), e, t) : e;
1090
1037
  }
1091
- function yn(e, t, r) {
1038
+ function on(e, t, r) {
1092
1039
  return e.concat(t).map(function(n) {
1093
- return oe(n, r);
1040
+ return ie(n, r);
1094
1041
  });
1095
1042
  }
1096
- function _n(e, t) {
1043
+ function sn(e, t) {
1097
1044
  if (!t.customMerge)
1098
- return Y;
1045
+ return J;
1099
1046
  var r = t.customMerge(e);
1100
- return typeof r == "function" ? r : Y;
1047
+ return typeof r == "function" ? r : J;
1101
1048
  }
1102
- function En(e) {
1049
+ function an(e) {
1103
1050
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1104
1051
  return Object.propertyIsEnumerable.call(e, t);
1105
1052
  }) : [];
1106
1053
  }
1107
- function gt(e) {
1108
- return Object.keys(e).concat(En(e));
1054
+ function lt(e) {
1055
+ return Object.keys(e).concat(an(e));
1109
1056
  }
1110
- function Yt(e, t) {
1057
+ function jt(e, t) {
1111
1058
  try {
1112
1059
  return t in e;
1113
- } catch (r) {
1060
+ } catch {
1114
1061
  return !1;
1115
1062
  }
1116
1063
  }
1117
- function xn(e, t) {
1118
- return Yt(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));
1119
1066
  }
1120
- function Sn(e, t, r) {
1067
+ function ln(e, t, r) {
1121
1068
  var n = {};
1122
- return r.isMergeableObject(e) && gt(e).forEach(function(i) {
1123
- n[i] = oe(e[i], r);
1124
- }), gt(t).forEach(function(i) {
1125
- xn(e, i) || (Yt(e, i) && r.isMergeableObject(t[i]) ? n[i] = _n(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));
1126
1073
  }), n;
1127
1074
  }
1128
- function Y(e, t, r) {
1129
- r = r || {}, r.arrayMerge = r.arrayMerge || yn, r.isMergeableObject = r.isMergeableObject || cn, 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;
1130
1077
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1131
- return o ? n ? r.arrayMerge(e, t, r) : Sn(e, t, r) : oe(t, r);
1078
+ return o ? n ? r.arrayMerge(e, t, r) : ln(e, t, r) : ie(t, r);
1132
1079
  }
1133
- Y.all = function(t, r) {
1080
+ J.all = function(t, r) {
1134
1081
  if (!Array.isArray(t))
1135
1082
  throw new Error("first argument should be an array");
1136
1083
  return t.reduce(function(n, i) {
1137
- return Y(n, i, r);
1084
+ return J(n, i, r);
1138
1085
  }, {});
1139
1086
  };
1140
- var Tn = Y, Hn = Tn;
1141
- const wn = /* @__PURE__ */ fn(Hn);
1142
- function Pe(e, t) {
1143
- var r = t && t.cache ? t.cache : In, n = t && t.serializer ? t.serializer : Cn, i = t && t.strategy ? t.strategy : Bn;
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;
1144
1091
  return i(e, {
1145
1092
  cache: r,
1146
1093
  serializer: n
1147
1094
  });
1148
1095
  }
1149
- function An(e) {
1096
+ function dn(e) {
1150
1097
  return e == null || typeof e == "number" || typeof e == "boolean";
1151
1098
  }
1152
- function qt(e, t, r, n) {
1153
- var i = An(n) ? n : r(n), o = t.get(i);
1154
- 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;
1155
1102
  }
1156
- function Kt(e, t, r) {
1103
+ function Vt(e, t, r) {
1157
1104
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1158
- 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;
1159
1106
  }
1160
- function qe(e, t, r, n, i) {
1107
+ function Qe(e, t, r, n, i) {
1161
1108
  return r.bind(t, e, n, i);
1162
1109
  }
1163
- function Bn(e, t) {
1164
- var r = e.length === 1 ? qt : Kt;
1165
- return qe(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);
1166
1113
  }
1167
- function Pn(e, t) {
1168
- return qe(e, this, Kt, t.cache.create(), t.serializer);
1114
+ function mn(e, t) {
1115
+ return Qe(e, this, Vt, t.cache.create(), t.serializer);
1169
1116
  }
1170
- function On(e, t) {
1171
- return qe(e, this, qt, t.cache.create(), t.serializer);
1117
+ function bn(e, t) {
1118
+ return Qe(e, this, kt, t.cache.create(), t.serializer);
1172
1119
  }
1173
- var Cn = function() {
1120
+ var gn = function() {
1174
1121
  return JSON.stringify(arguments);
1175
- };
1176
- function Ke() {
1177
- this.cache = /* @__PURE__ */ Object.create(null);
1178
- }
1179
- Ke.prototype.get = function(e) {
1180
- return this.cache[e];
1181
- };
1182
- Ke.prototype.set = function(e, t) {
1183
- this.cache[e] = t;
1184
- };
1185
- var In = {
1122
+ }, yn = (
1123
+ /** @class */
1124
+ function() {
1125
+ function e() {
1126
+ this.cache = /* @__PURE__ */ Object.create(null);
1127
+ }
1128
+ return e.prototype.get = function(t) {
1129
+ return this.cache[t];
1130
+ }, e.prototype.set = function(t, r) {
1131
+ this.cache[t] = r;
1132
+ }, e;
1133
+ }()
1134
+ ), vn = {
1186
1135
  create: function() {
1187
- return new Ke();
1136
+ return new yn();
1188
1137
  }
1189
- }, Oe = {
1190
- variadic: Pn,
1191
- monadic: On
1138
+ }, Ae = {
1139
+ variadic: mn,
1140
+ monadic: bn
1192
1141
  }, b;
1193
1142
  (function(e) {
1194
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";
@@ -1197,47 +1146,47 @@ var E;
1197
1146
  (function(e) {
1198
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";
1199
1148
  })(E || (E = {}));
1200
- var q;
1149
+ var Y;
1201
1150
  (function(e) {
1202
1151
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1203
- })(q || (q = {}));
1204
- function vt(e) {
1152
+ })(Y || (Y = {}));
1153
+ function ht(e) {
1205
1154
  return e.type === E.literal;
1206
1155
  }
1207
- function Nn(e) {
1156
+ function _n(e) {
1208
1157
  return e.type === E.argument;
1209
1158
  }
1210
- function er(e) {
1159
+ function Xt(e) {
1211
1160
  return e.type === E.number;
1212
1161
  }
1213
- function tr(e) {
1162
+ function zt(e) {
1214
1163
  return e.type === E.date;
1215
1164
  }
1216
- function rr(e) {
1165
+ function Wt(e) {
1217
1166
  return e.type === E.time;
1218
1167
  }
1219
- function nr(e) {
1168
+ function Zt(e) {
1220
1169
  return e.type === E.select;
1221
1170
  }
1222
- function ir(e) {
1171
+ function Qt(e) {
1223
1172
  return e.type === E.plural;
1224
1173
  }
1225
- function Mn(e) {
1174
+ function En(e) {
1226
1175
  return e.type === E.pound;
1227
1176
  }
1228
- function or(e) {
1177
+ function Jt(e) {
1229
1178
  return e.type === E.tag;
1230
1179
  }
1231
- function sr(e) {
1232
- return !!(e && typeof e == "object" && e.type === q.number);
1180
+ function Yt(e) {
1181
+ return !!(e && typeof e == "object" && e.type === Y.number);
1233
1182
  }
1234
- function je(e) {
1235
- return !!(e && typeof e == "object" && e.type === q.dateTime);
1183
+ function Ue(e) {
1184
+ return !!(e && typeof e == "object" && e.type === Y.dateTime);
1236
1185
  }
1237
- var ar = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ln = /(?:[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;
1238
- function Rn(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) {
1239
1188
  var t = {};
1240
- return e.replace(Ln, function(r) {
1189
+ return e.replace(xn, function(r) {
1241
1190
  var n = r.length;
1242
1191
  switch (r[0]) {
1243
1192
  case "G":
@@ -1326,11 +1275,11 @@ function Rn(e) {
1326
1275
  return "";
1327
1276
  }), t;
1328
1277
  }
1329
- var $n = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1330
- function Fn(e) {
1278
+ var Tn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1279
+ function Hn(e) {
1331
1280
  if (e.length === 0)
1332
1281
  throw new Error("Number skeleton cannot be empty");
1333
- for (var t = e.split($n).filter(function(c) {
1282
+ for (var t = e.split(Tn).filter(function(c) {
1334
1283
  return c.length > 0;
1335
1284
  }), r = [], n = 0, i = t; n < i.length; n++) {
1336
1285
  var o = i[n], s = o.split("/");
@@ -1345,17 +1294,17 @@ function Fn(e) {
1345
1294
  }
1346
1295
  return r;
1347
1296
  }
1348
- function Un(e) {
1297
+ function wn(e) {
1349
1298
  return e.replace(/^(.*?)-/, "");
1350
1299
  }
1351
- var yt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ur = /^(@+)?(\+|#+)?[rs]?$/g, Dn = /(\*)(0+)|(#+)(0+)|(0+)/g, lr = /^(0+)$/;
1352
- function _t(e) {
1300
+ var ft = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Kt = /^(@+)?(\+|#+)?[rs]?$/g, An = /(\*)(0+)|(#+)(0+)|(0+)/g, er = /^(0+)$/;
1301
+ function ct(e) {
1353
1302
  var t = {};
1354
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(ur, 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) {
1355
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)), "";
1356
1305
  }), t;
1357
1306
  }
1358
- function hr(e) {
1307
+ function tr(e) {
1359
1308
  switch (e) {
1360
1309
  case "sign-auto":
1361
1310
  return {
@@ -1395,7 +1344,7 @@ function hr(e) {
1395
1344
  };
1396
1345
  }
1397
1346
  }
1398
- function Gn(e) {
1347
+ function Bn(e) {
1399
1348
  var t;
1400
1349
  if (e[0] === "E" && e[1] === "E" ? (t = {
1401
1350
  notation: "engineering"
@@ -1403,17 +1352,17 @@ function Gn(e) {
1403
1352
  notation: "scientific"
1404
1353
  }, e = e.slice(1)), t) {
1405
1354
  var r = e.slice(0, 2);
1406
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !lr.test(e))
1355
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !er.test(e))
1407
1356
  throw new Error("Malformed concise eng/scientific notation");
1408
1357
  t.minimumIntegerDigits = e.length;
1409
1358
  }
1410
1359
  return t;
1411
1360
  }
1412
- function Et(e) {
1413
- var t = {}, r = hr(e);
1361
+ function dt(e) {
1362
+ var t = {}, r = tr(e);
1414
1363
  return r || t;
1415
1364
  }
1416
- function jn(e) {
1365
+ function Pn(e) {
1417
1366
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1418
1367
  var i = n[r];
1419
1368
  switch (i.stem) {
@@ -1437,7 +1386,7 @@ function jn(e) {
1437
1386
  continue;
1438
1387
  case "measure-unit":
1439
1388
  case "unit":
1440
- t.style = "unit", t.unit = Un(i.options[0]);
1389
+ t.style = "unit", t.unit = wn(i.options[0]);
1441
1390
  continue;
1442
1391
  case "compact-short":
1443
1392
  case "K":
@@ -1448,13 +1397,13 @@ function jn(e) {
1448
1397
  t.notation = "compact", t.compactDisplay = "long";
1449
1398
  continue;
1450
1399
  case "scientific":
1451
- t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1452
- return y(y({}, l), Et(u));
1400
+ t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1401
+ return v(v({}, l), dt(u));
1453
1402
  }, {}));
1454
1403
  continue;
1455
1404
  case "engineering":
1456
- t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1457
- return y(y({}, l), Et(u));
1405
+ t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1406
+ return v(v({}, l), dt(u));
1458
1407
  }, {}));
1459
1408
  continue;
1460
1409
  case "notation-simple":
@@ -1499,45 +1448,45 @@ function jn(e) {
1499
1448
  case "integer-width":
1500
1449
  if (i.options.length > 1)
1501
1450
  throw new RangeError("integer-width stems only accept a single optional option");
1502
- i.options[0].replace(Dn, function(l, u, h, f, c, p) {
1451
+ i.options[0].replace(An, function(l, u, h, f, c, d) {
1503
1452
  if (u)
1504
1453
  t.minimumIntegerDigits = h.length;
1505
1454
  else {
1506
1455
  if (f && c)
1507
1456
  throw new Error("We currently do not support maximum integer digits");
1508
- if (p)
1457
+ if (d)
1509
1458
  throw new Error("We currently do not support exact integer digits");
1510
1459
  }
1511
1460
  return "";
1512
1461
  });
1513
1462
  continue;
1514
1463
  }
1515
- if (lr.test(i.stem)) {
1464
+ if (er.test(i.stem)) {
1516
1465
  t.minimumIntegerDigits = i.stem.length;
1517
1466
  continue;
1518
1467
  }
1519
- if (yt.test(i.stem)) {
1468
+ if (ft.test(i.stem)) {
1520
1469
  if (i.options.length > 1)
1521
1470
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1522
- i.stem.replace(yt, function(l, u, h, f, c, p) {
1523
- return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && p ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1471
+ i.stem.replace(ft, function(l, u, h, f, c, d) {
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), "";
1524
1473
  });
1525
1474
  var o = i.options[0];
1526
- o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), _t(o)));
1475
+ o === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = v(v({}, t), ct(o)));
1527
1476
  continue;
1528
1477
  }
1529
- if (ur.test(i.stem)) {
1530
- t = y(y({}, t), _t(i.stem));
1478
+ if (Kt.test(i.stem)) {
1479
+ t = v(v({}, t), ct(i.stem));
1531
1480
  continue;
1532
1481
  }
1533
- var s = hr(i.stem);
1534
- s && (t = y(y({}, t), s));
1535
- var a = Gn(i.stem);
1536
- a && (t = y(y({}, t), a));
1482
+ var s = tr(i.stem);
1483
+ s && (t = v(v({}, t), s));
1484
+ var a = Bn(i.stem);
1485
+ a && (t = v(v({}, t), a));
1537
1486
  }
1538
1487
  return t;
1539
1488
  }
1540
- var pe = {
1489
+ var ce = {
1541
1490
  "001": [
1542
1491
  "H",
1543
1492
  "h"
@@ -2952,13 +2901,13 @@ var pe = {
2952
2901
  "h"
2953
2902
  ]
2954
2903
  };
2955
- function kn(e, t) {
2904
+ function On(e, t) {
2956
2905
  for (var r = "", n = 0; n < e.length; n++) {
2957
2906
  var i = e.charAt(n);
2958
2907
  if (i === "j") {
2959
2908
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2960
2909
  o++, n++;
2961
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Vn(t);
2910
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Cn(t);
2962
2911
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2963
2912
  r += l;
2964
2913
  for (; s-- > 0; )
@@ -2967,7 +2916,7 @@ function kn(e, t) {
2967
2916
  }
2968
2917
  return r;
2969
2918
  }
2970
- function Vn(e) {
2919
+ function Cn(e) {
2971
2920
  var t = e.hourCycle;
2972
2921
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2973
2922
  e.hourCycles && // @ts-ignore
@@ -2986,23 +2935,23 @@ function Vn(e) {
2986
2935
  }
2987
2936
  var r = e.language, n;
2988
2937
  r !== "root" && (n = e.maximize().region);
2989
- var i = pe[n || ""] || pe[r || ""] || pe["".concat(r, "-001")] || pe["001"];
2938
+ var i = ce[n || ""] || ce[r || ""] || ce["".concat(r, "-001")] || ce["001"];
2990
2939
  return i[0];
2991
2940
  }
2992
- var Ce, Xn = new RegExp("^".concat(ar.source, "*")), zn = new RegExp("".concat(ar.source, "*$"));
2941
+ var Be, Nn = new RegExp("^".concat(qt.source, "*")), In = new RegExp("".concat(qt.source, "*$"));
2993
2942
  function g(e, t) {
2994
2943
  return { start: e, end: t };
2995
2944
  }
2996
- var Wn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Zn = !!String.fromCodePoint, Qn = !!Object.fromEntries, Jn = !!String.prototype.codePointAt, Yn = !!String.prototype.trimStart, qn = !!String.prototype.trimEnd, Kn = !!Number.isSafeInteger, ei = Kn ? 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) {
2997
2946
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2998
- }, ke = !0;
2947
+ }, De = !0;
2999
2948
  try {
3000
- var ti = cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3001
- ke = ((Ce = ti.exec("a")) === null || Ce === void 0 ? void 0 : Ce[0]) === "a";
3002
- } catch (e) {
3003
- ke = !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;
3004
2953
  }
3005
- var xt = Wn ? (
2954
+ var pt = Mn ? (
3006
2955
  // Native
3007
2956
  function(t, r, n) {
3008
2957
  return t.startsWith(r, n);
@@ -3012,7 +2961,7 @@ var xt = Wn ? (
3012
2961
  function(t, r, n) {
3013
2962
  return t.slice(n, n + r.length) === r;
3014
2963
  }
3015
- ), Ve = Zn ? String.fromCodePoint : (
2964
+ ), Ge = Ln ? String.fromCodePoint : (
3016
2965
  // IE11
3017
2966
  function() {
3018
2967
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3024,9 +2973,9 @@ var xt = Wn ? (
3024
2973
  }
3025
2974
  return n;
3026
2975
  }
3027
- ), St = (
2976
+ ), mt = (
3028
2977
  // native
3029
- Qn ? Object.fromEntries : (
2978
+ Rn ? Object.fromEntries : (
3030
2979
  // Ponyfill
3031
2980
  function(t) {
3032
2981
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3036,7 +2985,7 @@ var xt = Wn ? (
3036
2985
  return r;
3037
2986
  }
3038
2987
  )
3039
- ), fr = Jn ? (
2988
+ ), rr = $n ? (
3040
2989
  // Native
3041
2990
  function(t, r) {
3042
2991
  return t.codePointAt(r);
@@ -3050,7 +2999,7 @@ var xt = Wn ? (
3050
2999
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3051
3000
  }
3052
3001
  }
3053
- ), ri = Yn ? (
3002
+ ), kn = Fn ? (
3054
3003
  // Native
3055
3004
  function(t) {
3056
3005
  return t.trimStart();
@@ -3058,9 +3007,9 @@ var xt = Wn ? (
3058
3007
  ) : (
3059
3008
  // Ponyfill
3060
3009
  function(t) {
3061
- return t.replace(Xn, "");
3010
+ return t.replace(Nn, "");
3062
3011
  }
3063
- ), ni = qn ? (
3012
+ ), Vn = Un ? (
3064
3013
  // Native
3065
3014
  function(t) {
3066
3015
  return t.trimEnd();
@@ -3068,32 +3017,32 @@ var xt = Wn ? (
3068
3017
  ) : (
3069
3018
  // Ponyfill
3070
3019
  function(t) {
3071
- return t.replace(zn, "");
3020
+ return t.replace(In, "");
3072
3021
  }
3073
3022
  );
3074
- function cr(e, t) {
3023
+ function nr(e, t) {
3075
3024
  return new RegExp(e, t);
3076
3025
  }
3077
- var Xe;
3078
- if (ke) {
3079
- var Tt = cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3080
- Xe = 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) {
3081
3030
  var n;
3082
- Tt.lastIndex = r;
3083
- var i = Tt.exec(t);
3031
+ bt.lastIndex = r;
3032
+ var i = bt.exec(t);
3084
3033
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3085
3034
  };
3086
3035
  } else
3087
- Xe = function(t, r) {
3036
+ je = function(t, r) {
3088
3037
  for (var n = []; ; ) {
3089
- var i = fr(t, r);
3090
- if (i === void 0 || pr(i) || ai(i))
3038
+ var i = rr(t, r);
3039
+ if (i === void 0 || ir(i) || Zn(i))
3091
3040
  break;
3092
3041
  n.push(i), r += i >= 65536 ? 2 : 1;
3093
3042
  }
3094
- return Ve.apply(void 0, n);
3043
+ return Ge.apply(void 0, n);
3095
3044
  };
3096
- var ii = (
3045
+ var Xn = (
3097
3046
  /** @class */
3098
3047
  function() {
3099
3048
  function e(t, r) {
@@ -3124,7 +3073,7 @@ var ii = (
3124
3073
  if (n)
3125
3074
  break;
3126
3075
  return this.error(b.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
3127
- } else if (o === 60 && !this.ignoreTag && ze(this.peek() || 0)) {
3076
+ } else if (o === 60 && !this.ignoreTag && ke(this.peek() || 0)) {
3128
3077
  var s = this.parseTag(t, r);
3129
3078
  if (s.err)
3130
3079
  return s;
@@ -3157,7 +3106,7 @@ var ii = (
3157
3106
  return o;
3158
3107
  var s = o.val, a = this.clonePosition();
3159
3108
  if (this.bumpIf("</")) {
3160
- if (this.isEOF() || !ze(this.char()))
3109
+ if (this.isEOF() || !ke(this.char()))
3161
3110
  return this.error(b.INVALID_TAG, g(a, this.clonePosition()));
3162
3111
  var l = this.clonePosition(), u = this.parseTagName();
3163
3112
  return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, g(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -3175,7 +3124,7 @@ var ii = (
3175
3124
  return this.error(b.INVALID_TAG, g(n, this.clonePosition()));
3176
3125
  }, e.prototype.parseTagName = function() {
3177
3126
  var t = this.offset();
3178
- for (this.bump(); !this.isEOF() && si(this.char()); )
3127
+ for (this.bump(); !this.isEOF() && Wn(this.char()); )
3179
3128
  this.bump();
3180
3129
  return this.message.slice(t, this.offset());
3181
3130
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3204,7 +3153,7 @@ var ii = (
3204
3153
  };
3205
3154
  }, e.prototype.tryParseLeftAngleBracket = function() {
3206
3155
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3207
- !oi(this.peek() || 0)) ? (this.bump(), "<") : null;
3156
+ !zn(this.peek() || 0)) ? (this.bump(), "<") : null;
3208
3157
  }, e.prototype.tryParseQuote = function(t) {
3209
3158
  if (this.isEOF() || this.char() !== 39)
3210
3159
  return null;
@@ -3238,12 +3187,12 @@ var ii = (
3238
3187
  r.push(n);
3239
3188
  this.bump();
3240
3189
  }
3241
- return Ve.apply(void 0, r);
3190
+ return Ge.apply(void 0, r);
3242
3191
  }, e.prototype.tryParseUnquoted = function(t, r) {
3243
3192
  if (this.isEOF())
3244
3193
  return null;
3245
3194
  var n = this.char();
3246
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ve(n));
3195
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ge(n));
3247
3196
  }, e.prototype.parseArgument = function(t, r) {
3248
3197
  var n = this.clonePosition();
3249
3198
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3272,7 +3221,7 @@ var ii = (
3272
3221
  return this.error(b.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3273
3222
  }
3274
3223
  }, e.prototype.parseIdentifierIfPossible = function() {
3275
- var t = this.clonePosition(), r = this.offset(), n = Xe(this.message, r), i = r + n.length;
3224
+ var t = this.clonePosition(), r = this.offset(), n = je(this.message, r), i = r + n.length;
3276
3225
  this.bumpTo(i);
3277
3226
  var o = this.clonePosition(), s = g(t, o);
3278
3227
  return { value: n, location: s };
@@ -3291,37 +3240,37 @@ var ii = (
3291
3240
  var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3292
3241
  if (f.err)
3293
3242
  return f;
3294
- var c = ni(f.val);
3243
+ var c = Vn(f.val);
3295
3244
  if (c.length === 0)
3296
3245
  return this.error(b.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
3297
- var p = g(h, this.clonePosition());
3298
- u = { style: c, styleLocation: p };
3246
+ var d = g(h, this.clonePosition());
3247
+ u = { style: c, styleLocation: d };
3299
3248
  }
3300
3249
  var m = this.tryParseArgumentClose(i);
3301
3250
  if (m.err)
3302
3251
  return m;
3303
- var d = g(i, this.clonePosition());
3304
- if (u && xt(u == null ? void 0 : u.style, "::", 0)) {
3305
- var _ = ri(u.style.slice(2));
3252
+ var p = g(i, this.clonePosition());
3253
+ if (u && pt(u?.style, "::", 0)) {
3254
+ var _ = kn(u.style.slice(2));
3306
3255
  if (a === "number") {
3307
3256
  var f = this.parseNumberSkeletonFromString(_, u.styleLocation);
3308
3257
  return f.err ? f : {
3309
- val: { type: E.number, value: n, location: d, style: f.val },
3258
+ val: { type: E.number, value: n, location: p, style: f.val },
3310
3259
  err: null
3311
3260
  };
3312
3261
  } else {
3313
3262
  if (_.length === 0)
3314
- return this.error(b.EXPECT_DATE_TIME_SKELETON, d);
3263
+ return this.error(b.EXPECT_DATE_TIME_SKELETON, p);
3315
3264
  var S = _;
3316
- this.locale && (S = kn(_, this.locale));
3265
+ this.locale && (S = On(_, this.locale));
3317
3266
  var c = {
3318
- type: q.dateTime,
3267
+ type: Y.dateTime,
3319
3268
  pattern: S,
3320
3269
  location: u.styleLocation,
3321
- parsedOptions: this.shouldParseSkeletons ? Rn(S) : {}
3270
+ parsedOptions: this.shouldParseSkeletons ? Sn(S) : {}
3322
3271
  }, N = a === "date" ? E.date : E.time;
3323
3272
  return {
3324
- val: { type: N, value: n, location: d, style: c },
3273
+ val: { type: N, value: n, location: p, style: c },
3325
3274
  err: null
3326
3275
  };
3327
3276
  }
@@ -3330,8 +3279,8 @@ var ii = (
3330
3279
  val: {
3331
3280
  type: a === "number" ? E.number : a === "date" ? E.date : E.time,
3332
3281
  value: n,
3333
- location: d,
3334
- style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
3282
+ location: p,
3283
+ style: (o = u?.style) !== null && o !== void 0 ? o : null
3335
3284
  },
3336
3285
  err: null
3337
3286
  };
@@ -3341,9 +3290,9 @@ var ii = (
3341
3290
  case "select": {
3342
3291
  var T = this.clonePosition();
3343
3292
  if (this.bumpSpace(), !this.bumpIf(","))
3344
- return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, g(T, y({}, T)));
3293
+ return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, g(T, v({}, T)));
3345
3294
  this.bumpSpace();
3346
- var w = this.parseIdentifierIfPossible(), L = 0;
3295
+ var w = this.parseIdentifierIfPossible(), M = 0;
3347
3296
  if (a !== "select" && w.value === "offset") {
3348
3297
  if (!this.bumpIf(":"))
3349
3298
  return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
@@ -3351,31 +3300,31 @@ var ii = (
3351
3300
  var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3352
3301
  if (f.err)
3353
3302
  return f;
3354
- this.bumpSpace(), w = this.parseIdentifierIfPossible(), L = f.val;
3303
+ this.bumpSpace(), w = this.parseIdentifierIfPossible(), M = f.val;
3355
3304
  }
3356
- var V = this.tryParsePluralOrSelectOptions(t, a, r, w);
3357
- if (V.err)
3358
- return V;
3305
+ var k = this.tryParsePluralOrSelectOptions(t, a, r, w);
3306
+ if (k.err)
3307
+ return k;
3359
3308
  var m = this.tryParseArgumentClose(i);
3360
3309
  if (m.err)
3361
3310
  return m;
3362
- var v = g(i, this.clonePosition());
3311
+ var y = g(i, this.clonePosition());
3363
3312
  return a === "select" ? {
3364
3313
  val: {
3365
3314
  type: E.select,
3366
3315
  value: n,
3367
- options: St(V.val),
3368
- location: v
3316
+ options: mt(k.val),
3317
+ location: y
3369
3318
  },
3370
3319
  err: null
3371
3320
  } : {
3372
3321
  val: {
3373
3322
  type: E.plural,
3374
3323
  value: n,
3375
- options: St(V.val),
3376
- offset: L,
3324
+ options: mt(k.val),
3325
+ offset: M,
3377
3326
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3378
- location: v
3327
+ location: y
3379
3328
  },
3380
3329
  err: null
3381
3330
  };
@@ -3423,16 +3372,16 @@ var ii = (
3423
3372
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3424
3373
  var n = [];
3425
3374
  try {
3426
- n = Fn(t);
3427
- } catch (i) {
3375
+ n = Hn(t);
3376
+ } catch {
3428
3377
  return this.error(b.INVALID_NUMBER_SKELETON, r);
3429
3378
  }
3430
3379
  return {
3431
3380
  val: {
3432
- type: q.number,
3381
+ type: Y.number,
3433
3382
  tokens: n,
3434
3383
  location: r,
3435
- parsedOptions: this.shouldParseSkeletons ? jn(n) : {}
3384
+ parsedOptions: this.shouldParseSkeletons ? Pn(n) : {}
3436
3385
  },
3437
3386
  err: null
3438
3387
  };
@@ -3451,20 +3400,20 @@ var ii = (
3451
3400
  if (l.has(u))
3452
3401
  return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3453
3402
  u === "other" && (s = !0), this.bumpSpace();
3454
- var p = this.clonePosition();
3403
+ var d = this.clonePosition();
3455
3404
  if (!this.bumpIf("{"))
3456
3405
  return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
3457
3406
  var m = this.parseMessage(t + 1, r, n);
3458
3407
  if (m.err)
3459
3408
  return m;
3460
- var d = this.tryParseArgumentClose(p);
3461
- if (d.err)
3462
- return d;
3409
+ var p = this.tryParseArgumentClose(d);
3410
+ if (p.err)
3411
+ return p;
3463
3412
  a.push([
3464
3413
  u,
3465
3414
  {
3466
3415
  value: m.val,
3467
- location: g(p, this.clonePosition())
3416
+ location: g(d, this.clonePosition())
3468
3417
  }
3469
3418
  ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
3470
3419
  }
@@ -3480,7 +3429,7 @@ var ii = (
3480
3429
  break;
3481
3430
  }
3482
3431
  var l = g(i, this.clonePosition());
3483
- return o ? (s *= n, ei(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);
3484
3433
  }, e.prototype.offset = function() {
3485
3434
  return this.position.offset;
3486
3435
  }, e.prototype.isEOF = function() {
@@ -3495,7 +3444,7 @@ var ii = (
3495
3444
  var t = this.position.offset;
3496
3445
  if (t >= this.message.length)
3497
3446
  throw Error("out of bound");
3498
- var r = fr(this.message, t);
3447
+ var r = rr(this.message, t);
3499
3448
  if (r === void 0)
3500
3449
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3501
3450
  return r;
@@ -3514,7 +3463,7 @@ var ii = (
3514
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);
3515
3464
  }
3516
3465
  }, e.prototype.bumpIf = function(t) {
3517
- if (xt(this.message, t, this.offset())) {
3466
+ if (pt(this.message, t, this.offset())) {
3518
3467
  for (var r = 0; r < t.length; r++)
3519
3468
  this.bump();
3520
3469
  return !0;
@@ -3536,56 +3485,56 @@ var ii = (
3536
3485
  break;
3537
3486
  }
3538
3487
  }, e.prototype.bumpSpace = function() {
3539
- for (; !this.isEOF() && pr(this.char()); )
3488
+ for (; !this.isEOF() && ir(this.char()); )
3540
3489
  this.bump();
3541
3490
  }, e.prototype.peek = function() {
3542
3491
  if (this.isEOF())
3543
3492
  return null;
3544
3493
  var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
3545
- return n != null ? n : null;
3494
+ return n ?? null;
3546
3495
  }, e;
3547
3496
  }()
3548
3497
  );
3549
- function ze(e) {
3498
+ function ke(e) {
3550
3499
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3551
3500
  }
3552
- function oi(e) {
3553
- return ze(e) || e === 47;
3501
+ function zn(e) {
3502
+ return ke(e) || e === 47;
3554
3503
  }
3555
- function si(e) {
3504
+ function Wn(e) {
3556
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;
3557
3506
  }
3558
- function pr(e) {
3507
+ function ir(e) {
3559
3508
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3560
3509
  }
3561
- function ai(e) {
3510
+ function Zn(e) {
3562
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;
3563
3512
  }
3564
- function We(e) {
3513
+ function Ve(e) {
3565
3514
  e.forEach(function(t) {
3566
- if (delete t.location, nr(t) || ir(t))
3515
+ if (delete t.location, Zt(t) || Qt(t))
3567
3516
  for (var r in t.options)
3568
- delete t.options[r].location, We(t.options[r].value);
3569
- else er(t) && sr(t.style) || (tr(t) || rr(t)) && je(t.style) ? delete t.style.location : or(t) && We(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);
3570
3519
  });
3571
3520
  }
3572
- function ui(e, t) {
3573
- t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3574
- var r = new ii(e, t).parse();
3521
+ function Qn(e, t) {
3522
+ t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3523
+ var r = new Xn(e, t).parse();
3575
3524
  if (r.err) {
3576
3525
  var n = SyntaxError(b[r.err.kind]);
3577
3526
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3578
3527
  }
3579
- return t != null && t.captureLocation || We(r.val), r.val;
3528
+ return t?.captureLocation || Ve(r.val), r.val;
3580
3529
  }
3581
- var K;
3530
+ var q;
3582
3531
  (function(e) {
3583
3532
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3584
- })(K || (K = {}));
3585
- var xe = (
3533
+ })(q || (q = {}));
3534
+ var Ee = (
3586
3535
  /** @class */
3587
3536
  function(e) {
3588
- F(t, e);
3537
+ $(t, e);
3589
3538
  function t(r, n, i) {
3590
3539
  var o = e.call(this, r) || this;
3591
3540
  return o.code = n, o.originalMessage = i, o;
@@ -3594,48 +3543,48 @@ var xe = (
3594
3543
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3595
3544
  }, t;
3596
3545
  }(Error)
3597
- ), Ht = (
3546
+ ), gt = (
3598
3547
  /** @class */
3599
3548
  function(e) {
3600
- F(t, e);
3549
+ $(t, e);
3601
3550
  function t(r, n, i, o) {
3602
- 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;
3603
3552
  }
3604
3553
  return t;
3605
- }(xe)
3606
- ), li = (
3554
+ }(Ee)
3555
+ ), Jn = (
3607
3556
  /** @class */
3608
3557
  function(e) {
3609
- F(t, e);
3558
+ $(t, e);
3610
3559
  function t(r, n, i) {
3611
- 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;
3612
3561
  }
3613
3562
  return t;
3614
- }(xe)
3615
- ), hi = (
3563
+ }(Ee)
3564
+ ), Yn = (
3616
3565
  /** @class */
3617
3566
  function(e) {
3618
- F(t, e);
3567
+ $(t, e);
3619
3568
  function t(r, n) {
3620
- 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;
3621
3570
  }
3622
3571
  return t;
3623
- }(xe)
3572
+ }(Ee)
3624
3573
  ), A;
3625
3574
  (function(e) {
3626
3575
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3627
3576
  })(A || (A = {}));
3628
- function fi(e) {
3577
+ function qn(e) {
3629
3578
  return e.length < 2 ? e : e.reduce(function(t, r) {
3630
3579
  var n = t[t.length - 1];
3631
3580
  return !n || n.type !== A.literal || r.type !== A.literal ? t.push(r) : n.value += r.value, t;
3632
3581
  }, []);
3633
3582
  }
3634
- function ci(e) {
3583
+ function Kn(e) {
3635
3584
  return typeof e == "function";
3636
3585
  }
3637
- function be(e, t, r, n, i, o, s) {
3638
- if (e.length === 1 && vt(e[0]))
3586
+ function me(e, t, r, n, i, o, s) {
3587
+ if (e.length === 1 && ht(e[0]))
3639
3588
  return [
3640
3589
  {
3641
3590
  type: A.literal,
@@ -3644,14 +3593,14 @@ function be(e, t, r, n, i, o, s) {
3644
3593
  ];
3645
3594
  for (var a = [], l = 0, u = e; l < u.length; l++) {
3646
3595
  var h = u[l];
3647
- if (vt(h)) {
3596
+ if (ht(h)) {
3648
3597
  a.push({
3649
3598
  type: A.literal,
3650
3599
  value: h.value
3651
3600
  });
3652
3601
  continue;
3653
3602
  }
3654
- if (Mn(h)) {
3603
+ if (En(h)) {
3655
3604
  typeof o == "number" && a.push({
3656
3605
  type: A.literal,
3657
3606
  value: r.getNumberFormat(t).format(o)
@@ -3660,89 +3609,89 @@ function be(e, t, r, n, i, o, s) {
3660
3609
  }
3661
3610
  var f = h.value;
3662
3611
  if (!(i && f in i))
3663
- throw new hi(f, s);
3612
+ throw new Yn(f, s);
3664
3613
  var c = i[f];
3665
- if (Nn(h)) {
3614
+ if (_n(h)) {
3666
3615
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3667
3616
  type: typeof c == "string" ? A.literal : A.object,
3668
3617
  value: c
3669
3618
  });
3670
3619
  continue;
3671
3620
  }
3672
- if (tr(h)) {
3673
- var p = typeof h.style == "string" ? n.date[h.style] : je(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;
3674
3623
  a.push({
3675
3624
  type: A.literal,
3676
- value: r.getDateTimeFormat(t, p).format(c)
3625
+ value: r.getDateTimeFormat(t, d).format(c)
3677
3626
  });
3678
3627
  continue;
3679
3628
  }
3680
- if (rr(h)) {
3681
- var p = typeof h.style == "string" ? n.time[h.style] : je(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;
3682
3631
  a.push({
3683
3632
  type: A.literal,
3684
- value: r.getDateTimeFormat(t, p).format(c)
3633
+ value: r.getDateTimeFormat(t, d).format(c)
3685
3634
  });
3686
3635
  continue;
3687
3636
  }
3688
- if (er(h)) {
3689
- var p = typeof h.style == "string" ? n.number[h.style] : sr(h.style) ? h.style.parsedOptions : void 0;
3690
- p && p.scale && (c = c * (p.scale || 1)), a.push({
3637
+ if (Xt(h)) {
3638
+ var d = typeof h.style == "string" ? n.number[h.style] : Yt(h.style) ? h.style.parsedOptions : void 0;
3639
+ d && d.scale && (c = c * (d.scale || 1)), a.push({
3691
3640
  type: A.literal,
3692
- value: r.getNumberFormat(t, p).format(c)
3641
+ value: r.getNumberFormat(t, d).format(c)
3693
3642
  });
3694
3643
  continue;
3695
3644
  }
3696
- if (or(h)) {
3697
- var m = h.children, d = h.value, _ = i[d];
3698
- if (!ci(_))
3699
- throw new li(d, "function", s);
3700
- var S = be(m, t, r, n, i, o), N = _(S.map(function(L) {
3701
- return L.value;
3645
+ if (Jt(h)) {
3646
+ var m = h.children, p = h.value, _ = i[p];
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;
3702
3651
  }));
3703
- Array.isArray(N) || (N = [N]), a.push.apply(a, N.map(function(L) {
3652
+ Array.isArray(N) || (N = [N]), a.push.apply(a, N.map(function(M) {
3704
3653
  return {
3705
- type: typeof L == "string" ? A.literal : A.object,
3706
- value: L
3654
+ type: typeof M == "string" ? A.literal : A.object,
3655
+ value: M
3707
3656
  };
3708
3657
  }));
3709
3658
  }
3710
- if (nr(h)) {
3659
+ if (Zt(h)) {
3711
3660
  var T = h.options[c] || h.options.other;
3712
3661
  if (!T)
3713
- throw new Ht(h.value, c, Object.keys(h.options), s);
3714
- 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));
3715
3664
  continue;
3716
3665
  }
3717
- if (ir(h)) {
3666
+ if (Qt(h)) {
3718
3667
  var T = h.options["=".concat(c)];
3719
3668
  if (!T) {
3720
3669
  if (!Intl.PluralRules)
3721
- throw new xe(`Intl.PluralRules is not available in this environment.
3670
+ throw new Ee(`Intl.PluralRules is not available in this environment.
3722
3671
  Try polyfilling it using "@formatjs/intl-pluralrules"
3723
- `, K.MISSING_INTL_API, s);
3672
+ `, q.MISSING_INTL_API, s);
3724
3673
  var w = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3725
3674
  T = h.options[w] || h.options.other;
3726
3675
  }
3727
3676
  if (!T)
3728
- throw new Ht(h.value, c, Object.keys(h.options), s);
3729
- 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)));
3730
3679
  continue;
3731
3680
  }
3732
3681
  }
3733
- return fi(a);
3682
+ return qn(a);
3734
3683
  }
3735
- function pi(e, t) {
3736
- return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3737
- return r[n] = y(y({}, e[n]), t[n] || {}), r;
3684
+ function ei(e, t) {
3685
+ return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3686
+ return r[n] = v(v({}, e[n]), t[n] || {}), r;
3738
3687
  }, {})) : e;
3739
3688
  }
3740
- function di(e, t) {
3689
+ function ti(e, t) {
3741
3690
  return t ? Object.keys(e).reduce(function(r, n) {
3742
- return r[n] = pi(e[n], t[n]), r;
3743
- }, y({}, e)) : e;
3691
+ return r[n] = ei(e[n], t[n]), r;
3692
+ }, v({}, e)) : e;
3744
3693
  }
3745
- function Ie(e) {
3694
+ function Pe(e) {
3746
3695
  return {
3747
3696
  create: function() {
3748
3697
  return {
@@ -3756,39 +3705,39 @@ function Ie(e) {
3756
3705
  }
3757
3706
  };
3758
3707
  }
3759
- function mi(e) {
3708
+ function ri(e) {
3760
3709
  return e === void 0 && (e = {
3761
3710
  number: {},
3762
3711
  dateTime: {},
3763
3712
  pluralRules: {}
3764
3713
  }), {
3765
- getNumberFormat: Pe(function() {
3714
+ getNumberFormat: we(function() {
3766
3715
  for (var t, r = [], n = 0; n < arguments.length; n++)
3767
3716
  r[n] = arguments[n];
3768
- 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)))();
3769
3718
  }, {
3770
- cache: Ie(e.number),
3771
- strategy: Oe.variadic
3719
+ cache: Pe(e.number),
3720
+ strategy: Ae.variadic
3772
3721
  }),
3773
- getDateTimeFormat: Pe(function() {
3722
+ getDateTimeFormat: we(function() {
3774
3723
  for (var t, r = [], n = 0; n < arguments.length; n++)
3775
3724
  r[n] = arguments[n];
3776
- 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)))();
3777
3726
  }, {
3778
- cache: Ie(e.dateTime),
3779
- strategy: Oe.variadic
3727
+ cache: Pe(e.dateTime),
3728
+ strategy: Ae.variadic
3780
3729
  }),
3781
- getPluralRules: Pe(function() {
3730
+ getPluralRules: we(function() {
3782
3731
  for (var t, r = [], n = 0; n < arguments.length; n++)
3783
3732
  r[n] = arguments[n];
3784
- 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)))();
3785
3734
  }, {
3786
- cache: Ie(e.pluralRules),
3787
- strategy: Oe.variadic
3735
+ cache: Pe(e.pluralRules),
3736
+ strategy: Ae.variadic
3788
3737
  })
3789
3738
  };
3790
3739
  }
3791
- var bi = (
3740
+ var ni = (
3792
3741
  /** @class */
3793
3742
  function() {
3794
3743
  function e(t, r, n, i) {
@@ -3807,7 +3756,7 @@ var bi = (
3807
3756
  }, []);
3808
3757
  return h.length <= 1 ? h[0] || "" : h;
3809
3758
  }, this.formatToParts = function(l) {
3810
- 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);
3811
3760
  }, this.resolvedOptions = function() {
3812
3761
  var l;
3813
3762
  return {
@@ -3820,13 +3769,13 @@ var bi = (
3820
3769
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3821
3770
  var s = i || {};
3822
3771
  s.formatters;
3823
- var a = Zr(s, ["formatters"]);
3824
- this.ast = e.__parse(t, y(y({}, a), { locale: this.resolvedLocale }));
3772
+ var a = Mr(s, ["formatters"]);
3773
+ this.ast = e.__parse(t, v(v({}, a), { locale: this.resolvedLocale }));
3825
3774
  } else
3826
3775
  this.ast = t;
3827
3776
  if (!Array.isArray(this.ast))
3828
3777
  throw new TypeError("A message must be provided as a String or AST.");
3829
- this.formats = di(e.formats, n), this.formatters = i && i.formatters || mi(this.formatterCache);
3778
+ this.formats = ti(e.formats, n), this.formatters = i && i.formatters || ri(this.formatterCache);
3830
3779
  }
3831
3780
  return Object.defineProperty(e, "defaultLocale", {
3832
3781
  get: function() {
@@ -3835,11 +3784,11 @@ var bi = (
3835
3784
  enumerable: !1,
3836
3785
  configurable: !0
3837
3786
  }), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
3838
- if (typeof Intl.Locale != "undefined") {
3787
+ if (!(typeof Intl.Locale > "u")) {
3839
3788
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3840
3789
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3841
3790
  }
3842
- }, e.__parse = ui, e.formats = {
3791
+ }, e.__parse = Qn, e.formats = {
3843
3792
  number: {
3844
3793
  integer: {
3845
3794
  maximumFractionDigits: 0
@@ -3900,7 +3849,7 @@ var bi = (
3900
3849
  }, e;
3901
3850
  }()
3902
3851
  );
3903
- function gi(e, t) {
3852
+ function ii(e, t) {
3904
3853
  if (t == null)
3905
3854
  return;
3906
3855
  if (t in e)
@@ -3921,92 +3870,92 @@ function gi(e, t) {
3921
3870
  n = void 0;
3922
3871
  return n;
3923
3872
  }
3924
- const U = {}, vi = (e, t, r) => r && (t in U || (U[t] = {}), e in U[t] || (U[t][e] = r), r), dr = (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) => {
3925
3874
  if (t == null)
3926
3875
  return;
3927
- if (t in U && e in U[t])
3928
- return U[t][e];
3929
- const r = Se(t);
3876
+ if (t in F && e in F[t])
3877
+ return F[t][e];
3878
+ const r = xe(t);
3930
3879
  for (let n = 0; n < r.length; n++) {
3931
- const i = r[n], o = _i(i, e);
3880
+ const i = r[n], o = ai(i, e);
3932
3881
  if (o)
3933
- return vi(e, t, o);
3882
+ return oi(e, t, o);
3934
3883
  }
3935
3884
  };
3936
- let et;
3937
- const le = Ee({});
3938
- function yi(e) {
3939
- return et[e] || null;
3885
+ let Je;
3886
+ const ue = _e({});
3887
+ function si(e) {
3888
+ return Je[e] || null;
3940
3889
  }
3941
- function mr(e) {
3942
- return e in et;
3890
+ function sr(e) {
3891
+ return e in Je;
3943
3892
  }
3944
- function _i(e, t) {
3945
- if (!mr(e))
3893
+ function ai(e, t) {
3894
+ if (!sr(e))
3946
3895
  return null;
3947
- const r = yi(e);
3948
- return gi(r, t);
3896
+ const r = si(e);
3897
+ return ii(r, t);
3949
3898
  }
3950
- function Ei(e) {
3899
+ function ui(e) {
3951
3900
  if (e == null)
3952
3901
  return;
3953
- const t = Se(e);
3902
+ const t = xe(e);
3954
3903
  for (let r = 0; r < t.length; r++) {
3955
3904
  const n = t[r];
3956
- if (mr(n))
3905
+ if (sr(n))
3957
3906
  return n;
3958
3907
  }
3959
3908
  }
3960
- function br(e, ...t) {
3961
- delete U[e], le.update((r) => (r[e] = wn.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));
3962
3911
  }
3963
- te(
3964
- [le],
3912
+ ee(
3913
+ [ue],
3965
3914
  ([e]) => Object.keys(e)
3966
3915
  );
3967
- le.subscribe((e) => et = e);
3968
- const ge = {};
3969
- function xi(e, t) {
3970
- 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];
3971
3920
  }
3972
- function gr(e) {
3973
- return ge[e];
3921
+ function ur(e) {
3922
+ return be[e];
3974
3923
  }
3975
- function Si(e) {
3976
- return Se(e).map((t) => {
3977
- const r = gr(t);
3924
+ function hi(e) {
3925
+ return xe(e).map((t) => {
3926
+ const r = ur(t);
3978
3927
  return [t, r ? [...r] : []];
3979
3928
  }).filter(([, t]) => t.length > 0);
3980
3929
  }
3981
- function Ze(e) {
3982
- return e == null ? !1 : Se(e).some(
3930
+ function Xe(e) {
3931
+ return e == null ? !1 : xe(e).some(
3983
3932
  (t) => {
3984
3933
  var r;
3985
- return (r = gr(t)) == null ? void 0 : r.size;
3934
+ return (r = ur(t)) == null ? void 0 : r.size;
3986
3935
  }
3987
3936
  );
3988
3937
  }
3989
- function Ti(e, t) {
3938
+ function fi(e, t) {
3990
3939
  return Promise.all(
3991
- t.map((n) => (xi(e, n), n().then((i) => i.default || i)))
3992
- ).then((n) => br(e, ...n));
3993
- }
3994
- const ne = {};
3995
- function vr(e) {
3996
- if (!Ze(e))
3997
- return e in ne ? ne[e] : Promise.resolve();
3998
- const t = Si(e);
3999
- 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(
4000
3949
  t.map(
4001
- ([r, n]) => Ti(r, n)
3950
+ ([r, n]) => fi(r, n)
4002
3951
  )
4003
3952
  ).then(() => {
4004
- if (Ze(e))
4005
- return vr(e);
4006
- delete ne[e];
4007
- }), ne[e];
3953
+ if (Xe(e))
3954
+ return lr(e);
3955
+ delete re[e];
3956
+ }), re[e];
4008
3957
  }
4009
- const Hi = {
3958
+ const ci = {
4010
3959
  number: {
4011
3960
  scientific: { notation: "scientific" },
4012
3961
  engineering: { notation: "engineering" },
@@ -4035,150 +3984,150 @@ const Hi = {
4035
3984
  timeZoneName: "short"
4036
3985
  }
4037
3986
  }
4038
- }, wi = {
3987
+ }, di = {
4039
3988
  fallbackLocale: null,
4040
3989
  loadingDelay: 200,
4041
- formats: Hi,
3990
+ formats: ci,
4042
3991
  warnOnMissingMessages: !0,
4043
3992
  handleMissingMessage: void 0,
4044
3993
  ignoreTag: !0
4045
- }, Ai = wi;
4046
- function ee() {
4047
- return Ai;
4048
- }
4049
- const Ne = Ee(!1);
4050
- var Bi = Object.defineProperty, Pi = Object.defineProperties, Oi = Object.getOwnPropertyDescriptors, wt = Object.getOwnPropertySymbols, Ci = Object.prototype.hasOwnProperty, Ii = Object.prototype.propertyIsEnumerable, At = (e, t, r) => t in e ? Bi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ni = (e, t) => {
4051
- for (var r in t || (t = {}))
4052
- Ci.call(t, r) && At(e, r, t[r]);
4053
- if (wt)
4054
- for (var r of wt(t))
4055
- Ii.call(t, r) && At(e, r, t[r]);
3994
+ }, pi = di;
3995
+ function K() {
3996
+ return pi;
3997
+ }
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) => {
4000
+ for (var r in t)
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]);
4056
4005
  return e;
4057
- }, Mi = (e, t) => Pi(e, Oi(t));
4058
- let Qe;
4059
- const ve = Ee(null);
4060
- function Bt(e) {
4006
+ }, Ei = (e, t) => bi(e, gi(t));
4007
+ let ze;
4008
+ const ge = _e(null);
4009
+ function _t(e) {
4061
4010
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4062
4011
  }
4063
- function Se(e, t = ee().fallbackLocale) {
4064
- const r = Bt(e);
4065
- return t ? [.../* @__PURE__ */ new Set([...r, ...Bt(t)])] : r;
4012
+ function xe(e, t = K().fallbackLocale) {
4013
+ const r = _t(e);
4014
+ return t ? [.../* @__PURE__ */ new Set([...r, ..._t(t)])] : r;
4066
4015
  }
4067
- function k() {
4068
- return Qe != null ? Qe : void 0;
4016
+ function j() {
4017
+ return ze ?? void 0;
4069
4018
  }
4070
- ve.subscribe((e) => {
4071
- Qe = 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);
4072
4021
  });
4073
- const Li = (e) => {
4074
- if (e && Ei(e) && Ze(e)) {
4075
- const { loadingDelay: t } = ee();
4022
+ const xi = (e) => {
4023
+ if (e && ui(e) && Xe(e)) {
4024
+ const { loadingDelay: t } = K();
4076
4025
  let r;
4077
- return typeof window != "undefined" && k() != null && t ? r = window.setTimeout(
4078
- () => Ne.set(!0),
4026
+ return typeof window < "u" && j() != null && t ? r = window.setTimeout(
4027
+ () => Oe.set(!0),
4079
4028
  t
4080
- ) : Ne.set(!0), vr(e).then(() => {
4081
- ve.set(e);
4029
+ ) : Oe.set(!0), lr(e).then(() => {
4030
+ ge.set(e);
4082
4031
  }).finally(() => {
4083
- clearTimeout(r), Ne.set(!1);
4032
+ clearTimeout(r), Oe.set(!1);
4084
4033
  });
4085
4034
  }
4086
- return ve.set(e);
4087
- }, he = Mi(Ni({}, ve), {
4088
- set: Li
4089
- }), Te = (e) => {
4035
+ return ge.set(e);
4036
+ }, le = Ei(_i({}, ge), {
4037
+ set: xi
4038
+ }), Se = (e) => {
4090
4039
  const t = /* @__PURE__ */ Object.create(null);
4091
4040
  return (n) => {
4092
4041
  const i = JSON.stringify(n);
4093
4042
  return i in t ? t[i] : t[i] = e(n);
4094
4043
  };
4095
4044
  };
4096
- var Ri = Object.defineProperty, ye = Object.getOwnPropertySymbols, yr = Object.prototype.hasOwnProperty, _r = Object.prototype.propertyIsEnumerable, Pt = (e, t, r) => t in e ? Ri(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, tt = (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) => {
4097
4046
  for (var r in t || (t = {}))
4098
- yr.call(t, r) && Pt(e, r, t[r]);
4047
+ hr.call(t, r) && Et(e, r, t[r]);
4099
4048
  if (ye)
4100
4049
  for (var r of ye(t))
4101
- _r.call(t, r) && Pt(e, r, t[r]);
4050
+ fr.call(t, r) && Et(e, r, t[r]);
4102
4051
  return e;
4103
- }, re = (e, t) => {
4052
+ }, te = (e, t) => {
4104
4053
  var r = {};
4105
4054
  for (var n in e)
4106
- yr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4055
+ hr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4107
4056
  if (e != null && ye)
4108
4057
  for (var n of ye(e))
4109
- t.indexOf(n) < 0 && _r.call(e, n) && (r[n] = e[n]);
4058
+ t.indexOf(n) < 0 && fr.call(e, n) && (r[n] = e[n]);
4110
4059
  return r;
4111
4060
  };
4112
- const se = (e, t) => {
4113
- const { formats: r } = ee();
4061
+ const oe = (e, t) => {
4062
+ const { formats: r } = K();
4114
4063
  if (e in r && t in r[e])
4115
4064
  return r[e][t];
4116
4065
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4117
- }, $i = Te(
4066
+ }, Ti = Se(
4118
4067
  (e) => {
4119
- 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"]);
4120
4069
  if (r == null)
4121
4070
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4122
- return n && (i = se("number", n)), new Intl.NumberFormat(r, i);
4071
+ return n && (i = oe("number", n)), new Intl.NumberFormat(r, i);
4123
4072
  }
4124
- ), Fi = Te(
4073
+ ), Hi = Se(
4125
4074
  (e) => {
4126
- 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"]);
4127
4076
  if (r == null)
4128
4077
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4129
- 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);
4130
4079
  }
4131
- ), Ui = Te(
4080
+ ), wi = Se(
4132
4081
  (e) => {
4133
- 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"]);
4134
4083
  if (r == null)
4135
4084
  throw new Error(
4136
4085
  '[svelte-i18n] A "locale" must be set to format time values'
4137
4086
  );
4138
- 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);
4139
4088
  }
4140
- ), Di = (e = {}) => {
4089
+ ), Ai = (e = {}) => {
4141
4090
  var t = e, {
4142
- locale: r = k()
4143
- } = t, n = re(t, [
4091
+ locale: r = j()
4092
+ } = t, n = te(t, [
4144
4093
  "locale"
4145
4094
  ]);
4146
- return $i(tt({ locale: r }, n));
4147
- }, Gi = (e = {}) => {
4095
+ return Ti(Ye({ locale: r }, n));
4096
+ }, Bi = (e = {}) => {
4148
4097
  var t = e, {
4149
- locale: r = k()
4150
- } = t, n = re(t, [
4098
+ locale: r = j()
4099
+ } = t, n = te(t, [
4151
4100
  "locale"
4152
4101
  ]);
4153
- return Fi(tt({ locale: r }, n));
4154
- }, ji = (e = {}) => {
4102
+ return Hi(Ye({ locale: r }, n));
4103
+ }, Pi = (e = {}) => {
4155
4104
  var t = e, {
4156
- locale: r = k()
4157
- } = t, n = re(t, [
4105
+ locale: r = j()
4106
+ } = t, n = te(t, [
4158
4107
  "locale"
4159
4108
  ]);
4160
- return Ui(tt({ locale: r }, n));
4161
- }, ki = Te(
4109
+ return wi(Ye({ locale: r }, n));
4110
+ }, Oi = Se(
4162
4111
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4163
- (e, t = k()) => new bi(e, t, ee().formats, {
4164
- ignoreTag: ee().ignoreTag
4112
+ (e, t = j()) => new ni(e, t, K().formats, {
4113
+ ignoreTag: K().ignoreTag
4165
4114
  })
4166
- ), Vi = (e, t = {}) => {
4115
+ ), Ci = (e, t = {}) => {
4167
4116
  var r, n, i, o;
4168
4117
  let s = t;
4169
4118
  typeof e == "object" && (s = e, e = s.id);
4170
4119
  const {
4171
4120
  values: a,
4172
- locale: l = k(),
4121
+ locale: l = j(),
4173
4122
  default: u
4174
4123
  } = s;
4175
4124
  if (l == null)
4176
4125
  throw new Error(
4177
4126
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4178
4127
  );
4179
- let h = dr(e, l);
4128
+ let h = or(e, l);
4180
4129
  if (!h)
4181
- 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;
4182
4131
  else if (typeof h != "string")
4183
4132
  return console.warn(
4184
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.`
@@ -4187,7 +4136,7 @@ const se = (e, t) => {
4187
4136
  return h;
4188
4137
  let f = h;
4189
4138
  try {
4190
- f = ki(h, l).format(a);
4139
+ f = Oi(h, l).format(a);
4191
4140
  } catch (c) {
4192
4141
  c instanceof Error && console.warn(
4193
4142
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4195,17 +4144,17 @@ const se = (e, t) => {
4195
4144
  );
4196
4145
  }
4197
4146
  return f;
4198
- }, Xi = (e, t) => ji(t).format(e), zi = (e, t) => Gi(t).format(e), Wi = (e, t) => Di(t).format(e), Zi = (e, t = k()) => dr(e, t), Qi = te([he, le], () => Vi);
4199
- te([he], () => Xi);
4200
- te([he], () => zi);
4201
- te([he], () => Wi);
4202
- te([he, le], () => Zi);
4203
- window.emWidgets = { topic: ln };
4204
- 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));
4205
- function Ot(e, t) {
4206
- br(e, t);
4207
- }
4208
- const Ct = {
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 = {
4209
4158
  en: {
4210
4159
  tournaments: "Tournaments",
4211
4160
  all: "All",
@@ -4284,60 +4233,60 @@ const Ct = {
4284
4233
  finished: "Finished"
4285
4234
  }
4286
4235
  };
4287
- function Ji(e) {
4288
- Br(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)}");
4289
4238
  }
4290
- function It(e, t, r) {
4239
+ function Tt(e, t, r) {
4291
4240
  const n = e.slice();
4292
4241
  return n[22] = t[r], n[24] = r, n;
4293
4242
  }
4294
- function Nt(e) {
4243
+ function Ht(e) {
4295
4244
  let t, r, n = (
4296
4245
  /*$_*/
4297
4246
  e[4]("tournaments") + ""
4298
- ), i, o, s, a = lt(
4247
+ ), i, o, s, a = tt(
4299
4248
  /*filterItems*/
4300
4249
  e[1]
4301
4250
  ), l = [];
4302
4251
  for (let u = 0; u < a.length; u += 1)
4303
- l[u] = Ut(It(e, a, u));
4252
+ l[u] = Ct(Tt(e, a, u));
4304
4253
  return {
4305
4254
  c() {
4306
- 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();
4307
4256
  for (let u = 0; u < l.length; u += 1)
4308
4257
  l[u].c();
4309
- x(r, "class", "FiltersTitle " + (C(
4258
+ x(r, "class", "FiltersTitle " + (O(
4310
4259
  /*userAgent*/
4311
4260
  e[5]
4312
- ) ? "MobileClass" : "Non-MobileClass/empty")), x(r, "part", "FiltersTitle " + (C(
4261
+ ) ? "MobileClass" : "Non-MobileClass/empty")), x(r, "part", "FiltersTitle " + (O(
4313
4262
  /*userAgent*/
4314
4263
  e[5]
4315
- ) ? "MobileClass" : "Non-MobileClass/empty")), x(t, "class", "FiltersList " + (C(
4264
+ ) ? "MobileClass" : "Non-MobileClass/empty")), x(t, "class", "FiltersList " + (O(
4316
4265
  /*userAgent*/
4317
4266
  e[5]
4318
- ) ? "MobileClass" : "Non-MobileClass/empty")), x(t, "part", "FiltersList " + (C(
4267
+ ) ? "MobileClass" : "Non-MobileClass/empty")), x(t, "part", "FiltersList " + (O(
4319
4268
  /*userAgent*/
4320
4269
  e[5]
4321
4270
  ) ? "MobileClass" : "Non-MobileClass/empty"));
4322
4271
  },
4323
4272
  m(u, h) {
4324
- $(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);
4325
4274
  for (let f = 0; f < l.length; f += 1)
4326
4275
  l[f] && l[f].m(t, null);
4327
4276
  },
4328
4277
  p(u, h) {
4329
4278
  if (h & /*$_*/
4330
4279
  16 && n !== (n = /*$_*/
4331
- 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, $_*/
4332
4281
  126) {
4333
- a = lt(
4282
+ a = tt(
4334
4283
  /*filterItems*/
4335
4284
  u[1]
4336
4285
  );
4337
4286
  let f;
4338
4287
  for (f = 0; f < a.length; f += 1) {
4339
- const c = It(u, a, f);
4340
- l[f] ? l[f].p(c, h) : (l[f] = Ut(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));
4341
4290
  }
4342
4291
  for (; f < l.length; f += 1)
4343
4292
  l[f].d(1);
@@ -4345,133 +4294,133 @@ function Nt(e) {
4345
4294
  }
4346
4295
  },
4347
4296
  d(u) {
4348
- u && M(t), Cr(l, u);
4297
+ u && I(t), gr(l, u);
4349
4298
  }
4350
4299
  };
4351
4300
  }
4352
- function Mt(e) {
4301
+ function wt(e) {
4353
4302
  let t, r;
4354
4303
  return {
4355
4304
  c() {
4356
- t = at("svg"), r = at("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");
4357
4306
  },
4358
4307
  m(n, i) {
4359
- $(n, t, i), B(t, r);
4308
+ R(n, t, i), B(t, r);
4360
4309
  },
4361
4310
  d(n) {
4362
- n && M(t);
4311
+ n && I(t);
4363
4312
  }
4364
4313
  };
4365
4314
  }
4366
- function Lt(e) {
4315
+ function At(e) {
4367
4316
  let t = (
4368
4317
  /*$_*/
4369
4318
  e[4]("scheduled") + ""
4370
4319
  ), r;
4371
4320
  return {
4372
4321
  c() {
4373
- r = j(t);
4322
+ r = G(t);
4374
4323
  },
4375
4324
  m(n, i) {
4376
- $(n, r, i);
4325
+ R(n, r, i);
4377
4326
  },
4378
4327
  p(n, i) {
4379
4328
  i & /*$_*/
4380
4329
  16 && t !== (t = /*$_*/
4381
- n[4]("scheduled") + "") && ue(r, t);
4330
+ n[4]("scheduled") + "") && ae(r, t);
4382
4331
  },
4383
4332
  d(n) {
4384
- n && M(r);
4333
+ n && I(r);
4385
4334
  }
4386
4335
  };
4387
4336
  }
4388
- function Rt(e) {
4337
+ function Bt(e) {
4389
4338
  let t = (
4390
4339
  /*$_*/
4391
4340
  e[4]("ongoing") + ""
4392
4341
  ), r;
4393
4342
  return {
4394
4343
  c() {
4395
- r = j(t);
4344
+ r = G(t);
4396
4345
  },
4397
4346
  m(n, i) {
4398
- $(n, r, i);
4347
+ R(n, r, i);
4399
4348
  },
4400
4349
  p(n, i) {
4401
4350
  i & /*$_*/
4402
4351
  16 && t !== (t = /*$_*/
4403
- n[4]("ongoing") + "") && ue(r, t);
4352
+ n[4]("ongoing") + "") && ae(r, t);
4404
4353
  },
4405
4354
  d(n) {
4406
- n && M(r);
4355
+ n && I(r);
4407
4356
  }
4408
4357
  };
4409
4358
  }
4410
- function $t(e) {
4359
+ function Pt(e) {
4411
4360
  let t = (
4412
4361
  /*$_*/
4413
4362
  e[4]("finished") + ""
4414
4363
  ), r;
4415
4364
  return {
4416
4365
  c() {
4417
- r = j(t);
4366
+ r = G(t);
4418
4367
  },
4419
4368
  m(n, i) {
4420
- $(n, r, i);
4369
+ R(n, r, i);
4421
4370
  },
4422
4371
  p(n, i) {
4423
4372
  i & /*$_*/
4424
4373
  16 && t !== (t = /*$_*/
4425
- n[4]("finished") + "") && ue(r, t);
4374
+ n[4]("finished") + "") && ae(r, t);
4426
4375
  },
4427
4376
  d(n) {
4428
- n && M(r);
4377
+ n && I(r);
4429
4378
  }
4430
4379
  };
4431
4380
  }
4432
- function Ft(e) {
4381
+ function Ot(e) {
4433
4382
  let t = (
4434
4383
  /*$_*/
4435
4384
  e[4]("all") + ""
4436
4385
  ), r;
4437
4386
  return {
4438
4387
  c() {
4439
- r = j(t);
4388
+ r = G(t);
4440
4389
  },
4441
4390
  m(n, i) {
4442
- $(n, r, i);
4391
+ R(n, r, i);
4443
4392
  },
4444
4393
  p(n, i) {
4445
4394
  i & /*$_*/
4446
4395
  16 && t !== (t = /*$_*/
4447
- n[4]("all") + "") && ue(r, t);
4396
+ n[4]("all") + "") && ae(r, t);
4448
4397
  },
4449
4398
  d(n) {
4450
- n && M(r);
4399
+ n && I(r);
4451
4400
  }
4452
4401
  };
4453
4402
  }
4454
- function Ut(e) {
4455
- let t, r, n, i, o, s, a, l, u, h, f, c, p = (
4403
+ function Ct(e) {
4404
+ let t, r, n, i, o, s, a, l, u, h, f, c, d = (
4456
4405
  /*activeIndexes*/
4457
4406
  (e[2][
4458
4407
  /*index*/
4459
4408
  e[24]
4460
4409
  ] == 1 || /*allActive*/
4461
4410
  e[3] && /*index*/
4462
- e[24] == 0) && Mt()
4411
+ e[24] == 0) && wt()
4463
4412
  ), m = (
4464
4413
  /*filter*/
4465
- e[22] == "Scheduled" && Lt(e)
4466
- ), d = (
4414
+ e[22] == "Scheduled" && At(e)
4415
+ ), p = (
4467
4416
  /*filter*/
4468
- e[22] == "Ongoing" && Rt(e)
4417
+ e[22] == "Ongoing" && Bt(e)
4469
4418
  ), _ = (
4470
4419
  /*filter*/
4471
- e[22] == "Finished" && $t(e)
4420
+ e[22] == "Finished" && Pt(e)
4472
4421
  ), S = (
4473
4422
  /*filter*/
4474
- e[22] == "All" && Ft(e)
4423
+ e[22] == "All" && Ot(e)
4475
4424
  );
4476
4425
  function N() {
4477
4426
  return (
@@ -4486,10 +4435,10 @@ function Ut(e) {
4486
4435
  }
4487
4436
  return {
4488
4437
  c() {
4489
- t = D("li"), r = D("button"), p && p.c(), n = W(), i = D("div"), m && m.c(), o = W(), d && d.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(
4490
4439
  /*userAgent*/
4491
4440
  e[5]
4492
- ) ? "MobileClass" : "Non-MobileClass/empty")), x(i, "part", "FilterButton " + (C(
4441
+ ) ? "MobileClass" : "Non-MobileClass/empty")), x(i, "part", "FilterButton " + (O(
4493
4442
  /*userAgent*/
4494
4443
  e[5]
4495
4444
  ) ? "MobileClass" : "Non-MobileClass/empty")), x(r, "class", l = /*activeIndexes*/
@@ -4498,7 +4447,7 @@ function Ut(e) {
4498
4447
  e[24]
4499
4448
  ] == 1 || /*allActive*/
4500
4449
  e[3] && /*index*/
4501
- e[24] == 0 ? "Active" : "") + " " + (C(
4450
+ e[24] == 0 ? "Active" : "") + " " + (O(
4502
4451
  /*userAgent*/
4503
4452
  e[5]
4504
4453
  ) ? "MobileClass" : "Non-MobileClass/empty")), x(r, "part", u = /*activeIndexes*/
@@ -4507,13 +4456,13 @@ function Ut(e) {
4507
4456
  e[24]
4508
4457
  ] == 1 || /*allActive*/
4509
4458
  e[3] && /*index*/
4510
- e[24] == 0 ? "Active" : "") + " " + (C(
4459
+ e[24] == 0 ? "Active" : "") + " " + (O(
4511
4460
  /*userAgent*/
4512
4461
  e[5]
4513
4462
  ) ? "MobileClass" : "Non-MobileClass/empty")), x(t, "class", "FiltersItem"), x(t, "part", "FiltersItem");
4514
4463
  },
4515
4464
  m(T, w) {
4516
- $(T, t, w), B(t, r), p && p.m(r, null), B(r, n), B(r, i), m && m.m(i, null), B(i, o), d && d.m(i, null), B(i, s), _ && _.m(i, null), B(i, a), S && S.m(i, null), B(t, h), f || (c = Ir(t, "click", N), 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);
4517
4466
  },
4518
4467
  p(T, w) {
4519
4468
  e = T, /*activeIndexes*/
@@ -4522,18 +4471,18 @@ function Ut(e) {
4522
4471
  e[24]
4523
4472
  ] == 1 || /*allActive*/
4524
4473
  e[3] && /*index*/
4525
- e[24] == 0 ? p || (p = Mt(), p.c(), p.m(r, n)) : p && (p.d(1), p = null), /*filter*/
4526
- e[22] == "Scheduled" ? m ? m.p(e, w) : (m = Lt(e), m.c(), m.m(i, o)) : m && (m.d(1), m = null), /*filter*/
4527
- e[22] == "Ongoing" ? d ? d.p(e, w) : (d = Rt(e), d.c(), d.m(i, s)) : d && (d.d(1), d = null), /*filter*/
4528
- e[22] == "Finished" ? _ ? _.p(e, w) : (_ = $t(e), _.c(), _.m(i, a)) : _ && (_.d(1), _ = null), /*filter*/
4529
- e[22] == "All" ? S ? S.p(e, w) : (S = Ft(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*/
4530
4479
  12 && l !== (l = /*activeIndexes*/
4531
4480
  (e[2][
4532
4481
  /*index*/
4533
4482
  e[24]
4534
4483
  ] == 1 || /*allActive*/
4535
4484
  e[3] && /*index*/
4536
- e[24] == 0 ? "Active" : "") + " " + (C(
4485
+ e[24] == 0 ? "Active" : "") + " " + (O(
4537
4486
  /*userAgent*/
4538
4487
  e[5]
4539
4488
  ) ? "MobileClass" : "Non-MobileClass/empty")) && x(r, "class", l), w & /*activeIndexes, allActive*/
@@ -4543,71 +4492,71 @@ function Ut(e) {
4543
4492
  e[24]
4544
4493
  ] == 1 || /*allActive*/
4545
4494
  e[3] && /*index*/
4546
- e[24] == 0 ? "Active" : "") + " " + (C(
4495
+ e[24] == 0 ? "Active" : "") + " " + (O(
4547
4496
  /*userAgent*/
4548
4497
  e[5]
4549
4498
  ) ? "MobileClass" : "Non-MobileClass/empty")) && x(r, "part", u);
4550
4499
  },
4551
4500
  d(T) {
4552
- T && M(t), p && p.d(), m && m.d(), d && d.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();
4553
4502
  }
4554
4503
  };
4555
4504
  }
4556
- function Yi(e) {
4505
+ function Fi(e) {
4557
4506
  let t, r = (
4558
4507
  /*filterItems*/
4559
- e[1].length > 0 && Nt(e)
4508
+ e[1].length > 0 && Ht(e)
4560
4509
  );
4561
4510
  return {
4562
4511
  c() {
4563
- t = D("div"), r && r.c(), x(t, "class", "FiltersController " + (C(
4512
+ t = U("div"), r && r.c(), x(t, "class", "FiltersController " + (O(
4564
4513
  /*userAgent*/
4565
4514
  e[5]
4566
- ) ? "MobileClass" : "Non-MobileClass/empty")), x(t, "part", "FiltersController " + (C(
4515
+ ) ? "MobileClass" : "Non-MobileClass/empty")), x(t, "part", "FiltersController " + (O(
4567
4516
  /*userAgent*/
4568
4517
  e[5]
4569
4518
  ) ? "MobileClass" : "Non-MobileClass/empty"));
4570
4519
  },
4571
4520
  m(n, i) {
4572
- $(n, t, i), r && r.m(t, null), e[13](t);
4521
+ R(n, t, i), r && r.m(t, null), e[13](t);
4573
4522
  },
4574
4523
  p(n, [i]) {
4575
4524
  /*filterItems*/
4576
- n[1].length > 0 ? r ? r.p(n, i) : (r = Nt(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);
4577
4526
  },
4578
- i: I,
4579
- o: I,
4527
+ i: C,
4528
+ o: C,
4580
4529
  d(n) {
4581
- n && M(t), r && r.d(), e[13](null);
4530
+ n && I(t), r && r.d(), e[13](null);
4582
4531
  }
4583
4532
  };
4584
4533
  }
4585
- function qi(e, t, r) {
4534
+ function Ui(e, t, r) {
4586
4535
  let n;
4587
- Ar(e, Qi, (v) => r(4, n = v));
4588
- let { filters: i = "" } = t, { activefilters: o = "" } = t, { translationurl: s = "" } = t, { clientstyling: a = "" } = t, { clientstylingurl: l = "" } = t, u, h = [], f = 0, c = new Array(100), p = !0, m = window.navigator.userAgent;
4589
- const d = () => {
4536
+ dr(e, Ri, (y) => r(4, n = y));
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;
4538
+ const p = () => {
4590
4539
  fetch(s).then((H) => H.json()).then((H) => {
4591
4540
  Object.keys(H).forEach((P) => {
4592
- Ot(P, H[P]);
4541
+ xt(P, H[P]);
4593
4542
  });
4594
4543
  }).catch((H) => {
4595
4544
  console.log(H);
4596
4545
  });
4597
4546
  };
4598
- Object.keys(Ct).forEach((v) => {
4599
- Ot(v, Ct[v]);
4547
+ Object.keys(St).forEach((y) => {
4548
+ xt(y, St[y]);
4600
4549
  });
4601
- const _ = (v, H) => {
4550
+ const _ = (y, H) => {
4602
4551
  if (H == 0)
4603
- r(3, p = !0), r(2, c = new Array(f)), window.postMessage(
4552
+ r(3, d = !0), r(2, c = new Array(f)), window.postMessage(
4604
4553
  {
4605
4554
  type: "TournamentsFiltersSelected",
4606
4555
  filters: ["All"]
4607
4556
  },
4608
4557
  window.location.href
4609
4558
  );
4610
- else if (r(3, p = !1), c[H] == 1 ? (r(2, c[H] = 0, c), c.indexOf(1) == -1 && r(3, p = !0)) : r(2, c[H] = 1, c), c.indexOf(1) == -1)
4559
+ else if (r(3, d = !1), c[H] == 1 ? (r(2, c[H] = 0, c), c.indexOf(1) == -1 && r(3, d = !0)) : r(2, c[H] = 1, c), c.indexOf(1) == -1)
4611
4560
  window.postMessage(
4612
4561
  {
4613
4562
  type: "TournamentsFiltersSelected",
@@ -4617,8 +4566,8 @@ function qi(e, t, r) {
4617
4566
  );
4618
4567
  else {
4619
4568
  let P = [];
4620
- for (let fe = 0; fe < h.length; fe++)
4621
- c[fe] == 1 && P.push(h[fe]);
4569
+ for (let he = 0; he < h.length; he++)
4570
+ c[he] == 1 && P.push(h[he]);
4622
4571
  window.postMessage(
4623
4572
  {
4624
4573
  type: "TournamentsFiltersSelected",
@@ -4630,17 +4579,17 @@ function qi(e, t, r) {
4630
4579
  }, S = () => {
4631
4580
  r(1, h = i.split(",")), f = h.length;
4632
4581
  }, N = () => {
4633
- let v = o.split(",");
4634
- r(2, c = new Array(f)), v.indexOf("All") != -1 ? r(3, p = !0) : (r(3, p = !1), v.forEach((H) => {
4582
+ let y = o.split(",");
4583
+ r(2, c = new Array(f)), y.indexOf("All") != -1 ? r(3, d = !0) : (r(3, d = !1), y.forEach((H) => {
4635
4584
  let P = h.indexOf(H);
4636
4585
  P > 0 && r(2, c[P] = 1, c);
4637
4586
  }));
4638
4587
  }, T = () => {
4639
- let v = document.createElement("style");
4640
- v.innerHTML = a, u.appendChild(v);
4588
+ let y = document.createElement("style");
4589
+ y.innerHTML = a, u.appendChild(y);
4641
4590
  }, w = () => {
4642
- let v = new URL(l), H = document.createElement("style");
4643
- fetch(v.href).then((P) => P.text()).then((P) => {
4591
+ let y = new URL(l), H = document.createElement("style");
4592
+ fetch(y.href).then((P) => P.text()).then((P) => {
4644
4593
  H.innerHTML = P, setTimeout(
4645
4594
  () => {
4646
4595
  u.appendChild(H);
@@ -4652,26 +4601,26 @@ function qi(e, t, r) {
4652
4601
  500
4653
4602
  );
4654
4603
  });
4655
- }, L = (v, H) => _(v, H);
4656
- function V(v) {
4657
- Me[v ? "unshift" : "push"](() => {
4658
- u = v, r(0, u);
4604
+ }, M = (y, H) => _(y, H);
4605
+ function k(y) {
4606
+ Ce[y ? "unshift" : "push"](() => {
4607
+ u = y, r(0, u);
4659
4608
  });
4660
4609
  }
4661
- return e.$$set = (v) => {
4662
- "filters" in v && r(7, i = v.filters), "activefilters" in v && r(8, o = v.activefilters), "translationurl" in v && r(9, s = v.translationurl), "clientstyling" in v && r(10, a = v.clientstyling), "clientstylingurl" in v && r(11, l = v.clientstylingurl);
4610
+ return e.$$set = (y) => {
4611
+ "filters" in y && r(7, i = y.filters), "activefilters" in y && r(8, o = y.activefilters), "translationurl" in y && r(9, s = y.translationurl), "clientstyling" in y && r(10, a = y.clientstyling), "clientstylingurl" in y && r(11, l = y.clientstylingurl);
4663
4612
  }, e.$$.update = () => {
4664
4613
  e.$$.dirty & /*customStylingContainer, clientstyling*/
4665
4614
  1025 && u && a && T(), e.$$.dirty & /*customStylingContainer, clientstylingurl*/
4666
4615
  2049 && u && l && w(), e.$$.dirty & /*translationurl*/
4667
- 512 && s && d(), e.$$.dirty & /*filters*/
4616
+ 512 && s && p(), e.$$.dirty & /*filters*/
4668
4617
  128 && i && S(), e.$$.dirty & /*activefilters*/
4669
4618
  256 && o && N();
4670
4619
  }, [
4671
4620
  u,
4672
4621
  h,
4673
4622
  c,
4674
- p,
4623
+ d,
4675
4624
  n,
4676
4625
  m,
4677
4626
  _,
@@ -4680,18 +4629,18 @@ function qi(e, t, r) {
4680
4629
  s,
4681
4630
  a,
4682
4631
  l,
4683
- L,
4684
- V
4632
+ M,
4633
+ k
4685
4634
  ];
4686
4635
  }
4687
- class Ki extends zr {
4636
+ class Di extends Nr {
4688
4637
  constructor(t) {
4689
- super(), Vr(
4638
+ super(), Or(
4690
4639
  this,
4691
4640
  t,
4692
- qi,
4693
- Yi,
4694
- Gt,
4641
+ Ui,
4642
+ Fi,
4643
+ It,
4695
4644
  {
4696
4645
  filters: 7,
4697
4646
  activefilters: 8,
@@ -4699,41 +4648,41 @@ class Ki extends zr {
4699
4648
  clientstyling: 10,
4700
4649
  clientstylingurl: 11
4701
4650
  },
4702
- Ji
4651
+ $i
4703
4652
  );
4704
4653
  }
4705
4654
  get filters() {
4706
4655
  return this.$$.ctx[7];
4707
4656
  }
4708
4657
  set filters(t) {
4709
- this.$$set({ filters: t }), G();
4658
+ this.$$set({ filters: t }), D();
4710
4659
  }
4711
4660
  get activefilters() {
4712
4661
  return this.$$.ctx[8];
4713
4662
  }
4714
4663
  set activefilters(t) {
4715
- this.$$set({ activefilters: t }), G();
4664
+ this.$$set({ activefilters: t }), D();
4716
4665
  }
4717
4666
  get translationurl() {
4718
4667
  return this.$$.ctx[9];
4719
4668
  }
4720
4669
  set translationurl(t) {
4721
- this.$$set({ translationurl: t }), G();
4670
+ this.$$set({ translationurl: t }), D();
4722
4671
  }
4723
4672
  get clientstyling() {
4724
4673
  return this.$$.ctx[10];
4725
4674
  }
4726
4675
  set clientstyling(t) {
4727
- this.$$set({ clientstyling: t }), G();
4676
+ this.$$set({ clientstyling: t }), D();
4728
4677
  }
4729
4678
  get clientstylingurl() {
4730
4679
  return this.$$.ctx[11];
4731
4680
  }
4732
4681
  set clientstylingurl(t) {
4733
- this.$$set({ clientstylingurl: t }), G();
4682
+ this.$$set({ clientstylingurl: t }), D();
4734
4683
  }
4735
4684
  }
4736
- Xr(Ki, { filters: {}, activefilters: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
4685
+ Cr(Di, { filters: {}, activefilters: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
4737
4686
  export {
4738
- Ki as default
4687
+ Di as C
4739
4688
  };