@everymatrix/cashier-iframe-redirect 1.72.2 → 1.73.1

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.
@@ -14,18 +14,18 @@ function Et(e) {
14
14
  function qe() {
15
15
  return /* @__PURE__ */ Object.create(null);
16
16
  }
17
- function re(e) {
17
+ function ne(e) {
18
18
  e.forEach(Et);
19
19
  }
20
- function Xe(e) {
20
+ function ze(e) {
21
21
  return typeof e == "function";
22
22
  }
23
23
  function xt(e, t) {
24
24
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
25
25
  }
26
- let oe;
27
- function Ti(e, t) {
28
- return e === t ? !0 : (oe || (oe = document.createElement("a")), oe.href = t, e === oe.href);
26
+ let ae;
27
+ function wi(e, t) {
28
+ return e === t ? !0 : (ae || (ae = document.createElement("a")), ae.href = t, e === ae.href);
29
29
  }
30
30
  function nr(e) {
31
31
  return Object.keys(e).length === 0;
@@ -42,7 +42,7 @@ function vt(e, ...t) {
42
42
  function ir(e, t, r) {
43
43
  e.$$.on_destroy.push(vt(t, r));
44
44
  }
45
- function ve(e, t, r, n) {
45
+ function He(e, t, r, n) {
46
46
  if (e) {
47
47
  const i = Ht(e, t, r, n);
48
48
  return e[0](i);
@@ -51,7 +51,7 @@ function ve(e, t, r, n) {
51
51
  function Ht(e, t, r, n) {
52
52
  return e[1] && n ? rr(r.ctx.slice(), e[1](n(t))) : r.ctx;
53
53
  }
54
- function He(e, t, r, n) {
54
+ function Be(e, t, r, n) {
55
55
  if (e[2] && n) {
56
56
  const i = e[2](n(r));
57
57
  if (t.dirty === void 0)
@@ -66,13 +66,13 @@ function He(e, t, r, n) {
66
66
  }
67
67
  return t.dirty;
68
68
  }
69
- function Be(e, t, r, n, i, s) {
69
+ function Te(e, t, r, n, i, s) {
70
70
  if (i) {
71
71
  const u = Ht(t, r, n, s);
72
72
  e.p(u, i);
73
73
  }
74
74
  }
75
- function Te(e) {
75
+ function we(e) {
76
76
  if (e.ctx.length > 32) {
77
77
  const t = [], r = e.ctx.length / 32;
78
78
  for (let n = 0; n < r; n++)
@@ -81,13 +81,13 @@ function Te(e) {
81
81
  }
82
82
  return -1;
83
83
  }
84
- function me(e, t) {
84
+ function pe(e, t) {
85
85
  e.appendChild(t);
86
86
  }
87
87
  function sr(e, t, r) {
88
88
  const n = or(e);
89
89
  if (!n.getElementById(t)) {
90
- const i = z("style");
90
+ const i = W("style");
91
91
  i.id = t, i.textContent = r, ar(n, i);
92
92
  }
93
93
  }
@@ -102,7 +102,7 @@ function or(e) {
102
102
  ) : e.ownerDocument;
103
103
  }
104
104
  function ar(e, t) {
105
- return me(
105
+ return pe(
106
106
  /** @type {Document} */
107
107
  e.head || e,
108
108
  t
@@ -114,7 +114,7 @@ function M(e, t, r) {
114
114
  function P(e) {
115
115
  e.parentNode && e.parentNode.removeChild(e);
116
116
  }
117
- function z(e) {
117
+ function W(e) {
118
118
  return document.createElement(e);
119
119
  }
120
120
  function We(e) {
@@ -132,7 +132,7 @@ function Tt(e, t, r, n) {
132
132
  function Z(e, t, r) {
133
133
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
134
134
  }
135
- function wi(e, t, r) {
135
+ function Si(e, t, r) {
136
136
  const n = t.toLowerCase();
137
137
  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);
138
138
  }
@@ -152,88 +152,96 @@ function lr(e) {
152
152
  }
153
153
  ), t;
154
154
  }
155
- let ze;
155
+ let ee;
156
156
  function K(e) {
157
- ze = e;
157
+ ee = e;
158
+ }
159
+ function fr() {
160
+ if (!ee)
161
+ throw new Error("Function called outside component initialization");
162
+ return ee;
163
+ }
164
+ function Ai(e) {
165
+ fr().$$.on_mount.push(e);
158
166
  }
159
- const F = [], Ie = [];
167
+ const F = [], Me = [];
160
168
  let j = [];
161
- const Ye = [], fr = /* @__PURE__ */ Promise.resolve();
162
- let Me = !1;
163
- function cr() {
164
- Me || (Me = !0, fr.then(A));
169
+ const Ye = [], cr = /* @__PURE__ */ Promise.resolve();
170
+ let $e = !1;
171
+ function mr() {
172
+ $e || ($e = !0, cr.then(A));
165
173
  }
166
- function $e(e) {
174
+ function Re(e) {
167
175
  j.push(e);
168
176
  }
169
- const we = /* @__PURE__ */ new Set();
177
+ const Se = /* @__PURE__ */ new Set();
170
178
  let D = 0;
171
179
  function A() {
172
180
  if (D !== 0)
173
181
  return;
174
- const e = ze;
182
+ const e = ee;
175
183
  do {
176
184
  try {
177
185
  for (; D < F.length; ) {
178
186
  const t = F[D];
179
- D++, K(t), mr(t.$$);
187
+ D++, K(t), pr(t.$$);
180
188
  }
181
189
  } catch (t) {
182
190
  throw F.length = 0, D = 0, t;
183
191
  }
184
- for (K(null), F.length = 0, D = 0; Ie.length; )
185
- Ie.pop()();
192
+ for (K(null), F.length = 0, D = 0; Me.length; )
193
+ Me.pop()();
186
194
  for (let t = 0; t < j.length; t += 1) {
187
195
  const r = j[t];
188
- we.has(r) || (we.add(r), r());
196
+ Se.has(r) || (Se.add(r), r());
189
197
  }
190
198
  j.length = 0;
191
199
  } while (F.length);
192
200
  for (; Ye.length; )
193
201
  Ye.pop()();
194
- Me = !1, we.clear(), K(e);
202
+ $e = !1, Se.clear(), K(e);
195
203
  }
196
- function mr(e) {
204
+ function pr(e) {
197
205
  if (e.fragment !== null) {
198
- e.update(), re(e.before_update);
206
+ e.update(), ne(e.before_update);
199
207
  const t = e.dirty;
200
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach($e);
208
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Re);
201
209
  }
202
210
  }
203
- function pr(e) {
211
+ function dr(e) {
204
212
  const t = [], r = [];
205
213
  j.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), j = t;
206
214
  }
207
- const ue = /* @__PURE__ */ new Set();
208
- let dr;
209
- function he(e, t) {
210
- e && e.i && (ue.delete(e), e.i(t));
215
+ const he = /* @__PURE__ */ new Set();
216
+ let br;
217
+ function le(e, t) {
218
+ e && e.i && (he.delete(e), e.i(t));
211
219
  }
212
- function Se(e, t, r, n) {
220
+ function Ae(e, t, r, n) {
213
221
  if (e && e.o) {
214
- if (ue.has(e))
222
+ if (he.has(e))
215
223
  return;
216
- ue.add(e), dr.c.push(() => {
217
- ue.delete(e);
224
+ he.add(e), br.c.push(() => {
225
+ he.delete(e);
218
226
  }), e.o(t);
219
227
  }
220
228
  }
221
- function br(e, t, r) {
229
+ function gr(e, t, r) {
222
230
  const { fragment: n, after_update: i } = e.$$;
223
- n && n.m(t, r), $e(() => {
224
- const s = e.$$.on_mount.map(Et).filter(Xe);
225
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : re(s), e.$$.on_mount = [];
226
- }), i.forEach($e);
231
+ n && n.m(t, r), Re(() => {
232
+ const s = e.$$.on_mount.map(Et).filter(ze);
233
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ne(s), e.$$.on_mount = [];
234
+ }), i.forEach(Re);
227
235
  }
228
- function gr(e, t) {
236
+ function _r(e, t) {
229
237
  const r = e.$$;
230
- r.fragment !== null && (pr(r.after_update), re(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
238
+ r.fragment !== null && (dr(r.after_update), ne(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
231
239
  }
232
- function _r(e, t) {
233
- e.$$.dirty[0] === -1 && (F.push(e), cr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
240
+ function yr(e, t) {
241
+ e.$$.dirty[0] === -1 && (F.push(e), mr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
234
242
  }
235
- function yr(e, t, r, n, i, s, u = null, o = [-1]) {
236
- const l = ze;
243
+ function Er(e, t, r, n, i, s, u = null, o = [-1]) {
244
+ const l = ee;
237
245
  K(e);
238
246
  const a = e.$$ = {
239
247
  fragment: null,
@@ -260,14 +268,14 @@ function yr(e, t, r, n, i, s, u = null, o = [-1]) {
260
268
  let h = !1;
261
269
  if (a.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
262
270
  const m = p.length ? p[0] : c;
263
- 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;
264
- }) : [], a.update(), h = !0, re(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
271
+ return a.ctx && i(a.ctx[f], a.ctx[f] = m) && (!a.skip_bound && a.bound[f] && a.bound[f](m), h && yr(e, f)), c;
272
+ }) : [], a.update(), h = !0, ne(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
265
273
  if (t.hydrate) {
266
274
  const f = ur(t.target);
267
275
  a.fragment && a.fragment.l(f), f.forEach(P);
268
276
  } else
269
277
  a.fragment && a.fragment.c();
270
- t.intro && he(e.$$.fragment), br(e, t.target, t.anchor), A();
278
+ t.intro && le(e.$$.fragment), gr(e, t.target, t.anchor), A();
271
279
  }
272
280
  K(l);
273
281
  }
@@ -314,7 +322,7 @@ typeof HTMLElement == "function" && (wt = class extends HTMLElement {
314
322
  let s;
315
323
  return {
316
324
  c: function() {
317
- s = z("slot"), i !== "default" && Z(s, "name", i);
325
+ s = W("slot"), i !== "default" && Z(s, "name", i);
318
326
  },
319
327
  /**
320
328
  * @param {HTMLElement} target
@@ -336,7 +344,7 @@ typeof HTMLElement == "function" && (wt = class extends HTMLElement {
336
344
  i in r && (t[i] = [e(i)]);
337
345
  for (const i of this.attributes) {
338
346
  const s = this.$$g_p(i.name);
339
- s in this.$$d || (this.$$d[s] = le(s, i.value, this.$$p_d, "toProp"));
347
+ s in this.$$d || (this.$$d[s] = fe(s, i.value, this.$$p_d, "toProp"));
340
348
  }
341
349
  for (const i in this.$$p_d)
342
350
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -354,7 +362,7 @@ typeof HTMLElement == "function" && (wt = class extends HTMLElement {
354
362
  this.$$r = !0;
355
363
  for (const i in this.$$p_d)
356
364
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
357
- const s = le(
365
+ const s = fe(
358
366
  i,
359
367
  this.$$d[i],
360
368
  this.$$p_d,
@@ -376,7 +384,7 @@ typeof HTMLElement == "function" && (wt = class extends HTMLElement {
376
384
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
377
385
  // and setting attributes through setAttribute etc, this is helpful
378
386
  attributeChangedCallback(e, t, r) {
379
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = le(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
387
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = fe(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
380
388
  }
381
389
  disconnectedCallback() {
382
390
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -389,7 +397,7 @@ typeof HTMLElement == "function" && (wt = class extends HTMLElement {
389
397
  ) || e;
390
398
  }
391
399
  });
392
- function le(e, t, r, n) {
400
+ function fe(e, t, r, n) {
393
401
  const i = r[e]?.type;
394
402
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
395
403
  return t;
@@ -418,7 +426,7 @@ function le(e, t, r, n) {
418
426
  return t;
419
427
  }
420
428
  }
421
- function Er(e, t, r, n, i, s) {
429
+ function xr(e, t, r, n, i, s) {
422
430
  let u = class extends wt {
423
431
  constructor() {
424
432
  super(e, r, i), this.$$p_d = t;
@@ -435,7 +443,7 @@ function Er(e, t, r, n, i, s) {
435
443
  return this.$$c && o in this.$$c ? this.$$c[o] : this.$$d[o];
436
444
  },
437
445
  set(l) {
438
- l = le(o, l, t), this.$$d[o] = l, this.$$c?.$set({ [o]: l });
446
+ l = fe(o, l, t), this.$$d[o] = l, this.$$c?.$set({ [o]: l });
439
447
  }
440
448
  });
441
449
  }), n.forEach((o) => {
@@ -447,7 +455,7 @@ function Er(e, t, r, n, i, s) {
447
455
  }), e.element = /** @type {any} */
448
456
  u, u;
449
457
  }
450
- class xr {
458
+ class vr {
451
459
  /**
452
460
  * ### PRIVATE API
453
461
  *
@@ -466,7 +474,7 @@ class xr {
466
474
  $$set = void 0;
467
475
  /** @returns {void} */
468
476
  $destroy() {
469
- gr(this, 1), this.$destroy = B;
477
+ _r(this, 1), this.$destroy = B;
470
478
  }
471
479
  /**
472
480
  * @template {Extract<keyof Events, string>} K
@@ -475,7 +483,7 @@ class xr {
475
483
  * @returns {() => void}
476
484
  */
477
485
  $on(t, r) {
478
- if (!Xe(r))
486
+ if (!ze(r))
479
487
  return B;
480
488
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
481
489
  return n.push(r), () => {
@@ -491,15 +499,15 @@ class xr {
491
499
  this.$$set && !nr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
492
500
  }
493
501
  }
494
- const vr = "4";
495
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(vr);
502
+ const Hr = "4";
503
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Hr);
496
504
  const G = [];
497
- function Hr(e, t) {
505
+ function Br(e, t) {
498
506
  return {
499
- subscribe: _e(e, t).subscribe
507
+ subscribe: ye(e, t).subscribe
500
508
  };
501
509
  }
502
- function _e(e, t = B) {
510
+ function ye(e, t = B) {
503
511
  let r;
504
512
  const n = /* @__PURE__ */ new Set();
505
513
  function i(o) {
@@ -530,7 +538,7 @@ function Q(e, t, r) {
530
538
  if (!i.every(Boolean))
531
539
  throw new Error("derived() expects stores as input, got a falsy value");
532
540
  const s = t.length < 2;
533
- return Hr(r, (u, o) => {
541
+ return Br(r, (u, o) => {
534
542
  let l = !1;
535
543
  const a = [];
536
544
  let h = 0, f = B;
@@ -539,7 +547,7 @@ function Q(e, t, r) {
539
547
  return;
540
548
  f();
541
549
  const m = t(n ? a[0] : a, u, o);
542
- s ? u(m) : f = Xe(m) ? m : B;
550
+ s ? u(m) : f = ze(m) ? m : B;
543
551
  }, p = i.map(
544
552
  (m, g) => vt(
545
553
  m,
@@ -552,51 +560,51 @@ function Q(e, t, r) {
552
560
  )
553
561
  );
554
562
  return l = !0, c(), function() {
555
- re(p), f(), l = !1;
563
+ ne(p), f(), l = !1;
556
564
  };
557
565
  });
558
566
  }
559
- function Br(e) {
567
+ function Tr(e) {
560
568
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
561
569
  }
562
- var Tr = function(t) {
563
- return wr(t) && !Sr(t);
570
+ var wr = function(t) {
571
+ return Sr(t) && !Ar(t);
564
572
  };
565
- function wr(e) {
573
+ function Sr(e) {
566
574
  return !!e && typeof e == "object";
567
575
  }
568
- function Sr(e) {
576
+ function Ar(e) {
569
577
  var t = Object.prototype.toString.call(e);
570
- return t === "[object RegExp]" || t === "[object Date]" || Cr(e);
571
- }
572
- var Ar = typeof Symbol == "function" && Symbol.for, Or = Ar ? Symbol.for("react.element") : 60103;
573
- function Cr(e) {
574
- return e.$$typeof === Or;
578
+ return t === "[object RegExp]" || t === "[object Date]" || Pr(e);
575
579
  }
580
+ var Or = typeof Symbol == "function" && Symbol.for, Cr = Or ? Symbol.for("react.element") : 60103;
576
581
  function Pr(e) {
582
+ return e.$$typeof === Cr;
583
+ }
584
+ function Lr(e) {
577
585
  return Array.isArray(e) ? [] : {};
578
586
  }
579
- function ee(e, t) {
580
- return t.clone !== !1 && t.isMergeableObject(e) ? k(Pr(e), e, t) : e;
587
+ function te(e, t) {
588
+ return t.clone !== !1 && t.isMergeableObject(e) ? k(Lr(e), e, t) : e;
581
589
  }
582
- function Lr(e, t, r) {
590
+ function Nr(e, t, r) {
583
591
  return e.concat(t).map(function(n) {
584
- return ee(n, r);
592
+ return te(n, r);
585
593
  });
586
594
  }
587
- function Nr(e, t) {
595
+ function Ir(e, t) {
588
596
  if (!t.customMerge)
589
597
  return k;
590
598
  var r = t.customMerge(e);
591
599
  return typeof r == "function" ? r : k;
592
600
  }
593
- function Ir(e) {
601
+ function Mr(e) {
594
602
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
595
603
  return Object.propertyIsEnumerable.call(e, t);
596
604
  }) : [];
597
605
  }
598
606
  function Ke(e) {
599
- return Object.keys(e).concat(Ir(e));
607
+ return Object.keys(e).concat(Mr(e));
600
608
  }
601
609
  function St(e, t) {
602
610
  try {
@@ -605,21 +613,21 @@ function St(e, t) {
605
613
  return !1;
606
614
  }
607
615
  }
608
- function Mr(e, t) {
616
+ function $r(e, t) {
609
617
  return St(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
610
618
  }
611
- function $r(e, t, r) {
619
+ function Rr(e, t, r) {
612
620
  var n = {};
613
621
  return r.isMergeableObject(e) && Ke(e).forEach(function(i) {
614
- n[i] = ee(e[i], r);
622
+ n[i] = te(e[i], r);
615
623
  }), Ke(t).forEach(function(i) {
616
- Mr(e, i) || (St(e, i) && r.isMergeableObject(t[i]) ? n[i] = Nr(i, r)(e[i], t[i], r) : n[i] = ee(t[i], r));
624
+ $r(e, i) || (St(e, i) && r.isMergeableObject(t[i]) ? n[i] = Ir(i, r)(e[i], t[i], r) : n[i] = te(t[i], r));
617
625
  }), n;
618
626
  }
619
627
  function k(e, t, r) {
620
- r = r || {}, r.arrayMerge = r.arrayMerge || Lr, r.isMergeableObject = r.isMergeableObject || Tr, r.cloneUnlessOtherwiseSpecified = ee;
628
+ r = r || {}, r.arrayMerge = r.arrayMerge || Nr, r.isMergeableObject = r.isMergeableObject || wr, r.cloneUnlessOtherwiseSpecified = te;
621
629
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
622
- return s ? n ? r.arrayMerge(e, t, r) : $r(e, t, r) : ee(t, r);
630
+ return s ? n ? r.arrayMerge(e, t, r) : Rr(e, t, r) : te(t, r);
623
631
  }
624
632
  k.all = function(t, r) {
625
633
  if (!Array.isArray(t))
@@ -628,20 +636,20 @@ k.all = function(t, r) {
628
636
  return k(n, i, r);
629
637
  }, {});
630
638
  };
631
- var Rr = k, Ur = Rr;
632
- const Dr = /* @__PURE__ */ Br(Ur);
633
- var Re = function(e, t) {
634
- return Re = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
639
+ var Ur = k, Dr = Ur;
640
+ const Gr = /* @__PURE__ */ Tr(Dr);
641
+ var Ue = function(e, t) {
642
+ return Ue = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
635
643
  r.__proto__ = n;
636
644
  } || function(r, n) {
637
645
  for (var i in n)
638
646
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
639
- }, Re(e, t);
647
+ }, Ue(e, t);
640
648
  };
641
- function ye(e, t) {
649
+ function Ee(e, t) {
642
650
  if (typeof t != "function" && t !== null)
643
651
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
644
- Re(e, t);
652
+ Ue(e, t);
645
653
  function r() {
646
654
  this.constructor = e;
647
655
  }
@@ -657,7 +665,7 @@ var T = function() {
657
665
  return t;
658
666
  }, T.apply(this, arguments);
659
667
  };
660
- function Gr(e, t) {
668
+ function Fr(e, t) {
661
669
  var r = {};
662
670
  for (var n in e)
663
671
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -666,24 +674,24 @@ function Gr(e, t) {
666
674
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
667
675
  return r;
668
676
  }
669
- function Ae(e, t, r) {
677
+ function Oe(e, t, r) {
670
678
  if (r || arguments.length === 2)
671
679
  for (var n = 0, i = t.length, s; n < i; n++)
672
680
  (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
673
681
  return e.concat(s || Array.prototype.slice.call(t));
674
682
  }
675
- function Oe(e, t) {
676
- var r = t && t.cache ? t.cache : zr, n = t && t.serializer ? t.serializer : Xr, i = t && t.strategy ? t.strategy : kr;
683
+ function Ce(e, t) {
684
+ var r = t && t.cache ? t.cache : Zr, n = t && t.serializer ? t.serializer : zr, i = t && t.strategy ? t.strategy : Vr;
677
685
  return i(e, {
678
686
  cache: r,
679
687
  serializer: n
680
688
  });
681
689
  }
682
- function Fr(e) {
690
+ function jr(e) {
683
691
  return e == null || typeof e == "number" || typeof e == "boolean";
684
692
  }
685
- function jr(e, t, r, n) {
686
- var i = Fr(n) ? n : r(n), s = t.get(i);
693
+ function kr(e, t, r, n) {
694
+ var i = jr(n) ? n : r(n), s = t.get(i);
687
695
  return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
688
696
  }
689
697
  function At(e, t, r) {
@@ -693,14 +701,14 @@ function At(e, t, r) {
693
701
  function Ot(e, t, r, n, i) {
694
702
  return r.bind(t, e, n, i);
695
703
  }
696
- function kr(e, t) {
697
- var r = e.length === 1 ? jr : At;
704
+ function Vr(e, t) {
705
+ var r = e.length === 1 ? kr : At;
698
706
  return Ot(e, this, r, t.cache.create(), t.serializer);
699
707
  }
700
- function Vr(e, t) {
708
+ function Xr(e, t) {
701
709
  return Ot(e, this, At, t.cache.create(), t.serializer);
702
710
  }
703
- var Xr = function() {
711
+ var zr = function() {
704
712
  return JSON.stringify(arguments);
705
713
  }, Wr = (
706
714
  /** @class */
@@ -714,21 +722,21 @@ var Xr = function() {
714
722
  this.cache[t] = r;
715
723
  }, e;
716
724
  }()
717
- ), zr = {
725
+ ), Zr = {
718
726
  create: function() {
719
727
  return new Wr();
720
728
  }
721
- }, Ce = {
722
- variadic: Vr
723
- }, pe = function() {
724
- return pe = Object.assign || function(t) {
729
+ }, Pe = {
730
+ variadic: Xr
731
+ }, de = function() {
732
+ return de = Object.assign || function(t) {
725
733
  for (var r, n = 1, i = arguments.length; n < i; n++) {
726
734
  r = arguments[n];
727
735
  for (var s in r)
728
736
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
729
737
  }
730
738
  return t;
731
- }, pe.apply(this, arguments);
739
+ }, de.apply(this, arguments);
732
740
  };
733
741
  var d;
734
742
  (function(e) {
@@ -745,7 +753,7 @@ var V;
745
753
  function et(e) {
746
754
  return e.type === y.literal;
747
755
  }
748
- function Zr(e) {
756
+ function Qr(e) {
749
757
  return e.type === y.argument;
750
758
  }
751
759
  function Ct(e) {
@@ -763,7 +771,7 @@ function Nt(e) {
763
771
  function It(e) {
764
772
  return e.type === y.plural;
765
773
  }
766
- function Qr(e) {
774
+ function qr(e) {
767
775
  return e.type === y.pound;
768
776
  }
769
777
  function Mt(e) {
@@ -772,13 +780,13 @@ function Mt(e) {
772
780
  function $t(e) {
773
781
  return !!(e && typeof e == "object" && e.type === V.number);
774
782
  }
775
- function Ue(e) {
783
+ function De(e) {
776
784
  return !!(e && typeof e == "object" && e.type === V.dateTime);
777
785
  }
778
- 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;
779
- function Jr(e) {
786
+ var Rt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Jr = /(?:[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;
787
+ function Yr(e) {
780
788
  var t = {};
781
- return e.replace(qr, function(r) {
789
+ return e.replace(Jr, function(r) {
782
790
  var n = r.length;
783
791
  switch (r[0]) {
784
792
  case "G":
@@ -877,11 +885,11 @@ var E = function() {
877
885
  return t;
878
886
  }, E.apply(this, arguments);
879
887
  };
880
- var Yr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
881
- function Kr(e) {
888
+ var Kr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
889
+ function en(e) {
882
890
  if (e.length === 0)
883
891
  throw new Error("Number skeleton cannot be empty");
884
- for (var t = e.split(Yr).filter(function(c) {
892
+ for (var t = e.split(Kr).filter(function(c) {
885
893
  return c.length > 0;
886
894
  }), r = [], n = 0, i = t; n < i.length; n++) {
887
895
  var s = i[n], u = s.split("/");
@@ -896,10 +904,10 @@ function Kr(e) {
896
904
  }
897
905
  return r;
898
906
  }
899
- function en(e) {
907
+ function tn(e) {
900
908
  return e.replace(/^(.*?)-/, "");
901
909
  }
902
- var tt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Ut = /^(@+)?(\+|#+)?[rs]?$/g, tn = /(\*)(0+)|(#+)(0+)|(0+)/g, Dt = /^(0+)$/;
910
+ var tt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Ut = /^(@+)?(\+|#+)?[rs]?$/g, rn = /(\*)(0+)|(#+)(0+)|(0+)/g, Dt = /^(0+)$/;
903
911
  function rt(e) {
904
912
  var t = {};
905
913
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Ut, function(r, n, i) {
@@ -946,7 +954,7 @@ function Gt(e) {
946
954
  };
947
955
  }
948
956
  }
949
- function rn(e) {
957
+ function nn(e) {
950
958
  var t;
951
959
  if (e[0] === "E" && e[1] === "E" ? (t = {
952
960
  notation: "engineering"
@@ -964,7 +972,7 @@ function nt(e) {
964
972
  var t = {}, r = Gt(e);
965
973
  return r || t;
966
974
  }
967
- function nn(e) {
975
+ function sn(e) {
968
976
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
969
977
  var i = n[r];
970
978
  switch (i.stem) {
@@ -988,7 +996,7 @@ function nn(e) {
988
996
  continue;
989
997
  case "measure-unit":
990
998
  case "unit":
991
- t.style = "unit", t.unit = en(i.options[0]);
999
+ t.style = "unit", t.unit = tn(i.options[0]);
992
1000
  continue;
993
1001
  case "compact-short":
994
1002
  case "K":
@@ -1050,7 +1058,7 @@ function nn(e) {
1050
1058
  case "integer-width":
1051
1059
  if (i.options.length > 1)
1052
1060
  throw new RangeError("integer-width stems only accept a single optional option");
1053
- i.options[0].replace(tn, function(l, a, h, f, c, p) {
1061
+ i.options[0].replace(rn, function(l, a, h, f, c, p) {
1054
1062
  if (a)
1055
1063
  t.minimumIntegerDigits = h.length;
1056
1064
  else {
@@ -1083,12 +1091,12 @@ function nn(e) {
1083
1091
  }
1084
1092
  var u = Gt(i.stem);
1085
1093
  u && (t = E(E({}, t), u));
1086
- var o = rn(i.stem);
1094
+ var o = nn(i.stem);
1087
1095
  o && (t = E(E({}, t), o));
1088
1096
  }
1089
1097
  return t;
1090
1098
  }
1091
- var ae = {
1099
+ var ue = {
1092
1100
  "001": [
1093
1101
  "H",
1094
1102
  "h"
@@ -2503,13 +2511,13 @@ var ae = {
2503
2511
  "h"
2504
2512
  ]
2505
2513
  };
2506
- function sn(e, t) {
2514
+ function on(e, t) {
2507
2515
  for (var r = "", n = 0; n < e.length; n++) {
2508
2516
  var i = e.charAt(n);
2509
2517
  if (i === "j") {
2510
2518
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2511
2519
  s++, n++;
2512
- var u = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", a = on(t);
2520
+ var u = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", a = an(t);
2513
2521
  for ((a == "H" || a == "k") && (o = 0); o-- > 0; )
2514
2522
  r += l;
2515
2523
  for (; u-- > 0; )
@@ -2519,7 +2527,7 @@ function sn(e, t) {
2519
2527
  }
2520
2528
  return r;
2521
2529
  }
2522
- function on(e) {
2530
+ function an(e) {
2523
2531
  var t = e.hourCycle;
2524
2532
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2525
2533
  e.hourCycles && // @ts-ignore
@@ -2538,23 +2546,23 @@ function on(e) {
2538
2546
  }
2539
2547
  var r = e.language, n;
2540
2548
  r !== "root" && (n = e.maximize().region);
2541
- var i = ae[n || ""] || ae[r || ""] || ae["".concat(r, "-001")] || ae["001"];
2549
+ var i = ue[n || ""] || ue[r || ""] || ue["".concat(r, "-001")] || ue["001"];
2542
2550
  return i[0];
2543
2551
  }
2544
- var Pe, an = new RegExp("^".concat(Rt.source, "*")), un = new RegExp("".concat(Rt.source, "*$"));
2552
+ var Le, un = new RegExp("^".concat(Rt.source, "*")), hn = new RegExp("".concat(Rt.source, "*$"));
2545
2553
  function b(e, t) {
2546
2554
  return { start: e, end: t };
2547
2555
  }
2548
- var hn = !!String.prototype.startsWith && "_a".startsWith("a", 1), ln = !!String.fromCodePoint, fn = !!Object.fromEntries, cn = !!String.prototype.codePointAt, mn = !!String.prototype.trimStart, pn = !!String.prototype.trimEnd, dn = !!Number.isSafeInteger, bn = dn ? Number.isSafeInteger : function(e) {
2556
+ var ln = !!String.prototype.startsWith && "_a".startsWith("a", 1), fn = !!String.fromCodePoint, cn = !!Object.fromEntries, mn = !!String.prototype.codePointAt, pn = !!String.prototype.trimStart, dn = !!String.prototype.trimEnd, bn = !!Number.isSafeInteger, gn = bn ? Number.isSafeInteger : function(e) {
2549
2557
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2550
- }, De = !0;
2558
+ }, Ge = !0;
2551
2559
  try {
2552
- var gn = jt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2553
- De = ((Pe = gn.exec("a")) === null || Pe === void 0 ? void 0 : Pe[0]) === "a";
2560
+ var _n = jt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2561
+ Ge = ((Le = _n.exec("a")) === null || Le === void 0 ? void 0 : Le[0]) === "a";
2554
2562
  } catch {
2555
- De = !1;
2563
+ Ge = !1;
2556
2564
  }
2557
- var it = hn ? (
2565
+ var it = ln ? (
2558
2566
  // Native
2559
2567
  function(t, r, n) {
2560
2568
  return t.startsWith(r, n);
@@ -2564,7 +2572,7 @@ var it = hn ? (
2564
2572
  function(t, r, n) {
2565
2573
  return t.slice(n, n + r.length) === r;
2566
2574
  }
2567
- ), Ge = ln ? String.fromCodePoint : (
2575
+ ), Fe = fn ? String.fromCodePoint : (
2568
2576
  // IE11
2569
2577
  function() {
2570
2578
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2578,7 +2586,7 @@ var it = hn ? (
2578
2586
  }
2579
2587
  ), st = (
2580
2588
  // native
2581
- fn ? Object.fromEntries : (
2589
+ cn ? Object.fromEntries : (
2582
2590
  // Ponyfill
2583
2591
  function(t) {
2584
2592
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2588,7 +2596,7 @@ var it = hn ? (
2588
2596
  return r;
2589
2597
  }
2590
2598
  )
2591
- ), Ft = cn ? (
2599
+ ), Ft = mn ? (
2592
2600
  // Native
2593
2601
  function(t, r) {
2594
2602
  return t.codePointAt(r);
@@ -2602,7 +2610,7 @@ var it = hn ? (
2602
2610
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2603
2611
  }
2604
2612
  }
2605
- ), _n = mn ? (
2613
+ ), yn = pn ? (
2606
2614
  // Native
2607
2615
  function(t) {
2608
2616
  return t.trimStart();
@@ -2610,9 +2618,9 @@ var it = hn ? (
2610
2618
  ) : (
2611
2619
  // Ponyfill
2612
2620
  function(t) {
2613
- return t.replace(an, "");
2621
+ return t.replace(un, "");
2614
2622
  }
2615
- ), yn = pn ? (
2623
+ ), En = dn ? (
2616
2624
  // Native
2617
2625
  function(t) {
2618
2626
  return t.trimEnd();
@@ -2620,32 +2628,32 @@ var it = hn ? (
2620
2628
  ) : (
2621
2629
  // Ponyfill
2622
2630
  function(t) {
2623
- return t.replace(un, "");
2631
+ return t.replace(hn, "");
2624
2632
  }
2625
2633
  );
2626
2634
  function jt(e, t) {
2627
2635
  return new RegExp(e, t);
2628
2636
  }
2629
- var Fe;
2630
- if (De) {
2637
+ var je;
2638
+ if (Ge) {
2631
2639
  var ot = jt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2632
- Fe = function(t, r) {
2640
+ je = function(t, r) {
2633
2641
  var n;
2634
2642
  ot.lastIndex = r;
2635
2643
  var i = ot.exec(t);
2636
2644
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2637
2645
  };
2638
2646
  } else
2639
- Fe = function(t, r) {
2647
+ je = function(t, r) {
2640
2648
  for (var n = []; ; ) {
2641
2649
  var i = Ft(t, r);
2642
- if (i === void 0 || kt(i) || Hn(i))
2650
+ if (i === void 0 || kt(i) || Bn(i))
2643
2651
  break;
2644
2652
  n.push(i), r += i >= 65536 ? 2 : 1;
2645
2653
  }
2646
- return Ge.apply(void 0, n);
2654
+ return Fe.apply(void 0, n);
2647
2655
  };
2648
- var En = (
2656
+ var xn = (
2649
2657
  /** @class */
2650
2658
  function() {
2651
2659
  function e(t, r) {
@@ -2676,7 +2684,7 @@ var En = (
2676
2684
  if (n)
2677
2685
  break;
2678
2686
  return this.error(d.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
2679
- } else if (s === 60 && !this.ignoreTag && je(this.peek() || 0)) {
2687
+ } else if (s === 60 && !this.ignoreTag && ke(this.peek() || 0)) {
2680
2688
  var u = this.parseTag(t, r);
2681
2689
  if (u.err)
2682
2690
  return u;
@@ -2709,7 +2717,7 @@ var En = (
2709
2717
  return s;
2710
2718
  var u = s.val, o = this.clonePosition();
2711
2719
  if (this.bumpIf("</")) {
2712
- if (this.isEOF() || !je(this.char()))
2720
+ if (this.isEOF() || !ke(this.char()))
2713
2721
  return this.error(d.INVALID_TAG, b(o, this.clonePosition()));
2714
2722
  var l = this.clonePosition(), a = this.parseTagName();
2715
2723
  return i !== a ? this.error(d.UNMATCHED_CLOSING_TAG, b(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -2727,7 +2735,7 @@ var En = (
2727
2735
  return this.error(d.INVALID_TAG, b(n, this.clonePosition()));
2728
2736
  }, e.prototype.parseTagName = function() {
2729
2737
  var t = this.offset();
2730
- for (this.bump(); !this.isEOF() && vn(this.char()); )
2738
+ for (this.bump(); !this.isEOF() && Hn(this.char()); )
2731
2739
  this.bump();
2732
2740
  return this.message.slice(t, this.offset());
2733
2741
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2756,7 +2764,7 @@ var En = (
2756
2764
  };
2757
2765
  }, e.prototype.tryParseLeftAngleBracket = function() {
2758
2766
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2759
- !xn(this.peek() || 0)) ? (this.bump(), "<") : null;
2767
+ !vn(this.peek() || 0)) ? (this.bump(), "<") : null;
2760
2768
  }, e.prototype.tryParseQuote = function(t) {
2761
2769
  if (this.isEOF() || this.char() !== 39)
2762
2770
  return null;
@@ -2790,12 +2798,12 @@ var En = (
2790
2798
  r.push(n);
2791
2799
  this.bump();
2792
2800
  }
2793
- return Ge.apply(void 0, r);
2801
+ return Fe.apply(void 0, r);
2794
2802
  }, e.prototype.tryParseUnquoted = function(t, r) {
2795
2803
  if (this.isEOF())
2796
2804
  return null;
2797
2805
  var n = this.char();
2798
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ge(n));
2806
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Fe(n));
2799
2807
  }, e.prototype.parseArgument = function(t, r) {
2800
2808
  var n = this.clonePosition();
2801
2809
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -2824,7 +2832,7 @@ var En = (
2824
2832
  return this.error(d.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
2825
2833
  }
2826
2834
  }, e.prototype.parseIdentifierIfPossible = function() {
2827
- var t = this.clonePosition(), r = this.offset(), n = Fe(this.message, r), i = r + n.length;
2835
+ var t = this.clonePosition(), r = this.offset(), n = je(this.message, r), i = r + n.length;
2828
2836
  this.bumpTo(i);
2829
2837
  var s = this.clonePosition(), u = b(t, s);
2830
2838
  return { value: n, location: u };
@@ -2843,7 +2851,7 @@ var En = (
2843
2851
  var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
2844
2852
  if (f.err)
2845
2853
  return f;
2846
- var c = yn(f.val);
2854
+ var c = En(f.val);
2847
2855
  if (c.length === 0)
2848
2856
  return this.error(d.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
2849
2857
  var p = b(h, this.clonePosition());
@@ -2854,7 +2862,7 @@ var En = (
2854
2862
  return m;
2855
2863
  var g = b(i, this.clonePosition());
2856
2864
  if (a && it(a?.style, "::", 0)) {
2857
- var v = _n(a.style.slice(2));
2865
+ var v = yn(a.style.slice(2));
2858
2866
  if (o === "number") {
2859
2867
  var f = this.parseNumberSkeletonFromString(v, a.styleLocation);
2860
2868
  return f.err ? f : {
@@ -2865,12 +2873,12 @@ var En = (
2865
2873
  if (v.length === 0)
2866
2874
  return this.error(d.EXPECT_DATE_TIME_SKELETON, g);
2867
2875
  var N = v;
2868
- this.locale && (N = sn(v, this.locale));
2876
+ this.locale && (N = on(v, this.locale));
2869
2877
  var c = {
2870
2878
  type: V.dateTime,
2871
2879
  pattern: N,
2872
2880
  location: a.styleLocation,
2873
- parsedOptions: this.shouldParseSkeletons ? Jr(N) : {}
2881
+ parsedOptions: this.shouldParseSkeletons ? Yr(N) : {}
2874
2882
  }, O = o === "date" ? y.date : y.time;
2875
2883
  return {
2876
2884
  val: { type: O, value: n, location: g, style: c },
@@ -2893,7 +2901,7 @@ var En = (
2893
2901
  case "select": {
2894
2902
  var H = this.clonePosition();
2895
2903
  if (this.bumpSpace(), !this.bumpIf(","))
2896
- return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, b(H, pe({}, H)));
2904
+ return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, b(H, de({}, H)));
2897
2905
  this.bumpSpace();
2898
2906
  var I = this.parseIdentifierIfPossible(), w = 0;
2899
2907
  if (o !== "select" && I.value === "offset") {
@@ -2911,13 +2919,13 @@ var En = (
2911
2919
  var m = this.tryParseArgumentClose(i);
2912
2920
  if (m.err)
2913
2921
  return m;
2914
- var se = b(i, this.clonePosition());
2922
+ var oe = b(i, this.clonePosition());
2915
2923
  return o === "select" ? {
2916
2924
  val: {
2917
2925
  type: y.select,
2918
2926
  value: n,
2919
2927
  options: st(R.val),
2920
- location: se
2928
+ location: oe
2921
2929
  },
2922
2930
  err: null
2923
2931
  } : {
@@ -2927,7 +2935,7 @@ var En = (
2927
2935
  options: st(R.val),
2928
2936
  offset: w,
2929
2937
  pluralType: o === "plural" ? "cardinal" : "ordinal",
2930
- location: se
2938
+ location: oe
2931
2939
  },
2932
2940
  err: null
2933
2941
  };
@@ -2975,7 +2983,7 @@ var En = (
2975
2983
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2976
2984
  var n = [];
2977
2985
  try {
2978
- n = Kr(t);
2986
+ n = en(t);
2979
2987
  } catch {
2980
2988
  return this.error(d.INVALID_NUMBER_SKELETON, r);
2981
2989
  }
@@ -2984,7 +2992,7 @@ var En = (
2984
2992
  type: V.number,
2985
2993
  tokens: n,
2986
2994
  location: r,
2987
- parsedOptions: this.shouldParseSkeletons ? nn(n) : {}
2995
+ parsedOptions: this.shouldParseSkeletons ? sn(n) : {}
2988
2996
  },
2989
2997
  err: null
2990
2998
  };
@@ -3032,7 +3040,7 @@ var En = (
3032
3040
  break;
3033
3041
  }
3034
3042
  var l = b(i, this.clonePosition());
3035
- return s ? (u *= n, bn(u) ? { val: u, err: null } : this.error(r, l)) : this.error(t, l);
3043
+ return s ? (u *= n, gn(u) ? { val: u, err: null } : this.error(r, l)) : this.error(t, l);
3036
3044
  }, e.prototype.offset = function() {
3037
3045
  return this.position.offset;
3038
3046
  }, e.prototype.isEOF = function() {
@@ -3098,47 +3106,47 @@ var En = (
3098
3106
  }, e;
3099
3107
  }()
3100
3108
  );
3101
- function je(e) {
3109
+ function ke(e) {
3102
3110
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3103
3111
  }
3104
- function xn(e) {
3105
- return je(e) || e === 47;
3106
- }
3107
3112
  function vn(e) {
3113
+ return ke(e) || e === 47;
3114
+ }
3115
+ function Hn(e) {
3108
3116
  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;
3109
3117
  }
3110
3118
  function kt(e) {
3111
3119
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3112
3120
  }
3113
- function Hn(e) {
3121
+ function Bn(e) {
3114
3122
  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;
3115
3123
  }
3116
- function ke(e) {
3124
+ function Ve(e) {
3117
3125
  e.forEach(function(t) {
3118
3126
  if (delete t.location, Nt(t) || It(t))
3119
3127
  for (var r in t.options)
3120
- delete t.options[r].location, ke(t.options[r].value);
3128
+ delete t.options[r].location, Ve(t.options[r].value);
3121
3129
  else
3122
- Ct(t) && $t(t.style) || (Pt(t) || Lt(t)) && Ue(t.style) ? delete t.style.location : Mt(t) && ke(t.children);
3130
+ Ct(t) && $t(t.style) || (Pt(t) || Lt(t)) && De(t.style) ? delete t.style.location : Mt(t) && Ve(t.children);
3123
3131
  });
3124
3132
  }
3125
- function Bn(e, t) {
3126
- t === void 0 && (t = {}), t = pe({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3127
- var r = new En(e, t).parse();
3133
+ function Tn(e, t) {
3134
+ t === void 0 && (t = {}), t = de({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3135
+ var r = new xn(e, t).parse();
3128
3136
  if (r.err) {
3129
3137
  var n = SyntaxError(d[r.err.kind]);
3130
3138
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3131
3139
  }
3132
- return t?.captureLocation || ke(r.val), r.val;
3140
+ return t?.captureLocation || Ve(r.val), r.val;
3133
3141
  }
3134
3142
  var X;
3135
3143
  (function(e) {
3136
3144
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3137
3145
  })(X || (X = {}));
3138
- var Ee = (
3146
+ var xe = (
3139
3147
  /** @class */
3140
3148
  function(e) {
3141
- ye(t, e);
3149
+ Ee(t, e);
3142
3150
  function t(r, n, i) {
3143
3151
  var s = e.call(this, r) || this;
3144
3152
  return s.code = n, s.originalMessage = i, s;
@@ -3150,44 +3158,44 @@ var Ee = (
3150
3158
  ), at = (
3151
3159
  /** @class */
3152
3160
  function(e) {
3153
- ye(t, e);
3161
+ Ee(t, e);
3154
3162
  function t(r, n, i, s) {
3155
3163
  return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), X.INVALID_VALUE, s) || this;
3156
3164
  }
3157
3165
  return t;
3158
- }(Ee)
3159
- ), Tn = (
3166
+ }(xe)
3167
+ ), wn = (
3160
3168
  /** @class */
3161
3169
  function(e) {
3162
- ye(t, e);
3170
+ Ee(t, e);
3163
3171
  function t(r, n, i) {
3164
3172
  return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), X.INVALID_VALUE, i) || this;
3165
3173
  }
3166
3174
  return t;
3167
- }(Ee)
3168
- ), wn = (
3175
+ }(xe)
3176
+ ), Sn = (
3169
3177
  /** @class */
3170
3178
  function(e) {
3171
- ye(t, e);
3179
+ Ee(t, e);
3172
3180
  function t(r, n) {
3173
3181
  return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), X.MISSING_VALUE, n) || this;
3174
3182
  }
3175
3183
  return t;
3176
- }(Ee)
3184
+ }(xe)
3177
3185
  ), x;
3178
3186
  (function(e) {
3179
3187
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3180
3188
  })(x || (x = {}));
3181
- function Sn(e) {
3189
+ function An(e) {
3182
3190
  return e.length < 2 ? e : e.reduce(function(t, r) {
3183
3191
  var n = t[t.length - 1];
3184
3192
  return !n || n.type !== x.literal || r.type !== x.literal ? t.push(r) : n.value += r.value, t;
3185
3193
  }, []);
3186
3194
  }
3187
- function An(e) {
3195
+ function On(e) {
3188
3196
  return typeof e == "function";
3189
3197
  }
3190
- function fe(e, t, r, n, i, s, u) {
3198
+ function ce(e, t, r, n, i, s, u) {
3191
3199
  if (e.length === 1 && et(e[0]))
3192
3200
  return [
3193
3201
  {
@@ -3204,7 +3212,7 @@ function fe(e, t, r, n, i, s, u) {
3204
3212
  });
3205
3213
  continue;
3206
3214
  }
3207
- if (Qr(h)) {
3215
+ if (qr(h)) {
3208
3216
  typeof s == "number" && o.push({
3209
3217
  type: x.literal,
3210
3218
  value: r.getNumberFormat(t).format(s)
@@ -3213,9 +3221,9 @@ function fe(e, t, r, n, i, s, u) {
3213
3221
  }
3214
3222
  var f = h.value;
3215
3223
  if (!(i && f in i))
3216
- throw new wn(f, u);
3224
+ throw new Sn(f, u);
3217
3225
  var c = i[f];
3218
- if (Zr(h)) {
3226
+ if (Qr(h)) {
3219
3227
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), o.push({
3220
3228
  type: typeof c == "string" ? x.literal : x.object,
3221
3229
  value: c
@@ -3223,7 +3231,7 @@ function fe(e, t, r, n, i, s, u) {
3223
3231
  continue;
3224
3232
  }
3225
3233
  if (Pt(h)) {
3226
- var p = typeof h.style == "string" ? n.date[h.style] : Ue(h.style) ? h.style.parsedOptions : void 0;
3234
+ var p = typeof h.style == "string" ? n.date[h.style] : De(h.style) ? h.style.parsedOptions : void 0;
3227
3235
  o.push({
3228
3236
  type: x.literal,
3229
3237
  value: r.getDateTimeFormat(t, p).format(c)
@@ -3231,7 +3239,7 @@ function fe(e, t, r, n, i, s, u) {
3231
3239
  continue;
3232
3240
  }
3233
3241
  if (Lt(h)) {
3234
- var p = typeof h.style == "string" ? n.time[h.style] : Ue(h.style) ? h.style.parsedOptions : n.time.medium;
3242
+ var p = typeof h.style == "string" ? n.time[h.style] : De(h.style) ? h.style.parsedOptions : n.time.medium;
3235
3243
  o.push({
3236
3244
  type: x.literal,
3237
3245
  value: r.getDateTimeFormat(t, p).format(c)
@@ -3248,9 +3256,9 @@ function fe(e, t, r, n, i, s, u) {
3248
3256
  }
3249
3257
  if (Mt(h)) {
3250
3258
  var m = h.children, g = h.value, v = i[g];
3251
- if (!An(v))
3252
- throw new Tn(g, "function", u);
3253
- var N = fe(m, t, r, n, i, s), O = v(N.map(function(w) {
3259
+ if (!On(v))
3260
+ throw new wn(g, "function", u);
3261
+ var N = ce(m, t, r, n, i, s), O = v(N.map(function(w) {
3254
3262
  return w.value;
3255
3263
  }));
3256
3264
  Array.isArray(O) || (O = [O]), o.push.apply(o, O.map(function(w) {
@@ -3264,14 +3272,14 @@ function fe(e, t, r, n, i, s, u) {
3264
3272
  var H = h.options[c] || h.options.other;
3265
3273
  if (!H)
3266
3274
  throw new at(h.value, c, Object.keys(h.options), u);
3267
- o.push.apply(o, fe(H.value, t, r, n, i));
3275
+ o.push.apply(o, ce(H.value, t, r, n, i));
3268
3276
  continue;
3269
3277
  }
3270
3278
  if (It(h)) {
3271
3279
  var H = h.options["=".concat(c)];
3272
3280
  if (!H) {
3273
3281
  if (!Intl.PluralRules)
3274
- throw new Ee(`Intl.PluralRules is not available in this environment.
3282
+ throw new xe(`Intl.PluralRules is not available in this environment.
3275
3283
  Try polyfilling it using "@formatjs/intl-pluralrules"
3276
3284
  `, X.MISSING_INTL_API, u);
3277
3285
  var I = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
@@ -3279,23 +3287,23 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
3279
3287
  }
3280
3288
  if (!H)
3281
3289
  throw new at(h.value, c, Object.keys(h.options), u);
3282
- o.push.apply(o, fe(H.value, t, r, n, i, c - (h.offset || 0)));
3290
+ o.push.apply(o, ce(H.value, t, r, n, i, c - (h.offset || 0)));
3283
3291
  continue;
3284
3292
  }
3285
3293
  }
3286
- return Sn(o);
3294
+ return An(o);
3287
3295
  }
3288
- function On(e, t) {
3296
+ function Cn(e, t) {
3289
3297
  return t ? T(T(T({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3290
3298
  return r[n] = T(T({}, e[n]), t[n] || {}), r;
3291
3299
  }, {})) : e;
3292
3300
  }
3293
- function Cn(e, t) {
3301
+ function Pn(e, t) {
3294
3302
  return t ? Object.keys(e).reduce(function(r, n) {
3295
- return r[n] = On(e[n], t[n]), r;
3303
+ return r[n] = Cn(e[n], t[n]), r;
3296
3304
  }, T({}, e)) : e;
3297
3305
  }
3298
- function Le(e) {
3306
+ function Ne(e) {
3299
3307
  return {
3300
3308
  create: function() {
3301
3309
  return {
@@ -3309,35 +3317,35 @@ function Le(e) {
3309
3317
  }
3310
3318
  };
3311
3319
  }
3312
- function Pn(e) {
3320
+ function Ln(e) {
3313
3321
  return e === void 0 && (e = {
3314
3322
  number: {},
3315
3323
  dateTime: {},
3316
3324
  pluralRules: {}
3317
3325
  }), {
3318
- getNumberFormat: Oe(function() {
3326
+ getNumberFormat: Ce(function() {
3319
3327
  for (var t, r = [], n = 0; n < arguments.length; n++)
3320
3328
  r[n] = arguments[n];
3321
- return new ((t = Intl.NumberFormat).bind.apply(t, Ae([void 0], r, !1)))();
3329
+ return new ((t = Intl.NumberFormat).bind.apply(t, Oe([void 0], r, !1)))();
3322
3330
  }, {
3323
- cache: Le(e.number),
3324
- strategy: Ce.variadic
3331
+ cache: Ne(e.number),
3332
+ strategy: Pe.variadic
3325
3333
  }),
3326
- getDateTimeFormat: Oe(function() {
3334
+ getDateTimeFormat: Ce(function() {
3327
3335
  for (var t, r = [], n = 0; n < arguments.length; n++)
3328
3336
  r[n] = arguments[n];
3329
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Ae([void 0], r, !1)))();
3337
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Oe([void 0], r, !1)))();
3330
3338
  }, {
3331
- cache: Le(e.dateTime),
3332
- strategy: Ce.variadic
3339
+ cache: Ne(e.dateTime),
3340
+ strategy: Pe.variadic
3333
3341
  }),
3334
- getPluralRules: Oe(function() {
3342
+ getPluralRules: Ce(function() {
3335
3343
  for (var t, r = [], n = 0; n < arguments.length; n++)
3336
3344
  r[n] = arguments[n];
3337
- return new ((t = Intl.PluralRules).bind.apply(t, Ae([void 0], r, !1)))();
3345
+ return new ((t = Intl.PluralRules).bind.apply(t, Oe([void 0], r, !1)))();
3338
3346
  }, {
3339
- cache: Le(e.pluralRules),
3340
- strategy: Ce.variadic
3347
+ cache: Ne(e.pluralRules),
3348
+ strategy: Pe.variadic
3341
3349
  })
3342
3350
  };
3343
3351
  }
@@ -3360,7 +3368,7 @@ var Vt = (
3360
3368
  }, []);
3361
3369
  return h.length <= 1 ? h[0] || "" : h;
3362
3370
  }, this.formatToParts = function(l) {
3363
- return fe(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3371
+ return ce(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3364
3372
  }, this.resolvedOptions = function() {
3365
3373
  var l;
3366
3374
  return {
@@ -3373,13 +3381,13 @@ var Vt = (
3373
3381
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3374
3382
  var u = i || {};
3375
3383
  u.formatters;
3376
- var o = Gr(u, ["formatters"]);
3384
+ var o = Fr(u, ["formatters"]);
3377
3385
  this.ast = e.__parse(t, T(T({}, o), { locale: this.resolvedLocale }));
3378
3386
  } else
3379
3387
  this.ast = t;
3380
3388
  if (!Array.isArray(this.ast))
3381
3389
  throw new TypeError("A message must be provided as a String or AST.");
3382
- this.formats = Cn(e.formats, n), this.formatters = i && i.formatters || Pn(this.formatterCache);
3390
+ this.formats = Pn(e.formats, n), this.formatters = i && i.formatters || Ln(this.formatterCache);
3383
3391
  }
3384
3392
  return Object.defineProperty(e, "defaultLocale", {
3385
3393
  get: function() {
@@ -3392,7 +3400,7 @@ var Vt = (
3392
3400
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3393
3401
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3394
3402
  }
3395
- }, e.__parse = Bn, e.formats = {
3403
+ }, e.__parse = Tn, e.formats = {
3396
3404
  number: {
3397
3405
  integer: {
3398
3406
  maximumFractionDigits: 0
@@ -3453,7 +3461,7 @@ var Vt = (
3453
3461
  }, e;
3454
3462
  }()
3455
3463
  );
3456
- function Ln(e, t) {
3464
+ function Nn(e, t) {
3457
3465
  if (t == null)
3458
3466
  return;
3459
3467
  if (t in e)
@@ -3474,101 +3482,101 @@ function Ln(e, t) {
3474
3482
  n = void 0;
3475
3483
  return n;
3476
3484
  }
3477
- const C = {}, Nn = (e, t, r) => r && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = r), r), Xt = (e, t) => {
3485
+ const C = {}, In = (e, t, r) => r && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = r), r), Xt = (e, t) => {
3478
3486
  if (t == null)
3479
3487
  return;
3480
3488
  if (t in C && e in C[t])
3481
3489
  return C[t][e];
3482
- const r = ie(t);
3490
+ const r = se(t);
3483
3491
  for (let n = 0; n < r.length; n++) {
3484
- const i = r[n], s = Mn(i, e);
3492
+ const i = r[n], s = $n(i, e);
3485
3493
  if (s)
3486
- return Nn(e, t, s);
3494
+ return In(e, t, s);
3487
3495
  }
3488
3496
  };
3489
3497
  let Ze;
3490
- const ne = _e({});
3491
- function In(e) {
3498
+ const ie = ye({});
3499
+ function Mn(e) {
3492
3500
  return Ze[e] || null;
3493
3501
  }
3494
- function Wt(e) {
3502
+ function zt(e) {
3495
3503
  return e in Ze;
3496
3504
  }
3497
- function Mn(e, t) {
3498
- if (!Wt(e))
3505
+ function $n(e, t) {
3506
+ if (!zt(e))
3499
3507
  return null;
3500
- const r = In(e);
3501
- return Ln(r, t);
3508
+ const r = Mn(e);
3509
+ return Nn(r, t);
3502
3510
  }
3503
- function $n(e) {
3511
+ function Rn(e) {
3504
3512
  if (e == null)
3505
3513
  return;
3506
- const t = ie(e);
3514
+ const t = se(e);
3507
3515
  for (let r = 0; r < t.length; r++) {
3508
3516
  const n = t[r];
3509
- if (Wt(n))
3517
+ if (zt(n))
3510
3518
  return n;
3511
3519
  }
3512
3520
  }
3513
- function zt(e, ...t) {
3514
- delete C[e], ne.update((r) => (r[e] = Dr.all([r[e] || {}, ...t]), r));
3521
+ function Wt(e, ...t) {
3522
+ delete C[e], ie.update((r) => (r[e] = Gr.all([r[e] || {}, ...t]), r));
3515
3523
  }
3516
3524
  Q(
3517
- [ne],
3525
+ [ie],
3518
3526
  ([e]) => Object.keys(e)
3519
3527
  );
3520
- ne.subscribe((e) => Ze = e);
3521
- const ce = {};
3522
- function Rn(e, t) {
3523
- ce[e].delete(t), ce[e].size === 0 && delete ce[e];
3528
+ ie.subscribe((e) => Ze = e);
3529
+ const me = {};
3530
+ function Un(e, t) {
3531
+ me[e].delete(t), me[e].size === 0 && delete me[e];
3524
3532
  }
3525
3533
  function Zt(e) {
3526
- return ce[e];
3534
+ return me[e];
3527
3535
  }
3528
- function Un(e) {
3529
- return ie(e).map((t) => {
3536
+ function Dn(e) {
3537
+ return se(e).map((t) => {
3530
3538
  const r = Zt(t);
3531
3539
  return [t, r ? [...r] : []];
3532
3540
  }).filter(([, t]) => t.length > 0);
3533
3541
  }
3534
- function de(e) {
3535
- return e == null ? !1 : ie(e).some(
3542
+ function be(e) {
3543
+ return e == null ? !1 : se(e).some(
3536
3544
  (t) => {
3537
3545
  var r;
3538
3546
  return (r = Zt(t)) == null ? void 0 : r.size;
3539
3547
  }
3540
3548
  );
3541
3549
  }
3542
- function Dn(e, t) {
3550
+ function Gn(e, t) {
3543
3551
  return Promise.all(
3544
- t.map((n) => (Rn(e, n), n().then((i) => i.default || i)))
3545
- ).then((n) => zt(e, ...n));
3552
+ t.map((n) => (Un(e, n), n().then((i) => i.default || i)))
3553
+ ).then((n) => Wt(e, ...n));
3546
3554
  }
3547
3555
  const J = {};
3548
3556
  function Qt(e) {
3549
- if (!de(e))
3557
+ if (!be(e))
3550
3558
  return e in J ? J[e] : Promise.resolve();
3551
- const t = Un(e);
3559
+ const t = Dn(e);
3552
3560
  return J[e] = Promise.all(
3553
3561
  t.map(
3554
- ([r, n]) => Dn(r, n)
3562
+ ([r, n]) => Gn(r, n)
3555
3563
  )
3556
3564
  ).then(() => {
3557
- if (de(e))
3565
+ if (be(e))
3558
3566
  return Qt(e);
3559
3567
  delete J[e];
3560
3568
  }), J[e];
3561
3569
  }
3562
- var ut = Object.getOwnPropertySymbols, Gn = Object.prototype.hasOwnProperty, Fn = Object.prototype.propertyIsEnumerable, jn = (e, t) => {
3570
+ var ut = Object.getOwnPropertySymbols, Fn = Object.prototype.hasOwnProperty, jn = Object.prototype.propertyIsEnumerable, kn = (e, t) => {
3563
3571
  var r = {};
3564
3572
  for (var n in e)
3565
- Gn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3573
+ Fn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3566
3574
  if (e != null && ut)
3567
3575
  for (var n of ut(e))
3568
- t.indexOf(n) < 0 && Fn.call(e, n) && (r[n] = e[n]);
3576
+ t.indexOf(n) < 0 && jn.call(e, n) && (r[n] = e[n]);
3569
3577
  return r;
3570
3578
  };
3571
- const kn = {
3579
+ const Vn = {
3572
3580
  number: {
3573
3581
  scientific: { notation: "scientific" },
3574
3582
  engineering: { notation: "engineering" },
@@ -3598,28 +3606,28 @@ const kn = {
3598
3606
  }
3599
3607
  }
3600
3608
  };
3601
- function Vn({ locale: e, id: t }) {
3609
+ function Xn({ locale: e, id: t }) {
3602
3610
  console.warn(
3603
- `[svelte-i18n] The message "${t}" was not found in "${ie(
3611
+ `[svelte-i18n] The message "${t}" was not found in "${se(
3604
3612
  e
3605
- ).join('", "')}".${de(L()) ? `
3613
+ ).join('", "')}".${be(L()) ? `
3606
3614
 
3607
3615
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3608
3616
  );
3609
3617
  }
3610
- const Xn = {
3618
+ const zn = {
3611
3619
  fallbackLocale: null,
3612
3620
  loadingDelay: 200,
3613
- formats: kn,
3621
+ formats: Vn,
3614
3622
  warnOnMissingMessages: !0,
3615
3623
  handleMissingMessage: void 0,
3616
3624
  ignoreTag: !0
3617
- }, Y = Xn;
3618
- function W() {
3625
+ }, Y = zn;
3626
+ function z() {
3619
3627
  return Y;
3620
3628
  }
3621
3629
  function Wn(e) {
3622
- const t = e, { formats: r } = t, n = jn(t, ["formats"]);
3630
+ const t = e, { formats: r } = t, n = kn(t, ["formats"]);
3623
3631
  let i = e.fallbackLocale;
3624
3632
  if (e.initialLocale)
3625
3633
  try {
@@ -3629,128 +3637,128 @@ function Wn(e) {
3629
3637
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
3630
3638
  );
3631
3639
  }
3632
- return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = Vn : console.warn(
3640
+ return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = Xn : console.warn(
3633
3641
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3634
3642
  )), Object.assign(Y, n, { initialLocale: i }), r && ("number" in r && Object.assign(Y.formats.number, r.number), "date" in r && Object.assign(Y.formats.date, r.date), "time" in r && Object.assign(Y.formats.time, r.time)), $.set(i);
3635
3643
  }
3636
- const Ne = _e(!1);
3637
- var zn = Object.defineProperty, Zn = Object.defineProperties, Qn = Object.getOwnPropertyDescriptors, ht = Object.getOwnPropertySymbols, qn = Object.prototype.hasOwnProperty, Jn = Object.prototype.propertyIsEnumerable, lt = (e, t, r) => t in e ? zn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Yn = (e, t) => {
3644
+ const Ie = ye(!1);
3645
+ var Zn = Object.defineProperty, Qn = Object.defineProperties, qn = Object.getOwnPropertyDescriptors, ht = Object.getOwnPropertySymbols, Jn = Object.prototype.hasOwnProperty, Yn = Object.prototype.propertyIsEnumerable, lt = (e, t, r) => t in e ? Zn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Kn = (e, t) => {
3638
3646
  for (var r in t || (t = {}))
3639
- qn.call(t, r) && lt(e, r, t[r]);
3647
+ Jn.call(t, r) && lt(e, r, t[r]);
3640
3648
  if (ht)
3641
3649
  for (var r of ht(t))
3642
- Jn.call(t, r) && lt(e, r, t[r]);
3650
+ Yn.call(t, r) && lt(e, r, t[r]);
3643
3651
  return e;
3644
- }, Kn = (e, t) => Zn(e, Qn(t));
3645
- let Ve;
3646
- const be = _e(null);
3652
+ }, ei = (e, t) => Qn(e, qn(t));
3653
+ let Xe;
3654
+ const ge = ye(null);
3647
3655
  function ft(e) {
3648
3656
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3649
3657
  }
3650
- function ie(e, t = W().fallbackLocale) {
3658
+ function se(e, t = z().fallbackLocale) {
3651
3659
  const r = ft(e);
3652
3660
  return t ? [.../* @__PURE__ */ new Set([...r, ...ft(t)])] : r;
3653
3661
  }
3654
3662
  function L() {
3655
- return Ve ?? void 0;
3663
+ return Xe ?? void 0;
3656
3664
  }
3657
- be.subscribe((e) => {
3658
- Ve = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3665
+ ge.subscribe((e) => {
3666
+ Xe = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3659
3667
  });
3660
- const ei = (e) => {
3661
- if (e && $n(e) && de(e)) {
3662
- const { loadingDelay: t } = W();
3668
+ const ti = (e) => {
3669
+ if (e && Rn(e) && be(e)) {
3670
+ const { loadingDelay: t } = z();
3663
3671
  let r;
3664
3672
  return typeof window < "u" && L() != null && t ? r = window.setTimeout(
3665
- () => Ne.set(!0),
3673
+ () => Ie.set(!0),
3666
3674
  t
3667
- ) : Ne.set(!0), Qt(e).then(() => {
3668
- be.set(e);
3675
+ ) : Ie.set(!0), Qt(e).then(() => {
3676
+ ge.set(e);
3669
3677
  }).finally(() => {
3670
- clearTimeout(r), Ne.set(!1);
3678
+ clearTimeout(r), Ie.set(!1);
3671
3679
  });
3672
3680
  }
3673
- return be.set(e);
3674
- }, $ = Kn(Yn({}, be), {
3675
- set: ei
3676
- }), xe = (e) => {
3681
+ return ge.set(e);
3682
+ }, $ = ei(Kn({}, ge), {
3683
+ set: ti
3684
+ }), ve = (e) => {
3677
3685
  const t = /* @__PURE__ */ Object.create(null);
3678
3686
  return (n) => {
3679
3687
  const i = JSON.stringify(n);
3680
3688
  return i in t ? t[i] : t[i] = e(n);
3681
3689
  };
3682
3690
  };
3683
- var ti = Object.defineProperty, ge = Object.getOwnPropertySymbols, qt = Object.prototype.hasOwnProperty, Jt = Object.prototype.propertyIsEnumerable, ct = (e, t, r) => t in e ? ti(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Qe = (e, t) => {
3691
+ var ri = Object.defineProperty, _e = Object.getOwnPropertySymbols, qt = Object.prototype.hasOwnProperty, Jt = Object.prototype.propertyIsEnumerable, ct = (e, t, r) => t in e ? ri(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Qe = (e, t) => {
3684
3692
  for (var r in t || (t = {}))
3685
3693
  qt.call(t, r) && ct(e, r, t[r]);
3686
- if (ge)
3687
- for (var r of ge(t))
3694
+ if (_e)
3695
+ for (var r of _e(t))
3688
3696
  Jt.call(t, r) && ct(e, r, t[r]);
3689
3697
  return e;
3690
3698
  }, q = (e, t) => {
3691
3699
  var r = {};
3692
3700
  for (var n in e)
3693
3701
  qt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3694
- if (e != null && ge)
3695
- for (var n of ge(e))
3702
+ if (e != null && _e)
3703
+ for (var n of _e(e))
3696
3704
  t.indexOf(n) < 0 && Jt.call(e, n) && (r[n] = e[n]);
3697
3705
  return r;
3698
3706
  };
3699
- const te = (e, t) => {
3700
- const { formats: r } = W();
3707
+ const re = (e, t) => {
3708
+ const { formats: r } = z();
3701
3709
  if (e in r && t in r[e])
3702
3710
  return r[e][t];
3703
3711
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3704
- }, ri = xe(
3712
+ }, ni = ve(
3705
3713
  (e) => {
3706
3714
  var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
3707
3715
  if (r == null)
3708
3716
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3709
- return n && (i = te("number", n)), new Intl.NumberFormat(r, i);
3717
+ return n && (i = re("number", n)), new Intl.NumberFormat(r, i);
3710
3718
  }
3711
- ), ni = xe(
3719
+ ), ii = ve(
3712
3720
  (e) => {
3713
3721
  var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
3714
3722
  if (r == null)
3715
3723
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3716
- return n ? i = te("date", n) : Object.keys(i).length === 0 && (i = te("date", "short")), new Intl.DateTimeFormat(r, i);
3724
+ return n ? i = re("date", n) : Object.keys(i).length === 0 && (i = re("date", "short")), new Intl.DateTimeFormat(r, i);
3717
3725
  }
3718
- ), ii = xe(
3726
+ ), si = ve(
3719
3727
  (e) => {
3720
3728
  var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
3721
3729
  if (r == null)
3722
3730
  throw new Error(
3723
3731
  '[svelte-i18n] A "locale" must be set to format time values'
3724
3732
  );
3725
- return n ? i = te("time", n) : Object.keys(i).length === 0 && (i = te("time", "short")), new Intl.DateTimeFormat(r, i);
3733
+ return n ? i = re("time", n) : Object.keys(i).length === 0 && (i = re("time", "short")), new Intl.DateTimeFormat(r, i);
3726
3734
  }
3727
- ), si = (e = {}) => {
3735
+ ), oi = (e = {}) => {
3728
3736
  var t = e, {
3729
3737
  locale: r = L()
3730
3738
  } = t, n = q(t, [
3731
3739
  "locale"
3732
3740
  ]);
3733
- return ri(Qe({ locale: r }, n));
3734
- }, oi = (e = {}) => {
3741
+ return ni(Qe({ locale: r }, n));
3742
+ }, ai = (e = {}) => {
3735
3743
  var t = e, {
3736
3744
  locale: r = L()
3737
3745
  } = t, n = q(t, [
3738
3746
  "locale"
3739
3747
  ]);
3740
- return ni(Qe({ locale: r }, n));
3741
- }, ai = (e = {}) => {
3748
+ return ii(Qe({ locale: r }, n));
3749
+ }, ui = (e = {}) => {
3742
3750
  var t = e, {
3743
3751
  locale: r = L()
3744
3752
  } = t, n = q(t, [
3745
3753
  "locale"
3746
3754
  ]);
3747
- return ii(Qe({ locale: r }, n));
3748
- }, ui = xe(
3755
+ return si(Qe({ locale: r }, n));
3756
+ }, hi = ve(
3749
3757
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3750
- (e, t = L()) => new Vt(e, t, W().formats, {
3751
- ignoreTag: W().ignoreTag
3758
+ (e, t = L()) => new Vt(e, t, z().formats, {
3759
+ ignoreTag: z().ignoreTag
3752
3760
  })
3753
- ), hi = (e, t = {}) => {
3761
+ ), li = (e, t = {}) => {
3754
3762
  var r, n, i, s;
3755
3763
  let u = t;
3756
3764
  typeof e == "object" && (u = e, e = u.id);
@@ -3765,7 +3773,7 @@ const te = (e, t) => {
3765
3773
  );
3766
3774
  let h = Xt(e, l);
3767
3775
  if (!h)
3768
- h = (s = (i = (n = (r = W()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: a })) != null ? i : a) != null ? s : e;
3776
+ h = (s = (i = (n = (r = z()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: a })) != null ? i : a) != null ? s : e;
3769
3777
  else if (typeof h != "string")
3770
3778
  return console.warn(
3771
3779
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -3774,7 +3782,7 @@ const te = (e, t) => {
3774
3782
  return h;
3775
3783
  let f = h;
3776
3784
  try {
3777
- f = ui(h, l).format(o);
3785
+ f = hi(h, l).format(o);
3778
3786
  } catch (c) {
3779
3787
  c instanceof Error && console.warn(
3780
3788
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3782,15 +3790,15 @@ const te = (e, t) => {
3782
3790
  );
3783
3791
  }
3784
3792
  return f;
3785
- }, li = (e, t) => ai(t).format(e), fi = (e, t) => oi(t).format(e), ci = (e, t) => si(t).format(e), mi = (e, t = L()) => Xt(e, t), pi = Q([$, ne], () => hi);
3786
- Q([$], () => li);
3793
+ }, fi = (e, t) => ui(t).format(e), ci = (e, t) => ai(t).format(e), mi = (e, t) => oi(t).format(e), pi = (e, t = L()) => Xt(e, t), di = Q([$, ie], () => li);
3787
3794
  Q([$], () => fi);
3788
3795
  Q([$], () => ci);
3789
- Q([$, ne], () => mi);
3796
+ Q([$], () => mi);
3797
+ Q([$, ie], () => pi);
3790
3798
  function mt(e, t) {
3791
- zt(e, t);
3799
+ Wt(e, t);
3792
3800
  }
3793
- function di(e) {
3801
+ function bi(e) {
3794
3802
  Wn({
3795
3803
  fallbackLocale: "en"
3796
3804
  }), $.set(e);
@@ -3818,15 +3826,15 @@ const pt = {
3818
3826
  }
3819
3827
  }
3820
3828
  };
3821
- function bi(e) {
3829
+ function gi(e) {
3822
3830
  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}");
3823
3831
  }
3824
- const gi = (e) => ({}), dt = (e) => ({}), _i = (e) => ({}), bt = (e) => ({}), yi = (e) => ({}), gt = (e) => ({});
3832
+ const _i = (e) => ({}), dt = (e) => ({}), yi = (e) => ({}), bt = (e) => ({}), Ei = (e) => ({}), gt = (e) => ({});
3825
3833
  function _t(e) {
3826
3834
  let t, r, n;
3827
3835
  return {
3828
3836
  c() {
3829
- 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>', Z(t, "class", "CashierHeaderLeftButton");
3837
+ 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");
3830
3838
  },
3831
3839
  m(i, s) {
3832
3840
  M(i, t, s), r || (n = Tt(
@@ -3842,7 +3850,7 @@ function _t(e) {
3842
3850
  }
3843
3851
  };
3844
3852
  }
3845
- function Ei(e) {
3853
+ function xi(e) {
3846
3854
  let t, r = (
3847
3855
  /*backButton*/
3848
3856
  e[1] && _t(e)
@@ -3863,7 +3871,7 @@ function Ei(e) {
3863
3871
  }
3864
3872
  };
3865
3873
  }
3866
- function xi(e) {
3874
+ function vi(e) {
3867
3875
  let t, r = (
3868
3876
  /*$_*/
3869
3877
  e[4](
@@ -3873,10 +3881,10 @@ function xi(e) {
3873
3881
  ), n;
3874
3882
  return {
3875
3883
  c() {
3876
- t = z("span"), n = We(r), Z(t, "class", "CashierHeaderTitle");
3884
+ t = W("span"), n = We(r), Z(t, "class", "CashierHeaderTitle");
3877
3885
  },
3878
3886
  m(i, s) {
3879
- M(i, t, s), me(t, n);
3887
+ M(i, t, s), pe(t, n);
3880
3888
  },
3881
3889
  p(i, s) {
3882
3890
  s & /*$_, titleText*/
@@ -3895,7 +3903,7 @@ function yt(e) {
3895
3903
  let t, r, n;
3896
3904
  return {
3897
3905
  c() {
3898
- 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>', Z(t, "class", "CashierHeaderRightButton");
3906
+ 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");
3899
3907
  },
3900
3908
  m(i, s) {
3901
3909
  M(i, t, s), r || (n = Tt(
@@ -3911,7 +3919,7 @@ function yt(e) {
3911
3919
  }
3912
3920
  };
3913
3921
  }
3914
- function vi(e) {
3922
+ function Hi(e) {
3915
3923
  let t, r = (
3916
3924
  /*closeButton*/
3917
3925
  e[3] && yt(e)
@@ -3932,96 +3940,96 @@ function vi(e) {
3932
3940
  }
3933
3941
  };
3934
3942
  }
3935
- function Hi(e) {
3943
+ function Bi(e) {
3936
3944
  let t, r, n, i;
3937
3945
  const s = (
3938
3946
  /*#slots*/
3939
3947
  e[15].leftButton
3940
- ), u = ve(
3948
+ ), u = He(
3941
3949
  s,
3942
3950
  e,
3943
3951
  /*$$scope*/
3944
3952
  e[14],
3945
3953
  gt
3946
- ), o = u || Ei(e), l = (
3954
+ ), o = u || xi(e), l = (
3947
3955
  /*#slots*/
3948
3956
  e[15].title
3949
- ), a = ve(
3957
+ ), a = He(
3950
3958
  l,
3951
3959
  e,
3952
3960
  /*$$scope*/
3953
3961
  e[14],
3954
3962
  bt
3955
- ), h = a || xi(e), f = (
3963
+ ), h = a || vi(e), f = (
3956
3964
  /*#slots*/
3957
3965
  e[15].rightButton
3958
- ), c = ve(
3966
+ ), c = He(
3959
3967
  f,
3960
3968
  e,
3961
3969
  /*$$scope*/
3962
3970
  e[14],
3963
3971
  dt
3964
- ), p = c || vi(e);
3972
+ ), p = c || Hi(e);
3965
3973
  return {
3966
3974
  c() {
3967
- t = z("div"), o && o.c(), r = Je(), h && h.c(), n = Je(), p && p.c(), Z(t, "class", "CashierHeader");
3975
+ t = W("div"), o && o.c(), r = Je(), h && h.c(), n = Je(), p && p.c(), Z(t, "class", "CashierHeader");
3968
3976
  },
3969
3977
  m(m, g) {
3970
- M(m, t, g), o && o.m(t, null), me(t, r), h && h.m(t, null), me(t, n), p && p.m(t, null), e[16](t), i = !0;
3978
+ M(m, t, g), o && o.m(t, null), pe(t, r), h && h.m(t, null), pe(t, n), p && p.m(t, null), e[16](t), i = !0;
3971
3979
  },
3972
3980
  p(m, [g]) {
3973
3981
  u ? u.p && (!i || g & /*$$scope*/
3974
- 16384) && Be(
3982
+ 16384) && Te(
3975
3983
  u,
3976
3984
  s,
3977
3985
  m,
3978
3986
  /*$$scope*/
3979
3987
  m[14],
3980
- i ? He(
3988
+ i ? Be(
3981
3989
  s,
3982
3990
  /*$$scope*/
3983
3991
  m[14],
3984
3992
  g,
3985
- yi
3986
- ) : Te(
3993
+ Ei
3994
+ ) : we(
3987
3995
  /*$$scope*/
3988
3996
  m[14]
3989
3997
  ),
3990
3998
  gt
3991
3999
  ) : o && o.p && (!i || g & /*backButton*/
3992
4000
  2) && o.p(m, i ? g : -1), a ? a.p && (!i || g & /*$$scope*/
3993
- 16384) && Be(
4001
+ 16384) && Te(
3994
4002
  a,
3995
4003
  l,
3996
4004
  m,
3997
4005
  /*$$scope*/
3998
4006
  m[14],
3999
- i ? He(
4007
+ i ? Be(
4000
4008
  l,
4001
4009
  /*$$scope*/
4002
4010
  m[14],
4003
4011
  g,
4004
- _i
4005
- ) : Te(
4012
+ yi
4013
+ ) : we(
4006
4014
  /*$$scope*/
4007
4015
  m[14]
4008
4016
  ),
4009
4017
  bt
4010
4018
  ) : h && h.p && (!i || g & /*$_, titleText*/
4011
4019
  20) && h.p(m, i ? g : -1), c ? c.p && (!i || g & /*$$scope*/
4012
- 16384) && Be(
4020
+ 16384) && Te(
4013
4021
  c,
4014
4022
  f,
4015
4023
  m,
4016
4024
  /*$$scope*/
4017
4025
  m[14],
4018
- i ? He(
4026
+ i ? Be(
4019
4027
  f,
4020
4028
  /*$$scope*/
4021
4029
  m[14],
4022
4030
  g,
4023
- gi
4024
- ) : Te(
4031
+ _i
4032
+ ) : we(
4025
4033
  /*$$scope*/
4026
4034
  m[14]
4027
4035
  ),
@@ -4030,19 +4038,19 @@ function Hi(e) {
4030
4038
  8) && p.p(m, i ? g : -1);
4031
4039
  },
4032
4040
  i(m) {
4033
- i || (he(o, m), he(h, m), he(p, m), i = !0);
4041
+ i || (le(o, m), le(h, m), le(p, m), i = !0);
4034
4042
  },
4035
4043
  o(m) {
4036
- Se(o, m), Se(h, m), Se(p, m), i = !1;
4044
+ Ae(o, m), Ae(h, m), Ae(p, m), i = !1;
4037
4045
  },
4038
4046
  d(m) {
4039
4047
  m && P(t), o && o.d(m), h && h.d(m), p && p.d(m), e[16](null);
4040
4048
  }
4041
4049
  };
4042
4050
  }
4043
- function Bi(e, t, r) {
4051
+ function Ti(e, t, r) {
4044
4052
  let n;
4045
- ir(e, pi, (_) => r(4, n = _));
4053
+ ir(e, di, (_) => r(4, n = _));
4046
4054
  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;
4047
4055
  const N = () => {
4048
4056
  let _ = l;
@@ -4071,12 +4079,12 @@ function Bi(e, t, r) {
4071
4079
  );
4072
4080
  });
4073
4081
  }, I = () => {
4074
- di(f);
4082
+ bi(f);
4075
4083
  }, w = () => {
4076
4084
  window.postMessage({ type: "CloseCashier" }, window.location.href);
4077
4085
  }, R = () => {
4078
4086
  window.postMessage({ type: "BackCashier" }, window.location.href);
4079
- }, se = () => {
4087
+ }, oe = () => {
4080
4088
  r(1, m = !!a && a !== "false");
4081
4089
  }, Kt = () => {
4082
4090
  r(3, v = !!c && c !== "false");
@@ -4084,7 +4092,7 @@ function Bi(e, t, r) {
4084
4092
  r(2, g = h || "header.general");
4085
4093
  };
4086
4094
  function tr(_) {
4087
- Ie[_ ? "unshift" : "push"](() => {
4095
+ Me[_ ? "unshift" : "push"](() => {
4088
4096
  p = _, r(0, p);
4089
4097
  });
4090
4098
  }
@@ -4097,7 +4105,7 @@ function Bi(e, t, r) {
4097
4105
  129 && u && p && O(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4098
4106
  257 && o && p && H(), e.$$.dirty & /*lang, translationurl*/
4099
4107
  4608 && f && l && N(), e.$$.dirty & /*showbackbutton*/
4100
- 1024 && a && se(), e.$$.dirty & /*showclosebutton*/
4108
+ 1024 && a && oe(), e.$$.dirty & /*showclosebutton*/
4101
4109
  8192 && c && Kt();
4102
4110
  }, [
4103
4111
  p,
@@ -4119,13 +4127,13 @@ function Bi(e, t, r) {
4119
4127
  tr
4120
4128
  ];
4121
4129
  }
4122
- class Yt extends xr {
4130
+ class Yt extends vr {
4123
4131
  constructor(t) {
4124
- super(), yr(
4132
+ super(), Er(
4125
4133
  this,
4126
4134
  t,
4135
+ Ti,
4127
4136
  Bi,
4128
- Hi,
4129
4137
  xt,
4130
4138
  {
4131
4139
  clientstyling: 7,
@@ -4136,7 +4144,7 @@ class Yt extends xr {
4136
4144
  lang: 12,
4137
4145
  showclosebutton: 13
4138
4146
  },
4139
- bi
4147
+ gi
4140
4148
  );
4141
4149
  }
4142
4150
  get clientstyling() {
@@ -4182,31 +4190,32 @@ class Yt extends xr {
4182
4190
  this.$$set({ showclosebutton: t }), A();
4183
4191
  }
4184
4192
  }
4185
- Er(Yt, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {} }, ["leftButton", "title", "rightButton"], [], !0);
4186
- const Si = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4193
+ xr(Yt, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {} }, ["leftButton", "title", "rightButton"], [], !0);
4194
+ const Oi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4187
4195
  __proto__: null,
4188
4196
  default: Yt
4189
4197
  }, Symbol.toStringTag, { value: "Module" }));
4190
4198
  export {
4191
4199
  $,
4192
- Si as C,
4193
- xr as S,
4194
- zt as a,
4195
- yr as b,
4196
- Er as c,
4200
+ Oi as C,
4201
+ vr as S,
4202
+ Wt as a,
4203
+ Er as b,
4204
+ xr as c,
4197
4205
  sr as d,
4198
4206
  P as e,
4199
4207
  A as f,
4200
- wi as g,
4201
- Ti as h,
4208
+ Si as g,
4209
+ wi as h,
4202
4210
  Wn as i,
4203
4211
  Z as j,
4204
4212
  M as k,
4205
- me as l,
4213
+ pe as l,
4206
4214
  Tt as m,
4207
4215
  B as n,
4208
- z as o,
4216
+ W as o,
4209
4217
  Je as p,
4210
- Ie as q,
4218
+ Ai as q,
4219
+ Me as r,
4211
4220
  xt as s
4212
4221
  };