@everymatrix/transaction-history-page 0.2.1 → 0.2.3

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 (45) hide show
  1. package/components/{CashierHeader-Cd_IQ7mb.js → CashierHeader-5zy8g8OM.js} +476 -474
  2. package/components/{CashierHeader-qz_r8eKP.js → CashierHeader-D8XyDtbQ.js} +319 -317
  3. package/components/CashierHeader-WepsG79s.cjs +21 -0
  4. package/components/{CashierPagination-Dtn30JhD.js → CashierPagination-BAxf9S89.js} +5 -5
  5. package/components/{CashierPagination-DV3fcnSK.js → CashierPagination-DS04u5aL.js} +5 -5
  6. package/components/{CashierPagination-Dy5h-yN8.cjs → CashierPagination-OH0bY8kI.cjs} +1 -1
  7. package/components/{CashierTransactionHistory-MlrB6EXC.js → CashierTransactionHistory-Bi_Dg1r7.js} +8 -8
  8. package/components/{CashierTransactionHistory-CauO_L5w.js → CashierTransactionHistory-D9vfwQXz.js} +8 -8
  9. package/components/{CashierTransactionHistory-B7sIQjnt.cjs → CashierTransactionHistory-DFJD2BIp.cjs} +1 -1
  10. package/components/{EmptyStateIcon-Q9-7CJOB.js → EmptyStateIcon-BKTXVMxl.js} +1 -1
  11. package/components/{EmptyStateIcon-idY3pDBO.cjs → EmptyStateIcon-BXdFAthb.cjs} +1 -1
  12. package/components/{EmptyStateIcon-jDakZhVG.js → EmptyStateIcon-BmntjMXF.js} +1 -1
  13. package/components/{Tooltip-DhUkqLNN.cjs → Tooltip-CH7HmcK4.cjs} +1 -1
  14. package/components/{Tooltip-DKtozLhD.js → Tooltip-WAE69Wpz.js} +1 -1
  15. package/components/{Tooltip-Dr1XhRao.js → Tooltip-XvNWUv3X.js} +1 -1
  16. package/components/{TransactionHistoryCalendar-DTbqYy5a.js → TransactionHistoryCalendar-0sP18oSc.js} +6 -6
  17. package/components/{TransactionHistoryCalendar-Bio5MK29.cjs → TransactionHistoryCalendar-CPC6t2gm.cjs} +1 -1
  18. package/components/{TransactionHistoryCalendar-Ctn_EFRl.js → TransactionHistoryCalendar-gsjAens0.js} +6 -6
  19. package/components/{TransactionHistoryPage-DhFOsjyi.cjs → TransactionHistoryPage-Bwb8fcJm.cjs} +1 -1
  20. package/components/{TransactionHistoryPage-CGKaGI5y.js → TransactionHistoryPage-DN_C6xIV.js} +38 -38
  21. package/components/{TransactionHistoryPage-BMs3Hr2J.js → TransactionHistoryPage-DOP2l34z.js} +37 -37
  22. package/components/{TxnStatusIcon-_G33oy6q.js → TxnStatusIcon-BkEEMoFp.js} +1 -1
  23. package/components/{TxnStatusIcon-BM7Yn9hb.cjs → TxnStatusIcon-CknmbHtX.cjs} +1 -1
  24. package/components/{TxnStatusIcon-CmwEsXbv.js → TxnStatusIcon-ajCxZslH.js} +1 -1
  25. package/components/{TxnTypeIcons-BwDBMPnO.js → TxnTypeIcons-D70zalMR.js} +1 -1
  26. package/components/{TxnTypeIcons-ClBY0FSw.cjs → TxnTypeIcons-DevbhR7w.cjs} +1 -1
  27. package/components/{TxnTypeIcons-rLnLSUqr.js → TxnTypeIcons-ETOHW7Tq.js} +1 -1
  28. package/es2015/transaction-history-page.cjs +1 -1
  29. package/es2015/transaction-history-page.js +1 -1
  30. package/esnext/transaction-history-page.js +1 -1
  31. package/package.json +1 -1
  32. package/stencil/index-97d17652-BgKdDb-e.cjs +1 -0
  33. package/stencil/{index-97d17652-DJqGt8q2.js → index-97d17652-C7V2DWFg.js} +147 -147
  34. package/stencil/{index-97d17652-BD-QREJe.js → index-97d17652-DIpvPU9H.js} +151 -151
  35. package/stencil/{ui-image-BW8AeEVd.js → ui-image-CYuYAlOX.js} +1 -1
  36. package/stencil/{ui-image-CX3MBBZL.js → ui-image-D3_FGUyo.js} +1 -1
  37. package/stencil/{ui-image-BMiZteNE.cjs → ui-image-DJWD4G-S.cjs} +1 -1
  38. package/stencil/{ui-image-b7b48fe5-2Ir9VtWc.js → ui-image-b7b48fe5-B-k0kWgx.js} +1 -1
  39. package/stencil/{ui-image-b7b48fe5-AJGQkQBu.js → ui-image-b7b48fe5-D8-wEkoZ.js} +1 -1
  40. package/stencil/{ui-image-b7b48fe5-pdIH5TBa.cjs → ui-image-b7b48fe5-yceZ9WkN.cjs} +1 -1
  41. package/stencil/{ui-image_2-_K8Pt3w9.js → ui-image_2-CzFe50WB.js} +2 -2
  42. package/stencil/{ui-image_2-BGf0VFLf.cjs → ui-image_2-Ha_4GYwN.cjs} +1 -1
  43. package/stencil/{ui-image_2-Dh5Eqdlm.js → ui-image_2-z5LhXZY2.js} +2 -2
  44. package/components/CashierHeader-fdmNbczy.cjs +0 -21
  45. package/stencil/index-97d17652-tiiCeQFu.cjs +0 -1
@@ -1,7 +1,7 @@
1
1
  function B() {
2
2
  }
