@everymatrix/casino-most-played-section 1.59.0 → 1.59.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. package/components/{CasinoFilter-D9VOcS4e.js → CasinoFilter-BEMZeS_g.js} +1024 -998
  2. package/components/{CasinoFilter-CBoZ_RpC.js → CasinoFilter-C_0ob48-.js} +991 -965
  3. package/components/CasinoFilter-DofohXbH.cjs +18 -0
  4. package/components/CasinoGameThumbnail-BcMbDBA2.cjs +47 -0
  5. package/components/{CasinoGameThumbnail-Cwm-Tv9Z.js → CasinoGameThumbnail-BlqmZREO.js} +1495 -1479
  6. package/components/{CasinoGameThumbnail-8SSlDp2s.js → CasinoGameThumbnail-KTwYvmqH.js} +1551 -1535
  7. package/components/{CasinoGamesCategorySection-BYQrH9_B.cjs → CasinoGamesCategorySection-B63svGQp.cjs} +1 -1
  8. package/components/{CasinoGamesCategorySection-CIDyNXT6.js → CasinoGamesCategorySection-BBI2VM_A.js} +424 -419
  9. package/components/{CasinoGamesCategorySection-Dd6Sbxl3.js → CasinoGamesCategorySection-Dk5gIWUD.js} +517 -512
  10. package/components/{CasinoMostPlayedSection-Bdpwrllj.js → CasinoMostPlayedSection-C6gF3p6r.js} +61 -61
  11. package/components/{CasinoMostPlayedSection-ZCvcv5TT.js → CasinoMostPlayedSection-DYiOblDn.js} +67 -67
  12. package/components/{CasinoMostPlayedSection-C2atcWQN.cjs → CasinoMostPlayedSection-Ic2U2XCD.cjs} +1 -1
  13. package/components/{CasinoSort-BUVnl6Xi.js → CasinoSort-BlmGeGgO.js} +106 -107
  14. package/components/{CasinoSort-fSuvj-fz.js → CasinoSort-C0-xVhct.js} +114 -113
  15. package/components/{CasinoSort-Td9dTUIe.cjs → CasinoSort-M-DWe9Ma.cjs} +1 -1
  16. package/es2015/casino-most-played-section.cjs +1 -1
  17. package/es2015/casino-most-played-section.js +1 -1
  18. package/esnext/casino-most-played-section.js +1 -1
  19. package/package.json +3 -2
  20. package/stencil/app-globals-0f993ce5-D-kw1sls.js +5 -0
  21. package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +1 -0
  22. package/stencil/index-ae04a8b1-DPYODDdm.cjs +1 -0
  23. package/stencil/index-ae04a8b1-DRAR7dln.js +532 -0
  24. package/stencil/index-ae04a8b1-eSktas_K.js +516 -0
  25. package/stencil/ui-skeleton-C1buDKbo.cjs +1 -0
  26. package/stencil/ui-skeleton-C5gPr5Xv.js +11 -0
  27. package/stencil/ui-skeleton-M7HNQCk1.js +29 -0
  28. package/stencil/ui-skeleton-a642cced-BFJMszWG.js +122 -0
  29. package/stencil/ui-skeleton-a642cced-DO34s50a.cjs +1 -0
  30. package/stencil/ui-skeleton-a642cced-p8tGooXk.js +122 -0
  31. package/components/CasinoFilter-CP2SsYcD.cjs +0 -18
  32. package/components/CasinoGameThumbnail-CHQxvhi_.cjs +0 -47
