@everymatrix/casino-last-played-section 1.74.3 → 1.74.4

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 (35) hide show
  1. package/components/{CasinoFilter-BWDdRcwT.js → CasinoFilter-BPwlHha2.js} +1021 -1007
  2. package/components/CasinoFilter-BTWS0FsQ.cjs +18 -0
  3. package/components/{CasinoFilter-CtjITeYr.js → CasinoFilter-BUlwRomz.js} +987 -973
  4. package/components/CasinoGameThumbnail-6gj212_i.cjs +47 -0
  5. package/components/{CasinoGameThumbnail-BkaE9rXW.js → CasinoGameThumbnail-CIPUqxT7.js} +752 -768
  6. package/components/{CasinoGameThumbnail-DLDMVInP.js → CasinoGameThumbnail-CRJt980b.js} +1254 -1238
  7. package/components/CasinoGamesCategorySection-2ovoa6CH.cjs +1 -0
  8. package/components/{CasinoGamesCategorySection-BRWpZ039.js → CasinoGamesCategorySection-BAc8lRjx.js} +218 -210
  9. package/components/{CasinoGamesCategorySection-BdD3uAHD.js → CasinoGamesCategorySection-pSYosM4o.js} +213 -205
  10. package/components/{CasinoLastPlayedSection-DM1nnIIH.js → CasinoLastPlayedSection-076P77jo.js} +5 -5
  11. package/components/{CasinoLastPlayedSection-BJvq-ltp.cjs → CasinoLastPlayedSection-BWkeZKfB.cjs} +1 -1
  12. package/components/{CasinoLastPlayedSection-CvtMQDAw.js → CasinoLastPlayedSection-BrNZ3giY.js} +5 -5
  13. package/components/{CasinoSort-BxmnDARn.cjs → CasinoSort-BC0bXCb5.cjs} +1 -1
  14. package/components/{CasinoSort-BtGvvVOr.js → CasinoSort-CwuCYmVi.js} +106 -107
  15. package/components/{CasinoSort-oXtmKLou.js → CasinoSort-O-SBq3yY.js} +113 -112
  16. package/es2015/casino-last-played-section.cjs +1 -1
  17. package/es2015/casino-last-played-section.js +1 -1
  18. package/esnext/casino-last-played-section.js +1 -1
  19. package/package.json +1 -1
  20. package/stencil/{index-97d17652-DIpvPU9H.js → index-97d17652-BD-QREJe.js} +151 -151
  21. package/stencil/{index-97d17652-C7V2DWFg.js → index-97d17652-DJqGt8q2.js} +147 -147
  22. package/stencil/index-97d17652-tiiCeQFu.cjs +1 -0
  23. package/stencil/{ui-image-DJWD4G-S.cjs → ui-image-BMiZteNE.cjs} +1 -1
  24. package/stencil/{ui-image-CYuYAlOX.js → ui-image-BW8AeEVd.js} +1 -1
  25. package/stencil/{ui-image-D3_FGUyo.js → ui-image-CX3MBBZL.js} +1 -1
  26. package/stencil/{ui-image-b7b48fe5-B-k0kWgx.js → ui-image-b7b48fe5-2Ir9VtWc.js} +1 -1
  27. package/stencil/{ui-image-b7b48fe5-D8-wEkoZ.js → ui-image-b7b48fe5-AJGQkQBu.js} +1 -1
  28. package/stencil/{ui-image-b7b48fe5-yceZ9WkN.cjs → ui-image-b7b48fe5-pdIH5TBa.cjs} +1 -1
  29. package/stencil/{ui-image_2-Ha_4GYwN.cjs → ui-image_2-BGf0VFLf.cjs} +1 -1
  30. package/stencil/{ui-image_2-z5LhXZY2.js → ui-image_2-Dh5Eqdlm.js} +2 -2
  31. package/stencil/{ui-image_2-CzFe50WB.js → ui-image_2-_K8Pt3w9.js} +2 -2
  32. package/components/CasinoFilter-Be3uuCeT.cjs +0 -18
  33. package/components/CasinoGameThumbnail-DfGHmR_R.cjs +0 -47
  34. package/components/CasinoGamesCategorySection-BRasZVSy.cjs +0 -1
  35. package/stencil/index-97d17652-BgKdDb-e.cjs +0 -1
