@ranty/ranty-sdk 2.19.0-beta.0 → 2.19.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -916,7 +916,7 @@ function oe(t) {
916
916
  */
917
917
  var Vf;
918
918
  ((Vf = window.HTMLSlotElement) === null || Vf === void 0 ? void 0 : Vf.prototype.assignedElements) != null;
919
- const aE = "@ranty/ranty-sdk", lE = "2.19.0-beta.0", dE = "Ranty sdk", cE = "dist/index.js", AE = {
919
+ const aE = "@ranty/ranty-sdk", lE = "2.19.0-beta.2", dE = "Ranty sdk", cE = "dist/index.js", AE = {
920
920
  ".": "./dist/index.js"
921
921
  }, uE = "types/index.d.ts", pE = [
922
922
  "dist",
@@ -5744,7 +5744,7 @@ function r7(t, e) {
5744
5744
  const sm = (t) => we(void 0, null, function* () {
5745
5745
  return (yield Dt.instanceWithRetries.get(`/sdk/payments/${t}`, {})).data.response;
5746
5746
  });
5747
- var it = /* @__PURE__ */ ((t) => (t.LOADING = "scof-loading", t.MAIN = "scof-main", t.HOLDER_FORM = "scof-holder-form", t.CARD_FORM = "scof-card-form", t.CARD_LIST = "scof-cards-list", t.PLANS = "scof-plans", t.SUMMARY = "scof-summary", t.STATUS = "scof-status", t.QR = "qr-component", t))(it || {}), It = /* @__PURE__ */ ((t) => (t.LOADING = "manual-input-loading", t.MANUAL_HOME = "payment-manual-home", t.HOLDER_FORM = "payment-manual-holder-form", t.CARD_FORM = "payment-manual-card-form", t.PLANS = "payment-manual-plans", t.SUMMARY = "payment-manual-summary", t.STATUS = "payment-manual-status", t.QR = "qr-component", t.MANUAL_INPUT = "manual-input", t.INVOICE = "payment-manual-invoice", t))(It || {}), Ft = /* @__PURE__ */ ((t) => (t.LOADING = "a2a-loading", t.MANUAL_HOME = "a2a-home", t.HOLDER_FORM = "a2a-holder-form", t.CARD_FORM = "a2a-card-form", t.PLANS = "a2a-plans", t.SUMMARY = "a2a-summary", t.ACCOUNT_LIST = "a2a-account-list", t.STATUS = "a2a-status", t.QR = "qr-component", t.MAIN = "a2a-main", t.INVOICE = "a2a-invoice", t))(Ft || {}), td = /* @__PURE__ */ ((t) => (t.LOADING = "a2a-feedback-loading", t.ACCOUNT_DETAILS = "a2a-feedback-account-details", t.STATUS = "a2a-feedback-status", t.HOME = "a2a-feedback-home", t))(td || {});
5747
+ var nt = /* @__PURE__ */ ((t) => (t.LOADING = "scof-loading", t.MAIN = "scof-main", t.HOLDER_FORM = "scof-holder-form", t.CARD_FORM = "scof-card-form", t.CARD_LIST = "scof-cards-list", t.PLANS = "scof-plans", t.SUMMARY = "scof-summary", t.STATUS = "scof-status", t.QR = "qr-component", t))(nt || {}), It = /* @__PURE__ */ ((t) => (t.LOADING = "manual-input-loading", t.MANUAL_HOME = "payment-manual-home", t.HOLDER_FORM = "payment-manual-holder-form", t.CARD_FORM = "payment-manual-card-form", t.PLANS = "payment-manual-plans", t.SUMMARY = "payment-manual-summary", t.STATUS = "payment-manual-status", t.QR = "qr-component", t.MANUAL_INPUT = "manual-input", t.INVOICE = "payment-manual-invoice", t))(It || {}), Ft = /* @__PURE__ */ ((t) => (t.LOADING = "a2a-loading", t.MANUAL_HOME = "a2a-home", t.HOLDER_FORM = "a2a-holder-form", t.CARD_FORM = "a2a-card-form", t.PLANS = "a2a-plans", t.SUMMARY = "a2a-summary", t.ACCOUNT_LIST = "a2a-account-list", t.STATUS = "a2a-status", t.QR = "qr-component", t.MAIN = "a2a-main", t.INVOICE = "a2a-invoice", t))(Ft || {}), td = /* @__PURE__ */ ((t) => (t.LOADING = "a2a-feedback-loading", t.ACCOUNT_DETAILS = "a2a-feedback-account-details", t.STATUS = "a2a-feedback-status", t.HOME = "a2a-feedback-home", t))(td || {});
5748
5748
  const m5 = {
5749
5749
  "scof-loading": P`<scof-loading></scof-loading>`,
5750
5750
  "scof-main": P`<scof-main></scof-main>`,
@@ -5756,11 +5756,12 @@ const m5 = {
5756
5756
  "scof-cards-list": P`<scof-cards-list></scof-cards-list>`,
5757
5757
  "qr-component": P`<qr-component></qr-component>`
5758
5758
  }, s7 = {
5759
- [it.HOLDER_FORM]: "Ingresá los datos de la persona titular",
5760
- [it.CARD_FORM]: "Ingresá los datos de la Tarjeta",
5761
- [it.CARD_LIST]: "Elegí la tarjeta",
5762
- [it.PLANS]: "Elegí la cantidad de cuotas",
5763
- [it.SUMMARY]: "Resumen del pago"
5759
+ [nt.MAIN]: "Medios de pago",
5760
+ [nt.HOLDER_FORM]: "Ingresá los datos de la persona titular",
5761
+ [nt.CARD_FORM]: "Ingresá los datos de la Tarjeta",
5762
+ [nt.CARD_LIST]: "Elegí la tarjeta",
5763
+ [nt.PLANS]: "Elegí la cantidad de cuotas",
5764
+ [nt.SUMMARY]: "Resumen del pago"
5764
5765
  }, f5 = {
5765
5766
  "manual-input-loading": P`<manual-input-loading></manual-input-loading>`,
5766
5767
  "manual-input": P`<manual-input></manual-input>`,
@@ -9338,10 +9339,10 @@ function fU(t, e, r, s) {
9338
9339
  }
9339
9340
  var Pu = qF(fU);
9340
9341
  hI(ul(), "DD_LOGS", Pu);
9341
- const yU = "@ranty/ranty-sdk", vU = "2.19.0-beta.0", bU = 2, wU = !0, xU = {
9342
+ const yU = "@ranty/ranty-sdk", vU = "2.19.0-beta.2", bU = 2, wU = !0, xU = {
9342
9343
  "": {
9343
9344
  name: "@ranty/ranty-sdk",
9344
- version: "2.19.0-beta.0",
9345
+ version: "2.19.0-beta.2",
9345
9346
  license: "ISC",
9346
9347
  dependencies: {
9347
9348
  "@datadog/browser-logs": "^5.7.0",
@@ -60919,7 +60920,7 @@ const ji = "scof-context", zO = "scof-holder-context", fb = "scof-props", Tp = "
60919
60920
  let to = class t extends qe {
60920
60921
  constructor() {
60921
60922
  super(...arguments), this.paymentRequestId = "", this.publicKey = "", this.mode = "card_on_file", this.environment = "staging", this.stateScof = {
60922
- page: it.LOADING,
60923
+ page: nt.LOADING,
60923
60924
  statePaymentRequest: null,
60924
60925
  binData: null,
60925
60926
  installment: null,
@@ -61025,7 +61026,7 @@ let bi = class t extends qe {
61025
61026
  contextObject: {
61026
61027
  payment_request_id: this.stateScofProps.paymentRequestId
61027
61028
  }
61028
- }), this.stateScof.isExtendedWs && (yield this.extendedWs()), !(Cr.isPollingRunning() && !Ot.getEndPaymentTime()) && Ot.wsConnectionAttemptCount() > 0 && this.createEvent("button-pushed", it.MAIN);
61029
+ }), this.stateScof.isExtendedWs && (yield this.extendedWs()), !(Cr.isPollingRunning() && !Ot.getEndPaymentTime()) && Ot.wsConnectionAttemptCount() > 0 && this.createEvent("button-pushed", nt.MAIN);
61029
61030
  });
61030
61031
  }
61031
61032
  getPaymentRequest() {
@@ -61042,15 +61043,15 @@ let bi = class t extends qe {
61042
61043
  paymentRequest: r
61043
61044
  }
61044
61045
  }), !d7(r)) {
61045
- this.stateStatus.title = "Payment type inválido", this.stateStatus.subtitle = "El tipo de pago no es válido para esta operación.", this.stateStatus.icon = "https://ranty-sdk-js.naranjax.com/images/error.svg", this.stateStatus.returnButton = !1, this.stateStatus.status = "error", this.createEvent("button-pushed", it.STATUS);
61046
+ this.stateStatus.title = "Payment type inválido", this.stateStatus.subtitle = "El tipo de pago no es válido para esta operación.", this.stateStatus.icon = "https://ranty-sdk-js.naranjax.com/images/error.svg", this.stateStatus.returnButton = !1, this.stateStatus.status = "error", this.createEvent("button-pushed", nt.STATUS);
61046
61047
  return;
61047
61048
  }
61048
61049
  const o = yield l7(r);
61049
61050
  if (o && o.error) {
61050
- this.stateStatus.title = o.message.title, this.stateStatus.subtitle = o.message.subtitle, this.stateStatus.icon = o.message.icon, this.stateStatus.returnButton = o.message.returnButton, this.stateStatus.status = o.status, this.createEvent("button-pushed", it.STATUS);
61051
+ this.stateStatus.title = o.message.title, this.stateStatus.subtitle = o.message.subtitle, this.stateStatus.icon = o.message.icon, this.stateStatus.returnButton = o.message.returnButton, this.stateStatus.status = o.status, this.createEvent("button-pushed", nt.STATUS);
61051
61052
  return;
61052
61053
  }
61053
- r.payment_type !== qn.MIT && (yield this.validateCircuitBreaker(), yield this.getPromotions()), this.stateScof.statePaymentRequest = r, this.stateScofProps.publicKeyScof = e.public_key.replace(/\r\n/g, ""), this.stateScof.cardsAccepted = n, this.stateScof.page = it.MAIN;
61054
+ r.payment_type !== qn.MIT && (yield this.validateCircuitBreaker(), yield this.getPromotions()), this.stateScof.statePaymentRequest = r, this.stateScofProps.publicKeyScof = e.public_key.replace(/\r\n/g, ""), this.stateScof.cardsAccepted = n, this.stateScof.page = nt.MAIN;
61054
61055
  const a = e.user_card_data.map((d) => Bt(dt({}, d), {
61055
61056
  is_allowed: this.stateScof.cardsAccepted.includes(d.card_brand)
61056
61057
  })).sort((d, l) => Number(l.is_allowed) - Number(d.is_allowed));
@@ -61071,7 +61072,7 @@ let bi = class t extends qe {
61071
61072
  }
61072
61073
  },
61073
61074
  e
61074
- ), this.createEvent("button-pushed", it.STATUS);
61075
+ ), this.createEvent("button-pushed", nt.STATUS);
61075
61076
  }
61076
61077
  });
