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

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-C30Jp2nv.js → CasinoTournamentsDetails-BhehF_iH.js} +805 -762
  2. package/components/CasinoTournamentsDetails-C0vnKkIF.cjs +18 -0
  3. package/components/{CasinoTournamentsDetails-m-BkMhTx.js → CasinoTournamentsDetails-CCZyFUZY.js} +803 -760
  4. package/components/{CasinoTournamentsPageController-BKC9dRBD.js → CasinoTournamentsPageController-BupvThyE.js} +8 -8
  5. package/components/{CasinoTournamentsPageController-Bc2CUCYy.cjs → CasinoTournamentsPageController-C9dXL8aq.cjs} +2 -2
  6. package/components/{CasinoTournamentsPageController-DZNqrVld.js → CasinoTournamentsPageController-D87wHVAn.js} +8 -8
  7. package/components/{CasinoTournamentsRank-DbC6aMso.js → CasinoTournamentsRank-BxiLigZq.js} +1 -1
  8. package/components/{CasinoTournamentsRank-DZT0ANzC.js → CasinoTournamentsRank-CXceAd_p.js} +1 -1
  9. package/components/{CasinoTournamentsRank-BYLwbonp.cjs → CasinoTournamentsRank-DBuxPj0S.cjs} +1 -1
  10. package/components/{CasinoTournamentsTab-Cm9CIQTY.cjs → CasinoTournamentsTab-B7bZ4XQ5.cjs} +1 -1
  11. package/components/{CasinoTournamentsTab-994q3iFo.js → CasinoTournamentsTab-CGNPCbDW.js} +1 -1
  12. package/components/{CasinoTournamentsTab-CLWI-UyL.js → CasinoTournamentsTab-CV3zK-ST.js} +1 -1
  13. package/components/{CasinoTournamentsTable-BwFItCC8.js → CasinoTournamentsTable-BuIo7Q48.js} +1 -1
  14. package/components/{CasinoTournamentsTable-D4bZdYmi.cjs → CasinoTournamentsTable-CXkuplUY.cjs} +1 -1
  15. package/components/{CasinoTournamentsTable-iEHeX8TQ.js → CasinoTournamentsTable-DpqajrzO.js} +1 -1
  16. package/components/{CasinoTournamentsThumbnail-CWZPKKOS.cjs → CasinoTournamentsThumbnail-BWeSr5Pm.cjs} +1 -1
  17. package/components/{CasinoTournamentsThumbnail-CWx5ZIHJ.js → CasinoTournamentsThumbnail-Cx6G4iW9.js} +3 -3
  18. package/components/{CasinoTournamentsThumbnail-Cnk1yqun.js → CasinoTournamentsThumbnail-DQ32ROP1.js} +3 -3
  19. package/components/{CasinoTournamentsThumbnailController-CU7o2NRJ.js → CasinoTournamentsThumbnailController-BJORxhsT.js} +5 -5
  20. package/components/{CasinoTournamentsThumbnailController-65wR81H1.cjs → CasinoTournamentsThumbnailController-C6kMp_uB.cjs} +1 -1
  21. package/components/{CasinoTournamentsThumbnailController-HsZE8kR1.js → CasinoTournamentsThumbnailController-aZ94k3Xc.js} +5 -5
  22. package/components/{CasinoTournamentsThumbnailDuration-D8pvMtSP.js → CasinoTournamentsThumbnailDuration-BlIVTADc.js} +1 -1
  23. package/components/{CasinoTournamentsThumbnailDuration-ByXFYVel.js → CasinoTournamentsThumbnailDuration-DFP-nQmW.js} +1 -1
  24. package/components/{CasinoTournamentsThumbnailDuration-uWr7zsMR.cjs → CasinoTournamentsThumbnailDuration-DdgsYjkY.cjs} +1 -1
  25. package/components/{CasinoTournamentsThumbnailGames-U--WhgbL.cjs → CasinoTournamentsThumbnailGames-BcJ5YMme.cjs} +1 -1
  26. package/components/{CasinoTournamentsThumbnailGames-BL9MeF8M.js → CasinoTournamentsThumbnailGames-CMEl_dOL.js} +2 -2
  27. package/components/{CasinoTournamentsThumbnailGames-BRH8wFKB.js → CasinoTournamentsThumbnailGames-D87QSrRp.js} +2 -2
  28. package/components/{CasinoTournamentsThumbnailGamesSlider-CavmG3Uo.js → CasinoTournamentsThumbnailGamesSlider-DDw7qiWJ.js} +1 -1
  29. package/components/{CasinoTournamentsThumbnailGamesSlider-GAKYyJH1.js → CasinoTournamentsThumbnailGamesSlider-Ds--aYaY.js} +1 -1
  30. package/components/{CasinoTournamentsThumbnailGamesSlider-NaxB082j.cjs → CasinoTournamentsThumbnailGamesSlider-_5Ay7Yas.cjs} +1 -1
  31. package/components/{CasinoTournamentsThumbnailPrizes-JtKX_bVB.cjs → CasinoTournamentsThumbnailPrizes-Cpt9pMCc.cjs} +1 -1
  32. package/components/{CasinoTournamentsThumbnailPrizes-BTGjL3gs.js → CasinoTournamentsThumbnailPrizes-NcyluRLB.js} +1 -1
  33. package/components/{CasinoTournamentsThumbnailPrizes-CqfEqdOV.js → CasinoTournamentsThumbnailPrizes-l6dTOFOE.js} +1 -1
  34. package/components/{CasinoTournamentsThumbnailRule-Cw2Kwq4v.js → CasinoTournamentsThumbnailRule-Bkh7dp-L.js} +1 -1
  35. package/components/{CasinoTournamentsThumbnailRule-CPBuEw4F.js → CasinoTournamentsThumbnailRule-D9AkrYWg.js} +1 -1
  36. package/components/{CasinoTournamentsThumbnailRule-29RibKSC.cjs → CasinoTournamentsThumbnailRule-QS3MmPV3.cjs} +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-D6HPqRtr.js → index-97d17652--F7PvMq9.js} +2 -2
  42. package/stencil/index-97d17652-BhLhk_xz.cjs +1 -0
  43. package/stencil/{index-97d17652-B0NIExnR.js → index-97d17652-CCFHkzJw.js} +2 -2
  44. package/stencil/{ui-image-BBrwf8a4.cjs → ui-image-Bk8cIvcH.cjs} +1 -1
  45. package/stencil/{ui-image-B374V2Sk.js → ui-image-CXqPvnQ2.js} +1 -1
  46. package/stencil/{ui-image-CQSJVNNX.js → ui-image-DgbODkuX.js} +1 -1
  47. package/stencil/{ui-image-b7b48fe5-BXmf73Ou.js → ui-image-b7b48fe5-ByRuJtdE.js} +1 -1
  48. package/stencil/{ui-image-b7b48fe5-c0NIgcTj.js → ui-image-b7b48fe5-D6iig_uN.js} +1 -1
  49. package/stencil/{ui-image-b7b48fe5-DaWM2RbJ.cjs → ui-image-b7b48fe5-DG83WzAo.cjs} +1 -1
  50. package/stencil/{ui-image_2-L-CYescb.js → ui-image_2-Bm97-wkj.js} +2 -2
  51. package/stencil/{ui-image_2-Cdo33umq.cjs → ui-image_2-DdFjzzNO.cjs} +1 -1
  52. package/stencil/{ui-image_2-DbQ7SENq.js → ui-image_2-qO3reSlr.js} +2 -2
  53. package/components/CasinoTournamentsDetails-DwFG80l5.cjs +0 -18
  54. package/stencil/index-97d17652-DNpK20ur.cjs +0 -1
