@payfurl/react-plugin 1.2.0 → 1.2.5

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 (31) hide show
  1. package/dist/{CxPayThreeDsProvider-BLfTGjPF-kfggfjdU.js → CxPayThreeDsProvider-BljTEbxB-BcFsrr6m.js} +1 -1
  2. package/dist/{DefaultThreeDsProvider-ByqIuIMb-DCABeZFY.js → DefaultThreeDsProvider-DbKbN6Le-D6biiNjg.js} +10 -10
  3. package/dist/{EcentricThreeDsProvider-C0fijqNm-J1HqpcUG.js → EcentricThreeDsProvider-DjBTwEnR-DfIzyswQ.js} +11 -11
  4. package/dist/{EpnaThreeDsProvider-BKcMV0Ni-C8jATWyJ.js → EpnaThreeDsProvider-KyUTPiU6-Dup0wSLA.js} +1 -1
  5. package/dist/{FlashBancThreeDsProvider-BL79DnxY-CKAnpF83.js → FlashBancThreeDsProvider-DLWmBAJq-BUtBKD3J.js} +1 -1
  6. package/dist/{GPaymentsThreeDsProvider-DK7o9MEd-CotMfLS4.js → GPaymentsThreeDsProvider-Bq63V0gC-JMmzXEZE.js} +7 -7
  7. package/dist/{MetricsGlobalThreeDsProvider-DCFNNBAG-DWwOWfRj.js → MetricsGlobalThreeDsProvider-Ctsa_ZKe-RCNzcDjE.js} +14 -14
  8. package/dist/{NmiThreeDsProvider-CjG8JCAW-SClrMiRm.js → NmiThreeDsProvider-Cc9uoPqm-FlIzSZZh.js} +1 -1
  9. package/dist/{NuveiThreeDsProvider-C511D4Vv-CI0PLP-t.js → NuveiThreeDsProvider-BdJW8InS-5pNw0ile.js} +4 -4
  10. package/dist/{PayGLocalThreeDsProvider-Isk8RrpT-Du6bWeJa.js → PayGLocalThreeDsProvider-CiKRmfOe-0iKaaG67.js} +14 -14
  11. package/dist/{PayWayAppleButton-CP2C2UFi-CE7cLGod.js → PayWayAppleButton-D6R2TDKl-BPn6O17s.js} +1 -1
  12. package/dist/{PayabliThreeDsProvider-D04tIaoI-C9P-h4fx.js → PayabliThreeDsProvider-DEvztVTU-D0Tu2kWm.js} +1 -1
  13. package/dist/{SkyBankThreeDsProvider-CI5tCFi6-Bc7KqUKb.js → SkyBankThreeDsProvider-R4NN8r-j-CVC2P28l.js} +1 -1
  14. package/dist/{cxpay-CXd-gWgJ-o6fIVfHa.js → cxpay-C-GgzidJ-mt2MEXxQ.js} +1 -1
  15. package/dist/{default-Bn_jZqbH-Bl2uje9s.js → default-BoeX8PJ8-BnVkuBg7.js} +1 -1
  16. package/dist/{ecentric-BUuKlIAj-DtLsDgEq.js → ecentric-CyZDsJgo-CJbgSWcp.js} +1 -1
  17. package/dist/{epna-DquO2ajM-D6mOIN8h.js → epna-D57kaC8G-DJM_fO0J.js} +1 -1
  18. package/dist/{flashbanc-C4qF4wum-YDAB9IfO.js → flashbanc-orqI9uWg-CGe2YAfS.js} +1 -1
  19. package/dist/{gpayments-B99Rhx-h-CQnyzSas.js → gpayments-ZSCifuNl-BexvVC9s.js} +1 -1
  20. package/dist/{index-BmYcZJxX.js → index-C2RtVqup.js} +2234 -2129
  21. package/dist/{metrics_global-BhM_CqUq-uWSbroEt.js → metrics_global-CQH6PsUd-CZryqcGD.js} +1 -1
  22. package/dist/nmi-BZF7ZLQM-DXxpTgks.js +7 -0
  23. package/dist/{nuvei-C_wJxvcg-9I4of95a.js → nuvei-C3bePsCN-DpiXoEhL.js} +1 -1
  24. package/dist/{payabli-DEjkMyU_-CjTbSafb.js → payabli-DP-dvidH-sE0vnJA8.js} +1 -1
  25. package/dist/payfurl-react.es.js +1 -1
  26. package/dist/payfurl-react.umd.js +25 -25
  27. package/dist/{payglocal-DrWsvnYA-WB4rb0ul.js → payglocal-3JSRI28a-CvSL6XZn.js} +1 -1
  28. package/dist/{payway_rest-gds3Rn3R-B9t3rfRC.js → payway_rest-rG6pY8D4-C_7f5Bac.js} +1 -1
  29. package/dist/{skybank-Cr24BYBd-BmDAIEtF.js → skybank-xXIyqCCk-dauOla0r.js} +1 -1
  30. package/package.json +2 -2
  31. package/dist/nmi-B31Ng1Zj-CtTrEAj2.js +0 -7