61077
61078
  }
@@ -61116,7 +61117,7 @@ let bi = class t extends qe {
61116
61117
  }
61117
61118
  },
61118
61119
  i
61119
- ), this.createEvent("button-pushed", it.STATUS);
61120
+ ), this.createEvent("button-pushed", nt.STATUS);
61120
61121
  } finally {
61121
61122
  this.stateStatus.isStart = !1;
61122
61123
  }
@@ -61171,11 +61172,11 @@ let bi = class t extends qe {
61171
61172
  }
61172
61173
  },
61173
61174
  s
61174
- ), this.createEvent("button-pushed", it.STATUS);
61175
+ ), this.createEvent("button-pushed", nt.STATUS);
61175
61176
  } finally {
61176
61177
  this.stateScof.isAddCardConsent = !1, this.stateStatus.isStart = !1, Dt.getConfig().VITE_ENV === "sandbox" && setTimeout(() => {
61177
61178
  const s = pd(qn.PAYMENT_LINK);
61178
- this.stateStatus.title = s.title, this.stateStatus.subtitle = s.subtitle, this.stateStatus.icon = s.icon, this.stateStatus.status = s.status, this.stateStatus.name = s.name, this.stateStatus.returnButton = s.returnButton, this.stateStatus.nameReturnButton = s.nameReturnButton, ct(e != null && e.success ? qr.SUCCESS_PROCESSED : qr.FAILURE_PROCESSED, ""), this.createEvent("button-pushed", it.STATUS);
61179
+ this.stateStatus.title = s.title, this.stateStatus.subtitle = s.subtitle, this.stateStatus.icon = s.icon, this.stateStatus.status = s.status, this.stateStatus.name = s.name, this.stateStatus.returnButton = s.returnButton, this.stateStatus.nameReturnButton = s.nameReturnButton, ct(e != null && e.success ? qr.SUCCESS_PROCESSED : qr.FAILURE_PROCESSED, ""), this.createEvent("button-pushed", nt.STATUS);
61179
61180
  }, 2e3);
61180
61181
  }
61181
61182
  });
@@ -61240,7 +61241,7 @@ let bi = class t extends qe {
61240
61241
  }
61241
61242
  redirectByUnknownError() {
61242
61243
  const e = mr.messages.find((r) => r.name === "unknown-error");
61243
- this.stateStatus.title = e.title, this.stateStatus.subtitle = e.subtitle, this.stateStatus.icon = e.icon, this.stateStatus.status = e.status, this.stateStatus.returnButton = e.returnButton, this.createEvent("button-pushed", it.STATUS);
61244
+ this.stateStatus.title = e.title, this.stateStatus.subtitle = e.subtitle, this.stateStatus.icon = e.icon, this.stateStatus.status = e.status, this.stateStatus.returnButton = e.returnButton, this.createEvent("button-pushed", nt.STATUS);
61244
61245
  }
