@payfurl/client 4.11.3 → 4.11.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.
@@ -1,4 +1,4 @@
1
- import { a as e, c as t, d as n, f as r, h as i, i as a, l as o, m as s, n as c, o as l, p as u, r as d, s as f, t as p, u as m } from "./strings-yAlHZQqv.js";
1
+ import { a as e, c as t, d as n, f as r, h as i, i as a, l as o, m as s, n as c, o as l, p as u, r as d, s as f, t as p, u as m } from "./strings-B1OTvB_L.js";
2
2
  import { At as h, B as g, Bt as _, C as ee, Ct as v, Dt as y, Et as b, Ft as te, G as ne, Gt as x, H as re, Ht as S, I as C, It as ie, J as ae, K as oe, Kt as w, L as se, Lt as ce, M as le, Mt as ue, N as de, Nt as fe, Ot as pe, Pt as T, R as me, Rt as he, S as ge, St as E, Tt as _e, U as ve, Ut as D, V as ye, Vt as O, Wt as be, Y as xe, Z as Se, _t as k, a as Ce, at as A, b as we, bt as Te, c as Ee, ct as De, d as Oe, dt as ke, et as Ae, f as je, ft as Me, gt as j, ht as Ne, it as Pe, j as Fe, jt as M, kt as N, lt as P, m as Ie, mt as Le, n as Re, nt as ze, o as Be, ot as Ve, pt as He, q as Ue, r as We, rt as F, st as Ge, t as Ke, tt as qe, ut as Je, v as Ye, vt as Xe, w as Ze, wt as I, x as Qe, xt as $e, y as et, yt as tt, z as nt, zt as rt } from "./CloseIcon-Dkap5zUl.js";
3
3
  import { n as it, t as L } from "./alerts-CWLXzX6j.js";
4
4
  import { t as at } from "./screen-aNRlfrZR.js";
@@ -3449,11 +3449,22 @@ function Sr() {
3449
3449
  }
3450
3450
  }), br);
3451
3451
  }
3452
+ // src/sdk/utils/applePayButton.ts
3453
+ var Cr = (e) => typeof e == "number" ? `${e}px` : e;
3454
+ function wr(e, t) {
3455
+ e.setAttribute("buttonstyle", t?.buttonStyle || "black"), e.setAttribute("type", t?.type || "buy"), e.setAttribute("locale", t?.locale || "en-US");
3456
+ let n = [
3457
+ ["--apple-pay-button-width", t?.width],
3458
+ ["--apple-pay-button-height", t?.height],
3459
+ ["--apple-pay-button-border-radius", t?.borderRadius]
3460
+ ];
3461
+ for (let [t, r] of n) r !== void 0 && r !== "" && e.style.setProperty(t, Cr(r));
3462
+ }
3452
3463
  // src/sdk/components/ApplePayForm.vue?vue&type=script&setup=true&lang.ts
