@everymatrix/cashier-receipt-page 1.99.22 → 1.99.24

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,16 +1,16 @@
1
1
  var gi = Object.defineProperty, bi = Object.defineProperties;
2
2
  var yi = Object.getOwnPropertyDescriptors;
3
- var An = Object.getOwnPropertySymbols;
3
+ var kn = Object.getOwnPropertySymbols;
4
4
  var vi = Object.prototype.hasOwnProperty, Ci = Object.prototype.propertyIsEnumerable;
5
5
  var jt = (e, t, n) => t in e ? gi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, gt = (e, t) => {
6
6
  for (var n in t || (t = {}))
7
7
  vi.call(t, n) && jt(e, n, t[n]);
8
- if (An)
9
- for (var n of An(t))
8
+ if (kn)
9
+ for (var n of kn(t))
10
10
  Ci.call(t, n) && jt(e, n, t[n]);
11
11
  return e;
12
12
  }, In = (e, t) => bi(e, yi(t));
13
- var ve = (e, t, n) => (jt(e, typeof t != "symbol" ? t + "" : t, n), n);
13
+ var ue = (e, t, n) => (jt(e, typeof t != "symbol" ? t + "" : t, n), n);
14
14
  var Gt = (e, t, n) => new Promise((r, i) => {
15
15
  var o = (u) => {
16
16
  try {
@@ -44,7 +44,7 @@ function vr(e) {
44
44
  function Ln() {
45
45
  return /* @__PURE__ */ Object.create(null);
46
46
  }
47
- function ke(e) {
47
+ function Ae(e) {
48
48
  e.forEach(vr);
49
49
  }
50
50
  function ct(e) {
@@ -136,7 +136,7 @@ function C(e, t) {
136
136
  function Ti(e, t, n) {
137
137
  const r = bn(e);
138
138
  if (!r.getElementById(t)) {
139
- const i = S("style");
139
+ const i = T("style");
140
140
  i.id = t, i.textContent = n, Hr(r, i);
141
141
  }
142
142
  }
@@ -151,7 +151,7 @@ function bn(e) {
151
151
  ) : e.ownerDocument;
152
152
  }
153
153
  function Si(e) {
154
- const t = S("style");
154
+ const t = T("style");
155
155
  return t.textContent = "/* empty */", Hr(bn(e), t), t.sheet;
156
156
  }
157
157
  function Hr(e, t) {
@@ -164,17 +164,17 @@ function Hr(e, t) {
164
164
  function P(e, t, n) {
165
165
  e.insertBefore(t, n || null);
166
166
  }
167
- function M(e) {
167
+ function H(e) {
168
168
  e.parentNode && e.parentNode.removeChild(e);
169
169
  }
170
170
  function Mr(e, t) {
171
171
  for (let n = 0; n < e.length; n += 1)
172
172
  e[n] && e[n].d(t);
173
173
  }
174
- function S(e) {
174
+ function T(e) {
175
175
  return document.createElement(e);
176
176
  }
177
- function ge(e) {
177
+ function be(e) {
178
178
  return document.createElementNS("http://www.w3.org/2000/svg", e);
179
179
  }
180
180
  function j(e) {
@@ -189,12 +189,12 @@ function yn() {
189
189
  function st(e, t, n, r) {
190
190
  return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
191
191
  }
192
- function h(e, t, n) {
192
+ function f(e, t, n) {
193
193
  n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
194
194
  }
195
195
  function W(e, t, n) {
196
196
  const r = t.toLowerCase();
197
- r in e ? e[r] = typeof e[r] == "boolean" && n === "" ? !0 : n : t in e ? e[t] = typeof e[t] == "boolean" && n === "" ? !0 : n : h(e, t, n);
197
+ r in e ? e[r] = typeof e[r] == "boolean" && n === "" ? !0 : n : t in e ? e[t] = typeof e[t] == "boolean" && n === "" ? !0 : n : f(e, t, n);
198
198
  }
199
199
  function Ei(e) {
200
200
  return Array.from(e.childNodes);
@@ -206,6 +206,76 @@ function V(e, t) {
206
206
  function Hi(e, t, { bubbles: n = !1, cancelable: r = !1 } = {}) {
207
207
  return new CustomEvent(e, { detail: t, bubbles: n, cancelable: r });
208
208
  }
209
+ class ja {
210
+ constructor(t = !1) {
211
+ /**
212
+ * @private
213
+ * @default false
214
+ */
215
+ ue(this, "is_svg", !1);
216
+ /** parent for creating node */
217
+ ue(this, "e");
218
+ /** html tag nodes */
219
+ ue(this, "n");
220
+ /** target */
221
+ ue(this, "t");
222
+ /** anchor */
223
+ ue(this, "a");
224
+ this.is_svg = t, this.e = this.n = null;
225
+ }
226
+ /**
227
+ * @param {string} html
228
+ * @returns {void}
229
+ */
230
+ c(t) {
231
+ this.h(t);
232
+ }
233
+ /**
234
+ * @param {string} html
235
+ * @param {HTMLElement | SVGElement} target
236
+ * @param {HTMLElement | SVGElement} anchor
237
+ * @returns {void}
238
+ */
239
+ m(t, n, r = null) {
240
+ this.e || (this.is_svg ? this.e = be(
241
+ /** @type {keyof SVGElementTagNameMap} */
242
+ n.nodeName
243
+ ) : this.e = T(
244
+ /** @type {keyof HTMLElementTagNameMap} */
245
+ n.nodeType === 11 ? "TEMPLATE" : n.nodeName
246
+ ), this.t = n.tagName !== "TEMPLATE" ? n : (
247
+ /** @type {HTMLTemplateElement} */
248
+ n.content
249
+ ), this.c(t)), this.i(r);
250
+ }
251
+ /**
252
+ * @param {string} html
253
+ * @returns {void}
254
+ */
255
+ h(t) {
256
+ this.e.innerHTML = t, this.n = Array.from(
257
+ this.e.nodeName === "TEMPLATE" ? this.e.content.childNodes : this.e.childNodes
258
+ );
259
+ }
260
+ /**
261
+ * @returns {void} */
262
+ i(t) {
263
+ for (let n = 0; n < this.n.length; n += 1)
264
+ P(this.t, this.n[n], t);
265
+ }
266
+ /**
267
+ * @param {string} html
268
+ * @returns {void}
269
+ */
270
+ p(t) {
271
+ this.d(), this.h(t), this.i(this.a);
272
+ }
273
+ /**
274
+ * @returns {void} */
275
+ d() {
276
+ this.n.forEach(H);
277
+ }
278
+ }
209
279
  function Mi(e) {
210
280
  const t = {};
211
281
  return e.childNodes.forEach(
@@ -232,28 +302,28 @@ function Br(e, t, n, r, i, o, s, a = 0) {
232
302
  let l = `{
233
303
  `;
234
304
  for (let B = 0; B <= 1; B += u) {
235
- const A = t + (n - t) * o(B);
236
- l += B * 100 + `%{${s(A, 1 - A)}}
305
+ const k = t + (n - t) * o(B);
306
+ l += B * 100 + `%{${s(k, 1 - k)}}
237
307
  `;
238
308
  }
239
309
  const c = l + `100% {${s(n, 1 - n)}}
240
- }`, f = `__svelte_${Bi(c)}_${a}`, m = bn(e), { stylesheet: g, rules: v } = Et.get(m) || Pi(m, e);
241
- v[f] || (v[f] = !0, g.insertRule(`@keyframes ${f} ${c}`, g.cssRules.length));
242
- const d = e.style.animation || "";
243
- return e.style.animation = `${d ? `${d}, ` : ""}${f} ${r}ms linear ${i}ms 1 both`, Ht += 1, f;
310
+ }`, h = `__svelte_${Bi(c)}_${a}`, m = bn(e), { stylesheet: g, rules: v } = Et.get(m) || Pi(m, e);
311
+ v[h] || (v[h] = !0, g.insertRule(`@keyframes ${h} ${c}`, g.cssRules.length));
312
+ const p = e.style.animation || "";
313
+ return e.style.animation = `${p ? `${p}, ` : ""}${h} ${r}ms linear ${i}ms 1 both`, Ht += 1, h;
244
314
  }
245
315
  function Kt(e, t) {
246
316
  const n = (e.style.animation || "").split(", "), r = n.filter(
247
317
  t ? (o) => o.indexOf(t) < 0 : (o) => o.indexOf("__svelte") === -1
248
318
  // remove all Svelte animations
249
319
  ), i = n.length - r.length;
250
- i && (e.style.animation = r.join(", "), Ht -= i, Ht || ki());
320
+ i && (e.style.animation = r.join(", "), Ht -= i, Ht || Ai());
251
321
  }
252
- function ki() {
322
+ function Ai() {
253
323
  gn(() => {
254
324
  Ht || (Et.forEach((e) => {
255
325
  const { ownerNode: t } = e.stylesheet;
256
- t && M(t);
326
+ t && H(t);
257
327
  }), Et.clear());
258
328
  });
259
329
  }
@@ -261,13 +331,13 @@ let at;
261
331
  function ot(e) {
262
332
  at = e;
263
333
  }
264
- function Ai() {
334
+ function ki() {
265
335
  if (!at)
266
336
  throw new Error("Function called outside component initialization");
267
337
  return at;
268
338
  }
269
339
  function Ii(e) {
270
- Ai().$$.on_mount.push(e);
340
+ ki().$$.on_mount.push(e);
271
341
  }
272
342
  const Ue = [], Mt = [];
273
343
  let Fe = [];
@@ -308,7 +378,7 @@ function X() {
308
378
  }
309
379
  function Di(e) {
310
380
  if (e.fragment !== null) {
311
- e.update(), ke(e.before_update);
381
+ e.update(), Ae(e.before_update);
312
382
  const t = e.dirty;
313
383
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ze);
314
384
  }
@@ -337,7 +407,7 @@ function $i() {
337
407
  };
338
408
  }
339
409
  function Ni() {
340
- Be.r || ke(Be.c), Be = Be.p;
410
+ Be.r || Ae(Be.c), Be = Be.p;
341
411
  }
342
412
  function Jt(e, t) {
343
413
  e && e.i && (Ct.delete(e), e.i(t));
@@ -352,7 +422,7 @@ function Ui(e, t, n, r) {
352
422
  } else
353
423
  r && r();
354
424
  }
355
- const kr = { duration: 0 };
425
+ const Ar = { duration: 0 };
356
426
  function ji(e, t, n) {
357
427
  const r = { direction: "in" };
358
428
  let i = t(e, n, r), o = !1, s, a, u = 0;
@@ -364,30 +434,30 @@ function ji(e, t, n) {
364
434
  delay: m = 0,
365
435
  duration: g = 300,
366
436
  easing: v = mn,
367
- tick: d = ie,
437
+ tick: p = ie,
368
438
  css: B
369
- } = i || kr;
370
- B && (s = Br(e, 0, 1, g, m, v, B, u++)), d(0, 1);
371
- const A = Tr() + m, N = A + g;
372
- a && a.abort(), o = !0, ze(() => Bt(e, !0, "start")), a = Er((k) => {
439
+ } = i || Ar;
440
+ B && (s = Br(e, 0, 1, g, m, v, B, u++)), p(0, 1);
441
+ const k = Tr() + m, N = k + g;
442
+ a && a.abort(), o = !0, ze(() => Bt(e, !0, "start")), a = Er((A) => {
373
443
  if (o) {
374
- if (k >= N)
375
- return d(1, 0), Bt(e, !0, "end"), l(), o = !1;
376
- if (k >= A) {
377
- const Z = v((k - A) / g);
378
- d(Z, 1 - Z);
444
+ if (A >= N)
445
+ return p(1, 0), Bt(e, !0, "end"), l(), o = !1;
446
+ if (A >= k) {
447
+ const Z = v((A - k) / g);
448
+ p(Z, 1 - Z);
379
449
  }
380
450
  }
381
451
  return o;
382
452
  });
383
453
  }
384
- let f = !1;
454
+ let h = !1;
385
455
  return {
386
456
  start() {
387
- f || (f = !0, Kt(e), ct(i) ? (i = i(r), Pr().then(c)) : c());
457
+ h || (h = !0, Kt(e), ct(i) ? (i = i(r), Pr().then(c)) : c());
388
458
  },
389
459
  invalidate() {
390
- f = !1;
460
+ h = !1;
391
461
  },
392
462
  end() {
393
463
  o && (l(), o = !1);
@@ -403,20 +473,20 @@ function Gi(e, t, n) {
403
473
  function l() {
404
474
  const {
405
475
  delay: c = 0,
406
- duration: f = 300,
476
+ duration: h = 300,
407
477
  easing: m = mn,
408
478
  tick: g = ie,
409
479
  css: v
410
- } = i || kr;
411
- v && (s = Br(e, 1, 0, f, c, m, v));
412
- const d = Tr() + c, B = d + f;
480
+ } = i || Ar;
481
+ v && (s = Br(e, 1, 0, h, c, m, v));
482
+ const p = Tr() + c, B = p + h;
413
483
  ze(() => Bt(e, !1, "start")), "inert" in e && (u = /** @type {HTMLElement} */
414
- e.inert, e.inert = !0), Er((A) => {
484
+ e.inert, e.inert = !0), Er((k) => {
415
485
  if (o) {
416
- if (A >= B)
417
- return g(0, 1), Bt(e, !1, "end"), --a.r || ke(a.c), !1;
418
- if (A >= d) {
419
- const N = m((A - d) / f);
486
+ if (k >= B)
487
+ return g(0, 1), Bt(e, !1, "end"), --a.r || Ae(a.c), !1;
488
+ if (k >= p) {
489
+ const N = m((k - p) / h);
420
490
  g(1 - N, N);
421
491
  }
422
492
  }
@@ -434,16 +504,19 @@ function Gi(e, t, n) {
434
504
  function Pt(e) {
435
505
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
436
506
  }
507
+ function Ga(e) {
508
+ e && e.c();
509
+ }
437
510
  function Fi(e, t, n) {
438
511
  const { fragment: r, after_update: i } = e.$$;
439
512
  r && r.m(t, n), ze(() => {
440
513
  const o = e.$$.on_mount.map(vr).filter(ct);
441
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ke(o), e.$$.on_mount = [];
514
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Ae(o), e.$$.on_mount = [];
442
515
  }), i.forEach(ze);
443
516
  }
444
517
  function zi(e, t) {
445
518
  const n = e.$$;
446
- n.fragment !== null && (Ri(n.after_update), ke(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
519
+ n.fragment !== null && (Ri(n.after_update), Ae(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
447
520
  }
448
521
  function Wi(e, t) {
449
522
  e.$$.dirty[0] === -1 && (Ue.push(e), Oi(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
@@ -474,41 +547,41 @@ function Vi(e, t, n, r, i, o, s = null, a = [-1]) {
474
547
  };
475
548
  s && s(l.root);
476
549
  let c = !1;
477
- if (l.ctx = n ? n(e, t.props || {}, (f, m, ...g) => {
550
+ if (l.ctx = n ? n(e, t.props || {}, (h, m, ...g) => {
478
551
  const v = g.length ? g[0] : m;
479
- return l.ctx && i(l.ctx[f], l.ctx[f] = v) && (!l.skip_bound && l.bound[f] && l.bound[f](v), c && Wi(e, f)), m;
480
- }) : [], l.update(), c = !0, ke(l.before_update), l.fragment = r ? r(l.ctx) : !1, t.target) {
552
+ return l.ctx && i(l.ctx[h], l.ctx[h] = v) && (!l.skip_bound && l.bound[h] && l.bound[h](v), c && Wi(e, h)), m;
553
+ }) : [], l.update(), c = !0, Ae(l.before_update), l.fragment = r ? r(l.ctx) : !1, t.target) {
481
554
  if (t.hydrate) {
482
- const f = Ei(t.target);
483
- l.fragment && l.fragment.l(f), f.forEach(M);
555
+ const h = Ei(t.target);
556
+ l.fragment && l.fragment.l(h), h.forEach(H);
484
557
  } else
485
558
  l.fragment && l.fragment.c();
486
559
  t.intro && Jt(e.$$.fragment), Fi(e, t.target, t.anchor), X();
487
560
  }
488
561
  ot(u);
489
562
  }
490
- let Ar;
491
- typeof HTMLElement == "function" && (Ar = class extends HTMLElement {
563
+ let kr;
564
+ typeof HTMLElement == "function" && (kr = class extends HTMLElement {
492
565
  constructor(t, n, r) {
493
566
  super();
494
567
  /** The Svelte component constructor */
495
- ve(this, "$$ctor");
568
+ ue(this, "$$ctor");
496
569
  /** Slots */
497
- ve(this, "$$s");
570
+ ue(this, "$$s");
498
571
  /** The Svelte component instance */
499
- ve(this, "$$c");
572
+ ue(this, "$$c");
500
573
  /** Whether or not the custom element is connected */
501
- ve(this, "$$cn", !1);
574
+ ue(this, "$$cn", !1);
502
575
  /** Component props data */
503
- ve(this, "$$d", {});
576
+ ue(this, "$$d", {});
504
577
  /** `true` if currently in the process of reflecting component props back to attributes */
505
- ve(this, "$$r", !1);
578
+ ue(this, "$$r", !1);
506
579
  /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
507
- ve(this, "$$p_d", {});
580
+ ue(this, "$$p_d", {});
508
581
  /** @type {Record<string, Function[]>} Event listeners */
509
- ve(this, "$$l", {});
582
+ ue(this, "$$l", {});
510
583
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
511
- ve(this, "$$l_u", /* @__PURE__ */ new Map());
584
+ ue(this, "$$l_u", /* @__PURE__ */ new Map());
512
585
  this.$$ctor = t, this.$$s = n, r && this.attachShadow({ mode: "open" });
513
586
  }
514
587
  addEventListener(t, n, r) {
@@ -532,7 +605,7 @@ typeof HTMLElement == "function" && (Ar = class extends HTMLElement {
532
605
  let s;
533
606
  return {
534
607
  c: function() {
535
- s = S("slot"), o !== "default" && h(s, "name", o);
608
+ s = T("slot"), o !== "default" && f(s, "name", o);
536
609
  },
537
610
  /**
538
611
  * @param {HTMLElement} target
@@ -542,7 +615,7 @@ typeof HTMLElement == "function" && (Ar = class extends HTMLElement {
542
615
  P(l, s, c);
543
616
  },
544
617
  d: function(l) {
545
- l && M(s);
618
+ l && H(s);
546
619
  }
547
620
  };
548
621
  };
@@ -639,7 +712,7 @@ function _t(e, t, n, r) {
639
712
  }
640
713
  }
641
714
  function Zi(e, t, n, r, i, o) {
642
- let s = class extends Ar {
715
+ let s = class extends kr {
643
716
  constructor() {
644
717
  super(e, n, i), this.$$p_d = t;
645
718
  }
@@ -678,7 +751,7 @@ class Yi {
678
751
  *
679
752
  * @type {any}
680
753
  */
681
- ve(this, "$$");
754
+ ue(this, "$$");
682
755
  /**
683
756
  * ### PRIVATE API
684
757
  *
@@ -686,7 +759,7 @@ class Yi {
686
759
  *
687
760
  * @type {any}
688
761
  */
689
- ve(this, "$$set");
762
+ ue(this, "$$set");
690
763
  }
691
764
  /** @returns {void} */
692
765
  $destroy() {
@@ -766,26 +839,26 @@ function Xe(e, t, n) {
766
839
  return qi(n, (s, a) => {
767
840
  let u = !1;
768
841
  const l = [];
769
- let c = 0, f = ie;
842
+ let c = 0, h = ie;
770
843
  const m = () => {
771
844
  if (c)
772
845
  return;
773
- f();
846
+ h();
774
847
  const v = t(r ? l[0] : l, s, a);
775
- o ? s(v) : f = ct(v) ? v : ie;
848
+ o ? s(v) : h = ct(v) ? v : ie;
776
849
  }, g = i.map(
777
- (v, d) => _r(
850
+ (v, p) => _r(
778
851
  v,
779
852
  (B) => {
780
- l[d] = B, c &= ~(1 << d), u && m();
853
+ l[p] = B, c &= ~(1 << p), u && m();
781
854
  },
782
855
  () => {
783
- c |= 1 << d;
856
+ c |= 1 << p;
784
857
  }
785
858
  )
786
859
  );
787
860
  return u = !0, m(), function() {
788
- ke(g), f(), u = !1;
861
+ Ae(g), h(), u = !1;
789
862
  };
790
863
  });
791
864
  }
@@ -863,7 +936,7 @@ We.all = function(t, n) {
863
936
  }, {});
864
937
  };
865
938
  var lo = We, co = lo;
866
- const fo = /* @__PURE__ */ vn(co);
939
+ const ho = /* @__PURE__ */ vn(co);
867
940
  var en = function(e, t) {
868
941
  return en = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
869
942
  n.__proto__ = r;
@@ -891,7 +964,7 @@ var Te = function() {
891
964
  return t;
892
965
  }, Te.apply(this, arguments);
893
966
  };
894
- function ho(e, t) {
967
+ function fo(e, t) {
895
968
  var n = {};
896
969
  for (var r in e)
897
970
  Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
@@ -954,15 +1027,15 @@ var yo = function() {
954
1027
  }
955
1028
  }, Vt = {
956
1029
  variadic: bo
957
- }, kt = function() {
958
- return kt = Object.assign || function(t) {
1030
+ }, At = function() {
1031
+ return At = Object.assign || function(t) {
959
1032
  for (var n, r = 1, i = arguments.length; r < i; r++) {
960
1033
  n = arguments[r];
961
1034
  for (var o in n)
962
1035
  Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
963
1036
  }
964
1037
  return t;
965
- }, kt.apply(this, arguments);
1038
+ }, At.apply(this, arguments);
966
1039
  };
967
1040
  var D;
968
1041
  (function(e) {
@@ -1122,8 +1195,8 @@ function Eo(e) {
1122
1195
  if (s.length === 0)
1123
1196
  throw new Error("Invalid number skeleton");
1124
1197
  for (var a = s[0], u = s.slice(1), l = 0, c = u; l < c.length; l++) {
1125
- var f = c[l];
1126
- if (f.length === 0)
1198
+ var h = c[l];
1199
+ if (h.length === 0)
1127
1200
  throw new Error("Invalid number skeleton");
1128
1201
  }
1129
1202
  n.push({ stem: a, options: u });
@@ -1284,11 +1357,11 @@ function Po(e) {
1284
1357
  case "integer-width":
1285
1358
  if (i.options.length > 1)
1286
1359
  throw new RangeError("integer-width stems only accept a single optional option");
1287
- i.options[0].replace(Mo, function(u, l, c, f, m, g) {
1360
+ i.options[0].replace(Mo, function(u, l, c, h, m, g) {
1288
1361
  if (l)
1289
1362
  t.minimumIntegerDigits = c.length;
1290
1363
  else {
1291
- if (f && m)
1364
+ if (h && m)
1292
1365
  throw new Error("We currently do not support maximum integer digits");
1293
1366
  if (g)
1294
1367
  throw new Error("We currently do not support exact integer digits");
@@ -1304,8 +1377,8 @@ function Po(e) {
1304
1377
  if (Un.test(i.stem)) {
1305
1378
  if (i.options.length > 1)
1306
1379
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1307
- i.stem.replace(Un, function(u, l, c, f, m, g) {
1308
- return c === "*" ? t.minimumFractionDigits = l.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : m && g ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + g.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1380
+ i.stem.replace(Un, function(u, l, c, h, m, g) {
1381
+ return c === "*" ? t.minimumFractionDigits = l.length : h && h[0] === "#" ? t.maximumFractionDigits = h.length : m && g ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + g.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1309
1382
  });
1310
1383
  var o = i.options[0];
1311
1384
  o === "w" ? t = ee(ee({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = ee(ee({}, t), jn(o)));
@@ -2737,13 +2810,13 @@ var yt = {
2737
2810
  "h"
2738
2811
  ]
2739
2812
  };
2740
- function ko(e, t) {
2813
+ function Ao(e, t) {
2741
2814
  for (var n = "", r = 0; r < e.length; r++) {
2742
2815
  var i = e.charAt(r);
2743
2816
  if (i === "j") {
2744
2817
  for (var o = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
2745
2818
  o++, r++;
2746
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = Ao(t);
2819
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = ko(t);
2747
2820
  for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
2748
2821
  n += u;
2749
2822
  for (; s-- > 0; )
@@ -2753,7 +2826,7 @@ function ko(e, t) {
2753
2826
  }
2754
2827
  return n;
2755
2828
  }
2756
- function Ao(e) {
2829
+ function ko(e) {
2757
2830
  var t = e.hourCycle;
2758
2831
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2759
2832
  e.hourCycles && // @ts-ignore
@@ -3074,10 +3147,10 @@ var Vo = (
3074
3147
  var l = null;
3075
3148
  if (this.bumpIf(",")) {
3076
3149
  this.bumpSpace();
3077
- var c = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3078
- if (f.err)
3079
- return f;
3080
- var m = Wo(f.val);
3150
+ var c = this.clonePosition(), h = this.parseSimpleArgStyleIfPossible();
3151
+ if (h.err)
3152
+ return h;
3153
+ var m = Wo(h.val);
3081
3154
  if (m.length === 0)
3082
3155
  return this.error(D.EXPECT_ARGUMENT_STYLE, $(this.clonePosition(), this.clonePosition()));
3083
3156
  var g = $(c, this.clonePosition());
@@ -3086,28 +3159,28 @@ var Vo = (
3086
3159
  var v = this.tryParseArgumentClose(i);
3087
3160
  if (v.err)
3088
3161
  return v;
3089
- var d = $(i, this.clonePosition());
3162
+ var p = $(i, this.clonePosition());
3090
3163
  if (l && Fn(l == null ? void 0 : l.style, "::", 0)) {
3091
3164
  var B = zo(l.style.slice(2));
3092
3165
  if (a === "number") {
3093
- var f = this.parseNumberSkeletonFromString(B, l.styleLocation);
3094
- return f.err ? f : {
3095
- val: { type: J.number, value: r, location: d, style: f.val },
3166
+ var h = this.parseNumberSkeletonFromString(B, l.styleLocation);
3167
+ return h.err ? h : {
3168
+ val: { type: J.number, value: r, location: p, style: h.val },
3096
3169
  err: null
3097
3170
  };
3098
3171
  } else {
3099
3172
  if (B.length === 0)
3100
- return this.error(D.EXPECT_DATE_TIME_SKELETON, d);
3101
- var A = B;
3102
- this.locale && (A = ko(B, this.locale));
3173
+ return this.error(D.EXPECT_DATE_TIME_SKELETON, p);
3174
+ var k = B;
3175
+ this.locale && (k = Ao(B, this.locale));
3103
3176
  var m = {
3104
3177
  type: Ve.dateTime,
3105
- pattern: A,
3178
+ pattern: k,
3106
3179
  location: l.styleLocation,
3107
- parsedOptions: this.shouldParseSkeletons ? To(A) : {}
3180
+ parsedOptions: this.shouldParseSkeletons ? To(k) : {}
3108
3181
  }, N = a === "date" ? J.date : J.time;
3109
3182
  return {
3110
- val: { type: N, value: r, location: d, style: m },
3183
+ val: { type: N, value: r, location: p, style: m },
3111
3184
  err: null
3112
3185
  };
3113
3186
  }
@@ -3116,7 +3189,7 @@ var Vo = (
3116
3189
  val: {
3117
3190
  type: a === "number" ? J.number : a === "date" ? J.date : J.time,
3118
3191
  value: r,
3119
- location: d,
3192
+ location: p,
3120
3193
  style: (o = l == null ? void 0 : l.style) !== null && o !== void 0 ? o : null
3121
3194
  },
3122
3195
  err: null
@@ -3125,19 +3198,19 @@ var Vo = (
3125
3198
  case "plural":
3126
3199
  case "selectordinal":
3127
3200
  case "select": {
3128
- var k = this.clonePosition();
3201
+ var A = this.clonePosition();
3129
3202
  if (this.bumpSpace(), !this.bumpIf(","))
3130
- return this.error(D.EXPECT_SELECT_ARGUMENT_OPTIONS, $(k, kt({}, k)));
3203
+ return this.error(D.EXPECT_SELECT_ARGUMENT_OPTIONS, $(A, At({}, A)));
3131
3204
  this.bumpSpace();
3132
3205
  var Z = this.parseIdentifierIfPossible(), q = 0;
3133
3206
  if (a !== "select" && Z.value === "offset") {
3134
3207
  if (!this.bumpIf(":"))
3135
3208
  return this.error(D.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, $(this.clonePosition(), this.clonePosition()));
3136
3209
  this.bumpSpace();
3137
- var f = this.tryParseDecimalInteger(D.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, D.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3138
- if (f.err)
3139
- return f;
3140
- this.bumpSpace(), Z = this.parseIdentifierIfPossible(), q = f.val;
3210
+ var h = this.tryParseDecimalInteger(D.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, D.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3211
+ if (h.err)
3212
+ return h;
3213
+ this.bumpSpace(), Z = this.parseIdentifierIfPossible(), q = h.val;
3141
3214
  }
3142
3215
  var I = this.tryParsePluralOrSelectOptions(t, a, n, Z);
3143
3216
  if (I.err)
@@ -3225,12 +3298,12 @@ var Vo = (
3225
3298
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, n, r, i) {
3226
3299
  for (var o, s = !1, a = [], u = /* @__PURE__ */ new Set(), l = i.value, c = i.location; ; ) {
3227
3300
  if (l.length === 0) {
3228
- var f = this.clonePosition();
3301
+ var h = this.clonePosition();
3229
3302
  if (n !== "select" && this.bumpIf("=")) {
3230
3303
  var m = this.tryParseDecimalInteger(D.EXPECT_PLURAL_ARGUMENT_SELECTOR, D.INVALID_PLURAL_ARGUMENT_SELECTOR);
3231
3304
  if (m.err)
3232
3305
  return m;
3233
- c = $(f, this.clonePosition()), l = this.message.slice(f.offset, this.offset());
3306
+ c = $(h, this.clonePosition()), l = this.message.slice(h.offset, this.offset());
3234
3307
  } else
3235
3308
  break;
3236
3309
  }
@@ -3243,9 +3316,9 @@ var Vo = (
3243
3316
  var v = this.parseMessage(t + 1, n, r);
3244
3317
  if (v.err)
3245
3318
  return v;
3246
- var d = this.tryParseArgumentClose(g);
3247
- if (d.err)
3248
- return d;
3319
+ var p = this.tryParseArgumentClose(g);
3320
+ if (p.err)
3321
+ return p;
3249
3322
  a.push([
3250
3323
  l,
3251
3324
  {
@@ -3357,7 +3430,7 @@ function an(e) {
3357
3430
  });
3358
3431
  }
3359
3432
  function qo(e, t) {
3360
- t === void 0 && (t = {}), t = kt({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3433
+ t === void 0 && (t = {}), t = At({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3361
3434
  var n = new Vo(e, t).parse();
3362
3435
  if (n.err) {
3363
3436
  var r = SyntaxError(D[n.err.kind]);
@@ -3408,14 +3481,14 @@ var $t = (
3408
3481
  }
3409
3482
  return t;
3410
3483
  }($t)
3411
- ), he;
3484
+ ), de;
3412
3485
  (function(e) {
3413
3486
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3414
- })(he || (he = {}));
3487
+ })(de || (de = {}));
3415
3488
  function Jo(e) {
3416
3489
  return e.length < 2 ? e : e.reduce(function(t, n) {
3417
3490
  var r = t[t.length - 1];
3418
- return !r || r.type !== he.literal || n.type !== he.literal ? t.push(n) : r.value += n.value, t;
3491
+ return !r || r.type !== de.literal || n.type !== de.literal ? t.push(n) : r.value += n.value, t;
3419
3492
  }, []);
3420
3493
  }
3421
3494
  function es(e) {
@@ -3425,7 +3498,7 @@ function wt(e, t, n, r, i, o, s) {
3425
3498
  if (e.length === 1 && Nn(e[0]))
3426
3499
  return [
3427
3500
  {
3428
- type: he.literal,
3501
+ type: de.literal,
3429
3502
  value: e[0].value
3430
3503
  }
3431
3504
  ];
@@ -3433,25 +3506,25 @@ function wt(e, t, n, r, i, o, s) {
3433
3506
  var c = l[u];
3434
3507
  if (Nn(c)) {
3435
3508
  a.push({
3436
- type: he.literal,
3509
+ type: de.literal,
3437
3510
  value: c.value
3438
3511
  });
3439
3512
  continue;
3440
3513
  }
3441
3514
  if (wo(c)) {
3442
3515
  typeof o == "number" && a.push({
3443
- type: he.literal,
3516
+ type: de.literal,
3444
3517
  value: n.getNumberFormat(t).format(o)
3445
3518
  });
3446
3519
  continue;
3447
3520
  }
3448
- var f = c.value;
3449
- if (!(i && f in i))
3450
- throw new Qo(f, s);
3451
- var m = i[f];
3521
+ var h = c.value;
3522
+ if (!(i && h in i))
3523
+ throw new Qo(h, s);
3524
+ var m = i[h];
3452
3525
  if (_o(c)) {
3453
3526
  (!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), a.push({
3454
- type: typeof m == "string" ? he.literal : he.object,
3527
+ type: typeof m == "string" ? de.literal : de.object,
3455
3528
  value: m
3456
3529
  });
3457
3530
  continue;
@@ -3459,7 +3532,7 @@ function wt(e, t, n, r, i, o, s) {
3459
3532
  if ($r(c)) {
3460
3533
  var g = typeof c.style == "string" ? r.date[c.style] : tn(c.style) ? c.style.parsedOptions : void 0;
3461
3534
  a.push({
3462
- type: he.literal,
3535
+ type: de.literal,
3463
3536
  value: n.getDateTimeFormat(t, g).format(m)
3464
3537
  });
3465
3538
  continue;
@@ -3467,7 +3540,7 @@ function wt(e, t, n, r, i, o, s) {
3467
3540
  if (Nr(c)) {
3468
3541
  var g = typeof c.style == "string" ? r.time[c.style] : tn(c.style) ? c.style.parsedOptions : r.time.medium;
3469
3542
  a.push({
3470
- type: he.literal,
3543
+ type: de.literal,
3471
3544
  value: n.getDateTimeFormat(t, g).format(m)
3472
3545
  });
3473
3546
  continue;
@@ -3475,45 +3548,45 @@ function wt(e, t, n, r, i, o, s) {
3475
3548
  if (Rr(c)) {
3476
3549
  var g = typeof c.style == "string" ? r.number[c.style] : Fr(c.style) ? c.style.parsedOptions : void 0;
3477
3550
  g && g.scale && (m = m * (g.scale || 1)), a.push({
3478
- type: he.literal,
3551
+ type: de.literal,
3479
3552
  value: n.getNumberFormat(t, g).format(m)
3480
3553
  });
3481
3554
  continue;
3482
3555
  }
3483
3556
  if (Gr(c)) {
3484
- var v = c.children, d = c.value, B = i[d];
3557
+ var v = c.children, p = c.value, B = i[p];
3485
3558
  if (!es(B))
3486
- throw new Ko(d, "function", s);
3487
- var A = wt(v, t, n, r, i, o), N = B(A.map(function(q) {
3559
+ throw new Ko(p, "function", s);
3560
+ var k = wt(v, t, n, r, i, o), N = B(k.map(function(q) {
3488
3561
  return q.value;
3489
3562
  }));
3490
3563
  Array.isArray(N) || (N = [N]), a.push.apply(a, N.map(function(q) {
3491
3564
  return {
3492
- type: typeof q == "string" ? he.literal : he.object,
3565
+ type: typeof q == "string" ? de.literal : de.object,
3493
3566
  value: q
3494
3567
  };
3495
3568
  }));
3496
3569
  }
3497
3570
  if (Ur(c)) {
3498
- var k = c.options[m] || c.options.other;
3499
- if (!k)
3571
+ var A = c.options[m] || c.options.other;
3572
+ if (!A)
3500
3573
  throw new Vn(c.value, m, Object.keys(c.options), s);
3501
- a.push.apply(a, wt(k.value, t, n, r, i));
3574
+ a.push.apply(a, wt(A.value, t, n, r, i));
3502
3575
  continue;
3503
3576
  }
3504
3577
  if (jr(c)) {
3505
- var k = c.options["=".concat(m)];
3506
- if (!k) {
3578
+ var A = c.options["=".concat(m)];
3579
+ if (!A) {
3507
3580
  if (!Intl.PluralRules)
3508
3581
  throw new $t(`Intl.PluralRules is not available in this environment.
3509
3582
  Try polyfilling it using "@formatjs/intl-pluralrules"
3510
3583
  `, Ze.MISSING_INTL_API, s);
3511
3584
  var Z = n.getPluralRules(t, { type: c.pluralType }).select(m - (c.offset || 0));
3512
- k = c.options[Z] || c.options.other;
3585
+ A = c.options[Z] || c.options.other;
3513
3586
  }
3514
- if (!k)
3587
+ if (!A)
3515
3588
  throw new Vn(c.value, m, Object.keys(c.options), s);
3516
- a.push.apply(a, wt(k.value, t, n, r, i, m - (c.offset || 0)));
3589
+ a.push.apply(a, wt(A.value, t, n, r, i, m - (c.offset || 0)));
3517
3590
  continue;
3518
3591
  }
3519
3592
  }
@@ -3589,8 +3662,8 @@ var Kr = (
3589
3662
  var l = o.formatToParts(u);
3590
3663
  if (l.length === 1)
3591
3664
  return l[0].value;
3592
- var c = l.reduce(function(f, m) {
3593
- return !f.length || m.type !== he.literal || typeof f[f.length - 1] != "string" ? f.push(m.value) : f[f.length - 1] += m.value, f;
3665
+ var c = l.reduce(function(h, m) {
3666
+ return !h.length || m.type !== de.literal || typeof h[h.length - 1] != "string" ? h.push(m.value) : h[h.length - 1] += m.value, h;
3594
3667
  }, []);
3595
3668
  return c.length <= 1 ? c[0] || "" : c;
3596
3669
  }, this.formatToParts = function(u) {
@@ -3607,7 +3680,7 @@ var Kr = (
3607
3680
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3608
3681
  var s = i || {};
3609
3682
  s.formatters;
3610
- var a = ho(s, ["formatters"]);
3683
+ var a = fo(s, ["formatters"]);
3611
3684
  this.ast = e.__parse(t, Te(Te({}, a), { locale: this.resolvedLocale }));
3612
3685
  } else
3613
3686
  this.ast = t;
@@ -3713,7 +3786,7 @@ const Pe = {}, os = (e, t, n) => n && (t in Pe || (Pe[t] = {}), e in Pe[t] || (P
3713
3786
  return;
3714
3787
  if (t in Pe && e in Pe[t])
3715
3788
  return Pe[t][e];
3716
- const n = ht(t);
3789
+ const n = ft(t);
3717
3790
  for (let r = 0; r < n.length; r++) {
3718
3791
  const i = n[r], o = as(i, e);
3719
3792
  if (o)
@@ -3721,7 +3794,7 @@ const Pe = {}, os = (e, t, n) => n && (t in Pe || (Pe[t] = {}), e in Pe[t] || (P
3721
3794
  }
3722
3795
  };
3723
3796
  let Cn;
3724
- const ft = Dt({});
3797
+ const ht = Dt({});
3725
3798
  function ss(e) {
3726
3799
  return Cn[e] || null;
3727
3800
  }
@@ -3737,7 +3810,7 @@ function as(e, t) {
3737
3810
  function us(e) {
3738
3811
  if (e == null)
3739
3812
  return;
3740
- const t = ht(e);
3813
+ const t = ft(e);
3741
3814
  for (let n = 0; n < t.length; n++) {
3742
3815
  const r = t[n];
3743
3816
  if (Jr(r))
@@ -3745,13 +3818,13 @@ function us(e) {
3745
3818
  }
3746
3819
  }
3747
3820
  function ei(e, ...t) {
3748
- delete Pe[e], ft.update((n) => (n[e] = fo.all([n[e] || {}, ...t]), n));
3821
+ delete Pe[e], ht.update((n) => (n[e] = ho.all([n[e] || {}, ...t]), n));
3749
3822
  }
3750
3823
  Xe(
3751
- [ft],
3824
+ [ht],
3752
3825
  ([e]) => Object.keys(e)
3753
3826
  );
3754
- ft.subscribe((e) => Cn = e);
3827
+ ht.subscribe((e) => Cn = e);
3755
3828
  const xt = {};
3756
3829
  function ls(e, t) {
3757
3830
  xt[e].delete(t), xt[e].size === 0 && delete xt[e];
@@ -3760,46 +3833,46 @@ function ti(e) {
3760
3833
  return xt[e];
3761
3834
  }
3762
3835
  function cs(e) {
3763
- return ht(e).map((t) => {
3836
+ return ft(e).map((t) => {
3764
3837
  const n = ti(t);
3765
3838
  return [t, n ? [...n] : []];
3766
3839
  }).filter(([, t]) => t.length > 0);
3767
3840
  }
3768
- function At(e) {
3769
- return e == null ? !1 : ht(e).some(
3841
+ function kt(e) {
3842
+ return e == null ? !1 : ft(e).some(
3770
3843
  (t) => {
3771
3844
  var n;
3772
3845
  return (n = ti(t)) == null ? void 0 : n.size;
3773
3846
  }
3774
3847
  );
3775
3848
  }
3776
- function fs(e, t) {
3849
+ function hs(e, t) {
3777
3850
  return Promise.all(
3778
3851
  t.map((r) => (ls(e, r), r().then((i) => i.default || i)))
3779
3852
  ).then((r) => ei(e, ...r));
3780
3853
  }
3781
3854
  const tt = {};
3782
3855
  function ni(e) {
3783
- if (!At(e))
3856
+ if (!kt(e))
3784
3857
  return e in tt ? tt[e] : Promise.resolve();
3785
3858
  const t = cs(e);
3786
3859
  return tt[e] = Promise.all(
3787
3860
  t.map(
3788
- ([n, r]) => fs(n, r)
3861
+ ([n, r]) => hs(n, r)
3789
3862
  )
3790
3863
  ).then(() => {
3791
- if (At(e))
3864
+ if (kt(e))
3792
3865
  return ni(e);
3793
3866
  delete tt[e];
3794
3867
  }), tt[e];
3795
3868
  }
3796
- var Zn = Object.getOwnPropertySymbols, hs = Object.prototype.hasOwnProperty, ps = Object.prototype.propertyIsEnumerable, ds = (e, t) => {
3869
+ var Zn = Object.getOwnPropertySymbols, fs = Object.prototype.hasOwnProperty, ds = Object.prototype.propertyIsEnumerable, ps = (e, t) => {
3797
3870
  var n = {};
3798
3871
  for (var r in e)
3799
- hs.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
3872
+ fs.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
3800
3873
  if (e != null && Zn)
3801
3874
  for (var r of Zn(e))
3802
- t.indexOf(r) < 0 && ps.call(e, r) && (n[r] = e[r]);
3875
+ t.indexOf(r) < 0 && ds.call(e, r) && (n[r] = e[r]);
3803
3876
  return n;
3804
3877
  };
3805
3878
  const ms = {
@@ -3834,9 +3907,9 @@ const ms = {
3834
3907
  };
3835
3908
  function gs({ locale: e, id: t }) {
3836
3909
  console.warn(
3837
- `[svelte-i18n] The message "${t}" was not found in "${ht(
3910
+ `[svelte-i18n] The message "${t}" was not found in "${ft(
3838
3911
  e
3839
- ).join('", "')}".${At(Ae()) ? `
3912
+ ).join('", "')}".${kt(ke()) ? `
3840
3913
 
3841
3914
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3842
3915
  );
@@ -3853,7 +3926,7 @@ function Ye() {
3853
3926
  return nt;
3854
3927
  }
3855
3928
  function ys(e) {
3856
- const t = e, { formats: n } = t, r = ds(t, ["formats"]);
3929
+ const t = e, { formats: n } = t, r = ps(t, ["formats"]);
3857
3930
  let i = e.fallbackLocale;
3858
3931
  if (e.initialLocale)
3859
3932
  try {
@@ -3881,21 +3954,21 @@ const It = Dt(null);
3881
3954
  function qn(e) {
3882
3955
  return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
3883
3956
  }
3884
- function ht(e, t = Ye().fallbackLocale) {
3957
+ function ft(e, t = Ye().fallbackLocale) {
3885
3958
  const n = qn(e);
3886
3959
  return t ? [.../* @__PURE__ */ new Set([...n, ...qn(t)])] : n;
3887
3960
  }
3888
- function Ae() {
3961
+ function ke() {
3889
3962
  return un != null ? un : void 0;
3890
3963
  }
3891
3964
  It.subscribe((e) => {
3892
3965
  un = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3893
3966
  });
3894
3967
  const Es = (e) => {
3895
- if (e && us(e) && At(e)) {
3968
+ if (e && us(e) && kt(e)) {
3896
3969
  const { loadingDelay: t } = Ye();
3897
3970
  let n;
3898
- return typeof window != "undefined" && Ae() != null && t ? n = window.setTimeout(
3971
+ return typeof window != "undefined" && ke() != null && t ? n = window.setTimeout(
3899
3972
  () => Xt.set(!0),
3900
3973
  t
3901
3974
  ) : Xt.set(!0), ni(e).then(() => {
@@ -3958,30 +4031,30 @@ const lt = (e, t) => {
3958
4031
  );
3959
4032
  return r ? i = lt("time", r) : Object.keys(i).length === 0 && (i = lt("time", "short")), new Intl.DateTimeFormat(n, i);
3960
4033
  }
3961
- ), ks = (e = {}) => {
4034
+ ), As = (e = {}) => {
3962
4035
  var t = e, {
3963
- locale: n = Ae()
4036
+ locale: n = ke()
3964
4037
  } = t, r = qe(t, [
3965
4038
  "locale"
3966
4039
  ]);
3967
4040
  return Ms(_n({ locale: n }, r));
3968
- }, As = (e = {}) => {
4041
+ }, ks = (e = {}) => {
3969
4042
  var t = e, {
3970
- locale: n = Ae()
4043
+ locale: n = ke()
3971
4044
  } = t, r = qe(t, [
3972
4045
  "locale"
3973
4046
  ]);
3974
4047
  return Bs(_n({ locale: n }, r));
3975
4048
  }, Is = (e = {}) => {
3976
4049
  var t = e, {
3977
- locale: n = Ae()
4050
+ locale: n = ke()
3978
4051
  } = t, r = qe(t, [
3979
4052
  "locale"
3980
4053
  ]);
3981
4054
  return Ps(_n({ locale: n }, r));
3982
4055
  }, Ls = Nt(
3983
4056
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3984
- (e, t = Ae()) => new Kr(e, t, Ye().formats, {
4057
+ (e, t = ke()) => new Kr(e, t, Ye().formats, {
3985
4058
  ignoreTag: Ye().ignoreTag
3986
4059
  })
3987
4060
  ), Os = (e, t = {}) => {
@@ -3990,7 +4063,7 @@ const lt = (e, t) => {
3990
4063
  typeof e == "object" && (s = e, e = s.id);
3991
4064
  const {
3992
4065
  values: a,
3993
- locale: u = Ae(),
4066
+ locale: u = ke(),
3994
4067
  default: l
3995
4068
  } = s;
3996
4069
  if (u == null)
@@ -4006,21 +4079,21 @@ const lt = (e, t) => {
4006
4079
  ), c;
4007
4080
  if (!a)
4008
4081
  return c;
4009
- let f = c;
4082
+ let h = c;
4010
4083
  try {
4011
- f = Ls(c, u).format(a);
4084
+ h = Ls(c, u).format(a);
4012
4085
  } catch (m) {
4013
4086
  m instanceof Error && console.warn(
4014
4087
  `[svelte-i18n] Message "${e}" has syntax error:`,
4015
4088
  m.message
4016
4089
  );
4017
4090
  }
4018
- return f;
4019
- }, Ds = (e, t) => Is(t).format(e), Rs = (e, t) => As(t).format(e), $s = (e, t) => ks(t).format(e), Ns = (e, t = Ae()) => Qr(e, t), Us = Xe([Le, ft], () => Os);
4091
+ return h;
4092
+ }, Ds = (e, t) => Is(t).format(e), Rs = (e, t) => ks(t).format(e), $s = (e, t) => As(t).format(e), Ns = (e, t = ke()) => Qr(e, t), Us = Xe([Le, ht], () => Os);
4020
4093
  Xe([Le], () => Ds);
4021
4094
  Xe([Le], () => Rs);
4022
4095
  Xe([Le], () => $s);
4023
- Xe([Le, ft], () => Ns);
4096
+ Xe([Le, ht], () => Ns);
4024
4097
  function Qn(e, t) {
4025
4098
  ei(e, t);
4026
4099
  }
@@ -4799,62 +4872,62 @@ var si = { exports: {} };
4799
4872
  (function(n, r) {
4800
4873
  e.exports = r();
4801
4874
  })(Ir, function() {
4802
- var n = 1e3, r = 6e4, i = 36e5, o = "millisecond", s = "second", a = "minute", u = "hour", l = "day", c = "week", f = "month", m = "quarter", g = "year", v = "date", d = "Invalid Date", B = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, A = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, N = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(T) {
4803
- var _ = ["th", "st", "nd", "rd"], b = T % 100;
4804
- return "[" + T + (_[(b - 20) % 10] || _[b] || _[0]) + "]";
4805
- } }, k = function(T, _, b) {
4806
- var y = String(T);
4807
- return !y || y.length >= _ ? T : "" + Array(_ + 1 - y.length).join(b) + T;
4808
- }, Z = { s: k, z: function(T) {
4809
- var _ = -T.utcOffset(), b = Math.abs(_), y = Math.floor(b / 60), w = b % 60;
4810
- return (_ <= 0 ? "+" : "-") + k(y, 2, "0") + ":" + k(w, 2, "0");
4811
- }, m: function T(_, b) {
4875
+ var n = 1e3, r = 6e4, i = 36e5, o = "millisecond", s = "second", a = "minute", u = "hour", l = "day", c = "week", h = "month", m = "quarter", g = "year", v = "date", p = "Invalid Date", B = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, k = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, N = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(S) {
4876
+ var _ = ["th", "st", "nd", "rd"], b = S % 100;
4877
+ return "[" + S + (_[(b - 20) % 10] || _[b] || _[0]) + "]";
4878
+ } }, A = function(S, _, b) {
4879
+ var y = String(S);
4880
+ return !y || y.length >= _ ? S : "" + Array(_ + 1 - y.length).join(b) + S;
4881
+ }, Z = { s: A, z: function(S) {
4882
+ var _ = -S.utcOffset(), b = Math.abs(_), y = Math.floor(b / 60), w = b % 60;
4883
+ return (_ <= 0 ? "+" : "-") + A(y, 2, "0") + ":" + A(w, 2, "0");
4884
+ }, m: function S(_, b) {
4812
4885
  if (_.date() < b.date())
4813
- return -T(b, _);
4814
- var y = 12 * (b.year() - _.year()) + (b.month() - _.month()), w = _.clone().add(y, f), H = b - w < 0, x = _.clone().add(y + (H ? -1 : 1), f);
4815
- return +(-(y + (b - w) / (H ? w - x : x - w)) || 0);
4816
- }, a: function(T) {
4817
- return T < 0 ? Math.ceil(T) || 0 : Math.floor(T);
4818
- }, p: function(T) {
4819
- return { M: f, y: g, w: c, d: l, D: v, h: u, m: a, s, ms: o, Q: m }[T] || String(T || "").toLowerCase().replace(/s$/, "");
4820
- }, u: function(T) {
4821
- return T === void 0;
4886
+ return -S(b, _);
4887
+ var y = 12 * (b.year() - _.year()) + (b.month() - _.month()), w = _.clone().add(y, h), M = b - w < 0, x = _.clone().add(y + (M ? -1 : 1), h);
4888
+ return +(-(y + (b - w) / (M ? w - x : x - w)) || 0);
4889
+ }, a: function(S) {
4890
+ return S < 0 ? Math.ceil(S) || 0 : Math.floor(S);
4891
+ }, p: function(S) {
4892
+ return { M: h, y: g, w: c, d: l, D: v, h: u, m: a, s, ms: o, Q: m }[S] || String(S || "").toLowerCase().replace(/s$/, "");
4893
+ }, u: function(S) {
4894
+ return S === void 0;
4822
4895
  } }, q = "en", I = {};
4823
4896
  I[q] = N;
4824
- var F = "$isDayjsObject", pe = function(T) {
4825
- return T instanceof be || !(!T || !T[F]);
4826
- }, ue = function T(_, b, y) {
4897
+ var F = "$isDayjsObject", pe = function(S) {
4898
+ return S instanceof ye || !(!S || !S[F]);
4899
+ }, le = function S(_, b, y) {
4827
4900
  var w;
4828
4901
  if (!_)
4829
4902
  return q;
4830
4903
  if (typeof _ == "string") {
4831
- var H = _.toLowerCase();
4832
- I[H] && (w = H), b && (I[H] = b, w = H);
4904
+ var M = _.toLowerCase();
4905
+ I[M] && (w = M), b && (I[M] = b, w = M);
4833
4906
  var x = _.split("-");
4834
4907
  if (!w && x.length > 1)
4835
- return T(x[0]);
4908
+ return S(x[0]);
4836
4909
  } else {
4837
4910
  var R = _.name;
4838
4911
  I[R] = _, w = R;
4839
4912
  }
4840
4913
  return !y && w && (q = w), w || !y && q;
4841
- }, K = function(T, _) {
4842
- if (pe(T))
4843
- return T.clone();
4914
+ }, K = function(S, _) {
4915
+ if (pe(S))
4916
+ return S.clone();
4844
4917
  var b = typeof _ == "object" ? _ : {};
4845
- return b.date = T, b.args = arguments, new be(b);
4918
+ return b.date = S, b.args = arguments, new ye(b);
4846
4919
  }, L = Z;
4847
- L.l = ue, L.i = pe, L.w = function(T, _) {
4848
- return K(T, { locale: _.$L, utc: _.$u, x: _.$x, $offset: _.$offset });
4920
+ L.l = le, L.i = pe, L.w = function(S, _) {
4921
+ return K(S, { locale: _.$L, utc: _.$u, x: _.$x, $offset: _.$offset });
4849
4922
  };
4850
- var be = function() {
4851
- function T(b) {
4852
- this.$L = ue(b.locale, null, !0), this.parse(b), this.$x = this.$x || b.x || {}, this[F] = !0;
4923
+ var ye = function() {
4924
+ function S(b) {
4925
+ this.$L = le(b.locale, null, !0), this.parse(b), this.$x = this.$x || b.x || {}, this[F] = !0;
4853
4926
  }
4854
- var _ = T.prototype;
4927
+ var _ = S.prototype;
4855
4928
  return _.parse = function(b) {
4856
4929
  this.$d = function(y) {
4857
- var w = y.date, H = y.utc;
4930
+ var w = y.date, M = y.utc;
4858
4931
  if (w === null)
4859
4932
  return /* @__PURE__ */ new Date(NaN);
4860
4933
  if (L.u(w))
@@ -4865,7 +4938,7 @@ var si = { exports: {} };
4865
4938
  var x = w.match(B);
4866
4939
  if (x) {
4867
4940
  var R = x[2] - 1 || 0, z = (x[7] || "0").substring(0, 3);
4868
- return H ? new Date(Date.UTC(x[1], R, x[3] || 1, x[4] || 0, x[5] || 0, x[6] || 0, z)) : new Date(x[1], R, x[3] || 1, x[4] || 0, x[5] || 0, x[6] || 0, z);
4941
+ return M ? new Date(Date.UTC(x[1], R, x[3] || 1, x[4] || 0, x[5] || 0, x[6] || 0, z)) : new Date(x[1], R, x[3] || 1, x[4] || 0, x[5] || 0, x[6] || 0, z);
4869
4942
  }
4870
4943
  }
4871
4944
  return new Date(w);
@@ -4876,7 +4949,7 @@ var si = { exports: {} };
4876
4949
  }, _.$utils = function() {
4877
4950
  return L;
4878
4951
  }, _.isValid = function() {
4879
- return this.$d.toString() !== d;
4952
+ return this.$d.toString() !== p;
4880
4953
  }, _.isSame = function(b, y) {
4881
4954
  var w = K(b);
4882
4955
  return this.startOf(y) <= w && w <= this.endOf(y);
@@ -4891,37 +4964,37 @@ var si = { exports: {} };
4891
4964
  }, _.valueOf = function() {
4892
4965
  return this.$d.getTime();
4893
4966
  }, _.startOf = function(b, y) {
4894
- var w = this, H = !!L.u(y) || y, x = L.p(b), R = function(fe, ne) {
4967
+ var w = this, M = !!L.u(y) || y, x = L.p(b), R = function(fe, ne) {
4895
4968
  var oe = L.w(w.$u ? Date.UTC(w.$y, ne, fe) : new Date(w.$y, ne, fe), w);
4896
- return H ? oe : oe.endOf(l);
4969
+ return M ? oe : oe.endOf(l);
4897
4970
  }, z = function(fe, ne) {
4898
- return L.w(w.toDate()[fe].apply(w.toDate("s"), (H ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(ne)), w);
4899
- }, O = this.$W, Q = this.$M, te = this.$D, de = "set" + (this.$u ? "UTC" : "");
4971
+ return L.w(w.toDate()[fe].apply(w.toDate("s"), (M ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(ne)), w);
4972
+ }, O = this.$W, Q = this.$M, te = this.$D, me = "set" + (this.$u ? "UTC" : "");
4900
4973
  switch (x) {
4901
4974
  case g:
4902
- return H ? R(1, 0) : R(31, 11);
4903
- case f:
4904
- return H ? R(1, Q) : R(0, Q + 1);
4975
+ return M ? R(1, 0) : R(31, 11);
4976
+ case h:
4977
+ return M ? R(1, Q) : R(0, Q + 1);
4905
4978
  case c:
4906
- var ce = this.$locale().weekStart || 0, Ce = (O < ce ? O + 7 : O) - ce;
4907
- return R(H ? te - Ce : te + (6 - Ce), Q);
4979
+ var he = this.$locale().weekStart || 0, Ce = (O < he ? O + 7 : O) - he;
4980
+ return R(M ? te - Ce : te + (6 - Ce), Q);
4908
4981
  case l:
4909
4982
  case v:
4910
- return z(de + "Hours", 0);
4983
+ return z(me + "Hours", 0);
4911
4984
  case u:
4912
- return z(de + "Minutes", 1);
4985
+ return z(me + "Minutes", 1);
4913
4986
  case a:
4914
- return z(de + "Seconds", 2);
4987
+ return z(me + "Seconds", 2);
4915
4988
  case s:
4916
- return z(de + "Milliseconds", 3);
4989
+ return z(me + "Milliseconds", 3);
4917
4990
  default:
4918
4991
  return this.clone();
4919
4992
  }
4920
4993
  }, _.endOf = function(b) {
4921
4994
  return this.startOf(b, !1);
4922
4995
  }, _.$set = function(b, y) {
4923
- var w, H = L.p(b), x = "set" + (this.$u ? "UTC" : ""), R = (w = {}, w[l] = x + "Date", w[v] = x + "Date", w[f] = x + "Month", w[g] = x + "FullYear", w[u] = x + "Hours", w[a] = x + "Minutes", w[s] = x + "Seconds", w[o] = x + "Milliseconds", w)[H], z = H === l ? this.$D + (y - this.$W) : y;
4924
- if (H === f || H === g) {
4996
+ var w, M = L.p(b), x = "set" + (this.$u ? "UTC" : ""), R = (w = {}, w[l] = x + "Date", w[v] = x + "Date", w[h] = x + "Month", w[g] = x + "FullYear", w[u] = x + "Hours", w[a] = x + "Minutes", w[s] = x + "Seconds", w[o] = x + "Milliseconds", w)[M], z = M === l ? this.$D + (y - this.$W) : y;
4997
+ if (M === h || M === g) {
4925
4998
  var O = this.clone().set(v, 1);
4926
4999
  O.$d[R](z), O.init(), this.$d = O.set(v, Math.min(this.$D, O.daysInMonth())).$d;
4927
5000
  } else
@@ -4932,14 +5005,14 @@ var si = { exports: {} };
4932
5005
  }, _.get = function(b) {
4933
5006
  return this[L.p(b)]();
4934
5007
  }, _.add = function(b, y) {
4935
- var w, H = this;
5008
+ var w, M = this;
4936
5009
  b = Number(b);
4937
5010
  var x = L.p(y), R = function(Q) {
4938
- var te = K(H);
4939
- return L.w(te.date(te.date() + Math.round(Q * b)), H);
5011
+ var te = K(M);
5012
+ return L.w(te.date(te.date() + Math.round(Q * b)), M);
4940
5013
  };
4941
- if (x === f)
4942
- return this.set(f, this.$M + b);
5014
+ if (x === h)
5015
+ return this.set(h, this.$M + b);
4943
5016
  if (x === g)
4944
5017
  return this.set(g, this.$y + b);
4945
5018
  if (x === l)
@@ -4953,18 +5026,18 @@ var si = { exports: {} };
4953
5026
  }, _.format = function(b) {
4954
5027
  var y = this, w = this.$locale();
4955
5028
  if (!this.isValid())
4956
- return w.invalidDate || d;
4957
- var H = b || "YYYY-MM-DDTHH:mm:ssZ", x = L.z(this), R = this.$H, z = this.$m, O = this.$M, Q = w.weekdays, te = w.months, de = w.meridiem, ce = function(ne, oe, me, _e) {
4958
- return ne && (ne[oe] || ne(y, H)) || me[oe].slice(0, _e);
5029
+ return w.invalidDate || p;
5030
+ var M = b || "YYYY-MM-DDTHH:mm:ssZ", x = L.z(this), R = this.$H, z = this.$m, O = this.$M, Q = w.weekdays, te = w.months, me = w.meridiem, he = function(ne, oe, ge, _e) {
5031
+ return ne && (ne[oe] || ne(y, M)) || ge[oe].slice(0, _e);
4959
5032
  }, Ce = function(ne) {
4960
5033
  return L.s(R % 12 || 12, ne, "0");
4961
- }, fe = de || function(ne, oe, me) {
5034
+ }, fe = me || function(ne, oe, ge) {
4962
5035
  var _e = ne < 12 ? "AM" : "PM";
4963
- return me ? _e.toLowerCase() : _e;
5036
+ return ge ? _e.toLowerCase() : _e;
4964
5037
  };
4965
- return H.replace(A, function(ne, oe) {
4966
- return oe || function(me) {
4967
- switch (me) {
5038
+ return M.replace(k, function(ne, oe) {
5039
+ return oe || function(ge) {
5040
+ switch (ge) {
4968
5041
  case "YY":
4969
5042
  return String(y.$y).slice(-2);
4970
5043
  case "YYYY":
@@ -4974,9 +5047,9 @@ var si = { exports: {} };
4974
5047
  case "MM":
4975
5048
  return L.s(O + 1, 2, "0");
4976
5049
  case "MMM":
4977
- return ce(w.monthsShort, O, te, 3);
5050
+ return he(w.monthsShort, O, te, 3);
4978
5051
  case "MMMM":
4979
- return ce(te, O);
5052
+ return he(te, O);
4980
5053
  case "D":
4981
5054
  return y.$D;
4982
5055
  case "DD":
@@ -4984,9 +5057,9 @@ var si = { exports: {} };
4984
5057
  case "d":
4985
5058
  return String(y.$W);
4986
5059
  case "dd":
4987
- return ce(w.weekdaysMin, y.$W, Q, 2);
5060
+ return he(w.weekdaysMin, y.$W, Q, 2);
4988
5061
  case "ddd":
4989
- return ce(w.weekdaysShort, y.$W, Q, 3);
5062
+ return he(w.weekdaysShort, y.$W, Q, 3);
4990
5063
  case "dddd":
4991
5064
  return Q[y.$W];
4992
5065
  case "H":
@@ -5020,47 +5093,47 @@ var si = { exports: {} };
5020
5093
  }, _.utcOffset = function() {
5021
5094
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
5022
5095
  }, _.diff = function(b, y, w) {
5023
- var H, x = this, R = L.p(y), z = K(b), O = (z.utcOffset() - this.utcOffset()) * r, Q = this - z, te = function() {
5096
+ var M, x = this, R = L.p(y), z = K(b), O = (z.utcOffset() - this.utcOffset()) * r, Q = this - z, te = function() {
5024
5097
  return L.m(x, z);
5025
5098
  };
5026
5099
  switch (R) {
5027
5100
  case g:
5028
- H = te() / 12;
5101
+ M = te() / 12;
5029
5102
  break;
5030
- case f:
5031
- H = te();
5103
+ case h:
5104
+ M = te();
5032
5105
  break;
5033
5106
  case m:
5034
- H = te() / 3;
5107
+ M = te() / 3;
5035
5108
  break;
5036
5109
  case c:
5037
- H = (Q - O) / 6048e5;
5110
+ M = (Q - O) / 6048e5;
5038
5111
  break;
5039
5112
  case l:
5040
- H = (Q - O) / 864e5;
5113
+ M = (Q - O) / 864e5;
5041
5114
  break;
5042
5115
  case u:
5043
- H = Q / i;
5116
+ M = Q / i;
5044
5117
  break;
5045
5118
  case a:
5046
- H = Q / r;
5119
+ M = Q / r;
5047
5120
  break;
5048
5121
  case s:
5049
- H = Q / n;
5122
+ M = Q / n;
5050
5123
  break;
5051
5124
  default:
5052
- H = Q;
5125
+ M = Q;
5053
5126
  }
5054
- return w ? H : L.a(H);
5127
+ return w ? M : L.a(M);
5055
5128
  }, _.daysInMonth = function() {
5056
- return this.endOf(f).$D;
5129
+ return this.endOf(h).$D;
5057
5130
  }, _.$locale = function() {
5058
5131
  return I[this.$L];
5059
5132
  }, _.locale = function(b, y) {
5060
5133
  if (!b)
5061
5134
  return this.$L;
5062
- var w = this.clone(), H = ue(b, y, !0);
5063
- return H && (w.$L = H), w;
5135
+ var w = this.clone(), M = le(b, y, !0);
5136
+ return M && (w.$L = M), w;
5064
5137
  }, _.clone = function() {
5065
5138
  return L.w(this.$d, this);
5066
5139
  }, _.toDate = function() {
@@ -5071,16 +5144,16 @@ var si = { exports: {} };
5071
5144
  return this.$d.toISOString();
5072
5145
  }, _.toString = function() {
5073
5146
  return this.$d.toUTCString();
5074
- }, T;
5075
- }(), Se = be.prototype;
5076
- return K.prototype = Se, [["$ms", o], ["$s", s], ["$m", a], ["$H", u], ["$W", l], ["$M", f], ["$y", g], ["$D", v]].forEach(function(T) {
5077
- Se[T[1]] = function(_) {
5078
- return this.$g(_, T[0], T[1]);
5147
+ }, S;
5148
+ }(), Se = ye.prototype;
5149
+ return K.prototype = Se, [["$ms", o], ["$s", s], ["$m", a], ["$H", u], ["$W", l], ["$M", h], ["$y", g], ["$D", v]].forEach(function(S) {
5150
+ Se[S[1]] = function(_) {
5151
+ return this.$g(_, S[0], S[1]);
5079
5152
  };
5080
- }), K.extend = function(T, _) {
5081
- return T.$i || (T(_, be, K), T.$i = !0), K;
5082
- }, K.locale = ue, K.isDayjs = pe, K.unix = function(T) {
5083
- return K(1e3 * T);
5153
+ }), K.extend = function(S, _) {
5154
+ return S.$i || (S(_, ye, K), S.$i = !0), K;
5155
+ }, K.locale = le, K.isDayjs = pe, K.unix = function(S) {
5156
+ return K(1e3 * S);
5084
5157
  }, K.en = I[q], K.Ls = I, K.p = {}, K;
5085
5158
  });
5086
5159
  })(si);
@@ -5094,58 +5167,58 @@ var ai = { exports: {} };
5094
5167
  var n = "minute", r = /[+-]\d\d(?::?\d\d)?/g, i = /([+-]|\d\d)/g;
5095
5168
  return function(o, s, a) {
5096
5169
  var u = s.prototype;
5097
- a.utc = function(d) {
5098
- var B = { date: d, utc: !0, args: arguments };
5170
+ a.utc = function(p) {
5171
+ var B = { date: p, utc: !0, args: arguments };
5099
5172
  return new s(B);
5100
- }, u.utc = function(d) {
5173
+ }, u.utc = function(p) {
5101
5174
  var B = a(this.toDate(), { locale: this.$L, utc: !0 });
5102
- return d ? B.add(this.utcOffset(), n) : B;
5175
+ return p ? B.add(this.utcOffset(), n) : B;
5103
5176
  }, u.local = function() {
5104
5177
  return a(this.toDate(), { locale: this.$L, utc: !1 });
5105
5178
  };
5106
5179
  var l = u.parse;
5107
- u.parse = function(d) {
5108
- d.utc && (this.$u = !0), this.$utils().u(d.$offset) || (this.$offset = d.$offset), l.call(this, d);
5180
+ u.parse = function(p) {
5181
+ p.utc && (this.$u = !0), this.$utils().u(p.$offset) || (this.$offset = p.$offset), l.call(this, p);
5109
5182
  };
5110
5183
  var c = u.init;
5111
5184
  u.init = function() {
5112
5185
  if (this.$u) {
5113
- var d = this.$d;
5114
- this.$y = d.getUTCFullYear(), this.$M = d.getUTCMonth(), this.$D = d.getUTCDate(), this.$W = d.getUTCDay(), this.$H = d.getUTCHours(), this.$m = d.getUTCMinutes(), this.$s = d.getUTCSeconds(), this.$ms = d.getUTCMilliseconds();
5186
+ var p = this.$d;
5187
+ this.$y = p.getUTCFullYear(), this.$M = p.getUTCMonth(), this.$D = p.getUTCDate(), this.$W = p.getUTCDay(), this.$H = p.getUTCHours(), this.$m = p.getUTCMinutes(), this.$s = p.getUTCSeconds(), this.$ms = p.getUTCMilliseconds();
5115
5188
  } else
5116
5189
  c.call(this);
5117
5190
  };
5118
- var f = u.utcOffset;
5119
- u.utcOffset = function(d, B) {
5120
- var A = this.$utils().u;
5121
- if (A(d))
5122
- return this.$u ? 0 : A(this.$offset) ? f.call(this) : this.$offset;
5123
- if (typeof d == "string" && (d = function(q) {
5191
+ var h = u.utcOffset;
5192
+ u.utcOffset = function(p, B) {
5193
+ var k = this.$utils().u;
5194
+ if (k(p))
5195
+ return this.$u ? 0 : k(this.$offset) ? h.call(this) : this.$offset;
5196
+ if (typeof p == "string" && (p = function(q) {
5124
5197
  q === void 0 && (q = "");
5125
5198
  var I = q.match(r);
5126
5199
  if (!I)
5127
5200
  return null;
5128
- var F = ("" + I[0]).match(i) || ["-", 0, 0], pe = F[0], ue = 60 * +F[1] + +F[2];
5129
- return ue === 0 ? 0 : pe === "+" ? ue : -ue;
5130
- }(d), d === null))
5201
+ var F = ("" + I[0]).match(i) || ["-", 0, 0], pe = F[0], le = 60 * +F[1] + +F[2];
5202
+ return le === 0 ? 0 : pe === "+" ? le : -le;
5203
+ }(p), p === null))
5131
5204
  return this;
5132
- var N = Math.abs(d) <= 16 ? 60 * d : d, k = this;
5205
+ var N = Math.abs(p) <= 16 ? 60 * p : p, A = this;
5133
5206
  if (B)
5134
- return k.$offset = N, k.$u = d === 0, k;
5135
- if (d !== 0) {
5207
+ return A.$offset = N, A.$u = p === 0, A;
5208
+ if (p !== 0) {
5136
5209
  var Z = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
5137
- (k = this.local().add(N + Z, n)).$offset = N, k.$x.$localOffset = Z;
5210
+ (A = this.local().add(N + Z, n)).$offset = N, A.$x.$localOffset = Z;
5138
5211
  } else
5139
- k = this.utc();
5140
- return k;
5212
+ A = this.utc();
5213
+ return A;
5141
5214
  };
5142
5215
  var m = u.format;
5143
- u.format = function(d) {
5144
- var B = d || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
5216
+ u.format = function(p) {
5217
+ var B = p || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
5145
5218
  return m.call(this, B);
5146
5219
  }, u.valueOf = function() {
5147
- var d = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
5148
- return this.$d.valueOf() - 6e4 * d;
5220
+ var p = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
5221
+ return this.$d.valueOf() - 6e4 * p;
5149
5222
  }, u.isUTC = function() {
5150
5223
  return !!this.$u;
5151
5224
  }, u.toISOString = function() {
@@ -5154,15 +5227,15 @@ var ai = { exports: {} };
5154
5227
  return this.toDate().toUTCString();
5155
5228
  };
5156
5229
  var g = u.toDate;
5157
- u.toDate = function(d) {
5158
- return d === "s" && this.$offset ? a(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : g.call(this);
5230
+ u.toDate = function(p) {
5231
+ return p === "s" && this.$offset ? a(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : g.call(this);
5159
5232
  };
5160
5233
  var v = u.diff;
5161
- u.diff = function(d, B, A) {
5162
- if (d && this.$u === d.$u)
5163
- return v.call(this, d, B, A);
5164
- var N = this.local(), k = a(d).local();
5165
- return v.call(N, k, B, A);
5234
+ u.diff = function(p, B, k) {
5235
+ if (p && this.$u === p.$u)
5236
+ return v.call(this, p, B, k);
5237
+ var N = this.local(), A = a(p).local();
5238
+ return v.call(N, A, B, k);
5166
5239
  };
5167
5240
  };
5168
5241
  });
@@ -5191,7 +5264,7 @@ var ln = function(e, t) {
5191
5264
  Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
5192
5265
  }, ln(e, t);
5193
5266
  };
5194
- function pt(e, t) {
5267
+ function dt(e, t) {
5195
5268
  if (typeof t != "function" && t !== null)
5196
5269
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
5197
5270
  ln(e, t);
@@ -5212,7 +5285,7 @@ function cn(e) {
5212
5285
  };
5213
5286
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
5214
5287
  }
5215
- function fn(e, t) {
5288
+ function hn(e, t) {
5216
5289
  var n = typeof Symbol == "function" && e[Symbol.iterator];
5217
5290
  if (!n)
5218
5291
  return e;
@@ -5232,7 +5305,7 @@ function fn(e, t) {
5232
5305
  }
5233
5306
  return o;
5234
5307
  }
5235
- function hn(e, t, n) {
5308
+ function fn(e, t, n) {
5236
5309
  if (arguments.length === 2)
5237
5310
  for (var r = 0, i = t.length, o; r < i; r++)
5238
5311
  (o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
@@ -5256,7 +5329,7 @@ var qt = ui(function(e) {
5256
5329
  `) : "", this.name = "UnsubscriptionError", this.errors = n;
5257
5330
  };
5258
5331
  });
5259
- function pn(e, t) {
5332
+ function dn(e, t) {
5260
5333
  if (e) {
5261
5334
  var n = e.indexOf(t);
5262
5335
  0 <= n && e.splice(n, 1);
@@ -5278,8 +5351,8 @@ var Ut = function() {
5278
5351
  var l = u.value;
5279
5352
  l.remove(this);
5280
5353
  }
5281
- } catch (d) {
5282
- t = { error: d };
5354
+ } catch (p) {
5355
+ t = { error: p };
5283
5356
  } finally {
5284
5357
  try {
5285
5358
  u && !u.done && (n = a.return) && n.call(a);
@@ -5294,23 +5367,23 @@ var Ut = function() {
5294
5367
  if (He(c))
5295
5368
  try {
5296
5369
  c();
5297
- } catch (d) {
5298
- o = d instanceof qt ? d.errors : [d];
5370
+ } catch (p) {
5371
+ o = p instanceof qt ? p.errors : [p];
5299
5372
  }
5300
- var f = this._finalizers;
5301
- if (f) {
5373
+ var h = this._finalizers;
5374
+ if (h) {
5302
5375
  this._finalizers = null;
5303
5376
  try {
5304
- for (var m = cn(f), g = m.next(); !g.done; g = m.next()) {
5377
+ for (var m = cn(h), g = m.next(); !g.done; g = m.next()) {
5305
5378
  var v = g.value;
5306
5379
  try {
5307
5380
  er(v);
5308
- } catch (d) {
5309
- o = o != null ? o : [], d instanceof qt ? o = hn(hn([], fn(o)), fn(d.errors)) : o.push(d);
5381
+ } catch (p) {
5382
+ o = o != null ? o : [], p instanceof qt ? o = fn(fn([], hn(o)), hn(p.errors)) : o.push(p);
5310
5383
  }
5311
5384
  }
5312
- } catch (d) {
5313
- r = { error: d };
5385
+ } catch (p) {
5386
+ r = { error: p };
5314
5387
  } finally {
5315
5388
  try {
5316
5389
  g && !g.done && (i = m.return) && i.call(m);
@@ -5344,10 +5417,10 @@ var Ut = function() {
5344
5417
  this._parentage = Array.isArray(n) ? (n.push(t), n) : n ? [n, t] : t;
5345
5418
  }, e.prototype._removeParent = function(t) {
5346
5419
  var n = this._parentage;
5347
- n === t ? this._parentage = null : Array.isArray(n) && pn(n, t);
5420
+ n === t ? this._parentage = null : Array.isArray(n) && dn(n, t);
5348
5421
  }, e.prototype.remove = function(t) {
5349
5422
  var n = this._finalizers;
5350
- n && pn(n, t), t instanceof e && t._removeParent(this);
5423
+ n && dn(n, t), t instanceof e && t._removeParent(this);
5351
5424
  }, e.EMPTY = function() {
5352
5425
  var t = new e();
5353
5426
  return t.closed = !0, t;
@@ -5365,7 +5438,7 @@ var qs = {
5365
5438
  setTimeout: function(e, t) {
5366
5439
  for (var n = [], r = 2; r < arguments.length; r++)
5367
5440
  n[r - 2] = arguments[r];
5368
- return setTimeout.apply(void 0, hn([e, t], fn(n)));
5441
+ return setTimeout.apply(void 0, fn([e, t], hn(n)));
5369
5442
  },
5370
5443
  clearTimeout: function(e) {
5371
5444
  return clearTimeout(e);
@@ -5382,14 +5455,14 @@ function tr() {
5382
5455
  function Tt(e) {
5383
5456
  e();
5384
5457
  }
5385
- var fi = function(e) {
5386
- pt(t, e);
5458
+ var hi = function(e) {
5459
+ dt(t, e);
5387
5460
  function t(n) {
5388
5461
  var r = e.call(this) || this;
5389
5462
  return r.isStopped = !1, n ? (r.destination = n, ci(n) && n.add(r)) : r.destination = ta, r;
5390
5463
  }
5391
5464
  return t.create = function(n, r, i) {
5392
- return new dn(n, r, i);
5465
+ return new pn(n, r, i);
5393
5466
  }, t.prototype.next = function(n) {
5394
5467
  this.isStopped || this._next(n);
5395
5468
  }, t.prototype.error = function(n) {
@@ -5444,8 +5517,8 @@ var fi = function(e) {
5444
5517
  vt(n);
5445
5518
  }
5446
5519
  }, e;
5447
- }(), dn = function(e) {
5448
- pt(t, e);
5520
+ }(), pn = function(e) {
5521
+ dt(t, e);
5449
5522
  function t(n, r, i) {
5450
5523
  var o = e.call(this) || this, s;
5451
5524
  return He(n) || !n ? s = {
@@ -5455,7 +5528,7 @@ var fi = function(e) {
5455
5528
  } : s = n, o.destination = new Js(s), o;
5456
5529
  }
5457
5530
  return t;
5458
- }(fi);
5531
+ }(hi);
5459
5532
  function vt(e) {
5460
5533
  Qs(e);
5461
5534
  }
@@ -5488,7 +5561,7 @@ var nr = function() {
5488
5561
  var n = new e();
5489
5562
  return n.source = this, n.operator = t, n;
5490
5563
  }, e.prototype.subscribe = function(t, n, r) {
5491
- var i = this, o = sa(t) ? t : new dn(t, n, r);
5564
+ var i = this, o = sa(t) ? t : new pn(t, n, r);
5492
5565
  return Tt(function() {
5493
5566
  var s = i, a = s.operator, u = s.source;
5494
5567
  o.add(a ? a.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
@@ -5502,7 +5575,7 @@ var nr = function() {
5502
5575
  }, e.prototype.forEach = function(t, n) {
5503
5576
  var r = this;
5504
5577
  return n = rr(n), new n(function(i, o) {
5505
- var s = new dn({
5578
+ var s = new pn({
5506
5579
  next: function(a) {
5507
5580
  try {
5508
5581
  t(a);
@@ -5548,14 +5621,14 @@ function oa(e) {
5548
5621
  return e && He(e.next) && He(e.error) && He(e.complete);
5549
5622
  }
5550
5623
  function sa(e) {
5551
- return e && e instanceof fi || oa(e) && ci(e);
5624
+ return e && e instanceof hi || oa(e) && ci(e);
5552
5625
  }
5553
5626
  var aa = ui(function(e) {
5554
5627
  return function() {
5555
5628
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
5556
5629
  };
5557
- }), hi = function(e) {
5558
- pt(t, e);
5630
+ }), fi = function(e) {
5631
+ dt(t, e);
5559
5632
  function t() {
5560
5633
  var n = e.call(this) || this;
5561
5634
  return n.closed = !1, n.currentObservers = null, n.observers = [], n.isStopped = !1, n.hasError = !1, n.thrownError = null, n;
@@ -5623,7 +5696,7 @@ var aa = ui(function(e) {
5623
5696
  }, t.prototype._innerSubscribe = function(n) {
5624
5697
  var r = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
5625
5698
  return o || s ? li : (this.currentObservers = null, a.push(n), new Ut(function() {
5626
- r.currentObservers = null, pn(a, n);
5699
+ r.currentObservers = null, dn(a, n);
5627
5700
  }));
5628
5701
  }, t.prototype._checkFinalizedStatuses = function(n) {
5629
5702
  var r = this, i = r.hasError, o = r.thrownError, s = r.isStopped;
@@ -5635,7 +5708,7 @@ var aa = ui(function(e) {
5635
5708
  return new ir(n, r);
5636
5709
  }, t;
5637
5710
  }(nr), ir = function(e) {
5638
- pt(t, e);
5711
+ dt(t, e);
5639
5712
  function t(n, r) {
5640
5713
  var i = e.call(this) || this;
5641
5714
  return i.destination = n, i.source = r, i;
@@ -5653,15 +5726,15 @@ var aa = ui(function(e) {
5653
5726
  var r, i;
5654
5727
  return (i = (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(n)) !== null && i !== void 0 ? i : li;
5655
5728
  }, t;
5656
- }(hi), pi = {
5729
+ }(fi), di = {
5657
5730
  now: function() {
5658
- return (pi.delegate || Date).now();
5731
+ return (di.delegate || Date).now();
5659
5732
  },
5660
5733
  delegate: void 0
5661
5734
  }, ua = function(e) {
5662
- pt(t, e);
5735
+ dt(t, e);
5663
5736
  function t(n, r, i) {
5664
- n === void 0 && (n = 1 / 0), r === void 0 && (r = 1 / 0), i === void 0 && (i = pi);
5737
+ n === void 0 && (n = 1 / 0), r === void 0 && (r = 1 / 0), i === void 0 && (i = di);
5665
5738
  var o = e.call(this) || this;
5666
5739
  return o._bufferSize = n, o._windowTime = r, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = r === 1 / 0, o._bufferSize = Math.max(1, n), o._windowTime = Math.max(1, r), o;
5667
5740
  }
@@ -5681,7 +5754,7 @@ var aa = ui(function(e) {
5681
5754
  l && o.splice(0, l + 1);
5682
5755
  }
5683
5756
  }, t;
5684
- }(hi);
5757
+ }(fi);
5685
5758
  const or = [], sr = {}, la = (e, t = 0) => {
5686
5759
  if (or.indexOf(e) == -1) {
5687
5760
  const n = new ua(t);
@@ -5689,23 +5762,23 @@ const or = [], sr = {}, la = (e, t = 0) => {
5689
5762
  }
5690
5763
  return sr[e];
5691
5764
  };
5692
- let St = "en-UK", di = "true", rt = 2, it = "";
5765
+ let St = "en-UK", pi = "true", rt = 2, it = "";
5693
5766
  const ca = (e, t, n, r) => {
5694
- St = e || "en-UK", di = t || "true", rt = +r || 0, it = n || "";
5695
- }, fa = (e, t, n = {}, r = !0) => {
5767
+ St = e || "en-UK", pi = t || "true", rt = +r || 0, it = n || "";
5768
+ }, ha = (e, t, n = {}, r = !0) => {
5696
5769
  const i = gt(gt({
5697
5770
  maximumFractionDigits: rt,
5698
5771
  minimumFractionDigits: rt
5699
5772
  }, r && {
5700
5773
  style: "currency",
5701
5774
  currency: t,
5702
- currencyDisplay: di === "true" ? "symbol" : "code"
5775
+ currencyDisplay: pi === "true" ? "symbol" : "code"
5703
5776
  }), n);
5704
5777
  try {
5705
5778
  if (!it)
5706
5779
  return new Intl.NumberFormat(St, i).format(e);
5707
5780
  const s = new Intl.NumberFormat(St, i).formatToParts(e);
5708
- let { currencyPart: a = "", amountPart: u = "" } = s.reduce((c, f) => (f.type === "currency" ? c.currencyPart = f.value : c.amountPart += f.value, c), { currencyPart: "", amountPart: "" });
5781
+ let { currencyPart: a = "", amountPart: u = "" } = s.reduce((c, h) => (h.type === "currency" ? c.currencyPart = h.value : c.amountPart += h.value, c), { currencyPart: "", amountPart: "" });
5709
5782
  return u = u.trim(), it === "before" ? `${a || i.currency || ""} ${u}` : `${u} ${a || i.currency || ""}`;
5710
5783
  } catch (o) {
5711
5784
  console.info(o);
@@ -5720,13 +5793,13 @@ window.emWidgets = { topic: la };
5720
5793
  const ar = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
5721
5794
  String(Number.MAX_SAFE_INTEGER).length;
5722
5795
  const je = "__WIDGET_GLOBAL_STYLE_CACHE__";
5723
- function ha(e, t) {
5796
+ function fa(e, t) {
5724
5797
  if (e) {
5725
5798
  const n = document.createElement("style");
5726
5799
  n.innerHTML = t, e.appendChild(n);
5727
5800
  }
5728
5801
  }
5729
- function pa(e, t) {
5802
+ function da(e, t) {
5730
5803
  if (!e || !t)
5731
5804
  return;
5732
5805
  const n = new URL(t);
@@ -5737,7 +5810,7 @@ function pa(e, t) {
5737
5810
  console.error("There was an error while trying to load client styling from URL", r);
5738
5811
  });
5739
5812
  }
5740
- function da(e, t, n, r = !1) {
5813
+ function pa(e, t, n, r = !1) {
5741
5814
  if (!window.emMessageBus)
5742
5815
  return;
5743
5816
  if (!("adoptedStyleSheets" in Document.prototype) || !r)
@@ -5828,7 +5901,7 @@ if (typeof window != "undefined") {
5828
5901
  }
5829
5902
  };
5830
5903
  };
5831
- customElements.define = e(customElements.define), import("./CashierError-DzVLFQ6B.js").then(({ default: t }) => {
5904
+ customElements.define = e(customElements.define), import("./CashierError-BRjf3PSa.js").then(({ default: t }) => {
5832
5905
  !customElements.get("cashier-error") && customElements.define("cashier-error", t.element);
5833
5906
  });
5834
5907
  }
@@ -5839,7 +5912,7 @@ function cr(e, t, n) {
5839
5912
  const r = e.slice();
5840
5913
  return r[70] = t[n], r[72] = n, r;
5841
5914
  }
5842
- function fr(e, t, n) {
5915
+ function hr(e, t, n) {
5843
5916
  const r = e.slice();
5844
5917
  return r[73] = t[n], r;
5845
5918
  }
@@ -5851,9 +5924,9 @@ function ya(e) {
5851
5924
  e[9] && /*displayVerifications*/
5852
5925
  e[22], i, o = (
5853
5926
  /*copied*/
5854
- e[23] && hr(e)
5855
- ), s = r && pr(e);
5856
- function a(c, f) {
5927
+ e[23] && fr(e)
5928
+ ), s = r && dr(e);
5929
+ function a(c, h) {
5857
5930
  if (
5858
5931
  /*txnInfo*/
5859
5932
  c[15]
@@ -5869,26 +5942,26 @@ function ya(e) {
5869
5942
  let u = a(e), l = u && u(e);
5870
5943
  return {
5871
5944
  c() {
5872
- o && o.c(), t = G(), n = S("div"), s && s.c(), i = G(), l && l.c(), h(n, "class", "CashierReceiptPage");
5945
+ o && o.c(), t = G(), n = T("div"), s && s.c(), i = G(), l && l.c(), f(n, "class", "CashierReceiptPage");
5873
5946
  },
5874
- m(c, f) {
5875
- o && o.m(c, f), P(c, t, f), P(c, n, f), s && s.m(n, null), C(n, i), l && l.m(n, null);
5947
+ m(c, h) {
5948
+ o && o.m(c, h), P(c, t, h), P(c, n, h), s && s.m(n, null), C(n, i), l && l.m(n, null);
5876
5949
  },
5877
- p(c, f) {
5950
+ p(c, h) {
5878
5951
  /*copied*/
5879
- c[23] ? o ? (o.p(c, f), f[0] & /*copied*/
5880
- 8388608 && Jt(o, 1)) : (o = hr(c), o.c(), Jt(o, 1), o.m(t.parentNode, t)) : o && ($i(), Ui(o, 1, 1, () => {
5952
+ c[23] ? o ? (o.p(c, h), h[0] & /*copied*/
5953
+ 8388608 && Jt(o, 1)) : (o = fr(c), o.c(), Jt(o, 1), o.m(t.parentNode, t)) : o && ($i(), Ui(o, 1, 1, () => {
5881
5954
  o = null;
5882
- }), Ni()), f[0] & /*showverifications, displayVerifications*/
5955
+ }), Ni()), h[0] & /*showverifications, displayVerifications*/
5883
5956
  4194816 && (r = ar(
5884
5957
  /*userAgent*/
5885
5958
  c[25]
5886
5959
  ) && /*showverifications*/
5887
5960
  c[9] && /*displayVerifications*/
5888
- c[22]), r ? s ? s.p(c, f) : (s = pr(c), s.c(), s.m(n, i)) : s && (s.d(1), s = null), u === (u = a(c)) && l ? l.p(c, f) : (l && l.d(1), l = u && u(c), l && (l.c(), l.m(n, null)));
5961
+ c[22]), r ? s ? s.p(c, h) : (s = dr(c), s.c(), s.m(n, i)) : s && (s.d(1), s = null), u === (u = a(c)) && l ? l.p(c, h) : (l && l.d(1), l = u && u(c), l && (l.c(), l.m(n, null)));
5889
5962
  },
5890
5963
  d(c) {
5891
- c && (M(t), M(n)), o && o.d(c), s && s.d(), l && l.d();
5964
+ c && (H(t), H(n)), o && o.d(c), s && s.d(), l && l.d();
5892
5965
  }
5893
5966
  };
5894
5967
  }
@@ -5896,25 +5969,25 @@ function va(e) {
5896
5969
  let t;
5897
5970
  return {
5898
5971
  c() {
5899
- t = S("div"), t.innerHTML = '<div class="Spinner"></div>', h(t, "class", "LoadingOverlay");
5972
+ t = T("div"), t.innerHTML = '<div class="Spinner"></div>', f(t, "class", "LoadingOverlay");
5900
5973
  },
5901
5974
  m(n, r) {
5902
5975
  P(n, t, r);
5903
5976
  },
5904
5977
  p: ie,
5905
5978
  d(n) {
5906
- n && M(t);
5979
+ n && H(t);
5907
5980
  }
5908
5981
  };
5909
5982
  }
5910
- function hr(e) {
5983
+ function fr(e) {
5911
5984
  let t, n = (
5912
5985
  /*$_*/
5913
5986
  e[24]("copyTransactionId") + ""
5914
5987
  ), r, i, o, s;
5915
5988
  return {
5916
5989
  c() {
5917
- t = S("div"), r = j(n), h(t, "class", "CopyTooltip");
5990
+ t = T("div"), r = j(n), f(t, "class", "CopyTooltip");
5918
5991
  },
5919
5992
  m(a, u) {
5920
5993
  P(a, t, u), C(t, r), s = !0;
@@ -5933,15 +6006,15 @@ function hr(e) {
5933
6006
  i && i.invalidate(), a && (o = Gi(t, Rn, { duration: 1e3 })), s = !1;
5934
6007
  },
5935
6008
  d(a) {
5936
- a && M(t), a && o && o.end();
6009
+ a && H(t), a && o && o.end();
5937
6010
  }
5938
6011
  };
5939
6012
  }
5940
- function pr(e) {
6013
+ function dr(e) {
5941
6014
  let t;
5942
6015
  return {
5943
6016
  c() {
5944
- t = S("cashier-verifications"), W(
6017
+ t = T("cashier-verifications"), W(
5945
6018
  t,
5946
6019
  "lang",
5947
6020
  /*lang*/
@@ -6027,7 +6100,7 @@ function pr(e) {
6027
6100
  );
6028
6101
  },
6029
6102
  d(n) {
6030
- n && M(t);
6103
+ n && H(t);
6031
6104
  }
6032
6105
  };
6033
6106
  }
@@ -6035,11 +6108,11 @@ function Ca(e) {
6035
6108
  let t, n = (
6036
6109
  /*errorResponseCode*/
6037
6110
  e[19] === /*ResponseCode*/
6038
- e[13].Maintenance && dr(e)
6111
+ e[13].Maintenance && pr(e)
6039
6112
  );
6040
6113
  return {
6041
6114
  c() {
6042
- t = S("cashier-error"), n && n.c(), W(
6115
+ t = T("cashier-error"), n && n.c(), W(
6043
6116
  t,
6044
6117
  "assetsurl",
6045
6118
  /*assetsurl*/
@@ -6077,7 +6150,7 @@ function Ca(e) {
6077
6150
  p(r, i) {
6078
6151
  /*errorResponseCode*/
6079
6152
  r[19] === /*ResponseCode*/
6080
- r[13].Maintenance ? n ? n.p(r, i) : (n = dr(r), n.c(), n.m(t, null)) : n && (n.d(1), n = null), i[0] & /*assetsurl*/
6153
+ r[13].Maintenance ? n ? n.p(r, i) : (n = pr(r), n.c(), n.m(t, null)) : n && (n.d(1), n = null), i[0] & /*assetsurl*/
6081
6154
  32 && W(
6082
6155
  t,
6083
6156
  "assetsurl",
@@ -6116,7 +6189,7 @@ function Ca(e) {
6116
6189
  );
6117
6190
  },
6118
6191
  d(r) {
6119
- r && M(t), n && n.d();
6192
+ r && H(t), n && n.d();
6120
6193
  }
6121
6194
  };
6122
6195
  }
@@ -6124,29 +6197,29 @@ function _a(e) {
6124
6197
  let t, n, r, i, o, s = (
6125
6198
  /*$_*/
6126
6199
  e[24]("amount") + ""
6127
- ), a, u, l, c, f, m, g, v = (
6200
+ ), a, u, l, c, h, m, g, v = (
6128
6201
  /*$_*/
6129
6202
  e[24]("status") + ""
6130
- ), d, B, A, N = (
6203
+ ), p, B, k, N = (
6131
6204
  /*$_*/
6132
6205
  e[24](`${/*txnStatus*/
6133
6206
  e[21]}`) + ""
6134
- ), k, Z, q, I, F, pe = (
6207
+ ), A, Z, q, I, F, pe = (
6135
6208
  /*$_*/
6136
6209
  e[24]("transactionId") + ""
6137
- ), ue, K, L, be = (
6210
+ ), le, K, L, ye = (
6138
6211
  /*txnInfo*/
6139
6212
  e[15].referenceId + ""
6140
- ), Se, T, _, b, y = (
6213
+ ), Se, S, _, b, y = (
6141
6214
  /*$_*/
6142
6215
  e[24]("payemntMethod") + ""
6143
- ), w, H, x, R, z, O, Q, te = (
6216
+ ), w, M, x, R, z, O, Q, te = (
6144
6217
  /*$_*/
6145
6218
  e[24]("paymentTime") + ""
6146
- ), de, ce, Ce, fe = Ot(
6219
+ ), me, he, Ce, fe = Ot(
6147
6220
  /*txnInfo*/
6148
6221
  e[15].time
6149
- ).format("MMM DD, YYYY, HH:mm:ss") + "", ne, oe, me, _e, Ee, Ke, Ie, Oe, Qe;
6222
+ ).format("MMM DD, YYYY, HH:mm:ss") + "", ne, oe, ge, _e, Ee, Ke, Ie, Oe, Qe;
6150
6223
  function Je(E, U) {
6151
6224
  if (
6152
6225
  /*txnStatus*/
@@ -6170,29 +6243,29 @@ function _a(e) {
6170
6243
  /*displayedButtons*/
6171
6244
  e[12].length > 0 && mr(e)
6172
6245
  );
6173
- function dt(E, U) {
6246
+ function pt(E, U) {
6174
6247
  return (
6175
6248
  /*txnInfo*/
6176
6249
  E[15].type ? Ea : Sa
6177
6250
  );
6178
6251
  }
6179
- let De = dt(e), ye = De(e), le = (
6252
+ let De = pt(e), ve = De(e), ce = (
6180
6253
  /*receiptFields*/
6181
6254
  e[16].length && br(e)
6182
6255
  );
6183
6256
  return {
6184
6257
  c() {
6185
- t = S("div"), se && se.c(), n = G(), r = S("div"), i = S("div"), o = S("p"), a = j(s), u = G(), l = S("span"), c = j(
6258
+ t = T("div"), se && se.c(), n = G(), r = T("div"), i = T("div"), o = T("p"), a = j(s), u = G(), l = T("span"), c = j(
6186
6259
  /*amount*/
6187
6260
  e[17]
6188
- ), f = G(), m = S("div"), g = S("p"), d = j(v), B = G(), A = S("span"), k = j(N), q = G(), I = S("div"), F = S("p"), ue = j(pe), K = G(), L = S("span"), Se = j(be), T = G(), _ = S("div"), b = S("p"), w = j(y), H = G(), x = S("span"), R = j(
6261
+ ), h = G(), m = T("div"), g = T("p"), p = j(v), B = G(), k = T("span"), A = j(N), q = G(), I = T("div"), F = T("p"), le = j(pe), K = G(), L = T("span"), Se = j(ye), S = G(), _ = T("div"), b = T("p"), w = j(y), M = G(), x = T("span"), R = j(
6189
6262
  /*paymentmethod*/
6190
6263
  e[0]
6191
- ), z = G(), O = S("div"), Q = S("p"), de = j(te), ce = G(), Ce = S("span"), ne = j(fe), oe = G(), me = S("div"), ae && ae.c(), _e = G(), Ee = S("button"), ye.c(), Ke = G(), le && le.c(), Ie = yn(), h(t, "class", "ReceiptStatusWrapper"), h(i, "class", "Amount"), h(m, "class", Z = `Status ${/*txnStatus*/
6192
- e[21]}`), h(L, "class", "TxnIdText"), h(I, "class", "TxnId"), h(_, "class", "PaymentMethod"), h(O, "class", "PaymentTime"), h(r, "class", "ReceiptDetailsWrapper"), h(me, "class", "ReceiptButtonsWrapper"), h(Ee, "class", "DefaultButton");
6264
+ ), z = G(), O = T("div"), Q = T("p"), me = j(te), he = G(), Ce = T("span"), ne = j(fe), oe = G(), ge = T("div"), ae && ae.c(), _e = G(), Ee = T("button"), ve.c(), Ke = G(), ce && ce.c(), Ie = yn(), f(t, "class", "ReceiptStatusWrapper"), f(i, "class", "Amount"), f(m, "class", Z = `Status ${/*txnStatus*/
6265
+ e[21]}`), f(L, "class", "TxnIdText"), f(I, "class", "TxnId"), f(_, "class", "PaymentMethod"), f(O, "class", "PaymentTime"), f(r, "class", "ReceiptDetailsWrapper"), f(ge, "class", "ReceiptButtonsWrapper"), f(Ee, "class", "DefaultButton");
6193
6266
  },
6194
6267
  m(E, U) {
6195
- P(E, t, U), se && se.m(t, null), P(E, n, U), P(E, r, U), C(r, i), C(i, o), C(o, a), C(i, u), C(i, l), C(l, c), C(r, f), C(r, m), C(m, g), C(g, d), C(m, B), C(m, A), C(A, k), C(r, q), C(r, I), C(I, F), C(F, ue), C(I, K), C(I, L), C(L, Se), C(r, T), C(r, _), C(_, b), C(b, w), C(_, H), C(_, x), C(x, R), C(r, z), C(r, O), C(O, Q), C(Q, de), C(O, ce), C(O, Ce), C(Ce, ne), P(E, oe, U), P(E, me, U), ae && ae.m(me, null), P(E, _e, U), P(E, Ee, U), ye.m(Ee, null), P(E, Ke, U), le && le.m(E, U), P(E, Ie, U), Oe || (Qe = [
6268
+ P(E, t, U), se && se.m(t, null), P(E, n, U), P(E, r, U), C(r, i), C(i, o), C(o, a), C(i, u), C(i, l), C(l, c), C(r, h), C(r, m), C(m, g), C(g, p), C(m, B), C(m, k), C(k, A), C(r, q), C(r, I), C(I, F), C(F, le), C(I, K), C(I, L), C(L, Se), C(r, S), C(r, _), C(_, b), C(b, w), C(_, M), C(_, x), C(x, R), C(r, z), C(r, O), C(O, Q), C(Q, me), C(O, he), C(O, Ce), C(Ce, ne), P(E, oe, U), P(E, ge, U), ae && ae.m(ge, null), P(E, _e, U), P(E, Ee, U), ve.m(Ee, null), P(E, Ke, U), ce && ce.m(E, U), P(E, Ie, U), Oe || (Qe = [
6196
6269
  st(
6197
6270
  L,
6198
6271
  "click",
@@ -6217,16 +6290,16 @@ function _a(e) {
6217
6290
  E[17]
6218
6291
  ), U[0] & /*$_*/
6219
6292
  16777216 && v !== (v = /*$_*/
6220
- E[24]("status") + "") && V(d, v), U[0] & /*$_, txnStatus*/
6293
+ E[24]("status") + "") && V(p, v), U[0] & /*$_, txnStatus*/
6221
6294
  18874368 && N !== (N = /*$_*/
6222
6295
  E[24](`${/*txnStatus*/
6223
- E[21]}`) + "") && V(k, N), U[0] & /*txnStatus*/
6296
+ E[21]}`) + "") && V(A, N), U[0] & /*txnStatus*/
6224
6297
  2097152 && Z !== (Z = `Status ${/*txnStatus*/
6225
- E[21]}`) && h(m, "class", Z), U[0] & /*$_*/
6298
+ E[21]}`) && f(m, "class", Z), U[0] & /*$_*/
6226
6299
  16777216 && pe !== (pe = /*$_*/
6227
- E[24]("transactionId") + "") && V(ue, pe), U[0] & /*txnInfo*/
6228
- 32768 && be !== (be = /*txnInfo*/
6229
- E[15].referenceId + "") && V(Se, be), U[0] & /*$_*/
6300
+ E[24]("transactionId") + "") && V(le, pe), U[0] & /*txnInfo*/
6301
+ 32768 && ye !== (ye = /*txnInfo*/
6302
+ E[15].referenceId + "") && V(Se, ye), U[0] & /*$_*/
6230
6303
  16777216 && y !== (y = /*$_*/
6231
6304
  E[24]("payemntMethod") + "") && V(w, y), U[0] & /*paymentmethod*/
6232
6305
  1 && V(
@@ -6235,20 +6308,20 @@ function _a(e) {
6235
6308
  E[0]
6236
6309
  ), U[0] & /*$_*/
6237
6310
  16777216 && te !== (te = /*$_*/
6238
- E[24]("paymentTime") + "") && V(de, te), U[0] & /*txnInfo*/
6311
+ E[24]("paymentTime") + "") && V(me, te), U[0] & /*txnInfo*/
6239
6312
  32768 && fe !== (fe = Ot(
6240
6313
  /*txnInfo*/
6241
6314
  E[15].time
6242
6315
  ).format("MMM DD, YYYY, HH:mm:ss") + "") && V(ne, fe), /*displayedButtons*/
6243
- E[12].length > 0 ? ae ? ae.p(E, U) : (ae = mr(E), ae.c(), ae.m(me, null)) : ae && (ae.d(1), ae = null), De === (De = dt(E)) && ye ? ye.p(E, U) : (ye.d(1), ye = De(E), ye && (ye.c(), ye.m(Ee, null))), /*receiptFields*/
6244
- E[16].length ? le ? le.p(E, U) : (le = br(E), le.c(), le.m(Ie.parentNode, Ie)) : le && (le.d(1), le = null);
6316
+ E[12].length > 0 ? ae ? ae.p(E, U) : (ae = mr(E), ae.c(), ae.m(ge, null)) : ae && (ae.d(1), ae = null), De === (De = pt(E)) && ve ? ve.p(E, U) : (ve.d(1), ve = De(E), ve && (ve.c(), ve.m(Ee, null))), /*receiptFields*/
6317
+ E[16].length ? ce ? ce.p(E, U) : (ce = br(E), ce.c(), ce.m(Ie.parentNode, Ie)) : ce && (ce.d(1), ce = null);
6245
6318
  },
6246
6319
  d(E) {
6247
- E && (M(t), M(n), M(r), M(oe), M(me), M(_e), M(Ee), M(Ke), M(Ie)), se && se.d(), ae && ae.d(), ye.d(), le && le.d(E), Oe = !1, ke(Qe);
6320
+ E && (H(t), H(n), H(r), H(oe), H(ge), H(_e), H(Ee), H(Ke), H(Ie)), se && se.d(), ae && ae.d(), ve.d(), ce && ce.d(E), Oe = !1, Ae(Qe);
6248
6321
  }
6249
6322
  };
6250
6323
  }
6251
- function dr(e) {
6324
+ function pr(e) {
6252
6325
  let t, n, r, i = (
6253
6326
  /*$_*/
6254
6327
  e[24]("receipt.maintenance.title") + ""
@@ -6258,20 +6331,20 @@ function dr(e) {
6258
6331
  ), l;
6259
6332
  return {
6260
6333
  c() {
6261
- t = S("div"), t.innerHTML = '<div class="ImagePlaceholder Maintenance"></div>', n = G(), r = S("span"), o = j(i), s = G(), a = S("span"), l = j(u), h(t, "slot", "icon"), h(r, "slot", "title"), h(r, "class", "CashierErrorTitle"), h(a, "slot", "text"), h(a, "class", "CashierErrorText");
6334
+ t = T("div"), t.innerHTML = '<div class="ImagePlaceholder Maintenance"></div>', n = G(), r = T("span"), o = j(i), s = G(), a = T("span"), l = j(u), f(t, "slot", "icon"), f(r, "slot", "title"), f(r, "class", "CashierErrorTitle"), f(a, "slot", "text"), f(a, "class", "CashierErrorText");
6262
6335
  },
6263
- m(c, f) {
6264
- P(c, t, f), P(c, n, f), P(c, r, f), C(r, o), P(c, s, f), P(c, a, f), C(a, l);
6336
+ m(c, h) {
6337
+ P(c, t, h), P(c, n, h), P(c, r, h), C(r, o), P(c, s, h), P(c, a, h), C(a, l);
6265
6338
  },
6266
- p(c, f) {
6267
- f[0] & /*$_*/
6339
+ p(c, h) {
6340
+ h[0] & /*$_*/
6268
6341
  16777216 && i !== (i = /*$_*/
6269
- c[24]("receipt.maintenance.title") + "") && V(o, i), f[0] & /*$_*/
6342
+ c[24]("receipt.maintenance.title") + "") && V(o, i), h[0] & /*$_*/
6270
6343
  16777216 && u !== (u = /*$_*/
6271
6344
  c[24]("receipt.maintenance.text") + "") && V(l, u);
6272
6345
  },
6273
6346
  d(c) {
6274
- c && (M(t), M(n), M(r), M(s), M(a));
6347
+ c && (H(t), H(n), H(r), H(s), H(a));
6275
6348
  }
6276
6349
  };
6277
6350
  }
@@ -6280,29 +6353,29 @@ function wa(e) {
6280
6353
  /*$_*/
6281
6354
  e[24](`${/*txnInfo*/
6282
6355
  e[15].type.toLowerCase()}.fail.title`) + ""
6283
- ), l, c, f, m = (
6356
+ ), l, c, h, m = (
6284
6357
  /*$_*/
6285
6358
  e[24](`${/*txnInfo*/
6286
6359
  e[15].type.toLowerCase()}.fail.text`) + ""
6287
6360
  ), g;
6288
6361
  return {
6289
6362
  c() {
6290
- t = ge("svg"), n = ge("circle"), r = ge("rect"), i = ge("path"), o = G(), s = S("div"), a = S("h3"), l = j(u), c = G(), f = S("p"), g = j(m), h(n, "cx", "36"), h(n, "cy", "36"), h(n, "r", "36"), h(n, "fill", "#D14141"), h(n, "fill-opacity", "0.12"), h(r, "x", "19.335"), h(r, "y", "19"), h(r, "width", "33.33"), h(r, "height", "33.33"), h(r, "rx", "16.665"), h(r, "fill", "#FF3636"), h(i, "d", "M29.085 41.915L41.585 29.415M41.585 41.915L29.085 29.415"), h(i, "stroke", "black"), h(i, "stroke-width", "2.09016"), h(i, "stroke-linecap", "round"), h(i, "stroke-linejoin", "round"), h(t, "class", "ReceiptStatusIcon failed"), h(t, "width", "72"), h(t, "height", "72"), h(t, "viewBox", "0 0 72 72"), h(t, "fill", "none"), h(t, "xmlns", "http://www.w3.org/2000/svg"), h(s, "class", "ReceiptStatusText");
6363
+ t = be("svg"), n = be("circle"), r = be("rect"), i = be("path"), o = G(), s = T("div"), a = T("h3"), l = j(u), c = G(), h = T("p"), g = j(m), f(n, "cx", "36"), f(n, "cy", "36"), f(n, "r", "36"), f(n, "fill", "#D14141"), f(n, "fill-opacity", "0.12"), f(r, "x", "19.335"), f(r, "y", "19"), f(r, "width", "33.33"), f(r, "height", "33.33"), f(r, "rx", "16.665"), f(r, "fill", "#FF3636"), f(i, "d", "M29.085 41.915L41.585 29.415M41.585 41.915L29.085 29.415"), f(i, "stroke", "black"), f(i, "stroke-width", "2.09016"), f(i, "stroke-linecap", "round"), f(i, "stroke-linejoin", "round"), f(t, "class", "ReceiptStatusIcon failed"), f(t, "width", "72"), f(t, "height", "72"), f(t, "viewBox", "0 0 72 72"), f(t, "fill", "none"), f(t, "xmlns", "http://www.w3.org/2000/svg"), f(s, "class", "ReceiptStatusText");
6291
6364
  },
6292
- m(v, d) {
6293
- P(v, t, d), C(t, n), C(t, r), C(t, i), P(v, o, d), P(v, s, d), C(s, a), C(a, l), C(s, c), C(s, f), C(f, g);
6365
+ m(v, p) {
6366
+ P(v, t, p), C(t, n), C(t, r), C(t, i), P(v, o, p), P(v, s, p), C(s, a), C(a, l), C(s, c), C(s, h), C(h, g);
6294
6367
  },
6295
- p(v, d) {
6296
- d[0] & /*$_, txnInfo*/
6368
+ p(v, p) {
6369
+ p[0] & /*$_, txnInfo*/
6297
6370
  16809984 && u !== (u = /*$_*/
6298
6371
  v[24](`${/*txnInfo*/
6299
- v[15].type.toLowerCase()}.fail.title`) + "") && V(l, u), d[0] & /*$_, txnInfo*/
6372
+ v[15].type.toLowerCase()}.fail.title`) + "") && V(l, u), p[0] & /*$_, txnInfo*/
6300
6373
  16809984 && m !== (m = /*$_*/
6301
6374
  v[24](`${/*txnInfo*/
6302
6375
  v[15].type.toLowerCase()}.fail.text`) + "") && V(g, m);
6303
6376
  },
6304
6377
  d(v) {
6305
- v && (M(t), M(o), M(s));
6378
+ v && (H(t), H(o), H(s));
6306
6379
  }
6307
6380
  };
6308
6381
  }
@@ -6311,21 +6384,21 @@ function xa(e) {
6311
6384
  /*$_*/
6312
6385
  e[24](`${/*txnInfo*/
6313
6386
  e[15].type.toLowerCase()}.pending.title`) + ""
6314
- ), f, m, g, v = (
6387
+ ), h, m, g, v = (
6315
6388
  /*$_*/
6316
6389
  e[24](`${/*txnInfo*/
6317
6390
  e[15].type.toLowerCase()}.pending.text`) + ""
6318
- ), d, B, A, N = (
6391
+ ), p, B, k, N = (
6319
6392
  /*$_*/
6320
6393
  e[24]("refreshButton") + ""
6321
- ), k, Z, q;
6394
+ ), A, Z, q;
6322
6395
  return {
6323
6396
  c() {
6324
- t = ge("svg"), n = ge("circle"), r = ge("rect"), i = ge("path"), o = ge("path"), s = ge("path"), a = G(), u = S("div"), l = S("h3"), f = j(c), m = G(), g = S("p"), d = j(v), B = G(), A = S("button"), k = j(N), h(n, "cx", "36"), h(n, "cy", "36"), h(n, "r", "36"), h(n, "fill", "#D19A41"), h(n, "fill-opacity", "0.12"), h(r, "x", "19"), h(r, "y", "19"), h(r, "width", "34"), h(r, "height", "34"), h(r, "rx", "17"), h(r, "fill", "#FF6836"), h(i, "d", "M36 46C30.4771 46 26 41.5228 26 36C26 30.4772 30.4772 26 36 26C40.4776 26 44.2257 28.9429 45.5 33H43"), h(i, "stroke", "black"), h(i, "stroke-width", "1.5"), h(i, "stroke-linecap", "round"), h(i, "stroke-linejoin", "round"), h(o, "d", "M36 32V36L38 38"), h(o, "stroke", "black"), h(o, "stroke-width", "1.5"), h(o, "stroke-linecap", "round"), h(o, "stroke-linejoin", "round"), h(s, "d", "M45.9551 37C45.9848 36.6709 46 36.3373 46 36M39 46C39.3416 45.8876 39.6753 45.7564 40 45.6078M44.7906 41C44.9835 40.6284 45.1555 40.2433 45.305 39.8462M42.1925 44.2292C42.5369 43.9441 42.8631 43.6358 43.1688 43.3065"), h(s, "stroke", "black"), h(s, "stroke-width", "1.5"), h(s, "stroke-linecap", "round"), h(s, "stroke-linejoin", "round"), h(t, "class", "ReceiptStatusIcon pending"), h(t, "width", "72"), h(t, "height", "72"), h(t, "viewBox", "0 0 72 72"), h(t, "fill", "none"), h(t, "xmlns", "http://www.w3.org/2000/svg"), h(u, "class", "ReceiptStatusText"), h(A, "class", "RefreshButton");
6397
+ t = be("svg"), n = be("circle"), r = be("rect"), i = be("path"), o = be("path"), s = be("path"), a = G(), u = T("div"), l = T("h3"), h = j(c), m = G(), g = T("p"), p = j(v), B = G(), k = T("button"), A = j(N), f(n, "cx", "36"), f(n, "cy", "36"), f(n, "r", "36"), f(n, "fill", "#D19A41"), f(n, "fill-opacity", "0.12"), f(r, "x", "19"), f(r, "y", "19"), f(r, "width", "34"), f(r, "height", "34"), f(r, "rx", "17"), f(r, "fill", "#FF6836"), f(i, "d", "M36 46C30.4771 46 26 41.5228 26 36C26 30.4772 30.4772 26 36 26C40.4776 26 44.2257 28.9429 45.5 33H43"), f(i, "stroke", "black"), f(i, "stroke-width", "1.5"), f(i, "stroke-linecap", "round"), f(i, "stroke-linejoin", "round"), f(o, "d", "M36 32V36L38 38"), f(o, "stroke", "black"), f(o, "stroke-width", "1.5"), f(o, "stroke-linecap", "round"), f(o, "stroke-linejoin", "round"), f(s, "d", "M45.9551 37C45.9848 36.6709 46 36.3373 46 36M39 46C39.3416 45.8876 39.6753 45.7564 40 45.6078M44.7906 41C44.9835 40.6284 45.1555 40.2433 45.305 39.8462M42.1925 44.2292C42.5369 43.9441 42.8631 43.6358 43.1688 43.3065"), f(s, "stroke", "black"), f(s, "stroke-width", "1.5"), f(s, "stroke-linecap", "round"), f(s, "stroke-linejoin", "round"), f(t, "class", "ReceiptStatusIcon pending"), f(t, "width", "72"), f(t, "height", "72"), f(t, "viewBox", "0 0 72 72"), f(t, "fill", "none"), f(t, "xmlns", "http://www.w3.org/2000/svg"), f(u, "class", "ReceiptStatusText"), f(k, "class", "RefreshButton");
6325
6398
  },
6326
6399
  m(I, F) {
6327
- P(I, t, F), C(t, n), C(t, r), C(t, i), C(t, o), C(t, s), P(I, a, F), P(I, u, F), C(u, l), C(l, f), C(u, m), C(u, g), C(g, d), P(I, B, F), P(I, A, F), C(A, k), Z || (q = st(
6328
- A,
6400
+ P(I, t, F), C(t, n), C(t, r), C(t, i), C(t, o), C(t, s), P(I, a, F), P(I, u, F), C(u, l), C(l, h), C(u, m), C(u, g), C(g, p), P(I, B, F), P(I, k, F), C(k, A), Z || (q = st(
6401
+ k,
6329
6402
  "click",
6330
6403
  /*getPaymentInfo*/
6331
6404
  e[27]
@@ -6335,15 +6408,15 @@ function xa(e) {
6335
6408
  F[0] & /*$_, txnInfo*/
6336
6409
  16809984 && c !== (c = /*$_*/
6337
6410
  I[24](`${/*txnInfo*/
6338
- I[15].type.toLowerCase()}.pending.title`) + "") && V(f, c), F[0] & /*$_, txnInfo*/
6411
+ I[15].type.toLowerCase()}.pending.title`) + "") && V(h, c), F[0] & /*$_, txnInfo*/
6339
6412
  16809984 && v !== (v = /*$_*/
6340
6413
  I[24](`${/*txnInfo*/
6341
- I[15].type.toLowerCase()}.pending.text`) + "") && V(d, v), F[0] & /*$_*/
6414
+ I[15].type.toLowerCase()}.pending.text`) + "") && V(p, v), F[0] & /*$_*/
6342
6415
  16777216 && N !== (N = /*$_*/
6343
- I[24]("refreshButton") + "") && V(k, N);
6416
+ I[24]("refreshButton") + "") && V(A, N);
6344
6417
  },
6345
6418
  d(I) {
6346
- I && (M(t), M(a), M(u), M(B), M(A)), Z = !1, q();
6419
+ I && (H(t), H(a), H(u), H(B), H(k)), Z = !1, q();
6347
6420
  }
6348
6421
  };
6349
6422
  }
@@ -6352,14 +6425,14 @@ function Ta(e) {
6352
6425
  /*$_*/
6353
6426
  e[24](`${/*txnInfo*/
6354
6427
  e[15].type.toLowerCase()}.success.title`) + ""
6355
- ), u, l, c, f = (
6428
+ ), u, l, c, h = (
6356
6429
  /*$_*/
6357
6430
  e[24](`${/*txnInfo*/
6358
6431
  e[15].type.toLowerCase()}.success.text`) + ""
6359
6432
  ), m;
6360
6433
  return {
6361
6434
  c() {
6362
- t = ge("svg"), n = ge("circle"), r = ge("path"), i = G(), o = S("div"), s = S("h3"), u = j(a), l = G(), c = S("p"), m = j(f), h(n, "cx", "36"), h(n, "cy", "36"), h(n, "r", "36"), h(n, "fill", "#F9C408"), h(n, "fill-opacity", "0.12"), h(r, "d", "M36.5 19.3333C27.3167 19.3333 19.8333 26.8166 19.8333 36C19.8333 45.1833 27.3167 52.6666 36.5 52.6666C45.6833 52.6666 53.1667 45.1833 53.1667 36C53.1667 26.8166 45.6833 19.3333 36.5 19.3333ZM44.4667 32.1666L35.0167 41.6166C34.7833 41.85 34.4667 41.9833 34.1333 41.9833C33.8 41.9833 33.4833 41.85 33.25 41.6166L28.5333 36.9C28.05 36.4166 28.05 35.6166 28.5333 35.1333C29.0167 34.65 29.8167 34.65 30.3 35.1333L34.1333 38.9666L42.7 30.4C43.1833 29.9166 43.9833 29.9166 44.4667 30.4C44.95 30.8833 44.95 31.6666 44.4667 32.1666Z"), h(r, "fill", "#F9C408"), h(t, "class", "ReceiptStatusIcon success"), h(t, "width", "72"), h(t, "height", "72"), h(t, "viewBox", "0 0 72 72"), h(t, "fill", "none"), h(t, "xmlns", "http://www.w3.org/2000/svg"), h(o, "class", "ReceiptStatusText");
6435
+ t = be("svg"), n = be("circle"), r = be("path"), i = G(), o = T("div"), s = T("h3"), u = j(a), l = G(), c = T("p"), m = j(h), f(n, "cx", "36"), f(n, "cy", "36"), f(n, "r", "36"), f(n, "fill", "#F9C408"), f(n, "fill-opacity", "0.12"), f(r, "d", "M36.5 19.3333C27.3167 19.3333 19.8333 26.8166 19.8333 36C19.8333 45.1833 27.3167 52.6666 36.5 52.6666C45.6833 52.6666 53.1667 45.1833 53.1667 36C53.1667 26.8166 45.6833 19.3333 36.5 19.3333ZM44.4667 32.1666L35.0167 41.6166C34.7833 41.85 34.4667 41.9833 34.1333 41.9833C33.8 41.9833 33.4833 41.85 33.25 41.6166L28.5333 36.9C28.05 36.4166 28.05 35.6166 28.5333 35.1333C29.0167 34.65 29.8167 34.65 30.3 35.1333L34.1333 38.9666L42.7 30.4C43.1833 29.9166 43.9833 29.9166 44.4667 30.4C44.95 30.8833 44.95 31.6666 44.4667 32.1666Z"), f(r, "fill", "#F9C408"), f(t, "class", "ReceiptStatusIcon success"), f(t, "width", "72"), f(t, "height", "72"), f(t, "viewBox", "0 0 72 72"), f(t, "fill", "none"), f(t, "xmlns", "http://www.w3.org/2000/svg"), f(o, "class", "ReceiptStatusText");
6363
6436
  },
6364
6437
  m(g, v) {
6365
6438
  P(g, t, v), C(t, n), C(t, r), P(g, i, v), P(g, o, v), C(o, s), C(s, u), C(o, l), C(o, c), C(c, m);
@@ -6369,12 +6442,12 @@ function Ta(e) {
6369
6442
  16809984 && a !== (a = /*$_*/
6370
6443
  g[24](`${/*txnInfo*/
6371
6444
  g[15].type.toLowerCase()}.success.title`) + "") && V(u, a), v[0] & /*$_, txnInfo*/
6372
- 16809984 && f !== (f = /*$_*/
6445
+ 16809984 && h !== (h = /*$_*/
6373
6446
  g[24](`${/*txnInfo*/
6374
- g[15].type.toLowerCase()}.success.text`) + "") && V(m, f);
6447
+ g[15].type.toLowerCase()}.success.text`) + "") && V(m, h);
6375
6448
  },
6376
6449
  d(g) {
6377
- g && (M(t), M(i), M(o));
6450
+ g && (H(t), H(i), H(o));
6378
6451
  }
6379
6452
  };
6380
6453
  }
@@ -6384,7 +6457,7 @@ function mr(e) {
6384
6457
  e[12]
6385
6458
  ), r = [];
6386
6459
  for (let i = 0; i < n.length; i += 1)
6387
- r[i] = gr(fr(e, n, i));
6460
+ r[i] = gr(hr(e, n, i));
6388
6461
  return {
6389
6462
  c() {
6390
6463
  for (let i = 0; i < r.length; i += 1)
@@ -6405,7 +6478,7 @@ function mr(e) {
6405
6478
  );
6406
6479
  let s;
6407
6480
  for (s = 0; s < n.length; s += 1) {
6408
- const a = fr(i, n, s);
6481
+ const a = hr(i, n, s);
6409
6482
  r[s] ? r[s].p(a, o) : (r[s] = gr(a), r[s].c(), r[s].m(t.parentNode, t));
6410
6483
  }
6411
6484
  for (; s < r.length; s += 1)
@@ -6414,7 +6487,7 @@ function mr(e) {
6414
6487
  }
6415
6488
  },
6416
6489
  d(i) {
6417
- i && M(t), Mr(r, i);
6490
+ i && H(t), Mr(r, i);
6418
6491
  }
6419
6492
  };
6420
6493
  }
@@ -6426,7 +6499,7 @@ function gr(e) {
6426
6499
  e[24](`${/*btn*/
6427
6500
  e[73].translationKey}`) + ""
6428
6501
  ), s, a, u, l, c;
6429
- function f() {
6502
+ function h() {
6430
6503
  return (
6431
6504
  /*click_handler_1*/
6432
6505
  e[46](
@@ -6437,25 +6510,25 @@ function gr(e) {
6437
6510
  }
6438
6511
  return {
6439
6512
  c() {
6440
- t = S("button"), n = S("div"), i = G(), s = j(o), a = G(), h(n, "class", "CustomButtonSvg"), h(t, "class", u = `${/*btn*/
6513
+ t = T("button"), n = T("div"), i = G(), s = j(o), a = G(), f(n, "class", "CustomButtonSvg"), f(t, "class", u = `${/*btn*/
6441
6514
  e[73].type} GoToButton`);
6442
6515
  },
6443
6516
  m(g, v) {
6444
- P(g, t, v), C(t, n), n.innerHTML = r, C(t, i), C(t, s), C(t, a), l || (c = st(t, "click", f), l = !0);
6517
+ P(g, t, v), C(t, n), n.innerHTML = r, C(t, i), C(t, s), C(t, a), l || (c = st(t, "click", h), l = !0);
6445
6518
  },
6446
6519
  p(g, v) {
6447
- var d;
6520
+ var p;
6448
6521
  e = g, v[0] & /*displayedButtons*/
6449
- 4096 && r !== (r = ((d = lr[`${/*btn*/
6450
- e[73].type}`]) != null ? d : "") + "") && (n.innerHTML = r), v[0] & /*$_, displayedButtons*/
6522
+ 4096 && r !== (r = ((p = lr[`${/*btn*/
6523
+ e[73].type}`]) != null ? p : "") + "") && (n.innerHTML = r), v[0] & /*$_, displayedButtons*/
6451
6524
  16781312 && o !== (o = /*$_*/
6452
6525
  e[24](`${/*btn*/
6453
6526
  e[73].translationKey}`) + "") && V(s, o), v[0] & /*displayedButtons*/
6454
6527
  4096 && u !== (u = `${/*btn*/
6455
- e[73].type} GoToButton`) && h(t, "class", u);
6528
+ e[73].type} GoToButton`) && f(t, "class", u);
6456
6529
  },
6457
6530
  d(g) {
6458
- g && M(t), l = !1, c();
6531
+ g && H(t), l = !1, c();
6459
6532
  }
6460
6533
  };
6461
6534
  }
@@ -6477,7 +6550,7 @@ function Sa(e) {
6477
6550
  r[24]("backHome") + "") && V(n, t);
6478
6551
  },
6479
6552
  d(r) {
6480
- r && M(n);
6553
+ r && H(n);
6481
6554
  }
6482
6555
  };
6483
6556
  }
@@ -6501,7 +6574,7 @@ function Ea(e) {
6501
6574
  r[15].type}`) + "") && V(n, t);
6502
6575
  },
6503
6576
  d(r) {
6504
- r && M(n);
6577
+ r && H(n);
6505
6578
  }
6506
6579
  };
6507
6580
  }
@@ -6541,7 +6614,7 @@ function br(e) {
6541
6614
  }
6542
6615
  },
6543
6616
  d(i) {
6544
- i && M(t), Mr(r, i);
6617
+ i && H(t), Mr(r, i);
6545
6618
  }
6546
6619
  };
6547
6620
  }
@@ -6552,7 +6625,7 @@ function Ha(e) {
6552
6625
  ), r;
6553
6626
  return {
6554
6627
  c() {
6555
- t = S("span"), r = j(n), h(t, "class", "Label");
6628
+ t = T("span"), r = j(n), f(t, "class", "Label");
6556
6629
  },
6557
6630
  m(i, o) {
6558
6631
  P(i, t, o), C(t, r);
@@ -6563,7 +6636,7 @@ function Ha(e) {
6563
6636
  i[70].defaultValue + "") && V(r, n);
6564
6637
  },
6565
6638
  d(i) {
6566
- i && M(t);
6639
+ i && H(t);
6567
6640
  }
6568
6641
  };
6569
6642
  }
@@ -6580,8 +6653,8 @@ function Ba(e) {
6580
6653
  ), a, u;
6581
6654
  return {
6582
6655
  c() {
6583
- t = S("span"), r = j(n), i = G(), o = S("a"), a = j(s), h(o, "href", u = /*field*/
6584
- e[70].defaultValue), h(o, "target", "_blank"), h(o, "rel", "noopener noreferrer");
6656
+ t = T("span"), r = j(n), i = G(), o = T("a"), a = j(s), f(o, "href", u = /*field*/
6657
+ e[70].defaultValue), f(o, "target", "_blank"), f(o, "rel", "noopener noreferrer");
6585
6658
  },
6586
6659
  m(l, c) {
6587
6660
  P(l, t, c), C(t, r), C(t, i), C(t, o), C(o, a);
@@ -6593,10 +6666,10 @@ function Ba(e) {
6593
6666
  65536 && s !== (s = /*field*/
6594
6667
  l[70].name + "") && V(a, s), c[0] & /*receiptFields*/
6595
6668
  65536 && u !== (u = /*field*/
6596
- l[70].defaultValue) && h(o, "href", u);
6669
+ l[70].defaultValue) && f(o, "href", u);
6597
6670
  },
6598
6671
  d(l) {
6599
- l && M(t);
6672
+ l && H(t);
6600
6673
  }
6601
6674
  };
6602
6675
  }
@@ -6604,9 +6677,9 @@ function Pa(e) {
6604
6677
  let t, n, r;
6605
6678
  return {
6606
6679
  c() {
6607
- t = S("img"), On(t.src, n = /*field*/
6608
- e[70].defaultValue) || h(t, "src", n), h(t, "title", r = /*field*/
6609
- e[70].description), h(t, "alt", "");
6680
+ t = T("img"), On(t.src, n = /*field*/
6681
+ e[70].defaultValue) || f(t, "src", n), f(t, "title", r = /*field*/
6682
+ e[70].description), f(t, "alt", "");
6610
6683
  },
6611
6684
  m(i, o) {
6612
6685
  P(i, t, o);
@@ -6614,23 +6687,23 @@ function Pa(e) {
6614
6687
  p(i, o) {
6615
6688
  o[0] & /*receiptFields*/
6616
6689
  65536 && !On(t.src, n = /*field*/
6617
- i[70].defaultValue) && h(t, "src", n), o[0] & /*receiptFields*/
6690
+ i[70].defaultValue) && f(t, "src", n), o[0] & /*receiptFields*/
6618
6691
  65536 && r !== (r = /*field*/
6619
- i[70].description) && h(t, "title", r);
6692
+ i[70].description) && f(t, "title", r);
6620
6693
  },
6621
6694
  d(i) {
6622
- i && M(t);
6695
+ i && H(t);
6623
6696
  }
6624
6697
  };
6625
6698
  }
6626
- function ka(e) {
6699
+ function Aa(e) {
6627
6700
  let t, n = (
6628
6701
  /*field*/
6629
6702
  e[70].defaultValue + ""
6630
6703
  );
6631
6704
  return {
6632
6705
  c() {
6633
- t = S("span");
6706
+ t = T("span");
6634
6707
  },
6635
6708
  m(r, i) {
6636
6709
  P(r, t, i), t.innerHTML = n;
@@ -6641,11 +6714,11 @@ function ka(e) {
6641
6714
  r[70].defaultValue + "") && (t.innerHTML = n);
6642
6715
  },
6643
6716
  d(r) {
6644
- r && M(t);
6717
+ r && H(t);
6645
6718
  }
6646
6719
  };
6647
6720
  }
6648
- function Aa(e) {
6721
+ function ka(e) {
6649
6722
  let t, n, r = (
6650
6723
  /*field*/
6651
6724
  e[70].defaultValue + ""
@@ -6661,7 +6734,7 @@ function Aa(e) {
6661
6734
  }
6662
6735
  return {
6663
6736
  c() {
6664
- t = S("div"), n = S("div"), i = j(r), h(t, "class", "QRCode");
6737
+ t = T("div"), n = T("div"), i = j(r), f(t, "class", "QRCode");
6665
6738
  },
6666
6739
  m(u, l) {
6667
6740
  P(u, t, l), C(t, n), C(n, i), e[47](n), o || (s = st(t, "click", a), o = !0);
@@ -6672,7 +6745,7 @@ function Aa(e) {
6672
6745
  e[70].defaultValue + "") && V(i, r);
6673
6746
  },
6674
6747
  d(u) {
6675
- u && M(t), e[47](null), o = !1, s();
6748
+ u && H(t), e[47](null), o = !1, s();
6676
6749
  }
6677
6750
  };
6678
6751
  }
@@ -6682,10 +6755,10 @@ function yr(e) {
6682
6755
  return (
6683
6756
  /*field*/
6684
6757
  s[70].type === /*FieldTypes*/
6685
- s[14].QRCode ? Aa : (
6758
+ s[14].QRCode ? ka : (
6686
6759
  /*field*/
6687
6760
  s[70].type === /*FieldTypes*/
6688
- s[14].Html ? ka : (
6761
+ s[14].Html ? Aa : (
6689
6762
  /*field*/
6690
6763
  s[70].type === /*FieldTypes*/
6691
6764
  s[14].Image ? Pa : (
@@ -6704,7 +6777,7 @@ function yr(e) {
6704
6777
  let i = r(e), o = i(e);
6705
6778
  return {
6706
6779
  c() {
6707
- t = S("div"), o.c(), n = G(), h(t, "class", "ReceiptField");
6780
+ t = T("div"), o.c(), n = G(), f(t, "class", "ReceiptField");
6708
6781
  },
6709
6782
  m(s, a) {
6710
6783
  P(s, t, a), o.m(t, null), C(t, n);
@@ -6713,7 +6786,7 @@ function yr(e) {
6713
6786
  i === (i = r(s)) && o ? o.p(s, a) : (o.d(1), o = i(s), o && (o.c(), o.m(t, n)));
6714
6787
  },
6715
6788
  d(s) {
6716
- s && M(t), o.d();
6789
+ s && H(t), o.d();
6717
6790
  }
6718
6791
  };
6719
6792
  }
@@ -6728,7 +6801,7 @@ function Ia(e) {
6728
6801
  let r = n(e), i = r(e);
6729
6802
  return {
6730
6803
  c() {
6731
- t = S("div"), i.c(), h(t, "class", "CashierReceiptPageWidget");
6804
+ t = T("div"), i.c(), f(t, "class", "CashierReceiptPageWidget");
6732
6805
  },
6733
6806
  m(o, s) {
6734
6807
  P(o, t, s), i.m(t, null), e[49](t);
@@ -6739,27 +6812,27 @@ function Ia(e) {
6739
6812
  i: ie,
6740
6813
  o: ie,
6741
6814
  d(o) {
6742
- o && M(t), i.d(), e[49](null);
6815
+ o && H(t), i.d(), e[49](null);
6743
6816
  }
6744
6817
  };
6745
6818
  }
6746
6819
  let La = "_blank";
6747
6820
  function Oa(e, t, n) {
6748
6821
  let r;
6749
- xi(e, Us, (p) => n(24, r = p)), Ot.extend(Xs);
6750
- let { endpoint: i } = t, { session: o } = t, { lang: s = "en" } = t, { local: a = "en-US" } = t, { showerrors: u = "true" } = t, { translationurl: l } = t, { assetsurl: c = "" } = t, { customerid: f } = t, { transactionid: m } = t, { currencydecimals: g = "0" } = t, { type: v } = t, { clientstyling: d = "" } = t, { clientstylingurl: B = "" } = t, { mbsource: A = "" } = t, { showverifications: N = "true" } = t, { paymentmethod: k = "" } = t, Z = !1, q, { customsucceessbuttons: I = "" } = t, { custompendingbuttons: F = "" } = t, { customfailedbuttons: pe = "" } = t, { currencysymbol: ue = "" } = t, { currencyposition: K = "" } = t, { userroles: L = "" } = t, { windowsize: be } = t, { p2p: Se = "false" } = t, T = [], _ = [];
6822
+ xi(e, Us, (d) => n(24, r = d)), Ot.extend(Xs);
6823
+ let { endpoint: i } = t, { session: o } = t, { lang: s = "en" } = t, { local: a = "en-US" } = t, { showerrors: u = "true" } = t, { translationurl: l } = t, { assetsurl: c = "" } = t, { customerid: h } = t, { transactionid: m } = t, { currencydecimals: g = "0" } = t, { type: v } = t, { clientstyling: p = "" } = t, { clientstylingurl: B = "" } = t, { mbsource: k = "" } = t, { showverifications: N = "true" } = t, { paymentmethod: A = "" } = t, Z = !1, q, { customsucceessbuttons: I = "" } = t, { custompendingbuttons: F = "" } = t, { customfailedbuttons: pe = "" } = t, { currencysymbol: le = "" } = t, { currencyposition: K = "" } = t, { userroles: L = "" } = t, { windowsize: ye } = t, { p2p: Se = "false" } = t, S = [], _ = [];
6751
6824
  var b;
6752
- (function(p) {
6753
- p.Success = "Success", p.Maintenance = "Maintenance";
6825
+ (function(d) {
6826
+ d.Success = "Success", d.Maintenance = "Maintenance";
6754
6827
  })(b || (b = {}));
6755
6828
  var y;
6756
- (function(p) {
6757
- p.Unknown = "Unknown", p.Text = "Text", p.Boolean = "Boolean", p.Number = "Number", p.Money = "Money", p.DateTime = "DateTime", p.Lookup = "Lookup", p.IpAddress = "IpAddress", p.Date = "Date", p.Time = "Time", p.LookupCollection = "LookupCollection", p.Hidden = "Hidden", p.Label = "Label", p.Password = "Password", p.Link = "Link", p.Image = "Image", p.Html = "Html", p.QRCode = "QR";
6829
+ (function(d) {
6830
+ d.Unknown = "Unknown", d.Text = "Text", d.Boolean = "Boolean", d.Number = "Number", d.Money = "Money", d.DateTime = "DateTime", d.Lookup = "Lookup", d.IpAddress = "IpAddress", d.Date = "Date", d.Time = "Time", d.LookupCollection = "LookupCollection", d.Hidden = "Hidden", d.Label = "Label", d.Password = "Password", d.Link = "Link", d.Image = "Image", d.Html = "Html", d.QRCode = "QR";
6758
6831
  })(y || (y = {}));
6759
- const w = (p, [re, we]) => [
6760
- ...p,
6832
+ const w = (d, [re, we]) => [
6833
+ ...d,
6761
6834
  ...Array.isArray(re) ? [...re.map((Y) => [Y, we])] : [[re, we]]
6762
- ], H = new Map([
6835
+ ], M = new Map([
6763
6836
  [["Unknown", 0], y.Unknown],
6764
6837
  [["Text", 1], y.Text],
6765
6838
  [["Boolean", 2], y.Boolean],
@@ -6779,7 +6852,7 @@ function Oa(e, t, n) {
6779
6852
  [["Html", 19], y.Html],
6780
6853
  [["QR", 20], y.QRCode]
6781
6854
  ].reduce(w, []));
6782
- let x, R = [], z, O, Q = [], te, de, ce = "", Ce = window.navigator.userAgent, fe = !1;
6855
+ let x, R = [], z, O, Q = [], te, me, he = "", Ce = window.navigator.userAgent, fe = !1;
6783
6856
  const ne = {
6784
6857
  promotions: {
6785
6858
  event: "Cashier:goToPromotions",
@@ -6836,35 +6909,35 @@ function Oa(e, t, n) {
6836
6909
  translationKey: "close",
6837
6910
  type: "CloseButton"
6838
6911
  }
6839
- }, oe = (p) => {
6840
- n(12, T = []), p.split(",").forEach((we) => {
6841
- ne[we.trim()] && T.push(ne[we.trim()]);
6912
+ }, oe = (d) => {
6913
+ n(12, S = []), d.split(",").forEach((we) => {
6914
+ ne[we.trim()] && S.push(ne[we.trim()]);
6842
6915
  });
6843
- }, me = () => {
6916
+ }, ge = () => {
6844
6917
  js(s);
6845
6918
  };
6846
- Ii(() => (window.addEventListener("message", _e, !1), ca(a, ue, K, g), () => {
6919
+ Ii(() => (window.addEventListener("message", _e, !1), ca(a, le, K, g), () => {
6847
6920
  window.removeEventListener("message", _e);
6848
6921
  }));
6849
- const _e = (p) => {
6922
+ const _e = (d) => {
6850
6923
  var re;
6851
- switch (p.data.type) {
6924
+ switch (d.data.type) {
6852
6925
  case "CloseReceiptInSecondTab":
6853
- (re = window.opener) == null || re.postMessage(p.data);
6926
+ (re = window.opener) == null || re.postMessage(d.data);
6854
6927
  break;
6855
6928
  }
6856
6929
  }, Ee = () => {
6857
- let p = l;
6858
- if (p)
6859
- return fetch(p).then((re) => re.json()).then((re) => {
6930
+ let d = l;
6931
+ if (d)
6932
+ return fetch(d).then((re) => re.json()).then((re) => {
6860
6933
  Object.keys(re).forEach((we) => {
6861
6934
  Qn(we, re[we]);
6862
6935
  });
6863
6936
  }).catch(() => {
6864
6937
  });
6865
6938
  };
6866
- Object.keys(Jn).forEach((p) => {
6867
- Qn(p, Jn[p]);
6939
+ Object.keys(Jn).forEach((d) => {
6940
+ Qn(d, Jn[d]);
6868
6941
  });
6869
6942
  const Ke = () => {
6870
6943
  window.postMessage({ type: "CloseCashierReceiptPage" }, window.location.href);
@@ -6873,22 +6946,22 @@ function Oa(e, t, n) {
6873
6946
  {
6874
6947
  type: "ErrorResponseCode",
6875
6948
  errorResponseCode: te,
6876
- showErrorOutsideReceiptPage: de
6949
+ showErrorOutsideReceiptPage: me
6877
6950
  },
6878
6951
  window.location.href
6879
6952
  );
6880
6953
  }, Oe = () => {
6881
- const p = new URL(`${i}/v1/player/${f}/payment/GetPaymentInfo`), re = new Headers();
6954
+ const d = new URL(`${i}/v1/player/${h}/payment/GetPaymentInfo`), re = new Headers();
6882
6955
  re.append("accept", "application/json"), re.append("Content-Type", "application/json"), re.append("X-SessionId", `${o}`), re.append("X-Client-Request-Timestamp", Ot.utc().format("YYYY-MM-DD HH:mm:ss.SSS")), _.indexOf("MM_CHANNEL_BETA") != -1 && re.append("MM_CHANNEL", "BETA");
6883
6956
  const we = {
6884
6957
  method: "POST",
6885
6958
  headers: re,
6886
6959
  body: JSON.stringify({ TransactionCode: m })
6887
6960
  };
6888
- n(11, Z = !0), fetch(p, we).then((Y) => Y.json()).then((Y) => {
6889
- var mt, wn, xn, Tn, Sn, En, Hn, Mn, Bn, Pn, kn;
6961
+ n(11, Z = !0), fetch(d, we).then((Y) => Y.json()).then((Y) => {
6962
+ var mt, wn, xn, Tn, Sn, En, Hn, Mn, Bn, Pn, An;
6890
6963
  if (Y.ResponseCode !== b.Success) {
6891
- n(19, te = Y.ResponseCode), n(20, de = u.toLowerCase() === "false" || !u), Ie();
6964
+ n(19, te = Y.ResponseCode), n(20, me = u.toLowerCase() === "false" || !u), Ie();
6892
6965
  return;
6893
6966
  }
6894
6967
  switch (n(15, x = {
@@ -6900,21 +6973,21 @@ function Oa(e, t, n) {
6900
6973
  currency: (Tn = Y.Transaction.Amounts[0]) == null ? void 0 : Tn.Currency,
6901
6974
  time: Y.Transaction.Status.Created
6902
6975
  }), n(16, R = Y.ReceiptInfo && Y.ReceiptInfo.ReceiptFields ? Y.ReceiptInfo.ReceiptFields.map((Me) => ({
6903
- type: H.get(Me.Type),
6976
+ type: M.get(Me.Type),
6904
6977
  name: Me.Name,
6905
6978
  description: Me.Description,
6906
6979
  defaultValue: Me.DefaultValue,
6907
6980
  useCopyButton: Me.UseCopyButton,
6908
6981
  usePrintButton: Me.UsePrintButton
6909
- })) : []), Y.ReceiptInfo && Y.ReceiptInfo.ReceiptFields && !k && n(0, k = R[0].defaultValue), r(Fs(x.status, x.type), { values: { errorText: x.message } }), n(17, z = fa(Number(x.amount), x.currency)), x.status) {
6982
+ })) : []), Y.ReceiptInfo && Y.ReceiptInfo.ReceiptFields && !A && n(0, A = R[0].defaultValue), r(Fs(x.status, x.type), { values: { errorText: x.message } }), n(17, z = ha(Number(x.amount), x.currency)), x.status) {
6910
6983
  case "Voided":
6911
6984
  case "Success":
6912
- if (oe(I || "casino, livecasino, tournaments"), n(21, ce = "success"), x.type === "Deposit") {
6985
+ if (oe(I || "casino, livecasino, tournaments"), n(21, he = "success"), x.type === "Deposit") {
6913
6986
  const Me = (En = (Sn = Y.Transaction) == null ? void 0 : Sn.Flags) == null ? void 0 : En.NewDepositCustomer, Re = (Hn = Y == null ? void 0 : Y.Transaction) == null ? void 0 : Hn.Payloads;
6914
6987
  window.postMessage(
6915
6988
  {
6916
6989
  type: Me === "True" ? "FirstDeposit" : "ConfirmedDeposit",
6917
- method: k,
6990
+ method: A,
6918
6991
  amount: x.amount,
6919
6992
  currency: x.currency,
6920
6993
  depositType: (Mn = Re == null ? void 0 : Re.TagManagerDepositType) != null ? Mn : "",
@@ -6926,12 +6999,12 @@ function Oa(e, t, n) {
6926
6999
  ur(
6927
7000
  x.type === "Deposit" ? "deposit_success" : "withdrawal_success",
6928
7001
  {
6929
- userID: f,
7002
+ userID: h,
6930
7003
  amount: x.amount,
6931
7004
  currency: x.currency,
6932
7005
  transactionId: x.referenceId,
6933
- method: k,
6934
- isFirstDeposit: ((kn = (Pn = Y.Transaction) == null ? void 0 : Pn.Flags) == null ? void 0 : kn.NewDepositCustomer) === "True"
7006
+ method: A,
7007
+ isFirstDeposit: ((An = (Pn = Y.Transaction) == null ? void 0 : Pn.Flags) == null ? void 0 : An.NewDepositCustomer) === "True"
6935
7008
  }
6936
7009
  );
6937
7010
  break;
@@ -6941,15 +7014,15 @@ function Oa(e, t, n) {
6941
7014
  case "PendingApprovalStage2":
6942
7015
  case "PendingApprovalStage3":
6943
7016
  case "PendingOfflineNotification":
6944
- oe(F || "casino, livecasino, tournaments"), n(21, ce = "pending");
7017
+ oe(F || "casino, livecasino, tournaments"), n(21, he = "pending");
6945
7018
  break;
6946
7019
  case "Rejected":
6947
7020
  case "Cancelled":
6948
7021
  case "Failed":
6949
- oe(pe || "casino, livecasino, tournaments"), n(21, ce = x.status.toLowerCase()), ur(
7022
+ oe(pe || "casino, livecasino, tournaments"), n(21, he = x.status.toLowerCase()), ur(
6950
7023
  x.type === "Deposit" ? "deposit_failed" : "withdrawal_failed",
6951
7024
  {
6952
- userID: f,
7025
+ userID: h,
6953
7026
  amount: x.amount,
6954
7027
  currency: x.currency,
6955
7028
  failureReason: x.message
@@ -6961,13 +7034,13 @@ function Oa(e, t, n) {
6961
7034
  }
6962
7035
  c ? Gs(c, x.status) : zs(x.status);
6963
7036
  }).finally(() => n(11, Z = !1));
6964
- }, Qe = (p) => {
6965
- window.postMessage({ type: p }, window.location.href);
6966
- }, Je = (p) => {
6967
- p && window.postMessage(
7037
+ }, Qe = (d) => {
7038
+ window.postMessage({ type: d }, window.location.href);
7039
+ }, Je = (d) => {
7040
+ d && window.postMessage(
6968
7041
  {
6969
7042
  type: "NavigateTo",
6970
- path: p,
7043
+ path: d,
6971
7044
  target: La,
6972
7045
  externalLink: !1
6973
7046
  },
@@ -6975,8 +7048,8 @@ function Oa(e, t, n) {
6975
7048
  );
6976
7049
  };
6977
7050
  let xe, se;
6978
- const ae = (p, re = !0) => Gt(this, null, function* () {
6979
- const Y = p.currentTarget.innerHTML;
7051
+ const ae = (d, re = !0) => Gt(this, null, function* () {
7052
+ const Y = d.currentTarget.innerHTML;
6980
7053
  if (Y && navigator.clipboard && navigator.clipboard.writeText)
6981
7054
  try {
6982
7055
  yield navigator.clipboard.writeText(Y), re && (n(23, xe = !0), clearTimeout(se), se = setTimeout(
@@ -6988,49 +7061,49 @@ function Oa(e, t, n) {
6988
7061
  } catch (mt) {
6989
7062
  console.error("Clipboard API failed:", mt);
6990
7063
  }
6991
- }), dt = () => {
7064
+ }), pt = () => {
6992
7065
  L.length > 0 && (_ = L.split(","));
6993
- }, De = (p) => ae(p), ye = (p) => Qe(p.event);
6994
- function le(p) {
6995
- Mt[p ? "unshift" : "push"](() => {
6996
- Q[Q.length] = p, n(18, Q);
7066
+ }, De = (d) => ae(d), ve = (d) => Qe(d.event);
7067
+ function ce(d) {
7068
+ Mt[d ? "unshift" : "push"](() => {
7069
+ Q[Q.length] = d, n(18, Q);
6997
7070
  });
6998
7071
  }
6999
- const E = (p) => {
7000
- Je(p.description);
7072
+ const E = (d) => {
7073
+ Je(d.description);
7001
7074
  };
7002
- function U(p) {
7003
- Mt[p ? "unshift" : "push"](() => {
7004
- O = p, n(10, O);
7075
+ function U(d) {
7076
+ Mt[d ? "unshift" : "push"](() => {
7077
+ O = d, n(10, O);
7005
7078
  });
7006
7079
  }
7007
- return e.$$set = (p) => {
7008
- "endpoint" in p && n(1, i = p.endpoint), "session" in p && n(2, o = p.session), "lang" in p && n(3, s = p.lang), "local" in p && n(31, a = p.local), "showerrors" in p && n(32, u = p.showerrors), "translationurl" in p && n(4, l = p.translationurl), "assetsurl" in p && n(5, c = p.assetsurl), "customerid" in p && n(6, f = p.customerid), "transactionid" in p && n(33, m = p.transactionid), "currencydecimals" in p && n(34, g = p.currencydecimals), "type" in p && n(35, v = p.type), "clientstyling" in p && n(7, d = p.clientstyling), "clientstylingurl" in p && n(8, B = p.clientstylingurl), "mbsource" in p && n(36, A = p.mbsource), "showverifications" in p && n(9, N = p.showverifications), "paymentmethod" in p && n(0, k = p.paymentmethod), "customsucceessbuttons" in p && n(37, I = p.customsucceessbuttons), "custompendingbuttons" in p && n(38, F = p.custompendingbuttons), "customfailedbuttons" in p && n(39, pe = p.customfailedbuttons), "currencysymbol" in p && n(40, ue = p.currencysymbol), "currencyposition" in p && n(41, K = p.currencyposition), "userroles" in p && n(42, L = p.userroles), "windowsize" in p && n(43, be = p.windowsize), "p2p" in p && n(44, Se = p.p2p);
7080
+ return e.$$set = (d) => {
7081
+ "endpoint" in d && n(1, i = d.endpoint), "session" in d && n(2, o = d.session), "lang" in d && n(3, s = d.lang), "local" in d && n(31, a = d.local), "showerrors" in d && n(32, u = d.showerrors), "translationurl" in d && n(4, l = d.translationurl), "assetsurl" in d && n(5, c = d.assetsurl), "customerid" in d && n(6, h = d.customerid), "transactionid" in d && n(33, m = d.transactionid), "currencydecimals" in d && n(34, g = d.currencydecimals), "type" in d && n(35, v = d.type), "clientstyling" in d && n(7, p = d.clientstyling), "clientstylingurl" in d && n(8, B = d.clientstylingurl), "mbsource" in d && n(36, k = d.mbsource), "showverifications" in d && n(9, N = d.showverifications), "paymentmethod" in d && n(0, A = d.paymentmethod), "customsucceessbuttons" in d && n(37, I = d.customsucceessbuttons), "custompendingbuttons" in d && n(38, F = d.custompendingbuttons), "customfailedbuttons" in d && n(39, pe = d.customfailedbuttons), "currencysymbol" in d && n(40, le = d.currencysymbol), "currencyposition" in d && n(41, K = d.currencyposition), "userroles" in d && n(42, L = d.userroles), "windowsize" in d && n(43, ye = d.windowsize), "p2p" in d && n(44, Se = d.p2p);
7009
7082
  }, e.$$.update = () => {
7010
7083
  e.$$.dirty[1] & /*userroles*/
7011
- 2048 && L && dt(), e.$$.dirty[0] & /*endpoint, session, customerid*/
7084
+ 2048 && L && pt(), e.$$.dirty[0] & /*endpoint, session, customerid*/
7012
7085
  70 | e.$$.dirty[1] & /*transactionid, showerrors*/
7013
- 6 && i && o && f && m && u && Oe(), e.$$.dirty[0] & /*lang*/
7014
- 8 && s && me(), e.$$.dirty[0] & /*lang, translationurl*/
7086
+ 6 && i && o && h && m && u && Oe(), e.$$.dirty[0] & /*lang*/
7087
+ 8 && s && ge(), e.$$.dirty[0] & /*lang, translationurl*/
7015
7088
  24 && s && l && Ee(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
7016
- 1152 && d && O && ha(O, d), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
7017
- 1280 && B && O && pa(O, B), e.$$.dirty[0] & /*customStylingContainer*/
7089
+ 1152 && p && O && fa(O, p), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
7090
+ 1280 && B && O && da(O, B), e.$$.dirty[0] & /*customStylingContainer*/
7018
7091
  1024 | e.$$.dirty[1] & /*mbsource*/
7019
- 32 && A && O && da(O, `${A}.Style`, q);
7092
+ 32 && k && O && pa(O, `${k}.Style`, q);
7020
7093
  }, [
7021
- k,
7094
+ A,
7022
7095
  i,
7023
7096
  o,
7024
7097
  s,
7025
7098
  l,
7026
7099
  c,
7027
- f,
7028
- d,
7100
+ h,
7101
+ p,
7029
7102
  B,
7030
7103
  N,
7031
7104
  O,
7032
7105
  Z,
7033
- T,
7106
+ S,
7034
7107
  b,
7035
7108
  y,
7036
7109
  x,
@@ -7038,8 +7111,8 @@ function Oa(e, t, n) {
7038
7111
  z,
7039
7112
  Q,
7040
7113
  te,
7041
- de,
7042
- ce,
7114
+ me,
7115
+ he,
7043
7116
  fe,
7044
7117
  xe,
7045
7118
  r,
@@ -7054,18 +7127,18 @@ function Oa(e, t, n) {
7054
7127
  m,
7055
7128
  g,
7056
7129
  v,
7057
- A,
7130
+ k,
7058
7131
  I,
7059
7132
  F,
7060
7133
  pe,
7061
- ue,
7134
+ le,
7062
7135
  K,
7063
7136
  L,
7064
- be,
7137
+ ye,
7065
7138
  Se,
7066
7139
  De,
7067
- ye,
7068
- le,
7140
+ ve,
7141
+ ce,
7069
7142
  E,
7070
7143
  U
7071
7144
  ];
@@ -7254,46 +7327,50 @@ class mi extends Yi {
7254
7327
  }
7255
7328
  }
7256
7329
  Zi(mi, { endpoint: {}, session: {}, lang: {}, local: {}, showerrors: {}, translationurl: {}, assetsurl: {}, customerid: {}, transactionid: {}, currencydecimals: {}, type: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, showverifications: {}, paymentmethod: {}, customsucceessbuttons: {}, custompendingbuttons: {}, customfailedbuttons: {}, currencysymbol: {}, currencyposition: {}, userroles: {}, windowsize: {}, p2p: {} }, [], [], !0);
7257
- const ja = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7330
+ const Fa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7258
7331
  __proto__: null,
7259
7332
  default: mi
7260
7333
  }, Symbol.toStringTag, { value: "Module" }));
7261
7334
  export {
7262
7335
  Le as $,
7263
- On as A,
7264
- W as B,
7265
- $i as C,
7266
- ha as D,
7267
- pa as E,
7268
- da as F,
7269
- Zi as G,
7270
- Us as H,
7271
- ja as I,
7336
+ $i as A,
7337
+ yn as B,
7338
+ V as C,
7339
+ j as D,
7340
+ zi as E,
7341
+ Fi as F,
7342
+ Ga as G,
7343
+ ja as H,
7344
+ fa as I,
7345
+ da as J,
7346
+ pa as K,
7347
+ Us as L,
7348
+ Fa as M,
7272
7349
  Yi as S,
7273
- ei as a,
7274
- Vi as b,
7275
- Ti as c,
7276
- M as d,
7277
- Jt as e,
7350
+ Ti as a,
7351
+ On as b,
7352
+ f as c,
7353
+ H as d,
7354
+ P as e,
7278
7355
  X as f,
7279
- Ni as g,
7280
- P as h,
7281
- ys as i,
7282
- S as j,
7283
- h as k,
7284
- xi as l,
7285
- Ra as m,
7286
- Ua as n,
7287
- Ii as o,
7288
- $a as p,
7289
- C as q,
7290
- G as r,
7356
+ C as g,
7357
+ T as h,
7358
+ Vi as i,
7359
+ G as j,
7360
+ Zi as k,
7361
+ st as l,
7362
+ ei as m,
7363
+ ie as n,
7364
+ ys as o,
7365
+ Jt as p,
7366
+ Ni as q,
7367
+ xi as r,
7291
7368
  Cr as s,
7292
7369
  Ui as t,
7293
- Na as u,
7294
- Mt as v,
7295
- yn as w,
7296
- V as x,
7297
- j as y,
7298
- st as z
7370
+ Ii as u,
7371
+ Ra as v,
7372
+ Na as w,
7373
+ Ua as x,
7374
+ $a as y,
7375
+ Mt as z
7299
7376
  };