61245
61246
  extendedWs() {
61246
61247
  return we(this, null, function* () {
@@ -61248,10 +61249,10 @@ let bi = class t extends qe {
61248
61249
  const e = yield Jo(this.stateScof.statePaymentRequest.id);
61249
61250
  if (this.stateScof.statePaymentRequest = e.response, e.response.status === qr.SUCCESS_PROCESSED) {
61250
61251
  let r = mr.messages.find((s) => s.status === e.response.status);
61251
- r = pd(e.response.payment_type), ct(r.status, ""), r && (this.stateStatus.title = r.title, this.stateStatus.subtitle = r.subtitle, this.stateStatus.icon = r.icon, this.stateStatus.status = r.status, this.stateStatus.name = r.name, this.stateStatus.returnButton = r.returnButton, this.stateStatus.nameReturnButton = r.nameReturnButton, this.stateScof.isActiveWs = !1, this.stateScof.isExtendedWs = !1, this.createEvent("button-pushed", it.STATUS));
61252
+ r = pd(e.response.payment_type), ct(r.status, ""), r && (this.stateStatus.title = r.title, this.stateStatus.subtitle = r.subtitle, this.stateStatus.icon = r.icon, this.stateStatus.status = r.status, this.stateStatus.name = r.name, this.stateStatus.returnButton = r.returnButton, this.stateStatus.nameReturnButton = r.nameReturnButton, this.stateScof.isActiveWs = !1, this.stateScof.isExtendedWs = !1, this.createEvent("button-pushed", nt.STATUS));
61252
61253
  return;
61253
61254
  }
61254
- this.createEvent("button-pushed", it.MAIN);
61255
+ this.createEvent("button-pushed", nt.MAIN);
61255
61256
  } catch (e) {
61256
61257
  console.log(e), ct("PAYMENT_REQUEST_EXTENDED_WS_ERROR", "Payment request in the extended web socket failed.");
61257
61258
  }
@@ -61495,28 +61496,24 @@ const KO = (t, e = () => {
61495
61496
  return;
61496
61497
  }
61497
61498
  try {
61498
- if (String(a).replace(/\D/g, "").substring(0, 7).length !== 7) {
61499
- o(d);
61500
- return;
61501
- }
61502
- const p = yield $i(t, l);
61499
+ const h = yield $i(t, l);
61503
61500
  if (ge.info("getInstallments", {
61504
61501
  context: Me.CARD_ON_FILE,
61505
61502
  origin_sdk: z3,
61506
61503
  tag: "GET_INSTALLMENT_PLAN_BY_BINES",
61507
61504
  contextObject: {
61508
61505
  payment_request_id: t.id,
61509
- cards: p
61506
+ cards: h
61510
61507
  }
61511
- }), p.plans.code === ok) {
61508
+ }), h.plans.code === ok) {
61512
61509
  o(d, ak);
61513
61510
  return;
61514
61511
  }
61515
- if (((u = (c = p.plans) == null ? void 0 : c.cards) == null ? void 0 : u.length) === 0) {
61512
+ if (((u = (c = h.plans) == null ? void 0 : c.cards) == null ? void 0 : u.length) === 0) {
61516
61513
  o(d);
61517
61514
  return;
61518
61515
  }
61519
- s(p.plans.cards[0]), e(!1), d(!0);
61516
+ s(h.plans.cards[0]), e(!1), d(!0);
61520
61517
  } catch (h) {
61521
61518
  ge.error(
61522
61519
  "getInstallments",
@@ -63396,7 +63393,7 @@ let wi = class extends qe {
63396
63393
  this.isShowToast = !1;
63397
63394
  }, 3e3);
63398
63395
  }), (s = this.shadowRoot) == null || s.addEventListener("button-pushed", (n) => {
63399
- this.stateScof.page = n.detail ? n.detail : it.MAIN, (n.detail === it.QR || n.detail === it.STATUS || n.detail === it.LOADING) && (this.isShowCardPayment = !1), n.detail === it.MAIN && (this.stateScof.isActiveWs || this.webSocket()), (this.stateScof.page === it.PLANS || this.stateScof.page === it.SUMMARY) && this.isShowToast === !0 && setTimeout(() => {
63396
+ this.stateScof.page = n.detail ? n.detail : nt.MAIN, (n.detail === nt.QR || n.detail === nt.STATUS || n.detail === nt.LOADING) && (this.isShowCardPayment = !1), n.detail === nt.MAIN && (this.stateScof.isActiveWs || this.webSocket()), (this.stateScof.page === nt.PLANS || this.stateScof.page === nt.SUMMARY) && this.isShowToast === !0 && setTimeout(() => {
63400
63397
  this.isShowToast = !1;
63401
63398
  }, 3e3), this.requestUpdate(), this.routerState(), this.stateScof.statePaymentRequest && ge.info("connectedCallback", {
63402
63399
  context: Me.CARD_ON_FILE,
@@ -63418,10 +63415,10 @@ let wi = class extends qe {
63418
63415
  return;
63419
63416
  this.statusMessage = s.status, this.stateScof.statePaymentRequest = s, Ot.wsIsRunning() && Ot.cleanup(), Cr.stopPolling("manual");
63420
63417
  const n = this.setMessagePaymentStatus(s);
63421
- n && (this.stateScofStatus.title = n.title, this.stateScofStatus.subtitle = n.subtitle, this.stateScofStatus.icon = n.icon, this.stateScofStatus.status = n.status, this.stateScofStatus.name = n.name, this.stateScofStatus.returnButton = n.returnButton, this.stateScofStatus.nameReturnButton = n.nameReturnButton, this.stateScof.page = it.STATUS, this.setDurationPayment(s), this.requestUpdate(), this.routerState(), this.stateScof.isActiveWs = Ot.wsIsRunning());
63418
+ n && (this.stateScofStatus.title = n.title, this.stateScofStatus.subtitle = n.subtitle, this.stateScofStatus.icon = n.icon, this.stateScofStatus.status = n.status, this.stateScofStatus.name = n.name, this.stateScofStatus.returnButton = n.returnButton, this.stateScofStatus.nameReturnButton = n.nameReturnButton, this.stateScof.page = nt.STATUS, this.setDurationPayment(s), this.requestUpdate(), this.routerState(), this.stateScof.isActiveWs = Ot.wsIsRunning());
63422
63419
  }), Cr.pollingServiceInstance.addEventListener("polling-stopped", (t) => {
63423
63420
  const e = t, r = mr.messages.find((s) => s.status === e.detail.reason);
63424
- r && (this.stateScofStatus.title = r.title, this.stateScofStatus.subtitle = r.subtitle, this.stateScofStatus.icon = r.icon, this.stateScofStatus.status = r.status, this.stateScofStatus.name = r.name, this.stateScofStatus.returnButton = r.returnButton, this.stateScofStatus.nameReturnButton = r.nameReturnButton), this.stateScof.page = it.STATUS, this.requestUpdate(), this.routerState();
63421
+ r && (this.stateScofStatus.title = r.title, this.stateScofStatus.subtitle = r.subtitle, this.stateScofStatus.icon = r.icon, this.stateScofStatus.status = r.status, this.stateScofStatus.name = r.name, this.stateScofStatus.returnButton = r.returnButton, this.stateScofStatus.nameReturnButton = r.nameReturnButton), this.stateScof.page = nt.STATUS, this.requestUpdate(), this.routerState();
63425
63422
  });
63426
63423
  }
63427
63424
  setMessagePaymentStatus(t) {
@@ -63448,7 +63445,7 @@ let wi = class extends qe {
63448
63445
  const e = this.stateScof.statePaymentRequest;
63449
63446
  Cr.stopPolling("manual"), t = this.setMessagePaymentStatus(e);
63450
63447
  }
63451
- t && (this.stateScofStatus.title = t.title, this.stateScofStatus.subtitle = t.subtitle, this.stateScofStatus.icon = t.icon, this.stateScofStatus.status = t.status, this.stateScofStatus.name = t.name, this.stateScofStatus.returnButton = t.returnButton, this.stateScofStatus.nameReturnButton = t.nameReturnButton, this.stateScof.page = it.STATUS, this.requestUpdate(), this.routerState(), this.stateScof.isActiveWs = !1);
63448
+ t && (this.stateScofStatus.title = t.title, this.stateScofStatus.subtitle = t.subtitle, this.stateScofStatus.icon = t.icon, this.stateScofStatus.status = t.status, this.stateScofStatus.name = t.name, this.stateScofStatus.returnButton = t.returnButton, this.stateScofStatus.nameReturnButton = t.nameReturnButton, this.stateScof.page = nt.STATUS, this.requestUpdate(), this.routerState(), this.stateScof.isActiveWs = !1);
63452
63449
  }
63453
63450
  }
63454
63451
  });
@@ -63504,7 +63501,7 @@ let wi = class extends qe {
63504
63501
  ${this.isShowToast ? P`<div class="alert-container">
63505
63502
  <scof-alert> ${this.messageAlert} </scof-alert>
63506
63503
  </div>` : ""}
63507
- ${this.stateScof.page === it.LOADING || this.stateScof.page === it.QR || this.stateScof.page === it.STATUS ? P`${j3(this.stateScof.page)}` : P`<div class="container">
63504
+ ${this.stateScof.page === nt.LOADING || this.stateScof.page === nt.QR || this.stateScof.page === nt.STATUS ? P`${j3(this.stateScof.page)}` : P`<div class="container">
63508
63505
  <div class="container-text">
63509
63506
  <h1 class="container__title">
63510
63507
  <p>Pagá a ${(t = this.stateScof.statePaymentRequest) == null ? void 0 : t.seller.fantasy_name}</p>
@@ -63976,9 +63973,9 @@ let vn = class extends qe {
63976
63973
  type: c.installment.type,
63977
63974
  lastFourDigits: c.lastFourDigits,
63978
63975
  installment_plan: this.stateScof.installment,
63979
- redirect: it.SUMMARY
63976
+ redirect: nt.SUMMARY
63980
63977
  }
63981
- }), this.createEvent("button-pushed", it.SUMMARY);
63978
+ }), this.createEvent("button-pushed", nt.SUMMARY);
63982
63979
  return;
63983
63980
  }
63984
63981
  ge.info("submit", {
@@ -63992,9 +63989,9 @@ let vn = class extends qe {
63992
63989
  cardBrand: c.installment.name,
63993
63990
  type: c.installment.type,
63994
63991
  lastFourDigits: c.lastFourDigits,
63995
- redirect: it.PLANS
63992
+ redirect: nt.PLANS
63996
63993
  }
63997
- }), this.createEvent("button-pushed", it.PLANS);
63994
+ }), this.createEvent("button-pushed", nt.PLANS);
63998
63995
  }
63999
63996
  });
64000
63997
  }
@@ -64006,9 +64003,9 @@ let vn = class extends qe {
64006
64003
  is_embedded: this.payfacContext.isEmbedded,
64007
64004
  contextObject: {
64008
64005
  payment_request_id: this.stateScof.statePaymentRequest.id,
64009
- redirect: it.HOLDER_FORM
64006
+ redirect: nt.HOLDER_FORM
64010
64007
  }
64011
- }), this.createEvent("button-pushed", it.HOLDER_FORM);
64008
+ }), this.createEvent("button-pushed", nt.HOLDER_FORM);
64012
64009
  }
64013
64010
  validateForm() {
64014
64011
  var s;
@@ -64062,7 +64059,6 @@ let vn = class extends qe {
64062
64059
  .maxlength="${19}"
64063
64060
  .validationRules="${[
64064
64061
  Os("Tenés que completar el número de la tarjeta."),
64065
- Hn(16, "Revisá el número de la tarjeta, está incompleto.", !0),
64066
64062
  KO(
64067
64063
  this.stateScof.statePaymentRequest,
64068
64064
  (t) => this.isLoading = t,
@@ -64086,7 +64082,8 @@ let vn = class extends qe {
64086
64082
  this.iconRight = e ? F1[t.name] : this.cardDefault, this.installmentPlan = t, this.isRecieveData = !0;
64087
64083
  }
64088
64084
  }
64089
- )
64085
+ ),
64086
+ Hn(16, "Revisá el número de la tarjeta, está incompleto.", !0)
64090
64087
  ]}"
