@everymatrix/casino-most-played-section 1.61.0 → 1.62.0

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