@everymatrix/cashier-method-details 1.64.1 → 1.64.4

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.
Files changed (20) hide show
  1. package/components/{CashierError-D05ZOiyZ.js → CashierError-Bisyjt8z.js} +4 -2
  2. package/components/{CashierError-DletG-nz.js → CashierError-DV-HLY8d.js} +4 -2
  3. package/components/CashierError-GVInnLO0.cjs +5 -0
  4. package/components/{CashierHeader-zZXvyvHx.js → CashierHeader-BmFLcvOn.js} +1 -1
  5. package/components/{CashierHeader-BKhW9U-k.js → CashierHeader-D5rWgCkR.js} +1 -1
  6. package/components/{CashierHeader-4ue0Gap7.cjs → CashierHeader-Dpm_m2-F.cjs} +1 -1
  7. package/components/{CashierIframeRedirect-BZbyzVJy.js → CashierIframeRedirect-BeJ3BjdP.js} +2 -2
  8. package/components/{CashierIframeRedirect-BT_SymGW.cjs → CashierIframeRedirect-OIn1YaZR.cjs} +1 -1
  9. package/components/{CashierIframeRedirect-D5Fhv5bq.js → CashierIframeRedirect-UyIC5nCY.js} +2 -2
  10. package/components/{CashierMethodDetails-BMLBg5tI.js → CashierMethodDetails-CbIHNNA7.js} +4 -4
  11. package/components/{CashierMethodDetails-DZPm8tes.cjs → CashierMethodDetails-HB5kpaqd.cjs} +1 -1
  12. package/components/{CashierMethodDetails-CL7ZEED9.js → CashierMethodDetails-rb98ADfQ.js} +4 -4
  13. package/components/{CashierReceiptPage-V1a0b-4d.js → CashierReceiptPage-CEUHu1XU.js} +167 -156
  14. package/components/{CashierReceiptPage-D0rwdNa6.js → CashierReceiptPage-Cy6AVN3x.js} +167 -156
  15. package/components/{CashierReceiptPage-C32peTEl.cjs → CashierReceiptPage-DQdoyQtR.cjs} +1 -1
  16. package/es2015/cashier-method-details.cjs +1 -1
  17. package/es2015/cashier-method-details.js +1 -1
  18. package/esnext/cashier-method-details.js +1 -1
  19. package/package.json +1 -1
  20. package/components/CashierError-B90Fovz1.cjs +0 -5
@@ -1,6 +1,6 @@
1
- import { S as Be, b as we, s as Le, f as E, c as Ze, n as K, e as v, o as p, G as Me, m as d, p as z, q as B, C as G, v as a, w as Re, H as Qe, A as le, y as M, B as I, z as R, D as Z, K as ce, L as xe, x as Se, E as De } from "./CashierConfirmModal-CNzEOcOZ.js";
2
- import { d as oe, u as Ge } from "./CashierMethodDetails-CL7ZEED9.js";
3
- import { a as Ue, i as Ce, $ as Fe, b as Oe } from "./CashierError-D05ZOiyZ.js";
1
+ import { S as Be, b as we, s as Le, f as E, c as Ze, n as K, e as v, o as p, G as Me, m as d, p as z, q as w, C as G, v as a, w as Re, H as Qe, A as le, y as M, B as I, z as R, D as B, K as ce, L as Se, x as xe, E as De } from "./CashierConfirmModal-CNzEOcOZ.js";
2
+ import { d as oe, u as Ge } from "./CashierMethodDetails-rb98ADfQ.js";
3
+ import { a as Ue, i as Ce, $ as Fe, b as Oe } from "./CashierError-Bisyjt8z.js";
4
4
  function re(A, e) {
5
5
  Ue(A, e);
6
6
  }