64091
64088
  ></scof-input>
64092
64089
  <img alt="nave" width="24" height="24" src="${this.iconRight}" />
@@ -64273,7 +64270,7 @@ let $a = class extends qe {
64273
64270
  holder: (r = this.stateScof.statePaymentRequest) == null ? void 0 : r.buyer
64274
64271
  };
64275
64272
  if (this.stateScof.binData = i, BA(n)) {
64276
- this.stateScof.installment = n.installment_plans[0], this.createEvent("button-pushed", it.SUMMARY), ge.info("submit", {
64273
+ this.stateScof.installment = n.installment_plans[0], this.createEvent("button-pushed", nt.SUMMARY), ge.info("submit", {
64277
64274
  context: Me.CARD_ON_FILE,
64278
64275
  tag: "GET_INSTALLMENT_PLAN_SINGLE_INSTALLMENT",
64279
64276
  is_embedded: this.payfacContext.isEmbedded,
@@ -64296,7 +64293,7 @@ let $a = class extends qe {
64296
64293
  installmentPlan: n,
64297
64294
  selectedCard: this.cardSelected
64298
64295
  }
64299
- }), this.createEvent("button-pushed", it.PLANS);
64296
+ }), this.createEvent("button-pushed", nt.PLANS);
64300
64297
  } catch (s) {
64301
64298
  ct("INSTALLMENT_PLAN_ERROR", "Installment plan failed."), this.isLoading = !1, this.isClickSubmit = !1, this.stateScof.isAddCardConsent = !1, ge.error(
64302
64299
  "submit",
@@ -64316,7 +64313,7 @@ let $a = class extends qe {
64316
64313
  });
64317
64314
  }
64318
64315
  redirectToForm() {
64319
- this.createEvent("button-pushed", it.HOLDER_FORM);
64316
+ this.createEvent("button-pushed", nt.HOLDER_FORM);
64320
64317
  }
64321
64318
  createEvent(t, e) {
64322
64319
  const r = new CustomEvent(t, {
@@ -64339,7 +64336,7 @@ let $a = class extends qe {
64339
64336
  ct("DELETE_CARD_ERROR", "Card deleted failed."), this.createEvent("deleted-card", !1);
64340
64337
  } finally {
64341
64338
  const n = document.querySelector("confirmation-modal");
64342
- n == null || n.remove(), ((s = this.stateScof.userCardData) == null ? void 0 : s.list.length) === 0 && this.createEvent("button-pushed", it.HOLDER_FORM), this.requestUpdate();
64339
+ n == null || n.remove(), ((s = this.stateScof.userCardData) == null ? void 0 : s.list.length) === 0 && this.createEvent("button-pushed", nt.HOLDER_FORM), this.requestUpdate();
64343
64340
  }
64344
64341
  });
64345
64342
  }
@@ -64351,9 +64348,9 @@ let $a = class extends qe {
64351
64348
  origin_sdk: fc,
64352
64349
  contextObject: {
64353
64350
  payment_request_id: this.stateScof.statePaymentRequest.id,
64354
- redirect: it.MAIN
64351
+ redirect: nt.MAIN
64355
64352
  }
64356
- }), this.createEvent("button-pushed", it.MAIN);
64353
+ }), this.createEvent("button-pushed", nt.MAIN);
64357
64354
  }
64358
64355
  render() {
64359
64356
  return P`
@@ -64512,13 +64509,13 @@ let Mo = class extends qe {
64512
64509
  contextObject: {
64513
64510
  payment_request_id: this.stateScof.statePaymentRequest.id,
64514
64511
  holder: e,
64515
- redirect: it.CARD_FORM
64512
+ redirect: nt.CARD_FORM
64516
64513
  }
64517
- }), this.createEvent("button-pushed", it.CARD_FORM);
64514
+ }), this.createEvent("button-pushed", nt.CARD_FORM);
64518
64515
  }
64519
64516
  }
64520
64517
  back() {
64521
- const t = this.hasTokenizedCards ? it.CARD_LIST : it.MAIN;
64518
+ const t = this.hasTokenizedCards ? nt.CARD_LIST : nt.MAIN;
64522
64519
  ge.info("back", {
64523
64520
  context: Me.CARD_ON_FILE,
64524
64521
  tag: "HOLDER_FORM",
@@ -64724,9 +64721,9 @@ let aA = class extends qe {
64724
64721
  origin_sdk: Zg,
64725
64722
  contextObject: {
64726
64723
  payment_request_id: this.stateScof.statePaymentRequest.id,
64727
- redirect: it.CARD_LIST
64724
+ redirect: nt.CARD_LIST
64728
64725
  }
64729
- }), this.createEvent("button-pushed", it.CARD_LIST);
64726
+ }), this.createEvent("button-pushed", nt.CARD_LIST);
64730
64727
  return;
64731
64728
  }
64732
64729
  ge.info("back", {
@@ -64736,9 +64733,9 @@ let aA = class extends qe {
64736
64733
  origin_sdk: Zg,
64737
64734
  contextObject: {
64738
64735
  payment_request_id: this.stateScof.statePaymentRequest.id,
64739
- redirect: it.CARD_FORM
64736
+ redirect: nt.CARD_FORM
64740
64737
  }
64741
- }), this.createEvent("button-pushed", it.CARD_FORM);
64738
+ }), this.createEvent("button-pushed", nt.CARD_FORM);
64742
64739
  }
64743
64740
  submit() {
64744
64741
  this.stateScof.installment = this.installmentSelected, ge.info("submit", {
@@ -64750,7 +64747,7 @@ let aA = class extends qe {
64750
64747
  payment_request_id: this.stateScof.statePaymentRequest.id,
64751
64748
  selectedInstalment: this.stateScof.installment
64752
64749
  }
64753
- }), this.createEvent("button-pushed", it.SUMMARY);
64750
+ }), this.createEvent("button-pushed", nt.SUMMARY);
64754
64751
  }
64755
64752
  createEvent(t, e) {
64756
64753
  const r = new CustomEvent(t, {
@@ -64932,7 +64929,7 @@ let vs = class t extends qe {
64932
64929
  }
64933
64930
  }
64934
64931
  retryPayment() {
64935
- this.createEvent("button-pushed", it.LOADING), this.stateScofStatus.isRetry = !0;
64932
+ this.createEvent("button-pushed", nt.LOADING), this.stateScofStatus.isRetry = !0;
64936
64933
  }
64937
64934
  createEvent(e, r) {
64938
64935
  const s = new CustomEvent(e, {
@@ -65101,9 +65098,9 @@ let el = class extends qe {
65101
65098
  origin_sdk: yu,
65102
65099
  contextObject: {
65103
65100
  payment_request_id: this.stateScof.statePaymentRequest.id,
65104
- redirect: it.CARD_LIST
65101
+ redirect: nt.CARD_LIST
65105
65102
  }
65106
- }), this.createEvent("button-pushed", it.CARD_LIST);
65103
+ }), this.createEvent("button-pushed", nt.CARD_LIST);
65107
65104
  return;
65108
65105
  }
65109
65106
  ge.info("back", {
@@ -65113,9 +65110,9 @@ let el = class extends qe {
65113
65110
  origin_sdk: yu,
65114
65111
  contextObject: {
65115
65112
  payment_request_id: this.stateScof.statePaymentRequest.id,
65116
- redirect: it.CARD_FORM
65113
+ redirect: nt.CARD_FORM
65117
65114
  }
65118
- }), this.createEvent("button-pushed", it.CARD_FORM);
65115
+ }), this.createEvent("button-pushed", nt.CARD_FORM);
65119
65116
  return;
65120
65117
  }
65121
65118
  ge.info("back", {
@@ -65125,13 +65122,13 @@ let el = class extends qe {
65125
65122
  origin_sdk: yu,
65126
65123
  contextObject: {
65127
65124
  payment_request_id: this.stateScof.statePaymentRequest.id,
65128
- redirect: it.PLANS
65125
+ redirect: nt.PLANS
65129
65126
  }
65130
- }), this.createEvent("button-pushed", it.PLANS);
65127
+ }), this.createEvent("button-pushed", nt.PLANS);
65131
65128
  }
65132
65129
  submit() {
65133
65130
  var t;
65134
- this.isClickSubmit || (this.isLoading = !0, this.isClickSubmit = !0, this.stateScofStatus.isStart = !0, this.createEvent("button-pushed", it.LOADING), Ot.startPayment(), ge.info("submit", {
65131
+ this.isClickSubmit || (this.isLoading = !0, this.isClickSubmit = !0, this.stateScofStatus.isStart = !0, this.createEvent("button-pushed", nt.LOADING), Ot.startPayment(), ge.info("submit", {
65135
65132
  context: Me.CARD_ON_FILE,
65136
65133
  tag: "SUMMARY",
65137
65134
  is_embedded: this.payfacContext.isEmbedded,
@@ -65140,7 +65137,7 @@ let el = class extends qe {
65140
65137
  payment_request_id: (t = this.stateScof.statePaymentRequest) == null ? void 0 : t.id,
65141
65138
  holder: this.getHolder,
65142
65139
  installmentPlan: this.getInstallmentPlan,
65143
- redirect: it.LOADING
65140
+ redirect: nt.LOADING
65144
65141
  }
65145
65142
  }));
65146
65143
  }
@@ -65316,7 +65313,7 @@ let Bv = class extends Pp {
65316
65313
  }
65317
65314
  toggleShowPersonalDataForm() {
65318
65315
  var e;
65319
- const t = !this.stateScof.userCardData || ((e = this.stateScof.userCardData.list) == null ? void 0 : e.length) === 0 ? it.HOLDER_FORM : it.CARD_LIST;
65316
+ const t = !this.stateScof.userCardData || ((e = this.stateScof.userCardData.list) == null ? void 0 : e.length) === 0 ? nt.HOLDER_FORM : nt.CARD_LIST;
65320
65317
  this.goToPersonalDataForm(t);
65321
65318
  }
65322
65319
  renderCardAvailable() {
@@ -65340,7 +65337,7 @@ let Bv = class extends Pp {
65340
65337
  class="clickeable"
65341
65338
  subtitle="${this.walletDescription}"
65342
65339
  ?hasPromotion="${this.hasWalletPromotions}"
65343
- @click="${() => this.goToQr(it.QR)}"
65340
+ @click="${() => this.goToQr(nt.QR)}"
65344
65341
  ></card-home>` : P``;
65345
65342
  }