@@ -1,50 +1,53 @@
1
- function k() {
1
+ function G() {
2
2
  }
3
- function Xt(e) {
3
+ function Jt(e) {
4
4
  return e();
5
5
  }
6
- function bt() {
6
+ function _t() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
9
  function Y(e) {
10
- e.forEach(Xt);
10
+ e.forEach(Jt);
11
11
  }
12
- function dt(e) {
12
+ function $e(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function Wt(e, t) {
15
+ function Qt(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
- let Fe;
19
- function gt(e, t) {
20
- return e === t ? !0 : (Fe || (Fe = document.createElement("a")), Fe.href = t, e === Fe.href);
18
+ let Ce;
19
+ function xt(e, t) {
20
+ return e === t ? !0 : (Ce || (Ce = document.createElement("a")), Ce.href = t, e === Ce.href);
21
21
  }
22
- function Fr(e) {
22
+ function Lr(e) {
23
23
  return Object.keys(e).length === 0;
24
24
  }
25
- function zt(e, ...t) {
25
+ function qt(e, ...t) {
26
26
  if (e == null) {
27
27
  for (const n of t)
28
28
  n(void 0);
29
- return k;
29
+ return G;
30
30
  }
31
31
  const r = e.subscribe(...t);
32
32
  return r.unsubscribe ? () => r.unsubscribe() : r;
33
33
  }
34
- function Cr(e, t, r) {
35
- e.$$.on_destroy.push(zt(t, r));
34
+ function Nr(e, t, r) {
35
+ e.$$.on_destroy.push(qt(t, r));
36
+ }
37
+ function yo(e) {
38
+ return e && $e(e.destroy) ? e.destroy : G;
36
39
  }
37
40
  function _(e, t) {
38
41
  e.appendChild(t);
39
42
  }
40
- function Br(e, t, r) {
41
- const n = Or(e);
43
+ function Mr(e, t, r) {
44
+ const n = Rr(e);
42
45
  if (!n.getElementById(t)) {
43
- const i = F("style");
44
- i.id = t, i.textContent = r, Ir(n, i);
46
+ const i = C("style");
47
+ i.id = t, i.textContent = r, Dr(n, i);
45
48
  }
46
49
  }
47
- function Or(e) {
50
+ function Rr(e) {
48
51
  if (!e)
49
52
  return document;
50
53
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -54,62 +57,62 @@ function Or(e) {
54
57
  t
55
58
  ) : e.ownerDocument;
56
59
  }
57
- function Ir(e, t) {
60
+ function Dr(e, t) {
58
61
  return _(
59
62
  /** @type {Document} */
60
63
  e.head || e,
61
64
  t
62
65
  ), t.sheet;
63
66
  }
64
- function W(e, t, r) {
67
+ function X(e, t, r) {
65
68
  e.insertBefore(t, r || null);
66
69
  }
67
- function j(e) {
70
+ function k(e) {
68
71
  e.parentNode && e.parentNode.removeChild(e);
69
72
  }
70
- function Lr(e, t) {
73
+ function Ur(e, t) {
71
74
  for (let r = 0; r < e.length; r += 1)
72
75
  e[r] && e[r].d(t);
73
76
  }
74
- function F(e) {
77
+ function C(e) {
75
78
  return document.createElement(e);
76
79
  }
77
80
  function Ee(e) {
78
81
  return document.createElementNS("http://www.w3.org/2000/svg", e);
79
82
  }
80
- function G(e) {
83
+ function $(e) {
81
84
  return document.createTextNode(e);
82
85
  }
83
- function X() {
84
- return G(" ");
86
+ function V() {
87
+ return $(" ");
85
88
  }
86
- function po() {
87
- return G("");
89
+ function vo() {
90
+ return $("");
88
91
  }
89
- function Me(e, t, r, n) {
92
+ function Re(e, t, r, n) {
90
93
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
91
94
  }
92
- function m(e, t, r) {
95
+ function b(e, t, r) {
93
96
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
94
97
  }
95
- function mo(e, t, r) {
98
+ function _o(e, t, r) {
96
99
  const n = t.toLowerCase();
97
- n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : m(e, t, r);
100
+ n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : b(e, t, r);
98
101
  }
99
- function Nr(e) {
102
+ function $r(e) {
100
103
  return Array.from(e.childNodes);
101
104
  }
102
105
  function q(e, t) {
103
106
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
104
107
  t);
105
108
  }
106
- function vt(e, t) {
109
+ function Et(e, t) {
107
110
  e.value = t ?? "";
108
111
  }
109
- function bo(e, t, r) {
112
+ function xo(e, t, r) {
110
113
  e.classList.toggle(t, !!r);
111
114
  }
112
- class go {
115
+ class Eo {
113
116
  /**
114
117
  * @private
115
118
  * @default false
@@ -143,7 +146,7 @@ class go {
143
146
  this.e || (this.is_svg ? this.e = Ee(
144
147
  /** @type {keyof SVGElementTagNameMap} */
145
148
  r.nodeName
146
- ) : this.e = F(
149
+ ) : this.e = C(
147
150
  /** @type {keyof HTMLElementTagNameMap} */
148
151
  r.nodeType === 11 ? "TEMPLATE" : r.nodeName
149
152
  ), this.t = r.tagName !== "TEMPLATE" ? r : (
@@ -164,7 +167,7 @@ class go {
164
167
  * @returns {void} */
165
168
  i(t) {
166
169
  for (let r = 0; r < this.n.length; r += 1)
167
- W(this.t, this.n[r], t);
170
+ X(this.t, this.n[r], t);
168
171
  }
169
172
  /**
170
173
  * @param {string} html
@@ -176,10 +179,10 @@ class go {
176
179
  /**
177
180
  * @returns {void} */
178
181
  d() {
179
- this.n.forEach(j);
182
+ this.n.forEach(k);
180
183
  }
181
184
  }
182
- function Mr(e) {
185
+ function Gr(e) {
183
186
  const t = {};
184
187
  return e.childNodes.forEach(
185
188
  /** @param {Element} node */
@@ -192,117 +195,117 @@ let Se;
192
195
  function we(e) {
193
196
  Se = e;
194
197
  }
195
- function Rr() {
198
+ function kr() {
196
199
  if (!Se)
197
200
  throw new Error("Function called outside component initialization");
198
201
  return Se;
199
202
  }
200
- function Dr(e) {
201
- Rr().$$.on_mount.push(e);
203
+ function jr(e) {
204
+ kr().$$.on_mount.push(e);
202
205
  }
203
- const he = [], qe = [];
204
- let ce = [];
205
- const yt = [], Zt = /* @__PURE__ */ Promise.resolve();
206
- let Ye = !1;
207
- function Jt() {
208
- Ye || (Ye = !0, Zt.then(U));
206
+ const ce = [], et = [];
207
+ let fe = [];
208
+ const wt = [], Yt = /* @__PURE__ */ Promise.resolve();
209
+ let tt = !1;
210
+ function Kt() {
211
+ tt || (tt = !0, Yt.then(D));
209
212
  }
210
- function vo() {
211
- return Jt(), Zt;
213
+ function wo() {
214
+ return Kt(), Yt;
212
215
  }
213
- function Ke(e) {
214
- ce.push(e);
216
+ function rt(e) {
217
+ fe.push(e);
215
218
  }
216
- const Ve = /* @__PURE__ */ new Set();
217
- let le = 0;
218
- function U() {
219
- if (le !== 0)
219
+ const We = /* @__PURE__ */ new Set();
220
+ let ue = 0;
221
+ function D() {
222
+ if (ue !== 0)
220
223
  return;
221
224
  const e = Se;
222
225
  do {
223
226
  try {
224
- for (; le < he.length; ) {
225
- const t = he[le];
226
- le++, we(t), Ur(t.$$);
227
+ for (; ue < ce.length; ) {
228
+ const t = ce[ue];
229
+ ue++, we(t), Vr(t.$$);
227
230
  }
228
231
  } catch (t) {
229
- throw he.length = 0, le = 0, t;
232
+ throw ce.length = 0, ue = 0, t;
230
233
  }
231
- for (we(null), he.length = 0, le = 0; qe.length; )
232
- qe.pop()();
233
- for (let t = 0; t < ce.length; t += 1) {
234
- const r = ce[t];
235
- Ve.has(r) || (Ve.add(r), r());
234
+ for (we(null), ce.length = 0, ue = 0; et.length; )
235
+ et.pop()();
236
+ for (let t = 0; t < fe.length; t += 1) {
237
+ const r = fe[t];
238
+ We.has(r) || (We.add(r), r());
236
239
  }
237
- ce.length = 0;
238
- } while (he.length);
239
- for (; yt.length; )
240
- yt.pop()();
241
- Ye = !1, Ve.clear(), we(e);
240
+ fe.length = 0;
241
+ } while (ce.length);
242
+ for (; wt.length; )
243
+ wt.pop()();
244
+ tt = !1, We.clear(), we(e);
242
245
  }
243
- function Ur(e) {
246
+ function Vr(e) {
244
247
  if (e.fragment !== null) {
245
248
  e.update(), Y(e.before_update);
246
249
  const t = e.dirty;
247
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ke);
250
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(rt);
248
251
  }
249
252
  }
250
- function $r(e) {
253
+ function Xr(e) {
251
254
  const t = [], r = [];
252
- ce.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ce = t;
255
+ fe.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), fe = t;
253
256
  }
254
- const Gr = /* @__PURE__ */ new Set();
255
- function Qt(e, t) {
256
- e && e.i && (Gr.delete(e), e.i(t));
257
+ const Wr = /* @__PURE__ */ new Set();
258
+ function er(e, t) {
259
+ e && e.i && (Wr.delete(e), e.i(t));
257
260
  }
258
- function _t(e) {
261
+ function St(e) {
259
262
  return e?.length !== void 0 ? e : Array.from(e);
260
263
  }
261
- function yo(e, t) {
264
+ function So(e, t) {
262
265
  e.d(1), t.delete(e.key);
263
266
  }
264
- function _o(e, t, r, n, i, o, s, a, h, l, u, f) {
265
- let c = e.length, p = o.length, v = c;
267
+ function To(e, t, r, n, i, o, s, a, h, l, u, d) {
268
+ let c = e.length, m = o.length, y = c;
266
269
  const g = {};
267
- for (; v--; )
268
- g[e[v].key] = v;
269
- const P = [], w = /* @__PURE__ */ new Map(), y = /* @__PURE__ */ new Map(), x = [];
270
- for (v = p; v--; ) {
271
- const S = f(i, o, v), O = r(S);
272
- let M = s.get(O);
273
- M ? x.push(() => M.p(S, t)) : (M = l(O, S), M.c()), w.set(O, P[v] = M), O in g && y.set(O, Math.abs(v - g[O]));
270
+ for (; y--; )
271
+ g[e[y].key] = y;
272
+ const F = [], w = /* @__PURE__ */ new Map(), v = /* @__PURE__ */ new Map(), x = [];
273
+ for (y = m; y--; ) {
274
+ const S = d(i, o, y), I = r(S);
275
+ let L = s.get(I);
276
+ L ? x.push(() => L.p(S, t)) : (L = l(I, S), L.c()), w.set(I, F[y] = L), I in g && v.set(I, Math.abs(y - g[I]));
274
277
  }
275
- const L = /* @__PURE__ */ new Set(), N = /* @__PURE__ */ new Set();
276
- function R(S) {
277
- Qt(S, 1), S.m(a, u), s.set(S.key, S), u = S.first, p--;
278
+ const O = /* @__PURE__ */ new Set(), N = /* @__PURE__ */ new Set();
279
+ function M(S) {
280
+ er(S, 1), S.m(a, u), s.set(S.key, S), u = S.first, m--;
278
281
  }
279
- for (; c && p; ) {
280
- const S = P[p - 1], O = e[c - 1], M = S.key, V = O.key;
281
- S === O ? (u = S.first, c--, p--) : w.has(V) ? !s.has(M) || L.has(M) ? R(S) : N.has(V) ? c-- : y.get(M) > y.get(V) ? (N.add(M), R(S)) : (L.add(V), c--) : (h(O, s), c--);
282
+ for (; c && m; ) {
283
+ const S = F[m - 1], I = e[c - 1], L = S.key, W = I.key;
284
+ S === I ? (u = S.first, c--, m--) : w.has(W) ? !s.has(L) || O.has(L) ? M(S) : N.has(W) ? c-- : v.get(L) > v.get(W) ? (N.add(L), M(S)) : (O.add(W), c--) : (h(I, s), c--);
282
285
  }
283
286
  for (; c--; ) {
284
287
  const S = e[c];
285
288
  w.has(S.key) || h(S, s);
286
289
  }
287
- for (; p; )
288
- R(P[p - 1]);
289
- return Y(x), P;
290
+ for (; m; )
291
+ M(F[m - 1]);
292
+ return Y(x), F;
290
293
  }
291
- function kr(e, t, r) {
294
+ function zr(e, t, r) {
292
295
  const { fragment: n, after_update: i } = e.$$;
293
- n && n.m(t, r), Ke(() => {
294
- const o = e.$$.on_mount.map(Xt).filter(dt);
296
+ n && n.m(t, r), rt(() => {
297
+ const o = e.$$.on_mount.map(Jt).filter($e);
295
298
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Y(o), e.$$.on_mount = [];
296
- }), i.forEach(Ke);
299
+ }), i.forEach(rt);
297
300
  }
298
- function jr(e, t) {
301
+ function Zr(e, t) {
299
302
  const r = e.$$;
300
- r.fragment !== null && ($r(r.after_update), Y(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
303
+ r.fragment !== null && (Xr(r.after_update), Y(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
301
304
  }
302
- function Vr(e, t) {
303
- e.$$.dirty[0] === -1 && (he.push(e), Jt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
305
+ function Jr(e, t) {
306
+ e.$$.dirty[0] === -1 && (ce.push(e), Kt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
304
307
  }
305
- function Xr(e, t, r, n, i, o, s = null, a = [-1]) {
308
+ function Qr(e, t, r, n, i, o, s = null, a = [-1]) {
306
309
  const h = Se;
307
310
  we(e);
308
311
  const l = e.$$ = {
@@ -310,9 +313,9 @@ function Xr(e, t, r, n, i, o, s = null, a = [-1]) {
310
313
  ctx: [],
311
314
  // state
312
315
  props: o,
313
- update: k,
316
+ update: G,
314
317
  not_equal: i,
315
- bound: bt(),
318
+ bound: _t(),
316
319
  // lifecycle
317
320
  on_mount: [],
318
321
  on_destroy: [],
@@ -321,28 +324,28 @@ function Xr(e, t, r, n, i, o, s = null, a = [-1]) {
321
324
  after_update: [],
322
325
  context: new Map(t.context || (h ? h.$$.context : [])),
323
326
  // everything else
324
- callbacks: bt(),
327
+ callbacks: _t(),
325
328
  dirty: a,
326
329
  skip_bound: !1,
327
330
  root: t.target || h.$$.root
328
331
  };
329
332
  s && s(l.root);
330
333
  let u = !1;
331
- if (l.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
332
- const v = p.length ? p[0] : c;
333
- return l.ctx && i(l.ctx[f], l.ctx[f] = v) && (!l.skip_bound && l.bound[f] && l.bound[f](v), u && Vr(e, f)), c;
334
+ if (l.ctx = r ? r(e, t.props || {}, (d, c, ...m) => {
335
+ const y = m.length ? m[0] : c;
336
+ return l.ctx && i(l.ctx[d], l.ctx[d] = y) && (!l.skip_bound && l.bound[d] && l.bound[d](y), u && Jr(e, d)), c;
334
337
  }) : [], l.update(), u = !0, Y(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
335
338
  if (t.hydrate) {
336
- const f = Nr(t.target);
337
- l.fragment && l.fragment.l(f), f.forEach(j);
339
+ const d = $r(t.target);
340
+ l.fragment && l.fragment.l(d), d.forEach(k);
338
341
  } else
339
342
  l.fragment && l.fragment.c();
340
- t.intro && Qt(e.$$.fragment), kr(e, t.target, t.anchor), U();
343
+ t.intro && er(e.$$.fragment), zr(e, t.target, t.anchor), D();
341
344
  }
342
345
  we(h);
343
346
  }
344
- let qt;
345
- typeof HTMLElement == "function" && (qt = class extends HTMLElement {
347
+ let tr;
348
+ typeof HTMLElement == "function" && (tr = class extends HTMLElement {
346
349
  /** The Svelte component constructor */
347
350
  $$ctor;
348
351
  /** Slots */
@@ -384,24 +387,24 @@ typeof HTMLElement == "function" && (qt = class extends HTMLElement {
384
387
  let o;
385
388
  return {
386
389
  c: function() {
387
- o = F("slot"), i !== "default" && m(o, "name", i);
390
+ o = C("slot"), i !== "default" && b(o, "name", i);
388
391
  },
389
392
  /**
390
393
  * @param {HTMLElement} target
391
394
  * @param {HTMLElement} [anchor]
392
395
  */
393
396
  m: function(h, l) {
394
- W(h, o, l);
397
+ X(h, o, l);
395
398
  },
396
399
  d: function(h) {
397
- h && j(o);
400
+ h && k(o);
398
401
  }
399
402
  };
400
403
  };
401
404
  };
402
405
  if (await Promise.resolve(), !this.$$cn || this.$$c)
403
406
  return;
404
- const t = {}, r = Mr(this);
407
+ const t = {}, r = Gr(this);
405
408
  for (const i of this.$$s)
406
409
  i in r && (t[i] = [e(i)]);
407
410
  for (const i of this.attributes) {
@@ -488,8 +491,8 @@ function Oe(e, t, r, n) {
488
491
  return t;
489
492
  }
490
493
  }
491
- function Wr(e, t, r, n, i, o) {
492
- let s = class extends qt {
494
+ function qr(e, t, r, n, i, o) {
495
+ let s = class extends tr {
493
496
  constructor() {
494
497
  super(e, r, i), this.$$p_d = t;
495
498
  }
@@ -517,7 +520,7 @@ function Wr(e, t, r, n, i, o) {
517
520
  }), e.element = /** @type {any} */
518
521
  s, s;
519
522
  }
520
- class zr {
523
+ class Yr {
521
524
  /**
522
525
  * ### PRIVATE API
523
526
  *
@@ -536,7 +539,7 @@ class zr {
536
539
  $$set = void 0;
537
540
  /** @returns {void} */
538
541
  $destroy() {
539
- jr(this, 1), this.$destroy = k;
542
+ Zr(this, 1), this.$destroy = G;
540
543
  }
541
544
  /**
542
545
  * @template {Extract<keyof Events, string>} K
@@ -545,8 +548,8 @@ class zr {
545
548
  * @returns {() => void}
546
549
  */
547
550
  $on(t, r) {
548
- if (!dt(r))
549
- return k;
551
+ if (!$e(r))
552
+ return G;
550
553
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
551
554
  return n.push(r), () => {
552
555
  const i = n.indexOf(r);
@@ -558,11 +561,11 @@ class zr {
558
561
  * @returns {void}
559
562
  */
560
563
  $set(t) {
561
- this.$$set && !Fr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
564
+ this.$$set && !Lr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
562
565
  }
563
566
  }
564
- const Zr = "4";
565
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Zr);
567
+ const Kr = "4";
568
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Kr);
566
569
  /*! *****************************************************************************
567
570
  Copyright (c) Microsoft Corporation.
568
571
 
@@ -577,34 +580,34 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
577
580
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
578
581
  PERFORMANCE OF THIS SOFTWARE.
579
582
  ***************************************************************************** */
580
- var et = function(e, t) {
581
- return et = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
583
+ var nt = function(e, t) {
584
+ return nt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
582
585
  r.__proto__ = n;
583
586
  } || function(r, n) {
584
587
  for (var i in n)
585
588
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
586
- }, et(e, t);
589
+ }, nt(e, t);
587
590
  };
588
- function J(e, t) {
591
+ function Z(e, t) {
589
592
  if (typeof t != "function" && t !== null)
590
593
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
591
- et(e, t);
594
+ nt(e, t);
592
595
  function r() {
593
596
  this.constructor = e;
594
597
  }
595
598
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
596
599
  }
597
- var A = function() {
598
- return A = Object.assign || function(t) {
600
+ var H = function() {
601
+ return H = Object.assign || function(t) {
599
602
  for (var r, n = 1, i = arguments.length; n < i; n++) {
600
603
  r = arguments[n];
601
604
  for (var o in r)
602
605
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
603
606
  }
604
607
  return t;
605
- }, A.apply(this, arguments);
608
+ }, H.apply(this, arguments);
606
609
  };
607
- function Jr(e, t) {
610
+ function en(e, t) {
608
611
  var r = {};
609
612
  for (var n in e)
610
613
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -613,7 +616,7 @@ function Jr(e, t) {
613
616
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
614
617
  return r;
615
618
  }
616
- function tt(e) {
619
+ function it(e) {
617
620
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
618
621
  if (r)
619
622
  return r.call(e);
@@ -625,7 +628,7 @@ function tt(e) {
625
628
  };
626
629
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
627
630
  }
628
- function rt(e, t) {
631
+ function ot(e, t) {
629
632
  var r = typeof Symbol == "function" && e[Symbol.iterator];
630
633
  if (!r)
631
634
  return e;
@@ -645,22 +648,22 @@ function rt(e, t) {
645
648
  }
646
649
  return o;
647
650
  }
648
- function fe(e, t, r) {
651
+ function de(e, t, r) {
649
652
  if (r || arguments.length === 2)
650
653
  for (var n = 0, i = t.length, o; n < i; n++)
651
654
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
652
655
  return e.concat(o || t);
653
656
  }
654
- function Z(e) {
657
+ function z(e) {
655
658
  return typeof e == "function";
656
659
  }
657
- function Yt(e) {
660
+ function rr(e) {
658
661
  var t = function(n) {
659
662
  Error.call(n), n.stack = new Error().stack;
660
663
  }, r = e(t);
661
664
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
662
665
  }
663
- var Xe = Yt(function(e) {
666
+ var ze = rr(function(e) {
664
667
  return function(r) {
665
668
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
666
669
  ` + r.map(function(n, i) {
@@ -669,13 +672,13 @@ var Xe = Yt(function(e) {
669
672
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
670
673
  };
671
674
  });
672
- function nt(e, t) {
675
+ function st(e, t) {
673
676
  if (e) {
674
677
  var r = e.indexOf(t);
675
678
  0 <= r && e.splice(r, 1);
676
679
  }
677
680
  }
678
- var Ue = function() {
681
+ var Ge = function() {
679
682
  function e(t) {
680
683
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
681
684
  }
@@ -687,7 +690,7 @@ var Ue = function() {
687
690
  if (s)
688
691
  if (this._parentage = null, Array.isArray(s))
689
692
  try {
690
- for (var a = tt(s), h = a.next(); !h.done; h = a.next()) {
693
+ for (var a = it(s), h = a.next(); !h.done; h = a.next()) {
691
694
  var l = h.value;
692
695
  l.remove(this);
693
696
  }
@@ -704,29 +707,29 @@ var Ue = function() {
704
707
  else
705
708
  s.remove(this);
706
709
  var u = this.initialTeardown;
707
- if (Z(u))
710
+ if (z(u))
708
711
  try {
709
712
  u();
710
713
  } catch (g) {
711
- o = g instanceof Xe ? g.errors : [g];
714
+ o = g instanceof ze ? g.errors : [g];
712
715
  }
713
- var f = this._finalizers;
714
- if (f) {
716
+ var d = this._finalizers;
717
+ if (d) {
715
718
  this._finalizers = null;
716
719
  try {
717
- for (var c = tt(f), p = c.next(); !p.done; p = c.next()) {
718
- var v = p.value;
720
+ for (var c = it(d), m = c.next(); !m.done; m = c.next()) {
721
+ var y = m.value;
719
722
  try {
720
- xt(v);
723
+ Tt(y);
721
724
  } catch (g) {
722
- o = o ?? [], g instanceof Xe ? o = fe(fe([], rt(o)), rt(g.errors)) : o.push(g);
725
+ o = o ?? [], g instanceof ze ? o = de(de([], ot(o)), ot(g.errors)) : o.push(g);
723
726
  }
724
727
  }
725
728
  } catch (g) {
726
729
  n = { error: g };
727
730
  } finally {
728
731
  try {
729
- p && !p.done && (i = c.return) && i.call(c);
732
+ m && !m.done && (i = c.return) && i.call(c);
730
733
  } finally {
731
734
  if (n)
732
735
  throw n.error;
@@ -734,13 +737,13 @@ var Ue = function() {
734
737
  }
735
738
  }
736
739
  if (o)
737
- throw new Xe(o);
740
+ throw new ze(o);
738
741
  }
739
742
  }, e.prototype.add = function(t) {
740
743
  var r;
741
744
  if (t && t !== this)
742
745
  if (this.closed)
743
- xt(t);
746
+ Tt(t);
744
747
  else {
745
748
  if (t instanceof e) {
746
749
  if (t.closed || t._hasParent(this))
@@ -757,52 +760,56 @@ var Ue = function() {
757
760
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
758
761
  }, e.prototype._removeParent = function(t) {
759
762
  var r = this._parentage;
760
- r === t ? this._parentage = null : Array.isArray(r) && nt(r, t);
763
+ r === t ? this._parentage = null : Array.isArray(r) && st(r, t);
761
764
  }, e.prototype.remove = function(t) {
762
765
  var r = this._finalizers;
763
- r && nt(r, t), t instanceof e && t._removeParent(this);
766
+ r && st(r, t), t instanceof e && t._removeParent(this);
764
767
  }, e.EMPTY = function() {
765
768
  var t = new e();
766
769
  return t.closed = !0, t;
767
770
  }(), e;
768
- }(), Kt = Ue.EMPTY;
769
- function er(e) {
770
- return e instanceof Ue || e && "closed" in e && Z(e.remove) && Z(e.add) && Z(e.unsubscribe);
771
- }
772
- function xt(e) {
773
- Z(e) ? e() : e.unsubscribe();
774
- }
775
- var Qr = {
776
- Promise: void 0
777
- }, qr = {
771
+ }(), nr = Ge.EMPTY;
772
+ function ir(e) {
773
+ return e instanceof Ge || e && "closed" in e && z(e.remove) && z(e.add) && z(e.unsubscribe);
774
+ }
775
+ function Tt(e) {
776
+ z(e) ? e() : e.unsubscribe();
777
+ }
778
+ var or = {
779
+ onUnhandledError: null,
780
+ onStoppedNotification: null,
781
+ Promise: void 0,
782
+ useDeprecatedSynchronousErrorHandling: !1,
783
+ useDeprecatedNextContext: !1
784
+ }, tn = {
778
785
  setTimeout: function(e, t) {
779
786
  for (var r = [], n = 2; n < arguments.length; n++)
780
787
  r[n - 2] = arguments[n];
781
- return setTimeout.apply(void 0, fe([e, t], rt(r)));
788
+ return setTimeout.apply(void 0, de([e, t], ot(r)));
782
789
  },
783
790
  clearTimeout: function(e) {
784
791
  return clearTimeout(e);
785
792
  },
786
793
  delegate: void 0
787
794
  };
788
- function Yr(e) {
789
- qr.setTimeout(function() {
795
+ function rn(e) {
796
+ tn.setTimeout(function() {
790
797
  throw e;
791
798
  });
792
799
  }
793
- function Et() {
800
+ function Ht() {
794
801
  }
795
- function Ie(e) {
802
+ function Le(e) {
796
803
  e();
797
804
  }
798
- var tr = function(e) {
799
- J(t, e);
805
+ var sr = function(e) {
806
+ Z(t, e);
800
807
  function t(r) {
801
808
  var n = e.call(this) || this;
802
- return n.isStopped = !1, r ? (n.destination = r, er(r) && r.add(n)) : n.destination = tn, n;
809
+ return n.isStopped = !1, r ? (n.destination = r, ir(r) && r.add(n)) : n.destination = an, n;
803
810
  }
804
811
  return t.create = function(r, n, i) {
805
- return new it(r, n, i);
812
+ return new at(r, n, i);
806
813
  }, t.prototype.next = function(r) {
807
814
  this.isStopped || this._next(r);
808
815
  }, t.prototype.error = function(r) {
@@ -826,7 +833,11 @@ var tr = function(e) {
826
833
  this.unsubscribe();
827
834
  }
828
835
  }, t;
829
- }(Ue), Kr = function() {
836
+ }(Ge), nn = Function.prototype.bind;
837
+ function Ze(e, t) {
838
+ return nn.call(e, t);
839
+ }
840
+ var on = function() {
830
841
  function e(t) {
831
842
  this.partialObserver = t;
832
843
  }
@@ -836,7 +847,7 @@ var tr = function(e) {
836
847
  try {
837
848
  r.next(t);
838
849
  } catch (n) {
839
- Ce(n);
850
+ Be(n);
840
851
  }
841
852
  }, e.prototype.error = function(t) {
842
853
  var r = this.partialObserver;
@@ -844,56 +855,68 @@ var tr = function(e) {
844
855
  try {
845
856
  r.error(t);
846
857
  } catch (n) {
847
- Ce(n);
858
+ Be(n);
848
859
  }
849
860
  else
850
- Ce(t);
861
+ Be(t);
851
862
  }, e.prototype.complete = function() {
852
863
  var t = this.partialObserver;
853
864
  if (t.complete)
854
865
  try {
855
866
  t.complete();
856
867
  } catch (r) {
857
- Ce(r);
868
+ Be(r);
858
869
  }
859
870
  }, e;
860
- }(), it = function(e) {
861
- J(t, e);
871
+ }(), at = function(e) {
872
+ Z(t, e);
862
873
  function t(r, n, i) {
863
874
  var o = e.call(this) || this, s;
864
- return Z(r) || !r ? s = {
865
- next: r ?? void 0,
866
- error: n ?? void 0,
867
- complete: i ?? void 0
868
- } : s = r, o.destination = new Kr(s), o;
875
+ if (z(r) || !r)
876
+ s = {
877
+ next: r ?? void 0,
878
+ error: n ?? void 0,
879
+ complete: i ?? void 0
880
+ };
881
+ else {
882
+ var a;
883
+ o && or.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
884
+ return o.unsubscribe();
885
+ }, s = {
886
+ next: r.next && Ze(r.next, a),
887
+ error: r.error && Ze(r.error, a),
888
+ complete: r.complete && Ze(r.complete, a)
889
+ }) : s = r;
890
+ }
891
+ return o.destination = new on(s), o;
869
892
  }
870
893
  return t;
871
- }(tr);
872
- function Ce(e) {
873
- Yr(e);
894
+ }(sr);
895
+ function Be(e) {
896
+ rn(e);
874
897
  }
875
- function en(e) {
898
+ function sn(e) {
876
899
  throw e;
877
900
  }
878
- var tn = {
901
+ var an = {
879
902
  closed: !0,
880
- next: Et,
881
- error: en,
882
- complete: Et
883
- }, rn = function() {
903
+ next: Ht,
904
+ error: sn,
905
+ complete: Ht
906
+ }, ln = function() {
884
907
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
885
908
  }();
886
- function nn(e) {
909
+ function un(e) {
887
910
  return e;
888
911
  }
889
- function on(e) {
890
- return e.length === 0 ? nn : e.length === 1 ? e[0] : function(r) {
912
+ function hn(e) {
913
+ return e.length === 0 ? un : e.length === 1 ? e[0] : function(r) {
891
914
  return e.reduce(function(n, i) {
892
915
  return i(n);
893
916
  }, r);
894
917
  };
895
918
  }
896
- var wt = function() {
919
+ var At = function() {
897
920
  function e(t) {
898
921
  t && (this._subscribe = t);
899
922
  }
@@ -901,8 +924,8 @@ var wt = function() {
901
924
  var r = new e();
902
925
  return r.source = this, r.operator = t, r;
903
926
  }, e.prototype.subscribe = function(t, r, n) {
904
- var i = this, o = an(t) ? t : new it(t, r, n);
905
- return Ie(function() {
927
+ var i = this, o = fn(t) ? t : new at(t, r, n);
928
+ return Le(function() {
906
929
  var s = i, a = s.operator, h = s.source;
907
930
  o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
908
931
  }), o;
@@ -914,8 +937,8 @@ var wt = function() {
914
937
  }
915
938
  }, e.prototype.forEach = function(t, r) {
916
939
  var n = this;
917
- return r = St(r), new r(function(i, o) {
918
- var s = new it({
940
+ return r = Pt(r), new r(function(i, o) {
941
+ var s = new at({
919
942
  next: function(a) {
920
943
  try {
921
944
  t(a);
@@ -931,15 +954,15 @@ var wt = function() {
931
954
  }, e.prototype._subscribe = function(t) {
932
955
  var r;
933
956
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
934
- }, e.prototype[rn] = function() {
957
+ }, e.prototype[ln] = function() {
935
958
  return this;
936
959
  }, e.prototype.pipe = function() {
937
960
  for (var t = [], r = 0; r < arguments.length; r++)
938
961
  t[r] = arguments[r];
939
- return on(t)(this);
962
+ return hn(t)(this);
940
963
  }, e.prototype.toPromise = function(t) {
941
964
  var r = this;
942
- return t = St(t), new t(function(n, i) {
965
+ return t = Pt(t), new t(function(n, i) {
943
966
  var o;
944
967
  r.subscribe(function(s) {
945
968
  return o = s;
@@ -953,40 +976,40 @@ var wt = function() {
953
976
  return new e(t);
954
977
  }, e;
955
978
  }();
956
- function St(e) {
979
+ function Pt(e) {
957
980
  var t;
958
- return (t = e ?? Qr.Promise) !== null && t !== void 0 ? t : Promise;
981
+ return (t = e ?? or.Promise) !== null && t !== void 0 ? t : Promise;
959
982
  }
960
- function sn(e) {
961
- return e && Z(e.next) && Z(e.error) && Z(e.complete);
983
+ function cn(e) {
984
+ return e && z(e.next) && z(e.error) && z(e.complete);
962
985
  }
963
- function an(e) {
964
- return e && e instanceof tr || sn(e) && er(e);
986
+ function fn(e) {
987
+ return e && e instanceof sr || cn(e) && ir(e);
965
988
  }
966
- var ln = Yt(function(e) {
989
+ var dn = rr(function(e) {
967
990
  return function() {
968
991
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
969
992
  };
970
- }), rr = function(e) {
971
- J(t, e);
993
+ }), ar = function(e) {
994
+ Z(t, e);
972
995
  function t() {
973
996
  var r = e.call(this) || this;
974
997
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
975
998
  }
976
999
  return t.prototype.lift = function(r) {
977
- var n = new Tt(this, this);
1000
+ var n = new Ft(this, this);
978
1001
  return n.operator = r, n;
979
1002
  }, t.prototype._throwIfClosed = function() {
980
1003
  if (this.closed)
981
- throw new ln();
1004
+ throw new dn();
982
1005
  }, t.prototype.next = function(r) {
983
1006
  var n = this;
984
- Ie(function() {
1007
+ Le(function() {
985
1008
  var i, o;
986
1009
  if (n._throwIfClosed(), !n.isStopped) {
987
1010
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
988
1011
  try {
989
- for (var s = tt(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
1012
+ for (var s = it(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
990
1013
  var h = a.value;
991
1014
  h.next(r);
992
1015
  }
@@ -1004,7 +1027,7 @@ var ln = Yt(function(e) {
1004
1027
  });
1005
1028
  }, t.prototype.error = function(r) {
1006
1029
  var n = this;
1007
- Ie(function() {
1030
+ Le(function() {
1008
1031
  if (n._throwIfClosed(), !n.isStopped) {
1009
1032
  n.hasError = n.isStopped = !0, n.thrownError = r;
1010
1033
  for (var i = n.observers; i.length; )
@@ -1013,7 +1036,7 @@ var ln = Yt(function(e) {
1013
1036
  });
1014
1037
  }, t.prototype.complete = function() {
1015
1038
  var r = this;
1016
- Ie(function() {
1039
+ Le(function() {
1017
1040
  if (r._throwIfClosed(), !r.isStopped) {
1018
1041
  r.isStopped = !0;
1019
1042
  for (var n = r.observers; n.length; )
@@ -1035,20 +1058,20 @@ var ln = Yt(function(e) {
1035
1058
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1036
1059
  }, t.prototype._innerSubscribe = function(r) {
1037
1060
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
1038
- return o || s ? Kt : (this.currentObservers = null, a.push(r), new Ue(function() {
1039
- n.currentObservers = null, nt(a, r);
1061
+ return o || s ? nr : (this.currentObservers = null, a.push(r), new Ge(function() {
1062
+ n.currentObservers = null, st(a, r);
1040
1063
  }));
1041
1064
  }, t.prototype._checkFinalizedStatuses = function(r) {
1042
1065
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
1043
1066
  i ? r.error(o) : s && r.complete();
1044
1067
  }, t.prototype.asObservable = function() {
1045
- var r = new wt();
1068
+ var r = new At();
1046
1069
  return r.source = this, r;
1047
1070
  }, t.create = function(r, n) {
1048
- return new Tt(r, n);
1071
+ return new Ft(r, n);
1049
1072
  }, t;
1050
- }(wt), Tt = function(e) {
1051
- J(t, e);
1073
+ }(At), Ft = function(e) {
1074
+ Z(t, e);
1052
1075
  function t(r, n) {
1053
1076
  var i = e.call(this) || this;
1054
1077
  return i.destination = r, i.source = n, i;
@@ -1064,17 +1087,17 @@ var ln = Yt(function(e) {
1064
1087
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1065
1088
  }, t.prototype._subscribe = function(r) {
1066
1089
  var n, i;
1067
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Kt;
1090
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : nr;
1068
1091
  }, t;
1069
- }(rr), nr = {
1092
+ }(ar), lr = {
1070
1093
  now: function() {
1071
- return (nr.delegate || Date).now();
1094
+ return (lr.delegate || Date).now();
1072
1095
  },
1073
1096
  delegate: void 0
1074
- }, un = function(e) {
1075
- J(t, e);
1097
+ }, pn = function(e) {
1098
+ Z(t, e);
1076
1099
  function t(r, n, i) {
1077
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = nr);
1100
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = lr);
1078
1101
  var o = e.call(this) || this;
1079
1102
  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;
1080
1103
  }
@@ -1094,65 +1117,65 @@ var ln = Yt(function(e) {
1094
1117
  l && o.splice(0, l + 1);
1095
1118
  }
1096
1119
  }, t;
1097
- }(rr);
1098
- const Ht = [], At = {}, hn = (e, t = 0) => {
1099
- if (Ht.indexOf(e) == -1) {
1100
- const r = new un(t);
1101
- At[e] = r, Ht.push(e);
1120
+ }(ar);
1121
+ const Ct = [], Bt = {}, mn = (e, t = 0) => {
1122
+ if (Ct.indexOf(e) == -1) {
1123
+ const r = new pn(t);
1124
+ Bt[e] = r, Ct.push(e);
1102
1125
  }
1103
- return At[e];
1104
- }, ue = [];
1105
- function cn(e, t) {
1126
+ return Bt[e];
1127
+ }, he = [];
1128
+ function bn(e, t) {
1106
1129
  return {
1107
- subscribe: $e(e, t).subscribe
1130
+ subscribe: ke(e, t).subscribe
1108
1131
  };
1109
1132
  }
1110
- function $e(e, t = k) {
1133
+ function ke(e, t = G) {
1111
1134
  let r;
1112
1135
  const n = /* @__PURE__ */ new Set();
1113
1136
  function i(a) {
1114
- if (Wt(e, a) && (e = a, r)) {
1115
- const h = !ue.length;
1137
+ if (Qt(e, a) && (e = a, r)) {
1138
+ const h = !he.length;
1116
1139
  for (const l of n)
1117
- l[1](), ue.push(l, e);
1140
+ l[1](), he.push(l, e);
1118
1141
  if (h) {
1119
- for (let l = 0; l < ue.length; l += 2)
1120
- ue[l][0](ue[l + 1]);
1121
- ue.length = 0;
1142
+ for (let l = 0; l < he.length; l += 2)
1143
+ he[l][0](he[l + 1]);
1144
+ he.length = 0;
1122
1145
  }
1123
1146
  }
1124
1147
  }
1125
1148
  function o(a) {
1126
1149
  i(a(e));
1127
1150
  }
1128
- function s(a, h = k) {
1151
+ function s(a, h = G) {
1129
1152
  const l = [a, h];
1130
- return n.add(l), n.size === 1 && (r = t(i, o) || k), a(e), () => {
1153
+ return n.add(l), n.size === 1 && (r = t(i, o) || G), a(e), () => {
1131
1154
  n.delete(l), n.size === 0 && r && (r(), r = null);
1132
1155
  };
1133
1156
  }
1134
1157
  return { set: i, update: o, subscribe: s };
1135
1158
  }
1136
- function ge(e, t, r) {
1159
+ function ye(e, t, r) {
1137
1160
  const n = !Array.isArray(e), i = n ? [e] : e;
1138
1161
  if (!i.every(Boolean))
1139
1162
  throw new Error("derived() expects stores as input, got a falsy value");
1140
1163
  const o = t.length < 2;
1141
- return cn(r, (s, a) => {
1164
+ return bn(r, (s, a) => {
1142
1165
  let h = !1;
1143
1166
  const l = [];
1144
- let u = 0, f = k;
1167
+ let u = 0, d = G;
1145
1168
  const c = () => {
1146
1169
  if (u)
1147
1170
  return;
1148
- f();
1149
- const v = t(n ? l[0] : l, s, a);
1150
- o ? s(v) : f = dt(v) ? v : k;
1151
- }, p = i.map(
1152
- (v, g) => zt(
1153
- v,
1154
- (P) => {
1155
- l[g] = P, u &= ~(1 << g), h && c();
1171
+ d();
1172
+ const y = t(n ? l[0] : l, s, a);
1173
+ o ? s(y) : d = $e(y) ? y : G;
1174
+ }, m = i.map(
1175
+ (y, g) => qt(
1176
+ y,
1177
+ (F) => {
1178
+ l[g] = F, u &= ~(1 << g), h && c();
1156
1179
  },
1157
1180
  () => {
1158
1181
  u |= 1 << g;
@@ -1160,132 +1183,134 @@ function ge(e, t, r) {
1160
1183
  )
1161
1184
  );
1162
1185
  return h = !0, c(), function() {
1163
- Y(p), f(), h = !1;
1186
+ Y(m), d(), h = !1;
1164
1187
  };
1165
1188
  });
1166
1189
  }
1167
- function fn(e) {
1190
+ function gn(e) {
1168
1191
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1169
1192
  }
1170
- var dn = function(t) {
1171
- return pn(t) && !mn(t);
1193
+ var yn = function(t) {
1194
+ return vn(t) && !_n(t);
1172
1195
  };
1173
- function pn(e) {
1196
+ function vn(e) {
1174
1197
  return !!e && typeof e == "object";
1175
1198
  }
1176
- function mn(e) {
1199
+ function _n(e) {
1177
1200
  var t = Object.prototype.toString.call(e);
1178
- return t === "[object RegExp]" || t === "[object Date]" || vn(e);
1201
+ return t === "[object RegExp]" || t === "[object Date]" || wn(e);
1179
1202
  }
1180
- var bn = typeof Symbol == "function" && Symbol.for, gn = bn ? Symbol.for("react.element") : 60103;
1181
- function vn(e) {
1182
- return e.$$typeof === gn;
1203
+ var xn = typeof Symbol == "function" && Symbol.for, En = xn ? Symbol.for("react.element") : 60103;
1204
+ function wn(e) {
1205
+ return e.$$typeof === En;
1183
1206
  }
1184
- function yn(e) {
1207
+ function Sn(e) {
1185
1208
  return Array.isArray(e) ? [] : {};
1186
1209
  }
1187
1210
  function Te(e, t) {
1188
- return t.clone !== !1 && t.isMergeableObject(e) ? de(yn(e), e, t) : e;
1211
+ return t.clone !== !1 && t.isMergeableObject(e) ? pe(Sn(e), e, t) : e;
1189
1212
  }
1190
- function _n(e, t, r) {
1213
+ function Tn(e, t, r) {
1191
1214
  return e.concat(t).map(function(n) {
1192
1215
  return Te(n, r);
1193
1216
  });
1194
1217
  }
1195
- function xn(e, t) {
1218
+ function Hn(e, t) {
1196
1219
  if (!t.customMerge)
1197
- return de;
1220
+ return pe;
1198
1221
  var r = t.customMerge(e);
1199
- return typeof r == "function" ? r : de;
1222
+ return typeof r == "function" ? r : pe;
1200
1223
  }
1201
- function En(e) {
1224
+ function An(e) {
1202
1225
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1203
1226
  return Object.propertyIsEnumerable.call(e, t);
1204
1227
  }) : [];
1205
1228
  }
1206
- function Pt(e) {
1207
- return Object.keys(e).concat(En(e));
1229
+ function It(e) {
1230
+ return Object.keys(e).concat(An(e));
1208
1231
  }
1209
- function ir(e, t) {
1232
+ function ur(e, t) {
1210
1233
  try {
1211
1234
  return t in e;
1212
1235
  } catch {
1213
1236
  return !1;
1214
1237
  }
1215
1238
  }
1216
- function wn(e, t) {
1217
- return ir(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1239
+ function Pn(e, t) {
1240
+ return ur(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1218
1241
  }
1219
- function Sn(e, t, r) {
1242
+ function Fn(e, t, r) {
1220
1243
  var n = {};
1221
- return r.isMergeableObject(e) && Pt(e).forEach(function(i) {
1244
+ return r.isMergeableObject(e) && It(e).forEach(function(i) {
1222
1245
  n[i] = Te(e[i], r);
1223
- }), Pt(t).forEach(function(i) {
1224
- wn(e, i) || (ir(e, i) && r.isMergeableObject(t[i]) ? n[i] = xn(i, r)(e[i], t[i], r) : n[i] = Te(t[i], r));
1246
+ }), It(t).forEach(function(i) {
1247
+ Pn(e, i) || (ur(e, i) && r.isMergeableObject(t[i]) ? n[i] = Hn(i, r)(e[i], t[i], r) : n[i] = Te(t[i], r));
1225
1248
  }), n;
1226
1249
  }
1227
- function de(e, t, r) {
1228
- r = r || {}, r.arrayMerge = r.arrayMerge || _n, r.isMergeableObject = r.isMergeableObject || dn, r.cloneUnlessOtherwiseSpecified = Te;
1250
+ function pe(e, t, r) {
1251
+ r = r || {}, r.arrayMerge = r.arrayMerge || Tn, r.isMergeableObject = r.isMergeableObject || yn, r.cloneUnlessOtherwiseSpecified = Te;
1229
1252
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1230
- return o ? n ? r.arrayMerge(e, t, r) : Sn(e, t, r) : Te(t, r);
1253
+ return o ? n ? r.arrayMerge(e, t, r) : Fn(e, t, r) : Te(t, r);
1231
1254
  }
1232
- de.all = function(t, r) {
1255
+ pe.all = function(t, r) {
1233
1256
  if (!Array.isArray(t))
1234
1257
  throw new Error("first argument should be an array");
1235
1258
  return t.reduce(function(n, i) {
1236
- return de(n, i, r);
1259
+ return pe(n, i, r);
1237
1260
  }, {});
1238
1261
  };
1239
- var Tn = de, Hn = Tn;
1240
- const An = /* @__PURE__ */ fn(Hn);
1241
- function We(e, t) {
1242
- var r = t && t.cache ? t.cache : Ln, n = t && t.serializer ? t.serializer : On, i = t && t.strategy ? t.strategy : Cn;
1262
+ var Cn = pe, Bn = Cn;
1263
+ const In = /* @__PURE__ */ gn(Bn);
1264
+ function Je(e, t) {
1265
+ var r = t && t.cache ? t.cache : Dn, n = t && t.serializer ? t.serializer : Rn, i = t && t.strategy ? t.strategy : Ln;
1243
1266
  return i(e, {
1244
1267
  cache: r,
1245
1268
  serializer: n
1246
1269
  });
1247
1270
  }
1248
- function Pn(e) {
1271
+ function On(e) {
1249
1272
  return e == null || typeof e == "number" || typeof e == "boolean";
1250
1273
  }
1251
- function Fn(e, t, r, n) {
1252
- var i = Pn(n) ? n : r(n), o = t.get(i);
1274
+ function hr(e, t, r, n) {
1275
+ var i = On(n) ? n : r(n), o = t.get(i);
1253
1276
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1254
1277
  }
1255
- function or(e, t, r) {
1278
+ function cr(e, t, r) {
1256
1279
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1257
1280
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1258
1281
  }
1259
- function sr(e, t, r, n, i) {
1282
+ function bt(e, t, r, n, i) {
1260
1283
  return r.bind(t, e, n, i);
1261
1284
  }
1262
- function Cn(e, t) {
1263
- var r = e.length === 1 ? Fn : or;
1264
- return sr(e, this, r, t.cache.create(), t.serializer);
1285
+ function Ln(e, t) {
1286
+ var r = e.length === 1 ? hr : cr;
1287
+ return bt(e, this, r, t.cache.create(), t.serializer);
1288
+ }
1289
+ function Nn(e, t) {
1290
+ return bt(e, this, cr, t.cache.create(), t.serializer);
1265
1291
  }
1266
- function Bn(e, t) {
1267
- return sr(e, this, or, t.cache.create(), t.serializer);
1292
+ function Mn(e, t) {
1293
+ return bt(e, this, hr, t.cache.create(), t.serializer);
1268
1294
  }
1269
- var On = function() {
1295
+ var Rn = function() {
1270
1296
  return JSON.stringify(arguments);
1271
- }, In = (
1272
- /** @class */
1273
- function() {
1274
- function e() {
1275
- this.cache = /* @__PURE__ */ Object.create(null);
1276
- }
1277
- return e.prototype.get = function(t) {
1278
- return this.cache[t];
1279
- }, e.prototype.set = function(t, r) {
1280
- this.cache[t] = r;
1281
- }, e;
1282
- }()
1283
- ), Ln = {
1297
+ };
1298
+ function gt() {
1299
+ this.cache = /* @__PURE__ */ Object.create(null);
1300
+ }
1301
+ gt.prototype.get = function(e) {
1302
+ return this.cache[e];
1303
+ };
1304
+ gt.prototype.set = function(e, t) {
1305
+ this.cache[e] = t;
1306
+ };
1307
+ var Dn = {
1284
1308
  create: function() {
1285
- return new In();
1309
+ return new gt();
1286
1310
  }
1287
- }, ze = {
1288
- variadic: Bn
1311
+ }, Qe = {
1312
+ variadic: Nn,
1313
+ monadic: Mn
1289
1314
  }, E;
1290
1315
  (function(e) {
1291
1316
  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";
@@ -1294,47 +1319,47 @@ var B;
1294
1319
  (function(e) {
1295
1320
  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";
1296
1321
  })(B || (B = {}));
1297
- var pe;
1322
+ var me;
1298
1323
  (function(e) {
1299
1324
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1300
- })(pe || (pe = {}));
1301
- function Ft(e) {
1325
+ })(me || (me = {}));
1326
+ function Ot(e) {
1302
1327
  return e.type === B.literal;
1303
1328
  }
1304
- function Nn(e) {
1329
+ function Un(e) {
1305
1330
  return e.type === B.argument;
1306
1331
  }
1307
- function ar(e) {
1332
+ function fr(e) {
1308
1333
  return e.type === B.number;
1309
1334
  }
1310
- function lr(e) {
1335
+ function dr(e) {
1311
1336
  return e.type === B.date;
1312
1337
  }
1313
- function ur(e) {
1338
+ function pr(e) {
1314
1339
  return e.type === B.time;
1315
1340
  }
1316
- function hr(e) {
1341
+ function mr(e) {
1317
1342
  return e.type === B.select;
1318
1343
  }
1319
- function cr(e) {
1344
+ function br(e) {
1320
1345
  return e.type === B.plural;
1321
1346
  }
1322
- function Mn(e) {
1347
+ function $n(e) {
1323
1348
  return e.type === B.pound;
1324
1349
  }
1325
- function fr(e) {
1350
+ function gr(e) {
1326
1351
  return e.type === B.tag;
1327
1352
  }
1328
- function dr(e) {
1329
- return !!(e && typeof e == "object" && e.type === pe.number);
1353
+ function yr(e) {
1354
+ return !!(e && typeof e == "object" && e.type === me.number);
1330
1355
  }
1331
- function ot(e) {
1332
- return !!(e && typeof e == "object" && e.type === pe.dateTime);
1356
+ function lt(e) {
1357
+ return !!(e && typeof e == "object" && e.type === me.dateTime);
1333
1358
  }
1334
- var pr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Rn = /(?:[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;
1335
- function Dn(e) {
1359
+ var vr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Gn = /(?:[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;
1360
+ function kn(e) {
1336
1361
  var t = {};
1337
- return e.replace(Rn, function(r) {
1362
+ return e.replace(Gn, function(r) {
1338
1363
  var n = r.length;
1339
1364
  switch (r[0]) {
1340
1365
  case "G":
@@ -1423,36 +1448,36 @@ function Dn(e) {
1423
1448
  return "";
1424
1449
  }), t;
1425
1450
  }
1426
- var Un = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1427
- function $n(e) {
1451
+ var jn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1452
+ function Vn(e) {
1428
1453
  if (e.length === 0)
1429
1454
  throw new Error("Number skeleton cannot be empty");
1430
- for (var t = e.split(Un).filter(function(c) {
1455
+ for (var t = e.split(jn).filter(function(c) {
1431
1456
  return c.length > 0;
1432
1457
  }), r = [], n = 0, i = t; n < i.length; n++) {
1433
1458
  var o = i[n], s = o.split("/");
1434
1459
  if (s.length === 0)
1435
1460
  throw new Error("Invalid number skeleton");
1436
1461
  for (var a = s[0], h = s.slice(1), l = 0, u = h; l < u.length; l++) {
1437
- var f = u[l];
1438
- if (f.length === 0)
1462
+ var d = u[l];
1463
+ if (d.length === 0)
1439
1464
  throw new Error("Invalid number skeleton");
1440
1465
  }
1441
1466
  r.push({ stem: a, options: h });
1442
1467
  }
1443
1468
  return r;
1444
1469
  }
1445
- function Gn(e) {
1470
+ function Xn(e) {
1446
1471
  return e.replace(/^(.*?)-/, "");
1447
1472
  }
1448
- var Ct = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, mr = /^(@+)?(\+|#+)?[rs]?$/g, kn = /(\*)(0+)|(#+)(0+)|(0+)/g, br = /^(0+)$/;
1449
- function Bt(e) {
1473
+ var Lt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, _r = /^(@+)?(\+|#+)?[rs]?$/g, Wn = /(\*)(0+)|(#+)(0+)|(0+)/g, xr = /^(0+)$/;
1474
+ function Nt(e) {
1450
1475
  var t = {};
1451
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(mr, function(r, n, i) {
1476
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(_r, function(r, n, i) {
1452
1477
  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)), "";
1453
1478
  }), t;
1454
1479
  }
1455
- function gr(e) {
1480
+ function Er(e) {
1456
1481
  switch (e) {
1457
1482
  case "sign-auto":
1458
1483
  return {
@@ -1492,7 +1517,7 @@ function gr(e) {
1492
1517
  };
1493
1518
  }
1494
1519
  }
1495
- function jn(e) {
1520
+ function zn(e) {
1496
1521
  var t;
1497
1522
  if (e[0] === "E" && e[1] === "E" ? (t = {
1498
1523
  notation: "engineering"
@@ -1500,17 +1525,17 @@ function jn(e) {
1500
1525
  notation: "scientific"
1501
1526
  }, e = e.slice(1)), t) {
1502
1527
  var r = e.slice(0, 2);
1503
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !br.test(e))
1528
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !xr.test(e))
1504
1529
  throw new Error("Malformed concise eng/scientific notation");
1505
1530
  t.minimumIntegerDigits = e.length;
1506
1531
  }
1507
1532
  return t;
1508
1533
  }
1509
- function Ot(e) {
1510
- var t = {}, r = gr(e);
1534
+ function Mt(e) {
1535
+ var t = {}, r = Er(e);
1511
1536
  return r || t;
1512
1537
  }
1513
- function Vn(e) {
1538
+ function Zn(e) {
1514
1539
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1515
1540
  var i = n[r];
1516
1541
  switch (i.stem) {
@@ -1534,7 +1559,7 @@ function Vn(e) {
1534
1559
  continue;
1535
1560
  case "measure-unit":
1536
1561
  case "unit":
1537
- t.style = "unit", t.unit = Gn(i.options[0]);
1562
+ t.style = "unit", t.unit = Xn(i.options[0]);
1538
1563
  continue;
1539
1564
  case "compact-short":
1540
1565
  case "K":
@@ -1545,13 +1570,13 @@ function Vn(e) {
1545
1570
  t.notation = "compact", t.compactDisplay = "long";
1546
1571
  continue;
1547
1572
  case "scientific":
1548
- t = A(A(A({}, t), { notation: "scientific" }), i.options.reduce(function(h, l) {
1549
- return A(A({}, h), Ot(l));
1573
+ t = H(H(H({}, t), { notation: "scientific" }), i.options.reduce(function(h, l) {
1574
+ return H(H({}, h), Mt(l));
1550
1575
  }, {}));
1551
1576
  continue;
1552
1577
  case "engineering":
1553
- t = A(A(A({}, t), { notation: "engineering" }), i.options.reduce(function(h, l) {
1554
- return A(A({}, h), Ot(l));
1578
+ t = H(H(H({}, t), { notation: "engineering" }), i.options.reduce(function(h, l) {
1579
+ return H(H({}, h), Mt(l));
1555
1580
  }, {}));
1556
1581
  continue;
1557
1582
  case "notation-simple":
@@ -1596,45 +1621,45 @@ function Vn(e) {
1596
1621
  case "integer-width":
1597
1622
  if (i.options.length > 1)
1598
1623
  throw new RangeError("integer-width stems only accept a single optional option");
1599
- i.options[0].replace(kn, function(h, l, u, f, c, p) {
1624
+ i.options[0].replace(Wn, function(h, l, u, d, c, m) {
1600
1625
  if (l)
1601
1626
  t.minimumIntegerDigits = u.length;
1602
1627
  else {
1603
- if (f && c)
1628
+ if (d && c)
1604
1629
  throw new Error("We currently do not support maximum integer digits");
1605
- if (p)
1630
+ if (m)
1606
1631
  throw new Error("We currently do not support exact integer digits");
1607
1632
  }
1608
1633
  return "";
1609
1634
  });
1610
1635
  continue;
1611
1636
  }
1612
- if (br.test(i.stem)) {
1637
+ if (xr.test(i.stem)) {
1613
1638
  t.minimumIntegerDigits = i.stem.length;
1614
1639
  continue;
1615
1640
  }
1616
- if (Ct.test(i.stem)) {
1641
+ if (Lt.test(i.stem)) {
1617
1642
  if (i.options.length > 1)
1618
1643
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1619
- i.stem.replace(Ct, function(h, l, u, f, c, p) {
1620
- return u === "*" ? t.minimumFractionDigits = l.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && p ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + p.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1644
+ i.stem.replace(Lt, function(h, l, u, d, c, m) {
1645
+ return u === "*" ? t.minimumFractionDigits = l.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : c && m ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + m.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1621
1646
  });
1622
1647
  var o = i.options[0];
1623
- o === "w" ? t = A(A({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = A(A({}, t), Bt(o)));
1648
+ o === "w" ? t = H(H({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = H(H({}, t), Nt(o)));
1624
1649
  continue;
1625
1650
  }
1626
- if (mr.test(i.stem)) {
1627
- t = A(A({}, t), Bt(i.stem));
1651
+ if (_r.test(i.stem)) {
1652
+ t = H(H({}, t), Nt(i.stem));
1628
1653
  continue;
1629
1654
  }
1630
- var s = gr(i.stem);
1631
- s && (t = A(A({}, t), s));
1632
- var a = jn(i.stem);
1633
- a && (t = A(A({}, t), a));
1655
+ var s = Er(i.stem);
1656
+ s && (t = H(H({}, t), s));
1657
+ var a = zn(i.stem);
1658
+ a && (t = H(H({}, t), a));
1634
1659
  }
1635
1660
  return t;
1636
1661
  }
1637
- var Be = {
1662
+ var Ie = {
1638
1663
  "001": [
1639
1664
  "H",
1640
1665
  "h"
@@ -3049,13 +3074,13 @@ var Be = {
3049
3074
  "h"
3050
3075
  ]
3051
3076
  };
3052
- function Xn(e, t) {
3077
+ function Jn(e, t) {
3053
3078
  for (var r = "", n = 0; n < e.length; n++) {
3054
3079
  var i = e.charAt(n);
3055
3080
  if (i === "j") {
3056
3081
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3057
3082
  o++, n++;
3058
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", l = Wn(t);
3083
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", l = Qn(t);
3059
3084
  for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
3060
3085
  r += h;
3061
3086
  for (; s-- > 0; )
@@ -3065,7 +3090,7 @@ function Xn(e, t) {
3065
3090
  }
3066
3091
  return r;
3067
3092
  }
3068
- function Wn(e) {
3093
+ function Qn(e) {
3069
3094
  var t = e.hourCycle;
3070
3095
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3071
3096
  e.hourCycles && // @ts-ignore
@@ -3084,23 +3109,23 @@ function Wn(e) {
3084
3109
  }
3085
3110
  var r = e.language, n;
3086
3111
  r !== "root" && (n = e.maximize().region);
3087
- var i = Be[n || ""] || Be[r || ""] || Be["".concat(r, "-001")] || Be["001"];
3112
+ var i = Ie[n || ""] || Ie[r || ""] || Ie["".concat(r, "-001")] || Ie["001"];
3088
3113
  return i[0];
3089
3114
  }
3090
- var Ze, zn = new RegExp("^".concat(pr.source, "*")), Zn = new RegExp("".concat(pr.source, "*$"));
3115
+ var qe, qn = new RegExp("^".concat(vr.source, "*")), Yn = new RegExp("".concat(vr.source, "*$"));
3091
3116
  function T(e, t) {
3092
3117
  return { start: e, end: t };
3093
3118
  }
3094
- var Jn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Qn = !!String.fromCodePoint, qn = !!Object.fromEntries, Yn = !!String.prototype.codePointAt, Kn = !!String.prototype.trimStart, ei = !!String.prototype.trimEnd, ti = !!Number.isSafeInteger, ri = ti ? Number.isSafeInteger : function(e) {
3119
+ var Kn = !!String.prototype.startsWith && "_a".startsWith("a", 1), ei = !!String.fromCodePoint, ti = !!Object.fromEntries, ri = !!String.prototype.codePointAt, ni = !!String.prototype.trimStart, ii = !!String.prototype.trimEnd, oi = !!Number.isSafeInteger, si = oi ? Number.isSafeInteger : function(e) {
3095
3120
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3096
- }, st = !0;
3121
+ }, ut = !0;
3097
3122
  try {
3098
- var ni = yr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3099
- st = ((Ze = ni.exec("a")) === null || Ze === void 0 ? void 0 : Ze[0]) === "a";
3123
+ var ai = Sr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3124
+ ut = ((qe = ai.exec("a")) === null || qe === void 0 ? void 0 : qe[0]) === "a";
3100
3125
  } catch {
3101
- st = !1;
3126
+ ut = !1;
3102
3127
  }
3103
- var It = Jn ? (
3128
+ var Rt = Kn ? (
3104
3129
  // Native
3105
3130
  function(t, r, n) {
3106
3131
  return t.startsWith(r, n);
@@ -3110,7 +3135,7 @@ var It = Jn ? (
3110
3135
  function(t, r, n) {
3111
3136
  return t.slice(n, n + r.length) === r;
3112
3137
  }
3113
- ), at = Qn ? String.fromCodePoint : (
3138
+ ), ht = ei ? String.fromCodePoint : (
3114
3139
  // IE11
3115
3140
  function() {
3116
3141
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3122,9 +3147,9 @@ var It = Jn ? (
3122
3147
  }
3123
3148
  return n;
3124
3149
  }
3125
- ), Lt = (
3150
+ ), Dt = (
3126
3151
  // native
3127
- qn ? Object.fromEntries : (
3152
+ ti ? Object.fromEntries : (
3128
3153
  // Ponyfill
3129
3154
  function(t) {
3130
3155
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3134,7 +3159,7 @@ var It = Jn ? (
3134
3159
  return r;
3135
3160
  }
3136
3161
  )
3137
- ), vr = Yn ? (
3162
+ ), wr = ri ? (
3138
3163
  // Native
3139
3164
  function(t, r) {
3140
3165
  return t.codePointAt(r);
@@ -3148,7 +3173,7 @@ var It = Jn ? (
3148
3173
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3149
3174
  }
3150
3175
  }
3151
- ), ii = Kn ? (
3176
+ ), li = ni ? (
3152
3177
  // Native
3153
3178
  function(t) {
3154
3179
  return t.trimStart();
@@ -3156,9 +3181,9 @@ var It = Jn ? (
3156
3181
  ) : (
3157
3182
  // Ponyfill
3158
3183
  function(t) {
3159
- return t.replace(zn, "");
3184
+ return t.replace(qn, "");
3160
3185
  }
3161
- ), oi = ei ? (
3186
+ ), ui = ii ? (
3162
3187
  // Native
3163
3188
  function(t) {
3164
3189
  return t.trimEnd();
@@ -3166,32 +3191,32 @@ var It = Jn ? (
3166
3191
  ) : (
3167
3192
  // Ponyfill
3168
3193
  function(t) {
3169
- return t.replace(Zn, "");
3194
+ return t.replace(Yn, "");
3170
3195
  }
3171
3196
  );
3172
- function yr(e, t) {
3197
+ function Sr(e, t) {
3173
3198
  return new RegExp(e, t);
3174
3199
  }
3175
- var lt;
3176
- if (st) {
3177
- var Nt = yr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3178
- lt = function(t, r) {
3200
+ var ct;
3201
+ if (ut) {
3202
+ var Ut = Sr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3203
+ ct = function(t, r) {
3179
3204
  var n;
3180
- Nt.lastIndex = r;
3181
- var i = Nt.exec(t);
3205
+ Ut.lastIndex = r;
3206
+ var i = Ut.exec(t);
3182
3207
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3183
3208
  };
3184
3209
  } else
3185
- lt = function(t, r) {
3210
+ ct = function(t, r) {
3186
3211
  for (var n = []; ; ) {
3187
- var i = vr(t, r);
3188
- if (i === void 0 || _r(i) || ui(i))
3212
+ var i = wr(t, r);
3213
+ if (i === void 0 || Tr(i) || di(i))
3189
3214
  break;
3190
3215
  n.push(i), r += i >= 65536 ? 2 : 1;
3191
3216
  }
3192
- return at.apply(void 0, n);
3217
+ return ht.apply(void 0, n);
3193
3218
  };
3194
- var si = (
3219
+ var hi = (
3195
3220
  /** @class */
3196
3221
  function() {
3197
3222
  function e(t, r) {
@@ -3222,7 +3247,7 @@ var si = (
3222
3247
  if (n)
3223
3248
  break;
3224
3249
  return this.error(E.UNMATCHED_CLOSING_TAG, T(this.clonePosition(), this.clonePosition()));
3225
- } else if (o === 60 && !this.ignoreTag && ut(this.peek() || 0)) {
3250
+ } else if (o === 60 && !this.ignoreTag && ft(this.peek() || 0)) {
3226
3251
  var s = this.parseTag(t, r);
3227
3252
  if (s.err)
3228
3253
  return s;
@@ -3255,7 +3280,7 @@ var si = (
3255
3280
  return o;
3256
3281
  var s = o.val, a = this.clonePosition();
3257
3282
  if (this.bumpIf("</")) {
3258
- if (this.isEOF() || !ut(this.char()))
3283
+ if (this.isEOF() || !ft(this.char()))
3259
3284
  return this.error(E.INVALID_TAG, T(a, this.clonePosition()));
3260
3285
  var h = this.clonePosition(), l = this.parseTagName();
3261
3286
  return i !== l ? this.error(E.UNMATCHED_CLOSING_TAG, T(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -3273,7 +3298,7 @@ var si = (
3273
3298
  return this.error(E.INVALID_TAG, T(n, this.clonePosition()));
3274
3299
  }, e.prototype.parseTagName = function() {
3275
3300
  var t = this.offset();
3276
- for (this.bump(); !this.isEOF() && li(this.char()); )
3301
+ for (this.bump(); !this.isEOF() && fi(this.char()); )
3277
3302
  this.bump();
3278
3303
  return this.message.slice(t, this.offset());
3279
3304
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3302,7 +3327,7 @@ var si = (
3302
3327
  };
3303
3328
  }, e.prototype.tryParseLeftAngleBracket = function() {
3304
3329
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3305
- !ai(this.peek() || 0)) ? (this.bump(), "<") : null;
3330
+ !ci(this.peek() || 0)) ? (this.bump(), "<") : null;
3306
3331
  }, e.prototype.tryParseQuote = function(t) {
3307
3332
  if (this.isEOF() || this.char() !== 39)
3308
3333
  return null;
@@ -3336,12 +3361,12 @@ var si = (
3336
3361
  r.push(n);
3337
3362
  this.bump();
3338
3363
  }
3339
- return at.apply(void 0, r);
3364
+ return ht.apply(void 0, r);
3340
3365
  }, e.prototype.tryParseUnquoted = function(t, r) {
3341
3366
  if (this.isEOF())
3342
3367
  return null;
3343
3368
  var n = this.char();
3344
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), at(n));
3369
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ht(n));
3345
3370
  }, e.prototype.parseArgument = function(t, r) {
3346
3371
  var n = this.clonePosition();
3347
3372
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3370,7 +3395,7 @@ var si = (
3370
3395
  return this.error(E.MALFORMED_ARGUMENT, T(n, this.clonePosition()));
3371
3396
  }
3372
3397
  }, e.prototype.parseIdentifierIfPossible = function() {
3373
- var t = this.clonePosition(), r = this.offset(), n = lt(this.message, r), i = r + n.length;
3398
+ var t = this.clonePosition(), r = this.offset(), n = ct(this.message, r), i = r + n.length;
3374
3399
  this.bumpTo(i);
3375
3400
  var o = this.clonePosition(), s = T(t, o);
3376
3401
  return { value: n, location: s };
@@ -3386,40 +3411,40 @@ var si = (
3386
3411
  var l = null;
3387
3412
  if (this.bumpIf(",")) {
3388
3413
  this.bumpSpace();
3389
- var u = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3390
- if (f.err)
3391
- return f;
3392
- var c = oi(f.val);
3414
+ var u = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
3415
+ if (d.err)
3416
+ return d;
3417
+ var c = ui(d.val);
3393
3418
  if (c.length === 0)
3394
3419
  return this.error(E.EXPECT_ARGUMENT_STYLE, T(this.clonePosition(), this.clonePosition()));
3395
- var p = T(u, this.clonePosition());
3396
- l = { style: c, styleLocation: p };
3420
+ var m = T(u, this.clonePosition());
3421
+ l = { style: c, styleLocation: m };
3397
3422
  }
3398
- var v = this.tryParseArgumentClose(i);
3399
- if (v.err)
3400
- return v;
3423
+ var y = this.tryParseArgumentClose(i);
3424
+ if (y.err)
3425
+ return y;
3401
3426
  var g = T(i, this.clonePosition());
3402
- if (l && It(l?.style, "::", 0)) {
3403
- var P = ii(l.style.slice(2));
3427
+ if (l && Rt(l?.style, "::", 0)) {
3428
+ var F = li(l.style.slice(2));
3404
3429
  if (a === "number") {
3405
- var f = this.parseNumberSkeletonFromString(P, l.styleLocation);
3406
- return f.err ? f : {
3407
- val: { type: B.number, value: n, location: g, style: f.val },
3430
+ var d = this.parseNumberSkeletonFromString(F, l.styleLocation);
3431
+ return d.err ? d : {
3432
+ val: { type: B.number, value: n, location: g, style: d.val },
3408
3433
  err: null
3409
3434
  };
3410
3435
  } else {
3411
- if (P.length === 0)
3436
+ if (F.length === 0)
3412
3437
  return this.error(E.EXPECT_DATE_TIME_SKELETON, g);
3413
- var w = P;
3414
- this.locale && (w = Xn(P, this.locale));
3438
+ var w = F;
3439
+ this.locale && (w = Jn(F, this.locale));
3415
3440
  var c = {
3416
- type: pe.dateTime,
3441
+ type: me.dateTime,
3417
3442
  pattern: w,
3418
3443
  location: l.styleLocation,
3419
- parsedOptions: this.shouldParseSkeletons ? Dn(w) : {}
3420
- }, y = a === "date" ? B.date : B.time;
3444
+ parsedOptions: this.shouldParseSkeletons ? kn(w) : {}
3445
+ }, v = a === "date" ? B.date : B.time;
3421
3446
  return {
3422
- val: { type: y, value: n, location: g, style: c },
3447
+ val: { type: v, value: n, location: g, style: c },
3423
3448
  err: null
3424
3449
  };
3425
3450
  }
@@ -3439,30 +3464,30 @@ var si = (
3439
3464
  case "select": {
3440
3465
  var x = this.clonePosition();
3441
3466
  if (this.bumpSpace(), !this.bumpIf(","))
3442
- return this.error(E.EXPECT_SELECT_ARGUMENT_OPTIONS, T(x, A({}, x)));
3467
+ return this.error(E.EXPECT_SELECT_ARGUMENT_OPTIONS, T(x, H({}, x)));
3443
3468
  this.bumpSpace();
3444
- var L = this.parseIdentifierIfPossible(), N = 0;
3445
- if (a !== "select" && L.value === "offset") {
3469
+ var O = this.parseIdentifierIfPossible(), N = 0;
3470
+ if (a !== "select" && O.value === "offset") {
3446
3471
  if (!this.bumpIf(":"))
3447
3472
  return this.error(E.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, T(this.clonePosition(), this.clonePosition()));
3448
3473
  this.bumpSpace();
3449
- var f = this.tryParseDecimalInteger(E.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, E.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3450
- if (f.err)
3451
- return f;
3452
- this.bumpSpace(), L = this.parseIdentifierIfPossible(), N = f.val;
3474
+ var d = this.tryParseDecimalInteger(E.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, E.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3475
+ if (d.err)
3476
+ return d;
3477
+ this.bumpSpace(), O = this.parseIdentifierIfPossible(), N = d.val;
3453
3478
  }
3454
- var R = this.tryParsePluralOrSelectOptions(t, a, r, L);
3455
- if (R.err)
3456
- return R;
3457
- var v = this.tryParseArgumentClose(i);
3458
- if (v.err)
3459
- return v;
3479
+ var M = this.tryParsePluralOrSelectOptions(t, a, r, O);
3480
+ if (M.err)
3481
+ return M;
3482
+ var y = this.tryParseArgumentClose(i);
3483
+ if (y.err)
3484
+ return y;
3460
3485
  var S = T(i, this.clonePosition());
3461
3486
  return a === "select" ? {
3462
3487
  val: {
3463
3488
  type: B.select,
3464
3489
  value: n,
3465
- options: Lt(R.val),
3490
+ options: Dt(M.val),
3466
3491
  location: S
3467
3492
  },
3468
3493
  err: null
@@ -3470,7 +3495,7 @@ var si = (
3470
3495
  val: {
3471
3496
  type: B.plural,
3472
3497
  value: n,
3473
- options: Lt(R.val),
3498
+ options: Dt(M.val),
3474
3499
  offset: N,
3475
3500
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3476
3501
  location: S
@@ -3521,48 +3546,48 @@ var si = (
3521
3546
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3522
3547
  var n = [];
3523
3548
  try {
3524
- n = $n(t);
3549
+ n = Vn(t);
3525
3550
  } catch {
3526
3551
  return this.error(E.INVALID_NUMBER_SKELETON, r);
3527
3552
  }
3528
3553
  return {
3529
3554
  val: {
3530
- type: pe.number,
3555
+ type: me.number,
3531
3556
  tokens: n,
3532
3557
  location: r,
3533
- parsedOptions: this.shouldParseSkeletons ? Vn(n) : {}
3558
+ parsedOptions: this.shouldParseSkeletons ? Zn(n) : {}
3534
3559
  },
3535
3560
  err: null
3536
3561
  };
3537
3562
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3538
3563
  for (var o, s = !1, a = [], h = /* @__PURE__ */ new Set(), l = i.value, u = i.location; ; ) {
3539
3564
  if (l.length === 0) {
3540
- var f = this.clonePosition();
3565
+ var d = this.clonePosition();
3541
3566
  if (r !== "select" && this.bumpIf("=")) {
3542
3567
  var c = this.tryParseDecimalInteger(E.EXPECT_PLURAL_ARGUMENT_SELECTOR, E.INVALID_PLURAL_ARGUMENT_SELECTOR);
3543
3568
  if (c.err)
3544
3569
  return c;
3545
- u = T(f, this.clonePosition()), l = this.message.slice(f.offset, this.offset());
3570
+ u = T(d, this.clonePosition()), l = this.message.slice(d.offset, this.offset());
3546
3571
  } else
3547
3572
  break;
3548
3573
  }
3549
3574
  if (h.has(l))
3550
3575
  return this.error(r === "select" ? E.DUPLICATE_SELECT_ARGUMENT_SELECTOR : E.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, u);
3551
3576
  l === "other" && (s = !0), this.bumpSpace();
3552
- var p = this.clonePosition();
3577
+ var m = this.clonePosition();
3553
3578
  if (!this.bumpIf("{"))
3554
3579
  return this.error(r === "select" ? E.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : E.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, T(this.clonePosition(), this.clonePosition()));
3555
- var v = this.parseMessage(t + 1, r, n);
3556
- if (v.err)
3557
- return v;
3558
- var g = this.tryParseArgumentClose(p);
3580
+ var y = this.parseMessage(t + 1, r, n);
3581
+ if (y.err)
3582
+ return y;
3583
+ var g = this.tryParseArgumentClose(m);
3559
3584
  if (g.err)
3560
3585
  return g;
3561
3586
  a.push([
3562
3587
  l,
3563
3588
  {
3564
- value: v.val,
3565
- location: T(p, this.clonePosition())
3589
+ value: y.val,
3590
+ location: T(m, this.clonePosition())
3566
3591
  }
3567
3592
  ]), h.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, u = o.location;
3568
3593
  }
@@ -3578,7 +3603,7 @@ var si = (
3578
3603
  break;
3579
3604
  }
3580
3605
  var h = T(i, this.clonePosition());
3581
- return o ? (s *= n, ri(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3606
+ return o ? (s *= n, si(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3582
3607
  }, e.prototype.offset = function() {
3583
3608
  return this.position.offset;
3584
3609
  }, e.prototype.isEOF = function() {
@@ -3593,7 +3618,7 @@ var si = (
3593
3618
  var t = this.position.offset;
3594
3619
  if (t >= this.message.length)
3595
3620
  throw Error("out of bound");
3596
- var r = vr(this.message, t);
3621
+ var r = wr(this.message, t);
3597
3622
  if (r === void 0)
3598
3623
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3599
3624
  return r;
@@ -3612,7 +3637,7 @@ var si = (
3612
3637
  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);
3613
3638
  }
3614
3639
  }, e.prototype.bumpIf = function(t) {
3615
- if (It(this.message, t, this.offset())) {
3640
+ if (Rt(this.message, t, this.offset())) {
3616
3641
  for (var r = 0; r < t.length; r++)
3617
3642
  this.bump();
3618
3643
  return !0;
@@ -3634,7 +3659,7 @@ var si = (
3634
3659
  break;
3635
3660
  }
3636
3661
  }, e.prototype.bumpSpace = function() {
3637
- for (; !this.isEOF() && _r(this.char()); )
3662
+ for (; !this.isEOF() && Tr(this.char()); )
3638
3663
  this.bump();
3639
3664
  }, e.prototype.peek = function() {
3640
3665
  if (this.isEOF())
@@ -3644,47 +3669,47 @@ var si = (
3644
3669
  }, e;
3645
3670
  }()
3646
3671
  );
3647
- function ut(e) {
3672
+ function ft(e) {
3648
3673
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3649
3674
  }
3650
- function ai(e) {
3651
- return ut(e) || e === 47;
3675
+ function ci(e) {
3676
+ return ft(e) || e === 47;
3652
3677
  }
3653
- function li(e) {
3678
+ function fi(e) {
3654
3679
  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;
3655
3680
  }
3656
- function _r(e) {
3681
+ function Tr(e) {
3657
3682
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3658
3683
  }
3659
- function ui(e) {
3684
+ function di(e) {
3660
3685
  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;
3661
3686
  }
3662
- function ht(e) {
3687
+ function dt(e) {
3663
3688
  e.forEach(function(t) {
3664
- if (delete t.location, hr(t) || cr(t))
3689
+ if (delete t.location, mr(t) || br(t))
3665
3690
  for (var r in t.options)
3666
- delete t.options[r].location, ht(t.options[r].value);
3691
+ delete t.options[r].location, dt(t.options[r].value);
3667
3692
  else
3668
- ar(t) && dr(t.style) || (lr(t) || ur(t)) && ot(t.style) ? delete t.style.location : fr(t) && ht(t.children);
3693
+ fr(t) && yr(t.style) || (dr(t) || pr(t)) && lt(t.style) ? delete t.style.location : gr(t) && dt(t.children);
3669
3694
  });
3670
3695
  }
3671
- function hi(e, t) {
3672
- t === void 0 && (t = {}), t = A({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3673
- var r = new si(e, t).parse();
3696
+ function pi(e, t) {
3697
+ t === void 0 && (t = {}), t = H({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3698
+ var r = new hi(e, t).parse();
3674
3699
  if (r.err) {
3675
3700
  var n = SyntaxError(E[r.err.kind]);
3676
3701
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3677
3702
  }
3678
- return t?.captureLocation || ht(r.val), r.val;
3703
+ return t?.captureLocation || dt(r.val), r.val;
3679
3704
  }
3680
- var me;
3705
+ var be;
3681
3706
  (function(e) {
3682
3707
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3683
- })(me || (me = {}));
3684
- var Ge = (
3708
+ })(be || (be = {}));
3709
+ var je = (
3685
3710
  /** @class */
3686
3711
  function(e) {
3687
- J(t, e);
3712
+ Z(t, e);
3688
3713
  function t(r, n, i) {
3689
3714
  var o = e.call(this, r) || this;
3690
3715
  return o.code = n, o.originalMessage = i, o;
@@ -3693,155 +3718,155 @@ var Ge = (
3693
3718
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3694
3719
  }, t;
3695
3720
  }(Error)
3696
- ), Mt = (
3721
+ ), $t = (
3697
3722
  /** @class */
3698
3723
  function(e) {
3699
- J(t, e);
3724
+ Z(t, e);
3700
3725
  function t(r, n, i, o) {
3701
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), me.INVALID_VALUE, o) || this;
3726
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), be.INVALID_VALUE, o) || this;
3702
3727
  }
3703
3728
  return t;
3704
- }(Ge)
3705
- ), ci = (
3729
+ }(je)
3730
+ ), mi = (
3706
3731
  /** @class */
3707
3732
  function(e) {
3708
- J(t, e);
3733
+ Z(t, e);
3709
3734
  function t(r, n, i) {
3710
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), me.INVALID_VALUE, i) || this;
3735
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), be.INVALID_VALUE, i) || this;
3711
3736
  }
3712
3737
  return t;
3713
- }(Ge)
3714
- ), fi = (
3738
+ }(je)
3739
+ ), bi = (
3715
3740
  /** @class */
3716
3741
  function(e) {
3717
- J(t, e);
3742
+ Z(t, e);
3718
3743
  function t(r, n) {
3719
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), me.MISSING_VALUE, n) || this;
3744
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), be.MISSING_VALUE, n) || this;
3720
3745
  }
3721
3746
  return t;
3722
- }(Ge)
3723
- ), D;
3747
+ }(je)
3748
+ ), R;
3724
3749
  (function(e) {
3725
3750
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3726
- })(D || (D = {}));
3727
- function di(e) {
3751
+ })(R || (R = {}));
3752
+ function gi(e) {
3728
3753
  return e.length < 2 ? e : e.reduce(function(t, r) {
3729
3754
  var n = t[t.length - 1];
3730
- return !n || n.type !== D.literal || r.type !== D.literal ? t.push(r) : n.value += r.value, t;
3755
+ return !n || n.type !== R.literal || r.type !== R.literal ? t.push(r) : n.value += r.value, t;
3731
3756
  }, []);
3732
3757
  }
3733
- function pi(e) {
3758
+ function yi(e) {
3734
3759
  return typeof e == "function";
3735
3760
  }
3736
- function Le(e, t, r, n, i, o, s) {
3737
- if (e.length === 1 && Ft(e[0]))
3761
+ function Ne(e, t, r, n, i, o, s) {
3762
+ if (e.length === 1 && Ot(e[0]))
3738
3763
  return [
3739
3764
  {
3740
- type: D.literal,
3765
+ type: R.literal,
3741
3766
  value: e[0].value
3742
3767
  }
3743
3768
  ];
3744
3769
  for (var a = [], h = 0, l = e; h < l.length; h++) {
3745
3770
  var u = l[h];
3746
- if (Ft(u)) {
3771
+ if (Ot(u)) {
3747
3772
  a.push({
3748
- type: D.literal,
3773
+ type: R.literal,
3749
3774
  value: u.value
3750
3775
  });
3751
3776
  continue;
3752
3777
  }
3753
- if (Mn(u)) {
3778
+ if ($n(u)) {
3754
3779
  typeof o == "number" && a.push({
3755
- type: D.literal,
3780
+ type: R.literal,
3756
3781
  value: r.getNumberFormat(t).format(o)
3757
3782
  });
3758
3783
  continue;
3759
3784
  }
3760
- var f = u.value;
3761
- if (!(i && f in i))
3762
- throw new fi(f, s);
3763
- var c = i[f];
3764
- if (Nn(u)) {
3785
+ var d = u.value;
3786
+ if (!(i && d in i))
3787
+ throw new bi(d, s);
3788
+ var c = i[d];
3789
+ if (Un(u)) {
3765
3790
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3766
- type: typeof c == "string" ? D.literal : D.object,
3791
+ type: typeof c == "string" ? R.literal : R.object,
3767
3792
  value: c
3768
3793
  });
3769
3794
  continue;
3770
3795
  }
3771
- if (lr(u)) {
3772
- var p = typeof u.style == "string" ? n.date[u.style] : ot(u.style) ? u.style.parsedOptions : void 0;
3796
+ if (dr(u)) {
3797
+ var m = typeof u.style == "string" ? n.date[u.style] : lt(u.style) ? u.style.parsedOptions : void 0;
3773
3798
  a.push({
3774
- type: D.literal,
3775
- value: r.getDateTimeFormat(t, p).format(c)
3799
+ type: R.literal,
3800
+ value: r.getDateTimeFormat(t, m).format(c)
3776
3801
  });
3777
3802
  continue;
3778
3803
  }
3779
- if (ur(u)) {
3780
- var p = typeof u.style == "string" ? n.time[u.style] : ot(u.style) ? u.style.parsedOptions : n.time.medium;
3804
+ if (pr(u)) {
3805
+ var m = typeof u.style == "string" ? n.time[u.style] : lt(u.style) ? u.style.parsedOptions : n.time.medium;
3781
3806
  a.push({
3782
- type: D.literal,
3783
- value: r.getDateTimeFormat(t, p).format(c)
3807
+ type: R.literal,
3808
+ value: r.getDateTimeFormat(t, m).format(c)
3784
3809
  });
3785
3810
  continue;
3786
3811
  }
3787
- if (ar(u)) {
3788
- var p = typeof u.style == "string" ? n.number[u.style] : dr(u.style) ? u.style.parsedOptions : void 0;
3789
- p && p.scale && (c = c * (p.scale || 1)), a.push({
3790
- type: D.literal,
3791
- value: r.getNumberFormat(t, p).format(c)
3812
+ if (fr(u)) {
3813
+ var m = typeof u.style == "string" ? n.number[u.style] : yr(u.style) ? u.style.parsedOptions : void 0;
3814
+ m && m.scale && (c = c * (m.scale || 1)), a.push({
3815
+ type: R.literal,
3816
+ value: r.getNumberFormat(t, m).format(c)
3792
3817
  });
3793
3818
  continue;
3794
3819
  }
3795
- if (fr(u)) {
3796
- var v = u.children, g = u.value, P = i[g];
3797
- if (!pi(P))
3798
- throw new ci(g, "function", s);
3799
- var w = Le(v, t, r, n, i, o), y = P(w.map(function(N) {
3820
+ if (gr(u)) {
3821
+ var y = u.children, g = u.value, F = i[g];
3822
+ if (!yi(F))
3823
+ throw new mi(g, "function", s);
3824
+ var w = Ne(y, t, r, n, i, o), v = F(w.map(function(N) {
3800
3825
  return N.value;
3801
3826
  }));
3802
- Array.isArray(y) || (y = [y]), a.push.apply(a, y.map(function(N) {
3827
+ Array.isArray(v) || (v = [v]), a.push.apply(a, v.map(function(N) {
3803
3828
  return {
3804
- type: typeof N == "string" ? D.literal : D.object,
3829
+ type: typeof N == "string" ? R.literal : R.object,
3805
3830
  value: N
3806
3831
  };
3807
3832
  }));
3808
3833
  }
3809
- if (hr(u)) {
3834
+ if (mr(u)) {
3810
3835
  var x = u.options[c] || u.options.other;
3811
3836
  if (!x)
3812
- throw new Mt(u.value, c, Object.keys(u.options), s);
3813
- a.push.apply(a, Le(x.value, t, r, n, i));
3837
+ throw new $t(u.value, c, Object.keys(u.options), s);
3838
+ a.push.apply(a, Ne(x.value, t, r, n, i));
3814
3839
  continue;
3815
3840
  }
3816
- if (cr(u)) {
3841
+ if (br(u)) {
3817
3842
  var x = u.options["=".concat(c)];
3818
3843
  if (!x) {
3819
3844
  if (!Intl.PluralRules)
3820
- throw new Ge(`Intl.PluralRules is not available in this environment.
3845
+ throw new je(`Intl.PluralRules is not available in this environment.
3821
3846
  Try polyfilling it using "@formatjs/intl-pluralrules"
3822
- `, me.MISSING_INTL_API, s);
3823
- var L = r.getPluralRules(t, { type: u.pluralType }).select(c - (u.offset || 0));
3824
- x = u.options[L] || u.options.other;
3847
+ `, be.MISSING_INTL_API, s);
3848
+ var O = r.getPluralRules(t, { type: u.pluralType }).select(c - (u.offset || 0));
3849
+ x = u.options[O] || u.options.other;
3825
3850
  }
3826
3851
  if (!x)
3827
- throw new Mt(u.value, c, Object.keys(u.options), s);
3828
- a.push.apply(a, Le(x.value, t, r, n, i, c - (u.offset || 0)));
3852
+ throw new $t(u.value, c, Object.keys(u.options), s);
3853
+ a.push.apply(a, Ne(x.value, t, r, n, i, c - (u.offset || 0)));
3829
3854
  continue;
3830
3855
  }
3831
3856
  }
3832
- return di(a);
3857
+ return gi(a);
3833
3858
  }
3834
- function mi(e, t) {
3835
- return t ? A(A(A({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3836
- return r[n] = A(A({}, e[n]), t[n] || {}), r;
3859
+ function vi(e, t) {
3860
+ return t ? H(H(H({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3861
+ return r[n] = H(H({}, e[n]), t[n] || {}), r;
3837
3862
  }, {})) : e;
3838
3863
  }
3839
- function bi(e, t) {
3864
+ function _i(e, t) {
3840
3865
  return t ? Object.keys(e).reduce(function(r, n) {
3841
- return r[n] = mi(e[n], t[n]), r;
3842
- }, A({}, e)) : e;
3866
+ return r[n] = vi(e[n], t[n]), r;
3867
+ }, H({}, e)) : e;
3843
3868
  }
3844
- function Je(e) {
3869
+ function Ye(e) {
3845
3870
  return {
3846
3871
  create: function() {
3847
3872
  return {
@@ -3855,39 +3880,39 @@ function Je(e) {
3855
3880
  }
3856
3881
  };
3857
3882
  }
3858
- function gi(e) {
3883
+ function xi(e) {
3859
3884
  return e === void 0 && (e = {
3860
3885
  number: {},
3861
3886
  dateTime: {},
3862
3887
  pluralRules: {}
3863
3888
  }), {
3864
- getNumberFormat: We(function() {
3889
+ getNumberFormat: Je(function() {
3865
3890
  for (var t, r = [], n = 0; n < arguments.length; n++)
3866
3891
  r[n] = arguments[n];
3867
- return new ((t = Intl.NumberFormat).bind.apply(t, fe([void 0], r, !1)))();
3892
+ return new ((t = Intl.NumberFormat).bind.apply(t, de([void 0], r, !1)))();
3868
3893
  }, {
3869
- cache: Je(e.number),
3870
- strategy: ze.variadic
3894
+ cache: Ye(e.number),
3895
+ strategy: Qe.variadic
3871
3896
  }),
3872
- getDateTimeFormat: We(function() {
3897
+ getDateTimeFormat: Je(function() {
3873
3898
  for (var t, r = [], n = 0; n < arguments.length; n++)
3874
3899
  r[n] = arguments[n];
3875
- return new ((t = Intl.DateTimeFormat).bind.apply(t, fe([void 0], r, !1)))();
3900
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, de([void 0], r, !1)))();
3876
3901
  }, {
3877
- cache: Je(e.dateTime),
3878
- strategy: ze.variadic
3902
+ cache: Ye(e.dateTime),
3903
+ strategy: Qe.variadic
3879
3904
  }),
3880
- getPluralRules: We(function() {
3905
+ getPluralRules: Je(function() {
3881
3906
  for (var t, r = [], n = 0; n < arguments.length; n++)
3882
3907
  r[n] = arguments[n];
3883
- return new ((t = Intl.PluralRules).bind.apply(t, fe([void 0], r, !1)))();
3908
+ return new ((t = Intl.PluralRules).bind.apply(t, de([void 0], r, !1)))();
3884
3909
  }, {
3885
- cache: Je(e.pluralRules),
3886
- strategy: ze.variadic
3910
+ cache: Ye(e.pluralRules),
3911
+ strategy: Qe.variadic
3887
3912
  })
3888
3913
  };
3889
3914
  }
3890
- var vi = (
3915
+ var Ei = (
3891
3916
  /** @class */
3892
3917
  function() {
3893
3918
  function e(t, r, n, i) {
@@ -3901,12 +3926,12 @@ var vi = (
3901
3926
  var l = o.formatToParts(h);
3902
3927
  if (l.length === 1)
3903
3928
  return l[0].value;
3904
- var u = l.reduce(function(f, c) {
3905
- return !f.length || c.type !== D.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3929
+ var u = l.reduce(function(d, c) {
3930
+ return !d.length || c.type !== R.literal || typeof d[d.length - 1] != "string" ? d.push(c.value) : d[d.length - 1] += c.value, d;
3906
3931
  }, []);
3907
3932
  return u.length <= 1 ? u[0] || "" : u;
3908
3933
  }, this.formatToParts = function(h) {
3909
- return Le(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3934
+ return Ne(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3910
3935
  }, this.resolvedOptions = function() {
3911
3936
  var h;
3912
3937
  return {
@@ -3919,13 +3944,13 @@ var vi = (
3919
3944
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3920
3945
  var s = i || {};
3921
3946
  s.formatters;
3922
- var a = Jr(s, ["formatters"]);
3923
- this.ast = e.__parse(t, A(A({}, a), { locale: this.resolvedLocale }));
3947
+ var a = en(s, ["formatters"]);
3948
+ this.ast = e.__parse(t, H(H({}, a), { locale: this.resolvedLocale }));
3924
3949
  } else
3925
3950
  this.ast = t;
3926
3951
  if (!Array.isArray(this.ast))
3927
3952
  throw new TypeError("A message must be provided as a String or AST.");
3928
- this.formats = bi(e.formats, n), this.formatters = i && i.formatters || gi(this.formatterCache);
3953
+ this.formats = _i(e.formats, n), this.formatters = i && i.formatters || xi(this.formatterCache);
3929
3954
  }
3930
3955
  return Object.defineProperty(e, "defaultLocale", {
3931
3956
  get: function() {
@@ -3938,7 +3963,7 @@ var vi = (
3938
3963
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3939
3964
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3940
3965
  }
3941
- }, e.__parse = hi, e.formats = {
3966
+ }, e.__parse = pi, e.formats = {
3942
3967
  number: {
3943
3968
  integer: {
3944
3969
  maximumFractionDigits: 0
@@ -3999,7 +4024,7 @@ var vi = (
3999
4024
  }, e;
4000
4025
  }()
4001
4026
  );
4002
- function yi(e, t) {
4027
+ function wi(e, t) {
4003
4028
  if (t == null)
4004
4029
  return;
4005
4030
  if (t in e)
@@ -4020,92 +4045,92 @@ function yi(e, t) {
4020
4045
  n = void 0;
4021
4046
  return n;
4022
4047
  }
4023
- const Q = {}, _i = (e, t, r) => r && (t in Q || (Q[t] = {}), e in Q[t] || (Q[t][e] = r), r), xr = (e, t) => {
4048
+ const Q = {}, Si = (e, t, r) => r && (t in Q || (Q[t] = {}), e in Q[t] || (Q[t][e] = r), r), Hr = (e, t) => {
4024
4049
  if (t == null)
4025
4050
  return;
4026
4051
  if (t in Q && e in Q[t])
4027
4052
  return Q[t][e];
4028
- const r = ke(t);
4053
+ const r = Ve(t);
4029
4054
  for (let n = 0; n < r.length; n++) {
4030
- const i = r[n], o = Ei(i, e);
4055
+ const i = r[n], o = Hi(i, e);
4031
4056
  if (o)
4032
- return _i(e, t, o);
4057
+ return Si(e, t, o);
4033
4058
  }
4034
4059
  };
4035
- let pt;
4036
- const ve = $e({});
4037
- function xi(e) {
4038
- return pt[e] || null;
4060
+ let yt;
4061
+ const ve = ke({});
4062
+ function Ti(e) {
4063
+ return yt[e] || null;
4039
4064
  }
4040
- function Er(e) {
4041
- return e in pt;
4065
+ function Ar(e) {
4066
+ return e in yt;
4042
4067
  }
4043
- function Ei(e, t) {
4044
- if (!Er(e))
4068
+ function Hi(e, t) {
4069
+ if (!Ar(e))
4045
4070
  return null;
4046
- const r = xi(e);
4047
- return yi(r, t);
4071
+ const r = Ti(e);
4072
+ return wi(r, t);
4048
4073
  }
4049
- function wi(e) {
4074
+ function Ai(e) {
4050
4075
  if (e == null)
4051
4076
  return;
4052
- const t = ke(e);
4077
+ const t = Ve(e);
4053
4078
  for (let r = 0; r < t.length; r++) {
4054
4079
  const n = t[r];
4055
- if (Er(n))
4080
+ if (Ar(n))
4056
4081
  return n;
4057
4082
  }
4058
4083
  }
4059
- function wr(e, ...t) {
4060
- delete Q[e], ve.update((r) => (r[e] = An.all([r[e] || {}, ...t]), r));
4084
+ function Pr(e, ...t) {
4085
+ delete Q[e], ve.update((r) => (r[e] = In.all([r[e] || {}, ...t]), r));
4061
4086
  }
4062
- ge(
4087
+ ye(
4063
4088
  [ve],
4064
4089
  ([e]) => Object.keys(e)
4065
4090
  );
4066
- ve.subscribe((e) => pt = e);
4067
- const Ne = {};
4068
- function Si(e, t) {
4069
- Ne[e].delete(t), Ne[e].size === 0 && delete Ne[e];
4091
+ ve.subscribe((e) => yt = e);
4092
+ const Me = {};
4093
+ function Pi(e, t) {
4094
+ Me[e].delete(t), Me[e].size === 0 && delete Me[e];
4070
4095
  }
4071
- function Sr(e) {
4072
- return Ne[e];
4096
+ function Fr(e) {
4097
+ return Me[e];
4073
4098
  }
4074
- function Ti(e) {
4075
- return ke(e).map((t) => {
4076
- const r = Sr(t);
4099
+ function Fi(e) {
4100
+ return Ve(e).map((t) => {
4101
+ const r = Fr(t);
4077
4102
  return [t, r ? [...r] : []];
4078
4103
  }).filter(([, t]) => t.length > 0);
4079
4104
  }
4080
- function ct(e) {
4081
- return e == null ? !1 : ke(e).some(
4105
+ function pt(e) {
4106
+ return e == null ? !1 : Ve(e).some(
4082
4107
  (t) => {
4083
4108
  var r;
4084
- return (r = Sr(t)) == null ? void 0 : r.size;
4109
+ return (r = Fr(t)) == null ? void 0 : r.size;
4085
4110
  }
4086
4111
  );
4087
4112
  }
4088
- function Hi(e, t) {
4113
+ function Ci(e, t) {
4089
4114
  return Promise.all(
4090
- t.map((n) => (Si(e, n), n().then((i) => i.default || i)))
4091
- ).then((n) => wr(e, ...n));
4115
+ t.map((n) => (Pi(e, n), n().then((i) => i.default || i)))
4116
+ ).then((n) => Pr(e, ...n));
4092
4117
  }
4093
4118
  const xe = {};
4094
- function Tr(e) {
4095
- if (!ct(e))
4119
+ function Cr(e) {
4120
+ if (!pt(e))
4096
4121
  return e in xe ? xe[e] : Promise.resolve();
4097
- const t = Ti(e);
4122
+ const t = Fi(e);
4098
4123
  return xe[e] = Promise.all(
4099
4124
  t.map(
4100
- ([r, n]) => Hi(r, n)
4125
+ ([r, n]) => Ci(r, n)
4101
4126
  )
4102
4127
  ).then(() => {
4103
- if (ct(e))
4104
- return Tr(e);
4128
+ if (pt(e))
4129
+ return Cr(e);
4105
4130
  delete xe[e];
4106
4131
  }), xe[e];
4107
4132
  }
4108
- const Ai = {
4133
+ const Bi = {
4109
4134
  number: {
4110
4135
  scientific: { notation: "scientific" },
4111
4136
  engineering: { notation: "engineering" },
@@ -4134,176 +4159,176 @@ const Ai = {
4134
4159
  timeZoneName: "short"
4135
4160
  }
4136
4161
  }
4137
- }, Pi = {
4162
+ }, Ii = {
4138
4163
  fallbackLocale: null,
4139
4164
  loadingDelay: 200,
4140
- formats: Ai,
4165
+ formats: Bi,
4141
4166
  warnOnMissingMessages: !0,
4142
4167
  handleMissingMessage: void 0,
4143
4168
  ignoreTag: !0
4144
- }, Fi = Pi;
4145
- function be() {
4146
- return Fi;
4169
+ }, Oi = Ii;
4170
+ function ge() {
4171
+ return Oi;
4147
4172
  }
4148
- const Qe = $e(!1);
4149
- var Ci = Object.defineProperty, Bi = Object.defineProperties, Oi = Object.getOwnPropertyDescriptors, Rt = Object.getOwnPropertySymbols, Ii = Object.prototype.hasOwnProperty, Li = Object.prototype.propertyIsEnumerable, Dt = (e, t, r) => t in e ? Ci(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ni = (e, t) => {
4173
+ const Ke = ke(!1);
4174
+ var Li = Object.defineProperty, Ni = Object.defineProperties, Mi = Object.getOwnPropertyDescriptors, Gt = Object.getOwnPropertySymbols, Ri = Object.prototype.hasOwnProperty, Di = Object.prototype.propertyIsEnumerable, kt = (e, t, r) => t in e ? Li(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ui = (e, t) => {
4150
4175
  for (var r in t || (t = {}))
4151
- Ii.call(t, r) && Dt(e, r, t[r]);
4152
- if (Rt)
4153
- for (var r of Rt(t))
4154
- Li.call(t, r) && Dt(e, r, t[r]);
4176
+ Ri.call(t, r) && kt(e, r, t[r]);
4177
+ if (Gt)
4178
+ for (var r of Gt(t))
4179
+ Di.call(t, r) && kt(e, r, t[r]);
4155
4180
  return e;
4156
- }, Mi = (e, t) => Bi(e, Oi(t));
4157
- let ft;
4158
- const Re = $e(null);
4159
- function Ut(e) {
4181
+ }, $i = (e, t) => Ni(e, Mi(t));
4182
+ let mt;
4183
+ const De = ke(null);
4184
+ function jt(e) {
4160
4185
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4161
4186
  }
4162
- function ke(e, t = be().fallbackLocale) {
4163
- const r = Ut(e);
4164
- return t ? [.../* @__PURE__ */ new Set([...r, ...Ut(t)])] : r;
4187
+ function Ve(e, t = ge().fallbackLocale) {
4188
+ const r = jt(e);
4189
+ return t ? [.../* @__PURE__ */ new Set([...r, ...jt(t)])] : r;
4165
4190
  }
4166
- function ie() {
4167
- return ft ?? void 0;
4191
+ function re() {
4192
+ return mt ?? void 0;
4168
4193
  }
4169
- Re.subscribe((e) => {
4170
- ft = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4194
+ De.subscribe((e) => {
4195
+ mt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4171
4196
  });
4172
- const Ri = (e) => {
4173
- if (e && wi(e) && ct(e)) {
4174
- const { loadingDelay: t } = be();
4197
+ const Gi = (e) => {
4198
+ if (e && Ai(e) && pt(e)) {
4199
+ const { loadingDelay: t } = ge();
4175
4200
  let r;
4176
- return typeof window < "u" && ie() != null && t ? r = window.setTimeout(
4177
- () => Qe.set(!0),
4201
+ return typeof window < "u" && re() != null && t ? r = window.setTimeout(
4202
+ () => Ke.set(!0),
4178
4203
  t
4179
- ) : Qe.set(!0), Tr(e).then(() => {
4180
- Re.set(e);
4204
+ ) : Ke.set(!0), Cr(e).then(() => {
4205
+ De.set(e);
4181
4206
  }).finally(() => {
4182
- clearTimeout(r), Qe.set(!1);
4207
+ clearTimeout(r), Ke.set(!1);
4183
4208
  });
4184
4209
  }
4185
- return Re.set(e);
4186
- }, ne = Mi(Ni({}, Re), {
4187
- set: Ri
4188
- }), je = (e) => {
4210
+ return De.set(e);
4211
+ }, te = $i(Ui({}, De), {
4212
+ set: Gi
4213
+ }), Xe = (e) => {
4189
4214
  const t = /* @__PURE__ */ Object.create(null);
4190
4215
  return (n) => {
4191
4216
  const i = JSON.stringify(n);
4192
4217
  return i in t ? t[i] : t[i] = e(n);
4193
4218
  };
4194
4219
  };
4195
- var Di = Object.defineProperty, De = Object.getOwnPropertySymbols, Hr = Object.prototype.hasOwnProperty, Ar = Object.prototype.propertyIsEnumerable, $t = (e, t, r) => t in e ? Di(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, mt = (e, t) => {
4220
+ var ki = Object.defineProperty, Ue = Object.getOwnPropertySymbols, Br = Object.prototype.hasOwnProperty, Ir = Object.prototype.propertyIsEnumerable, Vt = (e, t, r) => t in e ? ki(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, vt = (e, t) => {
4196
4221
  for (var r in t || (t = {}))
4197
- Hr.call(t, r) && $t(e, r, t[r]);
4198
- if (De)
4199
- for (var r of De(t))
4200
- Ar.call(t, r) && $t(e, r, t[r]);
4222
+ Br.call(t, r) && Vt(e, r, t[r]);
4223
+ if (Ue)
4224
+ for (var r of Ue(t))
4225
+ Ir.call(t, r) && Vt(e, r, t[r]);
4201
4226
  return e;
4202
- }, ye = (e, t) => {
4227
+ }, _e = (e, t) => {
4203
4228
  var r = {};
4204
4229
  for (var n in e)
4205
- Hr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4206
- if (e != null && De)
4207
- for (var n of De(e))
4208
- t.indexOf(n) < 0 && Ar.call(e, n) && (r[n] = e[n]);
4230
+ Br.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4231
+ if (e != null && Ue)
4232
+ for (var n of Ue(e))
4233
+ t.indexOf(n) < 0 && Ir.call(e, n) && (r[n] = e[n]);
4209
4234
  return r;
4210
4235
  };
4211
4236
  const He = (e, t) => {
4212
- const { formats: r } = be();
4237
+ const { formats: r } = ge();
4213
4238
  if (e in r && t in r[e])
4214
4239
  return r[e][t];
4215
4240
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4216
- }, Ui = je(
4241
+ }, ji = Xe(
4217
4242
  (e) => {
4218
- var t = e, { locale: r, format: n } = t, i = ye(t, ["locale", "format"]);
4243
+ var t = e, { locale: r, format: n } = t, i = _e(t, ["locale", "format"]);
4219
4244
  if (r == null)
4220
4245
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4221
4246
  return n && (i = He("number", n)), new Intl.NumberFormat(r, i);
4222
4247
  }
4223
- ), $i = je(
4248
+ ), Vi = Xe(
4224
4249
  (e) => {
4225
- var t = e, { locale: r, format: n } = t, i = ye(t, ["locale", "format"]);
4250
+ var t = e, { locale: r, format: n } = t, i = _e(t, ["locale", "format"]);
4226
4251
  if (r == null)
4227
4252
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4228
4253
  return n ? i = He("date", n) : Object.keys(i).length === 0 && (i = He("date", "short")), new Intl.DateTimeFormat(r, i);
4229
4254
  }
4230
- ), Gi = je(
4255
+ ), Xi = Xe(
4231
4256
  (e) => {
4232
- var t = e, { locale: r, format: n } = t, i = ye(t, ["locale", "format"]);
4257
+ var t = e, { locale: r, format: n } = t, i = _e(t, ["locale", "format"]);
4233
4258
  if (r == null)
4234
4259
  throw new Error(
4235
4260
  '[svelte-i18n] A "locale" must be set to format time values'
4236
4261
  );
4237
4262
  return n ? i = He("time", n) : Object.keys(i).length === 0 && (i = He("time", "short")), new Intl.DateTimeFormat(r, i);
4238
4263
  }
4239
- ), ki = (e = {}) => {
4264
+ ), Wi = (e = {}) => {
4240
4265
  var t = e, {
4241
- locale: r = ie()
4242
- } = t, n = ye(t, [
4266
+ locale: r = re()
4267
+ } = t, n = _e(t, [
4243
4268
  "locale"
4244
4269
  ]);
4245
- return Ui(mt({ locale: r }, n));
4246
- }, ji = (e = {}) => {
4270
+ return ji(vt({ locale: r }, n));
4271
+ }, zi = (e = {}) => {
4247
4272
  var t = e, {
4248
- locale: r = ie()
4249
- } = t, n = ye(t, [
4273
+ locale: r = re()
4274
+ } = t, n = _e(t, [
4250
4275
  "locale"
4251
4276
  ]);
4252
- return $i(mt({ locale: r }, n));
4253
- }, Vi = (e = {}) => {
4277
+ return Vi(vt({ locale: r }, n));
4278
+ }, Zi = (e = {}) => {
4254
4279
  var t = e, {
4255
- locale: r = ie()
4256
- } = t, n = ye(t, [
4280
+ locale: r = re()
4281
+ } = t, n = _e(t, [
4257
4282
  "locale"
4258
4283
  ]);
4259
- return Gi(mt({ locale: r }, n));
4260
- }, Xi = je(
4284
+ return Xi(vt({ locale: r }, n));
4285
+ }, Ji = Xe(
4261
4286
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4262
- (e, t = ie()) => new vi(e, t, be().formats, {
4263
- ignoreTag: be().ignoreTag
4287
+ (e, t = re()) => new Ei(e, t, ge().formats, {
4288
+ ignoreTag: ge().ignoreTag
4264
4289
  })
4265
- ), Wi = (e, t = {}) => {
4290
+ ), Qi = (e, t = {}) => {
4266
4291
  var r, n, i, o;
4267
4292
  let s = t;
4268
4293
  typeof e == "object" && (s = e, e = s.id);
4269
4294
  const {
4270
4295
  values: a,
4271
- locale: h = ie(),
4296
+ locale: h = re(),
4272
4297
  default: l
4273
4298
  } = s;
4274
4299
  if (h == null)
4275
4300
  throw new Error(
4276
4301
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4277
4302
  );
4278
- let u = xr(e, h);
4303
+ let u = Hr(e, h);
4279
4304
  if (!u)
4280
- u = (o = (i = (n = (r = be()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4305
+ u = (o = (i = (n = (r = ge()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4281
4306
  else if (typeof u != "string")
4282
4307
  return console.warn(
4283
4308
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
4284
4309
  ), u;
4285
4310
  if (!a)
4286
4311
  return u;
4287
- let f = u;
4312
+ let d = u;
4288
4313
  try {
4289
- f = Xi(u, h).format(a);
4314
+ d = Ji(u, h).format(a);
4290
4315
  } catch (c) {
4291
4316
  c instanceof Error && console.warn(
4292
4317
  `[svelte-i18n] Message "${e}" has syntax error:`,
4293
4318
  c.message
4294
4319
  );
4295
4320
  }
4296
- return f;
4297
- }, zi = (e, t) => Vi(t).format(e), Zi = (e, t) => ji(t).format(e), Ji = (e, t) => ki(t).format(e), Qi = (e, t = ie()) => xr(e, t), qi = ge([ne, ve], () => Wi);
4298
- ge([ne], () => zi);
4299
- ge([ne], () => Zi);
4300
- ge([ne], () => Ji);
4301
- ge([ne, ve], () => Qi);
4302
- window.emWidgets = { topic: hn };
4303
- const Yi = (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)), Ki = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4304
- function xo(e, t) {
4321
+ return d;
4322
+ }, qi = (e, t) => Zi(t).format(e), Yi = (e, t) => zi(t).format(e), Ki = (e, t) => Wi(t).format(e), eo = (e, t = re()) => Hr(e, t), to = ye([te, ve], () => Qi);
4323
+ ye([te], () => qi);
4324
+ ye([te], () => Yi);
4325
+ ye([te], () => Ki);
4326
+ ye([te, ve], () => eo);
4327
+ window.emWidgets = { topic: mn };
4328
+ const ro = (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)), no = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4329
+ function Ho(e, t) {
4305
4330
  const r = window.navigator.userAgent;
4306
- return Yi(r) ? t = e.filter((n) => {
4331
+ return ro(r) ? t = e.filter((n) => {
4307
4332
  if (n.gameModel && (n.gameModel.platform.includes("iPad") || n.gameModel.platform.includes("iPhone") || n.gameModel.platform.includes("Android")))
4308
4333
  return n;
4309
4334
  }) : t = e.filter((n) => {
@@ -4311,13 +4336,13 @@ function xo(e, t) {
4311
4336
  return n;
4312
4337
  }), t;
4313
4338
  }
4314
- function eo(e, t) {
4339
+ function io(e, t) {
4315
4340
  if (e) {
4316
4341
  const r = document.createElement("style");
4317
4342
  r.innerHTML = t, e.appendChild(r);
4318
4343
  }
4319
4344
  }
4320
- function to(e, t) {
4345
+ function oo(e, t) {
4321
4346
  const r = new URL(t);
4322
4347
  fetch(r.href).then((n) => n.text()).then((n) => {
4323
4348
  const i = document.createElement("style");
@@ -4326,7 +4351,7 @@ function to(e, t) {
4326
4351
  console.error("There was an error while trying to load client styling from URL", n);
4327
4352
  });
4328
4353
  }
4329
- function ro(e, t, r) {
4354
+ function so(e, t, r) {
4330
4355
  if (window.emMessageBus) {
4331
4356
  const n = document.createElement("style");
4332
4357
  window.emMessageBus.subscribe(t, (i) => {
@@ -4334,15 +4359,15 @@ function ro(e, t, r) {
4334
4359
  });
4335
4360
  }
4336
4361
  }
4337
- function no({ withLocale: e, translations: t }) {
4338
- ne.subscribe((r) => {
4339
- r == null && (ve.set(t), ne.set(e));
4362
+ function ao({ withLocale: e, translations: t }) {
4363
+ te.subscribe((r) => {
4364
+ r == null && (ve.set(t), te.set(e));
4340
4365
  });
4341
4366
  }
4342
- function Gt(e, t) {
4343
- wr(e, t);
4367
+ function Xt(e, t) {
4368
+ Pr(e, t);
4344
4369
  }
4345
- const kt = {
4370
+ const Wt = {
4346
4371
  en: {
4347
4372
  providers: "Providers:",
4348
4373
  filterby: "Filter by:",
@@ -4452,123 +4477,123 @@ const kt = {
4452
4477
  clear: "Clear all"
4453
4478
  }
4454
4479
  };
4455
- function io(e) {
4456
- Br(e, "svelte-1v7rv6n", ':root{--min-height:50px}.SearchLoading{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.FilterContainer{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));position:relative;z-index:16}.FilterSelector{background-color:var(--emw--color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;max-width:fit-content;cursor:pointer}.FilterSelector.FilterSelectorOpen{border-radius:5px 5px 0 0}.FilterMainArea{display:flex;align-items:center}.FilterMainArea svg{margin-right:16px}.FilterName{font-size:11px;line-height:12px;color:var(--emw--color-gray-100, #E6E6E6);text-transform:uppercase}.FilterTextContainer{display:flex;flex-direction:column}.FilterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.FilterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:48px;margin-bottom:40px;overflow:hidden;margin:0}.FilterDropdownContainer.FilterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:20px}.FilterDropdown{width:100%;max-height:300px;display:flex;flex-direction:column;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none}.FilterDropdown::-webkit-scrollbar{display:none}.FilterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;padding:0 15px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.FilterItem input{cursor:pointer;margin-right:10px}.FilterItem:hover input~.FiltersCheckmark{background-color:transparent;border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.FilterItem input:checked~.FiltersCheckmark{background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.FilterItem .FiltersCheckmark{transition:all 0.05s ease-in;margin-right:15px}.FilterItem .FiltersCheckmark:after{content:"";position:absolute;left:9px;display:none}.FilterItem input:checked~.FiltersCheckmark:after{display:block}.FilterItem .FiltersCheckmark:after{left:8px;top:4px;width:5px;height:10px;border:1px solid solid var(--emw--color-white, #FFFFFF);border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0}.FilterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.FilterLabel .FiltersCheckmark{border-radius:8px;position:relative;height:22px;width:22px;min-width:22px;background-color:transparent;border:1px solid var(--emw--color-white, #FFFFFF)}.FilterLabel .FilterItemLabel{width:100%;display:flex;justify-content:space-between;overflow:hidden}.FilterLabel .FilterItemLabel span.VendorName{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.FilterItemWithLogos label{height:70px;display:flex;justify-content:space-evenly;align-items:center}.FilterItemWithLogos label img{width:70px}.FilterLabel input:checked+span{font-weight:600}.FilterCounter{display:inline-flex;margin-left:10px;min-width:17px}.ClearFilters{margin:20px auto;border:0;color:#fff;background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));font-size:18px;padding:10px 50px;border-radius:5px;cursor:pointer;transition:all 0.1s ease-in;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ClearFilters:disabled{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);pointer-events:none;cursor:not-allowed}@media only screen and (max-width: 768px){.FilterSelector{max-width:initial}.FilterDropdownContainer{width:100%;margin-bottom:20px}.FilterDropdown{margin-block-start:0;gap:14px}.FilterItemWithLogos label{justify-content:center}.FilerContainerSplit .FilterSelector{padding:7px}.FilerContainerSplit .FilterSelector .FilterCounter{margin-left:0}.FilerContainerSplit .FilterMainArea svg{margin:0 10px}.FilerContainerSplit .FilterDropdown{padding:0 5px;box-sizing:border-box}.FilerContainerSplit .FilterDropdownContainer{top:42px}.FilerContainerSplit .ClearFilters{padding:8px 20px;font-size:15px}.FilterLabel .FiltersCheckmark{margin-right:15px}.FilterItem.FilterItemWithLogos{display:flex;align-items:center;justify-content:center}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0 20px 0 0}.FilerContainerSplit .FilterItem label{padding:0;width:calc(100% - 10px);font-size:12px}.FilterItem label>*{pointer-events:none}}@media(max-width: 480px){.FilerContainerSplit .FilterSelector{min-height:var(--min-height)}.FilerContainerSplit .FilterDropdownContainer{top:var(--min-height)}.FilterName,.FilterValueContainer{overflow:hidden;max-width:100%;font-size:12px;text-overflow:ellipsis;width:fit-content}.FilterLabel .FiltersCheckmark{margin-right:5px}.FilterItem label{padding:0;font-size:11px;overflow:hidden;text-overflow:ellipsis;width:unset}.FilterItemLabel span:first-child{display:inline-block;overflow:hidden;text-overflow:ellipsis;max-width:60%}}');
4480
+ function lo(e) {
4481
+ Mr(e, "svelte-1v7rv6n", ':root{--min-height:50px}.SearchLoading{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.FilterContainer{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));position:relative;z-index:16}.FilterSelector{background-color:var(--emw--color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;max-width:fit-content;cursor:pointer}.FilterSelector.FilterSelectorOpen{border-radius:5px 5px 0 0}.FilterMainArea{display:flex;align-items:center}.FilterMainArea svg{margin-right:16px}.FilterName{font-size:11px;line-height:12px;color:var(--emw--color-gray-100, #E6E6E6);text-transform:uppercase}.FilterTextContainer{display:flex;flex-direction:column}.FilterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.FilterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:48px;margin-bottom:40px;overflow:hidden;margin:0}.FilterDropdownContainer.FilterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:20px}.FilterDropdown{width:100%;max-height:300px;display:flex;flex-direction:column;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none}.FilterDropdown::-webkit-scrollbar{display:none}.FilterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;padding:0 15px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.FilterItem input{cursor:pointer;margin-right:10px}.FilterItem:hover input~.FiltersCheckmark{background-color:transparent;border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.FilterItem input:checked~.FiltersCheckmark{background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.FilterItem .FiltersCheckmark{transition:all 0.05s ease-in;margin-right:15px}.FilterItem .FiltersCheckmark:after{content:"";position:absolute;left:9px;display:none}.FilterItem input:checked~.FiltersCheckmark:after{display:block}.FilterItem .FiltersCheckmark:after{left:8px;top:4px;width:5px;height:10px;border:1px solid solid var(--emw--color-white, #FFFFFF);border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0}.FilterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.FilterLabel .FiltersCheckmark{border-radius:8px;position:relative;height:22px;width:22px;min-width:22px;background-color:transparent;border:1px solid var(--emw--color-white, #FFFFFF)}.FilterLabel .FilterItemLabel{width:100%;display:flex;justify-content:space-between;overflow:hidden}.FilterLabel .FilterItemLabel span.VendorName{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.FilterItemWithLogos label{height:70px;display:flex;justify-content:space-evenly;align-items:center}.FilterItemWithLogos label img{width:70px}.FilterLabel input:checked+span{font-weight:600}.FilterCounter{display:inline-flex;margin-left:10px;min-width:17px}.ClearFilters{margin:20px auto;border:0;color:#fff;background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));font-size:18px;padding:10px 50px;border-radius:5px;cursor:pointer;transition:all 0.1s ease-in;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ClearFilters:disabled{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);pointer-events:none;cursor:not-allowed}@media only screen and (max-width: 768px){.FilterSelector{max-width:initial}.FilterDropdownContainer{width:100%;margin-bottom:20px}.FilterDropdown{margin-block-start:0;gap:14px}.FilterItemWithLogos label{justify-content:center}.FilerContainerSplit .FilterSelector{padding:7px}.FilerContainerSplit .FilterSelector .FilterCounter{margin-left:0}.FilerContainerSplit .FilterMainArea svg{margin:0 10px}.FilerContainerSplit .FilterDropdown{padding:0 5px;box-sizing:border-box}.FilerContainerSplit .FilterDropdownContainer{top:42px}.FilerContainerSplit .ClearFilters{padding:8px 20px;font-size:15px}.FilterLabel .FiltersCheckmark{margin-right:15px}.FilterItem.FilterItemWithLogos{display:flex;align-items:center;justify-content:center}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0 20px 0 0}.FilerContainerSplit .FilterItem label{padding:0;width:calc(100% - 10px);font-size:12px}.FilterItem label>*{pointer-events:none}}@media(max-width: 480px){.FilerContainerSplit .FilterSelector{min-height:var(--min-height)}.FilerContainerSplit .FilterDropdownContainer{top:var(--min-height)}.FilterName,.FilterValueContainer{overflow:hidden;max-width:100%;font-size:12px;text-overflow:ellipsis;width:fit-content}.FilterLabel .FiltersCheckmark{margin-right:5px}.FilterItem label{padding:0;font-size:11px;overflow:hidden;text-overflow:ellipsis;width:unset}.FilterItemLabel span:first-child{display:inline-block;overflow:hidden;text-overflow:ellipsis;max-width:60%}}');
4457
4482
  }
4458
- function jt(e, t, r) {
4483
+ function zt(e, t, r) {
4459
4484
  const n = e.slice();
4460
4485
  return n[36] = t[r], n[37] = t, n[38] = r, n;
4461
4486
  }
4462
- function oo(e) {
4487
+ function uo(e) {
4463
4488
  let t, r, n, i, o, s, a, h, l = (
4464
4489
  /*$_*/
4465
4490
  e[11]("filterby") + ""
4466
- ), u, f, c, p, v = (
4491
+ ), u, d, c, m, y = (
4467
4492
  /*$_*/
4468
4493
  e[11]("providers") + ""
4469
- ), g, P, w, y, x, L, N, R, S, O, M, V, z, K = (
4494
+ ), g, F, w, v, x, O, N, M, S, I, L, W, j, ne = (
4470
4495
  /*$_*/
4471
4496
  e[11]("clear") + ""
4472
- ), oe, se, ee, te, _e, Ae;
4473
- function Pe(b, C) {
4497
+ ), ie, K, oe, ee, se, Ae;
4498
+ function Pe(p, P) {
4474
4499
  return (
4475
4500
  /*fullSelection*/
4476
- b[7] ? lo : ao
4501
+ p[7] ? fo : co
4477
4502
  );
4478
4503
  }
4479
- let ae = Pe(e), $ = ae(e), d = _t(
4504
+ let ae = Pe(e), U = ae(e), J = St(
4480
4505
  /*vendorArray*/
4481
4506
  e[5]
4482
- ), H = [];
4483
- for (let b = 0; b < d.length; b += 1)
4484
- H[b] = Vt(jt(e, d, b));
4507
+ ), f = [];
4508
+ for (let p = 0; p < J.length; p += 1)
4509
+ f[p] = Zt(zt(e, J, p));
4485
4510
  return {
4486
4511
  c() {
4487
- t = F("div"), r = F("div"), n = F("div"), i = Ee("svg"), o = Ee("path"), s = X(), a = F("div"), h = F("span"), u = G(l), f = X(), c = F("div"), p = F("span"), g = G(v), P = X(), $.c(), w = X(), y = F("span"), x = Ee("svg"), L = Ee("path"), S = X(), O = F("div"), M = F("ul");
4488
- for (let b = 0; b < H.length; b += 1)
4489
- H[b].c();
4490
- V = X(), z = F("button"), oe = G(K), m(o, "id", "noun_filter_736223"), m(o, "d", "M12.2,22.2a1.018,1.018,0,0,1-.391-.091.939.939,0,0,1-.533-.857v-6.2L5.267,8.9A.95.95,0,0,1,5,8.225V7.149A.93.93,0,0,1,5.924,6.2H20.076A.93.93,0,0,1,21,7.149V8.225a.95.95,0,0,1-.267.675l-6.009,6.148V19.81a.981.981,0,0,1-.32.712l-1.6,1.423A.9.9,0,0,1,12.2,22.2ZM6,8.189,12,14.355a.95.95,0,0,1,.267.675v6.039l1.44-1.277v-4.78a.95.95,0,0,1,.267-.675L19.987,8.17V7.2H6Z"), m(o, "transform", "translate(-5 -6.2)"), m(o, "fill", "#fff"), m(i, "xmlns", "http://www.w3.org/2000/svg"), m(i, "width", "16"), m(i, "height", "16"), m(i, "viewBox", "0 0 16 16"), m(h, "class", "FilterName"), m(c, "class", "FilterValueContainer"), m(a, "class", "FilterTextContainer"), m(n, "class", "FilterMainArea"), m(L, "id", "arrow"), m(L, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), m(L, "transform", "translate(-274.511 -441.088)"), m(L, "fill", "#d1d1d1"), m(x, "xmlns", "http://www.w3.org/2000/svg"), m(x, "width", "14"), m(x, "height", "6.835"), m(x, "viewBox", "0 0 14 6.835"), m(y, "class", N = "TriangleInactive " + /*isFilterActive*/
4491
- (e[4] ? "TriangleActive" : "")), m(r, "class", R = "FilterSelector " + /*isFilterActive*/
4492
- (e[4] ? "FilterSelectorOpen" : "")), m(M, "class", "FilterDropdown"), m(z, "class", "ClearFilters"), z.disabled = se = /*fullSelection*/
4512
+ t = C("div"), r = C("div"), n = C("div"), i = Ee("svg"), o = Ee("path"), s = V(), a = C("div"), h = C("span"), u = $(l), d = V(), c = C("div"), m = C("span"), g = $(y), F = V(), U.c(), w = V(), v = C("span"), x = Ee("svg"), O = Ee("path"), S = V(), I = C("div"), L = C("ul");
4513
+ for (let p = 0; p < f.length; p += 1)
4514
+ f[p].c();
4515
+ W = V(), j = C("button"), ie = $(ne), b(o, "id", "noun_filter_736223"), b(o, "d", "M12.2,22.2a1.018,1.018,0,0,1-.391-.091.939.939,0,0,1-.533-.857v-6.2L5.267,8.9A.95.95,0,0,1,5,8.225V7.149A.93.93,0,0,1,5.924,6.2H20.076A.93.93,0,0,1,21,7.149V8.225a.95.95,0,0,1-.267.675l-6.009,6.148V19.81a.981.981,0,0,1-.32.712l-1.6,1.423A.9.9,0,0,1,12.2,22.2ZM6,8.189,12,14.355a.95.95,0,0,1,.267.675v6.039l1.44-1.277v-4.78a.95.95,0,0,1,.267-.675L19.987,8.17V7.2H6Z"), b(o, "transform", "translate(-5 -6.2)"), b(o, "fill", "#fff"), b(i, "xmlns", "http://www.w3.org/2000/svg"), b(i, "width", "16"), b(i, "height", "16"), b(i, "viewBox", "0 0 16 16"), b(h, "class", "FilterName"), b(c, "class", "FilterValueContainer"), b(a, "class", "FilterTextContainer"), b(n, "class", "FilterMainArea"), b(O, "id", "arrow"), b(O, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), b(O, "transform", "translate(-274.511 -441.088)"), b(O, "fill", "#d1d1d1"), b(x, "xmlns", "http://www.w3.org/2000/svg"), b(x, "width", "14"), b(x, "height", "6.835"), b(x, "viewBox", "0 0 14 6.835"), b(v, "class", N = "TriangleInactive " + /*isFilterActive*/
4516
+ (e[4] ? "TriangleActive" : "")), b(r, "class", M = "FilterSelector " + /*isFilterActive*/
4517
+ (e[4] ? "FilterSelectorOpen" : "")), b(L, "class", "FilterDropdown"), b(j, "class", "ClearFilters"), j.disabled = K = /*fullSelection*/
4493
4518
  e[7] && /*selectedVendorArray*/
4494
4519
  e[6].length != /*vendorArray*/
4495
- e[5].length, m(O, "class", ee = "FilterDropdownContainer " + /*isFilterActive*/
4496
- (e[4] ? "FilterOpen" : "")), m(t, "class", te = "FilterContainer " + /*addfilterselector*/
4520
+ e[5].length, b(I, "class", oe = "FilterDropdownContainer " + /*isFilterActive*/
4521
+ (e[4] ? "FilterOpen" : "")), b(t, "class", ee = "FilterContainer " + /*addfilterselector*/
4497
4522
  (e[0] == "true" && /*addsortingselector*/
4498
4523
  e[1] == "true" ? "FilerContainerSplit" : ""));
4499
4524
  },
4500
- m(b, C) {
4501
- W(b, t, C), _(t, r), _(r, n), _(n, i), _(i, o), _(n, s), _(n, a), _(a, h), _(h, u), _(a, f), _(a, c), _(c, p), _(p, g), _(c, P), $.m(c, null), _(r, w), _(r, y), _(y, x), _(x, L), _(t, S), _(t, O), _(O, M);
4502
- for (let I = 0; I < H.length; I += 1)
4503
- H[I] && H[I].m(M, null);
4504
- _(O, V), _(O, z), _(z, oe), _e || (Ae = [
4505
- Me(
4525
+ m(p, P) {
4526
+ X(p, t, P), _(t, r), _(r, n), _(n, i), _(i, o), _(n, s), _(n, a), _(a, h), _(h, u), _(a, d), _(a, c), _(c, m), _(m, g), _(c, F), U.m(c, null), _(r, w), _(r, v), _(v, x), _(x, O), _(t, S), _(t, I), _(I, L);
4527
+ for (let A = 0; A < f.length; A += 1)
4528
+ f[A] && f[A].m(L, null);
4529
+ _(I, W), _(I, j), _(j, ie), se || (Ae = [
4530
+ Re(
4506
4531
  r,
4507
4532
  "click",
4508
4533
  /*click_handler*/
4509
4534
  e[23]
4510
4535
  ),
4511
- Me(
4512
- z,
4536
+ Re(
4537
+ j,
4513
4538
  "click",
4514
4539
  /*click_handler_2*/
4515
4540
  e[26]
4516
4541
  )
4517
- ], _e = !0);
4542
+ ], se = !0);
4518
4543
  },
4519
- p(b, C) {
4520
- if (C[0] & /*$_*/
4544
+ p(p, P) {
4545
+ if (P[0] & /*$_*/
4521
4546
  2048 && l !== (l = /*$_*/
4522
- b[11]("filterby") + "") && q(u, l), C[0] & /*$_*/
4523
- 2048 && v !== (v = /*$_*/
4524
- b[11]("providers") + "") && q(g, v), ae === (ae = Pe(b)) && $ ? $.p(b, C) : ($.d(1), $ = ae(b), $ && ($.c(), $.m(c, null))), C[0] & /*isFilterActive*/
4547
+ p[11]("filterby") + "") && q(u, l), P[0] & /*$_*/
4548
+ 2048 && y !== (y = /*$_*/
4549
+ p[11]("providers") + "") && q(g, y), ae === (ae = Pe(p)) && U ? U.p(p, P) : (U.d(1), U = ae(p), U && (U.c(), U.m(c, null))), P[0] & /*isFilterActive*/
4525
4550
  16 && N !== (N = "TriangleInactive " + /*isFilterActive*/
4526
- (b[4] ? "TriangleActive" : "")) && m(y, "class", N), C[0] & /*isFilterActive*/
4527
- 16 && R !== (R = "FilterSelector " + /*isFilterActive*/
4528
- (b[4] ? "FilterSelectorOpen" : "")) && m(r, "class", R), C[0] & /*filterbylogo, vendorArray, filterByVendors*/
4551
+ (p[4] ? "TriangleActive" : "")) && b(v, "class", N), P[0] & /*isFilterActive*/
4552
+ 16 && M !== (M = "FilterSelector " + /*isFilterActive*/
4553
+ (p[4] ? "FilterSelectorOpen" : "")) && b(r, "class", M), P[0] & /*filterbylogo, vendorArray, filterByVendors*/
4529
4554
  8228) {
4530
- d = _t(
4555
+ J = St(
4531
4556
  /*vendorArray*/
4532
- b[5]
4557
+ p[5]
4533
4558
  );
4534
- let I;
4535
- for (I = 0; I < d.length; I += 1) {
4536
- const re = jt(b, d, I);
4537
- H[I] ? H[I].p(re, C) : (H[I] = Vt(re), H[I].c(), H[I].m(M, null));
4559
+ let A;
4560
+ for (A = 0; A < J.length; A += 1) {
4561
+ const le = zt(p, J, A);
4562
+ f[A] ? f[A].p(le, P) : (f[A] = Zt(le), f[A].c(), f[A].m(L, null));
4538
4563
  }
4539
- for (; I < H.length; I += 1)
4540
- H[I].d(1);
4541
- H.length = d.length;
4564
+ for (; A < f.length; A += 1)
4565
+ f[A].d(1);
4566
+ f.length = J.length;
4542
4567
  }
4543
- C[0] & /*$_*/
4544
- 2048 && K !== (K = /*$_*/
4545
- b[11]("clear") + "") && q(oe, K), C[0] & /*fullSelection, selectedVendorArray, vendorArray*/
4546
- 224 && se !== (se = /*fullSelection*/
4547
- b[7] && /*selectedVendorArray*/
4548
- b[6].length != /*vendorArray*/
4549
- b[5].length) && (z.disabled = se), C[0] & /*isFilterActive*/
4550
- 16 && ee !== (ee = "FilterDropdownContainer " + /*isFilterActive*/
4551
- (b[4] ? "FilterOpen" : "")) && m(O, "class", ee), C[0] & /*addfilterselector, addsortingselector*/
4552
- 3 && te !== (te = "FilterContainer " + /*addfilterselector*/
4553
- (b[0] == "true" && /*addsortingselector*/
4554
- b[1] == "true" ? "FilerContainerSplit" : "")) && m(t, "class", te);
4568
+ P[0] & /*$_*/
4569
+ 2048 && ne !== (ne = /*$_*/
4570
+ p[11]("clear") + "") && q(ie, ne), P[0] & /*fullSelection, selectedVendorArray, vendorArray*/
4571
+ 224 && K !== (K = /*fullSelection*/
4572
+ p[7] && /*selectedVendorArray*/
4573
+ p[6].length != /*vendorArray*/
4574
+ p[5].length) && (j.disabled = K), P[0] & /*isFilterActive*/
4575
+ 16 && oe !== (oe = "FilterDropdownContainer " + /*isFilterActive*/
4576
+ (p[4] ? "FilterOpen" : "")) && b(I, "class", oe), P[0] & /*addfilterselector, addsortingselector*/
4577
+ 3 && ee !== (ee = "FilterContainer " + /*addfilterselector*/
4578
+ (p[0] == "true" && /*addsortingselector*/
4579
+ p[1] == "true" ? "FilerContainerSplit" : "")) && b(t, "class", ee);
4555
4580
  },
4556
- d(b) {
4557
- b && j(t), $.d(), Lr(H, b), _e = !1, Y(Ae);
4581
+ d(p) {
4582
+ p && k(t), U.d(), Ur(f, p), se = !1, Y(Ae);
4558
4583
  }
4559
4584
  };
4560
4585
  }
4561
- function so(e) {
4586
+ function ho(e) {
4562
4587
  let t, r = (
4563
4588
  /*$_*/
4564
4589
  e[11]("500") + ""
4565
4590
  ), n;
4566
4591
  return {
4567
4592
  c() {
4568
- t = F("p"), n = G(r), m(t, "class", "SearchLoading");
4593
+ t = C("p"), n = $(r), b(t, "class", "SearchLoading");
4569
4594
  },
4570
4595
  m(i, o) {
4571
- W(i, t, o), _(t, n);
4596
+ X(i, t, o), _(t, n);
4572
4597
  },
4573
4598
  p(i, o) {
4574
4599
  o[0] & /*$_*/
@@ -4576,21 +4601,21 @@ function so(e) {
4576
4601
  i[11]("500") + "") && q(n, r);
4577
4602
  },
4578
4603
  d(i) {
4579
- i && j(t);
4604
+ i && k(t);
4580
4605
  }
4581
4606
  };
4582
4607
  }
4583
- function ao(e) {
4608
+ function co(e) {
4584
4609
  let t, r;
4585
4610
  return {
4586
4611
  c() {
4587
- t = F("span"), r = G(
4612
+ t = C("span"), r = $(
4588
4613
  /*selectionNumber*/
4589
4614
  e[8]
4590
- ), m(t, "class", "FilterCounter");
4615
+ ), b(t, "class", "FilterCounter");
4591
4616
  },
4592
4617
  m(n, i) {
4593
- W(n, t, i), _(t, r);
4618
+ X(n, t, i), _(t, r);
4594
4619
  },
4595
4620
  p(n, i) {
4596
4621
  i[0] & /*selectionNumber*/
@@ -4601,21 +4626,21 @@ function ao(e) {
4601
4626
  );
4602
4627
  },
4603
4628
  d(n) {
4604
- n && j(t);
4629
+ n && k(t);
4605
4630
  }
4606
4631
  };
4607
4632
  }
4608
- function lo(e) {
4633
+ function fo(e) {
4609
4634
  let t, r = (
4610
4635
  /*$_*/
4611
4636
  e[11]("all") + ""
4612
4637
  ), n;
4613
4638
  return {
4614
4639
  c() {
4615
- t = F("span"), n = G(r), m(t, "class", "FilterCounter");
4640
+ t = C("span"), n = $(r), b(t, "class", "FilterCounter");
4616
4641
  },
4617
4642
  m(i, o) {
4618
- W(i, t, o), _(t, n);
4643
+ X(i, t, o), _(t, n);
4619
4644
  },
4620
4645
  p(i, o) {
4621
4646
  o[0] & /*$_*/
@@ -4623,60 +4648,60 @@ function lo(e) {
4623
4648
  i[11]("all") + "") && q(n, r);
4624
4649
  },
4625
4650
  d(i) {
4626
- i && j(t);
4651
+ i && k(t);
4627
4652
  }
4628
4653
  };
4629
4654
  }
4630
- function uo(e) {
4655
+ function po(e) {
4631
4656
  let t, r;
4632
4657
  return {
4633
4658
  c() {
4634
- t = F("img"), gt(t.src, r = /*vendor*/
4635
- e[36].logo) || m(t, "src", r), m(t, "alt", "vendor logo");
4659
+ t = C("img"), xt(t.src, r = /*vendor*/
4660
+ e[36].logo) || b(t, "src", r), b(t, "alt", "vendor logo");
4636
4661
  },
4637
4662
  m(n, i) {
4638
- W(n, t, i);
4663
+ X(n, t, i);
4639
4664
  },
4640
4665
  p(n, i) {
4641
4666
  i[0] & /*vendorArray*/
4642
- 32 && !gt(t.src, r = /*vendor*/
4643
- n[36].logo) && m(t, "src", r);
4667
+ 32 && !xt(t.src, r = /*vendor*/
4668
+ n[36].logo) && b(t, "src", r);
4644
4669
  },
4645
4670
  d(n) {
4646
- n && j(t);
4671
+ n && k(t);
4647
4672
  }
4648
4673
  };
4649
4674
  }
4650
- function ho(e) {
4675
+ function mo(e) {
4651
4676
  let t, r, n = (
4652
4677
  /*vendor*/
4653
4678
  e[36].name + ""
4654
4679
  ), i, o, s, a, h = (
4655
4680
  /*vendor*/
4656
- e[36].games.count + ""
4681
+ e[36].games.total + ""
4657
4682
  ), l, u;
4658
4683
  return {
4659
4684
  c() {
4660
- t = F("div"), r = F("span"), i = G(n), o = X(), s = F("span"), a = G("("), l = G(h), u = G(")"), m(r, "class", "VendorName"), m(t, "class", "FilterItemLabel");
4685
+ t = C("div"), r = C("span"), i = $(n), o = V(), s = C("span"), a = $("("), l = $(h), u = $(")"), b(r, "class", "VendorName"), b(t, "class", "FilterItemLabel");
4661
4686
  },
4662
- m(f, c) {
4663
- W(f, t, c), _(t, r), _(r, i), _(t, o), _(t, s), _(s, a), _(s, l), _(s, u);
4687
+ m(d, c) {
4688
+ X(d, t, c), _(t, r), _(r, i), _(t, o), _(t, s), _(s, a), _(s, l), _(s, u);
4664
4689
  },
4665
- p(f, c) {
4690
+ p(d, c) {
4666
4691
  c[0] & /*vendorArray*/
4667
4692
  32 && n !== (n = /*vendor*/
4668
- f[36].name + "") && q(i, n), c[0] & /*vendorArray*/
4693
+ d[36].name + "") && q(i, n), c[0] & /*vendorArray*/
4669
4694
  32 && h !== (h = /*vendor*/
4670
- f[36].games.count + "") && q(l, h);
4695
+ d[36].games.total + "") && q(l, h);
4671
4696
  },
4672
- d(f) {
4673
- f && j(t);
4697
+ d(d) {
4698
+ d && k(t);
4674
4699
  }
4675
4700
  };
4676
4701
  }
4677
- function Vt(e) {
4678
- let t, r, n, i, o, s, a, h, l, u, f, c;
4679
- function p() {
4702
+ function Zt(e) {
4703
+ let t, r, n, i, o, s, a, h, l, u, d, c;
4704
+ function m() {
4680
4705
  e[24].call(
4681
4706
  n,
4682
4707
  /*each_value*/
@@ -4685,7 +4710,7 @@ function Vt(e) {
4685
4710
  e[38]
4686
4711
  );
4687
4712
  }
4688
- function v() {
4713
+ function y() {
4689
4714
  return (
4690
4715
  /*click_handler_1*/
4691
4716
  e[25](
@@ -4694,164 +4719,164 @@ function Vt(e) {
4694
4719
  )
4695
4720
  );
4696
4721
  }
4697
- function g(y, x) {
4722
+ function g(v, x) {
4698
4723
  if (
4699
4724
  /*filterbylogo*/
4700
- y[2] === "false"
4725
+ v[2] === "false"
4701
4726
  )
4702
- return ho;
4727
+ return mo;
4703
4728
  if (
4704
4729
  /*filterbylogo*/
4705
- y[2] === "true"
4730
+ v[2] === "true"
4706
4731
  )
4707
- return uo;
4732
+ return po;
4708
4733
  }
4709
- let P = g(e), w = P && P(e);
4734
+ let F = g(e), w = F && F(e);
4710
4735
  return {
4711
4736
  c() {
4712
- t = F("li"), r = F("label"), n = F("input"), o = X(), s = F("span"), a = X(), w && w.c(), h = X(), m(n, "type", "checkbox"), m(n, "name", "checkbox"), n.__value = i = /*vendor*/
4713
- e[36].name, vt(n, n.__value), m(s, "class", "FiltersCheckmark"), m(r, "class", "FilterLabel"), m(t, "class", l = "FilterItem " + /*filterbylogo*/
4737
+ t = C("li"), r = C("label"), n = C("input"), o = V(), s = C("span"), a = V(), w && w.c(), h = V(), b(n, "type", "checkbox"), b(n, "name", "checkbox"), n.__value = i = /*vendor*/
4738
+ e[36].name, Et(n, n.__value), b(s, "class", "FiltersCheckmark"), b(r, "class", "FilterLabel"), b(t, "class", l = "FilterItem " + /*filterbylogo*/
4714
4739
  (e[2] === "true" ? "FilterItemWithLogos" : "")), t.value = u = /*vendor*/
4715
4740
  e[36].name;
4716
4741
  },
4717
- m(y, x) {
4718
- W(y, t, x), _(t, r), _(r, n), n.checked = /*vendor*/
4719
- e[36].isFilterSelected, _(r, o), _(r, s), _(r, a), w && w.m(r, null), _(t, h), f || (c = [
4720
- Me(n, "change", p),
4721
- Me(n, "click", v)
4722
- ], f = !0);
4742
+ m(v, x) {
4743
+ X(v, t, x), _(t, r), _(r, n), n.checked = /*vendor*/
4744
+ e[36].isFilterSelected, _(r, o), _(r, s), _(r, a), w && w.m(r, null), _(t, h), d || (c = [
4745
+ Re(n, "change", m),
4746
+ Re(n, "click", y)
4747
+ ], d = !0);
4723
4748
  },
4724
- p(y, x) {
4725
- e = y, x[0] & /*vendorArray*/
4749
+ p(v, x) {
4750
+ e = v, x[0] & /*vendorArray*/
4726
4751
  32 && i !== (i = /*vendor*/
4727
- e[36].name) && (n.__value = i, vt(n, n.__value)), x[0] & /*vendorArray*/
4752
+ e[36].name) && (n.__value = i, Et(n, n.__value)), x[0] & /*vendorArray*/
4728
4753
  32 && (n.checked = /*vendor*/
4729
- e[36].isFilterSelected), P === (P = g(e)) && w ? w.p(e, x) : (w && w.d(1), w = P && P(e), w && (w.c(), w.m(r, null))), x[0] & /*filterbylogo*/
4754
+ e[36].isFilterSelected), F === (F = g(e)) && w ? w.p(e, x) : (w && w.d(1), w = F && F(e), w && (w.c(), w.m(r, null))), x[0] & /*filterbylogo*/
4730
4755
  4 && l !== (l = "FilterItem " + /*filterbylogo*/
4731
- (e[2] === "true" ? "FilterItemWithLogos" : "")) && m(t, "class", l), x[0] & /*vendorArray*/
4756
+ (e[2] === "true" ? "FilterItemWithLogos" : "")) && b(t, "class", l), x[0] & /*vendorArray*/
4732
4757
  32 && u !== (u = /*vendor*/
4733
4758
  e[36].name) && (t.value = u);
4734
4759
  },
4735
- d(y) {
4736
- y && j(t), w && w.d(), f = !1, Y(c);
4760
+ d(v) {
4761
+ v && k(t), w && w.d(), d = !1, Y(c);
4737
4762
  }
4738
4763
  };
4739
4764
  }
4740
- function co(e) {
4765
+ function bo(e) {
4741
4766
  let t;
4742
4767
  function r(o, s) {
4743
4768
  if (
4744
4769
  /*hasErrors*/
4745
4770
  o[10]
4746
4771
  )
4747
- return so;
4772
+ return ho;
4748
4773
  if (!/*isLoading*/
4749
4774
  o[9])
4750
- return oo;
4775
+ return uo;
4751
4776
  }
4752
4777
  let n = r(e), i = n && n(e);
4753
4778
  return {
4754
4779
  c() {
4755
- t = F("div"), i && i.c();
4780
+ t = C("div"), i && i.c();
4756
4781
  },
4757
4782
  m(o, s) {
4758
- W(o, t, s), i && i.m(t, null), e[27](t);
4783
+ X(o, t, s), i && i.m(t, null), e[27](t);
4759
4784
  },
4760
4785
  p(o, s) {
4761
4786
  n === (n = r(o)) && i ? i.p(o, s) : (i && i.d(1), i = n && n(o), i && (i.c(), i.m(t, null)));
4762
4787
  },
4763
- i: k,
4764
- o: k,
4788
+ i: G,
4789
+ o: G,
4765
4790
  d(o) {
4766
- o && j(t), i && i.d(), e[27](null);
4791
+ o && k(t), i && i.d(), e[27](null);
4767
4792
  }
4768
4793
  };
4769
4794
  }
4770
- function fo(e, t, r) {
4795
+ function go(e, t, r) {
4771
4796
  let n;
4772
- Cr(e, qi, (d) => r(11, n = d));
4773
- let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "" } = t, { translationurl: a = "" } = t, { clientstyling: h = "" } = t, { clientstylingurl: l = "" } = t, { categoryid: u = "" } = t, { addfilterselector: f = "false" } = t, { addsortingselector: c = "false" } = t, { filterbylogo: p = "false" } = t, { mbsource: v } = t, g = !1, P = window.navigator.userAgent, w = [], y = [], x = {}, L = !1, N = 0, R = !0, S, O = !1;
4774
- no({ withLocale: "en", translations: {} });
4775
- const M = () => {
4776
- fetch(a).then((H) => H.json()).then((H) => {
4777
- Object.keys(H).forEach((b) => {
4778
- Gt(b, H[b]);
4797
+ Nr(e, to, (f) => r(11, n = f));
4798
+ let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "" } = t, { translationurl: a = "" } = t, { clientstyling: h = "" } = t, { clientstylingurl: l = "" } = t, { categoryid: u = "" } = t, { addfilterselector: d = "false" } = t, { addsortingselector: c = "false" } = t, { filterbylogo: m = "false" } = t, { mbsource: y } = t, g = !1, F = window.navigator.userAgent, w = [], v = [], x = {}, O = !1, N = 0, M = !0, S, I = !1, L;
4799
+ ao({ withLocale: "en", translations: {} });
4800
+ const W = () => {
4801
+ fetch(a).then((p) => p.json()).then((p) => {
4802
+ Object.keys(p).forEach((P) => {
4803
+ Xt(P, p[P]);
4779
4804
  });
4780
- }).catch((H) => {
4781
- console.log(H);
4805
+ }).catch((p) => {
4806
+ console.log(p);
4782
4807
  });
4783
4808
  };
4784
- Object.keys(kt).forEach((d) => {
4785
- Gt(d, kt[d]);
4809
+ Object.keys(Wt).forEach((f) => {
4810
+ Xt(f, Wt[f]);
4786
4811
  }), x[u] && (x = { [u]: [] });
4787
- const V = () => {
4812
+ const j = () => {
4788
4813
  r(4, g = !g), window.postMessage({ type: "FilterOpened" }, window.location.href);
4789
- }, z = (d) => (r(9, R = !0), new Promise((H, b) => {
4790
- fetch(d).then((C) => C.json()).then((C) => {
4791
- C = C.items, H(C.items), r(6, y = []);
4792
- let I = JSON.parse(localStorage.getItem("vendorFiltersByCategory"));
4793
- C.forEach((re) => {
4794
- I || (I = { currentCategoryId: [] }), I[u]?.indexOf(re.id) >= 0 ? (re.isFilterSelected = !0, y.push(re)) : re.isFilterSelected = !1;
4795
- }), r(5, w = C), oe();
4796
- }).catch((C) => {
4797
- console.error(C), r(10, O = !0), b(C);
4814
+ }, ne = (f) => (r(9, M = !0), new Promise((p, P) => {
4815
+ fetch(f).then((A) => A.json()).then((A) => {
4816
+ A = A.items, p(A.items), r(6, v = []);
4817
+ let le = JSON.parse(localStorage.getItem("vendorFiltersByCategory"));
4818
+ A.forEach((Fe) => {
4819
+ le || (le = { currentCategoryId: [] }), le[u]?.indexOf(Fe.id) >= 0 ? (Fe.isFilterSelected = !0, v.push(Fe)) : Fe.isFilterSelected = !1;
4820
+ }), r(5, w = A), K();
4821
+ }).catch((A) => {
4822
+ console.error(A), r(10, I = !0), P(A);
4798
4823
  }).finally(() => {
4799
- r(9, R = !1);
4824
+ r(9, M = !1);
4800
4825
  });
4801
- })), K = (d) => {
4802
- let H = localStorage.getItem("vendorFiltersByCategory");
4803
- d.isFilterSelected = !d.isFilterSelected, !y.length || y.filter((b) => b.name === d.name).length == 0 ? y.push(d) : r(6, y = y.filter((b) => b.name !== d.name)), H == null ? localStorage.setItem("vendorFiltersByCategory", JSON.stringify(x = {
4804
- [u]: y.map((b) => b.id)
4805
- })) : (H = JSON.parse(H), H[u] = y.map((b) => b.id), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(H))), window.postMessage({ type: "ApplyFilters", origin: "filters" }, window.location.href), oe();
4826
+ })), ie = (f) => {
4827
+ let p = localStorage.getItem("vendorFiltersByCategory");
4828
+ f.isFilterSelected = !f.isFilterSelected, !v.length || v.filter((P) => P.name === f.name).length == 0 ? v.push(f) : r(6, v = v.filter((P) => P.name !== f.name)), p == null ? localStorage.setItem("vendorFiltersByCategory", JSON.stringify(x = {
4829
+ [u]: v.map((P) => P.id)
4830
+ })) : (p = JSON.parse(p), p[u] = v.map((P) => P.id), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(p))), window.postMessage({ type: "ApplyFilters", origin: "filters" }, window.location.href), K();
4831
+ }, K = () => {
4832
+ r(7, O = v.length === w.length || v.length == 0), r(8, N = v.length);
4806
4833
  }, oe = () => {
4807
- r(7, L = y.length === w.length || y.length == 0), r(8, N = y.length);
4808
- }, se = () => {
4809
- const d = new URL(`${i}/v1/casino/vendors`);
4810
- r(4, g = !1), d.searchParams.append("fields", "id,name,logo,subVendors,games"), d.searchParams.append("language", s), d.searchParams.append("datasource", o), d.searchParams.append("platform", Ki(P)), (u.match(/\$/g) || []).length > 1 ? (d.searchParams.append("filter", `games(subGroups=${u})`), d.searchParams.append("subVendors", `games(subGroups=${u})`)) : d.searchParams.append("filter", `games(groups=${u})`), z(d);
4834
+ const f = new URL(`${i}/v1/casino/vendors`);
4835
+ r(4, g = !1), f.searchParams.append("fields", "id,name,logo,subVendors,games"), f.searchParams.append("language", s), f.searchParams.append("datasource", o), f.searchParams.append("platform", no(F)), (u.match(/\$/g) || []).length > 1 ? (f.searchParams.append("filter", `games(subGroups=${u})`), f.searchParams.append("subVendors", `games(subGroups=${u})`)) : f.searchParams.append("filter", `games(groups=${u})`), ne(f);
4811
4836
  }, ee = () => {
4812
- r(6, y = []), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(x = {
4813
- [u]: y.map((d) => d.id)
4814
- })), w.forEach((d) => d.isFilterSelected = !1), r(5, w), window.postMessage({ type: "ApplyFilters" }, window.location.href), r(7, L = !0), r(4, g = !1);
4815
- }, te = (d) => {
4816
- d.data.type == "SortingOpened" && r(4, g = !1);
4837
+ r(6, v = []), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(x = {
4838
+ [u]: v.map((f) => f.id)
4839
+ })), w.forEach((f) => f.isFilterSelected = !1), r(5, w), window.postMessage({ type: "ApplyFilters" }, window.location.href), r(7, O = !0), r(4, g = !1);
4840
+ }, se = (f) => {
4841
+ f.data.type == "SortingOpened" && r(4, g = !1);
4817
4842
  };
4818
- Dr(() => (window.addEventListener("message", te, !1), () => {
4819
- window.removeEventListener("message", te);
4843
+ jr(() => (window.addEventListener("message", se, !1), () => {
4844
+ window.emMessageBus != null && L && L.unsubscribe(), window.removeEventListener("message", se);
4820
4845
  }));
4821
- const _e = () => V();
4822
- function Ae(d, H) {
4823
- d[H].isFilterSelected = this.checked, r(5, w);
4846
+ const Ae = () => j();
4847
+ function Pe(f, p) {
4848
+ f[p].isFilterSelected = this.checked, r(5, w);
4824
4849
  }
4825
- const Pe = (d) => K(d), ae = () => ee();
4826
- function $(d) {
4827
- qe[d ? "unshift" : "push"](() => {
4828
- S = d, r(3, S);
4850
+ const ae = (f) => ie(f), U = () => ee();
4851
+ function J(f) {
4852
+ et[f ? "unshift" : "push"](() => {
4853
+ S = f, r(3, S);
4829
4854
  });
4830
4855
  }
4831
- return e.$$set = (d) => {
4832
- "endpoint" in d && r(15, i = d.endpoint), "datasource" in d && r(16, o = d.datasource), "lang" in d && r(17, s = d.lang), "translationurl" in d && r(18, a = d.translationurl), "clientstyling" in d && r(19, h = d.clientstyling), "clientstylingurl" in d && r(20, l = d.clientstylingurl), "categoryid" in d && r(21, u = d.categoryid), "addfilterselector" in d && r(0, f = d.addfilterselector), "addsortingselector" in d && r(1, c = d.addsortingselector), "filterbylogo" in d && r(2, p = d.filterbylogo), "mbsource" in d && r(22, v = d.mbsource);
4856
+ return e.$$set = (f) => {
4857
+ "endpoint" in f && r(15, i = f.endpoint), "datasource" in f && r(16, o = f.datasource), "lang" in f && r(17, s = f.lang), "translationurl" in f && r(18, a = f.translationurl), "clientstyling" in f && r(19, h = f.clientstyling), "clientstylingurl" in f && r(20, l = f.clientstylingurl), "categoryid" in f && r(21, u = f.categoryid), "addfilterselector" in f && r(0, d = f.addfilterselector), "addsortingselector" in f && r(1, c = f.addsortingselector), "filterbylogo" in f && r(2, m = f.filterbylogo), "mbsource" in f && r(22, y = f.mbsource);
4833
4858
  }, e.$$.update = () => {
4834
4859
  e.$$.dirty[0] & /*endpoint, datasource, categoryid, filterbylogo*/
4835
- 2195460 && i && o && u && p && se(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4836
- 524296 && h && S && eo(S, h), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4837
- 1048584 && l && S && to(S, l), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
4838
- 4194312 && S && ro(S, `${v}.Style`), e.$$.dirty[0] & /*translationurl*/
4839
- 262144 && a && M();
4860
+ 2195460 && i && o && u && m && oe(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4861
+ 524296 && h && S && io(S, h), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4862
+ 1048584 && l && S && oo(S, l), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
4863
+ 4194312 && S && so(S, `${y}.Style`), e.$$.dirty[0] & /*translationurl*/
4864
+ 262144 && a && W();
4840
4865
  }, [
4841
- f,
4866
+ d,
4842
4867
  c,
4843
- p,
4868
+ m,
4844
4869
  S,
4845
4870
  g,
4846
4871
  w,
4847
- y,
4848
- L,
4849
- N,
4850
- R,
4872
+ v,
4851
4873
  O,
4874
+ N,
4875
+ M,
4876
+ I,
4852
4877
  n,
4853
- V,
4854
- K,
4878
+ j,
4879
+ ie,
4855
4880
  ee,
4856
4881
  i,
4857
4882
  o,
@@ -4860,22 +4885,22 @@ function fo(e, t, r) {
4860
4885
  h,
4861
4886
  l,
4862
4887
  u,
4863
- v,
4864
- _e,
4888
+ y,
4865
4889
  Ae,
4866
4890
  Pe,
4867
4891
  ae,
4868
- $
4892
+ U,
4893
+ J
4869
4894
  ];
4870
4895
  }
4871
- class Pr extends zr {
4896
+ class Or extends Yr {
4872
4897
  constructor(t) {
4873
- super(), Xr(
4898
+ super(), Qr(
4874
4899
  this,
4875
4900
  t,
4876
- fo,
4877
- co,
4878
- Wt,
4901
+ go,
4902
+ bo,
4903
+ Qt,
4879
4904
  {
4880
4905
  endpoint: 15,
4881
4906
  datasource: 16,
@@ -4889,7 +4914,7 @@ class Pr extends zr {
4889
4914
  filterbylogo: 2,
4890
4915
  mbsource: 22
4891
4916
  },
4892
- io,
4917
+ lo,
4893
4918
  [-1, -1]
4894
4919
  );
4895
4920
  }
@@ -4897,114 +4922,115 @@ class Pr extends zr {
4897
4922
  return this.$$.ctx[15];
4898
4923
  }
4899
4924
  set endpoint(t) {
4900
- this.$$set({ endpoint: t }), U();
4925
+ this.$$set({ endpoint: t }), D();
4901
4926
  }
4902
4927
  get datasource() {
4903
4928
  return this.$$.ctx[16];
4904
4929
  }
4905
4930
  set datasource(t) {
4906
- this.$$set({ datasource: t }), U();
4931
+ this.$$set({ datasource: t }), D();
4907
4932
  }
4908
4933
  get lang() {
4909
4934
  return this.$$.ctx[17];
4910
4935
  }
4911
4936
  set lang(t) {
4912
- this.$$set({ lang: t }), U();
4937
+ this.$$set({ lang: t }), D();
4913
4938
  }
4914
4939
  get translationurl() {
4915
4940
  return this.$$.ctx[18];
4916
4941
  }
4917
4942
  set translationurl(t) {
4918
- this.$$set({ translationurl: t }), U();
4943
+ this.$$set({ translationurl: t }), D();
4919
4944
  }
4920
4945
  get clientstyling() {
4921
4946
  return this.$$.ctx[19];
4922
4947
  }
4923
4948
  set clientstyling(t) {
4924
- this.$$set({ clientstyling: t }), U();
4949
+ this.$$set({ clientstyling: t }), D();
4925
4950
  }
4926
4951
  get clientstylingurl() {
4927
4952
  return this.$$.ctx[20];
4928
4953
  }
4929
4954
  set clientstylingurl(t) {
4930
- this.$$set({ clientstylingurl: t }), U();
4955
+ this.$$set({ clientstylingurl: t }), D();
4931
4956
  }
4932
4957
  get categoryid() {
4933
4958
  return this.$$.ctx[21];
4934
4959
  }
4935
4960
  set categoryid(t) {
4936
- this.$$set({ categoryid: t }), U();
4961
+ this.$$set({ categoryid: t }), D();
4937
4962
  }
4938
4963
  get addfilterselector() {
4939
4964
  return this.$$.ctx[0];
4940
4965
  }
4941
4966
  set addfilterselector(t) {
4942
- this.$$set({ addfilterselector: t }), U();
4967
+ this.$$set({ addfilterselector: t }), D();
4943
4968
  }
4944
4969
  get addsortingselector() {
4945
4970
  return this.$$.ctx[1];
4946
4971
  }
4947
4972
  set addsortingselector(t) {
4948
- this.$$set({ addsortingselector: t }), U();
4973
+ this.$$set({ addsortingselector: t }), D();
4949
4974
  }
4950
4975
  get filterbylogo() {
4951
4976
  return this.$$.ctx[2];
4952
4977
  }
4953
4978
  set filterbylogo(t) {
4954
- this.$$set({ filterbylogo: t }), U();
4979
+ this.$$set({ filterbylogo: t }), D();
4955
4980
  }
4956
4981
  get mbsource() {
4957
4982
  return this.$$.ctx[22];
4958
4983
  }
4959
4984
  set mbsource(t) {
4960
- this.$$set({ mbsource: t }), U();
4985
+ this.$$set({ mbsource: t }), D();
4961
4986
  }
4962
4987
  }
4963
- Wr(Pr, { endpoint: {}, datasource: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, categoryid: {}, addfilterselector: {}, addsortingselector: {}, filterbylogo: {}, mbsource: {} }, [], [], !0);
4964
- const Eo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4988
+ qr(Or, { endpoint: {}, datasource: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, categoryid: {}, addfilterselector: {}, addsortingselector: {}, filterbylogo: {}, mbsource: {} }, [], [], !0);
4989
+ const Ao = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4965
4990
  __proto__: null,
4966
- default: Pr
4991
+ default: Or
4967
4992
  }, Symbol.toStringTag, { value: "Module" }));
4968
4993
  export {
4969
- ne as $,
4970
- Ee as A,
4971
- eo as B,
4972
- to as C,
4973
- ro as D,
4974
- Wr as E,
4975
- qi as F,
4976
- xo as G,
4977
- go as H,
4978
- _o as I,
4979
- mo as J,
4980
- yo as K,
4981
- ve as L,
4982
- Eo as M,
4983
- zr as S,
4984
- wr as a,
4985
- Br as b,
4986
- gt as c,
4987
- j as d,
4988
- m as e,
4989
- U as f,
4990
- q as g,
4991
- W as h,
4992
- Xr as i,
4993
- _ as j,
4994
- F as k,
4995
- X as l,
4996
- G as m,
4997
- k as n,
4998
- Cr as o,
4999
- Dr as p,
5000
- Me as q,
5001
- po as r,
5002
- Wt as s,
5003
- bo as t,
5004
- Yi as u,
5005
- Ki as v,
5006
- qe as w,
5007
- _t as x,
5008
- Lr as y,
5009
- vo as z
4994
+ te as $,
4995
+ et as A,
4996
+ io as B,
4997
+ so as C,
4998
+ St as D,
4999
+ Ur as E,
5000
+ to as F,
5001
+ wo as G,
5002
+ Eo as H,
5003
+ Ee as I,
5004
+ Ho as J,
5005
+ To as K,
5006
+ So as L,
5007
+ ve as M,
5008
+ Ao as N,
5009
+ Yr as S,
5010
+ Pr as a,
5011
+ Mr as b,
5012
+ qr as c,
5013
+ V as d,
5014
+ C as e,
5015
+ D as f,
5016
+ xt as g,
5017
+ b as h,
5018
+ Qr as i,
5019
+ xo as j,
5020
+ X as k,
5021
+ _ as l,
5022
+ yo as m,
5023
+ q as n,
5024
+ G as o,
5025
+ k as p,
5026
+ Nr as q,
5027
+ jr as r,
5028
+ Qt as s,
5029
+ $ as t,
5030
+ oo as u,
5031
+ _o as v,
5032
+ Re as w,
5033
+ vo as x,
5034
+ ro as y,
5035
+ no as z
5010
5036
  };