@everymatrix/casino-last-played-section 1.74.1 → 1.74.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/components/{CasinoFilter-B298XSri.js → CasinoFilter-BPwlHha2.js} +1035 -1056
  2. package/components/CasinoFilter-BTWS0FsQ.cjs +18 -0
  3. package/components/{CasinoFilter-CI9Hpq8Q.js → CasinoFilter-BUlwRomz.js} +988 -1009
  4. package/components/CasinoGameThumbnail-6gj212_i.cjs +47 -0
  5. package/components/{CasinoGameThumbnail-DE-9Pj_w.js → CasinoGameThumbnail-CIPUqxT7.js} +776 -792
  6. package/components/{CasinoGameThumbnail-BgCQYWCJ.js → CasinoGameThumbnail-CRJt980b.js} +1273 -1257
  7. package/components/{CasinoGamesCategorySection-BjRJuJe9.js → CasinoGamesCategorySection--M4HOJTs.js} +270 -270
  8. package/components/{CasinoGamesCategorySection-BhI5BYz5.js → CasinoGamesCategorySection-BCGzm5PP.js} +272 -272
  9. package/components/{CasinoGamesCategorySection-CRDdWRki.cjs → CasinoGamesCategorySection-Dm94_v6W.cjs} +1 -1
  10. package/components/{CasinoLastPlayedSection-DQCTAJ5b.cjs → CasinoLastPlayedSection-C0boObsT.cjs} +1 -1
  11. package/components/{CasinoLastPlayedSection-CRNEAatg.js → CasinoLastPlayedSection-COfBV9lA.js} +28 -28
  12. package/components/{CasinoLastPlayedSection-N-ZqM4f4.js → CasinoLastPlayedSection-DMmLtujJ.js} +36 -36
  13. package/components/{CasinoSort-TaExws8s.cjs → CasinoSort-BC0bXCb5.cjs} +1 -1
  14. package/components/{CasinoSort-Chq8ZphV.js → CasinoSort-CwuCYmVi.js} +107 -108
  15. package/components/{CasinoSort-Bq1Eph95.js → CasinoSort-O-SBq3yY.js} +114 -113
  16. package/es2015/casino-last-played-section.cjs +1 -1
  17. package/es2015/casino-last-played-section.js +1 -1
  18. package/esnext/casino-last-played-section.js +1 -1
  19. package/package.json +1 -1
  20. package/stencil/index-97d17652-BD-QREJe.js +558 -0
  21. package/stencil/index-97d17652-DJqGt8q2.js +542 -0
  22. package/stencil/index-97d17652-tiiCeQFu.cjs +1 -0
  23. package/stencil/{ui-image-BaHsVAxH.cjs → ui-image-BMiZteNE.cjs} +1 -1
  24. package/stencil/{ui-image-CHeV8e9p.js → ui-image-BW8AeEVd.js} +1 -1
  25. package/stencil/{ui-image-C7s6Uvn5.js → ui-image-CX3MBBZL.js} +1 -1
  26. package/stencil/{ui-image-b7b48fe5-ByRuJtdE.js → ui-image-b7b48fe5-2Ir9VtWc.js} +1 -1
  27. package/stencil/{ui-image-b7b48fe5-D6iig_uN.js → ui-image-b7b48fe5-AJGQkQBu.js} +1 -1
  28. package/stencil/{ui-image-b7b48fe5-DG83WzAo.cjs → ui-image-b7b48fe5-pdIH5TBa.cjs} +1 -1
  29. package/stencil/{ui-image_2-DdFjzzNO.cjs → ui-image_2-BGf0VFLf.cjs} +1 -1
  30. package/stencil/{ui-image_2-qO3reSlr.js → ui-image_2-Dh5Eqdlm.js} +2 -2
  31. package/stencil/{ui-image_2-Bm97-wkj.js → ui-image_2-_K8Pt3w9.js} +2 -2
  32. package/components/CasinoFilter-Db45KoqP.cjs +0 -18
  33. package/components/CasinoGameThumbnail-CZ2KyRKH.cjs +0 -47
  34. package/stencil/index-97d17652--F7PvMq9.js +0 -542
  35. package/stencil/index-97d17652-BhLhk_xz.cjs +0 -1
  36. package/stencil/index-97d17652-CCFHkzJw.js +0 -558
