@everymatrix/cashier-header 1.60.1 → 1.61.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,6 +1,6 @@
1
1
  function B() {
2
2
  }
3
- function er(e, t) {
3
+ function Yt(e, t) {
4
4
  for (const r in t)
5
5
  e[r] = t[r];
6
6
  return (
@@ -8,25 +8,25 @@ function er(e, t) {
8
8
  e
9
9
  );
10
10
  }
11
- function yt(e) {
11
+ function gt(e) {
12
12
  return e();
13
13
  }
14
- function Qe() {
14
+ function ze() {
15
15
  return /* @__PURE__ */ Object.create(null);
16
16
  }
17
17
  function ee(e) {
18
- e.forEach(yt);
18
+ e.forEach(gt);
19
19
  }
20
20
  function je(e) {
21
21
  return typeof e == "function";
22
22
  }
23
- function xt(e, t) {
23
+ function _t(e, t) {
24
24
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
25
25
  }
26
- function tr(e) {
26
+ function Kt(e) {
27
27
  return Object.keys(e).length === 0;
28
28
  }
29
- function Et(e, ...t) {
29
+ function yt(e, ...t) {
30
30
  if (e == null) {
31
31
  for (const n of t)
32
32
  n(void 0);
@@ -35,17 +35,17 @@ function Et(e, ...t) {
35
35
  const r = e.subscribe(...t);
36
36
  return r.unsubscribe ? () => r.unsubscribe() : r;
37
37
  }
38
- function rr(e, t, r) {
39
- e.$$.on_destroy.push(Et(t, r));
38
+ function er(e, t, r) {
39
+ e.$$.on_destroy.push(yt(t, r));
40
40
  }
41
41
  function ye(e, t, r, n) {
42
42
  if (e) {
43
- const i = vt(e, t, r, n);
43
+ const i = xt(e, t, r, n);
44
44
  return e[0](i);
45
45
  }
46
46
  }
47
- function vt(e, t, r, n) {
48
- return e[1] && n ? er(r.ctx.slice(), e[1](n(t))) : r.ctx;
47
+ function xt(e, t, r, n) {
48
+ return e[1] && n ? Yt(r.ctx.slice(), e[1](n(t))) : r.ctx;
49
49
  }
50
50
  function xe(e, t, r, n) {
51
51
  if (e[2] && n) {
@@ -64,7 +64,7 @@ function xe(e, t, r, n) {
64
64
  }
65
65
  function Ee(e, t, r, n, i, s) {
66
66
  if (i) {
67
- const h = vt(t, r, n, s);
67
+ const h = xt(t, r, n, s);
68
68
  e.p(h, i);
69
69
  }
70
70
  }
@@ -80,14 +80,14 @@ function ve(e) {
80
80
  function fe(e, t) {
81
81
  e.appendChild(t);
82
82
  }
83
- function nr(e, t, r) {
84
- const n = ir(e);
83
+ function tr(e, t, r) {
84
+ const n = rr(e);
85
85
  if (!n.getElementById(t)) {
86
- const i = z("style");
87
- i.id = t, i.textContent = r, sr(n, i);
86
+ const i = W("style");
87
+ i.id = t, i.textContent = r, nr(n, i);
88
88
  }
89
89
  }
90
- function ir(e) {
90
+ function rr(e) {
91
91
  if (!e)
92
92
  return document;
93
93
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -97,7 +97,7 @@ function ir(e) {
97
97
  t
98
98
  ) : e.ownerDocument;
99
99
  }
100
- function sr(e, t) {
100
+ function nr(e, t) {
101
101
  return fe(
102
102
  /** @type {Document} */
103
103
  e.head || e,
@@ -110,32 +110,32 @@ function I(e, t, r) {
110
110
  function O(e) {
111
111
  e.parentNode && e.parentNode.removeChild(e);
112
112
  }
113
- function z(e) {
113
+ function W(e) {
114
114
  return document.createElement(e);
115
115
  }
116
116
  function ke(e) {
117
117
  return document.createTextNode(e);
118
118
  }
119
- function Je() {
119
+ function Ze() {
120
120
  return ke(" ");
121
121
  }
122
- function Ht() {
122
+ function Et() {
123
123
  return ke("");
124
124
  }
125
- function Bt(e, t, r, n) {
125
+ function vt(e, t, r, n) {
126
126
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
127
127
  }
128
128
  function te(e, t, r) {
129
129
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
130
130
  }
131
- function or(e) {
131
+ function ir(e) {
132
132
  return Array.from(e.childNodes);
133
133
  }
134
- function ar(e, t) {
134
+ function sr(e, t) {
135
135
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
136
136
  t);
137
137
  }
138
- function hr(e) {
138
+ function or(e) {
139
139
  const t = {};
140
140
  return e.childNodes.forEach(
141
141
  /** @param {Element} node */
@@ -150,10 +150,10 @@ function q(e) {
150
150
  }
151
151
  const G = [], Pe = [];
152
152
  let F = [];
153
- const qe = [], ur = /* @__PURE__ */ Promise.resolve();
153
+ const Qe = [], ar = /* @__PURE__ */ Promise.resolve();
154
154
  let Le = !1;
155
- function lr() {
156
- Le || (Le = !0, ur.then(S));
155
+ function hr() {
156
+ Le || (Le = !0, ar.then(S));
157
157
  }
158
158
  function Ne(e) {
159
159
  F.push(e);
@@ -168,7 +168,7 @@ function S() {
168
168
  try {
169
169
  for (; U < G.length; ) {
170
170
  const t = G[U];
171
- U++, q(t), fr(t.$$);
171
+ U++, q(t), ur(t.$$);
172
172
  }
173
173
  } catch (t) {
174
174
  throw G.length = 0, U = 0, t;
@@ -181,23 +181,23 @@ function S() {
181
181
  }
182
182
  F.length = 0;
183
183
  } while (G.length);
184
- for (; qe.length; )
185
- qe.pop()();
184
+ for (; Qe.length; )
185
+ Qe.pop()();
186
186
  Le = !1, He.clear(), q(e);
187
187
  }
188
- function fr(e) {
188
+ function ur(e) {
189
189
  if (e.fragment !== null) {
190
190
  e.update(), ee(e.before_update);
191
191
  const t = e.dirty;
192
192
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ne);
193
193
  }
194
194
  }
195
- function cr(e) {
195
+ function lr(e) {
196
196
  const t = [], r = [];
197
197
  F.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), F = t;
198
198
  }
199
199
  const oe = /* @__PURE__ */ new Set();
200
- let mr;
200
+ let fr;
201
201
  function ae(e, t) {
202
202
  e && e.i && (oe.delete(e), e.i(t));
203
203
  }
@@ -205,26 +205,26 @@ function Be(e, t, r, n) {
205
205
  if (e && e.o) {
206
206
  if (oe.has(e))
207
207
  return;
208
- oe.add(e), mr.c.push(() => {
208
+ oe.add(e), fr.c.push(() => {
209
209
  oe.delete(e);
210
210
  }), e.o(t);
211
211
  }
212
212
  }
213
- function pr(e, t, r) {
213
+ function cr(e, t, r) {
214
214
  const { fragment: n, after_update: i } = e.$$;
215
215
  n && n.m(t, r), Ne(() => {
216
- const s = e.$$.on_mount.map(yt).filter(je);
216
+ const s = e.$$.on_mount.map(gt).filter(je);
217
217
  e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ee(s), e.$$.on_mount = [];
218
218
  }), i.forEach(Ne);
219
219
  }
220
- function dr(e, t) {
220
+ function mr(e, t) {
221
221
  const r = e.$$;
222
- 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 = []);
222
+ 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 = []);
223
223
  }
224
- function br(e, t) {
225
- e.$$.dirty[0] === -1 && (G.push(e), lr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
224
+ function pr(e, t) {
225
+ e.$$.dirty[0] === -1 && (G.push(e), hr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
226
226
  }
227
- function gr(e, t, r, n, i, s, h = null, o = [-1]) {
227
+ function dr(e, t, r, n, i, s, h = null, o = [-1]) {
228
228
  const l = Ve;
229
229
  q(e);
230
230
  const a = e.$$ = {
@@ -234,7 +234,7 @@ function gr(e, t, r, n, i, s, h = null, o = [-1]) {
234
234
  props: s,
235
235
  update: B,
236
236
  not_equal: i,
237
- bound: Qe(),
237
+ bound: ze(),
238
238
  // lifecycle
239
239
  on_mount: [],
240
240
  on_destroy: [],
@@ -243,7 +243,7 @@ function gr(e, t, r, n, i, s, h = null, o = [-1]) {
243
243
  after_update: [],
244
244
  context: new Map(t.context || (l ? l.$$.context : [])),
245
245
  // everything else
246
- callbacks: Qe(),
246
+ callbacks: ze(),
247
247
  dirty: o,
248
248
  skip_bound: !1,
249
249
  root: t.target || l.$$.root
@@ -252,19 +252,19 @@ function gr(e, t, r, n, i, s, h = null, o = [-1]) {
252
252
  let u = !1;
253
253
  if (a.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
254
254
  const m = p.length ? p[0] : c;
255
- 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;
255
+ 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;
256
256
  }) : [], a.update(), u = !0, ee(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
257
257
  if (t.hydrate) {
258
- const f = or(t.target);
258
+ const f = ir(t.target);
259
259
  a.fragment && a.fragment.l(f), f.forEach(O);
260
260
  } else
261
261
  a.fragment && a.fragment.c();
262
- t.intro && ae(e.$$.fragment), pr(e, t.target, t.anchor), S();
262
+ t.intro && ae(e.$$.fragment), cr(e, t.target, t.anchor), S();
263
263
  }
264
264
  q(l);
265
265
  }
266
- let Tt;
267
- typeof HTMLElement == "function" && (Tt = class extends HTMLElement {
266
+ let Ht;
267
+ typeof HTMLElement == "function" && (Ht = class extends HTMLElement {
268
268
  /** The Svelte component constructor */
269
269
  $$ctor;
270
270
  /** Slots */
@@ -306,7 +306,7 @@ typeof HTMLElement == "function" && (Tt = class extends HTMLElement {
306
306
  let s;
307
307
  return {
308
308
  c: function() {
309
- s = z("slot"), i !== "default" && te(s, "name", i);
309
+ s = W("slot"), i !== "default" && te(s, "name", i);
310
310
  },
311
311
  /**
312
312
  * @param {HTMLElement} target
@@ -323,7 +323,7 @@ typeof HTMLElement == "function" && (Tt = class extends HTMLElement {
323
323
  };
324
324
  if (await Promise.resolve(), !this.$$cn || this.$$c)
325
325
  return;
326
- const t = {}, r = hr(this);
326
+ const t = {}, r = or(this);
327
327
  for (const i of this.$$s)
328
328
  i in r && (t[i] = [e(i)]);
329
329
  for (const i of this.attributes) {
@@ -410,8 +410,8 @@ function he(e, t, r, n) {
410
410
  return t;
411
411
  }
412
412
  }
413
- function _r(e, t, r, n, i, s) {
414
- let h = class extends Tt {
413
+ function br(e, t, r, n, i, s) {
414
+ let h = class extends Ht {
415
415
  constructor() {
416
416
  super(e, r, i), this.$$p_d = t;
417
417
  }
@@ -439,7 +439,7 @@ function _r(e, t, r, n, i, s) {
439
439
  }), e.element = /** @type {any} */
440
440
  h, h;
441
441
  }
442
- class yr {
442
+ class gr {
443
443
  /**
444
444
  * ### PRIVATE API
445
445
  *
@@ -458,7 +458,7 @@ class yr {
458
458
  $$set = void 0;
459
459
  /** @returns {void} */
460
460
  $destroy() {
461
- dr(this, 1), this.$destroy = B;
461
+ mr(this, 1), this.$destroy = B;
462
462
  }
463
463
  /**
464
464
  * @template {Extract<keyof Events, string>} K
@@ -480,13 +480,13 @@ class yr {
480
480
  * @returns {void}
481
481
  */
482
482
  $set(t) {
483
- this.$$set && !tr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
483
+ this.$$set && !Kt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
484
484
  }
485
485
  }
486
- const xr = "4";
487
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(xr);
486
+ const _r = "4";
487
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(_r);
488
488
  const D = [];
489
- function Er(e, t) {
489
+ function yr(e, t) {
490
490
  return {
491
491
  subscribe: de(e, t).subscribe
492
492
  };
@@ -495,7 +495,7 @@ function de(e, t = B) {
495
495
  let r;
496
496
  const n = /* @__PURE__ */ new Set();
497
497
  function i(o) {
498
- if (xt(e, o) && (e = o, r)) {
498
+ if (_t(e, o) && (e = o, r)) {
499
499
  const l = !D.length;
500
500
  for (const a of n)
501
501
  a[1](), D.push(a, e);
@@ -517,12 +517,12 @@ function de(e, t = B) {
517
517
  }
518
518
  return { set: i, update: s, subscribe: h };
519
519
  }
520
- function W(e, t, r) {
520
+ function z(e, t, r) {
521
521
  const n = !Array.isArray(e), i = n ? [e] : e;
522
522
  if (!i.every(Boolean))
523
523
  throw new Error("derived() expects stores as input, got a falsy value");
524
524
  const s = t.length < 2;
525
- return Er(r, (h, o) => {
525
+ return yr(r, (h, o) => {
526
526
  let l = !1;
527
527
  const a = [];
528
528
  let u = 0, f = B;
@@ -533,7 +533,7 @@ function W(e, t, r) {
533
533
  const m = t(n ? a[0] : a, h, o);
534
534
  s ? h(m) : f = je(m) ? m : B;
535
535
  }, p = i.map(
536
- (m, g) => Et(
536
+ (m, g) => yt(
537
537
  m,
538
538
  (v) => {
539
539
  a[g] = v, u &= ~(1 << g), l && c();
@@ -548,70 +548,70 @@ function W(e, t, r) {
548
548
  };
549
549
  });
550
550
  }
551
- function vr(e) {
551
+ function xr(e) {
552
552
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
553
553
  }
554
- var Hr = function(t) {
555
- return Br(t) && !Tr(t);
554
+ var Er = function(t) {
555
+ return vr(t) && !Hr(t);
556
556
  };
557
- function Br(e) {
557
+ function vr(e) {
558
558
  return !!e && typeof e == "object";
559
559
  }
560
- function Tr(e) {
560
+ function Hr(e) {
561
561
  var t = Object.prototype.toString.call(e);
562
- return t === "[object RegExp]" || t === "[object Date]" || Ar(e);
562
+ return t === "[object RegExp]" || t === "[object Date]" || wr(e);
563
563
  }
564
- var wr = typeof Symbol == "function" && Symbol.for, Sr = wr ? Symbol.for("react.element") : 60103;
565
- function Ar(e) {
566
- return e.$$typeof === Sr;
564
+ var Br = typeof Symbol == "function" && Symbol.for, Tr = Br ? Symbol.for("react.element") : 60103;
565
+ function wr(e) {
566
+ return e.$$typeof === Tr;
567
567
  }
568
- function Cr(e) {
568
+ function Sr(e) {
569
569
  return Array.isArray(e) ? [] : {};
570
570
  }
571
571
  function Y(e, t) {
572
- return t.clone !== !1 && t.isMergeableObject(e) ? j(Cr(e), e, t) : e;
572
+ return t.clone !== !1 && t.isMergeableObject(e) ? j(Sr(e), e, t) : e;
573
573
  }
574
- function Or(e, t, r) {
574
+ function Ar(e, t, r) {
575
575
  return e.concat(t).map(function(n) {
576
576
  return Y(n, r);
577
577
  });
578
578
  }
579
- function Pr(e, t) {
579
+ function Cr(e, t) {
580
580
  if (!t.customMerge)
581
581
  return j;
582
582
  var r = t.customMerge(e);
583
583
  return typeof r == "function" ? r : j;
584
584
  }
585
- function Lr(e) {
585
+ function Or(e) {
586
586
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
587
587
  return Object.propertyIsEnumerable.call(e, t);
588
588
  }) : [];
589
589
  }
590
- function Ye(e) {
591
- return Object.keys(e).concat(Lr(e));
590
+ function Je(e) {
591
+ return Object.keys(e).concat(Or(e));
592
592
  }
593
- function wt(e, t) {
593
+ function Bt(e, t) {
594
594
  try {
595
595
  return t in e;
596
596
  } catch {
597
597
  return !1;
598
598
  }
599
599
  }
600
- function Nr(e, t) {
601
- return wt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
600
+ function Pr(e, t) {
601
+ return Bt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
602
602
  }
603
- function Ir(e, t, r) {
603
+ function Lr(e, t, r) {
604
604
  var n = {};
605
- return r.isMergeableObject(e) && Ye(e).forEach(function(i) {
605
+ return r.isMergeableObject(e) && Je(e).forEach(function(i) {
606
606
  n[i] = Y(e[i], r);
607
- }), Ye(t).forEach(function(i) {
608
- 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));
607
+ }), Je(t).forEach(function(i) {
608
+ 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));
609
609
  }), n;
610
610
  }
611
611
  function j(e, t, r) {
612
- r = r || {}, r.arrayMerge = r.arrayMerge || Or, r.isMergeableObject = r.isMergeableObject || Hr, r.cloneUnlessOtherwiseSpecified = Y;
612
+ r = r || {}, r.arrayMerge = r.arrayMerge || Ar, r.isMergeableObject = r.isMergeableObject || Er, r.cloneUnlessOtherwiseSpecified = Y;
613
613
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
614
- return s ? n ? r.arrayMerge(e, t, r) : Ir(e, t, r) : Y(t, r);
614
+ return s ? n ? r.arrayMerge(e, t, r) : Lr(e, t, r) : Y(t, r);
615
615
  }
616
616
  j.all = function(t, r) {
617
617
  if (!Array.isArray(t))
@@ -620,8 +620,8 @@ j.all = function(t, r) {
620
620
  return j(n, i, r);
621
621
  }, {});
622
622
  };
623
- var Mr = j, $r = Mr;
624
- const Rr = /* @__PURE__ */ vr($r);
623
+ var Nr = j, Ir = Nr;
624
+ const Mr = /* @__PURE__ */ xr(Ir);
625
625
  /*! *****************************************************************************
626
626
  Copyright (c) Microsoft Corporation.
627
627
 
@@ -663,7 +663,7 @@ var y = function() {
663
663
  return t;
664
664
  }, y.apply(this, arguments);
665
665
  };
666
- function Ur(e, t) {
666
+ function $r(e, t) {
667
667
  var r = {};
668
668
  for (var n in e)
669
669
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -679,55 +679,53 @@ function Te(e, t, r) {
679
679
  return e.concat(s || t);
680
680
  }
681
681
  function we(e, t) {
682
- var r = t && t.cache ? t.cache : Vr, n = t && t.serializer ? t.serializer : kr, i = t && t.strategy ? t.strategy : Gr;
682
+ var r = t && t.cache ? t.cache : kr, n = t && t.serializer ? t.serializer : Fr, i = t && t.strategy ? t.strategy : Dr;
683
683
  return i(e, {
684
684
  cache: r,
685
685
  serializer: n
686
686
  });
687
687
  }
688
- function Dr(e) {
688
+ function Rr(e) {
689
689
  return e == null || typeof e == "number" || typeof e == "boolean";
690
690
  }
691
- function St(e, t, r, n) {
692
- var i = Dr(n) ? n : r(n), s = t.get(i);
691
+ function Ur(e, t, r, n) {
692
+ var i = Rr(n) ? n : r(n), s = t.get(i);
693
693
  return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
694
694
  }
695
- function At(e, t, r) {
695
+ function Tt(e, t, r) {
696
696
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
697
697
  return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
698
698
  }
699
- function Xe(e, t, r, n, i) {
699
+ function wt(e, t, r, n, i) {
700
700
  return r.bind(t, e, n, i);
701
701
  }
702
- function Gr(e, t) {
703
- var r = e.length === 1 ? St : At;
704
- return Xe(e, this, r, t.cache.create(), t.serializer);
705
- }
706
- function Fr(e, t) {
707
- return Xe(e, this, At, t.cache.create(), t.serializer);
702
+ function Dr(e, t) {
703
+ var r = e.length === 1 ? Ur : Tt;
704
+ return wt(e, this, r, t.cache.create(), t.serializer);
708
705
  }
709
- function jr(e, t) {
710
- return Xe(e, this, St, t.cache.create(), t.serializer);
706
+ function Gr(e, t) {
707
+ return wt(e, this, Tt, t.cache.create(), t.serializer);
711
708
  }
712
- var kr = function() {
709
+ var Fr = function() {
713
710
  return JSON.stringify(arguments);
714
- };
715
- function ze() {
716
- this.cache = /* @__PURE__ */ Object.create(null);
717
- }
718
- ze.prototype.get = function(e) {
719
- return this.cache[e];
720
- };
721
- ze.prototype.set = function(e, t) {
722
- this.cache[e] = t;
723
- };
724
- var Vr = {
711
+ }, jr = (
712
+ /** @class */
713
+ function() {
714
+ function e() {
715
+ this.cache = /* @__PURE__ */ Object.create(null);
716
+ }
717
+ return e.prototype.get = function(t) {
718
+ return this.cache[t];
719
+ }, e.prototype.set = function(t, r) {
720
+ this.cache[t] = r;
721
+ }, e;
722
+ }()
723
+ ), kr = {
725
724
  create: function() {
726
- return new ze();
725
+ return new jr();
727
726
  }
728
727
  }, Se = {
729
- variadic: Fr,
730
- monadic: jr
728
+ variadic: Gr
731
729
  }, d;
732
730
  (function(e) {
733
731
  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";
@@ -740,41 +738,41 @@ var k;
740
738
  (function(e) {
741
739
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
742
740
  })(k || (k = {}));
743
- function Ke(e) {
741
+ function qe(e) {
744
742
  return e.type === x.literal;
745
743
  }
746
- function Xr(e) {
744
+ function Vr(e) {
747
745
  return e.type === x.argument;
748
746
  }
749
- function Ct(e) {
747
+ function St(e) {
750
748
  return e.type === x.number;
751
749
  }
752
- function Ot(e) {
750
+ function At(e) {
753
751
  return e.type === x.date;
754
752
  }
755
- function Pt(e) {
753
+ function Ct(e) {
756
754
  return e.type === x.time;
757
755
  }
758
- function Lt(e) {
756
+ function Ot(e) {
759
757
  return e.type === x.select;
760
758
  }
761
- function Nt(e) {
759
+ function Pt(e) {
762
760
  return e.type === x.plural;
763
761
  }
764
- function zr(e) {
762
+ function Xr(e) {
765
763
  return e.type === x.pound;
766
764
  }
767
- function It(e) {
765
+ function Lt(e) {
768
766
  return e.type === x.tag;
769
767
  }
770
- function Mt(e) {
768
+ function Nt(e) {
771
769
  return !!(e && typeof e == "object" && e.type === k.number);
772
770
  }
773
771
  function Me(e) {
774
772
  return !!(e && typeof e == "object" && e.type === k.dateTime);
775
773
  }
776
- 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;
777
- function Zr(e) {
774
+ 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;
775
+ function zr(e) {
778
776
  var t = {};
779
777
  return e.replace(Wr, function(r) {
780
778
  var n = r.length;
@@ -865,11 +863,11 @@ function Zr(e) {
865
863
  return "";
866
864
  }), t;
867
865
  }
868
- var Qr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
869
- function Jr(e) {
866
+ var Zr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
867
+ function Qr(e) {
870
868
  if (e.length === 0)
871
869
  throw new Error("Number skeleton cannot be empty");
872
- for (var t = e.split(Qr).filter(function(c) {
870
+ for (var t = e.split(Zr).filter(function(c) {
873
871
  return c.length > 0;
874
872
  }), r = [], n = 0, i = t; n < i.length; n++) {
875
873
  var s = i[n], h = s.split("/");
@@ -884,17 +882,17 @@ function Jr(e) {
884
882
  }
885
883
  return r;
886
884
  }
887
- function qr(e) {
885
+ function Jr(e) {
888
886
  return e.replace(/^(.*?)-/, "");
889
887
  }
890
- var et = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Rt = /^(@+)?(\+|#+)?[rs]?$/g, Yr = /(\*)(0+)|(#+)(0+)|(0+)/g, Ut = /^(0+)$/;
891
- function tt(e) {
888
+ var Ye = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Mt = /^(@+)?(\+|#+)?[rs]?$/g, qr = /(\*)(0+)|(#+)(0+)|(0+)/g, $t = /^(0+)$/;
889
+ function Ke(e) {
892
890
  var t = {};
893
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Rt, function(r, n, i) {
891
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Mt, function(r, n, i) {
894
892
  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)), "";
895
893
  }), t;
896
894
  }
897
- function Dt(e) {
895
+ function Rt(e) {
898
896
  switch (e) {
899
897
  case "sign-auto":
900
898
  return {
@@ -934,7 +932,7 @@ function Dt(e) {
934
932
  };
935
933
  }
936
934
  }
937
- function Kr(e) {
935
+ function Yr(e) {
938
936
  var t;
939
937
  if (e[0] === "E" && e[1] === "E" ? (t = {
940
938
  notation: "engineering"
@@ -942,17 +940,17 @@ function Kr(e) {
942
940
  notation: "scientific"
943
941
  }, e = e.slice(1)), t) {
944
942
  var r = e.slice(0, 2);
945
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Ut.test(e))
943
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !$t.test(e))
946
944
  throw new Error("Malformed concise eng/scientific notation");
947
945
  t.minimumIntegerDigits = e.length;
948
946
  }
949
947
  return t;
950
948
  }
951
- function rt(e) {
952
- var t = {}, r = Dt(e);
949
+ function et(e) {
950
+ var t = {}, r = Rt(e);
953
951
  return r || t;
954
952
  }
955
- function en(e) {
953
+ function Kr(e) {
956
954
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
957
955
  var i = n[r];
958
956
  switch (i.stem) {
@@ -976,7 +974,7 @@ function en(e) {
976
974
  continue;
977
975
  case "measure-unit":
978
976
  case "unit":
979
- t.style = "unit", t.unit = qr(i.options[0]);
977
+ t.style = "unit", t.unit = Jr(i.options[0]);
980
978
  continue;
981
979
  case "compact-short":
982
980
  case "K":
@@ -988,12 +986,12 @@ function en(e) {
988
986
  continue;
989
987
  case "scientific":
990
988
  t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(l, a) {
991
- return y(y({}, l), rt(a));
989
+ return y(y({}, l), et(a));
992
990
  }, {}));
993
991
  continue;
994
992
  case "engineering":
995
993
  t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(l, a) {
996
- return y(y({}, l), rt(a));
994
+ return y(y({}, l), et(a));
997
995
  }, {}));
998
996
  continue;
999
997
  case "notation-simple":
@@ -1038,7 +1036,7 @@ function en(e) {
1038
1036
  case "integer-width":
1039
1037
  if (i.options.length > 1)
1040
1038
  throw new RangeError("integer-width stems only accept a single optional option");
1041
- i.options[0].replace(Yr, function(l, a, u, f, c, p) {
1039
+ i.options[0].replace(qr, function(l, a, u, f, c, p) {
1042
1040
  if (a)
1043
1041
  t.minimumIntegerDigits = u.length;
1044
1042
  else {
@@ -1051,27 +1049,27 @@ function en(e) {
1051
1049
  });
1052
1050
  continue;
1053
1051
  }
1054
- if (Ut.test(i.stem)) {
1052
+ if ($t.test(i.stem)) {
1055
1053
  t.minimumIntegerDigits = i.stem.length;
1056
1054
  continue;
1057
1055
  }
1058
- if (et.test(i.stem)) {
1056
+ if (Ye.test(i.stem)) {
1059
1057
  if (i.options.length > 1)
1060
1058
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1061
- i.stem.replace(et, function(l, a, u, f, c, p) {
1059
+ i.stem.replace(Ye, function(l, a, u, f, c, p) {
1062
1060
  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), "";
1063
1061
  });
1064
1062
  var s = i.options[0];
1065
- s === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = y(y({}, t), tt(s)));
1063
+ s === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = y(y({}, t), Ke(s)));
1066
1064
  continue;
1067
1065
  }
1068
- if (Rt.test(i.stem)) {
1069
- t = y(y({}, t), tt(i.stem));
1066
+ if (Mt.test(i.stem)) {
1067
+ t = y(y({}, t), Ke(i.stem));
1070
1068
  continue;
1071
1069
  }
1072
- var h = Dt(i.stem);
1070
+ var h = Rt(i.stem);
1073
1071
  h && (t = y(y({}, t), h));
1074
- var o = Kr(i.stem);
1072
+ var o = Yr(i.stem);
1075
1073
  o && (t = y(y({}, t), o));
1076
1074
  }
1077
1075
  return t;
@@ -2491,13 +2489,13 @@ var se = {
2491
2489
  "h"
2492
2490
  ]
2493
2491
  };
2494
- function tn(e, t) {
2492
+ function en(e, t) {
2495
2493
  for (var r = "", n = 0; n < e.length; n++) {
2496
2494
  var i = e.charAt(n);
2497
2495
  if (i === "j") {
2498
2496
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2499
2497
  s++, n++;
2500
- var h = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", a = rn(t);
2498
+ var h = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", a = tn(t);
2501
2499
  for ((a == "H" || a == "k") && (o = 0); o-- > 0; )
2502
2500
  r += l;
2503
2501
  for (; h-- > 0; )
@@ -2507,7 +2505,7 @@ function tn(e, t) {
2507
2505
  }
2508
2506
  return r;
2509
2507
  }
2510
- function rn(e) {
2508
+ function tn(e) {
2511
2509
  var t = e.hourCycle;
2512
2510
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2513
2511
  e.hourCycles && // @ts-ignore
@@ -2529,20 +2527,20 @@ function rn(e) {
2529
2527
  var i = se[n || ""] || se[r || ""] || se["".concat(r, "-001")] || se["001"];
2530
2528
  return i[0];
2531
2529
  }
2532
- var Ae, nn = new RegExp("^".concat($t.source, "*")), sn = new RegExp("".concat($t.source, "*$"));
2530
+ var Ae, rn = new RegExp("^".concat(It.source, "*")), nn = new RegExp("".concat(It.source, "*$"));
2533
2531
  function b(e, t) {
2534
2532
  return { start: e, end: t };
2535
2533
  }
2536
- 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) {
2534
+ 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) {
2537
2535
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2538
2536
  }, $e = !0;
2539
2537
  try {
2540
- var pn = Ft("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2541
- $e = ((Ae = pn.exec("a")) === null || Ae === void 0 ? void 0 : Ae[0]) === "a";
2538
+ var mn = Dt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2539
+ $e = ((Ae = mn.exec("a")) === null || Ae === void 0 ? void 0 : Ae[0]) === "a";
2542
2540
  } catch {
2543
2541
  $e = !1;
2544
2542
  }
2545
- var nt = on ? (
2543
+ var tt = sn ? (
2546
2544
  // Native
2547
2545
  function(t, r, n) {
2548
2546
  return t.startsWith(r, n);
@@ -2552,7 +2550,7 @@ var nt = on ? (
2552
2550
  function(t, r, n) {
2553
2551
  return t.slice(n, n + r.length) === r;
2554
2552
  }
2555
- ), Re = an ? String.fromCodePoint : (
2553
+ ), Re = on ? String.fromCodePoint : (
2556
2554
  // IE11
2557
2555
  function() {
2558
2556
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2564,9 +2562,9 @@ var nt = on ? (
2564
2562
  }
2565
2563
  return n;
2566
2564
  }
2567
- ), it = (
2565
+ ), rt = (
2568
2566
  // native
2569
- hn ? Object.fromEntries : (
2567
+ an ? Object.fromEntries : (
2570
2568
  // Ponyfill
2571
2569
  function(t) {
2572
2570
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2576,7 +2574,7 @@ var nt = on ? (
2576
2574
  return r;
2577
2575
  }
2578
2576
  )
2579
- ), Gt = un ? (
2577
+ ), Ut = hn ? (
2580
2578
  // Native
2581
2579
  function(t, r) {
2582
2580
  return t.codePointAt(r);
@@ -2590,7 +2588,7 @@ var nt = on ? (
2590
2588
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2591
2589
  }
2592
2590
  }
2593
- ), dn = ln ? (
2591
+ ), pn = un ? (
2594
2592
  // Native
2595
2593
  function(t) {
2596
2594
  return t.trimStart();
@@ -2598,9 +2596,9 @@ var nt = on ? (
2598
2596
  ) : (
2599
2597
  // Ponyfill
2600
2598
  function(t) {
2601
- return t.replace(nn, "");
2599
+ return t.replace(rn, "");
2602
2600
  }
2603
- ), bn = fn ? (
2601
+ ), dn = ln ? (
2604
2602
  // Native
2605
2603
  function(t) {
2606
2604
  return t.trimEnd();
@@ -2608,32 +2606,32 @@ var nt = on ? (
2608
2606
  ) : (
2609
2607
  // Ponyfill
2610
2608
  function(t) {
2611
- return t.replace(sn, "");
2609
+ return t.replace(nn, "");
2612
2610
  }
2613
2611
  );
2614
- function Ft(e, t) {
2612
+ function Dt(e, t) {
2615
2613
  return new RegExp(e, t);
2616
2614
  }
2617
2615
  var Ue;
2618
2616
  if ($e) {
2619
- var st = Ft("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2617
+ var nt = Dt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2620
2618
  Ue = function(t, r) {
2621
2619
  var n;
2622
- st.lastIndex = r;
2623
- var i = st.exec(t);
2620
+ nt.lastIndex = r;
2621
+ var i = nt.exec(t);
2624
2622
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2625
2623
  };
2626
2624
  } else
2627
2625
  Ue = function(t, r) {
2628
2626
  for (var n = []; ; ) {
2629
- var i = Gt(t, r);
2630
- if (i === void 0 || jt(i) || xn(i))
2627
+ var i = Ut(t, r);
2628
+ if (i === void 0 || Gt(i) || yn(i))
2631
2629
  break;
2632
2630
  n.push(i), r += i >= 65536 ? 2 : 1;
2633
2631
  }
2634
2632
  return Re.apply(void 0, n);
2635
2633
  };
2636
- var gn = (
2634
+ var bn = (
2637
2635
  /** @class */
2638
2636
  function() {
2639
2637
  function e(t, r) {
@@ -2715,7 +2713,7 @@ var gn = (
2715
2713
  return this.error(d.INVALID_TAG, b(n, this.clonePosition()));
2716
2714
  }, e.prototype.parseTagName = function() {
2717
2715
  var t = this.offset();
2718
- for (this.bump(); !this.isEOF() && yn(this.char()); )
2716
+ for (this.bump(); !this.isEOF() && _n(this.char()); )
2719
2717
  this.bump();
2720
2718
  return this.message.slice(t, this.offset());
2721
2719
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2744,7 +2742,7 @@ var gn = (
2744
2742
  };
2745
2743
  }, e.prototype.tryParseLeftAngleBracket = function() {
2746
2744
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2747
- !_n(this.peek() || 0)) ? (this.bump(), "<") : null;
2745
+ !gn(this.peek() || 0)) ? (this.bump(), "<") : null;
2748
2746
  }, e.prototype.tryParseQuote = function(t) {
2749
2747
  if (this.isEOF() || this.char() !== 39)
2750
2748
  return null;
@@ -2831,7 +2829,7 @@ var gn = (
2831
2829
  var u = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
2832
2830
  if (f.err)
2833
2831
  return f;
2834
- var c = bn(f.val);
2832
+ var c = dn(f.val);
2835
2833
  if (c.length === 0)
2836
2834
  return this.error(d.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
2837
2835
  var p = b(u, this.clonePosition());
@@ -2841,8 +2839,8 @@ var gn = (
2841
2839
  if (m.err)
2842
2840
  return m;
2843
2841
  var g = b(i, this.clonePosition());
2844
- if (a && nt(a?.style, "::", 0)) {
2845
- var v = dn(a.style.slice(2));
2842
+ if (a && tt(a?.style, "::", 0)) {
2843
+ var v = pn(a.style.slice(2));
2846
2844
  if (o === "number") {
2847
2845
  var f = this.parseNumberSkeletonFromString(v, a.styleLocation);
2848
2846
  return f.err ? f : {
@@ -2853,12 +2851,12 @@ var gn = (
2853
2851
  if (v.length === 0)
2854
2852
  return this.error(d.EXPECT_DATE_TIME_SKELETON, g);
2855
2853
  var L = v;
2856
- this.locale && (L = tn(v, this.locale));
2854
+ this.locale && (L = en(v, this.locale));
2857
2855
  var c = {
2858
2856
  type: k.dateTime,
2859
2857
  pattern: L,
2860
2858
  location: a.styleLocation,
2861
- parsedOptions: this.shouldParseSkeletons ? Zr(L) : {}
2859
+ parsedOptions: this.shouldParseSkeletons ? zr(L) : {}
2862
2860
  }, A = o === "date" ? x.date : x.time;
2863
2861
  return {
2864
2862
  val: { type: A, value: n, location: g, style: c },
@@ -2904,7 +2902,7 @@ var gn = (
2904
2902
  val: {
2905
2903
  type: x.select,
2906
2904
  value: n,
2907
- options: it($.val),
2905
+ options: rt($.val),
2908
2906
  location: ie
2909
2907
  },
2910
2908
  err: null
@@ -2912,7 +2910,7 @@ var gn = (
2912
2910
  val: {
2913
2911
  type: x.plural,
2914
2912
  value: n,
2915
- options: it($.val),
2913
+ options: rt($.val),
2916
2914
  offset: T,
2917
2915
  pluralType: o === "plural" ? "cardinal" : "ordinal",
2918
2916
  location: ie
@@ -2963,7 +2961,7 @@ var gn = (
2963
2961
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2964
2962
  var n = [];
2965
2963
  try {
2966
- n = Jr(t);
2964
+ n = Qr(t);
2967
2965
  } catch {
2968
2966
  return this.error(d.INVALID_NUMBER_SKELETON, r);
2969
2967
  }
@@ -2972,7 +2970,7 @@ var gn = (
2972
2970
  type: k.number,
2973
2971
  tokens: n,
2974
2972
  location: r,
2975
- parsedOptions: this.shouldParseSkeletons ? en(n) : {}
2973
+ parsedOptions: this.shouldParseSkeletons ? Kr(n) : {}
2976
2974
  },
2977
2975
  err: null
2978
2976
  };
@@ -3020,7 +3018,7 @@ var gn = (
3020
3018
  break;
3021
3019
  }
3022
3020
  var l = b(i, this.clonePosition());
3023
- return s ? (h *= n, mn(h) ? { val: h, err: null } : this.error(r, l)) : this.error(t, l);
3021
+ return s ? (h *= n, cn(h) ? { val: h, err: null } : this.error(r, l)) : this.error(t, l);
3024
3022
  }, e.prototype.offset = function() {
3025
3023
  return this.position.offset;
3026
3024
  }, e.prototype.isEOF = function() {
@@ -3035,7 +3033,7 @@ var gn = (
3035
3033
  var t = this.position.offset;
3036
3034
  if (t >= this.message.length)
3037
3035
  throw Error("out of bound");
3038
- var r = Gt(this.message, t);
3036
+ var r = Ut(this.message, t);
3039
3037
  if (r === void 0)
3040
3038
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3041
3039
  return r;
@@ -3054,7 +3052,7 @@ var gn = (
3054
3052
  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);
3055
3053
  }
3056
3054
  }, e.prototype.bumpIf = function(t) {
3057
- if (nt(this.message, t, this.offset())) {
3055
+ if (tt(this.message, t, this.offset())) {
3058
3056
  for (var r = 0; r < t.length; r++)
3059
3057
  this.bump();
3060
3058
  return !0;
@@ -3076,7 +3074,7 @@ var gn = (
3076
3074
  break;
3077
3075
  }
3078
3076
  }, e.prototype.bumpSpace = function() {
3079
- for (; !this.isEOF() && jt(this.char()); )
3077
+ for (; !this.isEOF() && Gt(this.char()); )
3080
3078
  this.bump();
3081
3079
  }, e.prototype.peek = function() {
3082
3080
  if (this.isEOF())
@@ -3089,30 +3087,30 @@ var gn = (
3089
3087
  function De(e) {
3090
3088
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3091
3089
  }
3092
- function _n(e) {
3090
+ function gn(e) {
3093
3091
  return De(e) || e === 47;
3094
3092
  }
3095
- function yn(e) {
3093
+ function _n(e) {
3096
3094
  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;
3097
3095
  }
3098
- function jt(e) {
3096
+ function Gt(e) {
3099
3097
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3100
3098
  }
3101
- function xn(e) {
3099
+ function yn(e) {
3102
3100
  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;
3103
3101
  }
3104
3102
  function Ge(e) {
3105
3103
  e.forEach(function(t) {
3106
- if (delete t.location, Lt(t) || Nt(t))
3104
+ if (delete t.location, Ot(t) || Pt(t))
3107
3105
  for (var r in t.options)
3108
3106
  delete t.options[r].location, Ge(t.options[r].value);
3109
3107
  else
3110
- Ct(t) && Mt(t.style) || (Ot(t) || Pt(t)) && Me(t.style) ? delete t.style.location : It(t) && Ge(t.children);
3108
+ St(t) && Nt(t.style) || (At(t) || Ct(t)) && Me(t.style) ? delete t.style.location : Lt(t) && Ge(t.children);
3111
3109
  });
3112
3110
  }
3113
- function En(e, t) {
3111
+ function xn(e, t) {
3114
3112
  t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3115
- var r = new gn(e, t).parse();
3113
+ var r = new bn(e, t).parse();
3116
3114
  if (r.err) {
3117
3115
  var n = SyntaxError(d[r.err.kind]);
3118
3116
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
@@ -3135,7 +3133,7 @@ var ge = (
3135
3133
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3136
3134
  }, t;
3137
3135
  }(Error)
3138
- ), ot = (
3136
+ ), it = (
3139
3137
  /** @class */
3140
3138
  function(e) {
3141
3139
  be(t, e);
@@ -3144,7 +3142,7 @@ var ge = (
3144
3142
  }
3145
3143
  return t;
3146
3144
  }(ge)
3147
- ), vn = (
3145
+ ), En = (
3148
3146
  /** @class */
3149
3147
  function(e) {
3150
3148
  be(t, e);
@@ -3153,7 +3151,7 @@ var ge = (
3153
3151
  }
3154
3152
  return t;
3155
3153
  }(ge)
3156
- ), Hn = (
3154
+ ), vn = (
3157
3155
  /** @class */
3158
3156
  function(e) {
3159
3157
  be(t, e);
@@ -3166,17 +3164,17 @@ var ge = (
3166
3164
  (function(e) {
3167
3165
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3168
3166
  })(E || (E = {}));
3169
- function Bn(e) {
3167
+ function Hn(e) {
3170
3168
  return e.length < 2 ? e : e.reduce(function(t, r) {
3171
3169
  var n = t[t.length - 1];
3172
3170
  return !n || n.type !== E.literal || r.type !== E.literal ? t.push(r) : n.value += r.value, t;
3173
3171
  }, []);
3174
3172
  }
3175
- function Tn(e) {
3173
+ function Bn(e) {
3176
3174
  return typeof e == "function";
3177
3175
  }
3178
3176
  function ue(e, t, r, n, i, s, h) {
3179
- if (e.length === 1 && Ke(e[0]))
3177
+ if (e.length === 1 && qe(e[0]))
3180
3178
  return [
3181
3179
  {
3182
3180
  type: E.literal,
@@ -3185,14 +3183,14 @@ function ue(e, t, r, n, i, s, h) {
3185
3183
  ];
3186
3184
  for (var o = [], l = 0, a = e; l < a.length; l++) {
3187
3185
  var u = a[l];
3188
- if (Ke(u)) {
3186
+ if (qe(u)) {
3189
3187
  o.push({
3190
3188
  type: E.literal,
3191
3189
  value: u.value
3192
3190
  });
3193
3191
  continue;
3194
3192
  }
3195
- if (zr(u)) {
3193
+ if (Xr(u)) {
3196
3194
  typeof s == "number" && o.push({
3197
3195
  type: E.literal,
3198
3196
  value: r.getNumberFormat(t).format(s)
@@ -3201,16 +3199,16 @@ function ue(e, t, r, n, i, s, h) {
3201
3199
  }
3202
3200
  var f = u.value;
3203
3201
  if (!(i && f in i))
3204
- throw new Hn(f, h);
3202
+ throw new vn(f, h);
3205
3203
  var c = i[f];
3206
- if (Xr(u)) {
3204
+ if (Vr(u)) {
3207
3205
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), o.push({
3208
3206
  type: typeof c == "string" ? E.literal : E.object,
3209
3207
  value: c
3210
3208
  });
3211
3209
  continue;
3212
3210
  }
3213
- if (Ot(u)) {
3211
+ if (At(u)) {
3214
3212
  var p = typeof u.style == "string" ? n.date[u.style] : Me(u.style) ? u.style.parsedOptions : void 0;
3215
3213
  o.push({
3216
3214
  type: E.literal,
@@ -3218,7 +3216,7 @@ function ue(e, t, r, n, i, s, h) {
3218
3216
  });
3219
3217
  continue;
3220
3218
  }
3221
- if (Pt(u)) {
3219
+ if (Ct(u)) {
3222
3220
  var p = typeof u.style == "string" ? n.time[u.style] : Me(u.style) ? u.style.parsedOptions : n.time.medium;
3223
3221
  o.push({
3224
3222
  type: E.literal,
@@ -3226,18 +3224,18 @@ function ue(e, t, r, n, i, s, h) {
3226
3224
  });
3227
3225
  continue;
3228
3226
  }
3229
- if (Ct(u)) {
3230
- var p = typeof u.style == "string" ? n.number[u.style] : Mt(u.style) ? u.style.parsedOptions : void 0;
3227
+ if (St(u)) {
3228
+ var p = typeof u.style == "string" ? n.number[u.style] : Nt(u.style) ? u.style.parsedOptions : void 0;
3231
3229
  p && p.scale && (c = c * (p.scale || 1)), o.push({
3232
3230
  type: E.literal,
3233
3231
  value: r.getNumberFormat(t, p).format(c)
3234
3232
  });
3235
3233
  continue;
3236
3234
  }
3237
- if (It(u)) {
3235
+ if (Lt(u)) {
3238
3236
  var m = u.children, g = u.value, v = i[g];
3239
- if (!Tn(v))
3240
- throw new vn(g, "function", h);
3237
+ if (!Bn(v))
3238
+ throw new En(g, "function", h);
3241
3239
  var L = ue(m, t, r, n, i, s), A = v(L.map(function(T) {
3242
3240
  return T.value;
3243
3241
  }));
@@ -3248,14 +3246,14 @@ function ue(e, t, r, n, i, s, h) {
3248
3246
  };
3249
3247
  }));
3250
3248
  }
3251
- if (Lt(u)) {
3249
+ if (Ot(u)) {
3252
3250
  var H = u.options[c] || u.options.other;
3253
3251
  if (!H)
3254
- throw new ot(u.value, c, Object.keys(u.options), h);
3252
+ throw new it(u.value, c, Object.keys(u.options), h);
3255
3253
  o.push.apply(o, ue(H.value, t, r, n, i));
3256
3254
  continue;
3257
3255
  }
3258
- if (Nt(u)) {
3256
+ if (Pt(u)) {
3259
3257
  var H = u.options["=".concat(c)];
3260
3258
  if (!H) {
3261
3259
  if (!Intl.PluralRules)
@@ -3266,21 +3264,21 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
3266
3264
  H = u.options[N] || u.options.other;
3267
3265
  }
3268
3266
  if (!H)
3269
- throw new ot(u.value, c, Object.keys(u.options), h);
3267
+ throw new it(u.value, c, Object.keys(u.options), h);
3270
3268
  o.push.apply(o, ue(H.value, t, r, n, i, c - (u.offset || 0)));
3271
3269
  continue;
3272
3270
  }
3273
3271
  }
3274
- return Bn(o);
3272
+ return Hn(o);
3275
3273
  }
3276
- function wn(e, t) {
3274
+ function Tn(e, t) {
3277
3275
  return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3278
3276
  return r[n] = y(y({}, e[n]), t[n] || {}), r;
3279
3277
  }, {})) : e;
3280
3278
  }
3281
- function Sn(e, t) {
3279
+ function wn(e, t) {
3282
3280
  return t ? Object.keys(e).reduce(function(r, n) {
3283
- return r[n] = wn(e[n], t[n]), r;
3281
+ return r[n] = Tn(e[n], t[n]), r;
3284
3282
  }, y({}, e)) : e;
3285
3283
  }
3286
3284
  function Ce(e) {
@@ -3297,7 +3295,7 @@ function Ce(e) {
3297
3295
  }
3298
3296
  };
3299
3297
  }
3300
- function An(e) {
3298
+ function Sn(e) {
3301
3299
  return e === void 0 && (e = {
3302
3300
  number: {},
3303
3301
  dateTime: {},
@@ -3329,7 +3327,7 @@ function An(e) {
3329
3327
  })
3330
3328
  };
3331
3329
  }
3332
- var kt = (
3330
+ var Ft = (
3333
3331
  /** @class */
3334
3332
  function() {
3335
3333
  function e(t, r, n, i) {
@@ -3361,13 +3359,13 @@ var kt = (
3361
3359
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3362
3360
  var h = i || {};
3363
3361
  h.formatters;
3364
- var o = Ur(h, ["formatters"]);
3362
+ var o = $r(h, ["formatters"]);
3365
3363
  this.ast = e.__parse(t, y(y({}, o), { locale: this.resolvedLocale }));
3366
3364
  } else
3367
3365
  this.ast = t;
3368
3366
  if (!Array.isArray(this.ast))
3369
3367
  throw new TypeError("A message must be provided as a String or AST.");
3370
- this.formats = Sn(e.formats, n), this.formatters = i && i.formatters || An(this.formatterCache);
3368
+ this.formats = wn(e.formats, n), this.formatters = i && i.formatters || Sn(this.formatterCache);
3371
3369
  }
3372
3370
  return Object.defineProperty(e, "defaultLocale", {
3373
3371
  get: function() {
@@ -3380,7 +3378,7 @@ var kt = (
3380
3378
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3381
3379
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3382
3380
  }
3383
- }, e.__parse = En, e.formats = {
3381
+ }, e.__parse = xn, e.formats = {
3384
3382
  number: {
3385
3383
  integer: {
3386
3384
  maximumFractionDigits: 0
@@ -3441,7 +3439,7 @@ var kt = (
3441
3439
  }, e;
3442
3440
  }()
3443
3441
  );
3444
- function Cn(e, t) {
3442
+ function An(e, t) {
3445
3443
  if (t == null)
3446
3444
  return;
3447
3445
  if (t in e)
@@ -3462,60 +3460,60 @@ function Cn(e, t) {
3462
3460
  n = void 0;
3463
3461
  return n;
3464
3462
  }
3465
- const C = {}, On = (e, t, r) => r && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = r), r), Vt = (e, t) => {
3463
+ const C = {}, Cn = (e, t, r) => r && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = r), r), jt = (e, t) => {
3466
3464
  if (t == null)
3467
3465
  return;
3468
3466
  if (t in C && e in C[t])
3469
3467
  return C[t][e];
3470
3468
  const r = ne(t);
3471
3469
  for (let n = 0; n < r.length; n++) {
3472
- const i = r[n], s = Ln(i, e);
3470
+ const i = r[n], s = Pn(i, e);
3473
3471
  if (s)
3474
- return On(e, t, s);
3472
+ return Cn(e, t, s);
3475
3473
  }
3476
3474
  };
3477
- let We;
3475
+ let Xe;
3478
3476
  const re = de({});
3479
- function Pn(e) {
3480
- return We[e] || null;
3477
+ function On(e) {
3478
+ return Xe[e] || null;
3481
3479
  }
3482
- function Xt(e) {
3483
- return e in We;
3480
+ function kt(e) {
3481
+ return e in Xe;
3484
3482
  }
3485
- function Ln(e, t) {
3486
- if (!Xt(e))
3483
+ function Pn(e, t) {
3484
+ if (!kt(e))
3487
3485
  return null;
3488
- const r = Pn(e);
3489
- return Cn(r, t);
3486
+ const r = On(e);
3487
+ return An(r, t);
3490
3488
  }
3491
- function Nn(e) {
3489
+ function Ln(e) {
3492
3490
  if (e == null)
3493
3491
  return;
3494
3492
  const t = ne(e);
3495
3493
  for (let r = 0; r < t.length; r++) {
3496
3494
  const n = t[r];
3497
- if (Xt(n))
3495
+ if (kt(n))
3498
3496
  return n;
3499
3497
  }
3500
3498
  }
3501
- function zt(e, ...t) {
3502
- delete C[e], re.update((r) => (r[e] = Rr.all([r[e] || {}, ...t]), r));
3499
+ function Vt(e, ...t) {
3500
+ delete C[e], re.update((r) => (r[e] = Mr.all([r[e] || {}, ...t]), r));
3503
3501
  }
3504
- W(
3502
+ z(
3505
3503
  [re],
3506
3504
  ([e]) => Object.keys(e)
3507
3505
  );
3508
- re.subscribe((e) => We = e);
3506
+ re.subscribe((e) => Xe = e);
3509
3507
  const le = {};
3510
- function In(e, t) {
3508
+ function Nn(e, t) {
3511
3509
  le[e].delete(t), le[e].size === 0 && delete le[e];
3512
3510
  }
3513
- function Wt(e) {
3511
+ function Xt(e) {
3514
3512
  return le[e];
3515
3513
  }
3516
- function Mn(e) {
3514
+ function In(e) {
3517
3515
  return ne(e).map((t) => {
3518
- const r = Wt(t);
3516
+ const r = Xt(t);
3519
3517
  return [t, r ? [...r] : []];
3520
3518
  }).filter(([, t]) => t.length > 0);
3521
3519
  }
@@ -3523,40 +3521,40 @@ function ce(e) {
3523
3521
  return e == null ? !1 : ne(e).some(
3524
3522
  (t) => {
3525
3523
  var r;
3526
- return (r = Wt(t)) == null ? void 0 : r.size;
3524
+ return (r = Xt(t)) == null ? void 0 : r.size;
3527
3525
  }
3528
3526
  );
3529
3527
  }
3530
- function $n(e, t) {
3528
+ function Mn(e, t) {
3531
3529
  return Promise.all(
3532
- t.map((n) => (In(e, n), n().then((i) => i.default || i)))
3533
- ).then((n) => zt(e, ...n));
3530
+ t.map((n) => (Nn(e, n), n().then((i) => i.default || i)))
3531
+ ).then((n) => Vt(e, ...n));
3534
3532
  }
3535
3533
  const Q = {};
3536
- function Zt(e) {
3534
+ function Wt(e) {
3537
3535
  if (!ce(e))
3538
3536
  return e in Q ? Q[e] : Promise.resolve();
3539
- const t = Mn(e);
3537
+ const t = In(e);
3540
3538
  return Q[e] = Promise.all(
3541
3539
  t.map(
3542
- ([r, n]) => $n(r, n)
3540
+ ([r, n]) => Mn(r, n)
3543
3541
  )
3544
3542
  ).then(() => {
3545
3543
  if (ce(e))
3546
- return Zt(e);
3544
+ return Wt(e);
3547
3545
  delete Q[e];
3548
3546
  }), Q[e];
3549
3547
  }
3550
- var at = Object.getOwnPropertySymbols, Rn = Object.prototype.hasOwnProperty, Un = Object.prototype.propertyIsEnumerable, Dn = (e, t) => {
3548
+ var st = Object.getOwnPropertySymbols, $n = Object.prototype.hasOwnProperty, Rn = Object.prototype.propertyIsEnumerable, Un = (e, t) => {
3551
3549
  var r = {};
3552
3550
  for (var n in e)
3553
- Rn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3554
- if (e != null && at)
3555
- for (var n of at(e))
3556
- t.indexOf(n) < 0 && Un.call(e, n) && (r[n] = e[n]);
3551
+ $n.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3552
+ if (e != null && st)
3553
+ for (var n of st(e))
3554
+ t.indexOf(n) < 0 && Rn.call(e, n) && (r[n] = e[n]);
3557
3555
  return r;
3558
3556
  };
3559
- const Gn = {
3557
+ const Dn = {
3560
3558
  number: {
3561
3559
  scientific: { notation: "scientific" },
3562
3560
  engineering: { notation: "engineering" },
@@ -3586,7 +3584,7 @@ const Gn = {
3586
3584
  }
3587
3585
  }
3588
3586
  };
3589
- function Fn({ locale: e, id: t }) {
3587
+ function Gn({ locale: e, id: t }) {
3590
3588
  console.warn(
3591
3589
  `[svelte-i18n] The message "${t}" was not found in "${ne(
3592
3590
  e
@@ -3595,49 +3593,49 @@ function Fn({ locale: e, id: t }) {
3595
3593
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3596
3594
  );
3597
3595
  }
3598
- const jn = {
3596
+ const Fn = {
3599
3597
  fallbackLocale: null,
3600
3598
  loadingDelay: 200,
3601
- formats: Gn,
3599
+ formats: Dn,
3602
3600
  warnOnMissingMessages: !0,
3603
3601
  handleMissingMessage: void 0,
3604
3602
  ignoreTag: !0
3605
- }, J = jn;
3603
+ }, J = Fn;
3606
3604
  function X() {
3607
3605
  return J;
3608
3606
  }
3609
- function kn(e) {
3610
- const t = e, { formats: r } = t, n = Dn(t, ["formats"]);
3607
+ function jn(e) {
3608
+ const t = e, { formats: r } = t, n = Un(t, ["formats"]);
3611
3609
  let i = e.fallbackLocale;
3612
3610
  if (e.initialLocale)
3613
3611
  try {
3614
- kt.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3612
+ Ft.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3615
3613
  } catch {
3616
3614
  console.warn(
3617
3615
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
3618
3616
  );
3619
3617
  }
3620
- return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = Fn : console.warn(
3618
+ return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = Gn : console.warn(
3621
3619
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3622
3620
  )), 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);
3623
3621
  }
3624
3622
  const Oe = de(!1);
3625
- 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) => {
3623
+ 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) => {
3626
3624
  for (var r in t || (t = {}))
3627
- Wn.call(t, r) && ut(e, r, t[r]);
3628
- if (ht)
3629
- for (var r of ht(t))
3630
- Zn.call(t, r) && ut(e, r, t[r]);
3625
+ Wn.call(t, r) && at(e, r, t[r]);
3626
+ if (ot)
3627
+ for (var r of ot(t))
3628
+ zn.call(t, r) && at(e, r, t[r]);
3631
3629
  return e;
3632
- }, Jn = (e, t) => Xn(e, zn(t));
3630
+ }, Qn = (e, t) => Vn(e, Xn(t));
3633
3631
  let Fe;
3634
3632
  const me = de(null);
3635
- function lt(e) {
3633
+ function ht(e) {
3636
3634
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3637
3635
  }
3638
3636
  function ne(e, t = X().fallbackLocale) {
3639
- const r = lt(e);
3640
- return t ? [.../* @__PURE__ */ new Set([...r, ...lt(t)])] : r;
3637
+ const r = ht(e);
3638
+ return t ? [.../* @__PURE__ */ new Set([...r, ...ht(t)])] : r;
3641
3639
  }
3642
3640
  function P() {
3643
3641
  return Fe ?? void 0;
@@ -3645,22 +3643,22 @@ function P() {
3645
3643
  me.subscribe((e) => {
3646
3644
  Fe = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3647
3645
  });
3648
- const qn = (e) => {
3649
- if (e && Nn(e) && ce(e)) {
3646
+ const Jn = (e) => {
3647
+ if (e && Ln(e) && ce(e)) {
3650
3648
  const { loadingDelay: t } = X();
3651
3649
  let r;
3652
3650
  return typeof window < "u" && P() != null && t ? r = window.setTimeout(
3653
3651
  () => Oe.set(!0),
3654
3652
  t
3655
- ) : Oe.set(!0), Zt(e).then(() => {
3653
+ ) : Oe.set(!0), Wt(e).then(() => {
3656
3654
  me.set(e);
3657
3655
  }).finally(() => {
3658
3656
  clearTimeout(r), Oe.set(!1);
3659
3657
  });
3660
3658
  }
3661
3659
  return me.set(e);
3662
- }, M = Jn(Qn({}, me), {
3663
- set: qn
3660
+ }, M = Qn(Zn({}, me), {
3661
+ set: Jn
3664
3662
  }), _e = (e) => {
3665
3663
  const t = /* @__PURE__ */ Object.create(null);
3666
3664
  return (n) => {
@@ -3668,20 +3666,20 @@ const qn = (e) => {
3668
3666
  return i in t ? t[i] : t[i] = e(n);
3669
3667
  };
3670
3668
  };
3671
- 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) => {
3669
+ 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) => {
3672
3670
  for (var r in t || (t = {}))
3673
- Qt.call(t, r) && ft(e, r, t[r]);
3671
+ zt.call(t, r) && ut(e, r, t[r]);
3674
3672
  if (pe)
3675
3673
  for (var r of pe(t))
3676
- Jt.call(t, r) && ft(e, r, t[r]);
3674
+ Zt.call(t, r) && ut(e, r, t[r]);
3677
3675
  return e;
3678
3676
  }, Z = (e, t) => {
3679
3677
  var r = {};
3680
3678
  for (var n in e)
3681
- Qt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3679
+ zt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3682
3680
  if (e != null && pe)
3683
3681
  for (var n of pe(e))
3684
- t.indexOf(n) < 0 && Jt.call(e, n) && (r[n] = e[n]);
3682
+ t.indexOf(n) < 0 && Zt.call(e, n) && (r[n] = e[n]);
3685
3683
  return r;
3686
3684
  };
3687
3685
  const K = (e, t) => {
@@ -3689,21 +3687,21 @@ const K = (e, t) => {
3689
3687
  if (e in r && t in r[e])
3690
3688
  return r[e][t];
3691
3689
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3692
- }, Kn = _e(
3690
+ }, Yn = _e(
3693
3691
  (e) => {
3694
3692
  var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
3695
3693
  if (r == null)
3696
3694
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3697
3695
  return n && (i = K("number", n)), new Intl.NumberFormat(r, i);
3698
3696
  }
3699
- ), ei = _e(
3697
+ ), Kn = _e(
3700
3698
  (e) => {
3701
3699
  var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
3702
3700
  if (r == null)
3703
3701
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3704
3702
  return n ? i = K("date", n) : Object.keys(i).length === 0 && (i = K("date", "short")), new Intl.DateTimeFormat(r, i);
3705
3703
  }
3706
- ), ti = _e(
3704
+ ), ei = _e(
3707
3705
  (e) => {
3708
3706
  var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
3709
3707
  if (r == null)
@@ -3712,33 +3710,33 @@ const K = (e, t) => {
3712
3710
  );
3713
3711
  return n ? i = K("time", n) : Object.keys(i).length === 0 && (i = K("time", "short")), new Intl.DateTimeFormat(r, i);
3714
3712
  }
3715
- ), ri = (e = {}) => {
3713
+ ), ti = (e = {}) => {
3716
3714
  var t = e, {
3717
3715
  locale: r = P()
3718
3716
  } = t, n = Z(t, [
3719
3717
  "locale"
3720
3718
  ]);
3721
- return Kn(Ze({ locale: r }, n));
3722
- }, ni = (e = {}) => {
3719
+ return Yn(We({ locale: r }, n));
3720
+ }, ri = (e = {}) => {
3723
3721
  var t = e, {
3724
3722
  locale: r = P()
3725
3723
  } = t, n = Z(t, [
3726
3724
  "locale"
3727
3725
  ]);
3728
- return ei(Ze({ locale: r }, n));
3729
- }, ii = (e = {}) => {
3726
+ return Kn(We({ locale: r }, n));
3727
+ }, ni = (e = {}) => {
3730
3728
  var t = e, {
3731
3729
  locale: r = P()
3732
3730
  } = t, n = Z(t, [
3733
3731
  "locale"
3734
3732
  ]);
3735
- return ti(Ze({ locale: r }, n));
3736
- }, si = _e(
3733
+ return ei(We({ locale: r }, n));
3734
+ }, ii = _e(
3737
3735
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3738
- (e, t = P()) => new kt(e, t, X().formats, {
3736
+ (e, t = P()) => new Ft(e, t, X().formats, {
3739
3737
  ignoreTag: X().ignoreTag
3740
3738
  })
3741
- ), oi = (e, t = {}) => {
3739
+ ), si = (e, t = {}) => {
3742
3740
  var r, n, i, s;
3743
3741
  let h = t;
3744
3742
  typeof e == "object" && (h = e, e = h.id);
@@ -3751,7 +3749,7 @@ const K = (e, t) => {
3751
3749
  throw new Error(
3752
3750
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3753
3751
  );
3754
- let u = Vt(e, l);
3752
+ let u = jt(e, l);
3755
3753
  if (!u)
3756
3754
  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;
3757
3755
  else if (typeof u != "string")
@@ -3762,7 +3760,7 @@ const K = (e, t) => {
3762
3760
  return u;
3763
3761
  let f = u;
3764
3762
  try {
3765
- f = si(u, l).format(o);
3763
+ f = ii(u, l).format(o);
3766
3764
  } catch (c) {
3767
3765
  c instanceof Error && console.warn(
3768
3766
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3770,20 +3768,20 @@ const K = (e, t) => {
3770
3768
  );
3771
3769
  }
3772
3770
  return f;
3773
- }, 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);
3774
- W([M], () => ai);
3775
- W([M], () => hi);
3776
- W([M], () => ui);
3777
- W([M, re], () => li);
3778
- function ct(e, t) {
3779
- zt(e, t);
3780
- }
3781
- function ci(e) {
3782
- kn({
3771
+ }, 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);
3772
+ z([M], () => oi);
3773
+ z([M], () => ai);
3774
+ z([M], () => hi);
3775
+ z([M, re], () => ui);
3776
+ function lt(e, t) {
3777
+ Vt(e, t);
3778
+ }
3779
+ function fi(e) {
3780
+ jn({
3783
3781
  fallbackLocale: "en"
3784
3782
  }), M.set(e);
3785
3783
  }
3786
- const mt = {
3784
+ const ft = {
3787
3785
  en: {
3788
3786
  header: {
3789
3787
  general: "Cashier",
@@ -3806,18 +3804,18 @@ const mt = {
3806
3804
  }
3807
3805
  }
3808
3806
  };
3809
- function mi(e) {
3810
- 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}");
3807
+ function ci(e) {
3808
+ 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}");
3811
3809
  }
3812
- const pi = (e) => ({}), pt = (e) => ({}), di = (e) => ({}), dt = (e) => ({}), bi = (e) => ({}), bt = (e) => ({});
3813
- function gt(e) {
3810
+ const mi = (e) => ({}), ct = (e) => ({}), pi = (e) => ({}), mt = (e) => ({}), di = (e) => ({}), pt = (e) => ({});
3811
+ function dt(e) {
3814
3812
  let t, r, n;
3815
3813
  return {
3816
3814
  c() {
3817
- 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");
3815
+ 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");
3818
3816
  },
3819
3817
  m(i, s) {
3820
- I(i, t, s), r || (n = Bt(
3818
+ I(i, t, s), r || (n = vt(
3821
3819
  t,
3822
3820
  "click",
3823
3821
  /*back*/
@@ -3830,28 +3828,28 @@ function gt(e) {
3830
3828
  }
3831
3829
  };
3832
3830
  }
3833
- function gi(e) {
3831
+ function bi(e) {
3834
3832
  let t, r = (
3835
3833
  /*backButton*/
3836
- e[1] && gt(e)
3834
+ e[1] && dt(e)
3837
3835
  );
3838
3836
  return {
3839
3837
  c() {
3840
- r && r.c(), t = Ht();
3838
+ r && r.c(), t = Et();
3841
3839
  },
3842
3840
  m(n, i) {
3843
3841
  r && r.m(n, i), I(n, t, i);
3844
3842
  },
3845
3843
  p(n, i) {
3846
3844
  /*backButton*/
3847
- n[1] ? r ? r.p(n, i) : (r = gt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3845
+ n[1] ? r ? r.p(n, i) : (r = dt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3848
3846
  },
3849
3847
  d(n) {
3850
3848
  n && O(t), r && r.d(n);
3851
3849
  }
3852
3850
  };
3853
3851
  }
3854
- function _i(e) {
3852
+ function gi(e) {
3855
3853
  let t, r = (
3856
3854
  /*$_*/
3857
3855
  e[4](
@@ -3861,7 +3859,7 @@ function _i(e) {
3861
3859
  ), n;
3862
3860
  return {
3863
3861
  c() {
3864
- t = z("span"), n = ke(r), te(t, "class", "CashierHeaderTitle");
3862
+ t = W("span"), n = ke(r), te(t, "class", "CashierHeaderTitle");
3865
3863
  },
3866
3864
  m(i, s) {
3867
3865
  I(i, t, s), fe(t, n);
@@ -3872,21 +3870,21 @@ function _i(e) {
3872
3870
  i[4](
3873
3871
  /*titleText*/
3874
3872
  i[2]
3875
- ) + "") && ar(n, r);
3873
+ ) + "") && sr(n, r);
3876
3874
  },
3877
3875
  d(i) {
3878
3876
  i && O(t);
3879
3877
  }
3880
3878
  };
3881
3879
  }
3882
- function _t(e) {
3880
+ function bt(e) {
3883
3881
  let t, r, n;
3884
3882
  return {
3885
3883
  c() {
3886
- 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");
3884
+ 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");
3887
3885
  },
3888
3886
  m(i, s) {
3889
- I(i, t, s), r || (n = Bt(
3887
+ I(i, t, s), r || (n = vt(
3890
3888
  t,
3891
3889
  "click",
3892
3890
  /*close*/
@@ -3899,28 +3897,28 @@ function _t(e) {
3899
3897
  }
3900
3898
  };
3901
3899
  }
3902
- function yi(e) {
3900
+ function _i(e) {
3903
3901
  let t, r = (
3904
3902
  /*closeButton*/
3905
- e[3] && _t(e)
3903
+ e[3] && bt(e)
3906
3904
  );
3907
3905
  return {
3908
3906
  c() {
3909
- r && r.c(), t = Ht();
3907
+ r && r.c(), t = Et();
3910
3908
  },
3911
3909
  m(n, i) {
3912
3910
  r && r.m(n, i), I(n, t, i);
3913
3911
  },
3914
3912
  p(n, i) {
3915
3913
  /*closeButton*/
3916
- n[3] ? r ? r.p(n, i) : (r = _t(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3914
+ n[3] ? r ? r.p(n, i) : (r = bt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3917
3915
  },
3918
3916
  d(n) {
3919
3917
  n && O(t), r && r.d(n);
3920
3918
  }
3921
3919
  };
3922
3920
  }
3923
- function xi(e) {
3921
+ function yi(e) {
3924
3922
  let t, r, n, i;
3925
3923
  const s = (
3926
3924
  /*#slots*/
@@ -3930,8 +3928,8 @@ function xi(e) {
3930
3928
  e,
3931
3929
  /*$$scope*/
3932
3930
  e[14],
3933
- bt
3934
- ), o = h || gi(e), l = (
3931
+ pt
3932
+ ), o = h || bi(e), l = (
3935
3933
  /*#slots*/
3936
3934
  e[15].title
3937
3935
  ), a = ye(
@@ -3939,8 +3937,8 @@ function xi(e) {
3939
3937
  e,
3940
3938
  /*$$scope*/
3941
3939
  e[14],
3942
- dt
3943
- ), u = a || _i(e), f = (
3940
+ mt
3941
+ ), u = a || gi(e), f = (
3944
3942
  /*#slots*/
3945
3943
  e[15].rightButton
3946
3944
  ), c = ye(
@@ -3948,11 +3946,11 @@ function xi(e) {
3948
3946
  e,
3949
3947
  /*$$scope*/
3950
3948
  e[14],
3951
- pt
3952
- ), p = c || yi(e);
3949
+ ct
3950
+ ), p = c || _i(e);
3953
3951
  return {
3954
3952
  c() {
3955
- t = z("div"), o && o.c(), r = Je(), u && u.c(), n = Je(), p && p.c(), te(t, "class", "CashierHeader");
3953
+ t = W("div"), o && o.c(), r = Ze(), u && u.c(), n = Ze(), p && p.c(), te(t, "class", "CashierHeader");
3956
3954
  },
3957
3955
  m(m, g) {
3958
3956
  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;
@@ -3970,12 +3968,12 @@ function xi(e) {
3970
3968
  /*$$scope*/
3971
3969
  m[14],
3972
3970
  g,
3973
- bi
3971
+ di
3974
3972
  ) : ve(
3975
3973
  /*$$scope*/
3976
3974
  m[14]
3977
3975
  ),
3978
- bt
3976
+ pt
3979
3977
  ) : o && o.p && (!i || g & /*backButton*/
3980
3978
  2) && o.p(m, i ? g : -1), a ? a.p && (!i || g & /*$$scope*/
3981
3979
  16384) && Ee(
@@ -3989,12 +3987,12 @@ function xi(e) {
3989
3987
  /*$$scope*/
3990
3988
  m[14],
3991
3989
  g,
3992
- di
3990
+ pi
3993
3991
  ) : ve(
3994
3992
  /*$$scope*/
3995
3993
  m[14]
3996
3994
  ),
3997
- dt
3995
+ mt
3998
3996
  ) : u && u.p && (!i || g & /*$_, titleText*/
3999
3997
  20) && u.p(m, i ? g : -1), c ? c.p && (!i || g & /*$$scope*/
4000
3998
  16384) && Ee(
@@ -4008,12 +4006,12 @@ function xi(e) {
4008
4006
  /*$$scope*/
4009
4007
  m[14],
4010
4008
  g,
4011
- pi
4009
+ mi
4012
4010
  ) : ve(
4013
4011
  /*$$scope*/
4014
4012
  m[14]
4015
4013
  ),
4016
- pt
4014
+ ct
4017
4015
  ) : p && p.p && (!i || g & /*closeButton*/
4018
4016
  8) && p.p(m, i ? g : -1);
4019
4017
  },
@@ -4028,22 +4026,22 @@ function xi(e) {
4028
4026
  }
4029
4027
  };
4030
4028
  }
4031
- function Ei(e, t, r) {
4029
+ function xi(e, t, r) {
4032
4030
  let n;
4033
- rr(e, fi, (_) => r(4, n = _));
4031
+ er(e, li, (_) => r(4, n = _));
4034
4032
  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;
4035
4033
  const L = () => {
4036
4034
  let _ = l;
4037
4035
  _ && fetch(_).then((w) => w.json()).then((w) => {
4038
4036
  Object.keys(w).forEach((R) => {
4039
- ct(R, w[R]);
4037
+ lt(R, w[R]);
4040
4038
  });
4041
4039
  }).catch((w) => {
4042
4040
  console.log(w);
4043
4041
  });
4044
4042
  };
4045
- Object.keys(mt).forEach((_) => {
4046
- ct(_, mt[_]);
4043
+ Object.keys(ft).forEach((_) => {
4044
+ lt(_, ft[_]);
4047
4045
  });
4048
4046
  const A = () => {
4049
4047
  let _ = document.createElement("style");
@@ -4059,19 +4057,19 @@ function Ei(e, t, r) {
4059
4057
  );
4060
4058
  });
4061
4059
  }, N = () => {
4062
- ci(f);
4060
+ fi(f);
4063
4061
  }, T = () => {
4064
4062
  window.postMessage({ type: "CloseCashier" }, window.location.href);
4065
4063
  }, $ = () => {
4066
4064
  window.postMessage({ type: "BackCashier" }, window.location.href);
4067
4065
  }, ie = () => {
4068
4066
  r(1, m = !!a && a !== "false");
4069
- }, qt = () => {
4067
+ }, Qt = () => {
4070
4068
  r(3, v = !!c && c !== "false");
4071
- }, Yt = () => {
4069
+ }, Jt = () => {
4072
4070
  r(2, g = u || "header.general");
4073
4071
  };
4074
- function Kt(_) {
4072
+ function qt(_) {
4075
4073
  Pe[_ ? "unshift" : "push"](() => {
4076
4074
  p = _, r(0, p);
4077
4075
  });
@@ -4081,12 +4079,12 @@ function Ei(e, t, r) {
4081
4079
  }, e.$$.update = () => {
4082
4080
  e.$$.dirty & /*lang*/
4083
4081
  4096 && f && N(), e.$$.dirty & /*lang, title*/
4084
- 6144 && f && u && Yt(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4082
+ 6144 && f && u && Jt(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4085
4083
  129 && h && p && A(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4086
4084
  257 && o && p && H(), e.$$.dirty & /*lang, translationurl*/
4087
4085
  4608 && f && l && L(), e.$$.dirty & /*showbackbutton*/
4088
4086
  1024 && a && ie(), e.$$.dirty & /*showclosebutton*/
4089
- 8192 && c && qt();
4087
+ 8192 && c && Qt();
4090
4088
  }, [
4091
4089
  p,
4092
4090
  m,
@@ -4104,17 +4102,17 @@ function Ei(e, t, r) {
4104
4102
  c,
4105
4103
  s,
4106
4104
  i,
4107
- Kt
4105
+ qt
4108
4106
  ];
4109
4107
  }
4110
- class vi extends yr {
4108
+ class Ei extends gr {
4111
4109
  constructor(t) {
4112
- super(), gr(
4110
+ super(), dr(
4113
4111
  this,
4114
4112
  t,
4115
- Ei,
4116
4113
  xi,
4117
- xt,
4114
+ yi,
4115
+ _t,
4118
4116
  {
4119
4117
  clientstyling: 7,
4120
4118
  clientstylingurl: 8,
@@ -4124,7 +4122,7 @@ class vi extends yr {
4124
4122
  lang: 12,
4125
4123
  showclosebutton: 13
4126
4124
  },
4127
- mi
4125
+ ci
4128
4126
  );
4129
4127
  }
4130
4128
  get clientstyling() {
@@ -4170,7 +4168,7 @@ class vi extends yr {
4170
4168
  this.$$set({ showclosebutton: t }), S();
4171
4169
  }
4172
4170
  }
4173
- _r(vi, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {} }, ["leftButton", "title", "rightButton"], [], !0);
4171
+ br(Ei, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {} }, ["leftButton", "title", "rightButton"], [], !0);
4174
4172
  export {
4175
- vi as C
4173
+ Ei as C
4176
4174
  };