3
- const At = (e) => e;
4
- function En(e, t) {
3
+ const St = (e) => e;
4
+ function xn(e, t) {
5
5
  for (const n in t)
6
6
  e[n] = t[n];
7
7
  return (
@@ -9,29 +9,29 @@ function En(e, t) {
9
9
  e
10
10
  );
11
11
  }
12
- function Ot(e) {
12
+ function At(e) {
13
13
  return e();
14
14
  }
15
- function it() {
15
+ function rt() {
16
16
  return /* @__PURE__ */ Object.create(null);
17
17
  }
18
18
  function I(e) {
19
- e.forEach(Ot);
19
+ e.forEach(At);
20
20
  }
21
21
  function se(e) {
22
22
  return typeof e == "function";
23
23
  }
24
- function Pt(e, t) {
24
+ function Ot(e, t) {
25
25
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
26
26
  }
27
27
  let he;
28
28
  function Wi(e, t) {
29
29
  return e === t ? !0 : (he || (he = document.createElement("a")), he.href = t, e === he.href);
30
30
  }
31
- function vn(e) {
31
+ function En(e) {
32
32
  return Object.keys(e).length === 0;
33
33
  }
34
- function Ct(e, ...t) {
34
+ function Pt(e, ...t) {
35
35
  if (e == null) {
36
36
  for (const r of t)
37
37
  r(void 0);
@@ -40,17 +40,17 @@ function Ct(e, ...t) {
40
40
  const n = e.subscribe(...t);
41
41
  return n.unsubscribe ? () => n.unsubscribe() : n;
42
42
  }
43
- function Hn(e, t, n) {
44
- e.$$.on_destroy.push(Ct(t, n));
43
+ function vn(e, t, n) {
44
+ e.$$.on_destroy.push(Pt(t, n));
45
45
  }
46
46
  function Se(e, t, n, r) {
47
47
  if (e) {
48
- const i = Lt(e, t, n, r);
48
+ const i = Ct(e, t, n, r);
49
49
  return e[0](i);
50
50
  }
51
51
  }
52
- function Lt(e, t, n, r) {
53
- return e[1] && r ? En(n.ctx.slice(), e[1](r(t))) : n.ctx;
52
+ function Ct(e, t, n, r) {
53
+ return e[1] && r ? xn(n.ctx.slice(), e[1](r(t))) : n.ctx;
54
54
  }
55
55
  function Ae(e, t, n, r) {
56
56
  if (e[2] && r) {
@@ -69,7 +69,7 @@ function Ae(e, t, n, r) {
69
69
  }
70
70
  function Oe(e, t, n, r, i, s) {
71
71
  if (i) {
72
- const a = Lt(t, n, r, s);
72
+ const a = Ct(t, n, r, s);
73
73
  e.p(a, i);
74
74
  }
75
75
  }
@@ -85,17 +85,17 @@ function Pe(e) {
85
85
  function Zi(e) {
86
86
  return e ?? "";
87
87
  }
88
- const Nt = typeof window < "u";
89
- let It = Nt ? () => window.performance.now() : () => Date.now(), qe = Nt ? (e) => requestAnimationFrame(e) : B;
88
+ const Lt = typeof window < "u";
89
+ let Nt = Lt ? () => window.performance.now() : () => Date.now(), qe = Lt ? (e) => requestAnimationFrame(e) : B;
90
90
  const j = /* @__PURE__ */ new Set();
91
- function Mt(e) {
91
+ function It(e) {
92
92
  j.forEach((t) => {
93
93
  t.c(e) || (j.delete(t), t.f());
94
- }), j.size !== 0 && qe(Mt);
94
+ }), j.size !== 0 && qe(It);
95
95
  }
96
- function $t(e) {
96
+ function Mt(e) {
97
97
  let t;
98
- return j.size === 0 && qe(Mt), {
98
+ return j.size === 0 && qe(It), {
99
99
  promise: new Promise((n) => {
100
100
  j.add(t = { c: e, f: n });
101
101
  }),
@@ -107,11 +107,11 @@ function $t(e) {
107
107
  function ge(e, t) {
108
108
  e.appendChild(t);
109
109
  }
110
- function wn(e, t, n) {
110
+ function Hn(e, t, n) {
111
111
  const r = Je(e);
112
112
  if (!r.getElementById(t)) {
113
113
  const i = $("style");
114
- i.id = t, i.textContent = n, Rt(r, i);
114
+ i.id = t, i.textContent = n, $t(r, i);
115
115
  }
116
116
  }
117
117
  function Je(e) {
@@ -124,11 +124,11 @@ function Je(e) {
124
124
  t
125
125
  ) : e.ownerDocument;
126
126
  }
127
- function Bn(e) {
127
+ function wn(e) {
128
128
  const t = $("style");
129
- return t.textContent = "/* empty */", Rt(Je(e), t), t.sheet;
129
+ return t.textContent = "/* empty */", $t(Je(e), t), t.sheet;
130
130
  }
131
- function Rt(e, t) {
131
+ function $t(e, t) {
132
132
  return ge(
133
133
  /** @type {Document} */
134
134
  e.head || e,
@@ -154,13 +154,13 @@ function qi(e) {
154
154
  function Ye(e) {
155
155
  return document.createTextNode(e);
156
156
  }
157
- function st() {
157
+ function it() {
158
158
  return Ye(" ");
159
159
  }
160
- function Ut() {
160
+ function Rt() {
161
161
  return Ye("");
162
162
  }
163
- function Dt(e, t, n, r) {
163
+ function Ut(e, t, n, r) {
164
164
  return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
165
165
  }
166
166
  function Z(e, t, n) {
@@ -170,10 +170,10 @@ function Ji(e, t, n) {
170
170
  const r = t.toLowerCase();
171
171
  r in e ? e[r] = typeof e[r] == "boolean" && n === "" ? !0 : n : t in e ? e[t] = typeof e[t] == "boolean" && n === "" ? !0 : n : Z(e, t, n);
172
172
  }
173
- function Tn(e) {
173
+ function Bn(e) {
174
174
  return Array.from(e.childNodes);
175
175
  }
176
- function Sn(e, t) {
176
+ function Tn(e, t) {
177
177
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
178
178
  t);
179
179
  }
@@ -183,10 +183,10 @@ function Yi(e, t, n, r) {
183
183
  function Ki(e, t, n) {
184
184
  e.classList.toggle(t, !!n);
185
185
  }
186
- function An(e, t, { bubbles: n = !1, cancelable: r = !1 } = {}) {
186
+ function Sn(e, t, { bubbles: n = !1, cancelable: r = !1 } = {}) {
187
187
  return new CustomEvent(e, { detail: t, bubbles: n, cancelable: r });
188
188
  }
189
- function On(e) {
189
+ function An(e) {
190
190
  const t = {};
191
191
  return e.childNodes.forEach(
192
192
  /** @param {Element} node */
@@ -197,17 +197,17 @@ function On(e) {
197
197
  }
198
198
  const be = /* @__PURE__ */ new Map();
199
199
  let _e = 0;
200
- function Pn(e) {
200
+ function On(e) {
201
201
  let t = 5381, n = e.length;
202
202
  for (; n--; )
203
203
  t = (t << 5) - t ^ e.charCodeAt(n);
204
204
  return t >>> 0;
205
205
  }
206
- function Cn(e, t) {
207
- const n = { stylesheet: Bn(t), rules: {} };
206
+ function Pn(e, t) {
207
+ const n = { stylesheet: wn(t), rules: {} };
208
208
  return be.set(e, n), n;
209
209
  }
210
- function Gt(e, t, n, r, i, s, a, o = 0) {
210
+ function Dt(e, t, n, r, i, s, a, o = 0) {
211
211
  const l = 16.666 / r;
212
212
  let u = `{
213
213
  `;
@@ -217,7 +217,7 @@ function Gt(e, t, n, r, i, s, a, o = 0) {
217
217
  `;
218
218
  }
219
219
  const h = u + `100% {${a(n, 1 - n)}}
220
- }`, f = `__svelte_${Pn(h)}_${o}`, m = Je(e), { stylesheet: d, rules: c } = be.get(m) || Cn(m, e);
220
+ }`, f = `__svelte_${On(h)}_${o}`, m = Je(e), { stylesheet: d, rules: c } = be.get(m) || Pn(m, e);
221
221
  c[f] || (c[f] = !0, d.insertRule(`@keyframes ${f} ${h}`, d.cssRules.length));
222
222
  const p = e.style.animation || "";
223
223
  return e.style.animation = `${p ? `${p}, ` : ""}${f} ${r}ms linear ${i}ms 1 both`, _e += 1, f;
@@ -227,9 +227,9 @@ function De(e, t) {
227
227
  t ? (s) => s.indexOf(t) < 0 : (s) => s.indexOf("__svelte") === -1
228
228
  // remove all Svelte animations
229
229
  ), i = n.length - r.length;
230
- i && (e.style.animation = r.join(", "), _e -= i, _e || Ln());
230
+ i && (e.style.animation = r.join(", "), _e -= i, _e || Cn());
231
231
  }
232
- function Ln() {
232
+ function Cn() {
233
233
  qe(() => {
234
234
  _e || (be.forEach((e) => {
235
235
  const { ownerNode: t } = e.stylesheet;
@@ -241,23 +241,23 @@ let te;
241
241
  function ee(e) {
242
242
  te = e;
243
243
  }
244
- function Nn() {
244
+ function Ln() {
245
245
  if (!te)
246
246
  throw new Error("Function called outside component initialization");
247
247
  return te;
248
248
  }
249
- function In(e) {
250
- Nn().$$.on_mount.push(e);
249
+ function Nn(e) {
250
+ Ln().$$.on_mount.push(e);
251
251
  }
252
252
  const F = [], Ge = [];
253
253
  let k = [];
254
- const ot = [], Ft = /* @__PURE__ */ Promise.resolve();
254
+ const st = [], Gt = /* @__PURE__ */ Promise.resolve();
255
255
  let Fe = !1;
256
- function jt() {
257
- Fe || (Fe = !0, Ft.then(A));
256
+ function Ft() {
257
+ Fe || (Fe = !0, Gt.then(A));
258
258
  }
259
259
  function es() {
260
- return jt(), Ft;
260
+ return Ft(), Gt;
261
261
  }
262
262
  function ne(e) {
263
263
  k.push(e);
@@ -272,7 +272,7 @@ function A() {
272
272
  try {
273
273
  for (; D < F.length; ) {
274
274
  const t = F[D];
275
- D++, ee(t), Mn(t.$$);
275
+ D++, ee(t), In(t.$$);
276
276
  }
277
277
  } catch (t) {
278
278
  throw F.length = 0, D = 0, t;
@@ -285,29 +285,29 @@ function A() {
285
285
  }
286
286
  k.length = 0;
287
287
  } while (F.length);
288
- for (; ot.length; )
289
- ot.pop()();
288
+ for (; st.length; )
289
+ st.pop()();
290
290
  Fe = !1, Ce.clear(), ee(e);
291
291
  }
292
- function Mn(e) {
292
+ function In(e) {
293
293
  if (e.fragment !== null) {
294
294
  e.update(), I(e.before_update);
295
295
  const t = e.dirty;
296
296
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ne);
297
297
  }
298
298
  }
299
- function $n(e) {
299
+ function Mn(e) {
300
300
  const t = [], n = [];
301
301
  k.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), k = t;
302
302
  }
303
303
  let J;
304
- function kt() {
304
+ function jt() {
305
305
  return J || (J = Promise.resolve(), J.then(() => {
306
306
  J = null;
307
307
  })), J;
308
308
  }
309
309
  function ye(e, t, n) {
310
- e.dispatchEvent(An(`${t ? "intro" : "outro"}${n}`));
310
+ e.dispatchEvent(Sn(`${t ? "intro" : "outro"}${n}`));
311
311
  }
312
312
  const fe = /* @__PURE__ */ new Set();
313
313
  let C;
@@ -335,7 +335,7 @@ function Le(e, t, n, r) {
335
335
  } else
336
336
  r && r();
337
337
  }
338
- const Vt = { duration: 0 };
338
+ const kt = { duration: 0 };
339
339
  function rs(e, t, n) {
340
340
  const r = { direction: "in" };
341
341
  let i = t(e, n, r), s = !1, a, o, l = 0;
@@ -346,13 +346,13 @@ function rs(e, t, n) {
346
346
  const {
347
347
  delay: m = 0,
348
348
  duration: d = 300,
349
- easing: c = At,
349
+ easing: c = St,
350
350
  tick: p = B,
351
351
  css: E
352
- } = i || Vt;
353
- E && (a = Gt(e, 0, 1, d, m, c, E, l++)), p(0, 1);
354
- const v = It() + m, T = v + d;
355
- o && o.abort(), s = !0, ne(() => ye(e, !0, "start")), o = $t((H) => {
352
+ } = i || kt;
353
+ E && (a = Dt(e, 0, 1, d, m, c, E, l++)), p(0, 1);
354
+ const v = Nt() + m, T = v + d;
355
+ o && o.abort(), s = !0, ne(() => ye(e, !0, "start")), o = Mt((H) => {
356
356
  if (s) {
357
357
  if (H >= T)
358
358
  return p(1, 0), ye(e, !0, "end"), u(), s = !1;
@@ -367,7 +367,7 @@ function rs(e, t, n) {
367
367
  let f = !1;
368
368
  return {
369
369
  start() {
370
- f || (f = !0, De(e), se(i) ? (i = i(r), kt().then(h)) : h());
370
+ f || (f = !0, De(e), se(i) ? (i = i(r), jt().then(h)) : h());
371
371
  },
372
372
  invalidate() {
373
373
  f = !1;
@@ -387,14 +387,14 @@ function is(e, t, n) {
387
387
  const {
388
388
  delay: h = 0,
389
389
  duration: f = 300,
390
- easing: m = At,
390
+ easing: m = St,
391
391
  tick: d = B,
392
392
  css: c
393
- } = i || Vt;
394
- c && (a = Gt(e, 1, 0, f, h, m, c));
395
- const p = It() + h, E = p + f;
393
+ } = i || kt;
394
+ c && (a = Dt(e, 1, 0, f, h, m, c));
395
+ const p = Nt() + h, E = p + f;
396
396
  ne(() => ye(e, !1, "start")), "inert" in e && (l = /** @type {HTMLElement} */
397
- e.inert, e.inert = !0), $t((v) => {
397
+ e.inert, e.inert = !0), Mt((v) => {
398
398
  if (s) {
399
399
  if (v >= E)
400
400
  return d(0, 1), ye(e, !1, "end"), --o.r || I(o.c), !1;
@@ -406,7 +406,7 @@ function is(e, t, n) {
406
406
  return s;
407
407
  });
408
408
  }
409
- return se(i) ? kt().then(() => {
409
+ return se(i) ? jt().then(() => {
410
410
  i = i(r), u();
411
411
  }) : u(), {
412
412
  end(h) {
@@ -420,21 +420,21 @@ function ss(e) {
420
420
  function os(e) {
421
421
  e && e.c();
422
422
  }
423
- function Rn(e, t, n) {
423
+ function $n(e, t, n) {
424
424
  const { fragment: r, after_update: i } = e.$$;
425
425
  r && r.m(t, n), ne(() => {
426
- const s = e.$$.on_mount.map(Ot).filter(se);
426
+ const s = e.$$.on_mount.map(At).filter(se);
427
427
  e.$$.on_destroy ? e.$$.on_destroy.push(...s) : I(s), e.$$.on_mount = [];
428
428
  }), i.forEach(ne);
429
429
  }
430
- function Un(e, t) {
430
+ function Rn(e, t) {
431
431
  const n = e.$$;
432
- n.fragment !== null && ($n(n.after_update), I(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
432
+ n.fragment !== null && (Mn(n.after_update), I(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
433
433
  }
434
- function Dn(e, t) {
435
- e.$$.dirty[0] === -1 && (F.push(e), jt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
434
+ function Un(e, t) {
435
+ e.$$.dirty[0] === -1 && (F.push(e), Ft(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
436
436
  }
437
- function Gn(e, t, n, r, i, s, a = null, o = [-1]) {
437
+ function Dn(e, t, n, r, i, s, a = null, o = [-1]) {
438
438
  const l = te;
439
439
  ee(e);
440
440
  const u = e.$$ = {
@@ -444,7 +444,7 @@ function Gn(e, t, n, r, i, s, a = null, o = [-1]) {
444
444
  props: s,
445
445
  update: B,
446
446
  not_equal: i,
447
- bound: it(),
447
+ bound: rt(),
448
448
  // lifecycle
449
449
  on_mount: [],
450
450
  on_destroy: [],
@@ -453,7 +453,7 @@ function Gn(e, t, n, r, i, s, a = null, o = [-1]) {
453
453
  after_update: [],
454
454
  context: new Map(t.context || (l ? l.$$.context : [])),
455
455
  // everything else
456
- callbacks: it(),
456
+ callbacks: rt(),
457
457
  dirty: o,
458
458
  skip_bound: !1,
459
459
  root: t.target || l.$$.root
@@ -462,19 +462,19 @@ function Gn(e, t, n, r, i, s, a = null, o = [-1]) {
462
462
  let h = !1;
463
463
  if (u.ctx = n ? n(e, t.props || {}, (f, m, ...d) => {
464
464
  const c = d.length ? d[0] : m;
465
- return u.ctx && i(u.ctx[f], u.ctx[f] = c) && (!u.skip_bound && u.bound[f] && u.bound[f](c), h && Dn(e, f)), m;
465
+ return u.ctx && i(u.ctx[f], u.ctx[f] = c) && (!u.skip_bound && u.bound[f] && u.bound[f](c), h && Un(e, f)), m;
466
466
  }) : [], u.update(), h = !0, I(u.before_update), u.fragment = r ? r(u.ctx) : !1, t.target) {
467
467
  if (t.hydrate) {
468
- const f = Tn(t.target);
468
+ const f = Bn(t.target);
469
469
  u.fragment && u.fragment.l(f), f.forEach(P);
470
470
  } else
471
471
  u.fragment && u.fragment.c();
472
- t.intro && ce(e.$$.fragment), Rn(e, t.target, t.anchor), A();
472
+ t.intro && ce(e.$$.fragment), $n(e, t.target, t.anchor), A();
473
473
  }
474
474
  ee(l);
475
475
  }
476
- let Xt;
477
- typeof HTMLElement == "function" && (Xt = class extends HTMLElement {
476
+ let Vt;
477
+ typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
478
478
  /** The Svelte component constructor */
479
479
  $$ctor;
480
480
  /** Slots */
@@ -533,7 +533,7 @@ typeof HTMLElement == "function" && (Xt = class extends HTMLElement {
533
533
  };
534
534
  if (await Promise.resolve(), !this.$$cn || this.$$c)
535
535
  return;
536
- const t = {}, n = On(this);
536
+ const t = {}, n = An(this);
537
537
  for (const i of this.$$s)
538
538
  i in n && (t[i] = [e(i)]);
539
539
  for (const i of this.attributes) {
@@ -620,8 +620,8 @@ function me(e, t, n, r) {
620
620
  return t;
621
621
  }
622
622
  }
623
- function Fn(e, t, n, r, i, s) {
624
- let a = class extends Xt {
623
+ function Gn(e, t, n, r, i, s) {
624
+ let a = class extends Vt {
625
625
  constructor() {
626
626
  super(e, n, i), this.$$p_d = t;
627
627
  }
@@ -649,7 +649,7 @@ function Fn(e, t, n, r, i, s) {
649
649
  }), e.element = /** @type {any} */
650
650
  a, a;
651
651
  }
652
- class jn {
652
+ class Fn {
653
653
  /**
654
654
  * ### PRIVATE API
655
655
  *
@@ -668,7 +668,7 @@ class jn {
668
668
  $$set = void 0;
669
669
  /** @returns {void} */
670
670
  $destroy() {
671
- Un(this, 1), this.$destroy = B;
671
+ Rn(this, 1), this.$destroy = B;
672
672
  }
673
673
  /**
674
674
  * @template {Extract<keyof Events, string>} K
@@ -690,18 +690,18 @@ class jn {
690
690
  * @returns {void}
691
691
  */
692
692
  $set(t) {
693
- this.$$set && !vn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
693
+ this.$$set && !En(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
694
694
  }
695
695
  }
696
- const kn = "4";
697
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(kn);
698
- function Vn(e, t) {
696
+ const jn = "4";
697
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(jn);
698
+ function kn(e, t) {
699
699
  if (e) {
700
700
  const n = document.createElement("style");
701
701
  n.innerHTML = t, e.appendChild(n);
702
702
  }
703
703
  }
704
- function Xn(e, t) {
704
+ function Vn(e, t) {
705
705
  const n = new URL(t);
706
706
  fetch(n.href).then((r) => r.text()).then((r) => {
707
707
  const i = document.createElement("style");
@@ -710,7 +710,7 @@ function Xn(e, t) {
710
710
  console.error("There was an error while trying to load client styling from URL", r);
711
711
  });
712
712
  }
713
- function zn(e, t, n) {
713
+ function Xn(e, t, n) {
714
714
  if (window.emMessageBus) {
715
715
  const r = document.createElement("style");
716
716
  window.emMessageBus.subscribe(t, (i) => {
@@ -719,7 +719,7 @@ function zn(e, t, n) {
719
719
  }
720
720
  }
721
721
  const G = [];
722
- function Wn(e, t) {
722
+ function zn(e, t) {
723
723
  return {
724
724
  subscribe: He(e, t).subscribe
725
725
  };
@@ -728,7 +728,7 @@ function He(e, t = B) {
728
728
  let n;
729
729
  const r = /* @__PURE__ */ new Set();
730
730
  function i(o) {
731
- if (Pt(e, o) && (e = o, n)) {
731
+ if (Ot(e, o) && (e = o, n)) {
732
732
  const l = !G.length;
733
733
  for (const u of r)
734
734
  u[1](), G.push(u, e);
@@ -755,7 +755,7 @@ function Q(e, t, n) {
755
755
  if (!i.every(Boolean))
756
756
  throw new Error("derived() expects stores as input, got a falsy value");
757
757
  const s = t.length < 2;
758
- return Wn(n, (a, o) => {
758
+ return zn(n, (a, o) => {
759
759
  let l = !1;
760
760
  const u = [];
761
761
  let h = 0, f = B;
@@ -766,7 +766,7 @@ function Q(e, t, n) {
766
766
  const c = t(r ? u[0] : u, a, o);
767
767
  s ? a(c) : f = se(c) ? c : B;
768
768
  }, d = i.map(
769
- (c, p) => Ct(
769
+ (c, p) => Pt(
770
770
  c,
771
771
  (E) => {
772
772
  u[p] = E, h &= ~(1 << p), l && m();
@@ -782,70 +782,70 @@ function Q(e, t, n) {
782
782
  });
783
783
  }
784
784
  var as = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
785
- function Zn(e) {
785
+ function Wn(e) {
786
786
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
787
787
  }
788
- var Qn = function(t) {
789
- return qn(t) && !Jn(t);
788
+ var Zn = function(t) {
789
+ return Qn(t) && !qn(t);
790
790
  };
791
- function qn(e) {
791
+ function Qn(e) {
792
792
  return !!e && typeof e == "object";
793
793
  }
794
- function Jn(e) {
794
+ function qn(e) {
795
795
  var t = Object.prototype.toString.call(e);
796
- return t === "[object RegExp]" || t === "[object Date]" || er(e);
796
+ return t === "[object RegExp]" || t === "[object Date]" || Kn(e);
797
797
  }
798
- var Yn = typeof Symbol == "function" && Symbol.for, Kn = Yn ? Symbol.for("react.element") : 60103;
799
- function er(e) {
800
- return e.$$typeof === Kn;
798
+ var Jn = typeof Symbol == "function" && Symbol.for, Yn = Jn ? Symbol.for("react.element") : 60103;
799
+ function Kn(e) {
800
+ return e.$$typeof === Yn;
801
801
  }
802
- function tr(e) {
802
+ function er(e) {
803
803
  return Array.isArray(e) ? [] : {};
804
804
  }
805
805
  function re(e, t) {
806
- return t.clone !== !1 && t.isMergeableObject(e) ? V(tr(e), e, t) : e;
806
+ return t.clone !== !1 && t.isMergeableObject(e) ? V(er(e), e, t) : e;
807
807
  }
808
- function nr(e, t, n) {
808
+ function tr(e, t, n) {
809
809
  return e.concat(t).map(function(r) {
810
810
  return re(r, n);
811
811
  });
812
812
  }
813
- function rr(e, t) {
813
+ function nr(e, t) {
814
814
  if (!t.customMerge)
815
815
  return V;
816
816
  var n = t.customMerge(e);
817
817
  return typeof n == "function" ? n : V;
818
818
  }
819
- function ir(e) {
819
+ function rr(e) {
820
820
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
821
821
  return Object.propertyIsEnumerable.call(e, t);
822
822
  }) : [];
823
823
  }
824
- function at(e) {
825
- return Object.keys(e).concat(ir(e));
824
+ function ot(e) {
825
+ return Object.keys(e).concat(rr(e));
826
826
  }
827
- function zt(e, t) {
827
+ function Xt(e, t) {
828
828
  try {
829
829
  return t in e;
830
830
  } catch {
831
831
  return !1;
832
832
  }
833
833
  }
834
- function sr(e, t) {
835
- return zt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
834
+ function ir(e, t) {
835
+ return Xt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
836
836
  }
837
- function or(e, t, n) {
837
+ function sr(e, t, n) {
838
838
  var r = {};
839
- return n.isMergeableObject(e) && at(e).forEach(function(i) {
839
+ return n.isMergeableObject(e) && ot(e).forEach(function(i) {
840
840
  r[i] = re(e[i], n);
841
- }), at(t).forEach(function(i) {
842
- sr(e, i) || (zt(e, i) && n.isMergeableObject(t[i]) ? r[i] = rr(i, n)(e[i], t[i], n) : r[i] = re(t[i], n));
841
+ }), ot(t).forEach(function(i) {
842
+ ir(e, i) || (Xt(e, i) && n.isMergeableObject(t[i]) ? r[i] = nr(i, n)(e[i], t[i], n) : r[i] = re(t[i], n));
843
843
  }), r;
844
844
  }
845
845
  function V(e, t, n) {
846
- n = n || {}, n.arrayMerge = n.arrayMerge || nr, n.isMergeableObject = n.isMergeableObject || Qn, n.cloneUnlessOtherwiseSpecified = re;
846
+ n = n || {}, n.arrayMerge = n.arrayMerge || tr, n.isMergeableObject = n.isMergeableObject || Zn, n.cloneUnlessOtherwiseSpecified = re;
847
847
  var r = Array.isArray(t), i = Array.isArray(e), s = r === i;
848
- return s ? r ? n.arrayMerge(e, t, n) : or(e, t, n) : re(t, n);
848
+ return s ? r ? n.arrayMerge(e, t, n) : sr(e, t, n) : re(t, n);
849
849
  }
850
850
  V.all = function(t, n) {
851
851
  if (!Array.isArray(t))
@@ -854,8 +854,8 @@ V.all = function(t, n) {
854
854
  return V(r, i, n);
855
855
  }, {});
856
856
  };
857
- var ar = V, ur = ar;
858
- const hr = /* @__PURE__ */ Zn(ur);
857
+ var or = V, ar = or;
858
+ const ur = /* @__PURE__ */ Wn(ar);
859
859
  /*! *****************************************************************************
860
860
  Copyright (c) Microsoft Corporation.
861
861
 
@@ -897,7 +897,7 @@ var y = function() {
897
897
  return t;
898
898
  }, y.apply(this, arguments);
899
899
  };
900
- function lr(e, t) {
900
+ function hr(e, t) {
901
901
  var n = {};
902
902
  for (var r in e)
903
903
  Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
@@ -913,55 +913,57 @@ function Ne(e, t, n) {
913
913
  return e.concat(s || t);
914
914
  }
915
915
  function Ie(e, t) {
916
- var n = t && t.cache ? t.cache : gr, r = t && t.serializer ? t.serializer : pr, i = t && t.strategy ? t.strategy : cr;
916
+ var n = t && t.cache ? t.cache : gr, r = t && t.serializer ? t.serializer : dr, i = t && t.strategy ? t.strategy : fr;
917
917
  return i(e, {
918
918
  cache: n,
919
919
  serializer: r
920
920
  });
921
921
  }
922
- function fr(e) {
922
+ function lr(e) {
923
923
  return e == null || typeof e == "number" || typeof e == "boolean";
924
924
  }
925
- function Wt(e, t, n, r) {
926
- var i = fr(r) ? r : n(r), s = t.get(i);
925
+ function zt(e, t, n, r) {
926
+ var i = lr(r) ? r : n(r), s = t.get(i);
927
927
  return typeof s > "u" && (s = e.call(this, r), t.set(i, s)), s;
928
928
  }
929
- function Zt(e, t, n) {
929
+ function Wt(e, t, n) {
930
930
  var r = Array.prototype.slice.call(arguments, 3), i = n(r), s = t.get(i);
931
931
  return typeof s > "u" && (s = e.apply(this, r), t.set(i, s)), s;
932
932
  }
933
933
  function Ke(e, t, n, r, i) {
934
934
  return n.bind(t, e, r, i);
935
935
  }
936
- function cr(e, t) {
937
- var n = e.length === 1 ? Wt : Zt;
936
+ function fr(e, t) {
937
+ var n = e.length === 1 ? zt : Wt;
938
938
  return Ke(e, this, n, t.cache.create(), t.serializer);
939
939
  }
940
- function mr(e, t) {
941
- return Ke(e, this, Zt, t.cache.create(), t.serializer);
942
- }
943
- function dr(e, t) {
940
+ function cr(e, t) {
944
941
  return Ke(e, this, Wt, t.cache.create(), t.serializer);
945
942
  }
946
- var pr = function() {
947
- return JSON.stringify(arguments);
948
- };
949
- function et() {
950
- this.cache = /* @__PURE__ */ Object.create(null);
943
+ function mr(e, t) {
944
+ return Ke(e, this, zt, t.cache.create(), t.serializer);
951
945
  }
952
- et.prototype.get = function(e) {
953
- return this.cache[e];
954
- };
955
- et.prototype.set = function(e, t) {
956
- this.cache[e] = t;
957
- };
958
- var gr = {
946
+ var dr = function() {
947
+ return JSON.stringify(arguments);
948
+ }, pr = (
949
+ /** @class */
950
+ function() {
951
+ function e() {
952
+ this.cache = /* @__PURE__ */ Object.create(null);
953
+ }
954
+ return e.prototype.get = function(t) {
955
+ return this.cache[t];
956
+ }, e.prototype.set = function(t, n) {
957
+ this.cache[t] = n;
958
+ }, e;
959
+ }()
960
+ ), gr = {
959
961
  create: function() {
960
- return new et();
962
+ return new pr();
961
963
  }
962
964
  }, Me = {
963
- variadic: mr,
964
- monadic: dr
965
+ variadic: cr,
966
+ monadic: mr
965
967
  }, g;
966
968
  (function(e) {
967
969
  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";
@@ -974,40 +976,40 @@ var X;
974
976
  (function(e) {
975
977
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
976
978
  })(X || (X = {}));
977
- function ut(e) {
979
+ function at(e) {
978
980
  return e.type === x.literal;
979
981
  }
980
982
  function br(e) {
981
983
  return e.type === x.argument;
982
984
  }
983
- function Qt(e) {
985
+ function Zt(e) {
984
986
  return e.type === x.number;
985
987
  }
986
- function qt(e) {
988
+ function Qt(e) {
987
989
  return e.type === x.date;
988
990
  }
989
- function Jt(e) {
991
+ function qt(e) {
990
992
  return e.type === x.time;
991
993
  }
992
- function Yt(e) {
994
+ function Jt(e) {
993
995
  return e.type === x.select;
994
996
  }
995
- function Kt(e) {
997
+ function Yt(e) {
996
998
  return e.type === x.plural;
997
999
  }
998
1000
  function _r(e) {
999
1001
  return e.type === x.pound;
1000
1002
  }
1001
- function en(e) {
1003
+ function Kt(e) {
1002
1004
  return e.type === x.tag;
1003
1005
  }
1004
- function tn(e) {
1006
+ function en(e) {
1005
1007
  return !!(e && typeof e == "object" && e.type === X.number);
1006
1008
  }
1007
1009
  function ke(e) {
1008
1010
  return !!(e && typeof e == "object" && e.type === X.dateTime);
1009
1011
  }
1010
- var nn = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, yr = /(?:[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;
1012
+ var tn = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, yr = /(?:[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;
1011
1013
  function xr(e) {
1012
1014
  var t = {};
1013
1015
  return e.replace(yr, function(n) {
@@ -1121,14 +1123,14 @@ function vr(e) {
1121
1123
  function Hr(e) {
1122
1124
  return e.replace(/^(.*?)-/, "");
1123
1125
  }
1124
- var ht = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, rn = /^(@+)?(\+|#+)?[rs]?$/g, wr = /(\*)(0+)|(#+)(0+)|(0+)/g, sn = /^(0+)$/;
1125
- function lt(e) {
1126
+ var ut = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, nn = /^(@+)?(\+|#+)?[rs]?$/g, wr = /(\*)(0+)|(#+)(0+)|(0+)/g, rn = /^(0+)$/;
1127
+ function ht(e) {
1126
1128
  var t = {};
1127
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(rn, function(n, r, i) {
1129
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(nn, function(n, r, i) {
1128
1130
  return typeof i != "string" ? (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length) : i === "+" ? t.minimumSignificantDigits = r.length : r[0] === "#" ? t.maximumSignificantDigits = r.length : (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length + (typeof i == "string" ? i.length : 0)), "";
1129
1131
  }), t;
1130
1132
  }
1131
- function on(e) {
1133
+ function sn(e) {
1132
1134
  switch (e) {
1133
1135
  case "sign-auto":
1134
1136
  return {
@@ -1176,14 +1178,14 @@ function Br(e) {
1176
1178
  notation: "scientific"
1177
1179
  }, e = e.slice(1)), t) {
1178
1180
  var n = e.slice(0, 2);
1179
- if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !sn.test(e))
1181
+ if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !rn.test(e))
1180
1182
  throw new Error("Malformed concise eng/scientific notation");
1181
1183
  t.minimumIntegerDigits = e.length;
1182
1184
  }
1183
1185
  return t;
1184
1186
  }
1185
- function ft(e) {
1186
- var t = {}, n = on(e);
1187
+ function lt(e) {
1188
+ var t = {}, n = sn(e);
1187
1189
  return n || t;
1188
1190
  }
1189
1191
  function Tr(e) {
@@ -1222,12 +1224,12 @@ function Tr(e) {
1222
1224
  continue;
1223
1225
  case "scientific":
1224
1226
  t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1225
- return y(y({}, l), ft(u));
1227
+ return y(y({}, l), lt(u));
1226
1228
  }, {}));
1227
1229
  continue;
1228
1230
  case "engineering":
1229
1231
  t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1230
- return y(y({}, l), ft(u));
1232
+ return y(y({}, l), lt(u));
1231
1233
  }, {}));
1232
1234
  continue;
1233
1235
  case "notation-simple":
@@ -1285,25 +1287,25 @@ function Tr(e) {
1285
1287
  });
1286
1288
  continue;
1287
1289
  }
1288
- if (sn.test(i.stem)) {
1290
+ if (rn.test(i.stem)) {
1289
1291
  t.minimumIntegerDigits = i.stem.length;
1290
1292
  continue;
1291
1293
  }
1292
- if (ht.test(i.stem)) {
1294
+ if (ut.test(i.stem)) {
1293
1295
  if (i.options.length > 1)
1294
1296
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1295
- i.stem.replace(ht, function(l, u, h, f, m, d) {
1297
+ i.stem.replace(ut, function(l, u, h, f, m, d) {
1296
1298
  return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : m && d ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1297
1299
  });
1298
1300
  var s = i.options[0];
1299
- s === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = y(y({}, t), lt(s)));
1301
+ s === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = y(y({}, t), ht(s)));
1300
1302
  continue;
1301
1303
  }
1302
- if (rn.test(i.stem)) {
1303
- t = y(y({}, t), lt(i.stem));
1304
+ if (nn.test(i.stem)) {
1305
+ t = y(y({}, t), ht(i.stem));
1304
1306
  continue;
1305
1307
  }
1306
- var a = on(i.stem);
1308
+ var a = sn(i.stem);
1307
1309
  a && (t = y(y({}, t), a));
1308
1310
  var o = Br(i.stem);
1309
1311
  o && (t = y(y({}, t), o));
@@ -2763,7 +2765,7 @@ function Ar(e) {
2763
2765
  var i = le[r || ""] || le[n || ""] || le["".concat(n, "-001")] || le["001"];
2764
2766
  return i[0];
2765
2767
  }
2766
- var $e, Or = new RegExp("^".concat(nn.source, "*")), Pr = new RegExp("".concat(nn.source, "*$"));
2768
+ var $e, Or = new RegExp("^".concat(tn.source, "*")), Pr = new RegExp("".concat(tn.source, "*$"));
2767
2769
  function b(e, t) {
2768
2770
  return { start: e, end: t };
2769
2771
  }
@@ -2771,12 +2773,12 @@ var Cr = !!String.prototype.startsWith && "_a".startsWith("a", 1), Lr = !!String
2771
2773
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2772
2774
  }, Ve = !0;
2773
2775
  try {
2774
- var Dr = un("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2776
+ var Dr = an("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2775
2777
  Ve = (($e = Dr.exec("a")) === null || $e === void 0 ? void 0 : $e[0]) === "a";
2776
2778
  } catch {
2777
2779
  Ve = !1;
2778
2780
  }
2779
- var ct = Cr ? (
2781
+ var ft = Cr ? (
2780
2782
  // Native
2781
2783
  function(t, n, r) {
2782
2784
  return t.startsWith(n, r);
@@ -2798,7 +2800,7 @@ var ct = Cr ? (
2798
2800
  }
2799
2801
  return r;
2800
2802
  }
2801
- ), mt = (
2803
+ ), ct = (
2802
2804
  // native
2803
2805
  Nr ? Object.fromEntries : (
2804
2806
  // Ponyfill
@@ -2810,7 +2812,7 @@ var ct = Cr ? (
2810
2812
  return n;
2811
2813
  }
2812
2814
  )
2813
- ), an = Ir ? (
2815
+ ), on = Ir ? (
2814
2816
  // Native
2815
2817
  function(t, n) {
2816
2818
  return t.codePointAt(n);
@@ -2845,23 +2847,23 @@ var ct = Cr ? (
2845
2847
  return t.replace(Pr, "");
2846
2848
  }
2847
2849
  );
2848
- function un(e, t) {
2850
+ function an(e, t) {
2849
2851
  return new RegExp(e, t);
2850
2852
  }
2851
2853
  var ze;
2852
2854
  if (Ve) {
2853
- var dt = un("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2855
+ var mt = an("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2854
2856
  ze = function(t, n) {
2855
2857
  var r;
2856
- dt.lastIndex = n;
2857
- var i = dt.exec(t);
2858
+ mt.lastIndex = n;
2859
+ var i = mt.exec(t);
2858
2860
  return (r = i[1]) !== null && r !== void 0 ? r : "";
2859
2861
  };
2860
2862
  } else
2861
2863
  ze = function(t, n) {
2862
2864
  for (var r = []; ; ) {
2863
- var i = an(t, n);
2864
- if (i === void 0 || hn(i) || Xr(i))
2865
+ var i = on(t, n);
2866
+ if (i === void 0 || un(i) || Xr(i))
2865
2867
  break;
2866
2868
  r.push(i), n += i >= 65536 ? 2 : 1;
2867
2869
  }
@@ -3075,7 +3077,7 @@ var jr = (
3075
3077
  if (c.err)
3076
3078
  return c;
3077
3079
  var p = b(i, this.clonePosition());
3078
- if (u && ct(u?.style, "::", 0)) {
3080
+ if (u && ft(u?.style, "::", 0)) {
3079
3081
  var E = Gr(u.style.slice(2));
3080
3082
  if (o === "number") {
3081
3083
  var f = this.parseNumberSkeletonFromString(E, u.styleLocation);
@@ -3138,7 +3140,7 @@ var jr = (
3138
3140
  val: {
3139
3141
  type: x.select,
3140
3142
  value: r,
3141
- options: mt(U.val),
3143
+ options: ct(U.val),
3142
3144
  location: ue
3143
3145
  },
3144
3146
  err: null
@@ -3146,7 +3148,7 @@ var jr = (
3146
3148
  val: {
3147
3149
  type: x.plural,
3148
3150
  value: r,
3149
- options: mt(U.val),
3151
+ options: ct(U.val),
3150
3152
  offset: O,
3151
3153
  pluralType: o === "plural" ? "cardinal" : "ordinal",
3152
3154
  location: ue
@@ -3269,7 +3271,7 @@ var jr = (
3269
3271
  var t = this.position.offset;
3270
3272
  if (t >= this.message.length)
3271
3273
  throw Error("out of bound");
3272
- var n = an(this.message, t);
3274
+ var n = on(this.message, t);
3273
3275
  if (n === void 0)
3274
3276
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3275
3277
  return n;
@@ -3288,7 +3290,7 @@ var jr = (
3288
3290
  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);
3289
3291
  }
3290
3292
  }, e.prototype.bumpIf = function(t) {
3291
- if (ct(this.message, t, this.offset())) {
3293
+ if (ft(this.message, t, this.offset())) {
3292
3294
  for (var n = 0; n < t.length; n++)
3293
3295
  this.bump();
3294
3296
  return !0;
@@ -3310,7 +3312,7 @@ var jr = (
3310
3312
  break;
3311
3313
  }
3312
3314
  }, e.prototype.bumpSpace = function() {
3313
- for (; !this.isEOF() && hn(this.char()); )
3315
+ for (; !this.isEOF() && un(this.char()); )
3314
3316
  this.bump();
3315
3317
  }, e.prototype.peek = function() {
3316
3318
  if (this.isEOF())
@@ -3329,7 +3331,7 @@ function kr(e) {
3329
3331
  function Vr(e) {
3330
3332
  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;
3331
3333
  }
3332
- function hn(e) {
3334
+ function un(e) {
3333
3335
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3334
3336
  }
3335
3337
  function Xr(e) {
@@ -3337,11 +3339,11 @@ function Xr(e) {
3337
3339
  }
3338
3340
  function Ze(e) {
3339
3341
  e.forEach(function(t) {
3340
- if (delete t.location, Yt(t) || Kt(t))
3342
+ if (delete t.location, Jt(t) || Yt(t))
3341
3343
  for (var n in t.options)
3342
3344
  delete t.options[n].location, Ze(t.options[n].value);
3343
3345
  else
3344
- Qt(t) && tn(t.style) || (qt(t) || Jt(t)) && ke(t.style) ? delete t.style.location : en(t) && Ze(t.children);
3346
+ Zt(t) && en(t.style) || (Qt(t) || qt(t)) && ke(t.style) ? delete t.style.location : Kt(t) && Ze(t.children);
3345
3347
  });
3346
3348
  }
3347
3349
  function zr(e, t) {
@@ -3369,7 +3371,7 @@ var Be = (
3369
3371
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3370
3372
  }, t;
3371
3373
  }(Error)
3372
- ), pt = (
3374
+ ), dt = (
3373
3375
  /** @class */
3374
3376
  function(e) {
3375
3377
  we(t, e);
@@ -3410,7 +3412,7 @@ function qr(e) {
3410
3412
  return typeof e == "function";
3411
3413
  }
3412
3414
  function de(e, t, n, r, i, s, a) {
3413
- if (e.length === 1 && ut(e[0]))
3415
+ if (e.length === 1 && at(e[0]))
3414
3416
  return [
3415
3417
  {
3416
3418
  type: w.literal,
@@ -3419,7 +3421,7 @@ function de(e, t, n, r, i, s, a) {
3419
3421
  ];
3420
3422
  for (var o = [], l = 0, u = e; l < u.length; l++) {
3421
3423
  var h = u[l];
3422
- if (ut(h)) {
3424
+ if (at(h)) {
3423
3425
  o.push({
3424
3426
  type: w.literal,
3425
3427
  value: h.value
@@ -3444,7 +3446,7 @@ function de(e, t, n, r, i, s, a) {
3444
3446
  });
3445
3447
  continue;
3446
3448
  }
3447
- if (qt(h)) {
3449
+ if (Qt(h)) {
3448
3450
  var d = typeof h.style == "string" ? r.date[h.style] : ke(h.style) ? h.style.parsedOptions : void 0;
3449
3451
  o.push({
3450
3452
  type: w.literal,
@@ -3452,7 +3454,7 @@ function de(e, t, n, r, i, s, a) {
3452
3454
  });
3453
3455
  continue;
3454
3456
  }
3455
- if (Jt(h)) {
3457
+ if (qt(h)) {
3456
3458
  var d = typeof h.style == "string" ? r.time[h.style] : ke(h.style) ? h.style.parsedOptions : r.time.medium;
3457
3459
  o.push({
3458
3460
  type: w.literal,
@@ -3460,15 +3462,15 @@ function de(e, t, n, r, i, s, a) {
3460
3462
  });
3461
3463
  continue;
3462
3464
  }
3463
- if (Qt(h)) {
3464
- var d = typeof h.style == "string" ? r.number[h.style] : tn(h.style) ? h.style.parsedOptions : void 0;
3465
+ if (Zt(h)) {
3466
+ var d = typeof h.style == "string" ? r.number[h.style] : en(h.style) ? h.style.parsedOptions : void 0;
3465
3467
  d && d.scale && (m = m * (d.scale || 1)), o.push({
3466
3468
  type: w.literal,
3467
3469
  value: n.getNumberFormat(t, d).format(m)
3468
3470
  });
3469
3471
  continue;
3470
3472
  }
3471
- if (en(h)) {
3473
+ if (Kt(h)) {
3472
3474
  var c = h.children, p = h.value, E = i[p];
3473
3475
  if (!qr(E))
3474
3476
  throw new Wr(p, "function", a);
@@ -3482,14 +3484,14 @@ function de(e, t, n, r, i, s, a) {
3482
3484
  };
3483
3485
  }));
3484
3486
  }
3485
- if (Yt(h)) {
3487
+ if (Jt(h)) {
3486
3488
  var H = h.options[m] || h.options.other;
3487
3489
  if (!H)
3488
- throw new pt(h.value, m, Object.keys(h.options), a);
3490
+ throw new dt(h.value, m, Object.keys(h.options), a);
3489
3491
  o.push.apply(o, de(H.value, t, n, r, i));
3490
3492
  continue;
3491
3493
  }
3492
- if (Kt(h)) {
3494
+ if (Yt(h)) {
3493
3495
  var H = h.options["=".concat(m)];
3494
3496
  if (!H) {
3495
3497
  if (!Intl.PluralRules)
@@ -3500,7 +3502,7 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
3500
3502
  H = h.options[S] || h.options.other;
3501
3503
  }
3502
3504
  if (!H)
3503
- throw new pt(h.value, m, Object.keys(h.options), a);
3505
+ throw new dt(h.value, m, Object.keys(h.options), a);
3504
3506
  o.push.apply(o, de(H.value, t, n, r, i, m - (h.offset || 0)));
3505
3507
  continue;
3506
3508
  }
@@ -3563,7 +3565,7 @@ function Kr(e) {
3563
3565
  })
3564
3566
  };
3565
3567
  }
3566
- var ln = (
3568
+ var hn = (
3567
3569
  /** @class */
3568
3570
  function() {
3569
3571
  function e(t, n, r, i) {
@@ -3595,7 +3597,7 @@ var ln = (
3595
3597
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3596
3598
  var a = i || {};
3597
3599
  a.formatters;
3598
- var o = lr(a, ["formatters"]);
3600
+ var o = hr(a, ["formatters"]);
3599
3601
  this.ast = e.__parse(t, y(y({}, o), { locale: this.resolvedLocale }));
3600
3602
  } else
3601
3603
  this.ast = t;
@@ -3696,7 +3698,7 @@ function ei(e, t) {
3696
3698
  r = void 0;
3697
3699
  return r;
3698
3700
  }
3699
- const L = {}, ti = (e, t, n) => n && (t in L || (L[t] = {}), e in L[t] || (L[t][e] = n), n), fn = (e, t) => {
3701
+ const L = {}, ti = (e, t, n) => n && (t in L || (L[t] = {}), e in L[t] || (L[t][e] = n), n), ln = (e, t) => {
3700
3702
  if (t == null)
3701
3703
  return;
3702
3704
  if (t in L && e in L[t])
@@ -3708,16 +3710,16 @@ const L = {}, ti = (e, t, n) => n && (t in L || (L[t] = {}), e in L[t] || (L[t][
3708
3710
  return ti(e, t, s);
3709
3711
  }
3710
3712
  };
3711
- let tt;
3713
+ let et;
3712
3714
  const oe = He({});
3713
3715
  function ni(e) {
3714
- return tt[e] || null;
3716
+ return et[e] || null;
3715
3717
  }
3716
- function cn(e) {
3717
- return e in tt;
3718
+ function fn(e) {
3719
+ return e in et;
3718
3720
  }
3719
3721
  function ri(e, t) {
3720
- if (!cn(e))
3722
+ if (!fn(e))
3721
3723
  return null;
3722
3724
  const n = ni(e);
3723
3725
  return ei(n, t);
@@ -3728,28 +3730,28 @@ function ii(e) {
3728
3730
  const t = ae(e);
3729
3731
  for (let n = 0; n < t.length; n++) {
3730
3732
  const r = t[n];
3731
- if (cn(r))
3733
+ if (fn(r))
3732
3734
  return r;
3733
3735
  }
3734
3736
  }
3735
- function mn(e, ...t) {
3736
- delete L[e], oe.update((n) => (n[e] = hr.all([n[e] || {}, ...t]), n));
3737
+ function cn(e, ...t) {
3738
+ delete L[e], oe.update((n) => (n[e] = ur.all([n[e] || {}, ...t]), n));
3737
3739
  }
3738
3740
  Q(
3739
3741
  [oe],
3740
3742
  ([e]) => Object.keys(e)
3741
3743
  );
3742
- oe.subscribe((e) => tt = e);
3744
+ oe.subscribe((e) => et = e);
3743
3745
  const pe = {};
3744
3746
  function si(e, t) {
3745
3747
  pe[e].delete(t), pe[e].size === 0 && delete pe[e];
3746
3748
  }
3747
- function dn(e) {
3749
+ function mn(e) {
3748
3750
  return pe[e];
3749
3751
  }
3750
3752
  function oi(e) {
3751
3753
  return ae(e).map((t) => {
3752
- const n = dn(t);
3754
+ const n = mn(t);
3753
3755
  return [t, n ? [...n] : []];
3754
3756
  }).filter(([, t]) => t.length > 0);
3755
3757
  }
@@ -3757,17 +3759,17 @@ function xe(e) {
3757
3759
  return e == null ? !1 : ae(e).some(
3758
3760
  (t) => {
3759
3761
  var n;
3760
- return (n = dn(t)) == null ? void 0 : n.size;
3762
+ return (n = mn(t)) == null ? void 0 : n.size;
3761
3763
  }
3762
3764
  );
3763
3765
  }
3764
3766
  function ai(e, t) {
3765
3767
  return Promise.all(
3766
3768
  t.map((r) => (si(e, r), r().then((i) => i.default || i)))
3767
- ).then((r) => mn(e, ...r));
3769
+ ).then((r) => cn(e, ...r));
3768
3770
  }
3769
3771
  const Y = {};
3770
- function pn(e) {
3772
+ function dn(e) {
3771
3773
  if (!xe(e))
3772
3774
  return e in Y ? Y[e] : Promise.resolve();
3773
3775
  const t = oi(e);
@@ -3777,16 +3779,16 @@ function pn(e) {
3777
3779
  )
3778
3780
  ).then(() => {
3779
3781
  if (xe(e))
3780
- return pn(e);
3782
+ return dn(e);
3781
3783
  delete Y[e];
3782
3784
  }), Y[e];
3783
3785
  }
3784
- var gt = Object.getOwnPropertySymbols, ui = Object.prototype.hasOwnProperty, hi = Object.prototype.propertyIsEnumerable, li = (e, t) => {
3786
+ var pt = Object.getOwnPropertySymbols, ui = Object.prototype.hasOwnProperty, hi = Object.prototype.propertyIsEnumerable, li = (e, t) => {
3785
3787
  var n = {};
3786
3788
  for (var r in e)
3787
3789
  ui.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
3788
- if (e != null && gt)
3789
- for (var r of gt(e))
3790
+ if (e != null && pt)
3791
+ for (var r of pt(e))
3790
3792
  t.indexOf(r) < 0 && hi.call(e, r) && (n[r] = e[r]);
3791
3793
  return n;
3792
3794
  };
@@ -3845,7 +3847,7 @@ function di(e) {
3845
3847
  let i = e.fallbackLocale;
3846
3848
  if (e.initialLocale)
3847
3849
  try {
3848
- ln.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3850
+ hn.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3849
3851
  } catch {
3850
3852
  console.warn(
3851
3853
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
@@ -3856,22 +3858,22 @@ function di(e) {
3856
3858
  )), Object.assign(K, r, { initialLocale: i }), n && ("number" in n && Object.assign(K.formats.number, n.number), "date" in n && Object.assign(K.formats.date, n.date), "time" in n && Object.assign(K.formats.time, n.time)), R.set(i);
3857
3859
  }
3858
3860
  const Ue = He(!1);
3859
- var pi = Object.defineProperty, gi = Object.defineProperties, bi = Object.getOwnPropertyDescriptors, bt = Object.getOwnPropertySymbols, _i = Object.prototype.hasOwnProperty, yi = Object.prototype.propertyIsEnumerable, _t = (e, t, n) => t in e ? pi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, xi = (e, t) => {
3860
- for (var n in t || (t = {}))
3861
- _i.call(t, n) && _t(e, n, t[n]);
3862
- if (bt)
3863
- for (var n of bt(t))
3864
- yi.call(t, n) && _t(e, n, t[n]);
3861
+ var pi = Object.defineProperty, gi = Object.defineProperties, bi = Object.getOwnPropertyDescriptors, gt = Object.getOwnPropertySymbols, _i = Object.prototype.hasOwnProperty, yi = Object.prototype.propertyIsEnumerable, bt = (e, t, n) => t in e ? pi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, xi = (e, t) => {
3862
+ for (var n in t)
3863
+ _i.call(t, n) && bt(e, n, t[n]);
3864
+ if (gt)
3865
+ for (var n of gt(t))
3866
+ yi.call(t, n) && bt(e, n, t[n]);
3865
3867
  return e;
3866
3868
  }, Ei = (e, t) => gi(e, bi(t));
3867
3869
  let Qe;
3868
3870
  const Ee = He(null);
3869
- function yt(e) {
3871
+ function _t(e) {
3870
3872
  return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
3871
3873
  }
3872
3874
  function ae(e, t = W().fallbackLocale) {
3873
- const n = yt(e);
3874
- return t ? [.../* @__PURE__ */ new Set([...n, ...yt(t)])] : n;
3875
+ const n = _t(e);
3876
+ return t ? [.../* @__PURE__ */ new Set([...n, ..._t(t)])] : n;
3875
3877
  }
3876
3878
  function N() {
3877
3879
  return Qe ?? void 0;
@@ -3886,7 +3888,7 @@ const vi = (e) => {
3886
3888
  return typeof window < "u" && N() != null && t ? n = window.setTimeout(
3887
3889
  () => Ue.set(!0),
3888
3890
  t
3889
- ) : Ue.set(!0), pn(e).then(() => {
3891
+ ) : Ue.set(!0), dn(e).then(() => {
3890
3892
  Ee.set(e);
3891
3893
  }).finally(() => {
3892
3894
  clearTimeout(n), Ue.set(!1);
@@ -3902,20 +3904,20 @@ const vi = (e) => {
3902
3904
  return i in t ? t[i] : t[i] = e(r);
3903
3905
  };
3904
3906
  };
3905
- var Hi = Object.defineProperty, ve = Object.getOwnPropertySymbols, gn = Object.prototype.hasOwnProperty, bn = Object.prototype.propertyIsEnumerable, xt = (e, t, n) => t in e ? Hi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, nt = (e, t) => {
3907
+ var Hi = Object.defineProperty, ve = Object.getOwnPropertySymbols, pn = Object.prototype.hasOwnProperty, gn = Object.prototype.propertyIsEnumerable, yt = (e, t, n) => t in e ? Hi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, tt = (e, t) => {
3906
3908
  for (var n in t || (t = {}))
3907
- gn.call(t, n) && xt(e, n, t[n]);
3909
+ pn.call(t, n) && yt(e, n, t[n]);
3908
3910
  if (ve)
3909
3911
  for (var n of ve(t))
3910
- bn.call(t, n) && xt(e, n, t[n]);
3912
+ gn.call(t, n) && yt(e, n, t[n]);
3911
3913
  return e;
3912
3914
  }, q = (e, t) => {
3913
3915
  var n = {};
3914
3916
  for (var r in e)
3915
- gn.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
3917
+ pn.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
3916
3918
  if (e != null && ve)
3917
3919
  for (var r of ve(e))
3918
- t.indexOf(r) < 0 && bn.call(e, r) && (n[r] = e[r]);
3920
+ t.indexOf(r) < 0 && gn.call(e, r) && (n[r] = e[r]);
3919
3921
  return n;
3920
3922
  };
3921
3923
  const ie = (e, t) => {
@@ -3952,24 +3954,24 @@ const ie = (e, t) => {
3952
3954
  } = t, r = q(t, [
3953
3955
  "locale"
3954
3956
  ]);
3955
- return wi(nt({ locale: n }, r));
3957
+ return wi(tt({ locale: n }, r));
3956
3958
  }, Ai = (e = {}) => {
3957
3959
  var t = e, {
3958
3960
  locale: n = N()
3959
3961
  } = t, r = q(t, [
3960
3962
  "locale"
3961
3963
  ]);
3962
- return Bi(nt({ locale: n }, r));
3964
+ return Bi(tt({ locale: n }, r));
3963
3965
  }, Oi = (e = {}) => {
3964
3966
  var t = e, {
3965
3967
  locale: n = N()
3966
3968
  } = t, r = q(t, [
3967
3969
  "locale"
3968
3970
  ]);
3969
- return Ti(nt({ locale: n }, r));
3971
+ return Ti(tt({ locale: n }, r));
3970
3972
  }, Pi = Te(
3971
3973
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3972
- (e, t = N()) => new ln(e, t, W().formats, {
3974
+ (e, t = N()) => new hn(e, t, W().formats, {
3973
3975
  ignoreTag: W().ignoreTag
3974
3976
  })
3975
3977
  ), Ci = (e, t = {}) => {
@@ -3985,7 +3987,7 @@ const ie = (e, t) => {
3985
3987
  throw new Error(
3986
3988
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3987
3989
  );
3988
- let h = fn(e, l);
3990
+ let h = ln(e, l);
3989
3991
  if (!h)
3990
3992
  h = (s = (i = (r = (n = W()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
3991
3993
  else if (typeof h != "string")
@@ -4004,20 +4006,20 @@ const ie = (e, t) => {
4004
4006
  );
4005
4007
  }
4006
4008
  return f;
4007
- }, Li = (e, t) => Oi(t).format(e), Ni = (e, t) => Ai(t).format(e), Ii = (e, t) => Si(t).format(e), Mi = (e, t = N()) => fn(e, t), $i = Q([R, oe], () => Ci);
4009
+ }, Li = (e, t) => Oi(t).format(e), Ni = (e, t) => Ai(t).format(e), Ii = (e, t) => Si(t).format(e), Mi = (e, t = N()) => ln(e, t), $i = Q([R, oe], () => Ci);
4008
4010
  Q([R], () => Li);
4009
4011
  Q([R], () => Ni);
4010
4012
  Q([R], () => Ii);
4011
4013
  Q([R, oe], () => Mi);
4012
- function Et(e, t) {
4013
- mn(e, t);
4014
+ function xt(e, t) {
4015
+ cn(e, t);
4014
4016
  }
4015
4017
  function Ri(e) {
4016
4018
  di({
4017
4019
  fallbackLocale: "en"
4018
4020
  }), R.set(e);
4019
4021
  }
4020
- const vt = {
4022
+ const Et = {
4021
4023
  en: {
4022
4024
  header: {
4023
4025
  general: "Cashier",
@@ -4041,17 +4043,17 @@ const vt = {
4041
4043
  }
4042
4044
  };
4043
4045
  function Ui(e) {
4044
- wn(e, "svelte-bbilb", ".CashierHeader{display:flex;position:relative;align-items:center;height:var(--mmw--header-height, 40px);background-color:var(--mmw--color-grey-105, #E8E9EB);width:100%;border-radius:6px 6px 0 0}.CashierHeaderLeftButton{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;position:absolute;display:flex;align-items:center;font-variant:all-small-caps;height:32px;left:7px;gap:2px;cursor:pointer}.CashierHeaderLeftButton svg path{fill:var(--mmw--color-grey-10, #111)}.CashierHeaderLeftButton.disabled{pointer-events:none}.CashierHeaderTitle{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-large, 18px);line-height:125%;font-weight:var(--emw--font-weight-semibold, 500);margin:auto;max-width:calc(100% - 150px);overflow:hidden;text-overflow:ellipsis}.CashierHeaderRightButton{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:0 var(--emw--spacing-small, 12px);height:inherit;right:0;gap:var(--emw--spacing-small, 12px);cursor:pointer}");
4046
+ Hn(e, "svelte-bbilb", ".CashierHeader{display:flex;position:relative;align-items:center;height:var(--mmw--header-height, 40px);background-color:var(--mmw--color-grey-105, #E8E9EB);width:100%;border-radius:6px 6px 0 0}.CashierHeaderLeftButton{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;position:absolute;display:flex;align-items:center;font-variant:all-small-caps;height:32px;left:7px;gap:2px;cursor:pointer}.CashierHeaderLeftButton svg path{fill:var(--mmw--color-grey-10, #111)}.CashierHeaderLeftButton.disabled{pointer-events:none}.CashierHeaderTitle{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-large, 18px);line-height:125%;font-weight:var(--emw--font-weight-semibold, 500);margin:auto;max-width:calc(100% - 150px);overflow:hidden;text-overflow:ellipsis}.CashierHeaderRightButton{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:0 var(--emw--spacing-small, 12px);height:inherit;right:0;gap:var(--emw--spacing-small, 12px);cursor:pointer}");
4045
4047
  }
4046
- const Di = (e) => ({}), Ht = (e) => ({}), Gi = (e) => ({}), wt = (e) => ({}), Fi = (e) => ({}), Bt = (e) => ({});
4047
- function Tt(e) {
4048
+ const Di = (e) => ({}), vt = (e) => ({}), Gi = (e) => ({}), Ht = (e) => ({}), Fi = (e) => ({}), wt = (e) => ({});
4049
+ function Bt(e) {
4048
4050
  let t, n, r;
4049
4051
  return {
4050
4052
  c() {
4051
4053
  t = $("div"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.5632 3.47782C12.4787 3.50138 12.3362 3.57505 12.2465 3.64153C12.1567 3.70806 10.8069 5.04216 9.24694 6.60626C6.11944 9.74192 6.25999 9.58204 6.25999 10.0037C6.25999 10.4243 6.13093 10.2784 9.34296 13.4903C12.4449 16.5921 12.356 16.5116 12.7278 16.5556C13.1855 16.6098 13.6413 16.2585 13.7301 15.783C13.7612 15.6164 13.7212 15.3395 13.6437 15.1847C13.6158 15.129 12.451 13.9396 11.0553 12.5417L8.51768 10L11.0553 7.45837C12.451 6.06048 13.6158 4.87114 13.6437 4.81544C13.7729 4.55751 13.7703 4.2006 13.6374 3.94274C13.4469 3.5731 12.9668 3.36532 12.5632 3.47782Z" fill="#111111"></path></svg>', Z(t, "class", "CashierHeaderLeftButton");
4052
4054
  },
4053
4055
  m(i, s) {
4054
- M(i, t, s), n || (r = Dt(
4056
+ M(i, t, s), n || (r = Ut(
4055
4057
  t,
4056
4058
  "click",
4057
4059
  /*back*/
@@ -4067,18 +4069,18 @@ function Tt(e) {
4067
4069
  function ji(e) {
4068
4070
  let t, n = (
4069
4071
  /*backButton*/
4070
- e[1] && Tt(e)
4072
+ e[1] && Bt(e)
4071
4073
  );
4072
4074
  return {
4073
4075
  c() {
4074
- n && n.c(), t = Ut();
4076
+ n && n.c(), t = Rt();
4075
4077
  },
4076
4078
  m(r, i) {
4077
4079
  n && n.m(r, i), M(r, t, i);
4078
4080
  },
4079
4081
  p(r, i) {
4080
4082
  /*backButton*/
4081
- r[1] ? n ? n.p(r, i) : (n = Tt(r), n.c(), n.m(t.parentNode, t)) : n && (n.d(1), n = null);
4083
+ r[1] ? n ? n.p(r, i) : (n = Bt(r), n.c(), n.m(t.parentNode, t)) : n && (n.d(1), n = null);
4082
4084
  },
4083
4085
  d(r) {
4084
4086
  r && P(t), n && n.d(r);
@@ -4106,21 +4108,21 @@ function ki(e) {
4106
4108
  i[4](
4107
4109
  /*titleText*/
4108
4110
  i[2]
4109
- ) + "") && Sn(r, n);
4111
+ ) + "") && Tn(r, n);
4110
4112
  },
4111
4113
  d(i) {
4112
4114
  i && P(t);
4113
4115
  }
4114
4116
  };
4115
4117
  }
4116
- function St(e) {
4118
+ function Tt(e) {
4117
4119
  let t, n, r;
4118
4120
  return {
4119
4121
  c() {
4120
4122
  t = $("span"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13" fill="none"><path d="M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z" fill="#111111"></path></svg>', Z(t, "class", "CashierHeaderRightButton");
4121
4123
  },
4122
4124
  m(i, s) {
4123
- M(i, t, s), n || (r = Dt(
4125
+ M(i, t, s), n || (r = Ut(
4124
4126
  t,
4125
4127
  "click",
4126
4128
  /*close*/
@@ -4136,18 +4138,18 @@ function St(e) {
4136
4138
  function Vi(e) {
4137
4139
  let t, n = (
4138
4140
  /*closeButton*/
4139
- e[3] && St(e)
4141
+ e[3] && Tt(e)
4140
4142
  );
4141
4143
  return {
4142
4144
  c() {
4143
- n && n.c(), t = Ut();
4145
+ n && n.c(), t = Rt();
4144
4146
  },
4145
4147
  m(r, i) {
4146
4148
  n && n.m(r, i), M(r, t, i);
4147
4149
  },
4148
4150
  p(r, i) {
4149
4151
  /*closeButton*/
4150
- r[3] ? n ? n.p(r, i) : (n = St(r), n.c(), n.m(t.parentNode, t)) : n && (n.d(1), n = null);
4152
+ r[3] ? n ? n.p(r, i) : (n = Tt(r), n.c(), n.m(t.parentNode, t)) : n && (n.d(1), n = null);
4151
4153
  },
4152
4154
  d(r) {
4153
4155
  r && P(t), n && n.d(r);
@@ -4164,7 +4166,7 @@ function Xi(e) {
4164
4166
  e,
4165
4167
  /*$$scope*/
4166
4168
  e[15],
4167
- Bt
4169
+ wt
4168
4170
  ), o = a || ji(e), l = (
4169
4171
  /*#slots*/
4170
4172
  e[16].title
@@ -4173,7 +4175,7 @@ function Xi(e) {
4173
4175
  e,
4174
4176
  /*$$scope*/
4175
4177
  e[15],
4176
- wt
4178
+ Ht
4177
4179
  ), h = u || ki(e), f = (
4178
4180
  /*#slots*/
4179
4181
  e[16].rightButton
@@ -4182,14 +4184,14 @@ function Xi(e) {
4182
4184
  e,
4183
4185
  /*$$scope*/
4184
4186
  e[15],
4185
- Ht
4187
+ vt
4186
4188
  ), d = m || Vi(e);
4187
4189
  return {
4188
4190
  c() {
4189
- t = $("div"), o && o.c(), n = st(), h && h.c(), r = st(), d && d.c(), Z(t, "class", "CashierHeader");
4191
+ t = $("div"), o.c(), n = it(), h.c(), r = it(), d.c(), Z(t, "class", "CashierHeader");
4190
4192
  },
4191
4193
  m(c, p) {
4192
- M(c, t, p), o && o.m(t, null), ge(t, n), h && h.m(t, null), ge(t, r), d && d.m(t, null), e[17](t), i = !0;
4194
+ M(c, t, p), o.m(t, null), ge(t, n), h.m(t, null), ge(t, r), d.m(t, null), e[17](t), i = !0;
4193
4195
  },
4194
4196
  p(c, [p]) {
4195
4197
  a ? a.p && (!i || p & /*$$scope*/
@@ -4209,8 +4211,8 @@ function Xi(e) {
4209
4211
  /*$$scope*/
4210
4212
  c[15]
4211
4213
  ),
4212
- Bt
4213
- ) : o && o.p && (!i || p & /*backButton*/
4214
+ wt
4215
+ ) : o.p && (!i || p & /*backButton*/
4214
4216
  2) && o.p(c, i ? p : -1), u ? u.p && (!i || p & /*$$scope*/
4215
4217
  32768) && Oe(
4216
4218
  u,
@@ -4228,8 +4230,8 @@ function Xi(e) {
4228
4230
  /*$$scope*/
4229
4231
  c[15]
4230
4232
  ),
4231
- wt
4232
- ) : h && h.p && (!i || p & /*$_, titleText*/
4233
+ Ht
4234
+ ) : h.p && (!i || p & /*$_, titleText*/
4233
4235
  20) && h.p(c, i ? p : -1), m ? m.p && (!i || p & /*$$scope*/
4234
4236
  32768) && Oe(
4235
4237
  m,
@@ -4247,8 +4249,8 @@ function Xi(e) {
4247
4249
  /*$$scope*/
4248
4250
  c[15]
4249
4251
  ),
4250
- Ht
4251
- ) : d && d.p && (!i || p & /*closeButton*/
4252
+ vt
4253
+ ) : d.p && (!i || p & /*closeButton*/
4252
4254
  8) && d.p(c, i ? p : -1);
4253
4255
  },
4254
4256
  i(c) {
@@ -4258,25 +4260,25 @@ function Xi(e) {
4258
4260
  Le(o, c), Le(h, c), Le(d, c), i = !1;
4259
4261
  },
4260
4262
  d(c) {
4261
- c && P(t), o && o.d(c), h && h.d(c), d && d.d(c), e[17](null);
4263
+ c && P(t), o.d(c), h.d(c), d.d(c), e[17](null);
4262
4264
  }
4263
4265
  };
4264
4266
  }
4265
4267
  function zi(e, t, n) {
4266
4268
  let r;
4267
- Hn(e, $i, (_) => n(4, r = _));
4269
+ vn(e, $i, (_) => n(4, r = _));
4268
4270
  let { $$slots: i = {}, $$scope: s } = t, { clientstyling: a = "" } = t, { clientstylingurl: o = "" } = t, { translationurl: l = "" } = t, { showbackbutton: u = "" } = t, { title: h = "header.general" } = t, { lang: f = "en" } = t, { showclosebutton: m = "" } = t, { mbsource: d = "" } = t, c, p = !1, E, v = !1;
4269
4271
  const T = () => {
4270
4272
  fetch(l).then((_) => _.json()).then((_) => {
4271
- Object.keys(_).forEach((rt) => {
4272
- Et(rt, _[rt]);
4273
+ Object.keys(_).forEach((nt) => {
4274
+ xt(nt, _[nt]);
4273
4275
  });
4274
4276
  }).catch((_) => {
4275
4277
  console.log(_);
4276
4278
  });
4277
4279
  };
4278
- Object.keys(vt).forEach((_) => {
4279
- Et(_, vt[_]);
4280
+ Object.keys(Et).forEach((_) => {
4281
+ xt(_, Et[_]);
4280
4282
  });
4281
4283
  const H = () => {
4282
4284
  Ri(f);
@@ -4288,12 +4290,12 @@ function zi(e, t, n) {
4288
4290
  n(1, p = !!u && u !== "false");
4289
4291
  }, ue = () => {
4290
4292
  n(3, v = !!m && m !== "false");
4291
- }, yn = () => {
4293
+ }, _n = () => {
4292
4294
  n(2, E = h || "header.general");
4293
4295
  };
4294
- In(() => () => {
4296
+ Nn(() => () => {
4295
4297
  });
4296
- function xn(_) {
4298
+ function yn(_) {
4297
4299
  Ge[_ ? "unshift" : "push"](() => {
4298
4300
  c = _, n(0, c);
4299
4301
  });
@@ -4303,10 +4305,10 @@ function zi(e, t, n) {
4303
4305
  }, e.$$.update = () => {
4304
4306
  e.$$.dirty & /*lang*/
4305
4307
  4096 && f && H(), e.$$.dirty & /*lang, title*/
4306
- 6144 && f && h && yn(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4307
- 129 && a && c && Vn(c, a), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4308
- 257 && o && c && Xn(c, o), e.$$.dirty & /*mbsource, customStylingContainer*/
4309
- 16385 && d && c && zn(c, `${d}.Style`), e.$$.dirty & /*lang, translationurl*/
4308
+ 6144 && f && h && _n(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4309
+ 129 && a && c && kn(c, a), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4310
+ 257 && o && c && Vn(c, o), e.$$.dirty & /*mbsource, customStylingContainer*/
4311
+ 16385 && d && c && Xn(c, `${d}.Style`), e.$$.dirty & /*lang, translationurl*/
4310
4312
  4608 && f && l && T(), e.$$.dirty & /*showbackbutton*/
4311
4313
  1024 && u && U(), e.$$.dirty & /*showclosebutton*/
4312
4314
  8192 && m && ue();
@@ -4328,17 +4330,17 @@ function zi(e, t, n) {
4328
4330
  d,
4329
4331
  s,
4330
4332
  i,
4331
- xn
4333
+ yn
4332
4334
  ];
4333
4335
  }
4334
- class _n extends jn {
4336
+ class bn extends Fn {
4335
4337
  constructor(t) {
4336
- super(), Gn(
4338
+ super(), Dn(
4337
4339
  this,
4338
4340
  t,
4339
4341
  zi,
4340
4342
  Xi,
4341
- Pt,
4343
+ Ot,
4342
4344
  {
4343
4345
  clientstyling: 7,
4344
4346
  clientstylingurl: 8,
@@ -4401,61 +4403,61 @@ class _n extends jn {
4401
4403
  this.$$set({ mbsource: t }), A();
4402
4404
  }
4403
4405
  }
4404
- Fn(_n, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {}, mbsource: {} }, ["leftButton", "title", "rightButton"], [], !0);
4406
+ Gn(bn, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {}, mbsource: {} }, ["leftButton", "title", "rightButton"], [], !0);
4405
4407
  const us = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4406
4408
  __proto__: null,
4407
- default: _n
4409
+ default: bn
4408
4410
  }, Symbol.toStringTag, { value: "Module" }));
4409
4411
  export {
4410
4412
  R as $,
4411
- Zn as A,
4412
- At as B,
4413
+ Wn as A,
4414
+ St as B,
4413
4415
  di as C,
4414
- mn as D,
4416
+ cn as D,
4415
4417
  Le as E,
4416
4418
  ns as F,
4417
4419
  ce as G,
4418
- Hn as H,
4420
+ vn as H,
4419
4421
  ts as I,
4420
4422
  Ji as J,
4421
4423
  ne as K,
4422
4424
  rs as L,
4423
4425
  is as M,
4424
- Ut as N,
4426
+ Rt as N,
4425
4427
  $i as O,
4426
4428
  Zi as P,
4427
4429
  Wi as Q,
4428
4430
  os as R,
4429
- jn as S,
4430
- Rn as T,
4431
- Un as U,
4431
+ Fn as S,
4432
+ $n as T,
4433
+ Rn as U,
4432
4434
  Yi as V,
4433
4435
  es as W,
4434
4436
  us as X,
4435
- wn as a,
4437
+ Hn as a,
4436
4438
  $ as b,
4437
- Fn as c,
4439
+ Gn as c,
4438
4440
  qi as d,
4439
4441
  ss as e,
4440
4442
  A as f,
4441
- st as g,
4443
+ it as g,
4442
4444
  Z as h,
4443
- Gn as i,
4445
+ Dn as i,
4444
4446
  M as j,
4445
4447
  ge as k,
4446
- Dt as l,
4448
+ Ut as l,
4447
4449
  P as m,
4448
4450
  B as n,
4449
4451
  Qi as o,
4450
- In as p,
4451
- Xn as q,
4452
+ Nn as p,
4453
+ Ki as q,
4452
4454
  I as r,
4453
- Pt as s,
4454
- zn as t,
4455
- Ye as u,
4456
- Ki as v,
4457
- Sn as w,
4458
- Ge as x,
4459
- Vn as y,
4455
+ Ot as s,
4456
+ Ye as t,
4457
+ Tn as u,
4458
+ Ge as v,
4459
+ kn as w,
4460
+ Vn as x,
4461
+ Xn as y,
4460
4462
  as as z
4461
4463
  };