3453
- var Cr = { style: { position: "relative" } }, wr = {
3464
+ var Tr = { style: { position: "relative" } }, Er = {
3454
3465
  key: 0,
3455
3466
  class: "error text-normal"
3456
- }, Tr = /* @__PURE__ */ M({
3467
+ }, Dr = /* @__PURE__ */ M({
3457
3468
  __name: "ApplePayForm",
3458
3469
  props: {
3459
3470
  log: { type: Function },
@@ -3494,7 +3505,7 @@ var Cr = { style: { position: "relative" } }, wr = {
3494
3505
  function f() {
3495
3506
  l || (l = !0, window.google = null, Sr().then(() => {
3496
3507
  let e = document.createElement("apple-pay-button");
3497
- e.buttonstyle = "black", e.locale = "en-US", e.type = "buy", e.onclick = d, i.value?.appendChild(e), window.postMessage({
3508
+ wr(e, n.options.buttonOptions), e.onclick = d, i.value?.appendChild(e), window.postMessage({
3498
3509
  status: Qe,
3499
3510
  paymentMethod: "applepay"
3500
3511
  }, "*");
@@ -3507,25 +3518,25 @@ var Cr = { style: { position: "relative" } }, wr = {
3507
3518
  window.removeEventListener("message", p);
3508
3519
  }), ue(() => {
3509
3520
  window.addEventListener("message", p), mt(i.value, "payfurl-combined-container") || (s.value = !0, r("activate"), f());
3510
- }), (e, t) => (T(), y(E, null, [I("div", Cr, [O(h(ze, null, null, 512), [[Te, D(u)]])]), I("div", {
3521
+ }), (e, t) => (T(), y(E, null, [I("div", Tr, [O(h(ze, null, null, 512), [[Te, D(u)]])]), I("div", {
3511
3522
  style: { position: "relative" },
3512
3523
  ref_key: "root",
3513
3524
  ref: i
3514
- }, [c.value ? (T(), y("div", wr, w(c.value), 1)) : b("", !0)], 512)], 64));
3525
+ }, [c.value ? (T(), y("div", Er, w(c.value), 1)) : b("", !0)], 512)], 64));
3515
3526
  }
3516
- }), Er = {
3527
+ }), Or = {
3517
3528
  VALIDATE_MERCHANT: "VALIDATE_MERCHANT",
3518
3529
  ADD_CHARGE_WITH_APPLE_PAY: "ADD_CHARGE_WITH_APPLE_PAY"
3519
- }, Dr = (e) => ({
3520
- [Er.VALIDATE_MERCHANT]: {
3530
+ }, kr = (e) => ({
3531
+ [Or.VALIDATE_MERCHANT]: {
3521
3532
  url: e + "/charge/token/apple/validate",
3522
3533
  method: "POST"
3523
3534
  },
3524
- [Er.ADD_CHARGE_WITH_APPLE_PAY]: {
3535
+ [Or.ADD_CHARGE_WITH_APPLE_PAY]: {
3525
3536
  url: e + "/charge/token/apple",
3526
3537
  method: "POST"
3527
3538
  }
3528
- }), Or = class {
3539
+ }), Ar = class {
3529
3540
  container = null;
3530
3541
  log;
3531
3542
  apiUrl = "";
@@ -3596,7 +3607,7 @@ var Cr = { style: { position: "relative" } }, wr = {
3596
3607
  });
3597
3608
  let c = k({
3598
3609
  el: e,
3599
- component: Tr,
3610
+ component: Dr,
3600
3611
  props: {
3601
3612
  log: this.log,
3602
3613
  el: e,
@@ -3696,8 +3707,8 @@ var Cr = { style: { position: "relative" } }, wr = {
3696
3707
  cr(/* #__PURE__ */ Object.assign({
3697
3708
  "./applepay/ApplePayButton.interface.ts": () => import("./ApplePayButton.interface-BvRk9kiK.js"),
3698
3709
  "./applepay/ApplePayButtonOptions.type.ts": () => import("./ApplePayButtonOptions.type-BvRk9kiK.js"),
3699
- "./applepay/PayWayAppleButton.ts": () => import("./PayWayAppleButton-DfgBdc_z.js"),
3700
- "./applepay/payway_rest.ts": () => import("./payway_rest-Cmi8SOvm.js")
3710
+ "./applepay/PayWayAppleButton.ts": () => import("./PayWayAppleButton-CxT40BI6.js"),
3711
+ "./applepay/payway_rest.ts": () => import("./payway_rest-yUi2dJyl.js")
3701
3712
  }), `./applepay/${i.providerType?.toLowerCase()}.ts`, 3).then(o(this, "[localAddApplePay], then", (e) => {
3702
3713
  this.log(`Loading ${i.providerType}...`, e), l(e);
3703
3714
  })).catch(() => {
@@ -3705,7 +3716,7 @@ var Cr = { style: { position: "relative" } }, wr = {
3705
3716
  });
3706
3717
  }
3707
3718
  validateMerchant(e, t, n, r) {
3708
- this.log("[validateMerchant]", n), this.httpInvoker?.invoke(Dr(this.apiUrl)[Er.VALIDATE_MERCHANT].url, Dr(this.apiUrl)[Er.VALIDATE_MERCHANT].method, JSON.stringify(n), o(this, "[validateMerchant], success", (e, t) => {
3719
+ this.log("[validateMerchant]", n), this.httpInvoker?.invoke(kr(this.apiUrl)[Or.VALIDATE_MERCHANT].url, kr(this.apiUrl)[Or.VALIDATE_MERCHANT].method, JSON.stringify(n), o(this, "[validateMerchant], success", (e, t) => {
3709
3720
  try {
3710
3721
  let e = JSON.parse(t);
3711
3722
  this.log("[validateMerchant], success", e), r.completeMerchantValidation(e);
@@ -3741,7 +3752,7 @@ var Cr = { style: { position: "relative" } }, wr = {
3741
3752
  }).catch(() => a("Unable to pay with ApplePay"));
3742
3753
  }
3743
3754
  addChargeWithApplePay(e, t, n, r) {
3744
- this.log("[addChargeWithApplePay]", n), this.httpInvoker?.invoke(Dr(this.apiUrl)[Er.ADD_CHARGE_WITH_APPLE_PAY].url, Dr(this.apiUrl)[Er.ADD_CHARGE_WITH_APPLE_PAY].method, JSON.stringify(n), this.getSuccessAddChargeHandler(e, r).bind(this), this.getFailureAddChargeHandler(e, r).bind(this), { providerId: t });
3755
+ this.log("[addChargeWithApplePay]", n), this.httpInvoker?.invoke(kr(this.apiUrl)[Or.ADD_CHARGE_WITH_APPLE_PAY].url, kr(this.apiUrl)[Or.ADD_CHARGE_WITH_APPLE_PAY].method, JSON.stringify(n), this.getSuccessAddChargeHandler(e, r).bind(this), this.getFailureAddChargeHandler(e, r).bind(this), { providerId: t });
3745
3756
  }
3746
3757
  getFailureAddChargeHandler(e, t) {
3747
3758
  return o(this, "[getFailureAddChargeHandler]", (n, r) => {
@@ -3774,9 +3785,9 @@ var Cr = { style: { position: "relative" } }, wr = {
3774
3785
  if (!r.lineItemLabel) throw L(e, "Invalid lineItemLabel parameter"), TypeError("Invalid lineItemLabel parameter");
3775
3786
  }
3776
3787
  };
3777
- R([t], Or.prototype, "cleanUp", null), R([t], Or.prototype, "addApplePay", null), R([t], Or.prototype, "validateMerchant", null), R([t], Or.prototype, "addChargeWithApplePay", null), R([t], Or.prototype, "getFailureAddChargeHandler", null), R([t], Or.prototype, "getSuccessAddChargeHandler", null), R([t], Or.prototype, "validateOptions", null);
3788
+ R([t], Ar.prototype, "cleanUp", null), R([t], Ar.prototype, "addApplePay", null), R([t], Ar.prototype, "validateMerchant", null), R([t], Ar.prototype, "addChargeWithApplePay", null), R([t], Ar.prototype, "getFailureAddChargeHandler", null), R([t], Ar.prototype, "getSuccessAddChargeHandler", null), R([t], Ar.prototype, "validateOptions", null);
3778
3789
  // src/components/ApplePayIcon.vue
3779
- var kr = /*#__PURE__*/ F(/* @__PURE__ */ M({
3790
+ var jr = /*#__PURE__*/ F(/* @__PURE__ */ M({
3780
3791
  __name: "ApplePayIcon",
3781
3792
  props: {
3782
3793
  size: {},
@@ -3798,64 +3809,64 @@ var kr = /*#__PURE__*/ F(/* @__PURE__ */ M({
3798
3809
  (function(e) {
3799
3810
  e.mastercard = "mastercard", e.maestro = "maestro", e.visa = "visa", e.amex = "amex", e.discover = "discover";
3800
3811
  })(Z ||= {});
3801
- var Ar = [
3812
+ var Mr = [
3802
3813
  Z.mastercard,
3803
3814
  Z.maestro,
3804
3815
  Z.visa,
3805
3816
  Z.amex,
3806
3817
  Z.discover
3807
- ], jr;
3818
+ ], Nr;
3808
3819
  (function(e) {
3809
3820
  e.NONE = "NONE", e.FULL = "FULL", e.POSTAL_COUNTRY = "POSTAL_COUNTRY";
3810
- })(jr ||= {});
3821
+ })(Nr ||= {});
3811
3822
  // src/assets/click2pay/mastercard.svg
3812
- var Mr = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='28px'%20height='20px'%20viewBox='0%200%2028%2020'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eMC%3c/title%3e%3cg%20id='Page-1'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='Click-to-Pay-Styles-for-UI-Display'%20transform='translate(-3824.000000,%20-619.000000)'%3e%3cg%20id='button_dark_v3.1_178x32'%20transform='translate(3776.000000,%20612.000000)'%3e%3cg%20id='v4_mark_light_S_15px'%20transform='translate(14.500000,%207.500000)'%3e%3cg%20id='MC'%20transform='translate(34.000000,%200.000000)'%3e%3cg%20id='Group'%20transform='translate(0.000000,%200.500000)'%20fill-rule='nonzero'%3e%3cg%20id='mc_symbol'%3e%3crect%20id='Rectangle'%20fill='%23FF5F00'%20x='9.54692308'%20y='1.89561644'%20width='7.99846152'%20height='13.1831507'%3e%3c/rect%3e%3cpath%20d='M10.3707692,8.48835615%20C10.3687609,5.9162332%2011.5388328,3.4860197%2013.5438461,1.8979452%20C10.1376439,-0.803412601%205.24620091,-0.409936474%202.30709182,2.80184914%20C-0.632017274,6.01363474%20-0.632017274,10.9654063%202.30709182,14.1771919%20C5.24620091,17.3889776%2010.1376439,17.7824537%2013.5438461,15.0810959%20C11.5381947,13.4925171%2010.3680514,11.0612963%2010.3707692,8.48835615%20Z'%20id='Path'%20fill='%23EB001B'%3e%3c/path%3e%3cpolygon%20id='Path'%20fill='%23F79E1B'%20points='26.037982%2013.7760322%2026.037982%2013.4940046%2026.1523888%2013.4940046%2026.1523888%2013.447%2025.8778125%2013.447%2025.8778125%2013.4940046%2025.9922193%2013.4940046%2025.9922193%2013.7760322'%3e%3c/polygon%3e%3cpolygon%20id='Path'%20fill='%23F79E1B'%20points='26.5645392%2013.447%2026.4730138%2013.447%2026.3814883%2013.682023%2026.2899629%2013.447%2026.1984375%2013.447%2026.1984375%2013.7760322%2026.2670816%2013.7760322%2026.2670816%2013.5175069%2026.3431635%2013.7290277%2026.4272511%2013.7290277%2026.5008388%2013.5175069%2026.5008388%2013.7760322%2026.5645392%2013.7760322'%3e%3c/polygon%3e%3cpath%20d='M26.9861539,8.48835615%20C26.9861539,11.6981845%2025.1698664,14.6262062%2022.3088666,16.0288794%20C19.4478669,17.4315526%2016.0443669,17.0626193%2013.5438461,15.0787671%20C15.5479847,13.4893444%2016.7181446,11.059454%2016.7181446,8.48719178%20C16.7181446,5.9149296%2015.5479847,3.48503916%2013.5438461,1.89561644%20C16.0443669,-0.0882357813%2019.4478669,-0.45716899%2022.3088666,0.945504164%20C25.1698664,2.34817732%2026.9861539,5.27619909%2026.9861539,8.4860274%20L26.9861539,8.48835615%20Z'%20id='Path'%20fill='%23F79E1B'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3crect%20id='Rectangle-export'%20x='0'%20y='0'%20width='27'%20height='18'%3e%3c/rect%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e", Nr = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='30px'%20height='19px'%20viewBox='0%200%2030%2019'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eVisa-dark%3c/title%3e%3cg%20id='Page-1'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='Click-to-Pay-Styles-for-UI-Display'%20transform='translate(-3857.000000,%20-659.000000)'%3e%3cg%20id='button_dark_v3.1_178x32'%20transform='translate(3776.000000,%20612.000000)'%3e%3cg%20id='v4_mark_light_S_15px'%20transform='translate(14.500000,%207.500000)'%3e%3cg%20id='Visa-dark'%20transform='translate(67.000000,%2040.000000)'%3e%3cg%20id='Group'%20transform='translate(0.000000,%204.500000)'%20fill='%231A1F71'%20fill-rule='nonzero'%3e%3cg%20id='Visa-Brand-Mark-Blue'%3e%3cpath%20d='M10.9839171,0.218028169%20L7.20456221,8.77056338%20L4.73889401,8.77056338%20L2.87995392,1.94450704%20C2.76635945,1.52366197%202.66880184,1.37028169%202.32534562,1.1928169%20C1.76539171,0.903802817%200.839262673,0.633802817%200.0240552995,0.465211268%20L0.0801843318,0.216760563%20L4.04930876,0.216760563%20C4.55447005,0.216760563%205.01018433,0.536197183%205.12511521,1.08887324%20L6.10737327,6.03887324%20L8.53428571,0.218028169%20L10.9839171,0.218028169%20Z%20M20.6447926,5.97802817%20C20.6541475,3.72042254%2017.3532258,3.59619718%2017.3759447,2.5884507%20C17.3826267,2.28169014%2017.6913364,1.95591549%2018.3648848,1.87225352%20C18.6989862,1.83042254%2019.6197696,1.79873239%2020.6648387,2.25507042%20L21.0737788,0.441126761%20C20.5124885,0.247183099%2019.7908295,0.0621126761%2018.8914286,0.0621126761%20C16.586129,0.0621126761%2014.9637327,1.22450704%2014.9490323,2.89014085%20C14.9343318,4.12098592%2016.1076959,4.80802817%2016.9910599,5.21746479%20C17.8998157,5.63704225%2018.2045161,5.90577465%2018.2005069,6.27971831%20C18.1951613,6.85394366%2017.4761751,7.10619718%2016.8052995,7.11633803%20C15.6319355,7.13408451%2014.9517051,6.81591549%2014.4091244,6.57633803%20L13.9868203,8.44985915%20C14.5320737,8.68690141%2015.5370507,8.89352113%2016.5807834,8.90366197%20C19.034424,8.90366197%2020.6367742,7.75521127%2020.6447926,5.97802817%20L20.6447926,5.97802817%20Z%20M26.7321198,8.77056338%20L28.8890783,8.77056338%20L27.0060829,0.218028169%20L25.0148387,0.218028169%20C24.5671429,0.218028169%2024.1902765,0.465211268%2024.0218894,0.845492958%20L20.5231797,8.77056338%20L22.9728111,8.77056338%20L23.4592627,7.4928169%20L26.4514747,7.4928169%20L26.7321198,8.77056338%20Z%20M24.1301382,5.73971831%20L25.3582949,2.52760563%20L26.0652535,5.73971831%20L24.1301382,5.73971831%20Z%20M14.3169124,0.218028169%20L12.3884793,8.77056338%20L10.0564516,8.77056338%20L11.9862212,0.218028169%20L14.3169124,0.218028169%20Z'%20id='Shape'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3crect%20id='Rectangle-export'%20x='0'%20y='0'%20width='29'%20height='18'%3e%3c/rect%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e", Pr = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='19px'%20height='19px'%20viewBox='0%200%2019%2019'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eAMEX%3c/title%3e%3cg%20id='Page-1'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='Click-to-Pay-Styles-for-UI-Display'%20transform='translate(-3890.000000,%20-619.000000)'%3e%3cg%20id='button_dark_v3.1_178x32'%20transform='translate(3776.000000,%20612.000000)'%3e%3cg%20id='v4_mark_light_S_15px'%20transform='translate(14.500000,%207.500000)'%3e%3cg%20id='AMEX'%20transform='translate(100.000000,%200.000000)'%3e%3cg%20id='Group'%20fill-rule='nonzero'%3e%3cg%20id='Amex-500x500@1x'%3e%3crect%20id='Rectangle'%20fill='%23FFFFFF'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3cpath%20d='M0,0%20L0,18%20L18,18%20L18,15.147828%20L15.828444,15.147828%20L14.710428,13.911588%20L13.58676,15.147828%20L6.426972,15.147828%20L6.426972,9.386172%20L4.116096,9.386172%20L6.982488,2.89926%20L9.746856,2.89926%20L10.733652,5.121576%20L10.733652,2.89926%20L14.155416,2.89926%20L14.749524,4.573872%20L15.34752,2.89926%20L18,2.89926%20L18,0%20L0,0%20Z%20M15.884244,3.620664%20L14.754384,6.758172%20L13.631796,3.620664%20L11.480112,3.620664%20L11.480112,8.658072%20L12.840192,8.658072%20L12.840192,5.131872%20L14.135616,8.658072%20L15.344496,8.658072%20L16.639812,5.1246%20L16.639812,8.658072%20L18,8.658072%20L18,3.620664%20L15.884244,3.620664%20Z%20M7.486272,3.620664%20L5.262516,8.658072%20L6.77376,8.658072%20L7.191216,7.650576%20L9.508356,7.650576%20L9.93294,8.658072%20L11.480112,8.658072%20L9.256608,3.620664%20L7.486272,3.620664%20Z%20M8.349804,4.87278%20L9.03348,6.520716%20L7.666092,6.520716%20L8.349804,4.87278%20Z%20M16.222968,9.389052%20L14.747796,11.00106%20L13.286808,9.389052%20L11.480616,9.389052%20L13.855356,11.907792%20L11.480616,14.426496%20L13.236516,14.426496%20L14.71896,12.800088%20L16.19424,14.426496%20L18,14.426496%20L15.611328,11.893356%20L18,9.389052%20L16.222968,9.389052%20Z%20M7.191576,9.389052%20L7.191576,14.426496%20L11.480508,14.426496%20L11.480508,13.260672%20L8.566128,13.260672%20L8.566128,12.476268%20L11.40858,12.476268%20L11.40858,11.339172%20L8.566128,11.339172%20L8.566128,10.554912%20L11.480508,10.554912%20L11.480508,9.389052%20L7.191576,9.389052%20Z%20M16.6167,11.89548%20L18,13.367124%20L18,10.436112%20L16.6167,11.89548%20Z'%20id='500x500'%20fill='%23006FCF'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3crect%20id='Rectangle-export'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e", Fr = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='28px'%20height='20px'%20viewBox='0%200%2028%2020'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eDiscover%3c/title%3e%3cg%20id='Page-1'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='Click-to-Pay-Styles-for-UI-Display'%20transform='translate(-3913.000000,%20-619.000000)'%3e%3cg%20id='button_dark_v3.1_178x32'%20transform='translate(3776.000000,%20612.000000)'%3e%3cg%20id='v4_mark_light_S_15px'%20transform='translate(14.500000,%207.500000)'%3e%3cg%20id='Discover'%20transform='translate(123.000000,%200.000000)'%3e%3cg%20id='Group'%20transform='translate(0.000000,%200.500000)'%20fill-rule='nonzero'%3e%3cg%20id='Discover_26x16'%3e%3crect%20id='Rectangle'%20fill='%23FFFFFF'%20x='0'%20y='0'%20width='27'%20height='17'%3e%3c/rect%3e%3cpath%20d='M26.8272,9.445625%20C26.8272,9.445625%2019.494,14.535%206.0696,16.80875%20L26.8272,16.80875%20L26.8272,9.445625%20Z'%20id='Path'%20fill='%23F68C1E'%3e%3c/path%3e%3cpath%20d='M26.9028389,0%20L0,0%20L0,17%20L27,17%20L27,0%20L26.9028389,0%20Z%20M26.8056777,0.19125%20L26.8056777,16.80875%20L0.194322271,16.80875%20C0.194322271,16.6175%200.194322271,0.3825%200.194322271,0.19125%20C0.388644542,0.19125%2026.6113555,0.19125%2026.8056777,0.19125'%20id='Shape'%20fill='%23000105'%3e%3c/path%3e%3cpath%20d='M2.3652,5.20625%20L1.242,5.20625%20L1.242,9.0525%20L2.3544,9.0525%20C2.9484,9.0525%203.3696,8.914375%203.7476,8.60625%20C4.1904,8.245%204.4604,7.6925%204.4604,7.129375%20C4.4604,5.9925%203.5964,5.20625%202.3652,5.20625%20M3.2508,8.09625%20C3.0132,8.30875%202.7,8.39375%202.214,8.39375%20L2.0088,8.39375%20L2.0088,5.854375%20L2.214,5.854375%20C2.7108,5.854375%203.0024,5.939375%203.2616,6.1625%20C3.5208,6.39625%203.672,6.7575%203.672,7.11875%20C3.672,7.490625%203.5208,7.8625%203.2508,8.09625'%20id='Shape'%20fill='%23000105'%3e%3c/path%3e%3crect%20id='Rectangle'%20fill='%23000105'%20x='4.8168'%20y='5.20625'%20width='1'%20height='3.84625'%3e%3c/rect%3e%3cpath%20d='M7.4412,6.6725%20C6.9768,6.513125%206.8472,6.39625%206.8472,6.194375%20C6.8472,5.95%207.0848,5.769375%207.4196,5.769375%20C7.6464,5.769375%207.8408,5.865%208.0352,6.0775%20L8.424,5.5675%20C8.1,5.280625%207.7004,5.1425%207.2792,5.1425%20C6.588,5.1425%206.0588,5.61%206.0588,6.2475%20C6.0588,6.77875%206.3072,7.044375%207.02,7.299375%20C7.3224,7.405625%207.4736,7.469375%207.5492,7.5225%20C7.7004,7.6075%207.776,7.745625%207.776,7.915625%20C7.776,8.22375%207.5276,8.4575%207.182,8.4575%20C6.8148,8.4575%206.5232,8.276875%206.3504,7.9475%20L5.8644,8.404375%20C6.21,8.914375%206.6312,9.1375%207.2144,9.1375%20C8.0028,9.1375%208.5644,8.616875%208.5644,7.873125%20C8.5644,7.2675%208.3052,6.99125%207.4412,6.6725'%20id='Path'%20fill='%23000105'%3e%3c/path%3e%3cpath%20d='M8.802,7.129375%20C8.802,8.255625%209.7092,9.1375%2010.8648,9.1375%20C11.1888,9.1375%2011.4696,9.07375%2011.826,8.914375%20L11.826,8.0325%20C11.5236,8.33%2011.2536,8.4575%2010.908,8.4575%20C10.1412,8.4575%209.5904,7.905%209.5904,7.129375%20C9.5904,6.385625%2010.152,5.811875%2010.8648,5.811875%20C11.232,5.811875%2011.502,5.939375%2011.826,6.2475%20L11.826,5.355%20C11.4912,5.185%2011.2212,5.12125%2010.8864,5.12125%20C9.7308,5.110625%208.802,6.01375%208.802,7.129375'%20id='Path'%20fill='%23000105'%3e%3c/path%3e%3cpolygon%20id='Path'%20fill='%23000105'%20points='17.874%207.788125%2016.8264%205.20625%2015.9948%205.20625%2017.658%209.148125%2018.0684%209.148125%2019.7532%205.20625%2018.9216%205.20625'%3e%3c/polygon%3e%3cpolygon%20id='Path'%20fill='%23000105'%20points='20.0988%209.0525%2022.2588%209.0525%2022.2588%208.39375%2020.8548%208.39375%2020.8548%207.363125%2022.2048%207.363125%2022.2048%206.704375%2020.8548%206.704375%2020.8548%205.854375%2022.2588%205.854375%2022.2588%205.20625%2020.0988%205.20625'%3e%3c/polygon%3e%3cpath%20d='M25.2828,6.3325%20C25.2828,5.61%2024.7752,5.195625%2023.9004,5.195625%20L22.7664,5.195625%20L22.7664,9.041875%20L23.5332,9.041875%20L23.5332,7.50125%20L23.6304,7.50125%20L24.6888,9.041875%20L25.6284,9.041875%20L24.3972,7.426875%20C24.9588,7.31%2025.2828,6.9275%2025.2828,6.3325%20M23.7492,6.97%20L23.5224,6.97%20L23.5224,5.80125%20L23.76,5.80125%20C24.2352,5.80125%2024.4944,5.9925%2024.4944,6.375%20C24.4944,6.768125%2024.2352,6.97%2023.7492,6.97'%20id='Shape'%20fill='%23000105'%3e%3c/path%3e%3cpath%20d='M16.2216,7.129375%20C16.2216,8.255625%2015.2928,9.169375%2014.148,9.169375%20C13.0032,9.169375%2012.0744,8.255625%2012.0744,7.129375%20C12.0744,6.003125%2013.0032,5.089375%2014.148,5.089375%20C15.2928,5.07875%2016.2216,6.003125%2016.2216,7.129375'%20id='Path'%20fill='%23F68C1E'%3e%3c/path%3e%3cpath%20d='M25.6824,5.282375%20C25.6824,5.217575%2025.6392,5.174375%2025.5528,5.174375%20L25.4448,5.174375%20L25.4448,5.519975%20L25.5312,5.519975%20L25.5312,5.379575%20L25.6284,5.509175%20L25.7256,5.509175%20L25.6176,5.368775%20C25.6608,5.357975%2025.6824,5.325575%2025.6824,5.282375'%20id='Shape'%20fill='%23231F20'%3e%3c/path%3e%3cpath%20d='M25.5744,5.046875%20C25.4124,5.046875%2025.272,5.176475%2025.272,5.349275%20C25.272,5.511275%2025.4016,5.651675%2025.5744,5.651675%20C25.7364,5.651675%2025.866,5.522075%2025.866,5.349275%20C25.866,5.187275%2025.7364,5.046875%2025.5744,5.046875%20M25.5744,5.597675%20C25.4448,5.597675%2025.3368,5.489675%2025.3368,5.349275%20C25.3368,5.208875%2025.4448,5.100875%2025.5744,5.100875%20C25.704,5.100875%2025.812,5.208875%2025.812,5.349275%20C25.812,5.478875%2025.704,5.597675%2025.5744,5.597675'%20id='Shape'%20fill='%23231F20'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3crect%20id='Rectangle-export'%20x='0'%20y='0'%20width='27'%20height='18'%3e%3c/rect%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e", Ir = { class: "click2pay-logo" }, Lr = {
3823
+ var Pr = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='28px'%20height='20px'%20viewBox='0%200%2028%2020'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eMC%3c/title%3e%3cg%20id='Page-1'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='Click-to-Pay-Styles-for-UI-Display'%20transform='translate(-3824.000000,%20-619.000000)'%3e%3cg%20id='button_dark_v3.1_178x32'%20transform='translate(3776.000000,%20612.000000)'%3e%3cg%20id='v4_mark_light_S_15px'%20transform='translate(14.500000,%207.500000)'%3e%3cg%20id='MC'%20transform='translate(34.000000,%200.000000)'%3e%3cg%20id='Group'%20transform='translate(0.000000,%200.500000)'%20fill-rule='nonzero'%3e%3cg%20id='mc_symbol'%3e%3crect%20id='Rectangle'%20fill='%23FF5F00'%20x='9.54692308'%20y='1.89561644'%20width='7.99846152'%20height='13.1831507'%3e%3c/rect%3e%3cpath%20d='M10.3707692,8.48835615%20C10.3687609,5.9162332%2011.5388328,3.4860197%2013.5438461,1.8979452%20C10.1376439,-0.803412601%205.24620091,-0.409936474%202.30709182,2.80184914%20C-0.632017274,6.01363474%20-0.632017274,10.9654063%202.30709182,14.1771919%20C5.24620091,17.3889776%2010.1376439,17.7824537%2013.5438461,15.0810959%20C11.5381947,13.4925171%2010.3680514,11.0612963%2010.3707692,8.48835615%20Z'%20id='Path'%20fill='%23EB001B'%3e%3c/path%3e%3cpolygon%20id='Path'%20fill='%23F79E1B'%20points='26.037982%2013.7760322%2026.037982%2013.4940046%2026.1523888%2013.4940046%2026.1523888%2013.447%2025.8778125%2013.447%2025.8778125%2013.4940046%2025.9922193%2013.4940046%2025.9922193%2013.7760322'%3e%3c/polygon%3e%3cpolygon%20id='Path'%20fill='%23F79E1B'%20points='26.5645392%2013.447%2026.4730138%2013.447%2026.3814883%2013.682023%2026.2899629%2013.447%2026.1984375%2013.447%2026.1984375%2013.7760322%2026.2670816%2013.7760322%2026.2670816%2013.5175069%2026.3431635%2013.7290277%2026.4272511%2013.7290277%2026.5008388%2013.5175069%2026.5008388%2013.7760322%2026.5645392%2013.7760322'%3e%3c/polygon%3e%3cpath%20d='M26.9861539,8.48835615%20C26.9861539,11.6981845%2025.1698664,14.6262062%2022.3088666,16.0288794%20C19.4478669,17.4315526%2016.0443669,17.0626193%2013.5438461,15.0787671%20C15.5479847,13.4893444%2016.7181446,11.059454%2016.7181446,8.48719178%20C16.7181446,5.9149296%2015.5479847,3.48503916%2013.5438461,1.89561644%20C16.0443669,-0.0882357813%2019.4478669,-0.45716899%2022.3088666,0.945504164%20C25.1698664,2.34817732%2026.9861539,5.27619909%2026.9861539,8.4860274%20L26.9861539,8.48835615%20Z'%20id='Path'%20fill='%23F79E1B'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3crect%20id='Rectangle-export'%20x='0'%20y='0'%20width='27'%20height='18'%3e%3c/rect%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e", Fr = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='30px'%20height='19px'%20viewBox='0%200%2030%2019'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eVisa-dark%3c/title%3e%3cg%20id='Page-1'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='Click-to-Pay-Styles-for-UI-Display'%20transform='translate(-3857.000000,%20-659.000000)'%3e%3cg%20id='button_dark_v3.1_178x32'%20transform='translate(3776.000000,%20612.000000)'%3e%3cg%20id='v4_mark_light_S_15px'%20transform='translate(14.500000,%207.500000)'%3e%3cg%20id='Visa-dark'%20transform='translate(67.000000,%2040.000000)'%3e%3cg%20id='Group'%20transform='translate(0.000000,%204.500000)'%20fill='%231A1F71'%20fill-rule='nonzero'%3e%3cg%20id='Visa-Brand-Mark-Blue'%3e%3cpath%20d='M10.9839171,0.218028169%20L7.20456221,8.77056338%20L4.73889401,8.77056338%20L2.87995392,1.94450704%20C2.76635945,1.52366197%202.66880184,1.37028169%202.32534562,1.1928169%20C1.76539171,0.903802817%200.839262673,0.633802817%200.0240552995,0.465211268%20L0.0801843318,0.216760563%20L4.04930876,0.216760563%20C4.55447005,0.216760563%205.01018433,0.536197183%205.12511521,1.08887324%20L6.10737327,6.03887324%20L8.53428571,0.218028169%20L10.9839171,0.218028169%20Z%20M20.6447926,5.97802817%20C20.6541475,3.72042254%2017.3532258,3.59619718%2017.3759447,2.5884507%20C17.3826267,2.28169014%2017.6913364,1.95591549%2018.3648848,1.87225352%20C18.6989862,1.83042254%2019.6197696,1.79873239%2020.6648387,2.25507042%20L21.0737788,0.441126761%20C20.5124885,0.247183099%2019.7908295,0.0621126761%2018.8914286,0.0621126761%20C16.586129,0.0621126761%2014.9637327,1.22450704%2014.9490323,2.89014085%20C14.9343318,4.12098592%2016.1076959,4.80802817%2016.9910599,5.21746479%20C17.8998157,5.63704225%2018.2045161,5.90577465%2018.2005069,6.27971831%20C18.1951613,6.85394366%2017.4761751,7.10619718%2016.8052995,7.11633803%20C15.6319355,7.13408451%2014.9517051,6.81591549%2014.4091244,6.57633803%20L13.9868203,8.44985915%20C14.5320737,8.68690141%2015.5370507,8.89352113%2016.5807834,8.90366197%20C19.034424,8.90366197%2020.6367742,7.75521127%2020.6447926,5.97802817%20L20.6447926,5.97802817%20Z%20M26.7321198,8.77056338%20L28.8890783,8.77056338%20L27.0060829,0.218028169%20L25.0148387,0.218028169%20C24.5671429,0.218028169%2024.1902765,0.465211268%2024.0218894,0.845492958%20L20.5231797,8.77056338%20L22.9728111,8.77056338%20L23.4592627,7.4928169%20L26.4514747,7.4928169%20L26.7321198,8.77056338%20Z%20M24.1301382,5.73971831%20L25.3582949,2.52760563%20L26.0652535,5.73971831%20L24.1301382,5.73971831%20Z%20M14.3169124,0.218028169%20L12.3884793,8.77056338%20L10.0564516,8.77056338%20L11.9862212,0.218028169%20L14.3169124,0.218028169%20Z'%20id='Shape'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3crect%20id='Rectangle-export'%20x='0'%20y='0'%20width='29'%20height='18'%3e%3c/rect%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e", Ir = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='19px'%20height='19px'%20viewBox='0%200%2019%2019'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eAMEX%3c/title%3e%3cg%20id='Page-1'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='Click-to-Pay-Styles-for-UI-Display'%20transform='translate(-3890.000000,%20-619.000000)'%3e%3cg%20id='button_dark_v3.1_178x32'%20transform='translate(3776.000000,%20612.000000)'%3e%3cg%20id='v4_mark_light_S_15px'%20transform='translate(14.500000,%207.500000)'%3e%3cg%20id='AMEX'%20transform='translate(100.000000,%200.000000)'%3e%3cg%20id='Group'%20fill-rule='nonzero'%3e%3cg%20id='Amex-500x500@1x'%3e%3crect%20id='Rectangle'%20fill='%23FFFFFF'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3cpath%20d='M0,0%20L0,18%20L18,18%20L18,15.147828%20L15.828444,15.147828%20L14.710428,13.911588%20L13.58676,15.147828%20L6.426972,15.147828%20L6.426972,9.386172%20L4.116096,9.386172%20L6.982488,2.89926%20L9.746856,2.89926%20L10.733652,5.121576%20L10.733652,2.89926%20L14.155416,2.89926%20L14.749524,4.573872%20L15.34752,2.89926%20L18,2.89926%20L18,0%20L0,0%20Z%20M15.884244,3.620664%20L14.754384,6.758172%20L13.631796,3.620664%20L11.480112,3.620664%20L11.480112,8.658072%20L12.840192,8.658072%20L12.840192,5.131872%20L14.135616,8.658072%20L15.344496,8.658072%20L16.639812,5.1246%20L16.639812,8.658072%20L18,8.658072%20L18,3.620664%20L15.884244,3.620664%20Z%20M7.486272,3.620664%20L5.262516,8.658072%20L6.77376,8.658072%20L7.191216,7.650576%20L9.508356,7.650576%20L9.93294,8.658072%20L11.480112,8.658072%20L9.256608,3.620664%20L7.486272,3.620664%20Z%20M8.349804,4.87278%20L9.03348,6.520716%20L7.666092,6.520716%20L8.349804,4.87278%20Z%20M16.222968,9.389052%20L14.747796,11.00106%20L13.286808,9.389052%20L11.480616,9.389052%20L13.855356,11.907792%20L11.480616,14.426496%20L13.236516,14.426496%20L14.71896,12.800088%20L16.19424,14.426496%20L18,14.426496%20L15.611328,11.893356%20L18,9.389052%20L16.222968,9.389052%20Z%20M7.191576,9.389052%20L7.191576,14.426496%20L11.480508,14.426496%20L11.480508,13.260672%20L8.566128,13.260672%20L8.566128,12.476268%20L11.40858,12.476268%20L11.40858,11.339172%20L8.566128,11.339172%20L8.566128,10.554912%20L11.480508,10.554912%20L11.480508,9.389052%20L7.191576,9.389052%20Z%20M16.6167,11.89548%20L18,13.367124%20L18,10.436112%20L16.6167,11.89548%20Z'%20id='500x500'%20fill='%23006FCF'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3crect%20id='Rectangle-export'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e", Lr = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='28px'%20height='20px'%20viewBox='0%200%2028%2020'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eDiscover%3c/title%3e%3cg%20id='Page-1'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='Click-to-Pay-Styles-for-UI-Display'%20transform='translate(-3913.000000,%20-619.000000)'%3e%3cg%20id='button_dark_v3.1_178x32'%20transform='translate(3776.000000,%20612.000000)'%3e%3cg%20id='v4_mark_light_S_15px'%20transform='translate(14.500000,%207.500000)'%3e%3cg%20id='Discover'%20transform='translate(123.000000,%200.000000)'%3e%3cg%20id='Group'%20transform='translate(0.000000,%200.500000)'%20fill-rule='nonzero'%3e%3cg%20id='Discover_26x16'%3e%3crect%20id='Rectangle'%20fill='%23FFFFFF'%20x='0'%20y='0'%20width='27'%20height='17'%3e%3c/rect%3e%3cpath%20d='M26.8272,9.445625%20C26.8272,9.445625%2019.494,14.535%206.0696,16.80875%20L26.8272,16.80875%20L26.8272,9.445625%20Z'%20id='Path'%20fill='%23F68C1E'%3e%3c/path%3e%3cpath%20d='M26.9028389,0%20L0,0%20L0,17%20L27,17%20L27,0%20L26.9028389,0%20Z%20M26.8056777,0.19125%20L26.8056777,16.80875%20L0.194322271,16.80875%20C0.194322271,16.6175%200.194322271,0.3825%200.194322271,0.19125%20C0.388644542,0.19125%2026.6113555,0.19125%2026.8056777,0.19125'%20id='Shape'%20fill='%23000105'%3e%3c/path%3e%3cpath%20d='M2.3652,5.20625%20L1.242,5.20625%20L1.242,9.0525%20L2.3544,9.0525%20C2.9484,9.0525%203.3696,8.914375%203.7476,8.60625%20C4.1904,8.245%204.4604,7.6925%204.4604,7.129375%20C4.4604,5.9925%203.5964,5.20625%202.3652,5.20625%20M3.2508,8.09625%20C3.0132,8.30875%202.7,8.39375%202.214,8.39375%20L2.0088,8.39375%20L2.0088,5.854375%20L2.214,5.854375%20C2.7108,5.854375%203.0024,5.939375%203.2616,6.1625%20C3.5208,6.39625%203.672,6.7575%203.672,7.11875%20C3.672,7.490625%203.5208,7.8625%203.2508,8.09625'%20id='Shape'%20fill='%23000105'%3e%3c/path%3e%3crect%20id='Rectangle'%20fill='%23000105'%20x='4.8168'%20y='5.20625'%20width='1'%20height='3.84625'%3e%3c/rect%3e%3cpath%20d='M7.4412,6.6725%20C6.9768,6.513125%206.8472,6.39625%206.8472,6.194375%20C6.8472,5.95%207.0848,5.769375%207.4196,5.769375%20C7.6464,5.769375%207.8408,5.865%208.0352,6.0775%20L8.424,5.5675%20C8.1,5.280625%207.7004,5.1425%207.2792,5.1425%20C6.588,5.1425%206.0588,5.61%206.0588,6.2475%20C6.0588,6.77875%206.3072,7.044375%207.02,7.299375%20C7.3224,7.405625%207.4736,7.469375%207.5492,7.5225%20C7.7004,7.6075%207.776,7.745625%207.776,7.915625%20C7.776,8.22375%207.5276,8.4575%207.182,8.4575%20C6.8148,8.4575%206.5232,8.276875%206.3504,7.9475%20L5.8644,8.404375%20C6.21,8.914375%206.6312,9.1375%207.2144,9.1375%20C8.0028,9.1375%208.5644,8.616875%208.5644,7.873125%20C8.5644,7.2675%208.3052,6.99125%207.4412,6.6725'%20id='Path'%20fill='%23000105'%3e%3c/path%3e%3cpath%20d='M8.802,7.129375%20C8.802,8.255625%209.7092,9.1375%2010.8648,9.1375%20C11.1888,9.1375%2011.4696,9.07375%2011.826,8.914375%20L11.826,8.0325%20C11.5236,8.33%2011.2536,8.4575%2010.908,8.4575%20C10.1412,8.4575%209.5904,7.905%209.5904,7.129375%20C9.5904,6.385625%2010.152,5.811875%2010.8648,5.811875%20C11.232,5.811875%2011.502,5.939375%2011.826,6.2475%20L11.826,5.355%20C11.4912,5.185%2011.2212,5.12125%2010.8864,5.12125%20C9.7308,5.110625%208.802,6.01375%208.802,7.129375'%20id='Path'%20fill='%23000105'%3e%3c/path%3e%3cpolygon%20id='Path'%20fill='%23000105'%20points='17.874%207.788125%2016.8264%205.20625%2015.9948%205.20625%2017.658%209.148125%2018.0684%209.148125%2019.7532%205.20625%2018.9216%205.20625'%3e%3c/polygon%3e%3cpolygon%20id='Path'%20fill='%23000105'%20points='20.0988%209.0525%2022.2588%209.0525%2022.2588%208.39375%2020.8548%208.39375%2020.8548%207.363125%2022.2048%207.363125%2022.2048%206.704375%2020.8548%206.704375%2020.8548%205.854375%2022.2588%205.854375%2022.2588%205.20625%2020.0988%205.20625'%3e%3c/polygon%3e%3cpath%20d='M25.2828,6.3325%20C25.2828,5.61%2024.7752,5.195625%2023.9004,5.195625%20L22.7664,5.195625%20L22.7664,9.041875%20L23.5332,9.041875%20L23.5332,7.50125%20L23.6304,7.50125%20L24.6888,9.041875%20L25.6284,9.041875%20L24.3972,7.426875%20C24.9588,7.31%2025.2828,6.9275%2025.2828,6.3325%20M23.7492,6.97%20L23.5224,6.97%20L23.5224,5.80125%20L23.76,5.80125%20C24.2352,5.80125%2024.4944,5.9925%2024.4944,6.375%20C24.4944,6.768125%2024.2352,6.97%2023.7492,6.97'%20id='Shape'%20fill='%23000105'%3e%3c/path%3e%3cpath%20d='M16.2216,7.129375%20C16.2216,8.255625%2015.2928,9.169375%2014.148,9.169375%20C13.0032,9.169375%2012.0744,8.255625%2012.0744,7.129375%20C12.0744,6.003125%2013.0032,5.089375%2014.148,5.089375%20C15.2928,5.07875%2016.2216,6.003125%2016.2216,7.129375'%20id='Path'%20fill='%23F68C1E'%3e%3c/path%3e%3cpath%20d='M25.6824,5.282375%20C25.6824,5.217575%2025.6392,5.174375%2025.5528,5.174375%20L25.4448,5.174375%20L25.4448,5.519975%20L25.5312,5.519975%20L25.5312,5.379575%20L25.6284,5.509175%20L25.7256,5.509175%20L25.6176,5.368775%20C25.6608,5.357975%2025.6824,5.325575%2025.6824,5.282375'%20id='Shape'%20fill='%23231F20'%3e%3c/path%3e%3cpath%20d='M25.5744,5.046875%20C25.4124,5.046875%2025.272,5.176475%2025.272,5.349275%20C25.272,5.511275%2025.4016,5.651675%2025.5744,5.651675%20C25.7364,5.651675%2025.866,5.522075%2025.866,5.349275%20C25.866,5.187275%2025.7364,5.046875%2025.5744,5.046875%20M25.5744,5.597675%20C25.4448,5.597675%2025.3368,5.489675%2025.3368,5.349275%20C25.3368,5.208875%2025.4448,5.100875%2025.5744,5.100875%20C25.704,5.100875%2025.812,5.208875%2025.812,5.349275%20C25.812,5.478875%2025.704,5.597675%2025.5744,5.597675'%20id='Shape'%20fill='%23231F20'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3crect%20id='Rectangle-export'%20x='0'%20y='0'%20width='27'%20height='18'%3e%3c/rect%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e", Rr = { class: "click2pay-logo" }, zr = {
3813
3824
  key: 0,
3814
- src: Mr,
3825
+ src: Pr,
3815
3826
  alt: "MasterCard"
3816
- }, Rr = {
3827
+ }, Br = {
3817
3828
  key: 1,
3818
- src: Nr,
3829
+ src: Fr,
3819
3830
  alt: "Visa"
3820
- }, zr = {
3831
+ }, Vr = {
3821
3832
  key: 2,
3822
- src: Pr,
3833
+ src: Ir,
3823
3834
  alt: "American Express"
3824
- }, Br = {
3835
+ }, Hr = {
3825
3836
  key: 3,
3826
- src: Fr,
3837
+ src: Lr,
3827
3838
  alt: "Discover"
3828
- }, Vr = /*#__PURE__*/ F(/* @__PURE__ */ M({
3839
+ }, Ur = /*#__PURE__*/ F(/* @__PURE__ */ M({
3829
3840
  __name: "ClickToPayLogo",
3830
3841
  props: { options: {} },
3831
3842
  setup(e) {
3832
- let t = e, n = S(t.options.cardBrands || Ar);
3843
+ let t = e, n = S(t.options.cardBrands || Mr);
3833
3844
  return rt(() => t, () => {
3834
3845
  n.value = t.options.cardBrands || [];
3835
3846
  }, {
3836
3847
  flush: "post",
3837
3848
  deep: !0
3838
- }), (e, t) => (T(), y("div", Ir, [
3849
+ }), (e, t) => (T(), y("div", Rr, [
3839
3850
  t[0] ||= I("img", {
3840
3851
  src: "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20viewBox='0%204.1942%20233.76%20118.7958'%20width='233.76'%20height='118.7958'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill='%23000000'%20d='%20M%200.00%20103.74%20L%200.00%2023.26%20Q%202.71%209.47%2014.47%205.49%20Q%2018.21%204.22%2025.63%204.29%20Q%2036.12%204.39%2046.57%204.28%20Q%2049.98%204.25%2051.32%204.95%20C%2054.47%206.62%2054.71%2012.27%2051.60%2014.18%20Q%2050.30%2014.99%2047.25%2015.02%20Q%2035.25%2015.14%2023.26%2015.04%20Q%2014.82%2014.97%2012.04%2021.22%20Q%2010.75%2024.12%2010.75%2032.47%20Q%2010.77%2064.65%2010.78%2096.84%20C%2010.79%20108.05%2013.62%20112.09%2024.83%20112.11%20Q%2044.80%20112.15%2064.75%20112.07%20C%2068.72%20112.05%2071.55%20109.52%2074.24%20106.26%20Q%2091.06%2085.85%20108.91%2064.44%20A%200.86%200.86%200.0%200%200%20108.91%2063.34%20Q%2088.54%2038.50%2067.91%2013.34%20C%2065.75%2010.71%2065.99%207.28%2068.57%205.40%20Q%2070.05%204.32%2073.59%204.32%20Q%2088.43%204.31%20103.25%204.33%20Q%20105.90%204.33%20107.17%205.80%20Q%20130.58%2032.79%20153.94%2059.81%20C%20156.70%2063.00%20155.25%2065.90%20152.73%2068.88%20Q%20134.57%2090.29%20116.24%20111.71%20A%200.35%200.35%200.0%200%200%20116.51%20112.29%20L%20132.44%20112.24%20A%201.43%201.43%200.0%200%200%20133.55%20111.71%20L%20172.96%2063.93%20A%200.83%200.83%200.0%200%200%20172.96%2062.87%20Q%20152.96%2038.50%20132.93%2014.07%20Q%20131.33%2012.10%20131.02%2010.69%20C%20130.23%207.08%20133.94%203.44%20137.37%204.33%20Q%20139.27%204.83%20141.51%207.48%20Q%20163.74%2033.77%20186.06%2059.98%20Q%20189.13%2063.58%20185.65%2067.66%20Q%20162.44%2094.91%20139.34%20121.71%20A%203.12%203.10%2020.2%200%201%20137.01%20122.78%20Q%20120.84%20122.82%20104.23%20122.76%20C%2097.72%20122.74%2097.24%20117.14%20100.66%20112.96%20Q%20120.69%2088.51%20140.71%2064.30%20A%200.99%200.99%200.0%200%200%20140.71%2063.04%20L%20101.46%2015.56%20A%201.23%201.23%200.0%200%200%20100.51%2015.11%20L%2084.28%2015.01%20A%200.39%200.39%200.0%200%200%2083.98%2015.65%20Q%20102.93%2037.75%20121.70%2059.56%20C%20125.42%2063.89%20122.26%2066.94%20118.90%2070.92%20Q%2099.67%2093.66%2080.30%20116.30%20Q%2077.34%20119.77%2072.30%20121.55%20Q%2068.93%20122.74%2063.06%20122.75%20Q%2042.72%20122.77%2022.39%20122.77%20C%2010.50%20122.77%202.31%20115.51%200.00%20103.74%20Z'%20transform='matrix(1,%200,%200,%201,%20-3.552713678800501e-15,%200)'/%3e%3crect%20fill='%23000000'%20x='228.78'%20y='4.23'%20width='4.98'%20height='118.76'%20rx='2.41'%20transform='matrix(1,%200,%200,%201,%20-3.552713678800501e-15,%200)'/%3e%3c/svg%3e",
3841
3852
  alt: "Click To Pay"
3842
3853
  }, null, -1),
3843
- n.value.includes(D(Z).mastercard) ? (T(), y("img", Lr)) : b("", !0),
3844
- n.value.includes(D(Z).visa) ? (T(), y("img", Rr)) : b("", !0),
3845
- n.value.includes(D(Z).amex) ? (T(), y("img", zr)) : b("", !0),
3846
- n.value.includes(D(Z).discover) ? (T(), y("img", Br)) : b("", !0)
3854
+ n.value.includes(D(Z).mastercard) ? (T(), y("img", zr)) : b("", !0),
3855
+ n.value.includes(D(Z).visa) ? (T(), y("img", Br)) : b("", !0),
3856
+ n.value.includes(D(Z).amex) ? (T(), y("img", Vr)) : b("", !0),
3857
+ n.value.includes(D(Z).discover) ? (T(), y("img", Hr)) : b("", !0)
3847
3858
  ]));
3848
3859
  }
3849
- }), [["__scopeId", "data-v-c2abe5c3"]]), Hr = { style: {
3860
+ }), [["__scopeId", "data-v-c2abe5c3"]]), Wr = { style: {
3850
3861
  display: "flex",
3851
3862
  gap: "20px"
3852
- } }, Ur = { class: "payfurl-form" }, Wr = { class: "container-form" }, Gr = { class: "row" }, Kr = { style: { width: "100%" } }, qr = {
3863
+ } }, Gr = { class: "payfurl-form" }, Kr = { class: "container-form" }, qr = { class: "row" }, Jr = { style: { width: "100%" } }, Yr = {
3853
3864
  key: 0,
3854
3865
  class: "error"
3855
- }, Jr = { class: "row" }, Yr = { style: { width: "100%" } }, Xr = {
3866
+ }, Xr = { class: "row" }, Zr = { style: { width: "100%" } }, Qr = {
3856
3867
  key: 0,
3857
3868
  class: "error"
3858
- }, Zr = /*#__PURE__*/ F(/* @__PURE__ */ M({
3869
+ }, $r = /*#__PURE__*/ F(/* @__PURE__ */ M({
3859
3870
  __name: "LoginForm",
3860
3871
  props: {
3861
3872
  log: { type: Function },
@@ -3887,25 +3898,25 @@ var Mr = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csv
3887
3898
  width: "350",
3888
3899
  onClose: l
3889
3900
  }, {
3890
- title: _(() => [I("div", Hr, [h(Vr, { options: n.options }, null, 8, ["options"]), t[2] ||= N(" Click To Pay Login ", -1)])]),
3891
- body: _(() => [I("div", Ur, [I("div", Wr, [I("div", Gr, [t[3] ||= I("label", null, "Email Address", -1), I("div", Kr, [O(I("input", {
3901
+ title: _(() => [I("div", Wr, [h(Ur, { options: n.options }, null, 8, ["options"]), t[2] ||= N(" Click To Pay Login ", -1)])]),
3902
+ body: _(() => [I("div", Gr, [I("div", Kr, [I("div", qr, [t[3] ||= I("label", null, "Email Address", -1), I("div", Jr, [O(I("input", {
3892
3903
  type: "text",
3893
3904
  maxlength: "100",
3894
3905
  placeholder: "Email Address",
3895
3906
  name: "email",
3896
3907
  "onUpdate:modelValue": t[0] ||= (e) => i.value = e
3897
- }, null, 512), [[tt, i.value]]), o.value.email ? (T(), y("p", qr, w(o.value.email), 1)) : b("", !0)])]), I("div", Jr, [t[4] ||= I("label", null, "Phone", -1), I("div", Yr, [O(I("input", {
3908
+ }, null, 512), [[tt, i.value]]), o.value.email ? (T(), y("p", Yr, w(o.value.email), 1)) : b("", !0)])]), I("div", Xr, [t[4] ||= I("label", null, "Phone", -1), I("div", Zr, [O(I("input", {
3898
3909
  type: "text",
3899
3910
  maxlength: "100",
3900
3911
  placeholder: "Phone",
3901
3912
  name: "phone",
3902
3913
  "onUpdate:modelValue": t[1] ||= (e) => a.value = e
3903
- }, null, 512), [[tt, a.value]]), o.value.phone ? (T(), y("p", Xr, w(o.value.phone), 1)) : b("", !0)])])])])]),
3914
+ }, null, 512), [[tt, a.value]]), o.value.phone ? (T(), y("p", Qr, w(o.value.phone), 1)) : b("", !0)])])])])]),
3904
3915
  footer: _(() => [I("div", { class: "payfurl-form payfurl-form-footer" }, [I("button", { onClick: u }, "Continue as Guest"), I("button", { onClick: c }, "Login")])]),
3905
3916
  _: 1
3906
3917
  }));
3907
3918
  }
3908
- }), [["__scopeId", "data-v-693ba623"]]), Qr = [
3919
+ }), [["__scopeId", "data-v-693ba623"]]), ei = [
3909
3920
  "4761739001010010",
3910
3921
  "4005520000000129",
3911
3922
  "5413330089010640",
@@ -3914,8 +3925,8 @@ var Mr = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csv
3914
3925
  "4035874000424977",
3915
3926
  "5413330089010640"
3916
3927
  ];
3917
- function $r(e, t) {
3918
- if (t === u.PRODUCTION || !Qr.includes(e)) return null;
3928
+ function ti(e, t) {
3929
+ if (t === u.PRODUCTION || !ei.includes(e)) return null;
3919
3930
  switch (He(e)) {
3920
3931
  case "visa": return {
3921
3932
  cardNumber: "4622943123103732",
@@ -3935,7 +3946,7 @@ function $r(e, t) {
3935
3946
  }
3936
3947
  }
3937
3948
  // src/sdk/processors/clickToPayProcessor.ts
3938
- var ei = 1e3, ti = (e) => `${(e?.email || "").trim().toLowerCase()}|${e?.phoneNumber || ""}`, ni = "Click to Pay is unavailable. Please proceed with an alternative payment method", ri = {
3949
+ var ni = 1e3, ri = (e) => `${(e?.email || "").trim().toLowerCase()}|${e?.phoneNumber || ""}`, ii = "Click to Pay is unavailable. Please proceed with an alternative payment method", ai = {
3939
3950
  SANDBOX: {
3940
3951
  uiKit: "https://src.mastercard.com/srci/integration/components/src-ui-kit/src-ui-kit.esm.js",
3941
3952
  uiKitCss: "https://src.mastercard.com/srci/integration/components/src-ui-kit/src-ui-kit.css",
@@ -4010,9 +4021,9 @@ var ei = 1e3, ti = (e) => `${(e?.email || "").trim().toLowerCase()}|${e?.phoneNu
4010
4021
  this.log("[ClickToPayProcessor][setCustomerInfo]", e), this.customer = {
4011
4022
  ...e,
4012
4023
  email: e?.email || this.customer?.email || ""
4013
- }, !t && this.initialized && this.started && (this.cancelRestart(), (this.customer.email || this.customer.phoneNumber) && (this.lookedUp.has(ti(this.customer)) || (this.restartTimer = window.setTimeout(() => {
4024
+ }, !t && this.initialized && this.started && (this.cancelRestart(), (this.customer.email || this.customer.phoneNumber) && (this.lookedUp.has(ri(this.customer)) || (this.restartTimer = window.setTimeout(() => {
4014
4025
  this.restartTimer = null, this.cleanUp(this.container), this.start();
4015
- }, ei))));
4026
+ }, ni))));
4016
4027
  }
4017
4028
  cancelRestart() {
4018
4029
  this.restartTimer !== null && (window.clearTimeout(this.restartTimer), this.restartTimer = null);
@@ -4153,7 +4164,7 @@ var ei = 1e3, ti = (e) => `${(e?.email || "").trim().toLowerCase()}|${e?.phoneNu
4153
4164
  let r = document.createElement("div");
4154
4165
  r.setAttribute("class", "modal-body"), n.appendChild(r);
4155
4166
  let i = this, a = document.createElement("src-learn-more");
4156
- a.setAttribute("card-brands", (this.options.cardBrands || Ar).join(",")), a.addEventListener("close", function(e) {
4167
+ a.setAttribute("card-brands", (this.options.cardBrands || Mr).join(",")), a.addEventListener("close", function(e) {
4157
4168
  i.log("src-learn-more: close", e), i.mcHideLearnMore();
4158
4169
  }), a.addEventListener("ok", function(e) {
4159
4170
  i.log("src-learn-more: ok", e), i.mcHideLearnMore();
@@ -4232,8 +4243,8 @@ var ei = 1e3, ti = (e) => `${(e?.email || "").trim().toLowerCase()}|${e?.phoneNu
4232
4243
  }
4233
4244
  mcShowLearnMore() {
4234
4245
  this.log("[src-learn-more], mcShowLearnMore", this.srcLearnMore);
4235
- let e = this.availableCardBrands.length > 0 && this.availableCardBrands || Ar;
4236
- e.includes(Z.mastercard) && (e.splice(e.indexOf(Z.mastercard), 1), e.unshift(Z.mastercard)), this.srcLearnMoreElement.setAttribute("card-brands", (this.availableCardBrands.length > 0 && this.availableCardBrands || Ar).join(",")), this.srcLearnMore.style.display = "block";
4246
+ let e = this.availableCardBrands.length > 0 && this.availableCardBrands || Mr;
4247
+ e.includes(Z.mastercard) && (e.splice(e.indexOf(Z.mastercard), 1), e.unshift(Z.mastercard)), this.srcLearnMoreElement.setAttribute("card-brands", (this.availableCardBrands.length > 0 && this.availableCardBrands || Mr).join(",")), this.srcLearnMore.style.display = "block";
4237
4248
  }
4238
4249
  showChangeUserPopup() {
4239
4250
  this.showLoginForm();
@@ -4241,7 +4252,7 @@ var ei = 1e3, ti = (e) => `${(e?.email || "").trim().toLowerCase()}|${e?.phoneNu
4241
4252
  showLoginForm() {
4242
4253
  let { destroy: e } = k({
4243
4254
  el: document.body,
4244
- component: Zr,
4255
+ component: $r,
4245
4256
  props: {
4246
4257
  log: this.log,
4247
4258
  options: this.options
@@ -4269,7 +4280,7 @@ var ei = 1e3, ti = (e) => `${(e?.email || "").trim().toLowerCase()}|${e?.phoneNu
4269
4280
  let r = this, i = o(this, "[checkoutWithCard.promiseResolvedHandler]", (e) => {
4270
4281
  r.log("[checkoutWithCard.promiseResolvedHandler]", e), r.hideModalForm(), t(e);
4271
4282
  }), a = o(this, "[checkoutWithCard.promiseRejectedHandler]", (t) => {
4272
- r.log("[checkoutWithCard.promiseRejectedHandler]", t), r.stopUsing(), r.showInfoMessage(ni), n(t), r.sendErrorNotification("checkoutWithCard error", [
4283
+ r.log("[checkoutWithCard.promiseRejectedHandler]", t), r.stopUsing(), r.showInfoMessage(ii), n(t), r.sendErrorNotification("checkoutWithCard error", [
4273
4284
  e,
4274
4285
  s,
4275
4286
  t
@@ -4306,7 +4317,7 @@ var ei = 1e3, ti = (e) => `${(e?.email || "").trim().toLowerCase()}|${e?.phoneNu
4306
4317
  let i = this, a = o(this, "[checkoutWithNewCard.promiseResolvedHandler]", (e) => {
4307
4318
  i.log("[checkoutWithNewCard.promiseResolvedHandler]", e), i.hideModalForm(), e.checkoutActionCode === "SWITCH_CONSUMER" ? i.showLoginForm() : ["CHANGE_CARD", "CANCEL"].includes(e.checkoutActionCode) || n(e);
4308
4319
  }), s = o(this, "[checkoutWithNewCard.promiseRejectedHandler]", (e) => {
4309
- i.log("[checkoutWithNewCard.promiseRejectedHandler]", e), i.stopUsing(), i.showInfoMessage(ni), r(e), i.sendErrorNotification("checkoutWithNewCard error", [c, e]);
4320
+ i.log("[checkoutWithNewCard.promiseRejectedHandler]", e), i.stopUsing(), i.showInfoMessage(ii), r(e), i.sendErrorNotification("checkoutWithNewCard error", [c, e]);
4310
4321
  });
4311
4322
  this.showModalForm();
4312
4323
  let c = {
@@ -4319,7 +4330,7 @@ var ei = 1e3, ti = (e) => `${(e?.email || "").trim().toLowerCase()}|${e?.phoneNu
4319
4330
  this.log("checkoutWithNewCard", c), window.mcCheckoutService.checkoutWithNewCard(c).then(a).catch(s);
4320
4331
  }
4321
4332
  encryptCard(e, t, n, r, i) {
4322
- let a = $r(e, this.environment);
4333
+ let a = ti(e, this.environment);
4323
4334
  this.whenReady().then(() => {
4324
4335
  this.mcEncryptCard(a?.cardNumber || e, a?.expiryDate || t, a?.ccv || n, r, i);
4325
4336
  }).catch(i);
@@ -4340,7 +4351,7 @@ var ei = 1e3, ti = (e) => `${(e?.email || "").trim().toLowerCase()}|${e?.phoneNu
4340
4351
  srcDpaId: this.options.dpaId,
4341
4352
  dpaData: { dpaName: this.options.dpaName || `TAS-${this.options.dpaId}` },
4342
4353
  dpaTransactionOptions: this.generateDpaTransactionOptions(),
4343
- cardBrands: this.options?.cardBrands?.length ? this.options?.cardBrands : Ar,
4354
+ cardBrands: this.options?.cardBrands?.length ? this.options?.cardBrands : Mr,
4344
4355
  checkoutExperience: "WITHIN_CHECKOUT"
4345
4356
  }, i = this.getRecognitionToken();
4346
4357
  i && (r.recognitionToken = i), this.log("[mcInitClickToPay]", r), window.mcCheckoutService.init(r).then(t).catch(n);
@@ -4389,7 +4400,7 @@ var ei = 1e3, ti = (e) => `${(e?.email || "").trim().toLowerCase()}|${e?.phoneNu
4389
4400
  let t = this, n = o(this, "[mcValidate.promiseResolvedHandler]", (e) => {
4390
4401
  t.log("[mcValidate.promiseResolvedHandler]", e), e.cards ? (t.setCards(e.cards), t.stopLoadingCardForm()) : t.mcGetCards(), t.saveRecognitionToken(e.recognitionToken);
4391
4402
  }), r = o(this, "[mcValidate.promiseRejectedHandler]", (e) => {
4392
- t.log("[mcValidate.promiseRejectedHandler]", e), t.sendErrorNotification("mcValidate error", [{ recognitionTokenRequested: i.recognitionTokenRequested }, e]), t.attempts++, t.attempts > 2 || !e?.reason || e.reason == "REQUEST_TIMEOUT" ? (t.stopLoadingCardForm(), t.showMessage("Too many attempts to access your click to pay profile. Please check out as a guest.")) : e.reason === "CODE_INVALID" || e.reason === "RETRIES_EXCEEDED" || e.reason === "ACCT_INACCESSIBLE" || e.reason === "CODE_EXPIRED" ? t.mcShowOtpInput(t.supportedValidationChannels, t.validationChannelsNetwork, e.reason) : (t.stopUsing(), t.showInfoMessage(ni));
4403
+ t.log("[mcValidate.promiseRejectedHandler]", e), t.sendErrorNotification("mcValidate error", [{ recognitionTokenRequested: i.recognitionTokenRequested }, e]), t.attempts++, t.attempts > 2 || !e?.reason || e.reason == "REQUEST_TIMEOUT" ? (t.stopLoadingCardForm(), t.showMessage("Too many attempts to access your click to pay profile. Please check out as a guest.")) : e.reason === "CODE_INVALID" || e.reason === "RETRIES_EXCEEDED" || e.reason === "ACCT_INACCESSIBLE" || e.reason === "CODE_EXPIRED" ? t.mcShowOtpInput(t.supportedValidationChannels, t.validationChannelsNetwork, e.reason) : (t.stopUsing(), t.showInfoMessage(ii));
4393
4404
  }), i = {
4394
4405
  value: e,
4395
4406
  recognitionTokenRequested: this.getRememberMe()
@@ -4401,7 +4412,7 @@ var ei = 1e3, ti = (e) => `${(e?.email || "").trim().toLowerCase()}|${e?.phoneNu
4401
4412
  }
4402
4413
  runClickToPay() {
4403
4414
  let e = this, t = ++this.run;
4404
- this.lookedUp.add(ti(this.customer));
4415
+ this.lookedUp.add(ri(this.customer));
4405
4416
  let n = o(this, "[runClickToPay.promiseResolvedHandler]", (n) => {
4406
4417
  e.log("[runClickToPay.promiseResolvedHandler]", n), t === e.run && (!n || !n.length ? e.mcIdLookup(!1, t) : (e.setCards(n), e.stopLoadingCardForm()));
4407
4418
  }), r = o(this, "[runClickToPay.promiseRejectedHandler]", (t) => {
@@ -4458,7 +4469,7 @@ var ei = 1e3, ti = (e) => `${(e?.email || "").trim().toLowerCase()}|${e?.phoneNu
4458
4469
  return !!this.enabled;
4459
4470
  }
4460
4471
  getLibUrl(e) {
4461
- return ri[this.environment === u.PRODUCTION ? "PRODUCTION" : "SANDBOX"][e] || "";
4472
+ return ai[this.environment === u.PRODUCTION ? "PRODUCTION" : "SANDBOX"][e] || "";
4462
4473
  }
4463
4474
  saveRecognitionToken(e) {
4464
4475
  let t = /* @__PURE__ */ new Date();
@@ -4476,7 +4487,7 @@ var ei = 1e3, ti = (e) => `${(e?.email || "").trim().toLowerCase()}|${e?.phoneNu
4476
4487
  generateDpaTransactionOptions() {
4477
4488
  let e = {
4478
4489
  dpaLocale: this.options.locale || "en_AU",
4479
- dpaBillingPreference: jr.NONE,
4490
+ dpaBillingPreference: Nr.NONE,
4480
4491
  dpaAcceptedBillingCountries: [],
4481
4492
  dpaAcceptedShippingCountries: [],
4482
4493
  dpaShippingPreference: "NONE",
@@ -4487,7 +4498,7 @@ var ei = 1e3, ti = (e) => `${(e?.email || "").trim().toLowerCase()}|${e?.phoneNu
4487
4498
  transactionCurrencyCode: this.currency
4488
4499
  }
4489
4500
  };
4490
- return !this.tokenAuthenticationEnabled && this.options.useFpan && (e.paymentOptions = [{ dynamicDataType: "NONE" }]), this.options.confirmPayment !== void 0 && (e.confirmPayment = !!this.options.confirmPayment), this.tokenAuthenticationEnabled && (e.dpaBillingPreference = jr.NONE, e.merchantCountryCode = "AU", e.authenticationPreferences = { payloadRequested: "AUTHENTICATED" }, e.paymentOptions = [{
4501
+ return !this.tokenAuthenticationEnabled && this.options.useFpan && (e.paymentOptions = [{ dynamicDataType: "NONE" }]), this.options.confirmPayment !== void 0 && (e.confirmPayment = !!this.options.confirmPayment), this.tokenAuthenticationEnabled && (e.dpaBillingPreference = Nr.NONE, e.merchantCountryCode = "AU", e.authenticationPreferences = { payloadRequested: "AUTHENTICATED" }, e.paymentOptions = [{
4491
4502
  dpaDynamicDataTtlMinutes: 15,
4492
4503
  dynamicDataType: "CARD_APPLICATION_CRYPTOGRAM_SHORT_FORM"
4493
4504
  }], this.options.networkTokenOptions?.acquirerMerchantId && (e.acquirerMerchantId = this.options.networkTokenOptions.acquirerMerchantId), this.options.networkTokenOptions?.acquirerBIN && (e.acquirerBIN = this.options.networkTokenOptions.acquirerBIN), this.options.networkTokenOptions?.merchantCategoryCode && (e.merchantCategoryCode = this.options.networkTokenOptions.merchantCategoryCode)), e;
@@ -4506,15 +4517,15 @@ var ei = 1e3, ti = (e) => `${(e?.email || "").trim().toLowerCase()}|${e?.phoneNu
4506
4517
  };
4507
4518
  R([t], Q.prototype, "setContainer", null), R([t], Q.prototype, "setCustomerInfo", null), R([t], Q.prototype, "setCards", null), R([t], Q.prototype, "isSchemeSupported", null), R([t], Q.prototype, "messageHandler", null), R([t], Q.prototype, "init", null), R([t], Q.prototype, "cleanUp", null), R([t], Q.prototype, "start", null), R([t], Q.prototype, "initCheckoutServiceLib", null), R([t], Q.prototype, "initScripts", null), R([t], Q.prototype, "initCss", null), R([t], Q.prototype, "createOtpInput", null), R([t], Q.prototype, "attachOtpInput", null), R([t], Q.prototype, "createLearnMore", null), R([t], Q.prototype, "createModalForm", null), R([t], Q.prototype, "showModalForm", null), R([t], Q.prototype, "hideModalForm", null), R([t], Q.prototype, "mcHideOtpInput", null), R([t], Q.prototype, "mcShowOtpInput", null), R([t], Q.prototype, "adjustRememberMeOnOtpInput", null), R([t], Q.prototype, "mcHideLearnMore", null), R([t], Q.prototype, "mcShowLearnMore", null), R([t], Q.prototype, "showChangeUserPopup", null), R([t], Q.prototype, "showLoginForm", null), R([t], Q.prototype, "checkoutWithCard", null), R([t], Q.prototype, "checkoutWithNewCard", null), R([t], Q.prototype, "checkoutWithEncryptedNewCard", null), R([t], Q.prototype, "encryptCard", null), R([t], Q.prototype, "mcLogout", null), R([t], Q.prototype, "mcInitClickToPay", null), R([t], Q.prototype, "mcIdLookup", null), R([t], Q.prototype, "mcInitiateValidation", null), R([t], Q.prototype, "runClickToPay", null), R([t], Q.prototype, "mcGetCards", null), R([t], Q.prototype, "mcEncryptCard", null), R([t], Q.prototype, "stopUsing", null), R([t], Q.prototype, "updateAvailableCardBrands", null), R([t], Q.prototype, "getLibUrl", null), R([t], Q.prototype, "saveRecognitionToken", null), R([t], Q.prototype, "getRecognitionToken", null), R([t], Q.prototype, "sendErrorNotification", null), R([t], Q.prototype, "generateDpaTransactionOptions", null), R([t], Q.prototype, "generateConsumerInfo", null);
4508
4519
  // src/sdk/types/PaymentMethodInfo.type.ts
4509
- var ii;
4520
+ var oi;
4510
4521
  (function(e) {
4511
4522
  e.CARD = "CARD", e.PAYPAL = "PAYPAL", e.PAYTO = "PAYTO", e.PAYID = "PAYID", e.OPTTY = "OPTTY", e.GOOGLEPAY = "GOOGLEPAY", e.APPLEPAY = "APPLEPAY", e.VIS = "VIS", e.SHIFT = "SHIFT", e.PESAPAL = "PESAPAL", e.PAYBYACCOUNT = "PAYBYACCOUNT", e.CLICK2PAY = "CLICK2PAY", e.UPI = "UPI", e.PAYGLOCAL = "PAYGLOCAL", e.BANKPAYMENT = "BANKPAYMENT", e.PAYMENT_METHOD = "PAYMENT_METHOD";
4512
- })(ii ||= {});
4523
+ })(oi ||= {});
4513
4524
  // src/sdk/components/PaymentMethod.vue?vue&type=script&setup=true&lang.ts
4514
- var ai = {
4525
+ var si = {
4515
4526
  key: 0,
4516
4527
  class: "payment-method-info"
4517
- }, oi = ["src", "alt"], si = { class: "payment-method-details" }, ci = { class: "payment-method-details-name" }, li = { key: 0 }, ui = { key: 1 }, di = { key: 2 }, fi = /*#__PURE__*/ F(/* @__PURE__ */ M({
4528
+ }, ci = ["src", "alt"], li = { class: "payment-method-details" }, ui = { class: "payment-method-details-name" }, di = { key: 0 }, fi = { key: 1 }, pi = { key: 2 }, mi = /*#__PURE__*/ F(/* @__PURE__ */ M({
4518
4529
  __name: "PaymentMethod",
4519
4530
  props: {
4520
4531
  log: { type: Function },
@@ -4569,22 +4580,22 @@ var ai = {
4569
4580
  }
4570
4581
  return rt(() => t.paymentMethod, () => {
4571
4582
  n.value = t.paymentMethod;
4572
- }, { flush: "post" }), (e, t) => n.value ? (T(), y("div", ai, [I("img", {
4583
+ }, { flush: "post" }), (e, t) => n.value ? (T(), y("div", si, [I("img", {
4573
4584
  src: i(),
4574
4585
  alt: r()
4575
- }, null, 8, oi), I("div", si, [
4576
- I("div", ci, w(r()), 1),
4577
- n.value.type === D(ii).CARD ? (T(), y("div", li, [
4586
+ }, null, 8, ci), I("div", li, [
4587
+ I("div", ui, w(r()), 1),
4588
+ n.value.type === D(oi).CARD ? (T(), y("div", di, [
4578
4589
  N(" Card: " + w(n.value.card?.cardNumber || "Unknown"), 1),
4579
4590
  t[0] ||= I("br", null, null, -1),
4580
4591
  N(" Expire: " + w(n.value.card?.expiryDate || "Unknown"), 1)
4581
4592
  ])) : b("", !0),
4582
- n.value.type === D(ii).BANKPAYMENT ? (T(), y("div", ui, [
4593
+ n.value.type === D(oi).BANKPAYMENT ? (T(), y("div", fi, [
4583
4594
  N(" Name: " + w(n.value.bankPayment?.accountName), 1),
4584
4595
  t[1] ||= I("br", null, null, -1),
4585
4596
  N(" Acc No: " + w(n.value.bankPayment?.accountNumber), 1)
4586
4597
  ])) : b("", !0),
4587
- n.value.type === D(ii).PAYTO ? (T(), y("div", di, [
4598
+ n.value.type === D(oi).PAYTO ? (T(), y("div", pi, [
4588
4599
  N(" Name: " + w(n.value.payTo?.payerName), 1),
4589
4600
  t[3] ||= I("br", null, null, -1),
4590
4601
  n.value.payTo?.payerPayIdDetails ? (T(), y(E, { key: 0 }, [N(w(n.value.payTo?.payerPayIdDetails?.payIdType) + ": " + w(n.value.payTo?.payerPayIdDetails?.payId), 1)], 64)) : b("", !0),
@@ -4596,22 +4607,22 @@ var ai = {
4596
4607
  ])) : b("", !0)
4597
4608
  ])])) : b("", !0);
4598
4609
  }
4599
- }), [["__scopeId", "data-v-7894e1cd"]]), pi = {
4610
+ }), [["__scopeId", "data-v-7894e1cd"]]), hi = {
4600
4611
  key: 0,
4601
4612
  class: "saved-payment-methods"
4602
- }, mi = {
4613
+ }, gi = {
4603
4614
  key: 0,
4604
4615
  class: "error"
4605
- }, hi = ["onClick"], gi = ["id", "checked"], _i = {
4616
+ }, _i = ["onClick"], vi = ["id", "checked"], yi = {
4606
4617
  key: 0,
4607
4618
  class: "error"
4608
- }, vi = {
4619
+ }, bi = {
4609
4620
  key: 1,
4610
4621
  class: "payment-method-container"
4611
- }, yi = {
4622
+ }, xi = {
4612
4623
  key: 1,
4613
4624
  class: "saved-payment-methods"
4614
- }, bi = /*#__PURE__*/ F(/* @__PURE__ */ M({
4625
+ }, Si = /*#__PURE__*/ F(/* @__PURE__ */ M({
4615
4626
  __name: "PaymentMethodsForm",
4616
4627
  props: {
4617
4628
  log: { type: Function },
@@ -4656,8 +4667,8 @@ var ai = {
4656
4667
  window.addEventListener("message", u), window.postMessage({ status: Qe }, "*"), f();
4657
4668
  }), fe(() => {
4658
4669
  window.removeEventListener("message", u);
4659
- }), (e, t) => o.value.length > 0 ? (T(), y("div", pi, [
4660
- c.value.global ? (T(), y("div", mi, w(c.value.global), 1)) : b("", !0),
4670
+ }), (e, t) => o.value.length > 0 ? (T(), y("div", hi, [
4671
+ c.value.global ? (T(), y("div", gi, w(c.value.global), 1)) : b("", !0),
4661
4672
  (T(!0), y(E, null, te(l.value, (e, t) => (T(), y("div", {
4662
4673
  key: `paymentMethod${t}`,
4663
4674
  class: be(["payment-method-container", `${a.value?.paymentMethodId === e?.paymentMethodId ? "selected" : ""} ${c.value[`${e?.paymentMethodId}`] ? "error" : ""}`]),
@@ -4668,8 +4679,8 @@ var ai = {
4668
4679
  name: "paymentMethod",
4669
4680
  id: `payment-method-${e?.paymentMethodId}`,
4670
4681
  checked: a.value?.paymentMethodId === e?.paymentMethodId
4671
- }, null, 8, gi),
4672
- h(fi, {
4682
+ }, null, 8, vi),
4683
+ h(mi, {
4673
4684
  log: n.log,
4674
4685
  "css-url": n.cssUrl,
4675
4686
  "payment-method": e
@@ -4678,9 +4689,9 @@ var ai = {
4678
4689
  "css-url",
4679
4690
  "payment-method"
4680
4691
  ]),
4681
- c.value[`${e?.paymentMethodId}`] ? (T(), y("div", _i, w(c.value[`${e?.paymentMethodId}`]), 1)) : b("", !0)
4682
- ], 10, hi))), 128)),
4683
- o.value.length > 1 ? (T(), y("div", vi, [t[2] ||= I("div", { style: { width: "20px" } }, null, -1), I("div", null, [s.value ? (T(), y("a", {
4692
+ c.value[`${e?.paymentMethodId}`] ? (T(), y("div", yi, w(c.value[`${e?.paymentMethodId}`]), 1)) : b("", !0)
4693
+ ], 10, _i))), 128)),
4694
+ o.value.length > 1 ? (T(), y("div", bi, [t[2] ||= I("div", { style: { width: "20px" } }, null, -1), I("div", null, [s.value ? (T(), y("a", {
4684
4695
  key: 0,
4685
4696
  href: "#",
4686
4697
  class: "black",
@@ -4691,9 +4702,9 @@ var ai = {
4691
4702
  class: "black",
4692
4703
  onClick: t[1] ||= (e) => s.value = !0
4693
4704
  }, "Show all"))])])) : b("", !0)
4694
- ])) : (T(), y("div", yi, [...t[3] ||= [I("div", { class: "title" }, "No saved payment methods found", -1)]]));
4705
+ ])) : (T(), y("div", xi, [...t[3] ||= [I("div", { class: "title" }, "No saved payment methods found", -1)]]));
4695
4706
  }
4696
- }), [["__scopeId", "data-v-d3f0944f"]]), xi = class {
4707
+ }), [["__scopeId", "data-v-d3f0944f"]]), Ci = class {
4697
4708
  log;
4698
4709
  debug = !1;
4699
4710
  container = null;
@@ -4815,26 +4826,26 @@ var ai = {
4815
4826
  };
4816
4827
  }
4817
4828
  };
4818
- R([t], xi.prototype, "setPaymentInfo", null), R([t], xi.prototype, "cleanUp", null);
4829
+ R([t], Ci.prototype, "setPaymentInfo", null), R([t], Ci.prototype, "cleanUp", null);
4819
4830
  // src/sdk/processors/paymentMethodProcessor.ts
4820
- var { hideSpinner: Si, showSpinner: Ci } = Re(), wi = {
4831
+ var { hideSpinner: wi, showSpinner: Ti } = Re(), Ei = {
4821
4832
  CUSTOMER_INFO: "CUSTOMER_INFO",
4822
4833
  PAYMENT_METHODS_INFO: "PAYMENT_METHODS_INFO",
4823
4834
  TOKENISE: "TOKENISE"
4824
- }, Ti = (e, t) => ({
4825
- [wi.CUSTOMER_INFO]: {
4835
+ }, Di = (e, t) => ({
4836
+ [Ei.CUSTOMER_INFO]: {
4826
4837
  url: e + "/customer/" + t,
4827
4838
  method: "GET"
4828
4839
  },
4829
- [wi.PAYMENT_METHODS_INFO]: {
4840
+ [Ei.PAYMENT_METHODS_INFO]: {
4830
4841
  url: e + "/customer/" + t + "/payment_method",
4831
4842
  method: "GET"
4832
4843
  },
4833
- [wi.TOKENISE]: {
4844
+ [Ei.TOKENISE]: {
4834
4845
  url: e + "/token/payment_method",
4835
4846
  method: "POST"
4836
4847
  }
4837
- }), Ei = class extends xi {
4848
+ }), Oi = class extends Ci {
4838
4849
  cssUrl = "";
4839
4850
  networkTokenProviders = [];
4840
4851
  validationStatusChangeCallback = null;
@@ -4859,7 +4870,7 @@ var { hideSpinner: Si, showSpinner: Ci } = Re(), wi = {
4859
4870
  this.log("[addPaymentMethods], paymentMethods", t);
4860
4871
  let s = k({
4861
4872
  el: this.container,
4862
- component: bi,
4873
+ component: Si,
4863
4874
  props: {
4864
4875
  el: e,
4865
4876
  log: this.log,
@@ -4902,7 +4913,7 @@ var { hideSpinner: Si, showSpinner: Ci } = Re(), wi = {
4902
4913
  }))
4903
4914
  },
4904
4915
  on: { submit: o(this, "[PaymentMethods]: submit", (t) => {
4905
- this.log("[PaymentMethods]: submit", t), t?.paymentMethodId && (Ci(), setTimeout(() => {
4916
+ this.log("[PaymentMethods]: submit", t), t?.paymentMethodId && (Ti(), setTimeout(() => {
4906
4917
  this.onSubmit(e, n, r, i, t);
4907
4918
  }, 500));
4908
4919
  }) }
@@ -4924,7 +4935,7 @@ var { hideSpinner: Si, showSpinner: Ci } = Re(), wi = {
4924
4935
  authenticationData: a
4925
4936
  });
4926
4937
  let s = o(this, "[PaymentMethodProcessor][tokenise], success", (t, n) => {
4927
- this.log("[PaymentMethodProcessor][tokenise], success", t, n), Si();
4938
+ this.log("[PaymentMethodProcessor][tokenise], success", t, n), wi();
4928
4939
  let r = JSON.parse(n), i = { token: r.tokenId };
4929
4940
  r.card && (i.cardDetails = {
4930
4941
  bin: r.card.cardIin,
@@ -4941,7 +4952,7 @@ var { hideSpinner: Si, showSpinner: Ci } = Re(), wi = {
4941
4952
  cardType: r.card.iinData.cardType || ""
4942
4953
  }), this.successCallback?.(i), it(e, this.getSuccessMessage());
4943
4954
  }), c = o(this, "[PaymentMethodProcessor][tokenise], failure", (e, n) => {
4944
- this.log("[PaymentMethodProcessor][tokenise], failure", e, n), Si();
4955
+ this.log("[PaymentMethodProcessor][tokenise], failure", e, n), wi();
4945
4956
  let r = JSON.parse(n);
4946
4957
  this.failureCallback?.({ error: r.message }), this.sendError(t, r.message);
4947
4958
  }), l = {
@@ -4961,7 +4972,7 @@ var { hideSpinner: Si, showSpinner: Ci } = Re(), wi = {
4961
4972
  threeDSServerTransID: i.threeDSServerTransID,
4962
4973
  ...this.createBaseApiRequest()
4963
4974
  };
4964
- this.httpInvoker?.invoke(Ti(this.apiUrl)[wi.TOKENISE].url, Ti(this.apiUrl)[wi.TOKENISE].method, JSON.stringify(l), s, c);
4975
+ this.httpInvoker?.invoke(Di(this.apiUrl)[Ei.TOKENISE].url, Di(this.apiUrl)[Ei.TOKENISE].method, JSON.stringify(l), s, c);
4965
4976
  }
4966
4977
  getCustomerData(e, t, n) {
4967
4978
  let r = o(this, "[getCustomerData], success", (e, n) => {
@@ -4969,7 +4980,7 @@ var { hideSpinner: Si, showSpinner: Ci } = Re(), wi = {
4969
4980
  }), i = o(this, "[getCustomerData], failure", (e, t) => {
4970
4981
  this.log("[getCustomerData], failure", e, t), n(JSON.parse(t));
4971
4982
  });
4972
- this.httpInvoker?.invoke(Ti(this.apiUrl, e)[wi.CUSTOMER_INFO].url, Ti(this.apiUrl, e)[wi.CUSTOMER_INFO].method, {}, r, i);
4983
+ this.httpInvoker?.invoke(Di(this.apiUrl, e)[Ei.CUSTOMER_INFO].url, Di(this.apiUrl, e)[Ei.CUSTOMER_INFO].method, {}, r, i);
4973
4984
  }
4974
4985
  getPaymentMethodsInfo(e, t, n) {
4975
4986
  let r = o(this, "[getPaymentMethodsInfo], success", (e, n) => {
@@ -4977,7 +4988,7 @@ var { hideSpinner: Si, showSpinner: Ci } = Re(), wi = {
4977
4988
  }), i = o(this, "[getPaymentMethodsInfo], failure", (e, t) => {
4978
4989
  this.log("[getPaymentMethodsInfo], failure", e, t), n(JSON.parse(t));
4979
4990
  });
4980
- this.httpInvoker?.invoke(Ti(this.apiUrl, e)[wi.PAYMENT_METHODS_INFO].url, Ti(this.apiUrl, e)[wi.PAYMENT_METHODS_INFO].method, {}, r, i);
4991
+ this.httpInvoker?.invoke(Di(this.apiUrl, e)[Ei.PAYMENT_METHODS_INFO].url, Di(this.apiUrl, e)[Ei.PAYMENT_METHODS_INFO].method, {}, r, i);
4981
4992
  }
4982
4993
  onSubmit(e, t, n, r, i) {
4983
4994
  if (!i?.paymentMethodId) {
@@ -4986,11 +4997,11 @@ var { hideSpinner: Si, showSpinner: Ci } = Re(), wi = {
4986
4997
  }
4987
4998
  let a = i.paymentMethodId;
4988
4999
  this.fraudProcessor?.setPaymentReference({ paymentMethodId: a }), Xt(this.fraudProcessor, this.fraudManageOrder, e, {
4989
- onShow: Si,
5000
+ onShow: wi,
4990
5001
  onProgress: this.threeDsProgressCallback,
4991
5002
  log: this.log
4992
5003
  }).then(o(this, "[PaymentMethodProcessor][fraudGate]", (o) => {
4993
- "error" in o ? (Si(), L(e, o.error), this.failureCallback?.({
5004
+ "error" in o ? (wi(), L(e, o.error), this.failureCallback?.({
4994
5005
  error: o.error,
4995
5006
  ...o.reason && { errorDetails: { reason: o.reason } }
4996
5007
  }), this.sendError(a, o.reason || o.error)) : this.onFraudGatePassed(e, t, n, o, r, i);
@@ -5012,7 +5023,7 @@ var { hideSpinner: Si, showSpinner: Ci } = Re(), wi = {
5012
5023
  c.invoke(this.amount, this.currency, o(this, "[sdk][paymentMethodProcessor], token authentication success", (i) => {
5013
5024
  this.log("[sdk][paymentMethodProcessor], token authentication success"), this.tokenise(e, a.paymentMethodId, t, n, r, i.assuranceData?.verificationData?.[0]);
5014
5025
  }), o(this, "[sdk][paymentMethodProcessor], token authentication error", (e) => {
5015
- Si(), this.log("[sdk][paymentMethodProcessor], token authentication error", e), this.failureCallback?.({ error: "Token Authentication Error" });
5026
+ wi(), this.log("[sdk][paymentMethodProcessor], token authentication error", e), this.failureCallback?.({ error: "Token Authentication Error" });
5016
5027
  }));
5017
5028
  }
5018
5029
  }
@@ -5048,12 +5059,12 @@ var { hideSpinner: Si, showSpinner: Ci } = Re(), wi = {
5048
5059
  }
5049
5060
  }
5050
5061
  messageHandler(e) {
5051
- e?.data?.status && e.data.status === "card-form-validation-status-change" && (this.log(`[sdk][paymentMethodProcessor]: message "${e.data.status}" received`, e.data), Si(), this.validationStatusChangeCallback?.(e.data.message?.status, e.data.message?.message));
5062
+ e?.data?.status && e.data.status === "card-form-validation-status-change" && (this.log(`[sdk][paymentMethodProcessor]: message "${e.data.status}" received`, e.data), wi(), this.validationStatusChangeCallback?.(e.data.message?.status, e.data.message?.message));
5052
5063
  }
5053
5064
  };
5054
- R([t], Ei.prototype, "addPaymentMethods", null), R([t], Ei.prototype, "tokenise", null), R([t], Ei.prototype, "getCustomerData", null), R([t], Ei.prototype, "getPaymentMethodsInfo", null), R([t], Ei.prototype, "onSubmit", null), R([t], Ei.prototype, "onFraudGatePassed", null), R([t], Ei.prototype, "sendError", null), R([t], Ei.prototype, "initTokenAuthenticationProcessor", null), R([t], Ei.prototype, "messageHandler", null);
5065
+ R([t], Oi.prototype, "addPaymentMethods", null), R([t], Oi.prototype, "tokenise", null), R([t], Oi.prototype, "getCustomerData", null), R([t], Oi.prototype, "getPaymentMethodsInfo", null), R([t], Oi.prototype, "onSubmit", null), R([t], Oi.prototype, "onFraudGatePassed", null), R([t], Oi.prototype, "sendError", null), R([t], Oi.prototype, "initTokenAuthenticationProcessor", null), R([t], Oi.prototype, "messageHandler", null);
5055
5066
  // src/sdk/utils/moduleLoader.ts
5056
- var Di = {
5067
+ var ki = {
5057
5068
  cxpay: () => import("./cxpay-CYbHYLG3.js"),
5058
5069
  default: () => import("./default-zi2wr9FU.js"),
5059
5070
  ecentric: () => import("./ecentric-BKZbgUUA.js"),
@@ -5067,27 +5078,27 @@ var Di = {
5067
5078
  payabli: () => import("./payabli-8yAmXU9j.js"),
5068
5079
  payglocal: () => import("./payglocal-4P2oZpaS.js"),
5069
5080
  skybank: () => import("./skybank-Czn5pUK_.js")
5070
- }, Oi = { forter: () => import("./forter-DXQjpKVH.js") };
5071
- async function ki(e) {
5072
- let t = Di[e.toLowerCase()];
5081
+ }, Ai = { forter: () => import("./forter-DXQjpKVH.js") };
5082
+ async function ji(e) {
5083
+ let t = ki[e.toLowerCase()];
5073
5084
  if (!t) throw Error(`Module ${e} not found`);
5074
5085
  return await t();
5075
5086
  }
5076
- async function Ai(e) {
5077
- let t = Oi[e.toLowerCase()];
5087
+ async function Mi(e) {
5088
+ let t = Ai[e.toLowerCase()];
5078
5089
  if (!t) throw Error(`Module ${e} not found`);
5079
5090
  return await t();
5080
5091
  }
5081
5092
  // src/sdk/payfurl.ts
5082
- var { hideSpinner: ji } = Re(), Mi = {
5093
+ var { hideSpinner: Ni } = Re(), Pi = {
5083
5094
  PROVIDER_INFO: "PROVIDER_INFO",
5084
5095
  PROVIDERS_INFO: "PROVIDERS_INFO"
5085
- }, Ni = (e, t, n) => ({
5086
- [Mi.PROVIDERS_INFO]: {
5096
+ }, Fi = (e, t, n) => ({
5097
+ [Pi.PROVIDERS_INFO]: {
5087
5098
  url: e + "/info/providers/",
5088
5099
  method: "GET"
5089
5100
  },
5090
- [Mi.PROVIDER_INFO]: {
5101
+ [Pi.PROVIDER_INFO]: {
5091
5102
  url: e + (n ? "/info/providers/token/" + n : "/info/providers/" + t),
5092
5103
  method: "GET"
5093
5104
  }
@@ -5279,7 +5290,7 @@ var { hideSpinner: ji } = Re(), Mi = {
5279
5290
  }
5280
5291
  initApplePayProcessor(e) {
5281
5292
  if (this.log("[initApplePayProcessor]", { container: e }), this.applePayProcessor) return this.applePayProcessor;
5282
- let t = new Or(this.log.bind(this), {
5293
+ let t = new Ar(this.log.bind(this), {
5283
5294
  debug: this.debug,
5284
5295
  environment: this.environment,
5285
5296
  publicKey: this.publicKey,
@@ -5328,7 +5339,7 @@ var { hideSpinner: ji } = Re(), Mi = {
5328
5339
  }), this.payToProcessor.setOnValidate(this.userOnValidate)), this.payToProcessor;
5329
5340
  }
5330
5341
  initPaymentMethodProcessor(e) {
5331
- return this.log("[initPaymentMethodProcessor]", { container: e }), this.paymentMethodProcessor || (this.paymentMethodProcessor = new Ei(this.log.bind(this), {
5342
+ return this.log("[initPaymentMethodProcessor]", { container: e }), this.paymentMethodProcessor || (this.paymentMethodProcessor = new Oi(this.log.bind(this), {
5332
5343
  debug: this.debug,
5333
5344
  environment: this.environment,
5334
5345
  publicKey: this.publicKey,
@@ -5702,6 +5713,7 @@ var { hideSpinner: ji } = Re(), Mi = {
5702
5713
  supportedNetworks: a?.applePayOptions?.supportedNetworks || b?.supportedNetworks,
5703
5714
  supportedCountries: a?.applePayOptions?.supportedCountries || b?.supportedCountries,
5704
5715
  applePayVersion: a?.applePayOptions?.applePayVersion || b?.applePayVersion,
5716
+ buttonOptions: a?.applePayOptions?.buttonOptions,
5705
5717
  clientParameters: o.clientParameters,
5706
5718
  metadata: W(a?.metadata)
5707
5719
  };
@@ -5830,7 +5842,7 @@ var { hideSpinner: ji } = Re(), Mi = {
5830
5842
  }
5831
5843
  }), d && l(X.applepay) && i.push({
5832
5844
  title: "Apple Pay",
5833
- icon: kr,
5845
+ icon: jr,
5834
5846
  render: (e) => {
5835
5847
  this.addApplePay(e.id, n, r, te.providerId || "", te);
5836
5848
  },
@@ -6016,6 +6028,7 @@ var { hideSpinner: ji } = Re(), Mi = {
6016
6028
  supportedNetworks: i?.supportedNetworks || n.supportedNetworks,
6017
6029
  supportedCountries: i?.supportedCountries || n.supportedCountries,
6018
6030
  applePayVersion: i?.applePayVersion || n.applePayVersion,
6031
+ buttonOptions: i?.buttonOptions,
6019
6032
  metadata: W(i?.metadata)
6020
6033
  }, e.clientParameters || n.clientParameters);
6021
6034
  }));
@@ -6095,7 +6108,7 @@ var { hideSpinner: ji } = Re(), Mi = {
6095
6108
  cardholder: r,
6096
6109
  ccv: l
6097
6110
  }), this.threeDsProcessor?.threeDSInvoke(d, !!u?.requireChallenge, (e) => {
6098
- ji(), this.log("[threeDSInvoke], postAuthData", e), this.userOnSuccess?.({ threeDSServerTransID: e.threeDSServerTransID });
6111
+ Ni(), this.log("[threeDSInvoke], postAuthData", e), this.userOnSuccess?.({ threeDSServerTransID: e.threeDSServerTransID });
6099
6112
  });
6100
6113
  }), o(this, "[addThreeDsWithFullParameters][add3DsProcessor], onerror", () => {
6101
6114
  this.log(`Cannot load 3DS provider (${e.threeDsProviders[0].providerType})`), this.userOnSuccess?.({});
@@ -6143,7 +6156,7 @@ var { hideSpinner: ji } = Re(), Mi = {
6143
6156
  cardholder: i,
6144
6157
  ccv: a
6145
6158
  }), this.threeDsProcessor?.threeDSInvoke(e, !!o?.requireChallenge, (e) => {
6146
- ji(), this.log("[threeDSInvoke], postAuthData", e), t.threeDsProviderType === "payglocal" ? this.userOnSuccess?.({ threeDSServerTransID: e.threeDSServerTransID }) : s(e.threeDSServerTransID);
6159
+ Ni(), this.log("[threeDSInvoke], postAuthData", e), t.threeDsProviderType === "payglocal" ? this.userOnSuccess?.({ threeDSServerTransID: e.threeDSServerTransID }) : s(e.threeDSServerTransID);
6147
6160
  })) : (this.log("threeDsProcessor NOT FOUND"), s());
6148
6161
  }
6149
6162
  tokeniseCard(e, t, n, r, i, s, c, l) {
@@ -6188,7 +6201,7 @@ var { hideSpinner: ji } = Re(), Mi = {
6188
6201
  }
6189
6202
  threeDsWithToken(e, t, n, r) {
6190
6203
  this.threeDsProcessor ? (this.threeDsProcessor?.setEmail(t), this.threeDsProcessor?.setTokenId(e), this.threeDsProcessor?.threeDSInvoke(null, !!r?.requireChallenge, (e) => {
6191
- ji(), this.log("[threeDSInvoke], postAuthData", e), this.userOnSuccess?.({ threeDSServerTransID: e.threeDSServerTransID }), this.threeDsProcessor?.updateTokenExternal3dsData(e.externalThreeDsData);
6204
+ Ni(), this.log("[threeDSInvoke], postAuthData", e), this.userOnSuccess?.({ threeDSServerTransID: e.threeDSServerTransID }), this.threeDsProcessor?.updateTokenExternal3dsData(e.externalThreeDsData);
6192
6205
  }), this.threeDsProcessor?.setPaymentInfo({
6193
6206
  cardNumber: "",
6194
6207
  expiryDate: "",
@@ -6198,11 +6211,11 @@ var { hideSpinner: ji } = Re(), Mi = {
6198
6211
  }
6199
6212
  runFraudGate(e, t) {
6200
6213
  Xt(this.cardFraudProcessor, this.fraudManageOrder, e, {
6201
- onShow: ji,
6214
+ onShow: Ni,
6202
6215
  onProgress: this.threeDsProgress.bind(this),
6203
6216
  log: this.log.bind(this)
6204
6217
  }).then(o(this, "[runFraudGate]", (n) => {
6205
- "error" in n ? (ji(), this.log("[runFraudGate], failure", n), this.showErrorMessage(e, n.error), this.userOnFailure?.({
6218
+ "error" in n ? (Ni(), this.log("[runFraudGate], failure", n), this.showErrorMessage(e, n.error), this.userOnFailure?.({
6206
6219
  error: n.error,
6207
6220
  ...n.reason && { errorDetails: { reason: n.reason } }
6208
6221
  })) : t(n.fraudCheckResult, n.threeDSServerTransID);
@@ -6224,7 +6237,7 @@ var { hideSpinner: ji } = Re(), Mi = {
6224
6237
  let r = JSON.parse(t);
6225
6238
  this.log("[getPaymentOptions], success", r), this.paymentOptions[i] = r, n?.(r);
6226
6239
  });
6227
- this.httpInvoker?.invoke(Ni(this.config.apiUrl)[Mi.PROVIDERS_INFO].url + `?amount=${e}&currency=${t}`, Ni(this.config.apiUrl)[Mi.PROVIDERS_INFO].method, {}, s, a);
6240
+ this.httpInvoker?.invoke(Fi(this.config.apiUrl)[Pi.PROVIDERS_INFO].url + `?amount=${e}&currency=${t}`, Fi(this.config.apiUrl)[Pi.PROVIDERS_INFO].method, {}, s, a);
6228
6241
  }
6229
6242
  getProviderInfo(e, t, n, r, i, a) {
6230
6243
  this.log("[getProviderInfo], request", {
@@ -6245,7 +6258,7 @@ var { hideSpinner: ji } = Re(), Mi = {
6245
6258
  let n = JSON.parse(t);
6246
6259
  this.log("[getProviderInfo], data", n), this.paymentOptions[s] = n, i(n);
6247
6260
  });
6248
- this.httpInvoker?.invoke(Ni(this.config.apiUrl, e, r)[Mi.PROVIDER_INFO].url + `?amount=${t}&currency=${n}`, Ni(this.config.apiUrl, e, r)[Mi.PROVIDER_INFO].method, {}, l, c);
6261
+ this.httpInvoker?.invoke(Fi(this.config.apiUrl, e, r)[Pi.PROVIDER_INFO].url + `?amount=${t}&currency=${n}`, Fi(this.config.apiUrl, e, r)[Pi.PROVIDER_INFO].method, {}, l, c);
6249
6262
  }
6250
6263
  setAmount(e) {
6251
6264
  return Number(e) === Number(this.amount) || Number(e) < 0 || (this.log("[setAmount]", Number(e)), this.amount = Number(e), this.cardProcessor?.setAmount(this.amount), this.threeDsProcessor?.setAmount(this.amount), this.secondaryThreeDsProcessor?.setAmount(this.amount), this.paypalProcessor?.setAmount(this.amount), this.fraudProcessor?.setAmount(this.amount), this.googlePayProcessor?.setAmount(this.amount), this.applePayProcessor?.setAmount(this.amount), this.paymentMethodProcessor?.setAmount(this.amount), window.postMessage({
@@ -6402,7 +6415,7 @@ var { hideSpinner: ji } = Re(), Mi = {
6402
6415
  billingAddress: this.billingAddress,
6403
6416
  customer: this.customer,
6404
6417
  order: this.order
6405
- }), s?.()) : Ai(t).then(o(this, "[addFraudProcessor], onload", (o) => {
6418
+ }), s?.()) : Mi(t).then(o(this, "[addFraudProcessor], onload", (o) => {
6406
6419
  this.log(`Loading ${t}...`, o);
6407
6420
  let c = o.default(r);
6408
6421
  c?.getFraudCheckData && (this.fraudProcessor = new Zn(this.log.bind(this), {
@@ -6434,7 +6447,7 @@ var { hideSpinner: ji } = Re(), Mi = {
6434
6447
  } : t.threeDsProviders?.find((e) => e.providerId === t.required3dsProvider) || t.threeDsProviders?.[0];
6435
6448
  }
6436
6449
  add3DsProcessor(e, t, n, r, a, s, c) {
6437
- this.log("[add3DsProcessor]", t, n), ki(n).then(o(this, "[add3DsProcessor], onload", (o) => {
6450
+ this.log("[add3DsProcessor]", t, n), ji(n).then(o(this, "[add3DsProcessor], onload", (o) => {
6438
6451
  this.log(`Loading ${n}...`, o);
6439
6452
  let c = o.default(this.log.bind(this), e, {
6440
6453
  environment: this.environment,
@@ -6470,7 +6483,7 @@ var { hideSpinner: ji } = Re(), Mi = {
6470
6483
  }));
6471
6484
  }
6472
6485
  addSecondary3DsProcessor(e, t, n, r, a, s, c) {
6473
- this.log("[addSecondary3DsProcessor]", t, n), ki(n).then(o(this, "[addSecondary3DsProcessor], onload", (o) => {
6486
+ this.log("[addSecondary3DsProcessor]", t, n), ji(n).then(o(this, "[addSecondary3DsProcessor], onload", (o) => {
6474
6487
  this.log(`Loading ${n}...`, o);
6475
6488
  let c = o.default(this.log.bind(this), e, {
6476
6489
  environment: this.environment,
@@ -6552,5 +6565,5 @@ var { hideSpinner: ji } = Re(), Mi = {
6552
6565
  };
6553
6566
  R([t], $.prototype, "init", null), R([t], $.prototype, "execute", null), R([t], $.prototype, "messageHandler", null), R([t], $.prototype, "initCardProcessor", null), R([t], $.prototype, "initClickToPayProcessor", null), R([t], $.prototype, "initPaypalProcessor", null), R([t], $.prototype, "initCheckoutProcessor", null), R([t], $.prototype, "initGooglePayProcessor", null), R([t], $.prototype, "initApplePayProcessor", null), R([t], $.prototype, "initPayToProcessor", null), R([t], $.prototype, "loadCss", null), R([t], $.prototype, "_cleanUp", null), R([t], $.prototype, "getForm", null), R([t], $.prototype, "getSubmit", null), R([t], $.prototype, "getInput", null), R([t], $.prototype, "_initForm", null), R([t], $.prototype, "_setToken", null), R([t], $.prototype, "getSubmitFormHandler", null), R([t], $.prototype, "getDestroyDropIn", null), R([t], $.prototype, "setDestroyDropIn", null), R([t], $.prototype, "addCard", null), R([t], $.prototype, "addCardLeastCost", null), R([t], $.prototype, "addDropIn", null), R([t], $.prototype, "addPaypal", null), R([t], $.prototype, "addPayTo", null), R([t], $.prototype, "addGooglePay", null), R([t], $.prototype, "addApplePay", null), R([t], $.prototype, "addCheckout", null), R([t], $.prototype, "addUpi", null), R([t], $.prototype, "addThreeDsWithFullParameters", null), R([t], $.prototype, "tokeniseWith3Ds", null), R([t], $.prototype, "threeDsOrTokenise", null), R([t], $.prototype, "tokeniseCard", null), R([t], $.prototype, "addThreeDsWithToken", null), R([t], $.prototype, "threeDsWithToken", null), R([t], $.prototype, "getPaymentOptions", null), R([t], $.prototype, "getProviderInfo", null), R([t], $.prototype, "setAmount", null), R([t], $.prototype, "setCurrency", null), R([t], $.prototype, "onSuccess", null), R([t], $.prototype, "onFailure", null), R([t], $.prototype, "onLoaded", null), R([t], $.prototype, "onPaymentMethodStatus", null), R([t], $.prototype, "onThreeDsProgress", null), R([t], $.prototype, "onValidationStatusChange", null), R([t], $.prototype, "onValidate", null), R([t], $.prototype, "showErrorMessage", null), R([t], $.prototype, "setBillingAddress", null), R([t], $.prototype, "setCustomerInfo", null), R([t], $.prototype, "setOrderInfo", null), R([t], $.prototype, "setGeolocation", null), R([t], $.prototype, "checkGeolocation", null), R([t], $.prototype, "initProcessors", null), R([t], $.prototype, "addFraudProcessor", null), R([t], $.prototype, "resolveThreeDsProvider", null), R([t], $.prototype, "add3DsProcessor", null), R([t], $.prototype, "addSecondary3DsProcessor", null), R([t], $.prototype, "preloadClickToPay", null), R([t], $.prototype, "addSavedPaymentMethods", null);
6554
6567
  // src/sdk/main.ts
6555
- var Pi = new $();
6556
- export { Pi as default };
6568
+ var Ii = new $();
6569
+ export { Ii as default };