@everymatrix/casino-tournaments-page-controller 1.77.18 → 1.77.20

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 (54) hide show
  1. package/components/{CasinoTournamentsDetails-BhehF_iH.js → CasinoTournamentsDetails-C30Jp2nv.js} +762 -805
  2. package/components/CasinoTournamentsDetails-DwFG80l5.cjs +18 -0
  3. package/components/{CasinoTournamentsDetails-CCZyFUZY.js → CasinoTournamentsDetails-m-BkMhTx.js} +760 -803
  4. package/components/{CasinoTournamentsPageController-BupvThyE.js → CasinoTournamentsPageController-BKC9dRBD.js} +8 -8
  5. package/components/{CasinoTournamentsPageController-C9dXL8aq.cjs → CasinoTournamentsPageController-Bc2CUCYy.cjs} +2 -2
  6. package/components/{CasinoTournamentsPageController-D87wHVAn.js → CasinoTournamentsPageController-DZNqrVld.js} +8 -8
  7. package/components/{CasinoTournamentsRank-DBuxPj0S.cjs → CasinoTournamentsRank-BYLwbonp.cjs} +1 -1
  8. package/components/{CasinoTournamentsRank-CXceAd_p.js → CasinoTournamentsRank-DZT0ANzC.js} +1 -1
  9. package/components/{CasinoTournamentsRank-BxiLigZq.js → CasinoTournamentsRank-DbC6aMso.js} +1 -1
  10. package/components/{CasinoTournamentsTab-CGNPCbDW.js → CasinoTournamentsTab-994q3iFo.js} +1 -1
  11. package/components/{CasinoTournamentsTab-CV3zK-ST.js → CasinoTournamentsTab-CLWI-UyL.js} +1 -1
  12. package/components/{CasinoTournamentsTab-B7bZ4XQ5.cjs → CasinoTournamentsTab-Cm9CIQTY.cjs} +1 -1
  13. package/components/{CasinoTournamentsTable-DpqajrzO.js → CasinoTournamentsTable-BwFItCC8.js} +1 -1
  14. package/components/{CasinoTournamentsTable-CXkuplUY.cjs → CasinoTournamentsTable-D4bZdYmi.cjs} +1 -1
  15. package/components/{CasinoTournamentsTable-BuIo7Q48.js → CasinoTournamentsTable-iEHeX8TQ.js} +1 -1
  16. package/components/{CasinoTournamentsThumbnail-BWeSr5Pm.cjs → CasinoTournamentsThumbnail-CWZPKKOS.cjs} +1 -1
  17. package/components/{CasinoTournamentsThumbnail-Cx6G4iW9.js → CasinoTournamentsThumbnail-CWx5ZIHJ.js} +3 -3
  18. package/components/{CasinoTournamentsThumbnail-DQ32ROP1.js → CasinoTournamentsThumbnail-Cnk1yqun.js} +3 -3
  19. package/components/{CasinoTournamentsThumbnailController-C6kMp_uB.cjs → CasinoTournamentsThumbnailController-65wR81H1.cjs} +1 -1
  20. package/components/{CasinoTournamentsThumbnailController-BJORxhsT.js → CasinoTournamentsThumbnailController-CU7o2NRJ.js} +5 -5
  21. package/components/{CasinoTournamentsThumbnailController-aZ94k3Xc.js → CasinoTournamentsThumbnailController-HsZE8kR1.js} +5 -5
  22. package/components/{CasinoTournamentsThumbnailDuration-BlIVTADc.js → CasinoTournamentsThumbnailDuration-ByXFYVel.js} +1 -1
  23. package/components/{CasinoTournamentsThumbnailDuration-DFP-nQmW.js → CasinoTournamentsThumbnailDuration-D8pvMtSP.js} +1 -1
  24. package/components/{CasinoTournamentsThumbnailDuration-DdgsYjkY.cjs → CasinoTournamentsThumbnailDuration-uWr7zsMR.cjs} +1 -1
  25. package/components/{CasinoTournamentsThumbnailGames-CMEl_dOL.js → CasinoTournamentsThumbnailGames-BL9MeF8M.js} +2 -2
  26. package/components/{CasinoTournamentsThumbnailGames-D87QSrRp.js → CasinoTournamentsThumbnailGames-BRH8wFKB.js} +2 -2
  27. package/components/{CasinoTournamentsThumbnailGames-BcJ5YMme.cjs → CasinoTournamentsThumbnailGames-U--WhgbL.cjs} +1 -1
  28. package/components/{CasinoTournamentsThumbnailGamesSlider-DDw7qiWJ.js → CasinoTournamentsThumbnailGamesSlider-CavmG3Uo.js} +1 -1
  29. package/components/{CasinoTournamentsThumbnailGamesSlider-Ds--aYaY.js → CasinoTournamentsThumbnailGamesSlider-GAKYyJH1.js} +1 -1
  30. package/components/{CasinoTournamentsThumbnailGamesSlider-_5Ay7Yas.cjs → CasinoTournamentsThumbnailGamesSlider-NaxB082j.cjs} +1 -1
  31. package/components/{CasinoTournamentsThumbnailPrizes-NcyluRLB.js → CasinoTournamentsThumbnailPrizes-BTGjL3gs.js} +1 -1
  32. package/components/{CasinoTournamentsThumbnailPrizes-l6dTOFOE.js → CasinoTournamentsThumbnailPrizes-CqfEqdOV.js} +1 -1
  33. package/components/{CasinoTournamentsThumbnailPrizes-Cpt9pMCc.cjs → CasinoTournamentsThumbnailPrizes-JtKX_bVB.cjs} +1 -1
  34. package/components/{CasinoTournamentsThumbnailRule-QS3MmPV3.cjs → CasinoTournamentsThumbnailRule-29RibKSC.cjs} +1 -1
  35. package/components/{CasinoTournamentsThumbnailRule-D9AkrYWg.js → CasinoTournamentsThumbnailRule-CPBuEw4F.js} +1 -1
  36. package/components/{CasinoTournamentsThumbnailRule-Bkh7dp-L.js → CasinoTournamentsThumbnailRule-Cw2Kwq4v.js} +1 -1
  37. package/es2015/casino-tournaments-page-controller.cjs +1 -1
  38. package/es2015/casino-tournaments-page-controller.js +1 -1
  39. package/esnext/casino-tournaments-page-controller.js +1 -1
  40. package/package.json +1 -1
  41. package/stencil/{index-97d17652-CCFHkzJw.js → index-97d17652-B0NIExnR.js} +2 -2
  42. package/stencil/{index-97d17652--F7PvMq9.js → index-97d17652-D6HPqRtr.js} +2 -2
  43. package/stencil/index-97d17652-DNpK20ur.cjs +1 -0
  44. package/stencil/{ui-image-CXqPvnQ2.js → ui-image-B374V2Sk.js} +1 -1
  45. package/stencil/{ui-image-Bk8cIvcH.cjs → ui-image-BBrwf8a4.cjs} +1 -1
  46. package/stencil/{ui-image-DgbODkuX.js → ui-image-CQSJVNNX.js} +1 -1
  47. package/stencil/{ui-image-b7b48fe5-ByRuJtdE.js → ui-image-b7b48fe5-BXmf73Ou.js} +1 -1
  48. package/stencil/{ui-image-b7b48fe5-DG83WzAo.cjs → ui-image-b7b48fe5-DaWM2RbJ.cjs} +1 -1
  49. package/stencil/{ui-image-b7b48fe5-D6iig_uN.js → ui-image-b7b48fe5-c0NIgcTj.js} +1 -1
  50. package/stencil/{ui-image_2-DdFjzzNO.cjs → ui-image_2-Cdo33umq.cjs} +1 -1
  51. package/stencil/{ui-image_2-qO3reSlr.js → ui-image_2-DbQ7SENq.js} +2 -2
  52. package/stencil/{ui-image_2-Bm97-wkj.js → ui-image_2-L-CYescb.js} +2 -2
  53. package/components/CasinoTournamentsDetails-C0vnKkIF.cjs +0 -18
  54. package/stencil/index-97d17652-BhLhk_xz.cjs +0 -1
