@everymatrix/casino-most-played-section 1.59.3 → 1.60.0

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