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