@everymatrix/cashier-receipt-page 1.64.0 → 1.64.2

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,4 +1,4 @@
1
- import { a as De, i as Ze, $ as Se, c as ke, g as Ee, S as Re, b as xe, f as W, s as Qe, d as Ue, e as Ge, n as ae, h as H, j as S, k as Ce, l as M, m as E, o as V, p as re, q as J, r as Oe, t as Fe, u as pe, v as ee, w as le, x as te, y as $, z as Pe, A as qe, B as Ye, C as Ke } from "./CashierError-BVDqLHnG.js";
1
+ import { a as De, i as Ze, $ as Se, c as ke, g as Ee, S as Re, b as xe, f as W, s as Qe, d as Ue, e as Ge, n as ae, h as H, j as S, k as Ce, l as M, m as E, o as _, p as re, q as J, r as Oe, t as Fe, u as pe, v as ee, w as le, x as te, y as V, z as Pe, A as qe, B as Ye, C as Ke } from "./CashierError--iQyDOCf.js";
2
2
  if (typeof window != "undefined") {
3
3
  let f = function(e) {
4
4
  return function(...t) {
@@ -11,7 +11,7 @@ if (typeof window != "undefined") {
11
11
  }
12
12
  };
13
13
  };
14
- customElements.define = f(customElements.define), import("./CashierError-BVDqLHnG.js").then((e) => e.D).then(({ default: e }) => {
14
+ customElements.define = f(customElements.define), import("./CashierError--iQyDOCf.js").then((e) => e.D).then(({ default: e }) => {
15
15
  !customElements.get("cashier-error") && customElements.define("cashier-error", e.element);
16
16
  });
17
17
  }
@@ -345,7 +345,7 @@ var Le = { exports: {} };
345
345
  return a === void 0;
346
346
  } }, F = "en", w = {};
347
347
  w[F] = q;
348
- var I = "$isDayjsObject", _ = function(a) {
348
+ var I = "$isDayjsObject", $ = function(a) {
349
349
  return a instanceof L || !(!a || !a[I]);
350
350
  }, D = function a(u, c, d) {
351
351
  var A;
@@ -363,12 +363,12 @@ var Le = { exports: {} };
363
363
  }
364
364
  return !d && A && (F = A), A || !d && F;
365
365
  }, X = function(a, u) {
366
- if (_(a))
366
+ if ($(a))
367
367
  return a.clone();
368
368
  var c = typeof u == "object" ? u : {};
369
369
  return c.date = a, c.args = arguments, new L(c);
370
370
  }, z = K;
371
- z.l = D, z.i = _, z.w = function(a, u) {
371
+ z.l = D, z.i = $, z.w = function(a, u) {
372
372
  return X(a, { locale: u.$L, utc: u.$u, x: u.$x, $offset: u.$offset });
373
373
  };
374
374
  var L = function() {
@@ -603,7 +603,7 @@ var Le = { exports: {} };
603
603
  };
604
604
  }), X.extend = function(a, u) {
605
605
  return a.$i || (a(u, L, X), a.$i = !0), X;
606
- }, X.locale = D, X.isDayjs = _, X.unix = function(a) {
606
+ }, X.locale = D, X.isDayjs = $, X.unix = function(a) {
607
607
  return X(1e3 * a);
608
608
  }, X.en = w[F], X.Ls = w, X.p = {}, X;
609
609
  });
@@ -649,8 +649,8 @@ var Be = { exports: {} };
649
649
  var w = F.match(n);
650
650
  if (!w)
651
651
  return null;
652
- var I = ("" + w[0]).match(i) || ["-", 0, 0], _ = I[0], D = 60 * +I[1] + +I[2];
653
- return D === 0 ? 0 : _ === "+" ? D : -D;
652
+ var I = ("" + w[0]).match(i) || ["-", 0, 0], $ = I[0], D = 60 * +I[1] + +I[2];
653
+ return D === 0 ? 0 : $ === "+" ? D : -D;
654
654
  }(v), v === null))
655
655
  return this;
656
656
  var q = Math.abs(v) <= 16 ? 60 * v : v, h = this;