65346
65343
  render() {
@@ -65800,28 +65797,24 @@ const x4 = (t, e = () => {
65800
65797
  return;
65801
65798
  }
65802
65799
  try {
65803
- if (String(o).replace(/\D/g, "").substring(0, 7).length !== 7) {
65804
- i(a);
65805
- return;
65806
- }
65807
- const h = yield $i(t, d);
65800
+ const u = yield $i(t, d);
65808
65801
  if (ge.info("getInstallments", {
65809
65802
  context: Me.DEFAULT,
65810
65803
  origin_sdk: D3,
65811
65804
  tag: "GET_INSTALLMENT_PLAN_BY_BINES",
65812
65805
  contextObject: {
65813
65806
  payment_request_id: t.id,
65814
- cards: h.plans
65807
+ cards: u.plans
65815
65808
  }
65816
- }), h.plans.code === ok) {
65809
+ }), u.plans.code === ok) {
65817
65810
  i(a, ak);
65818
65811
  return;
65819
65812
  }
65820
- if (((c = (l = h.plans) == null ? void 0 : l.cards) == null ? void 0 : c.length) === 0) {
65813
+ if (((c = (l = u.plans) == null ? void 0 : l.cards) == null ? void 0 : c.length) === 0) {
65821
65814
  i(a);
65822
65815
  return;
65823
65816
  }
65824
- r(h.plans.cards[0]), e(!1), a(!0);
65817
+ r(u.plans.cards[0]), e(!1), a(!0);
65825
65818
  } catch (u) {
65826
65819
  ge.error(
65827
65820
  "getInstallments",
@@ -65943,7 +65936,6 @@ let bn = class extends qe {
65943
65936
  .maxlength="${19}"
65944
65937
  .validationRules="${[
65945
65938
  Nc("Tenés que completar el número de la tarjeta."),
65946
- Oc(16, "Revisá el número de la tarjeta, está incompleto.", !0),
65947
65939
  x4(
65948
65940
  this._statePaymentManualInput.statePaymentRequest,
65949
65941
  (t) => {
@@ -65953,7 +65945,8 @@ let bn = class extends qe {
65953
65945
  const e = this._statePaymentManualInput.cardsAccepted.includes(t == null ? void 0 : t.name);
65954
65946
  this.iconRight = e ? F1[t == null ? void 0 : t.name] : this.cardDefault, this.installmentPlan = t, this.isRecieveData = !0;
65955
65947
  }
65956
- )
65948
+ ),
65949
+ Oc(16, "Revisá el número de la tarjeta, está incompleto.", !0)
65957
65950
  ]}"
65958
65951
  ></scof-input>
65959
65952
  <img alt="nave" width="24" height="24" src="${this.iconRight}" />
@@ -74268,7 +74261,7 @@ var on = function(t, e) {
74268
74261
  }, K6 = function(t) {
74269
74262
  return t * Vb;
74270
74263
  }, Ki = function(t) {
74271
- var e = new LC(), r = nt.internal.getHeight(t) || 0, s = nt.internal.getWidth(t) || 0;
74264
+ var e = new LC(), r = it.internal.getHeight(t) || 0, s = it.internal.getWidth(t) || 0;
74272
74265
  return e.BBox = [0, 0, Number(wt(s)), Number(wt(r))], e;
74273
74266
  }, wG = kr.__acroform__.setBit = function(t, e) {
74274
74267
  if (t = t || 0, e = e || 0, isNaN(t) || isNaN(e))
@@ -74315,9 +74308,9 @@ var on = function(t, e) {
74315
74308
  }) : n.map(function(T) {
74316
74309
  return [T];
74317
74310
  });
74318
- var i = r, o = nt.internal.getHeight(t) || 0;
74311
+ var i = r, o = it.internal.getHeight(t) || 0;
74319
74312
  o = o < 0 ? -o : o;
74320
- var a = nt.internal.getWidth(t) || 0;
74313
+ var a = it.internal.getWidth(t) || 0;
74321
74314
  a = a < 0 ? -a : a;
74322
74315
  var d = function(T, N, W) {
74323
74316
  if (T + 1 < n.length) {
@@ -74439,7 +74432,7 @@ var on = function(t, e) {
74439
74432
  for (var o in s || (n.internal.newObjectDeferredBegin(n.internal.acroformPlugin.acroFormDictionaryRoot.objId, !0), n.internal.acroformPlugin.acroFormDictionaryRoot.putStream()), s = s || n.internal.acroformPlugin.acroFormDictionaryRoot.Kids)
74440
74433
  if (s.hasOwnProperty(o)) {
74441
74434
  var a = s[o], d = [], l = a.Rect;
74442
- if (a.Rect && (a.Rect = BG(a.Rect, n)), n.internal.newObjectDeferredBegin(a.objId, !0), a.DA = nt.createDefaultAppearanceStream(a), Zt(a) === "object" && typeof a.getKeyValueListForStream == "function" && (d = a.getKeyValueListForStream()), a.Rect = l, a.hasAppearanceStream && !a.appearanceStreamContent) {
74435
+ if (a.Rect && (a.Rect = BG(a.Rect, n)), n.internal.newObjectDeferredBegin(a.objId, !0), a.DA = it.createDefaultAppearanceStream(a), Zt(a) === "object" && typeof a.getKeyValueListForStream == "function" && (d = a.getKeyValueListForStream()), a.Rect = l, a.hasAppearanceStream && !a.appearanceStreamContent) {
74443
74436
  var c = CG(a);
74444
74437
  d.push({ key: "AP", value: "<</N " + c + ">>" }), n.internal.acroformPlugin.xForms.push(c);
74445
74438
  }
@@ -74930,7 +74923,7 @@ var V1 = function() {
74930
74923
  return r.substr(1, r.length - 1);
74931
74924
  }, set: function(n) {
74932
74925
  r = "/" + n;
74933
- } }), this.caption = "l", this.appearanceState = "Off", this._AppearanceType = nt.RadioButton.Circle, this.appearanceStreamContent = this._AppearanceType.createAppearanceStream(this.optionName);
74926
+ } }), this.caption = "l", this.appearanceState = "Off", this._AppearanceType = it.RadioButton.Circle, this.appearanceStreamContent = this._AppearanceType.createAppearanceStream(this.optionName);
74934
74927
  };
74935
74928
  on(V1, Fi), Vc.prototype.setAppearance = function(t) {
74936
74929
  if (!("createAppearanceStream" in t) || !("getCA" in t))
@@ -74945,7 +74938,7 @@ on(V1, Fi), Vc.prototype.setAppearance = function(t) {
74945
74938
  return e.Parent = this, e.optionName = t, this.Kids.push(e), IG.call(this.scope, e), e;
74946
74939
  };
74947
74940
  var Wh = function() {
74948
- ns.call(this), this.fontName = "zapfdingbats", this.caption = "3", this.appearanceState = "On", this.value = "On", this.textAlign = "center", this.appearanceStreamContent = nt.CheckBox.createAppearanceStream();
74941
+ ns.call(this), this.fontName = "zapfdingbats", this.caption = "3", this.appearanceState = "On", this.value = "On", this.textAlign = "center", this.appearanceStreamContent = it.CheckBox.createAppearanceStream();
74949
74942
  };
74950
74943
  on(Wh, ns);
74951
74944
  var od = function() {
@@ -74996,89 +74989,89 @@ var Jh = function() {
74996
74989
  } }), this.password = !0;
74997
74990
  };