@@ -1,17 +1,17 @@
1
- var ar = Object.defineProperty, ur = Object.defineProperties;
2
- var hr = Object.getOwnPropertyDescriptors;
3
- var Je = Object.getOwnPropertySymbols;
4
- var lr = Object.prototype.hasOwnProperty, fr = Object.prototype.propertyIsEnumerable;
5
- var Ee = (e, t, r) => t in e ? ar(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ye = (e, t) => {
1
+ var cr = Object.defineProperty, pr = Object.defineProperties;
2
+ var dr = Object.getOwnPropertyDescriptors;
3
+ var rt = Object.getOwnPropertySymbols;
4
+ var mr = Object.prototype.hasOwnProperty, br = Object.prototype.propertyIsEnumerable;
5
+ var we = (e, t, r) => t in e ? cr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, nt = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- lr.call(t, r) && Ee(e, r, t[r]);
8
- if (Je)
9
- for (var r of Je(t))
10
- fr.call(t, r) && Ee(e, r, t[r]);
7
+ mr.call(t, r) && we(e, r, t[r]);
8
+ if (rt)
9
+ for (var r of rt(t))
10
+ br.call(t, r) && we(e, r, t[r]);
11
11
  return e;
12
- }, Ke = (e, t) => ur(e, hr(t));
13
- var x = (e, t, r) => (Ee(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var et = (e, t, r) => new Promise((n, i) => {
12
+ }, it = (e, t) => pr(e, dr(t));
13
+ var x = (e, t, r) => (we(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var ot = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (h) => {
16
16
  try {
17
17
  a(r.next(h));
@@ -27,56 +27,56 @@ var et = (e, t, r) => new Promise((n, i) => {
27
27
  }, a = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(o, s);
28
28
  a((r = r.apply(e, t)).next());
29
29
  });
30
- function S() {
30
+ function w() {
31
31
  }
32
- function wt(e) {
32
+ function Ot(e) {
33
33
  return e();
34
34
  }
35
- function tt() {
35
+ function st() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function re(e) {
39
- e.forEach(wt);
38
+ function te(e) {
39
+ e.forEach(Ot);
40
40
  }
41
- function ne(e) {
41
+ function re(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function Ht(e, t) {
44
+ function It(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
47
  let ae;
48
- function Zi(e, t) {
48
+ function Ki(e, t) {
49
49
  return e === t ? !0 : (ae || (ae = document.createElement("a")), ae.href = t, e === ae.href);
50
50
  }
51
- function cr(e) {
51
+ function yr(e) {
52
52
  return Object.keys(e).length === 0;
53
53
  }
54
- function Bt(e, ...t) {
54
+ function Ct(e, ...t) {
55
55
  if (e == null) {
56
56
  for (const n of t)
57
57
  n(void 0);
58
- return S;
58
+ return w;
59
59
  }
60
60
  const r = e.subscribe(...t);
61
61
  return r.unsubscribe ? () => r.unsubscribe() : r;
62
62
  }
63
- function Qi(e, t, r) {
64
- e.$$.on_destroy.push(Bt(t, r));
63
+ function eo(e, t, r) {
64
+ e.$$.on_destroy.push(Ct(t, r));
65
65
  }
66
- function pr(e) {
67
- return e && ne(e.destroy) ? e.destroy : S;
66
+ function gr(e) {
67
+ return e && re(e.destroy) ? e.destroy : w;
68
68
  }
69
- function H(e, t) {
69
+ function A(e, t) {
70
70
  e.appendChild(t);
71
71
  }
72
- function dr(e, t, r) {
73
- const n = mr(e);
72
+ function vr(e, t, r) {
73
+ const n = _r(e);
74
74
  if (!n.getElementById(t)) {
75
75
  const i = B("style");
76
- i.id = t, i.textContent = r, br(n, i);
76
+ i.id = t, i.textContent = r, xr(n, i);
77
77
  }
78
78
  }
79
- function mr(e) {
79
+ function _r(e) {
80
80
  if (!e)
81
81
  return document;
82
82
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -86,8 +86,8 @@ function mr(e) {
86
86
  t
87
87
  ) : e.ownerDocument;
88
88
  }
89
- function br(e, t) {
90
- return H(
89
+ function xr(e, t) {
90
+ return A(
91
91
  /** @type {Document} */
92
92
  e.head || e,
93
93
  t
@@ -96,50 +96,50 @@ function br(e, t) {
96
96
  function L(e, t, r) {
97
97
  e.insertBefore(t, r || null);
98
98
  }
99
- function P(e) {
99
+ function O(e) {
100
100
  e.parentNode && e.parentNode.removeChild(e);
101
101
  }
102
- function qi(e, t) {
102
+ function to(e, t) {
103
103
  for (let r = 0; r < e.length; r += 1)
104
104
  e[r] && e[r].d(t);
105
105
  }
106
106
  function B(e) {
107
107
  return document.createElement(e);
108
108
  }
109
- function Y(e) {
109
+ function J(e) {
110
110
  return document.createElementNS("http://www.w3.org/2000/svg", e);
111
111
  }
112
- function ze(e) {
112
+ function Ye(e) {
113
113
  return document.createTextNode(e);
114
114
  }
115
- function At() {
116
- return ze(" ");
115
+ function Nt() {
116
+ return Ye(" ");
117
117
  }
118
- function Ji() {
119
- return ze("");
118
+ function ro() {
119
+ return Ye("");
120
120
  }
121
- function Oe(e, t, r, n) {
121
+ function Ne(e, t, r, n) {
122
122
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
123
123
  }
124
- function g(e, t, r) {
124
+ function b(e, t, r) {
125
125
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
126
126
  }
127
- function Yi(e, t, r) {
127
+ function no(e, t, r) {
128
128
  const n = t.toLowerCase();
129
- n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : g(e, t, r);
129
+ 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);
130
130
  }
131
- function gr(e) {
131
+ function Er(e) {
132
132
  return Array.from(e.childNodes);
133
133
  }
134
- function yr(e, t) {
134
+ function Sr(e, t) {
135
135
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
136
136
  t);
137
137
  }
138
- function Ki(e, t, r, n) {
138
+ function io(e, t, r, n) {
139
139
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
140
140
  }
141
141
  let ue;
142
- function vr() {
142
+ function wr() {
143
143
  if (ue === void 0) {
144
144
  ue = !1;
145
145
  try {
@@ -150,16 +150,16 @@ function vr() {
150
150
  }
151
151
  return ue;
152
152
  }
153
- function eo(e, t) {
153
+ function oo(e, t) {
154
154
  getComputedStyle(e).position === "static" && (e.style.position = "relative");
155
155
  const n = B("iframe");
156
156
  n.setAttribute(
157
157
  "style",
158
158
  "display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"
159
159
  ), n.setAttribute("aria-hidden", "true"), n.tabIndex = -1;
160
- const i = vr();
160
+ const i = wr();
161
161
  let o;
162
- return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", o = Oe(
162
+ return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", o = Ne(
163
163
  window,
164
164
  "message",
165
165
  /** @param {MessageEvent} event */
@@ -167,15 +167,15 @@ function eo(e, t) {
167
167
  s.source === n.contentWindow && t();
168
168
  }
169
169
  )) : (n.src = "about:blank", n.onload = () => {
170
- o = Oe(n.contentWindow, "resize", t), t();
171
- }), H(e, n), () => {
172
- (i || o && n.contentWindow) && o(), P(n);
170
+ o = Ne(n.contentWindow, "resize", t), t();
171
+ }), A(e, n), () => {
172
+ (i || o && n.contentWindow) && o(), O(n);
173
173
  };
174
174
  }
175
- function to(e, t, r) {
175
+ function so(e, t, r) {
176
176
  e.classList.toggle(t, !!r);
177
177
  }
178
- class ro {
178
+ class ao {
179
179
  constructor(t = !1) {
180
180
  /**
181
181
  * @private
@@ -206,7 +206,7 @@ class ro {
206
206
  * @returns {void}
207
207
  */
208
208
  m(t, r, n = null) {
209
- this.e || (this.is_svg ? this.e = Y(
209
+ this.e || (this.is_svg ? this.e = J(
210
210
  /** @type {keyof SVGElementTagNameMap} */
211
211
  r.nodeName
212
212
  ) : this.e = B(
@@ -242,10 +242,10 @@ class ro {
242
242
  /**
243
243
  * @returns {void} */
244
244
  d() {
245
- this.n.forEach(P);
245
+ this.n.forEach(O);
246
246
  }
247
247
  }
248
- function _r(e) {
248
+ function Tr(e) {
249
249
  const t = {};
250
250
  return e.childNodes.forEach(
251
251
  /** @param {Element} node */
@@ -254,29 +254,29 @@ function _r(e) {
254
254
  }
255
255
  ), t;
256
256
  }
257
- let K;
258
- function J(e) {
259
- K = e;
257
+ let Y;
258
+ function q(e) {
259
+ Y = e;
260
260
  }
261
- function Pt() {
262
- if (!K)
261
+ function Lt() {
262
+ if (!Y)
263
263
  throw new Error("Function called outside component initialization");
264
- return K;
264
+ return Y;
265
265
  }
266
- function xr(e) {
267
- Pt().$$.on_mount.push(e);
266
+ function Hr(e) {
267
+ Lt().$$.on_mount.push(e);
268
268
  }
269
- function no(e) {
270
- Pt().$$.on_destroy.push(e);
269
+ function uo(e) {
270
+ Lt().$$.on_destroy.push(e);
271
271
  }
272
- const U = [], Ie = [];
272
+ const U = [], Le = [];
273
273
  let G = [];
274
- const rt = [], Er = /* @__PURE__ */ Promise.resolve();
275
- let Ce = !1;
276
- function Tr() {
277
- Ce || (Ce = !0, Er.then(N));
274
+ const at = [], Ar = /* @__PURE__ */ Promise.resolve();
275
+ let Me = !1;
276
+ function Br() {
277
+ Me || (Me = !0, Ar.then(N));
278
278
  }
279
- function Ne(e) {
279
+ function $e(e) {
280
280
  G.push(e);
281
281
  }
282
282
  const Te = /* @__PURE__ */ new Set();
@@ -284,71 +284,71 @@ let R = 0;
284
284
  function N() {
285
285
  if (R !== 0)
286
286
  return;
287
- const e = K;
287
+ const e = Y;
288
288
  do {
289
289
  try {
290
290
  for (; R < U.length; ) {
291
291
  const t = U[R];
292
- R++, J(t), Sr(t.$$);
292
+ R++, q(t), Pr(t.$$);
293
293
  }
294
294
  } catch (t) {
295
295
  throw U.length = 0, R = 0, t;
296
296
  }
297
- for (J(null), U.length = 0, R = 0; Ie.length; )
298
- Ie.pop()();
297
+ for (q(null), U.length = 0, R = 0; Le.length; )
298
+ Le.pop()();
299
299
  for (let t = 0; t < G.length; t += 1) {
300
300
  const r = G[t];
301
301
  Te.has(r) || (Te.add(r), r());
302
302
  }
303
303
  G.length = 0;
304
304
  } while (U.length);
305
- for (; rt.length; )
306
- rt.pop()();
307
- Ce = !1, Te.clear(), J(e);
305
+ for (; at.length; )
306
+ at.pop()();
307
+ Me = !1, Te.clear(), q(e);
308
308
  }
309
- function Sr(e) {
309
+ function Pr(e) {
310
310
  if (e.fragment !== null) {
311
- e.update(), re(e.before_update);
311
+ e.update(), te(e.before_update);
312
312
  const t = e.dirty;
313
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ne);
313
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach($e);
314
314
  }
315
315
  }
316
- function wr(e) {
316
+ function Or(e) {
317
317
  const t = [], r = [];
318
318
  G.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), G = t;
319
319
  }
320
- const Hr = /* @__PURE__ */ new Set();
321
- function Br(e, t) {
322
- e && e.i && (Hr.delete(e), e.i(t));
320
+ const Ir = /* @__PURE__ */ new Set();
321
+ function Cr(e, t) {
322
+ e && e.i && (Ir.delete(e), e.i(t));
323
323
  }
324
- function io(e) {
324
+ function ho(e) {
325
325
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
326
326
  }
327
- function Ar(e, t, r) {
327
+ function Nr(e, t, r) {
328
328
  const { fragment: n, after_update: i } = e.$$;
329
- n && n.m(t, r), Ne(() => {
330
- const o = e.$$.on_mount.map(wt).filter(ne);
331
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : re(o), e.$$.on_mount = [];
332
- }), i.forEach(Ne);
329
+ n && n.m(t, r), $e(() => {
330
+ const o = e.$$.on_mount.map(Ot).filter(re);
331
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : te(o), e.$$.on_mount = [];
332
+ }), i.forEach($e);
333
333
  }
334
- function Pr(e, t) {
334
+ function Lr(e, t) {
335
335
  const r = e.$$;
336
- r.fragment !== null && (wr(r.after_update), re(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
336
+ r.fragment !== null && (Or(r.after_update), te(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
337
337
  }
338
- function Or(e, t) {
339
- e.$$.dirty[0] === -1 && (U.push(e), Tr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
338
+ function Mr(e, t) {
339
+ e.$$.dirty[0] === -1 && (U.push(e), Br(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
340
340
  }
341
- function Ir(e, t, r, n, i, o, s = null, a = [-1]) {
342
- const h = K;
343
- J(e);
341
+ function $r(e, t, r, n, i, o, s = null, a = [-1]) {
342
+ const h = Y;
343
+ q(e);
344
344
  const u = e.$$ = {
345
345
  fragment: null,
346
346
  ctx: [],
347
347
  // state
348
348
  props: o,
349
- update: S,
349
+ update: w,
350
350
  not_equal: i,
351
- bound: tt(),
351
+ bound: st(),
352
352
  // lifecycle
353
353
  on_mount: [],
354
354
  on_destroy: [],
@@ -357,7 +357,7 @@ function Ir(e, t, r, n, i, o, s = null, a = [-1]) {
357
357
  after_update: [],
358
358
  context: new Map(t.context || (h ? h.$$.context : [])),
359
359
  // everything else
360
- callbacks: tt(),
360
+ callbacks: st(),
361
361
  dirty: a,
362
362
  skip_bound: !1,
363
363
  root: t.target || h.$$.root
@@ -366,19 +366,19 @@ function Ir(e, t, r, n, i, o, s = null, a = [-1]) {
366
366
  let l = !1;
367
367
  if (u.ctx = r ? r(e, t.props || {}, (f, c, ...y) => {
368
368
  const p = y.length ? y[0] : c;
369
- return u.ctx && i(u.ctx[f], u.ctx[f] = p) && (!u.skip_bound && u.bound[f] && u.bound[f](p), l && Or(e, f)), c;
370
- }) : [], u.update(), l = !0, re(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
369
+ return u.ctx && i(u.ctx[f], u.ctx[f] = p) && (!u.skip_bound && u.bound[f] && u.bound[f](p), l && Mr(e, f)), c;
370
+ }) : [], u.update(), l = !0, te(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
371
371
  if (t.hydrate) {
372
- const f = gr(t.target);
373
- u.fragment && u.fragment.l(f), f.forEach(P);
372
+ const f = Er(t.target);
373
+ u.fragment && u.fragment.l(f), f.forEach(O);
374
374
  } else
375
375
  u.fragment && u.fragment.c();
376
- t.intro && Br(e.$$.fragment), Ar(e, t.target, t.anchor), N();
376
+ t.intro && Cr(e.$$.fragment), Nr(e, t.target, t.anchor), N();
377
377
  }
378
- J(h);
378
+ q(h);
379
379
  }
380
- let Ot;
381
- typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
380
+ let Mt;
381
+ typeof HTMLElement == "function" && (Mt = class extends HTMLElement {
382
382
  constructor(t, r, n) {
383
383
  super();
384
384
  /** The Svelte component constructor */
@@ -415,14 +415,14 @@ typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
415
415
  }
416
416
  }
417
417
  connectedCallback() {
418
- return et(this, null, function* () {
418
+ return ot(this, null, function* () {
419
419
  if (this.$$cn = !0, !this.$$c) {
420
420
  let t = function(o) {
421
421
  return () => {
422
422
  let s;
423
423
  return {
424
424
  c: function() {
425
- s = B("slot"), o !== "default" && g(s, "name", o);
425
+ s = B("slot"), o !== "default" && b(s, "name", o);
426
426
  },
427
427
  /**
428
428
  * @param {HTMLElement} target
@@ -432,14 +432,14 @@ typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
432
432
  L(u, s, l);
433
433
  },
434
434
  d: function(u) {
435
- u && P(s);
435
+ u && O(s);
436
436
  }
437
437
  };
438
438
  };
439
439
  };
440
440
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
441
441
  return;
442
- const r = {}, n = _r(this);
442
+ const r = {}, n = Tr(this);
443
443
  for (const o of this.$$s)
444
444
  o in n && (r[o] = [t(o)]);
445
445
  for (const o of this.attributes) {
@@ -450,7 +450,7 @@ typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
450
450
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
451
451
  this.$$c = new this.$$ctor({
452
452
  target: this.shadowRoot || this,
453
- props: Ke(Ye({}, this.$$d), {
453
+ props: it(nt({}, this.$$d), {
454
454
  $$slots: r,
455
455
  $$scope: {
456
456
  ctx: []
@@ -528,8 +528,8 @@ function fe(e, t, r, n) {
528
528
  return t;
529
529
  }
530
530
  }
531
- function Cr(e, t, r, n, i, o) {
532
- let s = class extends Ot {
531
+ function Rr(e, t, r, n, i, o) {
532
+ let s = class extends Mt {
533
533
  constructor() {
534
534
  super(e, r, i), this.$$p_d = t;
535
535
  }
@@ -559,7 +559,7 @@ function Cr(e, t, r, n, i, o) {
559
559
  }), e.element = /** @type {any} */
560
560
  s, s;
561
561
  }
562
- class Nr {
562
+ class Dr {
563
563
  constructor() {
564
564
  /**
565
565
  * ### PRIVATE API
@@ -580,7 +580,7 @@ class Nr {
580
580
  }
581
581
  /** @returns {void} */
582
582
  $destroy() {
583
- Pr(this, 1), this.$destroy = S;
583
+ Lr(this, 1), this.$destroy = w;
584
584
  }
585
585
  /**
586
586
  * @template {Extract<keyof Events, string>} K
@@ -589,8 +589,8 @@ class Nr {
589
589
  * @returns {() => void}
590
590
  */
591
591
  $on(t, r) {
592
- if (!ne(r))
593
- return S;
592
+ if (!re(r))
593
+ return w;
594
594
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
595
595
  return n.push(r), () => {
596
596
  const i = n.indexOf(r);
@@ -602,13 +602,13 @@ class Nr {
602
602
  * @returns {void}
603
603
  */
604
604
  $set(t) {
605
- this.$$set && !cr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
605
+ this.$$set && !yr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
606
606
  }
607
607
  }
608
- const Lr = "4";
609
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Lr);
610
- var oo = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
611
- function Mr(e) {
608
+ const Ur = "4";
609
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Ur);
610
+ var lo = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
611
+ function Gr(e) {
612
612
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
613
613
  }
614
614
  /*! *****************************************************************************
@@ -625,43 +625,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
625
625
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
626
626
  PERFORMANCE OF THIS SOFTWARE.
627
627
  ***************************************************************************** */
628
- var Le = function(e, t) {
629
- return Le = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
628
+ var Re = function(e, t) {
629
+ return Re = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
630
630
  r.__proto__ = n;
631
631
  } || function(r, n) {
632
632
  for (var i in n)
633
633
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
634
- }, Le(e, t);
634
+ }, Re(e, t);
635
635
  };
636
- function O(e, t) {
636
+ function ne(e, t) {
637
637
  if (typeof t != "function" && t !== null)
638
638
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
639
- Le(e, t);
639
+ Re(e, t);
640
640
  function r() {
641
641
  this.constructor = e;
642
642
  }
643
643
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
644
644
  }
645
- var b = function() {
646
- return b = Object.assign || function(t) {
647
- for (var r, n = 1, i = arguments.length; n < i; n++) {
648
- r = arguments[n];
649
- for (var o in r)
650
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
651
- }
652
- return t;
653
- }, b.apply(this, arguments);
654
- };
655
- function $r(e, t) {
656
- var r = {};
657
- for (var n in e)
658
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
659
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
660
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
661
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
662
- return r;
663
- }
664
- function Me(e) {
645
+ function De(e) {
665
646
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
666
647
  if (r)
667
648
  return r.call(e);
@@ -673,7 +654,7 @@ function Me(e) {
673
654
  };
674
655
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
675
656
  }
676
- function $e(e, t) {
657
+ function Ue(e, t) {
677
658
  var r = typeof Symbol == "function" && e[Symbol.iterator];
678
659
  if (!r)
679
660
  return e;
@@ -693,22 +674,22 @@ function $e(e, t) {
693
674
  }
694
675
  return o;
695
676
  }
696
- function F(e, t, r) {
697
- if (r || arguments.length === 2)
677
+ function Ge(e, t, r) {
678
+ if (arguments.length === 2)
698
679
  for (var n = 0, i = t.length, o; n < i; n++)
699
680
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
700
681
  return e.concat(o || t);
701
682
  }
702
- function A(e) {
683
+ function P(e) {
703
684
  return typeof e == "function";
704
685
  }
705
- function It(e) {
686
+ function $t(e) {
706
687
  var t = function(n) {
707
688
  Error.call(n), n.stack = new Error().stack;
708
689
  }, r = e(t);
709
690
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
710
691
  }
711
- var Se = It(function(e) {
692
+ var He = $t(function(e) {
712
693
  return function(r) {
713
694
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
714
695
  ` + r.map(function(n, i) {
@@ -717,7 +698,7 @@ var Se = It(function(e) {
717
698
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
718
699
  };
719
700
  });
720
- function Re(e, t) {
701
+ function Fe(e, t) {
721
702
  if (e) {
722
703
  var r = e.indexOf(t);
723
704
  0 <= r && e.splice(r, 1);
@@ -735,12 +716,12 @@ var ge = function() {
735
716
  if (s)
736
717
  if (this._parentage = null, Array.isArray(s))
737
718
  try {
738
- for (var a = Me(s), h = a.next(); !h.done; h = a.next()) {
719
+ for (var a = De(s), h = a.next(); !h.done; h = a.next()) {
739
720
  var u = h.value;
740
721
  u.remove(this);
741
722
  }
742
- } catch (v) {
743
- t = { error: v };
723
+ } catch (g) {
724
+ t = { error: g };
744
725
  } finally {
745
726
  try {
746
727
  h && !h.done && (r = a.return) && r.call(a);
@@ -752,26 +733,26 @@ var ge = function() {
752
733
  else
753
734
  s.remove(this);
754
735
  var l = this.initialTeardown;
755
- if (A(l))
736
+ if (P(l))
756
737
  try {
757
738
  l();
758
- } catch (v) {
759
- o = v instanceof Se ? v.errors : [v];
739
+ } catch (g) {
740
+ o = g instanceof He ? g.errors : [g];
760
741
  }
761
742
  var f = this._finalizers;
762
743
  if (f) {
763
744
  this._finalizers = null;
764
745
  try {
765
- for (var c = Me(f), y = c.next(); !y.done; y = c.next()) {
746
+ for (var c = De(f), y = c.next(); !y.done; y = c.next()) {
766
747
  var p = y.value;
767
748
  try {
768
- nt(p);
769
- } catch (v) {
770
- o = o != null ? o : [], v instanceof Se ? o = F(F([], $e(o)), $e(v.errors)) : o.push(v);
749
+ ut(p);
750
+ } catch (g) {
751
+ o = o != null ? o : [], g instanceof He ? o = Ge(Ge([], Ue(o)), Ue(g.errors)) : o.push(g);
771
752
  }
772
753
  }
773
- } catch (v) {
774
- n = { error: v };
754
+ } catch (g) {
755
+ n = { error: g };
775
756
  } finally {
776
757
  try {
777
758
  y && !y.done && (i = c.return) && i.call(c);
@@ -782,13 +763,13 @@ var ge = function() {
782
763
  }
783
764
  }
784
765
  if (o)
785
- throw new Se(o);
766
+ throw new He(o);
786
767
  }
787
768
  }, e.prototype.add = function(t) {
788
769
  var r;
789
770
  if (t && t !== this)
790
771
  if (this.closed)
791
- nt(t);
772
+ ut(t);
792
773
  else {
793
774
  if (t instanceof e) {
794
775
  if (t.closed || t._hasParent(this))
@@ -805,52 +786,52 @@ var ge = function() {
805
786
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
806
787
  }, e.prototype._removeParent = function(t) {
807
788
  var r = this._parentage;
808
- r === t ? this._parentage = null : Array.isArray(r) && Re(r, t);
789
+ r === t ? this._parentage = null : Array.isArray(r) && Fe(r, t);
809
790
  }, e.prototype.remove = function(t) {
810
791
  var r = this._finalizers;
811
- r && Re(r, t), t instanceof e && t._removeParent(this);
792
+ r && Fe(r, t), t instanceof e && t._removeParent(this);
812
793
  }, e.EMPTY = function() {
813
794
  var t = new e();
814
795
  return t.closed = !0, t;
815
796
  }(), e;
816
- }(), Ct = ge.EMPTY;
817
- function Nt(e) {
818
- return e instanceof ge || e && "closed" in e && A(e.remove) && A(e.add) && A(e.unsubscribe);
797
+ }(), Rt = ge.EMPTY;
798
+ function Dt(e) {
799
+ return e instanceof ge || e && "closed" in e && P(e.remove) && P(e.add) && P(e.unsubscribe);
819
800
  }
820
- function nt(e) {
821
- A(e) ? e() : e.unsubscribe();
801
+ function ut(e) {
802
+ P(e) ? e() : e.unsubscribe();
822
803
  }
823
- var Rr = {
804
+ var Fr = {
824
805
  Promise: void 0
825
- }, Dr = {
806
+ }, jr = {
826
807
  setTimeout: function(e, t) {
827
808
  for (var r = [], n = 2; n < arguments.length; n++)
828
809
  r[n - 2] = arguments[n];
829
- return setTimeout.apply(void 0, F([e, t], $e(r)));
810
+ return setTimeout.apply(void 0, Ge([e, t], Ue(r)));
830
811
  },
831
812
  clearTimeout: function(e) {
832
813
  return clearTimeout(e);
833
814
  },
834
815
  delegate: void 0
835
816
  };
836
- function Ur(e) {
837
- Dr.setTimeout(function() {
817
+ function kr(e) {
818
+ jr.setTimeout(function() {
838
819
  throw e;
839
820
  });
840
821
  }
841
- function it() {
822
+ function ht() {
842
823
  }
843
824
  function ce(e) {
844
825
  e();
845
826
  }
846
- var Lt = function(e) {
847
- O(t, e);
827
+ var Ut = function(e) {
828
+ ne(t, e);
848
829
  function t(r) {
849
830
  var n = e.call(this) || this;
850
- return n.isStopped = !1, r ? (n.destination = r, Nt(r) && r.add(n)) : n.destination = jr, n;
831
+ return n.isStopped = !1, r ? (n.destination = r, Dt(r) && r.add(n)) : n.destination = Wr, n;
851
832
  }
852
833
  return t.create = function(r, n, i) {
853
- return new De(r, n, i);
834
+ return new je(r, n, i);
854
835
  }, t.prototype.next = function(r) {
855
836
  this.isStopped || this._next(r);
856
837
  }, t.prototype.error = function(r) {
@@ -874,7 +855,7 @@ var Lt = function(e) {
874
855
  this.unsubscribe();
875
856
  }
876
857
  }, t;
877
- }(ge), Gr = function() {
858
+ }(ge), Vr = function() {
878
859
  function e(t) {
879
860
  this.partialObserver = t;
880
861
  }
@@ -905,43 +886,43 @@ var Lt = function(e) {
905
886
  he(r);
906
887
  }
907
888
  }, e;
908
- }(), De = function(e) {
909
- O(t, e);
889
+ }(), je = function(e) {
890
+ ne(t, e);
910
891
  function t(r, n, i) {
911
892
  var o = e.call(this) || this, s;
912
- return A(r) || !r ? s = {
893
+ return P(r) || !r ? s = {
913
894
  next: r != null ? r : void 0,
914
895
  error: n != null ? n : void 0,
915
896
  complete: i != null ? i : void 0
916
- } : s = r, o.destination = new Gr(s), o;
897
+ } : s = r, o.destination = new Vr(s), o;
917
898
  }
918
899
  return t;
919
- }(Lt);
900
+ }(Ut);
920
901
  function he(e) {
921
- Ur(e);
902
+ kr(e);
922
903
  }
923
- function Fr(e) {
904
+ function Xr(e) {
924
905
  throw e;
925
906
  }
926
- var jr = {
907
+ var Wr = {
927
908
  closed: !0,
928
- next: it,
929
- error: Fr,
930
- complete: it
931
- }, kr = function() {
909
+ next: ht,
910
+ error: Xr,
911
+ complete: ht
912
+ }, zr = function() {
932
913
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
933
914
  }();
934
- function Vr(e) {
915
+ function Zr(e) {
935
916
  return e;
936
917
  }
937
- function Xr(e) {
938
- return e.length === 0 ? Vr : e.length === 1 ? e[0] : function(r) {
918
+ function Qr(e) {
919
+ return e.length === 0 ? Zr : e.length === 1 ? e[0] : function(r) {
939
920
  return e.reduce(function(n, i) {
940
921
  return i(n);
941
922
  }, r);
942
923
  };
943
924
  }
944
- var ot = function() {
925
+ var lt = function() {
945
926
  function e(t) {
946
927
  t && (this._subscribe = t);
947
928
  }
@@ -949,7 +930,7 @@ var ot = function() {
949
930
  var r = new e();
950
931
  return r.source = this, r.operator = t, r;
951
932
  }, e.prototype.subscribe = function(t, r, n) {
952
- var i = this, o = zr(t) ? t : new De(t, r, n);
933
+ var i = this, o = Jr(t) ? t : new je(t, r, n);
953
934
  return ce(function() {
954
935
  var s = i, a = s.operator, h = s.source;
955
936
  o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
@@ -962,8 +943,8 @@ var ot = function() {
962
943
  }
963
944
  }, e.prototype.forEach = function(t, r) {
964
945
  var n = this;
965
- return r = st(r), new r(function(i, o) {
966
- var s = new De({
946
+ return r = ft(r), new r(function(i, o) {
947
+ var s = new je({
967
948
  next: function(a) {
968
949
  try {
969
950
  t(a);
@@ -979,15 +960,15 @@ var ot = function() {
979
960
  }, e.prototype._subscribe = function(t) {
980
961
  var r;
981
962
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
982
- }, e.prototype[kr] = function() {
963
+ }, e.prototype[zr] = function() {
983
964
  return this;
984
965
  }, e.prototype.pipe = function() {
985
966
  for (var t = [], r = 0; r < arguments.length; r++)
986
967
  t[r] = arguments[r];
987
- return Xr(t)(this);
968
+ return Qr(t)(this);
988
969
  }, e.prototype.toPromise = function(t) {
989
970
  var r = this;
990
- return t = st(t), new t(function(n, i) {
971
+ return t = ft(t), new t(function(n, i) {
991
972
  var o;
992
973
  r.subscribe(function(s) {
993
974
  return o = s;
@@ -1001,32 +982,32 @@ var ot = function() {
1001
982
  return new e(t);
1002
983
  }, e;
1003
984
  }();
1004
- function st(e) {
985
+ function ft(e) {
1005
986
  var t;
1006
- return (t = e != null ? e : Rr.Promise) !== null && t !== void 0 ? t : Promise;
987
+ return (t = e != null ? e : Fr.Promise) !== null && t !== void 0 ? t : Promise;
1007
988
  }
1008
- function Wr(e) {
1009
- return e && A(e.next) && A(e.error) && A(e.complete);
989
+ function qr(e) {
990
+ return e && P(e.next) && P(e.error) && P(e.complete);
1010
991
  }
1011
- function zr(e) {
1012
- return e && e instanceof Lt || Wr(e) && Nt(e);
992
+ function Jr(e) {
993
+ return e && e instanceof Ut || qr(e) && Dt(e);
1013
994
  }
1014
- var Zr = It(function(e) {
995
+ var Yr = $t(function(e) {
1015
996
  return function() {
1016
997
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
1017
998
  };
1018
- }), Mt = function(e) {
1019
- O(t, e);
999
+ }), Gt = function(e) {
1000
+ ne(t, e);
1020
1001
  function t() {
1021
1002
  var r = e.call(this) || this;
1022
1003
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
1023
1004
  }
1024
1005
  return t.prototype.lift = function(r) {
1025
- var n = new at(this, this);
1006
+ var n = new ct(this, this);
1026
1007
  return n.operator = r, n;
1027
1008
  }, t.prototype._throwIfClosed = function() {
1028
1009
  if (this.closed)
1029
- throw new Zr();
1010
+ throw new Yr();
1030
1011
  }, t.prototype.next = function(r) {
1031
1012
  var n = this;
1032
1013
  ce(function() {
@@ -1034,7 +1015,7 @@ var Zr = It(function(e) {
1034
1015
  if (n._throwIfClosed(), !n.isStopped) {
1035
1016
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
1036
1017
  try {
1037
- for (var s = Me(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
1018
+ for (var s = De(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
1038
1019
  var h = a.value;
1039
1020
  h.next(r);
1040
1021
  }
@@ -1083,20 +1064,20 @@ var Zr = It(function(e) {
1083
1064
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1084
1065
  }, t.prototype._innerSubscribe = function(r) {
1085
1066
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
1086
- return o || s ? Ct : (this.currentObservers = null, a.push(r), new ge(function() {
1087
- n.currentObservers = null, Re(a, r);
1067
+ return o || s ? Rt : (this.currentObservers = null, a.push(r), new ge(function() {
1068
+ n.currentObservers = null, Fe(a, r);
1088
1069
  }));
1089
1070
  }, t.prototype._checkFinalizedStatuses = function(r) {
1090
1071
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
1091
1072
  i ? r.error(o) : s && r.complete();
1092
1073
  }, t.prototype.asObservable = function() {
1093
- var r = new ot();
1074
+ var r = new lt();
1094
1075
  return r.source = this, r;
1095
1076
  }, t.create = function(r, n) {
1096
- return new at(r, n);
1077
+ return new ct(r, n);
1097
1078
  }, t;
1098
- }(ot), at = function(e) {
1099
- O(t, e);
1079
+ }(lt), ct = function(e) {
1080
+ ne(t, e);
1100
1081
  function t(r, n) {
1101
1082
  var i = e.call(this) || this;
1102
1083
  return i.destination = r, i.source = n, i;
@@ -1112,17 +1093,17 @@ var Zr = It(function(e) {
1112
1093
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1113
1094
  }, t.prototype._subscribe = function(r) {
1114
1095
  var n, i;
1115
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Ct;
1096
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Rt;
1116
1097
  }, t;
1117
- }(Mt), $t = {
1098
+ }(Gt), Ft = {
1118
1099
  now: function() {
1119
- return ($t.delegate || Date).now();
1100
+ return (Ft.delegate || Date).now();
1120
1101
  },
1121
1102
  delegate: void 0
1122
- }, Qr = function(e) {
1123
- O(t, e);
1103
+ }, Kr = function(e) {
1104
+ ne(t, e);
1124
1105
  function t(r, n, i) {
1125
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = $t);
1106
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ft);
1126
1107
  var o = e.call(this) || this;
1127
1108
  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;
1128
1109
  }
@@ -1142,24 +1123,24 @@ var Zr = It(function(e) {
1142
1123
  u && o.splice(0, u + 1);
1143
1124
  }
1144
1125
  }, t;
1145
- }(Mt);
1146
- const ut = [], ht = {}, qr = (e, t = 0) => {
1147
- if (ut.indexOf(e) == -1) {
1148
- const r = new Qr(t);
1149
- ht[e] = r, ut.push(e);
1126
+ }(Gt);
1127
+ const pt = [], dt = {}, en = (e, t = 0) => {
1128
+ if (pt.indexOf(e) == -1) {
1129
+ const r = new Kr(t);
1130
+ dt[e] = r, pt.push(e);
1150
1131
  }
1151
- return ht[e];
1132
+ return dt[e];
1152
1133
  }, D = [];
1153
- function Jr(e, t) {
1134
+ function tn(e, t) {
1154
1135
  return {
1155
- subscribe: ye(e, t).subscribe
1136
+ subscribe: ve(e, t).subscribe
1156
1137
  };
1157
1138
  }
1158
- function ye(e, t = S) {
1139
+ function ve(e, t = w) {
1159
1140
  let r;
1160
1141
  const n = /* @__PURE__ */ new Set();
1161
1142
  function i(a) {
1162
- if (Ht(e, a) && (e = a, r)) {
1143
+ if (It(e, a) && (e = a, r)) {
1163
1144
  const h = !D.length;
1164
1145
  for (const u of n)
1165
1146
  u[1](), D.push(u, e);
@@ -1173,147 +1154,189 @@ function ye(e, t = S) {
1173
1154
  function o(a) {
1174
1155
  i(a(e));
1175
1156
  }
1176
- function s(a, h = S) {
1157
+ function s(a, h = w) {
1177
1158
  const u = [a, h];
1178
- return n.add(u), n.size === 1 && (r = t(i, o) || S), a(e), () => {
1159
+ return n.add(u), n.size === 1 && (r = t(i, o) || w), a(e), () => {
1179
1160
  n.delete(u), n.size === 0 && r && (r(), r = null);
1180
1161
  };
1181
1162
  }
1182
1163
  return { set: i, update: o, subscribe: s };
1183
1164
  }
1184
- function W(e, t, r) {
1165
+ function X(e, t, r) {
1185
1166
  const n = !Array.isArray(e), i = n ? [e] : e;
1186
1167
  if (!i.every(Boolean))
1187
1168
  throw new Error("derived() expects stores as input, got a falsy value");
1188
1169
  const o = t.length < 2;
1189
- return Jr(r, (s, a) => {
1170
+ return tn(r, (s, a) => {
1190
1171
  let h = !1;
1191
1172
  const u = [];
1192
- let l = 0, f = S;
1173
+ let l = 0, f = w;
1193
1174
  const c = () => {
1194
1175
  if (l)
1195
1176
  return;
1196
1177
  f();
1197
1178
  const p = t(n ? u[0] : u, s, a);
1198
- o ? s(p) : f = ne(p) ? p : S;
1179
+ o ? s(p) : f = re(p) ? p : w;
1199
1180
  }, y = i.map(
1200
- (p, v) => Bt(
1181
+ (p, g) => Ct(
1201
1182
  p,
1202
- (T) => {
1203
- u[v] = T, l &= ~(1 << v), h && c();
1183
+ (S) => {
1184
+ u[g] = S, l &= ~(1 << g), h && c();
1204
1185
  },
1205
1186
  () => {
1206
- l |= 1 << v;
1187
+ l |= 1 << g;
1207
1188
  }
1208
1189
  )
1209
1190
  );
1210
1191
  return h = !0, c(), function() {
1211
- re(y), f(), h = !1;
1192
+ te(y), f(), h = !1;
1212
1193
  };
1213
1194
  });
1214
1195
  }
1215
- var Yr = function(t) {
1216
- return Kr(t) && !en(t);
1196
+ var rn = function(t) {
1197
+ return nn(t) && !on(t);
1217
1198
  };
1218
- function Kr(e) {
1199
+ function nn(e) {
1219
1200
  return !!e && typeof e == "object";
1220
1201
  }
1221
- function en(e) {
1202
+ function on(e) {
1222
1203
  var t = Object.prototype.toString.call(e);
1223
- return t === "[object RegExp]" || t === "[object Date]" || nn(e);
1204
+ return t === "[object RegExp]" || t === "[object Date]" || un(e);
1224
1205
  }
1225
- var tn = typeof Symbol == "function" && Symbol.for, rn = tn ? Symbol.for("react.element") : 60103;
1226
- function nn(e) {
1227
- return e.$$typeof === rn;
1206
+ var sn = typeof Symbol == "function" && Symbol.for, an = sn ? Symbol.for("react.element") : 60103;
1207
+ function un(e) {
1208
+ return e.$$typeof === an;
1228
1209
  }
1229
- function on(e) {
1210
+ function hn(e) {
1230
1211
  return Array.isArray(e) ? [] : {};
1231
1212
  }
1232
- function ee(e, t) {
1233
- return t.clone !== !1 && t.isMergeableObject(e) ? j(on(e), e, t) : e;
1213
+ function K(e, t) {
1214
+ return t.clone !== !1 && t.isMergeableObject(e) ? F(hn(e), e, t) : e;
1234
1215
  }
1235
- function sn(e, t, r) {
1216
+ function ln(e, t, r) {
1236
1217
  return e.concat(t).map(function(n) {
1237
- return ee(n, r);
1218
+ return K(n, r);
1238
1219
  });
1239
1220
  }
1240
- function an(e, t) {
1221
+ function fn(e, t) {
1241
1222
  if (!t.customMerge)
1242
- return j;
1223
+ return F;
1243
1224
  var r = t.customMerge(e);
1244
- return typeof r == "function" ? r : j;
1225
+ return typeof r == "function" ? r : F;
1245
1226
  }
1246
- function un(e) {
1227
+ function cn(e) {
1247
1228
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1248
1229
  return Object.propertyIsEnumerable.call(e, t);
1249
1230
  }) : [];
1250
1231
  }
1251
- function lt(e) {
1252
- return Object.keys(e).concat(un(e));
1232
+ function mt(e) {
1233
+ return Object.keys(e).concat(cn(e));
1253
1234
  }
1254
- function Rt(e, t) {
1235
+ function jt(e, t) {
1255
1236
  try {
1256
1237
  return t in e;
1257
1238
  } catch (r) {
1258
1239
  return !1;
1259
1240
  }
1260
1241
  }
1261
- function hn(e, t) {
1262
- return Rt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1242
+ function pn(e, t) {
1243
+ return jt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1263
1244
  }
1264
- function ln(e, t, r) {
1245
+ function dn(e, t, r) {
1265
1246
  var n = {};
1266
- return r.isMergeableObject(e) && lt(e).forEach(function(i) {
1267
- n[i] = ee(e[i], r);
1268
- }), lt(t).forEach(function(i) {
1269
- hn(e, i) || (Rt(e, i) && r.isMergeableObject(t[i]) ? n[i] = an(i, r)(e[i], t[i], r) : n[i] = ee(t[i], r));
1247
+ return r.isMergeableObject(e) && mt(e).forEach(function(i) {
1248
+ n[i] = K(e[i], r);
1249
+ }), mt(t).forEach(function(i) {
1250
+ pn(e, i) || (jt(e, i) && r.isMergeableObject(t[i]) ? n[i] = fn(i, r)(e[i], t[i], r) : n[i] = K(t[i], r));
1270
1251
  }), n;
1271
1252
  }
1272
- function j(e, t, r) {
1273
- r = r || {}, r.arrayMerge = r.arrayMerge || sn, r.isMergeableObject = r.isMergeableObject || Yr, r.cloneUnlessOtherwiseSpecified = ee;
1253
+ function F(e, t, r) {
1254
+ r = r || {}, r.arrayMerge = r.arrayMerge || ln, r.isMergeableObject = r.isMergeableObject || rn, r.cloneUnlessOtherwiseSpecified = K;
1274
1255
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1275
- return o ? n ? r.arrayMerge(e, t, r) : ln(e, t, r) : ee(t, r);
1256
+ return o ? n ? r.arrayMerge(e, t, r) : dn(e, t, r) : K(t, r);
1276
1257
  }
1277
- j.all = function(t, r) {
1258
+ F.all = function(t, r) {
1278
1259
  if (!Array.isArray(t))
1279
1260
  throw new Error("first argument should be an array");
1280
1261
  return t.reduce(function(n, i) {
1281
- return j(n, i, r);
1262
+ return F(n, i, r);
1282
1263
  }, {});
1283
1264
  };
1284
- var fn = j, cn = fn;
1285
- const pn = /* @__PURE__ */ Mr(cn);
1286
- function we(e, t) {
1287
- var r = t && t.cache ? t.cache : _n, n = t && t.serializer ? t.serializer : yn, i = t && t.strategy ? t.strategy : bn;
1265
+ var mn = F, bn = mn;
1266
+ const yn = /* @__PURE__ */ Gr(bn);
1267
+ var ke = function(e, t) {
1268
+ return ke = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1269
+ r.__proto__ = n;
1270
+ } || function(r, n) {
1271
+ for (var i in n)
1272
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1273
+ }, ke(e, t);
1274
+ };
1275
+ function _e(e, t) {
1276
+ if (typeof t != "function" && t !== null)
1277
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1278
+ ke(e, t);
1279
+ function r() {
1280
+ this.constructor = e;
1281
+ }
1282
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1283
+ }
1284
+ var H = function() {
1285
+ return H = Object.assign || function(t) {
1286
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1287
+ r = arguments[n];
1288
+ for (var o in r)
1289
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1290
+ }
1291
+ return t;
1292
+ }, H.apply(this, arguments);
1293
+ };
1294
+ function gn(e, t) {
1295
+ var r = {};
1296
+ for (var n in e)
1297
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1298
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
1299
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1300
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1301
+ return r;
1302
+ }
1303
+ function Ae(e, t, r) {
1304
+ if (r || arguments.length === 2)
1305
+ for (var n = 0, i = t.length, o; n < i; n++)
1306
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1307
+ return e.concat(o || Array.prototype.slice.call(t));
1308
+ }
1309
+ function Be(e, t) {
1310
+ var r = t && t.cache ? t.cache : Tn, n = t && t.serializer ? t.serializer : Sn, i = t && t.strategy ? t.strategy : xn;
1288
1311
  return i(e, {
1289
1312
  cache: r,
1290
1313
  serializer: n
1291
1314
  });
1292
1315
  }
1293
- function dn(e) {
1316
+ function vn(e) {
1294
1317
  return e == null || typeof e == "number" || typeof e == "boolean";
1295
1318
  }
1296
- function mn(e, t, r, n) {
1297
- var i = dn(n) ? n : r(n), o = t.get(i);
1319
+ function _n(e, t, r, n) {
1320
+ var i = vn(n) ? n : r(n), o = t.get(i);
1298
1321
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1299
1322
  }
1300
- function Dt(e, t, r) {
1323
+ function kt(e, t, r) {
1301
1324
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1302
1325
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1303
1326
  }
1304
- function Ut(e, t, r, n, i) {
1327
+ function Vt(e, t, r, n, i) {
1305
1328
  return r.bind(t, e, n, i);
1306
1329
  }
1307
- function bn(e, t) {
1308
- var r = e.length === 1 ? mn : Dt;
1309
- return Ut(e, this, r, t.cache.create(), t.serializer);
1330
+ function xn(e, t) {
1331
+ var r = e.length === 1 ? _n : kt;
1332
+ return Vt(e, this, r, t.cache.create(), t.serializer);
1310
1333
  }
1311
- function gn(e, t) {
1312
- return Ut(e, this, Dt, t.cache.create(), t.serializer);
1334
+ function En(e, t) {
1335
+ return Vt(e, this, kt, t.cache.create(), t.serializer);
1313
1336
  }
1314
- var yn = function() {
1337
+ var Sn = function() {
1315
1338
  return JSON.stringify(arguments);
1316
- }, vn = (
1339
+ }, wn = (
1317
1340
  /** @class */
1318
1341
  function() {
1319
1342
  function e() {
@@ -1325,61 +1348,71 @@ var yn = function() {
1325
1348
  this.cache[t] = r;
1326
1349
  }, e;
1327
1350
  }()
1328
- ), _n = {
1351
+ ), Tn = {
1329
1352
  create: function() {
1330
- return new vn();
1353
+ return new wn();
1331
1354
  }
1332
- }, He = {
1333
- variadic: gn
1334
- }, d;
1355
+ }, Pe = {
1356
+ variadic: En
1357
+ }, me = function() {
1358
+ return me = Object.assign || function(t) {
1359
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1360
+ r = arguments[n];
1361
+ for (var o in r)
1362
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1363
+ }
1364
+ return t;
1365
+ }, me.apply(this, arguments);
1366
+ };
1367
+ var d;
1335
1368
  (function(e) {
1336
1369
  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";
1337
1370
  })(d || (d = {}));
1338
- var _;
1371
+ var v;
1339
1372
  (function(e) {
1340
1373
  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";
1341
- })(_ || (_ = {}));
1342
- var k;
1374
+ })(v || (v = {}));
1375
+ var j;
1343
1376
  (function(e) {
1344
1377
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1345
- })(k || (k = {}));
1346
- function ft(e) {
1347
- return e.type === _.literal;
1378
+ })(j || (j = {}));
1379
+ function bt(e) {
1380
+ return e.type === v.literal;
1348
1381
  }
1349
- function xn(e) {
1350
- return e.type === _.argument;
1382
+ function Hn(e) {
1383
+ return e.type === v.argument;
1351
1384
  }
1352
- function Gt(e) {
1353
- return e.type === _.number;
1385
+ function Xt(e) {
1386
+ return e.type === v.number;
1354
1387
  }
1355
- function Ft(e) {
1356
- return e.type === _.date;
1388
+ function Wt(e) {
1389
+ return e.type === v.date;
1357
1390
  }
1358
- function jt(e) {
1359
- return e.type === _.time;
1391
+ function zt(e) {
1392
+ return e.type === v.time;
1360
1393
  }
1361
- function kt(e) {
1362
- return e.type === _.select;
1394
+ function Zt(e) {
1395
+ return e.type === v.select;
1363
1396
  }
1364
- function Vt(e) {
1365
- return e.type === _.plural;
1397
+ function Qt(e) {
1398
+ return e.type === v.plural;
1366
1399
  }
1367
- function En(e) {
1368
- return e.type === _.pound;
1400
+ function An(e) {
1401
+ return e.type === v.pound;
1369
1402
  }
1370
- function Xt(e) {
1371
- return e.type === _.tag;
1403
+ function qt(e) {
1404
+ return e.type === v.tag;
1372
1405
  }
1373
- function Wt(e) {
1374
- return !!(e && typeof e == "object" && e.type === k.number);
1406
+ function Jt(e) {
1407
+ return !!(e && typeof e == "object" && e.type === j.number);
1375
1408
  }
1376
- function Ue(e) {
1377
- return !!(e && typeof e == "object" && e.type === k.dateTime);
1409
+ function Ve(e) {
1410
+ return !!(e && typeof e == "object" && e.type === j.dateTime);
1378
1411
  }
1379
- var zt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Tn = /(?:[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;
1380
- function Sn(e) {
1412
+ var Yt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Bn = /(?:[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;
1413
+ function Pn(e) {
1381
1414
  var t = {};
1382
- return e.replace(Tn, function(r) {
1415
+ return e.replace(Bn, function(r) {
1383
1416
  var n = r.length;
1384
1417
  switch (r[0]) {
1385
1418
  case "G":
@@ -1468,11 +1501,21 @@ function Sn(e) {
1468
1501
  return "";
1469
1502
  }), t;
1470
1503
  }
1471
- var wn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1472
- function Hn(e) {
1504
+ var _ = function() {
1505
+ return _ = Object.assign || function(t) {
1506
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1507
+ r = arguments[n];
1508
+ for (var o in r)
1509
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1510
+ }
1511
+ return t;
1512
+ }, _.apply(this, arguments);
1513
+ };
1514
+ var On = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1515
+ function In(e) {
1473
1516
  if (e.length === 0)
1474
1517
  throw new Error("Number skeleton cannot be empty");
1475
- for (var t = e.split(wn).filter(function(c) {
1518
+ for (var t = e.split(On).filter(function(c) {
1476
1519
  return c.length > 0;
1477
1520
  }), r = [], n = 0, i = t; n < i.length; n++) {
1478
1521
  var o = i[n], s = o.split("/");
@@ -1487,17 +1530,17 @@ function Hn(e) {
1487
1530
  }
1488
1531
  return r;
1489
1532
  }
1490
- function Bn(e) {
1533
+ function Cn(e) {
1491
1534
  return e.replace(/^(.*?)-/, "");
1492
1535
  }
1493
- var ct = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Zt = /^(@+)?(\+|#+)?[rs]?$/g, An = /(\*)(0+)|(#+)(0+)|(0+)/g, Qt = /^(0+)$/;
1494
- function pt(e) {
1536
+ var yt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Kt = /^(@+)?(\+|#+)?[rs]?$/g, Nn = /(\*)(0+)|(#+)(0+)|(0+)/g, er = /^(0+)$/;
1537
+ function gt(e) {
1495
1538
  var t = {};
1496
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Zt, function(r, n, i) {
1539
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Kt, function(r, n, i) {
1497
1540
  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)), "";
1498
1541
  }), t;
1499
1542
  }
1500
- function qt(e) {
1543
+ function tr(e) {
1501
1544
  switch (e) {
1502
1545
  case "sign-auto":
1503
1546
  return {
@@ -1537,7 +1580,7 @@ function qt(e) {
1537
1580
  };
1538
1581
  }
1539
1582
  }
1540
- function Pn(e) {
1583
+ function Ln(e) {
1541
1584
  var t;
1542
1585
  if (e[0] === "E" && e[1] === "E" ? (t = {
1543
1586
  notation: "engineering"
@@ -1545,17 +1588,17 @@ function Pn(e) {
1545
1588
  notation: "scientific"
1546
1589
  }, e = e.slice(1)), t) {
1547
1590
  var r = e.slice(0, 2);
1548
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Qt.test(e))
1591
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !er.test(e))
1549
1592
  throw new Error("Malformed concise eng/scientific notation");
1550
1593
  t.minimumIntegerDigits = e.length;
1551
1594
  }
1552
1595
  return t;
1553
1596
  }
1554
- function dt(e) {
1555
- var t = {}, r = qt(e);
1597
+ function vt(e) {
1598
+ var t = {}, r = tr(e);
1556
1599
  return r || t;
1557
1600
  }
1558
- function On(e) {
1601
+ function Mn(e) {
1559
1602
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1560
1603
  var i = n[r];
1561
1604
  switch (i.stem) {
@@ -1579,7 +1622,7 @@ function On(e) {
1579
1622
  continue;
1580
1623
  case "measure-unit":
1581
1624
  case "unit":
1582
- t.style = "unit", t.unit = Bn(i.options[0]);
1625
+ t.style = "unit", t.unit = Cn(i.options[0]);
1583
1626
  continue;
1584
1627
  case "compact-short":
1585
1628
  case "K":
@@ -1590,13 +1633,13 @@ function On(e) {
1590
1633
  t.notation = "compact", t.compactDisplay = "long";
1591
1634
  continue;
1592
1635
  case "scientific":
1593
- t = b(b(b({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1594
- return b(b({}, h), dt(u));
1636
+ t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1637
+ return _(_({}, h), vt(u));
1595
1638
  }, {}));
1596
1639
  continue;
1597
1640
  case "engineering":
1598
- t = b(b(b({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1599
- return b(b({}, h), dt(u));
1641
+ t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1642
+ return _(_({}, h), vt(u));
1600
1643
  }, {}));
1601
1644
  continue;
1602
1645
  case "notation-simple":
@@ -1641,7 +1684,7 @@ function On(e) {
1641
1684
  case "integer-width":
1642
1685
  if (i.options.length > 1)
1643
1686
  throw new RangeError("integer-width stems only accept a single optional option");
1644
- i.options[0].replace(An, function(h, u, l, f, c, y) {
1687
+ i.options[0].replace(Nn, function(h, u, l, f, c, y) {
1645
1688
  if (u)
1646
1689
  t.minimumIntegerDigits = l.length;
1647
1690
  else {
@@ -1654,28 +1697,28 @@ function On(e) {
1654
1697
  });
1655
1698
  continue;
1656
1699
  }
1657
- if (Qt.test(i.stem)) {
1700
+ if (er.test(i.stem)) {
1658
1701
  t.minimumIntegerDigits = i.stem.length;
1659
1702
  continue;
1660
1703
  }
1661
- if (ct.test(i.stem)) {
1704
+ if (yt.test(i.stem)) {
1662
1705
  if (i.options.length > 1)
1663
1706
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1664
- i.stem.replace(ct, function(h, u, l, f, c, y) {
1707
+ i.stem.replace(yt, function(h, u, l, f, c, y) {
1665
1708
  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), "";
1666
1709
  });
1667
1710
  var o = i.options[0];
1668
- o === "w" ? t = b(b({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = b(b({}, t), pt(o)));
1711
+ o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), gt(o)));
1669
1712
  continue;
1670
1713
  }
1671
- if (Zt.test(i.stem)) {
1672
- t = b(b({}, t), pt(i.stem));
1714
+ if (Kt.test(i.stem)) {
1715
+ t = _(_({}, t), gt(i.stem));
1673
1716
  continue;
1674
1717
  }
1675
- var s = qt(i.stem);
1676
- s && (t = b(b({}, t), s));
1677
- var a = Pn(i.stem);
1678
- a && (t = b(b({}, t), a));
1718
+ var s = tr(i.stem);
1719
+ s && (t = _(_({}, t), s));
1720
+ var a = Ln(i.stem);
1721
+ a && (t = _(_({}, t), a));
1679
1722
  }
1680
1723
  return t;
1681
1724
  }
@@ -3094,13 +3137,13 @@ var le = {
3094
3137
  "h"
3095
3138
  ]
3096
3139
  };
3097
- function In(e, t) {
3140
+ function $n(e, t) {
3098
3141
  for (var r = "", n = 0; n < e.length; n++) {
3099
3142
  var i = e.charAt(n);
3100
3143
  if (i === "j") {
3101
3144
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3102
3145
  o++, n++;
3103
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Cn(t);
3146
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Rn(t);
3104
3147
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
3105
3148
  r += h;
3106
3149
  for (; s-- > 0; )
@@ -3110,7 +3153,7 @@ function In(e, t) {
3110
3153
  }
3111
3154
  return r;
3112
3155
  }
3113
- function Cn(e) {
3156
+ function Rn(e) {
3114
3157
  var t = e.hourCycle;
3115
3158
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3116
3159
  e.hourCycles && // @ts-ignore
@@ -3132,20 +3175,20 @@ function Cn(e) {
3132
3175
  var i = le[n || ""] || le[r || ""] || le["".concat(r, "-001")] || le["001"];
3133
3176
  return i[0];
3134
3177
  }
3135
- var Be, Nn = new RegExp("^".concat(zt.source, "*")), Ln = new RegExp("".concat(zt.source, "*$"));
3178
+ var Oe, Dn = new RegExp("^".concat(Yt.source, "*")), Un = new RegExp("".concat(Yt.source, "*$"));
3136
3179
  function m(e, t) {
3137
3180
  return { start: e, end: t };
3138
3181
  }
3139
- var Mn = !!String.prototype.startsWith && "_a".startsWith("a", 1), $n = !!String.fromCodePoint, Rn = !!Object.fromEntries, Dn = !!String.prototype.codePointAt, Un = !!String.prototype.trimStart, Gn = !!String.prototype.trimEnd, Fn = !!Number.isSafeInteger, jn = Fn ? Number.isSafeInteger : function(e) {
3182
+ var Gn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Fn = !!String.fromCodePoint, jn = !!Object.fromEntries, kn = !!String.prototype.codePointAt, Vn = !!String.prototype.trimStart, Xn = !!String.prototype.trimEnd, Wn = !!Number.isSafeInteger, zn = Wn ? Number.isSafeInteger : function(e) {
3140
3183
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3141
- }, Ge = !0;
3184
+ }, Xe = !0;
3142
3185
  try {
3143
- var kn = Yt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3144
- Ge = ((Be = kn.exec("a")) === null || Be === void 0 ? void 0 : Be[0]) === "a";
3186
+ var Zn = nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3187
+ Xe = ((Oe = Zn.exec("a")) === null || Oe === void 0 ? void 0 : Oe[0]) === "a";
3145
3188
  } catch (e) {
3146
- Ge = !1;
3189
+ Xe = !1;
3147
3190
  }
3148
- var mt = Mn ? (
3191
+ var _t = Gn ? (
3149
3192
  // Native
3150
3193
  function(t, r, n) {
3151
3194
  return t.startsWith(r, n);
@@ -3155,7 +3198,7 @@ var mt = Mn ? (
3155
3198
  function(t, r, n) {
3156
3199
  return t.slice(n, n + r.length) === r;
3157
3200
  }
3158
- ), Fe = $n ? String.fromCodePoint : (
3201
+ ), We = Fn ? String.fromCodePoint : (
3159
3202
  // IE11
3160
3203
  function() {
3161
3204
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3167,9 +3210,9 @@ var mt = Mn ? (
3167
3210
  }
3168
3211
  return n;
3169
3212
  }
3170
- ), bt = (
3213
+ ), xt = (
3171
3214
  // native
3172
- Rn ? Object.fromEntries : (
3215
+ jn ? Object.fromEntries : (
3173
3216
  // Ponyfill
3174
3217
  function(t) {
3175
3218
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3179,7 +3222,7 @@ var mt = Mn ? (
3179
3222
  return r;
3180
3223
  }
3181
3224
  )
3182
- ), Jt = Dn ? (
3225
+ ), rr = kn ? (
3183
3226
  // Native
3184
3227
  function(t, r) {
3185
3228
  return t.codePointAt(r);
@@ -3193,7 +3236,7 @@ var mt = Mn ? (
3193
3236
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3194
3237
  }
3195
3238
  }
3196
- ), Vn = Un ? (
3239
+ ), Qn = Vn ? (
3197
3240
  // Native
3198
3241
  function(t) {
3199
3242
  return t.trimStart();
@@ -3201,9 +3244,9 @@ var mt = Mn ? (
3201
3244
  ) : (
3202
3245
  // Ponyfill
3203
3246
  function(t) {
3204
- return t.replace(Nn, "");
3247
+ return t.replace(Dn, "");
3205
3248
  }
3206
- ), Xn = Gn ? (
3249
+ ), qn = Xn ? (
3207
3250
  // Native
3208
3251
  function(t) {
3209
3252
  return t.trimEnd();
@@ -3211,32 +3254,32 @@ var mt = Mn ? (
3211
3254
  ) : (
3212
3255
  // Ponyfill
3213
3256
  function(t) {
3214
- return t.replace(Ln, "");
3257
+ return t.replace(Un, "");
3215
3258
  }
3216
3259
  );
3217
- function Yt(e, t) {
3260
+ function nr(e, t) {
3218
3261
  return new RegExp(e, t);
3219
3262
  }
3220
- var je;
3221
- if (Ge) {
3222
- var gt = Yt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3223
- je = function(t, r) {
3263
+ var ze;
3264
+ if (Xe) {
3265
+ var Et = nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3266
+ ze = function(t, r) {
3224
3267
  var n;
3225
- gt.lastIndex = r;
3226
- var i = gt.exec(t);
3268
+ Et.lastIndex = r;
3269
+ var i = Et.exec(t);
3227
3270
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3228
3271
  };
3229
3272
  } else
3230
- je = function(t, r) {
3273
+ ze = function(t, r) {
3231
3274
  for (var n = []; ; ) {
3232
- var i = Jt(t, r);
3233
- if (i === void 0 || Kt(i) || Qn(i))
3275
+ var i = rr(t, r);
3276
+ if (i === void 0 || ir(i) || ei(i))
3234
3277
  break;
3235
3278
  n.push(i), r += i >= 65536 ? 2 : 1;
3236
3279
  }
3237
- return Fe.apply(void 0, n);
3280
+ return We.apply(void 0, n);
3238
3281
  };
3239
- var Wn = (
3282
+ var Jn = (
3240
3283
  /** @class */
3241
3284
  function() {
3242
3285
  function e(t, r) {
@@ -3260,14 +3303,14 @@ var Wn = (
3260
3303
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3261
3304
  var a = this.clonePosition();
3262
3305
  this.bump(), i.push({
3263
- type: _.pound,
3306
+ type: v.pound,
3264
3307
  location: m(a, this.clonePosition())
3265
3308
  });
3266
3309
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3267
3310
  if (n)
3268
3311
  break;
3269
3312
  return this.error(d.UNMATCHED_CLOSING_TAG, m(this.clonePosition(), this.clonePosition()));
3270
- } else if (o === 60 && !this.ignoreTag && ke(this.peek() || 0)) {
3313
+ } else if (o === 60 && !this.ignoreTag && Ze(this.peek() || 0)) {
3271
3314
  var s = this.parseTag(t, r);
3272
3315
  if (s.err)
3273
3316
  return s;
@@ -3288,7 +3331,7 @@ var Wn = (
3288
3331
  if (this.bumpSpace(), this.bumpIf("/>"))
3289
3332
  return {
3290
3333
  val: {
3291
- type: _.literal,
3334
+ type: v.literal,
3292
3335
  value: "<".concat(i, "/>"),
3293
3336
  location: m(n, this.clonePosition())
3294
3337
  },
@@ -3300,12 +3343,12 @@ var Wn = (
3300
3343
  return o;
3301
3344
  var s = o.val, a = this.clonePosition();
3302
3345
  if (this.bumpIf("</")) {
3303
- if (this.isEOF() || !ke(this.char()))
3346
+ if (this.isEOF() || !Ze(this.char()))
3304
3347
  return this.error(d.INVALID_TAG, m(a, this.clonePosition()));
3305
3348
  var h = this.clonePosition(), u = this.parseTagName();
3306
3349
  return i !== u ? this.error(d.UNMATCHED_CLOSING_TAG, m(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3307
3350
  val: {
3308
- type: _.tag,
3351
+ type: v.tag,
3309
3352
  value: i,
3310
3353
  children: s,
3311
3354
  location: m(n, this.clonePosition())
@@ -3318,7 +3361,7 @@ var Wn = (
3318
3361
  return this.error(d.INVALID_TAG, m(n, this.clonePosition()));
3319
3362
  }, e.prototype.parseTagName = function() {
3320
3363
  var t = this.offset();
3321
- for (this.bump(); !this.isEOF() && Zn(this.char()); )
3364
+ for (this.bump(); !this.isEOF() && Kn(this.char()); )
3322
3365
  this.bump();
3323
3366
  return this.message.slice(t, this.offset());
3324
3367
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3342,12 +3385,12 @@ var Wn = (
3342
3385
  }
3343
3386
  var h = m(n, this.clonePosition());
3344
3387
  return {
3345
- val: { type: _.literal, value: i, location: h },
3388
+ val: { type: v.literal, value: i, location: h },
3346
3389
  err: null
3347
3390
  };
3348
3391
  }, e.prototype.tryParseLeftAngleBracket = function() {
3349
3392
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3350
- !zn(this.peek() || 0)) ? (this.bump(), "<") : null;
3393
+ !Yn(this.peek() || 0)) ? (this.bump(), "<") : null;
3351
3394
  }, e.prototype.tryParseQuote = function(t) {
3352
3395
  if (this.isEOF() || this.char() !== 39)
3353
3396
  return null;
@@ -3381,12 +3424,12 @@ var Wn = (
3381
3424
  r.push(n);
3382
3425
  this.bump();
3383
3426
  }
3384
- return Fe.apply(void 0, r);
3427
+ return We.apply(void 0, r);
3385
3428
  }, e.prototype.tryParseUnquoted = function(t, r) {
3386
3429
  if (this.isEOF())
3387
3430
  return null;
3388
3431
  var n = this.char();
3389
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Fe(n));
3432
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), We(n));
3390
3433
  }, e.prototype.parseArgument = function(t, r) {
3391
3434
  var n = this.clonePosition();
3392
3435
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3402,7 +3445,7 @@ var Wn = (
3402
3445
  case 125:
3403
3446
  return this.bump(), {
3404
3447
  val: {
3405
- type: _.argument,
3448
+ type: v.argument,
3406
3449
  // value does not include the opening and closing braces.
3407
3450
  value: i,
3408
3451
  location: m(n, this.clonePosition())
@@ -3415,7 +3458,7 @@ var Wn = (
3415
3458
  return this.error(d.MALFORMED_ARGUMENT, m(n, this.clonePosition()));
3416
3459
  }
3417
3460
  }, e.prototype.parseIdentifierIfPossible = function() {
3418
- var t = this.clonePosition(), r = this.offset(), n = je(this.message, r), i = r + n.length;
3461
+ var t = this.clonePosition(), r = this.offset(), n = ze(this.message, r), i = r + n.length;
3419
3462
  this.bumpTo(i);
3420
3463
  var o = this.clonePosition(), s = m(t, o);
3421
3464
  return { value: n, location: s };
@@ -3434,7 +3477,7 @@ var Wn = (
3434
3477
  var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3435
3478
  if (f.err)
3436
3479
  return f;
3437
- var c = Xn(f.val);
3480
+ var c = qn(f.val);
3438
3481
  if (c.length === 0)
3439
3482
  return this.error(d.EXPECT_ARGUMENT_STYLE, m(this.clonePosition(), this.clonePosition()));
3440
3483
  var y = m(l, this.clonePosition());
@@ -3443,37 +3486,37 @@ var Wn = (
3443
3486
  var p = this.tryParseArgumentClose(i);
3444
3487
  if (p.err)
3445
3488
  return p;
3446
- var v = m(i, this.clonePosition());
3447
- if (u && mt(u == null ? void 0 : u.style, "::", 0)) {
3448
- var T = Vn(u.style.slice(2));
3489
+ var g = m(i, this.clonePosition());
3490
+ if (u && _t(u == null ? void 0 : u.style, "::", 0)) {
3491
+ var S = Qn(u.style.slice(2));
3449
3492
  if (a === "number") {
3450
- var f = this.parseNumberSkeletonFromString(T, u.styleLocation);
3493
+ var f = this.parseNumberSkeletonFromString(S, u.styleLocation);
3451
3494
  return f.err ? f : {
3452
- val: { type: _.number, value: n, location: v, style: f.val },
3495
+ val: { type: v.number, value: n, location: g, style: f.val },
3453
3496
  err: null
3454
3497
  };
3455
3498
  } else {
3456
- if (T.length === 0)
3457
- return this.error(d.EXPECT_DATE_TIME_SKELETON, v);
3458
- var Z = T;
3459
- this.locale && (Z = In(T, this.locale));
3499
+ if (S.length === 0)
3500
+ return this.error(d.EXPECT_DATE_TIME_SKELETON, g);
3501
+ var z = S;
3502
+ this.locale && (z = $n(S, this.locale));
3460
3503
  var c = {
3461
- type: k.dateTime,
3462
- pattern: Z,
3504
+ type: j.dateTime,
3505
+ pattern: z,
3463
3506
  location: u.styleLocation,
3464
- parsedOptions: this.shouldParseSkeletons ? Sn(Z) : {}
3465
- }, $ = a === "date" ? _.date : _.time;
3507
+ parsedOptions: this.shouldParseSkeletons ? Pn(z) : {}
3508
+ }, $ = a === "date" ? v.date : v.time;
3466
3509
  return {
3467
- val: { type: $, value: n, location: v, style: c },
3510
+ val: { type: $, value: n, location: g, style: c },
3468
3511
  err: null
3469
3512
  };
3470
3513
  }
3471
3514
  }
3472
3515
  return {
3473
3516
  val: {
3474
- type: a === "number" ? _.number : a === "date" ? _.date : _.time,
3517
+ type: a === "number" ? v.number : a === "date" ? v.date : v.time,
3475
3518
  value: n,
3476
- location: v,
3519
+ location: g,
3477
3520
  style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
3478
3521
  },
3479
3522
  err: null
@@ -3482,43 +3525,43 @@ var Wn = (
3482
3525
  case "plural":
3483
3526
  case "selectordinal":
3484
3527
  case "select": {
3485
- var w = this.clonePosition();
3528
+ var T = this.clonePosition();
3486
3529
  if (this.bumpSpace(), !this.bumpIf(","))
3487
- return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, m(w, b({}, w)));
3530
+ return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, m(T, me({}, T)));
3488
3531
  this.bumpSpace();
3489
- var Q = this.parseIdentifierIfPossible(), C = 0;
3490
- if (a !== "select" && Q.value === "offset") {
3532
+ var Z = this.parseIdentifierIfPossible(), C = 0;
3533
+ if (a !== "select" && Z.value === "offset") {
3491
3534
  if (!this.bumpIf(":"))
3492
3535
  return this.error(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, m(this.clonePosition(), this.clonePosition()));
3493
3536
  this.bumpSpace();
3494
3537
  var f = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3495
3538
  if (f.err)
3496
3539
  return f;
3497
- this.bumpSpace(), Q = this.parseIdentifierIfPossible(), C = f.val;
3540
+ this.bumpSpace(), Z = this.parseIdentifierIfPossible(), C = f.val;
3498
3541
  }
3499
- var se = this.tryParsePluralOrSelectOptions(t, a, r, Q);
3542
+ var se = this.tryParsePluralOrSelectOptions(t, a, r, Z);
3500
3543
  if (se.err)
3501
3544
  return se;
3502
3545
  var p = this.tryParseArgumentClose(i);
3503
3546
  if (p.err)
3504
3547
  return p;
3505
- var qe = m(i, this.clonePosition());
3548
+ var tt = m(i, this.clonePosition());
3506
3549
  return a === "select" ? {
3507
3550
  val: {
3508
- type: _.select,
3551
+ type: v.select,
3509
3552
  value: n,
3510
- options: bt(se.val),
3511
- location: qe
3553
+ options: xt(se.val),
3554
+ location: tt
3512
3555
  },
3513
3556
  err: null
3514
3557
  } : {
3515
3558
  val: {
3516
- type: _.plural,
3559
+ type: v.plural,
3517
3560
  value: n,
3518
- options: bt(se.val),
3561
+ options: xt(se.val),
3519
3562
  offset: C,
3520
3563
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3521
- location: qe
3564
+ location: tt
3522
3565
  },
3523
3566
  err: null
3524
3567
  };
@@ -3566,16 +3609,16 @@ var Wn = (
3566
3609
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3567
3610
  var n = [];
3568
3611
  try {
3569
- n = Hn(t);
3612
+ n = In(t);
3570
3613
  } catch (i) {
3571
3614
  return this.error(d.INVALID_NUMBER_SKELETON, r);
3572
3615
  }
3573
3616
  return {
3574
3617
  val: {
3575
- type: k.number,
3618
+ type: j.number,
3576
3619
  tokens: n,
3577
3620
  location: r,
3578
- parsedOptions: this.shouldParseSkeletons ? On(n) : {}
3621
+ parsedOptions: this.shouldParseSkeletons ? Mn(n) : {}
3579
3622
  },
3580
3623
  err: null
3581
3624
  };
@@ -3600,9 +3643,9 @@ var Wn = (
3600
3643
  var p = this.parseMessage(t + 1, r, n);
3601
3644
  if (p.err)
3602
3645
  return p;
3603
- var v = this.tryParseArgumentClose(y);
3604
- if (v.err)
3605
- return v;
3646
+ var g = this.tryParseArgumentClose(y);
3647
+ if (g.err)
3648
+ return g;
3606
3649
  a.push([
3607
3650
  u,
3608
3651
  {
@@ -3623,7 +3666,7 @@ var Wn = (
3623
3666
  break;
3624
3667
  }
3625
3668
  var h = m(i, this.clonePosition());
3626
- return o ? (s *= n, jn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3669
+ return o ? (s *= n, zn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3627
3670
  }, e.prototype.offset = function() {
3628
3671
  return this.position.offset;
3629
3672
  }, e.prototype.isEOF = function() {
@@ -3638,7 +3681,7 @@ var Wn = (
3638
3681
  var t = this.position.offset;
3639
3682
  if (t >= this.message.length)
3640
3683
  throw Error("out of bound");
3641
- var r = Jt(this.message, t);
3684
+ var r = rr(this.message, t);
3642
3685
  if (r === void 0)
3643
3686
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3644
3687
  return r;
@@ -3657,7 +3700,7 @@ var Wn = (
3657
3700
  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);
3658
3701
  }
3659
3702
  }, e.prototype.bumpIf = function(t) {
3660
- if (mt(this.message, t, this.offset())) {
3703
+ if (_t(this.message, t, this.offset())) {
3661
3704
  for (var r = 0; r < t.length; r++)
3662
3705
  this.bump();
3663
3706
  return !0;
@@ -3679,7 +3722,7 @@ var Wn = (
3679
3722
  break;
3680
3723
  }
3681
3724
  }, e.prototype.bumpSpace = function() {
3682
- for (; !this.isEOF() && Kt(this.char()); )
3725
+ for (; !this.isEOF() && ir(this.char()); )
3683
3726
  this.bump();
3684
3727
  }, e.prototype.peek = function() {
3685
3728
  if (this.isEOF())
@@ -3689,47 +3732,47 @@ var Wn = (
3689
3732
  }, e;
3690
3733
  }()
3691
3734
  );
3692
- function ke(e) {
3735
+ function Ze(e) {
3693
3736
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3694
3737
  }
3695
- function zn(e) {
3696
- return ke(e) || e === 47;
3738
+ function Yn(e) {
3739
+ return Ze(e) || e === 47;
3697
3740
  }
3698
- function Zn(e) {
3741
+ function Kn(e) {
3699
3742
  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;
3700
3743
  }
3701
- function Kt(e) {
3744
+ function ir(e) {
3702
3745
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3703
3746
  }
3704
- function Qn(e) {
3747
+ function ei(e) {
3705
3748
  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;
3706
3749
  }
3707
- function Ve(e) {
3750
+ function Qe(e) {
3708
3751
  e.forEach(function(t) {
3709
- if (delete t.location, kt(t) || Vt(t))
3752
+ if (delete t.location, Zt(t) || Qt(t))
3710
3753
  for (var r in t.options)
3711
- delete t.options[r].location, Ve(t.options[r].value);
3754
+ delete t.options[r].location, Qe(t.options[r].value);
3712
3755
  else
3713
- Gt(t) && Wt(t.style) || (Ft(t) || jt(t)) && Ue(t.style) ? delete t.style.location : Xt(t) && Ve(t.children);
3756
+ Xt(t) && Jt(t.style) || (Wt(t) || zt(t)) && Ve(t.style) ? delete t.style.location : qt(t) && Qe(t.children);
3714
3757
  });
3715
3758
  }
3716
- function qn(e, t) {
3717
- t === void 0 && (t = {}), t = b({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3718
- var r = new Wn(e, t).parse();
3759
+ function ti(e, t) {
3760
+ t === void 0 && (t = {}), t = me({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3761
+ var r = new Jn(e, t).parse();
3719
3762
  if (r.err) {
3720
3763
  var n = SyntaxError(d[r.err.kind]);
3721
3764
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3722
3765
  }
3723
- return t != null && t.captureLocation || Ve(r.val), r.val;
3766
+ return t != null && t.captureLocation || Qe(r.val), r.val;
3724
3767
  }
3725
- var V;
3768
+ var k;
3726
3769
  (function(e) {
3727
3770
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3728
- })(V || (V = {}));
3729
- var ve = (
3771
+ })(k || (k = {}));
3772
+ var xe = (
3730
3773
  /** @class */
3731
3774
  function(e) {
3732
- O(t, e);
3775
+ _e(t, e);
3733
3776
  function t(r, n, i) {
3734
3777
  var o = e.call(this, r) || this;
3735
3778
  return o.code = n, o.originalMessage = i, o;
@@ -3738,48 +3781,48 @@ var ve = (
3738
3781
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3739
3782
  }, t;
3740
3783
  }(Error)
3741
- ), yt = (
3784
+ ), St = (
3742
3785
  /** @class */
3743
3786
  function(e) {
3744
- O(t, e);
3787
+ _e(t, e);
3745
3788
  function t(r, n, i, o) {
3746
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), V.INVALID_VALUE, o) || this;
3789
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), k.INVALID_VALUE, o) || this;
3747
3790
  }
3748
3791
  return t;
3749
- }(ve)
3750
- ), Jn = (
3792
+ }(xe)
3793
+ ), ri = (
3751
3794
  /** @class */
3752
3795
  function(e) {
3753
- O(t, e);
3796
+ _e(t, e);
3754
3797
  function t(r, n, i) {
3755
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), V.INVALID_VALUE, i) || this;
3798
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), k.INVALID_VALUE, i) || this;
3756
3799
  }
3757
3800
  return t;
3758
- }(ve)
3759
- ), Yn = (
3801
+ }(xe)
3802
+ ), ni = (
3760
3803
  /** @class */
3761
3804
  function(e) {
3762
- O(t, e);
3805
+ _e(t, e);
3763
3806
  function t(r, n) {
3764
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), V.MISSING_VALUE, n) || this;
3807
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), k.MISSING_VALUE, n) || this;
3765
3808
  }
3766
3809
  return t;
3767
- }(ve)
3810
+ }(xe)
3768
3811
  ), E;
3769
3812
  (function(e) {
3770
3813
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3771
3814
  })(E || (E = {}));
3772
- function Kn(e) {
3815
+ function ii(e) {
3773
3816
  return e.length < 2 ? e : e.reduce(function(t, r) {
3774
3817
  var n = t[t.length - 1];
3775
3818
  return !n || n.type !== E.literal || r.type !== E.literal ? t.push(r) : n.value += r.value, t;
3776
3819
  }, []);
3777
3820
  }
3778
- function ei(e) {
3821
+ function oi(e) {
3779
3822
  return typeof e == "function";
3780
3823
  }
3781
3824
  function pe(e, t, r, n, i, o, s) {
3782
- if (e.length === 1 && ft(e[0]))
3825
+ if (e.length === 1 && bt(e[0]))
3783
3826
  return [
3784
3827
  {
3785
3828
  type: E.literal,
@@ -3788,14 +3831,14 @@ function pe(e, t, r, n, i, o, s) {
3788
3831
  ];
3789
3832
  for (var a = [], h = 0, u = e; h < u.length; h++) {
3790
3833
  var l = u[h];
3791
- if (ft(l)) {
3834
+ if (bt(l)) {
3792
3835
  a.push({
3793
3836
  type: E.literal,
3794
3837
  value: l.value
3795
3838
  });
3796
3839
  continue;
3797
3840
  }
3798
- if (En(l)) {
3841
+ if (An(l)) {
3799
3842
  typeof o == "number" && a.push({
3800
3843
  type: E.literal,
3801
3844
  value: r.getNumberFormat(t).format(o)
@@ -3804,44 +3847,44 @@ function pe(e, t, r, n, i, o, s) {
3804
3847
  }
3805
3848
  var f = l.value;
3806
3849
  if (!(i && f in i))
3807
- throw new Yn(f, s);
3850
+ throw new ni(f, s);
3808
3851
  var c = i[f];
3809
- if (xn(l)) {
3852
+ if (Hn(l)) {
3810
3853
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3811
3854
  type: typeof c == "string" ? E.literal : E.object,
3812
3855
  value: c
3813
3856
  });
3814
3857
  continue;
3815
3858
  }
3816
- if (Ft(l)) {
3817
- var y = typeof l.style == "string" ? n.date[l.style] : Ue(l.style) ? l.style.parsedOptions : void 0;
3859
+ if (Wt(l)) {
3860
+ var y = typeof l.style == "string" ? n.date[l.style] : Ve(l.style) ? l.style.parsedOptions : void 0;
3818
3861
  a.push({
3819
3862
  type: E.literal,
3820
3863
  value: r.getDateTimeFormat(t, y).format(c)
3821
3864
  });
3822
3865
  continue;
3823
3866
  }
3824
- if (jt(l)) {
3825
- var y = typeof l.style == "string" ? n.time[l.style] : Ue(l.style) ? l.style.parsedOptions : n.time.medium;
3867
+ if (zt(l)) {
3868
+ var y = typeof l.style == "string" ? n.time[l.style] : Ve(l.style) ? l.style.parsedOptions : n.time.medium;
3826
3869
  a.push({
3827
3870
  type: E.literal,
3828
3871
  value: r.getDateTimeFormat(t, y).format(c)
3829
3872
  });
3830
3873
  continue;
3831
3874
  }
3832
- if (Gt(l)) {
3833
- var y = typeof l.style == "string" ? n.number[l.style] : Wt(l.style) ? l.style.parsedOptions : void 0;
3875
+ if (Xt(l)) {
3876
+ var y = typeof l.style == "string" ? n.number[l.style] : Jt(l.style) ? l.style.parsedOptions : void 0;
3834
3877
  y && y.scale && (c = c * (y.scale || 1)), a.push({
3835
3878
  type: E.literal,
3836
3879
  value: r.getNumberFormat(t, y).format(c)
3837
3880
  });
3838
3881
  continue;
3839
3882
  }
3840
- if (Xt(l)) {
3841
- var p = l.children, v = l.value, T = i[v];
3842
- if (!ei(T))
3843
- throw new Jn(v, "function", s);
3844
- var Z = pe(p, t, r, n, i, o), $ = T(Z.map(function(C) {
3883
+ if (qt(l)) {
3884
+ var p = l.children, g = l.value, S = i[g];
3885
+ if (!oi(S))
3886
+ throw new ri(g, "function", s);
3887
+ var z = pe(p, t, r, n, i, o), $ = S(z.map(function(C) {
3845
3888
  return C.value;
3846
3889
  }));
3847
3890
  Array.isArray($) || ($ = [$]), a.push.apply(a, $.map(function(C) {
@@ -3851,42 +3894,42 @@ function pe(e, t, r, n, i, o, s) {
3851
3894
  };
3852
3895
  }));
3853
3896
  }
3854
- if (kt(l)) {
3855
- var w = l.options[c] || l.options.other;
3856
- if (!w)
3857
- throw new yt(l.value, c, Object.keys(l.options), s);
3858
- a.push.apply(a, pe(w.value, t, r, n, i));
3897
+ if (Zt(l)) {
3898
+ var T = l.options[c] || l.options.other;
3899
+ if (!T)
3900
+ throw new St(l.value, c, Object.keys(l.options), s);
3901
+ a.push.apply(a, pe(T.value, t, r, n, i));
3859
3902
  continue;
3860
3903
  }
3861
- if (Vt(l)) {
3862
- var w = l.options["=".concat(c)];
3863
- if (!w) {
3904
+ if (Qt(l)) {
3905
+ var T = l.options["=".concat(c)];
3906
+ if (!T) {
3864
3907
  if (!Intl.PluralRules)
3865
- throw new ve(`Intl.PluralRules is not available in this environment.
3908
+ throw new xe(`Intl.PluralRules is not available in this environment.
3866
3909
  Try polyfilling it using "@formatjs/intl-pluralrules"
3867
- `, V.MISSING_INTL_API, s);
3868
- var Q = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3869
- w = l.options[Q] || l.options.other;
3910
+ `, k.MISSING_INTL_API, s);
3911
+ var Z = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3912
+ T = l.options[Z] || l.options.other;
3870
3913
  }
3871
- if (!w)
3872
- throw new yt(l.value, c, Object.keys(l.options), s);
3873
- a.push.apply(a, pe(w.value, t, r, n, i, c - (l.offset || 0)));
3914
+ if (!T)
3915
+ throw new St(l.value, c, Object.keys(l.options), s);
3916
+ a.push.apply(a, pe(T.value, t, r, n, i, c - (l.offset || 0)));
3874
3917
  continue;
3875
3918
  }
3876
3919
  }
3877
- return Kn(a);
3920
+ return ii(a);
3878
3921
  }
3879
- function ti(e, t) {
3880
- return t ? b(b(b({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3881
- return r[n] = b(b({}, e[n]), t[n] || {}), r;
3922
+ function si(e, t) {
3923
+ return t ? H(H(H({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3924
+ return r[n] = H(H({}, e[n]), t[n] || {}), r;
3882
3925
  }, {})) : e;
3883
3926
  }
3884
- function ri(e, t) {
3927
+ function ai(e, t) {
3885
3928
  return t ? Object.keys(e).reduce(function(r, n) {
3886
- return r[n] = ti(e[n], t[n]), r;
3887
- }, b({}, e)) : e;
3929
+ return r[n] = si(e[n], t[n]), r;
3930
+ }, H({}, e)) : e;
3888
3931
  }
3889
- function Ae(e) {
3932
+ function Ie(e) {
3890
3933
  return {
3891
3934
  create: function() {
3892
3935
  return {
@@ -3900,39 +3943,39 @@ function Ae(e) {
3900
3943
  }
3901
3944
  };
3902
3945
  }
3903
- function ni(e) {
3946
+ function ui(e) {
3904
3947
  return e === void 0 && (e = {
3905
3948
  number: {},
3906
3949
  dateTime: {},
3907
3950
  pluralRules: {}
3908
3951
  }), {
3909
- getNumberFormat: we(function() {
3952
+ getNumberFormat: Be(function() {
3910
3953
  for (var t, r = [], n = 0; n < arguments.length; n++)
3911
3954
  r[n] = arguments[n];
3912
- return new ((t = Intl.NumberFormat).bind.apply(t, F([void 0], r, !1)))();
3955
+ return new ((t = Intl.NumberFormat).bind.apply(t, Ae([void 0], r, !1)))();
3913
3956
  }, {
3914
- cache: Ae(e.number),
3915
- strategy: He.variadic
3957
+ cache: Ie(e.number),
3958
+ strategy: Pe.variadic
3916
3959
  }),
3917
- getDateTimeFormat: we(function() {
3960
+ getDateTimeFormat: Be(function() {
3918
3961
  for (var t, r = [], n = 0; n < arguments.length; n++)
3919
3962
  r[n] = arguments[n];
3920
- return new ((t = Intl.DateTimeFormat).bind.apply(t, F([void 0], r, !1)))();
3963
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Ae([void 0], r, !1)))();
3921
3964
  }, {
3922
- cache: Ae(e.dateTime),
3923
- strategy: He.variadic
3965
+ cache: Ie(e.dateTime),
3966
+ strategy: Pe.variadic
3924
3967
  }),
3925
- getPluralRules: we(function() {
3968
+ getPluralRules: Be(function() {
3926
3969
  for (var t, r = [], n = 0; n < arguments.length; n++)
3927
3970
  r[n] = arguments[n];
3928
- return new ((t = Intl.PluralRules).bind.apply(t, F([void 0], r, !1)))();
3971
+ return new ((t = Intl.PluralRules).bind.apply(t, Ae([void 0], r, !1)))();
3929
3972
  }, {
3930
- cache: Ae(e.pluralRules),
3931
- strategy: He.variadic
3973
+ cache: Ie(e.pluralRules),
3974
+ strategy: Pe.variadic
3932
3975
  })
3933
3976
  };
3934
3977
  }
3935
- var ii = (
3978
+ var hi = (
3936
3979
  /** @class */
3937
3980
  function() {
3938
3981
  function e(t, r, n, i) {
@@ -3964,13 +4007,13 @@ var ii = (
3964
4007
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3965
4008
  var s = i || {};
3966
4009
  s.formatters;
3967
- var a = $r(s, ["formatters"]);
3968
- this.ast = e.__parse(t, b(b({}, a), { locale: this.resolvedLocale }));
4010
+ var a = gn(s, ["formatters"]);
4011
+ this.ast = e.__parse(t, H(H({}, a), { locale: this.resolvedLocale }));
3969
4012
  } else
3970
4013
  this.ast = t;
3971
4014
  if (!Array.isArray(this.ast))
3972
4015
  throw new TypeError("A message must be provided as a String or AST.");
3973
- this.formats = ri(e.formats, n), this.formatters = i && i.formatters || ni(this.formatterCache);
4016
+ this.formats = ai(e.formats, n), this.formatters = i && i.formatters || ui(this.formatterCache);
3974
4017
  }
3975
4018
  return Object.defineProperty(e, "defaultLocale", {
3976
4019
  get: function() {
@@ -3983,7 +4026,7 @@ var ii = (
3983
4026
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3984
4027
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3985
4028
  }
3986
- }, e.__parse = qn, e.formats = {
4029
+ }, e.__parse = ti, e.formats = {
3987
4030
  number: {
3988
4031
  integer: {
3989
4032
  maximumFractionDigits: 0
@@ -4044,7 +4087,7 @@ var ii = (
4044
4087
  }, e;
4045
4088
  }()
4046
4089
  );
4047
- function oi(e, t) {
4090
+ function li(e, t) {
4048
4091
  if (t == null)
4049
4092
  return;
4050
4093
  if (t in e)
@@ -4065,92 +4108,92 @@ function oi(e, t) {
4065
4108
  n = void 0;
4066
4109
  return n;
4067
4110
  }
4068
- const I = {}, si = (e, t, r) => r && (t in I || (I[t] = {}), e in I[t] || (I[t][e] = r), r), er = (e, t) => {
4111
+ const I = {}, fi = (e, t, r) => r && (t in I || (I[t] = {}), e in I[t] || (I[t][e] = r), r), or = (e, t) => {
4069
4112
  if (t == null)
4070
4113
  return;
4071
4114
  if (t in I && e in I[t])
4072
4115
  return I[t][e];
4073
- const r = _e(t);
4116
+ const r = Ee(t);
4074
4117
  for (let n = 0; n < r.length; n++) {
4075
- const i = r[n], o = ui(i, e);
4118
+ const i = r[n], o = pi(i, e);
4076
4119
  if (o)
4077
- return si(e, t, o);
4120
+ return fi(e, t, o);
4078
4121
  }
4079
4122
  };
4080
- let Ze;
4081
- const ie = ye({});
4082
- function ai(e) {
4083
- return Ze[e] || null;
4123
+ let Ke;
4124
+ const ie = ve({});
4125
+ function ci(e) {
4126
+ return Ke[e] || null;
4084
4127
  }
4085
- function tr(e) {
4086
- return e in Ze;
4128
+ function sr(e) {
4129
+ return e in Ke;
4087
4130
  }
4088
- function ui(e, t) {
4089
- if (!tr(e))
4131
+ function pi(e, t) {
4132
+ if (!sr(e))
4090
4133
  return null;
4091
- const r = ai(e);
4092
- return oi(r, t);
4134
+ const r = ci(e);
4135
+ return li(r, t);
4093
4136
  }
4094
- function hi(e) {
4137
+ function di(e) {
4095
4138
  if (e == null)
4096
4139
  return;
4097
- const t = _e(e);
4140
+ const t = Ee(e);
4098
4141
  for (let r = 0; r < t.length; r++) {
4099
4142
  const n = t[r];
4100
- if (tr(n))
4143
+ if (sr(n))
4101
4144
  return n;
4102
4145
  }
4103
4146
  }
4104
- function li(e, ...t) {
4105
- delete I[e], ie.update((r) => (r[e] = pn.all([r[e] || {}, ...t]), r));
4147
+ function mi(e, ...t) {
4148
+ delete I[e], ie.update((r) => (r[e] = yn.all([r[e] || {}, ...t]), r));
4106
4149
  }
4107
- W(
4150
+ X(
4108
4151
  [ie],
4109
4152
  ([e]) => Object.keys(e)
4110
4153
  );
4111
- ie.subscribe((e) => Ze = e);
4154
+ ie.subscribe((e) => Ke = e);
4112
4155
  const de = {};
4113
- function fi(e, t) {
4156
+ function bi(e, t) {
4114
4157
  de[e].delete(t), de[e].size === 0 && delete de[e];
4115
4158
  }
4116
- function rr(e) {
4159
+ function ar(e) {
4117
4160
  return de[e];
4118
4161
  }
4119
- function ci(e) {
4120
- return _e(e).map((t) => {
4121
- const r = rr(t);
4162
+ function yi(e) {
4163
+ return Ee(e).map((t) => {
4164
+ const r = ar(t);
4122
4165
  return [t, r ? [...r] : []];
4123
4166
  }).filter(([, t]) => t.length > 0);
4124
4167
  }
4125
- function Xe(e) {
4126
- return e == null ? !1 : _e(e).some(
4168
+ function qe(e) {
4169
+ return e == null ? !1 : Ee(e).some(
4127
4170
  (t) => {
4128
4171
  var r;
4129
- return (r = rr(t)) == null ? void 0 : r.size;
4172
+ return (r = ar(t)) == null ? void 0 : r.size;
4130
4173
  }
4131
4174
  );
4132
4175
  }
4133
- function pi(e, t) {
4176
+ function gi(e, t) {
4134
4177
  return Promise.all(
4135
- t.map((n) => (fi(e, n), n().then((i) => i.default || i)))
4136
- ).then((n) => li(e, ...n));
4137
- }
4138
- const q = {};
4139
- function nr(e) {
4140
- if (!Xe(e))
4141
- return e in q ? q[e] : Promise.resolve();
4142
- const t = ci(e);
4143
- return q[e] = Promise.all(
4178
+ t.map((n) => (bi(e, n), n().then((i) => i.default || i)))
4179
+ ).then((n) => mi(e, ...n));
4180
+ }
4181
+ const Q = {};
4182
+ function ur(e) {
4183
+ if (!qe(e))
4184
+ return e in Q ? Q[e] : Promise.resolve();
4185
+ const t = yi(e);
4186
+ return Q[e] = Promise.all(
4144
4187
  t.map(
4145
- ([r, n]) => pi(r, n)
4188
+ ([r, n]) => gi(r, n)
4146
4189
  )
4147
4190
  ).then(() => {
4148
- if (Xe(e))
4149
- return nr(e);
4150
- delete q[e];
4151
- }), q[e];
4191
+ if (qe(e))
4192
+ return ur(e);
4193
+ delete Q[e];
4194
+ }), Q[e];
4152
4195
  }
4153
- const di = {
4196
+ const vi = {
4154
4197
  number: {
4155
4198
  scientific: { notation: "scientific" },
4156
4199
  engineering: { notation: "engineering" },
@@ -4179,135 +4222,135 @@ const di = {
4179
4222
  timeZoneName: "short"
4180
4223
  }
4181
4224
  }
4182
- }, mi = {
4225
+ }, _i = {
4183
4226
  fallbackLocale: null,
4184
4227
  loadingDelay: 200,
4185
- formats: di,
4228
+ formats: vi,
4186
4229
  warnOnMissingMessages: !0,
4187
4230
  handleMissingMessage: void 0,
4188
4231
  ignoreTag: !0
4189
- }, bi = mi;
4190
- function X() {
4191
- return bi;
4232
+ }, xi = _i;
4233
+ function V() {
4234
+ return xi;
4192
4235
  }
4193
- const Pe = ye(!1);
4194
- var gi = Object.defineProperty, yi = Object.defineProperties, vi = Object.getOwnPropertyDescriptors, vt = Object.getOwnPropertySymbols, _i = Object.prototype.hasOwnProperty, xi = Object.prototype.propertyIsEnumerable, _t = (e, t, r) => t in e ? gi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ei = (e, t) => {
4236
+ const Ce = ve(!1);
4237
+ var Ei = Object.defineProperty, Si = Object.defineProperties, wi = Object.getOwnPropertyDescriptors, wt = Object.getOwnPropertySymbols, Ti = Object.prototype.hasOwnProperty, Hi = Object.prototype.propertyIsEnumerable, Tt = (e, t, r) => t in e ? Ei(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ai = (e, t) => {
4195
4238
  for (var r in t || (t = {}))
4196
- _i.call(t, r) && _t(e, r, t[r]);
4197
- if (vt)
4198
- for (var r of vt(t))
4199
- xi.call(t, r) && _t(e, r, t[r]);
4239
+ Ti.call(t, r) && Tt(e, r, t[r]);
4240
+ if (wt)
4241
+ for (var r of wt(t))
4242
+ Hi.call(t, r) && Tt(e, r, t[r]);
4200
4243
  return e;
4201
- }, Ti = (e, t) => yi(e, vi(t));
4202
- let We;
4203
- const me = ye(null);
4204
- function xt(e) {
4244
+ }, Bi = (e, t) => Si(e, wi(t));
4245
+ let Je;
4246
+ const be = ve(null);
4247
+ function Ht(e) {
4205
4248
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4206
4249
  }
4207
- function _e(e, t = X().fallbackLocale) {
4208
- const r = xt(e);
4209
- return t ? [.../* @__PURE__ */ new Set([...r, ...xt(t)])] : r;
4250
+ function Ee(e, t = V().fallbackLocale) {
4251
+ const r = Ht(e);
4252
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Ht(t)])] : r;
4210
4253
  }
4211
4254
  function M() {
4212
- return We != null ? We : void 0;
4255
+ return Je != null ? Je : void 0;
4213
4256
  }
4214
- me.subscribe((e) => {
4215
- We = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4257
+ be.subscribe((e) => {
4258
+ Je = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4216
4259
  });
4217
- const Si = (e) => {
4218
- if (e && hi(e) && Xe(e)) {
4219
- const { loadingDelay: t } = X();
4260
+ const Pi = (e) => {
4261
+ if (e && di(e) && qe(e)) {
4262
+ const { loadingDelay: t } = V();
4220
4263
  let r;
4221
4264
  return typeof window != "undefined" && M() != null && t ? r = window.setTimeout(
4222
- () => Pe.set(!0),
4265
+ () => Ce.set(!0),
4223
4266
  t
4224
- ) : Pe.set(!0), nr(e).then(() => {
4225
- me.set(e);
4267
+ ) : Ce.set(!0), ur(e).then(() => {
4268
+ be.set(e);
4226
4269
  }).finally(() => {
4227
- clearTimeout(r), Pe.set(!1);
4270
+ clearTimeout(r), Ce.set(!1);
4228
4271
  });
4229
4272
  }
4230
- return me.set(e);
4231
- }, oe = Ti(Ei({}, me), {
4232
- set: Si
4233
- }), xe = (e) => {
4273
+ return be.set(e);
4274
+ }, oe = Bi(Ai({}, be), {
4275
+ set: Pi
4276
+ }), Se = (e) => {
4234
4277
  const t = /* @__PURE__ */ Object.create(null);
4235
4278
  return (n) => {
4236
4279
  const i = JSON.stringify(n);
4237
4280
  return i in t ? t[i] : t[i] = e(n);
4238
4281
  };
4239
4282
  };
4240
- var wi = Object.defineProperty, be = Object.getOwnPropertySymbols, ir = Object.prototype.hasOwnProperty, or = Object.prototype.propertyIsEnumerable, Et = (e, t, r) => t in e ? wi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Qe = (e, t) => {
4283
+ var Oi = Object.defineProperty, ye = Object.getOwnPropertySymbols, hr = Object.prototype.hasOwnProperty, lr = Object.prototype.propertyIsEnumerable, At = (e, t, r) => t in e ? Oi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, et = (e, t) => {
4241
4284
  for (var r in t || (t = {}))
4242
- ir.call(t, r) && Et(e, r, t[r]);
4243
- if (be)
4244
- for (var r of be(t))
4245
- or.call(t, r) && Et(e, r, t[r]);
4285
+ hr.call(t, r) && At(e, r, t[r]);
4286
+ if (ye)
4287
+ for (var r of ye(t))
4288
+ lr.call(t, r) && At(e, r, t[r]);
4246
4289
  return e;
4247
- }, z = (e, t) => {
4290
+ }, W = (e, t) => {
4248
4291
  var r = {};
4249
4292
  for (var n in e)
4250
- ir.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4251
- if (e != null && be)
4252
- for (var n of be(e))
4253
- t.indexOf(n) < 0 && or.call(e, n) && (r[n] = e[n]);
4293
+ hr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4294
+ if (e != null && ye)
4295
+ for (var n of ye(e))
4296
+ t.indexOf(n) < 0 && lr.call(e, n) && (r[n] = e[n]);
4254
4297
  return r;
4255
4298
  };
4256
- const te = (e, t) => {
4257
- const { formats: r } = X();
4299
+ const ee = (e, t) => {
4300
+ const { formats: r } = V();
4258
4301
  if (e in r && t in r[e])
4259
4302
  return r[e][t];
4260
4303
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4261
- }, Hi = xe(
4304
+ }, Ii = Se(
4262
4305
  (e) => {
4263
- var t = e, { locale: r, format: n } = t, i = z(t, ["locale", "format"]);
4306
+ var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
4264
4307
  if (r == null)
4265
4308
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4266
- return n && (i = te("number", n)), new Intl.NumberFormat(r, i);
4309
+ return n && (i = ee("number", n)), new Intl.NumberFormat(r, i);
4267
4310
  }
4268
- ), Bi = xe(
4311
+ ), Ci = Se(
4269
4312
  (e) => {
4270
- var t = e, { locale: r, format: n } = t, i = z(t, ["locale", "format"]);
4313
+ var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
4271
4314
  if (r == null)
4272
4315
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4273
- return n ? i = te("date", n) : Object.keys(i).length === 0 && (i = te("date", "short")), new Intl.DateTimeFormat(r, i);
4316
+ return n ? i = ee("date", n) : Object.keys(i).length === 0 && (i = ee("date", "short")), new Intl.DateTimeFormat(r, i);
4274
4317
  }
4275
- ), Ai = xe(
4318
+ ), Ni = Se(
4276
4319
  (e) => {
4277
- var t = e, { locale: r, format: n } = t, i = z(t, ["locale", "format"]);
4320
+ var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
4278
4321
  if (r == null)
4279
4322
  throw new Error(
4280
4323
  '[svelte-i18n] A "locale" must be set to format time values'
4281
4324
  );
4282
- return n ? i = te("time", n) : Object.keys(i).length === 0 && (i = te("time", "short")), new Intl.DateTimeFormat(r, i);
4325
+ return n ? i = ee("time", n) : Object.keys(i).length === 0 && (i = ee("time", "short")), new Intl.DateTimeFormat(r, i);
4283
4326
  }
4284
- ), Pi = (e = {}) => {
4327
+ ), Li = (e = {}) => {
4285
4328
  var t = e, {
4286
4329
  locale: r = M()
4287
- } = t, n = z(t, [
4330
+ } = t, n = W(t, [
4288
4331
  "locale"
4289
4332
  ]);
4290
- return Hi(Qe({ locale: r }, n));
4291
- }, Oi = (e = {}) => {
4333
+ return Ii(et({ locale: r }, n));
4334
+ }, Mi = (e = {}) => {
4292
4335
  var t = e, {
4293
4336
  locale: r = M()
4294
- } = t, n = z(t, [
4337
+ } = t, n = W(t, [
4295
4338
  "locale"
4296
4339
  ]);
4297
- return Bi(Qe({ locale: r }, n));
4298
- }, Ii = (e = {}) => {
4340
+ return Ci(et({ locale: r }, n));
4341
+ }, $i = (e = {}) => {
4299
4342
  var t = e, {
4300
4343
  locale: r = M()
4301
- } = t, n = z(t, [
4344
+ } = t, n = W(t, [
4302
4345
  "locale"
4303
4346
  ]);
4304
- return Ai(Qe({ locale: r }, n));
4305
- }, Ci = xe(
4347
+ return Ni(et({ locale: r }, n));
4348
+ }, Ri = Se(
4306
4349
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4307
- (e, t = M()) => new ii(e, t, X().formats, {
4308
- ignoreTag: X().ignoreTag
4350
+ (e, t = M()) => new hi(e, t, V().formats, {
4351
+ ignoreTag: V().ignoreTag
4309
4352
  })
4310
- ), Ni = (e, t = {}) => {
4353
+ ), Di = (e, t = {}) => {
4311
4354
  var r, n, i, o;
4312
4355
  let s = t;
4313
4356
  typeof e == "object" && (s = e, e = s.id);
@@ -4320,9 +4363,9 @@ const te = (e, t) => {
4320
4363
  throw new Error(
4321
4364
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4322
4365
  );
4323
- let l = er(e, h);
4366
+ let l = or(e, h);
4324
4367
  if (!l)
4325
- l = (o = (i = (n = (r = X()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4368
+ 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;
4326
4369
  else if (typeof l != "string")
4327
4370
  return console.warn(
4328
4371
  `[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.`
@@ -4331,7 +4374,7 @@ const te = (e, t) => {
4331
4374
  return l;
4332
4375
  let f = l;
4333
4376
  try {
4334
- f = Ci(l, h).format(a);
4377
+ f = Ri(l, h).format(a);
4335
4378
  } catch (c) {
4336
4379
  c instanceof Error && console.warn(
4337
4380
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4339,20 +4382,20 @@ const te = (e, t) => {
4339
4382
  );
4340
4383
  }
4341
4384
  return f;
4342
- }, Li = (e, t) => Ii(t).format(e), Mi = (e, t) => Oi(t).format(e), $i = (e, t) => Pi(t).format(e), Ri = (e, t = M()) => er(e, t), so = W([oe, ie], () => Ni);
4343
- W([oe], () => Li);
4344
- W([oe], () => Mi);
4345
- W([oe], () => $i);
4346
- W([oe, ie], () => Ri);
4347
- window.emWidgets = { topic: qr };
4348
- const Di = (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)), ao = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4349
- function Ui(e, t) {
4385
+ }, Ui = (e, t) => $i(t).format(e), Gi = (e, t) => Mi(t).format(e), Fi = (e, t) => Li(t).format(e), ji = (e, t = M()) => or(e, t), fo = X([oe, ie], () => Di);
4386
+ X([oe], () => Ui);
4387
+ X([oe], () => Gi);
4388
+ X([oe], () => Fi);
4389
+ X([oe, ie], () => ji);
4390
+ window.emWidgets = { topic: en };
4391
+ const ki = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), co = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4392
+ function Vi(e, t) {
4350
4393
  if (e) {
4351
4394
  const r = document.createElement("style");
4352
4395
  r.innerHTML = t, e.appendChild(r);
4353
4396
  }
4354
4397
  }
4355
- function Gi(e, t) {
4398
+ function Xi(e, t) {
4356
4399
  const r = new URL(t);
4357
4400
  fetch(r.href).then((n) => n.text()).then((n) => {
4358
4401
  const i = document.createElement("style");
@@ -4361,7 +4404,7 @@ function Gi(e, t) {
4361
4404
  console.error("There was an error while trying to load client styling from URL", n);
4362
4405
  });
4363
4406
  }
4364
- function Fi(e, t, r) {
4407
+ function Wi(e, t, r) {
4365
4408
  if (window.emMessageBus) {
4366
4409
  const n = document.createElement("style");
4367
4410
  window.emMessageBus.subscribe(t, (i) => {
@@ -4369,27 +4412,27 @@ function Fi(e, t, r) {
4369
4412
  });
4370
4413
  }
4371
4414
  }
4372
- function ji(e) {
4373
- dr(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)}");
4415
+ function zi(e) {
4416
+ vr(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)}");
4374
4417
  }
4375
- function Tt(e) {
4418
+ function Bt(e) {
4376
4419
  let t, r, n, i, o, s, a;
4377
4420
  function h(f, c) {
4378
4421
  return (
4379
4422
  /*collapsed*/
4380
- f[3] ? ki : Vi
4423
+ f[3] ? Zi : Qi
4381
4424
  );
4382
4425
  }
4383
4426
  let u = h(e), l = u(e);
4384
4427
  return {
4385
4428
  c() {
4386
- t = B("div"), r = B("p"), n = ze(
4429
+ t = B("div"), r = B("p"), n = Ye(
4387
4430
  /*title*/
4388
4431
  e[0]
4389
- ), i = At(), o = B("div"), l.c(), g(r, "class", "Title"), g(r, "part", "Title"), g(o, "class", "CollapseButtonDetails"), g(o, "part", "CollapseButtonDetails"), g(t, "class", "DetailsTitle"), g(t, "part", "DetailsTitle");
4432
+ ), i = Nt(), o = B("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");
4390
4433
  },
4391
4434
  m(f, c) {
4392
- L(f, t, c), H(t, r), H(r, n), H(t, i), H(t, o), l.m(o, null), s || (a = Oe(
4435
+ L(f, t, c), A(t, r), A(r, n), A(t, i), A(t, o), l.m(o, null), s || (a = Ne(
4393
4436
  t,
4394
4437
  "click",
4395
4438
  /*collapseText*/
@@ -4398,53 +4441,53 @@ function Tt(e) {
4398
4441
  },
4399
4442
  p(f, c) {
4400
4443
  c & /*title*/
4401
- 1 && yr(
4444
+ 1 && Sr(
4402
4445
  n,
4403
4446
  /*title*/
4404
4447
  f[0]
4405
4448
  ), u !== (u = h(f)) && (l.d(1), l = u(f), l && (l.c(), l.m(o, null)));
4406
4449
  },
4407
4450
  d(f) {
4408
- f && P(t), l.d(), s = !1, a();
4451
+ f && O(t), l.d(), s = !1, a();
4409
4452
  }
4410
4453
  };
4411
4454
  }
4412
- function ki(e) {
4455
+ function Zi(e) {
4413
4456
  let t, r;
4414
4457
  return {
4415
4458
  c() {
4416
- t = Y("svg"), r = Y("path"), g(r, "d", "M6 9l6 6 6-6"), g(t, "xmlns", "http://www.w3.org/2000/svg"), g(t, "width", "24"), g(t, "height", "24"), g(t, "viewBox", "0 0 24 24"), g(t, "fill", "none"), g(t, "stroke", "#ffffff"), g(t, "stroke-width", "2"), g(t, "stroke-linecap", "round"), g(t, "stroke-linejoin", "round");
4459
+ t = J("svg"), r = J("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");
4417
4460
  },
4418
4461
  m(n, i) {
4419
- L(n, t, i), H(t, r);
4462
+ L(n, t, i), A(t, r);
4420
4463
  },
4421
4464
  d(n) {
4422
- n && P(t);
4465
+ n && O(t);
4423
4466
  }
4424
4467
  };
4425
4468
  }
4426
- function Vi(e) {
4469
+ function Qi(e) {
4427
4470
  let t, r;
4428
4471
  return {
4429
4472
  c() {
4430
- t = Y("svg"), r = Y("path"), g(r, "d", "M18 15l-6-6-6 6"), g(t, "xmlns", "http://www.w3.org/2000/svg"), g(t, "width", "24"), g(t, "height", "24"), g(t, "viewBox", "0 0 24 24"), g(t, "fill", "none"), g(t, "stroke", "#ffffff"), g(t, "stroke-width", "2"), g(t, "stroke-linecap", "round"), g(t, "stroke-linejoin", "round");
4473
+ t = J("svg"), r = J("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");
4431
4474
  },
4432
4475
  m(n, i) {
4433
- L(n, t, i), H(t, r);
4476
+ L(n, t, i), A(t, r);
4434
4477
  },
4435
4478
  d(n) {
4436
- n && P(t);
4479
+ n && O(t);
4437
4480
  }
4438
4481
  };
4439
4482
  }
4440
- function St(e) {
4483
+ function Pt(e) {
4441
4484
  let t, r, n, i;
4442
4485
  return {
4443
4486
  c() {
4444
- t = B("div"), t.innerHTML = "", g(t, "class", "DetailsContent sc"), g(t, "part", "DetailsContent");
4487
+ t = B("div"), t.innerHTML = "", b(t, "class", "DetailsContent sc"), b(t, "part", "DetailsContent");
4445
4488
  },
4446
4489
  m(o, s) {
4447
- L(o, t, s), n || (i = pr(r = /*setContent*/
4490
+ L(o, t, s), n || (i = gr(r = /*setContent*/
4448
4491
  e[6].call(
4449
4492
  null,
4450
4493
  t,
@@ -4453,7 +4496,7 @@ function St(e) {
4453
4496
  )), n = !0);
4454
4497
  },
4455
4498
  p(o, s) {
4456
- r && ne(r.update) && s & /*text*/
4499
+ r && re(r.update) && s & /*text*/
4457
4500
  2 && r.update.call(
4458
4501
  null,
4459
4502
  /*text*/
@@ -4461,54 +4504,54 @@ function St(e) {
4461
4504
  );
4462
4505
  },
4463
4506
  d(o) {
4464
- o && P(t), n = !1, i();
4507
+ o && O(t), n = !1, i();
4465
4508
  }
4466
4509
  };
4467
4510
  }
4468
- function Xi(e) {
4511
+ function qi(e) {
4469
4512
  let t, r, n = (
4470
4513
  /*title*/
4471
- e[0] && Tt(e)
4514
+ e[0] && Bt(e)
4472
4515
  ), i = (
4473
4516
  /*text*/
4474
4517
  e[1] && !/*collapsed*/
4475
- e[3] && St(e)
4518
+ e[3] && Pt(e)
4476
4519
  );
4477
4520
  return {
4478
4521
  c() {
4479
- t = B("div"), n && n.c(), r = At(), i && i.c(), g(t, "class", "DetailsCard " + (Di(
4522
+ t = B("div"), n && n.c(), r = Nt(), i && i.c(), b(t, "class", "DetailsCard " + (ki(
4480
4523
  /*userAgent*/
4481
4524
  e[4]
4482
- ) ? "Mobile" : "")), g(t, "part", "DetailsCard");
4525
+ ) ? "Mobile" : "")), b(t, "part", "DetailsCard");
4483
4526
  },
4484
4527
  m(o, s) {
4485
- L(o, t, s), n && n.m(t, null), H(t, r), i && i.m(t, null), e[10](t);
4528
+ L(o, t, s), n && n.m(t, null), A(t, r), i && i.m(t, null), e[10](t);
4486
4529
  },
4487
4530
  p(o, [s]) {
4488
4531
  /*title*/
4489
- o[0] ? n ? n.p(o, s) : (n = Tt(o), n.c(), n.m(t, r)) : n && (n.d(1), n = null), /*text*/
4532
+ o[0] ? n ? n.p(o, s) : (n = Bt(o), n.c(), n.m(t, r)) : n && (n.d(1), n = null), /*text*/
4490
4533
  o[1] && !/*collapsed*/
4491
- o[3] ? i ? i.p(o, s) : (i = St(o), i.c(), i.m(t, null)) : i && (i.d(1), i = null);
4534
+ o[3] ? i ? i.p(o, s) : (i = Pt(o), i.c(), i.m(t, null)) : i && (i.d(1), i = null);
4492
4535
  },
4493
- i: S,
4494
- o: S,
4536
+ i: w,
4537
+ o: w,
4495
4538
  d(o) {
4496
- o && P(t), n && n.d(), i && i.d(), e[10](null);
4539
+ o && O(t), n && n.d(), i && i.d(), e[10](null);
4497
4540
  }
4498
4541
  };
4499
4542
  }
4500
- function Wi(e, t, r) {
4543
+ function Ji(e, t, r) {
4501
4544
  let { title: n = "" } = t, { text: i = "" } = t, { mbsource: o } = t, { clientstyling: s = "" } = t, { clientstylingurl: a = "" } = t, h, u = !1, l = window.navigator.userAgent;
4502
4545
  const f = () => {
4503
4546
  r(3, u = !u);
4504
- }, c = (p, v) => {
4505
- let T = document.createElement("div");
4506
- T.innerHTML = v, p.append(T);
4547
+ }, c = (p, g) => {
4548
+ let S = document.createElement("div");
4549
+ S.innerHTML = g, p.append(S);
4507
4550
  };
4508
- xr(() => () => {
4551
+ Hr(() => () => {
4509
4552
  });
4510
4553
  function y(p) {
4511
- Ie[p ? "unshift" : "push"](() => {
4554
+ Le[p ? "unshift" : "push"](() => {
4512
4555
  h = p, r(2, h);
4513
4556
  });
4514
4557
  }
@@ -4516,9 +4559,9 @@ function Wi(e, t, r) {
4516
4559
  "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);
4517
4560
  }, e.$$.update = () => {
4518
4561
  e.$$.dirty & /*clientstyling, customStylingContainer*/
4519
- 260 && s && h && Ui(h, s), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4520
- 516 && a && h && Gi(h, a), e.$$.dirty & /*mbsource, customStylingContainer*/
4521
- 132 && o && h && Fi(h, `${o}.Style`);
4562
+ 260 && s && h && Vi(h, s), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4563
+ 516 && a && h && Xi(h, a), e.$$.dirty & /*mbsource, customStylingContainer*/
4564
+ 132 && o && h && Wi(h, `${o}.Style`);
4522
4565
  }, [
4523
4566
  n,
4524
4567
  i,
@@ -4533,14 +4576,14 @@ function Wi(e, t, r) {
4533
4576
  y
4534
4577
  ];
4535
4578
  }
4536
- class sr extends Nr {
4579
+ class fr extends Dr {
4537
4580
  constructor(t) {
4538
- super(), Ir(
4581
+ super(), $r(
4539
4582
  this,
4540
4583
  t,
4541
- Wi,
4542
- Xi,
4543
- Ht,
4584
+ Ji,
4585
+ qi,
4586
+ It,
4544
4587
  {
4545
4588
  title: 0,
4546
4589
  text: 1,
@@ -4548,7 +4591,7 @@ class sr extends Nr {
4548
4591
  clientstyling: 8,
4549
4592
  clientstylingurl: 9
4550
4593
  },
4551
- ji
4594
+ zi
4552
4595
  );
4553
4596
  }
4554
4597
  get title() {
@@ -4582,55 +4625,55 @@ class sr extends Nr {
4582
4625
  this.$$set({ clientstylingurl: t }), N();
4583
4626
  }
4584
4627
  }
4585
- Cr(sr, { title: {}, text: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
4586
- const uo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4628
+ Rr(fr, { title: {}, text: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
4629
+ const po = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4587
4630
  __proto__: null,
4588
- default: sr
4631
+ default: fr
4589
4632
  }, Symbol.toStringTag, { value: "Module" }));
4590
4633
  export {
4591
4634
  oe as $,
4592
- ao as A,
4593
- Ie as B,
4594
- Zi as C,
4595
- pr as D,
4596
- so as E,
4597
- Ui as F,
4598
- Gi as G,
4599
- Fi as H,
4600
- re as I,
4601
- ne as J,
4602
- Ki as K,
4603
- no as L,
4604
- to as M,
4605
- eo as N,
4606
- Ne as O,
4607
- ro as P,
4608
- uo as Q,
4609
- Nr as S,
4635
+ co as A,
4636
+ Le as B,
4637
+ Ki as C,
4638
+ gr as D,
4639
+ fo as E,
4640
+ Vi as F,
4641
+ Xi as G,
4642
+ Wi as H,
4643
+ te as I,
4644
+ re as J,
4645
+ io as K,
4646
+ uo as L,
4647
+ so as M,
4648
+ oo as N,
4649
+ $e as O,
4650
+ ao as P,
4651
+ po as Q,
4652
+ Dr as S,
4610
4653
  ie as a,
4611
- li as b,
4612
- oo as c,
4613
- Cr as d,
4614
- dr as e,
4654
+ mi as b,
4655
+ lo as c,
4656
+ Rr as d,
4657
+ vr as e,
4615
4658
  N as f,
4616
- P as g,
4617
- yr as h,
4618
- Ir as i,
4619
- Yi as j,
4620
- g as k,
4659
+ O as g,
4660
+ Sr as h,
4661
+ $r as i,
4662
+ no as j,
4663
+ b as k,
4621
4664
  L as l,
4622
- H as m,
4623
- S as n,
4624
- Oe as o,
4625
- At as p,
4665
+ A as m,
4666
+ w as n,
4667
+ Ne as o,
4668
+ Nt as p,
4626
4669
  B as q,
4627
- Y as r,
4628
- Ht as s,
4629
- ze as t,
4630
- Di as u,
4631
- Qi as v,
4632
- xr as w,
4633
- io as x,
4634
- qi as y,
4635
- Ji as z
4670
+ J as r,
4671
+ It as s,
4672
+ Ye as t,
4673
+ ki as u,
4674
+ eo as v,
4675
+ Hr as w,
4676
+ ho as x,
4677
+ to as y,
4678
+ ro as z
4636
4679
  };