@@ -1,17 +1,17 @@
1
- var $r = Object.defineProperty, Gr = Object.defineProperties;
2
- var kr = Object.getOwnPropertyDescriptors;
3
- var xt = Object.getOwnPropertySymbols;
4
- var jr = Object.prototype.hasOwnProperty, Vr = Object.prototype.propertyIsEnumerable;
5
- var We = (e, t, r) => t in e ? $r(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Et = (e, t) => {
1
+ var Vr = Object.defineProperty, Xr = Object.defineProperties;
2
+ var Wr = Object.getOwnPropertyDescriptors;
3
+ var St = Object.getOwnPropertySymbols;
4
+ var zr = Object.prototype.hasOwnProperty, Zr = Object.prototype.propertyIsEnumerable;
5
+ var ze = (e, t, r) => t in e ? Vr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Tt = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- jr.call(t, r) && We(e, r, t[r]);
8
- if (xt)
9
- for (var r of xt(t))
10
- Vr.call(t, r) && We(e, r, t[r]);
7
+ zr.call(t, r) && ze(e, r, t[r]);
8
+ if (St)
9
+ for (var r of St(t))
10
+ Zr.call(t, r) && ze(e, r, t[r]);
11
11
  return e;
12
- }, wt = (e, t) => Gr(e, kr(t));
13
- var M = (e, t, r) => (We(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var St = (e, t, r) => new Promise((n, i) => {
12
+ }, Ht = (e, t) => Xr(e, Wr(t));
13
+ var R = (e, t, r) => (ze(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var At = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (u) => {
16
16
  try {
17
17
  a(r.next(u));
@@ -27,53 +27,53 @@ var St = (e, t, r) => new Promise((n, i) => {
27
27
  }, a = (u) => u.done ? n(u.value) : Promise.resolve(u.value).then(o, s);
28
28
  a((r = r.apply(e, t)).next());
29
29
  });
30
- function k() {
30
+ function j() {
31
31
  }
32
- function er(e) {
32
+ function nr(e) {
33
33
  return e();
34
34
  }
35
- function Tt() {
35
+ function Pt() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function Y(e) {
39
- e.forEach(er);
38
+ function K(e) {
39
+ e.forEach(nr);
40
40
  }
41
- function bt(e) {
41
+ function yt(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function tr(e, t) {
44
+ function ir(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
47
  let Ce;
48
- function Ht(e, t) {
48
+ function Bt(e, t) {
49
49
  return e === t ? !0 : (Ce || (Ce = document.createElement("a")), Ce.href = t, e === Ce.href);
50
50
  }
51
- function Xr(e) {
51
+ function Jr(e) {
52
52
  return Object.keys(e).length === 0;
53
53
  }
54
- function rr(e, ...t) {
54
+ function or(e, ...t) {
55
55
  if (e == null) {
56
56
  for (const n of t)
57
57
  n(void 0);
58
- return k;
58
+ return j;
59
59
  }
60
60
  const r = e.subscribe(...t);
61
61
  return r.unsubscribe ? () => r.unsubscribe() : r;
62
62
  }
63
- function Wr(e, t, r) {
64
- e.$$.on_destroy.push(rr(t, r));
63
+ function Qr(e, t, r) {
64
+ e.$$.on_destroy.push(or(t, r));
65
65
  }
66
- function _(e, t) {
66
+ function v(e, t) {
67
67
  e.appendChild(t);
68
68
  }
69
- function zr(e, t, r) {
70
- const n = Zr(e);
69
+ function qr(e, t, r) {
70
+ const n = Yr(e);
71
71
  if (!n.getElementById(t)) {
72
- const i = F("style");
73
- i.id = t, i.textContent = r, Jr(n, i);
72
+ const i = B("style");
73
+ i.id = t, i.textContent = r, Kr(n, i);
74
74
  }
75
75
  }
76
- function Zr(e) {
76
+ function Yr(e) {
77
77
  if (!e)
78
78
  return document;
79
79
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -83,76 +83,76 @@ function Zr(e) {
83
83
  t
84
84
  ) : e.ownerDocument;
85
85
  }
86
- function Jr(e, t) {
87
- return _(
86
+ function Kr(e, t) {
87
+ return v(
88
88
  /** @type {Document} */
89
89
  e.head || e,
90
90
  t
91
91
  ), t.sheet;
92
92
  }
93
- function W(e, t, r) {
93
+ function z(e, t, r) {
94
94
  e.insertBefore(t, r || null);
95
95
  }
96
- function j(e) {
96
+ function V(e) {
97
97
  e.parentNode && e.parentNode.removeChild(e);
98
98
  }
99
- function Qr(e, t) {
99
+ function en(e, t) {
100
100
  for (let r = 0; r < e.length; r += 1)
101
101
  e[r] && e[r].d(t);
102
102
  }
103
- function F(e) {
103
+ function B(e) {
104
104
  return document.createElement(e);
105
105
  }
106
- function we(e) {
106
+ function Se(e) {
107
107
  return document.createElementNS("http://www.w3.org/2000/svg", e);
108
108
  }
109
- function G(e) {
109
+ function k(e) {
110
110
  return document.createTextNode(e);
111
111
  }
112
- function X() {
113
- return G(" ");
112
+ function W() {
113
+ return k(" ");
114
114
  }
115
- function Fo() {
116
- return G("");
115
+ function Oo() {
116
+ return k("");
117
117
  }
118
- function Ue(e, t, r, n) {
118
+ function De(e, t, r, n) {
119
119
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
120
120
  }
121
- function g(e, t, r) {
121
+ function b(e, t, r) {
122
122
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
123
123
  }
124
- function Co(e, t, r) {
124
+ function Lo(e, t, r) {
125
125
  const n = t.toLowerCase();
126
- n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : g(e, t, r);
126
+ 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);
127
127
  }
128
- function qr(e) {
128
+ function tn(e) {
129
129
  return Array.from(e.childNodes);
130
130
  }
131
- function re(e, t) {
131
+ function ne(e, t) {
132
132
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
133
133
  t);
134
134
  }
135
- function At(e, t) {
135
+ function Ft(e, t) {
136
136
  e.value = t == null ? "" : t;
137
137
  }
138
- function Oo(e, t, r) {
138
+ function No(e, t, r) {
139
139
  e.classList.toggle(t, !!r);
140
140
  }
141
- class Io {
141
+ class Mo {
142
142
  constructor(t = !1) {
143
143
  /**
144
144
  * @private
145
145
  * @default false
146
146
  */
147
- M(this, "is_svg", !1);
147
+ R(this, "is_svg", !1);
148
148
  /** parent for creating node */
149
- M(this, "e");
149
+ R(this, "e");
150
150
  /** html tag nodes */
151
- M(this, "n");
151
+ R(this, "n");
152
152
  /** target */
153
- M(this, "t");
153
+ R(this, "t");
154
154
  /** anchor */
155
- M(this, "a");
155
+ R(this, "a");
156
156
  this.is_svg = t, this.e = this.n = null;
157
157
  }
158
158
  /**
@@ -169,10 +169,10 @@ class Io {
169
169
  * @returns {void}
170
170
  */
171
171
  m(t, r, n = null) {
172
- this.e || (this.is_svg ? this.e = we(
172
+ this.e || (this.is_svg ? this.e = Se(
173
173
  /** @type {keyof SVGElementTagNameMap} */
174
174
  r.nodeName
175
- ) : this.e = F(
175
+ ) : this.e = B(
176
176
  /** @type {keyof HTMLElementTagNameMap} */
177
177
  r.nodeType === 11 ? "TEMPLATE" : r.nodeName
178
178
  ), this.t = r.tagName !== "TEMPLATE" ? r : (
@@ -193,7 +193,7 @@ class Io {
193
193
  * @returns {void} */
194
194
  i(t) {
195
195
  for (let r = 0; r < this.n.length; r += 1)
196
- W(this.t, this.n[r], t);
196
+ z(this.t, this.n[r], t);
197
197
  }
198
198
  /**
199
199
  * @param {string} html
@@ -205,10 +205,10 @@ class Io {
205
205
  /**
206
206
  * @returns {void} */
207
207
  d() {
208
- this.n.forEach(j);
208
+ this.n.forEach(V);
209
209
  }
210
210
  }
211
- function Yr(e) {
211
+ function rn(e) {
212
212
  const t = {};
213
213
  return e.childNodes.forEach(
214
214
  /** @param {Element} node */
@@ -217,134 +217,134 @@ function Yr(e) {
217
217
  }
218
218
  ), t;
219
219
  }
220
- let Te;
221
- function Se(e) {
222
- Te = e;
220
+ let He;
221
+ function Te(e) {
222
+ He = e;
223
223
  }
224
- function nr() {
225
- if (!Te)
224
+ function sr() {
225
+ if (!He)
226
226
  throw new Error("Function called outside component initialization");
227
- return Te;
227
+ return He;
228
228
  }
229
- function Kr(e) {
230
- nr().$$.on_mount.push(e);
229
+ function nn(e) {
230
+ sr().$$.on_mount.push(e);
231
231
  }
232
- function Lo(e) {
233
- nr().$$.on_destroy.push(e);
232
+ function Ro(e) {
233
+ sr().$$.on_destroy.push(e);
234
234
  }
235
- const fe = [], et = [];
235
+ const fe = [], rt = [];
236
236
  let de = [];
237
- const Pt = [], ir = /* @__PURE__ */ Promise.resolve();
238
- let tt = !1;
239
- function or() {
240
- tt || (tt = !0, ir.then(D));
237
+ const Ct = [], ar = /* @__PURE__ */ Promise.resolve();
238
+ let nt = !1;
239
+ function lr() {
240
+ nt || (nt = !0, ar.then($));
241
241
  }
242
- function No() {
243
- return or(), ir;
242
+ function Do() {
243
+ return lr(), ar;
244
244
  }
245
- function rt(e) {
245
+ function it(e) {
246
246
  de.push(e);
247
247
  }
248
- const ze = /* @__PURE__ */ new Set();
248
+ const Ze = /* @__PURE__ */ new Set();
249
249
  let he = 0;
250
- function D() {
250
+ function $() {
251
251
  if (he !== 0)
252
252
  return;
253
- const e = Te;
253
+ const e = He;
254
254
  do {
255
255
  try {
256
256
  for (; he < fe.length; ) {
257
257
  const t = fe[he];
258
- he++, Se(t), en(t.$$);
258
+ he++, Te(t), on(t.$$);
259
259
  }
260
260
  } catch (t) {
261
261
  throw fe.length = 0, he = 0, t;
262
262
  }
263
- for (Se(null), fe.length = 0, he = 0; et.length; )
264
- et.pop()();
263
+ for (Te(null), fe.length = 0, he = 0; rt.length; )
264
+ rt.pop()();
265
265
  for (let t = 0; t < de.length; t += 1) {
266
266
  const r = de[t];
267
- ze.has(r) || (ze.add(r), r());
267
+ Ze.has(r) || (Ze.add(r), r());
268
268
  }
269
269
  de.length = 0;
270
270
  } while (fe.length);
271
- for (; Pt.length; )
272
- Pt.pop()();
273
- tt = !1, ze.clear(), Se(e);
271
+ for (; Ct.length; )
272
+ Ct.pop()();
273
+ nt = !1, Ze.clear(), Te(e);
274
274
  }
275
- function en(e) {
275
+ function on(e) {
276
276
  if (e.fragment !== null) {
277
- e.update(), Y(e.before_update);
277
+ e.update(), K(e.before_update);
278
278
  const t = e.dirty;
279
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(rt);
279
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(it);
280
280
  }
281
281
  }
282
- function tn(e) {
282
+ function sn(e) {
283
283
  const t = [], r = [];
284
284
  de.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), de = t;
285
285
  }
286
- const rn = /* @__PURE__ */ new Set();
287
- function sr(e, t) {
288
- e && e.i && (rn.delete(e), e.i(t));
286
+ const an = /* @__PURE__ */ new Set();
287
+ function ur(e, t) {
288
+ e && e.i && (an.delete(e), e.i(t));
289
289
  }
290
- function Bt(e) {
290
+ function It(e) {
291
291
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
292
292
  }
293
- function Mo(e, t) {
293
+ function Uo(e, t) {
294
294
  e.d(1), t.delete(e.key);
295
295
  }
296
- function Ro(e, t, r, n, i, o, s, a, u, l, h, d) {
297
- let c = e.length, m = o.length, v = c;
298
- const y = {};
299
- for (; v--; )
300
- y[e[v].key] = v;
301
- const H = [], A = /* @__PURE__ */ new Map(), S = /* @__PURE__ */ new Map(), b = [];
302
- for (v = m; v--; ) {
303
- const P = d(i, o, v), B = r(P);
304
- let N = s.get(B);
305
- N ? b.push(() => N.p(P, t)) : (N = l(B, P), N.c()), A.set(B, H[v] = N), B in y && S.set(B, Math.abs(v - y[B]));
296
+ function $o(e, t, r, n, i, o, s, a, u, l, h, d) {
297
+ let f = e.length, p = o.length, y = f;
298
+ const g = {};
299
+ for (; y--; )
300
+ g[e[y].key] = y;
301
+ const S = [], H = /* @__PURE__ */ new Map(), E = /* @__PURE__ */ new Map(), m = [];
302
+ for (y = p; y--; ) {
303
+ const A = d(i, o, y), P = r(A);
304
+ let N = s.get(P);
305
+ N ? m.push(() => N.p(A, t)) : (N = l(P, A), N.c()), H.set(P, S[y] = N), P in g && E.set(P, Math.abs(y - g[P]));
306
306
  }
307
- const I = /* @__PURE__ */ new Set(), L = /* @__PURE__ */ new Set();
308
- function R(P) {
309
- sr(P, 1), P.m(a, h), s.set(P.key, P), h = P.first, m--;
307
+ const O = /* @__PURE__ */ new Set(), L = /* @__PURE__ */ new Set();
308
+ function D(A) {
309
+ ur(A, 1), A.m(a, h), s.set(A.key, A), h = A.first, p--;
310
310
  }
311
- for (; c && m; ) {
312
- const P = H[m - 1], B = e[c - 1], N = P.key, z = B.key;
313
- P === B ? (h = P.first, c--, m--) : A.has(z) ? !s.has(N) || I.has(N) ? R(P) : L.has(z) ? c-- : S.get(N) > S.get(z) ? (L.add(N), R(P)) : (I.add(z), c--) : (u(B, s), c--);
311
+ for (; f && p; ) {
312
+ const A = S[p - 1], P = e[f - 1], N = A.key, X = P.key;
313
+ A === P ? (h = A.first, f--, p--) : H.has(X) ? !s.has(N) || O.has(N) ? D(A) : L.has(X) ? f-- : E.get(N) > E.get(X) ? (L.add(N), D(A)) : (O.add(X), f--) : (u(P, s), f--);
314
314
  }
315
- for (; c--; ) {
316
- const P = e[c];
317
- A.has(P.key) || u(P, s);
315
+ for (; f--; ) {
316
+ const A = e[f];
317
+ H.has(A.key) || u(A, s);
318
318
  }
319
- for (; m; )
320
- R(H[m - 1]);
321
- return Y(b), H;
319
+ for (; p; )
320
+ D(S[p - 1]);
321
+ return K(m), S;
322
322
  }
323
- function nn(e, t, r) {
323
+ function ln(e, t, r) {
324
324
  const { fragment: n, after_update: i } = e.$$;
325
- n && n.m(t, r), rt(() => {
326
- const o = e.$$.on_mount.map(er).filter(bt);
327
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Y(o), e.$$.on_mount = [];
328
- }), i.forEach(rt);
325
+ n && n.m(t, r), it(() => {
326
+ const o = e.$$.on_mount.map(nr).filter(yt);
327
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : K(o), e.$$.on_mount = [];
328
+ }), i.forEach(it);
329
329
  }
330
- function on(e, t) {
330
+ function un(e, t) {
331
331
  const r = e.$$;
332
- r.fragment !== null && (tn(r.after_update), Y(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
332
+ r.fragment !== null && (sn(r.after_update), K(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
333
333
  }
334
- function sn(e, t) {
335
- e.$$.dirty[0] === -1 && (fe.push(e), or(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
334
+ function hn(e, t) {
335
+ e.$$.dirty[0] === -1 && (fe.push(e), lr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
336
336
  }
337
- function an(e, t, r, n, i, o, s = null, a = [-1]) {
338
- const u = Te;
339
- Se(e);
337
+ function cn(e, t, r, n, i, o, s = null, a = [-1]) {
338
+ const u = He;
339
+ Te(e);
340
340
  const l = e.$$ = {
341
341
  fragment: null,
342
342
  ctx: [],
343
343
  // state
344
344
  props: o,
345
- update: k,
345
+ update: j,
346
346
  not_equal: i,
347
- bound: Tt(),
347
+ bound: Pt(),
348
348
  // lifecycle
349
349
  on_mount: [],
350
350
  on_destroy: [],
@@ -353,48 +353,48 @@ function an(e, t, r, n, i, o, s = null, a = [-1]) {
353
353
  after_update: [],
354
354
  context: new Map(t.context || (u ? u.$$.context : [])),
355
355
  // everything else
356
- callbacks: Tt(),
356
+ callbacks: Pt(),
357
357
  dirty: a,
358
358
  skip_bound: !1,
359
359
  root: t.target || u.$$.root
360
360
  };
361
361
  s && s(l.root);
362
362
  let h = !1;
363
- if (l.ctx = r ? r(e, t.props || {}, (d, c, ...m) => {
364
- const v = m.length ? m[0] : c;
365
- return l.ctx && i(l.ctx[d], l.ctx[d] = v) && (!l.skip_bound && l.bound[d] && l.bound[d](v), h && sn(e, d)), c;
366
- }) : [], l.update(), h = !0, Y(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
363
+ if (l.ctx = r ? r(e, t.props || {}, (d, f, ...p) => {
364
+ const y = p.length ? p[0] : f;
365
+ return l.ctx && i(l.ctx[d], l.ctx[d] = y) && (!l.skip_bound && l.bound[d] && l.bound[d](y), h && hn(e, d)), f;
366
+ }) : [], l.update(), h = !0, K(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
367
367
  if (t.hydrate) {
368
- const d = qr(t.target);
369
- l.fragment && l.fragment.l(d), d.forEach(j);
368
+ const d = tn(t.target);
369
+ l.fragment && l.fragment.l(d), d.forEach(V);
370
370
  } else
371
371
  l.fragment && l.fragment.c();
372
- t.intro && sr(e.$$.fragment), nn(e, t.target, t.anchor), D();
372
+ t.intro && ur(e.$$.fragment), ln(e, t.target, t.anchor), $();
373
373
  }
374
- Se(u);
374
+ Te(u);
375
375
  }
376
- let ar;
377
- typeof HTMLElement == "function" && (ar = class extends HTMLElement {
376
+ let hr;
377
+ typeof HTMLElement == "function" && (hr = class extends HTMLElement {
378
378
  constructor(t, r, n) {
379
379
  super();
380
380
  /** The Svelte component constructor */
381
- M(this, "$$ctor");
381
+ R(this, "$$ctor");
382
382
  /** Slots */
383
- M(this, "$$s");
383
+ R(this, "$$s");
384
384
  /** The Svelte component instance */
385
- M(this, "$$c");
385
+ R(this, "$$c");
386
386
  /** Whether or not the custom element is connected */
387
- M(this, "$$cn", !1);
387
+ R(this, "$$cn", !1);
388
388
  /** Component props data */
389
- M(this, "$$d", {});
389
+ R(this, "$$d", {});
390
390
  /** `true` if currently in the process of reflecting component props back to attributes */
391
- M(this, "$$r", !1);
391
+ R(this, "$$r", !1);
392
392
  /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
393
- M(this, "$$p_d", {});
393
+ R(this, "$$p_d", {});
394
394
  /** @type {Record<string, Function[]>} Event listeners */
395
- M(this, "$$l", {});
395
+ R(this, "$$l", {});
396
396
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
397
- M(this, "$$l_u", /* @__PURE__ */ new Map());
397
+ R(this, "$$l_u", /* @__PURE__ */ new Map());
398
398
  this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
399
399
  }
400
400
  addEventListener(t, r, n) {
@@ -411,31 +411,31 @@ typeof HTMLElement == "function" && (ar = class extends HTMLElement {
411
411
  }
412
412
  }
413
413
  connectedCallback() {
414
- return St(this, null, function* () {
414
+ return At(this, null, function* () {
415
415
  if (this.$$cn = !0, !this.$$c) {
416
416
  let t = function(o) {
417
417
  return () => {
418
418
  let s;
419
419
  return {
420
420
  c: function() {
421
- s = F("slot"), o !== "default" && g(s, "name", o);
421
+ s = B("slot"), o !== "default" && b(s, "name", o);
422
422
  },
423
423
  /**
424
424
  * @param {HTMLElement} target
425
425
  * @param {HTMLElement} [anchor]
426
426
  */
427
427
  m: function(l, h) {
428
- W(l, s, h);
428
+ z(l, s, h);
429
429
  },
430
430
  d: function(l) {
431
- l && j(s);
431
+ l && V(s);
432
432
  }
433
433
  };
434
434
  };
435
435
  };
436
436
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
437
437
  return;
438
- const r = {}, n = Yr(this);
438
+ const r = {}, n = rn(this);
439
439
  for (const o of this.$$s)
440
440
  o in n && (r[o] = [t(o)]);
441
441
  for (const o of this.attributes) {
@@ -446,7 +446,7 @@ typeof HTMLElement == "function" && (ar = class extends HTMLElement {
446
446
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
447
447
  this.$$c = new this.$$ctor({
448
448
  target: this.shadowRoot || this,
449
- props: wt(Et({}, this.$$d), {
449
+ props: Ht(Tt({}, this.$$d), {
450
450
  $$slots: r,
451
451
  $$scope: {
452
452
  ctx: []
@@ -524,8 +524,8 @@ function Le(e, t, r, n) {
524
524
  return t;
525
525
  }
526
526
  }
527
- function ln(e, t, r, n, i, o) {
528
- let s = class extends ar {
527
+ function fn(e, t, r, n, i, o) {
528
+ let s = class extends hr {
529
529
  constructor() {
530
530
  super(e, r, i), this.$$p_d = t;
531
531
  }
@@ -555,7 +555,7 @@ function ln(e, t, r, n, i, o) {
555
555
  }), e.element = /** @type {any} */
556
556
  s, s;
557
557
  }
558
- class un {
558
+ class dn {
559
559
  constructor() {
560
560
  /**
561
561
  * ### PRIVATE API
@@ -564,7 +564,7 @@ class un {
564
564
  *
565
565
  * @type {any}
566
566
  */
567
- M(this, "$$");
567
+ R(this, "$$");
568
568
  /**
569
569
  * ### PRIVATE API
570
570
  *
@@ -572,11 +572,11 @@ class un {
572
572
  *
573
573
  * @type {any}
574
574
  */
575
- M(this, "$$set");
575
+ R(this, "$$set");
576
576
  }
577
577
  /** @returns {void} */
578
578
  $destroy() {
579
- on(this, 1), this.$destroy = k;
579
+ un(this, 1), this.$destroy = j;
580
580
  }
581
581
  /**
582
582
  * @template {Extract<keyof Events, string>} K
@@ -585,8 +585,8 @@ class un {
585
585
  * @returns {() => void}
586
586
  */
587
587
  $on(t, r) {
588
- if (!bt(r))
589
- return k;
588
+ if (!yt(r))
589
+ return j;
590
590
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
591
591
  return n.push(r), () => {
592
592
  const i = n.indexOf(r);
@@ -598,11 +598,11 @@ class un {
598
598
  * @returns {void}
599
599
  */
600
600
  $set(t) {
601
- this.$$set && !Xr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
601
+ this.$$set && !Jr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
602
602
  }
603
603
  }
604
- const hn = "4";
605
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(hn);
604
+ const pn = "4";
605
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(pn);
606
606
  /*! *****************************************************************************
607
607
  Copyright (c) Microsoft Corporation.
608
608
 
@@ -617,34 +617,34 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
617
617
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
618
618
  PERFORMANCE OF THIS SOFTWARE.
619
619
  ***************************************************************************** */
620
- var nt = function(e, t) {
621
- return nt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
620
+ var ot = function(e, t) {
621
+ return ot = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
622
622
  r.__proto__ = n;
623
623
  } || function(r, n) {
624
624
  for (var i in n)
625
625
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
626
- }, nt(e, t);
626
+ }, ot(e, t);
627
627
  };
628
- function J(e, t) {
628
+ function Q(e, t) {
629
629
  if (typeof t != "function" && t !== null)
630
630
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
631
- nt(e, t);
631
+ ot(e, t);
632
632
  function r() {
633
633
  this.constructor = e;
634
634
  }
635
635
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
636
636
  }
637
- var T = function() {
638
- return T = Object.assign || function(t) {
637
+ var w = function() {
638
+ return w = Object.assign || function(t) {
639
639
  for (var r, n = 1, i = arguments.length; n < i; n++) {
640
640
  r = arguments[n];
641
641
  for (var o in r)
642
642
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
643
643
  }
644
644
  return t;
645
- }, T.apply(this, arguments);
645
+ }, w.apply(this, arguments);
646
646
  };
647
- function cn(e, t) {
647
+ function mn(e, t) {
648
648
  var r = {};
649
649
  for (var n in e)
650
650
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -653,7 +653,7 @@ function cn(e, t) {
653
653
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
654
654
  return r;
655
655
  }
656
- function it(e) {
656
+ function st(e) {
657
657
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
658
658
  if (r)
659
659
  return r.call(e);
@@ -665,7 +665,7 @@ function it(e) {
665
665
  };
666
666
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
667
667
  }
668
- function ot(e, t) {
668
+ function at(e, t) {
669
669
  var r = typeof Symbol == "function" && e[Symbol.iterator];
670
670
  if (!r)
671
671
  return e;
@@ -691,16 +691,16 @@ function pe(e, t, r) {
691
691
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
692
692
  return e.concat(o || t);
693
693
  }
694
- function Z(e) {
694
+ function J(e) {
695
695
  return typeof e == "function";
696
696
  }
697
- function lr(e) {
697
+ function cr(e) {
698
698
  var t = function(n) {
699
699
  Error.call(n), n.stack = new Error().stack;
700
700
  }, r = e(t);
701
701
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
702
702
  }
703
- var Ze = lr(function(e) {
703
+ var Je = cr(function(e) {
704
704
  return function(r) {
705
705
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
706
706
  ` + r.map(function(n, i) {
@@ -709,7 +709,7 @@ var Ze = lr(function(e) {
709
709
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
710
710
  };
711
711
  });
712
- function st(e, t) {
712
+ function lt(e, t) {
713
713
  if (e) {
714
714
  var r = e.indexOf(t);
715
715
  0 <= r && e.splice(r, 1);
@@ -727,12 +727,12 @@ var Ge = function() {
727
727
  if (s)
728
728
  if (this._parentage = null, Array.isArray(s))
729
729
  try {
730
- for (var a = it(s), u = a.next(); !u.done; u = a.next()) {
730
+ for (var a = st(s), u = a.next(); !u.done; u = a.next()) {
731
731
  var l = u.value;
732
732
  l.remove(this);
733
733
  }
734
- } catch (y) {
735
- t = { error: y };
734
+ } catch (g) {
735
+ t = { error: g };
736
736
  } finally {
737
737
  try {
738
738
  u && !u.done && (r = a.return) && r.call(a);
@@ -744,29 +744,29 @@ var Ge = function() {
744
744
  else
745
745
  s.remove(this);
746
746
  var h = this.initialTeardown;
747
- if (Z(h))
747
+ if (J(h))
748
748
  try {
749
749
  h();
750
- } catch (y) {
751
- o = y instanceof Ze ? y.errors : [y];
750
+ } catch (g) {
751
+ o = g instanceof Je ? g.errors : [g];
752
752
  }
753
753
  var d = this._finalizers;
754
754
  if (d) {
755
755
  this._finalizers = null;
756
756
  try {
757
- for (var c = it(d), m = c.next(); !m.done; m = c.next()) {
758
- var v = m.value;
757
+ for (var f = st(d), p = f.next(); !p.done; p = f.next()) {
758
+ var y = p.value;
759
759
  try {
760
- Ft(v);
761
- } catch (y) {
762
- o = o != null ? o : [], y instanceof Ze ? o = pe(pe([], ot(o)), ot(y.errors)) : o.push(y);
760
+ Ot(y);
761
+ } catch (g) {
762
+ o = o != null ? o : [], g instanceof Je ? o = pe(pe([], at(o)), at(g.errors)) : o.push(g);
763
763
  }
764
764
  }
765
- } catch (y) {
766
- n = { error: y };
765
+ } catch (g) {
766
+ n = { error: g };
767
767
  } finally {
768
768
  try {
769
- m && !m.done && (i = c.return) && i.call(c);
769
+ p && !p.done && (i = f.return) && i.call(f);
770
770
  } finally {
771
771
  if (n)
772
772
  throw n.error;
@@ -774,13 +774,13 @@ var Ge = function() {
774
774
  }
775
775
  }
776
776
  if (o)
777
- throw new Ze(o);
777
+ throw new Je(o);
778
778
  }
779
779
  }, e.prototype.add = function(t) {
780
780
  var r;
781
781
  if (t && t !== this)
782
782
  if (this.closed)
783
- Ft(t);
783
+ Ot(t);
784
784
  else {
785
785
  if (t instanceof e) {
786
786
  if (t.closed || t._hasParent(this))
@@ -797,56 +797,56 @@ var Ge = function() {
797
797
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
798
798
  }, e.prototype._removeParent = function(t) {
799
799
  var r = this._parentage;
800
- r === t ? this._parentage = null : Array.isArray(r) && st(r, t);
800
+ r === t ? this._parentage = null : Array.isArray(r) && lt(r, t);
801
801
  }, e.prototype.remove = function(t) {
802
802
  var r = this._finalizers;
803
- r && st(r, t), t instanceof e && t._removeParent(this);
803
+ r && lt(r, t), t instanceof e && t._removeParent(this);
804
804
  }, e.EMPTY = function() {
805
805
  var t = new e();
806
806
  return t.closed = !0, t;
807
807
  }(), e;
808
- }(), ur = Ge.EMPTY;
809
- function hr(e) {
810
- return e instanceof Ge || e && "closed" in e && Z(e.remove) && Z(e.add) && Z(e.unsubscribe);
808
+ }(), fr = Ge.EMPTY;
809
+ function dr(e) {
810
+ return e instanceof Ge || e && "closed" in e && J(e.remove) && J(e.add) && J(e.unsubscribe);
811
811
  }
812
- function Ft(e) {
813
- Z(e) ? e() : e.unsubscribe();
812
+ function Ot(e) {
813
+ J(e) ? e() : e.unsubscribe();
814
814
  }
815
- var fn = {
815
+ var pr = {
816
816
  onUnhandledError: null,
817
817
  onStoppedNotification: null,
818
818
  Promise: void 0,
819
819
  useDeprecatedSynchronousErrorHandling: !1,
820
820
  useDeprecatedNextContext: !1
821
- }, dn = {
821
+ }, bn = {
822
822
  setTimeout: function(e, t) {
823
823
  for (var r = [], n = 2; n < arguments.length; n++)
824
824
  r[n - 2] = arguments[n];
825
- return setTimeout.apply(void 0, pe([e, t], ot(r)));
825
+ return setTimeout.apply(void 0, pe([e, t], at(r)));
826
826
  },
827
827
  clearTimeout: function(e) {
828
828
  return clearTimeout(e);
829
829
  },
830
830
  delegate: void 0
831
831
  };
832
- function pn(e) {
833
- dn.setTimeout(function() {
832
+ function gn(e) {
833
+ bn.setTimeout(function() {
834
834
  throw e;
835
835
  });
836
836
  }
837
- function Ct() {
837
+ function Lt() {
838
838
  }
839
839
  function Ne(e) {
840
840
  e();
841
841
  }
842
- var cr = function(e) {
843
- J(t, e);
842
+ var mr = function(e) {
843
+ Q(t, e);
844
844
  function t(r) {
845
845
  var n = e.call(this) || this;
846
- return n.isStopped = !1, r ? (n.destination = r, hr(r) && r.add(n)) : n.destination = gn, n;
846
+ return n.isStopped = !1, r ? (n.destination = r, dr(r) && r.add(n)) : n.destination = xn, n;
847
847
  }
848
848
  return t.create = function(r, n, i) {
849
- return new at(r, n, i);
849
+ return new ut(r, n, i);
850
850
  }, t.prototype.next = function(r) {
851
851
  this.isStopped || this._next(r);
852
852
  }, t.prototype.error = function(r) {
@@ -870,7 +870,11 @@ var cr = function(e) {
870
870
  this.unsubscribe();
871
871
  }
872
872
  }, t;
873
- }(Ge), mn = function() {
873
+ }(Ge), yn = Function.prototype.bind;
874
+ function Qe(e, t) {
875
+ return yn.call(e, t);
876
+ }
877
+ var vn = function() {
874
878
  function e(t) {
875
879
  this.partialObserver = t;
876
880
  }
@@ -880,7 +884,7 @@ var cr = function(e) {
880
884
  try {
881
885
  r.next(t);
882
886
  } catch (n) {
883
- Oe(n);
887
+ Ie(n);
884
888
  }
885
889
  }, e.prototype.error = function(t) {
886
890
  var r = this.partialObserver;
@@ -888,56 +892,68 @@ var cr = function(e) {
888
892
  try {
889
893
  r.error(t);
890
894
  } catch (n) {
891
- Oe(n);
895
+ Ie(n);
892
896
  }
893
897
  else
894
- Oe(t);
898
+ Ie(t);
895
899
  }, e.prototype.complete = function() {
896
900
  var t = this.partialObserver;
897
901
  if (t.complete)
898
902
  try {
899
903
  t.complete();
900
904
  } catch (r) {
901
- Oe(r);
905
+ Ie(r);
902
906
  }
903
907
  }, e;
904
- }(), at = function(e) {
905
- J(t, e);
908
+ }(), ut = function(e) {
909
+ Q(t, e);
906
910
  function t(r, n, i) {
907
911
  var o = e.call(this) || this, s;
908
- return Z(r) || !r ? s = {
909
- next: r != null ? r : void 0,
910
- error: n != null ? n : void 0,
911
- complete: i != null ? i : void 0
912
- } : s = r, o.destination = new mn(s), o;
912
+ if (J(r) || !r)
913
+ s = {
914
+ next: r != null ? r : void 0,
915
+ error: n != null ? n : void 0,
916
+ complete: i != null ? i : void 0
917
+ };
918
+ else {
919
+ var a;
920
+ o && pr.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
921
+ return o.unsubscribe();
922
+ }, s = {
923
+ next: r.next && Qe(r.next, a),
924
+ error: r.error && Qe(r.error, a),
925
+ complete: r.complete && Qe(r.complete, a)
926
+ }) : s = r;
927
+ }
928
+ return o.destination = new vn(s), o;
913
929
  }
914
930
  return t;
915
- }(cr);
916
- function Oe(e) {
917
- pn(e);
931
+ }(mr);
932
+ function Ie(e) {
933
+ gn(e);
918
934
  }
919
- function bn(e) {
935
+ function _n(e) {
920
936
  throw e;
921
937
  }
922
- var gn = {
938
+ var xn = {
923
939
  closed: !0,
924
- next: Ct,
925
- error: bn,
926
- complete: Ct
927
- }, yn = function() {
940
+ next: Lt,
941
+ error: _n,
942
+ complete: Lt
943
+ }, En = function() {
928
944
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
929
945
  }();
930
- function vn(e) {
946
+ function wn(e) {
931
947
  return e;
932
948
  }
933
- function _n(e) {
934
- return e.length === 0 ? vn : e.length === 1 ? e[0] : function(r) {
949
+ function Sn(e) {
950
+ return e.length === 0 ? wn : e.length === 1 ? e[0] : function(r) {
935
951
  return e.reduce(function(n, i) {
936
952
  return i(n);
937
953
  }, r);
938
954
  };
939
955
  }
940
- var Ot = function() {
956
+ var Nt = function() {
941
957
  function e(t) {
942
958
  t && (this._subscribe = t);
943
959
  }
@@ -945,7 +961,7 @@ var Ot = function() {
945
961
  var r = new e();
946
962
  return r.source = this, r.operator = t, r;
947
963
  }, e.prototype.subscribe = function(t, r, n) {
948
- var i = this, o = En(t) ? t : new at(t, r, n);
964
+ var i = this, o = Hn(t) ? t : new ut(t, r, n);
949
965
  return Ne(function() {
950
966
  var s = i, a = s.operator, u = s.source;
951
967
  o.add(a ? a.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
@@ -958,8 +974,8 @@ var Ot = function() {
958
974
  }
959
975
  }, e.prototype.forEach = function(t, r) {
960
976
  var n = this;
961
- return r = It(r), new r(function(i, o) {
962
- var s = new at({
977
+ return r = Mt(r), new r(function(i, o) {
978
+ var s = new ut({
963
979
  next: function(a) {
964
980
  try {
965
981
  t(a);
@@ -975,15 +991,15 @@ var Ot = function() {
975
991
  }, e.prototype._subscribe = function(t) {
976
992
  var r;
977
993
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
978
- }, e.prototype[yn] = function() {
994
+ }, e.prototype[En] = function() {
979
995
  return this;
980
996
  }, e.prototype.pipe = function() {
981
997
  for (var t = [], r = 0; r < arguments.length; r++)
982
998
  t[r] = arguments[r];
983
- return _n(t)(this);
999
+ return Sn(t)(this);
984
1000
  }, e.prototype.toPromise = function(t) {
985
1001
  var r = this;
986
- return t = It(t), new t(function(n, i) {
1002
+ return t = Mt(t), new t(function(n, i) {
987
1003
  var o;
988
1004
  r.subscribe(function(s) {
989
1005
  return o = s;
@@ -997,32 +1013,32 @@ var Ot = function() {
997
1013
  return new e(t);
998
1014
  }, e;
999
1015
  }();
1000
- function It(e) {
1016
+ function Mt(e) {
1001
1017
  var t;
1002
- return (t = e != null ? e : fn.Promise) !== null && t !== void 0 ? t : Promise;
1018
+ return (t = e != null ? e : pr.Promise) !== null && t !== void 0 ? t : Promise;
1003
1019
  }
1004
- function xn(e) {
1005
- return e && Z(e.next) && Z(e.error) && Z(e.complete);
1020
+ function Tn(e) {
1021
+ return e && J(e.next) && J(e.error) && J(e.complete);
1006
1022
  }
1007
- function En(e) {
1008
- return e && e instanceof cr || xn(e) && hr(e);
1023
+ function Hn(e) {
1024
+ return e && e instanceof mr || Tn(e) && dr(e);
1009
1025
  }
1010
- var wn = lr(function(e) {
1026
+ var An = cr(function(e) {
1011
1027
  return function() {
1012
1028
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
1013
1029
  };
1014
- }), fr = function(e) {
1015
- J(t, e);
1030
+ }), br = function(e) {
1031
+ Q(t, e);
1016
1032
  function t() {
1017
1033
  var r = e.call(this) || this;
1018
1034
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
1019
1035
  }
1020
1036
  return t.prototype.lift = function(r) {
1021
- var n = new Lt(this, this);
1037
+ var n = new Rt(this, this);
1022
1038
  return n.operator = r, n;
1023
1039
  }, t.prototype._throwIfClosed = function() {
1024
1040
  if (this.closed)
1025
- throw new wn();
1041
+ throw new An();
1026
1042
  }, t.prototype.next = function(r) {
1027
1043
  var n = this;
1028
1044
  Ne(function() {
@@ -1030,7 +1046,7 @@ var wn = lr(function(e) {
1030
1046
  if (n._throwIfClosed(), !n.isStopped) {
1031
1047
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
1032
1048
  try {
1033
- for (var s = it(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
1049
+ for (var s = st(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
1034
1050
  var u = a.value;
1035
1051
  u.next(r);
1036
1052
  }
@@ -1079,20 +1095,20 @@ var wn = lr(function(e) {
1079
1095
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1080
1096
  }, t.prototype._innerSubscribe = function(r) {
1081
1097
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
1082
- return o || s ? ur : (this.currentObservers = null, a.push(r), new Ge(function() {
1083
- n.currentObservers = null, st(a, r);
1098
+ return o || s ? fr : (this.currentObservers = null, a.push(r), new Ge(function() {
1099
+ n.currentObservers = null, lt(a, r);
1084
1100
  }));
1085
1101
  }, t.prototype._checkFinalizedStatuses = function(r) {
1086
1102
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
1087
1103
  i ? r.error(o) : s && r.complete();
1088
1104
  }, t.prototype.asObservable = function() {
1089
- var r = new Ot();
1105
+ var r = new Nt();
1090
1106
  return r.source = this, r;
1091
1107
  }, t.create = function(r, n) {
1092
- return new Lt(r, n);
1108
+ return new Rt(r, n);
1093
1109
  }, t;
1094
- }(Ot), Lt = function(e) {
1095
- J(t, e);
1110
+ }(Nt), Rt = function(e) {
1111
+ Q(t, e);
1096
1112
  function t(r, n) {
1097
1113
  var i = e.call(this) || this;
1098
1114
  return i.destination = r, i.source = n, i;
@@ -1108,17 +1124,17 @@ var wn = lr(function(e) {
1108
1124
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1109
1125
  }, t.prototype._subscribe = function(r) {
1110
1126
  var n, i;
1111
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : ur;
1127
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : fr;
1112
1128
  }, t;
1113
- }(fr), dr = {
1129
+ }(br), gr = {
1114
1130
  now: function() {
1115
- return (dr.delegate || Date).now();
1131
+ return (gr.delegate || Date).now();
1116
1132
  },
1117
1133
  delegate: void 0
1118
- }, Sn = function(e) {
1119
- J(t, e);
1134
+ }, Pn = function(e) {
1135
+ Q(t, e);
1120
1136
  function t(r, n, i) {
1121
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = dr);
1137
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = gr);
1122
1138
  var o = e.call(this) || this;
1123
1139
  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;
1124
1140
  }
@@ -1138,24 +1154,24 @@ var wn = lr(function(e) {
1138
1154
  l && o.splice(0, l + 1);
1139
1155
  }
1140
1156
  }, t;
1141
- }(fr);
1142
- const Nt = [], Mt = {}, Tn = (e, t = 0) => {
1143
- if (Nt.indexOf(e) == -1) {
1144
- const r = new Sn(t);
1145
- Mt[e] = r, Nt.push(e);
1157
+ }(br);
1158
+ const Dt = [], Ut = {}, Bn = (e, t = 0) => {
1159
+ if (Dt.indexOf(e) == -1) {
1160
+ const r = new Pn(t);
1161
+ Ut[e] = r, Dt.push(e);
1146
1162
  }
1147
- return Mt[e];
1163
+ return Ut[e];
1148
1164
  }, ce = [];
1149
- function Hn(e, t) {
1165
+ function Fn(e, t) {
1150
1166
  return {
1151
1167
  subscribe: ke(e, t).subscribe
1152
1168
  };
1153
1169
  }
1154
- function ke(e, t = k) {
1170
+ function ke(e, t = j) {
1155
1171
  let r;
1156
1172
  const n = /* @__PURE__ */ new Set();
1157
1173
  function i(a) {
1158
- if (tr(e, a) && (e = a, r)) {
1174
+ if (ir(e, a) && (e = a, r)) {
1159
1175
  const u = !ce.length;
1160
1176
  for (const l of n)
1161
1177
  l[1](), ce.push(l, e);
@@ -1169,9 +1185,9 @@ function ke(e, t = k) {
1169
1185
  function o(a) {
1170
1186
  i(a(e));
1171
1187
  }
1172
- function s(a, u = k) {
1188
+ function s(a, u = j) {
1173
1189
  const l = [a, u];
1174
- return n.add(l), n.size === 1 && (r = t(i, o) || k), a(e), () => {
1190
+ return n.add(l), n.size === 1 && (r = t(i, o) || j), a(e), () => {
1175
1191
  n.delete(l), n.size === 0 && r && (r(), r = null);
1176
1192
  };
1177
1193
  }
@@ -1182,96 +1198,96 @@ function ve(e, t, r) {
1182
1198
  if (!i.every(Boolean))
1183
1199
  throw new Error("derived() expects stores as input, got a falsy value");
1184
1200
  const o = t.length < 2;
1185
- return Hn(r, (s, a) => {
1201
+ return Fn(r, (s, a) => {
1186
1202
  let u = !1;
1187
1203
  const l = [];
1188
- let h = 0, d = k;
1189
- const c = () => {
1204
+ let h = 0, d = j;
1205
+ const f = () => {
1190
1206
  if (h)
1191
1207
  return;
1192
1208
  d();
1193
- const v = t(n ? l[0] : l, s, a);
1194
- o ? s(v) : d = bt(v) ? v : k;
1195
- }, m = i.map(
1196
- (v, y) => rr(
1197
- v,
1198
- (H) => {
1199
- l[y] = H, h &= ~(1 << y), u && c();
1209
+ const y = t(n ? l[0] : l, s, a);
1210
+ o ? s(y) : d = yt(y) ? y : j;
1211
+ }, p = i.map(
1212
+ (y, g) => or(
1213
+ y,
1214
+ (S) => {
1215
+ l[g] = S, h &= ~(1 << g), u && f();
1200
1216
  },
1201
1217
  () => {
1202
- h |= 1 << y;
1218
+ h |= 1 << g;
1203
1219
  }
1204
1220
  )
1205
1221
  );
1206
- return u = !0, c(), function() {
1207
- Y(m), d(), u = !1;
1222
+ return u = !0, f(), function() {
1223
+ K(p), d(), u = !1;
1208
1224
  };
1209
1225
  });
1210
1226
  }
1211
- function An(e) {
1212
- return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1227
+ function Cn(e) {
1228
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1213
1229
  }
1214
- var Pn = function(t) {
1215
- return Bn(t) && !Fn(t);
1230
+ var In = function(t) {
1231
+ return On(t) && !Ln(t);
1216
1232
  };
1217
- function Bn(e) {
1233
+ function On(e) {
1218
1234
  return !!e && typeof e == "object";
1219
1235
  }
1220
- function Fn(e) {
1236
+ function Ln(e) {
1221
1237
  var t = Object.prototype.toString.call(e);
1222
- return t === "[object RegExp]" || t === "[object Date]" || In(e);
1238
+ return t === "[object RegExp]" || t === "[object Date]" || Rn(e);
1223
1239
  }
1224
- var Cn = typeof Symbol == "function" && Symbol.for, On = Cn ? Symbol.for("react.element") : 60103;
1225
- function In(e) {
1226
- return e.$$typeof === On;
1240
+ var Nn = typeof Symbol == "function" && Symbol.for, Mn = Nn ? Symbol.for("react.element") : 60103;
1241
+ function Rn(e) {
1242
+ return e.$$typeof === Mn;
1227
1243
  }
1228
- function Ln(e) {
1244
+ function Dn(e) {
1229
1245
  return Array.isArray(e) ? [] : {};
1230
1246
  }
1231
- function He(e, t) {
1232
- return t.clone !== !1 && t.isMergeableObject(e) ? me(Ln(e), e, t) : e;
1247
+ function Ae(e, t) {
1248
+ return t.clone !== !1 && t.isMergeableObject(e) ? me(Dn(e), e, t) : e;
1233
1249
  }
1234
- function Nn(e, t, r) {
1250
+ function Un(e, t, r) {
1235
1251
  return e.concat(t).map(function(n) {
1236
- return He(n, r);
1252
+ return Ae(n, r);
1237
1253
  });
1238
1254
  }
1239
- function Mn(e, t) {
1255
+ function $n(e, t) {
1240
1256
  if (!t.customMerge)
1241
1257
  return me;
1242
1258
  var r = t.customMerge(e);
1243
1259
  return typeof r == "function" ? r : me;
1244
1260
  }
1245
- function Rn(e) {
1261
+ function Gn(e) {
1246
1262
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1247
1263
  return Object.propertyIsEnumerable.call(e, t);
1248
1264
  }) : [];
1249
1265
  }
1250
- function Rt(e) {
1251
- return Object.keys(e).concat(Rn(e));
1266
+ function $t(e) {
1267
+ return Object.keys(e).concat(Gn(e));
1252
1268
  }
1253
- function pr(e, t) {
1269
+ function yr(e, t) {
1254
1270
  try {
1255
1271
  return t in e;
1256
1272
  } catch (r) {
1257
1273
  return !1;
1258
1274
  }
1259
1275
  }
1260
- function Un(e, t) {
1261
- return pr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1276
+ function kn(e, t) {
1277
+ return yr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1262
1278
  }
1263
- function Dn(e, t, r) {
1279
+ function jn(e, t, r) {
1264
1280
  var n = {};
1265
- return r.isMergeableObject(e) && Rt(e).forEach(function(i) {
1266
- n[i] = He(e[i], r);
1267
- }), Rt(t).forEach(function(i) {
1268
- Un(e, i) || (pr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Mn(i, r)(e[i], t[i], r) : n[i] = He(t[i], r));
1281
+ return r.isMergeableObject(e) && $t(e).forEach(function(i) {
1282
+ n[i] = Ae(e[i], r);
1283
+ }), $t(t).forEach(function(i) {
1284
+ kn(e, i) || (yr(e, i) && r.isMergeableObject(t[i]) ? n[i] = $n(i, r)(e[i], t[i], r) : n[i] = Ae(t[i], r));
1269
1285
  }), n;
1270
1286
  }
1271
1287
  function me(e, t, r) {
1272
- r = r || {}, r.arrayMerge = r.arrayMerge || Nn, r.isMergeableObject = r.isMergeableObject || Pn, r.cloneUnlessOtherwiseSpecified = He;
1288
+ r = r || {}, r.arrayMerge = r.arrayMerge || Un, r.isMergeableObject = r.isMergeableObject || In, r.cloneUnlessOtherwiseSpecified = Ae;
1273
1289
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1274
- return o ? n ? r.arrayMerge(e, t, r) : Dn(e, t, r) : He(t, r);
1290
+ return o ? n ? r.arrayMerge(e, t, r) : jn(e, t, r) : Ae(t, r);
1275
1291
  }
1276
1292
  me.all = function(t, r) {
1277
1293
  if (!Array.isArray(t))
@@ -1280,64 +1296,62 @@ me.all = function(t, r) {
1280
1296
  return me(n, i, r);
1281
1297
  }, {});
1282
1298
  };
1283
- var $n = me, Gn = $n;
1284
- const kn = /* @__PURE__ */ An(Gn);
1285
- function Je(e, t) {
1286
- var r = t && t.cache ? t.cache : Jn, n = t && t.serializer ? t.serializer : zn, i = t && t.strategy ? t.strategy : Vn;
1299
+ var Vn = me, Xn = Vn;
1300
+ const Wn = /* @__PURE__ */ Cn(Xn);
1301
+ function qe(e, t) {
1302
+ var r = t && t.cache ? t.cache : Yn, n = t && t.serializer ? t.serializer : qn, i = t && t.strategy ? t.strategy : Zn;
1287
1303
  return i(e, {
1288
1304
  cache: r,
1289
1305
  serializer: n
1290
1306
  });
1291
1307
  }
1292
- function jn(e) {
1308
+ function zn(e) {
1293
1309
  return e == null || typeof e == "number" || typeof e == "boolean";
1294
1310
  }
1295
- function mr(e, t, r, n) {
1296
- var i = jn(n) ? n : r(n), o = t.get(i);
1311
+ function vr(e, t, r, n) {
1312
+ var i = zn(n) ? n : r(n), o = t.get(i);
1297
1313
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1298
1314
  }
1299
- function br(e, t, r) {
1315
+ function _r(e, t, r) {
1300
1316
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1301
1317
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1302
1318
  }
1303
- function gt(e, t, r, n, i) {
1319
+ function vt(e, t, r, n, i) {
1304
1320
  return r.bind(t, e, n, i);
1305
1321
  }
1306
- function Vn(e, t) {
1307
- var r = e.length === 1 ? mr : br;
1308
- return gt(e, this, r, t.cache.create(), t.serializer);
1322
+ function Zn(e, t) {
1323
+ var r = e.length === 1 ? vr : _r;
1324
+ return vt(e, this, r, t.cache.create(), t.serializer);
1309
1325
  }
1310
- function Xn(e, t) {
1311
- return gt(e, this, br, t.cache.create(), t.serializer);
1326
+ function Jn(e, t) {
1327
+ return vt(e, this, _r, t.cache.create(), t.serializer);
1312
1328
  }
1313
- function Wn(e, t) {
1314
- return gt(e, this, mr, t.cache.create(), t.serializer);
1329
+ function Qn(e, t) {
1330
+ return vt(e, this, vr, t.cache.create(), t.serializer);
1315
1331
  }
1316
- var zn = function() {
1332
+ var qn = function() {
1317
1333
  return JSON.stringify(arguments);
1318
- }, Zn = (
1319
- /** @class */
1320
- function() {
1321
- function e() {
1322
- this.cache = /* @__PURE__ */ Object.create(null);
1323
- }
1324
- return e.prototype.get = function(t) {
1325
- return this.cache[t];
1326
- }, e.prototype.set = function(t, r) {
1327
- this.cache[t] = r;
1328
- }, e;
1329
- }()
1330
- ), Jn = {
1334
+ };
1335
+ function _t() {
1336
+ this.cache = /* @__PURE__ */ Object.create(null);
1337
+ }
1338
+ _t.prototype.get = function(e) {
1339
+ return this.cache[e];
1340
+ };
1341
+ _t.prototype.set = function(e, t) {
1342
+ this.cache[e] = t;
1343
+ };
1344
+ var Yn = {
1331
1345
  create: function() {
1332
- return new Zn();
1346
+ return new _t();
1333
1347
  }
1334
- }, Qe = {
1335
- variadic: Xn,
1336
- monadic: Wn
1337
- }, E;
1348
+ }, Ye = {
1349
+ variadic: Jn,
1350
+ monadic: Qn
1351
+ }, _;
1338
1352
  (function(e) {
1339
1353
  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";
1340
- })(E || (E = {}));
1354
+ })(_ || (_ = {}));
1341
1355
  var C;
1342
1356
  (function(e) {
1343
1357
  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";
@@ -1346,43 +1360,43 @@ var be;
1346
1360
  (function(e) {
1347
1361
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1348
1362
  })(be || (be = {}));
1349
- function Ut(e) {
1363
+ function Gt(e) {
1350
1364
  return e.type === C.literal;
1351
1365
  }
1352
- function Qn(e) {
1366
+ function Kn(e) {
1353
1367
  return e.type === C.argument;
1354
1368
  }
1355
- function gr(e) {
1369
+ function xr(e) {
1356
1370
  return e.type === C.number;
1357
1371
  }
1358
- function yr(e) {
1372
+ function Er(e) {
1359
1373
  return e.type === C.date;
1360
1374
  }
1361
- function vr(e) {
1375
+ function wr(e) {
1362
1376
  return e.type === C.time;
1363
1377
  }
1364
- function _r(e) {
1378
+ function Sr(e) {
1365
1379
  return e.type === C.select;
1366
1380
  }
1367
- function xr(e) {
1381
+ function Tr(e) {
1368
1382
  return e.type === C.plural;
1369
1383
  }
1370
- function qn(e) {
1384
+ function ei(e) {
1371
1385
  return e.type === C.pound;
1372
1386
  }
1373
- function Er(e) {
1387
+ function Hr(e) {
1374
1388
  return e.type === C.tag;
1375
1389
  }
1376
- function wr(e) {
1390
+ function Ar(e) {
1377
1391
  return !!(e && typeof e == "object" && e.type === be.number);
1378
1392
  }
1379
- function lt(e) {
1393
+ function ht(e) {
1380
1394
  return !!(e && typeof e == "object" && e.type === be.dateTime);
1381
1395
  }
1382
- var Sr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Yn = /(?:[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;
1383
- function Kn(e) {
1396
+ var Pr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ti = /(?:[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;
1397
+ function ri(e) {
1384
1398
  var t = {};
1385
- return e.replace(Yn, function(r) {
1399
+ return e.replace(ti, function(r) {
1386
1400
  var n = r.length;
1387
1401
  switch (r[0]) {
1388
1402
  case "G":
@@ -1471,12 +1485,12 @@ function Kn(e) {
1471
1485
  return "";
1472
1486
  }), t;
1473
1487
  }
1474
- var ei = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1475
- function ti(e) {
1488
+ var ni = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1489
+ function ii(e) {
1476
1490
  if (e.length === 0)
1477
1491
  throw new Error("Number skeleton cannot be empty");
1478
- for (var t = e.split(ei).filter(function(c) {
1479
- return c.length > 0;
1492
+ for (var t = e.split(ni).filter(function(f) {
1493
+ return f.length > 0;
1480
1494
  }), r = [], n = 0, i = t; n < i.length; n++) {
1481
1495
  var o = i[n], s = o.split("/");
1482
1496
  if (s.length === 0)
@@ -1490,17 +1504,17 @@ function ti(e) {
1490
1504
  }
1491
1505
  return r;
1492
1506
  }
1493
- function ri(e) {
1507
+ function oi(e) {
1494
1508
  return e.replace(/^(.*?)-/, "");
1495
1509
  }
1496
- var Dt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Tr = /^(@+)?(\+|#+)?[rs]?$/g, ni = /(\*)(0+)|(#+)(0+)|(0+)/g, Hr = /^(0+)$/;
1497
- function $t(e) {
1510
+ var kt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Br = /^(@+)?(\+|#+)?[rs]?$/g, si = /(\*)(0+)|(#+)(0+)|(0+)/g, Fr = /^(0+)$/;
1511
+ function jt(e) {
1498
1512
  var t = {};
1499
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Tr, function(r, n, i) {
1513
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Br, function(r, n, i) {
1500
1514
  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)), "";
1501
1515
  }), t;
1502
1516
  }
1503
- function Ar(e) {
1517
+ function Cr(e) {
1504
1518
  switch (e) {
1505
1519
  case "sign-auto":
1506
1520
  return {
@@ -1540,7 +1554,7 @@ function Ar(e) {
1540
1554
  };
1541
1555
  }
1542
1556
  }
1543
- function ii(e) {
1557
+ function ai(e) {
1544
1558
  var t;
1545
1559
  if (e[0] === "E" && e[1] === "E" ? (t = {
1546
1560
  notation: "engineering"
@@ -1548,17 +1562,17 @@ function ii(e) {
1548
1562
  notation: "scientific"
1549
1563
  }, e = e.slice(1)), t) {
1550
1564
  var r = e.slice(0, 2);
1551
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Hr.test(e))
1565
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Fr.test(e))
1552
1566
  throw new Error("Malformed concise eng/scientific notation");
1553
1567
  t.minimumIntegerDigits = e.length;
1554
1568
  }
1555
1569
  return t;
1556
1570
  }
1557
- function Gt(e) {
1558
- var t = {}, r = Ar(e);
1571
+ function Vt(e) {
1572
+ var t = {}, r = Cr(e);
1559
1573
  return r || t;
1560
1574
  }
1561
- function oi(e) {
1575
+ function li(e) {
1562
1576
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1563
1577
  var i = n[r];
1564
1578
  switch (i.stem) {
@@ -1582,7 +1596,7 @@ function oi(e) {
1582
1596
  continue;
1583
1597
  case "measure-unit":
1584
1598
  case "unit":
1585
- t.style = "unit", t.unit = ri(i.options[0]);
1599
+ t.style = "unit", t.unit = oi(i.options[0]);
1586
1600
  continue;
1587
1601
  case "compact-short":
1588
1602
  case "K":
@@ -1593,13 +1607,13 @@ function oi(e) {
1593
1607
  t.notation = "compact", t.compactDisplay = "long";
1594
1608
  continue;
1595
1609
  case "scientific":
1596
- t = T(T(T({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1597
- return T(T({}, u), Gt(l));
1610
+ t = w(w(w({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1611
+ return w(w({}, u), Vt(l));
1598
1612
  }, {}));
1599
1613
  continue;
1600
1614
  case "engineering":
1601
- t = T(T(T({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1602
- return T(T({}, u), Gt(l));
1615
+ t = w(w(w({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1616
+ return w(w({}, u), Vt(l));
1603
1617
  }, {}));
1604
1618
  continue;
1605
1619
  case "notation-simple":
@@ -1644,45 +1658,45 @@ function oi(e) {
1644
1658
  case "integer-width":
1645
1659
  if (i.options.length > 1)
1646
1660
  throw new RangeError("integer-width stems only accept a single optional option");
1647
- i.options[0].replace(ni, function(u, l, h, d, c, m) {
1661
+ i.options[0].replace(si, function(u, l, h, d, f, p) {
1648
1662
  if (l)
1649
1663
  t.minimumIntegerDigits = h.length;
1650
1664
  else {
1651
- if (d && c)
1665
+ if (d && f)
1652
1666
  throw new Error("We currently do not support maximum integer digits");
1653
- if (m)
1667
+ if (p)
1654
1668
  throw new Error("We currently do not support exact integer digits");
1655
1669
  }
1656
1670
  return "";
1657
1671
  });
1658
1672
  continue;
1659
1673
  }
1660
- if (Hr.test(i.stem)) {
1674
+ if (Fr.test(i.stem)) {
1661
1675
  t.minimumIntegerDigits = i.stem.length;
1662
1676
  continue;
1663
1677
  }
1664
- if (Dt.test(i.stem)) {
1678
+ if (kt.test(i.stem)) {
1665
1679
  if (i.options.length > 1)
1666
1680
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1667
- i.stem.replace(Dt, function(u, l, h, d, c, m) {
1668
- return h === "*" ? 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), "";
1681
+ i.stem.replace(kt, function(u, l, h, d, f, p) {
1682
+ return h === "*" ? t.minimumFractionDigits = l.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1669
1683
  });
1670
1684
  var o = i.options[0];
1671
- o === "w" ? t = T(T({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = T(T({}, t), $t(o)));
1685
+ o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t), jt(o)));
1672
1686
  continue;
1673
1687
  }
1674
- if (Tr.test(i.stem)) {
1675
- t = T(T({}, t), $t(i.stem));
1688
+ if (Br.test(i.stem)) {
1689
+ t = w(w({}, t), jt(i.stem));
1676
1690
  continue;
1677
1691
  }
1678
- var s = Ar(i.stem);
1679
- s && (t = T(T({}, t), s));
1680
- var a = ii(i.stem);
1681
- a && (t = T(T({}, t), a));
1692
+ var s = Cr(i.stem);
1693
+ s && (t = w(w({}, t), s));
1694
+ var a = ai(i.stem);
1695
+ a && (t = w(w({}, t), a));
1682
1696
  }
1683
1697
  return t;
1684
1698
  }
1685
- var Ie = {
1699
+ var Oe = {
1686
1700
  "001": [
1687
1701
  "H",
1688
1702
  "h"
@@ -3097,13 +3111,13 @@ var Ie = {
3097
3111
  "h"
3098
3112
  ]
3099
3113
  };
3100
- function si(e, t) {
3114
+ function ui(e, t) {
3101
3115
  for (var r = "", n = 0; n < e.length; n++) {
3102
3116
  var i = e.charAt(n);
3103
3117
  if (i === "j") {
3104
3118
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3105
3119
  o++, n++;
3106
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = ai(t);
3120
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = hi(t);
3107
3121
  for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
3108
3122
  r += u;
3109
3123
  for (; s-- > 0; )
@@ -3113,7 +3127,7 @@ function si(e, t) {
3113
3127
  }
3114
3128
  return r;
3115
3129
  }
3116
- function ai(e) {
3130
+ function hi(e) {
3117
3131
  var t = e.hourCycle;
3118
3132
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3119
3133
  e.hourCycles && // @ts-ignore
@@ -3132,23 +3146,23 @@ function ai(e) {
3132
3146
  }
3133
3147
  var r = e.language, n;
3134
3148
  r !== "root" && (n = e.maximize().region);
3135
- var i = Ie[n || ""] || Ie[r || ""] || Ie["".concat(r, "-001")] || Ie["001"];
3149
+ var i = Oe[n || ""] || Oe[r || ""] || Oe["".concat(r, "-001")] || Oe["001"];
3136
3150
  return i[0];
3137
3151
  }
3138
- var qe, li = new RegExp("^".concat(Sr.source, "*")), ui = new RegExp("".concat(Sr.source, "*$"));
3139
- function w(e, t) {
3152
+ var Ke, ci = new RegExp("^".concat(Pr.source, "*")), fi = new RegExp("".concat(Pr.source, "*$"));
3153
+ function x(e, t) {
3140
3154
  return { start: e, end: t };
3141
3155
  }
3142
- var hi = !!String.prototype.startsWith && "_a".startsWith("a", 1), ci = !!String.fromCodePoint, fi = !!Object.fromEntries, di = !!String.prototype.codePointAt, pi = !!String.prototype.trimStart, mi = !!String.prototype.trimEnd, bi = !!Number.isSafeInteger, gi = bi ? Number.isSafeInteger : function(e) {
3156
+ var di = !!String.prototype.startsWith && "_a".startsWith("a", 1), pi = !!String.fromCodePoint, mi = !!Object.fromEntries, bi = !!String.prototype.codePointAt, gi = !!String.prototype.trimStart, yi = !!String.prototype.trimEnd, vi = !!Number.isSafeInteger, _i = vi ? Number.isSafeInteger : function(e) {
3143
3157
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3144
- }, ut = !0;
3158
+ }, ct = !0;
3145
3159
  try {
3146
- var yi = Br("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3147
- ut = ((qe = yi.exec("a")) === null || qe === void 0 ? void 0 : qe[0]) === "a";
3160
+ var xi = Or("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3161
+ ct = ((Ke = xi.exec("a")) === null || Ke === void 0 ? void 0 : Ke[0]) === "a";
3148
3162
  } catch (e) {
3149
- ut = !1;
3163
+ ct = !1;
3150
3164
  }
3151
- var kt = hi ? (
3165
+ var Xt = di ? (
3152
3166
  // Native
3153
3167
  function(t, r, n) {
3154
3168
  return t.startsWith(r, n);
@@ -3158,7 +3172,7 @@ var kt = hi ? (
3158
3172
  function(t, r, n) {
3159
3173
  return t.slice(n, n + r.length) === r;
3160
3174
  }
3161
- ), ht = ci ? String.fromCodePoint : (
3175
+ ), ft = pi ? String.fromCodePoint : (
3162
3176
  // IE11
3163
3177
  function() {
3164
3178
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3170,9 +3184,9 @@ var kt = hi ? (
3170
3184
  }
3171
3185
  return n;
3172
3186
  }
3173
- ), jt = (
3187
+ ), Wt = (
3174
3188
  // native
3175
- fi ? Object.fromEntries : (
3189
+ mi ? Object.fromEntries : (
3176
3190
  // Ponyfill
3177
3191
  function(t) {
3178
3192
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3182,7 +3196,7 @@ var kt = hi ? (
3182
3196
  return r;
3183
3197
  }
3184
3198
  )
3185
- ), Pr = di ? (
3199
+ ), Ir = bi ? (
3186
3200
  // Native
3187
3201
  function(t, r) {
3188
3202
  return t.codePointAt(r);
@@ -3196,7 +3210,7 @@ var kt = hi ? (
3196
3210
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3197
3211
  }
3198
3212
  }
3199
- ), vi = pi ? (
3213
+ ), Ei = gi ? (
3200
3214
  // Native
3201
3215
  function(t) {
3202
3216
  return t.trimStart();
@@ -3204,9 +3218,9 @@ var kt = hi ? (
3204
3218
  ) : (
3205
3219
  // Ponyfill
3206
3220
  function(t) {
3207
- return t.replace(li, "");
3221
+ return t.replace(ci, "");
3208
3222
  }
3209
- ), _i = mi ? (
3223
+ ), wi = yi ? (
3210
3224
  // Native
3211
3225
  function(t) {
3212
3226
  return t.trimEnd();
@@ -3214,32 +3228,32 @@ var kt = hi ? (
3214
3228
  ) : (
3215
3229
  // Ponyfill
3216
3230
  function(t) {
3217
- return t.replace(ui, "");
3231
+ return t.replace(fi, "");
3218
3232
  }
3219
3233
  );
3220
- function Br(e, t) {
3234
+ function Or(e, t) {
3221
3235
  return new RegExp(e, t);
3222
3236
  }
3223
- var ct;
3224
- if (ut) {
3225
- var Vt = Br("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3226
- ct = function(t, r) {
3237
+ var dt;
3238
+ if (ct) {
3239
+ var zt = Or("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3240
+ dt = function(t, r) {
3227
3241
  var n;
3228
- Vt.lastIndex = r;
3229
- var i = Vt.exec(t);
3242
+ zt.lastIndex = r;
3243
+ var i = zt.exec(t);
3230
3244
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3231
3245
  };
3232
3246
  } else
3233
- ct = function(t, r) {
3247
+ dt = function(t, r) {
3234
3248
  for (var n = []; ; ) {
3235
- var i = Pr(t, r);
3236
- if (i === void 0 || Fr(i) || Si(i))
3249
+ var i = Ir(t, r);
3250
+ if (i === void 0 || Lr(i) || Ai(i))
3237
3251
  break;
3238
3252
  n.push(i), r += i >= 65536 ? 2 : 1;
3239
3253
  }
3240
- return ht.apply(void 0, n);
3254
+ return ft.apply(void 0, n);
3241
3255
  };
3242
- var xi = (
3256
+ var Si = (
3243
3257
  /** @class */
3244
3258
  function() {
3245
3259
  function e(t, r) {
@@ -3264,13 +3278,13 @@ var xi = (
3264
3278
  var a = this.clonePosition();
3265
3279
  this.bump(), i.push({
3266
3280
  type: C.pound,
3267
- location: w(a, this.clonePosition())
3281
+ location: x(a, this.clonePosition())
3268
3282
  });
3269
3283
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3270
3284
  if (n)
3271
3285
  break;
3272
- return this.error(E.UNMATCHED_CLOSING_TAG, w(this.clonePosition(), this.clonePosition()));
3273
- } else if (o === 60 && !this.ignoreTag && ft(this.peek() || 0)) {
3286
+ return this.error(_.UNMATCHED_CLOSING_TAG, x(this.clonePosition(), this.clonePosition()));
3287
+ } else if (o === 60 && !this.ignoreTag && pt(this.peek() || 0)) {
3274
3288
  var s = this.parseTag(t, r);
3275
3289
  if (s.err)
3276
3290
  return s;
@@ -3293,7 +3307,7 @@ var xi = (
3293
3307
  val: {
3294
3308
  type: C.literal,
3295
3309
  value: "<".concat(i, "/>"),
3296
- location: w(n, this.clonePosition())
3310
+ location: x(n, this.clonePosition())
3297
3311
  },
3298
3312
  err: null
3299
3313
  };
@@ -3303,25 +3317,25 @@ var xi = (
3303
3317
  return o;
3304
3318
  var s = o.val, a = this.clonePosition();
3305
3319
  if (this.bumpIf("</")) {
3306
- if (this.isEOF() || !ft(this.char()))
3307
- return this.error(E.INVALID_TAG, w(a, this.clonePosition()));
3320
+ if (this.isEOF() || !pt(this.char()))
3321
+ return this.error(_.INVALID_TAG, x(a, this.clonePosition()));
3308
3322
  var u = this.clonePosition(), l = this.parseTagName();
3309
- return i !== l ? this.error(E.UNMATCHED_CLOSING_TAG, w(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3323
+ return i !== l ? this.error(_.UNMATCHED_CLOSING_TAG, x(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3310
3324
  val: {
3311
3325
  type: C.tag,
3312
3326
  value: i,
3313
3327
  children: s,
3314
- location: w(n, this.clonePosition())
3328
+ location: x(n, this.clonePosition())
3315
3329
  },
3316
3330
  err: null
3317
- } : this.error(E.INVALID_TAG, w(a, this.clonePosition())));
3331
+ } : this.error(_.INVALID_TAG, x(a, this.clonePosition())));
3318
3332
  } else
3319
- return this.error(E.UNCLOSED_TAG, w(n, this.clonePosition()));
3333
+ return this.error(_.UNCLOSED_TAG, x(n, this.clonePosition()));
3320
3334
  } else
3321
- return this.error(E.INVALID_TAG, w(n, this.clonePosition()));
3335
+ return this.error(_.INVALID_TAG, x(n, this.clonePosition()));
3322
3336
  }, e.prototype.parseTagName = function() {
3323
3337
  var t = this.offset();
3324
- for (this.bump(); !this.isEOF() && wi(this.char()); )
3338
+ for (this.bump(); !this.isEOF() && Hi(this.char()); )
3325
3339
  this.bump();
3326
3340
  return this.message.slice(t, this.offset());
3327
3341
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3343,14 +3357,14 @@ var xi = (
3343
3357
  }
3344
3358
  break;
3345
3359
  }
3346
- var u = w(n, this.clonePosition());
3360
+ var u = x(n, this.clonePosition());
3347
3361
  return {
3348
3362
  val: { type: C.literal, value: i, location: u },
3349
3363
  err: null
3350
3364
  };
3351
3365
  }, e.prototype.tryParseLeftAngleBracket = function() {
3352
3366
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3353
- !Ei(this.peek() || 0)) ? (this.bump(), "<") : null;
3367
+ !Ti(this.peek() || 0)) ? (this.bump(), "<") : null;
3354
3368
  }, e.prototype.tryParseQuote = function(t) {
3355
3369
  if (this.isEOF() || this.char() !== 39)
3356
3370
  return null;
@@ -3384,23 +3398,23 @@ var xi = (
3384
3398
  r.push(n);
3385
3399
  this.bump();
3386
3400
  }
3387
- return ht.apply(void 0, r);
3401
+ return ft.apply(void 0, r);
3388
3402
  }, e.prototype.tryParseUnquoted = function(t, r) {
3389
3403
  if (this.isEOF())
3390
3404
  return null;
3391
3405
  var n = this.char();
3392
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ht(n));
3406
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ft(n));
3393
3407
  }, e.prototype.parseArgument = function(t, r) {
3394
3408
  var n = this.clonePosition();
3395
3409
  if (this.bump(), this.bumpSpace(), this.isEOF())
3396
- return this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE, w(n, this.clonePosition()));
3410
+ return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, x(n, this.clonePosition()));
3397
3411
  if (this.char() === 125)
3398
- return this.bump(), this.error(E.EMPTY_ARGUMENT, w(n, this.clonePosition()));
3412
+ return this.bump(), this.error(_.EMPTY_ARGUMENT, x(n, this.clonePosition()));
3399
3413
  var i = this.parseIdentifierIfPossible().value;
3400
3414
  if (!i)
3401
- return this.error(E.MALFORMED_ARGUMENT, w(n, this.clonePosition()));
3415
+ return this.error(_.MALFORMED_ARGUMENT, x(n, this.clonePosition()));
3402
3416
  if (this.bumpSpace(), this.isEOF())
3403
- return this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE, w(n, this.clonePosition()));
3417
+ return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, x(n, this.clonePosition()));
3404
3418
  switch (this.char()) {
3405
3419
  case 125:
3406
3420
  return this.bump(), {
@@ -3408,25 +3422,25 @@ var xi = (
3408
3422
  type: C.argument,
3409
3423
  // value does not include the opening and closing braces.
3410
3424
  value: i,
3411
- location: w(n, this.clonePosition())
3425
+ location: x(n, this.clonePosition())
3412
3426
  },
3413
3427
  err: null
3414
3428
  };
3415
3429
  case 44:
3416
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE, w(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3430
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, x(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3417
3431
  default:
3418
- return this.error(E.MALFORMED_ARGUMENT, w(n, this.clonePosition()));
3432
+ return this.error(_.MALFORMED_ARGUMENT, x(n, this.clonePosition()));
3419
3433
  }
3420
3434
  }, e.prototype.parseIdentifierIfPossible = function() {
3421
- var t = this.clonePosition(), r = this.offset(), n = ct(this.message, r), i = r + n.length;
3435
+ var t = this.clonePosition(), r = this.offset(), n = dt(this.message, r), i = r + n.length;
3422
3436
  this.bumpTo(i);
3423
- var o = this.clonePosition(), s = w(t, o);
3437
+ var o = this.clonePosition(), s = x(t, o);
3424
3438
  return { value: n, location: s };
3425
3439
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3426
3440
  var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, u = this.clonePosition();
3427
3441
  switch (a) {
3428
3442
  case "":
3429
- return this.error(E.EXPECT_ARGUMENT_TYPE, w(s, u));
3443
+ return this.error(_.EXPECT_ARGUMENT_TYPE, x(s, u));
3430
3444
  case "number":
3431
3445
  case "date":
3432
3446
  case "time": {
@@ -3437,37 +3451,37 @@ var xi = (
3437
3451
  var h = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
3438
3452
  if (d.err)
3439
3453
  return d;
3440
- var c = _i(d.val);
3441
- if (c.length === 0)
3442
- return this.error(E.EXPECT_ARGUMENT_STYLE, w(this.clonePosition(), this.clonePosition()));
3443
- var m = w(h, this.clonePosition());
3444
- l = { style: c, styleLocation: m };
3454
+ var f = wi(d.val);
3455
+ if (f.length === 0)
3456
+ return this.error(_.EXPECT_ARGUMENT_STYLE, x(this.clonePosition(), this.clonePosition()));
3457
+ var p = x(h, this.clonePosition());
3458
+ l = { style: f, styleLocation: p };
3445
3459
  }
3446
- var v = this.tryParseArgumentClose(i);
3447
- if (v.err)
3448
- return v;
3449
- var y = w(i, this.clonePosition());
3450
- if (l && kt(l == null ? void 0 : l.style, "::", 0)) {
3451
- var H = vi(l.style.slice(2));
3460
+ var y = this.tryParseArgumentClose(i);
3461
+ if (y.err)
3462
+ return y;
3463
+ var g = x(i, this.clonePosition());
3464
+ if (l && Xt(l == null ? void 0 : l.style, "::", 0)) {
3465
+ var S = Ei(l.style.slice(2));
3452
3466
  if (a === "number") {
3453
- var d = this.parseNumberSkeletonFromString(H, l.styleLocation);
3467
+ var d = this.parseNumberSkeletonFromString(S, l.styleLocation);
3454
3468
  return d.err ? d : {
3455
- val: { type: C.number, value: n, location: y, style: d.val },
3469
+ val: { type: C.number, value: n, location: g, style: d.val },
3456
3470
  err: null
3457
3471
  };
3458
3472
  } else {
3459
- if (H.length === 0)
3460
- return this.error(E.EXPECT_DATE_TIME_SKELETON, y);
3461
- var A = H;
3462
- this.locale && (A = si(H, this.locale));
3463
- var c = {
3473
+ if (S.length === 0)
3474
+ return this.error(_.EXPECT_DATE_TIME_SKELETON, g);
3475
+ var H = S;
3476
+ this.locale && (H = ui(S, this.locale));
3477
+ var f = {
3464
3478
  type: be.dateTime,
3465
- pattern: A,
3479
+ pattern: H,
3466
3480
  location: l.styleLocation,
3467
- parsedOptions: this.shouldParseSkeletons ? Kn(A) : {}
3468
- }, S = a === "date" ? C.date : C.time;
3481
+ parsedOptions: this.shouldParseSkeletons ? ri(H) : {}
3482
+ }, E = a === "date" ? C.date : C.time;
3469
3483
  return {
3470
- val: { type: S, value: n, location: y, style: c },
3484
+ val: { type: E, value: n, location: g, style: f },
3471
3485
  err: null
3472
3486
  };
3473
3487
  }
@@ -3476,7 +3490,7 @@ var xi = (
3476
3490
  val: {
3477
3491
  type: a === "number" ? C.number : a === "date" ? C.date : C.time,
3478
3492
  value: n,
3479
- location: y,
3493
+ location: g,
3480
3494
  style: (o = l == null ? void 0 : l.style) !== null && o !== void 0 ? o : null
3481
3495
  },
3482
3496
  err: null
@@ -3485,52 +3499,52 @@ var xi = (
3485
3499
  case "plural":
3486
3500
  case "selectordinal":
3487
3501
  case "select": {
3488
- var b = this.clonePosition();
3502
+ var m = this.clonePosition();
3489
3503
  if (this.bumpSpace(), !this.bumpIf(","))
3490
- return this.error(E.EXPECT_SELECT_ARGUMENT_OPTIONS, w(b, T({}, b)));
3504
+ return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, x(m, w({}, m)));
3491
3505
  this.bumpSpace();
3492
- var I = this.parseIdentifierIfPossible(), L = 0;
3493
- if (a !== "select" && I.value === "offset") {
3506
+ var O = this.parseIdentifierIfPossible(), L = 0;
3507
+ if (a !== "select" && O.value === "offset") {
3494
3508
  if (!this.bumpIf(":"))
3495
- return this.error(E.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, w(this.clonePosition(), this.clonePosition()));
3509
+ return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, x(this.clonePosition(), this.clonePosition()));
3496
3510
  this.bumpSpace();
3497
- var d = this.tryParseDecimalInteger(E.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, E.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3511
+ var d = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3498
3512
  if (d.err)
3499
3513
  return d;
3500
- this.bumpSpace(), I = this.parseIdentifierIfPossible(), L = d.val;
3514
+ this.bumpSpace(), O = this.parseIdentifierIfPossible(), L = d.val;
3501
3515
  }
3502
- var R = this.tryParsePluralOrSelectOptions(t, a, r, I);
3503
- if (R.err)
3504
- return R;
3505
- var v = this.tryParseArgumentClose(i);
3506
- if (v.err)
3507
- return v;
3508
- var P = w(i, this.clonePosition());
3516
+ var D = this.tryParsePluralOrSelectOptions(t, a, r, O);
3517
+ if (D.err)
3518
+ return D;
3519
+ var y = this.tryParseArgumentClose(i);
3520
+ if (y.err)
3521
+ return y;
3522
+ var A = x(i, this.clonePosition());
3509
3523
  return a === "select" ? {
3510
3524
  val: {
3511
3525
  type: C.select,
3512
3526
  value: n,
3513
- options: jt(R.val),
3514
- location: P
3527
+ options: Wt(D.val),
3528
+ location: A
3515
3529
  },
3516
3530
  err: null
3517
3531
  } : {
3518
3532
  val: {
3519
3533
  type: C.plural,
3520
3534
  value: n,
3521
- options: jt(R.val),
3535
+ options: Wt(D.val),
3522
3536
  offset: L,
3523
3537
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3524
- location: P
3538
+ location: A
3525
3539
  },
3526
3540
  err: null
3527
3541
  };
3528
3542
  }
3529
3543
  default:
3530
- return this.error(E.INVALID_ARGUMENT_TYPE, w(s, u));
3544
+ return this.error(_.INVALID_ARGUMENT_TYPE, x(s, u));
3531
3545
  }
3532
3546
  }, e.prototype.tryParseArgumentClose = function(t) {
3533
- return this.isEOF() || this.char() !== 125 ? this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE, w(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3547
+ return this.isEOF() || this.char() !== 125 ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, x(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3534
3548
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3535
3549
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3536
3550
  var n = this.char();
@@ -3539,7 +3553,7 @@ var xi = (
3539
3553
  this.bump();
3540
3554
  var i = this.clonePosition();
3541
3555
  if (!this.bumpUntil("'"))
3542
- return this.error(E.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, w(i, this.clonePosition()));
3556
+ return this.error(_.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, x(i, this.clonePosition()));
3543
3557
  this.bump();
3544
3558
  break;
3545
3559
  }
@@ -3569,16 +3583,16 @@ var xi = (
3569
3583
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3570
3584
  var n = [];
3571
3585
  try {
3572
- n = ti(t);
3586
+ n = ii(t);
3573
3587
  } catch (i) {
3574
- return this.error(E.INVALID_NUMBER_SKELETON, r);
3588
+ return this.error(_.INVALID_NUMBER_SKELETON, r);
3575
3589
  }
3576
3590
  return {
3577
3591
  val: {
3578
3592
  type: be.number,
3579
3593
  tokens: n,
3580
3594
  location: r,
3581
- parsedOptions: this.shouldParseSkeletons ? oi(n) : {}
3595
+ parsedOptions: this.shouldParseSkeletons ? li(n) : {}
3582
3596
  },
3583
3597
  err: null
3584
3598
  };
@@ -3587,34 +3601,34 @@ var xi = (
3587
3601
  if (l.length === 0) {
3588
3602
  var d = this.clonePosition();
3589
3603
  if (r !== "select" && this.bumpIf("=")) {
3590
- var c = this.tryParseDecimalInteger(E.EXPECT_PLURAL_ARGUMENT_SELECTOR, E.INVALID_PLURAL_ARGUMENT_SELECTOR);
3591
- if (c.err)
3592
- return c;
3593
- h = w(d, this.clonePosition()), l = this.message.slice(d.offset, this.offset());
3604
+ var f = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_SELECTOR, _.INVALID_PLURAL_ARGUMENT_SELECTOR);
3605
+ if (f.err)
3606
+ return f;
3607
+ h = x(d, this.clonePosition()), l = this.message.slice(d.offset, this.offset());
3594
3608
  } else
3595
3609
  break;
3596
3610
  }
3597
3611
  if (u.has(l))
3598
- return this.error(r === "select" ? E.DUPLICATE_SELECT_ARGUMENT_SELECTOR : E.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3612
+ return this.error(r === "select" ? _.DUPLICATE_SELECT_ARGUMENT_SELECTOR : _.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3599
3613
  l === "other" && (s = !0), this.bumpSpace();
3600
- var m = this.clonePosition();
3614
+ var p = this.clonePosition();
3601
3615
  if (!this.bumpIf("{"))
3602
- return this.error(r === "select" ? E.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : E.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, w(this.clonePosition(), this.clonePosition()));
3603
- var v = this.parseMessage(t + 1, r, n);
3604
- if (v.err)
3605
- return v;
3606
- var y = this.tryParseArgumentClose(m);
3616
+ return this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : _.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, x(this.clonePosition(), this.clonePosition()));
3617
+ var y = this.parseMessage(t + 1, r, n);
3607
3618
  if (y.err)
3608
3619
  return y;
3620
+ var g = this.tryParseArgumentClose(p);
3621
+ if (g.err)
3622
+ return g;
3609
3623
  a.push([
3610
3624
  l,
3611
3625
  {
3612
- value: v.val,
3613
- location: w(m, this.clonePosition())
3626
+ value: y.val,
3627
+ location: x(p, this.clonePosition())
3614
3628
  }
3615
3629
  ]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, h = o.location;
3616
3630
  }
3617
- return a.length === 0 ? this.error(r === "select" ? E.EXPECT_SELECT_ARGUMENT_SELECTOR : E.EXPECT_PLURAL_ARGUMENT_SELECTOR, w(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(E.MISSING_OTHER_CLAUSE, w(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3631
+ return a.length === 0 ? this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR : _.EXPECT_PLURAL_ARGUMENT_SELECTOR, x(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(_.MISSING_OTHER_CLAUSE, x(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3618
3632
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3619
3633
  var n = 1, i = this.clonePosition();
3620
3634
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3625,8 +3639,8 @@ var xi = (
3625
3639
  else
3626
3640
  break;
3627
3641
  }
3628
- var u = w(i, this.clonePosition());
3629
- return o ? (s *= n, gi(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3642
+ var u = x(i, this.clonePosition());
3643
+ return o ? (s *= n, _i(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3630
3644
  }, e.prototype.offset = function() {
3631
3645
  return this.position.offset;
3632
3646
  }, e.prototype.isEOF = function() {
@@ -3641,7 +3655,7 @@ var xi = (
3641
3655
  var t = this.position.offset;
3642
3656
  if (t >= this.message.length)
3643
3657
  throw Error("out of bound");
3644
- var r = Pr(this.message, t);
3658
+ var r = Ir(this.message, t);
3645
3659
  if (r === void 0)
3646
3660
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3647
3661
  return r;
@@ -3660,7 +3674,7 @@ var xi = (
3660
3674
  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);
3661
3675
  }
3662
3676
  }, e.prototype.bumpIf = function(t) {
3663
- if (kt(this.message, t, this.offset())) {
3677
+ if (Xt(this.message, t, this.offset())) {
3664
3678
  for (var r = 0; r < t.length; r++)
3665
3679
  this.bump();
3666
3680
  return !0;
@@ -3682,7 +3696,7 @@ var xi = (
3682
3696
  break;
3683
3697
  }
3684
3698
  }, e.prototype.bumpSpace = function() {
3685
- for (; !this.isEOF() && Fr(this.char()); )
3699
+ for (; !this.isEOF() && Lr(this.char()); )
3686
3700
  this.bump();
3687
3701
  }, e.prototype.peek = function() {
3688
3702
  if (this.isEOF())
@@ -3692,38 +3706,38 @@ var xi = (
3692
3706
  }, e;
3693
3707
  }()
3694
3708
  );
3695
- function ft(e) {
3709
+ function pt(e) {
3696
3710
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3697
3711
  }
3698
- function Ei(e) {
3699
- return ft(e) || e === 47;
3712
+ function Ti(e) {
3713
+ return pt(e) || e === 47;
3700
3714
  }
3701
- function wi(e) {
3715
+ function Hi(e) {
3702
3716
  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;
3703
3717
  }
3704
- function Fr(e) {
3718
+ function Lr(e) {
3705
3719
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3706
3720
  }
3707
- function Si(e) {
3721
+ function Ai(e) {
3708
3722
  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;
3709
3723
  }
3710
- function dt(e) {
3724
+ function mt(e) {
3711
3725
  e.forEach(function(t) {
3712
- if (delete t.location, _r(t) || xr(t))
3726
+ if (delete t.location, Sr(t) || Tr(t))
3713
3727
  for (var r in t.options)
3714
- delete t.options[r].location, dt(t.options[r].value);
3728
+ delete t.options[r].location, mt(t.options[r].value);
3715
3729
  else
3716
- gr(t) && wr(t.style) || (yr(t) || vr(t)) && lt(t.style) ? delete t.style.location : Er(t) && dt(t.children);
3730
+ xr(t) && Ar(t.style) || (Er(t) || wr(t)) && ht(t.style) ? delete t.style.location : Hr(t) && mt(t.children);
3717
3731
  });
3718
3732
  }
3719
- function Ti(e, t) {
3720
- t === void 0 && (t = {}), t = T({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3721
- var r = new xi(e, t).parse();
3733
+ function Pi(e, t) {
3734
+ t === void 0 && (t = {}), t = w({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3735
+ var r = new Si(e, t).parse();
3722
3736
  if (r.err) {
3723
- var n = SyntaxError(E[r.err.kind]);
3737
+ var n = SyntaxError(_[r.err.kind]);
3724
3738
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3725
3739
  }
3726
- return t != null && t.captureLocation || dt(r.val), r.val;
3740
+ return t != null && t.captureLocation || mt(r.val), r.val;
3727
3741
  }
3728
3742
  var ge;
3729
3743
  (function(e) {
@@ -3732,7 +3746,7 @@ var ge;
3732
3746
  var je = (
3733
3747
  /** @class */
3734
3748
  function(e) {
3735
- J(t, e);
3749
+ Q(t, e);
3736
3750
  function t(r, n, i) {
3737
3751
  var o = e.call(this, r) || this;
3738
3752
  return o.code = n, o.originalMessage = i, o;
@@ -3741,28 +3755,28 @@ var je = (
3741
3755
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3742
3756
  }, t;
3743
3757
  }(Error)
3744
- ), Xt = (
3758
+ ), Zt = (
3745
3759
  /** @class */
3746
3760
  function(e) {
3747
- J(t, e);
3761
+ Q(t, e);
3748
3762
  function t(r, n, i, o) {
3749
3763
  return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ge.INVALID_VALUE, o) || this;
3750
3764
  }
3751
3765
  return t;
3752
3766
  }(je)
3753
- ), Hi = (
3767
+ ), Bi = (
3754
3768
  /** @class */
3755
3769
  function(e) {
3756
- J(t, e);
3770
+ Q(t, e);
3757
3771
  function t(r, n, i) {
3758
3772
  return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ge.INVALID_VALUE, i) || this;
3759
3773
  }
3760
3774
  return t;
3761
3775
  }(je)
3762
- ), Ai = (
3776
+ ), Fi = (
3763
3777
  /** @class */
3764
3778
  function(e) {
3765
- J(t, e);
3779
+ Q(t, e);
3766
3780
  function t(r, n) {
3767
3781
  return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ge.MISSING_VALUE, n) || this;
3768
3782
  }
@@ -3772,17 +3786,17 @@ var je = (
3772
3786
  (function(e) {
3773
3787
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3774
3788
  })(U || (U = {}));
3775
- function Pi(e) {
3789
+ function Ci(e) {
3776
3790
  return e.length < 2 ? e : e.reduce(function(t, r) {
3777
3791
  var n = t[t.length - 1];
3778
3792
  return !n || n.type !== U.literal || r.type !== U.literal ? t.push(r) : n.value += r.value, t;
3779
3793
  }, []);
3780
3794
  }
3781
- function Bi(e) {
3795
+ function Ii(e) {
3782
3796
  return typeof e == "function";
3783
3797
  }
3784
3798
  function Me(e, t, r, n, i, o, s) {
3785
- if (e.length === 1 && Ut(e[0]))
3799
+ if (e.length === 1 && Gt(e[0]))
3786
3800
  return [
3787
3801
  {
3788
3802
  type: U.literal,
@@ -3791,14 +3805,14 @@ function Me(e, t, r, n, i, o, s) {
3791
3805
  ];
3792
3806
  for (var a = [], u = 0, l = e; u < l.length; u++) {
3793
3807
  var h = l[u];
3794
- if (Ut(h)) {
3808
+ if (Gt(h)) {
3795
3809
  a.push({
3796
3810
  type: U.literal,
3797
3811
  value: h.value
3798
3812
  });
3799
3813
  continue;
3800
3814
  }
3801
- if (qn(h)) {
3815
+ if (ei(h)) {
3802
3816
  typeof o == "number" && a.push({
3803
3817
  type: U.literal,
3804
3818
  value: r.getNumberFormat(t).format(o)
@@ -3807,89 +3821,89 @@ function Me(e, t, r, n, i, o, s) {
3807
3821
  }
3808
3822
  var d = h.value;
3809
3823
  if (!(i && d in i))
3810
- throw new Ai(d, s);
3811
- var c = i[d];
3812
- if (Qn(h)) {
3813
- (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3814
- type: typeof c == "string" ? U.literal : U.object,
3815
- value: c
3824
+ throw new Fi(d, s);
3825
+ var f = i[d];
3826
+ if (Kn(h)) {
3827
+ (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3828
+ type: typeof f == "string" ? U.literal : U.object,
3829
+ value: f
3816
3830
  });
3817
3831
  continue;
3818
3832
  }
3819
- if (yr(h)) {
3820
- var m = typeof h.style == "string" ? n.date[h.style] : lt(h.style) ? h.style.parsedOptions : void 0;
3833
+ if (Er(h)) {
3834
+ var p = typeof h.style == "string" ? n.date[h.style] : ht(h.style) ? h.style.parsedOptions : void 0;
3821
3835
  a.push({
3822
3836
  type: U.literal,
3823
- value: r.getDateTimeFormat(t, m).format(c)
3837
+ value: r.getDateTimeFormat(t, p).format(f)
3824
3838
  });
3825
3839
  continue;
3826
3840
  }
3827
- if (vr(h)) {
3828
- var m = typeof h.style == "string" ? n.time[h.style] : lt(h.style) ? h.style.parsedOptions : n.time.medium;
3841
+ if (wr(h)) {
3842
+ var p = typeof h.style == "string" ? n.time[h.style] : ht(h.style) ? h.style.parsedOptions : n.time.medium;
3829
3843
  a.push({
3830
3844
  type: U.literal,
3831
- value: r.getDateTimeFormat(t, m).format(c)
3845
+ value: r.getDateTimeFormat(t, p).format(f)
3832
3846
  });
3833
3847
  continue;
3834
3848
  }
3835
- if (gr(h)) {
3836
- var m = typeof h.style == "string" ? n.number[h.style] : wr(h.style) ? h.style.parsedOptions : void 0;
3837
- m && m.scale && (c = c * (m.scale || 1)), a.push({
3849
+ if (xr(h)) {
3850
+ var p = typeof h.style == "string" ? n.number[h.style] : Ar(h.style) ? h.style.parsedOptions : void 0;
3851
+ p && p.scale && (f = f * (p.scale || 1)), a.push({
3838
3852
  type: U.literal,
3839
- value: r.getNumberFormat(t, m).format(c)
3853
+ value: r.getNumberFormat(t, p).format(f)
3840
3854
  });
3841
3855
  continue;
3842
3856
  }
3843
- if (Er(h)) {
3844
- var v = h.children, y = h.value, H = i[y];
3845
- if (!Bi(H))
3846
- throw new Hi(y, "function", s);
3847
- var A = Me(v, t, r, n, i, o), S = H(A.map(function(L) {
3857
+ if (Hr(h)) {
3858
+ var y = h.children, g = h.value, S = i[g];
3859
+ if (!Ii(S))
3860
+ throw new Bi(g, "function", s);
3861
+ var H = Me(y, t, r, n, i, o), E = S(H.map(function(L) {
3848
3862
  return L.value;
3849
3863
  }));
3850
- Array.isArray(S) || (S = [S]), a.push.apply(a, S.map(function(L) {
3864
+ Array.isArray(E) || (E = [E]), a.push.apply(a, E.map(function(L) {
3851
3865
  return {
3852
3866
  type: typeof L == "string" ? U.literal : U.object,
3853
3867
  value: L
3854
3868
  };
3855
3869
  }));
3856
3870
  }
3857
- if (_r(h)) {
3858
- var b = h.options[c] || h.options.other;
3859
- if (!b)
3860
- throw new Xt(h.value, c, Object.keys(h.options), s);
3861
- a.push.apply(a, Me(b.value, t, r, n, i));
3871
+ if (Sr(h)) {
3872
+ var m = h.options[f] || h.options.other;
3873
+ if (!m)
3874
+ throw new Zt(h.value, f, Object.keys(h.options), s);
3875
+ a.push.apply(a, Me(m.value, t, r, n, i));
3862
3876
  continue;
3863
3877
  }
3864
- if (xr(h)) {
3865
- var b = h.options["=".concat(c)];
3866
- if (!b) {
3878
+ if (Tr(h)) {
3879
+ var m = h.options["=".concat(f)];
3880
+ if (!m) {
3867
3881
  if (!Intl.PluralRules)
3868
3882
  throw new je(`Intl.PluralRules is not available in this environment.
3869
3883
  Try polyfilling it using "@formatjs/intl-pluralrules"
3870
3884
  `, ge.MISSING_INTL_API, s);
3871
- var I = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3872
- b = h.options[I] || h.options.other;
3885
+ var O = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3886
+ m = h.options[O] || h.options.other;
3873
3887
  }
3874
- if (!b)
3875
- throw new Xt(h.value, c, Object.keys(h.options), s);
3876
- a.push.apply(a, Me(b.value, t, r, n, i, c - (h.offset || 0)));
3888
+ if (!m)
3889
+ throw new Zt(h.value, f, Object.keys(h.options), s);
3890
+ a.push.apply(a, Me(m.value, t, r, n, i, f - (h.offset || 0)));
3877
3891
  continue;
3878
3892
  }
3879
3893
  }
3880
- return Pi(a);
3894
+ return Ci(a);
3881
3895
  }
3882
- function Fi(e, t) {
3883
- return t ? T(T(T({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3884
- return r[n] = T(T({}, e[n]), t[n] || {}), r;
3896
+ function Oi(e, t) {
3897
+ return t ? w(w(w({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3898
+ return r[n] = w(w({}, e[n]), t[n] || {}), r;
3885
3899
  }, {})) : e;
3886
3900
  }
3887
- function Ci(e, t) {
3901
+ function Li(e, t) {
3888
3902
  return t ? Object.keys(e).reduce(function(r, n) {
3889
- return r[n] = Fi(e[n], t[n]), r;
3890
- }, T({}, e)) : e;
3903
+ return r[n] = Oi(e[n], t[n]), r;
3904
+ }, w({}, e)) : e;
3891
3905
  }
3892
- function Ye(e) {
3906
+ function et(e) {
3893
3907
  return {
3894
3908
  create: function() {
3895
3909
  return {
@@ -3903,39 +3917,39 @@ function Ye(e) {
3903
3917
  }
3904
3918
  };
3905
3919
  }
3906
- function Oi(e) {
3920
+ function Ni(e) {
3907
3921
  return e === void 0 && (e = {
3908
3922
  number: {},
3909
3923
  dateTime: {},
3910
3924
  pluralRules: {}
3911
3925
  }), {
3912
- getNumberFormat: Je(function() {
3926
+ getNumberFormat: qe(function() {
3913
3927
  for (var t, r = [], n = 0; n < arguments.length; n++)
3914
3928
  r[n] = arguments[n];
3915
3929
  return new ((t = Intl.NumberFormat).bind.apply(t, pe([void 0], r, !1)))();
3916
3930
  }, {
3917
- cache: Ye(e.number),
3918
- strategy: Qe.variadic
3931
+ cache: et(e.number),
3932
+ strategy: Ye.variadic
3919
3933
  }),
3920
- getDateTimeFormat: Je(function() {
3934
+ getDateTimeFormat: qe(function() {
3921
3935
  for (var t, r = [], n = 0; n < arguments.length; n++)
3922
3936
  r[n] = arguments[n];
3923
3937
  return new ((t = Intl.DateTimeFormat).bind.apply(t, pe([void 0], r, !1)))();
3924
3938
  }, {
3925
- cache: Ye(e.dateTime),
3926
- strategy: Qe.variadic
3939
+ cache: et(e.dateTime),
3940
+ strategy: Ye.variadic
3927
3941
  }),
3928
- getPluralRules: Je(function() {
3942
+ getPluralRules: qe(function() {
3929
3943
  for (var t, r = [], n = 0; n < arguments.length; n++)
3930
3944
  r[n] = arguments[n];
3931
3945
  return new ((t = Intl.PluralRules).bind.apply(t, pe([void 0], r, !1)))();
3932
3946
  }, {
3933
- cache: Ye(e.pluralRules),
3934
- strategy: Qe.variadic
3947
+ cache: et(e.pluralRules),
3948
+ strategy: Ye.variadic
3935
3949
  })
3936
3950
  };
3937
3951
  }
3938
- var Ii = (
3952
+ var Mi = (
3939
3953
  /** @class */
3940
3954
  function() {
3941
3955
  function e(t, r, n, i) {
@@ -3949,8 +3963,8 @@ var Ii = (
3949
3963
  var l = o.formatToParts(u);
3950
3964
  if (l.length === 1)
3951
3965
  return l[0].value;
3952
- var h = l.reduce(function(d, c) {
3953
- return !d.length || c.type !== U.literal || typeof d[d.length - 1] != "string" ? d.push(c.value) : d[d.length - 1] += c.value, d;
3966
+ var h = l.reduce(function(d, f) {
3967
+ return !d.length || f.type !== U.literal || typeof d[d.length - 1] != "string" ? d.push(f.value) : d[d.length - 1] += f.value, d;
3954
3968
  }, []);
3955
3969
  return h.length <= 1 ? h[0] || "" : h;
3956
3970
  }, this.formatToParts = function(u) {
@@ -3967,13 +3981,13 @@ var Ii = (
3967
3981
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3968
3982
  var s = i || {};
3969
3983
  s.formatters;
3970
- var a = cn(s, ["formatters"]);
3971
- this.ast = e.__parse(t, T(T({}, a), { locale: this.resolvedLocale }));
3984
+ var a = mn(s, ["formatters"]);
3985
+ this.ast = e.__parse(t, w(w({}, a), { locale: this.resolvedLocale }));
3972
3986
  } else
3973
3987
  this.ast = t;
3974
3988
  if (!Array.isArray(this.ast))
3975
3989
  throw new TypeError("A message must be provided as a String or AST.");
3976
- this.formats = Ci(e.formats, n), this.formatters = i && i.formatters || Oi(this.formatterCache);
3990
+ this.formats = Li(e.formats, n), this.formatters = i && i.formatters || Ni(this.formatterCache);
3977
3991
  }
3978
3992
  return Object.defineProperty(e, "defaultLocale", {
3979
3993
  get: function() {
@@ -3986,7 +4000,7 @@ var Ii = (
3986
4000
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3987
4001
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3988
4002
  }
3989
- }, e.__parse = Ti, e.formats = {
4003
+ }, e.__parse = Pi, e.formats = {
3990
4004
  number: {
3991
4005
  integer: {
3992
4006
  maximumFractionDigits: 0
@@ -4047,7 +4061,7 @@ var Ii = (
4047
4061
  }, e;
4048
4062
  }()
4049
4063
  );
4050
- function Li(e, t) {
4064
+ function Ri(e, t) {
4051
4065
  if (t == null)
4052
4066
  return;
4053
4067
  if (t in e)
@@ -4068,92 +4082,92 @@ function Li(e, t) {
4068
4082
  n = void 0;
4069
4083
  return n;
4070
4084
  }
4071
- const q = {}, Ni = (e, t, r) => r && (t in q || (q[t] = {}), e in q[t] || (q[t][e] = r), r), Cr = (e, t) => {
4085
+ const Y = {}, Di = (e, t, r) => r && (t in Y || (Y[t] = {}), e in Y[t] || (Y[t][e] = r), r), Nr = (e, t) => {
4072
4086
  if (t == null)
4073
4087
  return;
4074
- if (t in q && e in q[t])
4075
- return q[t][e];
4088
+ if (t in Y && e in Y[t])
4089
+ return Y[t][e];
4076
4090
  const r = Ve(t);
4077
4091
  for (let n = 0; n < r.length; n++) {
4078
- const i = r[n], o = Ri(i, e);
4092
+ const i = r[n], o = $i(i, e);
4079
4093
  if (o)
4080
- return Ni(e, t, o);
4094
+ return Di(e, t, o);
4081
4095
  }
4082
4096
  };
4083
- let yt;
4097
+ let xt;
4084
4098
  const _e = ke({});
4085
- function Mi(e) {
4086
- return yt[e] || null;
4099
+ function Ui(e) {
4100
+ return xt[e] || null;
4087
4101
  }
4088
- function Or(e) {
4089
- return e in yt;
4102
+ function Mr(e) {
4103
+ return e in xt;
4090
4104
  }
4091
- function Ri(e, t) {
4092
- if (!Or(e))
4105
+ function $i(e, t) {
4106
+ if (!Mr(e))
4093
4107
  return null;
4094
- const r = Mi(e);
4095
- return Li(r, t);
4108
+ const r = Ui(e);
4109
+ return Ri(r, t);
4096
4110
  }
4097
- function Ui(e) {
4111
+ function Gi(e) {
4098
4112
  if (e == null)
4099
4113
  return;
4100
4114
  const t = Ve(e);
4101
4115
  for (let r = 0; r < t.length; r++) {
4102
4116
  const n = t[r];
4103
- if (Or(n))
4117
+ if (Mr(n))
4104
4118
  return n;
4105
4119
  }
4106
4120
  }
4107
- function Ir(e, ...t) {
4108
- delete q[e], _e.update((r) => (r[e] = kn.all([r[e] || {}, ...t]), r));
4121
+ function Rr(e, ...t) {
4122
+ delete Y[e], _e.update((r) => (r[e] = Wn.all([r[e] || {}, ...t]), r));
4109
4123
  }
4110
4124
  ve(
4111
4125
  [_e],
4112
4126
  ([e]) => Object.keys(e)
4113
4127
  );
4114
- _e.subscribe((e) => yt = e);
4128
+ _e.subscribe((e) => xt = e);
4115
4129
  const Re = {};
4116
- function Di(e, t) {
4130
+ function ki(e, t) {
4117
4131
  Re[e].delete(t), Re[e].size === 0 && delete Re[e];
4118
4132
  }
4119
- function Lr(e) {
4133
+ function Dr(e) {
4120
4134
  return Re[e];
4121
4135
  }
4122
- function $i(e) {
4136
+ function ji(e) {
4123
4137
  return Ve(e).map((t) => {
4124
- const r = Lr(t);
4138
+ const r = Dr(t);
4125
4139
  return [t, r ? [...r] : []];
4126
4140
  }).filter(([, t]) => t.length > 0);
4127
4141
  }
4128
- function pt(e) {
4142
+ function bt(e) {
4129
4143
  return e == null ? !1 : Ve(e).some(
4130
4144
  (t) => {
4131
4145
  var r;
4132
- return (r = Lr(t)) == null ? void 0 : r.size;
4146
+ return (r = Dr(t)) == null ? void 0 : r.size;
4133
4147
  }
4134
4148
  );
4135
4149
  }
4136
- function Gi(e, t) {
4150
+ function Vi(e, t) {
4137
4151
  return Promise.all(
4138
- t.map((n) => (Di(e, n), n().then((i) => i.default || i)))
4139
- ).then((n) => Ir(e, ...n));
4140
- }
4141
- const Ee = {};
4142
- function Nr(e) {
4143
- if (!pt(e))
4144
- return e in Ee ? Ee[e] : Promise.resolve();
4145
- const t = $i(e);
4146
- return Ee[e] = Promise.all(
4152
+ t.map((n) => (ki(e, n), n().then((i) => i.default || i)))
4153
+ ).then((n) => Rr(e, ...n));
4154
+ }
4155
+ const we = {};
4156
+ function Ur(e) {
4157
+ if (!bt(e))
4158
+ return e in we ? we[e] : Promise.resolve();
4159
+ const t = ji(e);
4160
+ return we[e] = Promise.all(
4147
4161
  t.map(
4148
- ([r, n]) => Gi(r, n)
4162
+ ([r, n]) => Vi(r, n)
4149
4163
  )
4150
4164
  ).then(() => {
4151
- if (pt(e))
4152
- return Nr(e);
4153
- delete Ee[e];
4154
- }), Ee[e];
4165
+ if (bt(e))
4166
+ return Ur(e);
4167
+ delete we[e];
4168
+ }), we[e];
4155
4169
  }
4156
- const ki = {
4170
+ const Xi = {
4157
4171
  number: {
4158
4172
  scientific: { notation: "scientific" },
4159
4173
  engineering: { notation: "engineering" },
@@ -4182,57 +4196,57 @@ const ki = {
4182
4196
  timeZoneName: "short"
4183
4197
  }
4184
4198
  }
4185
- }, ji = {
4199
+ }, Wi = {
4186
4200
  fallbackLocale: null,
4187
4201
  loadingDelay: 200,
4188
- formats: ki,
4202
+ formats: Xi,
4189
4203
  warnOnMissingMessages: !0,
4190
4204
  handleMissingMessage: void 0,
4191
4205
  ignoreTag: !0
4192
- }, Vi = ji;
4206
+ }, zi = Wi;
4193
4207
  function ye() {
4194
- return Vi;
4195
- }
4196
- const Ke = ke(!1);
4197
- var Xi = Object.defineProperty, Wi = Object.defineProperties, zi = Object.getOwnPropertyDescriptors, Wt = Object.getOwnPropertySymbols, Zi = Object.prototype.hasOwnProperty, Ji = Object.prototype.propertyIsEnumerable, zt = (e, t, r) => t in e ? Xi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Qi = (e, t) => {
4198
- for (var r in t)
4199
- Zi.call(t, r) && zt(e, r, t[r]);
4200
- if (Wt)
4201
- for (var r of Wt(t))
4202
- Ji.call(t, r) && zt(e, r, t[r]);
4208
+ return zi;
4209
+ }
4210
+ const tt = ke(!1);
4211
+ var Zi = Object.defineProperty, Ji = Object.defineProperties, Qi = Object.getOwnPropertyDescriptors, Jt = Object.getOwnPropertySymbols, qi = Object.prototype.hasOwnProperty, Yi = Object.prototype.propertyIsEnumerable, Qt = (e, t, r) => t in e ? Zi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ki = (e, t) => {
4212
+ for (var r in t || (t = {}))
4213
+ qi.call(t, r) && Qt(e, r, t[r]);
4214
+ if (Jt)
4215
+ for (var r of Jt(t))
4216
+ Yi.call(t, r) && Qt(e, r, t[r]);
4203
4217
  return e;
4204
- }, qi = (e, t) => Wi(e, zi(t));
4205
- let mt;
4206
- const De = ke(null);
4207
- function Zt(e) {
4218
+ }, eo = (e, t) => Ji(e, Qi(t));
4219
+ let gt;
4220
+ const Ue = ke(null);
4221
+ function qt(e) {
4208
4222
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4209
4223
  }
4210
4224
  function Ve(e, t = ye().fallbackLocale) {
4211
- const r = Zt(e);
4212
- return t ? [.../* @__PURE__ */ new Set([...r, ...Zt(t)])] : r;
4225
+ const r = qt(e);
4226
+ return t ? [.../* @__PURE__ */ new Set([...r, ...qt(t)])] : r;
4213
4227
  }
4214
- function ie() {
4215
- return mt != null ? mt : void 0;
4228
+ function oe() {
4229
+ return gt != null ? gt : void 0;
4216
4230
  }
4217
- De.subscribe((e) => {
4218
- mt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4231
+ Ue.subscribe((e) => {
4232
+ gt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4219
4233
  });
4220
- const Yi = (e) => {
4221
- if (e && Ui(e) && pt(e)) {
4234
+ const to = (e) => {
4235
+ if (e && Gi(e) && bt(e)) {
4222
4236
  const { loadingDelay: t } = ye();
4223
4237
  let r;
4224
- return typeof window != "undefined" && ie() != null && t ? r = window.setTimeout(
4225
- () => Ke.set(!0),
4238
+ return typeof window != "undefined" && oe() != null && t ? r = window.setTimeout(
4239
+ () => tt.set(!0),
4226
4240
  t
4227
- ) : Ke.set(!0), Nr(e).then(() => {
4228
- De.set(e);
4241
+ ) : tt.set(!0), Ur(e).then(() => {
4242
+ Ue.set(e);
4229
4243
  }).finally(() => {
4230
- clearTimeout(r), Ke.set(!1);
4244
+ clearTimeout(r), tt.set(!1);
4231
4245
  });
4232
4246
  }
4233
- return De.set(e);
4234
- }, ne = qi(Qi({}, De), {
4235
- set: Yi
4247
+ return Ue.set(e);
4248
+ }, ie = eo(Ki({}, Ue), {
4249
+ set: to
4236
4250
  }), Xe = (e) => {
4237
4251
  const t = /* @__PURE__ */ Object.create(null);
4238
4252
  return (n) => {
@@ -4240,90 +4254,90 @@ const Yi = (e) => {
4240
4254
  return i in t ? t[i] : t[i] = e(n);
4241
4255
  };
4242
4256
  };
4243
- var Ki = Object.defineProperty, $e = Object.getOwnPropertySymbols, Mr = Object.prototype.hasOwnProperty, Rr = Object.prototype.propertyIsEnumerable, Jt = (e, t, r) => t in e ? Ki(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, vt = (e, t) => {
4257
+ var ro = Object.defineProperty, $e = Object.getOwnPropertySymbols, $r = Object.prototype.hasOwnProperty, Gr = Object.prototype.propertyIsEnumerable, Yt = (e, t, r) => t in e ? ro(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Et = (e, t) => {
4244
4258
  for (var r in t || (t = {}))
4245
- Mr.call(t, r) && Jt(e, r, t[r]);
4259
+ $r.call(t, r) && Yt(e, r, t[r]);
4246
4260
  if ($e)
4247
4261
  for (var r of $e(t))
4248
- Rr.call(t, r) && Jt(e, r, t[r]);
4262
+ Gr.call(t, r) && Yt(e, r, t[r]);
4249
4263
  return e;
4250
4264
  }, xe = (e, t) => {
4251
4265
  var r = {};
4252
4266
  for (var n in e)
4253
- Mr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4267
+ $r.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4254
4268
  if (e != null && $e)
4255
4269
  for (var n of $e(e))
4256
- t.indexOf(n) < 0 && Rr.call(e, n) && (r[n] = e[n]);
4270
+ t.indexOf(n) < 0 && Gr.call(e, n) && (r[n] = e[n]);
4257
4271
  return r;
4258
4272
  };
4259
- const Ae = (e, t) => {
4273
+ const Pe = (e, t) => {
4260
4274
  const { formats: r } = ye();
4261
4275
  if (e in r && t in r[e])
4262
4276
  return r[e][t];
4263
4277
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4264
- }, eo = Xe(
4278
+ }, no = Xe(
4265
4279
  (e) => {
4266
4280
  var t = e, { locale: r, format: n } = t, i = xe(t, ["locale", "format"]);
4267
4281
  if (r == null)
4268
4282
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4269
- return n && (i = Ae("number", n)), new Intl.NumberFormat(r, i);
4283
+ return n && (i = Pe("number", n)), new Intl.NumberFormat(r, i);
4270
4284
  }
4271
- ), to = Xe(
4285
+ ), io = Xe(
4272
4286
  (e) => {
4273
4287
  var t = e, { locale: r, format: n } = t, i = xe(t, ["locale", "format"]);
4274
4288
  if (r == null)
4275
4289
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4276
- return n ? i = Ae("date", n) : Object.keys(i).length === 0 && (i = Ae("date", "short")), new Intl.DateTimeFormat(r, i);
4290
+ return n ? i = Pe("date", n) : Object.keys(i).length === 0 && (i = Pe("date", "short")), new Intl.DateTimeFormat(r, i);
4277
4291
  }
4278
- ), ro = Xe(
4292
+ ), oo = Xe(
4279
4293
  (e) => {
4280
4294
  var t = e, { locale: r, format: n } = t, i = xe(t, ["locale", "format"]);
4281
4295
  if (r == null)
4282
4296
  throw new Error(
4283
4297
  '[svelte-i18n] A "locale" must be set to format time values'
4284
4298
  );
4285
- return n ? i = Ae("time", n) : Object.keys(i).length === 0 && (i = Ae("time", "short")), new Intl.DateTimeFormat(r, i);
4299
+ return n ? i = Pe("time", n) : Object.keys(i).length === 0 && (i = Pe("time", "short")), new Intl.DateTimeFormat(r, i);
4286
4300
  }
4287
- ), no = (e = {}) => {
4301
+ ), so = (e = {}) => {
4288
4302
  var t = e, {
4289
- locale: r = ie()
4303
+ locale: r = oe()
4290
4304
  } = t, n = xe(t, [
4291
4305
  "locale"
4292
4306
  ]);
4293
- return eo(vt({ locale: r }, n));
4294
- }, io = (e = {}) => {
4307
+ return no(Et({ locale: r }, n));
4308
+ }, ao = (e = {}) => {
4295
4309
  var t = e, {
4296
- locale: r = ie()
4310
+ locale: r = oe()
4297
4311
  } = t, n = xe(t, [
4298
4312
  "locale"
4299
4313
  ]);
4300
- return to(vt({ locale: r }, n));
4301
- }, oo = (e = {}) => {
4314
+ return io(Et({ locale: r }, n));
4315
+ }, lo = (e = {}) => {
4302
4316
  var t = e, {
4303
- locale: r = ie()
4317
+ locale: r = oe()
4304
4318
  } = t, n = xe(t, [
4305
4319
  "locale"
4306
4320
  ]);
4307
- return ro(vt({ locale: r }, n));
4308
- }, so = Xe(
4321
+ return oo(Et({ locale: r }, n));
4322
+ }, uo = Xe(
4309
4323
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4310
- (e, t = ie()) => new Ii(e, t, ye().formats, {
4324
+ (e, t = oe()) => new Mi(e, t, ye().formats, {
4311
4325
  ignoreTag: ye().ignoreTag
4312
4326
  })
4313
- ), ao = (e, t = {}) => {
4327
+ ), ho = (e, t = {}) => {
4314
4328
  var r, n, i, o;
4315
4329
  let s = t;
4316
4330
  typeof e == "object" && (s = e, e = s.id);
4317
4331
  const {
4318
4332
  values: a,
4319
- locale: u = ie(),
4333
+ locale: u = oe(),
4320
4334
  default: l
4321
4335
  } = s;
4322
4336
  if (u == null)
4323
4337
  throw new Error(
4324
4338
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4325
4339
  );
4326
- let h = Cr(e, u);
4340
+ let h = Nr(e, u);
4327
4341
  if (!h)
4328
4342
  h = (o = (i = (n = (r = ye()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4329
4343
  else if (typeof h != "string")
@@ -4334,24 +4348,24 @@ const Ae = (e, t) => {
4334
4348
  return h;
4335
4349
  let d = h;
4336
4350
  try {
4337
- d = so(h, u).format(a);
4338
- } catch (c) {
4339
- c instanceof Error && console.warn(
4351
+ d = uo(h, u).format(a);
4352
+ } catch (f) {
4353
+ f instanceof Error && console.warn(
4340
4354
  `[svelte-i18n] Message "${e}" has syntax error:`,
4341
- c.message
4355
+ f.message
4342
4356
  );
4343
4357
  }
4344
4358
  return d;
4345
- }, lo = (e, t) => oo(t).format(e), uo = (e, t) => io(t).format(e), ho = (e, t) => no(t).format(e), co = (e, t = ie()) => Cr(e, t), fo = ve([ne, _e], () => ao);
4346
- ve([ne], () => lo);
4347
- ve([ne], () => uo);
4348
- ve([ne], () => ho);
4349
- ve([ne, _e], () => co);
4350
- window.emWidgets = { topic: Tn };
4351
- const po = (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)), mo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4352
- function Uo(e, t) {
4359
+ }, co = (e, t) => lo(t).format(e), fo = (e, t) => ao(t).format(e), po = (e, t) => so(t).format(e), mo = (e, t = oe()) => Nr(e, t), bo = ve([ie, _e], () => ho);
4360
+ ve([ie], () => co);
4361
+ ve([ie], () => fo);
4362
+ ve([ie], () => po);
4363
+ ve([ie, _e], () => mo);
4364
+ window.emWidgets = { topic: Bn };
4365
+ const go = (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)), yo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4366
+ function Go(e, t) {
4353
4367
  const r = window.navigator.userAgent;
4354
- return po(r) ? t = e.filter((n) => {
4368
+ return go(r) ? t = e.filter((n) => {
4355
4369
  if (n.gameModel && (n.gameModel.platform.includes("iPad") || n.gameModel.platform.includes("iPhone") || n.gameModel.platform.includes("Android")))
4356
4370
  return n;
4357
4371
  }) : t = e.filter((n) => {
@@ -4359,13 +4373,13 @@ function Uo(e, t) {
4359
4373
  return n;
4360
4374
  }), t;
4361
4375
  }
4362
- function bo(e, t) {
4376
+ function vo(e, t) {
4363
4377
  if (e) {
4364
4378
  const r = document.createElement("style");
4365
4379
  r.innerHTML = t, e.appendChild(r);
4366
4380
  }
4367
4381
  }
4368
- function go(e, t) {
4382
+ function _o(e, t) {
4369
4383
  const r = new URL(t);
4370
4384
  fetch(r.href).then((n) => n.text()).then((n) => {
4371
4385
  const i = document.createElement("style");
@@ -4374,7 +4388,7 @@ function go(e, t) {
4374
4388
  console.error("There was an error while trying to load client styling from URL", n);
4375
4389
  });
4376
4390
  }
4377
- function yo(e, t, r) {
4391
+ function xo(e, t, r) {
4378
4392
  if (window.emMessageBus) {
4379
4393
  const n = document.createElement("style");
4380
4394
  window.emMessageBus.subscribe(t, (i) => {
@@ -4382,15 +4396,15 @@ function yo(e, t, r) {
4382
4396
  });
4383
4397
  }
4384
4398
  }
4385
- function vo({ withLocale: e, translations: t }) {
4386
- ne.subscribe((r) => {
4387
- r == null && (_e.set(t), ne.set(e));
4399
+ function Eo({ withLocale: e, translations: t }) {
4400
+ ie.subscribe((r) => {
4401
+ r == null && (_e.set(t), ie.set(e));
4388
4402
  });
4389
4403
  }
4390
- function Qt(e, t) {
4391
- Ir(e, t);
4404
+ function Kt(e, t) {
4405
+ Rr(e, t);
4392
4406
  }
4393
- const qt = {
4407
+ const er = {
4394
4408
  en: {
4395
4409
  providers: "Providers:",
4396
4410
  filterby: "Filter by:",
@@ -4500,123 +4514,123 @@ const qt = {
4500
4514
  clear: "Clear all"
4501
4515
  }
4502
4516
  };
4503
- function _o(e) {
4504
- zr(e, "svelte-14m0j7n", ':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:17}.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, #22B04E))}.FilterItem input:checked~.FiltersCheckmark{background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}.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 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, #22B04E));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));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%}}');
4517
+ function wo(e) {
4518
+ qr(e, "svelte-14m0j7n", ':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:17}.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, #22B04E))}.FilterItem input:checked~.FiltersCheckmark{background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}.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 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, #22B04E));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));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%}}');
4505
4519
  }
4506
- function Yt(e, t, r) {
4520
+ function tr(e, t, r) {
4507
4521
  const n = e.slice();
4508
4522
  return n[37] = t[r], n[38] = t, n[39] = r, n;
4509
4523
  }
4510
- function xo(e) {
4524
+ function So(e) {
4511
4525
  let t, r, n, i, o, s, a, u, l = (
4512
4526
  /*$_*/
4513
4527
  e[11]("filterby") + ""
4514
- ), h, d, c, m, v = (
4528
+ ), h, d, f, p, y = (
4515
4529
  /*$_*/
4516
4530
  e[11]("providers") + ""
4517
- ), y, H, A, S, b, I, L, R, P, B, N, z, V, K = (
4531
+ ), g, S, H, E, m, O, L, D, A, P, N, X, Z, ee = (
4518
4532
  /*$_*/
4519
4533
  e[11]("clear") + ""
4520
- ), oe, ee, se, te, ae, Pe;
4521
- function Be(p, O) {
4534
+ ), se, te, re, ae, le, Ee;
4535
+ function Be(c, T) {
4522
4536
  return (
4523
4537
  /*fullSelection*/
4524
- p[7] ? So : wo
4538
+ c[7] ? Ao : Ho
4525
4539
  );
4526
4540
  }
4527
- let le = Be(e), $ = le(e), Q = Bt(
4541
+ let ue = Be(e), G = ue(e), q = It(
4528
4542
  /*vendorArray*/
4529
4543
  e[5]
4530
- ), f = [];
4531
- for (let p = 0; p < Q.length; p += 1)
4532
- f[p] = Kt(Yt(e, Q, p));
4544
+ ), M = [];
4545
+ for (let c = 0; c < q.length; c += 1)
4546
+ M[c] = rr(tr(e, q, c));
4533
4547
  return {
4534
4548
  c() {
4535
- t = F("div"), r = F("div"), n = F("div"), i = we("svg"), o = we("path"), s = X(), a = F("div"), u = F("span"), h = G(l), d = X(), c = F("div"), m = F("span"), y = G(v), H = X(), $.c(), A = X(), S = F("span"), b = we("svg"), I = we("path"), P = X(), B = F("div"), N = F("ul");
4536
- for (let p = 0; p < f.length; p += 1)
4537
- f[p].c();
4538
- z = X(), V = F("button"), oe = G(K), g(o, "id", "noun_filter_736223"), g(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"), g(o, "transform", "translate(-5 -6.2)"), g(o, "fill", "#fff"), g(i, "xmlns", "http://www.w3.org/2000/svg"), g(i, "width", "16"), g(i, "height", "16"), g(i, "viewBox", "0 0 16 16"), g(u, "class", "FilterName"), g(c, "class", "FilterValueContainer"), g(a, "class", "FilterTextContainer"), g(n, "class", "FilterMainArea"), g(I, "id", "arrow"), g(I, "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"), g(I, "transform", "translate(-274.511 -441.088)"), g(I, "fill", "#d1d1d1"), g(b, "xmlns", "http://www.w3.org/2000/svg"), g(b, "width", "14"), g(b, "height", "6.835"), g(b, "viewBox", "0 0 14 6.835"), g(S, "class", L = "TriangleInactive " + /*isFilterActive*/
4539
- (e[4] ? "TriangleActive" : "")), g(r, "class", R = "FilterSelector " + /*isFilterActive*/
4540
- (e[4] ? "FilterSelectorOpen" : "")), g(N, "class", "FilterDropdown"), g(V, "class", "ClearFilters"), V.disabled = ee = /*fullSelection*/
4549
+ t = B("div"), r = B("div"), n = B("div"), i = Se("svg"), o = Se("path"), s = W(), a = B("div"), u = B("span"), h = k(l), d = W(), f = B("div"), p = B("span"), g = k(y), S = W(), G.c(), H = W(), E = B("span"), m = Se("svg"), O = Se("path"), A = W(), P = B("div"), N = B("ul");
4550
+ for (let c = 0; c < M.length; c += 1)
4551
+ M[c].c();
4552
+ X = W(), Z = B("button"), se = k(ee), 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(u, "class", "FilterName"), b(f, "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(m, "xmlns", "http://www.w3.org/2000/svg"), b(m, "width", "14"), b(m, "height", "6.835"), b(m, "viewBox", "0 0 14 6.835"), b(E, "class", L = "TriangleInactive " + /*isFilterActive*/
4553
+ (e[4] ? "TriangleActive" : "")), b(r, "class", D = "FilterSelector " + /*isFilterActive*/
4554
+ (e[4] ? "FilterSelectorOpen" : "")), b(N, "class", "FilterDropdown"), b(Z, "class", "ClearFilters"), Z.disabled = te = /*fullSelection*/
4541
4555
  e[7] && /*selectedVendorArray*/
4542
4556
  e[6].length != /*vendorArray*/
4543
- e[5].length, g(B, "class", se = "FilterDropdownContainer " + /*isFilterActive*/
4544
- (e[4] ? "FilterOpen" : "")), g(t, "class", te = "FilterContainer " + /*addfilterselector*/
4557
+ e[5].length, b(P, "class", re = "FilterDropdownContainer " + /*isFilterActive*/
4558
+ (e[4] ? "FilterOpen" : "")), b(t, "class", ae = "FilterContainer " + /*addfilterselector*/
4545
4559
  (e[0] == "true" && /*addsortingselector*/
4546
4560
  e[1] == "true" ? "FilerContainerSplit" : ""));
4547
4561
  },
4548
- m(p, O) {
4549
- W(p, t, O), _(t, r), _(r, n), _(n, i), _(i, o), _(n, s), _(n, a), _(a, u), _(u, h), _(a, d), _(a, c), _(c, m), _(m, y), _(c, H), $.m(c, null), _(r, A), _(r, S), _(S, b), _(b, I), _(t, P), _(t, B), _(B, N);
4550
- for (let x = 0; x < f.length; x += 1)
4551
- f[x] && f[x].m(N, null);
4552
- _(B, z), _(B, V), _(V, oe), ae || (Pe = [
4553
- Ue(
4562
+ m(c, T) {
4563
+ z(c, t, T), v(t, r), v(r, n), v(n, i), v(i, o), v(n, s), v(n, a), v(a, u), v(u, h), v(a, d), v(a, f), v(f, p), v(p, g), v(f, S), G.m(f, null), v(r, H), v(r, E), v(E, m), v(m, O), v(t, A), v(t, P), v(P, N);
4564
+ for (let F = 0; F < M.length; F += 1)
4565
+ M[F] && M[F].m(N, null);
4566
+ v(P, X), v(P, Z), v(Z, se), le || (Ee = [
4567
+ De(
4554
4568
  r,
4555
4569
  "click",
4556
4570
  /*click_handler*/
4557
4571
  e[24]
4558
4572
  ),
4559
- Ue(
4560
- V,
4573
+ De(
4574
+ Z,
4561
4575
  "click",
4562
4576
  /*click_handler_2*/
4563
4577
  e[27]
4564
4578
  )
4565
- ], ae = !0);
4579
+ ], le = !0);
4566
4580
  },
4567
- p(p, O) {
4568
- if (O[0] & /*$_*/
4581
+ p(c, T) {
4582
+ if (T[0] & /*$_*/
4569
4583
  2048 && l !== (l = /*$_*/
4570
- p[11]("filterby") + "") && re(h, l), O[0] & /*$_*/
4571
- 2048 && v !== (v = /*$_*/
4572
- p[11]("providers") + "") && re(y, v), le === (le = Be(p)) && $ ? $.p(p, O) : ($.d(1), $ = le(p), $ && ($.c(), $.m(c, null))), O[0] & /*isFilterActive*/
4584
+ c[11]("filterby") + "") && ne(h, l), T[0] & /*$_*/
4585
+ 2048 && y !== (y = /*$_*/
4586
+ c[11]("providers") + "") && ne(g, y), ue === (ue = Be(c)) && G ? G.p(c, T) : (G.d(1), G = ue(c), G && (G.c(), G.m(f, null))), T[0] & /*isFilterActive*/
4573
4587
  16 && L !== (L = "TriangleInactive " + /*isFilterActive*/
4574
- (p[4] ? "TriangleActive" : "")) && g(S, "class", L), O[0] & /*isFilterActive*/
4575
- 16 && R !== (R = "FilterSelector " + /*isFilterActive*/
4576
- (p[4] ? "FilterSelectorOpen" : "")) && g(r, "class", R), O[0] & /*filterbylogo, vendorArray, filterByVendors*/
4588
+ (c[4] ? "TriangleActive" : "")) && b(E, "class", L), T[0] & /*isFilterActive*/
4589
+ 16 && D !== (D = "FilterSelector " + /*isFilterActive*/
4590
+ (c[4] ? "FilterSelectorOpen" : "")) && b(r, "class", D), T[0] & /*filterbylogo, vendorArray, filterByVendors*/
4577
4591
  8228) {
4578
- Q = Bt(
4592
+ q = It(
4579
4593
  /*vendorArray*/
4580
- p[5]
4594
+ c[5]
4581
4595
  );
4582
- let x;
4583
- for (x = 0; x < Q.length; x += 1) {
4584
- const ue = Yt(p, Q, x);
4585
- f[x] ? f[x].p(ue, O) : (f[x] = Kt(ue), f[x].c(), f[x].m(N, null));
4596
+ let F;
4597
+ for (F = 0; F < q.length; F += 1) {
4598
+ const I = tr(c, q, F);
4599
+ M[F] ? M[F].p(I, T) : (M[F] = rr(I), M[F].c(), M[F].m(N, null));
4586
4600
  }
4587
- for (; x < f.length; x += 1)
4588
- f[x].d(1);
4589
- f.length = Q.length;
4601
+ for (; F < M.length; F += 1)
4602
+ M[F].d(1);
4603
+ M.length = q.length;
4590
4604
  }
4591
- O[0] & /*$_*/
4592
- 2048 && K !== (K = /*$_*/
4593
- p[11]("clear") + "") && re(oe, K), O[0] & /*fullSelection, selectedVendorArray, vendorArray*/
4594
- 224 && ee !== (ee = /*fullSelection*/
4595
- p[7] && /*selectedVendorArray*/
4596
- p[6].length != /*vendorArray*/
4597
- p[5].length) && (V.disabled = ee), O[0] & /*isFilterActive*/
4598
- 16 && se !== (se = "FilterDropdownContainer " + /*isFilterActive*/
4599
- (p[4] ? "FilterOpen" : "")) && g(B, "class", se), O[0] & /*addfilterselector, addsortingselector*/
4600
- 3 && te !== (te = "FilterContainer " + /*addfilterselector*/
4601
- (p[0] == "true" && /*addsortingselector*/
4602
- p[1] == "true" ? "FilerContainerSplit" : "")) && g(t, "class", te);
4605
+ T[0] & /*$_*/
4606
+ 2048 && ee !== (ee = /*$_*/
4607
+ c[11]("clear") + "") && ne(se, ee), T[0] & /*fullSelection, selectedVendorArray, vendorArray*/
4608
+ 224 && te !== (te = /*fullSelection*/
4609
+ c[7] && /*selectedVendorArray*/
4610
+ c[6].length != /*vendorArray*/
4611
+ c[5].length) && (Z.disabled = te), T[0] & /*isFilterActive*/
4612
+ 16 && re !== (re = "FilterDropdownContainer " + /*isFilterActive*/
4613
+ (c[4] ? "FilterOpen" : "")) && b(P, "class", re), T[0] & /*addfilterselector, addsortingselector*/
4614
+ 3 && ae !== (ae = "FilterContainer " + /*addfilterselector*/
4615
+ (c[0] == "true" && /*addsortingselector*/
4616
+ c[1] == "true" ? "FilerContainerSplit" : "")) && b(t, "class", ae);
4603
4617
  },
4604
- d(p) {
4605
- p && j(t), $.d(), Qr(f, p), ae = !1, Y(Pe);
4618
+ d(c) {
4619
+ c && V(t), G.d(), en(M, c), le = !1, K(Ee);
4606
4620
  }
4607
4621
  };
4608
4622
  }
4609
- function Eo(e) {
4623
+ function To(e) {
4610
4624
  let t, r = (
4611
4625
  /*$_*/
4612
4626
  e[11]("500") + ""
4613
4627
  );
4614
4628
  return {
4615
4629
  c() {
4616
- t = F("p"), g(t, "class", "SearchLoading");
4630
+ t = B("p"), b(t, "class", "SearchLoading");
4617
4631
  },
4618
4632
  m(n, i) {
4619
- W(n, t, i), t.innerHTML = r;
4633
+ z(n, t, i), t.innerHTML = r;
4620
4634
  },
4621
4635
  p(n, i) {
4622
4636
  i[0] & /*$_*/
@@ -4624,78 +4638,78 @@ function Eo(e) {
4624
4638
  n[11]("500") + "") && (t.innerHTML = r);
4625
4639
  },
4626
4640
  d(n) {
4627
- n && j(t);
4641
+ n && V(t);
4628
4642
  }
4629
4643
  };
4630
4644
  }
4631
- function wo(e) {
4645
+ function Ho(e) {
4632
4646
  let t, r;
4633
4647
  return {
4634
4648
  c() {
4635
- t = F("span"), r = G(
4649
+ t = B("span"), r = k(
4636
4650
  /*selectionNumber*/
4637
4651
  e[8]
4638
- ), g(t, "class", "FilterCounter");
4652
+ ), b(t, "class", "FilterCounter");
4639
4653
  },
4640
4654
  m(n, i) {
4641
- W(n, t, i), _(t, r);
4655
+ z(n, t, i), v(t, r);
4642
4656
  },
4643
4657
  p(n, i) {
4644
4658
  i[0] & /*selectionNumber*/
4645
- 256 && re(
4659
+ 256 && ne(
4646
4660
  r,
4647
4661
  /*selectionNumber*/
4648
4662
  n[8]
4649
4663
  );
4650
4664
  },
4651
4665
  d(n) {
4652
- n && j(t);
4666
+ n && V(t);
4653
4667
  }
4654
4668
  };
4655
4669
  }
4656
- function So(e) {
4670
+ function Ao(e) {
4657
4671
  let t, r = (
4658
4672
  /*$_*/
4659
4673
  e[11]("all") + ""
4660
4674
  ), n;
4661
4675
  return {
4662
4676
  c() {
4663
- t = F("span"), n = G(r), g(t, "class", "FilterCounter");
4677
+ t = B("span"), n = k(r), b(t, "class", "FilterCounter");
4664
4678
  },
4665
4679
  m(i, o) {
4666
- W(i, t, o), _(t, n);
4680
+ z(i, t, o), v(t, n);
4667
4681
  },
4668
4682
  p(i, o) {
4669
4683
  o[0] & /*$_*/
4670
4684
  2048 && r !== (r = /*$_*/
4671
- i[11]("all") + "") && re(n, r);
4685
+ i[11]("all") + "") && ne(n, r);
4672
4686
  },
4673
4687
  d(i) {
4674
- i && j(t);
4688
+ i && V(t);
4675
4689
  }
4676
4690
  };
4677
4691
  }
4678
- function To(e) {
4692
+ function Po(e) {
4679
4693
  let t, r;
4680
4694
  return {
4681
4695
  c() {
4682
- t = F("img"), Ht(t.src, r = /*vendor*/
4683
- e[37].logo) || g(t, "src", r), g(t, "alt", "vendor logo");
4696
+ t = B("img"), Bt(t.src, r = /*vendor*/
4697
+ e[37].logo) || b(t, "src", r), b(t, "alt", "vendor logo");
4684
4698
  },
4685
4699
  m(n, i) {
4686
- W(n, t, i);
4700
+ z(n, t, i);
4687
4701
  },
4688
4702
  p(n, i) {
4689
4703
  i[0] & /*vendorArray*/
4690
- 32 && !Ht(t.src, r = /*vendor*/
4691
- n[37].logo) && g(t, "src", r);
4704
+ 32 && !Bt(t.src, r = /*vendor*/
4705
+ n[37].logo) && b(t, "src", r);
4692
4706
  },
4693
4707
  d(n) {
4694
- n && j(t);
4708
+ n && V(t);
4695
4709
  }
4696
4710
  };
4697
4711
  }
4698
- function Ho(e) {
4712
+ function Bo(e) {
4699
4713
  let t, r, n = (
4700
4714
  /*vendor*/
4701
4715
  e[37].name + ""
@@ -4705,26 +4719,26 @@ function Ho(e) {
4705
4719
  ), l, h;
4706
4720
  return {
4707
4721
  c() {
4708
- t = F("div"), r = F("span"), i = G(n), o = X(), s = F("span"), a = G("("), l = G(u), h = G(")"), g(r, "class", "VendorName"), g(t, "class", "FilterItemLabel");
4722
+ t = B("div"), r = B("span"), i = k(n), o = W(), s = B("span"), a = k("("), l = k(u), h = k(")"), b(r, "class", "VendorName"), b(t, "class", "FilterItemLabel");
4709
4723
  },
4710
- m(d, c) {
4711
- W(d, t, c), _(t, r), _(r, i), _(t, o), _(t, s), _(s, a), _(s, l), _(s, h);
4724
+ m(d, f) {
4725
+ z(d, t, f), v(t, r), v(r, i), v(t, o), v(t, s), v(s, a), v(s, l), v(s, h);
4712
4726
  },
4713
- p(d, c) {
4714
- c[0] & /*vendorArray*/
4727
+ p(d, f) {
4728
+ f[0] & /*vendorArray*/
4715
4729
  32 && n !== (n = /*vendor*/
4716
- d[37].name + "") && re(i, n), c[0] & /*vendorArray*/
4730
+ d[37].name + "") && ne(i, n), f[0] & /*vendorArray*/
4717
4731
  32 && u !== (u = /*vendor*/
4718
- d[37].games.total + "") && re(l, u);
4732
+ d[37].games.total + "") && ne(l, u);
4719
4733
  },
4720
4734
  d(d) {
4721
- d && j(t);
4735
+ d && V(t);
4722
4736
  }
4723
4737
  };
4724
4738
  }
4725
- function Kt(e) {
4726
- let t, r, n, i, o, s, a, u, l, h, d, c;
4727
- function m() {
4739
+ function rr(e) {
4740
+ let t, r, n, i, o, s, a, u, l, h, d, f;
4741
+ function p() {
4728
4742
  e[25].call(
4729
4743
  n,
4730
4744
  /*each_value*/
@@ -4733,7 +4747,7 @@ function Kt(e) {
4733
4747
  e[39]
4734
4748
  );
4735
4749
  }
4736
- function v() {
4750
+ function y() {
4737
4751
  return (
4738
4752
  /*click_handler_1*/
4739
4753
  e[26](
@@ -4742,171 +4756,171 @@ function Kt(e) {
4742
4756
  )
4743
4757
  );
4744
4758
  }
4745
- function y(S, b) {
4759
+ function g(E, m) {
4746
4760
  if (
4747
4761
  /*filterbylogo*/
4748
- S[2] === "false"
4762
+ E[2] === "false"
4749
4763
  )
4750
- return Ho;
4764
+ return Bo;
4751
4765
  if (
4752
4766
  /*filterbylogo*/
4753
- S[2] === "true"
4767
+ E[2] === "true"
4754
4768
  )
4755
- return To;
4769
+ return Po;
4756
4770
  }
4757
- let H = y(e), A = H && H(e);
4771
+ let S = g(e), H = S && S(e);
4758
4772
  return {
4759
4773
  c() {
4760
- t = F("li"), r = F("label"), n = F("input"), o = X(), s = F("span"), a = X(), A && A.c(), u = X(), g(n, "type", "checkbox"), g(n, "name", "checkbox"), n.__value = i = /*vendor*/
4761
- e[37].name, At(n, n.__value), g(s, "class", "FiltersCheckmark"), g(r, "class", "FilterLabel"), g(t, "class", l = "FilterItem " + /*filterbylogo*/
4774
+ t = B("li"), r = B("label"), n = B("input"), o = W(), s = B("span"), a = W(), H && H.c(), u = W(), b(n, "type", "checkbox"), b(n, "name", "checkbox"), n.__value = i = /*vendor*/
4775
+ e[37].name, Ft(n, n.__value), b(s, "class", "FiltersCheckmark"), b(r, "class", "FilterLabel"), b(t, "class", l = "FilterItem " + /*filterbylogo*/
4762
4776
  (e[2] === "true" ? "FilterItemWithLogos" : "")), t.value = h = /*vendor*/
4763
4777
  e[37].name;
4764
4778
  },
4765
- m(S, b) {
4766
- W(S, t, b), _(t, r), _(r, n), n.checked = /*vendor*/
4767
- e[37].isFilterSelected, _(r, o), _(r, s), _(r, a), A && A.m(r, null), _(t, u), d || (c = [
4768
- Ue(n, "change", m),
4769
- Ue(n, "click", v)
4779
+ m(E, m) {
4780
+ z(E, t, m), v(t, r), v(r, n), n.checked = /*vendor*/
4781
+ e[37].isFilterSelected, v(r, o), v(r, s), v(r, a), H && H.m(r, null), v(t, u), d || (f = [
4782
+ De(n, "change", p),
4783
+ De(n, "click", y)
4770
4784
  ], d = !0);
4771
4785
  },
4772
- p(S, b) {
4773
- e = S, b[0] & /*vendorArray*/
4786
+ p(E, m) {
4787
+ e = E, m[0] & /*vendorArray*/
4774
4788
  32 && i !== (i = /*vendor*/
4775
- e[37].name) && (n.__value = i, At(n, n.__value)), b[0] & /*vendorArray*/
4789
+ e[37].name) && (n.__value = i, Ft(n, n.__value)), m[0] & /*vendorArray*/
4776
4790
  32 && (n.checked = /*vendor*/
4777
- e[37].isFilterSelected), H === (H = y(e)) && A ? A.p(e, b) : (A && A.d(1), A = H && H(e), A && (A.c(), A.m(r, null))), b[0] & /*filterbylogo*/
4791
+ e[37].isFilterSelected), S === (S = g(e)) && H ? H.p(e, m) : (H && H.d(1), H = S && S(e), H && (H.c(), H.m(r, null))), m[0] & /*filterbylogo*/
4778
4792
  4 && l !== (l = "FilterItem " + /*filterbylogo*/
4779
- (e[2] === "true" ? "FilterItemWithLogos" : "")) && g(t, "class", l), b[0] & /*vendorArray*/
4793
+ (e[2] === "true" ? "FilterItemWithLogos" : "")) && b(t, "class", l), m[0] & /*vendorArray*/
4780
4794
  32 && h !== (h = /*vendor*/
4781
4795
  e[37].name) && (t.value = h);
4782
4796
  },
4783
- d(S) {
4784
- S && j(t), A && A.d(), d = !1, Y(c);
4797
+ d(E) {
4798
+ E && V(t), H && H.d(), d = !1, K(f);
4785
4799
  }
4786
4800
  };
4787
4801
  }
4788
- function Ao(e) {
4802
+ function Fo(e) {
4789
4803
  let t;
4790
4804
  function r(o, s) {
4791
4805
  if (
4792
4806
  /*hasErrors*/
4793
4807
  o[10]
4794
4808
  )
4795
- return Eo;
4809
+ return To;
4796
4810
  if (!/*isLoading*/
4797
4811
  o[9])
4798
- return xo;
4812
+ return So;
4799
4813
  }
4800
4814
  let n = r(e), i = n && n(e);
4801
4815
  return {
4802
4816
  c() {
4803
- t = F("div"), i && i.c();
4817
+ t = B("div"), i && i.c();
4804
4818
  },
4805
4819
  m(o, s) {
4806
- W(o, t, s), i && i.m(t, null), e[28](t);
4820
+ z(o, t, s), i && i.m(t, null), e[28](t);
4807
4821
  },
4808
4822
  p(o, s) {
4809
4823
  n === (n = r(o)) && i ? i.p(o, s) : (i && i.d(1), i = n && n(o), i && (i.c(), i.m(t, null)));
4810
4824
  },
4811
- i: k,
4812
- o: k,
4825
+ i: j,
4826
+ o: j,
4813
4827
  d(o) {
4814
- o && j(t), i && i.d(), e[28](null);
4828
+ o && V(t), i && i.d(), e[28](null);
4815
4829
  }
4816
4830
  };
4817
4831
  }
4818
- function Po(e, t, r) {
4832
+ function Co(e, t, r) {
4819
4833
  let n;
4820
- Wr(e, fo, (f) => r(11, n = f));
4821
- let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "" } = t, { translationurl: a = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { categoryid: h = "" } = t, { addfilterselector: d = "false" } = t, { addsortingselector: c = "false" } = t, { filterbylogo: m = "false" } = t, { mbsource: v } = t, { usesinglevendorfilter: y = "false" } = t, H = !1, A = window.navigator.userAgent, S = [], b = [], I = {}, L = !1, R = 0, P = !0, B, N = !1;
4822
- vo({ withLocale: "en", translations: {} });
4823
- const z = () => {
4824
- fetch(a).then((p) => p.json()).then((p) => {
4825
- Object.keys(p).forEach((O) => {
4826
- Qt(O, p[O]);
4834
+ Qr(e, bo, (c) => r(11, n = c));
4835
+ let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "" } = t, { translationurl: a = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { categoryid: h = "" } = t, { addfilterselector: d = "false" } = t, { addsortingselector: f = "false" } = t, { filterbylogo: p = "false" } = t, { mbsource: y } = t, { usesinglevendorfilter: g = "false" } = t, S = !1, H = window.navigator.userAgent, E = [], m = [], O = {}, L = !1, D = 0, A = !0, P, N = !1, X;
4836
+ Eo({ withLocale: "en", translations: {} });
4837
+ const Z = () => {
4838
+ fetch(a).then((T) => T.json()).then((T) => {
4839
+ Object.keys(T).forEach((F) => {
4840
+ Kt(F, T[F]);
4827
4841
  });
4828
- }).catch((p) => {
4829
- console.log(p);
4842
+ }).catch((T) => {
4843
+ console.log(T);
4830
4844
  });
4831
4845
  };
4832
- Object.keys(qt).forEach((f) => {
4833
- Qt(f, qt[f]);
4834
- }), I[h] && (I = { [h]: [] });
4835
- const V = () => {
4836
- r(4, H = !H), window.postMessage({ type: "FilterOpened" }, window.location.href);
4837
- }, K = (f) => (r(9, P = !0), new Promise((p, O) => {
4838
- fetch(f).then((x) => x.json()).then((x) => {
4839
- x = x.items, p(x.items), r(6, b = []);
4840
- let ue = JSON.parse(localStorage.getItem("vendorFiltersByCategory"));
4841
- const Dr = y === "true" ? "*" : h;
4842
- x.forEach((Fe) => {
4843
- var _t;
4844
- ue || (ue = { currentCategoryId: [] }), ((_t = ue[Dr]) == null ? void 0 : _t.indexOf(Fe.id)) >= 0 ? (Fe.isFilterSelected = !0, b.push(Fe)) : Fe.isFilterSelected = !1;
4845
- }), r(5, S = x), ee();
4846
- }).catch((x) => {
4847
- console.error(x), r(10, N = !0), O(x);
4846
+ Object.keys(er).forEach((c) => {
4847
+ Kt(c, er[c]);
4848
+ }), O[h] && (O = { [h]: [] });
4849
+ const ee = () => {
4850
+ r(4, S = !S), window.postMessage({ type: "FilterOpened" }, window.location.href);
4851
+ }, se = (c) => (r(9, A = !0), new Promise((T, F) => {
4852
+ fetch(c).then((I) => I.json()).then((I) => {
4853
+ I = I.items, T(I.items), r(6, m = []);
4854
+ let We = JSON.parse(localStorage.getItem("vendorFiltersByCategory"));
4855
+ const jr = g === "true" ? "*" : h;
4856
+ I.forEach((Fe) => {
4857
+ var wt;
4858
+ We || (We = { currentCategoryId: [] }), ((wt = We[jr]) == null ? void 0 : wt.indexOf(Fe.id)) >= 0 ? (Fe.isFilterSelected = !0, m.push(Fe)) : Fe.isFilterSelected = !1;
4859
+ }), r(5, E = I), re();
4860
+ }).catch((I) => {
4861
+ console.error(I), r(10, N = !0), F(I);
4848
4862
  }).finally(() => {
4849
- r(9, P = !1);
4863
+ r(9, A = !1);
4850
4864
  });
4851
- })), oe = (f) => {
4852
- let p = localStorage.getItem("vendorFiltersByCategory");
4853
- f.isFilterSelected = !f.isFilterSelected, !b.length || b.filter((x) => x.name === f.name).length == 0 ? b.push(f) : r(6, b = b.filter((x) => x.name !== f.name));
4854
- const O = y === "true" ? "*" : h;
4855
- p == null ? localStorage.setItem("vendorFiltersByCategory", JSON.stringify(I = {
4856
- [O]: b.map((x) => x.id)
4857
- })) : (p = JSON.parse(p), p[O] = b.map((x) => x.id), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(p))), window.postMessage({ type: "ApplyFilters", origin: "filters" }, window.location.href), ee();
4858
- }, ee = () => {
4859
- r(7, L = b.length === S.length || b.length == 0), r(8, R = b.length);
4860
- }, se = () => {
4861
- if (S.length && y === "true")
4865
+ })), te = (c) => {
4866
+ let T = localStorage.getItem("vendorFiltersByCategory");
4867
+ c.isFilterSelected = !c.isFilterSelected, !m.length || m.filter((I) => I.name === c.name).length == 0 ? m.push(c) : r(6, m = m.filter((I) => I.name !== c.name));
4868
+ const F = g === "true" ? "*" : h;
4869
+ T == null ? localStorage.setItem("vendorFiltersByCategory", JSON.stringify(O = {
4870
+ [F]: m.map((I) => I.id)
4871
+ })) : (T = JSON.parse(T), T[F] = m.map((I) => I.id), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(T))), window.postMessage({ type: "ApplyFilters", origin: "filters" }, window.location.href), re();
4872
+ }, re = () => {
4873
+ r(7, L = m.length === E.length || m.length == 0), r(8, D = m.length);
4874
+ }, ae = () => {
4875
+ if (E.length && g === "true")
4862
4876
  return;
4863
- const f = new URL(`${i}/v1/casino/vendors`);
4864
- r(4, H = !1), f.searchParams.append("fields", "id,name,logo,subVendors,games"), f.searchParams.append("language", s), f.searchParams.append("datasource", o), f.searchParams.append("platform", mo(A)), y === "true" || ((h.match(/\$/g) || []).length > 1 ? (f.searchParams.append("filter", `games(subGroups=${h})`), f.searchParams.append("subVendors", `games(subGroups=${h})`)) : f.searchParams.append("filter", `games(groups=${h})`)), K(f);
4865
- }, te = () => {
4866
- r(6, b = []), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(I = {
4867
- [y === "true" ? "*" : h]: b.map((f) => f.id)
4868
- })), S.forEach((f) => f.isFilterSelected = !1), r(5, S), window.postMessage({ type: "ApplyFilters" }, window.location.href), r(7, L = !0), r(4, H = !1);
4869
- }, ae = (f) => {
4870
- f.data.type == "SortingOpened" && r(4, H = !1);
4877
+ const c = new URL(`${i}/v1/casino/vendors`);
4878
+ r(4, S = !1), c.searchParams.append("fields", "id,name,logo,subVendors,games"), c.searchParams.append("language", s), c.searchParams.append("datasource", o), c.searchParams.append("platform", yo(H)), g === "true" || ((h.match(/\$/g) || []).length > 1 ? (c.searchParams.append("filter", `games(subGroups=${h})`), c.searchParams.append("subVendors", `games(subGroups=${h})`)) : c.searchParams.append("filter", `games(groups=${h})`)), se(c);
4879
+ }, le = () => {
4880
+ r(6, m = []), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(O = {
4881
+ [g === "true" ? "*" : h]: m.map((c) => c.id)
4882
+ })), E.forEach((c) => c.isFilterSelected = !1), r(5, E), window.postMessage({ type: "ApplyFilters" }, window.location.href), r(7, L = !0), r(4, S = !1);
4883
+ }, Ee = (c) => {
4884
+ c.data.type == "SortingOpened" && r(4, S = !1);
4871
4885
  };
4872
- Kr(() => (window.addEventListener("message", ae, !1), () => {
4873
- window.removeEventListener("message", ae);
4886
+ nn(() => (window.addEventListener("message", Ee, !1), () => {
4887
+ window.emMessageBus != null && X && X.unsubscribe(), window.removeEventListener("message", Ee);
4874
4888
  }));
4875
- const Pe = () => V();
4876
- function Be(f, p) {
4877
- f[p].isFilterSelected = this.checked, r(5, S);
4889
+ const Be = () => ee();
4890
+ function ue(c, T) {
4891
+ c[T].isFilterSelected = this.checked, r(5, E);
4878
4892
  }
4879
- const le = (f) => oe(f), $ = () => te();
4880
- function Q(f) {
4881
- et[f ? "unshift" : "push"](() => {
4882
- B = f, r(3, B);
4893
+ const G = (c) => te(c), q = () => le();
4894
+ function M(c) {
4895
+ rt[c ? "unshift" : "push"](() => {
4896
+ P = c, r(3, P);
4883
4897
  });
4884
4898
  }
4885
- return e.$$set = (f) => {
4886
- "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, u = f.clientstyling), "clientstylingurl" in f && r(20, l = f.clientstylingurl), "categoryid" in f && r(21, h = 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, v = f.mbsource), "usesinglevendorfilter" in f && r(23, y = f.usesinglevendorfilter);
4899
+ return e.$$set = (c) => {
4900
+ "endpoint" in c && r(15, i = c.endpoint), "datasource" in c && r(16, o = c.datasource), "lang" in c && r(17, s = c.lang), "translationurl" in c && r(18, a = c.translationurl), "clientstyling" in c && r(19, u = c.clientstyling), "clientstylingurl" in c && r(20, l = c.clientstylingurl), "categoryid" in c && r(21, h = c.categoryid), "addfilterselector" in c && r(0, d = c.addfilterselector), "addsortingselector" in c && r(1, f = c.addsortingselector), "filterbylogo" in c && r(2, p = c.filterbylogo), "mbsource" in c && r(22, y = c.mbsource), "usesinglevendorfilter" in c && r(23, g = c.usesinglevendorfilter);
4887
4901
  }, e.$$.update = () => {
4888
4902
  e.$$.dirty[0] & /*endpoint, datasource, categoryid, filterbylogo*/
4889
- 2195460 && i && o && h && m && se(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4890
- 524296 && u && B && bo(B, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4891
- 1048584 && l && B && go(B, l), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
4892
- 4194312 && B && yo(B, `${v}.Style`), e.$$.dirty[0] & /*translationurl*/
4893
- 262144 && a && z();
4903
+ 2195460 && i && o && h && p && ae(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4904
+ 524296 && u && P && vo(P, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4905
+ 1048584 && l && P && _o(P, l), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
4906
+ 4194312 && P && xo(P, `${y}.Style`), e.$$.dirty[0] & /*translationurl*/
4907
+ 262144 && a && Z();
4894
4908
  }, [
4895
4909
  d,
4896
- c,
4897
- m,
4898
- B,
4899
- H,
4910
+ f,
4911
+ p,
4912
+ P,
4900
4913
  S,
4901
- b,
4914
+ E,
4915
+ m,
4902
4916
  L,
4903
- R,
4904
- P,
4917
+ D,
4918
+ A,
4905
4919
  N,
4906
4920
  n,
4907
- V,
4908
- oe,
4921
+ ee,
4909
4922
  te,
4923
+ le,
4910
4924
  i,
4911
4925
  o,
4912
4926
  s,
@@ -4914,23 +4928,23 @@ function Po(e, t, r) {
4914
4928
  u,
4915
4929
  l,
4916
4930
  h,
4917
- v,
4918
4931
  y,
4919
- Pe,
4932
+ g,
4920
4933
  Be,
4921
- le,
4922
- $,
4923
- Q
4934
+ ue,
4935
+ G,
4936
+ q,
4937
+ M
4924
4938
  ];
4925
4939
  }
4926
- class Ur extends un {
4940
+ class kr extends dn {
4927
4941
  constructor(t) {
4928
- super(), an(
4942
+ super(), cn(
4929
4943
  this,
4930
4944
  t,
4931
- Po,
4932
- Ao,
4933
- tr,
4945
+ Co,
4946
+ Fo,
4947
+ ir,
4934
4948
  {
4935
4949
  endpoint: 15,
4936
4950
  datasource: 16,
@@ -4945,7 +4959,7 @@ class Ur extends un {
4945
4959
  mbsource: 22,
4946
4960
  usesinglevendorfilter: 23
4947
4961
  },
4948
- _o,
4962
+ wo,
4949
4963
  [-1, -1]
4950
4964
  );
4951
4965
  }
@@ -4953,121 +4967,121 @@ class Ur extends un {
4953
4967
  return this.$$.ctx[15];
4954
4968
  }
4955
4969
  set endpoint(t) {
4956
- this.$$set({ endpoint: t }), D();
4970
+ this.$$set({ endpoint: t }), $();
4957
4971
  }
4958
4972
  get datasource() {
4959
4973
  return this.$$.ctx[16];
4960
4974
  }
4961
4975
  set datasource(t) {
4962
- this.$$set({ datasource: t }), D();
4976
+ this.$$set({ datasource: t }), $();
4963
4977
  }
4964
4978
  get lang() {
4965
4979
  return this.$$.ctx[17];
4966
4980
  }
4967
4981
  set lang(t) {
4968
- this.$$set({ lang: t }), D();
4982
+ this.$$set({ lang: t }), $();
4969
4983
  }
4970
4984
  get translationurl() {
4971
4985
  return this.$$.ctx[18];
4972
4986
  }
4973
4987
  set translationurl(t) {
4974
- this.$$set({ translationurl: t }), D();
4988
+ this.$$set({ translationurl: t }), $();
4975
4989
  }
4976
4990
  get clientstyling() {
4977
4991
  return this.$$.ctx[19];
4978
4992
  }
4979
4993
  set clientstyling(t) {
4980
- this.$$set({ clientstyling: t }), D();
4994
+ this.$$set({ clientstyling: t }), $();
4981
4995
  }
4982
4996
  get clientstylingurl() {
4983
4997
  return this.$$.ctx[20];
4984
4998
  }
4985
4999
  set clientstylingurl(t) {
4986
- this.$$set({ clientstylingurl: t }), D();
5000
+ this.$$set({ clientstylingurl: t }), $();
4987
5001
  }
4988
5002
  get categoryid() {
4989
5003
  return this.$$.ctx[21];
4990
5004
  }
4991
5005
  set categoryid(t) {
4992
- this.$$set({ categoryid: t }), D();
5006
+ this.$$set({ categoryid: t }), $();
4993
5007
  }
4994
5008
  get addfilterselector() {
4995
5009
  return this.$$.ctx[0];
4996
5010
  }
4997
5011
  set addfilterselector(t) {
4998
- this.$$set({ addfilterselector: t }), D();
5012
+ this.$$set({ addfilterselector: t }), $();
4999
5013
  }
5000
5014
  get addsortingselector() {
5001
5015
  return this.$$.ctx[1];
5002
5016
  }
5003
5017
  set addsortingselector(t) {
5004
- this.$$set({ addsortingselector: t }), D();
5018
+ this.$$set({ addsortingselector: t }), $();
5005
5019
  }
5006
5020
  get filterbylogo() {
5007
5021
  return this.$$.ctx[2];
5008
5022
  }
5009
5023
  set filterbylogo(t) {
5010
- this.$$set({ filterbylogo: t }), D();
5024
+ this.$$set({ filterbylogo: t }), $();
5011
5025
  }
5012
5026
  get mbsource() {
5013
5027
  return this.$$.ctx[22];
5014
5028
  }
5015
5029
  set mbsource(t) {
5016
- this.$$set({ mbsource: t }), D();
5030
+ this.$$set({ mbsource: t }), $();
5017
5031
  }
5018
5032
  get usesinglevendorfilter() {
5019
5033
  return this.$$.ctx[23];
5020
5034
  }
5021
5035
  set usesinglevendorfilter(t) {
5022
- this.$$set({ usesinglevendorfilter: t }), D();
5036
+ this.$$set({ usesinglevendorfilter: t }), $();
5023
5037
  }
5024
5038
  }
5025
- ln(Ur, { endpoint: {}, datasource: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, categoryid: {}, addfilterselector: {}, addsortingselector: {}, filterbylogo: {}, mbsource: {}, usesinglevendorfilter: {} }, [], [], !0);
5026
- const Do = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5039
+ fn(kr, { endpoint: {}, datasource: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, categoryid: {}, addfilterselector: {}, addsortingselector: {}, filterbylogo: {}, mbsource: {}, usesinglevendorfilter: {} }, [], [], !0);
5040
+ const ko = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5027
5041
  __proto__: null,
5028
- default: Ur
5042
+ default: kr
5029
5043
  }, Symbol.toStringTag, { value: "Module" }));
5030
5044
  export {
5031
- ne as $,
5032
- go as A,
5033
- yo as B,
5034
- Bt as C,
5035
- Qr as D,
5036
- fo as E,
5037
- No as F,
5038
- we as G,
5039
- Io as H,
5040
- Lo as I,
5041
- Uo as J,
5042
- Ro as K,
5043
- Mo as L,
5045
+ ie as $,
5046
+ vo as A,
5047
+ xo as B,
5048
+ It as C,
5049
+ en as D,
5050
+ bo as E,
5051
+ Do as F,
5052
+ Se as G,
5053
+ Mo as H,
5054
+ Ro as I,
5055
+ Go as J,
5056
+ $o as K,
5057
+ Uo as L,
5044
5058
  _e as M,
5045
- Do as N,
5046
- un as S,
5047
- Ir as a,
5048
- zr as b,
5049
- ln as c,
5050
- X as d,
5051
- F as e,
5052
- D as f,
5053
- Ht as g,
5054
- Co as h,
5055
- an as i,
5056
- g as j,
5057
- Oo as k,
5058
- W as l,
5059
- _ as m,
5060
- re as n,
5061
- k as o,
5062
- j as p,
5063
- Wr as q,
5064
- Kr as r,
5065
- tr as s,
5066
- G as t,
5067
- Ue as u,
5068
- Fo as v,
5069
- po as w,
5070
- mo as x,
5071
- et as y,
5072
- bo as z
5059
+ ko as N,
5060
+ dn as S,
5061
+ Rr as a,
5062
+ qr as b,
5063
+ fn as c,
5064
+ W as d,
5065
+ B as e,
5066
+ $ as f,
5067
+ Bt as g,
5068
+ Lo as h,
5069
+ cn as i,
5070
+ b as j,
5071
+ No as k,
5072
+ z as l,
5073
+ v as m,
5074
+ ne as n,
5075
+ j as o,
5076
+ V as p,
5077
+ Qr as q,
5078
+ nn as r,
5079
+ ir as s,
5080
+ k as t,
5081
+ _o as u,
5082
+ De as v,
5083
+ Oo as w,
5084
+ go as x,
5085
+ yo as y,
5086
+ rt as z
5073
5087
  };