@@ -1,4 +1,4 @@
1
- import { MetricsGlobalThreeDsProvider as e } from "./MetricsGlobalThreeDsProvider-DCFNNBAG-DWwOWfRj.js";
1
+ import { MetricsGlobalThreeDsProvider as e } from "./MetricsGlobalThreeDsProvider-Ctsa_ZKe-RCNzcDjE.js";
2
2
  class t extends e {
3
3
  getType() {
4
4
  return "CxPay";
@@ -1,6 +1,6 @@
1
- import { K as d, P as S, u as g, J as p, F as m, O as T, e as v, a as I, b as u, c as f, D as y, I as A, i as C, j as R, Y as E } from "./index-BmYcZJxX.js";
1
+ import { g as d, P as S, u as g, J as p, R as m, O as T, e as v, a as f, F as u, b as I, M as y, c as A, i as R, j as C, z as E } from "./index-C2RtVqup.js";
2
2
  var P = Object.defineProperty, b = (l, e, s) => e in l ? P(l, e, { enumerable: !0, configurable: !0, writable: !0, value: s }) : l[e] = s, a = (l, e, s) => b(l, typeof e != "symbol" ? e + "" : e, s);
3
- const U = { class: "mask" }, L = { class: "wrapper" }, M = { class: "container" }, $ = ["action"], _ = ["value"], w = /* @__PURE__ */ m({
3
+ const U = { class: "mask" }, M = { class: "wrapper" }, L = { class: "container" }, $ = ["action"], _ = ["value"], w = /* @__PURE__ */ m({
4
4
  __name: "ThreeDsChallenge",
5
5
  props: {
6
6
  threeDSServerTransID: {},
@@ -9,7 +9,7 @@ const U = { class: "mask" }, L = { class: "wrapper" }, M = { class: "container"
9
9
  },
10
10
  emits: ["close", "submit"],
11
11
  setup(l, { emit: e }) {
12
- const s = l, n = e, o = T(() => R(s.formAction) ? s.formAction : ""), i = C(null), r = JSON.stringify({
12
+ const s = l, n = e, o = T(() => C(s.formAction) ? s.formAction : ""), i = R(null), r = JSON.stringify({
13
13
  threeDSServerTransID: s.threeDSServerTransID,
14
14
  acsTransID: s.acsTransID,
15
15
  messageVersion: "2.2.0",
@@ -19,11 +19,11 @@ const U = { class: "mask" }, L = { class: "wrapper" }, M = { class: "container"
19
19
  return v(() => {
20
20
  var h;
21
21
  o.value && ((h = i.value) == null || h.submit());
22
- }), (h, c) => (E(), I("div", U, [
23
- u("div", L, [
24
- u("div", M, [
25
- f(y, {
26
- onClick: c[0] || (c[0] = (F) => n("close")),
22
+ }), (h, c) => (E(), f("div", U, [
23
+ u("div", M, [
24
+ u("div", L, [
25
+ I(y, {
26
+ onClick: c[0] || (c[0] = (H) => n("close")),
27
27
  id: "3ds-challenge-close"
28
28
  }),
29
29
  c[1] || (c[1] = u("iframe", { name: "ThreeDsChallengeIFrame" }, null, -1)),
@@ -65,7 +65,7 @@ class k {
65
65
  }
66
66
  }
67
67
  const { hideSpinner: D, showSpinner: N } = g(), q = "3ds_method_invocation_complete", V = "3ds_challenge_complete";
68
- class J {
68
+ class F {
69
69
  constructor(e, s, n) {
70
70
  a(this, "log"), a(this, "container"), a(this, "options"), a(this, "threeDsProcessor", null), a(this, "threeDSDestroy", () => {
71
71
  }), a(this, "threeDSServerTransID", ""), a(this, "threeDSAuthURL", ""), a(this, "threeDSRequestorTransID", ""), a(this, "threeDSMonitorURL", ""), a(this, "internalMessageHandler", this.messageHandler.bind(this)), a(this, "onError", (o, i) => {
@@ -218,7 +218,7 @@ class J {
218
218
  }
219
219
  }
220
220
  export {
221
- J as DefaultThreeDsProvider,
221
+ F as DefaultThreeDsProvider,
222
222
  V as THREE_DS_CHALLENGE_COMPLETE,
223
223
  q as THREE_DS_METHOD_INVOCATION_COMPLETE
224
224
  };
@@ -1,7 +1,7 @@
1
- import { DefaultThreeDsProvider as i } from "./DefaultThreeDsProvider-ByqIuIMb-DCABeZFY.js";
2
- import { P as h, J as c, F as u, O as D, e as d, Y as p, a as m, b as s, c as v, D as g, I as S, i as T, j as y } from "./index-BmYcZJxX.js";
1
+ import { DefaultThreeDsProvider as i } from "./DefaultThreeDsProvider-DbKbN6Le-D6biiNjg.js";
2
+ import { P as h, J as c, R as u, O as D, e as d, z as p, a as m, F as s, b as v, M as g, c as S, i as T, j as y } from "./index-C2RtVqup.js";
3
3
  var P = Object.defineProperty, f = (a, e, t) => e in a ? P(a, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : a[e] = t, I = (a, e, t) => f(a, e + "", t);
4
- const C = { class: "mask" }, A = { class: "wrapper" }, F = { class: "container" }, b = ["action"], E = ["value"], R = /* @__PURE__ */ u({
4
+ const C = { class: "mask" }, A = { class: "wrapper" }, b = { class: "container" }, R = ["action"], $ = ["value"], E = /* @__PURE__ */ u({
5
5
  __name: "ecentric",
6
6
  props: {
7
7
  threeDSServerTransID: {},
@@ -16,9 +16,9 @@ const C = { class: "mask" }, A = { class: "wrapper" }, F = { class: "container"
16
16
  t.value && ((r = o.value) == null || r.submit());
17
17
  }), (r, l) => (p(), m("div", C, [
18
18
  s("div", A, [
19
- s("div", F, [
19
+ s("div", b, [
20
20
  v(g, {
21
- onClick: l[0] || (l[0] = ($) => r.emit("close"))
21
+ onClick: l[0] || (l[0] = (V) => r.emit("close"))
22
22
  }),
23
23
  l[1] || (l[1] = s("iframe", { name: "ThreeDsChallengeIFrame" }, null, -1)),
24
24
  s("form", {
@@ -32,14 +32,14 @@ const C = { class: "mask" }, A = { class: "wrapper" }, F = { class: "container"
32
32
  type: "hidden",
33
33
  name: "PaReq",
34
34
  value: S(n)
35
- }, null, 8, E)
36
- ], 8, b)
35
+ }, null, 8, $)
36
+ ], 8, R)
37
37
  ])
38
38
  ])
39
39
  ]));
40
40
  }
41
- }), V = /* @__PURE__ */ c(R, [["__scopeId", "data-v-d0f7984c"]]);
42
- class j extends i {
41
+ }), F = /* @__PURE__ */ c(E, [["__scopeId", "data-v-d0f7984c"]]);
42
+ class O extends i {
43
43
  constructor() {
44
44
  super(...arguments), I(this, "paResPayload", "");
45
45
  }
@@ -60,7 +60,7 @@ class j extends i {
60
60
  this.log(`[${this.getType()}][doChallenge]`);
61
61
  const { destroy: n } = h({
62
62
  el: document.body,
63
- component: V,
63
+ component: F,
64
64
  props: {
65
65
  threeDSServerTransID: this.threeDSServerTransID,
66
66
  acsTransID: t,
@@ -82,5 +82,5 @@ class j extends i {
82
82
  }
83
83
  }
84
84
  export {
85
- j as EcentricThreeDsProvider
85
+ O as EcentricThreeDsProvider
86
86
  };
@@ -1,4 +1,4 @@
1
- import { MetricsGlobalThreeDsProvider as e } from "./MetricsGlobalThreeDsProvider-DCFNNBAG-DWwOWfRj.js";
1
+ import { MetricsGlobalThreeDsProvider as e } from "./MetricsGlobalThreeDsProvider-Ctsa_ZKe-RCNzcDjE.js";
2
2
  class t extends e {
3
3
  getType() {
4
4
  return "EPNA";
@@ -1,4 +1,4 @@
1
- import { MetricsGlobalThreeDsProvider as e } from "./MetricsGlobalThreeDsProvider-DCFNNBAG-DWwOWfRj.js";
1
+ import { MetricsGlobalThreeDsProvider as e } from "./MetricsGlobalThreeDsProvider-Ctsa_ZKe-RCNzcDjE.js";
2
2
  class s extends e {
3
3
  getType() {
4
4
  return "FlashBanc";
@@ -1,5 +1,5 @@
1
- import { DefaultThreeDsProvider as o } from "./DefaultThreeDsProvider-ByqIuIMb-DCABeZFY.js";
2
- import { P as l, j as n, J as u, F as c, O as p, Y as d, a as g, b as a, C as h } from "./index-BmYcZJxX.js";
1
+ import { DefaultThreeDsProvider as o } from "./DefaultThreeDsProvider-DbKbN6Le-D6biiNjg.js";
2
+ import { P as l, j as n, J as u, R as c, O as p, z as d, a as g, F as a, w as h } from "./index-C2RtVqup.js";
3
3
  var D = Object.defineProperty, S = (r, e, t) => e in r ? D(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t, i = (r, e, t) => S(r, typeof e != "symbol" ? e + "" : e, t);
4
4
  const m = { class: "mask" }, y = { class: "wrapper" }, f = ["src"], v = /* @__PURE__ */ c({
5
5
  __name: "GPayments",
@@ -16,7 +16,7 @@ const m = { class: "mask" }, y = { class: "wrapper" }, f = ["src"], v = /* @__PU
16
16
  height: `${e.height || 400}px`
17
17
  };
18
18
  }
19
- return (T, b) => (d(), g("div", m, [
19
+ return (b, A) => (d(), g("div", m, [
20
20
  a("div", y, [
21
21
  a("div", {
22
22
  class: "container",
@@ -30,8 +30,8 @@ const m = { class: "mask" }, y = { class: "wrapper" }, f = ["src"], v = /* @__PU
30
30
  ])
31
31
  ]));
32
32
  }
33
- }), C = /* @__PURE__ */ u(v, [["__scopeId", "data-v-cf5aa816"]]);
34
- class P extends o {
33
+ }), T = /* @__PURE__ */ u(v, [["__scopeId", "data-v-cf5aa816"]]);
34
+ class R extends o {
35
35
  constructor() {
36
36
  super(...arguments), i(this, "onDoAuthSuccess", (e, t) => {
37
37
  const s = JSON.parse(t);
@@ -71,7 +71,7 @@ class P extends o {
71
71
  this.log(`[${this.getType()}][doChallenge]`);
72
72
  const { destroy: t } = l({
73
73
  el: document.body,
74
- component: C,
74
+ component: T,
75
75
  props: {
76
76
  url: e,
77
77
  width: 390,
@@ -97,5 +97,5 @@ class P extends o {
97
97
  }
98
98
  }
99
99
  export {
100
- P as GPaymentsThreeDsProvider
100
+ R as GPaymentsThreeDsProvider
101
101
  };
@@ -1,11 +1,11 @@
1
- import { DefaultThreeDsProvider as w } from "./DefaultThreeDsProvider-ByqIuIMb-DCABeZFY.js";
2
- import { v as g, P as E, u as A, J as f, F as b, e as T, h as L, S as _, g as x, Y as G, a as N, b as m, c as I, D as $, i as F } from "./index-BmYcZJxX.js";
3
- var H = Object.defineProperty, O = (h, e, t) => e in h ? H(h, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : h[e] = t, p = (h, e, t) => O(h, typeof e != "symbol" ? e + "" : e, t);
4
- const M = { class: "mask" }, j = { class: "wrapper" }, U = { class: "container" }, k = /* @__PURE__ */ b({
1
+ import { DefaultThreeDsProvider as w } from "./DefaultThreeDsProvider-DbKbN6Le-D6biiNjg.js";
2
+ import { y as g, P as E, u as A, J as f, R as b, e as T, h as L, S as _, f as x, z as G, a as N, F as m, b as I, M as $, i as H } from "./index-C2RtVqup.js";
3
+ var M = Object.defineProperty, O = (h, e, t) => e in h ? M(h, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : h[e] = t, p = (h, e, t) => O(h, typeof e != "symbol" ? e + "" : e, t);
4
+ const F = { class: "mask" }, j = { class: "wrapper" }, R = { class: "container" }, U = /* @__PURE__ */ b({
5
5
  __name: "MetricsGlobalThreeDsChallenge",
6
6
  emits: ["close", "submit"],
7
7
  setup(h, { emit: e }) {
8
- const t = e, r = F(!1);
8
+ const t = e, r = H(!1);
9
9
  function a(c) {
10
10
  var o;
11
11
  ["3DS_CHALLENGE_SHOW", "3DS_CHALLENGE_CLOSE"].includes((o = c.data) == null ? void 0 : o.message) && (r.value = c.data.message === "3DS_CHALLENGE_SHOW");
@@ -14,9 +14,9 @@ const M = { class: "mask" }, j = { class: "wrapper" }, U = { class: "container"
14
14
  window.addEventListener("message", a);
15
15
  }), L(() => {
16
16
  window.removeEventListener("message", a);
17
- }), (c, o) => _((G(), N("div", M, [
17
+ }), (c, o) => _((G(), N("div", F, [
18
18
  m("div", j, [
19
- m("div", U, [
19
+ m("div", R, [
20
20
  I($, {
21
21
  onClick: o[0] || (o[0] = (i) => t("close")),
22
22
  id: "3ds-challenge-close"
@@ -28,8 +28,8 @@ const M = { class: "mask" }, j = { class: "wrapper" }, U = { class: "container"
28
28
  [x, r.value]
29
29
  ]);
30
30
  }
31
- }), R = /* @__PURE__ */ f(k, [["__scopeId", "data-v-8a0b6dcb"]]), { hideSpinner: d, showSpinner: W } = A(), D = 5;
32
- class q extends w {
31
+ }), k = /* @__PURE__ */ f(U, [["__scopeId", "data-v-8a0b6dcb"]]), { hideSpinner: d, showSpinner: W } = A(), D = 5;
32
+ class z extends w {
33
33
  constructor(e, t, r) {
34
34
  var a;
35
35
  super(e, t, r), p(this, "gateway"), p(this, "threeDS"), p(this, "numAttempts", 0), this.initScript(((a = r.clientParameters) == null ? void 0 : a.PublicKey) || "");
@@ -70,10 +70,10 @@ class q extends w {
70
70
  return;
71
71
  }
72
72
  W();
73
- const s = (t = this.threeDsProcessor) == null ? void 0 : t.getAddressInfo(), v = i.expiryDate.length === 4 ? i.expiryDate[2] + i.expiryDate[3] : "", y = i.expiryDate.length === 4 ? i.expiryDate[0] + i.expiryDate[1] : "", [P = "", C = ""] = ((r = i.cardholder) == null ? void 0 : r.split(/\s+/)) || [], S = {
73
+ const s = (t = this.threeDsProcessor) == null ? void 0 : t.getAddressInfo(), y = i.expiryDate.length === 4 ? i.expiryDate[2] + i.expiryDate[3] : "", v = i.expiryDate.length === 4 ? i.expiryDate[0] + i.expiryDate[1] : "", [P = "", C = ""] = ((r = i.cardholder) == null ? void 0 : r.split(/\s+/)) || [], S = {
74
74
  cardNumber: i.cardNumber,
75
- cardExpMonth: v,
76
- cardExpYear: parseInt(y) + 2e3,
75
+ cardExpMonth: y,
76
+ cardExpYear: parseInt(v) + 2e3,
77
77
  currency: (a = this.threeDsProcessor) == null ? void 0 : a.getCurrency(),
78
78
  amount: (c = this.threeDsProcessor) == null ? void 0 : c.getAmount(),
79
79
  email: (o = this.threeDsProcessor) == null ? void 0 : o.getEmail(),
@@ -116,7 +116,7 @@ class q extends w {
116
116
  initChallenge() {
117
117
  const { destroy: e } = E({
118
118
  el: document.body,
119
- component: R,
119
+ component: k,
120
120
  on: {
121
121
  close: () => {
122
122
  var t;
@@ -142,5 +142,5 @@ class q extends w {
142
142
  }
143
143
  }
144
144
  export {
145
- q as MetricsGlobalThreeDsProvider
145
+ z as MetricsGlobalThreeDsProvider
146
146
  };
@@ -1,4 +1,4 @@
1
- import { MetricsGlobalThreeDsProvider as e } from "./MetricsGlobalThreeDsProvider-DCFNNBAG-DWwOWfRj.js";
1
+ import { MetricsGlobalThreeDsProvider as e } from "./MetricsGlobalThreeDsProvider-Ctsa_ZKe-RCNzcDjE.js";
2
2
  class t extends e {
3
3
  getType() {
4
4
  return "NMI";
@@ -1,5 +1,5 @@
1
- import { v as d, P as p, J as m, u as h, F as g, e as D, Y as S, a as v, b as l } from "./index-BmYcZJxX.js";
2
- import { DefaultThreeDsProvider as y, THREE_DS_METHOD_INVOCATION_COMPLETE as P, THREE_DS_CHALLENGE_COMPLETE as T } from "./DefaultThreeDsProvider-ByqIuIMb-DCABeZFY.js";
1
+ import { y as d, P as p, J as m, u as h, R as g, e as D, z as S, a as y, F as l } from "./index-C2RtVqup.js";
2
+ import { DefaultThreeDsProvider as v, THREE_DS_METHOD_INVOCATION_COMPLETE as P, THREE_DS_CHALLENGE_COMPLETE as T } from "./DefaultThreeDsProvider-DbKbN6Le-D6biiNjg.js";
3
3
  var f = Object.defineProperty, I = (n, e, a) => e in n ? f(n, e, { enumerable: !0, configurable: !0, writable: !0, value: a }) : n[e] = a, c = (n, e, a) => I(n, typeof e != "symbol" ? e + "" : e, a);
4
4
  const N = { class: "mask" }, C = /* @__PURE__ */ g({
5
5
  __name: "nuvei",
@@ -71,14 +71,14 @@ const N = { class: "mask" }, C = /* @__PURE__ */ g({
71
71
  window.postMessage({ status: "3ds_challenge_complete", cres: r }, "*");
72
72
  });
73
73
  }
74
- return (t, r) => (S(), v("div", N, [...r[0] || (r[0] = [
74
+ return (t, r) => (S(), y("div", N, [...r[0] || (r[0] = [
75
75
  l("div", { class: "wrapper" }, [
76
76
  l("div", { class: "container" })
77
77
  ], -1)
78
78
  ])]));
79
79
  }
80
80
  }), _ = /* @__PURE__ */ m(C, [["__scopeId", "data-v-6293d147"]]), { hideSpinner: E } = h();
81
- class A extends y {
81
+ class A extends v {
82
82
  constructor() {
83
83
  super(...arguments), c(this, "_paResPayload", null), c(this, "onSuccess", (e, a) => {
84
84
  var s, o;
@@ -1,31 +1,31 @@
1
- import { DefaultThreeDsProvider as y } from "./DefaultThreeDsProvider-ByqIuIMb-DCABeZFY.js";
2
- import { v as h, P as C, J as w, F as I, i as D, O as E, d as L, e as m, h as p, Y as S, a as k, b as g, f as R, j as b } from "./index-BmYcZJxX.js";
3
- const c = D(!1);
1
+ import { DefaultThreeDsProvider as f } from "./DefaultThreeDsProvider-DbKbN6Le-D6biiNjg.js";
2
+ import { y as h, P as C, J as w, R as E, i as v, O as I, d as L, e as m, h as p, z as R, a as S, F as g, D as k, j as b } from "./index-C2RtVqup.js";
3
+ const c = v(!1);
4
4
  function A(r, ...e) {
5
5
  c.value && console.log(r, e);
6
6
  }
7
- function v(r) {
7
+ function D(r) {
8
8
  var e, t;
9
- (e = r == null ? void 0 : r.data) != null && e.status && r.data.status === R && (c.value = !!((t = r == null ? void 0 : r.data) != null && t.debug));
9
+ (e = r == null ? void 0 : r.data) != null && e.status && r.data.status === k && (c.value = !!((t = r == null ? void 0 : r.data) != null && t.debug));
10
10
  }
11
11
  function $() {
12
12
  return m(() => {
13
- window.addEventListener("message", v);
13
+ window.addEventListener("message", D);
14
14
  }), p(() => {
15
- window.removeEventListener("message", v);
15
+ window.removeEventListener("message", D);
16
16
  }), {
17
17
  debug: c,
18
18
  logMessage: A
19
19
  };
20
20
  }
21
- const x = { class: "modal-mask" }, U = { class: "modal-wrapper" }, G = ["src"], M = /* @__PURE__ */ I({
21
+ const x = { class: "modal-mask" }, U = { class: "modal-wrapper" }, G = ["src"], M = /* @__PURE__ */ E({
22
22
  __name: "PayGLocalThreeDsChallenge",
23
23
  props: {
24
24
  url: {}
25
25
  },
26
26
  emits: ["close"],
27
27
  setup(r, { emit: e }) {
28
- const { logMessage: t } = $(), a = r, s = e, o = D(a.url), n = E(() => b(o.value) ? o.value : "");
28
+ const { logMessage: t } = $(), a = r, s = e, o = v(a.url), n = I(() => b(o.value) ? o.value : "");
29
29
  L(() => a.url, (l) => {
30
30
  o.value = l;
31
31
  }), m(() => {
@@ -38,10 +38,10 @@ const x = { class: "modal-mask" }, U = { class: "modal-wrapper" }, G = ["src"],
38
38
  if (t("PayGLocalThreeDsChallenge: Message received", l.data), !((i = l == null ? void 0 : l.data) != null && i["payglocal-token"])) return;
39
39
  const d = l.data["payglocal-token"];
40
40
  t("Token received", d);
41
- const P = d.split(".")[1], T = window.atob(P), f = JSON.parse(T);
42
- s("close", f);
41
+ const P = d.split(".")[1], T = window.atob(P), y = JSON.parse(T);
42
+ s("close", y);
43
43
  }
44
- return (l, i) => (S(), k("div", x, [
44
+ return (l, i) => (R(), S("div", x, [
45
45
  g("div", U, [
46
46
  g("iframe", {
47
47
  src: n.value,
@@ -51,7 +51,7 @@ const x = { class: "modal-mask" }, U = { class: "modal-wrapper" }, G = ["src"],
51
51
  ]));
52
52
  }
53
53
  }), O = /* @__PURE__ */ w(M, [["__scopeId", "data-v-0699f67d"]]);
54
- class F extends y {
54
+ class N extends f {
55
55
  getType() {
56
56
  return "PayGLocal";
57
57
  }
@@ -123,5 +123,5 @@ class F extends y {
123
123
  }
124
124
  }
125
125
  export {
126
- F as PayGLocalThreeDsProvider
126
+ N as PayGLocalThreeDsProvider
127
127
  };
@@ -1,4 +1,4 @@
1
- import { R as b, $ as v, T as g } from "./index-BmYcZJxX.js";
1
+ import { U as b, $ as v, T as g } from "./index-C2RtVqup.js";
2
2
  var A = Object.defineProperty, C = (n, t, e) => t in n ? A(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e, i = (n, t, e) => C(n, typeof t != "symbol" ? t + "" : t, e);
3
3
  const h = {
4
4
  CHECKOUT: "CHECKOUT",
@@ -1,4 +1,4 @@
1
- import { MetricsGlobalThreeDsProvider as e } from "./MetricsGlobalThreeDsProvider-DCFNNBAG-DWwOWfRj.js";
1
+ import { MetricsGlobalThreeDsProvider as e } from "./MetricsGlobalThreeDsProvider-Ctsa_ZKe-RCNzcDjE.js";
2
2
  class t extends e {
3
3
  getType() {
4
4
  return "Payabli";
@@ -1,4 +1,4 @@
1
- import { MetricsGlobalThreeDsProvider as e } from "./MetricsGlobalThreeDsProvider-DCFNNBAG-DWwOWfRj.js";
1
+ import { MetricsGlobalThreeDsProvider as e } from "./MetricsGlobalThreeDsProvider-Ctsa_ZKe-RCNzcDjE.js";
2
2
  class s extends e {
3
3
  getType() {
4
4
  return "SkyBank";
@@ -1,4 +1,4 @@
1
- import { CxPayThreeDsProvider as n } from "./CxPayThreeDsProvider-BLfTGjPF-kfggfjdU.js";
1
+ import { CxPayThreeDsProvider as n } from "./CxPayThreeDsProvider-BljTEbxB-BcFsrr6m.js";
2
2
  function t(r, e, a) {
3
3
  return new n(r, e, a);
4
4
  }
@@ -1,4 +1,4 @@
1
- import { DefaultThreeDsProvider as o } from "./DefaultThreeDsProvider-ByqIuIMb-DCABeZFY.js";
1
+ import { DefaultThreeDsProvider as o } from "./DefaultThreeDsProvider-DbKbN6Le-D6biiNjg.js";
2
2
  function a(e, r, t) {
3
3
  return new o(e, r, t);
4
4
  }
@@ -1,4 +1,4 @@
1
- import { EcentricThreeDsProvider as i } from "./EcentricThreeDsProvider-C0fijqNm-J1HqpcUG.js";
1
+ import { EcentricThreeDsProvider as i } from "./EcentricThreeDsProvider-DjBTwEnR-DfIzyswQ.js";
2
2
  function o(r, e, t) {
3
3
  return new i(r, e, t);
4
4
  }
@@ -1,4 +1,4 @@
1
- import { EpnaThreeDsProvider as n } from "./EpnaThreeDsProvider-BKcMV0Ni-C8jATWyJ.js";
1
+ import { EpnaThreeDsProvider as n } from "./EpnaThreeDsProvider-KyUTPiU6-Dup0wSLA.js";
2
2
  function t(r, e, a) {
3
3
  return new n(r, e, a);
4
4
  }
@@ -1,4 +1,4 @@
1
- import { FlashBancThreeDsProvider as a } from "./FlashBancThreeDsProvider-BL79DnxY-CKAnpF83.js";
1
+ import { FlashBancThreeDsProvider as a } from "./FlashBancThreeDsProvider-DLWmBAJq-BUtBKD3J.js";
2
2
  function o(r, e, t) {
3
3
  return new a(r, e, t);
4
4
  }
@@ -1,4 +1,4 @@
1
- import { GPaymentsThreeDsProvider as a } from "./GPaymentsThreeDsProvider-DK7o9MEd-CotMfLS4.js";
1
+ import { GPaymentsThreeDsProvider as a } from "./GPaymentsThreeDsProvider-Bq63V0gC-JMmzXEZE.js";
2
2
  function o(e, r, t) {
3
3
  return new a(e, r, t);
4
4
  }