@@ -1,50 +1,50 @@
1
- function G() {
1
+ function k() {
2
2
  }
3
- function qt(e) {
3
+ function Qt(e) {
4
4
  return e();
5
5
  }
6
- function Et() {
6
+ function xt() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
- function q(e) {
10
- e.forEach(qt);
9
+ function Y(e) {
10
+ e.forEach(Qt);
11
11
  }
12
- function vt(e) {
12
+ function bt(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function Yt(e, t) {
15
+ function qt(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
18
  let Fe;
19
- function wt(e, t) {
19
+ function Et(e, t) {
20
20
  return e === t ? !0 : (Fe || (Fe = document.createElement("a")), Fe.href = t, e === Fe.href);
21
21
  }
22
22
  function Rr(e) {
23
23
  return Object.keys(e).length === 0;
24
24
  }
25
- function Kt(e, ...t) {
25
+ function Yt(e, ...t) {
26
26
  if (e == null) {
27
27
  for (const n of t)
28
28
  n(void 0);
29
- return G;
29
+ return k;
30
30
  }
31
31
  const r = e.subscribe(...t);
32
32
  return r.unsubscribe ? () => r.unsubscribe() : r;
33
33
  }
34
- function $r(e, t, r) {
35
- e.$$.on_destroy.push(Kt(t, r));
34
+ function Dr(e, t, r) {
35
+ e.$$.on_destroy.push(Yt(t, r));
36
36
  }
37
- function _(e, t) {
37
+ function v(e, t) {
38
38
  e.appendChild(t);
39
39
  }
40
40
  function Ur(e, t, r) {
41
- const n = Dr(e);
41
+ const n = $r(e);
42
42
  if (!n.getElementById(t)) {
43
43
  const i = B("style");
44
44
  i.id = t, i.textContent = r, Gr(n, i);
45
45
  }
46
46
  }
47
- function Dr(e) {
47
+ function $r(e) {
48
48
  if (!e)
49
49
  return document;
50
50
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -55,7 +55,7 @@ function Dr(e) {
55
55
  ) : e.ownerDocument;
56
56
  }
57
57
  function Gr(e, t) {
58
- return _(
58
+ return v(
59
59
  /** @type {Document} */
60
60
  e.head || e,
61
61
  t
@@ -64,7 +64,7 @@ function Gr(e, t) {
64
64
  function W(e, t, r) {
65
65
  e.insertBefore(t, r || null);
66
66
  }
67
- function k(e) {
67
+ function j(e) {
68
68
  e.parentNode && e.parentNode.removeChild(e);
69
69
  }
70
70
  function kr(e, t) {
@@ -74,42 +74,42 @@ function kr(e, t) {
74
74
  function B(e) {
75
75
  return document.createElement(e);
76
76
  }
77
- function xe(e) {
77
+ function we(e) {
78
78
  return document.createElementNS("http://www.w3.org/2000/svg", e);
79
79
  }
80
- function D(e) {
80
+ function G(e) {
81
81
  return document.createTextNode(e);
82
82
  }
83
- function V() {
84
- return D(" ");
83
+ function X() {
84
+ return G(" ");
85
85
  }
86
- function xo() {
87
- return D("");
86
+ function _o() {
87
+ return G("");
88
88
  }
89
89
  function Re(e, t, r, n) {
90
90
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
91
91
  }
92
- function g(e, t, r) {
92
+ function b(e, t, r) {
93
93
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
94
94
  }
95
- function Eo(e, t, r) {
95
+ function xo(e, t, r) {
96
96
  const n = t.toLowerCase();
97
- n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : g(e, t, r);
97
+ n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : b(e, t, r);
98
98
  }
99
99
  function jr(e) {
100
100
  return Array.from(e.childNodes);
101
101
  }
102
- function te(e, t) {
102
+ function re(e, t) {
103
103
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
104
104
  t);
105
105
  }
106
- function St(e, t) {
106
+ function wt(e, t) {
107
107
  e.value = t ?? "";
108
108
  }
109
- function wo(e, t, r) {
109
+ function Eo(e, t, r) {
110
110
  e.classList.toggle(t, !!r);
111
111
  }
112
- class So {
112
+ class wo {
113
113
  /**
114
114
  * @private
115
115
  * @default false
@@ -140,7 +140,7 @@ class So {
140
140
  * @returns {void}
141
141
  */
142
142
  m(t, r, n = null) {
143
- this.e || (this.is_svg ? this.e = xe(
143
+ this.e || (this.is_svg ? this.e = we(
144
144
  /** @type {keyof SVGElementTagNameMap} */
145
145
  r.nodeName
146
146
  ) : this.e = B(
@@ -176,7 +176,7 @@ class So {
176
176
  /**
177
177
  * @returns {void} */
178
178
  d() {
179
- this.n.forEach(k);
179
+ this.n.forEach(j);
180
180
  }
181
181
  }
182
182
  function Vr(e) {
@@ -188,66 +188,66 @@ function Vr(e) {
188
188
  }
189
189
  ), t;
190
190
  }
191
- let we;
192
- function Ee(e) {
193
- we = e;
191
+ let Te;
192
+ function Se(e) {
193
+ Te = e;
194
194
  }
195
- function er() {
196
- if (!we)
195
+ function Kt() {
196
+ if (!Te)
197
197
  throw new Error("Function called outside component initialization");
198
- return we;
198
+ return Te;
199
199
  }
200
200
  function Xr(e) {
201
- er().$$.on_mount.push(e);
201
+ Kt().$$.on_mount.push(e);
202
202
  }
203
- function To(e) {
204
- er().$$.on_destroy.push(e);
203
+ function So(e) {
204
+ Kt().$$.on_destroy.push(e);
205
205
  }
206
- const ce = [], tt = [];
206
+ const ce = [], et = [];
207
207
  let fe = [];
208
- const Tt = [], tr = /* @__PURE__ */ Promise.resolve();
209
- let rt = !1;
210
- function rr() {
211
- rt || (rt = !0, tr.then($));
208
+ const St = [], er = /* @__PURE__ */ Promise.resolve();
209
+ let tt = !1;
210
+ function tr() {
211
+ tt || (tt = !0, er.then(U));
212
212
  }
213
- function Ho() {
214
- return rr(), tr;
213
+ function To() {
214
+ return tr(), er;
215
215
  }
216
- function nt(e) {
216
+ function rt(e) {
217
217
  fe.push(e);
218
218
  }
219
- const ze = /* @__PURE__ */ new Set();
219
+ const We = /* @__PURE__ */ new Set();
220
220
  let ue = 0;
221
- function $() {
221
+ function U() {
222
222
  if (ue !== 0)
223
223
  return;
224
- const e = we;
224
+ const e = Te;
225
225
  do {
226
226
  try {
227
227
  for (; ue < ce.length; ) {
228
228
  const t = ce[ue];
229
- ue++, Ee(t), Wr(t.$$);
229
+ ue++, Se(t), Wr(t.$$);
230
230
  }
231
231
  } catch (t) {
232
232
  throw ce.length = 0, ue = 0, t;
233
233
  }
234
- for (Ee(null), ce.length = 0, ue = 0; tt.length; )
235
- tt.pop()();
234
+ for (Se(null), ce.length = 0, ue = 0; et.length; )
235
+ et.pop()();
236
236
  for (let t = 0; t < fe.length; t += 1) {
237
237
  const r = fe[t];
238
- ze.has(r) || (ze.add(r), r());
238
+ We.has(r) || (We.add(r), r());
239
239
  }
240
240
  fe.length = 0;
241
241
  } while (ce.length);
242
- for (; Tt.length; )
243
- Tt.pop()();
244
- rt = !1, ze.clear(), Ee(e);
242
+ for (; St.length; )
243
+ St.pop()();
244
+ tt = !1, We.clear(), Se(e);
245
245
  }
246
246
  function Wr(e) {
247
247
  if (e.fragment !== null) {
248
- e.update(), q(e.before_update);
248
+ e.update(), Y(e.before_update);
249
249
  const t = e.dirty;
250
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(nt);
250
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(rt);
251
251
  }
252
252
  }
253
253
  function zr(e) {
@@ -255,67 +255,67 @@ function zr(e) {
255
255
  fe.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), fe = t;
256
256
  }
257
257
  const Zr = /* @__PURE__ */ new Set();
258
- function nr(e, t) {
258
+ function rr(e, t) {
259
259
  e && e.i && (Zr.delete(e), e.i(t));
260
260
  }
261
- function Ht(e) {
261
+ function Tt(e) {
262
262
  return e?.length !== void 0 ? e : Array.from(e);
263
263
  }
264
- function Ao(e, t) {
264
+ function Ho(e, t) {
265
265
  e.d(1), t.delete(e.key);
266
266
  }
267
- function Po(e, t, r, n, i, o, s, a, h, l, u, p) {
268
- let c = e.length, m = o.length, v = c;
269
- const y = {};
270
- for (; v--; )
271
- y[e[v].key] = v;
272
- const T = [], H = /* @__PURE__ */ new Map(), S = /* @__PURE__ */ new Map(), b = [];
273
- for (v = m; v--; ) {
274
- const A = p(i, o, v), P = r(A);
267
+ function Ao(e, t, r, n, i, o, s, a, h, l, u, d) {
268
+ let f = e.length, p = o.length, y = f;
269
+ const g = {};
270
+ for (; y--; )
271
+ g[e[y].key] = y;
272
+ const S = [], H = /* @__PURE__ */ new Map(), E = /* @__PURE__ */ new Map(), m = [];
273
+ for (y = p; y--; ) {
274
+ const A = d(i, o, y), P = r(A);
275
275
  let N = s.get(P);
276
- N ? b.push(() => N.p(A, t)) : (N = l(P, A), N.c()), H.set(P, T[v] = N), P in y && S.set(P, Math.abs(v - y[P]));
276
+ N ? m.push(() => N.p(A, t)) : (N = l(P, A), N.c()), H.set(P, S[y] = N), P in g && E.set(P, Math.abs(y - g[P]));
277
277
  }
278
- const I = /* @__PURE__ */ new Set(), L = /* @__PURE__ */ new Set();
279
- function M(A) {
280
- nr(A, 1), A.m(a, u), s.set(A.key, A), u = A.first, m--;
278
+ const O = /* @__PURE__ */ new Set(), L = /* @__PURE__ */ new Set();
279
+ function R(A) {
280
+ rr(A, 1), A.m(a, u), s.set(A.key, A), u = A.first, p--;
281
281
  }
282
- for (; c && m; ) {
283
- const A = T[m - 1], P = e[c - 1], N = A.key, z = P.key;
284
- A === P ? (u = A.first, c--, m--) : H.has(z) ? !s.has(N) || I.has(N) ? M(A) : L.has(z) ? c-- : S.get(N) > S.get(z) ? (L.add(N), M(A)) : (I.add(z), c--) : (h(P, s), c--);
282
+ for (; f && p; ) {
283
+ const A = S[p - 1], P = e[f - 1], N = A.key, V = P.key;
284
+ 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--);
285
285
  }
286
- for (; c--; ) {
287
- const A = e[c];
286
+ for (; f--; ) {
287
+ const A = e[f];
288
288
  H.has(A.key) || h(A, s);
289
289
  }
290
- for (; m; )
291
- M(T[m - 1]);
292
- return q(b), T;
290
+ for (; p; )
291
+ R(S[p - 1]);
292
+ return Y(m), S;
293
293
  }
294
294
  function Jr(e, t, r) {
295
295
  const { fragment: n, after_update: i } = e.$$;
296
- n && n.m(t, r), nt(() => {
297
- const o = e.$$.on_mount.map(qt).filter(vt);
298
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : q(o), e.$$.on_mount = [];
299
- }), i.forEach(nt);
296
+ n && n.m(t, r), rt(() => {
297
+ const o = e.$$.on_mount.map(Qt).filter(bt);
298
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Y(o), e.$$.on_mount = [];
299
+ }), i.forEach(rt);
300
300
  }
301
301
  function Qr(e, t) {
302
302
  const r = e.$$;
303
- r.fragment !== null && (zr(r.after_update), q(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
303
+ r.fragment !== null && (zr(r.after_update), Y(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
304
304
  }
305
305
  function qr(e, t) {
306
- e.$$.dirty[0] === -1 && (ce.push(e), rr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
306
+ e.$$.dirty[0] === -1 && (ce.push(e), tr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
307
307
  }
308
308
  function Yr(e, t, r, n, i, o, s = null, a = [-1]) {
309
- const h = we;
310
- Ee(e);
309
+ const h = Te;
310
+ Se(e);
311
311
  const l = e.$$ = {
312
312
  fragment: null,
313
313
  ctx: [],
314
314
  // state
315
315
  props: o,
316
- update: G,
316
+ update: k,
317
317
  not_equal: i,
318
- bound: Et(),
318
+ bound: xt(),
319
319
  // lifecycle
320
320
  on_mount: [],
321
321
  on_destroy: [],
@@ -324,28 +324,28 @@ function Yr(e, t, r, n, i, o, s = null, a = [-1]) {
324
324
  after_update: [],
325
325
  context: new Map(t.context || (h ? h.$$.context : [])),
326
326
  // everything else
327
- callbacks: Et(),
327
+ callbacks: xt(),
328
328
  dirty: a,
329
329
  skip_bound: !1,
330
330
  root: t.target || h.$$.root
331
331
  };
332
332
  s && s(l.root);
333
333
  let u = !1;
334
- if (l.ctx = r ? r(e, t.props || {}, (p, c, ...m) => {
335
- const v = m.length ? m[0] : c;
336
- return l.ctx && i(l.ctx[p], l.ctx[p] = v) && (!l.skip_bound && l.bound[p] && l.bound[p](v), u && qr(e, p)), c;
337
- }) : [], l.update(), u = !0, q(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
334
+ if (l.ctx = r ? r(e, t.props || {}, (d, f, ...p) => {
335
+ const y = p.length ? p[0] : f;
336
+ return l.ctx && i(l.ctx[d], l.ctx[d] = y) && (!l.skip_bound && l.bound[d] && l.bound[d](y), u && qr(e, d)), f;
337
+ }) : [], l.update(), u = !0, Y(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
338
338
  if (t.hydrate) {
339
- const p = jr(t.target);
340
- l.fragment && l.fragment.l(p), p.forEach(k);
339
+ const d = jr(t.target);
340
+ l.fragment && l.fragment.l(d), d.forEach(j);
341
341
  } else
342
342
  l.fragment && l.fragment.c();
343
- t.intro && nr(e.$$.fragment), Jr(e, t.target, t.anchor), $();
343
+ t.intro && rr(e.$$.fragment), Jr(e, t.target, t.anchor), U();
344
344
  }
345
- Ee(h);
345
+ Se(h);
346
346
  }
347
- let ir;
348
- typeof HTMLElement == "function" && (ir = class extends HTMLElement {
347
+ let nr;
348
+ typeof HTMLElement == "function" && (nr = class extends HTMLElement {
349
349
  /** The Svelte component constructor */
350
350
  $$ctor;
351
351
  /** Slots */
@@ -387,7 +387,7 @@ typeof HTMLElement == "function" && (ir = class extends HTMLElement {
387
387
  let o;
388
388
  return {
389
389
  c: function() {
390
- o = B("slot"), i !== "default" && g(o, "name", i);
390
+ o = B("slot"), i !== "default" && b(o, "name", i);
391
391
  },
392
392
  /**
393
393
  * @param {HTMLElement} target
@@ -397,7 +397,7 @@ typeof HTMLElement == "function" && (ir = class extends HTMLElement {
397
397
  W(h, o, l);
398
398
  },
399
399
  d: function(h) {
400
- h && k(o);
400
+ h && j(o);
401
401
  }
402
402
  };
403
403
  };
@@ -409,7 +409,7 @@ typeof HTMLElement == "function" && (ir = class extends HTMLElement {
409
409
  i in r && (t[i] = [e(i)]);
410
410
  for (const i of this.attributes) {
411
411
  const o = this.$$g_p(i.name);
412
- o in this.$$d || (this.$$d[o] = Ie(o, i.value, this.$$p_d, "toProp"));
412
+ o in this.$$d || (this.$$d[o] = Oe(o, i.value, this.$$p_d, "toProp"));
413
413
  }
414
414
  for (const i in this.$$p_d)
415
415
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -427,7 +427,7 @@ typeof HTMLElement == "function" && (ir = class extends HTMLElement {
427
427
  this.$$r = !0;
428
428
  for (const i in this.$$p_d)
429
429
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
430
- const o = Ie(
430
+ const o = Oe(
431
431
  i,
432
432
  this.$$d[i],
433
433
  this.$$p_d,
@@ -449,7 +449,7 @@ typeof HTMLElement == "function" && (ir = class extends HTMLElement {
449
449
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
450
450
  // and setting attributes through setAttribute etc, this is helpful
451
451
  attributeChangedCallback(e, t, r) {
452
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = Ie(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
452
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = Oe(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
453
453
  }
454
454
  disconnectedCallback() {
455
455
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -462,7 +462,7 @@ typeof HTMLElement == "function" && (ir = class extends HTMLElement {
462
462
  ) || e;
463
463
  }
464
464
  });
465
- function Ie(e, t, r, n) {
465
+ function Oe(e, t, r, n) {
466
466
  const i = r[e]?.type;
467
467
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
468
468
  return t;
@@ -492,7 +492,7 @@ function Ie(e, t, r, n) {
492
492
  }
493
493
  }
494
494
  function Kr(e, t, r, n, i, o) {
495
- let s = class extends ir {
495
+ let s = class extends nr {
496
496
  constructor() {
497
497
  super(e, r, i), this.$$p_d = t;
498
498
  }
@@ -508,7 +508,7 @@ function Kr(e, t, r, n, i, o) {
508
508
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
509
509
  },
510
510
  set(h) {
511
- h = Ie(a, h, t), this.$$d[a] = h, this.$$c?.$set({ [a]: h });
511
+ h = Oe(a, h, t), this.$$d[a] = h, this.$$c?.$set({ [a]: h });
512
512
  }
513
513
  });
514
514
  }), n.forEach((a) => {
@@ -539,7 +539,7 @@ class en {
539
539
  $$set = void 0;
540
540
  /** @returns {void} */
541
541
  $destroy() {
542
- Qr(this, 1), this.$destroy = G;
542
+ Qr(this, 1), this.$destroy = k;
543
543
  }
544
544
  /**
545
545
  * @template {Extract<keyof Events, string>} K
@@ -548,8 +548,8 @@ class en {
548
548
  * @returns {() => void}
549
549
  */
550
550
  $on(t, r) {
551
- if (!vt(r))
552
- return G;
551
+ if (!bt(r))
552
+ return k;
553
553
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
554
554
  return n.push(r), () => {
555
555
  const i = n.indexOf(r);
@@ -580,24 +580,43 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
580
580
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
581
581
  PERFORMANCE OF THIS SOFTWARE.
582
582
  ***************************************************************************** */
583
- var it = function(e, t) {
584
- return it = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
583
+ var nt = function(e, t) {
584
+ return nt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
585
585
  r.__proto__ = n;
586
586
  } || function(r, n) {
587
587
  for (var i in n)
588
588
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
589
- }, it(e, t);
589
+ }, nt(e, t);
590
590
  };
591
- function He(e, t) {
591
+ function J(e, t) {
592
592
  if (typeof t != "function" && t !== null)
593
593
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
594
- it(e, t);
594
+ nt(e, t);
595
595
  function r() {
596
596
  this.constructor = e;
597
597
  }
598
598
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
599
599
  }
600
- function ot(e) {
600
+ var w = function() {
601
+ return w = Object.assign || function(t) {
602
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
603
+ r = arguments[n];
604
+ for (var o in r)
605
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
606
+ }
607
+ return t;
608
+ }, w.apply(this, arguments);
609
+ };
610
+ function rn(e, t) {
611
+ var r = {};
612
+ for (var n in e)
613
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
614
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
615
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
616
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
617
+ return r;
618
+ }
619
+ function it(e) {
601
620
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
602
621
  if (r)
603
622
  return r.call(e);
@@ -609,7 +628,7 @@ function ot(e) {
609
628
  };
610
629
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
611
630
  }
612
- function st(e, t) {
631
+ function ot(e, t) {
613
632
  var r = typeof Symbol == "function" && e[Symbol.iterator];
614
633
  if (!r)
615
634
  return e;
@@ -629,8 +648,8 @@ function st(e, t) {
629
648
  }
630
649
  return o;
631
650
  }
632
- function at(e, t, r) {
633
- if (arguments.length === 2)
651
+ function de(e, t, r) {
652
+ if (r || arguments.length === 2)
634
653
  for (var n = 0, i = t.length, o; n < i; n++)
635
654
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
636
655
  return e.concat(o || t);
@@ -638,13 +657,13 @@ function at(e, t, r) {
638
657
  function Z(e) {
639
658
  return typeof e == "function";
640
659
  }
641
- function or(e) {
660
+ function ir(e) {
642
661
  var t = function(n) {
643
662
  Error.call(n), n.stack = new Error().stack;
644
663
  }, r = e(t);
645
664
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
646
665
  }
647
- var Ze = or(function(e) {
666
+ var ze = ir(function(e) {
648
667
  return function(r) {
649
668
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
650
669
  ` + r.map(function(n, i) {
@@ -653,13 +672,13 @@ var Ze = or(function(e) {
653
672
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
654
673
  };
655
674
  });
656
- function lt(e, t) {
675
+ function st(e, t) {
657
676
  if (e) {
658
677
  var r = e.indexOf(t);
659
678
  0 <= r && e.splice(r, 1);
660
679
  }
661
680
  }
662
- var Ge = function() {
681
+ var $e = function() {
663
682
  function e(t) {
664
683
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
665
684
  }
@@ -671,12 +690,12 @@ var Ge = function() {
671
690
  if (s)
672
691
  if (this._parentage = null, Array.isArray(s))
673
692
  try {
674
- for (var a = ot(s), h = a.next(); !h.done; h = a.next()) {
693
+ for (var a = it(s), h = a.next(); !h.done; h = a.next()) {
675
694
  var l = h.value;
676
695
  l.remove(this);
677
696
  }
678
- } catch (y) {
679
- t = { error: y };
697
+ } catch (g) {
698
+ t = { error: g };
680
699
  } finally {
681
700
  try {
682
701
  h && !h.done && (r = a.return) && r.call(a);
@@ -691,26 +710,26 @@ var Ge = function() {
691
710
  if (Z(u))
692
711
  try {
693
712
  u();
694
- } catch (y) {
695
- o = y instanceof Ze ? y.errors : [y];
713
+ } catch (g) {
714
+ o = g instanceof ze ? g.errors : [g];
696
715
  }
697
- var p = this._finalizers;
698
- if (p) {
716
+ var d = this._finalizers;
717
+ if (d) {
699
718
  this._finalizers = null;
700
719
  try {
701
- for (var c = ot(p), m = c.next(); !m.done; m = c.next()) {
702
- var v = m.value;
720
+ for (var f = it(d), p = f.next(); !p.done; p = f.next()) {
721
+ var y = p.value;
703
722
  try {
704
- At(v);
705
- } catch (y) {
706
- o = o ?? [], y instanceof Ze ? o = at(at([], st(o)), st(y.errors)) : o.push(y);
723
+ Ht(y);
724
+ } catch (g) {
725
+ o = o ?? [], g instanceof ze ? o = de(de([], ot(o)), ot(g.errors)) : o.push(g);
707
726
  }
708
727
  }
709
- } catch (y) {
710
- n = { error: y };
728
+ } catch (g) {
729
+ n = { error: g };
711
730
  } finally {
712
731
  try {
713
- m && !m.done && (i = c.return) && i.call(c);
732
+ p && !p.done && (i = f.return) && i.call(f);
714
733
  } finally {
715
734
  if (n)
716
735
  throw n.error;
@@ -718,13 +737,13 @@ var Ge = function() {
718
737
  }
719
738
  }
720
739
  if (o)
721
- throw new Ze(o);
740
+ throw new ze(o);
722
741
  }
723
742
  }, e.prototype.add = function(t) {
724
743
  var r;
725
744
  if (t && t !== this)
726
745
  if (this.closed)
727
- At(t);
746
+ Ht(t);
728
747
  else {
729
748
  if (t instanceof e) {
730
749
  if (t.closed || t._hasParent(this))
@@ -741,28 +760,32 @@ var Ge = function() {
741
760
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
742
761
  }, e.prototype._removeParent = function(t) {
743
762
  var r = this._parentage;
744
- r === t ? this._parentage = null : Array.isArray(r) && lt(r, t);
763
+ r === t ? this._parentage = null : Array.isArray(r) && st(r, t);
745
764
  }, e.prototype.remove = function(t) {
746
765
  var r = this._finalizers;
747
- r && lt(r, t), t instanceof e && t._removeParent(this);
766
+ r && st(r, t), t instanceof e && t._removeParent(this);
748
767
  }, e.EMPTY = function() {
749
768
  var t = new e();
750
769
  return t.closed = !0, t;
751
770
  }(), e;
752
- }(), sr = Ge.EMPTY;
753
- function ar(e) {
754
- return e instanceof Ge || e && "closed" in e && Z(e.remove) && Z(e.add) && Z(e.unsubscribe);
771
+ }(), or = $e.EMPTY;
772
+ function sr(e) {
773
+ return e instanceof $e || e && "closed" in e && Z(e.remove) && Z(e.add) && Z(e.unsubscribe);
755
774
  }
756
- function At(e) {
775
+ function Ht(e) {
757
776
  Z(e) ? e() : e.unsubscribe();
758
777
  }
759
- var rn = {
760
- Promise: void 0
778
+ var ar = {
779
+ onUnhandledError: null,
780
+ onStoppedNotification: null,
781
+ Promise: void 0,
782
+ useDeprecatedSynchronousErrorHandling: !1,
783
+ useDeprecatedNextContext: !1
761
784
  }, nn = {
762
785
  setTimeout: function(e, t) {
763
786
  for (var r = [], n = 2; n < arguments.length; n++)
764
787
  r[n - 2] = arguments[n];
765
- return setTimeout.apply(void 0, at([e, t], st(r)));
788
+ return setTimeout.apply(void 0, de([e, t], ot(r)));
766
789
  },
767
790
  clearTimeout: function(e) {
768
791
  return clearTimeout(e);
@@ -774,19 +797,19 @@ function on(e) {
774
797
  throw e;
775
798
  });
776
799
  }
777
- function Pt() {
800
+ function At() {
778
801
  }
779
802
  function Le(e) {
780
803
  e();
781
804
  }
782
805
  var lr = function(e) {
783
- He(t, e);
806
+ J(t, e);
784
807
  function t(r) {
785
808
  var n = e.call(this) || this;
786
- return n.isStopped = !1, r ? (n.destination = r, ar(r) && r.add(n)) : n.destination = ln, n;
809
+ return n.isStopped = !1, r ? (n.destination = r, sr(r) && r.add(n)) : n.destination = un, n;
787
810
  }
788
811
  return t.create = function(r, n, i) {
789
- return new ut(r, n, i);
812
+ return new at(r, n, i);
790
813
  }, t.prototype.next = function(r) {
791
814
  this.isStopped || this._next(r);
792
815
  }, t.prototype.error = function(r) {
@@ -810,7 +833,11 @@ var lr = function(e) {
810
833
  this.unsubscribe();
811
834
  }
812
835
  }, t;
813
- }(Ge), sn = function() {
836
+ }($e), sn = Function.prototype.bind;
837
+ function Ze(e, t) {
838
+ return sn.call(e, t);
839
+ }
840
+ var an = function() {
814
841
  function e(t) {
815
842
  this.partialObserver = t;
816
843
  }
@@ -841,43 +868,55 @@ var lr = function(e) {
841
868
  Ce(r);
842
869
  }
843
870
  }, e;
844
- }(), ut = function(e) {
845
- He(t, e);
871
+ }(), at = function(e) {
872
+ J(t, e);
846
873
  function t(r, n, i) {
847
874
  var o = e.call(this) || this, s;
848
- return Z(r) || !r ? s = {
849
- next: r ?? void 0,
850
- error: n ?? void 0,
851
- complete: i ?? void 0
852
- } : s = r, o.destination = new sn(s), o;
875
+ if (Z(r) || !r)
876
+ s = {
877
+ next: r ?? void 0,
878
+ error: n ?? void 0,
879
+ complete: i ?? void 0
880
+ };
881
+ else {
882
+ var a;
883
+ o && ar.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
884
+ return o.unsubscribe();
885
+ }, s = {
886
+ next: r.next && Ze(r.next, a),
887
+ error: r.error && Ze(r.error, a),
888
+ complete: r.complete && Ze(r.complete, a)
889
+ }) : s = r;
890
+ }
891
+ return o.destination = new an(s), o;
853
892
  }
854
893
  return t;
855
894
  }(lr);
856
895
  function Ce(e) {
857
896
  on(e);
858
897
  }
859
- function an(e) {
898
+ function ln(e) {
860
899
  throw e;
861
900
  }
862
- var ln = {
901
+ var un = {
863
902
  closed: !0,
864
- next: Pt,
865
- error: an,
866
- complete: Pt
867
- }, un = function() {
903
+ next: At,
904
+ error: ln,
905
+ complete: At
906
+ }, hn = function() {
868
907
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
869
908
  }();
870
- function hn(e) {
909
+ function cn(e) {
871
910
  return e;
872
911
  }
873
- function cn(e) {
874
- return e.length === 0 ? hn : e.length === 1 ? e[0] : function(r) {
912
+ function fn(e) {
913
+ return e.length === 0 ? cn : e.length === 1 ? e[0] : function(r) {
875
914
  return e.reduce(function(n, i) {
876
915
  return i(n);
877
916
  }, r);
878
917
  };
879
918
  }
880
- var Bt = function() {
919
+ var Pt = function() {
881
920
  function e(t) {
882
921
  t && (this._subscribe = t);
883
922
  }
@@ -885,7 +924,7 @@ var Bt = function() {
885
924
  var r = new e();
886
925
  return r.source = this, r.operator = t, r;
887
926
  }, e.prototype.subscribe = function(t, r, n) {
888
- var i = this, o = pn(t) ? t : new ut(t, r, n);
927
+ var i = this, o = pn(t) ? t : new at(t, r, n);
889
928
  return Le(function() {
890
929
  var s = i, a = s.operator, h = s.source;
891
930
  o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
@@ -898,8 +937,8 @@ var Bt = function() {
898
937
  }
899
938
  }, e.prototype.forEach = function(t, r) {
900
939
  var n = this;
901
- return r = Ft(r), new r(function(i, o) {
902
- var s = new ut({
940
+ return r = Bt(r), new r(function(i, o) {
941
+ var s = new at({
903
942
  next: function(a) {
904
943
  try {
905
944
  t(a);
@@ -915,15 +954,15 @@ var Bt = function() {
915
954
  }, e.prototype._subscribe = function(t) {
916
955
  var r;
917
956
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
918
- }, e.prototype[un] = function() {
957
+ }, e.prototype[hn] = function() {
919
958
  return this;
920
959
  }, e.prototype.pipe = function() {
921
960
  for (var t = [], r = 0; r < arguments.length; r++)
922
961
  t[r] = arguments[r];
923
- return cn(t)(this);
962
+ return fn(t)(this);
924
963
  }, e.prototype.toPromise = function(t) {
925
964
  var r = this;
926
- return t = Ft(t), new t(function(n, i) {
965
+ return t = Bt(t), new t(function(n, i) {
927
966
  var o;
928
967
  r.subscribe(function(s) {
929
968
  return o = s;
@@ -937,32 +976,32 @@ var Bt = function() {
937
976
  return new e(t);
938
977
  }, e;
939
978
  }();
940
- function Ft(e) {
979
+ function Bt(e) {
941
980
  var t;
942
- return (t = e ?? rn.Promise) !== null && t !== void 0 ? t : Promise;
981
+ return (t = e ?? ar.Promise) !== null && t !== void 0 ? t : Promise;
943
982
  }
944
- function fn(e) {
983
+ function dn(e) {
945
984
  return e && Z(e.next) && Z(e.error) && Z(e.complete);
946
985
  }
947
986
  function pn(e) {
948
- return e && e instanceof lr || fn(e) && ar(e);
987
+ return e && e instanceof lr || dn(e) && sr(e);
949
988
  }
950
- var dn = or(function(e) {
989
+ var mn = ir(function(e) {
951
990
  return function() {
952
991
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
953
992
  };
954
993
  }), ur = function(e) {
955
- He(t, e);
994
+ J(t, e);
956
995
  function t() {
957
996
  var r = e.call(this) || this;
958
997
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
959
998
  }
960
999
  return t.prototype.lift = function(r) {
961
- var n = new Ct(this, this);
1000
+ var n = new Ft(this, this);
962
1001
  return n.operator = r, n;
963
1002
  }, t.prototype._throwIfClosed = function() {
964
1003
  if (this.closed)
965
- throw new dn();
1004
+ throw new mn();
966
1005
  }, t.prototype.next = function(r) {
967
1006
  var n = this;
968
1007
  Le(function() {
@@ -970,7 +1009,7 @@ var dn = or(function(e) {
970
1009
  if (n._throwIfClosed(), !n.isStopped) {
971
1010
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
972
1011
  try {
973
- for (var s = ot(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
1012
+ for (var s = it(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
974
1013
  var h = a.value;
975
1014
  h.next(r);
976
1015
  }
@@ -1019,20 +1058,20 @@ var dn = or(function(e) {
1019
1058
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1020
1059
  }, t.prototype._innerSubscribe = function(r) {
1021
1060
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
1022
- return o || s ? sr : (this.currentObservers = null, a.push(r), new Ge(function() {
1023
- n.currentObservers = null, lt(a, r);
1061
+ return o || s ? or : (this.currentObservers = null, a.push(r), new $e(function() {
1062
+ n.currentObservers = null, st(a, r);
1024
1063
  }));
1025
1064
  }, t.prototype._checkFinalizedStatuses = function(r) {
1026
1065
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
1027
1066
  i ? r.error(o) : s && r.complete();
1028
1067
  }, t.prototype.asObservable = function() {
1029
- var r = new Bt();
1068
+ var r = new Pt();
1030
1069
  return r.source = this, r;
1031
1070
  }, t.create = function(r, n) {
1032
- return new Ct(r, n);
1071
+ return new Ft(r, n);
1033
1072
  }, t;
1034
- }(Bt), Ct = function(e) {
1035
- He(t, e);
1073
+ }(Pt), Ft = function(e) {
1074
+ J(t, e);
1036
1075
  function t(r, n) {
1037
1076
  var i = e.call(this) || this;
1038
1077
  return i.destination = r, i.source = n, i;
@@ -1048,15 +1087,15 @@ var dn = or(function(e) {
1048
1087
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1049
1088
  }, t.prototype._subscribe = function(r) {
1050
1089
  var n, i;
1051
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : sr;
1090
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : or;
1052
1091
  }, t;
1053
1092
  }(ur), hr = {
1054
1093
  now: function() {
1055
1094
  return (hr.delegate || Date).now();
1056
1095
  },
1057
1096
  delegate: void 0
1058
- }, mn = function(e) {
1059
- He(t, e);
1097
+ }, bn = function(e) {
1098
+ J(t, e);
1060
1099
  function t(r, n, i) {
1061
1100
  r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = hr);
1062
1101
  var o = e.call(this) || this;
@@ -1079,23 +1118,23 @@ var dn = or(function(e) {
1079
1118
  }
1080
1119
  }, t;
1081
1120
  }(ur);
1082
- const Ot = [], It = {}, bn = (e, t = 0) => {
1083
- if (Ot.indexOf(e) == -1) {
1084
- const r = new mn(t);
1085
- It[e] = r, Ot.push(e);
1121
+ const Ct = [], It = {}, gn = (e, t = 0) => {
1122
+ if (Ct.indexOf(e) == -1) {
1123
+ const r = new bn(t);
1124
+ It[e] = r, Ct.push(e);
1086
1125
  }
1087
1126
  return It[e];
1088
1127
  }, he = [];
1089
- function gn(e, t) {
1128
+ function yn(e, t) {
1090
1129
  return {
1091
- subscribe: ke(e, t).subscribe
1130
+ subscribe: Ge(e, t).subscribe
1092
1131
  };
1093
1132
  }
1094
- function ke(e, t = G) {
1133
+ function Ge(e, t = k) {
1095
1134
  let r;
1096
1135
  const n = /* @__PURE__ */ new Set();
1097
1136
  function i(a) {
1098
- if (Yt(e, a) && (e = a, r)) {
1137
+ if (qt(e, a) && (e = a, r)) {
1099
1138
  const h = !he.length;
1100
1139
  for (const l of n)
1101
1140
  l[1](), he.push(l, e);
@@ -1109,86 +1148,86 @@ function ke(e, t = G) {
1109
1148
  function o(a) {
1110
1149
  i(a(e));
1111
1150
  }
1112
- function s(a, h = G) {
1151
+ function s(a, h = k) {
1113
1152
  const l = [a, h];
1114
- return n.add(l), n.size === 1 && (r = t(i, o) || G), a(e), () => {
1153
+ return n.add(l), n.size === 1 && (r = t(i, o) || k), a(e), () => {
1115
1154
  n.delete(l), n.size === 0 && r && (r(), r = null);
1116
1155
  };
1117
1156
  }
1118
1157
  return { set: i, update: o, subscribe: s };
1119
1158
  }
1120
- function ge(e, t, r) {
1159
+ function ye(e, t, r) {
1121
1160
  const n = !Array.isArray(e), i = n ? [e] : e;
1122
1161
  if (!i.every(Boolean))
1123
1162
  throw new Error("derived() expects stores as input, got a falsy value");
1124
1163
  const o = t.length < 2;
1125
- return gn(r, (s, a) => {
1164
+ return yn(r, (s, a) => {
1126
1165
  let h = !1;
1127
1166
  const l = [];
1128
- let u = 0, p = G;
1129
- const c = () => {
1167
+ let u = 0, d = k;
1168
+ const f = () => {
1130
1169
  if (u)
1131
1170
  return;
1132
- p();
1133
- const v = t(n ? l[0] : l, s, a);
1134
- o ? s(v) : p = vt(v) ? v : G;
1135
- }, m = i.map(
1136
- (v, y) => Kt(
1137
- v,
1138
- (T) => {
1139
- l[y] = T, u &= ~(1 << y), h && c();
1171
+ d();
1172
+ const y = t(n ? l[0] : l, s, a);
1173
+ o ? s(y) : d = bt(y) ? y : k;
1174
+ }, p = i.map(
1175
+ (y, g) => Yt(
1176
+ y,
1177
+ (S) => {
1178
+ l[g] = S, u &= ~(1 << g), h && f();
1140
1179
  },
1141
1180
  () => {
1142
- u |= 1 << y;
1181
+ u |= 1 << g;
1143
1182
  }
1144
1183
  )
1145
1184
  );
1146
- return h = !0, c(), function() {
1147
- q(m), p(), h = !1;
1185
+ return h = !0, f(), function() {
1186
+ Y(p), d(), h = !1;
1148
1187
  };
1149
1188
  });
1150
1189
  }
1151
- function yn(e) {
1190
+ function vn(e) {
1152
1191
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1153
1192
  }
1154
- var vn = function(t) {
1155
- return _n(t) && !xn(t);
1193
+ var _n = function(t) {
1194
+ return xn(t) && !En(t);
1156
1195
  };
1157
- function _n(e) {
1196
+ function xn(e) {
1158
1197
  return !!e && typeof e == "object";
1159
1198
  }
1160
- function xn(e) {
1199
+ function En(e) {
1161
1200
  var t = Object.prototype.toString.call(e);
1162
- return t === "[object RegExp]" || t === "[object Date]" || Sn(e);
1163
- }
1164
- var En = typeof Symbol == "function" && Symbol.for, wn = En ? Symbol.for("react.element") : 60103;
1165
- function Sn(e) {
1166
- return e.$$typeof === wn;
1201
+ return t === "[object RegExp]" || t === "[object Date]" || Tn(e);
1167
1202
  }
1203
+ var wn = typeof Symbol == "function" && Symbol.for, Sn = wn ? Symbol.for("react.element") : 60103;
1168
1204
  function Tn(e) {
1205
+ return e.$$typeof === Sn;
1206
+ }
1207
+ function Hn(e) {
1169
1208
  return Array.isArray(e) ? [] : {};
1170
1209
  }
1171
- function Se(e, t) {
1172
- return t.clone !== !1 && t.isMergeableObject(e) ? pe(Tn(e), e, t) : e;
1210
+ function He(e, t) {
1211
+ return t.clone !== !1 && t.isMergeableObject(e) ? pe(Hn(e), e, t) : e;
1173
1212
  }
1174
- function Hn(e, t, r) {
1213
+ function An(e, t, r) {
1175
1214
  return e.concat(t).map(function(n) {
1176
- return Se(n, r);
1215
+ return He(n, r);
1177
1216
  });
1178
1217
  }
1179
- function An(e, t) {
1218
+ function Pn(e, t) {
1180
1219
  if (!t.customMerge)
1181
1220
  return pe;
1182
1221
  var r = t.customMerge(e);
1183
1222
  return typeof r == "function" ? r : pe;
1184
1223
  }
1185
- function Pn(e) {
1224
+ function Bn(e) {
1186
1225
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1187
1226
  return Object.propertyIsEnumerable.call(e, t);
1188
1227
  }) : [];
1189
1228
  }
1190
- function Lt(e) {
1191
- return Object.keys(e).concat(Pn(e));
1229
+ function Ot(e) {
1230
+ return Object.keys(e).concat(Bn(e));
1192
1231
  }
1193
1232
  function cr(e, t) {
1194
1233
  try {
@@ -1197,21 +1236,21 @@ function cr(e, t) {
1197
1236
  return !1;
1198
1237
  }
1199
1238
  }
1200
- function Bn(e, t) {
1239
+ function Fn(e, t) {
1201
1240
  return cr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1202
1241
  }
1203
- function Fn(e, t, r) {
1242
+ function Cn(e, t, r) {
1204
1243
  var n = {};
1205
- return r.isMergeableObject(e) && Lt(e).forEach(function(i) {
1206
- n[i] = Se(e[i], r);
1207
- }), Lt(t).forEach(function(i) {
1208
- Bn(e, i) || (cr(e, i) && r.isMergeableObject(t[i]) ? n[i] = An(i, r)(e[i], t[i], r) : n[i] = Se(t[i], r));
1244
+ return r.isMergeableObject(e) && Ot(e).forEach(function(i) {
1245
+ n[i] = He(e[i], r);
1246
+ }), Ot(t).forEach(function(i) {
1247
+ Fn(e, i) || (cr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Pn(i, r)(e[i], t[i], r) : n[i] = He(t[i], r));
1209
1248
  }), n;
1210
1249
  }
1211
1250
  function pe(e, t, r) {
1212
- r = r || {}, r.arrayMerge = r.arrayMerge || Hn, r.isMergeableObject = r.isMergeableObject || vn, r.cloneUnlessOtherwiseSpecified = Se;
1251
+ r = r || {}, r.arrayMerge = r.arrayMerge || An, r.isMergeableObject = r.isMergeableObject || _n, r.cloneUnlessOtherwiseSpecified = He;
1213
1252
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1214
- return o ? n ? r.arrayMerge(e, t, r) : Fn(e, t, r) : Se(t, r);
1253
+ return o ? n ? r.arrayMerge(e, t, r) : Cn(e, t, r) : He(t, r);
1215
1254
  }
1216
1255
  pe.all = function(t, r) {
1217
1256
  if (!Array.isArray(t))
@@ -1220,52 +1259,10 @@ pe.all = function(t, r) {
1220
1259
  return pe(n, i, r);
1221
1260
  }, {});
1222
1261
  };
1223
- var Cn = pe, On = Cn;
1224
- const In = /* @__PURE__ */ yn(On);
1225
- var ht = function(e, t) {
1226
- return ht = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1227
- r.__proto__ = n;
1228
- } || function(r, n) {
1229
- for (var i in n)
1230
- Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1231
- }, ht(e, t);
1232
- };
1233
- function je(e, t) {
1234
- if (typeof t != "function" && t !== null)
1235
- throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1236
- ht(e, t);
1237
- function r() {
1238
- this.constructor = e;
1239
- }
1240
- e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1241
- }
1242
- var X = function() {
1243
- return X = Object.assign || function(t) {
1244
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1245
- r = arguments[n];
1246
- for (var o in r)
1247
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1248
- }
1249
- return t;
1250
- }, X.apply(this, arguments);
1251
- };
1252
- function Ln(e, t) {
1253
- var r = {};
1254
- for (var n in e)
1255
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1256
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
1257
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1258
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1259
- return r;
1260
- }
1261
- function Je(e, t, r) {
1262
- if (r || arguments.length === 2)
1263
- for (var n = 0, i = t.length, o; n < i; n++)
1264
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1265
- return e.concat(o || Array.prototype.slice.call(t));
1266
- }
1267
- function Qe(e, t) {
1268
- var r = t && t.cache ? t.cache : Gn, n = t && t.serializer ? t.serializer : Un, i = t && t.strategy ? t.strategy : Rn;
1262
+ var In = pe, On = In;
1263
+ const Ln = /* @__PURE__ */ vn(On);
1264
+ function Je(e, t) {
1265
+ var r = t && t.cache ? t.cache : $n, n = t && t.serializer ? t.serializer : Un, i = t && t.strategy ? t.strategy : Mn;
1269
1266
  return i(e, {
1270
1267
  cache: r,
1271
1268
  serializer: n
@@ -1274,103 +1271,95 @@ function Qe(e, t) {
1274
1271
  function Nn(e) {
1275
1272
  return e == null || typeof e == "number" || typeof e == "boolean";
1276
1273
  }
1277
- function Mn(e, t, r, n) {
1274
+ function fr(e, t, r, n) {
1278
1275
  var i = Nn(n) ? n : r(n), o = t.get(i);
1279
1276
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1280
1277
  }
1281
- function fr(e, t, r) {
1278
+ function dr(e, t, r) {
1282
1279
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1283
1280
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1284
1281
  }
1285
- function pr(e, t, r, n, i) {
1282
+ function gt(e, t, r, n, i) {
1286
1283
  return r.bind(t, e, n, i);
1287
1284
  }
1285
+ function Mn(e, t) {
1286
+ var r = e.length === 1 ? fr : dr;
1287
+ return gt(e, this, r, t.cache.create(), t.serializer);
1288
+ }
1288
1289
  function Rn(e, t) {
1289
- var r = e.length === 1 ? Mn : fr;
1290
- return pr(e, this, r, t.cache.create(), t.serializer);
1290
+ return gt(e, this, dr, t.cache.create(), t.serializer);
1291
1291
  }
1292
- function $n(e, t) {
1293
- return pr(e, this, fr, t.cache.create(), t.serializer);
1292
+ function Dn(e, t) {
1293
+ return gt(e, this, fr, t.cache.create(), t.serializer);
1294
1294
  }
1295
1295
  var Un = function() {
1296
1296
  return JSON.stringify(arguments);
1297
- }, Dn = (
1298
- /** @class */
1299
- function() {
1300
- function e() {
1301
- this.cache = /* @__PURE__ */ Object.create(null);
1302
- }
1303
- return e.prototype.get = function(t) {
1304
- return this.cache[t];
1305
- }, e.prototype.set = function(t, r) {
1306
- this.cache[t] = r;
1307
- }, e;
1308
- }()
1309
- ), Gn = {
1297
+ };
1298
+ function yt() {
1299
+ this.cache = /* @__PURE__ */ Object.create(null);
1300
+ }
1301
+ yt.prototype.get = function(e) {
1302
+ return this.cache[e];
1303
+ };
1304
+ yt.prototype.set = function(e, t) {
1305
+ this.cache[e] = t;
1306
+ };
1307
+ var $n = {
1310
1308
  create: function() {
1311
- return new Dn();
1309
+ return new yt();
1312
1310
  }
1313
- }, qe = {
1314
- variadic: $n
1315
- }, $e = function() {
1316
- return $e = Object.assign || function(t) {
1317
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1318
- r = arguments[n];
1319
- for (var o in r)
1320
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1321
- }
1322
- return t;
1323
- }, $e.apply(this, arguments);
1324
- };
1325
- var E;
1311
+ }, Qe = {
1312
+ variadic: Rn,
1313
+ monadic: Dn
1314
+ }, _;
1326
1315
  (function(e) {
1327
1316
  e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
1328
- })(E || (E = {}));
1329
- var F;
1317
+ })(_ || (_ = {}));
1318
+ var C;
1330
1319
  (function(e) {
1331
1320
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
1332
- })(F || (F = {}));
1333
- var de;
1321
+ })(C || (C = {}));
1322
+ var me;
1334
1323
  (function(e) {
1335
1324
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1336
- })(de || (de = {}));
1337
- function Nt(e) {
1338
- return e.type === F.literal;
1325
+ })(me || (me = {}));
1326
+ function Lt(e) {
1327
+ return e.type === C.literal;
1339
1328
  }
1340
- function kn(e) {
1341
- return e.type === F.argument;
1329
+ function Gn(e) {
1330
+ return e.type === C.argument;
1342
1331
  }
1343
- function dr(e) {
1344
- return e.type === F.number;
1332
+ function pr(e) {
1333
+ return e.type === C.number;
1345
1334
  }
1346
1335
  function mr(e) {
1347
- return e.type === F.date;
1336
+ return e.type === C.date;
1348
1337
  }
1349
1338
  function br(e) {
1350
- return e.type === F.time;
1339
+ return e.type === C.time;
1351
1340
  }
1352
1341
  function gr(e) {
1353
- return e.type === F.select;
1342
+ return e.type === C.select;
1354
1343
  }
1355
1344
  function yr(e) {
1356
- return e.type === F.plural;
1345
+ return e.type === C.plural;
1357
1346
  }
1358
- function jn(e) {
1359
- return e.type === F.pound;
1347
+ function kn(e) {
1348
+ return e.type === C.pound;
1360
1349
  }
1361
1350
  function vr(e) {
1362
- return e.type === F.tag;
1351
+ return e.type === C.tag;
1363
1352
  }
1364
1353
  function _r(e) {
1365
- return !!(e && typeof e == "object" && e.type === de.number);
1354
+ return !!(e && typeof e == "object" && e.type === me.number);
1366
1355
  }
1367
- function ct(e) {
1368
- return !!(e && typeof e == "object" && e.type === de.dateTime);
1356
+ function lt(e) {
1357
+ return !!(e && typeof e == "object" && e.type === me.dateTime);
1369
1358
  }
1370
- var xr = /[ \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;
1371
- function Xn(e) {
1359
+ var xr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, jn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1360
+ function Vn(e) {
1372
1361
  var t = {};
1373
- return e.replace(Vn, function(r) {
1362
+ return e.replace(jn, function(r) {
1374
1363
  var n = r.length;
1375
1364
  switch (r[0]) {
1376
1365
  case "G":
@@ -1459,40 +1448,30 @@ function Xn(e) {
1459
1448
  return "";
1460
1449
  }), t;
1461
1450
  }
1462
- var O = function() {
1463
- return O = Object.assign || function(t) {
1464
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1465
- r = arguments[n];
1466
- for (var o in r)
1467
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1468
- }
1469
- return t;
1470
- }, O.apply(this, arguments);
1471
- };
1472
- var Wn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1473
- function zn(e) {
1451
+ var Xn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1452
+ function Wn(e) {
1474
1453
  if (e.length === 0)
1475
1454
  throw new Error("Number skeleton cannot be empty");
1476
- for (var t = e.split(Wn).filter(function(c) {
1477
- return c.length > 0;
1455
+ for (var t = e.split(Xn).filter(function(f) {
1456
+ return f.length > 0;
1478
1457
  }), r = [], n = 0, i = t; n < i.length; n++) {
1479
1458
  var o = i[n], s = o.split("/");
1480
1459
  if (s.length === 0)
1481
1460
  throw new Error("Invalid number skeleton");
1482
1461
  for (var a = s[0], h = s.slice(1), l = 0, u = h; l < u.length; l++) {
1483
- var p = u[l];
1484
- if (p.length === 0)
1462
+ var d = u[l];
1463
+ if (d.length === 0)
1485
1464
  throw new Error("Invalid number skeleton");
1486
1465
  }
1487
1466
  r.push({ stem: a, options: h });
1488
1467
  }
1489
1468
  return r;
1490
1469
  }
1491
- function Zn(e) {
1470
+ function zn(e) {
1492
1471
  return e.replace(/^(.*?)-/, "");
1493
1472
  }
1494
- var Mt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Er = /^(@+)?(\+|#+)?[rs]?$/g, Jn = /(\*)(0+)|(#+)(0+)|(0+)/g, wr = /^(0+)$/;
1495
- function Rt(e) {
1473
+ var Nt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Er = /^(@+)?(\+|#+)?[rs]?$/g, Zn = /(\*)(0+)|(#+)(0+)|(0+)/g, wr = /^(0+)$/;
1474
+ function Mt(e) {
1496
1475
  var t = {};
1497
1476
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Er, function(r, n, i) {
1498
1477
  return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
@@ -1538,7 +1517,7 @@ function Sr(e) {
1538
1517
  };
1539
1518
  }
1540
1519
  }
1541
- function Qn(e) {
1520
+ function Jn(e) {
1542
1521
  var t;
1543
1522
  if (e[0] === "E" && e[1] === "E" ? (t = {
1544
1523
  notation: "engineering"
@@ -1552,11 +1531,11 @@ function Qn(e) {
1552
1531
  }
1553
1532
  return t;
1554
1533
  }
1555
- function $t(e) {
1534
+ function Rt(e) {
1556
1535
  var t = {}, r = Sr(e);
1557
1536
  return r || t;
1558
1537
  }
1559
- function qn(e) {
1538
+ function Qn(e) {
1560
1539
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1561
1540
  var i = n[r];
1562
1541
  switch (i.stem) {
@@ -1580,7 +1559,7 @@ function qn(e) {
1580
1559
  continue;
1581
1560
  case "measure-unit":
1582
1561
  case "unit":
1583
- t.style = "unit", t.unit = Zn(i.options[0]);
1562
+ t.style = "unit", t.unit = zn(i.options[0]);
1584
1563
  continue;
1585
1564
  case "compact-short":
1586
1565
  case "K":
@@ -1591,13 +1570,13 @@ function qn(e) {
1591
1570
  t.notation = "compact", t.compactDisplay = "long";
1592
1571
  continue;
1593
1572
  case "scientific":
1594
- t = O(O(O({}, t), { notation: "scientific" }), i.options.reduce(function(h, l) {
1595
- return O(O({}, h), $t(l));
1573
+ t = w(w(w({}, t), { notation: "scientific" }), i.options.reduce(function(h, l) {
1574
+ return w(w({}, h), Rt(l));
1596
1575
  }, {}));
1597
1576
  continue;
1598
1577
  case "engineering":
1599
- t = O(O(O({}, t), { notation: "engineering" }), i.options.reduce(function(h, l) {
1600
- return O(O({}, h), $t(l));
1578
+ t = w(w(w({}, t), { notation: "engineering" }), i.options.reduce(function(h, l) {
1579
+ return w(w({}, h), Rt(l));
1601
1580
  }, {}));
1602
1581
  continue;
1603
1582
  case "notation-simple":
@@ -1642,13 +1621,13 @@ function qn(e) {
1642
1621
  case "integer-width":
1643
1622
  if (i.options.length > 1)
1644
1623
  throw new RangeError("integer-width stems only accept a single optional option");
1645
- i.options[0].replace(Jn, function(h, l, u, p, c, m) {
1624
+ i.options[0].replace(Zn, function(h, l, u, d, f, p) {
1646
1625
  if (l)
1647
1626
  t.minimumIntegerDigits = u.length;
1648
1627
  else {
1649
- if (p && c)
1628
+ if (d && f)
1650
1629
  throw new Error("We currently do not support maximum integer digits");
1651
- if (m)
1630
+ if (p)
1652
1631
  throw new Error("We currently do not support exact integer digits");
1653
1632
  }
1654
1633
  return "";
@@ -1659,28 +1638,28 @@ function qn(e) {
1659
1638
  t.minimumIntegerDigits = i.stem.length;
1660
1639
  continue;
1661
1640
  }
1662
- if (Mt.test(i.stem)) {
1641
+ if (Nt.test(i.stem)) {
1663
1642
  if (i.options.length > 1)
1664
1643
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1665
- i.stem.replace(Mt, function(h, l, u, p, c, m) {
1666
- return u === "*" ? t.minimumFractionDigits = l.length : p && p[0] === "#" ? t.maximumFractionDigits = p.length : c && m ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + m.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1644
+ i.stem.replace(Nt, function(h, l, u, d, f, p) {
1645
+ 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), "";
1667
1646
  });
1668
1647
  var o = i.options[0];
1669
- o === "w" ? t = O(O({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = O(O({}, t), Rt(o)));
1648
+ o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t), Mt(o)));
1670
1649
  continue;
1671
1650
  }
1672
1651
  if (Er.test(i.stem)) {
1673
- t = O(O({}, t), Rt(i.stem));
1652
+ t = w(w({}, t), Mt(i.stem));
1674
1653
  continue;
1675
1654
  }
1676
1655
  var s = Sr(i.stem);
1677
- s && (t = O(O({}, t), s));
1678
- var a = Qn(i.stem);
1679
- a && (t = O(O({}, t), a));
1656
+ s && (t = w(w({}, t), s));
1657
+ var a = Jn(i.stem);
1658
+ a && (t = w(w({}, t), a));
1680
1659
  }
1681
1660
  return t;
1682
1661
  }
1683
- var Oe = {
1662
+ var Ie = {
1684
1663
  "001": [
1685
1664
  "H",
1686
1665
  "h"
@@ -3095,13 +3074,13 @@ var Oe = {
3095
3074
  "h"
3096
3075
  ]
3097
3076
  };
3098
- function Yn(e, t) {
3077
+ function qn(e, t) {
3099
3078
  for (var r = "", n = 0; n < e.length; n++) {
3100
3079
  var i = e.charAt(n);
3101
3080
  if (i === "j") {
3102
3081
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3103
3082
  o++, n++;
3104
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", l = Kn(t);
3083
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", l = Yn(t);
3105
3084
  for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
3106
3085
  r += h;
3107
3086
  for (; s-- > 0; )
@@ -3111,7 +3090,7 @@ function Yn(e, t) {
3111
3090
  }
3112
3091
  return r;
3113
3092
  }
3114
- function Kn(e) {
3093
+ function Yn(e) {
3115
3094
  var t = e.hourCycle;
3116
3095
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3117
3096
  e.hourCycles && // @ts-ignore
@@ -3130,23 +3109,23 @@ function Kn(e) {
3130
3109
  }
3131
3110
  var r = e.language, n;
3132
3111
  r !== "root" && (n = e.maximize().region);
3133
- var i = Oe[n || ""] || Oe[r || ""] || Oe["".concat(r, "-001")] || Oe["001"];
3112
+ var i = Ie[n || ""] || Ie[r || ""] || Ie["".concat(r, "-001")] || Ie["001"];
3134
3113
  return i[0];
3135
3114
  }
3136
- var Ye, ei = new RegExp("^".concat(xr.source, "*")), ti = new RegExp("".concat(xr.source, "*$"));
3137
- function w(e, t) {
3115
+ var qe, Kn = new RegExp("^".concat(xr.source, "*")), ei = new RegExp("".concat(xr.source, "*$"));
3116
+ function x(e, t) {
3138
3117
  return { start: e, end: t };
3139
3118
  }
3140
- 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) {
3119
+ var ti = !!String.prototype.startsWith && "_a".startsWith("a", 1), ri = !!String.fromCodePoint, ni = !!Object.fromEntries, ii = !!String.prototype.codePointAt, oi = !!String.prototype.trimStart, si = !!String.prototype.trimEnd, ai = !!Number.isSafeInteger, li = ai ? Number.isSafeInteger : function(e) {
3141
3120
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3142
- }, ft = !0;
3121
+ }, ut = !0;
3143
3122
  try {
3144
- var hi = Hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3145
- ft = ((Ye = hi.exec("a")) === null || Ye === void 0 ? void 0 : Ye[0]) === "a";
3123
+ var ui = Hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3124
+ ut = ((qe = ui.exec("a")) === null || qe === void 0 ? void 0 : qe[0]) === "a";
3146
3125
  } catch {
3147
- ft = !1;
3126
+ ut = !1;
3148
3127
  }
3149
- var Ut = ri ? (
3128
+ var Dt = ti ? (
3150
3129
  // Native
3151
3130
  function(t, r, n) {
3152
3131
  return t.startsWith(r, n);
@@ -3156,7 +3135,7 @@ var Ut = ri ? (
3156
3135
  function(t, r, n) {
3157
3136
  return t.slice(n, n + r.length) === r;
3158
3137
  }
3159
- ), pt = ni ? String.fromCodePoint : (
3138
+ ), ht = ri ? String.fromCodePoint : (
3160
3139
  // IE11
3161
3140
  function() {
3162
3141
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3168,9 +3147,9 @@ var Ut = ri ? (
3168
3147
  }
3169
3148
  return n;
3170
3149
  }
3171
- ), Dt = (
3150
+ ), Ut = (
3172
3151
  // native
3173
- ii ? Object.fromEntries : (
3152
+ ni ? Object.fromEntries : (
3174
3153
  // Ponyfill
3175
3154
  function(t) {
3176
3155
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3180,7 +3159,7 @@ var Ut = ri ? (
3180
3159
  return r;
3181
3160
  }
3182
3161
  )
3183
- ), Tr = oi ? (
3162
+ ), Tr = ii ? (
3184
3163
  // Native
3185
3164
  function(t, r) {
3186
3165
  return t.codePointAt(r);
@@ -3194,7 +3173,7 @@ var Ut = ri ? (
3194
3173
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3195
3174
  }
3196
3175
  }
3197
- ), ci = si ? (
3176
+ ), hi = oi ? (
3198
3177
  // Native
3199
3178
  function(t) {
3200
3179
  return t.trimStart();
@@ -3202,9 +3181,9 @@ var Ut = ri ? (
3202
3181
  ) : (
3203
3182
  // Ponyfill
3204
3183
  function(t) {
3205
- return t.replace(ei, "");
3184
+ return t.replace(Kn, "");
3206
3185
  }
3207
- ), fi = ai ? (
3186
+ ), ci = si ? (
3208
3187
  // Native
3209
3188
  function(t) {
3210
3189
  return t.trimEnd();
@@ -3212,32 +3191,32 @@ var Ut = ri ? (
3212
3191
  ) : (
3213
3192
  // Ponyfill
3214
3193
  function(t) {
3215
- return t.replace(ti, "");
3194
+ return t.replace(ei, "");
3216
3195
  }
3217
3196
  );
3218
3197
  function Hr(e, t) {
3219
3198
  return new RegExp(e, t);
3220
3199
  }
3221
- var dt;
3222
- if (ft) {
3223
- var Gt = Hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3224
- dt = function(t, r) {
3200
+ var ct;
3201
+ if (ut) {
3202
+ var $t = Hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3203
+ ct = function(t, r) {
3225
3204
  var n;
3226
- Gt.lastIndex = r;
3227
- var i = Gt.exec(t);
3205
+ $t.lastIndex = r;
3206
+ var i = $t.exec(t);
3228
3207
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3229
3208
  };
3230
3209
  } else
3231
- dt = function(t, r) {
3210
+ ct = function(t, r) {
3232
3211
  for (var n = []; ; ) {
3233
3212
  var i = Tr(t, r);
3234
- if (i === void 0 || Ar(i) || bi(i))
3213
+ if (i === void 0 || Ar(i) || mi(i))
3235
3214
  break;
3236
3215
  n.push(i), r += i >= 65536 ? 2 : 1;
3237
3216
  }
3238
- return pt.apply(void 0, n);
3217
+ return ht.apply(void 0, n);
3239
3218
  };
3240
- var pi = (
3219
+ var fi = (
3241
3220
  /** @class */
3242
3221
  function() {
3243
3222
  function e(t, r) {
@@ -3261,14 +3240,14 @@ var pi = (
3261
3240
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3262
3241
  var a = this.clonePosition();
3263
3242
  this.bump(), i.push({
3264
- type: F.pound,
3265
- location: w(a, this.clonePosition())
3243
+ type: C.pound,
3244
+ location: x(a, this.clonePosition())
3266
3245
  });
3267
3246
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3268
3247
  if (n)
3269
3248
  break;
3270
- return this.error(E.UNMATCHED_CLOSING_TAG, w(this.clonePosition(), this.clonePosition()));
3271
- } else if (o === 60 && !this.ignoreTag && mt(this.peek() || 0)) {
3249
+ return this.error(_.UNMATCHED_CLOSING_TAG, x(this.clonePosition(), this.clonePosition()));
3250
+ } else if (o === 60 && !this.ignoreTag && ft(this.peek() || 0)) {
3272
3251
  var s = this.parseTag(t, r);
3273
3252
  if (s.err)
3274
3253
  return s;
@@ -3289,9 +3268,9 @@ var pi = (
3289
3268
  if (this.bumpSpace(), this.bumpIf("/>"))
3290
3269
  return {
3291
3270
  val: {
3292
- type: F.literal,
3271
+ type: C.literal,
3293
3272
  value: "<".concat(i, "/>"),
3294
- location: w(n, this.clonePosition())
3273
+ location: x(n, this.clonePosition())
3295
3274
  },
3296
3275
  err: null
3297
3276
  };
@@ -3301,25 +3280,25 @@ var pi = (
3301
3280
  return o;
3302
3281
  var s = o.val, a = this.clonePosition();
3303
3282
  if (this.bumpIf("</")) {
3304
- if (this.isEOF() || !mt(this.char()))
3305
- return this.error(E.INVALID_TAG, w(a, this.clonePosition()));
3283
+ if (this.isEOF() || !ft(this.char()))
3284
+ return this.error(_.INVALID_TAG, x(a, this.clonePosition()));
3306
3285
  var h = this.clonePosition(), l = this.parseTagName();
3307
- return i !== l ? this.error(E.UNMATCHED_CLOSING_TAG, w(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3286
+ return i !== l ? this.error(_.UNMATCHED_CLOSING_TAG, x(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3308
3287
  val: {
3309
- type: F.tag,
3288
+ type: C.tag,
3310
3289
  value: i,
3311
3290
  children: s,
3312
- location: w(n, this.clonePosition())
3291
+ location: x(n, this.clonePosition())
3313
3292
  },
3314
3293
  err: null
3315
- } : this.error(E.INVALID_TAG, w(a, this.clonePosition())));
3294
+ } : this.error(_.INVALID_TAG, x(a, this.clonePosition())));
3316
3295
  } else
3317
- return this.error(E.UNCLOSED_TAG, w(n, this.clonePosition()));
3296
+ return this.error(_.UNCLOSED_TAG, x(n, this.clonePosition()));
3318
3297
  } else
3319
- return this.error(E.INVALID_TAG, w(n, this.clonePosition()));
3298
+ return this.error(_.INVALID_TAG, x(n, this.clonePosition()));
3320
3299
  }, e.prototype.parseTagName = function() {
3321
3300
  var t = this.offset();
3322
- for (this.bump(); !this.isEOF() && mi(this.char()); )
3301
+ for (this.bump(); !this.isEOF() && pi(this.char()); )
3323
3302
  this.bump();
3324
3303
  return this.message.slice(t, this.offset());
3325
3304
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3341,9 +3320,9 @@ var pi = (
3341
3320
  }
3342
3321
  break;
3343
3322
  }
3344
- var h = w(n, this.clonePosition());
3323
+ var h = x(n, this.clonePosition());
3345
3324
  return {
3346
- val: { type: F.literal, value: i, location: h },
3325
+ val: { type: C.literal, value: i, location: h },
3347
3326
  err: null
3348
3327
  };
3349
3328
  }, e.prototype.tryParseLeftAngleBracket = function() {
@@ -3382,49 +3361,49 @@ var pi = (
3382
3361
  r.push(n);
3383
3362
  this.bump();
3384
3363
  }
3385
- return pt.apply(void 0, r);
3364
+ return ht.apply(void 0, r);
3386
3365
  }, e.prototype.tryParseUnquoted = function(t, r) {
3387
3366
  if (this.isEOF())
3388
3367
  return null;
3389
3368
  var n = this.char();
3390
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), pt(n));
3369
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ht(n));
3391
3370
  }, e.prototype.parseArgument = function(t, r) {
3392
3371
  var n = this.clonePosition();
3393
3372
  if (this.bump(), this.bumpSpace(), this.isEOF())
3394
- return this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE, w(n, this.clonePosition()));
3373
+ return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, x(n, this.clonePosition()));
3395
3374
  if (this.char() === 125)
3396
- return this.bump(), this.error(E.EMPTY_ARGUMENT, w(n, this.clonePosition()));
3375
+ return this.bump(), this.error(_.EMPTY_ARGUMENT, x(n, this.clonePosition()));
3397
3376
  var i = this.parseIdentifierIfPossible().value;
3398
3377
  if (!i)
3399
- return this.error(E.MALFORMED_ARGUMENT, w(n, this.clonePosition()));
3378
+ return this.error(_.MALFORMED_ARGUMENT, x(n, this.clonePosition()));
3400
3379
  if (this.bumpSpace(), this.isEOF())
3401
- return this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE, w(n, this.clonePosition()));
3380
+ return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, x(n, this.clonePosition()));
3402
3381
  switch (this.char()) {
3403
3382
  case 125:
3404
3383
  return this.bump(), {
3405
3384
  val: {
3406
- type: F.argument,
3385
+ type: C.argument,
3407
3386
  // value does not include the opening and closing braces.
3408
3387
  value: i,
3409
- location: w(n, this.clonePosition())
3388
+ location: x(n, this.clonePosition())
3410
3389
  },
3411
3390
  err: null
3412
3391
  };
3413
3392
  case 44:
3414
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE, w(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3393
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, x(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3415
3394
  default:
3416
- return this.error(E.MALFORMED_ARGUMENT, w(n, this.clonePosition()));
3395
+ return this.error(_.MALFORMED_ARGUMENT, x(n, this.clonePosition()));
3417
3396
  }
3418
3397
  }, e.prototype.parseIdentifierIfPossible = function() {
3419
- var t = this.clonePosition(), r = this.offset(), n = dt(this.message, r), i = r + n.length;
3398
+ var t = this.clonePosition(), r = this.offset(), n = ct(this.message, r), i = r + n.length;
3420
3399
  this.bumpTo(i);
3421
- var o = this.clonePosition(), s = w(t, o);
3400
+ var o = this.clonePosition(), s = x(t, o);
3422
3401
  return { value: n, location: s };
3423
3402
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3424
3403
  var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3425
3404
  switch (a) {
3426
3405
  case "":
3427
- return this.error(E.EXPECT_ARGUMENT_TYPE, w(s, h));
3406
+ return this.error(_.EXPECT_ARGUMENT_TYPE, x(s, h));
3428
3407
  case "number":
3429
3408
  case "date":
3430
3409
  case "time": {
@@ -3432,49 +3411,49 @@ var pi = (
3432
3411
  var l = null;
3433
3412
  if (this.bumpIf(",")) {
3434
3413
  this.bumpSpace();
3435
- var u = this.clonePosition(), p = this.parseSimpleArgStyleIfPossible();
3436
- if (p.err)
3437
- return p;
3438
- var c = fi(p.val);
3439
- if (c.length === 0)
3440
- return this.error(E.EXPECT_ARGUMENT_STYLE, w(this.clonePosition(), this.clonePosition()));
3441
- var m = w(u, this.clonePosition());
3442
- l = { style: c, styleLocation: m };
3414
+ var u = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
3415
+ if (d.err)
3416
+ return d;
3417
+ var f = ci(d.val);
3418
+ if (f.length === 0)
3419
+ return this.error(_.EXPECT_ARGUMENT_STYLE, x(this.clonePosition(), this.clonePosition()));
3420
+ var p = x(u, this.clonePosition());
3421
+ l = { style: f, styleLocation: p };
3443
3422
  }
3444
- var v = this.tryParseArgumentClose(i);
3445
- if (v.err)
3446
- return v;
3447
- var y = w(i, this.clonePosition());
3448
- if (l && Ut(l?.style, "::", 0)) {
3449
- var T = ci(l.style.slice(2));
3423
+ var y = this.tryParseArgumentClose(i);
3424
+ if (y.err)
3425
+ return y;
3426
+ var g = x(i, this.clonePosition());
3427
+ if (l && Dt(l?.style, "::", 0)) {
3428
+ var S = hi(l.style.slice(2));
3450
3429
  if (a === "number") {
3451
- var p = this.parseNumberSkeletonFromString(T, l.styleLocation);
3452
- return p.err ? p : {
3453
- val: { type: F.number, value: n, location: y, style: p.val },
3430
+ var d = this.parseNumberSkeletonFromString(S, l.styleLocation);
3431
+ return d.err ? d : {
3432
+ val: { type: C.number, value: n, location: g, style: d.val },
3454
3433
  err: null
3455
3434
  };
3456
3435
  } else {
3457
- if (T.length === 0)
3458
- return this.error(E.EXPECT_DATE_TIME_SKELETON, y);
3459
- var H = T;
3460
- this.locale && (H = Yn(T, this.locale));
3461
- var c = {
3462
- type: de.dateTime,
3436
+ if (S.length === 0)
3437
+ return this.error(_.EXPECT_DATE_TIME_SKELETON, g);
3438
+ var H = S;
3439
+ this.locale && (H = qn(S, this.locale));
3440
+ var f = {
3441
+ type: me.dateTime,
3463
3442
  pattern: H,
3464
3443
  location: l.styleLocation,
3465
- parsedOptions: this.shouldParseSkeletons ? Xn(H) : {}
3466
- }, S = a === "date" ? F.date : F.time;
3444
+ parsedOptions: this.shouldParseSkeletons ? Vn(H) : {}
3445
+ }, E = a === "date" ? C.date : C.time;
3467
3446
  return {
3468
- val: { type: S, value: n, location: y, style: c },
3447
+ val: { type: E, value: n, location: g, style: f },
3469
3448
  err: null
3470
3449
  };
3471
3450
  }
3472
3451
  }
3473
3452
  return {
3474
3453
  val: {
3475
- type: a === "number" ? F.number : a === "date" ? F.date : F.time,
3454
+ type: a === "number" ? C.number : a === "date" ? C.date : C.time,
3476
3455
  value: n,
3477
- location: y,
3456
+ location: g,
3478
3457
  style: (o = l?.style) !== null && o !== void 0 ? o : null
3479
3458
  },
3480
3459
  err: null
@@ -3483,40 +3462,40 @@ var pi = (
3483
3462
  case "plural":
3484
3463
  case "selectordinal":
3485
3464
  case "select": {
3486
- var b = this.clonePosition();
3465
+ var m = this.clonePosition();
3487
3466
  if (this.bumpSpace(), !this.bumpIf(","))
3488
- return this.error(E.EXPECT_SELECT_ARGUMENT_OPTIONS, w(b, $e({}, b)));
3467
+ return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, x(m, w({}, m)));
3489
3468
  this.bumpSpace();
3490
- var I = this.parseIdentifierIfPossible(), L = 0;
3491
- if (a !== "select" && I.value === "offset") {
3469
+ var O = this.parseIdentifierIfPossible(), L = 0;
3470
+ if (a !== "select" && O.value === "offset") {
3492
3471
  if (!this.bumpIf(":"))
3493
- return this.error(E.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, w(this.clonePosition(), this.clonePosition()));
3472
+ return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, x(this.clonePosition(), this.clonePosition()));
3494
3473
  this.bumpSpace();
3495
- var p = this.tryParseDecimalInteger(E.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, E.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3496
- if (p.err)
3497
- return p;
3498
- this.bumpSpace(), I = this.parseIdentifierIfPossible(), L = p.val;
3474
+ var d = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3475
+ if (d.err)
3476
+ return d;
3477
+ this.bumpSpace(), O = this.parseIdentifierIfPossible(), L = d.val;
3499
3478
  }
3500
- var M = this.tryParsePluralOrSelectOptions(t, a, r, I);
3501
- if (M.err)
3502
- return M;
3503
- var v = this.tryParseArgumentClose(i);
3504
- if (v.err)
3505
- return v;
3506
- var A = w(i, this.clonePosition());
3479
+ var R = this.tryParsePluralOrSelectOptions(t, a, r, O);
3480
+ if (R.err)
3481
+ return R;
3482
+ var y = this.tryParseArgumentClose(i);
3483
+ if (y.err)
3484
+ return y;
3485
+ var A = x(i, this.clonePosition());
3507
3486
  return a === "select" ? {
3508
3487
  val: {
3509
- type: F.select,
3488
+ type: C.select,
3510
3489
  value: n,
3511
- options: Dt(M.val),
3490
+ options: Ut(R.val),
3512
3491
  location: A
3513
3492
  },
3514
3493
  err: null
3515
3494
  } : {
3516
3495
  val: {
3517
- type: F.plural,
3496
+ type: C.plural,
3518
3497
  value: n,
3519
- options: Dt(M.val),
3498
+ options: Ut(R.val),
3520
3499
  offset: L,
3521
3500
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3522
3501
  location: A
@@ -3525,10 +3504,10 @@ var pi = (
3525
3504
  };
3526
3505
  }
3527
3506
  default:
3528
- return this.error(E.INVALID_ARGUMENT_TYPE, w(s, h));
3507
+ return this.error(_.INVALID_ARGUMENT_TYPE, x(s, h));
3529
3508
  }
3530
3509
  }, e.prototype.tryParseArgumentClose = function(t) {
3531
- return this.isEOF() || this.char() !== 125 ? this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE, w(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3510
+ return this.isEOF() || this.char() !== 125 ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, x(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3532
3511
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3533
3512
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3534
3513
  var n = this.char();
@@ -3537,7 +3516,7 @@ var pi = (
3537
3516
  this.bump();
3538
3517
  var i = this.clonePosition();
3539
3518
  if (!this.bumpUntil("'"))
3540
- return this.error(E.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, w(i, this.clonePosition()));
3519
+ return this.error(_.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, x(i, this.clonePosition()));
3541
3520
  this.bump();
3542
3521
  break;
3543
3522
  }
@@ -3567,52 +3546,52 @@ var pi = (
3567
3546
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3568
3547
  var n = [];
3569
3548
  try {
3570
- n = zn(t);
3549
+ n = Wn(t);
3571
3550
  } catch {
3572
- return this.error(E.INVALID_NUMBER_SKELETON, r);
3551
+ return this.error(_.INVALID_NUMBER_SKELETON, r);
3573
3552
  }
3574
3553
  return {
3575
3554
  val: {
3576
- type: de.number,
3555
+ type: me.number,
3577
3556
  tokens: n,
3578
3557
  location: r,
3579
- parsedOptions: this.shouldParseSkeletons ? qn(n) : {}
3558
+ parsedOptions: this.shouldParseSkeletons ? Qn(n) : {}
3580
3559
  },
3581
3560
  err: null
3582
3561
  };
3583
3562
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3584
3563
  for (var o, s = !1, a = [], h = /* @__PURE__ */ new Set(), l = i.value, u = i.location; ; ) {
3585
3564
  if (l.length === 0) {
3586
- var p = this.clonePosition();
3565
+ var d = this.clonePosition();
3587
3566
  if (r !== "select" && this.bumpIf("=")) {
3588
- var c = this.tryParseDecimalInteger(E.EXPECT_PLURAL_ARGUMENT_SELECTOR, E.INVALID_PLURAL_ARGUMENT_SELECTOR);
3589
- if (c.err)
3590
- return c;
3591
- u = w(p, this.clonePosition()), l = this.message.slice(p.offset, this.offset());
3567
+ var f = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_SELECTOR, _.INVALID_PLURAL_ARGUMENT_SELECTOR);
3568
+ if (f.err)
3569
+ return f;
3570
+ u = x(d, this.clonePosition()), l = this.message.slice(d.offset, this.offset());
3592
3571
  } else
3593
3572
  break;
3594
3573
  }
3595
3574
  if (h.has(l))
3596
- return this.error(r === "select" ? E.DUPLICATE_SELECT_ARGUMENT_SELECTOR : E.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, u);
3575
+ return this.error(r === "select" ? _.DUPLICATE_SELECT_ARGUMENT_SELECTOR : _.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, u);
3597
3576
  l === "other" && (s = !0), this.bumpSpace();
3598
- var m = this.clonePosition();
3577
+ var p = this.clonePosition();
3599
3578
  if (!this.bumpIf("{"))
3600
- return this.error(r === "select" ? E.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : E.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, w(this.clonePosition(), this.clonePosition()));
3601
- var v = this.parseMessage(t + 1, r, n);
3602
- if (v.err)
3603
- return v;
3604
- var y = this.tryParseArgumentClose(m);
3579
+ return this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : _.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, x(this.clonePosition(), this.clonePosition()));
3580
+ var y = this.parseMessage(t + 1, r, n);
3605
3581
  if (y.err)
3606
3582
  return y;
3583
+ var g = this.tryParseArgumentClose(p);
3584
+ if (g.err)
3585
+ return g;
3607
3586
  a.push([
3608
3587
  l,
3609
3588
  {
3610
- value: v.val,
3611
- location: w(m, this.clonePosition())
3589
+ value: y.val,
3590
+ location: x(p, this.clonePosition())
3612
3591
  }
3613
3592
  ]), h.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, u = o.location;
3614
3593
  }
3615
- return a.length === 0 ? this.error(r === "select" ? E.EXPECT_SELECT_ARGUMENT_SELECTOR : E.EXPECT_PLURAL_ARGUMENT_SELECTOR, w(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(E.MISSING_OTHER_CLAUSE, w(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3594
+ 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 };
3616
3595
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3617
3596
  var n = 1, i = this.clonePosition();
3618
3597
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3623,8 +3602,8 @@ var pi = (
3623
3602
  else
3624
3603
  break;
3625
3604
  }
3626
- var h = w(i, this.clonePosition());
3627
- return o ? (s *= n, ui(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3605
+ var h = x(i, this.clonePosition());
3606
+ return o ? (s *= n, li(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3628
3607
  }, e.prototype.offset = function() {
3629
3608
  return this.position.offset;
3630
3609
  }, e.prototype.isEOF = function() {
@@ -3658,7 +3637,7 @@ var pi = (
3658
3637
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
3659
3638
  }
3660
3639
  }, e.prototype.bumpIf = function(t) {
3661
- if (Ut(this.message, t, this.offset())) {
3640
+ if (Dt(this.message, t, this.offset())) {
3662
3641
  for (var r = 0; r < t.length; r++)
3663
3642
  this.bump();
3664
3643
  return !0;
@@ -3690,47 +3669,47 @@ var pi = (
3690
3669
  }, e;
3691
3670
  }()
3692
3671
  );
3693
- function mt(e) {
3672
+ function ft(e) {
3694
3673
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3695
3674
  }
3696
3675
  function di(e) {
3697
- return mt(e) || e === 47;
3676
+ return ft(e) || e === 47;
3698
3677
  }
3699
- function mi(e) {
3678
+ function pi(e) {
3700
3679
  return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
3701
3680
  }
3702
3681
  function Ar(e) {
3703
3682
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3704
3683
  }
3705
- function bi(e) {
3684
+ function mi(e) {
3706
3685
  return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
3707
3686
  }
3708
- function bt(e) {
3687
+ function dt(e) {
3709
3688
  e.forEach(function(t) {
3710
3689
  if (delete t.location, gr(t) || yr(t))
3711
3690
  for (var r in t.options)
3712
- delete t.options[r].location, bt(t.options[r].value);
3691
+ delete t.options[r].location, dt(t.options[r].value);
3713
3692
  else
3714
- dr(t) && _r(t.style) || (mr(t) || br(t)) && ct(t.style) ? delete t.style.location : vr(t) && bt(t.children);
3693
+ pr(t) && _r(t.style) || (mr(t) || br(t)) && lt(t.style) ? delete t.style.location : vr(t) && dt(t.children);
3715
3694
  });
3716
3695
  }
3717
- function gi(e, t) {
3718
- t === void 0 && (t = {}), t = $e({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3719
- var r = new pi(e, t).parse();
3696
+ function bi(e, t) {
3697
+ t === void 0 && (t = {}), t = w({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3698
+ var r = new fi(e, t).parse();
3720
3699
  if (r.err) {
3721
- var n = SyntaxError(E[r.err.kind]);
3700
+ var n = SyntaxError(_[r.err.kind]);
3722
3701
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3723
3702
  }
3724
- return t?.captureLocation || bt(r.val), r.val;
3703
+ return t?.captureLocation || dt(r.val), r.val;
3725
3704
  }
3726
- var me;
3705
+ var be;
3727
3706
  (function(e) {
3728
3707
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3729
- })(me || (me = {}));
3730
- var Ve = (
3708
+ })(be || (be = {}));
3709
+ var ke = (
3731
3710
  /** @class */
3732
3711
  function(e) {
3733
- je(t, e);
3712
+ J(t, e);
3734
3713
  function t(r, n, i) {
3735
3714
  var o = e.call(this, r) || this;
3736
3715
  return o.code = n, o.originalMessage = i, o;
@@ -3739,155 +3718,155 @@ var Ve = (
3739
3718
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3740
3719
  }, t;
3741
3720
  }(Error)
3742
- ), kt = (
3721
+ ), Gt = (
3743
3722
  /** @class */
3744
3723
  function(e) {
3745
- je(t, e);
3724
+ J(t, e);
3746
3725
  function t(r, n, i, o) {
3747
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), me.INVALID_VALUE, o) || this;
3726
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), be.INVALID_VALUE, o) || this;
3748
3727
  }
3749
3728
  return t;
3750
- }(Ve)
3751
- ), yi = (
3729
+ }(ke)
3730
+ ), gi = (
3752
3731
  /** @class */
3753
3732
  function(e) {
3754
- je(t, e);
3733
+ J(t, e);
3755
3734
  function t(r, n, i) {
3756
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), me.INVALID_VALUE, i) || this;
3735
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), be.INVALID_VALUE, i) || this;
3757
3736
  }
3758
3737
  return t;
3759
- }(Ve)
3760
- ), vi = (
3738
+ }(ke)
3739
+ ), yi = (
3761
3740
  /** @class */
3762
3741
  function(e) {
3763
- je(t, e);
3742
+ J(t, e);
3764
3743
  function t(r, n) {
3765
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), me.MISSING_VALUE, n) || this;
3744
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), be.MISSING_VALUE, n) || this;
3766
3745
  }
3767
3746
  return t;
3768
- }(Ve)
3769
- ), R;
3747
+ }(ke)
3748
+ ), D;
3770
3749
  (function(e) {
3771
3750
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3772
- })(R || (R = {}));
3773
- function _i(e) {
3751
+ })(D || (D = {}));
3752
+ function vi(e) {
3774
3753
  return e.length < 2 ? e : e.reduce(function(t, r) {
3775
3754
  var n = t[t.length - 1];
3776
- return !n || n.type !== R.literal || r.type !== R.literal ? t.push(r) : n.value += r.value, t;
3755
+ return !n || n.type !== D.literal || r.type !== D.literal ? t.push(r) : n.value += r.value, t;
3777
3756
  }, []);
3778
3757
  }
3779
- function xi(e) {
3758
+ function _i(e) {
3780
3759
  return typeof e == "function";
3781
3760
  }
3782
3761
  function Ne(e, t, r, n, i, o, s) {
3783
- if (e.length === 1 && Nt(e[0]))
3762
+ if (e.length === 1 && Lt(e[0]))
3784
3763
  return [
3785
3764
  {
3786
- type: R.literal,
3765
+ type: D.literal,
3787
3766
  value: e[0].value
3788
3767
  }
3789
3768
  ];
3790
3769
  for (var a = [], h = 0, l = e; h < l.length; h++) {
3791
3770
  var u = l[h];
3792
- if (Nt(u)) {
3771
+ if (Lt(u)) {
3793
3772
  a.push({
3794
- type: R.literal,
3773
+ type: D.literal,
3795
3774
  value: u.value
3796
3775
  });
3797
3776
  continue;
3798
3777
  }
3799
- if (jn(u)) {
3778
+ if (kn(u)) {
3800
3779
  typeof o == "number" && a.push({
3801
- type: R.literal,
3780
+ type: D.literal,
3802
3781
  value: r.getNumberFormat(t).format(o)
3803
3782
  });
3804
3783
  continue;
3805
3784
  }
3806
- var p = u.value;
3807
- if (!(i && p in i))
3808
- throw new vi(p, s);
3809
- var c = i[p];
3810
- if (kn(u)) {
3811
- (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3812
- type: typeof c == "string" ? R.literal : R.object,
3813
- value: c
3785
+ var d = u.value;
3786
+ if (!(i && d in i))
3787
+ throw new yi(d, s);
3788
+ var f = i[d];
3789
+ if (Gn(u)) {
3790
+ (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3791
+ type: typeof f == "string" ? D.literal : D.object,
3792
+ value: f
3814
3793
  });
3815
3794
  continue;
3816
3795
  }
3817
3796
  if (mr(u)) {
3818
- var m = typeof u.style == "string" ? n.date[u.style] : ct(u.style) ? u.style.parsedOptions : void 0;
3797
+ var p = typeof u.style == "string" ? n.date[u.style] : lt(u.style) ? u.style.parsedOptions : void 0;
3819
3798
  a.push({
3820
- type: R.literal,
3821
- value: r.getDateTimeFormat(t, m).format(c)
3799
+ type: D.literal,
3800
+ value: r.getDateTimeFormat(t, p).format(f)
3822
3801
  });
3823
3802
  continue;
3824
3803
  }
3825
3804
  if (br(u)) {
3826
- var m = typeof u.style == "string" ? n.time[u.style] : ct(u.style) ? u.style.parsedOptions : n.time.medium;
3805
+ var p = typeof u.style == "string" ? n.time[u.style] : lt(u.style) ? u.style.parsedOptions : n.time.medium;
3827
3806
  a.push({
3828
- type: R.literal,
3829
- value: r.getDateTimeFormat(t, m).format(c)
3807
+ type: D.literal,
3808
+ value: r.getDateTimeFormat(t, p).format(f)
3830
3809
  });
3831
3810
  continue;
3832
3811
  }
3833
- if (dr(u)) {
3834
- var m = typeof u.style == "string" ? n.number[u.style] : _r(u.style) ? u.style.parsedOptions : void 0;
3835
- m && m.scale && (c = c * (m.scale || 1)), a.push({
3836
- type: R.literal,
3837
- value: r.getNumberFormat(t, m).format(c)
3812
+ if (pr(u)) {
3813
+ var p = typeof u.style == "string" ? n.number[u.style] : _r(u.style) ? u.style.parsedOptions : void 0;
3814
+ p && p.scale && (f = f * (p.scale || 1)), a.push({
3815
+ type: D.literal,
3816
+ value: r.getNumberFormat(t, p).format(f)
3838
3817
  });
3839
3818
  continue;
3840
3819
  }
3841
3820
  if (vr(u)) {
3842
- var v = u.children, y = u.value, T = i[y];
3843
- if (!xi(T))
3844
- throw new yi(y, "function", s);
3845
- var H = Ne(v, t, r, n, i, o), S = T(H.map(function(L) {
3821
+ var y = u.children, g = u.value, S = i[g];
3822
+ if (!_i(S))
3823
+ throw new gi(g, "function", s);
3824
+ var H = Ne(y, t, r, n, i, o), E = S(H.map(function(L) {
3846
3825
  return L.value;
3847
3826
  }));
3848
- Array.isArray(S) || (S = [S]), a.push.apply(a, S.map(function(L) {
3827
+ Array.isArray(E) || (E = [E]), a.push.apply(a, E.map(function(L) {
3849
3828
  return {
3850
- type: typeof L == "string" ? R.literal : R.object,
3829
+ type: typeof L == "string" ? D.literal : D.object,
3851
3830
  value: L
3852
3831
  };
3853
3832
  }));
3854
3833
  }
3855
3834
  if (gr(u)) {
3856
- var b = u.options[c] || u.options.other;
3857
- if (!b)
3858
- throw new kt(u.value, c, Object.keys(u.options), s);
3859
- a.push.apply(a, Ne(b.value, t, r, n, i));
3835
+ var m = u.options[f] || u.options.other;
3836
+ if (!m)
3837
+ throw new Gt(u.value, f, Object.keys(u.options), s);
3838
+ a.push.apply(a, Ne(m.value, t, r, n, i));
3860
3839
  continue;
3861
3840
  }
3862
3841
  if (yr(u)) {
3863
- var b = u.options["=".concat(c)];
3864
- if (!b) {
3842
+ var m = u.options["=".concat(f)];
3843
+ if (!m) {
3865
3844
  if (!Intl.PluralRules)
3866
- throw new Ve(`Intl.PluralRules is not available in this environment.
3845
+ throw new ke(`Intl.PluralRules is not available in this environment.
3867
3846
  Try polyfilling it using "@formatjs/intl-pluralrules"
3868
- `, me.MISSING_INTL_API, s);
3869
- var I = r.getPluralRules(t, { type: u.pluralType }).select(c - (u.offset || 0));
3870
- b = u.options[I] || u.options.other;
3847
+ `, be.MISSING_INTL_API, s);
3848
+ var O = r.getPluralRules(t, { type: u.pluralType }).select(f - (u.offset || 0));
3849
+ m = u.options[O] || u.options.other;
3871
3850
  }
3872
- if (!b)
3873
- throw new kt(u.value, c, Object.keys(u.options), s);
3874
- a.push.apply(a, Ne(b.value, t, r, n, i, c - (u.offset || 0)));
3851
+ if (!m)
3852
+ throw new Gt(u.value, f, Object.keys(u.options), s);
3853
+ a.push.apply(a, Ne(m.value, t, r, n, i, f - (u.offset || 0)));
3875
3854
  continue;
3876
3855
  }
3877
3856
  }
3878
- return _i(a);
3857
+ return vi(a);
3879
3858
  }
3880
- function Ei(e, t) {
3881
- return t ? X(X(X({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3882
- return r[n] = X(X({}, e[n]), t[n] || {}), r;
3859
+ function xi(e, t) {
3860
+ return t ? w(w(w({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3861
+ return r[n] = w(w({}, e[n]), t[n] || {}), r;
3883
3862
  }, {})) : e;
3884
3863
  }
3885
- function wi(e, t) {
3864
+ function Ei(e, t) {
3886
3865
  return t ? Object.keys(e).reduce(function(r, n) {
3887
- return r[n] = Ei(e[n], t[n]), r;
3888
- }, X({}, e)) : e;
3866
+ return r[n] = xi(e[n], t[n]), r;
3867
+ }, w({}, e)) : e;
3889
3868
  }
3890
- function Ke(e) {
3869
+ function Ye(e) {
3891
3870
  return {
3892
3871
  create: function() {
3893
3872
  return {
@@ -3901,39 +3880,39 @@ function Ke(e) {
3901
3880
  }
3902
3881
  };
3903
3882
  }
3904
- function Si(e) {
3883
+ function wi(e) {
3905
3884
  return e === void 0 && (e = {
3906
3885
  number: {},
3907
3886
  dateTime: {},
3908
3887
  pluralRules: {}
3909
3888
  }), {
3910
- getNumberFormat: Qe(function() {
3889
+ getNumberFormat: Je(function() {
3911
3890
  for (var t, r = [], n = 0; n < arguments.length; n++)
3912
3891
  r[n] = arguments[n];
3913
- return new ((t = Intl.NumberFormat).bind.apply(t, Je([void 0], r, !1)))();
3892
+ return new ((t = Intl.NumberFormat).bind.apply(t, de([void 0], r, !1)))();
3914
3893
  }, {
3915
- cache: Ke(e.number),
3916
- strategy: qe.variadic
3894
+ cache: Ye(e.number),
3895
+ strategy: Qe.variadic
3917
3896
  }),
3918
- getDateTimeFormat: Qe(function() {
3897
+ getDateTimeFormat: Je(function() {
3919
3898
  for (var t, r = [], n = 0; n < arguments.length; n++)
3920
3899
  r[n] = arguments[n];
3921
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Je([void 0], r, !1)))();
3900
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, de([void 0], r, !1)))();
3922
3901
  }, {
3923
- cache: Ke(e.dateTime),
3924
- strategy: qe.variadic
3902
+ cache: Ye(e.dateTime),
3903
+ strategy: Qe.variadic
3925
3904
  }),
3926
- getPluralRules: Qe(function() {
3905
+ getPluralRules: Je(function() {
3927
3906
  for (var t, r = [], n = 0; n < arguments.length; n++)
3928
3907
  r[n] = arguments[n];
3929
- return new ((t = Intl.PluralRules).bind.apply(t, Je([void 0], r, !1)))();
3908
+ return new ((t = Intl.PluralRules).bind.apply(t, de([void 0], r, !1)))();
3930
3909
  }, {
3931
- cache: Ke(e.pluralRules),
3932
- strategy: qe.variadic
3910
+ cache: Ye(e.pluralRules),
3911
+ strategy: Qe.variadic
3933
3912
  })
3934
3913
  };
3935
3914
  }
3936
- var Ti = (
3915
+ var Si = (
3937
3916
  /** @class */
3938
3917
  function() {
3939
3918
  function e(t, r, n, i) {
@@ -3947,8 +3926,8 @@ var Ti = (
3947
3926
  var l = o.formatToParts(h);
3948
3927
  if (l.length === 1)
3949
3928
  return l[0].value;
3950
- var u = l.reduce(function(p, c) {
3951
- return !p.length || c.type !== R.literal || typeof p[p.length - 1] != "string" ? p.push(c.value) : p[p.length - 1] += c.value, p;
3929
+ var u = l.reduce(function(d, f) {
3930
+ return !d.length || f.type !== D.literal || typeof d[d.length - 1] != "string" ? d.push(f.value) : d[d.length - 1] += f.value, d;
3952
3931
  }, []);
3953
3932
  return u.length <= 1 ? u[0] || "" : u;
3954
3933
  }, this.formatToParts = function(h) {
@@ -3965,13 +3944,13 @@ var Ti = (
3965
3944
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3966
3945
  var s = i || {};
3967
3946
  s.formatters;
3968
- var a = Ln(s, ["formatters"]);
3969
- this.ast = e.__parse(t, X(X({}, a), { locale: this.resolvedLocale }));
3947
+ var a = rn(s, ["formatters"]);
3948
+ this.ast = e.__parse(t, w(w({}, a), { locale: this.resolvedLocale }));
3970
3949
  } else
3971
3950
  this.ast = t;
3972
3951
  if (!Array.isArray(this.ast))
3973
3952
  throw new TypeError("A message must be provided as a String or AST.");
3974
- this.formats = wi(e.formats, n), this.formatters = i && i.formatters || Si(this.formatterCache);
3953
+ this.formats = Ei(e.formats, n), this.formatters = i && i.formatters || wi(this.formatterCache);
3975
3954
  }
3976
3955
  return Object.defineProperty(e, "defaultLocale", {
3977
3956
  get: function() {
@@ -3984,7 +3963,7 @@ var Ti = (
3984
3963
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3985
3964
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3986
3965
  }
3987
- }, e.__parse = gi, e.formats = {
3966
+ }, e.__parse = bi, e.formats = {
3988
3967
  number: {
3989
3968
  integer: {
3990
3969
  maximumFractionDigits: 0
@@ -4045,7 +4024,7 @@ var Ti = (
4045
4024
  }, e;
4046
4025
  }()
4047
4026
  );
4048
- function Hi(e, t) {
4027
+ function Ti(e, t) {
4049
4028
  if (t == null)
4050
4029
  return;
4051
4030
  if (t in e)
@@ -4066,36 +4045,36 @@ function Hi(e, t) {
4066
4045
  n = void 0;
4067
4046
  return n;
4068
4047
  }
4069
- const Q = {}, Ai = (e, t, r) => r && (t in Q || (Q[t] = {}), e in Q[t] || (Q[t][e] = r), r), Pr = (e, t) => {
4048
+ const q = {}, Hi = (e, t, r) => r && (t in q || (q[t] = {}), e in q[t] || (q[t][e] = r), r), Pr = (e, t) => {
4070
4049
  if (t == null)
4071
4050
  return;
4072
- if (t in Q && e in Q[t])
4073
- return Q[t][e];
4074
- const r = Xe(t);
4051
+ if (t in q && e in q[t])
4052
+ return q[t][e];
4053
+ const r = je(t);
4075
4054
  for (let n = 0; n < r.length; n++) {
4076
- const i = r[n], o = Bi(i, e);
4055
+ const i = r[n], o = Pi(i, e);
4077
4056
  if (o)
4078
- return Ai(e, t, o);
4057
+ return Hi(e, t, o);
4079
4058
  }
4080
4059
  };
4081
- let _t;
4082
- const ye = ke({});
4083
- function Pi(e) {
4084
- return _t[e] || null;
4060
+ let vt;
4061
+ const ve = Ge({});
4062
+ function Ai(e) {
4063
+ return vt[e] || null;
4085
4064
  }
4086
4065
  function Br(e) {
4087
- return e in _t;
4066
+ return e in vt;
4088
4067
  }
4089
- function Bi(e, t) {
4068
+ function Pi(e, t) {
4090
4069
  if (!Br(e))
4091
4070
  return null;
4092
- const r = Pi(e);
4093
- return Hi(r, t);
4071
+ const r = Ai(e);
4072
+ return Ti(r, t);
4094
4073
  }
4095
- function Fi(e) {
4074
+ function Bi(e) {
4096
4075
  if (e == null)
4097
4076
  return;
4098
- const t = Xe(e);
4077
+ const t = je(e);
4099
4078
  for (let r = 0; r < t.length; r++) {
4100
4079
  const n = t[r];
4101
4080
  if (Br(n))
@@ -4103,28 +4082,28 @@ function Fi(e) {
4103
4082
  }
4104
4083
  }
4105
4084
  function Fr(e, ...t) {
4106
- delete Q[e], ye.update((r) => (r[e] = In.all([r[e] || {}, ...t]), r));
4085
+ delete q[e], ve.update((r) => (r[e] = Ln.all([r[e] || {}, ...t]), r));
4107
4086
  }
4108
- ge(
4109
- [ye],
4087
+ ye(
4088
+ [ve],
4110
4089
  ([e]) => Object.keys(e)
4111
4090
  );
4112
- ye.subscribe((e) => _t = e);
4091
+ ve.subscribe((e) => vt = e);
4113
4092
  const Me = {};
4114
- function Ci(e, t) {
4093
+ function Fi(e, t) {
4115
4094
  Me[e].delete(t), Me[e].size === 0 && delete Me[e];
4116
4095
  }
4117
4096
  function Cr(e) {
4118
4097
  return Me[e];
4119
4098
  }
4120
- function Oi(e) {
4121
- return Xe(e).map((t) => {
4099
+ function Ci(e) {
4100
+ return je(e).map((t) => {
4122
4101
  const r = Cr(t);
4123
4102
  return [t, r ? [...r] : []];
4124
4103
  }).filter(([, t]) => t.length > 0);
4125
4104
  }
4126
- function gt(e) {
4127
- return e == null ? !1 : Xe(e).some(
4105
+ function pt(e) {
4106
+ return e == null ? !1 : je(e).some(
4128
4107
  (t) => {
4129
4108
  var r;
4130
4109
  return (r = Cr(t)) == null ? void 0 : r.size;
@@ -4133,25 +4112,25 @@ function gt(e) {
4133
4112
  }
4134
4113
  function Ii(e, t) {
4135
4114
  return Promise.all(
4136
- t.map((n) => (Ci(e, n), n().then((i) => i.default || i)))
4115
+ t.map((n) => (Fi(e, n), n().then((i) => i.default || i)))
4137
4116
  ).then((n) => Fr(e, ...n));
4138
4117
  }
4139
- const _e = {};
4140
- function Or(e) {
4141
- if (!gt(e))
4142
- return e in _e ? _e[e] : Promise.resolve();
4143
- const t = Oi(e);
4144
- return _e[e] = Promise.all(
4118
+ const Ee = {};
4119
+ function Ir(e) {
4120
+ if (!pt(e))
4121
+ return e in Ee ? Ee[e] : Promise.resolve();
4122
+ const t = Ci(e);
4123
+ return Ee[e] = Promise.all(
4145
4124
  t.map(
4146
4125
  ([r, n]) => Ii(r, n)
4147
4126
  )
4148
4127
  ).then(() => {
4149
- if (gt(e))
4150
- return Or(e);
4151
- delete _e[e];
4152
- }), _e[e];
4128
+ if (pt(e))
4129
+ return Ir(e);
4130
+ delete Ee[e];
4131
+ }), Ee[e];
4153
4132
  }
4154
- const Li = {
4133
+ const Oi = {
4155
4134
  number: {
4156
4135
  scientific: { notation: "scientific" },
4157
4136
  engineering: { notation: "engineering" },
@@ -4180,141 +4159,141 @@ const Li = {
4180
4159
  timeZoneName: "short"
4181
4160
  }
4182
4161
  }
4183
- }, Ni = {
4162
+ }, Li = {
4184
4163
  fallbackLocale: null,
4185
4164
  loadingDelay: 200,
4186
- formats: Li,
4165
+ formats: Oi,
4187
4166
  warnOnMissingMessages: !0,
4188
4167
  handleMissingMessage: void 0,
4189
4168
  ignoreTag: !0
4190
- }, Mi = Ni;
4191
- function be() {
4192
- return Mi;
4169
+ }, Ni = Li;
4170
+ function ge() {
4171
+ return Ni;
4193
4172
  }
4194
- const et = ke(!1);
4195
- var Ri = Object.defineProperty, $i = Object.defineProperties, Ui = Object.getOwnPropertyDescriptors, jt = Object.getOwnPropertySymbols, Di = 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) => {
4173
+ const Ke = Ge(!1);
4174
+ var Mi = Object.defineProperty, Ri = Object.defineProperties, Di = Object.getOwnPropertyDescriptors, kt = Object.getOwnPropertySymbols, Ui = Object.prototype.hasOwnProperty, $i = Object.prototype.propertyIsEnumerable, jt = (e, t, r) => t in e ? Mi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Gi = (e, t) => {
4196
4175
  for (var r in t || (t = {}))
4197
- Di.call(t, r) && Vt(e, r, t[r]);
4198
- if (jt)
4199
- for (var r of jt(t))
4200
- Gi.call(t, r) && Vt(e, r, t[r]);
4176
+ Ui.call(t, r) && jt(e, r, t[r]);
4177
+ if (kt)
4178
+ for (var r of kt(t))
4179
+ $i.call(t, r) && jt(e, r, t[r]);
4201
4180
  return e;
4202
- }, ji = (e, t) => $i(e, Ui(t));
4203
- let yt;
4204
- const Ue = ke(null);
4205
- function Xt(e) {
4181
+ }, ki = (e, t) => Ri(e, Di(t));
4182
+ let mt;
4183
+ const De = Ge(null);
4184
+ function Vt(e) {
4206
4185
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4207
4186
  }
4208
- function Xe(e, t = be().fallbackLocale) {
4209
- const r = Xt(e);
4210
- return t ? [.../* @__PURE__ */ new Set([...r, ...Xt(t)])] : r;
4187
+ function je(e, t = ge().fallbackLocale) {
4188
+ const r = Vt(e);
4189
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Vt(t)])] : r;
4211
4190
  }
4212
- function ne() {
4213
- return yt ?? void 0;
4191
+ function ie() {
4192
+ return mt ?? void 0;
4214
4193
  }
4215
- Ue.subscribe((e) => {
4216
- yt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4194
+ De.subscribe((e) => {
4195
+ mt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4217
4196
  });
4218
- const Vi = (e) => {
4219
- if (e && Fi(e) && gt(e)) {
4220
- const { loadingDelay: t } = be();
4197
+ const ji = (e) => {
4198
+ if (e && Bi(e) && pt(e)) {
4199
+ const { loadingDelay: t } = ge();
4221
4200
  let r;
4222
- return typeof window < "u" && ne() != null && t ? r = window.setTimeout(
4223
- () => et.set(!0),
4201
+ return typeof window < "u" && ie() != null && t ? r = window.setTimeout(
4202
+ () => Ke.set(!0),
4224
4203
  t
4225
- ) : et.set(!0), Or(e).then(() => {
4226
- Ue.set(e);
4204
+ ) : Ke.set(!0), Ir(e).then(() => {
4205
+ De.set(e);
4227
4206
  }).finally(() => {
4228
- clearTimeout(r), et.set(!1);
4207
+ clearTimeout(r), Ke.set(!1);
4229
4208
  });
4230
4209
  }
4231
- return Ue.set(e);
4232
- }, re = ji(ki({}, Ue), {
4233
- set: Vi
4234
- }), We = (e) => {
4210
+ return De.set(e);
4211
+ }, ne = ki(Gi({}, De), {
4212
+ set: ji
4213
+ }), Ve = (e) => {
4235
4214
  const t = /* @__PURE__ */ Object.create(null);
4236
4215
  return (n) => {
4237
4216
  const i = JSON.stringify(n);
4238
4217
  return i in t ? t[i] : t[i] = e(n);
4239
4218
  };
4240
4219
  };
4241
- var Xi = Object.defineProperty, De = Object.getOwnPropertySymbols, Ir = Object.prototype.hasOwnProperty, Lr = 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) => {
4220
+ var Vi = Object.defineProperty, Ue = Object.getOwnPropertySymbols, Or = Object.prototype.hasOwnProperty, Lr = Object.prototype.propertyIsEnumerable, Xt = (e, t, r) => t in e ? Vi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, _t = (e, t) => {
4242
4221
  for (var r in t || (t = {}))
4243
- Ir.call(t, r) && Wt(e, r, t[r]);
4244
- if (De)
4245
- for (var r of De(t))
4246
- Lr.call(t, r) && Wt(e, r, t[r]);
4222
+ Or.call(t, r) && Xt(e, r, t[r]);
4223
+ if (Ue)
4224
+ for (var r of Ue(t))
4225
+ Lr.call(t, r) && Xt(e, r, t[r]);
4247
4226
  return e;
4248
- }, ve = (e, t) => {
4227
+ }, _e = (e, t) => {
4249
4228
  var r = {};
4250
4229
  for (var n in e)
4251
- Ir.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4252
- if (e != null && De)
4253
- for (var n of De(e))
4230
+ Or.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4231
+ if (e != null && Ue)
4232
+ for (var n of Ue(e))
4254
4233
  t.indexOf(n) < 0 && Lr.call(e, n) && (r[n] = e[n]);
4255
4234
  return r;
4256
4235
  };
4257
- const Te = (e, t) => {
4258
- const { formats: r } = be();
4236
+ const Ae = (e, t) => {
4237
+ const { formats: r } = ge();
4259
4238
  if (e in r && t in r[e])
4260
4239
  return r[e][t];
4261
4240
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4262
- }, Wi = We(
4241
+ }, Xi = Ve(
4263
4242
  (e) => {
4264
- var t = e, { locale: r, format: n } = t, i = ve(t, ["locale", "format"]);
4243
+ var t = e, { locale: r, format: n } = t, i = _e(t, ["locale", "format"]);
4265
4244
  if (r == null)
4266
4245
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4267
- return n && (i = Te("number", n)), new Intl.NumberFormat(r, i);
4246
+ return n && (i = Ae("number", n)), new Intl.NumberFormat(r, i);
4268
4247
  }
4269
- ), zi = We(
4248
+ ), Wi = Ve(
4270
4249
  (e) => {
4271
- var t = e, { locale: r, format: n } = t, i = ve(t, ["locale", "format"]);
4250
+ var t = e, { locale: r, format: n } = t, i = _e(t, ["locale", "format"]);
4272
4251
  if (r == null)
4273
4252
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4274
- return n ? i = Te("date", n) : Object.keys(i).length === 0 && (i = Te("date", "short")), new Intl.DateTimeFormat(r, i);
4253
+ return n ? i = Ae("date", n) : Object.keys(i).length === 0 && (i = Ae("date", "short")), new Intl.DateTimeFormat(r, i);
4275
4254
  }
4276
- ), Zi = We(
4255
+ ), zi = Ve(
4277
4256
  (e) => {
4278
- var t = e, { locale: r, format: n } = t, i = ve(t, ["locale", "format"]);
4257
+ var t = e, { locale: r, format: n } = t, i = _e(t, ["locale", "format"]);
4279
4258
  if (r == null)
4280
4259
  throw new Error(
4281
4260
  '[svelte-i18n] A "locale" must be set to format time values'
4282
4261
  );
4283
- return n ? i = Te("time", n) : Object.keys(i).length === 0 && (i = Te("time", "short")), new Intl.DateTimeFormat(r, i);
4262
+ return n ? i = Ae("time", n) : Object.keys(i).length === 0 && (i = Ae("time", "short")), new Intl.DateTimeFormat(r, i);
4284
4263
  }
4285
- ), Ji = (e = {}) => {
4264
+ ), Zi = (e = {}) => {
4286
4265
  var t = e, {
4287
- locale: r = ne()
4288
- } = t, n = ve(t, [
4266
+ locale: r = ie()
4267
+ } = t, n = _e(t, [
4289
4268
  "locale"
4290
4269
  ]);
4291
- return Wi(xt({ locale: r }, n));
4292
- }, Qi = (e = {}) => {
4270
+ return Xi(_t({ locale: r }, n));
4271
+ }, Ji = (e = {}) => {
4293
4272
  var t = e, {
4294
- locale: r = ne()
4295
- } = t, n = ve(t, [
4273
+ locale: r = ie()
4274
+ } = t, n = _e(t, [
4296
4275
  "locale"
4297
4276
  ]);
4298
- return zi(xt({ locale: r }, n));
4299
- }, qi = (e = {}) => {
4277
+ return Wi(_t({ locale: r }, n));
4278
+ }, Qi = (e = {}) => {
4300
4279
  var t = e, {
4301
- locale: r = ne()
4302
- } = t, n = ve(t, [
4280
+ locale: r = ie()
4281
+ } = t, n = _e(t, [
4303
4282
  "locale"
4304
4283
  ]);
4305
- return Zi(xt({ locale: r }, n));
4306
- }, Yi = We(
4284
+ return zi(_t({ locale: r }, n));
4285
+ }, qi = Ve(
4307
4286
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4308
- (e, t = ne()) => new Ti(e, t, be().formats, {
4309
- ignoreTag: be().ignoreTag
4287
+ (e, t = ie()) => new Si(e, t, ge().formats, {
4288
+ ignoreTag: ge().ignoreTag
4310
4289
  })
4311
- ), Ki = (e, t = {}) => {
4290
+ ), Yi = (e, t = {}) => {
4312
4291
  var r, n, i, o;
4313
4292
  let s = t;
4314
4293
  typeof e == "object" && (s = e, e = s.id);
4315
4294
  const {
4316
4295
  values: a,
4317
- locale: h = ne(),
4296
+ locale: h = ie(),
4318
4297
  default: l
4319
4298
  } = s;
4320
4299
  if (h == null)
@@ -4323,33 +4302,33 @@ const Te = (e, t) => {
4323
4302
  );
4324
4303
  let u = Pr(e, h);
4325
4304
  if (!u)
4326
- u = (o = (i = (n = (r = be()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4305
+ u = (o = (i = (n = (r = ge()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4327
4306
  else if (typeof u != "string")
4328
4307
  return console.warn(
4329
4308
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
4330
4309
  ), u;
4331
4310
  if (!a)
4332
4311
  return u;
4333
- let p = u;
4312
+ let d = u;
4334
4313
  try {
4335
- p = Yi(u, h).format(a);
4336
- } catch (c) {
4337
- c instanceof Error && console.warn(
4314
+ d = qi(u, h).format(a);
4315
+ } catch (f) {
4316
+ f instanceof Error && console.warn(
4338
4317
  `[svelte-i18n] Message "${e}" has syntax error:`,
4339
- c.message
4318
+ f.message
4340
4319
  );
4341
4320
  }
4342
- return p;
4343
- }, eo = (e, t) => qi(t).format(e), to = (e, t) => Qi(t).format(e), ro = (e, t) => Ji(t).format(e), no = (e, t = ne()) => Pr(e, t), io = ge([re, ye], () => Ki);
4344
- ge([re], () => eo);
4345
- ge([re], () => to);
4346
- ge([re], () => ro);
4347
- ge([re, ye], () => no);
4348
- window.emWidgets = { topic: bn };
4349
- 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";
4350
- function Bo(e, t) {
4321
+ return d;
4322
+ }, Ki = (e, t) => Qi(t).format(e), eo = (e, t) => Ji(t).format(e), to = (e, t) => Zi(t).format(e), ro = (e, t = ie()) => Pr(e, t), no = ye([ne, ve], () => Yi);
4323
+ ye([ne], () => Ki);
4324
+ ye([ne], () => eo);
4325
+ ye([ne], () => to);
4326
+ ye([ne, ve], () => ro);
4327
+ window.emWidgets = { topic: gn };
4328
+ const io = (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)), oo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4329
+ function Po(e, t) {
4351
4330
  const r = window.navigator.userAgent;
4352
- return oo(r) ? t = e.filter((n) => {
4331
+ return io(r) ? t = e.filter((n) => {
4353
4332
  if (n.gameModel && (n.gameModel.platform.includes("iPad") || n.gameModel.platform.includes("iPhone") || n.gameModel.platform.includes("Android")))
4354
4333
  return n;
4355
4334
  }) : t = e.filter((n) => {
@@ -4357,13 +4336,13 @@ function Bo(e, t) {
4357
4336
  return n;
4358
4337
  }), t;
4359
4338
  }
4360
- function ao(e, t) {
4339
+ function so(e, t) {
4361
4340
  if (e) {
4362
4341
  const r = document.createElement("style");
4363
4342
  r.innerHTML = t, e.appendChild(r);
4364
4343
  }
4365
4344
  }
4366
- function lo(e, t) {
4345
+ function ao(e, t) {
4367
4346
  const r = new URL(t);
4368
4347
  fetch(r.href).then((n) => n.text()).then((n) => {
4369
4348
  const i = document.createElement("style");
@@ -4372,7 +4351,7 @@ function lo(e, t) {
4372
4351
  console.error("There was an error while trying to load client styling from URL", n);
4373
4352
  });
4374
4353
  }
4375
- function uo(e, t, r) {
4354
+ function lo(e, t, r) {
4376
4355
  if (window.emMessageBus) {
4377
4356
  const n = document.createElement("style");
4378
4357
  window.emMessageBus.subscribe(t, (i) => {
@@ -4380,15 +4359,15 @@ function uo(e, t, r) {
4380
4359
  });
4381
4360
  }
4382
4361
  }
4383
- function ho({ withLocale: e, translations: t }) {
4384
- re.subscribe((r) => {
4385
- r == null && (ye.set(t), re.set(e));
4362
+ function uo({ withLocale: e, translations: t }) {
4363
+ ne.subscribe((r) => {
4364
+ r == null && (ve.set(t), ne.set(e));
4386
4365
  });
4387
4366
  }
4388
- function zt(e, t) {
4367
+ function Wt(e, t) {
4389
4368
  Fr(e, t);
4390
4369
  }
4391
- const Zt = {
4370
+ const zt = {
4392
4371
  en: {
4393
4372
  providers: "Providers:",
4394
4373
  filterby: "Filter by:",
@@ -4498,56 +4477,56 @@ const Zt = {
4498
4477
  clear: "Clear all"
4499
4478
  }
4500
4479
  };
4501
- function co(e) {
4480
+ function ho(e) {
4502
4481
  Ur(e, "svelte-14m0j7n", ':root{--min-height:50px}.SearchLoading{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.FilterContainer{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));position:relative;z-index:17}.FilterSelector{background-color:var(--emw--color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;max-width:fit-content;cursor:pointer}.FilterSelector.FilterSelectorOpen{border-radius:5px 5px 0 0}.FilterMainArea{display:flex;align-items:center}.FilterMainArea svg{margin-right:16px}.FilterName{font-size:11px;line-height:12px;color:var(--emw--color-gray-100, #E6E6E6);text-transform:uppercase}.FilterTextContainer{display:flex;flex-direction:column}.FilterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.FilterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:48px;margin-bottom:40px;overflow:hidden;margin:0}.FilterDropdownContainer.FilterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:20px}.FilterDropdown{width:100%;max-height:300px;display:flex;flex-direction:column;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none}.FilterDropdown::-webkit-scrollbar{display:none}.FilterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;padding:0 15px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.FilterItem input{cursor:pointer;margin-right:10px}.FilterItem:hover input~.FiltersCheckmark{background-color:transparent;border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}.FilterItem input:checked~.FiltersCheckmark{background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}.FilterItem .FiltersCheckmark{transition:all 0.05s ease-in;margin-right:15px}.FilterItem .FiltersCheckmark:after{content:"";position:absolute;left:9px;display:none}.FilterItem input:checked~.FiltersCheckmark:after{display:block}.FilterItem .FiltersCheckmark:after{left:8px;top:4px;width:5px;height:10px;border:1px solid var(--emw--color-white, #FFFFFF);border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0}.FilterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.FilterLabel .FiltersCheckmark{border-radius:8px;position:relative;height:22px;width:22px;min-width:22px;background-color:transparent;border:1px solid var(--emw--color-white, #FFFFFF)}.FilterLabel .FilterItemLabel{width:100%;display:flex;justify-content:space-between;overflow:hidden}.FilterLabel .FilterItemLabel span.VendorName{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.FilterItemWithLogos label{height:70px;display:flex;justify-content:space-evenly;align-items:center}.FilterItemWithLogos label img{width:70px}.FilterLabel input:checked+span{font-weight:600}.FilterCounter{display:inline-flex;margin-left:10px;min-width:17px}.ClearFilters{margin:20px auto;border:0;color:#fff;background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));font-size:18px;padding:10px 50px;border-radius:5px;cursor:pointer;transition:all 0.1s ease-in;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ClearFilters:disabled{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);pointer-events:none;cursor:not-allowed}@media only screen and (max-width: 768px){.FilterSelector{max-width:initial}.FilterDropdownContainer{width:100%;margin-bottom:20px}.FilterDropdown{margin-block-start:0;gap:14px}.FilterItemWithLogos label{justify-content:center}.FilerContainerSplit .FilterSelector{padding:7px}.FilerContainerSplit .FilterSelector .FilterCounter{margin-left:0}.FilerContainerSplit .FilterMainArea svg{margin:0 10px}.FilerContainerSplit .FilterDropdown{padding:0 5px;box-sizing:border-box}.FilerContainerSplit .FilterDropdownContainer{top:42px}.FilerContainerSplit .ClearFilters{padding:8px 20px;font-size:15px}.FilterLabel .FiltersCheckmark{margin-right:15px}.FilterItem.FilterItemWithLogos{display:flex;align-items:center;justify-content:center}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0 20px 0 0}.FilerContainerSplit .FilterItem label{padding:0;width:calc(100% - 10px);font-size:12px}.FilterItem label>*{pointer-events:none}}@media(max-width: 480px){.FilerContainerSplit .FilterSelector{min-height:var(--min-height)}.FilerContainerSplit .FilterDropdownContainer{top:var(--min-height)}.FilterName,.FilterValueContainer{overflow:hidden;max-width:100%;font-size:12px;text-overflow:ellipsis;width:fit-content}.FilterLabel .FiltersCheckmark{margin-right:5px}.FilterItem label{padding:0;font-size:11px;overflow:hidden;text-overflow:ellipsis;width:unset}.FilterItemLabel span:first-child{display:inline-block;overflow:hidden;text-overflow:ellipsis;max-width:60%}}');
4503
4482
  }
4504
- function Jt(e, t, r) {
4483
+ function Zt(e, t, r) {
4505
4484
  const n = e.slice();
4506
4485
  return n[37] = t[r], n[38] = t, n[39] = r, n;
4507
4486
  }
4508
- function fo(e) {
4487
+ function co(e) {
4509
4488
  let t, r, n, i, o, s, a, h, l = (
4510
4489
  /*$_*/
4511
4490
  e[11]("filterby") + ""
4512
- ), u, p, c, m, v = (
4491
+ ), u, d, f, p, y = (
4513
4492
  /*$_*/
4514
4493
  e[11]("providers") + ""
4515
- ), y, T, H, S, b, I, L, M, A, P, N, z, j, Y = (
4494
+ ), g, S, H, E, m, O, L, R, A, P, N, V, z, K = (
4516
4495
  /*$_*/
4517
4496
  e[11]("clear") + ""
4518
- ), ie, K, oe, ee, se, Ae;
4519
- function Pe(d, C) {
4497
+ ), oe, ee, te, se, ae, xe;
4498
+ function Pe(c, T) {
4520
4499
  return (
4521
4500
  /*fullSelection*/
4522
- d[7] ? bo : mo
4501
+ c[7] ? mo : po
4523
4502
  );
4524
4503
  }
4525
- let ae = Pe(e), U = ae(e), J = Ht(
4504
+ let le = Pe(e), $ = le(e), Q = Tt(
4526
4505
  /*vendorArray*/
4527
4506
  e[5]
4528
- ), f = [];
4529
- for (let d = 0; d < J.length; d += 1)
4530
- f[d] = Qt(Jt(e, J, d));
4507
+ ), M = [];
4508
+ for (let c = 0; c < Q.length; c += 1)
4509
+ M[c] = Jt(Zt(e, Q, c));
4531
4510
  return {
4532
4511
  c() {
4533
- t = B("div"), r = B("div"), n = B("div"), i = xe("svg"), o = xe("path"), s = V(), a = B("div"), h = B("span"), u = D(l), p = V(), c = B("div"), m = B("span"), y = D(v), T = V(), U.c(), H = V(), S = B("span"), b = xe("svg"), I = xe("path"), A = V(), P = B("div"), N = B("ul");
4534
- for (let d = 0; d < f.length; d += 1)
4535
- f[d].c();
4536
- z = V(), j = B("button"), ie = D(Y), g(o, "id", "noun_filter_736223"), g(o, "d", "M12.2,22.2a1.018,1.018,0,0,1-.391-.091.939.939,0,0,1-.533-.857v-6.2L5.267,8.9A.95.95,0,0,1,5,8.225V7.149A.93.93,0,0,1,5.924,6.2H20.076A.93.93,0,0,1,21,7.149V8.225a.95.95,0,0,1-.267.675l-6.009,6.148V19.81a.981.981,0,0,1-.32.712l-1.6,1.423A.9.9,0,0,1,12.2,22.2ZM6,8.189,12,14.355a.95.95,0,0,1,.267.675v6.039l1.44-1.277v-4.78a.95.95,0,0,1,.267-.675L19.987,8.17V7.2H6Z"), g(o, "transform", "translate(-5 -6.2)"), g(o, "fill", "#fff"), g(i, "xmlns", "http://www.w3.org/2000/svg"), g(i, "width", "16"), g(i, "height", "16"), g(i, "viewBox", "0 0 16 16"), g(h, "class", "FilterName"), g(c, "class", "FilterValueContainer"), g(a, "class", "FilterTextContainer"), g(n, "class", "FilterMainArea"), g(I, "id", "arrow"), g(I, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), g(I, "transform", "translate(-274.511 -441.088)"), g(I, "fill", "#d1d1d1"), g(b, "xmlns", "http://www.w3.org/2000/svg"), g(b, "width", "14"), g(b, "height", "6.835"), g(b, "viewBox", "0 0 14 6.835"), g(S, "class", L = "TriangleInactive " + /*isFilterActive*/
4537
- (e[4] ? "TriangleActive" : "")), g(r, "class", M = "FilterSelector " + /*isFilterActive*/
4538
- (e[4] ? "FilterSelectorOpen" : "")), g(N, "class", "FilterDropdown"), g(j, "class", "ClearFilters"), j.disabled = K = /*fullSelection*/
4512
+ t = B("div"), r = B("div"), n = B("div"), i = we("svg"), o = we("path"), s = X(), a = B("div"), h = B("span"), u = G(l), d = X(), f = B("div"), p = B("span"), g = G(y), S = X(), $.c(), H = X(), E = B("span"), m = we("svg"), O = we("path"), A = X(), P = B("div"), N = B("ul");
4513
+ for (let c = 0; c < M.length; c += 1)
4514
+ M[c].c();
4515
+ V = X(), z = B("button"), oe = G(K), b(o, "id", "noun_filter_736223"), b(o, "d", "M12.2,22.2a1.018,1.018,0,0,1-.391-.091.939.939,0,0,1-.533-.857v-6.2L5.267,8.9A.95.95,0,0,1,5,8.225V7.149A.93.93,0,0,1,5.924,6.2H20.076A.93.93,0,0,1,21,7.149V8.225a.95.95,0,0,1-.267.675l-6.009,6.148V19.81a.981.981,0,0,1-.32.712l-1.6,1.423A.9.9,0,0,1,12.2,22.2ZM6,8.189,12,14.355a.95.95,0,0,1,.267.675v6.039l1.44-1.277v-4.78a.95.95,0,0,1,.267-.675L19.987,8.17V7.2H6Z"), b(o, "transform", "translate(-5 -6.2)"), b(o, "fill", "#fff"), b(i, "xmlns", "http://www.w3.org/2000/svg"), b(i, "width", "16"), b(i, "height", "16"), b(i, "viewBox", "0 0 16 16"), b(h, "class", "FilterName"), b(f, "class", "FilterValueContainer"), b(a, "class", "FilterTextContainer"), b(n, "class", "FilterMainArea"), b(O, "id", "arrow"), b(O, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), b(O, "transform", "translate(-274.511 -441.088)"), b(O, "fill", "#d1d1d1"), b(m, "xmlns", "http://www.w3.org/2000/svg"), b(m, "width", "14"), b(m, "height", "6.835"), b(m, "viewBox", "0 0 14 6.835"), b(E, "class", L = "TriangleInactive " + /*isFilterActive*/
4516
+ (e[4] ? "TriangleActive" : "")), b(r, "class", R = "FilterSelector " + /*isFilterActive*/
4517
+ (e[4] ? "FilterSelectorOpen" : "")), b(N, "class", "FilterDropdown"), b(z, "class", "ClearFilters"), z.disabled = ee = /*fullSelection*/
4539
4518
  e[7] && /*selectedVendorArray*/
4540
4519
  e[6].length != /*vendorArray*/
4541
- e[5].length, g(P, "class", oe = "FilterDropdownContainer " + /*isFilterActive*/
4542
- (e[4] ? "FilterOpen" : "")), g(t, "class", ee = "FilterContainer " + /*addfilterselector*/
4520
+ e[5].length, b(P, "class", te = "FilterDropdownContainer " + /*isFilterActive*/
4521
+ (e[4] ? "FilterOpen" : "")), b(t, "class", se = "FilterContainer " + /*addfilterselector*/
4543
4522
  (e[0] == "true" && /*addsortingselector*/
4544
4523
  e[1] == "true" ? "FilerContainerSplit" : ""));
4545
4524
  },
4546
- m(d, C) {
4547
- W(d, t, C), _(t, r), _(r, n), _(n, i), _(i, o), _(n, s), _(n, a), _(a, h), _(h, u), _(a, p), _(a, c), _(c, m), _(m, y), _(c, T), U.m(c, null), _(r, H), _(r, S), _(S, b), _(b, I), _(t, A), _(t, P), _(P, N);
4548
- for (let x = 0; x < f.length; x += 1)
4549
- f[x] && f[x].m(N, null);
4550
- _(P, z), _(P, j), _(j, ie), se || (Ae = [
4525
+ m(c, T) {
4526
+ 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, g), 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);
4527
+ for (let F = 0; F < M.length; F += 1)
4528
+ M[F] && M[F].m(N, null);
4529
+ v(P, V), v(P, z), v(z, oe), ae || (xe = [
4551
4530
  Re(
4552
4531
  r,
4553
4532
  "click",
@@ -4555,63 +4534,63 @@ function fo(e) {
4555
4534
  e[24]
4556
4535
  ),
4557
4536
  Re(
4558
- j,
4537
+ z,
4559
4538
  "click",
4560
4539
  /*click_handler_2*/
4561
4540
  e[27]
4562
4541
  )
4563
- ], se = !0);
4542
+ ], ae = !0);
4564
4543
  },
4565
- p(d, C) {
4566
- if (C[0] & /*$_*/
4544
+ p(c, T) {
4545
+ if (T[0] & /*$_*/
4567
4546
  2048 && l !== (l = /*$_*/
4568
- d[11]("filterby") + "") && te(u, l), C[0] & /*$_*/
4569
- 2048 && v !== (v = /*$_*/
4570
- d[11]("providers") + "") && te(y, v), ae === (ae = Pe(d)) && U ? U.p(d, C) : (U.d(1), U = ae(d), U && (U.c(), U.m(c, null))), C[0] & /*isFilterActive*/
4547
+ c[11]("filterby") + "") && re(u, l), T[0] & /*$_*/
4548
+ 2048 && y !== (y = /*$_*/
4549
+ c[11]("providers") + "") && re(g, y), le === (le = Pe(c)) && $ ? $.p(c, T) : ($.d(1), $ = le(c), $ && ($.c(), $.m(f, null))), T[0] & /*isFilterActive*/
4571
4550
  16 && L !== (L = "TriangleInactive " + /*isFilterActive*/
4572
- (d[4] ? "TriangleActive" : "")) && g(S, "class", L), C[0] & /*isFilterActive*/
4573
- 16 && M !== (M = "FilterSelector " + /*isFilterActive*/
4574
- (d[4] ? "FilterSelectorOpen" : "")) && g(r, "class", M), C[0] & /*filterbylogo, vendorArray, filterByVendors*/
4551
+ (c[4] ? "TriangleActive" : "")) && b(E, "class", L), T[0] & /*isFilterActive*/
4552
+ 16 && R !== (R = "FilterSelector " + /*isFilterActive*/
4553
+ (c[4] ? "FilterSelectorOpen" : "")) && b(r, "class", R), T[0] & /*filterbylogo, vendorArray, filterByVendors*/
4575
4554
  8228) {
4576
- J = Ht(
4555
+ Q = Tt(
4577
4556
  /*vendorArray*/
4578
- d[5]
4557
+ c[5]
4579
4558
  );
4580
- let x;
4581
- for (x = 0; x < J.length; x += 1) {
4582
- const le = Jt(d, J, x);
4583
- f[x] ? f[x].p(le, C) : (f[x] = Qt(le), f[x].c(), f[x].m(N, null));
4559
+ let F;
4560
+ for (F = 0; F < Q.length; F += 1) {
4561
+ const I = Zt(c, Q, F);
4562
+ M[F] ? M[F].p(I, T) : (M[F] = Jt(I), M[F].c(), M[F].m(N, null));
4584
4563
  }
4585
- for (; x < f.length; x += 1)
4586
- f[x].d(1);
4587
- f.length = J.length;
4564
+ for (; F < M.length; F += 1)
4565
+ M[F].d(1);
4566
+ M.length = Q.length;
4588
4567
  }
4589
- C[0] & /*$_*/
4590
- 2048 && Y !== (Y = /*$_*/
4591
- d[11]("clear") + "") && te(ie, Y), C[0] & /*fullSelection, selectedVendorArray, vendorArray*/
4592
- 224 && K !== (K = /*fullSelection*/
4593
- d[7] && /*selectedVendorArray*/
4594
- d[6].length != /*vendorArray*/
4595
- d[5].length) && (j.disabled = K), C[0] & /*isFilterActive*/
4596
- 16 && oe !== (oe = "FilterDropdownContainer " + /*isFilterActive*/
4597
- (d[4] ? "FilterOpen" : "")) && g(P, "class", oe), C[0] & /*addfilterselector, addsortingselector*/
4598
- 3 && ee !== (ee = "FilterContainer " + /*addfilterselector*/
4599
- (d[0] == "true" && /*addsortingselector*/
4600
- d[1] == "true" ? "FilerContainerSplit" : "")) && g(t, "class", ee);
4568
+ T[0] & /*$_*/
4569
+ 2048 && K !== (K = /*$_*/
4570
+ c[11]("clear") + "") && re(oe, K), T[0] & /*fullSelection, selectedVendorArray, vendorArray*/
4571
+ 224 && ee !== (ee = /*fullSelection*/
4572
+ c[7] && /*selectedVendorArray*/
4573
+ c[6].length != /*vendorArray*/
4574
+ c[5].length) && (z.disabled = ee), T[0] & /*isFilterActive*/
4575
+ 16 && te !== (te = "FilterDropdownContainer " + /*isFilterActive*/
4576
+ (c[4] ? "FilterOpen" : "")) && b(P, "class", te), T[0] & /*addfilterselector, addsortingselector*/
4577
+ 3 && se !== (se = "FilterContainer " + /*addfilterselector*/
4578
+ (c[0] == "true" && /*addsortingselector*/
4579
+ c[1] == "true" ? "FilerContainerSplit" : "")) && b(t, "class", se);
4601
4580
  },
4602
- d(d) {
4603
- d && k(t), U.d(), kr(f, d), se = !1, q(Ae);
4581
+ d(c) {
4582
+ c && j(t), $.d(), kr(M, c), ae = !1, Y(xe);
4604
4583
  }
4605
4584
  };
4606
4585
  }
4607
- function po(e) {
4586
+ function fo(e) {
4608
4587
  let t, r = (
4609
4588
  /*$_*/
4610
4589
  e[11]("500") + ""
4611
4590
  );
4612
4591
  return {
4613
4592
  c() {
4614
- t = B("p"), g(t, "class", "SearchLoading");
4593
+ t = B("p"), b(t, "class", "SearchLoading");
4615
4594
  },
4616
4595
  m(n, i) {
4617
4596
  W(n, t, i), t.innerHTML = r;
@@ -4622,78 +4601,78 @@ function po(e) {
4622
4601
  n[11]("500") + "") && (t.innerHTML = r);
4623
4602
  },
4624
4603
  d(n) {
4625
- n && k(t);
4604
+ n && j(t);
4626
4605
  }
4627
4606
  };
4628
4607
  }
4629
- function mo(e) {
4608
+ function po(e) {
4630
4609
  let t, r;
4631
4610
  return {
4632
4611
  c() {
4633
- t = B("span"), r = D(
4612
+ t = B("span"), r = G(
4634
4613
  /*selectionNumber*/
4635
4614
  e[8]
4636
- ), g(t, "class", "FilterCounter");
4615
+ ), b(t, "class", "FilterCounter");
4637
4616
  },
4638
4617
  m(n, i) {
4639
- W(n, t, i), _(t, r);
4618
+ W(n, t, i), v(t, r);
4640
4619
  },
4641
4620
  p(n, i) {
4642
4621
  i[0] & /*selectionNumber*/
4643
- 256 && te(
4622
+ 256 && re(
4644
4623
  r,
4645
4624
  /*selectionNumber*/
4646
4625
  n[8]
4647
4626
  );
4648
4627
  },
4649
4628
  d(n) {
4650
- n && k(t);
4629
+ n && j(t);
4651
4630
  }
4652
4631
  };
4653
4632
  }
4654
- function bo(e) {
4633
+ function mo(e) {
4655
4634
  let t, r = (
4656
4635
  /*$_*/
4657
4636
  e[11]("all") + ""
4658
4637
  ), n;
4659
4638
  return {
4660
4639
  c() {
4661
- t = B("span"), n = D(r), g(t, "class", "FilterCounter");
4640
+ t = B("span"), n = G(r), b(t, "class", "FilterCounter");
4662
4641
  },
4663
4642
  m(i, o) {
4664
- W(i, t, o), _(t, n);
4643
+ W(i, t, o), v(t, n);
4665
4644
  },
4666
4645
  p(i, o) {
4667
4646
  o[0] & /*$_*/
4668
4647
  2048 && r !== (r = /*$_*/
4669
- i[11]("all") + "") && te(n, r);
4648
+ i[11]("all") + "") && re(n, r);
4670
4649
  },
4671
4650
  d(i) {
4672
- i && k(t);
4651
+ i && j(t);
4673
4652
  }
4674
4653
  };
4675
4654
  }
4676
- function go(e) {
4655
+ function bo(e) {
4677
4656
  let t, r;
4678
4657
  return {
4679
4658
  c() {
4680
- t = B("img"), wt(t.src, r = /*vendor*/
4681
- e[37].logo) || g(t, "src", r), g(t, "alt", "vendor logo");
4659
+ t = B("img"), Et(t.src, r = /*vendor*/
4660
+ e[37].logo) || b(t, "src", r), b(t, "alt", "vendor logo");
4682
4661
  },
4683
4662
  m(n, i) {
4684
4663
  W(n, t, i);
4685
4664
  },
4686
4665
  p(n, i) {
4687
4666
  i[0] & /*vendorArray*/
4688
- 32 && !wt(t.src, r = /*vendor*/
4689
- n[37].logo) && g(t, "src", r);
4667
+ 32 && !Et(t.src, r = /*vendor*/
4668
+ n[37].logo) && b(t, "src", r);
4690
4669
  },
4691
4670
  d(n) {
4692
- n && k(t);
4671
+ n && j(t);
4693
4672
  }
4694
4673
  };
4695
4674
  }
4696
- function yo(e) {
4675
+ function go(e) {
4697
4676
  let t, r, n = (
4698
4677
  /*vendor*/
4699
4678
  e[37].name + ""
@@ -4703,26 +4682,26 @@ function yo(e) {
4703
4682
  ), l, u;
4704
4683
  return {
4705
4684
  c() {
4706
- t = B("div"), r = B("span"), i = D(n), o = V(), s = B("span"), a = D("("), l = D(h), u = D(")"), g(r, "class", "VendorName"), g(t, "class", "FilterItemLabel");
4685
+ t = B("div"), r = B("span"), i = G(n), o = X(), s = B("span"), a = G("("), l = G(h), u = G(")"), b(r, "class", "VendorName"), b(t, "class", "FilterItemLabel");
4707
4686
  },
4708
- m(p, c) {
4709
- W(p, t, c), _(t, r), _(r, i), _(t, o), _(t, s), _(s, a), _(s, l), _(s, u);
4687
+ m(d, f) {
4688
+ 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);
4710
4689
  },
4711
- p(p, c) {
4712
- c[0] & /*vendorArray*/
4690
+ p(d, f) {
4691
+ f[0] & /*vendorArray*/
4713
4692
  32 && n !== (n = /*vendor*/
4714
- p[37].name + "") && te(i, n), c[0] & /*vendorArray*/
4693
+ d[37].name + "") && re(i, n), f[0] & /*vendorArray*/
4715
4694
  32 && h !== (h = /*vendor*/
4716
- p[37].games.total + "") && te(l, h);
4695
+ d[37].games.total + "") && re(l, h);
4717
4696
  },
4718
- d(p) {
4719
- p && k(t);
4697
+ d(d) {
4698
+ d && j(t);
4720
4699
  }
4721
4700
  };
4722
4701
  }
4723
- function Qt(e) {
4724
- let t, r, n, i, o, s, a, h, l, u, p, c;
4725
- function m() {
4702
+ function Jt(e) {
4703
+ let t, r, n, i, o, s, a, h, l, u, d, f;
4704
+ function p() {
4726
4705
  e[25].call(
4727
4706
  n,
4728
4707
  /*each_value*/
@@ -4731,7 +4710,7 @@ function Qt(e) {
4731
4710
  e[39]
4732
4711
  );
4733
4712
  }
4734
- function v() {
4713
+ function y() {
4735
4714
  return (
4736
4715
  /*click_handler_1*/
4737
4716
  e[26](
@@ -4740,60 +4719,60 @@ function Qt(e) {
4740
4719
  )
4741
4720
  );
4742
4721
  }
4743
- function y(S, b) {
4722
+ function g(E, m) {
4744
4723
  if (
4745
4724
  /*filterbylogo*/
4746
- S[2] === "false"
4725
+ E[2] === "false"
4747
4726
  )
4748
- return yo;
4727
+ return go;
4749
4728
  if (
4750
4729
  /*filterbylogo*/
4751
- S[2] === "true"
4730
+ E[2] === "true"
4752
4731
  )
4753
- return go;
4732
+ return bo;
4754
4733
  }
4755
- let T = y(e), H = T && T(e);
4734
+ let S = g(e), H = S && S(e);
4756
4735
  return {
4757
4736
  c() {
4758
- t = B("li"), r = B("label"), n = B("input"), o = V(), s = B("span"), a = V(), H && H.c(), h = V(), g(n, "type", "checkbox"), g(n, "name", "checkbox"), n.__value = i = /*vendor*/
4759
- e[37].name, St(n, n.__value), g(s, "class", "FiltersCheckmark"), g(r, "class", "FilterLabel"), g(t, "class", l = "FilterItem " + /*filterbylogo*/
4737
+ t = B("li"), r = B("label"), n = B("input"), o = X(), s = B("span"), a = X(), H && H.c(), h = X(), b(n, "type", "checkbox"), b(n, "name", "checkbox"), n.__value = i = /*vendor*/
4738
+ e[37].name, wt(n, n.__value), b(s, "class", "FiltersCheckmark"), b(r, "class", "FilterLabel"), b(t, "class", l = "FilterItem " + /*filterbylogo*/
4760
4739
  (e[2] === "true" ? "FilterItemWithLogos" : "")), t.value = u = /*vendor*/
4761
4740
  e[37].name;
4762
4741
  },
4763
- m(S, b) {
4764
- W(S, t, b), _(t, r), _(r, n), n.checked = /*vendor*/
4765
- e[37].isFilterSelected, _(r, o), _(r, s), _(r, a), H && H.m(r, null), _(t, h), p || (c = [
4766
- Re(n, "change", m),
4767
- Re(n, "click", v)
4768
- ], p = !0);
4742
+ m(E, m) {
4743
+ W(E, t, m), v(t, r), v(r, n), n.checked = /*vendor*/
4744
+ e[37].isFilterSelected, v(r, o), v(r, s), v(r, a), H && H.m(r, null), v(t, h), d || (f = [
4745
+ Re(n, "change", p),
4746
+ Re(n, "click", y)
4747
+ ], d = !0);
4769
4748
  },
4770
- p(S, b) {
4771
- e = S, b[0] & /*vendorArray*/
4749
+ p(E, m) {
4750
+ e = E, m[0] & /*vendorArray*/
4772
4751
  32 && i !== (i = /*vendor*/
4773
- e[37].name) && (n.__value = i, St(n, n.__value)), b[0] & /*vendorArray*/
4752
+ e[37].name) && (n.__value = i, wt(n, n.__value)), m[0] & /*vendorArray*/
4774
4753
  32 && (n.checked = /*vendor*/
4775
- e[37].isFilterSelected), T === (T = y(e)) && H ? H.p(e, b) : (H && H.d(1), H = T && T(e), H && (H.c(), H.m(r, null))), b[0] & /*filterbylogo*/
4754
+ e[37].isFilterSelected), S === (S = g(e)) && H ? H.p(e, m) : (H && H.d(1), H = S && S(e), H && (H.c(), H.m(r, null))), m[0] & /*filterbylogo*/
4776
4755
  4 && l !== (l = "FilterItem " + /*filterbylogo*/
4777
- (e[2] === "true" ? "FilterItemWithLogos" : "")) && g(t, "class", l), b[0] & /*vendorArray*/
4756
+ (e[2] === "true" ? "FilterItemWithLogos" : "")) && b(t, "class", l), m[0] & /*vendorArray*/
4778
4757
  32 && u !== (u = /*vendor*/
4779
4758
  e[37].name) && (t.value = u);
4780
4759
  },
4781
- d(S) {
4782
- S && k(t), H && H.d(), p = !1, q(c);
4760
+ d(E) {
4761
+ E && j(t), H && H.d(), d = !1, Y(f);
4783
4762
  }
4784
4763
  };
4785
4764
  }
4786
- function vo(e) {
4765
+ function yo(e) {
4787
4766
  let t;
4788
4767
  function r(o, s) {
4789
4768
  if (
4790
4769
  /*hasErrors*/
4791
4770
  o[10]
4792
4771
  )
4793
- return po;
4772
+ return fo;
4794
4773
  if (!/*isLoading*/
4795
4774
  o[9])
4796
- return fo;
4775
+ return co;
4797
4776
  }
4798
4777
  let n = r(e), i = n && n(e);
4799
4778
  return {
@@ -4806,104 +4785,104 @@ function vo(e) {
4806
4785
  p(o, s) {
4807
4786
  n === (n = r(o)) && i ? i.p(o, s) : (i && i.d(1), i = n && n(o), i && (i.c(), i.m(t, null)));
4808
4787
  },
4809
- i: G,
4810
- o: G,
4788
+ i: k,
4789
+ o: k,
4811
4790
  d(o) {
4812
- o && k(t), i && i.d(), e[28](null);
4791
+ o && j(t), i && i.d(), e[28](null);
4813
4792
  }
4814
4793
  };
4815
4794
  }
4816
- function _o(e, t, r) {
4795
+ function vo(e, t, r) {
4817
4796
  let n;
4818
- $r(e, io, (f) => r(11, n = f));
4819
- let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "" } = t, { translationurl: a = "" } = t, { clientstyling: h = "" } = t, { clientstylingurl: l = "" } = t, { categoryid: u = "" } = t, { addfilterselector: p = "false" } = t, { addsortingselector: c = "false" } = t, { filterbylogo: m = "false" } = t, { mbsource: v } = t, { usesinglevendorfilter: y = "false" } = t, T = !1, H = window.navigator.userAgent, S = [], b = [], I = {}, L = !1, M = 0, A = !0, P, N = !1;
4820
- ho({ withLocale: "en", translations: {} });
4797
+ Dr(e, no, (c) => r(11, n = c));
4798
+ let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "" } = t, { translationurl: a = "" } = t, { clientstyling: h = "" } = t, { clientstylingurl: l = "" } = t, { categoryid: u = "" } = t, { addfilterselector: d = "false" } = t, { addsortingselector: f = "false" } = t, { filterbylogo: p = "false" } = t, { mbsource: y } = t, { usesinglevendorfilter: g = "false" } = t, S = !1, H = window.navigator.userAgent, E = [], m = [], O = {}, L = !1, R = 0, A = !0, P, N = !1, V;
4799
+ uo({ withLocale: "en", translations: {} });
4821
4800
  const z = () => {
4822
- fetch(a).then((d) => d.json()).then((d) => {
4823
- Object.keys(d).forEach((C) => {
4824
- zt(C, d[C]);
4801
+ fetch(a).then((T) => T.json()).then((T) => {
4802
+ Object.keys(T).forEach((F) => {
4803
+ Wt(F, T[F]);
4825
4804
  });
4826
- }).catch((d) => {
4827
- console.log(d);
4805
+ }).catch((T) => {
4806
+ console.log(T);
4828
4807
  });
4829
4808
  };
4830
- Object.keys(Zt).forEach((f) => {
4831
- zt(f, Zt[f]);
4832
- }), I[u] && (I = { [u]: [] });
4833
- const j = () => {
4834
- r(4, T = !T), window.postMessage({ type: "FilterOpened" }, window.location.href);
4835
- }, Y = (f) => (r(9, A = !0), new Promise((d, C) => {
4836
- fetch(f).then((x) => x.json()).then((x) => {
4837
- x = x.items, d(x.items), r(6, b = []);
4838
- let le = JSON.parse(localStorage.getItem("vendorFiltersByCategory"));
4839
- const Mr = y === "true" ? "*" : u;
4840
- x.forEach((Be) => {
4841
- le || (le = { currentCategoryId: [] }), le[Mr]?.indexOf(Be.id) >= 0 ? (Be.isFilterSelected = !0, b.push(Be)) : Be.isFilterSelected = !1;
4842
- }), r(5, S = x), K();
4843
- }).catch((x) => {
4844
- console.error(x), r(10, N = !0), C(x);
4809
+ Object.keys(zt).forEach((c) => {
4810
+ Wt(c, zt[c]);
4811
+ }), O[u] && (O = { [u]: [] });
4812
+ const K = () => {
4813
+ r(4, S = !S), window.postMessage({ type: "FilterOpened" }, window.location.href);
4814
+ }, oe = (c) => (r(9, A = !0), new Promise((T, F) => {
4815
+ fetch(c).then((I) => I.json()).then((I) => {
4816
+ I = I.items, T(I.items), r(6, m = []);
4817
+ let Xe = JSON.parse(localStorage.getItem("vendorFiltersByCategory"));
4818
+ const Mr = g === "true" ? "*" : u;
4819
+ I.forEach((Be) => {
4820
+ Xe || (Xe = { currentCategoryId: [] }), Xe[Mr]?.indexOf(Be.id) >= 0 ? (Be.isFilterSelected = !0, m.push(Be)) : Be.isFilterSelected = !1;
4821
+ }), r(5, E = I), te();
4822
+ }).catch((I) => {
4823
+ console.error(I), r(10, N = !0), F(I);
4845
4824
  }).finally(() => {
4846
4825
  r(9, A = !1);
4847
4826
  });
4848
- })), ie = (f) => {
4849
- let d = localStorage.getItem("vendorFiltersByCategory");
4850
- f.isFilterSelected = !f.isFilterSelected, !b.length || b.filter((x) => x.name === f.name).length == 0 ? b.push(f) : r(6, b = b.filter((x) => x.name !== f.name));
4851
- const C = y === "true" ? "*" : u;
4852
- d == null ? localStorage.setItem("vendorFiltersByCategory", JSON.stringify(I = {
4853
- [C]: b.map((x) => x.id)
4854
- })) : (d = JSON.parse(d), d[C] = b.map((x) => x.id), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(d))), window.postMessage({ type: "ApplyFilters", origin: "filters" }, window.location.href), K();
4855
- }, K = () => {
4856
- r(7, L = b.length === S.length || b.length == 0), r(8, M = b.length);
4857
- }, oe = () => {
4858
- if (S.length && y === "true")
4827
+ })), ee = (c) => {
4828
+ let T = localStorage.getItem("vendorFiltersByCategory");
4829
+ 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));
4830
+ const F = g === "true" ? "*" : u;
4831
+ T == null ? localStorage.setItem("vendorFiltersByCategory", JSON.stringify(O = {
4832
+ [F]: m.map((I) => I.id)
4833
+ })) : (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), te();
4834
+ }, te = () => {
4835
+ r(7, L = m.length === E.length || m.length == 0), r(8, R = m.length);
4836
+ }, se = () => {
4837
+ if (E.length && g === "true")
4859
4838
  return;
4860
- const f = new URL(`${i}/v1/casino/vendors`);
4861
- r(4, T = !1), f.searchParams.append("fields", "id,name,logo,subVendors,games"), f.searchParams.append("language", s), f.searchParams.append("datasource", o), f.searchParams.append("platform", so(H)), y === "true" || ((u.match(/\$/g) || []).length > 1 ? (f.searchParams.append("filter", `games(subGroups=${u})`), f.searchParams.append("subVendors", `games(subGroups=${u})`)) : f.searchParams.append("filter", `games(groups=${u})`)), Y(f);
4862
- }, ee = () => {
4863
- r(6, b = []), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(I = {
4864
- [y === "true" ? "*" : u]: b.map((f) => f.id)
4865
- })), S.forEach((f) => f.isFilterSelected = !1), r(5, S), window.postMessage({ type: "ApplyFilters" }, window.location.href), r(7, L = !0), r(4, T = !1);
4866
- }, se = (f) => {
4867
- f.data.type == "SortingOpened" && r(4, T = !1);
4839
+ const c = new URL(`${i}/v1/casino/vendors`);
4840
+ 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", oo(H)), g === "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);
4841
+ }, ae = () => {
4842
+ r(6, m = []), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(O = {
4843
+ [g === "true" ? "*" : u]: m.map((c) => c.id)
4844
+ })), E.forEach((c) => c.isFilterSelected = !1), r(5, E), window.postMessage({ type: "ApplyFilters" }, window.location.href), r(7, L = !0), r(4, S = !1);
4845
+ }, xe = (c) => {
4846
+ c.data.type == "SortingOpened" && r(4, S = !1);
4868
4847
  };
4869
- Xr(() => (window.addEventListener("message", se, !1), () => {
4870
- window.removeEventListener("message", se);
4848
+ Xr(() => (window.addEventListener("message", xe, !1), () => {
4849
+ window.emMessageBus != null && V && V.unsubscribe(), window.removeEventListener("message", xe);
4871
4850
  }));
4872
- const Ae = () => j();
4873
- function Pe(f, d) {
4874
- f[d].isFilterSelected = this.checked, r(5, S);
4851
+ const Pe = () => K();
4852
+ function le(c, T) {
4853
+ c[T].isFilterSelected = this.checked, r(5, E);
4875
4854
  }
4876
- const ae = (f) => ie(f), U = () => ee();
4877
- function J(f) {
4878
- tt[f ? "unshift" : "push"](() => {
4879
- P = f, r(3, P);
4855
+ const $ = (c) => ee(c), Q = () => ae();
4856
+ function M(c) {
4857
+ et[c ? "unshift" : "push"](() => {
4858
+ P = c, r(3, P);
4880
4859
  });
4881
4860
  }
4882
- return e.$$set = (f) => {
4883
- "endpoint" in f && r(15, i = f.endpoint), "datasource" in f && r(16, o = f.datasource), "lang" in f && r(17, s = f.lang), "translationurl" in f && r(18, a = f.translationurl), "clientstyling" in f && r(19, h = f.clientstyling), "clientstylingurl" in f && r(20, l = f.clientstylingurl), "categoryid" in f && r(21, u = f.categoryid), "addfilterselector" in f && r(0, p = f.addfilterselector), "addsortingselector" in f && r(1, c = f.addsortingselector), "filterbylogo" in f && r(2, m = f.filterbylogo), "mbsource" in f && r(22, v = f.mbsource), "usesinglevendorfilter" in f && r(23, y = f.usesinglevendorfilter);
4861
+ return e.$$set = (c) => {
4862
+ "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, y = c.mbsource), "usesinglevendorfilter" in c && r(23, g = c.usesinglevendorfilter);
4884
4863
  }, e.$$.update = () => {
4885
4864
  e.$$.dirty[0] & /*endpoint, datasource, categoryid, filterbylogo*/
4886
- 2195460 && i && o && u && m && oe(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4887
- 524296 && h && P && ao(P, h), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4888
- 1048584 && l && P && lo(P, l), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
4889
- 4194312 && P && uo(P, `${v}.Style`), e.$$.dirty[0] & /*translationurl*/
4865
+ 2195460 && i && o && u && p && se(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4866
+ 524296 && h && P && so(P, h), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4867
+ 1048584 && l && P && ao(P, l), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
4868
+ 4194312 && P && lo(P, `${y}.Style`), e.$$.dirty[0] & /*translationurl*/
4890
4869
  262144 && a && z();
4891
4870
  }, [
4871
+ d,
4872
+ f,
4892
4873
  p,
4893
- c,
4894
- m,
4895
4874
  P,
4896
- T,
4897
4875
  S,
4898
- b,
4876
+ E,
4877
+ m,
4899
4878
  L,
4900
- M,
4879
+ R,
4901
4880
  A,
4902
4881
  N,
4903
4882
  n,
4904
- j,
4905
- ie,
4883
+ K,
4906
4884
  ee,
4885
+ ae,
4907
4886
  i,
4908
4887
  o,
4909
4888
  s,
@@ -4911,13 +4890,13 @@ function _o(e, t, r) {
4911
4890
  h,
4912
4891
  l,
4913
4892
  u,
4914
- v,
4915
4893
  y,
4916
- Ae,
4894
+ g,
4917
4895
  Pe,
4918
- ae,
4919
- U,
4920
- J
4896
+ le,
4897
+ $,
4898
+ Q,
4899
+ M
4921
4900
  ];
4922
4901
  }
4923
4902
  class Nr extends en {
@@ -4925,9 +4904,9 @@ class Nr extends en {
4925
4904
  super(), Yr(
4926
4905
  this,
4927
4906
  t,
4928
- _o,
4929
4907
  vo,
4930
- Yt,
4908
+ yo,
4909
+ qt,
4931
4910
  {
4932
4911
  endpoint: 15,
4933
4912
  datasource: 16,
@@ -4942,7 +4921,7 @@ class Nr extends en {
4942
4921
  mbsource: 22,
4943
4922
  usesinglevendorfilter: 23
4944
4923
  },
4945
- co,
4924
+ ho,
4946
4925
  [-1, -1]
4947
4926
  );
4948
4927
  }
@@ -4950,121 +4929,121 @@ class Nr extends en {
4950
4929
  return this.$$.ctx[15];
4951
4930
  }
4952
4931
  set endpoint(t) {
4953
- this.$$set({ endpoint: t }), $();
4932
+ this.$$set({ endpoint: t }), U();
4954
4933
  }
4955
4934
  get datasource() {
4956
4935
  return this.$$.ctx[16];
4957
4936
  }
4958
4937
  set datasource(t) {
4959
- this.$$set({ datasource: t }), $();
4938
+ this.$$set({ datasource: t }), U();
4960
4939
  }
4961
4940
  get lang() {
4962
4941
  return this.$$.ctx[17];
4963
4942
  }
4964
4943
  set lang(t) {
4965
- this.$$set({ lang: t }), $();
4944
+ this.$$set({ lang: t }), U();
4966
4945
  }
4967
4946
  get translationurl() {
4968
4947
  return this.$$.ctx[18];
4969
4948
  }
4970
4949
  set translationurl(t) {
4971
- this.$$set({ translationurl: t }), $();
4950
+ this.$$set({ translationurl: t }), U();
4972
4951
  }
4973
4952
  get clientstyling() {
4974
4953
  return this.$$.ctx[19];
4975
4954
  }
4976
4955
  set clientstyling(t) {
4977
- this.$$set({ clientstyling: t }), $();
4956
+ this.$$set({ clientstyling: t }), U();
4978
4957
  }
4979
4958
  get clientstylingurl() {
4980
4959
  return this.$$.ctx[20];
4981
4960
  }
4982
4961
  set clientstylingurl(t) {
4983
- this.$$set({ clientstylingurl: t }), $();
4962
+ this.$$set({ clientstylingurl: t }), U();
4984
4963
  }
4985
4964
  get categoryid() {
4986
4965
  return this.$$.ctx[21];
4987
4966
  }
4988
4967
  set categoryid(t) {
4989
- this.$$set({ categoryid: t }), $();
4968
+ this.$$set({ categoryid: t }), U();
4990
4969
  }
4991
4970
  get addfilterselector() {
4992
4971
  return this.$$.ctx[0];
4993
4972
  }
4994
4973
  set addfilterselector(t) {
4995
- this.$$set({ addfilterselector: t }), $();
4974
+ this.$$set({ addfilterselector: t }), U();
4996
4975
  }
4997
4976
  get addsortingselector() {
4998
4977
  return this.$$.ctx[1];
4999
4978
  }
5000
4979
  set addsortingselector(t) {
5001
- this.$$set({ addsortingselector: t }), $();
4980
+ this.$$set({ addsortingselector: t }), U();
5002
4981
  }
5003
4982
  get filterbylogo() {
5004
4983
  return this.$$.ctx[2];
5005
4984
  }
5006
4985
  set filterbylogo(t) {
5007
- this.$$set({ filterbylogo: t }), $();
4986
+ this.$$set({ filterbylogo: t }), U();
5008
4987
  }
5009
4988
  get mbsource() {
5010
4989
  return this.$$.ctx[22];
5011
4990
  }
5012
4991
  set mbsource(t) {
5013
- this.$$set({ mbsource: t }), $();
4992
+ this.$$set({ mbsource: t }), U();
5014
4993
  }
5015
4994
  get usesinglevendorfilter() {
5016
4995
  return this.$$.ctx[23];
5017
4996
  }
5018
4997
  set usesinglevendorfilter(t) {
5019
- this.$$set({ usesinglevendorfilter: t }), $();
4998
+ this.$$set({ usesinglevendorfilter: t }), U();
5020
4999
  }
5021
5000
  }
5022
5001
  Kr(Nr, { endpoint: {}, datasource: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, categoryid: {}, addfilterselector: {}, addsortingselector: {}, filterbylogo: {}, mbsource: {}, usesinglevendorfilter: {} }, [], [], !0);
5023
- const Fo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5002
+ const Bo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5024
5003
  __proto__: null,
5025
5004
  default: Nr
5026
5005
  }, Symbol.toStringTag, { value: "Module" }));
5027
5006
  export {
5028
- re as $,
5029
- Ho as A,
5030
- xe as B,
5031
- ao as C,
5032
- lo as D,
5033
- uo as E,
5034
- Kr as F,
5035
- io as G,
5036
- So as H,
5037
- To as I,
5038
- Bo as J,
5039
- Po as K,
5040
- Ao as L,
5041
- ye as M,
5042
- Fo as N,
5007
+ ne as $,
5008
+ so as A,
5009
+ lo as B,
5010
+ Tt as C,
5011
+ kr as D,
5012
+ no as E,
5013
+ To as F,
5014
+ we as G,
5015
+ wo as H,
5016
+ So as I,
5017
+ Po as J,
5018
+ Ao as K,
5019
+ Ho as L,
5020
+ ve as M,
5021
+ Bo as N,
5043
5022
  en as S,
5044
5023
  Fr as a,
5045
5024
  Ur as b,
5046
- wt as c,
5047
- k as d,
5048
- Eo as e,
5049
- $ as f,
5050
- te as g,
5051
- g as h,
5025
+ Kr as c,
5026
+ X as d,
5027
+ B as e,
5028
+ U as f,
5029
+ Et as g,
5030
+ xo as h,
5052
5031
  Yr as i,
5053
- W as j,
5054
- _ as k,
5055
- B as l,
5056
- V as m,
5057
- G as n,
5058
- D as o,
5059
- $r as p,
5060
- Xr as q,
5061
- Re as r,
5062
- Yt as s,
5063
- wo as t,
5064
- xo as u,
5065
- oo as v,
5066
- so as w,
5067
- tt as x,
5068
- Ht as y,
5069
- kr as z
5032
+ b as j,
5033
+ Eo as k,
5034
+ W as l,
5035
+ v as m,
5036
+ re as n,
5037
+ k as o,
5038
+ j as p,
5039
+ Dr as q,
5040
+ Xr as r,
5041
+ qt as s,
5042
+ G as t,
5043
+ ao as u,
5044
+ Re as v,
5045
+ _o as w,
5046
+ io as x,
5047
+ oo as y,
5048
+ et as z
5070
5049
  };