@@ -703,36 +703,41 @@ function be(f, e, t) {
703
703
  function ct(f) {
704
704
  let e, t = (
705
705
  /*errorResponseCode*/
706
- f[16] === /*ResponseCode*/
707
- f[7].Maintenance && ye(f)
706
+ f[17] === /*ResponseCode*/
707
+ f[8].Maintenance && ye(f)
708
708
  );
709
709
  return {
710
710
  c() {
711
- e = E("cashier-error"), t && t.c(), $(
711
+ e = E("cashier-error"), t && t.c(), V(
712
712
  e,
713
713
  "assetsurl",
714
714
  /*assetsurl*/
715
- f[3]
716
- ), $(
715
+ f[4]
716
+ ), V(
717
717
  e,
718
718
  "translationurl",
719
719
  /*translationurl*/
720
- f[2]
721
- ), $(
720
+ f[3]
721
+ ), V(
722
722
  e,
723
723
  "clientstylingurl",
724
724
  /*clientstylingurl*/
725
- f[5]
726
- ), $(
725
+ f[6]
726
+ ), V(
727
727
  e,
728
728
  "clientstyling",
729
729
  /*clientstyling*/
730
- f[4]
731
- ), $(e, "hidebuttons", "true"), $(
730
+ f[5]
731
+ ), V(
732
+ e,
733
+ "lang",
734
+ /*lang*/
735
+ f[0]
736
+ ), V(e, "hidebuttons", "true"), V(
732
737
  e,
733
738
  "errorcode",
734
739
  /*errorResponseCode*/
735
- f[16]
740
+ f[17]
736
741
  );
737
742
  },
738
743
  m(n, i) {
@@ -740,37 +745,43 @@ function ct(f) {
740
745
  },
741
746
  p(n, i) {
742
747
  /*errorResponseCode*/
743
- n[16] === /*ResponseCode*/
744
- n[7].Maintenance ? t ? t.p(n, i) : (t = ye(n), t.c(), t.m(e, null)) : t && (t.d(1), t = null), i[0] & /*assetsurl*/
745
- 8 && $(
748
+ n[17] === /*ResponseCode*/
749
+ n[8].Maintenance ? t ? t.p(n, i) : (t = ye(n), t.c(), t.m(e, null)) : t && (t.d(1), t = null), i[0] & /*assetsurl*/
750
+ 16 && V(
746
751
  e,
747
752
  "assetsurl",
748
753
  /*assetsurl*/
749
- n[3]
754
+ n[4]
750
755
  ), i[0] & /*translationurl*/
751
- 4 && $(
756
+ 8 && V(
752
757
  e,
753
758
  "translationurl",
754
759
  /*translationurl*/
755
- n[2]
760
+ n[3]
756
761
  ), i[0] & /*clientstylingurl*/
757
- 32 && $(
762
+ 64 && V(
758
763
  e,
759
764
  "clientstylingurl",
760
765
  /*clientstylingurl*/
761
- n[5]
766
+ n[6]
762
767
  ), i[0] & /*clientstyling*/
763
- 16 && $(
768
+ 32 && V(
764
769
  e,
765
770
  "clientstyling",
766
771
  /*clientstyling*/
767
- n[4]
772
+ n[5]
773
+ ), i[0] & /*lang*/
774
+ 1 && V(
775
+ e,
776
+ "lang",
777
+ /*lang*/
778
+ n[0]
768
779
  ), i[0] & /*errorResponseCode*/
769
- 65536 && $(
780
+ 131072 && V(
770
781
  e,
771
782
  "errorcode",
772
783
  /*errorResponseCode*/
773
- n[16]
784
+ n[17]
774
785
  );
775
786
  },
776
787
  d(n) {
@@ -781,105 +792,105 @@ function ct(f) {
781
792
  function ot(f) {
782
793
  let e, t, n, i, s, o, m, l, T, j, B, Z, b, N, v, x, O, q, h, K, F = (
783
794
  /*$_*/
784
- f[18]("close") + ""
785
- ), w, I, _, D = (
795
+ f[19]("close") + ""
796
+ ), w, I, $, D = (
786
797
  /*showcontactbutton*/
787
- f[1] && /*showcontactbutton*/
788
- f[1] !== "false" && He(f)
798
+ f[2] && /*showcontactbutton*/
799
+ f[2] !== "false" && He(f)
789
800
  ), X = (
790
801
  /*showclosebutton*/
791
- f[0] && /*showclosebutton*/
792
- f[0] !== "false" && Ne(f)
802
+ f[1] && /*showclosebutton*/
803
+ f[1] !== "false" && Ne(f)
793
804
  ), z = (
794
805
  /*txnInfo*/
795
- f[9].referenceId && Me(f)
806
+ f[10].referenceId && Me(f)
796
807
  ), L = (
797
808
  /*receiptFields*/
798
- f[10].length && je(f)
809
+ f[11].length && je(f)
799
810
  );
800
811
  return {
801
812
  c() {
802
- e = E("div"), D && D.c(), t = V(), X && X.c(), n = V(), i = E("div"), s = E("img"), m = V(), l = E("div"), T = E("h2"), j = te(
813
+ e = E("div"), D && D.c(), t = _(), X && X.c(), n = _(), i = E("div"), s = E("img"), m = _(), l = E("div"), T = E("h2"), j = te(
803
814
  /*title*/
804
- f[12]
805
- ), B = V(), Z = E("div"), b = te(
815
+ f[13]
816
+ ), B = _(), Z = E("div"), b = te(
806
817
  /*subTitle*/
807
- f[11]
808
- ), N = V(), v = E("div"), x = te(
818
+ f[12]
819
+ ), N = _(), v = E("div"), x = te(
809
820
  /*text*/
810
- f[13]
811
- ), O = V(), z && z.c(), q = V(), L && L.c(), h = V(), K = E("button"), w = te(F), J(e, "class", "HeaderButtonContainer"), re(s.src, o = /*statusImageUrl*/
812
- f[14]) || J(s, "src", o), J(s, "class", "StatusLogo"), J(T, "class", "Title"), J(Z, "class", "SubTitle"), J(l, "class", "TitleWrapper"), J(i, "class", "ReceiptWrapper"), J(v, "class", "Text"), J(K, "class", "PrimaryButton");
821
+ f[14]
822
+ ), O = _(), z && z.c(), q = _(), L && L.c(), h = _(), K = E("button"), w = te(F), J(e, "class", "HeaderButtonContainer"), re(s.src, o = /*statusImageUrl*/
823
+ f[15]) || J(s, "src", o), J(s, "class", "StatusLogo"), J(T, "class", "Title"), J(Z, "class", "SubTitle"), J(l, "class", "TitleWrapper"), J(i, "class", "ReceiptWrapper"), J(v, "class", "Text"), J(K, "class", "PrimaryButton");
813
824
  },
814
825
  m(p, a) {
815
- M(p, e, a), D && D.m(e, null), S(e, t), X && X.m(e, null), M(p, n, a), M(p, i, a), S(i, s), S(i, m), S(i, l), S(l, T), S(T, j), S(l, B), S(l, Z), S(Z, b), M(p, N, a), M(p, v, a), S(v, x), M(p, O, a), z && z.m(p, a), M(p, q, a), L && L.m(p, a), M(p, h, a), M(p, K, a), S(K, w), I || (_ = le(
826
+ M(p, e, a), D && D.m(e, null), S(e, t), X && X.m(e, null), M(p, n, a), M(p, i, a), S(i, s), S(i, m), S(i, l), S(l, T), S(T, j), S(l, B), S(l, Z), S(Z, b), M(p, N, a), M(p, v, a), S(v, x), M(p, O, a), z && z.m(p, a), M(p, q, a), L && L.m(p, a), M(p, h, a), M(p, K, a), S(K, w), I || ($ = le(
816
827
  K,
817
828
  "click",
818
829
  /*closeReceipt*/
819
- f[19]
830
+ f[20]
820
831
  ), I = !0);
821
832
  },
822
833
  p(p, a) {
823
834
  /*showcontactbutton*/
824
- p[1] && /*showcontactbutton*/
825
- p[1] !== "false" ? D ? D.p(p, a) : (D = He(p), D.c(), D.m(e, t)) : D && (D.d(1), D = null), /*showclosebutton*/
826
- p[0] && /*showclosebutton*/
827
- p[0] !== "false" ? X ? X.p(p, a) : (X = Ne(p), X.c(), X.m(e, null)) : X && (X.d(1), X = null), a[0] & /*statusImageUrl*/
828
- 16384 && !re(s.src, o = /*statusImageUrl*/
829
- p[14]) && J(s, "src", o), a[0] & /*title*/
830
- 4096 && ee(
835
+ p[2] && /*showcontactbutton*/
836
+ p[2] !== "false" ? D ? D.p(p, a) : (D = He(p), D.c(), D.m(e, t)) : D && (D.d(1), D = null), /*showclosebutton*/
837
+ p[1] && /*showclosebutton*/
838
+ p[1] !== "false" ? X ? X.p(p, a) : (X = Ne(p), X.c(), X.m(e, null)) : X && (X.d(1), X = null), a[0] & /*statusImageUrl*/
839
+ 32768 && !re(s.src, o = /*statusImageUrl*/
840
+ p[15]) && J(s, "src", o), a[0] & /*title*/
841
+ 8192 && ee(
831
842
  j,
832
843
  /*title*/
833
- p[12]
844
+ p[13]
834
845
  ), a[0] & /*subTitle*/
835
- 2048 && ee(
846
+ 4096 && ee(
836
847
  b,
837
848
  /*subTitle*/
838
- p[11]
849
+ p[12]
839
850
  ), a[0] & /*text*/
840
- 8192 && ee(
851
+ 16384 && ee(
841
852
  x,
842
853
  /*text*/
843
- p[13]
854
+ p[14]
844
855
  ), /*txnInfo*/
845
- p[9].referenceId ? z ? z.p(p, a) : (z = Me(p), z.c(), z.m(q.parentNode, q)) : z && (z.d(1), z = null), /*receiptFields*/
846
- p[10].length ? L ? L.p(p, a) : (L = je(p), L.c(), L.m(h.parentNode, h)) : L && (L.d(1), L = null), a[0] & /*$_*/
847
- 262144 && F !== (F = /*$_*/
848
- p[18]("close") + "") && ee(w, F);
856
+ p[10].referenceId ? z ? z.p(p, a) : (z = Me(p), z.c(), z.m(q.parentNode, q)) : z && (z.d(1), z = null), /*receiptFields*/
857
+ p[11].length ? L ? L.p(p, a) : (L = je(p), L.c(), L.m(h.parentNode, h)) : L && (L.d(1), L = null), a[0] & /*$_*/
858
+ 524288 && F !== (F = /*$_*/
859
+ p[19]("close") + "") && ee(w, F);
849
860
  },
850
861
  d(p) {
851
- p && (H(e), H(n), H(i), H(N), H(v), H(O), H(q), H(h), H(K)), D && D.d(), X && X.d(), z && z.d(p), L && L.d(p), I = !1, _();
862
+ p && (H(e), H(n), H(i), H(N), H(v), H(O), H(q), H(h), H(K)), D && D.d(), X && X.d(), z && z.d(p), L && L.d(p), I = !1, $();
852
863
  }
853
864
  };
854
865
  }
855
866
  function ye(f) {
856
867
  let e, t, n, i = (
857
868
  /*$_*/
858
- f[18]("receipt.maintenance.title") + ""
869
+ f[19]("receipt.maintenance.title") + ""
859
870
  ), s, o, m, l = (
860
871
  /*$_*/
861
- f[18]("receipt.maintenance.text") + ""
872
+ f[19]("receipt.maintenance.text") + ""
862
873
  ), T;
863
874
  function j(b, N) {
864
875
  return (
865
876
  /*assetsurl*/
866
- b[3] ? lt : at
877
+ b[4] ? lt : at
867
878
  );
868
879
  }
869
880
  let B = j(f), Z = B(f);
870
881
  return {
871
882
  c() {
872
- e = E("div"), Z.c(), t = V(), n = E("span"), s = te(i), o = V(), m = E("span"), T = te(l), J(e, "slot", "icon"), J(n, "slot", "title"), J(n, "class", "CashierErrorTitle"), J(m, "slot", "text"), J(m, "class", "CashierErrorText");
883
+ e = E("div"), Z.c(), t = _(), n = E("span"), s = te(i), o = _(), m = E("span"), T = te(l), J(e, "slot", "icon"), J(n, "slot", "title"), J(n, "class", "CashierErrorTitle"), J(m, "slot", "text"), J(m, "class", "CashierErrorText");
873
884
  },
874
885
  m(b, N) {
875
886
  M(b, e, N), Z.m(e, null), M(b, t, N), M(b, n, N), S(n, s), M(b, o, N), M(b, m, N), S(m, T);
876
887
  },
877
888
  p(b, N) {
878
889
  B === (B = j(b)) && Z ? Z.p(b, N) : (Z.d(1), Z = B(b), Z && (Z.c(), Z.m(e, null))), N[0] & /*$_*/
879
- 262144 && i !== (i = /*$_*/
880
- b[18]("receipt.maintenance.title") + "") && ee(s, i), N[0] & /*$_*/
881
- 262144 && l !== (l = /*$_*/
882
- b[18]("receipt.maintenance.text") + "") && ee(T, l);
890
+ 524288 && i !== (i = /*$_*/
891
+ b[19]("receipt.maintenance.title") + "") && ee(s, i), N[0] & /*$_*/
892
+ 524288 && l !== (l = /*$_*/
893
+ b[19]("receipt.maintenance.text") + "") && ee(T, l);
883
894
  },
884
895
  d(b) {
885
896
  b && (H(e), H(t), H(n), H(o), H(m)), Z.d();
@@ -906,15 +917,15 @@ function lt(f) {
906
917
  return {
907
918
  c() {
908
919
  e = E("img"), re(e.src, t = `${/*assetsurl*/
909
- f[3]}/maintenance.png`) || J(e, "src", t), J(e, "width", "300px"), J(e, "alt", "error");
920
+ f[4]}/maintenance.png`) || J(e, "src", t), J(e, "width", "300px"), J(e, "alt", "error");
910
921
  },
911
922
  m(n, i) {
912
923
  M(n, e, i);
913
924
  },
914
925
  p(n, i) {
915
926
  i[0] & /*assetsurl*/
916
- 8 && !re(e.src, t = `${/*assetsurl*/
917
- n[3]}/maintenance.png`) && J(e, "src", t);
927
+ 16 && !re(e.src, t = `${/*assetsurl*/
928
+ n[4]}/maintenance.png`) && J(e, "src", t);
918
929
  },
919
930
  d(n) {
920
931
  n && H(e);
@@ -932,7 +943,7 @@ function He(f) {
932
943
  e,
933
944
  "click",
934
945
  /*liveChat*/
935
- f[20]
946
+ f[21]
936
947
  ), t = !0);
937
948
  },
938
949
  p: ae,
@@ -952,7 +963,7 @@ function Ne(f) {
952
963
  e,
953
964
  "click",
954
965
  /*closeReceipt*/
955
- f[19]
966
+ f[20]
956
967
  ), t = !0);
957
968
  },
958
969
  p: ae,
@@ -964,10 +975,10 @@ function Ne(f) {
964
975
  function Me(f) {
965
976
  let e, t = (
966
977
  /*$_*/
967
- f[18]("reference", {
978
+ f[19]("reference", {
968
979
  values: { code: (
969
980
  /*txnInfo*/
970
- f[9].referenceId
981
+ f[10].referenceId
971
982
  ) }
972
983
  }) + ""
973
984
  ), n;
@@ -980,11 +991,11 @@ function Me(f) {
980
991
  },
981
992
  p(i, s) {
982
993
  s[0] & /*$_, txnInfo*/
983
- 262656 && t !== (t = /*$_*/
984
- i[18]("reference", {
994
+ 525312 && t !== (t = /*$_*/
995
+ i[19]("reference", {
985
996
  values: { code: (
986
997
  /*txnInfo*/
987
- i[9].referenceId
998
+ i[10].referenceId
988
999
  ) }
989
1000
  }) + "") && ee(n, t);
990
1001
  },
@@ -996,7 +1007,7 @@ function Me(f) {
996
1007
  function je(f) {
997
1008
  let e, t = Pe(
998
1009
  /*receiptFields*/
999
- f[10]
1010
+ f[11]
1000
1011
  ), n = [];
1001
1012
  for (let i = 0; i < t.length; i += 1)
1002
1013
  n[i] = we(be(f, t, i));
@@ -1013,10 +1024,10 @@ function je(f) {
1013
1024
  },
1014
1025
  p(i, s) {
1015
1026
  if (s[0] & /*openUrlInNewTab, receiptFields, qrCodeContainer, FieldTypes*/
1016
- 2131200) {
1027
+ 4262400) {
1017
1028
  t = Pe(
1018
1029
  /*receiptFields*/
1019
- i[10]
1030
+ i[11]
1020
1031
  );
1021
1032
  let o;
1022
1033
  for (o = 0; o < t.length; o += 1) {
@@ -1047,7 +1058,7 @@ function At(f) {
1047
1058
  },
1048
1059
  p(i, s) {
1049
1060
  s[0] & /*receiptFields*/
1050
- 1024 && t !== (t = /*field*/
1061
+ 2048 && t !== (t = /*field*/
1051
1062
  i[46].defaultValue + "") && ee(n, t);
1052
1063
  },
1053
1064
  d(i) {
@@ -1065,7 +1076,7 @@ function ut(f) {
1065
1076
  ), m, l;
1066
1077
  return {
1067
1078
  c() {
1068
- e = E("span"), n = te(t), i = V(), s = E("a"), m = te(o), J(s, "href", l = /*field*/
1079
+ e = E("span"), n = te(t), i = _(), s = E("a"), m = te(o), J(s, "href", l = /*field*/
1069
1080
  f[46].defaultValue), J(s, "target", "_blank"), J(s, "rel", "noopener noreferrer");
1070
1081
  },
1071
1082
  m(T, j) {
@@ -1073,11 +1084,11 @@ function ut(f) {
1073
1084
  },
1074
1085
  p(T, j) {
1075
1086
  j[0] & /*receiptFields*/
1076
- 1024 && t !== (t = /*field*/
1087
+ 2048 && t !== (t = /*field*/
1077
1088
  T[46].description + "") && ee(n, t), j[0] & /*receiptFields*/
1078
- 1024 && o !== (o = /*field*/
1089
+ 2048 && o !== (o = /*field*/
1079
1090
  T[46].Name + "") && ee(m, o), j[0] & /*receiptFields*/
1080
- 1024 && l !== (l = /*field*/
1091
+ 2048 && l !== (l = /*field*/
1081
1092
  T[46].defaultValue) && J(s, "href", l);
1082
1093
  },
1083
1094
  d(T) {
@@ -1098,9 +1109,9 @@ function dt(f) {
1098
1109
  },
1099
1110
  p(i, s) {
1100
1111
  s[0] & /*receiptFields*/
1101
- 1024 && !re(e.src, t = /*field*/
1112
+ 2048 && !re(e.src, t = /*field*/
1102
1113
  i[46].defaultValue) && J(e, "src", t), s[0] & /*receiptFields*/
1103
- 1024 && n !== (n = /*field*/
1114
+ 2048 && n !== (n = /*field*/
1104
1115
  i[46].description) && J(e, "title", n);
1105
1116
  },
1106
1117
  d(i) {
@@ -1122,7 +1133,7 @@ function vt(f) {
1122
1133
  },
1123
1134
  p(n, i) {
1124
1135
  i[0] & /*receiptFields*/
1125
- 1024 && t !== (t = /*field*/
1136
+ 2048 && t !== (t = /*field*/
1126
1137
  n[46].defaultValue + "") && (e.innerHTML = t);
1127
1138
  },
1128
1139
  d(n) {
@@ -1153,7 +1164,7 @@ function mt(f) {
1153
1164
  },
1154
1165
  p(l, T) {
1155
1166
  f = l, T[0] & /*receiptFields*/
1156
- 1024 && n !== (n = /*field*/
1167
+ 2048 && n !== (n = /*field*/
1157
1168
  f[46].defaultValue + "") && ee(i, n);
1158
1169
  },
1159
1170
  d(l) {
@@ -1167,16 +1178,16 @@ function we(f) {
1167
1178
  return (
1168
1179
  /*field*/
1169
1180
  o[46].type === /*FieldTypes*/
1170
- o[8].QRCode ? mt : (
1181
+ o[9].QRCode ? mt : (
1171
1182
  /*field*/
1172
1183
  o[46].type === /*FieldTypes*/
1173
- o[8].Html ? vt : (
1184
+ o[9].Html ? vt : (
1174
1185
  /*field*/
1175
1186
  o[46].type === /*FieldTypes*/
1176
- o[8].Image ? dt : (
1187
+ o[9].Image ? dt : (
1177
1188
  /*field*/
1178
1189
  o[46].type === /*FieldTypes*/
1179
- o[8].Link ? ut : At
1190
+ o[9].Link ? ut : At
1180
1191
  )
1181
1192
  )
1182
1193
  )
@@ -1185,7 +1196,7 @@ function we(f) {
1185
1196
  let i = n(f), s = i(f);
1186
1197
  return {
1187
1198
  c() {
1188
- e = E("div"), s.c(), t = V(), J(e, "class", "ReceiptField");
1199
+ e = E("div"), s.c(), t = _(), J(e, "class", "ReceiptField");
1189
1200
  },
1190
1201
  m(o, m) {
1191
1202
  M(o, e, m), s.m(e, null), S(e, t);
@@ -1203,20 +1214,20 @@ function Tt(f) {
1203
1214
  function o(T, j) {
1204
1215
  if (
1205
1216
  /*txnInfo*/
1206
- T[9]
1217
+ T[10]
1207
1218
  )
1208
1219
  return ot;
1209
1220
  if (
1210
1221
  /*errorResponseCode*/
1211
- T[16] && !/*showErrorOutsideReceiptPage*/
1212
- T[17]
1222
+ T[17] && !/*showErrorOutsideReceiptPage*/
1223
+ T[18]
1213
1224
  )
1214
1225
  return ct;
1215
1226
  }
1216
1227
  let m = o(f), l = m && m(f);
1217
1228
  return {
1218
1229
  c() {
1219
- e = E("script"), n = V(), i = E("div"), s = E("div"), l && l.c(), re(e.src, t = zt) || J(e, "src", t), J(s, "class", "CashierReceiptPage"), J(i, "class", "CashierReceiptPageWidget");
1230
+ e = E("script"), n = _(), i = E("div"), s = E("div"), l && l.c(), re(e.src, t = zt) || J(e, "src", t), J(s, "class", "CashierReceiptPage"), J(i, "class", "CashierReceiptPageWidget");
1220
1231
  },
1221
1232
  m(T, j) {
1222
1233
  S(rt.head, e), M(T, n, j), M(T, i, j), S(i, s), l && l.m(s, null), f[31](i);
@@ -1234,7 +1245,7 @@ function Tt(f) {
1234
1245
  let zt = "https://cdn.rawgit.com/davidshimjs/qrcodejs/gh-pages/qrcode.min.js", pt = "_blank";
1235
1246
  function Pt(f, e, t) {
1236
1247
  let n;
1237
- Oe(f, Ke, (r) => t(18, n = r)), Xe.extend(ft);
1248
+ Oe(f, Ke, (r) => t(19, n = r)), Xe.extend(ft);
1238
1249
  let { endpoint: i } = e, { session: s } = e, { lang: o = "en" } = e, { local: m = "en-US" } = e, { showerrors: l = "true" } = e, { showclosebutton: T = "false" } = e, { showcontactbutton: j = "false" } = e, { translationurl: B } = e, { assetsurl: Z = "" } = e, { customerid: b } = e, { transactionid: N } = e, { clientstyling: v = "" } = e, { clientstylingurl: x = "" } = e;
1239
1250
  var O;
1240
1251
  (function(r) {
@@ -1280,7 +1291,7 @@ function Pt(f, e, t) {
1280
1291
  [["Html", 19], h.Html],
1281
1292
  [["QR", 20], h.QRCode]
1282
1293
  ].reduce(K, []));
1283
- let w, I = [], _, D, X, z, L, p = [], a, u, c = new Intl.NumberFormat(m, { minimumFractionDigits: 2 });
1294
+ let w, I = [], $, D, X, z, L, p = [], a, u, c = new Intl.NumberFormat(m, { minimumFractionDigits: 2 });
1284
1295
  const d = () => {
1285
1296
  Ie(o);
1286
1297
  };
@@ -1348,29 +1359,29 @@ function Pt(f, e, t) {
1348
1359
  fetch(r, C).then((U) => U.json()).then((U) => {
1349
1360
  var ve, me, Te, ze;
1350
1361
  if (U.ResponseCode !== O.Success) {
1351
- t(16, a = U.ResponseCode), t(17, u = l.toLowerCase() === "false" || !l), G();
1362
+ t(17, a = U.ResponseCode), t(18, u = l.toLowerCase() === "false" || !l), G();
1352
1363
  return;
1353
1364
  }
1354
- t(9, w = {
1365
+ t(10, w = {
1355
1366
  type: U.Transaction.Type,
1356
1367
  referenceId: U.Transaction.Code,
1357
1368
  status: (ve = U.Transaction.Status) == null ? void 0 : ve.Status,
1358
1369
  message: (me = U.Transaction.Status) == null ? void 0 : me.Message,
1359
1370
  amount: (Te = U.Transaction.Amounts[0]) == null ? void 0 : Te.Amount,
1360
1371
  currency: (ze = U.Transaction.Amounts[0]) == null ? void 0 : ze.Currency
1361
- }), t(10, I = U.ReceiptInfo && U.ReceiptInfo.ReceiptFields ? U.ReceiptInfo.ReceiptFields.map((ce) => ({
1372
+ }), t(11, I = U.ReceiptInfo && U.ReceiptInfo.ReceiptFields ? U.ReceiptInfo.ReceiptFields.map((ce) => ({
1362
1373
  type: F.get(ce.Type),
1363
1374
  name: ce.Name,
1364
1375
  description: ce.Description,
1365
1376
  defaultValue: ce.DefaultValue,
1366
1377
  useCopyButton: ce.UseCopyButton,
1367
1378
  usePrintButton: ce.UsePrintButton
1368
- })) : []), t(12, D = n(Ve(w.status, w.type), {
1379
+ })) : []), t(13, D = n(Ve(w.status, w.type), {
1369
1380
  values: {
1370
1381
  amount: c.format(Number(w.amount)),
1371
1382
  currency: w.currency
1372
1383
  }
1373
- })), t(11, _ = n(_e(w.status, w.type))), t(13, X = n($e(w.status, w.type), { values: { errorText: w.message } })), Z ? t(14, z = We(Z, w.status)) : t(14, z = q[w.status]);
1384
+ })), t(12, $ = n(_e(w.status, w.type))), t(14, X = n($e(w.status, w.type), { values: { errorText: w.message } })), Z ? t(15, z = We(Z, w.status)) : t(15, z = q[w.status]);
1374
1385
  });
1375
1386
  }, ne = (r) => {
1376
1387
  r && window.postMessage(
@@ -1385,7 +1396,7 @@ function Pt(f, e, t) {
1385
1396
  };
1386
1397
  function ie(r) {
1387
1398
  pe[r ? "unshift" : "push"](() => {
1388
- p[p.length] = r, t(15, p);
1399
+ p[p.length] = r, t(16, p);
1389
1400
  });
1390
1401
  }
1391
1402
  const se = (r) => {
@@ -1393,19 +1404,20 @@ function Pt(f, e, t) {
1393
1404
  };
1394
1405
  function fe(r) {
1395
1406
  pe[r ? "unshift" : "push"](() => {
1396
- L = r, t(6, L);
1407
+ L = r, t(7, L);
1397
1408
  });
1398
1409
  }
1399
1410
  return f.$$set = (r) => {
1400
- "endpoint" in r && t(22, i = r.endpoint), "session" in r && t(23, s = r.session), "lang" in r && t(24, o = r.lang), "local" in r && t(25, m = r.local), "showerrors" in r && t(26, l = r.showerrors), "showclosebutton" in r && t(0, T = r.showclosebutton), "showcontactbutton" in r && t(1, j = r.showcontactbutton), "translationurl" in r && t(2, B = r.translationurl), "assetsurl" in r && t(3, Z = r.assetsurl), "customerid" in r && t(27, b = r.customerid), "transactionid" in r && t(28, N = r.transactionid), "clientstyling" in r && t(4, v = r.clientstyling), "clientstylingurl" in r && t(5, x = r.clientstylingurl);
1411
+ "endpoint" in r && t(23, i = r.endpoint), "session" in r && t(24, s = r.session), "lang" in r && t(0, o = r.lang), "local" in r && t(25, m = r.local), "showerrors" in r && t(26, l = r.showerrors), "showclosebutton" in r && t(1, T = r.showclosebutton), "showcontactbutton" in r && t(2, j = r.showcontactbutton), "translationurl" in r && t(3, B = r.translationurl), "assetsurl" in r && t(4, Z = r.assetsurl), "customerid" in r && t(27, b = r.customerid), "transactionid" in r && t(28, N = r.transactionid), "clientstyling" in r && t(5, v = r.clientstyling), "clientstylingurl" in r && t(6, x = r.clientstylingurl);
1401
1412
  }, f.$$.update = () => {
1402
1413
  f.$$.dirty[0] & /*endpoint, session, customerid, transactionid, showerrors*/
1403
- 482344960 && i && s && b && N && l && Y(), f.$$.dirty[0] & /*lang*/
1404
- 16777216 && o && d(), f.$$.dirty[0] & /*lang, translationurl*/
1405
- 16777220 && o && B && P(), f.$$.dirty[0] & /*clientstyling, customStylingContainer*/
1406
- 80 && v && L && g(), f.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
1407
- 96 && x && L && k();
1414
+ 494927872 && i && s && b && N && l && Y(), f.$$.dirty[0] & /*lang*/
1415
+ 1 && o && d(), f.$$.dirty[0] & /*lang, translationurl*/
1416
+ 9 && o && B && P(), f.$$.dirty[0] & /*clientstyling, customStylingContainer*/
1417
+ 160 && v && L && g(), f.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
1418
+ 192 && x && L && k();
1408
1419
  }, [
1420
+ o,
1409
1421
  T,
1410
1422
  j,
1411
1423
  B,
@@ -1417,7 +1429,7 @@ function Pt(f, e, t) {
1417
1429
  h,
1418
1430
  w,
1419
1431
  I,
1420
- _,
1432
+ $,
1421
1433
  D,
1422
1434
  X,
1423
1435
  z,
@@ -1430,7 +1442,6 @@ function Pt(f, e, t) {
1430
1442
  ne,
1431
1443
  i,
1432
1444
  s,
1433
- o,
1434
1445
  m,
1435
1446
  l,
1436
1447
  b,
@@ -1449,38 +1460,38 @@ class gt extends Re {
1449
1460
  Tt,
1450
1461
  Qe,
1451
1462
  {
1452
- endpoint: 22,
1453
- session: 23,
1454
- lang: 24,
1463
+ endpoint: 23,
1464
+ session: 24,
1465
+ lang: 0,
1455
1466
  local: 25,
1456
1467
  showerrors: 26,
1457
- showclosebutton: 0,
1458
- showcontactbutton: 1,
1459
- translationurl: 2,
1460
- assetsurl: 3,
1468
+ showclosebutton: 1,
1469
+ showcontactbutton: 2,
1470
+ translationurl: 3,
1471
+ assetsurl: 4,
1461
1472
  customerid: 27,
1462
1473
  transactionid: 28,
1463
- clientstyling: 4,
1464
- clientstylingurl: 5
1474
+ clientstyling: 5,
1475
+ clientstylingurl: 6
1465
1476
  },
1466
1477
  st,
1467
1478
  [-1, -1]
1468
1479
  );
1469
1480
  }
1470
1481
  get endpoint() {
1471
- return this.$$.ctx[22];
1482
+ return this.$$.ctx[23];
1472
1483
  }
1473
1484
  set endpoint(e) {
1474
1485
  this.$$set({ endpoint: e }), W();
1475
1486
  }
1476
1487
  get session() {
1477
- return this.$$.ctx[23];
1488
+ return this.$$.ctx[24];
1478
1489
  }
1479
1490
  set session(e) {
1480
1491
  this.$$set({ session: e }), W();
1481
1492
  }
1482
1493
  get lang() {
1483
- return this.$$.ctx[24];
1494
+ return this.$$.ctx[0];
1484
1495
  }
1485
1496
  set lang(e) {
1486
1497
  this.$$set({ lang: e }), W();
@@ -1498,25 +1509,25 @@ class gt extends Re {
1498
1509
  this.$$set({ showerrors: e }), W();
1499
1510
  }
1500
1511
  get showclosebutton() {
1501
- return this.$$.ctx[0];
1512
+ return this.$$.ctx[1];
1502
1513
  }
1503
1514
  set showclosebutton(e) {
1504
1515
  this.$$set({ showclosebutton: e }), W();
1505
1516
  }
1506
1517
  get showcontactbutton() {
1507
- return this.$$.ctx[1];
1518
+ return this.$$.ctx[2];
1508
1519
  }
1509
1520
  set showcontactbutton(e) {
1510
1521
  this.$$set({ showcontactbutton: e }), W();
1511
1522
  }
1512
1523
  get translationurl() {
1513
- return this.$$.ctx[2];
1524
+ return this.$$.ctx[3];
1514
1525
  }
1515
1526
  set translationurl(e) {
1516
1527
  this.$$set({ translationurl: e }), W();
1517
1528
  }
1518
1529
  get assetsurl() {
1519
- return this.$$.ctx[3];
1530
+ return this.$$.ctx[4];
1520
1531
  }
1521
1532
  set assetsurl(e) {
1522
1533
  this.$$set({ assetsurl: e }), W();
@@ -1534,13 +1545,13 @@ class gt extends Re {
1534
1545
  this.$$set({ transactionid: e }), W();
1535
1546
  }
1536
1547
  get clientstyling() {
1537
- return this.$$.ctx[4];
1548
+ return this.$$.ctx[5];
1538
1549
  }
1539
1550
  set clientstyling(e) {
1540
1551
  this.$$set({ clientstyling: e }), W();
1541
1552
  }
1542
1553
  get clientstylingurl() {
1543
- return this.$$.ctx[5];
1554
+ return this.$$.ctx[6];
1544
1555
  }
1545
1556
  set clientstylingurl(e) {
1546
1557
  this.$$set({ clientstylingurl: e }), W();