@@ -1,53 +1,53 @@
1
- function S() {
1
+ function T() {
2
2
  }
3
- function wt(e) {
3
+ function vt(e) {
4
4
  return e();
5
5
  }
6
- function et() {
6
+ function Qe() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
- function ee(e) {
10
- e.forEach(wt);
11
- }
12
9
  function te(e) {
10
+ e.forEach(vt);
11
+ }
12
+ function re(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function Tt(e, t) {
15
+ function _t(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
18
  let se;
19
- function Fi(e, t) {
19
+ function $i(e, t) {
20
20
  return e === t ? !0 : (se || (se = document.createElement("a")), se.href = t, e === se.href);
21
21
  }
22
- function sr(e) {
22
+ function tr(e) {
23
23
  return Object.keys(e).length === 0;
24
24
  }
25
- function Ht(e, ...t) {
25
+ function xt(e, ...t) {
26
26
  if (e == null) {
27
27
  for (const n of t)
28
28
  n(void 0);
29
- return S;
29
+ return T;
30
30
  }
31
31
  const r = e.subscribe(...t);
32
32
  return r.unsubscribe ? () => r.unsubscribe() : r;
33
33
  }
34
- function ji(e, t, r) {
35
- e.$$.on_destroy.push(Ht(t, r));
34
+ function Ri(e, t, r) {
35
+ e.$$.on_destroy.push(xt(t, r));
36
36
  }
37
- function ar(e) {
38
- return e && te(e.destroy) ? e.destroy : S;
37
+ function rr(e) {
38
+ return e && re(e.destroy) ? e.destroy : T;
39
39
  }
40
- function H(e, t) {
40
+ function w(e, t) {
41
41
  e.appendChild(t);
42
42
  }
43
- function ur(e, t, r) {
44
- const n = hr(e);
43
+ function nr(e, t, r) {
44
+ const n = ir(e);
45
45
  if (!n.getElementById(t)) {
46
- const i = A("style");
47
- i.id = t, i.textContent = r, lr(n, i);
46
+ const i = H("style");
47
+ i.id = t, i.textContent = r, or(n, i);
48
48
  }
49
49
  }
50
- function hr(e) {
50
+ function ir(e) {
51
51
  if (!e)
52
52
  return document;
53
53
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -57,8 +57,8 @@ function hr(e) {
57
57
  t
58
58
  ) : e.ownerDocument;
59
59
  }
60
- function lr(e, t) {
61
- return H(
60
+ function or(e, t) {
61
+ return w(
62
62
  /** @type {Document} */
63
63
  e.head || e,
64
64
  t
@@ -67,50 +67,50 @@ function lr(e, t) {
67
67
  function N(e, t, r) {
68
68
  e.insertBefore(t, r || null);
69
69
  }
70
- function P(e) {
70
+ function A(e) {
71
71
  e.parentNode && e.parentNode.removeChild(e);
72
72
  }
73
- function ki(e, t) {
73
+ function Di(e, t) {
74
74
  for (let r = 0; r < e.length; r += 1)
75
75
  e[r] && e[r].d(t);
76
76
  }
77
- function A(e) {
77
+ function H(e) {
78
78
  return document.createElement(e);
79
79
  }
80
- function q(e) {
80
+ function J(e) {
81
81
  return document.createElementNS("http://www.w3.org/2000/svg", e);
82
82
  }
83
- function qe(e) {
83
+ function Xe(e) {
84
84
  return document.createTextNode(e);
85
85
  }
86
- function At() {
87
- return qe(" ");
86
+ function Et() {
87
+ return Xe(" ");
88
88
  }
89
- function Vi() {
90
- return qe("");
89
+ function Ui() {
90
+ return Xe("");
91
91
  }
92
- function Ie(e, t, r, n) {
92
+ function Ae(e, t, r, n) {
93
93
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
94
94
  }
95
- function b(e, t, r) {
95
+ function y(e, t, r) {
96
96
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
97
97
  }
98
- function Xi(e, t, r) {
98
+ function Gi(e, t, r) {
99
99
  const n = t.toLowerCase();
100
- n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : b(e, t, r);
100
+ n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : y(e, t, r);
101
101
  }
102
- function fr(e) {
102
+ function sr(e) {
103
103
  return Array.from(e.childNodes);
104
104
  }
105
- function cr(e, t) {
105
+ function ar(e, t) {
106
106
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
107
107
  t);
108
108
  }
109
- function Wi(e, t, r, n) {
109
+ function Fi(e, t, r, n) {
110
110
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
111
111
  }
112
112
  let ae;
113
- function pr() {
113
+ function ur() {
114
114
  if (ae === void 0) {
115
115
  ae = !1;
116
116
  try {
@@ -121,16 +121,16 @@ function pr() {
121
121
  }
122
122
  return ae;
123
123
  }
124
- function zi(e, t) {
124
+ function ji(e, t) {
125
125
  getComputedStyle(e).position === "static" && (e.style.position = "relative");
126
- const n = A("iframe");
126
+ const n = H("iframe");
127
127
  n.setAttribute(
128
128
  "style",
129
129
  "display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"
130
130
  ), n.setAttribute("aria-hidden", "true"), n.tabIndex = -1;
131
- const i = pr();
131
+ const i = ur();
132
132
  let o;
133
- return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", o = Ie(
133
+ return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", o = Ae(
134
134
  window,
135
135
  "message",
136
136
  /** @param {MessageEvent} event */
@@ -138,15 +138,15 @@ function zi(e, t) {
138
138
  s.source === n.contentWindow && t();
139
139
  }
140
140
  )) : (n.src = "about:blank", n.onload = () => {
141
- o = Ie(n.contentWindow, "resize", t), t();
142
- }), H(e, n), () => {
143
- (i || o && n.contentWindow) && o(), P(n);
141
+ o = Ae(n.contentWindow, "resize", t), t();
142
+ }), w(e, n), () => {
143
+ (i || o && n.contentWindow) && o(), A(n);
144
144
  };
145
145
  }
146
- function Zi(e, t, r) {
146
+ function ki(e, t, r) {
147
147
  e.classList.toggle(t, !!r);
148
148
  }
149
- class Qi {
149
+ class Vi {
150
150
  /**
151
151
  * @private
152
152
  * @default false
@@ -177,10 +177,10 @@ class Qi {
177
177
  * @returns {void}
178
178
  */
179
179
  m(t, r, n = null) {
180
- this.e || (this.is_svg ? this.e = q(
180
+ this.e || (this.is_svg ? this.e = J(
181
181
  /** @type {keyof SVGElementTagNameMap} */
182
182
  r.nodeName
183
- ) : this.e = A(
183
+ ) : this.e = H(
184
184
  /** @type {keyof HTMLElementTagNameMap} */
185
185
  r.nodeType === 11 ? "TEMPLATE" : r.nodeName
186
186
  ), this.t = r.tagName !== "TEMPLATE" ? r : (
@@ -213,10 +213,10 @@ class Qi {
213
213
  /**
214
214
  * @returns {void} */
215
215
  d() {
216
- this.n.forEach(P);
216
+ this.n.forEach(A);
217
217
  }
218
218
  }
219
- function dr(e) {
219
+ function hr(e) {
220
220
  const t = {};
221
221
  return e.childNodes.forEach(
222
222
  /** @param {Element} node */
@@ -225,101 +225,101 @@ function dr(e) {
225
225
  }
226
226
  ), t;
227
227
  }
228
- let J;
229
- function Q(e) {
230
- J = e;
228
+ let Y;
229
+ function q(e) {
230
+ Y = e;
231
231
  }
232
- function Bt() {
233
- if (!J)
232
+ function Tt() {
233
+ if (!Y)
234
234
  throw new Error("Function called outside component initialization");
235
- return J;
235
+ return Y;
236
236
  }
237
- function mr(e) {
238
- Bt().$$.on_mount.push(e);
237
+ function lr(e) {
238
+ Tt().$$.on_mount.push(e);
239
239
  }
240
- function qi(e) {
241
- Bt().$$.on_destroy.push(e);
240
+ function Xi(e) {
241
+ Tt().$$.on_destroy.push(e);
242
242
  }
243
- const D = [], Ce = [];
243
+ const D = [], Pe = [];
244
244
  let U = [];
245
- const tt = [], br = /* @__PURE__ */ Promise.resolve();
246
- let Ne = !1;
247
- function yr() {
248
- Ne || (Ne = !0, br.then(C));
245
+ const qe = [], fr = /* @__PURE__ */ Promise.resolve();
246
+ let Oe = !1;
247
+ function cr() {
248
+ Oe || (Oe = !0, fr.then(C));
249
249
  }
250
- function Le(e) {
250
+ function Ie(e) {
251
251
  U.push(e);
252
252
  }
253
- const Se = /* @__PURE__ */ new Set();
253
+ const xe = /* @__PURE__ */ new Set();
254
254
  let $ = 0;
255
255
  function C() {
256
256
  if ($ !== 0)
257
257
  return;
258
- const e = J;
258
+ const e = Y;
259
259
  do {
260
260
  try {
261
261
  for (; $ < D.length; ) {
262
262
  const t = D[$];
263
- $++, Q(t), gr(t.$$);
263
+ $++, q(t), pr(t.$$);
264
264
  }
265
265
  } catch (t) {
266
266
  throw D.length = 0, $ = 0, t;
267
267
  }
268
- for (Q(null), D.length = 0, $ = 0; Ce.length; )
269
- Ce.pop()();
268
+ for (q(null), D.length = 0, $ = 0; Pe.length; )
269
+ Pe.pop()();
270
270
  for (let t = 0; t < U.length; t += 1) {
271
271
  const r = U[t];
272
- Se.has(r) || (Se.add(r), r());
272
+ xe.has(r) || (xe.add(r), r());
273
273
  }
274
274
  U.length = 0;
275
275
  } while (D.length);
276
- for (; tt.length; )
277
- tt.pop()();
278
- Ne = !1, Se.clear(), Q(e);
276
+ for (; qe.length; )
277
+ qe.pop()();
278
+ Oe = !1, xe.clear(), q(e);
279
279
  }
280
- function gr(e) {
280
+ function pr(e) {
281
281
  if (e.fragment !== null) {
282
- e.update(), ee(e.before_update);
282
+ e.update(), te(e.before_update);
283
283
  const t = e.dirty;
284
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Le);
284
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ie);
285
285
  }
286
286
  }
287
- function vr(e) {
287
+ function dr(e) {
288
288
  const t = [], r = [];
289
289
  U.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), U = t;
290
290
  }
291
- const _r = /* @__PURE__ */ new Set();
292
- function xr(e, t) {
293
- e && e.i && (_r.delete(e), e.i(t));
291
+ const mr = /* @__PURE__ */ new Set();
292
+ function br(e, t) {
293
+ e && e.i && (mr.delete(e), e.i(t));
294
294
  }
295
- function Ji(e) {
295
+ function Wi(e) {
296
296
  return e?.length !== void 0 ? e : Array.from(e);
297
297
  }
298
- function Er(e, t, r) {
298
+ function yr(e, t, r) {
299
299
  const { fragment: n, after_update: i } = e.$$;
300
- n && n.m(t, r), Le(() => {
301
- const o = e.$$.on_mount.map(wt).filter(te);
302
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ee(o), e.$$.on_mount = [];
303
- }), i.forEach(Le);
300
+ n && n.m(t, r), Ie(() => {
301
+ const o = e.$$.on_mount.map(vt).filter(re);
302
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : te(o), e.$$.on_mount = [];
303
+ }), i.forEach(Ie);
304
304
  }
305
- function Sr(e, t) {
305
+ function gr(e, t) {
306
306
  const r = e.$$;
307
- r.fragment !== null && (vr(r.after_update), ee(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
307
+ r.fragment !== null && (dr(r.after_update), te(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
308
308
  }
309
- function wr(e, t) {
310
- e.$$.dirty[0] === -1 && (D.push(e), yr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
309
+ function vr(e, t) {
310
+ e.$$.dirty[0] === -1 && (D.push(e), cr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
311
311
  }
312
- function Tr(e, t, r, n, i, o, s = null, a = [-1]) {
313
- const h = J;
314
- Q(e);
312
+ function _r(e, t, r, n, i, o, s = null, a = [-1]) {
313
+ const h = Y;
314
+ q(e);
315
315
  const u = e.$$ = {
316
316
  fragment: null,
317
317
  ctx: [],
318
318
  // state
319
319
  props: o,
320
- update: S,
320
+ update: T,
321
321
  not_equal: i,
322
- bound: et(),
322
+ bound: Qe(),
323
323
  // lifecycle
324
324
  on_mount: [],
325
325
  on_destroy: [],
@@ -328,28 +328,28 @@ function Tr(e, t, r, n, i, o, s = null, a = [-1]) {
328
328
  after_update: [],
329
329
  context: new Map(t.context || (h ? h.$$.context : [])),
330
330
  // everything else
331
- callbacks: et(),
331
+ callbacks: Qe(),
332
332
  dirty: a,
333
333
  skip_bound: !1,
334
334
  root: t.target || h.$$.root
335
335
  };
336
336
  s && s(u.root);
337
337
  let l = !1;
338
- if (u.ctx = r ? r(e, t.props || {}, (f, c, ...y) => {
339
- const p = y.length ? y[0] : c;
340
- return u.ctx && i(u.ctx[f], u.ctx[f] = p) && (!u.skip_bound && u.bound[f] && u.bound[f](p), l && wr(e, f)), c;
341
- }) : [], u.update(), l = !0, ee(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
338
+ if (u.ctx = r ? r(e, t.props || {}, (f, c, ...g) => {
339
+ const p = g.length ? g[0] : c;
340
+ return u.ctx && i(u.ctx[f], u.ctx[f] = p) && (!u.skip_bound && u.bound[f] && u.bound[f](p), l && vr(e, f)), c;
341
+ }) : [], u.update(), l = !0, te(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
342
342
  if (t.hydrate) {
343
- const f = fr(t.target);
344
- u.fragment && u.fragment.l(f), f.forEach(P);
343
+ const f = sr(t.target);
344
+ u.fragment && u.fragment.l(f), f.forEach(A);
345
345
  } else
346
346
  u.fragment && u.fragment.c();
347
- t.intro && xr(e.$$.fragment), Er(e, t.target, t.anchor), C();
347
+ t.intro && br(e.$$.fragment), yr(e, t.target, t.anchor), C();
348
348
  }
349
- Q(h);
349
+ q(h);
350
350
  }
351
- let Pt;
352
- typeof HTMLElement == "function" && (Pt = class extends HTMLElement {
351
+ let St;
352
+ typeof HTMLElement == "function" && (St = class extends HTMLElement {
353
353
  /** The Svelte component constructor */
354
354
  $$ctor;
355
355
  /** Slots */
@@ -391,7 +391,7 @@ typeof HTMLElement == "function" && (Pt = class extends HTMLElement {
391
391
  let o;
392
392
  return {
393
393
  c: function() {
394
- o = A("slot"), i !== "default" && b(o, "name", i);
394
+ o = H("slot"), i !== "default" && y(o, "name", i);
395
395
  },
396
396
  /**
397
397
  * @param {HTMLElement} target
@@ -401,14 +401,14 @@ typeof HTMLElement == "function" && (Pt = class extends HTMLElement {
401
401
  N(h, o, u);
402
402
  },
403
403
  d: function(h) {
404
- h && P(o);
404
+ h && A(o);
405
405
  }
406
406
  };
407
407
  };
408
408
  };
409
409
  if (await Promise.resolve(), !this.$$cn || this.$$c)
410
410
  return;
411
- const t = {}, r = dr(this);
411
+ const t = {}, r = hr(this);
412
412
  for (const i of this.$$s)
413
413
  i in r && (t[i] = [e(i)]);
414
414
  for (const i of this.attributes) {
@@ -495,8 +495,8 @@ function le(e, t, r, n) {
495
495
  return t;
496
496
  }
497
497
  }
498
- function Hr(e, t, r, n, i, o) {
499
- let s = class extends Pt {
498
+ function xr(e, t, r, n, i, o) {
499
+ let s = class extends St {
500
500
  constructor() {
501
501
  super(e, r, i), this.$$p_d = t;
502
502
  }
@@ -524,7 +524,7 @@ function Hr(e, t, r, n, i, o) {
524
524
  }), e.element = /** @type {any} */
525
525
  s, s;
526
526
  }
527
- class Ar {
527
+ class Er {
528
528
  /**
529
529
  * ### PRIVATE API
530
530
  *
@@ -543,7 +543,7 @@ class Ar {
543
543
  $$set = void 0;
544
544
  /** @returns {void} */
545
545
  $destroy() {
546
- Sr(this, 1), this.$destroy = S;
546
+ gr(this, 1), this.$destroy = T;
547
547
  }
548
548
  /**
549
549
  * @template {Extract<keyof Events, string>} K
@@ -552,8 +552,8 @@ class Ar {
552
552
  * @returns {() => void}
553
553
  */
554
554
  $on(t, r) {
555
- if (!te(r))
556
- return S;
555
+ if (!re(r))
556
+ return T;
557
557
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
558
558
  return n.push(r), () => {
559
559
  const i = n.indexOf(r);
@@ -565,13 +565,13 @@ class Ar {
565
565
  * @returns {void}
566
566
  */
567
567
  $set(t) {
568
- this.$$set && !sr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
568
+ this.$$set && !tr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
569
569
  }
570
570
  }
571
- const Br = "4";
572
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Br);
573
- var Yi = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
574
- function Pr(e) {
571
+ const Tr = "4";
572
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Tr);
573
+ var zi = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
574
+ function Sr(e) {
575
575
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
576
576
  }
577
577
  /*! *****************************************************************************
@@ -588,24 +588,43 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
588
588
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
589
589
  PERFORMANCE OF THIS SOFTWARE.
590
590
  ***************************************************************************** */
591
- var Me = function(e, t) {
592
- return Me = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
591
+ var Ce = function(e, t) {
592
+ return Ce = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
593
593
  r.__proto__ = n;
594
594
  } || function(r, n) {
595
595
  for (var i in n)
596
596
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
597
- }, Me(e, t);
597
+ }, Ce(e, t);
598
598
  };
599
- function re(e, t) {
599
+ function P(e, t) {
600
600
  if (typeof t != "function" && t !== null)
601
601
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
602
- Me(e, t);
602
+ Ce(e, t);
603
603
  function r() {
604
604
  this.constructor = e;
605
605
  }
606
606
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
607
607
  }
608
- function $e(e) {
608
+ var b = function() {
609
+ return b = Object.assign || function(t) {
610
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
611
+ r = arguments[n];
612
+ for (var o in r)
613
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
614
+ }
615
+ return t;
616
+ }, b.apply(this, arguments);
617
+ };
618
+ function wr(e, t) {
619
+ var r = {};
620
+ for (var n in e)
621
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
622
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
623
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
624
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
625
+ return r;
626
+ }
627
+ function Ne(e) {
609
628
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
610
629
  if (r)
611
630
  return r.call(e);
@@ -617,7 +636,7 @@ function $e(e) {
617
636
  };
618
637
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
619
638
  }
620
- function Re(e, t) {
639
+ function Le(e, t) {
621
640
  var r = typeof Symbol == "function" && e[Symbol.iterator];
622
641
  if (!r)
623
642
  return e;
@@ -637,8 +656,8 @@ function Re(e, t) {
637
656
  }
638
657
  return o;
639
658
  }
640
- function De(e, t, r) {
641
- if (arguments.length === 2)
659
+ function G(e, t, r) {
660
+ if (r || arguments.length === 2)
642
661
  for (var n = 0, i = t.length, o; n < i; n++)
643
662
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
644
663
  return e.concat(o || t);
@@ -646,13 +665,13 @@ function De(e, t, r) {
646
665
  function B(e) {
647
666
  return typeof e == "function";
648
667
  }
649
- function Ot(e) {
668
+ function wt(e) {
650
669
  var t = function(n) {
651
670
  Error.call(n), n.stack = new Error().stack;
652
671
  }, r = e(t);
653
672
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
654
673
  }
655
- var we = Ot(function(e) {
674
+ var Ee = wt(function(e) {
656
675
  return function(r) {
657
676
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
658
677
  ` + r.map(function(n, i) {
@@ -661,13 +680,13 @@ var we = Ot(function(e) {
661
680
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
662
681
  };
663
682
  });
664
- function Ue(e, t) {
683
+ function Me(e, t) {
665
684
  if (e) {
666
685
  var r = e.indexOf(t);
667
686
  0 <= r && e.splice(r, 1);
668
687
  }
669
688
  }
670
- var ye = function() {
689
+ var be = function() {
671
690
  function e(t) {
672
691
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
673
692
  }
@@ -679,12 +698,12 @@ var ye = function() {
679
698
  if (s)
680
699
  if (this._parentage = null, Array.isArray(s))
681
700
  try {
682
- for (var a = $e(s), h = a.next(); !h.done; h = a.next()) {
701
+ for (var a = Ne(s), h = a.next(); !h.done; h = a.next()) {
683
702
  var u = h.value;
684
703
  u.remove(this);
685
704
  }
686
- } catch (g) {
687
- t = { error: g };
705
+ } catch (v) {
706
+ t = { error: v };
688
707
  } finally {
689
708
  try {
690
709
  h && !h.done && (r = a.return) && r.call(a);
@@ -699,26 +718,26 @@ var ye = function() {
699
718
  if (B(l))
700
719
  try {
701
720
  l();
702
- } catch (g) {
703
- o = g instanceof we ? g.errors : [g];
721
+ } catch (v) {
722
+ o = v instanceof Ee ? v.errors : [v];
704
723
  }
705
724
  var f = this._finalizers;
706
725
  if (f) {
707
726
  this._finalizers = null;
708
727
  try {
709
- for (var c = $e(f), y = c.next(); !y.done; y = c.next()) {
710
- var p = y.value;
728
+ for (var c = Ne(f), g = c.next(); !g.done; g = c.next()) {
729
+ var p = g.value;
711
730
  try {
712
- rt(p);
713
- } catch (g) {
714
- o = o ?? [], g instanceof we ? o = De(De([], Re(o)), Re(g.errors)) : o.push(g);
731
+ Je(p);
732
+ } catch (v) {
733
+ o = o ?? [], v instanceof Ee ? o = G(G([], Le(o)), Le(v.errors)) : o.push(v);
715
734
  }
716
735
  }
717
- } catch (g) {
718
- n = { error: g };
736
+ } catch (v) {
737
+ n = { error: v };
719
738
  } finally {
720
739
  try {
721
- y && !y.done && (i = c.return) && i.call(c);
740
+ g && !g.done && (i = c.return) && i.call(c);
722
741
  } finally {
723
742
  if (n)
724
743
  throw n.error;
@@ -726,13 +745,13 @@ var ye = function() {
726
745
  }
727
746
  }
728
747
  if (o)
729
- throw new we(o);
748
+ throw new Ee(o);
730
749
  }
731
750
  }, e.prototype.add = function(t) {
732
751
  var r;
733
752
  if (t && t !== this)
734
753
  if (this.closed)
735
- rt(t);
754
+ Je(t);
736
755
  else {
737
756
  if (t instanceof e) {
738
757
  if (t.closed || t._hasParent(this))
@@ -749,52 +768,52 @@ var ye = function() {
749
768
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
750
769
  }, e.prototype._removeParent = function(t) {
751
770
  var r = this._parentage;
752
- r === t ? this._parentage = null : Array.isArray(r) && Ue(r, t);
771
+ r === t ? this._parentage = null : Array.isArray(r) && Me(r, t);
753
772
  }, e.prototype.remove = function(t) {
754
773
  var r = this._finalizers;
755
- r && Ue(r, t), t instanceof e && t._removeParent(this);
774
+ r && Me(r, t), t instanceof e && t._removeParent(this);
756
775
  }, e.EMPTY = function() {
757
776
  var t = new e();
758
777
  return t.closed = !0, t;
759
778
  }(), e;
760
- }(), It = ye.EMPTY;
761
- function Ct(e) {
762
- return e instanceof ye || e && "closed" in e && B(e.remove) && B(e.add) && B(e.unsubscribe);
779
+ }(), Ht = be.EMPTY;
780
+ function Bt(e) {
781
+ return e instanceof be || e && "closed" in e && B(e.remove) && B(e.add) && B(e.unsubscribe);
763
782
  }
764
- function rt(e) {
783
+ function Je(e) {
765
784
  B(e) ? e() : e.unsubscribe();
766
785
  }
767
- var Or = {
786
+ var Hr = {
768
787
  Promise: void 0
769
- }, Ir = {
788
+ }, Br = {
770
789
  setTimeout: function(e, t) {
771
790
  for (var r = [], n = 2; n < arguments.length; n++)
772
791
  r[n - 2] = arguments[n];
773
- return setTimeout.apply(void 0, De([e, t], Re(r)));
792
+ return setTimeout.apply(void 0, G([e, t], Le(r)));
774
793
  },
775
794
  clearTimeout: function(e) {
776
795
  return clearTimeout(e);
777
796
  },
778
797
  delegate: void 0
779
798
  };
780
- function Cr(e) {
781
- Ir.setTimeout(function() {
799
+ function Ar(e) {
800
+ Br.setTimeout(function() {
782
801
  throw e;
783
802
  });
784
803
  }
785
- function nt() {
804
+ function Ye() {
786
805
  }
787
806
  function fe(e) {
788
807
  e();
789
808
  }
790
- var Nt = function(e) {
791
- re(t, e);
809
+ var At = function(e) {
810
+ P(t, e);
792
811
  function t(r) {
793
812
  var n = e.call(this) || this;
794
- return n.isStopped = !1, r ? (n.destination = r, Ct(r) && r.add(n)) : n.destination = Mr, n;
813
+ return n.isStopped = !1, r ? (n.destination = r, Bt(r) && r.add(n)) : n.destination = Ir, n;
795
814
  }
796
815
  return t.create = function(r, n, i) {
797
- return new Ge(r, n, i);
816
+ return new $e(r, n, i);
798
817
  }, t.prototype.next = function(r) {
799
818
  this.isStopped || this._next(r);
800
819
  }, t.prototype.error = function(r) {
@@ -818,7 +837,7 @@ var Nt = function(e) {
818
837
  this.unsubscribe();
819
838
  }
820
839
  }, t;
821
- }(ye), Nr = function() {
840
+ }(be), Pr = function() {
822
841
  function e(t) {
823
842
  this.partialObserver = t;
824
843
  }
@@ -849,43 +868,43 @@ var Nt = function(e) {
849
868
  ue(r);
850
869
  }
851
870
  }, e;
852
- }(), Ge = function(e) {
853
- re(t, e);
871
+ }(), $e = function(e) {
872
+ P(t, e);
854
873
  function t(r, n, i) {
855
874
  var o = e.call(this) || this, s;
856
875
  return B(r) || !r ? s = {
857
876
  next: r ?? void 0,
858
877
  error: n ?? void 0,
859
878
  complete: i ?? void 0
860
- } : s = r, o.destination = new Nr(s), o;
879
+ } : s = r, o.destination = new Pr(s), o;
861
880
  }
862
881
  return t;
863
- }(Nt);
882
+ }(At);
864
883
  function ue(e) {
865
- Cr(e);
884
+ Ar(e);
866
885
  }
867
- function Lr(e) {
886
+ function Or(e) {
868
887
  throw e;
869
888
  }
870
- var Mr = {
889
+ var Ir = {
871
890
  closed: !0,
872
- next: nt,
873
- error: Lr,
874
- complete: nt
875
- }, $r = function() {
891
+ next: Ye,
892
+ error: Or,
893
+ complete: Ye
894
+ }, Cr = function() {
876
895
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
877
896
  }();
878
- function Rr(e) {
897
+ function Nr(e) {
879
898
  return e;
880
899
  }
881
- function Dr(e) {
882
- return e.length === 0 ? Rr : e.length === 1 ? e[0] : function(r) {
900
+ function Lr(e) {
901
+ return e.length === 0 ? Nr : e.length === 1 ? e[0] : function(r) {
883
902
  return e.reduce(function(n, i) {
884
903
  return i(n);
885
904
  }, r);
886
905
  };
887
906
  }
888
- var it = function() {
907
+ var Ke = function() {
889
908
  function e(t) {
890
909
  t && (this._subscribe = t);
891
910
  }
@@ -893,7 +912,7 @@ var it = function() {
893
912
  var r = new e();
894
913
  return r.source = this, r.operator = t, r;
895
914
  }, e.prototype.subscribe = function(t, r, n) {
896
- var i = this, o = Gr(t) ? t : new Ge(t, r, n);
915
+ var i = this, o = $r(t) ? t : new $e(t, r, n);
897
916
  return fe(function() {
898
917
  var s = i, a = s.operator, h = s.source;
899
918
  o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
@@ -906,8 +925,8 @@ var it = function() {
906
925
  }
907
926
  }, e.prototype.forEach = function(t, r) {
908
927
  var n = this;
909
- return r = ot(r), new r(function(i, o) {
910
- var s = new Ge({
928
+ return r = et(r), new r(function(i, o) {
929
+ var s = new $e({
911
930
  next: function(a) {
912
931
  try {
913
932
  t(a);
@@ -923,15 +942,15 @@ var it = function() {
923
942
  }, e.prototype._subscribe = function(t) {
924
943
  var r;
925
944
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
926
- }, e.prototype[$r] = function() {
945
+ }, e.prototype[Cr] = function() {
927
946
  return this;
928
947
  }, e.prototype.pipe = function() {
929
948
  for (var t = [], r = 0; r < arguments.length; r++)
930
949
  t[r] = arguments[r];
931
- return Dr(t)(this);
950
+ return Lr(t)(this);
932
951
  }, e.prototype.toPromise = function(t) {
933
952
  var r = this;
934
- return t = ot(t), new t(function(n, i) {
953
+ return t = et(t), new t(function(n, i) {
935
954
  var o;
936
955
  r.subscribe(function(s) {
937
956
  return o = s;
@@ -945,32 +964,32 @@ var it = function() {
945
964
  return new e(t);
946
965
  }, e;
947
966
  }();
948
- function ot(e) {
967
+ function et(e) {
949
968
  var t;
950
- return (t = e ?? Or.Promise) !== null && t !== void 0 ? t : Promise;
969
+ return (t = e ?? Hr.Promise) !== null && t !== void 0 ? t : Promise;
951
970
  }
952
- function Ur(e) {
971
+ function Mr(e) {
953
972
  return e && B(e.next) && B(e.error) && B(e.complete);
954
973
  }
955
- function Gr(e) {
956
- return e && e instanceof Nt || Ur(e) && Ct(e);
974
+ function $r(e) {
975
+ return e && e instanceof At || Mr(e) && Bt(e);
957
976
  }
958
- var Fr = Ot(function(e) {
977
+ var Rr = wt(function(e) {
959
978
  return function() {
960
979
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
961
980
  };
962
- }), Lt = function(e) {
963
- re(t, e);
981
+ }), Pt = function(e) {
982
+ P(t, e);
964
983
  function t() {
965
984
  var r = e.call(this) || this;
966
985
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
967
986
  }
968
987
  return t.prototype.lift = function(r) {
969
- var n = new st(this, this);
988
+ var n = new tt(this, this);
970
989
  return n.operator = r, n;
971
990
  }, t.prototype._throwIfClosed = function() {
972
991
  if (this.closed)
973
- throw new Fr();
992
+ throw new Rr();
974
993
  }, t.prototype.next = function(r) {
975
994
  var n = this;
976
995
  fe(function() {
@@ -978,7 +997,7 @@ var Fr = Ot(function(e) {
978
997
  if (n._throwIfClosed(), !n.isStopped) {
979
998
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
980
999
  try {
981
- for (var s = $e(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
1000
+ for (var s = Ne(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
982
1001
  var h = a.value;
983
1002
  h.next(r);
984
1003
  }
@@ -1027,20 +1046,20 @@ var Fr = Ot(function(e) {
1027
1046
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1028
1047
  }, t.prototype._innerSubscribe = function(r) {
1029
1048
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
1030
- return o || s ? It : (this.currentObservers = null, a.push(r), new ye(function() {
1031
- n.currentObservers = null, Ue(a, r);
1049
+ return o || s ? Ht : (this.currentObservers = null, a.push(r), new be(function() {
1050
+ n.currentObservers = null, Me(a, r);
1032
1051
  }));
1033
1052
  }, t.prototype._checkFinalizedStatuses = function(r) {
1034
1053
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
1035
1054
  i ? r.error(o) : s && r.complete();
1036
1055
  }, t.prototype.asObservable = function() {
1037
- var r = new it();
1056
+ var r = new Ke();
1038
1057
  return r.source = this, r;
1039
1058
  }, t.create = function(r, n) {
1040
- return new st(r, n);
1059
+ return new tt(r, n);
1041
1060
  }, t;
1042
- }(it), st = function(e) {
1043
- re(t, e);
1061
+ }(Ke), tt = function(e) {
1062
+ P(t, e);
1044
1063
  function t(r, n) {
1045
1064
  var i = e.call(this) || this;
1046
1065
  return i.destination = r, i.source = n, i;
@@ -1056,17 +1075,17 @@ var Fr = Ot(function(e) {
1056
1075
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1057
1076
  }, t.prototype._subscribe = function(r) {
1058
1077
  var n, i;
1059
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : It;
1078
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Ht;
1060
1079
  }, t;
1061
- }(Lt), Mt = {
1080
+ }(Pt), Ot = {
1062
1081
  now: function() {
1063
- return (Mt.delegate || Date).now();
1082
+ return (Ot.delegate || Date).now();
1064
1083
  },
1065
1084
  delegate: void 0
1066
- }, jr = function(e) {
1067
- re(t, e);
1085
+ }, Dr = function(e) {
1086
+ P(t, e);
1068
1087
  function t(r, n, i) {
1069
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Mt);
1088
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ot);
1070
1089
  var o = e.call(this) || this;
1071
1090
  return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
1072
1091
  }
@@ -1086,24 +1105,24 @@ var Fr = Ot(function(e) {
1086
1105
  u && o.splice(0, u + 1);
1087
1106
  }
1088
1107
  }, t;
1089
- }(Lt);
1090
- const at = [], ut = {}, kr = (e, t = 0) => {
1091
- if (at.indexOf(e) == -1) {
1092
- const r = new jr(t);
1093
- ut[e] = r, at.push(e);
1108
+ }(Pt);
1109
+ const rt = [], nt = {}, Ur = (e, t = 0) => {
1110
+ if (rt.indexOf(e) == -1) {
1111
+ const r = new Dr(t);
1112
+ nt[e] = r, rt.push(e);
1094
1113
  }
1095
- return ut[e];
1114
+ return nt[e];
1096
1115
  }, R = [];
1097
- function Vr(e, t) {
1116
+ function Gr(e, t) {
1098
1117
  return {
1099
- subscribe: ge(e, t).subscribe
1118
+ subscribe: ye(e, t).subscribe
1100
1119
  };
1101
1120
  }
1102
- function ge(e, t = S) {
1121
+ function ye(e, t = T) {
1103
1122
  let r;
1104
1123
  const n = /* @__PURE__ */ new Set();
1105
1124
  function i(a) {
1106
- if (Tt(e, a) && (e = a, r)) {
1125
+ if (_t(e, a) && (e = a, r)) {
1107
1126
  const h = !R.length;
1108
1127
  for (const u of n)
1109
1128
  u[1](), R.push(u, e);
@@ -1117,189 +1136,147 @@ function ge(e, t = S) {
1117
1136
  function o(a) {
1118
1137
  i(a(e));
1119
1138
  }
1120
- function s(a, h = S) {
1139
+ function s(a, h = T) {
1121
1140
  const u = [a, h];
1122
- return n.add(u), n.size === 1 && (r = t(i, o) || S), a(e), () => {
1141
+ return n.add(u), n.size === 1 && (r = t(i, o) || T), a(e), () => {
1123
1142
  n.delete(u), n.size === 0 && r && (r(), r = null);
1124
1143
  };
1125
1144
  }
1126
1145
  return { set: i, update: o, subscribe: s };
1127
1146
  }
1128
- function V(e, t, r) {
1147
+ function X(e, t, r) {
1129
1148
  const n = !Array.isArray(e), i = n ? [e] : e;
1130
1149
  if (!i.every(Boolean))
1131
1150
  throw new Error("derived() expects stores as input, got a falsy value");
1132
1151
  const o = t.length < 2;
1133
- return Vr(r, (s, a) => {
1152
+ return Gr(r, (s, a) => {
1134
1153
  let h = !1;
1135
1154
  const u = [];
1136
- let l = 0, f = S;
1155
+ let l = 0, f = T;
1137
1156
  const c = () => {
1138
1157
  if (l)
1139
1158
  return;
1140
1159
  f();
1141
1160
  const p = t(n ? u[0] : u, s, a);
1142
- o ? s(p) : f = te(p) ? p : S;
1143
- }, y = i.map(
1144
- (p, g) => Ht(
1161
+ o ? s(p) : f = re(p) ? p : T;
1162
+ }, g = i.map(
1163
+ (p, v) => xt(
1145
1164
  p,
1146
1165
  (E) => {
1147
- u[g] = E, l &= ~(1 << g), h && c();
1166
+ u[v] = E, l &= ~(1 << v), h && c();
1148
1167
  },
1149
1168
  () => {
1150
- l |= 1 << g;
1169
+ l |= 1 << v;
1151
1170
  }
1152
1171
  )
1153
1172
  );
1154
1173
  return h = !0, c(), function() {
1155
- ee(y), f(), h = !1;
1174
+ te(g), f(), h = !1;
1156
1175
  };
1157
1176
  });
1158
1177
  }
1159
- var Xr = function(t) {
1160
- return Wr(t) && !zr(t);
1178
+ var Fr = function(t) {
1179
+ return jr(t) && !kr(t);
1161
1180
  };
1162
- function Wr(e) {
1181
+ function jr(e) {
1163
1182
  return !!e && typeof e == "object";
1164
1183
  }
1165
- function zr(e) {
1184
+ function kr(e) {
1166
1185
  var t = Object.prototype.toString.call(e);
1167
- return t === "[object RegExp]" || t === "[object Date]" || qr(e);
1186
+ return t === "[object RegExp]" || t === "[object Date]" || Wr(e);
1168
1187
  }
1169
- var Zr = typeof Symbol == "function" && Symbol.for, Qr = Zr ? Symbol.for("react.element") : 60103;
1170
- function qr(e) {
1171
- return e.$$typeof === Qr;
1188
+ var Vr = typeof Symbol == "function" && Symbol.for, Xr = Vr ? Symbol.for("react.element") : 60103;
1189
+ function Wr(e) {
1190
+ return e.$$typeof === Xr;
1172
1191
  }
1173
- function Jr(e) {
1192
+ function zr(e) {
1174
1193
  return Array.isArray(e) ? [] : {};
1175
1194
  }
1176
- function Y(e, t) {
1177
- return t.clone !== !1 && t.isMergeableObject(e) ? G(Jr(e), e, t) : e;
1195
+ function K(e, t) {
1196
+ return t.clone !== !1 && t.isMergeableObject(e) ? F(zr(e), e, t) : e;
1178
1197
  }
1179
- function Yr(e, t, r) {
1198
+ function Zr(e, t, r) {
1180
1199
  return e.concat(t).map(function(n) {
1181
- return Y(n, r);
1200
+ return K(n, r);
1182
1201
  });
1183
1202
  }
1184
- function Kr(e, t) {
1203
+ function Qr(e, t) {
1185
1204
  if (!t.customMerge)
1186
- return G;
1205
+ return F;
1187
1206
  var r = t.customMerge(e);
1188
- return typeof r == "function" ? r : G;
1207
+ return typeof r == "function" ? r : F;
1189
1208
  }
1190
- function en(e) {
1209
+ function qr(e) {
1191
1210
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1192
1211
  return Object.propertyIsEnumerable.call(e, t);
1193
1212
  }) : [];
1194
1213
  }
1195
- function ht(e) {
1196
- return Object.keys(e).concat(en(e));
1214
+ function it(e) {
1215
+ return Object.keys(e).concat(qr(e));
1197
1216
  }
1198
- function $t(e, t) {
1217
+ function It(e, t) {
1199
1218
  try {
1200
1219
  return t in e;
1201
1220
  } catch {
1202
1221
  return !1;
1203
1222
  }
1204
1223
  }
1205
- function tn(e, t) {
1206
- return $t(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1224
+ function Jr(e, t) {
1225
+ return It(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1207
1226
  }
1208
- function rn(e, t, r) {
1227
+ function Yr(e, t, r) {
1209
1228
  var n = {};
1210
- return r.isMergeableObject(e) && ht(e).forEach(function(i) {
1211
- n[i] = Y(e[i], r);
1212
- }), ht(t).forEach(function(i) {
1213
- tn(e, i) || ($t(e, i) && r.isMergeableObject(t[i]) ? n[i] = Kr(i, r)(e[i], t[i], r) : n[i] = Y(t[i], r));
1229
+ return r.isMergeableObject(e) && it(e).forEach(function(i) {
1230
+ n[i] = K(e[i], r);
1231
+ }), it(t).forEach(function(i) {
1232
+ Jr(e, i) || (It(e, i) && r.isMergeableObject(t[i]) ? n[i] = Qr(i, r)(e[i], t[i], r) : n[i] = K(t[i], r));
1214
1233
  }), n;
1215
1234
  }
1216
- function G(e, t, r) {
1217
- r = r || {}, r.arrayMerge = r.arrayMerge || Yr, r.isMergeableObject = r.isMergeableObject || Xr, r.cloneUnlessOtherwiseSpecified = Y;
1235
+ function F(e, t, r) {
1236
+ r = r || {}, r.arrayMerge = r.arrayMerge || Zr, r.isMergeableObject = r.isMergeableObject || Fr, r.cloneUnlessOtherwiseSpecified = K;
1218
1237
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1219
- return o ? n ? r.arrayMerge(e, t, r) : rn(e, t, r) : Y(t, r);
1238
+ return o ? n ? r.arrayMerge(e, t, r) : Yr(e, t, r) : K(t, r);
1220
1239
  }
1221
- G.all = function(t, r) {
1240
+ F.all = function(t, r) {
1222
1241
  if (!Array.isArray(t))
1223
1242
  throw new Error("first argument should be an array");
1224
1243
  return t.reduce(function(n, i) {
1225
- return G(n, i, r);
1244
+ return F(n, i, r);
1226
1245
  }, {});
1227
1246
  };
1228
- var nn = G, on = nn;
1229
- const sn = /* @__PURE__ */ Pr(on);
1230
- var Fe = function(e, t) {
1231
- return Fe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1232
- r.__proto__ = n;
1233
- } || function(r, n) {
1234
- for (var i in n)
1235
- Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1236
- }, Fe(e, t);
1237
- };
1238
- function ve(e, t) {
1239
- if (typeof t != "function" && t !== null)
1240
- throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1241
- Fe(e, t);
1242
- function r() {
1243
- this.constructor = e;
1244
- }
1245
- e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1246
- }
1247
- var T = function() {
1248
- return T = Object.assign || function(t) {
1249
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1250
- r = arguments[n];
1251
- for (var o in r)
1252
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1253
- }
1254
- return t;
1255
- }, T.apply(this, arguments);
1256
- };
1257
- function an(e, t) {
1258
- var r = {};
1259
- for (var n in e)
1260
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1261
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
1262
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1263
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1264
- return r;
1265
- }
1266
- function Te(e, t, r) {
1267
- if (r || arguments.length === 2)
1268
- for (var n = 0, i = t.length, o; n < i; n++)
1269
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1270
- return e.concat(o || Array.prototype.slice.call(t));
1271
- }
1272
- function He(e, t) {
1273
- var r = t && t.cache ? t.cache : dn, n = t && t.serializer ? t.serializer : cn, i = t && t.strategy ? t.strategy : ln;
1247
+ var Kr = F, en = Kr;
1248
+ const tn = /* @__PURE__ */ Sr(en);
1249
+ function Te(e, t) {
1250
+ var r = t && t.cache ? t.cache : hn, n = t && t.serializer ? t.serializer : an, i = t && t.strategy ? t.strategy : on;
1274
1251
  return i(e, {
1275
1252
  cache: r,
1276
1253
  serializer: n
1277
1254
  });
1278
1255
  }
1279
- function un(e) {
1256
+ function rn(e) {
1280
1257
  return e == null || typeof e == "number" || typeof e == "boolean";
1281
1258
  }
1282
- function hn(e, t, r, n) {
1283
- var i = un(n) ? n : r(n), o = t.get(i);
1259
+ function nn(e, t, r, n) {
1260
+ var i = rn(n) ? n : r(n), o = t.get(i);
1284
1261
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1285
1262
  }
1286
- function Rt(e, t, r) {
1263
+ function Ct(e, t, r) {
1287
1264
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1288
1265
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1289
1266
  }
1290
- function Dt(e, t, r, n, i) {
1267
+ function Nt(e, t, r, n, i) {
1291
1268
  return r.bind(t, e, n, i);
1292
1269
  }
1293
- function ln(e, t) {
1294
- var r = e.length === 1 ? hn : Rt;
1295
- return Dt(e, this, r, t.cache.create(), t.serializer);
1270
+ function on(e, t) {
1271
+ var r = e.length === 1 ? nn : Ct;
1272
+ return Nt(e, this, r, t.cache.create(), t.serializer);
1296
1273
  }
1297
- function fn(e, t) {
1298
- return Dt(e, this, Rt, t.cache.create(), t.serializer);
1274
+ function sn(e, t) {
1275
+ return Nt(e, this, Ct, t.cache.create(), t.serializer);
1299
1276
  }
1300
- var cn = function() {
1277
+ var an = function() {
1301
1278
  return JSON.stringify(arguments);
1302
- }, pn = (
1279
+ }, un = (
1303
1280
  /** @class */
1304
1281
  function() {
1305
1282
  function e() {
@@ -1311,71 +1288,61 @@ var cn = function() {
1311
1288
  this.cache[t] = r;
1312
1289
  }, e;
1313
1290
  }()
1314
- ), dn = {
1291
+ ), hn = {
1315
1292
  create: function() {
1316
- return new pn();
1293
+ return new un();
1317
1294
  }
1318
- }, Ae = {
1319
- variadic: fn
1320
- }, de = function() {
1321
- return de = Object.assign || function(t) {
1322
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1323
- r = arguments[n];
1324
- for (var o in r)
1325
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1326
- }
1327
- return t;
1328
- }, de.apply(this, arguments);
1329
- };
1330
- var d;
1295
+ }, Se = {
1296
+ variadic: sn
1297
+ }, d;
1331
1298
  (function(e) {
1332
1299
  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";
1333
1300
  })(d || (d = {}));
1334
- var v;
1301
+ var _;
1335
1302
  (function(e) {
1336
1303
  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";
1337
- })(v || (v = {}));
1338
- var F;
1304
+ })(_ || (_ = {}));
1305
+ var j;
1339
1306
  (function(e) {
1340
1307
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1341
- })(F || (F = {}));
1342
- function lt(e) {
1343
- return e.type === v.literal;
1308
+ })(j || (j = {}));
1309
+ function ot(e) {
1310
+ return e.type === _.literal;
1344
1311
  }
1345
- function mn(e) {
1346
- return e.type === v.argument;
1312
+ function ln(e) {
1313
+ return e.type === _.argument;
1347
1314
  }
1348
- function Ut(e) {
1349
- return e.type === v.number;
1315
+ function Lt(e) {
1316
+ return e.type === _.number;
1350
1317
  }
1351
- function Gt(e) {
1352
- return e.type === v.date;
1318
+ function Mt(e) {
1319
+ return e.type === _.date;
1353
1320
  }
1354
- function Ft(e) {
1355
- return e.type === v.time;
1321
+ function $t(e) {
1322
+ return e.type === _.time;
1356
1323
  }
1357
- function jt(e) {
1358
- return e.type === v.select;
1324
+ function Rt(e) {
1325
+ return e.type === _.select;
1359
1326
  }
1360
- function kt(e) {
1361
- return e.type === v.plural;
1327
+ function Dt(e) {
1328
+ return e.type === _.plural;
1362
1329
  }
1363
- function bn(e) {
1364
- return e.type === v.pound;
1330
+ function fn(e) {
1331
+ return e.type === _.pound;
1365
1332
  }
1366
- function Vt(e) {
1367
- return e.type === v.tag;
1333
+ function Ut(e) {
1334
+ return e.type === _.tag;
1368
1335
  }
1369
- function Xt(e) {
1370
- return !!(e && typeof e == "object" && e.type === F.number);
1336
+ function Gt(e) {
1337
+ return !!(e && typeof e == "object" && e.type === j.number);
1371
1338
  }
1372
- function je(e) {
1373
- return !!(e && typeof e == "object" && e.type === F.dateTime);
1339
+ function Re(e) {
1340
+ return !!(e && typeof e == "object" && e.type === j.dateTime);
1374
1341
  }
1375
- var Wt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, yn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1376
- function gn(e) {
1342
+ var Ft = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, cn = /(?:[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;
1343
+ function pn(e) {
1377
1344
  var t = {};
1378
- return e.replace(yn, function(r) {
1345
+ return e.replace(cn, function(r) {
1379
1346
  var n = r.length;
1380
1347
  switch (r[0]) {
1381
1348
  case "G":
@@ -1464,21 +1431,11 @@ function gn(e) {
1464
1431
  return "";
1465
1432
  }), t;
1466
1433
  }
1467
- var _ = function() {
1468
- return _ = Object.assign || function(t) {
1469
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1470
- r = arguments[n];
1471
- for (var o in r)
1472
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1473
- }
1474
- return t;
1475
- }, _.apply(this, arguments);
1476
- };
1477
- var vn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1478
- function _n(e) {
1434
+ var dn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1435
+ function mn(e) {
1479
1436
  if (e.length === 0)
1480
1437
  throw new Error("Number skeleton cannot be empty");
1481
- for (var t = e.split(vn).filter(function(c) {
1438
+ for (var t = e.split(dn).filter(function(c) {
1482
1439
  return c.length > 0;
1483
1440
  }), r = [], n = 0, i = t; n < i.length; n++) {
1484
1441
  var o = i[n], s = o.split("/");
@@ -1493,17 +1450,17 @@ function _n(e) {
1493
1450
  }
1494
1451
  return r;
1495
1452
  }
1496
- function xn(e) {
1453
+ function bn(e) {
1497
1454
  return e.replace(/^(.*?)-/, "");
1498
1455
  }
1499
- var ft = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, zt = /^(@+)?(\+|#+)?[rs]?$/g, En = /(\*)(0+)|(#+)(0+)|(0+)/g, Zt = /^(0+)$/;
1500
- function ct(e) {
1456
+ var st = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, jt = /^(@+)?(\+|#+)?[rs]?$/g, yn = /(\*)(0+)|(#+)(0+)|(0+)/g, kt = /^(0+)$/;
1457
+ function at(e) {
1501
1458
  var t = {};
1502
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(zt, function(r, n, i) {
1459
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(jt, function(r, n, i) {
1503
1460
  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)), "";
1504
1461
  }), t;
1505
1462
  }
1506
- function Qt(e) {
1463
+ function Vt(e) {
1507
1464
  switch (e) {
1508
1465
  case "sign-auto":
1509
1466
  return {
@@ -1543,7 +1500,7 @@ function Qt(e) {
1543
1500
  };
1544
1501
  }
1545
1502
  }
1546
- function Sn(e) {
1503
+ function gn(e) {
1547
1504
  var t;
1548
1505
  if (e[0] === "E" && e[1] === "E" ? (t = {
1549
1506
  notation: "engineering"
@@ -1551,17 +1508,17 @@ function Sn(e) {
1551
1508
  notation: "scientific"
1552
1509
  }, e = e.slice(1)), t) {
1553
1510
  var r = e.slice(0, 2);
1554
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Zt.test(e))
1511
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !kt.test(e))
1555
1512
  throw new Error("Malformed concise eng/scientific notation");
1556
1513
  t.minimumIntegerDigits = e.length;
1557
1514
  }
1558
1515
  return t;
1559
1516
  }
1560
- function pt(e) {
1561
- var t = {}, r = Qt(e);
1517
+ function ut(e) {
1518
+ var t = {}, r = Vt(e);
1562
1519
  return r || t;
1563
1520
  }
1564
- function wn(e) {
1521
+ function vn(e) {
1565
1522
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1566
1523
  var i = n[r];
1567
1524
  switch (i.stem) {
@@ -1585,7 +1542,7 @@ function wn(e) {
1585
1542
  continue;
1586
1543
  case "measure-unit":
1587
1544
  case "unit":
1588
- t.style = "unit", t.unit = xn(i.options[0]);
1545
+ t.style = "unit", t.unit = bn(i.options[0]);
1589
1546
  continue;
1590
1547
  case "compact-short":
1591
1548
  case "K":
@@ -1596,13 +1553,13 @@ function wn(e) {
1596
1553
  t.notation = "compact", t.compactDisplay = "long";
1597
1554
  continue;
1598
1555
  case "scientific":
1599
- t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1600
- return _(_({}, h), pt(u));
1556
+ t = b(b(b({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1557
+ return b(b({}, h), ut(u));
1601
1558
  }, {}));
1602
1559
  continue;
1603
1560
  case "engineering":
1604
- t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1605
- return _(_({}, h), pt(u));
1561
+ t = b(b(b({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1562
+ return b(b({}, h), ut(u));
1606
1563
  }, {}));
1607
1564
  continue;
1608
1565
  case "notation-simple":
@@ -1647,41 +1604,41 @@ function wn(e) {
1647
1604
  case "integer-width":
1648
1605
  if (i.options.length > 1)
1649
1606
  throw new RangeError("integer-width stems only accept a single optional option");
1650
- i.options[0].replace(En, function(h, u, l, f, c, y) {
1607
+ i.options[0].replace(yn, function(h, u, l, f, c, g) {
1651
1608
  if (u)
1652
1609
  t.minimumIntegerDigits = l.length;
1653
1610
  else {
1654
1611
  if (f && c)
1655
1612
  throw new Error("We currently do not support maximum integer digits");
1656
- if (y)
1613
+ if (g)
1657
1614
  throw new Error("We currently do not support exact integer digits");
1658
1615
  }
1659
1616
  return "";
1660
1617
  });
1661
1618
  continue;
1662
1619
  }
1663
- if (Zt.test(i.stem)) {
1620
+ if (kt.test(i.stem)) {
1664
1621
  t.minimumIntegerDigits = i.stem.length;
1665
1622
  continue;
1666
1623
  }
1667
- if (ft.test(i.stem)) {
1624
+ if (st.test(i.stem)) {
1668
1625
  if (i.options.length > 1)
1669
1626
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1670
- i.stem.replace(ft, function(h, u, l, f, c, y) {
1671
- return l === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && y ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + y.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1627
+ i.stem.replace(st, function(h, u, l, f, c, g) {
1628
+ return l === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && g ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + g.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1672
1629
  });
1673
1630
  var o = i.options[0];
1674
- o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), ct(o)));
1631
+ o === "w" ? t = b(b({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = b(b({}, t), at(o)));
1675
1632
  continue;
1676
1633
  }
1677
- if (zt.test(i.stem)) {
1678
- t = _(_({}, t), ct(i.stem));
1634
+ if (jt.test(i.stem)) {
1635
+ t = b(b({}, t), at(i.stem));
1679
1636
  continue;
1680
1637
  }
1681
- var s = Qt(i.stem);
1682
- s && (t = _(_({}, t), s));
1683
- var a = Sn(i.stem);
1684
- a && (t = _(_({}, t), a));
1638
+ var s = Vt(i.stem);
1639
+ s && (t = b(b({}, t), s));
1640
+ var a = gn(i.stem);
1641
+ a && (t = b(b({}, t), a));
1685
1642
  }
1686
1643
  return t;
1687
1644
  }
@@ -3100,13 +3057,13 @@ var he = {
3100
3057
  "h"
3101
3058
  ]
3102
3059
  };
3103
- function Tn(e, t) {
3060
+ function _n(e, t) {
3104
3061
  for (var r = "", n = 0; n < e.length; n++) {
3105
3062
  var i = e.charAt(n);
3106
3063
  if (i === "j") {
3107
3064
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3108
3065
  o++, n++;
3109
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Hn(t);
3066
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = xn(t);
3110
3067
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
3111
3068
  r += h;
3112
3069
  for (; s-- > 0; )
@@ -3116,7 +3073,7 @@ function Tn(e, t) {
3116
3073
  }
3117
3074
  return r;
3118
3075
  }
3119
- function Hn(e) {
3076
+ function xn(e) {
3120
3077
  var t = e.hourCycle;
3121
3078
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3122
3079
  e.hourCycles && // @ts-ignore
@@ -3138,20 +3095,20 @@ function Hn(e) {
3138
3095
  var i = he[n || ""] || he[r || ""] || he["".concat(r, "-001")] || he["001"];
3139
3096
  return i[0];
3140
3097
  }
3141
- var Be, An = new RegExp("^".concat(Wt.source, "*")), Bn = new RegExp("".concat(Wt.source, "*$"));
3098
+ var we, En = new RegExp("^".concat(Ft.source, "*")), Tn = new RegExp("".concat(Ft.source, "*$"));
3142
3099
  function m(e, t) {
3143
3100
  return { start: e, end: t };
3144
3101
  }
3145
- var Pn = !!String.prototype.startsWith && "_a".startsWith("a", 1), On = !!String.fromCodePoint, In = !!Object.fromEntries, Cn = !!String.prototype.codePointAt, Nn = !!String.prototype.trimStart, Ln = !!String.prototype.trimEnd, Mn = !!Number.isSafeInteger, $n = Mn ? Number.isSafeInteger : function(e) {
3102
+ var Sn = !!String.prototype.startsWith && "_a".startsWith("a", 1), wn = !!String.fromCodePoint, Hn = !!Object.fromEntries, Bn = !!String.prototype.codePointAt, An = !!String.prototype.trimStart, Pn = !!String.prototype.trimEnd, On = !!Number.isSafeInteger, In = On ? Number.isSafeInteger : function(e) {
3146
3103
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3147
- }, ke = !0;
3104
+ }, De = !0;
3148
3105
  try {
3149
- var Rn = Jt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3150
- ke = ((Be = Rn.exec("a")) === null || Be === void 0 ? void 0 : Be[0]) === "a";
3106
+ var Cn = Wt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3107
+ De = ((we = Cn.exec("a")) === null || we === void 0 ? void 0 : we[0]) === "a";
3151
3108
  } catch {
3152
- ke = !1;
3109
+ De = !1;
3153
3110
  }
3154
- var dt = Pn ? (
3111
+ var ht = Sn ? (
3155
3112
  // Native
3156
3113
  function(t, r, n) {
3157
3114
  return t.startsWith(r, n);
@@ -3161,7 +3118,7 @@ var dt = Pn ? (
3161
3118
  function(t, r, n) {
3162
3119
  return t.slice(n, n + r.length) === r;
3163
3120
  }
3164
- ), Ve = On ? String.fromCodePoint : (
3121
+ ), Ue = wn ? String.fromCodePoint : (
3165
3122
  // IE11
3166
3123
  function() {
3167
3124
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3173,9 +3130,9 @@ var dt = Pn ? (
3173
3130
  }
3174
3131
  return n;
3175
3132
  }
3176
- ), mt = (
3133
+ ), lt = (
3177
3134
  // native
3178
- In ? Object.fromEntries : (
3135
+ Hn ? Object.fromEntries : (
3179
3136
  // Ponyfill
3180
3137
  function(t) {
3181
3138
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3185,7 +3142,7 @@ var dt = Pn ? (
3185
3142
  return r;
3186
3143
  }
3187
3144
  )
3188
- ), qt = Cn ? (
3145
+ ), Xt = Bn ? (
3189
3146
  // Native
3190
3147
  function(t, r) {
3191
3148
  return t.codePointAt(r);
@@ -3199,7 +3156,7 @@ var dt = Pn ? (
3199
3156
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3200
3157
  }
3201
3158
  }
3202
- ), Dn = Nn ? (
3159
+ ), Nn = An ? (
3203
3160
  // Native
3204
3161
  function(t) {
3205
3162
  return t.trimStart();
@@ -3207,9 +3164,9 @@ var dt = Pn ? (
3207
3164
  ) : (
3208
3165
  // Ponyfill
3209
3166
  function(t) {
3210
- return t.replace(An, "");
3167
+ return t.replace(En, "");
3211
3168
  }
3212
- ), Un = Ln ? (
3169
+ ), Ln = Pn ? (
3213
3170
  // Native
3214
3171
  function(t) {
3215
3172
  return t.trimEnd();
@@ -3217,32 +3174,32 @@ var dt = Pn ? (
3217
3174
  ) : (
3218
3175
  // Ponyfill
3219
3176
  function(t) {
3220
- return t.replace(Bn, "");
3177
+ return t.replace(Tn, "");
3221
3178
  }
3222
3179
  );
3223
- function Jt(e, t) {
3180
+ function Wt(e, t) {
3224
3181
  return new RegExp(e, t);
3225
3182
  }
3226
- var Xe;
3227
- if (ke) {
3228
- var bt = Jt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3229
- Xe = function(t, r) {
3183
+ var Ge;
3184
+ if (De) {
3185
+ var ft = Wt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3186
+ Ge = function(t, r) {
3230
3187
  var n;
3231
- bt.lastIndex = r;
3232
- var i = bt.exec(t);
3188
+ ft.lastIndex = r;
3189
+ var i = ft.exec(t);
3233
3190
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3234
3191
  };
3235
3192
  } else
3236
- Xe = function(t, r) {
3193
+ Ge = function(t, r) {
3237
3194
  for (var n = []; ; ) {
3238
- var i = qt(t, r);
3239
- if (i === void 0 || Yt(i) || kn(i))
3195
+ var i = Xt(t, r);
3196
+ if (i === void 0 || zt(i) || Dn(i))
3240
3197
  break;
3241
3198
  n.push(i), r += i >= 65536 ? 2 : 1;
3242
3199
  }
3243
- return Ve.apply(void 0, n);
3200
+ return Ue.apply(void 0, n);
3244
3201
  };
3245
- var Gn = (
3202
+ var Mn = (
3246
3203
  /** @class */
3247
3204
  function() {
3248
3205
  function e(t, r) {
@@ -3266,14 +3223,14 @@ var Gn = (
3266
3223
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3267
3224
  var a = this.clonePosition();
3268
3225
  this.bump(), i.push({
3269
- type: v.pound,
3226
+ type: _.pound,
3270
3227
  location: m(a, this.clonePosition())
3271
3228
  });
3272
3229
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3273
3230
  if (n)
3274
3231
  break;
3275
3232
  return this.error(d.UNMATCHED_CLOSING_TAG, m(this.clonePosition(), this.clonePosition()));
3276
- } else if (o === 60 && !this.ignoreTag && We(this.peek() || 0)) {
3233
+ } else if (o === 60 && !this.ignoreTag && Fe(this.peek() || 0)) {
3277
3234
  var s = this.parseTag(t, r);
3278
3235
  if (s.err)
3279
3236
  return s;
@@ -3294,7 +3251,7 @@ var Gn = (
3294
3251
  if (this.bumpSpace(), this.bumpIf("/>"))
3295
3252
  return {
3296
3253
  val: {
3297
- type: v.literal,
3254
+ type: _.literal,
3298
3255
  value: "<".concat(i, "/>"),
3299
3256
  location: m(n, this.clonePosition())
3300
3257
  },
@@ -3306,12 +3263,12 @@ var Gn = (
3306
3263
  return o;
3307
3264
  var s = o.val, a = this.clonePosition();
3308
3265
  if (this.bumpIf("</")) {
3309
- if (this.isEOF() || !We(this.char()))
3266
+ if (this.isEOF() || !Fe(this.char()))
3310
3267
  return this.error(d.INVALID_TAG, m(a, this.clonePosition()));
3311
3268
  var h = this.clonePosition(), u = this.parseTagName();
3312
3269
  return i !== u ? this.error(d.UNMATCHED_CLOSING_TAG, m(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3313
3270
  val: {
3314
- type: v.tag,
3271
+ type: _.tag,
3315
3272
  value: i,
3316
3273
  children: s,
3317
3274
  location: m(n, this.clonePosition())
@@ -3324,7 +3281,7 @@ var Gn = (
3324
3281
  return this.error(d.INVALID_TAG, m(n, this.clonePosition()));
3325
3282
  }, e.prototype.parseTagName = function() {
3326
3283
  var t = this.offset();
3327
- for (this.bump(); !this.isEOF() && jn(this.char()); )
3284
+ for (this.bump(); !this.isEOF() && Rn(this.char()); )
3328
3285
  this.bump();
3329
3286
  return this.message.slice(t, this.offset());
3330
3287
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3348,12 +3305,12 @@ var Gn = (
3348
3305
  }
3349
3306
  var h = m(n, this.clonePosition());
3350
3307
  return {
3351
- val: { type: v.literal, value: i, location: h },
3308
+ val: { type: _.literal, value: i, location: h },
3352
3309
  err: null
3353
3310
  };
3354
3311
  }, e.prototype.tryParseLeftAngleBracket = function() {
3355
3312
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3356
- !Fn(this.peek() || 0)) ? (this.bump(), "<") : null;
3313
+ !$n(this.peek() || 0)) ? (this.bump(), "<") : null;
3357
3314
  }, e.prototype.tryParseQuote = function(t) {
3358
3315
  if (this.isEOF() || this.char() !== 39)
3359
3316
  return null;
@@ -3387,12 +3344,12 @@ var Gn = (
3387
3344
  r.push(n);
3388
3345
  this.bump();
3389
3346
  }
3390
- return Ve.apply(void 0, r);
3347
+ return Ue.apply(void 0, r);
3391
3348
  }, e.prototype.tryParseUnquoted = function(t, r) {
3392
3349
  if (this.isEOF())
3393
3350
  return null;
3394
3351
  var n = this.char();
3395
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ve(n));
3352
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ue(n));
3396
3353
  }, e.prototype.parseArgument = function(t, r) {
3397
3354
  var n = this.clonePosition();
3398
3355
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3408,7 +3365,7 @@ var Gn = (
3408
3365
  case 125:
3409
3366
  return this.bump(), {
3410
3367
  val: {
3411
- type: v.argument,
3368
+ type: _.argument,
3412
3369
  // value does not include the opening and closing braces.
3413
3370
  value: i,
3414
3371
  location: m(n, this.clonePosition())
@@ -3421,7 +3378,7 @@ var Gn = (
3421
3378
  return this.error(d.MALFORMED_ARGUMENT, m(n, this.clonePosition()));
3422
3379
  }
3423
3380
  }, e.prototype.parseIdentifierIfPossible = function() {
3424
- var t = this.clonePosition(), r = this.offset(), n = Xe(this.message, r), i = r + n.length;
3381
+ var t = this.clonePosition(), r = this.offset(), n = Ge(this.message, r), i = r + n.length;
3425
3382
  this.bumpTo(i);
3426
3383
  var o = this.clonePosition(), s = m(t, o);
3427
3384
  return { value: n, location: s };
@@ -3440,46 +3397,46 @@ var Gn = (
3440
3397
  var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3441
3398
  if (f.err)
3442
3399
  return f;
3443
- var c = Un(f.val);
3400
+ var c = Ln(f.val);
3444
3401
  if (c.length === 0)
3445
3402
  return this.error(d.EXPECT_ARGUMENT_STYLE, m(this.clonePosition(), this.clonePosition()));
3446
- var y = m(l, this.clonePosition());
3447
- u = { style: c, styleLocation: y };
3403
+ var g = m(l, this.clonePosition());
3404
+ u = { style: c, styleLocation: g };
3448
3405
  }
3449
3406
  var p = this.tryParseArgumentClose(i);
3450
3407
  if (p.err)
3451
3408
  return p;
3452
- var g = m(i, this.clonePosition());
3453
- if (u && dt(u?.style, "::", 0)) {
3454
- var E = Dn(u.style.slice(2));
3409
+ var v = m(i, this.clonePosition());
3410
+ if (u && ht(u?.style, "::", 0)) {
3411
+ var E = Nn(u.style.slice(2));
3455
3412
  if (a === "number") {
3456
3413
  var f = this.parseNumberSkeletonFromString(E, u.styleLocation);
3457
3414
  return f.err ? f : {
3458
- val: { type: v.number, value: n, location: g, style: f.val },
3415
+ val: { type: _.number, value: n, location: v, style: f.val },
3459
3416
  err: null
3460
3417
  };
3461
3418
  } else {
3462
3419
  if (E.length === 0)
3463
- return this.error(d.EXPECT_DATE_TIME_SKELETON, g);
3464
- var W = E;
3465
- this.locale && (W = Tn(E, this.locale));
3420
+ return this.error(d.EXPECT_DATE_TIME_SKELETON, v);
3421
+ var z = E;
3422
+ this.locale && (z = _n(E, this.locale));
3466
3423
  var c = {
3467
- type: F.dateTime,
3468
- pattern: W,
3424
+ type: j.dateTime,
3425
+ pattern: z,
3469
3426
  location: u.styleLocation,
3470
- parsedOptions: this.shouldParseSkeletons ? gn(W) : {}
3471
- }, M = a === "date" ? v.date : v.time;
3427
+ parsedOptions: this.shouldParseSkeletons ? pn(z) : {}
3428
+ }, M = a === "date" ? _.date : _.time;
3472
3429
  return {
3473
- val: { type: M, value: n, location: g, style: c },
3430
+ val: { type: M, value: n, location: v, style: c },
3474
3431
  err: null
3475
3432
  };
3476
3433
  }
3477
3434
  }
3478
3435
  return {
3479
3436
  val: {
3480
- type: a === "number" ? v.number : a === "date" ? v.date : v.time,
3437
+ type: a === "number" ? _.number : a === "date" ? _.date : _.time,
3481
3438
  value: n,
3482
- location: g,
3439
+ location: v,
3483
3440
  style: (o = u?.style) !== null && o !== void 0 ? o : null
3484
3441
  },
3485
3442
  err: null
@@ -3488,43 +3445,43 @@ var Gn = (
3488
3445
  case "plural":
3489
3446
  case "selectordinal":
3490
3447
  case "select": {
3491
- var w = this.clonePosition();
3448
+ var S = this.clonePosition();
3492
3449
  if (this.bumpSpace(), !this.bumpIf(","))
3493
- return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, m(w, de({}, w)));
3450
+ return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, m(S, b({}, S)));
3494
3451
  this.bumpSpace();
3495
- var z = this.parseIdentifierIfPossible(), I = 0;
3496
- if (a !== "select" && z.value === "offset") {
3452
+ var Z = this.parseIdentifierIfPossible(), I = 0;
3453
+ if (a !== "select" && Z.value === "offset") {
3497
3454
  if (!this.bumpIf(":"))
3498
3455
  return this.error(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, m(this.clonePosition(), this.clonePosition()));
3499
3456
  this.bumpSpace();
3500
3457
  var f = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3501
3458
  if (f.err)
3502
3459
  return f;
3503
- this.bumpSpace(), z = this.parseIdentifierIfPossible(), I = f.val;
3460
+ this.bumpSpace(), Z = this.parseIdentifierIfPossible(), I = f.val;
3504
3461
  }
3505
- var oe = this.tryParsePluralOrSelectOptions(t, a, r, z);
3462
+ var oe = this.tryParsePluralOrSelectOptions(t, a, r, Z);
3506
3463
  if (oe.err)
3507
3464
  return oe;
3508
3465
  var p = this.tryParseArgumentClose(i);
3509
3466
  if (p.err)
3510
3467
  return p;
3511
- var Ke = m(i, this.clonePosition());
3468
+ var Ze = m(i, this.clonePosition());
3512
3469
  return a === "select" ? {
3513
3470
  val: {
3514
- type: v.select,
3471
+ type: _.select,
3515
3472
  value: n,
3516
- options: mt(oe.val),
3517
- location: Ke
3473
+ options: lt(oe.val),
3474
+ location: Ze
3518
3475
  },
3519
3476
  err: null
3520
3477
  } : {
3521
3478
  val: {
3522
- type: v.plural,
3479
+ type: _.plural,
3523
3480
  value: n,
3524
- options: mt(oe.val),
3481
+ options: lt(oe.val),
3525
3482
  offset: I,
3526
3483
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3527
- location: Ke
3484
+ location: Ze
3528
3485
  },
3529
3486
  err: null
3530
3487
  };
@@ -3572,16 +3529,16 @@ var Gn = (
3572
3529
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3573
3530
  var n = [];
3574
3531
  try {
3575
- n = _n(t);
3532
+ n = mn(t);
3576
3533
  } catch {
3577
3534
  return this.error(d.INVALID_NUMBER_SKELETON, r);
3578
3535
  }
3579
3536
  return {
3580
3537
  val: {
3581
- type: F.number,
3538
+ type: j.number,
3582
3539
  tokens: n,
3583
3540
  location: r,
3584
- parsedOptions: this.shouldParseSkeletons ? wn(n) : {}
3541
+ parsedOptions: this.shouldParseSkeletons ? vn(n) : {}
3585
3542
  },
3586
3543
  err: null
3587
3544
  };
@@ -3600,20 +3557,20 @@ var Gn = (
3600
3557
  if (h.has(u))
3601
3558
  return this.error(r === "select" ? d.DUPLICATE_SELECT_ARGUMENT_SELECTOR : d.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3602
3559
  u === "other" && (s = !0), this.bumpSpace();
3603
- var y = this.clonePosition();
3560
+ var g = this.clonePosition();
3604
3561
  if (!this.bumpIf("{"))
3605
3562
  return this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : d.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, m(this.clonePosition(), this.clonePosition()));
3606
3563
  var p = this.parseMessage(t + 1, r, n);
3607
3564
  if (p.err)
3608
3565
  return p;
3609
- var g = this.tryParseArgumentClose(y);
3610
- if (g.err)
3611
- return g;
3566
+ var v = this.tryParseArgumentClose(g);
3567
+ if (v.err)
3568
+ return v;
3612
3569
  a.push([
3613
3570
  u,
3614
3571
  {
3615
3572
  value: p.val,
3616
- location: m(y, this.clonePosition())
3573
+ location: m(g, this.clonePosition())
3617
3574
  }
3618
3575
  ]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
3619
3576
  }
@@ -3629,7 +3586,7 @@ var Gn = (
3629
3586
  break;
3630
3587
  }
3631
3588
  var h = m(i, this.clonePosition());
3632
- return o ? (s *= n, $n(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3589
+ return o ? (s *= n, In(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3633
3590
  }, e.prototype.offset = function() {
3634
3591
  return this.position.offset;
3635
3592
  }, e.prototype.isEOF = function() {
@@ -3644,7 +3601,7 @@ var Gn = (
3644
3601
  var t = this.position.offset;
3645
3602
  if (t >= this.message.length)
3646
3603
  throw Error("out of bound");
3647
- var r = qt(this.message, t);
3604
+ var r = Xt(this.message, t);
3648
3605
  if (r === void 0)
3649
3606
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3650
3607
  return r;
@@ -3663,7 +3620,7 @@ var Gn = (
3663
3620
  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);
3664
3621
  }
3665
3622
  }, e.prototype.bumpIf = function(t) {
3666
- if (dt(this.message, t, this.offset())) {
3623
+ if (ht(this.message, t, this.offset())) {
3667
3624
  for (var r = 0; r < t.length; r++)
3668
3625
  this.bump();
3669
3626
  return !0;
@@ -3685,7 +3642,7 @@ var Gn = (
3685
3642
  break;
3686
3643
  }
3687
3644
  }, e.prototype.bumpSpace = function() {
3688
- for (; !this.isEOF() && Yt(this.char()); )
3645
+ for (; !this.isEOF() && zt(this.char()); )
3689
3646
  this.bump();
3690
3647
  }, e.prototype.peek = function() {
3691
3648
  if (this.isEOF())
@@ -3695,47 +3652,47 @@ var Gn = (
3695
3652
  }, e;
3696
3653
  }()
3697
3654
  );
3698
- function We(e) {
3655
+ function Fe(e) {
3699
3656
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3700
3657
  }
3701
- function Fn(e) {
3702
- return We(e) || e === 47;
3658
+ function $n(e) {
3659
+ return Fe(e) || e === 47;
3703
3660
  }
3704
- function jn(e) {
3661
+ function Rn(e) {
3705
3662
  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;
3706
3663
  }
3707
- function Yt(e) {
3664
+ function zt(e) {
3708
3665
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3709
3666
  }
3710
- function kn(e) {
3667
+ function Dn(e) {
3711
3668
  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;
3712
3669
  }
3713
- function ze(e) {
3670
+ function je(e) {
3714
3671
  e.forEach(function(t) {
3715
- if (delete t.location, jt(t) || kt(t))
3672
+ if (delete t.location, Rt(t) || Dt(t))
3716
3673
  for (var r in t.options)
3717
- delete t.options[r].location, ze(t.options[r].value);
3674
+ delete t.options[r].location, je(t.options[r].value);
3718
3675
  else
3719
- Ut(t) && Xt(t.style) || (Gt(t) || Ft(t)) && je(t.style) ? delete t.style.location : Vt(t) && ze(t.children);
3676
+ Lt(t) && Gt(t.style) || (Mt(t) || $t(t)) && Re(t.style) ? delete t.style.location : Ut(t) && je(t.children);
3720
3677
  });
3721
3678
  }
3722
- function Vn(e, t) {
3723
- t === void 0 && (t = {}), t = de({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3724
- var r = new Gn(e, t).parse();
3679
+ function Un(e, t) {
3680
+ t === void 0 && (t = {}), t = b({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3681
+ var r = new Mn(e, t).parse();
3725
3682
  if (r.err) {
3726
3683
  var n = SyntaxError(d[r.err.kind]);
3727
3684
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3728
3685
  }
3729
- return t?.captureLocation || ze(r.val), r.val;
3686
+ return t?.captureLocation || je(r.val), r.val;
3730
3687
  }
3731
- var j;
3688
+ var k;
3732
3689
  (function(e) {
3733
3690
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3734
- })(j || (j = {}));
3735
- var _e = (
3691
+ })(k || (k = {}));
3692
+ var ge = (
3736
3693
  /** @class */
3737
3694
  function(e) {
3738
- ve(t, e);
3695
+ P(t, e);
3739
3696
  function t(r, n, i) {
3740
3697
  var o = e.call(this, r) || this;
3741
3698
  return o.code = n, o.originalMessage = i, o;
@@ -3744,48 +3701,48 @@ var _e = (
3744
3701
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3745
3702
  }, t;
3746
3703
  }(Error)
3747
- ), yt = (
3704
+ ), ct = (
3748
3705
  /** @class */
3749
3706
  function(e) {
3750
- ve(t, e);
3707
+ P(t, e);
3751
3708
  function t(r, n, i, o) {
3752
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), j.INVALID_VALUE, o) || this;
3709
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), k.INVALID_VALUE, o) || this;
3753
3710
  }
3754
3711
  return t;
3755
- }(_e)
3756
- ), Xn = (
3712
+ }(ge)
3713
+ ), Gn = (
3757
3714
  /** @class */
3758
3715
  function(e) {
3759
- ve(t, e);
3716
+ P(t, e);
3760
3717
  function t(r, n, i) {
3761
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), j.INVALID_VALUE, i) || this;
3718
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), k.INVALID_VALUE, i) || this;
3762
3719
  }
3763
3720
  return t;
3764
- }(_e)
3765
- ), Wn = (
3721
+ }(ge)
3722
+ ), Fn = (
3766
3723
  /** @class */
3767
3724
  function(e) {
3768
- ve(t, e);
3725
+ P(t, e);
3769
3726
  function t(r, n) {
3770
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), j.MISSING_VALUE, n) || this;
3727
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), k.MISSING_VALUE, n) || this;
3771
3728
  }
3772
3729
  return t;
3773
- }(_e)
3730
+ }(ge)
3774
3731
  ), x;
3775
3732
  (function(e) {
3776
3733
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3777
3734
  })(x || (x = {}));
3778
- function zn(e) {
3735
+ function jn(e) {
3779
3736
  return e.length < 2 ? e : e.reduce(function(t, r) {
3780
3737
  var n = t[t.length - 1];
3781
3738
  return !n || n.type !== x.literal || r.type !== x.literal ? t.push(r) : n.value += r.value, t;
3782
3739
  }, []);
3783
3740
  }
3784
- function Zn(e) {
3741
+ function kn(e) {
3785
3742
  return typeof e == "function";
3786
3743
  }
3787
3744
  function ce(e, t, r, n, i, o, s) {
3788
- if (e.length === 1 && lt(e[0]))
3745
+ if (e.length === 1 && ot(e[0]))
3789
3746
  return [
3790
3747
  {
3791
3748
  type: x.literal,
@@ -3794,14 +3751,14 @@ function ce(e, t, r, n, i, o, s) {
3794
3751
  ];
3795
3752
  for (var a = [], h = 0, u = e; h < u.length; h++) {
3796
3753
  var l = u[h];
3797
- if (lt(l)) {
3754
+ if (ot(l)) {
3798
3755
  a.push({
3799
3756
  type: x.literal,
3800
3757
  value: l.value
3801
3758
  });
3802
3759
  continue;
3803
3760
  }
3804
- if (bn(l)) {
3761
+ if (fn(l)) {
3805
3762
  typeof o == "number" && a.push({
3806
3763
  type: x.literal,
3807
3764
  value: r.getNumberFormat(t).format(o)
@@ -3810,44 +3767,44 @@ function ce(e, t, r, n, i, o, s) {
3810
3767
  }
3811
3768
  var f = l.value;
3812
3769
  if (!(i && f in i))
3813
- throw new Wn(f, s);
3770
+ throw new Fn(f, s);
3814
3771
  var c = i[f];
3815
- if (mn(l)) {
3772
+ if (ln(l)) {
3816
3773
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3817
3774
  type: typeof c == "string" ? x.literal : x.object,
3818
3775
  value: c
3819
3776
  });
3820
3777
  continue;
3821
3778
  }
3822
- if (Gt(l)) {
3823
- var y = typeof l.style == "string" ? n.date[l.style] : je(l.style) ? l.style.parsedOptions : void 0;
3779
+ if (Mt(l)) {
3780
+ var g = typeof l.style == "string" ? n.date[l.style] : Re(l.style) ? l.style.parsedOptions : void 0;
3824
3781
  a.push({
3825
3782
  type: x.literal,
3826
- value: r.getDateTimeFormat(t, y).format(c)
3783
+ value: r.getDateTimeFormat(t, g).format(c)
3827
3784
  });
3828
3785
  continue;
3829
3786
  }
3830
- if (Ft(l)) {
3831
- var y = typeof l.style == "string" ? n.time[l.style] : je(l.style) ? l.style.parsedOptions : n.time.medium;
3787
+ if ($t(l)) {
3788
+ var g = typeof l.style == "string" ? n.time[l.style] : Re(l.style) ? l.style.parsedOptions : n.time.medium;
3832
3789
  a.push({
3833
3790
  type: x.literal,
3834
- value: r.getDateTimeFormat(t, y).format(c)
3791
+ value: r.getDateTimeFormat(t, g).format(c)
3835
3792
  });
3836
3793
  continue;
3837
3794
  }
3838
- if (Ut(l)) {
3839
- var y = typeof l.style == "string" ? n.number[l.style] : Xt(l.style) ? l.style.parsedOptions : void 0;
3840
- y && y.scale && (c = c * (y.scale || 1)), a.push({
3795
+ if (Lt(l)) {
3796
+ var g = typeof l.style == "string" ? n.number[l.style] : Gt(l.style) ? l.style.parsedOptions : void 0;
3797
+ g && g.scale && (c = c * (g.scale || 1)), a.push({
3841
3798
  type: x.literal,
3842
- value: r.getNumberFormat(t, y).format(c)
3799
+ value: r.getNumberFormat(t, g).format(c)
3843
3800
  });
3844
3801
  continue;
3845
3802
  }
3846
- if (Vt(l)) {
3847
- var p = l.children, g = l.value, E = i[g];
3848
- if (!Zn(E))
3849
- throw new Xn(g, "function", s);
3850
- var W = ce(p, t, r, n, i, o), M = E(W.map(function(I) {
3803
+ if (Ut(l)) {
3804
+ var p = l.children, v = l.value, E = i[v];
3805
+ if (!kn(E))
3806
+ throw new Gn(v, "function", s);
3807
+ var z = ce(p, t, r, n, i, o), M = E(z.map(function(I) {
3851
3808
  return I.value;
3852
3809
  }));
3853
3810
  Array.isArray(M) || (M = [M]), a.push.apply(a, M.map(function(I) {
@@ -3857,42 +3814,42 @@ function ce(e, t, r, n, i, o, s) {
3857
3814
  };
3858
3815
  }));
3859
3816
  }
3860
- if (jt(l)) {
3861
- var w = l.options[c] || l.options.other;
3862
- if (!w)
3863
- throw new yt(l.value, c, Object.keys(l.options), s);
3864
- a.push.apply(a, ce(w.value, t, r, n, i));
3817
+ if (Rt(l)) {
3818
+ var S = l.options[c] || l.options.other;
3819
+ if (!S)
3820
+ throw new ct(l.value, c, Object.keys(l.options), s);
3821
+ a.push.apply(a, ce(S.value, t, r, n, i));
3865
3822
  continue;
3866
3823
  }
3867
- if (kt(l)) {
3868
- var w = l.options["=".concat(c)];
3869
- if (!w) {
3824
+ if (Dt(l)) {
3825
+ var S = l.options["=".concat(c)];
3826
+ if (!S) {
3870
3827
  if (!Intl.PluralRules)
3871
- throw new _e(`Intl.PluralRules is not available in this environment.
3828
+ throw new ge(`Intl.PluralRules is not available in this environment.
3872
3829
  Try polyfilling it using "@formatjs/intl-pluralrules"
3873
- `, j.MISSING_INTL_API, s);
3874
- var z = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3875
- w = l.options[z] || l.options.other;
3830
+ `, k.MISSING_INTL_API, s);
3831
+ var Z = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3832
+ S = l.options[Z] || l.options.other;
3876
3833
  }
3877
- if (!w)
3878
- throw new yt(l.value, c, Object.keys(l.options), s);
3879
- a.push.apply(a, ce(w.value, t, r, n, i, c - (l.offset || 0)));
3834
+ if (!S)
3835
+ throw new ct(l.value, c, Object.keys(l.options), s);
3836
+ a.push.apply(a, ce(S.value, t, r, n, i, c - (l.offset || 0)));
3880
3837
  continue;
3881
3838
  }
3882
3839
  }
3883
- return zn(a);
3840
+ return jn(a);
3884
3841
  }
3885
- function Qn(e, t) {
3886
- return t ? T(T(T({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3887
- return r[n] = T(T({}, e[n]), t[n] || {}), r;
3842
+ function Vn(e, t) {
3843
+ return t ? b(b(b({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3844
+ return r[n] = b(b({}, e[n]), t[n] || {}), r;
3888
3845
  }, {})) : e;
3889
3846
  }
3890
- function qn(e, t) {
3847
+ function Xn(e, t) {
3891
3848
  return t ? Object.keys(e).reduce(function(r, n) {
3892
- return r[n] = Qn(e[n], t[n]), r;
3893
- }, T({}, e)) : e;
3849
+ return r[n] = Vn(e[n], t[n]), r;
3850
+ }, b({}, e)) : e;
3894
3851
  }
3895
- function Pe(e) {
3852
+ function He(e) {
3896
3853
  return {
3897
3854
  create: function() {
3898
3855
  return {
@@ -3906,39 +3863,39 @@ function Pe(e) {
3906
3863
  }
3907
3864
  };
3908
3865
  }
3909
- function Jn(e) {
3866
+ function Wn(e) {
3910
3867
  return e === void 0 && (e = {
3911
3868
  number: {},
3912
3869
  dateTime: {},
3913
3870
  pluralRules: {}
3914
3871
  }), {
3915
- getNumberFormat: He(function() {
3872
+ getNumberFormat: Te(function() {
3916
3873
  for (var t, r = [], n = 0; n < arguments.length; n++)
3917
3874
  r[n] = arguments[n];
3918
- return new ((t = Intl.NumberFormat).bind.apply(t, Te([void 0], r, !1)))();
3875
+ return new ((t = Intl.NumberFormat).bind.apply(t, G([void 0], r, !1)))();
3919
3876
  }, {
3920
- cache: Pe(e.number),
3921
- strategy: Ae.variadic
3877
+ cache: He(e.number),
3878
+ strategy: Se.variadic
3922
3879
  }),
3923
- getDateTimeFormat: He(function() {
3880
+ getDateTimeFormat: Te(function() {
3924
3881
  for (var t, r = [], n = 0; n < arguments.length; n++)
3925
3882
  r[n] = arguments[n];
3926
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Te([void 0], r, !1)))();
3883
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, G([void 0], r, !1)))();
3927
3884
  }, {
3928
- cache: Pe(e.dateTime),
3929
- strategy: Ae.variadic
3885
+ cache: He(e.dateTime),
3886
+ strategy: Se.variadic
3930
3887
  }),
3931
- getPluralRules: He(function() {
3888
+ getPluralRules: Te(function() {
3932
3889
  for (var t, r = [], n = 0; n < arguments.length; n++)
3933
3890
  r[n] = arguments[n];
3934
- return new ((t = Intl.PluralRules).bind.apply(t, Te([void 0], r, !1)))();
3891
+ return new ((t = Intl.PluralRules).bind.apply(t, G([void 0], r, !1)))();
3935
3892
  }, {
3936
- cache: Pe(e.pluralRules),
3937
- strategy: Ae.variadic
3893
+ cache: He(e.pluralRules),
3894
+ strategy: Se.variadic
3938
3895
  })
3939
3896
  };
3940
3897
  }
3941
- var Yn = (
3898
+ var zn = (
3942
3899
  /** @class */
3943
3900
  function() {
3944
3901
  function e(t, r, n, i) {
@@ -3970,13 +3927,13 @@ var Yn = (
3970
3927
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3971
3928
  var s = i || {};
3972
3929
  s.formatters;
3973
- var a = an(s, ["formatters"]);
3974
- this.ast = e.__parse(t, T(T({}, a), { locale: this.resolvedLocale }));
3930
+ var a = wr(s, ["formatters"]);
3931
+ this.ast = e.__parse(t, b(b({}, a), { locale: this.resolvedLocale }));
3975
3932
  } else
3976
3933
  this.ast = t;
3977
3934
  if (!Array.isArray(this.ast))
3978
3935
  throw new TypeError("A message must be provided as a String or AST.");
3979
- this.formats = qn(e.formats, n), this.formatters = i && i.formatters || Jn(this.formatterCache);
3936
+ this.formats = Xn(e.formats, n), this.formatters = i && i.formatters || Wn(this.formatterCache);
3980
3937
  }
3981
3938
  return Object.defineProperty(e, "defaultLocale", {
3982
3939
  get: function() {
@@ -3989,7 +3946,7 @@ var Yn = (
3989
3946
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3990
3947
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3991
3948
  }
3992
- }, e.__parse = Vn, e.formats = {
3949
+ }, e.__parse = Un, e.formats = {
3993
3950
  number: {
3994
3951
  integer: {
3995
3952
  maximumFractionDigits: 0
@@ -4050,7 +4007,7 @@ var Yn = (
4050
4007
  }, e;
4051
4008
  }()
4052
4009
  );
4053
- function Kn(e, t) {
4010
+ function Zn(e, t) {
4054
4011
  if (t == null)
4055
4012
  return;
4056
4013
  if (t in e)
@@ -4071,92 +4028,92 @@ function Kn(e, t) {
4071
4028
  n = void 0;
4072
4029
  return n;
4073
4030
  }
4074
- const O = {}, ei = (e, t, r) => r && (t in O || (O[t] = {}), e in O[t] || (O[t][e] = r), r), Kt = (e, t) => {
4031
+ const O = {}, Qn = (e, t, r) => r && (t in O || (O[t] = {}), e in O[t] || (O[t][e] = r), r), Zt = (e, t) => {
4075
4032
  if (t == null)
4076
4033
  return;
4077
4034
  if (t in O && e in O[t])
4078
4035
  return O[t][e];
4079
- const r = xe(t);
4036
+ const r = ve(t);
4080
4037
  for (let n = 0; n < r.length; n++) {
4081
- const i = r[n], o = ri(i, e);
4038
+ const i = r[n], o = Jn(i, e);
4082
4039
  if (o)
4083
- return ei(e, t, o);
4040
+ return Qn(e, t, o);
4084
4041
  }
4085
4042
  };
4086
- let Je;
4087
- const ne = ge({});
4088
- function ti(e) {
4089
- return Je[e] || null;
4043
+ let We;
4044
+ const ne = ye({});
4045
+ function qn(e) {
4046
+ return We[e] || null;
4090
4047
  }
4091
- function er(e) {
4092
- return e in Je;
4048
+ function Qt(e) {
4049
+ return e in We;
4093
4050
  }
4094
- function ri(e, t) {
4095
- if (!er(e))
4051
+ function Jn(e, t) {
4052
+ if (!Qt(e))
4096
4053
  return null;
4097
- const r = ti(e);
4098
- return Kn(r, t);
4054
+ const r = qn(e);
4055
+ return Zn(r, t);
4099
4056
  }
4100
- function ni(e) {
4057
+ function Yn(e) {
4101
4058
  if (e == null)
4102
4059
  return;
4103
- const t = xe(e);
4060
+ const t = ve(e);
4104
4061
  for (let r = 0; r < t.length; r++) {
4105
4062
  const n = t[r];
4106
- if (er(n))
4063
+ if (Qt(n))
4107
4064
  return n;
4108
4065
  }
4109
4066
  }
4110
- function ii(e, ...t) {
4111
- delete O[e], ne.update((r) => (r[e] = sn.all([r[e] || {}, ...t]), r));
4067
+ function Kn(e, ...t) {
4068
+ delete O[e], ne.update((r) => (r[e] = tn.all([r[e] || {}, ...t]), r));
4112
4069
  }
4113
- V(
4070
+ X(
4114
4071
  [ne],
4115
4072
  ([e]) => Object.keys(e)
4116
4073
  );
4117
- ne.subscribe((e) => Je = e);
4074
+ ne.subscribe((e) => We = e);
4118
4075
  const pe = {};
4119
- function oi(e, t) {
4076
+ function ei(e, t) {
4120
4077
  pe[e].delete(t), pe[e].size === 0 && delete pe[e];
4121
4078
  }
4122
- function tr(e) {
4079
+ function qt(e) {
4123
4080
  return pe[e];
4124
4081
  }
4125
- function si(e) {
4126
- return xe(e).map((t) => {
4127
- const r = tr(t);
4082
+ function ti(e) {
4083
+ return ve(e).map((t) => {
4084
+ const r = qt(t);
4128
4085
  return [t, r ? [...r] : []];
4129
4086
  }).filter(([, t]) => t.length > 0);
4130
4087
  }
4131
- function Ze(e) {
4132
- return e == null ? !1 : xe(e).some(
4088
+ function ke(e) {
4089
+ return e == null ? !1 : ve(e).some(
4133
4090
  (t) => {
4134
4091
  var r;
4135
- return (r = tr(t)) == null ? void 0 : r.size;
4092
+ return (r = qt(t)) == null ? void 0 : r.size;
4136
4093
  }
4137
4094
  );
4138
4095
  }
4139
- function ai(e, t) {
4096
+ function ri(e, t) {
4140
4097
  return Promise.all(
4141
- t.map((n) => (oi(e, n), n().then((i) => i.default || i)))
4142
- ).then((n) => ii(e, ...n));
4143
- }
4144
- const Z = {};
4145
- function rr(e) {
4146
- if (!Ze(e))
4147
- return e in Z ? Z[e] : Promise.resolve();
4148
- const t = si(e);
4149
- return Z[e] = Promise.all(
4098
+ t.map((n) => (ei(e, n), n().then((i) => i.default || i)))
4099
+ ).then((n) => Kn(e, ...n));
4100
+ }
4101
+ const Q = {};
4102
+ function Jt(e) {
4103
+ if (!ke(e))
4104
+ return e in Q ? Q[e] : Promise.resolve();
4105
+ const t = ti(e);
4106
+ return Q[e] = Promise.all(
4150
4107
  t.map(
4151
- ([r, n]) => ai(r, n)
4108
+ ([r, n]) => ri(r, n)
4152
4109
  )
4153
4110
  ).then(() => {
4154
- if (Ze(e))
4155
- return rr(e);
4156
- delete Z[e];
4157
- }), Z[e];
4111
+ if (ke(e))
4112
+ return Jt(e);
4113
+ delete Q[e];
4114
+ }), Q[e];
4158
4115
  }
4159
- const ui = {
4116
+ const ni = {
4160
4117
  number: {
4161
4118
  scientific: { notation: "scientific" },
4162
4119
  engineering: { notation: "engineering" },
@@ -4185,135 +4142,135 @@ const ui = {
4185
4142
  timeZoneName: "short"
4186
4143
  }
4187
4144
  }
4188
- }, hi = {
4145
+ }, ii = {
4189
4146
  fallbackLocale: null,
4190
4147
  loadingDelay: 200,
4191
- formats: ui,
4148
+ formats: ni,
4192
4149
  warnOnMissingMessages: !0,
4193
4150
  handleMissingMessage: void 0,
4194
4151
  ignoreTag: !0
4195
- }, li = hi;
4196
- function k() {
4197
- return li;
4152
+ }, oi = ii;
4153
+ function V() {
4154
+ return oi;
4198
4155
  }
4199
- const Oe = ge(!1);
4200
- var fi = Object.defineProperty, ci = Object.defineProperties, pi = Object.getOwnPropertyDescriptors, gt = Object.getOwnPropertySymbols, di = Object.prototype.hasOwnProperty, mi = Object.prototype.propertyIsEnumerable, vt = (e, t, r) => t in e ? fi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, bi = (e, t) => {
4156
+ const Be = ye(!1);
4157
+ var si = Object.defineProperty, ai = Object.defineProperties, ui = Object.getOwnPropertyDescriptors, pt = Object.getOwnPropertySymbols, hi = Object.prototype.hasOwnProperty, li = Object.prototype.propertyIsEnumerable, dt = (e, t, r) => t in e ? si(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, fi = (e, t) => {
4201
4158
  for (var r in t || (t = {}))
4202
- di.call(t, r) && vt(e, r, t[r]);
4203
- if (gt)
4204
- for (var r of gt(t))
4205
- mi.call(t, r) && vt(e, r, t[r]);
4159
+ hi.call(t, r) && dt(e, r, t[r]);
4160
+ if (pt)
4161
+ for (var r of pt(t))
4162
+ li.call(t, r) && dt(e, r, t[r]);
4206
4163
  return e;
4207
- }, yi = (e, t) => ci(e, pi(t));
4208
- let Qe;
4209
- const me = ge(null);
4210
- function _t(e) {
4164
+ }, ci = (e, t) => ai(e, ui(t));
4165
+ let Ve;
4166
+ const de = ye(null);
4167
+ function mt(e) {
4211
4168
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4212
4169
  }
4213
- function xe(e, t = k().fallbackLocale) {
4214
- const r = _t(e);
4215
- return t ? [.../* @__PURE__ */ new Set([...r, ..._t(t)])] : r;
4170
+ function ve(e, t = V().fallbackLocale) {
4171
+ const r = mt(e);
4172
+ return t ? [.../* @__PURE__ */ new Set([...r, ...mt(t)])] : r;
4216
4173
  }
4217
4174
  function L() {
4218
- return Qe ?? void 0;
4175
+ return Ve ?? void 0;
4219
4176
  }
4220
- me.subscribe((e) => {
4221
- Qe = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4177
+ de.subscribe((e) => {
4178
+ Ve = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4222
4179
  });
4223
- const gi = (e) => {
4224
- if (e && ni(e) && Ze(e)) {
4225
- const { loadingDelay: t } = k();
4180
+ const pi = (e) => {
4181
+ if (e && Yn(e) && ke(e)) {
4182
+ const { loadingDelay: t } = V();
4226
4183
  let r;
4227
4184
  return typeof window < "u" && L() != null && t ? r = window.setTimeout(
4228
- () => Oe.set(!0),
4185
+ () => Be.set(!0),
4229
4186
  t
4230
- ) : Oe.set(!0), rr(e).then(() => {
4231
- me.set(e);
4187
+ ) : Be.set(!0), Jt(e).then(() => {
4188
+ de.set(e);
4232
4189
  }).finally(() => {
4233
- clearTimeout(r), Oe.set(!1);
4190
+ clearTimeout(r), Be.set(!1);
4234
4191
  });
4235
4192
  }
4236
- return me.set(e);
4237
- }, ie = yi(bi({}, me), {
4238
- set: gi
4239
- }), Ee = (e) => {
4193
+ return de.set(e);
4194
+ }, ie = ci(fi({}, de), {
4195
+ set: pi
4196
+ }), _e = (e) => {
4240
4197
  const t = /* @__PURE__ */ Object.create(null);
4241
4198
  return (n) => {
4242
4199
  const i = JSON.stringify(n);
4243
4200
  return i in t ? t[i] : t[i] = e(n);
4244
4201
  };
4245
4202
  };
4246
- var vi = Object.defineProperty, be = Object.getOwnPropertySymbols, nr = Object.prototype.hasOwnProperty, ir = Object.prototype.propertyIsEnumerable, xt = (e, t, r) => t in e ? vi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ye = (e, t) => {
4203
+ var di = Object.defineProperty, me = Object.getOwnPropertySymbols, Yt = Object.prototype.hasOwnProperty, Kt = Object.prototype.propertyIsEnumerable, bt = (e, t, r) => t in e ? di(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ze = (e, t) => {
4247
4204
  for (var r in t || (t = {}))
4248
- nr.call(t, r) && xt(e, r, t[r]);
4249
- if (be)
4250
- for (var r of be(t))
4251
- ir.call(t, r) && xt(e, r, t[r]);
4205
+ Yt.call(t, r) && bt(e, r, t[r]);
4206
+ if (me)
4207
+ for (var r of me(t))
4208
+ Kt.call(t, r) && bt(e, r, t[r]);
4252
4209
  return e;
4253
- }, X = (e, t) => {
4210
+ }, W = (e, t) => {
4254
4211
  var r = {};
4255
4212
  for (var n in e)
4256
- nr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4257
- if (e != null && be)
4258
- for (var n of be(e))
4259
- t.indexOf(n) < 0 && ir.call(e, n) && (r[n] = e[n]);
4213
+ Yt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4214
+ if (e != null && me)
4215
+ for (var n of me(e))
4216
+ t.indexOf(n) < 0 && Kt.call(e, n) && (r[n] = e[n]);
4260
4217
  return r;
4261
4218
  };
4262
- const K = (e, t) => {
4263
- const { formats: r } = k();
4219
+ const ee = (e, t) => {
4220
+ const { formats: r } = V();
4264
4221
  if (e in r && t in r[e])
4265
4222
  return r[e][t];
4266
4223
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4267
- }, _i = Ee(
4224
+ }, mi = _e(
4268
4225
  (e) => {
4269
- var t = e, { locale: r, format: n } = t, i = X(t, ["locale", "format"]);
4226
+ var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
4270
4227
  if (r == null)
4271
4228
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4272
- return n && (i = K("number", n)), new Intl.NumberFormat(r, i);
4229
+ return n && (i = ee("number", n)), new Intl.NumberFormat(r, i);
4273
4230
  }
4274
- ), xi = Ee(
4231
+ ), bi = _e(
4275
4232
  (e) => {
4276
- var t = e, { locale: r, format: n } = t, i = X(t, ["locale", "format"]);
4233
+ var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
4277
4234
  if (r == null)
4278
4235
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4279
- return n ? i = K("date", n) : Object.keys(i).length === 0 && (i = K("date", "short")), new Intl.DateTimeFormat(r, i);
4236
+ return n ? i = ee("date", n) : Object.keys(i).length === 0 && (i = ee("date", "short")), new Intl.DateTimeFormat(r, i);
4280
4237
  }
4281
- ), Ei = Ee(
4238
+ ), yi = _e(
4282
4239
  (e) => {
4283
- var t = e, { locale: r, format: n } = t, i = X(t, ["locale", "format"]);
4240
+ var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
4284
4241
  if (r == null)
4285
4242
  throw new Error(
4286
4243
  '[svelte-i18n] A "locale" must be set to format time values'
4287
4244
  );
4288
- return n ? i = K("time", n) : Object.keys(i).length === 0 && (i = K("time", "short")), new Intl.DateTimeFormat(r, i);
4245
+ return n ? i = ee("time", n) : Object.keys(i).length === 0 && (i = ee("time", "short")), new Intl.DateTimeFormat(r, i);
4289
4246
  }
4290
- ), Si = (e = {}) => {
4247
+ ), gi = (e = {}) => {
4291
4248
  var t = e, {
4292
4249
  locale: r = L()
4293
- } = t, n = X(t, [
4250
+ } = t, n = W(t, [
4294
4251
  "locale"
4295
4252
  ]);
4296
- return _i(Ye({ locale: r }, n));
4297
- }, wi = (e = {}) => {
4253
+ return mi(ze({ locale: r }, n));
4254
+ }, vi = (e = {}) => {
4298
4255
  var t = e, {
4299
4256
  locale: r = L()
4300
- } = t, n = X(t, [
4257
+ } = t, n = W(t, [
4301
4258
  "locale"
4302
4259
  ]);
4303
- return xi(Ye({ locale: r }, n));
4304
- }, Ti = (e = {}) => {
4260
+ return bi(ze({ locale: r }, n));
4261
+ }, _i = (e = {}) => {
4305
4262
  var t = e, {
4306
4263
  locale: r = L()
4307
- } = t, n = X(t, [
4264
+ } = t, n = W(t, [
4308
4265
  "locale"
4309
4266
  ]);
4310
- return Ei(Ye({ locale: r }, n));
4311
- }, Hi = Ee(
4267
+ return yi(ze({ locale: r }, n));
4268
+ }, xi = _e(
4312
4269
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4313
- (e, t = L()) => new Yn(e, t, k().formats, {
4314
- ignoreTag: k().ignoreTag
4270
+ (e, t = L()) => new zn(e, t, V().formats, {
4271
+ ignoreTag: V().ignoreTag
4315
4272
  })
4316
- ), Ai = (e, t = {}) => {
4273
+ ), Ei = (e, t = {}) => {
4317
4274
  var r, n, i, o;
4318
4275
  let s = t;
4319
4276
  typeof e == "object" && (s = e, e = s.id);
@@ -4326,9 +4283,9 @@ const K = (e, t) => {
4326
4283
  throw new Error(
4327
4284
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4328
4285
  );
4329
- let l = Kt(e, h);
4286
+ let l = Zt(e, h);
4330
4287
  if (!l)
4331
- l = (o = (i = (n = (r = k()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4288
+ l = (o = (i = (n = (r = V()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4332
4289
  else if (typeof l != "string")
4333
4290
  return console.warn(
4334
4291
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -4337,7 +4294,7 @@ const K = (e, t) => {
4337
4294
  return l;
4338
4295
  let f = l;
4339
4296
  try {
4340
- f = Hi(l, h).format(a);
4297
+ f = xi(l, h).format(a);
4341
4298
  } catch (c) {
4342
4299
  c instanceof Error && console.warn(
4343
4300
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4345,20 +4302,20 @@ const K = (e, t) => {
4345
4302
  );
4346
4303
  }
4347
4304
  return f;
4348
- }, Bi = (e, t) => Ti(t).format(e), Pi = (e, t) => wi(t).format(e), Oi = (e, t) => Si(t).format(e), Ii = (e, t = L()) => Kt(e, t), Ki = V([ie, ne], () => Ai);
4349
- V([ie], () => Bi);
4350
- V([ie], () => Pi);
4351
- V([ie], () => Oi);
4352
- V([ie, ne], () => Ii);
4353
- window.emWidgets = { topic: kr };
4354
- const Ci = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), eo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4355
- function Ni(e, t) {
4305
+ }, Ti = (e, t) => _i(t).format(e), Si = (e, t) => vi(t).format(e), wi = (e, t) => gi(t).format(e), Hi = (e, t = L()) => Zt(e, t), Zi = X([ie, ne], () => Ei);
4306
+ X([ie], () => Ti);
4307
+ X([ie], () => Si);
4308
+ X([ie], () => wi);
4309
+ X([ie, ne], () => Hi);
4310
+ window.emWidgets = { topic: Ur };
4311
+ const Bi = (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)), Qi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4312
+ function Ai(e, t) {
4356
4313
  if (e) {
4357
4314
  const r = document.createElement("style");
4358
4315
  r.innerHTML = t, e.appendChild(r);
4359
4316
  }
4360
4317
  }
4361
- function Li(e, t) {
4318
+ function Pi(e, t) {
4362
4319
  const r = new URL(t);
4363
4320
  fetch(r.href).then((n) => n.text()).then((n) => {
4364
4321
  const i = document.createElement("style");
@@ -4367,7 +4324,7 @@ function Li(e, t) {
4367
4324
  console.error("There was an error while trying to load client styling from URL", n);
4368
4325
  });
4369
4326
  }
4370
- function Mi(e, t, r) {
4327
+ function Oi(e, t, r) {
4371
4328
  if (window.emMessageBus) {
4372
4329
  const n = document.createElement("style");
4373
4330
  window.emMessageBus.subscribe(t, (i) => {
@@ -4375,27 +4332,27 @@ function Mi(e, t, r) {
4375
4332
  });
4376
4333
  }
4377
4334
  }
4378
- function $i(e) {
4379
- ur(e, "svelte-q9wa7c", "*,*::before,*::after{box-sizing:border-box}.Title{text-transform:uppercase}.DetailsCard{border:1px solid var(--emw--color-contrast, #07072A);color:var(--emw--color-white, #FFFFFF);width:100%;margin:25px 0 25px 0}.DetailsCard.Mobile{margin:10px 0}.DetailsCard.Mobile .DetailsTitle{padding:0 10px;height:30px}.DetailsTitle{padding:0 20px;height:60px;display:flex;align-items:center;justify-content:space-between;background:var(--emw--color-contrast, #07072A)}.DetailsContent{overflow:auto;height:150px;font-size:14px;padding:10px 10px 10px 20px;margin:10px 20px 10px 0}.sc::-webkit-scrollbar{width:5px;height:5px}.sc::-webkit-scrollbar-track{background-color:rgba(255, 255, 255, 0.1);border-radius:var(--emw--border-radius-medium, 10px)}.sc::-webkit-scrollbar-thumb{background-color:var(--emw--color-white, #FFFFFF);border-radius:var(--emw--border-radius-medium, 10px)}");
4335
+ function Ii(e) {
4336
+ nr(e, "svelte-q9wa7c", "*,*::before,*::after{box-sizing:border-box}.Title{text-transform:uppercase}.DetailsCard{border:1px solid var(--emw--color-contrast, #07072A);color:var(--emw--color-white, #FFFFFF);width:100%;margin:25px 0 25px 0}.DetailsCard.Mobile{margin:10px 0}.DetailsCard.Mobile .DetailsTitle{padding:0 10px;height:30px}.DetailsTitle{padding:0 20px;height:60px;display:flex;align-items:center;justify-content:space-between;background:var(--emw--color-contrast, #07072A)}.DetailsContent{overflow:auto;height:150px;font-size:14px;padding:10px 10px 10px 20px;margin:10px 20px 10px 0}.sc::-webkit-scrollbar{width:5px;height:5px}.sc::-webkit-scrollbar-track{background-color:rgba(255, 255, 255, 0.1);border-radius:var(--emw--border-radius-medium, 10px)}.sc::-webkit-scrollbar-thumb{background-color:var(--emw--color-white, #FFFFFF);border-radius:var(--emw--border-radius-medium, 10px)}");
4380
4337
  }
4381
- function Et(e) {
4338
+ function yt(e) {
4382
4339
  let t, r, n, i, o, s, a;
4383
4340
  function h(f, c) {
4384
4341
  return (
4385
4342
  /*collapsed*/
4386
- f[3] ? Ri : Di
4343
+ f[3] ? Ci : Ni
4387
4344
  );
4388
4345
  }
4389
4346
  let u = h(e), l = u(e);
4390
4347
  return {
4391
4348
  c() {
4392
- t = A("div"), r = A("p"), n = qe(
4349
+ t = H("div"), r = H("p"), n = Xe(
4393
4350
  /*title*/
4394
4351
  e[0]
4395
- ), i = At(), o = A("div"), l.c(), b(r, "class", "Title"), b(r, "part", "Title"), b(o, "class", "CollapseButtonDetails"), b(o, "part", "CollapseButtonDetails"), b(t, "class", "DetailsTitle"), b(t, "part", "DetailsTitle");
4352
+ ), i = Et(), o = H("div"), l.c(), y(r, "class", "Title"), y(r, "part", "Title"), y(o, "class", "CollapseButtonDetails"), y(o, "part", "CollapseButtonDetails"), y(t, "class", "DetailsTitle"), y(t, "part", "DetailsTitle");
4396
4353
  },
4397
4354
  m(f, c) {
4398
- N(f, t, c), H(t, r), H(r, n), H(t, i), H(t, o), l.m(o, null), s || (a = Ie(
4355
+ N(f, t, c), w(t, r), w(r, n), w(t, i), w(t, o), l.m(o, null), s || (a = Ae(
4399
4356
  t,
4400
4357
  "click",
4401
4358
  /*collapseText*/
@@ -4404,53 +4361,53 @@ function Et(e) {
4404
4361
  },
4405
4362
  p(f, c) {
4406
4363
  c & /*title*/
4407
- 1 && cr(
4364
+ 1 && ar(
4408
4365
  n,
4409
4366
  /*title*/
4410
4367
  f[0]
4411
4368
  ), u !== (u = h(f)) && (l.d(1), l = u(f), l && (l.c(), l.m(o, null)));
4412
4369
  },
4413
4370
  d(f) {
4414
- f && P(t), l.d(), s = !1, a();
4371
+ f && A(t), l.d(), s = !1, a();
4415
4372
  }
4416
4373
  };
4417
4374
  }
4418
- function Ri(e) {
4375
+ function Ci(e) {
4419
4376
  let t, r;
4420
4377
  return {
4421
4378
  c() {
4422
- t = q("svg"), r = q("path"), b(r, "d", "M6 9l6 6 6-6"), b(t, "xmlns", "http://www.w3.org/2000/svg"), b(t, "width", "24"), b(t, "height", "24"), b(t, "viewBox", "0 0 24 24"), b(t, "fill", "none"), b(t, "stroke", "#ffffff"), b(t, "stroke-width", "2"), b(t, "stroke-linecap", "round"), b(t, "stroke-linejoin", "round");
4379
+ t = J("svg"), r = J("path"), y(r, "d", "M6 9l6 6 6-6"), y(t, "xmlns", "http://www.w3.org/2000/svg"), y(t, "width", "24"), y(t, "height", "24"), y(t, "viewBox", "0 0 24 24"), y(t, "fill", "none"), y(t, "stroke", "#ffffff"), y(t, "stroke-width", "2"), y(t, "stroke-linecap", "round"), y(t, "stroke-linejoin", "round");
4423
4380
  },
4424
4381
  m(n, i) {
4425
- N(n, t, i), H(t, r);
4382
+ N(n, t, i), w(t, r);
4426
4383
  },
4427
4384
  d(n) {
4428
- n && P(t);
4385
+ n && A(t);
4429
4386
  }
4430
4387
  };
4431
4388
  }
4432
- function Di(e) {
4389
+ function Ni(e) {
4433
4390
  let t, r;
4434
4391
  return {
4435
4392
  c() {
4436
- t = q("svg"), r = q("path"), b(r, "d", "M18 15l-6-6-6 6"), b(t, "xmlns", "http://www.w3.org/2000/svg"), b(t, "width", "24"), b(t, "height", "24"), b(t, "viewBox", "0 0 24 24"), b(t, "fill", "none"), b(t, "stroke", "#ffffff"), b(t, "stroke-width", "2"), b(t, "stroke-linecap", "round"), b(t, "stroke-linejoin", "round");
4393
+ t = J("svg"), r = J("path"), y(r, "d", "M18 15l-6-6-6 6"), y(t, "xmlns", "http://www.w3.org/2000/svg"), y(t, "width", "24"), y(t, "height", "24"), y(t, "viewBox", "0 0 24 24"), y(t, "fill", "none"), y(t, "stroke", "#ffffff"), y(t, "stroke-width", "2"), y(t, "stroke-linecap", "round"), y(t, "stroke-linejoin", "round");
4437
4394
  },
4438
4395
  m(n, i) {
4439
- N(n, t, i), H(t, r);
4396
+ N(n, t, i), w(t, r);
4440
4397
  },
4441
4398
  d(n) {
4442
- n && P(t);
4399
+ n && A(t);
4443
4400
  }
4444
4401
  };
4445
4402
  }
4446
- function St(e) {
4403
+ function gt(e) {
4447
4404
  let t, r, n, i;
4448
4405
  return {
4449
4406
  c() {
4450
- t = A("div"), t.innerHTML = "", b(t, "class", "DetailsContent sc"), b(t, "part", "DetailsContent");
4407
+ t = H("div"), t.innerHTML = "", y(t, "class", "DetailsContent sc"), y(t, "part", "DetailsContent");
4451
4408
  },
4452
4409
  m(o, s) {
4453
- N(o, t, s), n || (i = ar(r = /*setContent*/
4410
+ N(o, t, s), n || (i = rr(r = /*setContent*/
4454
4411
  e[6].call(
4455
4412
  null,
4456
4413
  t,
@@ -4459,7 +4416,7 @@ function St(e) {
4459
4416
  )), n = !0);
4460
4417
  },
4461
4418
  p(o, s) {
4462
- r && te(r.update) && s & /*text*/
4419
+ r && re(r.update) && s & /*text*/
4463
4420
  2 && r.update.call(
4464
4421
  null,
4465
4422
  /*text*/
@@ -4467,54 +4424,54 @@ function St(e) {
4467
4424
  );
4468
4425
  },
4469
4426
  d(o) {
4470
- o && P(t), n = !1, i();
4427
+ o && A(t), n = !1, i();
4471
4428
  }
4472
4429
  };
4473
4430
  }
4474
- function Ui(e) {
4431
+ function Li(e) {
4475
4432
  let t, r, n = (
4476
4433
  /*title*/
4477
- e[0] && Et(e)
4434
+ e[0] && yt(e)
4478
4435
  ), i = (
4479
4436
  /*text*/
4480
4437
  e[1] && !/*collapsed*/
4481
- e[3] && St(e)
4438
+ e[3] && gt(e)
4482
4439
  );
4483
4440
  return {
4484
4441
  c() {
4485
- t = A("div"), n && n.c(), r = At(), i && i.c(), b(t, "class", "DetailsCard " + (Ci(
4442
+ t = H("div"), n && n.c(), r = Et(), i && i.c(), y(t, "class", "DetailsCard " + (Bi(
4486
4443
  /*userAgent*/
4487
4444
  e[4]
4488
- ) ? "Mobile" : "")), b(t, "part", "DetailsCard");
4445
+ ) ? "Mobile" : "")), y(t, "part", "DetailsCard");
4489
4446
  },
4490
4447
  m(o, s) {
4491
- N(o, t, s), n && n.m(t, null), H(t, r), i && i.m(t, null), e[10](t);
4448
+ N(o, t, s), n && n.m(t, null), w(t, r), i && i.m(t, null), e[10](t);
4492
4449
  },
4493
4450
  p(o, [s]) {
4494
4451
  /*title*/
4495
- o[0] ? n ? n.p(o, s) : (n = Et(o), n.c(), n.m(t, r)) : n && (n.d(1), n = null), /*text*/
4452
+ o[0] ? n ? n.p(o, s) : (n = yt(o), n.c(), n.m(t, r)) : n && (n.d(1), n = null), /*text*/
4496
4453
  o[1] && !/*collapsed*/
4497
- o[3] ? i ? i.p(o, s) : (i = St(o), i.c(), i.m(t, null)) : i && (i.d(1), i = null);
4454
+ o[3] ? i ? i.p(o, s) : (i = gt(o), i.c(), i.m(t, null)) : i && (i.d(1), i = null);
4498
4455
  },
4499
- i: S,
4500
- o: S,
4456
+ i: T,
4457
+ o: T,
4501
4458
  d(o) {
4502
- o && P(t), n && n.d(), i && i.d(), e[10](null);
4459
+ o && A(t), n && n.d(), i && i.d(), e[10](null);
4503
4460
  }
4504
4461
  };
4505
4462
  }
4506
- function Gi(e, t, r) {
4463
+ function Mi(e, t, r) {
4507
4464
  let { title: n = "" } = t, { text: i = "" } = t, { mbsource: o } = t, { clientstyling: s = "" } = t, { clientstylingurl: a = "" } = t, h, u = !1, l = window.navigator.userAgent;
4508
4465
  const f = () => {
4509
4466
  r(3, u = !u);
4510
- }, c = (p, g) => {
4467
+ }, c = (p, v) => {
4511
4468
  let E = document.createElement("div");
4512
- E.innerHTML = g, p.append(E);
4469
+ E.innerHTML = v, p.append(E);
4513
4470
  };
4514
- mr(() => () => {
4471
+ lr(() => () => {
4515
4472
  });
4516
- function y(p) {
4517
- Ce[p ? "unshift" : "push"](() => {
4473
+ function g(p) {
4474
+ Pe[p ? "unshift" : "push"](() => {
4518
4475
  h = p, r(2, h);
4519
4476
  });
4520
4477
  }
@@ -4522,9 +4479,9 @@ function Gi(e, t, r) {
4522
4479
  "title" in p && r(0, n = p.title), "text" in p && r(1, i = p.text), "mbsource" in p && r(7, o = p.mbsource), "clientstyling" in p && r(8, s = p.clientstyling), "clientstylingurl" in p && r(9, a = p.clientstylingurl);
4523
4480
  }, e.$$.update = () => {
4524
4481
  e.$$.dirty & /*clientstyling, customStylingContainer*/
4525
- 260 && s && h && Ni(h, s), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4526
- 516 && a && h && Li(h, a), e.$$.dirty & /*mbsource, customStylingContainer*/
4527
- 132 && o && h && Mi(h, `${o}.Style`);
4482
+ 260 && s && h && Ai(h, s), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4483
+ 516 && a && h && Pi(h, a), e.$$.dirty & /*mbsource, customStylingContainer*/
4484
+ 132 && o && h && Oi(h, `${o}.Style`);
4528
4485
  }, [
4529
4486
  n,
4530
4487
  i,
@@ -4536,17 +4493,17 @@ function Gi(e, t, r) {
4536
4493
  o,
4537
4494
  s,
4538
4495
  a,
4539
- y
4496
+ g
4540
4497
  ];
4541
4498
  }
4542
- class or extends Ar {
4499
+ class er extends Er {
4543
4500
  constructor(t) {
4544
- super(), Tr(
4501
+ super(), _r(
4545
4502
  this,
4546
4503
  t,
4547
- Gi,
4548
- Ui,
4549
- Tt,
4504
+ Mi,
4505
+ Li,
4506
+ _t,
4550
4507
  {
4551
4508
  title: 0,
4552
4509
  text: 1,
@@ -4554,7 +4511,7 @@ class or extends Ar {
4554
4511
  clientstyling: 8,
4555
4512
  clientstylingurl: 9
4556
4513
  },
4557
- $i
4514
+ Ii
4558
4515
  );
4559
4516
  }
4560
4517
  get title() {
@@ -4588,55 +4545,55 @@ class or extends Ar {
4588
4545
  this.$$set({ clientstylingurl: t }), C();
4589
4546
  }
4590
4547
  }
4591
- Hr(or, { title: {}, text: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
4592
- const to = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4548
+ xr(er, { title: {}, text: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
4549
+ const qi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4593
4550
  __proto__: null,
4594
- default: or
4551
+ default: er
4595
4552
  }, Symbol.toStringTag, { value: "Module" }));
4596
4553
  export {
4597
4554
  ie as $,
4598
- eo as A,
4599
- Ce as B,
4600
- Fi as C,
4601
- ar as D,
4602
- Ki as E,
4603
- Ni as F,
4604
- Li as G,
4605
- Mi as H,
4606
- ee as I,
4607
- te as J,
4608
- Wi as K,
4609
- qi as L,
4610
- Zi as M,
4611
- zi as N,
4612
- Le as O,
4613
- Qi as P,
4614
- to as Q,
4615
- Ar as S,
4555
+ Qi as A,
4556
+ Pe as B,
4557
+ $i as C,
4558
+ rr as D,
4559
+ Zi as E,
4560
+ Ai as F,
4561
+ Pi as G,
4562
+ Oi as H,
4563
+ te as I,
4564
+ re as J,
4565
+ Fi as K,
4566
+ Xi as L,
4567
+ ki as M,
4568
+ ji as N,
4569
+ Ie as O,
4570
+ Vi as P,
4571
+ qi as Q,
4572
+ Er as S,
4616
4573
  ne as a,
4617
- ii as b,
4618
- Yi as c,
4619
- Hr as d,
4620
- ur as e,
4574
+ Kn as b,
4575
+ zi as c,
4576
+ xr as d,
4577
+ nr as e,
4621
4578
  C as f,
4622
- P as g,
4623
- cr as h,
4624
- Tr as i,
4625
- Xi as j,
4626
- b as k,
4579
+ A as g,
4580
+ ar as h,
4581
+ _r as i,
4582
+ Gi as j,
4583
+ y as k,
4627
4584
  N as l,
4628
- H as m,
4629
- S as n,
4630
- Ie as o,
4631
- At as p,
4632
- A as q,
4633
- q as r,
4634
- Tt as s,
4635
- qe as t,
4636
- Ci as u,
4637
- ji as v,
4638
- mr as w,
4639
- Ji as x,
4640
- ki as y,
4641
- Vi as z
4585
+ w as m,
4586
+ T as n,
4587
+ Ae as o,
4588
+ Et as p,
4589
+ H as q,
4590
+ J as r,
4591
+ _t as s,
4592
+ Xe as t,
4593
+ Bi as u,
4594
+ Ri as v,
4595
+ lr as w,
4596
+ Wi as x,
4597
+ Di as y,
4598
+ Ui as z
4642
4599
  };