74998
74991
  on(Jh, od);
74999
- var nt = { CheckBox: { createAppearanceStream: function() {
75000
- return { N: { On: nt.CheckBox.YesNormal }, D: { On: nt.CheckBox.YesPushDown, Off: nt.CheckBox.OffPushDown } };
74992
+ var it = { CheckBox: { createAppearanceStream: function() {
74993
+ return { N: { On: it.CheckBox.YesNormal }, D: { On: it.CheckBox.YesPushDown, Off: it.CheckBox.OffPushDown } };
75001
74994
  }, YesPushDown: function(t) {
75002
74995
  var e = Ki(t);
75003
74996
  e.scope = t.scope;
75004
74997
  var r = [], s = t.scope.internal.getFont(t.fontName, t.fontStyle).id, n = t.scope.__private__.encodeColorString(t.color), i = s2(t, t.caption);
75005
- return r.push("0.749023 g"), r.push("0 0 " + wt(nt.internal.getWidth(t)) + " " + wt(nt.internal.getHeight(t)) + " re"), r.push("f"), r.push("BMC"), r.push("q"), r.push("0 0 1 rg"), r.push("/" + s + " " + wt(i.fontSize) + " Tf " + n), r.push("BT"), r.push(i.text), r.push("ET"), r.push("Q"), r.push("EMC"), e.stream = r.join(`
74998
+ return r.push("0.749023 g"), r.push("0 0 " + wt(it.internal.getWidth(t)) + " " + wt(it.internal.getHeight(t)) + " re"), r.push("f"), r.push("BMC"), r.push("q"), r.push("0 0 1 rg"), r.push("/" + s + " " + wt(i.fontSize) + " Tf " + n), r.push("BT"), r.push(i.text), r.push("ET"), r.push("Q"), r.push("EMC"), e.stream = r.join(`
75006
74999
  `), e;
75007
75000
  }, YesNormal: function(t) {
75008
75001
  var e = Ki(t);
75009
75002
  e.scope = t.scope;
75010
- var r = t.scope.internal.getFont(t.fontName, t.fontStyle).id, s = t.scope.__private__.encodeColorString(t.color), n = [], i = nt.internal.getHeight(t), o = nt.internal.getWidth(t), a = s2(t, t.caption);
75003
+ var r = t.scope.internal.getFont(t.fontName, t.fontStyle).id, s = t.scope.__private__.encodeColorString(t.color), n = [], i = it.internal.getHeight(t), o = it.internal.getWidth(t), a = s2(t, t.caption);
75011
75004
  return n.push("1 g"), n.push("0 0 " + wt(o) + " " + wt(i) + " re"), n.push("f"), n.push("q"), n.push("0 0 1 rg"), n.push("0 0 " + wt(o - 1) + " " + wt(i - 1) + " re"), n.push("W"), n.push("n"), n.push("0 g"), n.push("BT"), n.push("/" + r + " " + wt(a.fontSize) + " Tf " + s), n.push(a.text), n.push("ET"), n.push("Q"), e.stream = n.join(`
75012
75005
  `), e;
75013
75006
  }, OffPushDown: function(t) {
75014
75007
  var e = Ki(t);
75015
75008
  e.scope = t.scope;
75016
75009
  var r = [];
75017
- return r.push("0.749023 g"), r.push("0 0 " + wt(nt.internal.getWidth(t)) + " " + wt(nt.internal.getHeight(t)) + " re"), r.push("f"), e.stream = r.join(`
75010
+ return r.push("0.749023 g"), r.push("0 0 " + wt(it.internal.getWidth(t)) + " " + wt(it.internal.getHeight(t)) + " re"), r.push("f"), e.stream = r.join(`
75018
75011
  `), e;
75019
75012
  } }, RadioButton: { Circle: { createAppearanceStream: function(t) {
75020
- var e = { D: { Off: nt.RadioButton.Circle.OffPushDown }, N: {} };
75021
- return e.N[t] = nt.RadioButton.Circle.YesNormal, e.D[t] = nt.RadioButton.Circle.YesPushDown, e;
75013
+ var e = { D: { Off: it.RadioButton.Circle.OffPushDown }, N: {} };
75014
+ return e.N[t] = it.RadioButton.Circle.YesNormal, e.D[t] = it.RadioButton.Circle.YesPushDown, e;
75022
75015
  }, getCA: function() {
75023
75016
  return "l";
75024
75017
  }, YesNormal: function(t) {
75025
75018
  var e = Ki(t);
75026
75019
  e.scope = t.scope;
75027
- var r = [], s = nt.internal.getWidth(t) <= nt.internal.getHeight(t) ? nt.internal.getWidth(t) / 4 : nt.internal.getHeight(t) / 4;
75020
+ var r = [], s = it.internal.getWidth(t) <= it.internal.getHeight(t) ? it.internal.getWidth(t) / 4 : it.internal.getHeight(t) / 4;
75028
75021
  s = Number((0.9 * s).toFixed(5));
75029
- var n = nt.internal.Bezier_C, i = Number((s * n).toFixed(5));
75030
- return r.push("q"), r.push("1 0 0 1 " + ka(nt.internal.getWidth(t) / 2) + " " + ka(nt.internal.getHeight(t) / 2) + " cm"), r.push(s + " 0 m"), r.push(s + " " + i + " " + i + " " + s + " 0 " + s + " c"), r.push("-" + i + " " + s + " -" + s + " " + i + " -" + s + " 0 c"), r.push("-" + s + " -" + i + " -" + i + " -" + s + " 0 -" + s + " c"), r.push(i + " -" + s + " " + s + " -" + i + " " + s + " 0 c"), r.push("f"), r.push("Q"), e.stream = r.join(`
75022
+ var n = it.internal.Bezier_C, i = Number((s * n).toFixed(5));
75023
+ return r.push("q"), r.push("1 0 0 1 " + ka(it.internal.getWidth(t) / 2) + " " + ka(it.internal.getHeight(t) / 2) + " cm"), r.push(s + " 0 m"), r.push(s + " " + i + " " + i + " " + s + " 0 " + s + " c"), r.push("-" + i + " " + s + " -" + s + " " + i + " -" + s + " 0 c"), r.push("-" + s + " -" + i + " -" + i + " -" + s + " 0 -" + s + " c"), r.push(i + " -" + s + " " + s + " -" + i + " " + s + " 0 c"), r.push("f"), r.push("Q"), e.stream = r.join(`
75031
75024
  `), e;
75032
75025
  }, YesPushDown: function(t) {
75033
75026
  var e = Ki(t);
75034
75027
  e.scope = t.scope;
75035
- var r = [], s = nt.internal.getWidth(t) <= nt.internal.getHeight(t) ? nt.internal.getWidth(t) / 4 : nt.internal.getHeight(t) / 4;
75028
+ var r = [], s = it.internal.getWidth(t) <= it.internal.getHeight(t) ? it.internal.getWidth(t) / 4 : it.internal.getHeight(t) / 4;
75036
75029
  s = Number((0.9 * s).toFixed(5));
75037
- var n = Number((2 * s).toFixed(5)), i = Number((n * nt.internal.Bezier_C).toFixed(5)), o = Number((s * nt.internal.Bezier_C).toFixed(5));
75038
- return r.push("0.749023 g"), r.push("q"), r.push("1 0 0 1 " + ka(nt.internal.getWidth(t) / 2) + " " + ka(nt.internal.getHeight(t) / 2) + " cm"), r.push(n + " 0 m"), r.push(n + " " + i + " " + i + " " + n + " 0 " + n + " c"), r.push("-" + i + " " + n + " -" + n + " " + i + " -" + n + " 0 c"), r.push("-" + n + " -" + i + " -" + i + " -" + n + " 0 -" + n + " c"), r.push(i + " -" + n + " " + n + " -" + i + " " + n + " 0 c"), r.push("f"), r.push("Q"), r.push("0 g"), r.push("q"), r.push("1 0 0 1 " + ka(nt.internal.getWidth(t) / 2) + " " + ka(nt.internal.getHeight(t) / 2) + " cm"), r.push(s + " 0 m"), r.push(s + " " + o + " " + o + " " + s + " 0 " + s + " c"), r.push("-" + o + " " + s + " -" + s + " " + o + " -" + s + " 0 c"), r.push("-" + s + " -" + o + " -" + o + " -" + s + " 0 -" + s + " c"), r.push(o + " -" + s + " " + s + " -" + o + " " + s + " 0 c"), r.push("f"), r.push("Q"), e.stream = r.join(`
75030
+ var n = Number((2 * s).toFixed(5)), i = Number((n * it.internal.Bezier_C).toFixed(5)), o = Number((s * it.internal.Bezier_C).toFixed(5));
75031
+ return r.push("0.749023 g"), r.push("q"), r.push("1 0 0 1 " + ka(it.internal.getWidth(t) / 2) + " " + ka(it.internal.getHeight(t) / 2) + " cm"), r.push(n + " 0 m"), r.push(n + " " + i + " " + i + " " + n + " 0 " + n + " c"), r.push("-" + i + " " + n + " -" + n + " " + i + " -" + n + " 0 c"), r.push("-" + n + " -" + i + " -" + i + " -" + n + " 0 -" + n + " c"), r.push(i + " -" + n + " " + n + " -" + i + " " + n + " 0 c"), r.push("f"), r.push("Q"), r.push("0 g"), r.push("q"), r.push("1 0 0 1 " + ka(it.internal.getWidth(t) / 2) + " " + ka(it.internal.getHeight(t) / 2) + " cm"), r.push(s + " 0 m"), r.push(s + " " + o + " " + o + " " + s + " 0 " + s + " c"), r.push("-" + o + " " + s + " -" + s + " " + o + " -" + s + " 0 c"), r.push("-" + s + " -" + o + " -" + o + " -" + s + " 0 -" + s + " c"), r.push(o + " -" + s + " " + s + " -" + o + " " + s + " 0 c"), r.push("f"), r.push("Q"), e.stream = r.join(`
75039
75032
  `), e;
75040
75033
  }, OffPushDown: function(t) {
75041
75034
  var e = Ki(t);
75042
75035
  e.scope = t.scope;
75043
- var r = [], s = nt.internal.getWidth(t) <= nt.internal.getHeight(t) ? nt.internal.getWidth(t) / 4 : nt.internal.getHeight(t) / 4;
75036
+ var r = [], s = it.internal.getWidth(t) <= it.internal.getHeight(t) ? it.internal.getWidth(t) / 4 : it.internal.getHeight(t) / 4;
75044
75037
  s = Number((0.9 * s).toFixed(5));
75045
- var n = Number((2 * s).toFixed(5)), i = Number((n * nt.internal.Bezier_C).toFixed(5));
75046
- return r.push("0.749023 g"), r.push("q"), r.push("1 0 0 1 " + ka(nt.internal.getWidth(t) / 2) + " " + ka(nt.internal.getHeight(t) / 2) + " cm"), r.push(n + " 0 m"), r.push(n + " " + i + " " + i + " " + n + " 0 " + n + " c"), r.push("-" + i + " " + n + " -" + n + " " + i + " -" + n + " 0 c"), r.push("-" + n + " -" + i + " -" + i + " -" + n + " 0 -" + n + " c"), r.push(i + " -" + n + " " + n + " -" + i + " " + n + " 0 c"), r.push("f"), r.push("Q"), e.stream = r.join(`
75038
+ var n = Number((2 * s).toFixed(5)), i = Number((n * it.internal.Bezier_C).toFixed(5));
75039
+ return r.push("0.749023 g"), r.push("q"), r.push("1 0 0 1 " + ka(it.internal.getWidth(t) / 2) + " " + ka(it.internal.getHeight(t) / 2) + " cm"), r.push(n + " 0 m"), r.push(n + " " + i + " " + i + " " + n + " 0 " + n + " c"), r.push("-" + i + " " + n + " -" + n + " " + i + " -" + n + " 0 c"), r.push("-" + n + " -" + i + " -" + i + " -" + n + " 0 -" + n + " c"), r.push(i + " -" + n + " " + n + " -" + i + " " + n + " 0 c"), r.push("f"), r.push("Q"), e.stream = r.join(`
75047
75040
  `), e;
75048
75041
  } }, Cross: { createAppearanceStream: function(t) {
75049
- var e = { D: { Off: nt.RadioButton.Cross.OffPushDown }, N: {} };
75050
- return e.N[t] = nt.RadioButton.Cross.YesNormal, e.D[t] = nt.RadioButton.Cross.YesPushDown, e;
75042
+ var e = { D: { Off: it.RadioButton.Cross.OffPushDown }, N: {} };
75043
+ return e.N[t] = it.RadioButton.Cross.YesNormal, e.D[t] = it.RadioButton.Cross.YesPushDown, e;
75051
75044
  }, getCA: function() {
75052
75045
  return "8";
75053
75046
  }, YesNormal: function(t) {
75054
75047
  var e = Ki(t);
75055
75048
  e.scope = t.scope;
75056
- var r = [], s = nt.internal.calculateCross(t);
75057
- return r.push("q"), r.push("1 1 " + wt(nt.internal.getWidth(t) - 2) + " " + wt(nt.internal.getHeight(t) - 2) + " re"), r.push("W"), r.push("n"), r.push(wt(s.x1.x) + " " + wt(s.x1.y) + " m"), r.push(wt(s.x2.x) + " " + wt(s.x2.y) + " l"), r.push(wt(s.x4.x) + " " + wt(s.x4.y) + " m"), r.push(wt(s.x3.x) + " " + wt(s.x3.y) + " l"), r.push("s"), r.push("Q"), e.stream = r.join(`
75049
+ var r = [], s = it.internal.calculateCross(t);
75050
+ return r.push("q"), r.push("1 1 " + wt(it.internal.getWidth(t) - 2) + " " + wt(it.internal.getHeight(t) - 2) + " re"), r.push("W"), r.push("n"), r.push(wt(s.x1.x) + " " + wt(s.x1.y) + " m"), r.push(wt(s.x2.x) + " " + wt(s.x2.y) + " l"), r.push(wt(s.x4.x) + " " + wt(s.x4.y) + " m"), r.push(wt(s.x3.x) + " " + wt(s.x3.y) + " l"), r.push("s"), r.push("Q"), e.stream = r.join(`
75058
75051
  `), e;
75059
75052
  }, YesPushDown: function(t) {
75060
75053
  var e = Ki(t);
75061
75054
  e.scope = t.scope;
75062
- var r = nt.internal.calculateCross(t), s = [];
75063
- return s.push("0.749023 g"), s.push("0 0 " + wt(nt.internal.getWidth(t)) + " " + wt(nt.internal.getHeight(t)) + " re"), s.push("f"), s.push("q"), s.push("1 1 " + wt(nt.internal.getWidth(t) - 2) + " " + wt(nt.internal.getHeight(t) - 2) + " re"), s.push("W"), s.push("n"), s.push(wt(r.x1.x) + " " + wt(r.x1.y) + " m"), s.push(wt(r.x2.x) + " " + wt(r.x2.y) + " l"), s.push(wt(r.x4.x) + " " + wt(r.x4.y) + " m"), s.push(wt(r.x3.x) + " " + wt(r.x3.y) + " l"), s.push("s"), s.push("Q"), e.stream = s.join(`
75055
+ var r = it.internal.calculateCross(t), s = [];
75056
+ return s.push("0.749023 g"), s.push("0 0 " + wt(it.internal.getWidth(t)) + " " + wt(it.internal.getHeight(t)) + " re"), s.push("f"), s.push("q"), s.push("1 1 " + wt(it.internal.getWidth(t) - 2) + " " + wt(it.internal.getHeight(t) - 2) + " re"), s.push("W"), s.push("n"), s.push(wt(r.x1.x) + " " + wt(r.x1.y) + " m"), s.push(wt(r.x2.x) + " " + wt(r.x2.y) + " l"), s.push(wt(r.x4.x) + " " + wt(r.x4.y) + " m"), s.push(wt(r.x3.x) + " " + wt(r.x3.y) + " l"), s.push("s"), s.push("Q"), e.stream = s.join(`
75064
75057
  `), e;
75065
75058
  }, OffPushDown: function(t) {
75066
75059
  var e = Ki(t);
75067
75060
  e.scope = t.scope;
75068
75061
  var r = [];
75069
- return r.push("0.749023 g"), r.push("0 0 " + wt(nt.internal.getWidth(t)) + " " + wt(nt.internal.getHeight(t)) + " re"), r.push("f"), e.stream = r.join(`
75062
+ return r.push("0.749023 g"), r.push("0 0 " + wt(it.internal.getWidth(t)) + " " + wt(it.internal.getHeight(t)) + " re"), r.push("f"), e.stream = r.join(`
75070
75063
  `), e;
75071
75064
  } } }, createDefaultAppearanceStream: function(t) {
75072
75065
  var e = t.scope.internal.getFont(t.fontName, t.fontStyle).id, r = t.scope.__private__.encodeColorString(t.color);
75073
75066
  return "/" + e + " " + t.fontSize + " Tf " + r;
75074
75067
  } };
75075
- nt.internal = { Bezier_C: 0.551915024494, calculateCross: function(t) {
75076
- var e = nt.internal.getWidth(t), r = nt.internal.getHeight(t), s = Math.min(e, r);
75068
+ it.internal = { Bezier_C: 0.551915024494, calculateCross: function(t) {
75069
+ var e = it.internal.getWidth(t), r = it.internal.getHeight(t), s = Math.min(e, r);
75077
75070
  return { x1: { x: (e - s) / 2, y: (r - s) / 2 + s }, x2: { x: (e - s) / 2 + s, y: (r - s) / 2 }, x3: { x: (e - s) / 2, y: (r - s) / 2 }, x4: { x: (e - s) / 2 + s, y: (r - s) / 2 + s } };
75078
- } }, nt.internal.getWidth = function(t) {
75071
+ } }, it.internal.getWidth = function(t) {
75079
75072
  var e = 0;
75080
75073
  return Zt(t) === "object" && (e = K6(t.Rect[2])), e;
75081
- }, nt.internal.getHeight = function(t) {
75074
+ }, it.internal.getHeight = function(t) {
75082
75075
  var e = 0;
75083
75076
  return Zt(t) === "object" && (e = K6(t.Rect[3])), e;
75084
75077
  };
@@ -75088,7 +75081,7 @@ var IG = kr.addField = function(t) {
75088
75081
  var e;
75089
75082
  return (e = t).scope.internal.acroformPlugin.printedOut && (e.scope.internal.acroformPlugin.printedOut = !1, e.scope.internal.acroformPlugin.acroFormDictionaryRoot = null), e.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(e), t.page = t.scope.internal.getCurrentPageInfo().pageNumber, this;
75090
75083
  };
75091
- kr.AcroFormChoiceField = Mc, kr.AcroFormListBox = qc, kr.AcroFormComboBox = Hc, kr.AcroFormEditBox = Gh, kr.AcroFormButton = ns, kr.AcroFormPushButton = Yh, kr.AcroFormRadioButton = Vc, kr.AcroFormCheckBox = Wh, kr.AcroFormTextField = od, kr.AcroFormPasswordField = Jh, kr.AcroFormAppearance = nt, kr.AcroForm = { ChoiceField: Mc, ListBox: qc, ComboBox: Hc, EditBox: Gh, Button: ns, PushButton: Yh, RadioButton: Vc, CheckBox: Wh, TextField: od, PasswordField: Jh, Appearance: nt }, pt.AcroForm = { ChoiceField: Mc, ListBox: qc, ComboBox: Hc, EditBox: Gh, Button: ns, PushButton: Yh, RadioButton: Vc, CheckBox: Wh, TextField: od, PasswordField: Jh, Appearance: nt };
75084
+ kr.AcroFormChoiceField = Mc, kr.AcroFormListBox = qc, kr.AcroFormComboBox = Hc, kr.AcroFormEditBox = Gh, kr.AcroFormButton = ns, kr.AcroFormPushButton = Yh, kr.AcroFormRadioButton = Vc, kr.AcroFormCheckBox = Wh, kr.AcroFormTextField = od, kr.AcroFormPasswordField = Jh, kr.AcroFormAppearance = it, kr.AcroForm = { ChoiceField: Mc, ListBox: qc, ComboBox: Hc, EditBox: Gh, Button: ns, PushButton: Yh, RadioButton: Vc, CheckBox: Wh, TextField: od, PasswordField: Jh, Appearance: it }, pt.AcroForm = { ChoiceField: Mc, ListBox: qc, ComboBox: Hc, EditBox: Gh, Button: ns, PushButton: Yh, RadioButton: Vc, CheckBox: Wh, TextField: od, PasswordField: Jh, Appearance: it };
75092
75085
  function qC(t) {
75093
75086
  return t.reduce(function(e, r, s) {
75094
75087
  return e[r] = s, e;
@@ -80049,7 +80042,7 @@ function(t) {
80049
80042
  */
80050
80043
  function(t) {
80051
80044
  function e() {
80052
- return (gt.canvg ? Promise.resolve(gt.canvg) : import("./index.es-8e5fac34.js")).catch(function(r) {
80045
+ return (gt.canvg ? Promise.resolve(gt.canvg) : import("./index.es-7d93dce2.js")).catch(function(r) {
80053
80046
  return Promise.reject(new Error("Could not load canvg: " + r));
80054
80047
  }).then(function(r) {
80055
80048
  return r.default ? r.default : r;
@@ -81709,7 +81702,6 @@ let wn = class extends qe {
81709
81702
  .maxlength="${19}"
81710
81703
  .validationRules="${[
81711
81704
  Nc("Tenés que completar el número de la tarjeta."),
81712
- Oc(16, "Revisá el número de la tarjeta, está incompleto."),
81713
81705
  x4(
81714
81706
  this.state.statePaymentRequest,
81715
81707
  (t) => {
@@ -81719,7 +81711,8 @@ let wn = class extends qe {
81719
81711
  const e = this.state.cardsAccepted.includes(t == null ? void 0 : t.name);
81720
81712
  this.iconRight = e ? F1[t == null ? void 0 : t.name] : this.cardDefault, this.installmentPlan = t, this.isRecieveData = !0;
81721
81713
  }
81722
- )
81714
+ ),
81715
+ Oc(16, "Revisá el número de la tarjeta, está incompleto.")
81723
81716
  ]}"
81724
81717
  ></scof-input>
81725
81718
  <img alt="nave" width="24" height="24" src="${this.iconRight}" />
@@ -1,4 +1,4 @@
1
- import { c as Ke, _ as za, g as _o } from "./index-184ded35.js";
1
+ import { c as Ke, _ as za, g as _o } from "./index-53945937.js";
2
2
  var vt = function(a) {
3
3
  return a && a.Math === Math && a;
4
4
  }, V = (
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { ad as n, ac as e, a5 as t, ag as o, ae as r, af as C, a6 as m, a3 as p, ab as A, aa as d, a4 as i, a7 as l, a8 as u, a9 as y, A as c, w as F, f as S, e as P, n as M, p as O, Q as k, o as I, q as H, m as f, r as x, C as L, u as g, T as v, j as D, a as b, d as E, D as w, l as Q, E as h, v as B, b as N, F as R, k as j, $ as q, a1 as z, N as G, P as J, M as K, x as T, V as U, W as V, U as W, a2 as X, X as Y, Y as Z, Z as $, i as _, h as aa, a0 as sa, S as na, y as ea, t as ta, z as oa, B as ra, G as Ca, s as ma, K as pa, H as Aa, I as da, J as ia, O as la, R as ua, L as ya } from "./index-184ded35.js";
1
+ import { ad as n, ac as e, a5 as t, ag as o, ae as r, af as C, a6 as m, a3 as p, ab as A, aa as d, a4 as i, a7 as l, a8 as u, a9 as y, A as c, w as F, f as S, e as P, n as M, p as O, Q as k, o as I, q as H, m as f, r as x, C as L, u as g, T as v, j as D, a as b, d as E, D as w, l as Q, E as h, v as B, b as N, F as R, k as j, $ as q, a1 as z, N as G, P as J, M as K, x as T, V as U, W as V, U as W, a2 as X, X as Y, Y as Z, Z as $, i as _, h as aa, a0 as sa, S as na, y as ea, t as ta, z as oa, B as ra, G as Ca, s as ma, K as pa, H as Aa, I as da, J as ia, O as la, R as ua, L as ya } from "./index-53945937.js";
2
2
  export {
3
3
  n as A2AAccountDetails,
4
4
  e as A2AAccountList,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ranty/ranty-sdk",
3
- "version": "2.19.0-beta.0",
3
+ "version": "2.19.0-beta.2",
4
4
  "description": "Ranty sdk",
5
5
  "main": "dist/index.js",
6
6
  "exports": {