@everymatrix/cashier-iframe-redirect 1.55.0 → 1.56.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,35 +1,35 @@
1
1
  function B() {
2
2
  }
3
- function rr(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 Et(e) {
10
+ function _t(e) {
11
11
  return e();
12
12
  }
13
- function qe() {
13
+ function Ze() {
14
14
  return /* @__PURE__ */ Object.create(null);
15
15
  }
16
16
  function te(e) {
17
- e.forEach(Et);
17
+ e.forEach(_t);
18
18
  }
19
19
  function ke(e) {
20
20
  return typeof e == "function";
21
21
  }
22
- function xt(e, t) {
22
+ function yt(e, t) {
23
23
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
24
24
  }
25
25
  let se;
26
- function Bi(e, t) {
26
+ function Hi(e, t) {
27
27
  return e === t ? !0 : (se || (se = document.createElement("a")), se.href = t, e === se.href);
28
28
  }
29
- function nr(e) {
29
+ function tr(e) {
30
30
  return Object.keys(e).length === 0;
31
31
  }
32
- function vt(e, ...t) {
32
+ function Et(e, ...t) {
33
33
  if (e == null) {
34
34
  for (const n of t)
35
35
  n(void 0);
@@ -38,17 +38,17 @@ function vt(e, ...t) {
38
38
  const r = e.subscribe(...t);
39
39
  return r.unsubscribe ? () => r.unsubscribe() : r;
40
40
  }
41
- function ir(e, t, r) {
42
- e.$$.on_destroy.push(vt(t, r));
41
+ function rr(e, t, r) {
42
+ e.$$.on_destroy.push(Et(t, r));
43
43
  }
44
44
  function Ee(e, t, r, n) {
45
45
  if (e) {
46
- const i = Ht(e, t, r, n);
46
+ const i = xt(e, t, r, n);
47
47
  return e[0](i);
48
48
  }
49
49
  }
50
- function Ht(e, t, r, n) {
51
- return e[1] && n ? rr(r.ctx.slice(), e[1](n(t))) : r.ctx;
50
+ function xt(e, t, r, n) {
51
+ return e[1] && n ? er(r.ctx.slice(), e[1](n(t))) : r.ctx;
52
52
  }
53
53
  function xe(e, t, r, n) {
54
54
  if (e[2] && n) {
@@ -67,7 +67,7 @@ function xe(e, t, r, n) {
67
67
  }
68
68
  function ve(e, t, r, n, i, s) {
69
69
  if (i) {
70
- const u = Ht(t, r, n, s);
70
+ const u = xt(t, r, n, s);
71
71
  e.p(u, i);
72
72
  }
73
73
  }
@@ -83,14 +83,14 @@ function He(e) {
83
83
  function ce(e, t) {
84
84
  e.appendChild(t);
85
85
  }
86
- function sr(e, t, r) {
87
- const n = or(e);
86
+ function nr(e, t, r) {
87
+ const n = ir(e);
88
88
  if (!n.getElementById(t)) {
89
- const i = z("style");
90
- i.id = t, i.textContent = r, ar(n, i);
89
+ const i = W("style");
90
+ i.id = t, i.textContent = r, sr(n, i);
91
91
  }
92
92
  }
93
- function or(e) {
93
+ function ir(e) {
94
94
  if (!e) return document;
95
95
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
96
96
  return t && /** @type {ShadowRoot} */
@@ -99,7 +99,7 @@ function or(e) {
99
99
  t
100
100
  ) : e.ownerDocument;
101
101
  }
102
- function ar(e, t) {
102
+ function sr(e, t) {
103
103
  return ce(
104
104
  /** @type {Document} */
105
105
  e.head || e,
@@ -112,36 +112,36 @@ function I(e, t, r) {
112
112
  function O(e) {
113
113
  e.parentNode && e.parentNode.removeChild(e);
114
114
  }
115
- function z(e) {
115
+ function W(e) {
116
116
  return document.createElement(e);
117
117
  }
118
118
  function Ve(e) {
119
119
  return document.createTextNode(e);
120
120
  }
121
- function Je() {
121
+ function Qe() {
122
122
  return Ve(" ");
123
123
  }
124
- function Bt() {
124
+ function vt() {
125
125
  return Ve("");
126
126
  }
127
- function Tt(e, t, r, n) {
127
+ function Ht(e, t, r, n) {
128
128
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
129
129
  }
130
- function W(e, t, r) {
130
+ function z(e, t, r) {
131
131
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
132
132
  }
133
- function Ti(e, t, r) {
133
+ function Bi(e, t, r) {
134
134
  const n = t.toLowerCase();
135
- n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : W(e, t, r);
135
+ n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : z(e, t, r);
136
136
  }
137
- function ur(e) {
137
+ function or(e) {
138
138
  return Array.from(e.childNodes);
139
139
  }
140
- function hr(e, t) {
140
+ function ar(e, t) {
141
141
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
142
142
  t);
143
143
  }
144
- function lr(e) {
144
+ function ur(e) {
145
145
  const t = {};
146
146
  return e.childNodes.forEach(
147
147
  /** @param {Element} node */
@@ -156,10 +156,10 @@ function Y(e) {
156
156
  }
157
157
  const G = [], Le = [];
158
158
  let F = [];
159
- const Ye = [], fr = /* @__PURE__ */ Promise.resolve();
159
+ const qe = [], hr = /* @__PURE__ */ Promise.resolve();
160
160
  let Ne = !1;
161
- function cr() {
162
- Ne || (Ne = !0, fr.then(S));
161
+ function lr() {
162
+ Ne || (Ne = !0, hr.then(S));
163
163
  }
164
164
  function Ie(e) {
165
165
  F.push(e);
@@ -174,7 +174,7 @@ function S() {
174
174
  try {
175
175
  for (; U < G.length; ) {
176
176
  const t = G[U];
177
- U++, Y(t), mr(t.$$);
177
+ U++, Y(t), fr(t.$$);
178
178
  }
179
179
  } catch (t) {
180
180
  throw G.length = 0, U = 0, t;
@@ -186,49 +186,49 @@ function S() {
186
186
  }
187
187
  F.length = 0;
188
188
  } while (G.length);
189
- for (; Ye.length; )
190
- Ye.pop()();
189
+ for (; qe.length; )
190
+ qe.pop()();
191
191
  Ne = !1, Be.clear(), Y(e);
192
192
  }
193
- function mr(e) {
193
+ function fr(e) {
194
194
  if (e.fragment !== null) {
195
195
  e.update(), te(e.before_update);
196
196
  const t = e.dirty;
197
197
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ie);
198
198
  }
199
199
  }
200
- function pr(e) {
200
+ function cr(e) {
201
201
  const t = [], r = [];
202
202
  F.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), F = t;
203
203
  }
204
204
  const ae = /* @__PURE__ */ new Set();
205
- let dr;
205
+ let mr;
206
206
  function ue(e, t) {
207
207
  e && e.i && (ae.delete(e), e.i(t));
208
208
  }
209
209
  function Te(e, t, r, n) {
210
210
  if (e && e.o) {
211
211
  if (ae.has(e)) return;
212
- ae.add(e), dr.c.push(() => {
212
+ ae.add(e), mr.c.push(() => {
213
213
  ae.delete(e);
214
214
  }), e.o(t);
215
215
  }
216
216
  }
217
- function br(e, t, r) {
217
+ function pr(e, t, r) {
218
218
  const { fragment: n, after_update: i } = e.$$;
219
219
  n && n.m(t, r), Ie(() => {
220
- const s = e.$$.on_mount.map(Et).filter(ke);
220
+ const s = e.$$.on_mount.map(_t).filter(ke);
221
221
  e.$$.on_destroy ? e.$$.on_destroy.push(...s) : te(s), e.$$.on_mount = [];
222
222
  }), i.forEach(Ie);
223
223
  }
224
- function gr(e, t) {
224
+ function dr(e, t) {
225
225
  const r = e.$$;
226
- r.fragment !== null && (pr(r.after_update), te(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
226
+ r.fragment !== null && (cr(r.after_update), te(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
227
227
  }
228
- function _r(e, t) {
229
- e.$$.dirty[0] === -1 && (G.push(e), cr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
228
+ function br(e, t) {
229
+ e.$$.dirty[0] === -1 && (G.push(e), lr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
230
230
  }
231
- function yr(e, t, r, n, i, s, u = null, o = [-1]) {
231
+ function gr(e, t, r, n, i, s, u = null, o = [-1]) {
232
232
  const l = Xe;
233
233
  Y(e);
234
234
  const a = e.$$ = {
@@ -238,7 +238,7 @@ function yr(e, t, r, n, i, s, u = null, o = [-1]) {
238
238
  props: s,
239
239
  update: B,
240
240
  not_equal: i,
241
- bound: qe(),
241
+ bound: Ze(),
242
242
  // lifecycle
243
243
  on_mount: [],
244
244
  on_destroy: [],
@@ -247,7 +247,7 @@ function yr(e, t, r, n, i, s, u = null, o = [-1]) {
247
247
  after_update: [],
248
248
  context: new Map(t.context || (l ? l.$$.context : [])),
249
249
  // everything else
250
- callbacks: qe(),
250
+ callbacks: Ze(),
251
251
  dirty: o,
252
252
  skip_bound: !1,
253
253
  root: t.target || l.$$.root
@@ -256,19 +256,19 @@ function yr(e, t, r, n, i, s, u = null, o = [-1]) {
256
256
  let h = !1;
257
257
  if (a.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
258
258
  const m = p.length ? p[0] : c;
259
- return a.ctx && i(a.ctx[f], a.ctx[f] = m) && (!a.skip_bound && a.bound[f] && a.bound[f](m), h && _r(e, f)), c;
259
+ return a.ctx && i(a.ctx[f], a.ctx[f] = m) && (!a.skip_bound && a.bound[f] && a.bound[f](m), h && br(e, f)), c;
260
260
  }) : [], a.update(), h = !0, te(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
261
261
  if (t.hydrate) {
262
- const f = ur(t.target);
262
+ const f = or(t.target);
263
263
  a.fragment && a.fragment.l(f), f.forEach(O);
264
264
  } else
265
265
  a.fragment && a.fragment.c();
266
- t.intro && ue(e.$$.fragment), br(e, t.target, t.anchor), S();
266
+ t.intro && ue(e.$$.fragment), pr(e, t.target, t.anchor), S();
267
267
  }
268
268
  Y(l);
269
269
  }
270
- let wt;
271
- typeof HTMLElement == "function" && (wt = class extends HTMLElement {
270
+ let Bt;
271
+ typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
272
272
  /** The Svelte component constructor */
273
273
  $$ctor;
274
274
  /** Slots */
@@ -310,7 +310,7 @@ typeof HTMLElement == "function" && (wt = class extends HTMLElement {
310
310
  let s;
311
311
  return {
312
312
  c: function() {
313
- s = z("slot"), i !== "default" && W(s, "name", i);
313
+ s = W("slot"), i !== "default" && z(s, "name", i);
314
314
  },
315
315
  /**
316
316
  * @param {HTMLElement} target
@@ -327,7 +327,7 @@ typeof HTMLElement == "function" && (wt = class extends HTMLElement {
327
327
  };
328
328
  if (await Promise.resolve(), !this.$$cn || this.$$c)
329
329
  return;
330
- const t = {}, r = lr(this);
330
+ const t = {}, r = ur(this);
331
331
  for (const i of this.$$s)
332
332
  i in r && (t[i] = [e(i)]);
333
333
  for (const i of this.attributes) {
@@ -414,8 +414,8 @@ function he(e, t, r, n) {
414
414
  return t;
415
415
  }
416
416
  }
417
- function Er(e, t, r, n, i, s) {
418
- let u = class extends wt {
417
+ function _r(e, t, r, n, i, s) {
418
+ let u = class extends Bt {
419
419
  constructor() {
420
420
  super(e, r, i), this.$$p_d = t;
421
421
  }
@@ -443,7 +443,7 @@ function Er(e, t, r, n, i, s) {
443
443
  }), e.element = /** @type {any} */
444
444
  u, u;
445
445
  }
446
- class xr {
446
+ class yr {
447
447
  /**
448
448
  * ### PRIVATE API
449
449
  *
@@ -462,7 +462,7 @@ class xr {
462
462
  $$set = void 0;
463
463
  /** @returns {void} */
464
464
  $destroy() {
465
- gr(this, 1), this.$destroy = B;
465
+ dr(this, 1), this.$destroy = B;
466
466
  }
467
467
  /**
468
468
  * @template {Extract<keyof Events, string>} K
@@ -484,13 +484,13 @@ class xr {
484
484
  * @returns {void}
485
485
  */
486
486
  $set(t) {
487
- this.$$set && !nr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
487
+ this.$$set && !tr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
488
488
  }
489
489
  }
490
- const vr = "4";
491
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(vr);
490
+ const Er = "4";
491
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Er);
492
492
  const D = [];
493
- function Hr(e, t) {
493
+ function xr(e, t) {
494
494
  return {
495
495
  subscribe: be(e, t).subscribe
496
496
  };
@@ -499,7 +499,7 @@ function be(e, t = B) {
499
499
  let r;
500
500
  const n = /* @__PURE__ */ new Set();
501
501
  function i(o) {
502
- if (xt(e, o) && (e = o, r)) {
502
+ if (yt(e, o) && (e = o, r)) {
503
503
  const l = !D.length;
504
504
  for (const a of n)
505
505
  a[1](), D.push(a, e);
@@ -526,7 +526,7 @@ function Z(e, t, r) {
526
526
  if (!i.every(Boolean))
527
527
  throw new Error("derived() expects stores as input, got a falsy value");
528
528
  const s = t.length < 2;
529
- return Hr(r, (u, o) => {
529
+ return xr(r, (u, o) => {
530
530
  let l = !1;
531
531
  const a = [];
532
532
  let h = 0, f = B;
@@ -537,7 +537,7 @@ function Z(e, t, r) {
537
537
  const m = t(n ? a[0] : a, u, o);
538
538
  s ? u(m) : f = ke(m) ? m : B;
539
539
  }, p = i.map(
540
- (m, g) => vt(
540
+ (m, g) => Et(
541
541
  m,
542
542
  (v) => {
543
543
  a[g] = v, h &= ~(1 << g), l && c();
@@ -552,70 +552,70 @@ function Z(e, t, r) {
552
552
  };
553
553
  });
554
554
  }
555
- function Br(e) {
555
+ function vr(e) {
556
556
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
557
557
  }
558
- var Tr = function(t) {
559
- return wr(t) && !Sr(t);
558
+ var Hr = function(t) {
559
+ return Br(t) && !Tr(t);
560
560
  };
561
- function wr(e) {
561
+ function Br(e) {
562
562
  return !!e && typeof e == "object";
563
563
  }
564
- function Sr(e) {
564
+ function Tr(e) {
565
565
  var t = Object.prototype.toString.call(e);
566
- return t === "[object RegExp]" || t === "[object Date]" || Or(e);
566
+ return t === "[object RegExp]" || t === "[object Date]" || Ar(e);
567
567
  }
568
- var Ar = typeof Symbol == "function" && Symbol.for, Cr = Ar ? Symbol.for("react.element") : 60103;
569
- function Or(e) {
570
- return e.$$typeof === Cr;
568
+ var wr = typeof Symbol == "function" && Symbol.for, Sr = wr ? Symbol.for("react.element") : 60103;
569
+ function Ar(e) {
570
+ return e.$$typeof === Sr;
571
571
  }
572
- function Pr(e) {
572
+ function Cr(e) {
573
573
  return Array.isArray(e) ? [] : {};
574
574
  }
575
575
  function K(e, t) {
576
- return t.clone !== !1 && t.isMergeableObject(e) ? j(Pr(e), e, t) : e;
576
+ return t.clone !== !1 && t.isMergeableObject(e) ? j(Cr(e), e, t) : e;
577
577
  }
578
- function Lr(e, t, r) {
578
+ function Or(e, t, r) {
579
579
  return e.concat(t).map(function(n) {
580
580
  return K(n, r);
581
581
  });
582
582
  }
583
- function Nr(e, t) {
583
+ function Pr(e, t) {
584
584
  if (!t.customMerge)
585
585
  return j;
586
586
  var r = t.customMerge(e);
587
587
  return typeof r == "function" ? r : j;
588
588
  }
589
- function Ir(e) {
589
+ function Lr(e) {
590
590
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
591
591
  return Object.propertyIsEnumerable.call(e, t);
592
592
  }) : [];
593
593
  }
594
- function Ke(e) {
595
- return Object.keys(e).concat(Ir(e));
594
+ function Je(e) {
595
+ return Object.keys(e).concat(Lr(e));
596
596
  }
597
- function St(e, t) {
597
+ function Tt(e, t) {
598
598
  try {
599
599
  return t in e;
600
600
  } catch {
601
601
  return !1;
602
602
  }
603
603
  }
604
- function Mr(e, t) {
605
- return St(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
604
+ function Nr(e, t) {
605
+ return Tt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
606
606
  }
607
- function $r(e, t, r) {
607
+ function Ir(e, t, r) {
608
608
  var n = {};
609
- return r.isMergeableObject(e) && Ke(e).forEach(function(i) {
609
+ return r.isMergeableObject(e) && Je(e).forEach(function(i) {
610
610
  n[i] = K(e[i], r);
611
- }), Ke(t).forEach(function(i) {
612
- Mr(e, i) || (St(e, i) && r.isMergeableObject(t[i]) ? n[i] = Nr(i, r)(e[i], t[i], r) : n[i] = K(t[i], r));
611
+ }), Je(t).forEach(function(i) {
612
+ Nr(e, i) || (Tt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Pr(i, r)(e[i], t[i], r) : n[i] = K(t[i], r));
613
613
  }), n;
614
614
  }
615
615
  function j(e, t, r) {
616
- r = r || {}, r.arrayMerge = r.arrayMerge || Lr, r.isMergeableObject = r.isMergeableObject || Tr, r.cloneUnlessOtherwiseSpecified = K;
616
+ r = r || {}, r.arrayMerge = r.arrayMerge || Or, r.isMergeableObject = r.isMergeableObject || Hr, r.cloneUnlessOtherwiseSpecified = K;
617
617
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
618
- return s ? n ? r.arrayMerge(e, t, r) : $r(e, t, r) : K(t, r);
618
+ return s ? n ? r.arrayMerge(e, t, r) : Ir(e, t, r) : K(t, r);
619
619
  }
620
620
  j.all = function(t, r) {
621
621
  if (!Array.isArray(t))
@@ -624,8 +624,8 @@ j.all = function(t, r) {
624
624
  return j(n, i, r);
625
625
  }, {});
626
626
  };
627
- var Rr = j, Ur = Rr;
628
- const Dr = /* @__PURE__ */ Br(Ur);
627
+ var Mr = j, $r = Mr;
628
+ const Rr = /* @__PURE__ */ vr($r);
629
629
  var Me = function(e, t) {
630
630
  return Me = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
631
631
  r.__proto__ = n;
@@ -651,7 +651,7 @@ var y = function() {
651
651
  return t;
652
652
  }, y.apply(this, arguments);
653
653
  };
654
- function Gr(e, t) {
654
+ function Ur(e, t) {
655
655
  var r = {};
656
656
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
657
657
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -665,55 +665,53 @@ function we(e, t, r) {
665
665
  return e.concat(s || Array.prototype.slice.call(t));
666
666
  }
667
667
  function Se(e, t) {
668
- var r = t && t.cache ? t.cache : zr, n = t && t.serializer ? t.serializer : Xr, i = t && t.strategy ? t.strategy : jr;
668
+ var r = t && t.cache ? t.cache : Xr, n = t && t.serializer ? t.serializer : kr, i = t && t.strategy ? t.strategy : Fr;
669
669
  return i(e, {
670
670
  cache: r,
671
671
  serializer: n
672
672
  });
673
673
  }
674
- function Fr(e) {
674
+ function Dr(e) {
675
675
  return e == null || typeof e == "number" || typeof e == "boolean";
676
676
  }
677
- function At(e, t, r, n) {
678
- var i = Fr(n) ? n : r(n), s = t.get(i);
677
+ function Gr(e, t, r, n) {
678
+ var i = Dr(n) ? n : r(n), s = t.get(i);
679
679
  return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
680
680
  }
681
- function Ct(e, t, r) {
681
+ function wt(e, t, r) {
682
682
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
683
683
  return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
684
684
  }
685
- function ze(e, t, r, n, i) {
685
+ function St(e, t, r, n, i) {
686
686
  return r.bind(t, e, n, i);
687
687
  }
688
- function jr(e, t) {
689
- var r = e.length === 1 ? At : Ct;
690
- return ze(e, this, r, t.cache.create(), t.serializer);
691
- }
692
- function kr(e, t) {
693
- return ze(e, this, Ct, t.cache.create(), t.serializer);
688
+ function Fr(e, t) {
689
+ var r = e.length === 1 ? Gr : wt;
690
+ return St(e, this, r, t.cache.create(), t.serializer);
694
691
  }
695
- function Vr(e, t) {
696
- return ze(e, this, At, t.cache.create(), t.serializer);
692
+ function jr(e, t) {
693
+ return St(e, this, wt, t.cache.create(), t.serializer);
697
694
  }
698
- var Xr = function() {
695
+ var kr = function() {
699
696
  return JSON.stringify(arguments);
700
- };
701
- function We() {
702
- this.cache = /* @__PURE__ */ Object.create(null);
703
- }
704
- We.prototype.get = function(e) {
705
- return this.cache[e];
706
- };
707
- We.prototype.set = function(e, t) {
708
- this.cache[e] = t;
709
- };
710
- var zr = {
697
+ }, Vr = (
698
+ /** @class */
699
+ function() {
700
+ function e() {
701
+ this.cache = /* @__PURE__ */ Object.create(null);
702
+ }
703
+ return e.prototype.get = function(t) {
704
+ return this.cache[t];
705
+ }, e.prototype.set = function(t, r) {
706
+ this.cache[t] = r;
707
+ }, e;
708
+ }()
709
+ ), Xr = {
711
710
  create: function() {
712
- return new We();
711
+ return new Vr();
713
712
  }
714
713
  }, Ae = {
715
- variadic: kr,
716
- monadic: Vr
714
+ variadic: jr
717
715
  }, d;
718
716
  (function(e) {
719
717
  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";
@@ -726,43 +724,43 @@ var k;
726
724
  (function(e) {
727
725
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
728
726
  })(k || (k = {}));
729
- function et(e) {
727
+ function Ye(e) {
730
728
  return e.type === E.literal;
731
729
  }
732
730
  function Wr(e) {
733
731
  return e.type === E.argument;
734
732
  }
735
- function Ot(e) {
733
+ function At(e) {
736
734
  return e.type === E.number;
737
735
  }
738
- function Pt(e) {
736
+ function Ct(e) {
739
737
  return e.type === E.date;
740
738
  }
741
- function Lt(e) {
739
+ function Ot(e) {
742
740
  return e.type === E.time;
743
741
  }
744
- function Nt(e) {
742
+ function Pt(e) {
745
743
  return e.type === E.select;
746
744
  }
747
- function It(e) {
745
+ function Lt(e) {
748
746
  return e.type === E.plural;
749
747
  }
750
- function Zr(e) {
748
+ function zr(e) {
751
749
  return e.type === E.pound;
752
750
  }
753
- function Mt(e) {
751
+ function Nt(e) {
754
752
  return e.type === E.tag;
755
753
  }
756
- function $t(e) {
754
+ function It(e) {
757
755
  return !!(e && typeof e == "object" && e.type === k.number);
758
756
  }
759
757
  function $e(e) {
760
758
  return !!(e && typeof e == "object" && e.type === k.dateTime);
761
759
  }
762
- var Rt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Qr = /(?:[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;
763
- function qr(e) {
760
+ var Mt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Zr = /(?:[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;
761
+ function Qr(e) {
764
762
  var t = {};
765
- return e.replace(Qr, function(r) {
763
+ return e.replace(Zr, function(r) {
766
764
  var n = r.length;
767
765
  switch (r[0]) {
768
766
  case "G":
@@ -851,11 +849,11 @@ function qr(e) {
851
849
  return "";
852
850
  }), t;
853
851
  }
854
- var Jr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
855
- function Yr(e) {
852
+ var qr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
853
+ function Jr(e) {
856
854
  if (e.length === 0)
857
855
  throw new Error("Number skeleton cannot be empty");
858
- for (var t = e.split(Jr).filter(function(c) {
856
+ for (var t = e.split(qr).filter(function(c) {
859
857
  return c.length > 0;
860
858
  }), r = [], n = 0, i = t; n < i.length; n++) {
861
859
  var s = i[n], u = s.split("/");
@@ -870,17 +868,17 @@ function Yr(e) {
870
868
  }
871
869
  return r;
872
870
  }
873
- function Kr(e) {
871
+ function Yr(e) {
874
872
  return e.replace(/^(.*?)-/, "");
875
873
  }
876
- var tt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Ut = /^(@+)?(\+|#+)?[rs]?$/g, en = /(\*)(0+)|(#+)(0+)|(0+)/g, Dt = /^(0+)$/;
877
- function rt(e) {
874
+ var Ke = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, $t = /^(@+)?(\+|#+)?[rs]?$/g, Kr = /(\*)(0+)|(#+)(0+)|(0+)/g, Rt = /^(0+)$/;
875
+ function et(e) {
878
876
  var t = {};
879
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Ut, function(r, n, i) {
877
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace($t, function(r, n, i) {
880
878
  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)), "";
881
879
  }), t;
882
880
  }
883
- function Gt(e) {
881
+ function Ut(e) {
884
882
  switch (e) {
885
883
  case "sign-auto":
886
884
  return {
@@ -920,7 +918,7 @@ function Gt(e) {
920
918
  };
921
919
  }
922
920
  }
923
- function tn(e) {
921
+ function en(e) {
924
922
  var t;
925
923
  if (e[0] === "E" && e[1] === "E" ? (t = {
926
924
  notation: "engineering"
@@ -928,17 +926,17 @@ function tn(e) {
928
926
  notation: "scientific"
929
927
  }, e = e.slice(1)), t) {
930
928
  var r = e.slice(0, 2);
931
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Dt.test(e))
929
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Rt.test(e))
932
930
  throw new Error("Malformed concise eng/scientific notation");
933
931
  t.minimumIntegerDigits = e.length;
934
932
  }
935
933
  return t;
936
934
  }
937
- function nt(e) {
938
- var t = {}, r = Gt(e);
935
+ function tt(e) {
936
+ var t = {}, r = Ut(e);
939
937
  return r || t;
940
938
  }
941
- function rn(e) {
939
+ function tn(e) {
942
940
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
943
941
  var i = n[r];
944
942
  switch (i.stem) {
@@ -962,7 +960,7 @@ function rn(e) {
962
960
  continue;
963
961
  case "measure-unit":
964
962
  case "unit":
965
- t.style = "unit", t.unit = Kr(i.options[0]);
963
+ t.style = "unit", t.unit = Yr(i.options[0]);
966
964
  continue;
967
965
  case "compact-short":
968
966
  case "K":
@@ -974,12 +972,12 @@ function rn(e) {
974
972
  continue;
975
973
  case "scientific":
976
974
  t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(l, a) {
977
- return y(y({}, l), nt(a));
975
+ return y(y({}, l), tt(a));
978
976
  }, {}));
979
977
  continue;
980
978
  case "engineering":
981
979
  t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(l, a) {
982
- return y(y({}, l), nt(a));
980
+ return y(y({}, l), tt(a));
983
981
  }, {}));
984
982
  continue;
985
983
  case "notation-simple":
@@ -1024,7 +1022,7 @@ function rn(e) {
1024
1022
  case "integer-width":
1025
1023
  if (i.options.length > 1)
1026
1024
  throw new RangeError("integer-width stems only accept a single optional option");
1027
- i.options[0].replace(en, function(l, a, h, f, c, p) {
1025
+ i.options[0].replace(Kr, function(l, a, h, f, c, p) {
1028
1026
  if (a)
1029
1027
  t.minimumIntegerDigits = h.length;
1030
1028
  else {
@@ -1037,27 +1035,27 @@ function rn(e) {
1037
1035
  });
1038
1036
  continue;
1039
1037
  }
1040
- if (Dt.test(i.stem)) {
1038
+ if (Rt.test(i.stem)) {
1041
1039
  t.minimumIntegerDigits = i.stem.length;
1042
1040
  continue;
1043
1041
  }
1044
- if (tt.test(i.stem)) {
1042
+ if (Ke.test(i.stem)) {
1045
1043
  if (i.options.length > 1)
1046
1044
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1047
- i.stem.replace(tt, function(l, a, h, f, c, p) {
1045
+ i.stem.replace(Ke, function(l, a, h, f, c, p) {
1048
1046
  return h === "*" ? 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), "";
1049
1047
  });
1050
1048
  var s = i.options[0];
1051
- s === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = y(y({}, t), rt(s)));
1049
+ s === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = y(y({}, t), et(s)));
1052
1050
  continue;
1053
1051
  }
1054
- if (Ut.test(i.stem)) {
1055
- t = y(y({}, t), rt(i.stem));
1052
+ if ($t.test(i.stem)) {
1053
+ t = y(y({}, t), et(i.stem));
1056
1054
  continue;
1057
1055
  }
1058
- var u = Gt(i.stem);
1056
+ var u = Ut(i.stem);
1059
1057
  u && (t = y(y({}, t), u));
1060
- var o = tn(i.stem);
1058
+ var o = en(i.stem);
1061
1059
  o && (t = y(y({}, t), o));
1062
1060
  }
1063
1061
  return t;
@@ -2477,13 +2475,13 @@ var oe = {
2477
2475
  "h"
2478
2476
  ]
2479
2477
  };
2480
- function nn(e, t) {
2478
+ function rn(e, t) {
2481
2479
  for (var r = "", n = 0; n < e.length; n++) {
2482
2480
  var i = e.charAt(n);
2483
2481
  if (i === "j") {
2484
2482
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2485
2483
  s++, n++;
2486
- var u = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", a = sn(t);
2484
+ var u = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", a = nn(t);
2487
2485
  for ((a == "H" || a == "k") && (o = 0); o-- > 0; )
2488
2486
  r += l;
2489
2487
  for (; u-- > 0; )
@@ -2492,7 +2490,7 @@ function nn(e, t) {
2492
2490
  }
2493
2491
  return r;
2494
2492
  }
2495
- function sn(e) {
2493
+ function nn(e) {
2496
2494
  var t = e.hourCycle;
2497
2495
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2498
2496
  e.hourCycles && // @ts-ignore
@@ -2514,20 +2512,20 @@ function sn(e) {
2514
2512
  var i = oe[n || ""] || oe[r || ""] || oe["".concat(r, "-001")] || oe["001"];
2515
2513
  return i[0];
2516
2514
  }
2517
- var Ce, on = new RegExp("^".concat(Rt.source, "*")), an = new RegExp("".concat(Rt.source, "*$"));
2515
+ var Ce, sn = new RegExp("^".concat(Mt.source, "*")), on = new RegExp("".concat(Mt.source, "*$"));
2518
2516
  function b(e, t) {
2519
2517
  return { start: e, end: t };
2520
2518
  }
2521
- var un = !!String.prototype.startsWith && "_a".startsWith("a", 1), hn = !!String.fromCodePoint, ln = !!Object.fromEntries, fn = !!String.prototype.codePointAt, cn = !!String.prototype.trimStart, mn = !!String.prototype.trimEnd, pn = !!Number.isSafeInteger, dn = pn ? Number.isSafeInteger : function(e) {
2519
+ var an = !!String.prototype.startsWith && "_a".startsWith("a", 1), un = !!String.fromCodePoint, hn = !!Object.fromEntries, ln = !!String.prototype.codePointAt, fn = !!String.prototype.trimStart, cn = !!String.prototype.trimEnd, mn = !!Number.isSafeInteger, pn = mn ? Number.isSafeInteger : function(e) {
2522
2520
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2523
2521
  }, Re = !0;
2524
2522
  try {
2525
- var bn = jt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2526
- Re = ((Ce = bn.exec("a")) === null || Ce === void 0 ? void 0 : Ce[0]) === "a";
2523
+ var dn = Gt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2524
+ Re = ((Ce = dn.exec("a")) === null || Ce === void 0 ? void 0 : Ce[0]) === "a";
2527
2525
  } catch {
2528
2526
  Re = !1;
2529
2527
  }
2530
- var it = un ? (
2528
+ var rt = an ? (
2531
2529
  // Native
2532
2530
  function(t, r, n) {
2533
2531
  return t.startsWith(r, n);
@@ -2537,7 +2535,7 @@ var it = un ? (
2537
2535
  function(t, r, n) {
2538
2536
  return t.slice(n, n + r.length) === r;
2539
2537
  }
2540
- ), Ue = hn ? String.fromCodePoint : (
2538
+ ), Ue = un ? String.fromCodePoint : (
2541
2539
  // IE11
2542
2540
  function() {
2543
2541
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2549,9 +2547,9 @@ var it = un ? (
2549
2547
  }
2550
2548
  return n;
2551
2549
  }
2552
- ), st = (
2550
+ ), nt = (
2553
2551
  // native
2554
- ln ? Object.fromEntries : (
2552
+ hn ? Object.fromEntries : (
2555
2553
  // Ponyfill
2556
2554
  function(t) {
2557
2555
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2561,7 +2559,7 @@ var it = un ? (
2561
2559
  return r;
2562
2560
  }
2563
2561
  )
2564
- ), Ft = fn ? (
2562
+ ), Dt = ln ? (
2565
2563
  // Native
2566
2564
  function(t, r) {
2567
2565
  return t.codePointAt(r);
@@ -2575,7 +2573,7 @@ var it = un ? (
2575
2573
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2576
2574
  }
2577
2575
  }
2578
- ), gn = cn ? (
2576
+ ), bn = fn ? (
2579
2577
  // Native
2580
2578
  function(t) {
2581
2579
  return t.trimStart();
@@ -2583,9 +2581,9 @@ var it = un ? (
2583
2581
  ) : (
2584
2582
  // Ponyfill
2585
2583
  function(t) {
2586
- return t.replace(on, "");
2584
+ return t.replace(sn, "");
2587
2585
  }
2588
- ), _n = mn ? (
2586
+ ), gn = cn ? (
2589
2587
  // Native
2590
2588
  function(t) {
2591
2589
  return t.trimEnd();
@@ -2593,32 +2591,32 @@ var it = un ? (
2593
2591
  ) : (
2594
2592
  // Ponyfill
2595
2593
  function(t) {
2596
- return t.replace(an, "");
2594
+ return t.replace(on, "");
2597
2595
  }
2598
2596
  );
2599
- function jt(e, t) {
2597
+ function Gt(e, t) {
2600
2598
  return new RegExp(e, t);
2601
2599
  }
2602
2600
  var De;
2603
2601
  if (Re) {
2604
- var ot = jt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2602
+ var it = Gt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2605
2603
  De = function(t, r) {
2606
2604
  var n;
2607
- ot.lastIndex = r;
2608
- var i = ot.exec(t);
2605
+ it.lastIndex = r;
2606
+ var i = it.exec(t);
2609
2607
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2610
2608
  };
2611
2609
  } else
2612
2610
  De = function(t, r) {
2613
2611
  for (var n = []; ; ) {
2614
- var i = Ft(t, r);
2615
- if (i === void 0 || kt(i) || vn(i))
2612
+ var i = Dt(t, r);
2613
+ if (i === void 0 || Ft(i) || xn(i))
2616
2614
  break;
2617
2615
  n.push(i), r += i >= 65536 ? 2 : 1;
2618
2616
  }
2619
2617
  return Ue.apply(void 0, n);
2620
2618
  };
2621
- var yn = (
2619
+ var _n = (
2622
2620
  /** @class */
2623
2621
  function() {
2624
2622
  function e(t, r) {
@@ -2700,7 +2698,7 @@ var yn = (
2700
2698
  return this.error(d.INVALID_TAG, b(n, this.clonePosition()));
2701
2699
  }, e.prototype.parseTagName = function() {
2702
2700
  var t = this.offset();
2703
- for (this.bump(); !this.isEOF() && xn(this.char()); )
2701
+ for (this.bump(); !this.isEOF() && En(this.char()); )
2704
2702
  this.bump();
2705
2703
  return this.message.slice(t, this.offset());
2706
2704
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2729,7 +2727,7 @@ var yn = (
2729
2727
  };
2730
2728
  }, e.prototype.tryParseLeftAngleBracket = function() {
2731
2729
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2732
- !En(this.peek() || 0)) ? (this.bump(), "<") : null;
2730
+ !yn(this.peek() || 0)) ? (this.bump(), "<") : null;
2733
2731
  }, e.prototype.tryParseQuote = function(t) {
2734
2732
  if (this.isEOF() || this.char() !== 39)
2735
2733
  return null;
@@ -2816,7 +2814,7 @@ var yn = (
2816
2814
  var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
2817
2815
  if (f.err)
2818
2816
  return f;
2819
- var c = _n(f.val);
2817
+ var c = gn(f.val);
2820
2818
  if (c.length === 0)
2821
2819
  return this.error(d.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
2822
2820
  var p = b(h, this.clonePosition());
@@ -2826,8 +2824,8 @@ var yn = (
2826
2824
  if (m.err)
2827
2825
  return m;
2828
2826
  var g = b(i, this.clonePosition());
2829
- if (a && it(a?.style, "::", 0)) {
2830
- var v = gn(a.style.slice(2));
2827
+ if (a && rt(a?.style, "::", 0)) {
2828
+ var v = bn(a.style.slice(2));
2831
2829
  if (o === "number") {
2832
2830
  var f = this.parseNumberSkeletonFromString(v, a.styleLocation);
2833
2831
  return f.err ? f : {
@@ -2838,12 +2836,12 @@ var yn = (
2838
2836
  if (v.length === 0)
2839
2837
  return this.error(d.EXPECT_DATE_TIME_SKELETON, g);
2840
2838
  var L = v;
2841
- this.locale && (L = nn(v, this.locale));
2839
+ this.locale && (L = rn(v, this.locale));
2842
2840
  var c = {
2843
2841
  type: k.dateTime,
2844
2842
  pattern: L,
2845
2843
  location: a.styleLocation,
2846
- parsedOptions: this.shouldParseSkeletons ? qr(L) : {}
2844
+ parsedOptions: this.shouldParseSkeletons ? Qr(L) : {}
2847
2845
  }, A = o === "date" ? E.date : E.time;
2848
2846
  return {
2849
2847
  val: { type: A, value: n, location: g, style: c },
@@ -2889,7 +2887,7 @@ var yn = (
2889
2887
  val: {
2890
2888
  type: E.select,
2891
2889
  value: n,
2892
- options: st($.val),
2890
+ options: nt($.val),
2893
2891
  location: ie
2894
2892
  },
2895
2893
  err: null
@@ -2897,7 +2895,7 @@ var yn = (
2897
2895
  val: {
2898
2896
  type: E.plural,
2899
2897
  value: n,
2900
- options: st($.val),
2898
+ options: nt($.val),
2901
2899
  offset: T,
2902
2900
  pluralType: o === "plural" ? "cardinal" : "ordinal",
2903
2901
  location: ie
@@ -2948,7 +2946,7 @@ var yn = (
2948
2946
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2949
2947
  var n = [];
2950
2948
  try {
2951
- n = Yr(t);
2949
+ n = Jr(t);
2952
2950
  } catch {
2953
2951
  return this.error(d.INVALID_NUMBER_SKELETON, r);
2954
2952
  }
@@ -2957,7 +2955,7 @@ var yn = (
2957
2955
  type: k.number,
2958
2956
  tokens: n,
2959
2957
  location: r,
2960
- parsedOptions: this.shouldParseSkeletons ? rn(n) : {}
2958
+ parsedOptions: this.shouldParseSkeletons ? tn(n) : {}
2961
2959
  },
2962
2960
  err: null
2963
2961
  };
@@ -3005,7 +3003,7 @@ var yn = (
3005
3003
  break;
3006
3004
  }
3007
3005
  var l = b(i, this.clonePosition());
3008
- return s ? (u *= n, dn(u) ? { val: u, err: null } : this.error(r, l)) : this.error(t, l);
3006
+ return s ? (u *= n, pn(u) ? { val: u, err: null } : this.error(r, l)) : this.error(t, l);
3009
3007
  }, e.prototype.offset = function() {
3010
3008
  return this.position.offset;
3011
3009
  }, e.prototype.isEOF = function() {
@@ -3020,7 +3018,7 @@ var yn = (
3020
3018
  var t = this.position.offset;
3021
3019
  if (t >= this.message.length)
3022
3020
  throw Error("out of bound");
3023
- var r = Ft(this.message, t);
3021
+ var r = Dt(this.message, t);
3024
3022
  if (r === void 0)
3025
3023
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3026
3024
  return r;
@@ -3039,7 +3037,7 @@ var yn = (
3039
3037
  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);
3040
3038
  }
3041
3039
  }, e.prototype.bumpIf = function(t) {
3042
- if (it(this.message, t, this.offset())) {
3040
+ if (rt(this.message, t, this.offset())) {
3043
3041
  for (var r = 0; r < t.length; r++)
3044
3042
  this.bump();
3045
3043
  return !0;
@@ -3061,7 +3059,7 @@ var yn = (
3061
3059
  break;
3062
3060
  }
3063
3061
  }, e.prototype.bumpSpace = function() {
3064
- for (; !this.isEOF() && kt(this.char()); )
3062
+ for (; !this.isEOF() && Ft(this.char()); )
3065
3063
  this.bump();
3066
3064
  }, e.prototype.peek = function() {
3067
3065
  if (this.isEOF())
@@ -3074,29 +3072,29 @@ var yn = (
3074
3072
  function Ge(e) {
3075
3073
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3076
3074
  }
3077
- function En(e) {
3075
+ function yn(e) {
3078
3076
  return Ge(e) || e === 47;
3079
3077
  }
3080
- function xn(e) {
3078
+ function En(e) {
3081
3079
  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;
3082
3080
  }
3083
- function kt(e) {
3081
+ function Ft(e) {
3084
3082
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3085
3083
  }
3086
- function vn(e) {
3084
+ function xn(e) {
3087
3085
  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;
3088
3086
  }
3089
3087
  function Fe(e) {
3090
3088
  e.forEach(function(t) {
3091
- if (delete t.location, Nt(t) || It(t))
3089
+ if (delete t.location, Pt(t) || Lt(t))
3092
3090
  for (var r in t.options)
3093
3091
  delete t.options[r].location, Fe(t.options[r].value);
3094
- else Ot(t) && $t(t.style) || (Pt(t) || Lt(t)) && $e(t.style) ? delete t.style.location : Mt(t) && Fe(t.children);
3092
+ else At(t) && It(t.style) || (Ct(t) || Ot(t)) && $e(t.style) ? delete t.style.location : Nt(t) && Fe(t.children);
3095
3093
  });
3096
3094
  }
3097
- function Hn(e, t) {
3095
+ function vn(e, t) {
3098
3096
  t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3099
- var r = new yn(e, t).parse();
3097
+ var r = new _n(e, t).parse();
3100
3098
  if (r.err) {
3101
3099
  var n = SyntaxError(d[r.err.kind]);
3102
3100
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
@@ -3119,7 +3117,7 @@ var _e = (
3119
3117
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3120
3118
  }, t;
3121
3119
  }(Error)
3122
- ), at = (
3120
+ ), st = (
3123
3121
  /** @class */
3124
3122
  function(e) {
3125
3123
  ge(t, e);
@@ -3128,7 +3126,7 @@ var _e = (
3128
3126
  }
3129
3127
  return t;
3130
3128
  }(_e)
3131
- ), Bn = (
3129
+ ), Hn = (
3132
3130
  /** @class */
3133
3131
  function(e) {
3134
3132
  ge(t, e);
@@ -3137,7 +3135,7 @@ var _e = (
3137
3135
  }
3138
3136
  return t;
3139
3137
  }(_e)
3140
- ), Tn = (
3138
+ ), Bn = (
3141
3139
  /** @class */
3142
3140
  function(e) {
3143
3141
  ge(t, e);
@@ -3150,17 +3148,17 @@ var _e = (
3150
3148
  (function(e) {
3151
3149
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3152
3150
  })(x || (x = {}));
3153
- function wn(e) {
3151
+ function Tn(e) {
3154
3152
  return e.length < 2 ? e : e.reduce(function(t, r) {
3155
3153
  var n = t[t.length - 1];
3156
3154
  return !n || n.type !== x.literal || r.type !== x.literal ? t.push(r) : n.value += r.value, t;
3157
3155
  }, []);
3158
3156
  }
3159
- function Sn(e) {
3157
+ function wn(e) {
3160
3158
  return typeof e == "function";
3161
3159
  }
3162
3160
  function le(e, t, r, n, i, s, u) {
3163
- if (e.length === 1 && et(e[0]))
3161
+ if (e.length === 1 && Ye(e[0]))
3164
3162
  return [
3165
3163
  {
3166
3164
  type: x.literal,
@@ -3169,14 +3167,14 @@ function le(e, t, r, n, i, s, u) {
3169
3167
  ];
3170
3168
  for (var o = [], l = 0, a = e; l < a.length; l++) {
3171
3169
  var h = a[l];
3172
- if (et(h)) {
3170
+ if (Ye(h)) {
3173
3171
  o.push({
3174
3172
  type: x.literal,
3175
3173
  value: h.value
3176
3174
  });
3177
3175
  continue;
3178
3176
  }
3179
- if (Zr(h)) {
3177
+ if (zr(h)) {
3180
3178
  typeof s == "number" && o.push({
3181
3179
  type: x.literal,
3182
3180
  value: r.getNumberFormat(t).format(s)
@@ -3185,7 +3183,7 @@ function le(e, t, r, n, i, s, u) {
3185
3183
  }
3186
3184
  var f = h.value;
3187
3185
  if (!(i && f in i))
3188
- throw new Tn(f, u);
3186
+ throw new Bn(f, u);
3189
3187
  var c = i[f];
3190
3188
  if (Wr(h)) {
3191
3189
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), o.push({
@@ -3194,7 +3192,7 @@ function le(e, t, r, n, i, s, u) {
3194
3192
  });
3195
3193
  continue;
3196
3194
  }
3197
- if (Pt(h)) {
3195
+ if (Ct(h)) {
3198
3196
  var p = typeof h.style == "string" ? n.date[h.style] : $e(h.style) ? h.style.parsedOptions : void 0;
3199
3197
  o.push({
3200
3198
  type: x.literal,
@@ -3202,7 +3200,7 @@ function le(e, t, r, n, i, s, u) {
3202
3200
  });
3203
3201
  continue;
3204
3202
  }
3205
- if (Lt(h)) {
3203
+ if (Ot(h)) {
3206
3204
  var p = typeof h.style == "string" ? n.time[h.style] : $e(h.style) ? h.style.parsedOptions : n.time.medium;
3207
3205
  o.push({
3208
3206
  type: x.literal,
@@ -3210,18 +3208,18 @@ function le(e, t, r, n, i, s, u) {
3210
3208
  });
3211
3209
  continue;
3212
3210
  }
3213
- if (Ot(h)) {
3214
- var p = typeof h.style == "string" ? n.number[h.style] : $t(h.style) ? h.style.parsedOptions : void 0;
3211
+ if (At(h)) {
3212
+ var p = typeof h.style == "string" ? n.number[h.style] : It(h.style) ? h.style.parsedOptions : void 0;
3215
3213
  p && p.scale && (c = c * (p.scale || 1)), o.push({
3216
3214
  type: x.literal,
3217
3215
  value: r.getNumberFormat(t, p).format(c)
3218
3216
  });
3219
3217
  continue;
3220
3218
  }
3221
- if (Mt(h)) {
3219
+ if (Nt(h)) {
3222
3220
  var m = h.children, g = h.value, v = i[g];
3223
- if (!Sn(v))
3224
- throw new Bn(g, "function", u);
3221
+ if (!wn(v))
3222
+ throw new Hn(g, "function", u);
3225
3223
  var L = le(m, t, r, n, i, s), A = v(L.map(function(T) {
3226
3224
  return T.value;
3227
3225
  }));
@@ -3232,14 +3230,14 @@ function le(e, t, r, n, i, s, u) {
3232
3230
  };
3233
3231
  }));
3234
3232
  }
3235
- if (Nt(h)) {
3233
+ if (Pt(h)) {
3236
3234
  var H = h.options[c] || h.options.other;
3237
3235
  if (!H)
3238
- throw new at(h.value, c, Object.keys(h.options), u);
3236
+ throw new st(h.value, c, Object.keys(h.options), u);
3239
3237
  o.push.apply(o, le(H.value, t, r, n, i));
3240
3238
  continue;
3241
3239
  }
3242
- if (It(h)) {
3240
+ if (Lt(h)) {
3243
3241
  var H = h.options["=".concat(c)];
3244
3242
  if (!H) {
3245
3243
  if (!Intl.PluralRules)
@@ -3250,21 +3248,21 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
3250
3248
  H = h.options[N] || h.options.other;
3251
3249
  }
3252
3250
  if (!H)
3253
- throw new at(h.value, c, Object.keys(h.options), u);
3251
+ throw new st(h.value, c, Object.keys(h.options), u);
3254
3252
  o.push.apply(o, le(H.value, t, r, n, i, c - (h.offset || 0)));
3255
3253
  continue;
3256
3254
  }
3257
3255
  }
3258
- return wn(o);
3256
+ return Tn(o);
3259
3257
  }
3260
- function An(e, t) {
3258
+ function Sn(e, t) {
3261
3259
  return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3262
3260
  return r[n] = y(y({}, e[n]), t[n] || {}), r;
3263
3261
  }, {})) : e;
3264
3262
  }
3265
- function Cn(e, t) {
3263
+ function An(e, t) {
3266
3264
  return t ? Object.keys(e).reduce(function(r, n) {
3267
- return r[n] = An(e[n], t[n]), r;
3265
+ return r[n] = Sn(e[n], t[n]), r;
3268
3266
  }, y({}, e)) : e;
3269
3267
  }
3270
3268
  function Oe(e) {
@@ -3281,7 +3279,7 @@ function Oe(e) {
3281
3279
  }
3282
3280
  };
3283
3281
  }
3284
- function On(e) {
3282
+ function Cn(e) {
3285
3283
  return e === void 0 && (e = {
3286
3284
  number: {},
3287
3285
  dateTime: {},
@@ -3313,7 +3311,7 @@ function On(e) {
3313
3311
  })
3314
3312
  };
3315
3313
  }
3316
- var Vt = (
3314
+ var jt = (
3317
3315
  /** @class */
3318
3316
  function() {
3319
3317
  function e(t, r, n, i) {
@@ -3345,13 +3343,13 @@ var Vt = (
3345
3343
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3346
3344
  var u = i || {};
3347
3345
  u.formatters;
3348
- var o = Gr(u, ["formatters"]);
3346
+ var o = Ur(u, ["formatters"]);
3349
3347
  this.ast = e.__parse(t, y(y({}, o), { locale: this.resolvedLocale }));
3350
3348
  } else
3351
3349
  this.ast = t;
3352
3350
  if (!Array.isArray(this.ast))
3353
3351
  throw new TypeError("A message must be provided as a String or AST.");
3354
- this.formats = Cn(e.formats, n), this.formatters = i && i.formatters || On(this.formatterCache);
3352
+ this.formats = An(e.formats, n), this.formatters = i && i.formatters || Cn(this.formatterCache);
3355
3353
  }
3356
3354
  return Object.defineProperty(e, "defaultLocale", {
3357
3355
  get: function() {
@@ -3364,7 +3362,7 @@ var Vt = (
3364
3362
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3365
3363
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3366
3364
  }
3367
- }, e.__parse = Hn, e.formats = {
3365
+ }, e.__parse = vn, e.formats = {
3368
3366
  number: {
3369
3367
  integer: {
3370
3368
  maximumFractionDigits: 0
@@ -3425,7 +3423,7 @@ var Vt = (
3425
3423
  }, e;
3426
3424
  }()
3427
3425
  );
3428
- function Pn(e, t) {
3426
+ function On(e, t) {
3429
3427
  if (t == null)
3430
3428
  return;
3431
3429
  if (t in e)
@@ -3446,60 +3444,60 @@ function Pn(e, t) {
3446
3444
  n = void 0;
3447
3445
  return n;
3448
3446
  }
3449
- const C = {}, Ln = (e, t, r) => r && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = r), r), Xt = (e, t) => {
3447
+ const C = {}, Pn = (e, t, r) => r && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = r), r), kt = (e, t) => {
3450
3448
  if (t == null)
3451
3449
  return;
3452
3450
  if (t in C && e in C[t])
3453
3451
  return C[t][e];
3454
3452
  const r = ne(t);
3455
3453
  for (let n = 0; n < r.length; n++) {
3456
- const i = r[n], s = In(i, e);
3454
+ const i = r[n], s = Nn(i, e);
3457
3455
  if (s)
3458
- return Ln(e, t, s);
3456
+ return Pn(e, t, s);
3459
3457
  }
3460
3458
  };
3461
- let Ze;
3459
+ let We;
3462
3460
  const re = be({});
3463
- function Nn(e) {
3464
- return Ze[e] || null;
3461
+ function Ln(e) {
3462
+ return We[e] || null;
3465
3463
  }
3466
- function zt(e) {
3467
- return e in Ze;
3464
+ function Vt(e) {
3465
+ return e in We;
3468
3466
  }
3469
- function In(e, t) {
3470
- if (!zt(e))
3467
+ function Nn(e, t) {
3468
+ if (!Vt(e))
3471
3469
  return null;
3472
- const r = Nn(e);
3473
- return Pn(r, t);
3470
+ const r = Ln(e);
3471
+ return On(r, t);
3474
3472
  }
3475
- function Mn(e) {
3473
+ function In(e) {
3476
3474
  if (e == null)
3477
3475
  return;
3478
3476
  const t = ne(e);
3479
3477
  for (let r = 0; r < t.length; r++) {
3480
3478
  const n = t[r];
3481
- if (zt(n))
3479
+ if (Vt(n))
3482
3480
  return n;
3483
3481
  }
3484
3482
  }
3485
- function Wt(e, ...t) {
3486
- delete C[e], re.update((r) => (r[e] = Dr.all([r[e] || {}, ...t]), r));
3483
+ function Xt(e, ...t) {
3484
+ delete C[e], re.update((r) => (r[e] = Rr.all([r[e] || {}, ...t]), r));
3487
3485
  }
3488
3486
  Z(
3489
3487
  [re],
3490
3488
  ([e]) => Object.keys(e)
3491
3489
  );
3492
- re.subscribe((e) => Ze = e);
3490
+ re.subscribe((e) => We = e);
3493
3491
  const fe = {};
3494
- function $n(e, t) {
3492
+ function Mn(e, t) {
3495
3493
  fe[e].delete(t), fe[e].size === 0 && delete fe[e];
3496
3494
  }
3497
- function Zt(e) {
3495
+ function Wt(e) {
3498
3496
  return fe[e];
3499
3497
  }
3500
- function Rn(e) {
3498
+ function $n(e) {
3501
3499
  return ne(e).map((t) => {
3502
- const r = Zt(t);
3500
+ const r = Wt(t);
3503
3501
  return [t, r ? [...r] : []];
3504
3502
  }).filter(([, t]) => t.length > 0);
3505
3503
  }
@@ -3507,40 +3505,40 @@ function me(e) {
3507
3505
  return e == null ? !1 : ne(e).some(
3508
3506
  (t) => {
3509
3507
  var r;
3510
- return (r = Zt(t)) == null ? void 0 : r.size;
3508
+ return (r = Wt(t)) == null ? void 0 : r.size;
3511
3509
  }
3512
3510
  );
3513
3511
  }
3514
- function Un(e, t) {
3512
+ function Rn(e, t) {
3515
3513
  return Promise.all(
3516
- t.map((n) => ($n(e, n), n().then((i) => i.default || i)))
3517
- ).then((n) => Wt(e, ...n));
3514
+ t.map((n) => (Mn(e, n), n().then((i) => i.default || i)))
3515
+ ).then((n) => Xt(e, ...n));
3518
3516
  }
3519
3517
  const q = {};
3520
- function Qt(e) {
3518
+ function zt(e) {
3521
3519
  if (!me(e))
3522
3520
  return e in q ? q[e] : Promise.resolve();
3523
- const t = Rn(e);
3521
+ const t = $n(e);
3524
3522
  return q[e] = Promise.all(
3525
3523
  t.map(
3526
- ([r, n]) => Un(r, n)
3524
+ ([r, n]) => Rn(r, n)
3527
3525
  )
3528
3526
  ).then(() => {
3529
3527
  if (me(e))
3530
- return Qt(e);
3528
+ return zt(e);
3531
3529
  delete q[e];
3532
3530
  }), q[e];
3533
3531
  }
3534
- var ut = Object.getOwnPropertySymbols, Dn = Object.prototype.hasOwnProperty, Gn = Object.prototype.propertyIsEnumerable, Fn = (e, t) => {
3532
+ var ot = Object.getOwnPropertySymbols, Un = Object.prototype.hasOwnProperty, Dn = Object.prototype.propertyIsEnumerable, Gn = (e, t) => {
3535
3533
  var r = {};
3536
3534
  for (var n in e)
3537
- Dn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3538
- if (e != null && ut)
3539
- for (var n of ut(e))
3540
- t.indexOf(n) < 0 && Gn.call(e, n) && (r[n] = e[n]);
3535
+ Un.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3536
+ if (e != null && ot)
3537
+ for (var n of ot(e))
3538
+ t.indexOf(n) < 0 && Dn.call(e, n) && (r[n] = e[n]);
3541
3539
  return r;
3542
3540
  };
3543
- const jn = {
3541
+ const Fn = {
3544
3542
  number: {
3545
3543
  scientific: { notation: "scientific" },
3546
3544
  engineering: { notation: "engineering" },
@@ -3570,7 +3568,7 @@ const jn = {
3570
3568
  }
3571
3569
  }
3572
3570
  };
3573
- function kn({ locale: e, id: t }) {
3571
+ function jn({ locale: e, id: t }) {
3574
3572
  console.warn(
3575
3573
  `[svelte-i18n] The message "${t}" was not found in "${ne(
3576
3574
  e
@@ -3579,49 +3577,49 @@ function kn({ locale: e, id: t }) {
3579
3577
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3580
3578
  );
3581
3579
  }
3582
- const Vn = {
3580
+ const kn = {
3583
3581
  fallbackLocale: null,
3584
3582
  loadingDelay: 200,
3585
- formats: jn,
3583
+ formats: Fn,
3586
3584
  warnOnMissingMessages: !0,
3587
3585
  handleMissingMessage: void 0,
3588
3586
  ignoreTag: !0
3589
- }, J = Vn;
3587
+ }, J = kn;
3590
3588
  function X() {
3591
3589
  return J;
3592
3590
  }
3593
- function Xn(e) {
3594
- const t = e, { formats: r } = t, n = Fn(t, ["formats"]);
3591
+ function Vn(e) {
3592
+ const t = e, { formats: r } = t, n = Gn(t, ["formats"]);
3595
3593
  let i = e.fallbackLocale;
3596
3594
  if (e.initialLocale)
3597
3595
  try {
3598
- Vt.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3596
+ jt.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3599
3597
  } catch {
3600
3598
  console.warn(
3601
3599
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
3602
3600
  );
3603
3601
  }
3604
- return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = kn : console.warn(
3602
+ return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = jn : console.warn(
3605
3603
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3606
3604
  )), 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);
3607
3605
  }
3608
3606
  const Pe = be(!1);
3609
- var zn = Object.defineProperty, Wn = Object.defineProperties, Zn = Object.getOwnPropertyDescriptors, ht = Object.getOwnPropertySymbols, Qn = Object.prototype.hasOwnProperty, qn = Object.prototype.propertyIsEnumerable, lt = (e, t, r) => t in e ? zn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Jn = (e, t) => {
3607
+ var Xn = Object.defineProperty, Wn = Object.defineProperties, zn = Object.getOwnPropertyDescriptors, at = Object.getOwnPropertySymbols, Zn = Object.prototype.hasOwnProperty, Qn = Object.prototype.propertyIsEnumerable, ut = (e, t, r) => t in e ? Xn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, qn = (e, t) => {
3610
3608
  for (var r in t || (t = {}))
3611
- Qn.call(t, r) && lt(e, r, t[r]);
3612
- if (ht)
3613
- for (var r of ht(t))
3614
- qn.call(t, r) && lt(e, r, t[r]);
3609
+ Zn.call(t, r) && ut(e, r, t[r]);
3610
+ if (at)
3611
+ for (var r of at(t))
3612
+ Qn.call(t, r) && ut(e, r, t[r]);
3615
3613
  return e;
3616
- }, Yn = (e, t) => Wn(e, Zn(t));
3614
+ }, Jn = (e, t) => Wn(e, zn(t));
3617
3615
  let je;
3618
3616
  const pe = be(null);
3619
- function ft(e) {
3617
+ function ht(e) {
3620
3618
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3621
3619
  }
3622
3620
  function ne(e, t = X().fallbackLocale) {
3623
- const r = ft(e);
3624
- return t ? [.../* @__PURE__ */ new Set([...r, ...ft(t)])] : r;
3621
+ const r = ht(e);
3622
+ return t ? [.../* @__PURE__ */ new Set([...r, ...ht(t)])] : r;
3625
3623
  }
3626
3624
  function P() {
3627
3625
  return je ?? void 0;
@@ -3629,22 +3627,22 @@ function P() {
3629
3627
  pe.subscribe((e) => {
3630
3628
  je = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3631
3629
  });
3632
- const Kn = (e) => {
3633
- if (e && Mn(e) && me(e)) {
3630
+ const Yn = (e) => {
3631
+ if (e && In(e) && me(e)) {
3634
3632
  const { loadingDelay: t } = X();
3635
3633
  let r;
3636
3634
  return typeof window < "u" && P() != null && t ? r = window.setTimeout(
3637
3635
  () => Pe.set(!0),
3638
3636
  t
3639
- ) : Pe.set(!0), Qt(e).then(() => {
3637
+ ) : Pe.set(!0), zt(e).then(() => {
3640
3638
  pe.set(e);
3641
3639
  }).finally(() => {
3642
3640
  clearTimeout(r), Pe.set(!1);
3643
3641
  });
3644
3642
  }
3645
3643
  return pe.set(e);
3646
- }, M = Yn(Jn({}, pe), {
3647
- set: Kn
3644
+ }, M = Jn(qn({}, pe), {
3645
+ set: Yn
3648
3646
  }), ye = (e) => {
3649
3647
  const t = /* @__PURE__ */ Object.create(null);
3650
3648
  return (n) => {
@@ -3652,20 +3650,20 @@ const Kn = (e) => {
3652
3650
  return i in t ? t[i] : t[i] = e(n);
3653
3651
  };
3654
3652
  };
3655
- var ei = Object.defineProperty, de = Object.getOwnPropertySymbols, qt = Object.prototype.hasOwnProperty, Jt = Object.prototype.propertyIsEnumerable, ct = (e, t, r) => t in e ? ei(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Qe = (e, t) => {
3653
+ var Kn = Object.defineProperty, de = Object.getOwnPropertySymbols, Zt = Object.prototype.hasOwnProperty, Qt = Object.prototype.propertyIsEnumerable, lt = (e, t, r) => t in e ? Kn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ze = (e, t) => {
3656
3654
  for (var r in t || (t = {}))
3657
- qt.call(t, r) && ct(e, r, t[r]);
3655
+ Zt.call(t, r) && lt(e, r, t[r]);
3658
3656
  if (de)
3659
3657
  for (var r of de(t))
3660
- Jt.call(t, r) && ct(e, r, t[r]);
3658
+ Qt.call(t, r) && lt(e, r, t[r]);
3661
3659
  return e;
3662
3660
  }, Q = (e, t) => {
3663
3661
  var r = {};
3664
3662
  for (var n in e)
3665
- qt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3663
+ Zt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3666
3664
  if (e != null && de)
3667
3665
  for (var n of de(e))
3668
- t.indexOf(n) < 0 && Jt.call(e, n) && (r[n] = e[n]);
3666
+ t.indexOf(n) < 0 && Qt.call(e, n) && (r[n] = e[n]);
3669
3667
  return r;
3670
3668
  };
3671
3669
  const ee = (e, t) => {
@@ -3673,21 +3671,21 @@ const ee = (e, t) => {
3673
3671
  if (e in r && t in r[e])
3674
3672
  return r[e][t];
3675
3673
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3676
- }, ti = ye(
3674
+ }, ei = ye(
3677
3675
  (e) => {
3678
3676
  var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
3679
3677
  if (r == null)
3680
3678
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3681
3679
  return n && (i = ee("number", n)), new Intl.NumberFormat(r, i);
3682
3680
  }
3683
- ), ri = ye(
3681
+ ), ti = ye(
3684
3682
  (e) => {
3685
3683
  var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
3686
3684
  if (r == null)
3687
3685
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3688
3686
  return n ? i = ee("date", n) : Object.keys(i).length === 0 && (i = ee("date", "short")), new Intl.DateTimeFormat(r, i);
3689
3687
  }
3690
- ), ni = ye(
3688
+ ), ri = ye(
3691
3689
  (e) => {
3692
3690
  var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
3693
3691
  if (r == null)
@@ -3696,33 +3694,33 @@ const ee = (e, t) => {
3696
3694
  );
3697
3695
  return n ? i = ee("time", n) : Object.keys(i).length === 0 && (i = ee("time", "short")), new Intl.DateTimeFormat(r, i);
3698
3696
  }
3699
- ), ii = (e = {}) => {
3697
+ ), ni = (e = {}) => {
3700
3698
  var t = e, {
3701
3699
  locale: r = P()
3702
3700
  } = t, n = Q(t, [
3703
3701
  "locale"
3704
3702
  ]);
3705
- return ti(Qe({ locale: r }, n));
3706
- }, si = (e = {}) => {
3703
+ return ei(ze({ locale: r }, n));
3704
+ }, ii = (e = {}) => {
3707
3705
  var t = e, {
3708
3706
  locale: r = P()
3709
3707
  } = t, n = Q(t, [
3710
3708
  "locale"
3711
3709
  ]);
3712
- return ri(Qe({ locale: r }, n));
3713
- }, oi = (e = {}) => {
3710
+ return ti(ze({ locale: r }, n));
3711
+ }, si = (e = {}) => {
3714
3712
  var t = e, {
3715
3713
  locale: r = P()
3716
3714
  } = t, n = Q(t, [
3717
3715
  "locale"
3718
3716
  ]);
3719
- return ni(Qe({ locale: r }, n));
3720
- }, ai = ye(
3717
+ return ri(ze({ locale: r }, n));
3718
+ }, oi = ye(
3721
3719
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3722
- (e, t = P()) => new Vt(e, t, X().formats, {
3720
+ (e, t = P()) => new jt(e, t, X().formats, {
3723
3721
  ignoreTag: X().ignoreTag
3724
3722
  })
3725
- ), ui = (e, t = {}) => {
3723
+ ), ai = (e, t = {}) => {
3726
3724
  var r, n, i, s;
3727
3725
  let u = t;
3728
3726
  typeof e == "object" && (u = e, e = u.id);
@@ -3735,7 +3733,7 @@ const ee = (e, t) => {
3735
3733
  throw new Error(
3736
3734
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3737
3735
  );
3738
- let h = Xt(e, l);
3736
+ let h = kt(e, l);
3739
3737
  if (!h)
3740
3738
  h = (s = (i = (n = (r = X()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: a })) != null ? i : a) != null ? s : e;
3741
3739
  else if (typeof h != "string")
@@ -3746,7 +3744,7 @@ const ee = (e, t) => {
3746
3744
  return h;
3747
3745
  let f = h;
3748
3746
  try {
3749
- f = ai(h, l).format(o);
3747
+ f = oi(h, l).format(o);
3750
3748
  } catch (c) {
3751
3749
  c instanceof Error && console.warn(
3752
3750
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3754,20 +3752,20 @@ const ee = (e, t) => {
3754
3752
  );
3755
3753
  }
3756
3754
  return f;
3757
- }, hi = (e, t) => oi(t).format(e), li = (e, t) => si(t).format(e), fi = (e, t) => ii(t).format(e), ci = (e, t = P()) => Xt(e, t), mi = Z([M, re], () => ui);
3755
+ }, ui = (e, t) => si(t).format(e), hi = (e, t) => ii(t).format(e), li = (e, t) => ni(t).format(e), fi = (e, t = P()) => kt(e, t), ci = Z([M, re], () => ai);
3756
+ Z([M], () => ui);
3758
3757
  Z([M], () => hi);
3759
3758
  Z([M], () => li);
3760
- Z([M], () => fi);
3761
- Z([M, re], () => ci);
3762
- function mt(e, t) {
3763
- Wt(e, t);
3759
+ Z([M, re], () => fi);
3760
+ function ft(e, t) {
3761
+ Xt(e, t);
3764
3762
  }
3765
- function pi(e) {
3766
- Xn({
3763
+ function mi(e) {
3764
+ Vn({
3767
3765
  fallbackLocale: "en"
3768
3766
  }), M.set(e);
3769
3767
  }
3770
- const pt = {
3768
+ const ct = {
3771
3769
  en: {
3772
3770
  header: {
3773
3771
  general: "Cashier",
@@ -3790,18 +3788,18 @@ const pt = {
3790
3788
  }
3791
3789
  }
3792
3790
  };
3793
- function di(e) {
3794
- sr(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}");
3791
+ function pi(e) {
3792
+ 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}");
3795
3793
  }
3796
- const bi = (e) => ({}), dt = (e) => ({}), gi = (e) => ({}), bt = (e) => ({}), _i = (e) => ({}), gt = (e) => ({});
3797
- function _t(e) {
3794
+ const di = (e) => ({}), mt = (e) => ({}), bi = (e) => ({}), pt = (e) => ({}), gi = (e) => ({}), dt = (e) => ({});
3795
+ function bt(e) {
3798
3796
  let t, r, n;
3799
3797
  return {
3800
3798
  c() {
3801
- 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>', W(t, "class", "CashierHeaderLeftButton");
3799
+ 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>', z(t, "class", "CashierHeaderLeftButton");
3802
3800
  },
3803
3801
  m(i, s) {
3804
- I(i, t, s), r || (n = Tt(
3802
+ I(i, t, s), r || (n = Ht(
3805
3803
  t,
3806
3804
  "click",
3807
3805
  /*back*/
@@ -3814,28 +3812,28 @@ function _t(e) {
3814
3812
  }
3815
3813
  };
3816
3814
  }
3817
- function yi(e) {
3815
+ function _i(e) {
3818
3816
  let t, r = (
3819
3817
  /*backButton*/
3820
- e[1] && _t(e)
3818
+ e[1] && bt(e)
3821
3819
  );
3822
3820
  return {
3823
3821
  c() {
3824
- r && r.c(), t = Bt();
3822
+ r && r.c(), t = vt();
3825
3823
  },
3826
3824
  m(n, i) {
3827
3825
  r && r.m(n, i), I(n, t, i);
3828
3826
  },
3829
3827
  p(n, i) {
3830
3828
  /*backButton*/
3831
- n[1] ? r ? r.p(n, i) : (r = _t(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3829
+ n[1] ? r ? r.p(n, i) : (r = bt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3832
3830
  },
3833
3831
  d(n) {
3834
3832
  n && O(t), r && r.d(n);
3835
3833
  }
3836
3834
  };
3837
3835
  }
3838
- function Ei(e) {
3836
+ function yi(e) {
3839
3837
  let t, r = (
3840
3838
  /*$_*/
3841
3839
  e[4](
@@ -3845,7 +3843,7 @@ function Ei(e) {
3845
3843
  ), n;
3846
3844
  return {
3847
3845
  c() {
3848
- t = z("span"), n = Ve(r), W(t, "class", "CashierHeaderTitle");
3846
+ t = W("span"), n = Ve(r), z(t, "class", "CashierHeaderTitle");
3849
3847
  },
3850
3848
  m(i, s) {
3851
3849
  I(i, t, s), ce(t, n);
@@ -3856,21 +3854,21 @@ function Ei(e) {
3856
3854
  i[4](
3857
3855
  /*titleText*/
3858
3856
  i[2]
3859
- ) + "") && hr(n, r);
3857
+ ) + "") && ar(n, r);
3860
3858
  },
3861
3859
  d(i) {
3862
3860
  i && O(t);
3863
3861
  }
3864
3862
  };
3865
3863
  }
3866
- function yt(e) {
3864
+ function gt(e) {
3867
3865
  let t, r, n;
3868
3866
  return {
3869
3867
  c() {
3870
- 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>', W(t, "class", "CashierHeaderRightButton");
3868
+ 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>', z(t, "class", "CashierHeaderRightButton");
3871
3869
  },
3872
3870
  m(i, s) {
3873
- I(i, t, s), r || (n = Tt(
3871
+ I(i, t, s), r || (n = Ht(
3874
3872
  t,
3875
3873
  "click",
3876
3874
  /*close*/
@@ -3883,28 +3881,28 @@ function yt(e) {
3883
3881
  }
3884
3882
  };
3885
3883
  }
3886
- function xi(e) {
3884
+ function Ei(e) {
3887
3885
  let t, r = (
3888
3886
  /*closeButton*/
3889
- e[3] && yt(e)
3887
+ e[3] && gt(e)
3890
3888
  );
3891
3889
  return {
3892
3890
  c() {
3893
- r && r.c(), t = Bt();
3891
+ r && r.c(), t = vt();
3894
3892
  },
3895
3893
  m(n, i) {
3896
3894
  r && r.m(n, i), I(n, t, i);
3897
3895
  },
3898
3896
  p(n, i) {
3899
3897
  /*closeButton*/
3900
- n[3] ? r ? r.p(n, i) : (r = yt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3898
+ n[3] ? r ? r.p(n, i) : (r = gt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3901
3899
  },
3902
3900
  d(n) {
3903
3901
  n && O(t), r && r.d(n);
3904
3902
  }
3905
3903
  };
3906
3904
  }
3907
- function vi(e) {
3905
+ function xi(e) {
3908
3906
  let t, r, n, i;
3909
3907
  const s = (
3910
3908
  /*#slots*/
@@ -3914,8 +3912,8 @@ function vi(e) {
3914
3912
  e,
3915
3913
  /*$$scope*/
3916
3914
  e[14],
3917
- gt
3918
- ), o = u || yi(e), l = (
3915
+ dt
3916
+ ), o = u || _i(e), l = (
3919
3917
  /*#slots*/
3920
3918
  e[15].title
3921
3919
  ), a = Ee(
@@ -3923,8 +3921,8 @@ function vi(e) {
3923
3921
  e,
3924
3922
  /*$$scope*/
3925
3923
  e[14],
3926
- bt
3927
- ), h = a || Ei(e), f = (
3924
+ pt
3925
+ ), h = a || yi(e), f = (
3928
3926
  /*#slots*/
3929
3927
  e[15].rightButton
3930
3928
  ), c = Ee(
@@ -3932,11 +3930,11 @@ function vi(e) {
3932
3930
  e,
3933
3931
  /*$$scope*/
3934
3932
  e[14],
3935
- dt
3936
- ), p = c || xi(e);
3933
+ mt
3934
+ ), p = c || Ei(e);
3937
3935
  return {
3938
3936
  c() {
3939
- t = z("div"), o && o.c(), r = Je(), h && h.c(), n = Je(), p && p.c(), W(t, "class", "CashierHeader");
3937
+ t = W("div"), o && o.c(), r = Qe(), h && h.c(), n = Qe(), p && p.c(), z(t, "class", "CashierHeader");
3940
3938
  },
3941
3939
  m(m, g) {
3942
3940
  I(m, t, g), o && o.m(t, null), ce(t, r), h && h.m(t, null), ce(t, n), p && p.m(t, null), e[16](t), i = !0;
@@ -3954,12 +3952,12 @@ function vi(e) {
3954
3952
  /*$$scope*/
3955
3953
  m[14],
3956
3954
  g,
3957
- _i
3955
+ gi
3958
3956
  ) : He(
3959
3957
  /*$$scope*/
3960
3958
  m[14]
3961
3959
  ),
3962
- gt
3960
+ dt
3963
3961
  ) : o && o.p && (!i || g & /*backButton*/
3964
3962
  2) && o.p(m, i ? g : -1), a ? a.p && (!i || g & /*$$scope*/
3965
3963
  16384) && ve(
@@ -3973,12 +3971,12 @@ function vi(e) {
3973
3971
  /*$$scope*/
3974
3972
  m[14],
3975
3973
  g,
3976
- gi
3974
+ bi
3977
3975
  ) : He(
3978
3976
  /*$$scope*/
3979
3977
  m[14]
3980
3978
  ),
3981
- bt
3979
+ pt
3982
3980
  ) : h && h.p && (!i || g & /*$_, titleText*/
3983
3981
  20) && h.p(m, i ? g : -1), c ? c.p && (!i || g & /*$$scope*/
3984
3982
  16384) && ve(
@@ -3992,12 +3990,12 @@ function vi(e) {
3992
3990
  /*$$scope*/
3993
3991
  m[14],
3994
3992
  g,
3995
- bi
3993
+ di
3996
3994
  ) : He(
3997
3995
  /*$$scope*/
3998
3996
  m[14]
3999
3997
  ),
4000
- dt
3998
+ mt
4001
3999
  ) : p && p.p && (!i || g & /*closeButton*/
4002
4000
  8) && p.p(m, i ? g : -1);
4003
4001
  },
@@ -4012,22 +4010,22 @@ function vi(e) {
4012
4010
  }
4013
4011
  };
4014
4012
  }
4015
- function Hi(e, t, r) {
4013
+ function vi(e, t, r) {
4016
4014
  let n;
4017
- ir(e, mi, (_) => r(4, n = _));
4015
+ rr(e, ci, (_) => r(4, n = _));
4018
4016
  let { $$slots: i = {}, $$scope: s } = t, { clientstyling: u = "" } = t, { clientstylingurl: o = "" } = t, { translationurl: l = "" } = t, { showbackbutton: a = "" } = t, { title: h = "header.general" } = t, { lang: f = "en" } = t, { showclosebutton: c = "" } = t, p, m = !1, g, v = !1;
4019
4017
  const L = () => {
4020
4018
  let _ = l;
4021
4019
  _ && fetch(_).then((w) => w.json()).then((w) => {
4022
4020
  Object.keys(w).forEach((R) => {
4023
- mt(R, w[R]);
4021
+ ft(R, w[R]);
4024
4022
  });
4025
4023
  }).catch((w) => {
4026
4024
  console.log(w);
4027
4025
  });
4028
4026
  };
4029
- Object.keys(pt).forEach((_) => {
4030
- mt(_, pt[_]);
4027
+ Object.keys(ct).forEach((_) => {
4028
+ ft(_, ct[_]);
4031
4029
  });
4032
4030
  const A = () => {
4033
4031
  let _ = document.createElement("style");
@@ -4043,19 +4041,19 @@ function Hi(e, t, r) {
4043
4041
  );
4044
4042
  });
4045
4043
  }, N = () => {
4046
- pi(f);
4044
+ mi(f);
4047
4045
  }, T = () => {
4048
4046
  window.postMessage({ type: "CloseCashier" }, window.location.href);
4049
4047
  }, $ = () => {
4050
4048
  window.postMessage({ type: "BackCashier" }, window.location.href);
4051
4049
  }, ie = () => {
4052
4050
  r(1, m = !!a && a !== "false");
4053
- }, Kt = () => {
4051
+ }, Jt = () => {
4054
4052
  r(3, v = !!c && c !== "false");
4055
- }, er = () => {
4053
+ }, Yt = () => {
4056
4054
  r(2, g = h || "header.general");
4057
4055
  };
4058
- function tr(_) {
4056
+ function Kt(_) {
4059
4057
  Le[_ ? "unshift" : "push"](() => {
4060
4058
  p = _, r(0, p);
4061
4059
  });
@@ -4065,12 +4063,12 @@ function Hi(e, t, r) {
4065
4063
  }, e.$$.update = () => {
4066
4064
  e.$$.dirty & /*lang*/
4067
4065
  4096 && f && N(), e.$$.dirty & /*lang, title*/
4068
- 6144 && f && h && er(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4066
+ 6144 && f && h && Yt(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4069
4067
  129 && u && p && A(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4070
4068
  257 && o && p && H(), e.$$.dirty & /*lang, translationurl*/
4071
4069
  4608 && f && l && L(), e.$$.dirty & /*showbackbutton*/
4072
4070
  1024 && a && ie(), e.$$.dirty & /*showclosebutton*/
4073
- 8192 && c && Kt();
4071
+ 8192 && c && Jt();
4074
4072
  }, [
4075
4073
  p,
4076
4074
  m,
@@ -4088,17 +4086,17 @@ function Hi(e, t, r) {
4088
4086
  c,
4089
4087
  s,
4090
4088
  i,
4091
- tr
4089
+ Kt
4092
4090
  ];
4093
4091
  }
4094
- class Yt extends xr {
4092
+ class qt extends yr {
4095
4093
  constructor(t) {
4096
- super(), yr(
4094
+ super(), gr(
4097
4095
  this,
4098
4096
  t,
4099
- Hi,
4100
4097
  vi,
4101
- xt,
4098
+ xi,
4099
+ yt,
4102
4100
  {
4103
4101
  clientstyling: 7,
4104
4102
  clientstylingurl: 8,
@@ -4108,7 +4106,7 @@ class Yt extends xr {
4108
4106
  lang: 12,
4109
4107
  showclosebutton: 13
4110
4108
  },
4111
- di
4109
+ pi
4112
4110
  );
4113
4111
  }
4114
4112
  get clientstyling() {
@@ -4154,31 +4152,31 @@ class Yt extends xr {
4154
4152
  this.$$set({ showclosebutton: t }), S();
4155
4153
  }
4156
4154
  }
4157
- Er(Yt, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {} }, ["leftButton", "title", "rightButton"], [], !0);
4158
- const wi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4155
+ _r(qt, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {} }, ["leftButton", "title", "rightButton"], [], !0);
4156
+ const Ti = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4159
4157
  __proto__: null,
4160
- default: Yt
4158
+ default: qt
4161
4159
  }, Symbol.toStringTag, { value: "Module" }));
4162
4160
  export {
4163
4161
  M as $,
4164
- wi as C,
4165
- xr as S,
4166
- Wt as a,
4167
- yr as b,
4168
- Er as c,
4169
- sr as d,
4170
- z as e,
4162
+ Ti as C,
4163
+ yr as S,
4164
+ Xt as a,
4165
+ gr as b,
4166
+ _r as c,
4167
+ nr as d,
4168
+ O as e,
4171
4169
  S as f,
4172
- Je as g,
4173
- Ti as h,
4174
- Xn as i,
4175
- Bi as j,
4176
- W as k,
4177
- I as l,
4178
- ce as m,
4179
- Tt as n,
4180
- B as o,
4181
- O as p,
4170
+ Bi as g,
4171
+ Hi as h,
4172
+ Vn as i,
4173
+ z as j,
4174
+ I as k,
4175
+ ce as l,
4176
+ Ht as m,
4177
+ B as n,
4178
+ W as o,
4179
+ Qe as p,
4182
4180
  Le as q,
4183
- xt as s
4181
+ yt as s
4184
4182
  };