@@ -314,36 +314,41 @@ function ue(A, e, n) {
314
314
  function nn(A) {
315
315
  let e, n = (
316
316
  /*errorResponseCode*/
317
- A[16] === /*ResponseCode*/
318
- A[7].Maintenance && ve(A)
317
+ A[17] === /*ResponseCode*/
318
+ A[8].Maintenance && ve(A)
319
319
  );
320
320
  return {
321
321
  c() {
322
- e = z("cashier-error"), n && n.c(), Z(
322
+ e = z("cashier-error"), n && n.c(), B(
323
323
  e,
324
324
  "assetsurl",
325
325
  /*assetsurl*/
326
- A[3]
327
- ), Z(
326
+ A[4]
327
+ ), B(
328
328
  e,
329
329
  "translationurl",
330
330
  /*translationurl*/
331
- A[2]
332
- ), Z(
331
+ A[3]
332
+ ), B(
333
333
  e,
334
334
  "clientstylingurl",
335
335
  /*clientstylingurl*/
336
- A[5]
337
- ), Z(
336
+ A[6]
337
+ ), B(
338
338
  e,
339
339
  "clientstyling",
340
340
  /*clientstyling*/
341
- A[4]
342
- ), Z(e, "hidebuttons", "true"), Z(
341
+ A[5]
342
+ ), B(
343
+ e,
344
+ "lang",
345
+ /*lang*/
346
+ A[0]
347
+ ), B(e, "hidebuttons", "true"), B(
343
348
  e,
344
349
  "errorcode",
345
350
  /*errorResponseCode*/
346
- A[16]
351
+ A[17]
347
352
  );
348
353
  },
349
354
  m(t, f) {
@@ -351,37 +356,43 @@ function nn(A) {
351
356
  },
352
357
  p(t, f) {
353
358
  /*errorResponseCode*/
354
- t[16] === /*ResponseCode*/
355
- t[7].Maintenance ? n ? n.p(t, f) : (n = ve(t), n.c(), n.m(e, null)) : n && (n.d(1), n = null), f[0] & /*assetsurl*/
356
- 8 && Z(
359
+ t[17] === /*ResponseCode*/
360
+ t[8].Maintenance ? n ? n.p(t, f) : (n = ve(t), n.c(), n.m(e, null)) : n && (n.d(1), n = null), f[0] & /*assetsurl*/
361
+ 16 && B(
357
362
  e,
358
363
  "assetsurl",
359
364
  /*assetsurl*/
360
- t[3]
365
+ t[4]
361
366
  ), f[0] & /*translationurl*/
362
- 4 && Z(
367
+ 8 && B(
363
368
  e,
364
369
  "translationurl",
365
370
  /*translationurl*/
366
- t[2]
371
+ t[3]
367
372
  ), f[0] & /*clientstylingurl*/
368
- 32 && Z(
373
+ 64 && B(
369
374
  e,
370
375
  "clientstylingurl",
371
376
  /*clientstylingurl*/
372
- t[5]
377
+ t[6]
373
378
  ), f[0] & /*clientstyling*/
374
- 16 && Z(
379
+ 32 && B(
375
380
  e,
376
381
  "clientstyling",
377
382
  /*clientstyling*/
378
- t[4]
383
+ t[5]
384
+ ), f[0] & /*lang*/
385
+ 1 && B(
386
+ e,
387
+ "lang",
388
+ /*lang*/
389
+ t[0]
379
390
  ), f[0] & /*errorResponseCode*/
380
- 65536 && Z(
391
+ 131072 && B(
381
392
  e,
382
393
  "errorcode",
383
394
  /*errorResponseCode*/
384
- t[16]
395
+ t[17]
385
396
  );
386
397
  },
387
398
  d(t) {
@@ -390,107 +401,107 @@ function nn(A) {
390
401
  };
391
402
  }
392
403
  function tn(A) {
393
- let e, n, t, f, l, c, u, o, s, J, w, b, P, H, Q, x, S, U, T, D, C = (
404
+ let e, n, t, f, l, c, u, o, s, J, L, b, P, H, Q, S, x, U, T, D, C = (
394
405
  /*$_*/
395
- A[18]("close") + ""
406
+ A[19]("close") + ""
396
407
  ), N, F, Y, j = (
397
408
  /*showcontactbutton*/
398
- A[1] && /*showcontactbutton*/
399
- A[1] !== "false" && de(A)
409
+ A[2] && /*showcontactbutton*/
410
+ A[2] !== "false" && de(A)
400
411
  ), h = (
401
412
  /*showclosebutton*/
402
- A[0] && /*showclosebutton*/
403
- A[0] !== "false" && ze(A)
413
+ A[1] && /*showclosebutton*/
414
+ A[1] !== "false" && ze(A)
404
415
  ), y = (
405
416
  /*txnInfo*/
406
- A[9].referenceId && Te(A)
417
+ A[10].referenceId && Te(A)
407
418
  ), g = (
408
419
  /*receiptFields*/
409
- A[10].length && me(A)
420
+ A[11].length && me(A)
410
421
  );
411
422
  return {
412
423
  c() {
413
- e = z("div"), j && j.c(), n = B(), h && h.c(), t = B(), f = z("div"), l = z("img"), u = B(), o = z("div"), s = z("h2"), J = R(
424
+ e = z("div"), j && j.c(), n = w(), h && h.c(), t = w(), f = z("div"), l = z("img"), u = w(), o = z("div"), s = z("h2"), J = R(
414
425
  /*title*/
415
- A[12]
416
- ), w = B(), b = z("div"), P = R(
426
+ A[13]
427
+ ), L = w(), b = z("div"), P = R(
417
428
  /*subTitle*/
418
- A[11]
419
- ), H = B(), Q = z("div"), x = R(
429
+ A[12]
430
+ ), H = w(), Q = z("div"), S = R(
420
431
  /*text*/
421
- A[13]
422
- ), S = B(), y && y.c(), U = B(), g && g.c(), T = B(), D = z("button"), N = R(C), a(e, "class", "HeaderButtonContainer"), G(l.src, c = /*statusImageUrl*/
423
- A[14]) || a(l, "src", c), a(l, "class", "StatusLogo"), a(s, "class", "Title"), a(b, "class", "SubTitle"), a(o, "class", "TitleWrapper"), a(f, "class", "ReceiptWrapper"), a(Q, "class", "Text"), a(D, "class", "PrimaryButton");
432
+ A[14]
433
+ ), x = w(), y && y.c(), U = w(), g && g.c(), T = w(), D = z("button"), N = R(C), a(e, "class", "HeaderButtonContainer"), G(l.src, c = /*statusImageUrl*/
434
+ A[15]) || a(l, "src", c), a(l, "class", "StatusLogo"), a(s, "class", "Title"), a(b, "class", "SubTitle"), a(o, "class", "TitleWrapper"), a(f, "class", "ReceiptWrapper"), a(Q, "class", "Text"), a(D, "class", "PrimaryButton");
424
435
  },
425
436
  m(r, m) {
426
- d(r, e, m), j && j.m(e, null), p(e, n), h && h.m(e, null), d(r, t, m), d(r, f, m), p(f, l), p(f, u), p(f, o), p(o, s), p(s, J), p(o, w), p(o, b), p(b, P), d(r, H, m), d(r, Q, m), p(Q, x), d(r, S, m), y && y.m(r, m), d(r, U, m), g && g.m(r, m), d(r, T, m), d(r, D, m), p(D, N), F || (Y = I(
437
+ d(r, e, m), j && j.m(e, null), p(e, n), h && h.m(e, null), d(r, t, m), d(r, f, m), p(f, l), p(f, u), p(f, o), p(o, s), p(s, J), p(o, L), p(o, b), p(b, P), d(r, H, m), d(r, Q, m), p(Q, S), d(r, x, m), y && y.m(r, m), d(r, U, m), g && g.m(r, m), d(r, T, m), d(r, D, m), p(D, N), F || (Y = I(
427
438
  D,
428
439
  "click",
429
440
  /*closeReceipt*/
430
- A[19]
441
+ A[20]
431
442
  ), F = !0);
432
443
  },
433
444
  p(r, m) {
434
445
  /*showcontactbutton*/
435
- r[1] && /*showcontactbutton*/
436
- r[1] !== "false" ? j ? j.p(r, m) : (j = de(r), j.c(), j.m(e, n)) : j && (j.d(1), j = null), /*showclosebutton*/
437
- r[0] && /*showclosebutton*/
438
- r[0] !== "false" ? h ? h.p(r, m) : (h = ze(r), h.c(), h.m(e, null)) : h && (h.d(1), h = null), m[0] & /*statusImageUrl*/
439
- 16384 && !G(l.src, c = /*statusImageUrl*/
440
- r[14]) && a(l, "src", c), m[0] & /*title*/
441
- 4096 && M(
446
+ r[2] && /*showcontactbutton*/
447
+ r[2] !== "false" ? j ? j.p(r, m) : (j = de(r), j.c(), j.m(e, n)) : j && (j.d(1), j = null), /*showclosebutton*/
448
+ r[1] && /*showclosebutton*/
449
+ r[1] !== "false" ? h ? h.p(r, m) : (h = ze(r), h.c(), h.m(e, null)) : h && (h.d(1), h = null), m[0] & /*statusImageUrl*/
450
+ 32768 && !G(l.src, c = /*statusImageUrl*/
451
+ r[15]) && a(l, "src", c), m[0] & /*title*/
452
+ 8192 && M(
442
453
  J,
443
454
  /*title*/
444
- r[12]
455
+ r[13]
445
456
  ), m[0] & /*subTitle*/
446
- 2048 && M(
457
+ 4096 && M(
447
458
  P,
448
459
  /*subTitle*/
449
- r[11]
460
+ r[12]
450
461
  ), m[0] & /*text*/
451
- 8192 && M(
452
- x,
462
+ 16384 && M(
463
+ S,
453
464
  /*text*/
454
- r[13]
465
+ r[14]
455
466
  ), /*txnInfo*/
456
- r[9].referenceId ? y ? y.p(r, m) : (y = Te(r), y.c(), y.m(U.parentNode, U)) : y && (y.d(1), y = null), /*receiptFields*/
457
- r[10].length ? g ? g.p(r, m) : (g = me(r), g.c(), g.m(T.parentNode, T)) : g && (g.d(1), g = null), m[0] & /*$_*/
458
- 262144 && C !== (C = /*$_*/
459
- r[18]("close") + "") && M(N, C);
467
+ r[10].referenceId ? y ? y.p(r, m) : (y = Te(r), y.c(), y.m(U.parentNode, U)) : y && (y.d(1), y = null), /*receiptFields*/
468
+ r[11].length ? g ? g.p(r, m) : (g = me(r), g.c(), g.m(T.parentNode, T)) : g && (g.d(1), g = null), m[0] & /*$_*/
469
+ 524288 && C !== (C = /*$_*/
470
+ r[19]("close") + "") && M(N, C);
460
471
  },
461
472
  d(r) {
462
- r && (v(e), v(t), v(f), v(H), v(Q), v(S), v(U), v(T), v(D)), j && j.d(), h && h.d(), y && y.d(r), g && g.d(r), F = !1, Y();
473
+ r && (v(e), v(t), v(f), v(H), v(Q), v(x), v(U), v(T), v(D)), j && j.d(), h && h.d(), y && y.d(r), g && g.d(r), F = !1, Y();
463
474
  }
464
475
  };
465
476
  }
466
477
  function ve(A) {
467
478
  let e, n, t, f = (
468
479
  /*$_*/
469
- A[18]("receipt.maintenance.title") + ""
480
+ A[19]("receipt.maintenance.title") + ""
470
481
  ), l, c, u, o = (
471
482
  /*$_*/
472
- A[18]("receipt.maintenance.text") + ""
483
+ A[19]("receipt.maintenance.text") + ""
473
484
  ), s;
474
485
  function J(P, H) {
475
486
  return (
476
487
  /*assetsurl*/
477
- P[3] ? An : fn
488
+ P[4] ? An : fn
478
489
  );
479
490
  }
480
- let w = J(A), b = w(A);
491
+ let L = J(A), b = L(A);
481
492
  return {
482
493
  c() {
483
- e = z("div"), b.c(), n = B(), t = z("span"), l = R(f), c = B(), u = z("span"), s = R(o), a(e, "slot", "icon"), a(t, "slot", "title"), a(t, "class", "CashierErrorTitle"), a(u, "slot", "text"), a(u, "class", "CashierErrorText");
494
+ e = z("div"), b.c(), n = w(), t = z("span"), l = R(f), c = w(), u = z("span"), s = R(o), a(e, "slot", "icon"), a(t, "slot", "title"), a(t, "class", "CashierErrorTitle"), a(u, "slot", "text"), a(u, "class", "CashierErrorText");
484
495
  },
485
496
  m(P, H) {
486
497
  d(P, e, H), b.m(e, null), d(P, n, H), d(P, t, H), p(t, l), d(P, c, H), d(P, u, H), p(u, s);
487
498
  },
488
499
  p(P, H) {
489
- w === (w = J(P)) && b ? b.p(P, H) : (b.d(1), b = w(P), b && (b.c(), b.m(e, null))), H[0] & /*$_*/
490
- 262144 && f !== (f = /*$_*/
491
- P[18]("receipt.maintenance.title") + "") && M(l, f), H[0] & /*$_*/
492
- 262144 && o !== (o = /*$_*/
493
- P[18]("receipt.maintenance.text") + "") && M(s, o);
500
+ L === (L = J(P)) && b ? b.p(P, H) : (b.d(1), b = L(P), b && (b.c(), b.m(e, null))), H[0] & /*$_*/
501
+ 524288 && f !== (f = /*$_*/
502
+ P[19]("receipt.maintenance.title") + "") && M(l, f), H[0] & /*$_*/
503
+ 524288 && o !== (o = /*$_*/
504
+ P[19]("receipt.maintenance.text") + "") && M(s, o);
494
505
  },
495
506
  d(P) {
496
507
  P && (v(e), v(n), v(t), v(c), v(u)), b.d();
@@ -517,15 +528,15 @@ function An(A) {
517
528
  return {
518
529
  c() {
519
530
  e = z("img"), G(e.src, n = `${/*assetsurl*/
520
- A[3]}/maintenance.png`) || a(e, "src", n), a(e, "width", "300px"), a(e, "alt", "error");
531
+ A[4]}/maintenance.png`) || a(e, "src", n), a(e, "width", "300px"), a(e, "alt", "error");
521
532
  },
522
533
  m(t, f) {
523
534
  d(t, e, f);
524
535
  },
525
536
  p(t, f) {
526
537
  f[0] & /*assetsurl*/
527
- 8 && !G(e.src, n = `${/*assetsurl*/
528
- t[3]}/maintenance.png`) && a(e, "src", n);
538
+ 16 && !G(e.src, n = `${/*assetsurl*/
539
+ t[4]}/maintenance.png`) && a(e, "src", n);
529
540
  },
530
541
  d(t) {
531
542
  t && v(e);
@@ -543,7 +554,7 @@ function de(A) {
543
554
  e,
544
555
  "click",
545
556
  /*liveChat*/
546
- A[20]
557
+ A[21]
547
558
  ), n = !0);
548
559
  },
549
560
  p: K,
@@ -563,7 +574,7 @@ function ze(A) {
563
574
  e,
564
575
  "click",
565
576
  /*closeReceipt*/
566
- A[19]
577
+ A[20]
567
578
  ), n = !0);
568
579
  },
569
580
  p: K,
@@ -575,10 +586,10 @@ function ze(A) {
575
586
  function Te(A) {
576
587
  let e, n = (
577
588
  /*$_*/
578
- A[18]("reference", {
589
+ A[19]("reference", {
579
590
  values: { code: (
580
591
  /*txnInfo*/
581
- A[9].referenceId
592
+ A[10].referenceId
582
593
  ) }
583
594
  }) + ""
584
595
  ), t;
@@ -591,11 +602,11 @@ function Te(A) {
591
602
  },
592
603
  p(f, l) {
593
604
  l[0] & /*$_, txnInfo*/
594
- 262656 && n !== (n = /*$_*/
595
- f[18]("reference", {
605
+ 525312 && n !== (n = /*$_*/
606
+ f[19]("reference", {
596
607
  values: { code: (
597
608
  /*txnInfo*/
598
- f[9].referenceId
609
+ f[10].referenceId
599
610
  ) }
600
611
  }) + "") && M(t, n);
601
612
  },
@@ -607,7 +618,7 @@ function Te(A) {
607
618
  function me(A) {
608
619
  let e, n = ce(
609
620
  /*receiptFields*/
610
- A[10]
621
+ A[11]
611
622
  ), t = [];
612
623
  for (let f = 0; f < n.length; f += 1)
613
624
  t[f] = Pe(ue(A, n, f));
@@ -615,7 +626,7 @@ function me(A) {
615
626
  c() {
616
627
  for (let f = 0; f < t.length; f += 1)
617
628
  t[f].c();
618
- e = Se();
629
+ e = xe();
619
630
  },
620
631
  m(f, l) {
621
632
  for (let c = 0; c < t.length; c += 1)
@@ -624,10 +635,10 @@ function me(A) {
624
635
  },
625
636
  p(f, l) {
626
637
  if (l[0] & /*openUrlInNewTab, receiptFields, qrCodeContainer, FieldTypes*/
627
- 2131200) {
638
+ 4262400) {
628
639
  n = ce(
629
640
  /*receiptFields*/
630
- f[10]
641
+ f[11]
631
642
  );
632
643
  let c;
633
644
  for (c = 0; c < n.length; c += 1) {
@@ -640,7 +651,7 @@ function me(A) {
640
651
  }
641
652
  },
642
653
  d(f) {
643
- f && v(e), xe(t, f);
654
+ f && v(e), Se(t, f);
644
655
  }
645
656
  };
646
657
  }
@@ -658,7 +669,7 @@ function ln(A) {
658
669
  },
659
670
  p(f, l) {
660
671
  l[0] & /*receiptFields*/
661
- 1024 && n !== (n = /*field*/
672
+ 2048 && n !== (n = /*field*/
662
673
  f[46].defaultValue + "") && M(t, n);
663
674
  },
664
675
  d(f) {
@@ -676,7 +687,7 @@ function cn(A) {
676
687
  ), u, o;
677
688
  return {
678
689
  c() {
679
- e = z("span"), t = R(n), f = B(), l = z("a"), u = R(c), a(l, "href", o = /*field*/
690
+ e = z("span"), t = R(n), f = w(), l = z("a"), u = R(c), a(l, "href", o = /*field*/
680
691
  A[46].defaultValue), a(l, "target", "_blank"), a(l, "rel", "noopener noreferrer");
681
692
  },
682
693
  m(s, J) {
@@ -684,11 +695,11 @@ function cn(A) {
684
695
  },
685
696
  p(s, J) {
686
697
  J[0] & /*receiptFields*/
687
- 1024 && n !== (n = /*field*/
698
+ 2048 && n !== (n = /*field*/
688
699
  s[46].description + "") && M(t, n), J[0] & /*receiptFields*/
689
- 1024 && c !== (c = /*field*/
700
+ 2048 && c !== (c = /*field*/
690
701
  s[46].Name + "") && M(u, c), J[0] & /*receiptFields*/
691
- 1024 && o !== (o = /*field*/
702
+ 2048 && o !== (o = /*field*/
692
703
  s[46].defaultValue) && a(l, "href", o);
693
704
  },
694
705
  d(s) {
@@ -709,9 +720,9 @@ function on(A) {
709
720
  },
710
721
  p(f, l) {
711
722
  l[0] & /*receiptFields*/
712
- 1024 && !G(e.src, n = /*field*/
723
+ 2048 && !G(e.src, n = /*field*/
713
724
  f[46].defaultValue) && a(e, "src", n), l[0] & /*receiptFields*/
714
- 1024 && t !== (t = /*field*/
725
+ 2048 && t !== (t = /*field*/
715
726
  f[46].description) && a(e, "title", t);
716
727
  },
717
728
  d(f) {
@@ -733,7 +744,7 @@ function rn(A) {
733
744
  },
734
745
  p(t, f) {
735
746
  f[0] & /*receiptFields*/
736
- 1024 && n !== (n = /*field*/
747
+ 2048 && n !== (n = /*field*/
737
748
  t[46].defaultValue + "") && (e.innerHTML = n);
738
749
  },
739
750
  d(t) {
@@ -764,7 +775,7 @@ function an(A) {
764
775
  },
765
776
  p(o, s) {
766
777
  A = o, s[0] & /*receiptFields*/
767
- 1024 && t !== (t = /*field*/
778
+ 2048 && t !== (t = /*field*/
768
779
  A[46].defaultValue + "") && M(f, t);
769
780
  },
770
781
  d(o) {
@@ -778,16 +789,16 @@ function Pe(A) {
778
789
  return (
779
790
  /*field*/
780
791
  c[46].type === /*FieldTypes*/
781
- c[8].QRCode ? an : (
792
+ c[9].QRCode ? an : (
782
793
  /*field*/
783
794
  c[46].type === /*FieldTypes*/
784
- c[8].Html ? rn : (
795
+ c[9].Html ? rn : (
785
796
  /*field*/
786
797
  c[46].type === /*FieldTypes*/
787
- c[8].Image ? on : (
798
+ c[9].Image ? on : (
788
799
  /*field*/
789
800
  c[46].type === /*FieldTypes*/
790
- c[8].Link ? cn : ln
801
+ c[9].Link ? cn : ln
791
802
  )
792
803
  )
793
804
  )
@@ -796,7 +807,7 @@ function Pe(A) {
796
807
  let f = t(A), l = f(A);
797
808
  return {
798
809
  c() {
799
- e = z("div"), l.c(), n = B(), a(e, "class", "ReceiptField");
810
+ e = z("div"), l.c(), n = w(), a(e, "class", "ReceiptField");
800
811
  },
801
812
  m(c, u) {
802
813
  d(c, e, u), l.m(e, null), p(e, n);
@@ -814,20 +825,20 @@ function sn(A) {
814
825
  function c(s, J) {
815
826
  if (
816
827
  /*txnInfo*/
817
- s[9]
828
+ s[10]
818
829
  )
819
830
  return tn;
820
831
  if (
821
832
  /*errorResponseCode*/
822
- s[16] && !/*showErrorOutsideReceiptPage*/
823
- s[17]
833
+ s[17] && !/*showErrorOutsideReceiptPage*/
834
+ s[18]
824
835
  )
825
836
  return nn;
826
837
  }
827
838
  let u = c(A), o = u && u(A);
828
839
  return {
829
840
  c() {
830
- e = z("script"), t = B(), f = z("div"), l = z("div"), o && o.c(), G(e.src, n = un) || a(e, "src", n), a(l, "class", "CashierReceiptPage"), a(f, "class", "CashierReceiptPageWidget");
841
+ e = z("script"), t = w(), f = z("div"), l = z("div"), o && o.c(), G(e.src, n = un) || a(e, "src", n), a(l, "class", "CashierReceiptPage"), a(f, "class", "CashierReceiptPageWidget");
831
842
  },
832
843
  m(s, J) {
833
844
  p($e.head, e), d(s, t, J), d(s, f, J), p(f, l), o && o.m(l, null), A[31](f);
@@ -845,12 +856,12 @@ function sn(A) {
845
856
  let un = "https://cdn.rawgit.com/davidshimjs/qrcodejs/gh-pages/qrcode.min.js", vn = "_blank";
846
857
  function dn(A, e, n) {
847
858
  let t;
848
- Re(A, Oe, (i) => n(18, t = i)), oe.extend(Ge);
849
- let { endpoint: f } = e, { session: l } = e, { lang: c = "en" } = e, { local: u = "en-US" } = e, { showerrors: o = "true" } = e, { showclosebutton: s = "false" } = e, { showcontactbutton: J = "false" } = e, { translationurl: w } = e, { assetsurl: b = "" } = e, { customerid: P } = e, { transactionid: H } = e, { clientstyling: Q = "" } = e, { clientstylingurl: x = "" } = e;
850
- var S;
859
+ Re(A, Oe, (i) => n(19, t = i)), oe.extend(Ge);
860
+ let { endpoint: f } = e, { session: l } = e, { lang: c = "en" } = e, { local: u = "en-US" } = e, { showerrors: o = "true" } = e, { showclosebutton: s = "false" } = e, { showcontactbutton: J = "false" } = e, { translationurl: L } = e, { assetsurl: b = "" } = e, { customerid: P } = e, { transactionid: H } = e, { clientstyling: Q = "" } = e, { clientstylingurl: S = "" } = e;
861
+ var x;
851
862
  (function(i) {
852
863
  i.Success = "Success", i.Maintenance = "Maintenance";
853
- })(S || (S = {}));
864
+ })(x || (x = {}));
854
865
  const U = {
855
866
  Success: se,
856
867
  Voided: se,
@@ -868,9 +879,9 @@ function dn(A, e, n) {
868
879
  (function(i) {
869
880
  i.Unknown = "Unknown", i.Text = "Text", i.Boolean = "Boolean", i.Number = "Number", i.Money = "Money", i.DateTime = "DateTime", i.Lookup = "Lookup", i.IpAddress = "IpAddress", i.Date = "Date", i.Time = "Time", i.LookupCollection = "LookupCollection", i.Hidden = "Hidden", i.Label = "Label", i.Password = "Password", i.Link = "Link", i.Image = "Image", i.Html = "Html", i.QRCode = "QR";
870
881
  })(T || (T = {}));
871
- const D = (i, [X, L]) => [
882
+ const D = (i, [X, Z]) => [
872
883
  ...i,
873
- ...Array.isArray(X) ? [...X.map((k) => [k, L])] : [[X, L]]
884
+ ...Array.isArray(X) ? [...X.map((k) => [k, Z])] : [[X, Z]]
874
885
  ], C = new Map([
875
886
  [["Unknown", 0], T.Unknown],
876
887
  [["Text", 1], T.Text],
@@ -906,11 +917,11 @@ function dn(A, e, n) {
906
917
  break;
907
918
  }
908
919
  }, Je = () => {
909
- let i = w;
920
+ let i = L;
910
921
  if (i)
911
922
  return fetch(i).then((X) => X.json()).then((X) => {
912
- Object.keys(X).forEach((L) => {
913
- re(L, X[L]);
923
+ Object.keys(X).forEach((Z) => {
924
+ re(Z, X[Z]);
914
925
  });
915
926
  }).catch((X) => {
916
927
  });
@@ -922,9 +933,9 @@ function dn(A, e, n) {
922
933
  let i = document.createElement("style");
923
934
  i.innerHTML = Q, g.appendChild(i);
924
935
  }, be = () => {
925
- let i = new URL(x), X = document.createElement("style");
926
- fetch(i.href).then((L) => L.text()).then((L) => {
927
- X.innerHTML = L, setTimeout(
936
+ let i = new URL(S), X = document.createElement("style");
937
+ fetch(i.href).then((Z) => Z.text()).then((Z) => {
938
+ X.innerHTML = Z, setTimeout(
928
939
  () => {
929
940
  g.appendChild(X);
930
941
  },
@@ -951,37 +962,37 @@ function dn(A, e, n) {
951
962
  }, je = () => {
952
963
  const i = new URL(`${f}/v1/player/${P}/payment/GetPaymentInfo`), X = new Headers();
953
964
  X.append("accept", "application/json"), X.append("Content-Type", "application/json"), X.append("X-SessionId", `${l}`), X.append("X-Client-Request-Timestamp", oe.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
954
- const L = {
965
+ const Z = {
955
966
  method: "POST",
956
967
  headers: X,
957
968
  body: JSON.stringify({ TransactionCode: H })
958
969
  };
959
- fetch(i, L).then((k) => k.json()).then((k) => {
970
+ fetch(i, Z).then((k) => k.json()).then((k) => {
960
971
  var te, fe, Ae, ie;
961
- if (k.ResponseCode !== S.Success) {
962
- n(16, m = k.ResponseCode), n(17, W = o.toLowerCase() === "false" || !o), Ne();
972
+ if (k.ResponseCode !== x.Success) {
973
+ n(17, m = k.ResponseCode), n(18, W = o.toLowerCase() === "false" || !o), Ne();
963
974
  return;
964
975
  }
965
- n(9, N = {
976
+ n(10, N = {
966
977
  type: k.Transaction.Type,
967
978
  referenceId: k.Transaction.Code,
968
979
  status: (te = k.Transaction.Status) == null ? void 0 : te.Status,
969
980
  message: (fe = k.Transaction.Status) == null ? void 0 : fe.Message,
970
981
  amount: (Ae = k.Transaction.Amounts[0]) == null ? void 0 : Ae.Amount,
971
982
  currency: (ie = k.Transaction.Amounts[0]) == null ? void 0 : ie.Currency
972
- }), n(10, F = k.ReceiptInfo && k.ReceiptInfo.ReceiptFields ? k.ReceiptInfo.ReceiptFields.map((O) => ({
983
+ }), n(11, F = k.ReceiptInfo && k.ReceiptInfo.ReceiptFields ? k.ReceiptInfo.ReceiptFields.map((O) => ({
973
984
  type: C.get(O.Type),
974
985
  name: O.Name,
975
986
  description: O.Description,
976
987
  defaultValue: O.DefaultValue,
977
988
  useCopyButton: O.UseCopyButton,
978
989
  usePrintButton: O.UsePrintButton
979
- })) : []), n(12, j = t(Ke(N.status, N.type), {
990
+ })) : []), n(13, j = t(Ke(N.status, N.type), {
980
991
  values: {
981
992
  amount: pe.format(Number(N.amount)),
982
993
  currency: N.currency
983
994
  }
984
- })), n(11, Y = t(Ie(N.status, N.type))), n(13, h = t(We(N.status, N.type), { values: { errorText: N.message } })), b ? n(14, y = Ye(b, N.status)) : n(14, y = U[N.status]);
995
+ })), n(12, Y = t(Ie(N.status, N.type))), n(14, h = t(We(N.status, N.type), { values: { errorText: N.message } })), b ? n(15, y = Ye(b, N.status)) : n(15, y = U[N.status]);
985
996
  });
986
997
  }, ne = (i) => {
987
998
  i && window.postMessage(
@@ -996,7 +1007,7 @@ function dn(A, e, n) {
996
1007
  };
997
1008
  function he(i) {
998
1009
  le[i ? "unshift" : "push"](() => {
999
- r[r.length] = i, n(15, r);
1010
+ r[r.length] = i, n(16, r);
1000
1011
  });
1001
1012
  }
1002
1013
  const ke = (i) => {
@@ -1004,27 +1015,28 @@ function dn(A, e, n) {
1004
1015
  };
1005
1016
  function Ee(i) {
1006
1017
  le[i ? "unshift" : "push"](() => {
1007
- g = i, n(6, g);
1018
+ g = i, n(7, g);
1008
1019
  });
1009
1020
  }
1010
1021
  return A.$$set = (i) => {
1011
- "endpoint" in i && n(22, f = i.endpoint), "session" in i && n(23, l = i.session), "lang" in i && n(24, c = i.lang), "local" in i && n(25, u = i.local), "showerrors" in i && n(26, o = i.showerrors), "showclosebutton" in i && n(0, s = i.showclosebutton), "showcontactbutton" in i && n(1, J = i.showcontactbutton), "translationurl" in i && n(2, w = i.translationurl), "assetsurl" in i && n(3, b = i.assetsurl), "customerid" in i && n(27, P = i.customerid), "transactionid" in i && n(28, H = i.transactionid), "clientstyling" in i && n(4, Q = i.clientstyling), "clientstylingurl" in i && n(5, x = i.clientstylingurl);
1022
+ "endpoint" in i && n(23, f = i.endpoint), "session" in i && n(24, l = i.session), "lang" in i && n(0, c = i.lang), "local" in i && n(25, u = i.local), "showerrors" in i && n(26, o = i.showerrors), "showclosebutton" in i && n(1, s = i.showclosebutton), "showcontactbutton" in i && n(2, J = i.showcontactbutton), "translationurl" in i && n(3, L = i.translationurl), "assetsurl" in i && n(4, b = i.assetsurl), "customerid" in i && n(27, P = i.customerid), "transactionid" in i && n(28, H = i.transactionid), "clientstyling" in i && n(5, Q = i.clientstyling), "clientstylingurl" in i && n(6, S = i.clientstylingurl);
1012
1023
  }, A.$$.update = () => {
1013
1024
  A.$$.dirty[0] & /*endpoint, session, customerid, transactionid, showerrors*/
1014
- 482344960 && f && l && P && H && o && je(), A.$$.dirty[0] & /*lang*/
1015
- 16777216 && c && ge(), A.$$.dirty[0] & /*lang, translationurl*/
1016
- 16777220 && c && w && Je(), A.$$.dirty[0] & /*clientstyling, customStylingContainer*/
1017
- 80 && Q && g && Xe(), A.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
1018
- 96 && x && g && be();
1025
+ 494927872 && f && l && P && H && o && je(), A.$$.dirty[0] & /*lang*/
1026
+ 1 && c && ge(), A.$$.dirty[0] & /*lang, translationurl*/
1027
+ 9 && c && L && Je(), A.$$.dirty[0] & /*clientstyling, customStylingContainer*/
1028
+ 160 && Q && g && Xe(), A.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
1029
+ 192 && S && g && be();
1019
1030
  }, [
1031
+ c,
1020
1032
  s,
1021
1033
  J,
1022
- w,
1034
+ L,
1023
1035
  b,
1024
1036
  Q,
1025
- x,
1026
- g,
1027
1037
  S,
1038
+ g,
1039
+ x,
1028
1040
  T,
1029
1041
  N,
1030
1042
  F,
@@ -1041,7 +1053,6 @@ function dn(A, e, n) {
1041
1053
  ne,
1042
1054
  f,
1043
1055
  l,
1044
- c,
1045
1056
  u,
1046
1057
  o,
1047
1058
  P,
@@ -1060,38 +1071,38 @@ class zn extends Be {
1060
1071
  sn,
1061
1072
  Le,
1062
1073
  {
1063
- endpoint: 22,
1064
- session: 23,
1065
- lang: 24,
1074
+ endpoint: 23,
1075
+ session: 24,
1076
+ lang: 0,
1066
1077
  local: 25,
1067
1078
  showerrors: 26,
1068
- showclosebutton: 0,
1069
- showcontactbutton: 1,
1070
- translationurl: 2,
1071
- assetsurl: 3,
1079
+ showclosebutton: 1,
1080
+ showcontactbutton: 2,
1081
+ translationurl: 3,
1082
+ assetsurl: 4,
1072
1083
  customerid: 27,
1073
1084
  transactionid: 28,
1074
- clientstyling: 4,
1075
- clientstylingurl: 5
1085
+ clientstyling: 5,
1086
+ clientstylingurl: 6
1076
1087
  },
1077
1088
  en,
1078
1089
  [-1, -1]
1079
1090
  );
1080
1091
  }
1081
1092
  get endpoint() {
1082
- return this.$$.ctx[22];
1093
+ return this.$$.ctx[23];
1083
1094
  }
1084
1095
  set endpoint(e) {
1085
1096
  this.$$set({ endpoint: e }), E();
1086
1097
  }
1087
1098
  get session() {
1088
- return this.$$.ctx[23];
1099
+ return this.$$.ctx[24];
1089
1100
  }
1090
1101
  set session(e) {
1091
1102
  this.$$set({ session: e }), E();
1092
1103
  }
1093
1104
  get lang() {
1094
- return this.$$.ctx[24];
1105
+ return this.$$.ctx[0];
1095
1106
  }
1096
1107
  set lang(e) {
1097
1108
  this.$$set({ lang: e }), E();
@@ -1109,25 +1120,25 @@ class zn extends Be {
1109
1120
  this.$$set({ showerrors: e }), E();
1110
1121
  }
1111
1122
  get showclosebutton() {
1112
- return this.$$.ctx[0];
1123
+ return this.$$.ctx[1];
1113
1124
  }
1114
1125
  set showclosebutton(e) {
1115
1126
  this.$$set({ showclosebutton: e }), E();
1116
1127
  }
1117
1128
  get showcontactbutton() {
1118
- return this.$$.ctx[1];
1129
+ return this.$$.ctx[2];
1119
1130
  }
1120
1131
  set showcontactbutton(e) {
1121
1132
  this.$$set({ showcontactbutton: e }), E();
1122
1133
  }
1123
1134
  get translationurl() {
1124
- return this.$$.ctx[2];
1135
+ return this.$$.ctx[3];
1125
1136
  }
1126
1137
  set translationurl(e) {
1127
1138
  this.$$set({ translationurl: e }), E();
1128
1139
  }
1129
1140
  get assetsurl() {
1130
- return this.$$.ctx[3];
1141
+ return this.$$.ctx[4];
1131
1142
  }
1132
1143
  set assetsurl(e) {
1133
1144
  this.$$set({ assetsurl: e }), E();
@@ -1145,13 +1156,13 @@ class zn extends Be {
1145
1156
  this.$$set({ transactionid: e }), E();
1146
1157
  }
1147
1158
  get clientstyling() {
1148
- return this.$$.ctx[4];
1159
+ return this.$$.ctx[5];
1149
1160
  }
1150
1161
  set clientstyling(e) {
1151
1162
  this.$$set({ clientstyling: e }), E();
1152
1163
  }
1153
1164
  get clientstylingurl() {
1154
- return this.$$.ctx[5];
1165
+ return this.$$.ctx[6];
1155
1166
  }
1156
1167
  set clientstylingurl(e) {
1157
1168
  this.$$set({ clientstylingurl: e }), E();