@everymatrix/cashier-header 1.54.12 → 1.55.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,31 +1,31 @@
1
1
  function B() {
2
2
  }
3
- function Yt(e, t) {
3
+ function er(e, t) {
4
4
  for (const r in t) e[r] = t[r];
5
5
  return (
6
6
  /** @type {T & S} */
7
7
  e
8
8
  );
9
9
  }
10
- function gt(e) {
10
+ function yt(e) {
11
11
  return e();
12
12
  }
13
- function ze() {
13
+ function Qe() {
14
14
  return /* @__PURE__ */ Object.create(null);
15
15
  }
16
16
  function ee(e) {
17
- e.forEach(gt);
17
+ e.forEach(yt);
18
18
  }
19
19
  function je(e) {
20
20
  return typeof e == "function";
21
21
  }
22
- function _t(e, t) {
22
+ function Et(e, t) {
23
23
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
24
24
  }
25
- function Kt(e) {
25
+ function tr(e) {
26
26
  return Object.keys(e).length === 0;
27
27
  }
28
- function yt(e, ...t) {
28
+ function xt(e, ...t) {
29
29
  if (e == null) {
30
30
  for (const n of t)
31
31
  n(void 0);
@@ -34,17 +34,17 @@ function yt(e, ...t) {
34
34
  const r = e.subscribe(...t);
35
35
  return r.unsubscribe ? () => r.unsubscribe() : r;
36
36
  }
37
- function er(e, t, r) {
38
- e.$$.on_destroy.push(yt(t, r));
37
+ function rr(e, t, r) {
38
+ e.$$.on_destroy.push(xt(t, r));
39
39
  }
40
40
  function ye(e, t, r, n) {
41
41
  if (e) {
42
- const i = Et(e, t, r, n);
42
+ const i = vt(e, t, r, n);
43
43
  return e[0](i);
44
44
  }
45
45
  }
46
- function Et(e, t, r, n) {
47
- return e[1] && n ? Yt(r.ctx.slice(), e[1](n(t))) : r.ctx;
46
+ function vt(e, t, r, n) {
47
+ return e[1] && n ? er(r.ctx.slice(), e[1](n(t))) : r.ctx;
48
48
  }
49
49
  function Ee(e, t, r, n) {
50
50
  if (e[2] && n) {
@@ -63,7 +63,7 @@ function Ee(e, t, r, n) {
63
63
  }
64
64
  function xe(e, t, r, n, i, s) {
65
65
  if (i) {
66
- const h = Et(t, r, n, s);
66
+ const h = vt(t, r, n, s);
67
67
  e.p(h, i);
68
68
  }
69
69
  }
@@ -79,14 +79,14 @@ function ve(e) {
79
79
  function fe(e, t) {
80
80
  e.appendChild(t);
81
81
  }
82
- function tr(e, t, r) {
83
- const n = rr(e);
82
+ function nr(e, t, r) {
83
+ const n = ir(e);
84
84
  if (!n.getElementById(t)) {
85
- const i = W("style");
86
- i.id = t, i.textContent = r, nr(n, i);
85
+ const i = z("style");
86
+ i.id = t, i.textContent = r, sr(n, i);
87
87
  }
88
88
  }
89
- function rr(e) {
89
+ function ir(e) {
90
90
  if (!e) return document;
91
91
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
92
92
  return t && /** @type {ShadowRoot} */
@@ -95,7 +95,7 @@ function rr(e) {
95
95
  t
96
96
  ) : e.ownerDocument;
97
97
  }
98
- function nr(e, t) {
98
+ function sr(e, t) {
99
99
  return fe(
100
100
  /** @type {Document} */
101
101
  e.head || e,
@@ -108,32 +108,32 @@ function I(e, t, r) {
108
108
  function O(e) {
109
109
  e.parentNode && e.parentNode.removeChild(e);
110
110
  }
111
- function W(e) {
111
+ function z(e) {
112
112
  return document.createElement(e);
113
113
  }
114
114
  function ke(e) {
115
115
  return document.createTextNode(e);
116
116
  }
117
- function Ze() {
117
+ function Je() {
118
118
  return ke(" ");
119
119
  }
120
- function xt() {
120
+ function Ht() {
121
121
  return ke("");
122
122
  }
123
- function vt(e, t, r, n) {
123
+ function Bt(e, t, r, n) {
124
124
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
125
125
  }
126
126
  function te(e, t, r) {
127
127
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
128
128
  }
129
- function ir(e) {
129
+ function or(e) {
130
130
  return Array.from(e.childNodes);
131
131
  }
132
- function sr(e, t) {
132
+ function ar(e, t) {
133
133
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
134
134
  t);
135
135
  }
136
- function or(e) {
136
+ function hr(e) {
137
137
  const t = {};
138
138
  return e.childNodes.forEach(
139
139
  /** @param {Element} node */
@@ -148,10 +148,10 @@ function q(e) {
148
148
  }
149
149
  const G = [], Pe = [];
150
150
  let F = [];
151
- const Qe = [], ar = /* @__PURE__ */ Promise.resolve();
151
+ const qe = [], ur = /* @__PURE__ */ Promise.resolve();
152
152
  let Le = !1;
153
- function hr() {
154
- Le || (Le = !0, ar.then(S));
153
+ function lr() {
154
+ Le || (Le = !0, ur.then(S));
155
155
  }
156
156
  function Ne(e) {
157
157
  F.push(e);
@@ -166,7 +166,7 @@ function S() {
166
166
  try {
167
167
  for (; U < G.length; ) {
168
168
  const t = G[U];
169
- U++, q(t), ur(t.$$);
169
+ U++, q(t), fr(t.$$);
170
170
  }
171
171
  } catch (t) {
172
172
  throw G.length = 0, U = 0, t;
@@ -178,49 +178,49 @@ function S() {
178
178
  }
179
179
  F.length = 0;
180
180
  } while (G.length);
181
- for (; Qe.length; )
182
- Qe.pop()();
181
+ for (; qe.length; )
182
+ qe.pop()();
183
183
  Le = !1, He.clear(), q(e);
184
184
  }
185
- function ur(e) {
185
+ function fr(e) {
186
186
  if (e.fragment !== null) {
187
187
  e.update(), ee(e.before_update);
188
188
  const t = e.dirty;
189
189
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ne);
190
190
  }
191
191
  }
192
- function lr(e) {
192
+ function cr(e) {
193
193
  const t = [], r = [];
194
194
  F.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), F = t;
195
195
  }
196
196
  const oe = /* @__PURE__ */ new Set();
197
- let fr;
197
+ let mr;
198
198
  function ae(e, t) {
199
199
  e && e.i && (oe.delete(e), e.i(t));
200
200
  }
201
201
  function Be(e, t, r, n) {
202
202
  if (e && e.o) {
203
203
  if (oe.has(e)) return;
204
- oe.add(e), fr.c.push(() => {
204
+ oe.add(e), mr.c.push(() => {
205
205
  oe.delete(e);
206
206
  }), e.o(t);
207
207
  }
208
208
  }
209
- function cr(e, t, r) {
209
+ function pr(e, t, r) {
210
210
  const { fragment: n, after_update: i } = e.$$;
211
211
  n && n.m(t, r), Ne(() => {
212
- const s = e.$$.on_mount.map(gt).filter(je);
212
+ const s = e.$$.on_mount.map(yt).filter(je);
213
213
  e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ee(s), e.$$.on_mount = [];
214
214
  }), i.forEach(Ne);
215
215
  }
216
- function mr(e, t) {
216
+ function dr(e, t) {
217
217
  const r = e.$$;
218
- r.fragment !== null && (lr(r.after_update), ee(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
218
+ r.fragment !== null && (cr(r.after_update), ee(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
219
219
  }
220
- function pr(e, t) {
221
- e.$$.dirty[0] === -1 && (G.push(e), hr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
220
+ function br(e, t) {
221
+ e.$$.dirty[0] === -1 && (G.push(e), lr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
222
222
  }
223
- function dr(e, t, r, n, i, s, h = null, o = [-1]) {
223
+ function gr(e, t, r, n, i, s, h = null, o = [-1]) {
224
224
  const l = Ve;
225
225
  q(e);
226
226
  const a = e.$$ = {
@@ -230,7 +230,7 @@ function dr(e, t, r, n, i, s, h = null, o = [-1]) {
230
230
  props: s,
231
231
  update: B,
232
232
  not_equal: i,
233
- bound: ze(),
233
+ bound: Qe(),
234
234
  // lifecycle
235
235
  on_mount: [],
236
236
  on_destroy: [],
@@ -239,7 +239,7 @@ function dr(e, t, r, n, i, s, h = null, o = [-1]) {
239
239
  after_update: [],
240
240
  context: new Map(t.context || (l ? l.$$.context : [])),
241
241
  // everything else
242
- callbacks: ze(),
242
+ callbacks: Qe(),
243
243
  dirty: o,
244
244
  skip_bound: !1,
245
245
  root: t.target || l.$$.root
@@ -248,19 +248,19 @@ function dr(e, t, r, n, i, s, h = null, o = [-1]) {
248
248
  let u = !1;
249
249
  if (a.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
250
250
  const m = p.length ? p[0] : c;
251
- return a.ctx && i(a.ctx[f], a.ctx[f] = m) && (!a.skip_bound && a.bound[f] && a.bound[f](m), u && pr(e, f)), c;
251
+ return a.ctx && i(a.ctx[f], a.ctx[f] = m) && (!a.skip_bound && a.bound[f] && a.bound[f](m), u && br(e, f)), c;
252
252
  }) : [], a.update(), u = !0, ee(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
253
253
  if (t.hydrate) {
254
- const f = ir(t.target);
254
+ const f = or(t.target);
255
255
  a.fragment && a.fragment.l(f), f.forEach(O);
256
256
  } else
257
257
  a.fragment && a.fragment.c();
258
- t.intro && ae(e.$$.fragment), cr(e, t.target, t.anchor), S();
258
+ t.intro && ae(e.$$.fragment), pr(e, t.target, t.anchor), S();
259
259
  }
260
260
  q(l);
261
261
  }
262
- let Ht;
263
- typeof HTMLElement == "function" && (Ht = class extends HTMLElement {
262
+ let Tt;
263
+ typeof HTMLElement == "function" && (Tt = class extends HTMLElement {
264
264
  /** The Svelte component constructor */
265
265
  $$ctor;
266
266
  /** Slots */
@@ -302,7 +302,7 @@ typeof HTMLElement == "function" && (Ht = class extends HTMLElement {
302
302
  let s;
303
303
  return {
304
304
  c: function() {
305
- s = W("slot"), i !== "default" && te(s, "name", i);
305
+ s = z("slot"), i !== "default" && te(s, "name", i);
306
306
  },
307
307
  /**
308
308
  * @param {HTMLElement} target
@@ -319,7 +319,7 @@ typeof HTMLElement == "function" && (Ht = class extends HTMLElement {
319
319
  };
320
320
  if (await Promise.resolve(), !this.$$cn || this.$$c)
321
321
  return;
322
- const t = {}, r = or(this);
322
+ const t = {}, r = hr(this);
323
323
  for (const i of this.$$s)
324
324
  i in r && (t[i] = [e(i)]);
325
325
  for (const i of this.attributes) {
@@ -406,8 +406,8 @@ function he(e, t, r, n) {
406
406
  return t;
407
407
  }
408
408
  }
409
- function br(e, t, r, n, i, s) {
410
- let h = class extends Ht {
409
+ function _r(e, t, r, n, i, s) {
410
+ let h = class extends Tt {
411
411
  constructor() {
412
412
  super(e, r, i), this.$$p_d = t;
413
413
  }
@@ -435,7 +435,7 @@ function br(e, t, r, n, i, s) {
435
435
  }), e.element = /** @type {any} */
436
436
  h, h;
437
437
  }
438
- class gr {
438
+ class yr {
439
439
  /**
440
440
  * ### PRIVATE API
441
441
  *
@@ -454,7 +454,7 @@ class gr {
454
454
  $$set = void 0;
455
455
  /** @returns {void} */
456
456
  $destroy() {
457
- mr(this, 1), this.$destroy = B;
457
+ dr(this, 1), this.$destroy = B;
458
458
  }
459
459
  /**
460
460
  * @template {Extract<keyof Events, string>} K
@@ -476,13 +476,13 @@ class gr {
476
476
  * @returns {void}
477
477
  */
478
478
  $set(t) {
479
- this.$$set && !Kt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
479
+ this.$$set && !tr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
480
480
  }
481
481
  }
482
- const _r = "4";
483
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(_r);
482
+ const Er = "4";
483
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Er);
484
484
  const D = [];
485
- function yr(e, t) {
485
+ function xr(e, t) {
486
486
  return {
487
487
  subscribe: de(e, t).subscribe
488
488
  };
@@ -491,7 +491,7 @@ function de(e, t = B) {
491
491
  let r;
492
492
  const n = /* @__PURE__ */ new Set();
493
493
  function i(o) {
494
- if (_t(e, o) && (e = o, r)) {
494
+ if (Et(e, o) && (e = o, r)) {
495
495
  const l = !D.length;
496
496
  for (const a of n)
497
497
  a[1](), D.push(a, e);
@@ -513,12 +513,12 @@ function de(e, t = B) {
513
513
  }
514
514
  return { set: i, update: s, subscribe: h };
515
515
  }
516
- function z(e, t, r) {
516
+ function W(e, t, r) {
517
517
  const n = !Array.isArray(e), i = n ? [e] : e;
518
518
  if (!i.every(Boolean))
519
519
  throw new Error("derived() expects stores as input, got a falsy value");
520
520
  const s = t.length < 2;
521
- return yr(r, (h, o) => {
521
+ return xr(r, (h, o) => {
522
522
  let l = !1;
523
523
  const a = [];
524
524
  let u = 0, f = B;
@@ -529,7 +529,7 @@ function z(e, t, r) {
529
529
  const m = t(n ? a[0] : a, h, o);
530
530
  s ? h(m) : f = je(m) ? m : B;
531
531
  }, p = i.map(
532
- (m, g) => yt(
532
+ (m, g) => xt(
533
533
  m,
534
534
  (v) => {
535
535
  a[g] = v, u &= ~(1 << g), l && c();
@@ -544,70 +544,70 @@ function z(e, t, r) {
544
544
  };
545
545
  });
546
546
  }
547
- function Er(e) {
547
+ function vr(e) {
548
548
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
549
549
  }
550
- var xr = function(t) {
551
- return vr(t) && !Hr(t);
550
+ var Hr = function(t) {
551
+ return Br(t) && !Tr(t);
552
552
  };
553
- function vr(e) {
553
+ function Br(e) {
554
554
  return !!e && typeof e == "object";
555
555
  }
556
- function Hr(e) {
556
+ function Tr(e) {
557
557
  var t = Object.prototype.toString.call(e);
558
- return t === "[object RegExp]" || t === "[object Date]" || wr(e);
558
+ return t === "[object RegExp]" || t === "[object Date]" || Ar(e);
559
559
  }
560
- var Br = typeof Symbol == "function" && Symbol.for, Tr = Br ? Symbol.for("react.element") : 60103;
561
- function wr(e) {
562
- return e.$$typeof === Tr;
560
+ var wr = typeof Symbol == "function" && Symbol.for, Sr = wr ? Symbol.for("react.element") : 60103;
561
+ function Ar(e) {
562
+ return e.$$typeof === Sr;
563
563
  }
564
- function Sr(e) {
564
+ function Cr(e) {
565
565
  return Array.isArray(e) ? [] : {};
566
566
  }
567
567
  function Y(e, t) {
568
- return t.clone !== !1 && t.isMergeableObject(e) ? j(Sr(e), e, t) : e;
568
+ return t.clone !== !1 && t.isMergeableObject(e) ? j(Cr(e), e, t) : e;
569
569
  }
570
- function Ar(e, t, r) {
570
+ function Or(e, t, r) {
571
571
  return e.concat(t).map(function(n) {
572
572
  return Y(n, r);
573
573
  });
574
574
  }
575
- function Cr(e, t) {
575
+ function Pr(e, t) {
576
576
  if (!t.customMerge)
577
577
  return j;
578
578
  var r = t.customMerge(e);
579
579
  return typeof r == "function" ? r : j;
580
580
  }
581
- function Or(e) {
581
+ function Lr(e) {
582
582
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
583
583
  return Object.propertyIsEnumerable.call(e, t);
584
584
  }) : [];
585
585
  }
586
- function Je(e) {
587
- return Object.keys(e).concat(Or(e));
586
+ function Ye(e) {
587
+ return Object.keys(e).concat(Lr(e));
588
588
  }
589
- function Bt(e, t) {
589
+ function wt(e, t) {
590
590
  try {
591
591
  return t in e;
592
592
  } catch {
593
593
  return !1;
594
594
  }
595
595
  }
596
- function Pr(e, t) {
597
- return Bt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
596
+ function Nr(e, t) {
597
+ return wt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
598
598
  }
599
- function Lr(e, t, r) {
599
+ function Ir(e, t, r) {
600
600
  var n = {};
601
- return r.isMergeableObject(e) && Je(e).forEach(function(i) {
601
+ return r.isMergeableObject(e) && Ye(e).forEach(function(i) {
602
602
  n[i] = Y(e[i], r);
603
- }), Je(t).forEach(function(i) {
604
- Pr(e, i) || (Bt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Cr(i, r)(e[i], t[i], r) : n[i] = Y(t[i], r));
603
+ }), Ye(t).forEach(function(i) {
604
+ Nr(e, i) || (wt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Pr(i, r)(e[i], t[i], r) : n[i] = Y(t[i], r));
605
605
  }), n;
606
606
  }
607
607
  function j(e, t, r) {
608
- r = r || {}, r.arrayMerge = r.arrayMerge || Ar, r.isMergeableObject = r.isMergeableObject || xr, r.cloneUnlessOtherwiseSpecified = Y;
608
+ r = r || {}, r.arrayMerge = r.arrayMerge || Or, r.isMergeableObject = r.isMergeableObject || Hr, r.cloneUnlessOtherwiseSpecified = Y;
609
609
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
610
- return s ? n ? r.arrayMerge(e, t, r) : Lr(e, t, r) : Y(t, r);
610
+ return s ? n ? r.arrayMerge(e, t, r) : Ir(e, t, r) : Y(t, r);
611
611
  }
612
612
  j.all = function(t, r) {
613
613
  if (!Array.isArray(t))
@@ -616,8 +616,8 @@ j.all = function(t, r) {
616
616
  return j(n, i, r);
617
617
  }, {});
618
618
  };
619
- var Nr = j, Ir = Nr;
620
- const Mr = /* @__PURE__ */ Er(Ir);
619
+ var Mr = j, $r = Mr;
620
+ const Rr = /* @__PURE__ */ vr($r);
621
621
  var Ie = function(e, t) {
622
622
  return Ie = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
623
623
  r.__proto__ = n;
@@ -643,7 +643,7 @@ var y = function() {
643
643
  return t;
644
644
  }, y.apply(this, arguments);
645
645
  };
646
- function $r(e, t) {
646
+ function Ur(e, t) {
647
647
  var r = {};
648
648
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
649
649
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -657,53 +657,55 @@ function Te(e, t, r) {
657
657
  return e.concat(s || Array.prototype.slice.call(t));
658
658
  }
659
659
  function we(e, t) {
660
- var r = t && t.cache ? t.cache : kr, n = t && t.serializer ? t.serializer : Fr, i = t && t.strategy ? t.strategy : Dr;
660
+ var r = t && t.cache ? t.cache : Vr, n = t && t.serializer ? t.serializer : kr, i = t && t.strategy ? t.strategy : Gr;
661
661
  return i(e, {
662
662
  cache: r,
663
663
  serializer: n
664
664
  });
665
665
  }
666
- function Rr(e) {
666
+ function Dr(e) {
667
667
  return e == null || typeof e == "number" || typeof e == "boolean";
668
668
  }
669
- function Ur(e, t, r, n) {
670
- var i = Rr(n) ? n : r(n), s = t.get(i);
669
+ function St(e, t, r, n) {
670
+ var i = Dr(n) ? n : r(n), s = t.get(i);
671
671
  return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
672
672
  }
673
- function Tt(e, t, r) {
673
+ function At(e, t, r) {
674
674
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
675
675
  return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
676
676
  }
677
- function wt(e, t, r, n, i) {
677
+ function Xe(e, t, r, n, i) {
678
678
  return r.bind(t, e, n, i);
679
679
  }
680
- function Dr(e, t) {
681
- var r = e.length === 1 ? Ur : Tt;
682
- return wt(e, this, r, t.cache.create(), t.serializer);
683
- }
684
680
  function Gr(e, t) {
685
- return wt(e, this, Tt, t.cache.create(), t.serializer);
681
+ var r = e.length === 1 ? St : At;
682
+ return Xe(e, this, r, t.cache.create(), t.serializer);
683
+ }
684
+ function Fr(e, t) {
685
+ return Xe(e, this, At, t.cache.create(), t.serializer);
686
686
  }
687
- var Fr = function() {
687
+ function jr(e, t) {
688
+ return Xe(e, this, St, t.cache.create(), t.serializer);
689
+ }
690
+ var kr = function() {
688
691
  return JSON.stringify(arguments);
689
- }, jr = (
690
- /** @class */
691
- function() {
692
- function e() {
693
- this.cache = /* @__PURE__ */ Object.create(null);
694
- }
695
- return e.prototype.get = function(t) {
696
- return this.cache[t];
697
- }, e.prototype.set = function(t, r) {
698
- this.cache[t] = r;
699
- }, e;
700
- }()
701
- ), kr = {
692
+ };
693
+ function ze() {
694
+ this.cache = /* @__PURE__ */ Object.create(null);
695
+ }
696
+ ze.prototype.get = function(e) {
697
+ return this.cache[e];
698
+ };
699
+ ze.prototype.set = function(e, t) {
700
+ this.cache[e] = t;
701
+ };
702
+ var Vr = {
702
703
  create: function() {
703
- return new jr();
704
+ return new ze();
704
705
  }
705
706
  }, Se = {
706
- variadic: Gr
707
+ variadic: Fr,
708
+ monadic: jr
707
709
  }, d;
708
710
  (function(e) {
709
711
  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";
@@ -716,41 +718,41 @@ var k;
716
718
  (function(e) {
717
719
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
718
720
  })(k || (k = {}));
719
- function qe(e) {
721
+ function Ke(e) {
720
722
  return e.type === E.literal;
721
723
  }
722
- function Vr(e) {
724
+ function Xr(e) {
723
725
  return e.type === E.argument;
724
726
  }
725
- function St(e) {
727
+ function Ct(e) {
726
728
  return e.type === E.number;
727
729
  }
728
- function At(e) {
730
+ function Ot(e) {
729
731
  return e.type === E.date;
730
732
  }
731
- function Ct(e) {
733
+ function Pt(e) {
732
734
  return e.type === E.time;
733
735
  }
734
- function Ot(e) {
736
+ function Lt(e) {
735
737
  return e.type === E.select;
736
738
  }
737
- function Pt(e) {
739
+ function Nt(e) {
738
740
  return e.type === E.plural;
739
741
  }
740
- function Xr(e) {
742
+ function zr(e) {
741
743
  return e.type === E.pound;
742
744
  }
743
- function Lt(e) {
745
+ function It(e) {
744
746
  return e.type === E.tag;
745
747
  }
746
- function Nt(e) {
748
+ function Mt(e) {
747
749
  return !!(e && typeof e == "object" && e.type === k.number);
748
750
  }
749
751
  function Me(e) {
750
752
  return !!(e && typeof e == "object" && e.type === k.dateTime);
751
753
  }
752
- var It = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Wr = /(?:[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;
753
- function zr(e) {
754
+ var $t = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Wr = /(?:[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;
755
+ function Zr(e) {
754
756
  var t = {};
755
757
  return e.replace(Wr, function(r) {
756
758
  var n = r.length;
@@ -841,11 +843,11 @@ function zr(e) {
841
843
  return "";
842
844
  }), t;
843
845
  }
844
- var Zr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
845
- function Qr(e) {
846
+ var Qr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
847
+ function Jr(e) {
846
848
  if (e.length === 0)
847
849
  throw new Error("Number skeleton cannot be empty");
848
- for (var t = e.split(Zr).filter(function(c) {
850
+ for (var t = e.split(Qr).filter(function(c) {
849
851
  return c.length > 0;
850
852
  }), r = [], n = 0, i = t; n < i.length; n++) {
851
853
  var s = i[n], h = s.split("/");
@@ -860,17 +862,17 @@ function Qr(e) {
860
862
  }
861
863
  return r;
862
864
  }
863
- function Jr(e) {
865
+ function qr(e) {
864
866
  return e.replace(/^(.*?)-/, "");
865
867
  }
866
- var Ye = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Mt = /^(@+)?(\+|#+)?[rs]?$/g, qr = /(\*)(0+)|(#+)(0+)|(0+)/g, $t = /^(0+)$/;
867
- function Ke(e) {
868
+ var et = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Rt = /^(@+)?(\+|#+)?[rs]?$/g, Yr = /(\*)(0+)|(#+)(0+)|(0+)/g, Ut = /^(0+)$/;
869
+ function tt(e) {
868
870
  var t = {};
869
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Mt, function(r, n, i) {
871
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Rt, function(r, n, i) {
870
872
  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)), "";
871
873
  }), t;
872
874
  }
873
- function Rt(e) {
875
+ function Dt(e) {
874
876
  switch (e) {
875
877
  case "sign-auto":
876
878
  return {
@@ -910,7 +912,7 @@ function Rt(e) {
910
912
  };
911
913
  }
912
914
  }
913
- function Yr(e) {
915
+ function Kr(e) {
914
916
  var t;
915
917
  if (e[0] === "E" && e[1] === "E" ? (t = {
916
918
  notation: "engineering"
@@ -918,17 +920,17 @@ function Yr(e) {
918
920
  notation: "scientific"
919
921
  }, e = e.slice(1)), t) {
920
922
  var r = e.slice(0, 2);
921
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !$t.test(e))
923
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Ut.test(e))
922
924
  throw new Error("Malformed concise eng/scientific notation");
923
925
  t.minimumIntegerDigits = e.length;
924
926
  }
925
927
  return t;
926
928
  }
927
- function et(e) {
928
- var t = {}, r = Rt(e);
929
+ function rt(e) {
930
+ var t = {}, r = Dt(e);
929
931
  return r || t;
930
932
  }
931
- function Kr(e) {
933
+ function en(e) {
932
934
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
933
935
  var i = n[r];
934
936
  switch (i.stem) {
@@ -952,7 +954,7 @@ function Kr(e) {
952
954
  continue;
953
955
  case "measure-unit":
954
956
  case "unit":
955
- t.style = "unit", t.unit = Jr(i.options[0]);
957
+ t.style = "unit", t.unit = qr(i.options[0]);
956
958
  continue;
957
959
  case "compact-short":
958
960
  case "K":
@@ -964,12 +966,12 @@ function Kr(e) {
964
966
  continue;
965
967
  case "scientific":
966
968
  t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(l, a) {
967
- return y(y({}, l), et(a));
969
+ return y(y({}, l), rt(a));
968
970
  }, {}));
969
971
  continue;
970
972
  case "engineering":
971
973
  t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(l, a) {
972
- return y(y({}, l), et(a));
974
+ return y(y({}, l), rt(a));
973
975
  }, {}));
974
976
  continue;
975
977
  case "notation-simple":
@@ -1014,7 +1016,7 @@ function Kr(e) {
1014
1016
  case "integer-width":
1015
1017
  if (i.options.length > 1)
1016
1018
  throw new RangeError("integer-width stems only accept a single optional option");
1017
- i.options[0].replace(qr, function(l, a, u, f, c, p) {
1019
+ i.options[0].replace(Yr, function(l, a, u, f, c, p) {
1018
1020
  if (a)
1019
1021
  t.minimumIntegerDigits = u.length;
1020
1022
  else {
@@ -1027,27 +1029,27 @@ function Kr(e) {
1027
1029
  });
1028
1030
  continue;
1029
1031
  }
1030
- if ($t.test(i.stem)) {
1032
+ if (Ut.test(i.stem)) {
1031
1033
  t.minimumIntegerDigits = i.stem.length;
1032
1034
  continue;
1033
1035
  }
1034
- if (Ye.test(i.stem)) {
1036
+ if (et.test(i.stem)) {
1035
1037
  if (i.options.length > 1)
1036
1038
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1037
- i.stem.replace(Ye, function(l, a, u, f, c, p) {
1039
+ i.stem.replace(et, function(l, a, u, f, c, p) {
1038
1040
  return u === "*" ? t.minimumFractionDigits = a.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && p ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + p.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
1039
1041
  });
1040
1042
  var s = i.options[0];
1041
- s === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = y(y({}, t), Ke(s)));
1043
+ s === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = y(y({}, t), tt(s)));
1042
1044
  continue;
1043
1045
  }
1044
- if (Mt.test(i.stem)) {
1045
- t = y(y({}, t), Ke(i.stem));
1046
+ if (Rt.test(i.stem)) {
1047
+ t = y(y({}, t), tt(i.stem));
1046
1048
  continue;
1047
1049
  }
1048
- var h = Rt(i.stem);
1050
+ var h = Dt(i.stem);
1049
1051
  h && (t = y(y({}, t), h));
1050
- var o = Yr(i.stem);
1052
+ var o = Kr(i.stem);
1051
1053
  o && (t = y(y({}, t), o));
1052
1054
  }
1053
1055
  return t;
@@ -2467,13 +2469,13 @@ var se = {
2467
2469
  "h"
2468
2470
  ]
2469
2471
  };
2470
- function en(e, t) {
2472
+ function tn(e, t) {
2471
2473
  for (var r = "", n = 0; n < e.length; n++) {
2472
2474
  var i = e.charAt(n);
2473
2475
  if (i === "j") {
2474
2476
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2475
2477
  s++, n++;
2476
- var h = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", a = tn(t);
2478
+ var h = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", a = rn(t);
2477
2479
  for ((a == "H" || a == "k") && (o = 0); o-- > 0; )
2478
2480
  r += l;
2479
2481
  for (; h-- > 0; )
@@ -2482,7 +2484,7 @@ function en(e, t) {
2482
2484
  }
2483
2485
  return r;
2484
2486
  }
2485
- function tn(e) {
2487
+ function rn(e) {
2486
2488
  var t = e.hourCycle;
2487
2489
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2488
2490
  e.hourCycles && // @ts-ignore
@@ -2504,20 +2506,20 @@ function tn(e) {
2504
2506
  var i = se[n || ""] || se[r || ""] || se["".concat(r, "-001")] || se["001"];
2505
2507
  return i[0];
2506
2508
  }
2507
- var Ae, rn = new RegExp("^".concat(It.source, "*")), nn = new RegExp("".concat(It.source, "*$"));
2509
+ var Ae, nn = new RegExp("^".concat($t.source, "*")), sn = new RegExp("".concat($t.source, "*$"));
2508
2510
  function b(e, t) {
2509
2511
  return { start: e, end: t };
2510
2512
  }
2511
- var sn = !!String.prototype.startsWith && "_a".startsWith("a", 1), on = !!String.fromCodePoint, an = !!Object.fromEntries, hn = !!String.prototype.codePointAt, un = !!String.prototype.trimStart, ln = !!String.prototype.trimEnd, fn = !!Number.isSafeInteger, cn = fn ? Number.isSafeInteger : function(e) {
2513
+ var on = !!String.prototype.startsWith && "_a".startsWith("a", 1), an = !!String.fromCodePoint, hn = !!Object.fromEntries, un = !!String.prototype.codePointAt, ln = !!String.prototype.trimStart, fn = !!String.prototype.trimEnd, cn = !!Number.isSafeInteger, mn = cn ? Number.isSafeInteger : function(e) {
2512
2514
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2513
2515
  }, $e = !0;
2514
2516
  try {
2515
- var mn = Dt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2516
- $e = ((Ae = mn.exec("a")) === null || Ae === void 0 ? void 0 : Ae[0]) === "a";
2517
+ var pn = Ft("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2518
+ $e = ((Ae = pn.exec("a")) === null || Ae === void 0 ? void 0 : Ae[0]) === "a";
2517
2519
  } catch {
2518
2520
  $e = !1;
2519
2521
  }
2520
- var tt = sn ? (
2522
+ var nt = on ? (
2521
2523
  // Native
2522
2524
  function(t, r, n) {
2523
2525
  return t.startsWith(r, n);
@@ -2527,7 +2529,7 @@ var tt = sn ? (
2527
2529
  function(t, r, n) {
2528
2530
  return t.slice(n, n + r.length) === r;
2529
2531
  }
2530
- ), Re = on ? String.fromCodePoint : (
2532
+ ), Re = an ? String.fromCodePoint : (
2531
2533
  // IE11
2532
2534
  function() {
2533
2535
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2539,9 +2541,9 @@ var tt = sn ? (
2539
2541
  }
2540
2542
  return n;
2541
2543
  }
2542
- ), rt = (
2544
+ ), it = (
2543
2545
  // native
2544
- an ? Object.fromEntries : (
2546
+ hn ? Object.fromEntries : (
2545
2547
  // Ponyfill
2546
2548
  function(t) {
2547
2549
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2551,7 +2553,7 @@ var tt = sn ? (
2551
2553
  return r;
2552
2554
  }
2553
2555
  )
2554
- ), Ut = hn ? (
2556
+ ), Gt = un ? (
2555
2557
  // Native
2556
2558
  function(t, r) {
2557
2559
  return t.codePointAt(r);
@@ -2565,7 +2567,7 @@ var tt = sn ? (
2565
2567
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2566
2568
  }
2567
2569
  }
2568
- ), pn = un ? (
2570
+ ), dn = ln ? (
2569
2571
  // Native
2570
2572
  function(t) {
2571
2573
  return t.trimStart();
@@ -2573,9 +2575,9 @@ var tt = sn ? (
2573
2575
  ) : (
2574
2576
  // Ponyfill
2575
2577
  function(t) {
2576
- return t.replace(rn, "");
2578
+ return t.replace(nn, "");
2577
2579
  }
2578
- ), dn = ln ? (
2580
+ ), bn = fn ? (
2579
2581
  // Native
2580
2582
  function(t) {
2581
2583
  return t.trimEnd();
@@ -2583,32 +2585,32 @@ var tt = sn ? (
2583
2585
  ) : (
2584
2586
  // Ponyfill
2585
2587
  function(t) {
2586
- return t.replace(nn, "");
2588
+ return t.replace(sn, "");
2587
2589
  }
2588
2590
  );
2589
- function Dt(e, t) {
2591
+ function Ft(e, t) {
2590
2592
  return new RegExp(e, t);
2591
2593
  }
2592
2594
  var Ue;
2593
2595
  if ($e) {
2594
- var nt = Dt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2596
+ var st = Ft("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2595
2597
  Ue = function(t, r) {
2596
2598
  var n;
2597
- nt.lastIndex = r;
2598
- var i = nt.exec(t);
2599
+ st.lastIndex = r;
2600
+ var i = st.exec(t);
2599
2601
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2600
2602
  };
2601
2603
  } else
2602
2604
  Ue = function(t, r) {
2603
2605
  for (var n = []; ; ) {
2604
- var i = Ut(t, r);
2605
- if (i === void 0 || Gt(i) || yn(i))
2606
+ var i = Gt(t, r);
2607
+ if (i === void 0 || jt(i) || En(i))
2606
2608
  break;
2607
2609
  n.push(i), r += i >= 65536 ? 2 : 1;
2608
2610
  }
2609
2611
  return Re.apply(void 0, n);
2610
2612
  };
2611
- var bn = (
2613
+ var gn = (
2612
2614
  /** @class */
2613
2615
  function() {
2614
2616
  function e(t, r) {
@@ -2690,7 +2692,7 @@ var bn = (
2690
2692
  return this.error(d.INVALID_TAG, b(n, this.clonePosition()));
2691
2693
  }, e.prototype.parseTagName = function() {
2692
2694
  var t = this.offset();
2693
- for (this.bump(); !this.isEOF() && _n(this.char()); )
2695
+ for (this.bump(); !this.isEOF() && yn(this.char()); )
2694
2696
  this.bump();
2695
2697
  return this.message.slice(t, this.offset());
2696
2698
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2719,7 +2721,7 @@ var bn = (
2719
2721
  };
2720
2722
  }, e.prototype.tryParseLeftAngleBracket = function() {
2721
2723
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2722
- !gn(this.peek() || 0)) ? (this.bump(), "<") : null;
2724
+ !_n(this.peek() || 0)) ? (this.bump(), "<") : null;
2723
2725
  }, e.prototype.tryParseQuote = function(t) {
2724
2726
  if (this.isEOF() || this.char() !== 39)
2725
2727
  return null;
@@ -2806,7 +2808,7 @@ var bn = (
2806
2808
  var u = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
2807
2809
  if (f.err)
2808
2810
  return f;
2809
- var c = dn(f.val);
2811
+ var c = bn(f.val);
2810
2812
  if (c.length === 0)
2811
2813
  return this.error(d.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
2812
2814
  var p = b(u, this.clonePosition());
@@ -2816,8 +2818,8 @@ var bn = (
2816
2818
  if (m.err)
2817
2819
  return m;
2818
2820
  var g = b(i, this.clonePosition());
2819
- if (a && tt(a?.style, "::", 0)) {
2820
- var v = pn(a.style.slice(2));
2821
+ if (a && nt(a?.style, "::", 0)) {
2822
+ var v = dn(a.style.slice(2));
2821
2823
  if (o === "number") {
2822
2824
  var f = this.parseNumberSkeletonFromString(v, a.styleLocation);
2823
2825
  return f.err ? f : {
@@ -2828,12 +2830,12 @@ var bn = (
2828
2830
  if (v.length === 0)
2829
2831
  return this.error(d.EXPECT_DATE_TIME_SKELETON, g);
2830
2832
  var L = v;
2831
- this.locale && (L = en(v, this.locale));
2833
+ this.locale && (L = tn(v, this.locale));
2832
2834
  var c = {
2833
2835
  type: k.dateTime,
2834
2836
  pattern: L,
2835
2837
  location: a.styleLocation,
2836
- parsedOptions: this.shouldParseSkeletons ? zr(L) : {}
2838
+ parsedOptions: this.shouldParseSkeletons ? Zr(L) : {}
2837
2839
  }, A = o === "date" ? E.date : E.time;
2838
2840
  return {
2839
2841
  val: { type: A, value: n, location: g, style: c },
@@ -2879,7 +2881,7 @@ var bn = (
2879
2881
  val: {
2880
2882
  type: E.select,
2881
2883
  value: n,
2882
- options: rt($.val),
2884
+ options: it($.val),
2883
2885
  location: ie
2884
2886
  },
2885
2887
  err: null
@@ -2887,7 +2889,7 @@ var bn = (
2887
2889
  val: {
2888
2890
  type: E.plural,
2889
2891
  value: n,
2890
- options: rt($.val),
2892
+ options: it($.val),
2891
2893
  offset: T,
2892
2894
  pluralType: o === "plural" ? "cardinal" : "ordinal",
2893
2895
  location: ie
@@ -2938,7 +2940,7 @@ var bn = (
2938
2940
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2939
2941
  var n = [];
2940
2942
  try {
2941
- n = Qr(t);
2943
+ n = Jr(t);
2942
2944
  } catch {
2943
2945
  return this.error(d.INVALID_NUMBER_SKELETON, r);
2944
2946
  }
@@ -2947,7 +2949,7 @@ var bn = (
2947
2949
  type: k.number,
2948
2950
  tokens: n,
2949
2951
  location: r,
2950
- parsedOptions: this.shouldParseSkeletons ? Kr(n) : {}
2952
+ parsedOptions: this.shouldParseSkeletons ? en(n) : {}
2951
2953
  },
2952
2954
  err: null
2953
2955
  };
@@ -2995,7 +2997,7 @@ var bn = (
2995
2997
  break;
2996
2998
  }
2997
2999
  var l = b(i, this.clonePosition());
2998
- return s ? (h *= n, cn(h) ? { val: h, err: null } : this.error(r, l)) : this.error(t, l);
3000
+ return s ? (h *= n, mn(h) ? { val: h, err: null } : this.error(r, l)) : this.error(t, l);
2999
3001
  }, e.prototype.offset = function() {
3000
3002
  return this.position.offset;
3001
3003
  }, e.prototype.isEOF = function() {
@@ -3010,7 +3012,7 @@ var bn = (
3010
3012
  var t = this.position.offset;
3011
3013
  if (t >= this.message.length)
3012
3014
  throw Error("out of bound");
3013
- var r = Ut(this.message, t);
3015
+ var r = Gt(this.message, t);
3014
3016
  if (r === void 0)
3015
3017
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3016
3018
  return r;
@@ -3029,7 +3031,7 @@ var bn = (
3029
3031
  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);
3030
3032
  }
3031
3033
  }, e.prototype.bumpIf = function(t) {
3032
- if (tt(this.message, t, this.offset())) {
3034
+ if (nt(this.message, t, this.offset())) {
3033
3035
  for (var r = 0; r < t.length; r++)
3034
3036
  this.bump();
3035
3037
  return !0;
@@ -3051,7 +3053,7 @@ var bn = (
3051
3053
  break;
3052
3054
  }
3053
3055
  }, e.prototype.bumpSpace = function() {
3054
- for (; !this.isEOF() && Gt(this.char()); )
3056
+ for (; !this.isEOF() && jt(this.char()); )
3055
3057
  this.bump();
3056
3058
  }, e.prototype.peek = function() {
3057
3059
  if (this.isEOF())
@@ -3064,29 +3066,29 @@ var bn = (
3064
3066
  function De(e) {
3065
3067
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3066
3068
  }
3067
- function gn(e) {
3069
+ function _n(e) {
3068
3070
  return De(e) || e === 47;
3069
3071
  }
3070
- function _n(e) {
3072
+ function yn(e) {
3071
3073
  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;
3072
3074
  }
3073
- function Gt(e) {
3075
+ function jt(e) {
3074
3076
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3075
3077
  }
3076
- function yn(e) {
3078
+ function En(e) {
3077
3079
  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;
3078
3080
  }
3079
3081
  function Ge(e) {
3080
3082
  e.forEach(function(t) {
3081
- if (delete t.location, Ot(t) || Pt(t))
3083
+ if (delete t.location, Lt(t) || Nt(t))
3082
3084
  for (var r in t.options)
3083
3085
  delete t.options[r].location, Ge(t.options[r].value);
3084
- else St(t) && Nt(t.style) || (At(t) || Ct(t)) && Me(t.style) ? delete t.style.location : Lt(t) && Ge(t.children);
3086
+ else Ct(t) && Mt(t.style) || (Ot(t) || Pt(t)) && Me(t.style) ? delete t.style.location : It(t) && Ge(t.children);
3085
3087
  });
3086
3088
  }
3087
- function En(e, t) {
3089
+ function xn(e, t) {
3088
3090
  t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3089
- var r = new bn(e, t).parse();
3091
+ var r = new gn(e, t).parse();
3090
3092
  if (r.err) {
3091
3093
  var n = SyntaxError(d[r.err.kind]);
3092
3094
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
@@ -3109,7 +3111,7 @@ var ge = (
3109
3111
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3110
3112
  }, t;
3111
3113
  }(Error)
3112
- ), it = (
3114
+ ), ot = (
3113
3115
  /** @class */
3114
3116
  function(e) {
3115
3117
  be(t, e);
@@ -3118,7 +3120,7 @@ var ge = (
3118
3120
  }
3119
3121
  return t;
3120
3122
  }(ge)
3121
- ), xn = (
3123
+ ), vn = (
3122
3124
  /** @class */
3123
3125
  function(e) {
3124
3126
  be(t, e);
@@ -3127,7 +3129,7 @@ var ge = (
3127
3129
  }
3128
3130
  return t;
3129
3131
  }(ge)
3130
- ), vn = (
3132
+ ), Hn = (
3131
3133
  /** @class */
3132
3134
  function(e) {
3133
3135
  be(t, e);
@@ -3140,17 +3142,17 @@ var ge = (
3140
3142
  (function(e) {
3141
3143
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3142
3144
  })(x || (x = {}));
3143
- function Hn(e) {
3145
+ function Bn(e) {
3144
3146
  return e.length < 2 ? e : e.reduce(function(t, r) {
3145
3147
  var n = t[t.length - 1];
3146
3148
  return !n || n.type !== x.literal || r.type !== x.literal ? t.push(r) : n.value += r.value, t;
3147
3149
  }, []);
3148
3150
  }
3149
- function Bn(e) {
3151
+ function Tn(e) {
3150
3152
  return typeof e == "function";
3151
3153
  }
3152
3154
  function ue(e, t, r, n, i, s, h) {
3153
- if (e.length === 1 && qe(e[0]))
3155
+ if (e.length === 1 && Ke(e[0]))
3154
3156
  return [
3155
3157
  {
3156
3158
  type: x.literal,
@@ -3159,14 +3161,14 @@ function ue(e, t, r, n, i, s, h) {
3159
3161
  ];
3160
3162
  for (var o = [], l = 0, a = e; l < a.length; l++) {
3161
3163
  var u = a[l];
3162
- if (qe(u)) {
3164
+ if (Ke(u)) {
3163
3165
  o.push({
3164
3166
  type: x.literal,
3165
3167
  value: u.value
3166
3168
  });
3167
3169
  continue;
3168
3170
  }
3169
- if (Xr(u)) {
3171
+ if (zr(u)) {
3170
3172
  typeof s == "number" && o.push({
3171
3173
  type: x.literal,
3172
3174
  value: r.getNumberFormat(t).format(s)
@@ -3175,16 +3177,16 @@ function ue(e, t, r, n, i, s, h) {
3175
3177
  }
3176
3178
  var f = u.value;
3177
3179
  if (!(i && f in i))
3178
- throw new vn(f, h);
3180
+ throw new Hn(f, h);
3179
3181
  var c = i[f];
3180
- if (Vr(u)) {
3182
+ if (Xr(u)) {
3181
3183
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), o.push({
3182
3184
  type: typeof c == "string" ? x.literal : x.object,
3183
3185
  value: c
3184
3186
  });
3185
3187
  continue;
3186
3188
  }
3187
- if (At(u)) {
3189
+ if (Ot(u)) {
3188
3190
  var p = typeof u.style == "string" ? n.date[u.style] : Me(u.style) ? u.style.parsedOptions : void 0;
3189
3191
  o.push({
3190
3192
  type: x.literal,
@@ -3192,7 +3194,7 @@ function ue(e, t, r, n, i, s, h) {
3192
3194
  });
3193
3195
  continue;
3194
3196
  }
3195
- if (Ct(u)) {
3197
+ if (Pt(u)) {
3196
3198
  var p = typeof u.style == "string" ? n.time[u.style] : Me(u.style) ? u.style.parsedOptions : n.time.medium;
3197
3199
  o.push({
3198
3200
  type: x.literal,
@@ -3200,18 +3202,18 @@ function ue(e, t, r, n, i, s, h) {
3200
3202
  });
3201
3203
  continue;
3202
3204
  }
3203
- if (St(u)) {
3204
- var p = typeof u.style == "string" ? n.number[u.style] : Nt(u.style) ? u.style.parsedOptions : void 0;
3205
+ if (Ct(u)) {
3206
+ var p = typeof u.style == "string" ? n.number[u.style] : Mt(u.style) ? u.style.parsedOptions : void 0;
3205
3207
  p && p.scale && (c = c * (p.scale || 1)), o.push({
3206
3208
  type: x.literal,
3207
3209
  value: r.getNumberFormat(t, p).format(c)
3208
3210
  });
3209
3211
  continue;
3210
3212
  }
3211
- if (Lt(u)) {
3213
+ if (It(u)) {
3212
3214
  var m = u.children, g = u.value, v = i[g];
3213
- if (!Bn(v))
3214
- throw new xn(g, "function", h);
3215
+ if (!Tn(v))
3216
+ throw new vn(g, "function", h);
3215
3217
  var L = ue(m, t, r, n, i, s), A = v(L.map(function(T) {
3216
3218
  return T.value;
3217
3219
  }));
@@ -3222,14 +3224,14 @@ function ue(e, t, r, n, i, s, h) {
3222
3224
  };
3223
3225
  }));
3224
3226
  }
3225
- if (Ot(u)) {
3227
+ if (Lt(u)) {
3226
3228
  var H = u.options[c] || u.options.other;
3227
3229
  if (!H)
3228
- throw new it(u.value, c, Object.keys(u.options), h);
3230
+ throw new ot(u.value, c, Object.keys(u.options), h);
3229
3231
  o.push.apply(o, ue(H.value, t, r, n, i));
3230
3232
  continue;
3231
3233
  }
3232
- if (Pt(u)) {
3234
+ if (Nt(u)) {
3233
3235
  var H = u.options["=".concat(c)];
3234
3236
  if (!H) {
3235
3237
  if (!Intl.PluralRules)
@@ -3240,21 +3242,21 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
3240
3242
  H = u.options[N] || u.options.other;
3241
3243
  }
3242
3244
  if (!H)
3243
- throw new it(u.value, c, Object.keys(u.options), h);
3245
+ throw new ot(u.value, c, Object.keys(u.options), h);
3244
3246
  o.push.apply(o, ue(H.value, t, r, n, i, c - (u.offset || 0)));
3245
3247
  continue;
3246
3248
  }
3247
3249
  }
3248
- return Hn(o);
3250
+ return Bn(o);
3249
3251
  }
3250
- function Tn(e, t) {
3252
+ function wn(e, t) {
3251
3253
  return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3252
3254
  return r[n] = y(y({}, e[n]), t[n] || {}), r;
3253
3255
  }, {})) : e;
3254
3256
  }
3255
- function wn(e, t) {
3257
+ function Sn(e, t) {
3256
3258
  return t ? Object.keys(e).reduce(function(r, n) {
3257
- return r[n] = Tn(e[n], t[n]), r;
3259
+ return r[n] = wn(e[n], t[n]), r;
3258
3260
  }, y({}, e)) : e;
3259
3261
  }
3260
3262
  function Ce(e) {
@@ -3271,7 +3273,7 @@ function Ce(e) {
3271
3273
  }
3272
3274
  };
3273
3275
  }
3274
- function Sn(e) {
3276
+ function An(e) {
3275
3277
  return e === void 0 && (e = {
3276
3278
  number: {},
3277
3279
  dateTime: {},
@@ -3303,7 +3305,7 @@ function Sn(e) {
3303
3305
  })
3304
3306
  };
3305
3307
  }
3306
- var Ft = (
3308
+ var kt = (
3307
3309
  /** @class */
3308
3310
  function() {
3309
3311
  function e(t, r, n, i) {
@@ -3335,13 +3337,13 @@ var Ft = (
3335
3337
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3336
3338
  var h = i || {};
3337
3339
  h.formatters;
3338
- var o = $r(h, ["formatters"]);
3340
+ var o = Ur(h, ["formatters"]);
3339
3341
  this.ast = e.__parse(t, y(y({}, o), { locale: this.resolvedLocale }));
3340
3342
  } else
3341
3343
  this.ast = t;
3342
3344
  if (!Array.isArray(this.ast))
3343
3345
  throw new TypeError("A message must be provided as a String or AST.");
3344
- this.formats = wn(e.formats, n), this.formatters = i && i.formatters || Sn(this.formatterCache);
3346
+ this.formats = Sn(e.formats, n), this.formatters = i && i.formatters || An(this.formatterCache);
3345
3347
  }
3346
3348
  return Object.defineProperty(e, "defaultLocale", {
3347
3349
  get: function() {
@@ -3354,7 +3356,7 @@ var Ft = (
3354
3356
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3355
3357
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3356
3358
  }
3357
- }, e.__parse = En, e.formats = {
3359
+ }, e.__parse = xn, e.formats = {
3358
3360
  number: {
3359
3361
  integer: {
3360
3362
  maximumFractionDigits: 0
@@ -3415,7 +3417,7 @@ var Ft = (
3415
3417
  }, e;
3416
3418
  }()
3417
3419
  );
3418
- function An(e, t) {
3420
+ function Cn(e, t) {
3419
3421
  if (t == null)
3420
3422
  return;
3421
3423
  if (t in e)
@@ -3436,60 +3438,60 @@ function An(e, t) {
3436
3438
  n = void 0;
3437
3439
  return n;
3438
3440
  }
3439
- const C = {}, Cn = (e, t, r) => r && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = r), r), jt = (e, t) => {
3441
+ const C = {}, On = (e, t, r) => r && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = r), r), Vt = (e, t) => {
3440
3442
  if (t == null)
3441
3443
  return;
3442
3444
  if (t in C && e in C[t])
3443
3445
  return C[t][e];
3444
3446
  const r = ne(t);
3445
3447
  for (let n = 0; n < r.length; n++) {
3446
- const i = r[n], s = Pn(i, e);
3448
+ const i = r[n], s = Ln(i, e);
3447
3449
  if (s)
3448
- return Cn(e, t, s);
3450
+ return On(e, t, s);
3449
3451
  }
3450
3452
  };
3451
- let Xe;
3453
+ let We;
3452
3454
  const re = de({});
3453
- function On(e) {
3454
- return Xe[e] || null;
3455
+ function Pn(e) {
3456
+ return We[e] || null;
3455
3457
  }
3456
- function kt(e) {
3457
- return e in Xe;
3458
+ function Xt(e) {
3459
+ return e in We;
3458
3460
  }
3459
- function Pn(e, t) {
3460
- if (!kt(e))
3461
+ function Ln(e, t) {
3462
+ if (!Xt(e))
3461
3463
  return null;
3462
- const r = On(e);
3463
- return An(r, t);
3464
+ const r = Pn(e);
3465
+ return Cn(r, t);
3464
3466
  }
3465
- function Ln(e) {
3467
+ function Nn(e) {
3466
3468
  if (e == null)
3467
3469
  return;
3468
3470
  const t = ne(e);
3469
3471
  for (let r = 0; r < t.length; r++) {
3470
3472
  const n = t[r];
3471
- if (kt(n))
3473
+ if (Xt(n))
3472
3474
  return n;
3473
3475
  }
3474
3476
  }
3475
- function Vt(e, ...t) {
3476
- delete C[e], re.update((r) => (r[e] = Mr.all([r[e] || {}, ...t]), r));
3477
+ function zt(e, ...t) {
3478
+ delete C[e], re.update((r) => (r[e] = Rr.all([r[e] || {}, ...t]), r));
3477
3479
  }
3478
- z(
3480
+ W(
3479
3481
  [re],
3480
3482
  ([e]) => Object.keys(e)
3481
3483
  );
3482
- re.subscribe((e) => Xe = e);
3484
+ re.subscribe((e) => We = e);
3483
3485
  const le = {};
3484
- function Nn(e, t) {
3486
+ function In(e, t) {
3485
3487
  le[e].delete(t), le[e].size === 0 && delete le[e];
3486
3488
  }
3487
- function Xt(e) {
3489
+ function Wt(e) {
3488
3490
  return le[e];
3489
3491
  }
3490
- function In(e) {
3492
+ function Mn(e) {
3491
3493
  return ne(e).map((t) => {
3492
- const r = Xt(t);
3494
+ const r = Wt(t);
3493
3495
  return [t, r ? [...r] : []];
3494
3496
  }).filter(([, t]) => t.length > 0);
3495
3497
  }
@@ -3497,40 +3499,40 @@ function ce(e) {
3497
3499
  return e == null ? !1 : ne(e).some(
3498
3500
  (t) => {
3499
3501
  var r;
3500
- return (r = Xt(t)) == null ? void 0 : r.size;
3502
+ return (r = Wt(t)) == null ? void 0 : r.size;
3501
3503
  }
3502
3504
  );
3503
3505
  }
3504
- function Mn(e, t) {
3506
+ function $n(e, t) {
3505
3507
  return Promise.all(
3506
- t.map((n) => (Nn(e, n), n().then((i) => i.default || i)))
3507
- ).then((n) => Vt(e, ...n));
3508
+ t.map((n) => (In(e, n), n().then((i) => i.default || i)))
3509
+ ).then((n) => zt(e, ...n));
3508
3510
  }
3509
3511
  const Q = {};
3510
- function Wt(e) {
3512
+ function Zt(e) {
3511
3513
  if (!ce(e))
3512
3514
  return e in Q ? Q[e] : Promise.resolve();
3513
- const t = In(e);
3515
+ const t = Mn(e);
3514
3516
  return Q[e] = Promise.all(
3515
3517
  t.map(
3516
- ([r, n]) => Mn(r, n)
3518
+ ([r, n]) => $n(r, n)
3517
3519
  )
3518
3520
  ).then(() => {
3519
3521
  if (ce(e))
3520
- return Wt(e);
3522
+ return Zt(e);
3521
3523
  delete Q[e];
3522
3524
  }), Q[e];
3523
3525
  }
3524
- var st = Object.getOwnPropertySymbols, $n = Object.prototype.hasOwnProperty, Rn = Object.prototype.propertyIsEnumerable, Un = (e, t) => {
3526
+ var at = Object.getOwnPropertySymbols, Rn = Object.prototype.hasOwnProperty, Un = Object.prototype.propertyIsEnumerable, Dn = (e, t) => {
3525
3527
  var r = {};
3526
3528
  for (var n in e)
3527
- $n.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3528
- if (e != null && st)
3529
- for (var n of st(e))
3530
- t.indexOf(n) < 0 && Rn.call(e, n) && (r[n] = e[n]);
3529
+ Rn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3530
+ if (e != null && at)
3531
+ for (var n of at(e))
3532
+ t.indexOf(n) < 0 && Un.call(e, n) && (r[n] = e[n]);
3531
3533
  return r;
3532
3534
  };
3533
- const Dn = {
3535
+ const Gn = {
3534
3536
  number: {
3535
3537
  scientific: { notation: "scientific" },
3536
3538
  engineering: { notation: "engineering" },
@@ -3560,7 +3562,7 @@ const Dn = {
3560
3562
  }
3561
3563
  }
3562
3564
  };
3563
- function Gn({ locale: e, id: t }) {
3565
+ function Fn({ locale: e, id: t }) {
3564
3566
  console.warn(
3565
3567
  `[svelte-i18n] The message "${t}" was not found in "${ne(
3566
3568
  e
@@ -3569,49 +3571,49 @@ function Gn({ locale: e, id: t }) {
3569
3571
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3570
3572
  );
3571
3573
  }
3572
- const Fn = {
3574
+ const jn = {
3573
3575
  fallbackLocale: null,
3574
3576
  loadingDelay: 200,
3575
- formats: Dn,
3577
+ formats: Gn,
3576
3578
  warnOnMissingMessages: !0,
3577
3579
  handleMissingMessage: void 0,
3578
3580
  ignoreTag: !0
3579
- }, J = Fn;
3581
+ }, J = jn;
3580
3582
  function X() {
3581
3583
  return J;
3582
3584
  }
3583
- function jn(e) {
3584
- const t = e, { formats: r } = t, n = Un(t, ["formats"]);
3585
+ function kn(e) {
3586
+ const t = e, { formats: r } = t, n = Dn(t, ["formats"]);
3585
3587
  let i = e.fallbackLocale;
3586
3588
  if (e.initialLocale)
3587
3589
  try {
3588
- Ft.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3590
+ kt.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3589
3591
  } catch {
3590
3592
  console.warn(
3591
3593
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
3592
3594
  );
3593
3595
  }
3594
- return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = Gn : console.warn(
3596
+ return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = Fn : console.warn(
3595
3597
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3596
3598
  )), Object.assign(J, n, { initialLocale: i }), r && ("number" in r && Object.assign(J.formats.number, r.number), "date" in r && Object.assign(J.formats.date, r.date), "time" in r && Object.assign(J.formats.time, r.time)), M.set(i);
3597
3599
  }
3598
3600
  const Oe = de(!1);
3599
- var kn = Object.defineProperty, Vn = Object.defineProperties, Xn = Object.getOwnPropertyDescriptors, ot = Object.getOwnPropertySymbols, Wn = Object.prototype.hasOwnProperty, zn = Object.prototype.propertyIsEnumerable, at = (e, t, r) => t in e ? kn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Zn = (e, t) => {
3601
+ var Vn = Object.defineProperty, Xn = Object.defineProperties, zn = Object.getOwnPropertyDescriptors, ht = Object.getOwnPropertySymbols, Wn = Object.prototype.hasOwnProperty, Zn = Object.prototype.propertyIsEnumerable, ut = (e, t, r) => t in e ? Vn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Qn = (e, t) => {
3600
3602
  for (var r in t || (t = {}))
3601
- Wn.call(t, r) && at(e, r, t[r]);
3602
- if (ot)
3603
- for (var r of ot(t))
3604
- zn.call(t, r) && at(e, r, t[r]);
3603
+ Wn.call(t, r) && ut(e, r, t[r]);
3604
+ if (ht)
3605
+ for (var r of ht(t))
3606
+ Zn.call(t, r) && ut(e, r, t[r]);
3605
3607
  return e;
3606
- }, Qn = (e, t) => Vn(e, Xn(t));
3608
+ }, Jn = (e, t) => Xn(e, zn(t));
3607
3609
  let Fe;
3608
3610
  const me = de(null);
3609
- function ht(e) {
3611
+ function lt(e) {
3610
3612
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3611
3613
  }
3612
3614
  function ne(e, t = X().fallbackLocale) {
3613
- const r = ht(e);
3614
- return t ? [.../* @__PURE__ */ new Set([...r, ...ht(t)])] : r;
3615
+ const r = lt(e);
3616
+ return t ? [.../* @__PURE__ */ new Set([...r, ...lt(t)])] : r;
3615
3617
  }
3616
3618
  function P() {
3617
3619
  return Fe ?? void 0;
@@ -3619,22 +3621,22 @@ function P() {
3619
3621
  me.subscribe((e) => {
3620
3622
  Fe = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3621
3623
  });
3622
- const Jn = (e) => {
3623
- if (e && Ln(e) && ce(e)) {
3624
+ const qn = (e) => {
3625
+ if (e && Nn(e) && ce(e)) {
3624
3626
  const { loadingDelay: t } = X();
3625
3627
  let r;
3626
3628
  return typeof window < "u" && P() != null && t ? r = window.setTimeout(
3627
3629
  () => Oe.set(!0),
3628
3630
  t
3629
- ) : Oe.set(!0), Wt(e).then(() => {
3631
+ ) : Oe.set(!0), Zt(e).then(() => {
3630
3632
  me.set(e);
3631
3633
  }).finally(() => {
3632
3634
  clearTimeout(r), Oe.set(!1);
3633
3635
  });
3634
3636
  }
3635
3637
  return me.set(e);
3636
- }, M = Qn(Zn({}, me), {
3637
- set: Jn
3638
+ }, M = Jn(Qn({}, me), {
3639
+ set: qn
3638
3640
  }), _e = (e) => {
3639
3641
  const t = /* @__PURE__ */ Object.create(null);
3640
3642
  return (n) => {
@@ -3642,20 +3644,20 @@ const Jn = (e) => {
3642
3644
  return i in t ? t[i] : t[i] = e(n);
3643
3645
  };
3644
3646
  };
3645
- var qn = Object.defineProperty, pe = Object.getOwnPropertySymbols, zt = Object.prototype.hasOwnProperty, Zt = Object.prototype.propertyIsEnumerable, ut = (e, t, r) => t in e ? qn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, We = (e, t) => {
3647
+ var Yn = Object.defineProperty, pe = Object.getOwnPropertySymbols, Qt = Object.prototype.hasOwnProperty, Jt = Object.prototype.propertyIsEnumerable, ft = (e, t, r) => t in e ? Yn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ze = (e, t) => {
3646
3648
  for (var r in t || (t = {}))
3647
- zt.call(t, r) && ut(e, r, t[r]);
3649
+ Qt.call(t, r) && ft(e, r, t[r]);
3648
3650
  if (pe)
3649
3651
  for (var r of pe(t))
3650
- Zt.call(t, r) && ut(e, r, t[r]);
3652
+ Jt.call(t, r) && ft(e, r, t[r]);
3651
3653
  return e;
3652
3654
  }, Z = (e, t) => {
3653
3655
  var r = {};
3654
3656
  for (var n in e)
3655
- zt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3657
+ Qt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3656
3658
  if (e != null && pe)
3657
3659
  for (var n of pe(e))
3658
- t.indexOf(n) < 0 && Zt.call(e, n) && (r[n] = e[n]);
3660
+ t.indexOf(n) < 0 && Jt.call(e, n) && (r[n] = e[n]);
3659
3661
  return r;
3660
3662
  };
3661
3663
  const K = (e, t) => {
@@ -3663,21 +3665,21 @@ const K = (e, t) => {
3663
3665
  if (e in r && t in r[e])
3664
3666
  return r[e][t];
3665
3667
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3666
- }, Yn = _e(
3668
+ }, Kn = _e(
3667
3669
  (e) => {
3668
3670
  var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
3669
3671
  if (r == null)
3670
3672
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3671
3673
  return n && (i = K("number", n)), new Intl.NumberFormat(r, i);
3672
3674
  }
3673
- ), Kn = _e(
3675
+ ), ei = _e(
3674
3676
  (e) => {
3675
3677
  var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
3676
3678
  if (r == null)
3677
3679
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3678
3680
  return n ? i = K("date", n) : Object.keys(i).length === 0 && (i = K("date", "short")), new Intl.DateTimeFormat(r, i);
3679
3681
  }
3680
- ), ei = _e(
3682
+ ), ti = _e(
3681
3683
  (e) => {
3682
3684
  var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
3683
3685
  if (r == null)
@@ -3686,33 +3688,33 @@ const K = (e, t) => {
3686
3688
  );
3687
3689
  return n ? i = K("time", n) : Object.keys(i).length === 0 && (i = K("time", "short")), new Intl.DateTimeFormat(r, i);
3688
3690
  }
3689
- ), ti = (e = {}) => {
3691
+ ), ri = (e = {}) => {
3690
3692
  var t = e, {
3691
3693
  locale: r = P()
3692
3694
  } = t, n = Z(t, [
3693
3695
  "locale"
3694
3696
  ]);
3695
- return Yn(We({ locale: r }, n));
3696
- }, ri = (e = {}) => {
3697
+ return Kn(Ze({ locale: r }, n));
3698
+ }, ni = (e = {}) => {
3697
3699
  var t = e, {
3698
3700
  locale: r = P()
3699
3701
  } = t, n = Z(t, [
3700
3702
  "locale"
3701
3703
  ]);
3702
- return Kn(We({ locale: r }, n));
3703
- }, ni = (e = {}) => {
3704
+ return ei(Ze({ locale: r }, n));
3705
+ }, ii = (e = {}) => {
3704
3706
  var t = e, {
3705
3707
  locale: r = P()
3706
3708
  } = t, n = Z(t, [
3707
3709
  "locale"
3708
3710
  ]);
3709
- return ei(We({ locale: r }, n));
3710
- }, ii = _e(
3711
+ return ti(Ze({ locale: r }, n));
3712
+ }, si = _e(
3711
3713
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3712
- (e, t = P()) => new Ft(e, t, X().formats, {
3714
+ (e, t = P()) => new kt(e, t, X().formats, {
3713
3715
  ignoreTag: X().ignoreTag
3714
3716
  })
3715
- ), si = (e, t = {}) => {
3717
+ ), oi = (e, t = {}) => {
3716
3718
  var r, n, i, s;
3717
3719
  let h = t;
3718
3720
  typeof e == "object" && (h = e, e = h.id);
@@ -3725,7 +3727,7 @@ const K = (e, t) => {
3725
3727
  throw new Error(
3726
3728
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3727
3729
  );
3728
- let u = jt(e, l);
3730
+ let u = Vt(e, l);
3729
3731
  if (!u)
3730
3732
  u = (s = (i = (n = (r = X()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: a })) != null ? i : a) != null ? s : e;
3731
3733
  else if (typeof u != "string")
@@ -3736,7 +3738,7 @@ const K = (e, t) => {
3736
3738
  return u;
3737
3739
  let f = u;
3738
3740
  try {
3739
- f = ii(u, l).format(o);
3741
+ f = si(u, l).format(o);
3740
3742
  } catch (c) {
3741
3743
  c instanceof Error && console.warn(
3742
3744
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3744,20 +3746,20 @@ const K = (e, t) => {
3744
3746
  );
3745
3747
  }
3746
3748
  return f;
3747
- }, oi = (e, t) => ni(t).format(e), ai = (e, t) => ri(t).format(e), hi = (e, t) => ti(t).format(e), ui = (e, t = P()) => jt(e, t), li = z([M, re], () => si);
3748
- z([M], () => oi);
3749
- z([M], () => ai);
3750
- z([M], () => hi);
3751
- z([M, re], () => ui);
3752
- function lt(e, t) {
3753
- Vt(e, t);
3754
- }
3755
- function fi(e) {
3756
- jn({
3749
+ }, ai = (e, t) => ii(t).format(e), hi = (e, t) => ni(t).format(e), ui = (e, t) => ri(t).format(e), li = (e, t = P()) => Vt(e, t), fi = W([M, re], () => oi);
3750
+ W([M], () => ai);
3751
+ W([M], () => hi);
3752
+ W([M], () => ui);
3753
+ W([M, re], () => li);
3754
+ function ct(e, t) {
3755
+ zt(e, t);
3756
+ }
3757
+ function ci(e) {
3758
+ kn({
3757
3759
  fallbackLocale: "en"
3758
3760
  }), M.set(e);
3759
3761
  }
3760
- const ft = {
3762
+ const mt = {
3761
3763
  en: {
3762
3764
  header: {
3763
3765
  general: "Cashier",
@@ -3780,18 +3782,18 @@ const ft = {
3780
3782
  }
3781
3783
  }
3782
3784
  };
3783
- function ci(e) {
3784
- tr(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}");
3785
+ function mi(e) {
3786
+ nr(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}");
3785
3787
  }
3786
- const mi = (e) => ({}), ct = (e) => ({}), pi = (e) => ({}), mt = (e) => ({}), di = (e) => ({}), pt = (e) => ({});
3787
- function dt(e) {
3788
+ const pi = (e) => ({}), pt = (e) => ({}), di = (e) => ({}), dt = (e) => ({}), bi = (e) => ({}), bt = (e) => ({});
3789
+ function gt(e) {
3788
3790
  let t, r, n;
3789
3791
  return {
3790
3792
  c() {
3791
- t = W("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>', te(t, "class", "CashierHeaderLeftButton");
3793
+ t = z("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>', te(t, "class", "CashierHeaderLeftButton");
3792
3794
  },
3793
3795
  m(i, s) {
3794
- I(i, t, s), r || (n = vt(
3796
+ I(i, t, s), r || (n = Bt(
3795
3797
  t,
3796
3798
  "click",
3797
3799
  /*back*/
@@ -3804,28 +3806,28 @@ function dt(e) {
3804
3806
  }
3805
3807
  };
3806
3808
  }
3807
- function bi(e) {
3809
+ function gi(e) {
3808
3810
  let t, r = (
3809
3811
  /*backButton*/
3810
- e[1] && dt(e)
3812
+ e[1] && gt(e)
3811
3813
  );
3812
3814
  return {
3813
3815
  c() {
3814
- r && r.c(), t = xt();
3816
+ r && r.c(), t = Ht();
3815
3817
  },
3816
3818
  m(n, i) {
3817
3819
  r && r.m(n, i), I(n, t, i);
3818
3820
  },
3819
3821
  p(n, i) {
3820
3822
  /*backButton*/
3821
- n[1] ? r ? r.p(n, i) : (r = dt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3823
+ n[1] ? r ? r.p(n, i) : (r = gt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3822
3824
  },
3823
3825
  d(n) {
3824
3826
  n && O(t), r && r.d(n);
3825
3827
  }
3826
3828
  };
3827
3829
  }
3828
- function gi(e) {
3830
+ function _i(e) {
3829
3831
  let t, r = (
3830
3832
  /*$_*/
3831
3833
  e[4](
@@ -3835,7 +3837,7 @@ function gi(e) {
3835
3837
  ), n;
3836
3838
  return {
3837
3839
  c() {
3838
- t = W("span"), n = ke(r), te(t, "class", "CashierHeaderTitle");
3840
+ t = z("span"), n = ke(r), te(t, "class", "CashierHeaderTitle");
3839
3841
  },
3840
3842
  m(i, s) {
3841
3843
  I(i, t, s), fe(t, n);
@@ -3846,21 +3848,21 @@ function gi(e) {
3846
3848
  i[4](
3847
3849
  /*titleText*/
3848
3850
  i[2]
3849
- ) + "") && sr(n, r);
3851
+ ) + "") && ar(n, r);
3850
3852
  },
3851
3853
  d(i) {
3852
3854
  i && O(t);
3853
3855
  }
3854
3856
  };
3855
3857
  }
3856
- function bt(e) {
3858
+ function _t(e) {
3857
3859
  let t, r, n;
3858
3860
  return {
3859
3861
  c() {
3860
- t = W("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>', te(t, "class", "CashierHeaderRightButton");
3862
+ t = z("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>', te(t, "class", "CashierHeaderRightButton");
3861
3863
  },
3862
3864
  m(i, s) {
3863
- I(i, t, s), r || (n = vt(
3865
+ I(i, t, s), r || (n = Bt(
3864
3866
  t,
3865
3867
  "click",
3866
3868
  /*close*/
@@ -3873,28 +3875,28 @@ function bt(e) {
3873
3875
  }
3874
3876
  };
3875
3877
  }
3876
- function _i(e) {
3878
+ function yi(e) {
3877
3879
  let t, r = (
3878
3880
  /*closeButton*/
3879
- e[3] && bt(e)
3881
+ e[3] && _t(e)
3880
3882
  );
3881
3883
  return {
3882
3884
  c() {
3883
- r && r.c(), t = xt();
3885
+ r && r.c(), t = Ht();
3884
3886
  },
3885
3887
  m(n, i) {
3886
3888
  r && r.m(n, i), I(n, t, i);
3887
3889
  },
3888
3890
  p(n, i) {
3889
3891
  /*closeButton*/
3890
- n[3] ? r ? r.p(n, i) : (r = bt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3892
+ n[3] ? r ? r.p(n, i) : (r = _t(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3891
3893
  },
3892
3894
  d(n) {
3893
3895
  n && O(t), r && r.d(n);
3894
3896
  }
3895
3897
  };
3896
3898
  }
3897
- function yi(e) {
3899
+ function Ei(e) {
3898
3900
  let t, r, n, i;
3899
3901
  const s = (
3900
3902
  /*#slots*/
@@ -3904,8 +3906,8 @@ function yi(e) {
3904
3906
  e,
3905
3907
  /*$$scope*/
3906
3908
  e[14],
3907
- pt
3908
- ), o = h || bi(e), l = (
3909
+ bt
3910
+ ), o = h || gi(e), l = (
3909
3911
  /*#slots*/
3910
3912
  e[15].title
3911
3913
  ), a = ye(
@@ -3913,8 +3915,8 @@ function yi(e) {
3913
3915
  e,
3914
3916
  /*$$scope*/
3915
3917
  e[14],
3916
- mt
3917
- ), u = a || gi(e), f = (
3918
+ dt
3919
+ ), u = a || _i(e), f = (
3918
3920
  /*#slots*/
3919
3921
  e[15].rightButton
3920
3922
  ), c = ye(
@@ -3922,11 +3924,11 @@ function yi(e) {
3922
3924
  e,
3923
3925
  /*$$scope*/
3924
3926
  e[14],
3925
- ct
3926
- ), p = c || _i(e);
3927
+ pt
3928
+ ), p = c || yi(e);
3927
3929
  return {
3928
3930
  c() {
3929
- t = W("div"), o && o.c(), r = Ze(), u && u.c(), n = Ze(), p && p.c(), te(t, "class", "CashierHeader");
3931
+ t = z("div"), o && o.c(), r = Je(), u && u.c(), n = Je(), p && p.c(), te(t, "class", "CashierHeader");
3930
3932
  },
3931
3933
  m(m, g) {
3932
3934
  I(m, t, g), o && o.m(t, null), fe(t, r), u && u.m(t, null), fe(t, n), p && p.m(t, null), e[16](t), i = !0;
@@ -3944,12 +3946,12 @@ function yi(e) {
3944
3946
  /*$$scope*/
3945
3947
  m[14],
3946
3948
  g,
3947
- di
3949
+ bi
3948
3950
  ) : ve(
3949
3951
  /*$$scope*/
3950
3952
  m[14]
3951
3953
  ),
3952
- pt
3954
+ bt
3953
3955
  ) : o && o.p && (!i || g & /*backButton*/
3954
3956
  2) && o.p(m, i ? g : -1), a ? a.p && (!i || g & /*$$scope*/
3955
3957
  16384) && xe(
@@ -3963,12 +3965,12 @@ function yi(e) {
3963
3965
  /*$$scope*/
3964
3966
  m[14],
3965
3967
  g,
3966
- pi
3968
+ di
3967
3969
  ) : ve(
3968
3970
  /*$$scope*/
3969
3971
  m[14]
3970
3972
  ),
3971
- mt
3973
+ dt
3972
3974
  ) : u && u.p && (!i || g & /*$_, titleText*/
3973
3975
  20) && u.p(m, i ? g : -1), c ? c.p && (!i || g & /*$$scope*/
3974
3976
  16384) && xe(
@@ -3982,12 +3984,12 @@ function yi(e) {
3982
3984
  /*$$scope*/
3983
3985
  m[14],
3984
3986
  g,
3985
- mi
3987
+ pi
3986
3988
  ) : ve(
3987
3989
  /*$$scope*/
3988
3990
  m[14]
3989
3991
  ),
3990
- ct
3992
+ pt
3991
3993
  ) : p && p.p && (!i || g & /*closeButton*/
3992
3994
  8) && p.p(m, i ? g : -1);
3993
3995
  },
@@ -4002,22 +4004,22 @@ function yi(e) {
4002
4004
  }
4003
4005
  };
4004
4006
  }
4005
- function Ei(e, t, r) {
4007
+ function xi(e, t, r) {
4006
4008
  let n;
4007
- er(e, li, (_) => r(4, n = _));
4009
+ rr(e, fi, (_) => r(4, n = _));
4008
4010
  let { $$slots: i = {}, $$scope: s } = t, { clientstyling: h = "" } = t, { clientstylingurl: o = "" } = t, { translationurl: l = "" } = t, { showbackbutton: a = "" } = t, { title: u = "header.general" } = t, { lang: f = "en" } = t, { showclosebutton: c = "" } = t, p, m = !1, g, v = !1;
4009
4011
  const L = () => {
4010
4012
  let _ = l;
4011
4013
  _ && fetch(_).then((w) => w.json()).then((w) => {
4012
4014
  Object.keys(w).forEach((R) => {
4013
- lt(R, w[R]);
4015
+ ct(R, w[R]);
4014
4016
  });
4015
4017
  }).catch((w) => {
4016
4018
  console.log(w);
4017
4019
  });
4018
4020
  };
4019
- Object.keys(ft).forEach((_) => {
4020
- lt(_, ft[_]);
4021
+ Object.keys(mt).forEach((_) => {
4022
+ ct(_, mt[_]);
4021
4023
  });
4022
4024
  const A = () => {
4023
4025
  let _ = document.createElement("style");
@@ -4033,19 +4035,19 @@ function Ei(e, t, r) {
4033
4035
  );
4034
4036
  });
4035
4037
  }, N = () => {
4036
- fi(f);
4038
+ ci(f);
4037
4039
  }, T = () => {
4038
4040
  window.postMessage({ type: "CloseCashier" }, window.location.href);
4039
4041
  }, $ = () => {
4040
4042
  window.postMessage({ type: "BackCashier" }, window.location.href);
4041
4043
  }, ie = () => {
4042
4044
  r(1, m = !!a && a !== "false");
4043
- }, Qt = () => {
4045
+ }, qt = () => {
4044
4046
  r(3, v = !!c && c !== "false");
4045
- }, Jt = () => {
4047
+ }, Yt = () => {
4046
4048
  r(2, g = u || "header.general");
4047
4049
  };
4048
- function qt(_) {
4050
+ function Kt(_) {
4049
4051
  Pe[_ ? "unshift" : "push"](() => {
4050
4052
  p = _, r(0, p);
4051
4053
  });
@@ -4055,12 +4057,12 @@ function Ei(e, t, r) {
4055
4057
  }, e.$$.update = () => {
4056
4058
  e.$$.dirty & /*lang*/
4057
4059
  4096 && f && N(), e.$$.dirty & /*lang, title*/
4058
- 6144 && f && u && Jt(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4060
+ 6144 && f && u && Yt(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4059
4061
  129 && h && p && A(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4060
4062
  257 && o && p && H(), e.$$.dirty & /*lang, translationurl*/
4061
4063
  4608 && f && l && L(), e.$$.dirty & /*showbackbutton*/
4062
4064
  1024 && a && ie(), e.$$.dirty & /*showclosebutton*/
4063
- 8192 && c && Qt();
4065
+ 8192 && c && qt();
4064
4066
  }, [
4065
4067
  p,
4066
4068
  m,
@@ -4078,17 +4080,17 @@ function Ei(e, t, r) {
4078
4080
  c,
4079
4081
  s,
4080
4082
  i,
4081
- qt
4083
+ Kt
4082
4084
  ];
4083
4085
  }
4084
- class xi extends gr {
4086
+ class vi extends yr {
4085
4087
  constructor(t) {
4086
- super(), dr(
4088
+ super(), gr(
4087
4089
  this,
4088
4090
  t,
4091
+ xi,
4089
4092
  Ei,
4090
- yi,
4091
- _t,
4093
+ Et,
4092
4094
  {
4093
4095
  clientstyling: 7,
4094
4096
  clientstylingurl: 8,
@@ -4098,7 +4100,7 @@ class xi extends gr {
4098
4100
  lang: 12,
4099
4101
  showclosebutton: 13
4100
4102
  },
4101
- ci
4103
+ mi
4102
4104
  );
4103
4105
  }
4104
4106
  get clientstyling() {
@@ -4144,7 +4146,7 @@ class xi extends gr {
4144
4146
  this.$$set({ showclosebutton: t }), S();
4145
4147
  }
4146
4148
  }
4147
- br(xi, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {} }, ["leftButton", "title", "rightButton"], [], !0);
4149
+ _r(vi, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {} }, ["leftButton", "title", "rightButton"], [], !0);
4148
4150
  export {
4149
- xi as C
4151
+ vi as C
4150
4152
  };