@ranty/ranty-sdk 3.28.5-beta.1 → 3.28.5-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.
|
@@ -926,7 +926,7 @@ function _e(t) {
|
|
|
926
926
|
*/
|
|
927
927
|
var oy;
|
|
928
928
|
((oy = window.HTMLSlotElement) === null || oy === void 0 ? void 0 : oy.prototype.assignedElements) != null;
|
|
929
|
-
const FT = "@nx-ranty/ranty-sdk", RT = "3.28.5-beta.
|
|
929
|
+
const FT = "@nx-ranty/ranty-sdk", RT = "3.28.5-beta.2", DT = "Ranty sdk", PT = "dist/index.js", NT = {
|
|
930
930
|
".": "./dist/index.js"
|
|
931
931
|
}, OT = "types/index.d.ts", LT = [
|
|
932
932
|
"dist",
|
|
@@ -16591,10 +16591,10 @@ function YM(t, e, n, r) {
|
|
|
16591
16591
|
}
|
|
16592
16592
|
const Pp = bM(YM);
|
|
16593
16593
|
bQ(Qo(), "DD_LOGS", Pp);
|
|
16594
|
-
const JM = "@nx-ranty/ranty-sdk", XM = "3.28.5-beta.
|
|
16594
|
+
const JM = "@nx-ranty/ranty-sdk", XM = "3.28.5-beta.2", ZM = 3, $M = !0, ez = {
|
|
16595
16595
|
"": {
|
|
16596
16596
|
name: "@nx-ranty/ranty-sdk",
|
|
16597
|
-
version: "3.28.5-beta.
|
|
16597
|
+
version: "3.28.5-beta.2",
|
|
16598
16598
|
license: "ISC",
|
|
16599
16599
|
dependencies: {
|
|
16600
16600
|
"@amplitude/analytics-browser": "^2.33.1",
|
|
@@ -42608,14 +42608,14 @@ const lp = hA, x4 = class wp {
|
|
|
42608
42608
|
x4._instance = null;
|
|
42609
42609
|
let C4 = x4;
|
|
42610
42610
|
typeof window != "undefined" && (window.dataLayer = window.dataLayer || []);
|
|
42611
|
-
function
|
|
42611
|
+
function on(t, e) {
|
|
42612
42612
|
return ue(this, null, function* () {
|
|
42613
42613
|
yield C4.getInstance().waitUntilLoaded(), window.dataLayer.push(Fe({
|
|
42614
42614
|
event: t
|
|
42615
42615
|
}, e));
|
|
42616
42616
|
});
|
|
42617
42617
|
}
|
|
42618
|
-
function
|
|
42618
|
+
function In(t, e) {
|
|
42619
42619
|
return { paymentinputsavailable: t.resolvePaymentInputsAvailable(
|
|
42620
42620
|
e == null ? void 0 : e.payment_inputs
|
|
42621
42621
|
) };
|
|
@@ -42647,7 +42647,7 @@ class Si {
|
|
|
42647
42647
|
}
|
|
42648
42648
|
/** PV - Loading page */
|
|
42649
42649
|
loading(e, n) {
|
|
42650
|
-
|
|
42650
|
+
on("trackevent", {
|
|
42651
42651
|
eventName: "pageview",
|
|
42652
42652
|
eventParams: {
|
|
42653
42653
|
product: "checkout",
|
|
@@ -42659,7 +42659,7 @@ class Si {
|
|
|
42659
42659
|
}
|
|
42660
42660
|
/** PV - MEDIOS DE PAGO **/
|
|
42661
42661
|
paymentMethodSelection(e, n) {
|
|
42662
|
-
|
|
42662
|
+
on("trackevent", {
|
|
42663
42663
|
eventName: "pageview",
|
|
42664
42664
|
eventParams: {
|
|
42665
42665
|
product: "checkout",
|
|
@@ -42671,7 +42671,7 @@ class Si {
|
|
|
42671
42671
|
}
|
|
42672
42672
|
/** CLICK - MEDIO DE PAGO **/
|
|
42673
42673
|
clickCreditOrDebitCard(e, n) {
|
|
42674
|
-
|
|
42674
|
+
on("trackevent", {
|
|
42675
42675
|
eventName: "click",
|
|
42676
42676
|
eventParams: {
|
|
42677
42677
|
product: "checkout",
|
|
@@ -42683,8 +42683,21 @@ class Si {
|
|
|
42683
42683
|
});
|
|
42684
42684
|
}
|
|
42685
42685
|
/** CLICK - MEDIO DE PAGO **/
|
|
42686
|
+
clickA2A(e, n) {
|
|
42687
|
+
on("trackevent", {
|
|
42688
|
+
eventName: "click",
|
|
42689
|
+
eventParams: {
|
|
42690
|
+
product: "checkout",
|
|
42691
|
+
section: "choose_payment_method",
|
|
42692
|
+
element: "a2a",
|
|
42693
|
+
mode: e,
|
|
42694
|
+
paymenttype: this.resolvePaymentType(n)
|
|
42695
|
+
}
|
|
42696
|
+
});
|
|
42697
|
+
}
|
|
42698
|
+
/** CLICK - MEDIO DE PAGO **/
|
|
42686
42699
|
clickModo(e, n) {
|
|
42687
|
-
|
|
42700
|
+
on("trackevent", {
|
|
42688
42701
|
eventName: "click",
|
|
42689
42702
|
eventParams: {
|
|
42690
42703
|
product: "checkout",
|
|
@@ -42697,7 +42710,7 @@ class Si {
|
|
|
42697
42710
|
}
|
|
42698
42711
|
/** PV - CARD LIST **/
|
|
42699
42712
|
cardSaved(e, n) {
|
|
42700
|
-
|
|
42713
|
+
on("trackevent", {
|
|
42701
42714
|
eventName: "pageview",
|
|
42702
42715
|
eventParams: {
|
|
42703
42716
|
product: "checkout",
|
|
@@ -42709,7 +42722,7 @@ class Si {
|
|
|
42709
42722
|
}
|
|
42710
42723
|
/** CLICK - HACIA EL FORM DESDE CARD LIST **/
|
|
42711
42724
|
chooseFormInCardList(e, n) {
|
|
42712
|
-
|
|
42725
|
+
on("trackevent", {
|
|
42713
42726
|
eventName: "click",
|
|
42714
42727
|
eventParams: {
|
|
42715
42728
|
product: "checkout",
|
|
@@ -42722,7 +42735,7 @@ class Si {
|
|
|
42722
42735
|
}
|
|
42723
42736
|
/** CLICK - CARD LIST **/
|
|
42724
42737
|
chooseCardSaved(e, n, r) {
|
|
42725
|
-
|
|
42738
|
+
on("trackevent", {
|
|
42726
42739
|
eventName: "click",
|
|
42727
42740
|
eventParams: {
|
|
42728
42741
|
product: "checkout",
|
|
@@ -42736,7 +42749,7 @@ class Si {
|
|
|
42736
42749
|
}
|
|
42737
42750
|
/** PV - ENTER DATA FORMULARIO */
|
|
42738
42751
|
enterCardData(e, n) {
|
|
42739
|
-
|
|
42752
|
+
on("trackevent", {
|
|
42740
42753
|
eventName: "pageview",
|
|
42741
42754
|
eventParams: {
|
|
42742
42755
|
product: "checkout",
|
|
@@ -42748,7 +42761,7 @@ class Si {
|
|
|
42748
42761
|
}
|
|
42749
42762
|
/** CLICK- ENTER DATA FORMULARIO */
|
|
42750
42763
|
clickContinueAfterData(e, n, r, s) {
|
|
42751
|
-
|
|
42764
|
+
on("trackevent", {
|
|
42752
42765
|
eventName: "click",
|
|
42753
42766
|
eventParams: {
|
|
42754
42767
|
product: "checkout",
|
|
@@ -42763,7 +42776,7 @@ class Si {
|
|
|
42763
42776
|
}
|
|
42764
42777
|
/** PV - INSTALLMENT PLANS */
|
|
42765
42778
|
screenSelectInstallments(e, n) {
|
|
42766
|
-
|
|
42779
|
+
on("trackevent", {
|
|
42767
42780
|
eventName: "pageview",
|
|
42768
42781
|
eventParams: {
|
|
42769
42782
|
product: "checkout",
|
|
@@ -42776,7 +42789,7 @@ class Si {
|
|
|
42776
42789
|
}
|
|
42777
42790
|
/** CLICK - INSTALLEMNTS*/
|
|
42778
42791
|
selectInstallments(e, n) {
|
|
42779
|
-
|
|
42792
|
+
on("trackevent", {
|
|
42780
42793
|
eventName: "click",
|
|
42781
42794
|
eventParams: {
|
|
42782
42795
|
product: "checkout",
|
|
@@ -42790,7 +42803,7 @@ class Si {
|
|
|
42790
42803
|
}
|
|
42791
42804
|
/** PV - RESUMEN DE PAGO*/
|
|
42792
42805
|
paymentSummary(e, n, r) {
|
|
42793
|
-
|
|
42806
|
+
on("trackevent", {
|
|
42794
42807
|
eventName: "pageview",
|
|
42795
42808
|
eventParams: {
|
|
42796
42809
|
product: "checkout",
|
|
@@ -42803,7 +42816,7 @@ class Si {
|
|
|
42803
42816
|
}
|
|
42804
42817
|
/** CLICK - PAGAR RESUMEN DE PAGO */
|
|
42805
42818
|
clickPay(e, n, r, s) {
|
|
42806
|
-
|
|
42819
|
+
on("trackevent", {
|
|
42807
42820
|
eventName: "click",
|
|
42808
42821
|
eventParams: {
|
|
42809
42822
|
product: "checkout",
|
|
@@ -42818,7 +42831,7 @@ class Si {
|
|
|
42818
42831
|
}
|
|
42819
42832
|
/** PV - PROCESANDO EL PAGO */
|
|
42820
42833
|
processingPayment(e, n, r, s) {
|
|
42821
|
-
|
|
42834
|
+
on("trackevent", {
|
|
42822
42835
|
eventName: "pageview",
|
|
42823
42836
|
eventParams: {
|
|
42824
42837
|
product: "checkout",
|
|
@@ -42830,26 +42843,25 @@ class Si {
|
|
|
42830
42843
|
}
|
|
42831
42844
|
});
|
|
42832
42845
|
}
|
|
42833
|
-
paymentResult(e, n, r, s, i
|
|
42834
|
-
|
|
42846
|
+
paymentResult(e, n, r, s, i) {
|
|
42847
|
+
on("trackevent", {
|
|
42835
42848
|
eventName: "pageview",
|
|
42836
42849
|
eventParams: {
|
|
42837
42850
|
product: "checkout",
|
|
42838
42851
|
section: "payment_result",
|
|
42839
|
-
subsection:
|
|
42852
|
+
subsection: i ? i === "APPROVED" ? "payment_confirmation" : "payment_not_processed" : "service_failed",
|
|
42840
42853
|
method: this.resolveCard(n),
|
|
42841
42854
|
paymentinput: e,
|
|
42842
42855
|
mode: s,
|
|
42843
42856
|
paymentstage: "completed_attempt",
|
|
42844
42857
|
paymenttype: this.resolvePaymentType(r),
|
|
42845
|
-
|
|
42846
|
-
statusResponsePayment: o
|
|
42858
|
+
statusResponsePayment: i
|
|
42847
42859
|
}
|
|
42848
42860
|
});
|
|
42849
42861
|
}
|
|
42850
42862
|
/** CLICK - DESCARGA COMPROBANTE DE PAGO */
|
|
42851
42863
|
clickDownloadReceipt(e, n, r, s) {
|
|
42852
|
-
|
|
42864
|
+
on("trackevent", {
|
|
42853
42865
|
eventName: "click",
|
|
42854
42866
|
eventParams: {
|
|
42855
42867
|
product: "checkout",
|
|
@@ -42865,7 +42877,7 @@ class Si {
|
|
|
42865
42877
|
// TC/TD PANTALLAS ERROR
|
|
42866
42878
|
// PV - Es una de las pantallas que existe si hay un problema en el sistema, te permite reintentar
|
|
42867
42879
|
servicePaymentFailed(e, n) {
|
|
42868
|
-
|
|
42880
|
+
on("trackevent", {
|
|
42869
42881
|
eventName: "error",
|
|
42870
42882
|
eventParams: {
|
|
42871
42883
|
product: "checkout",
|
|
@@ -42877,7 +42889,7 @@ class Si {
|
|
|
42877
42889
|
}
|
|
42878
42890
|
// CLICK - Es una de las pantallas que existe si hay un problema en el sistema, te permite reintentar
|
|
42879
42891
|
servicePaymentFailedRetry(e, n, r) {
|
|
42880
|
-
|
|
42892
|
+
on("trackevent", {
|
|
42881
42893
|
eventName: "click",
|
|
42882
42894
|
eventParams: {
|
|
42883
42895
|
product: "checkout",
|
|
@@ -42891,7 +42903,7 @@ class Si {
|
|
|
42891
42903
|
/** FLUJO QR */
|
|
42892
42904
|
/** 1) medio de pago QR */
|
|
42893
42905
|
choisePaymentMethodQR(e, n) {
|
|
42894
|
-
|
|
42906
|
+
on("trackevent", {
|
|
42895
42907
|
eventName: "click",
|
|
42896
42908
|
eventParams: {
|
|
42897
42909
|
product: "checkout",
|
|
@@ -42904,22 +42916,24 @@ class Si {
|
|
|
42904
42916
|
});
|
|
42905
42917
|
}
|
|
42906
42918
|
paymentResultQR(e, n, r, s) {
|
|
42907
|
-
|
|
42919
|
+
const i = s.name === "APPROVED" ? "payment_confirmation" : "payment_not_processed";
|
|
42920
|
+
on("trackevent", {
|
|
42908
42921
|
eventName: "pageview",
|
|
42909
42922
|
eventParams: {
|
|
42910
42923
|
product: "checkout",
|
|
42911
42924
|
section: "payment_result",
|
|
42912
|
-
|
|
42925
|
+
paymentstage: "completed_attempt",
|
|
42926
|
+
subsection: i,
|
|
42913
42927
|
method: "qr",
|
|
42914
42928
|
paymentinput: e,
|
|
42915
42929
|
walletname: n,
|
|
42916
42930
|
paymenttype: this.resolvePaymentType(r),
|
|
42917
|
-
|
|
42931
|
+
statusResponsePayment: s.name
|
|
42918
42932
|
}
|
|
42919
42933
|
});
|
|
42920
42934
|
}
|
|
42921
42935
|
openReceiptQR(e, n, r, s, i) {
|
|
42922
|
-
|
|
42936
|
+
on("trackevent", {
|
|
42923
42937
|
eventName: "click",
|
|
42924
42938
|
eventParams: {
|
|
42925
42939
|
product: "checkout",
|
|
@@ -42935,7 +42949,7 @@ class Si {
|
|
|
42935
42949
|
});
|
|
42936
42950
|
}
|
|
42937
42951
|
webSocketDisconnet(e) {
|
|
42938
|
-
|
|
42952
|
+
on("trackevent", {
|
|
42939
42953
|
eventName: "error",
|
|
42940
42954
|
eventParams: {
|
|
42941
42955
|
product: "checkout",
|
|
@@ -42946,7 +42960,7 @@ class Si {
|
|
|
42946
42960
|
});
|
|
42947
42961
|
}
|
|
42948
42962
|
paymentnotProcessedRetryQR(e) {
|
|
42949
|
-
|
|
42963
|
+
on("trackevent", {
|
|
42950
42964
|
eventName: "click",
|
|
42951
42965
|
eventParams: {
|
|
42952
42966
|
product: "checkout",
|
|
@@ -42959,7 +42973,7 @@ class Si {
|
|
|
42959
42973
|
}
|
|
42960
42974
|
/** ACCIONES BACK*/
|
|
42961
42975
|
clickBackEnterData(e, n) {
|
|
42962
|
-
|
|
42976
|
+
on("trackevent", {
|
|
42963
42977
|
eventName: "click",
|
|
42964
42978
|
eventParams: {
|
|
42965
42979
|
product: "checkout",
|
|
@@ -42971,7 +42985,7 @@ class Si {
|
|
|
42971
42985
|
});
|
|
42972
42986
|
}
|
|
42973
42987
|
clickBackInstallemntSection(e, n) {
|
|
42974
|
-
|
|
42988
|
+
on("trackevent", {
|
|
42975
42989
|
eventName: "click",
|
|
42976
42990
|
eventParams: {
|
|
42977
42991
|
product: "checkout",
|
|
@@ -42984,7 +42998,7 @@ class Si {
|
|
|
42984
42998
|
}
|
|
42985
42999
|
// si toc back en la PV de savedcard no tiene cargada tarjetas
|
|
42986
43000
|
clickBackCardList(e) {
|
|
42987
|
-
|
|
43001
|
+
on("trackevent", {
|
|
42988
43002
|
eventName: "click",
|
|
42989
43003
|
eventParams: {
|
|
42990
43004
|
product: "checkout",
|
|
@@ -42995,7 +43009,7 @@ class Si {
|
|
|
42995
43009
|
});
|
|
42996
43010
|
}
|
|
42997
43011
|
clickBackPaymentSummary(e, n) {
|
|
42998
|
-
|
|
43012
|
+
on("trackevent", {
|
|
42999
43013
|
eventName: "click",
|
|
43000
43014
|
eventParams: {
|
|
43001
43015
|
product: "checkout",
|
|
@@ -43009,7 +43023,7 @@ class Si {
|
|
|
43009
43023
|
// BACK QR
|
|
43010
43024
|
// Elegir otro medio de pago QR */
|
|
43011
43025
|
chooseAnotherMethod(e) {
|
|
43012
|
-
|
|
43026
|
+
on("trackevent", {
|
|
43013
43027
|
eventName: "click",
|
|
43014
43028
|
eventParams: {
|
|
43015
43029
|
product: "checkout",
|
|
@@ -46462,7 +46476,7 @@ let Ts = class extends Ze {
|
|
|
46462
46476
|
this.state.payment = a, this.payfacContext.payment = a, this.paymentInput = this.state.payment.payment_input;
|
|
46463
46477
|
const d = this.state.payment.payment_type;
|
|
46464
46478
|
this.walletName = this.state.payment.payment_method.wallet_name;
|
|
46465
|
-
const l = this.
|
|
46479
|
+
const l = this.state.payment.status;
|
|
46466
46480
|
this.tracking.paymentResultQR(this.paymentInput, this.walletName, d, l);
|
|
46467
46481
|
} catch (i) {
|
|
46468
46482
|
console.log(i), _t("PAYMENT_ERROR", "Payment failed.");
|
|
@@ -46578,19 +46592,19 @@ let Ts = class extends Ze {
|
|
|
46578
46592
|
}), this.requestUpdate();
|
|
46579
46593
|
}
|
|
46580
46594
|
getInpustAvailableClickBackCardList() {
|
|
46581
|
-
const { paymentinputsavailable: t } =
|
|
46595
|
+
const { paymentinputsavailable: t } = In(this.tracking, this.payfacContext.paymentRequest);
|
|
46582
46596
|
this.tracking.clickBackCardList(t);
|
|
46583
46597
|
}
|
|
46584
46598
|
getInpustAvailableBackPaymentSummary() {
|
|
46585
|
-
const { paymentinputsavailable: t } =
|
|
46599
|
+
const { paymentinputsavailable: t } = In(this.tracking, this.payfacContext.paymentRequest);
|
|
46586
46600
|
this.tracking.clickBackPaymentSummary(this.state.binData.installment.type, t);
|
|
46587
46601
|
}
|
|
46588
46602
|
getInpustAvailableClickBackInstallemntSection() {
|
|
46589
|
-
const { paymentinputsavailable: t } =
|
|
46603
|
+
const { paymentinputsavailable: t } = In(this.tracking, this.payfacContext.paymentRequest);
|
|
46590
46604
|
this.tracking.clickBackInstallemntSection(this.state.binData.installment.type, t);
|
|
46591
46605
|
}
|
|
46592
46606
|
getInpustAvailableClickBackEnterData() {
|
|
46593
|
-
const { paymentinputsavailable: t } =
|
|
46607
|
+
const { paymentinputsavailable: t } = In(this.tracking, this.payfacContext.paymentRequest);
|
|
46594
46608
|
this.tracking.clickBackEnterData(this.state.binData.installment.type, t);
|
|
46595
46609
|
}
|
|
46596
46610
|
showAlertComponent() {
|
|
@@ -46758,11 +46772,11 @@ let VA = class extends Ze {
|
|
|
46758
46772
|
});
|
|
46759
46773
|
}
|
|
46760
46774
|
getInpustAvailableScreenSelectInstallments() {
|
|
46761
|
-
const { paymentinputsavailable: t } =
|
|
46775
|
+
const { paymentinputsavailable: t } = In(this.tracking, this.payfacContext.paymentRequest);
|
|
46762
46776
|
this.tracking.screenSelectInstallments(t, this.payfacContext.paymentRequest.payment_type);
|
|
46763
46777
|
}
|
|
46764
46778
|
getInpustAvailableSelectInstallments() {
|
|
46765
|
-
const { paymentinputsavailable: t } =
|
|
46779
|
+
const { paymentinputsavailable: t } = In(this.tracking, this.payfacContext.paymentRequest);
|
|
46766
46780
|
this.tracking.selectInstallments(t, this.payfacContext.paymentRequest.payment_type);
|
|
46767
46781
|
}
|
|
46768
46782
|
updateSharedState(t) {
|
|
@@ -47258,10 +47272,11 @@ let Ta = class extends Ze {
|
|
|
47258
47272
|
});
|
|
47259
47273
|
}
|
|
47260
47274
|
getInpustAvailablePaymentSummary() {
|
|
47261
|
-
|
|
47262
|
-
this.tracking.
|
|
47275
|
+
var n, r;
|
|
47276
|
+
const { paymentinputsavailable: t } = In(this.tracking, this.payfacContext.paymentRequest), e = (r = (n = this.state.binData) == null ? void 0 : n.installment) == null ? void 0 : r.type;
|
|
47277
|
+
e && this.tracking.paymentSummary(
|
|
47263
47278
|
t,
|
|
47264
|
-
|
|
47279
|
+
e,
|
|
47265
47280
|
this.payfacContext.paymentRequest.payment_type
|
|
47266
47281
|
);
|
|
47267
47282
|
}
|
|
@@ -47515,11 +47530,11 @@ class W0 extends Ze {
|
|
|
47515
47530
|
});
|
|
47516
47531
|
}
|
|
47517
47532
|
getInpustAvailable() {
|
|
47518
|
-
const { paymentinputsavailable: e } =
|
|
47533
|
+
const { paymentinputsavailable: e } = In(this.tracking, this.payfacContext.paymentRequest);
|
|
47519
47534
|
this.tracking.paymentMethodSelection(e, this.payfacContext.paymentRequest.payment_type);
|
|
47520
47535
|
}
|
|
47521
47536
|
getInpustAvailableMODO() {
|
|
47522
|
-
const { paymentinputsavailable: e } =
|
|
47537
|
+
const { paymentinputsavailable: e } = In(this.tracking, this.payfacContext.paymentRequest);
|
|
47523
47538
|
this.tracking.clickModo(e, this.payfacContext.paymentRequest.payment_type);
|
|
47524
47539
|
}
|
|
47525
47540
|
}
|
|
@@ -47557,17 +47572,26 @@ let s2 = class extends W0 {
|
|
|
47557
47572
|
}
|
|
47558
47573
|
toggleShowPersonalDataForm() {
|
|
47559
47574
|
const t = !this.state.scofEnabled || this.state.userCardData.list.length === 0 ? Ne.STANDARD_FORM : Ne.CARD_LIST;
|
|
47560
|
-
this.goTo(t), this.
|
|
47575
|
+
this.goTo(t), this.choiseCreditOrDebitCard();
|
|
47561
47576
|
}
|
|
47562
|
-
|
|
47563
|
-
const { paymentinputsavailable: t } =
|
|
47577
|
+
choiseCreditOrDebitCard() {
|
|
47578
|
+
const { paymentinputsavailable: t } = In(this.tracking, this.payfacContext.paymentRequest);
|
|
47564
47579
|
this.tracking.clickCreditOrDebitCard(t, this.payfacContext.paymentRequest.payment_type);
|
|
47565
47580
|
}
|
|
47581
|
+
choiseA2A() {
|
|
47582
|
+
const { paymentinputsavailable: t } = In(this.tracking, this.payfacContext.paymentRequest);
|
|
47583
|
+
this.tracking.clickA2A(t, this.payfacContext.paymentRequest.payment_type);
|
|
47584
|
+
}
|
|
47585
|
+
// agregue este metodo para escuchar cuando se renderiza el qr
|
|
47586
|
+
handleQrClick() {
|
|
47587
|
+
const { paymentinputsavailable: t } = In(this.tracking, this.payfacContext.paymentRequest);
|
|
47588
|
+
this.tracking.choisePaymentMethodQR(t, this.payfacContext.paymentRequest.payment_type), this.goTo(Ne.QR);
|
|
47589
|
+
}
|
|
47566
47590
|
deepLinkModoConnection() {
|
|
47567
47591
|
return ue(this, null, function* () {
|
|
47568
47592
|
var e;
|
|
47569
47593
|
const t = this.state.userAccountsData.list.length > 0 ? Ne.ACCOUNT_LIST : Ne.PCP_LIST;
|
|
47570
|
-
this.createEvent("button-pushed", t), ie.info("goTo", {
|
|
47594
|
+
this.createEvent("button-pushed", t), this.choiseA2A(), ie.info("goTo", {
|
|
47571
47595
|
context: this.payfacContext.context,
|
|
47572
47596
|
origin_sdk: P3,
|
|
47573
47597
|
tag: "GO_TO",
|
|
@@ -47613,11 +47637,6 @@ let s2 = class extends W0 {
|
|
|
47613
47637
|
@click="${() => this.handleQrClick()}"
|
|
47614
47638
|
></card-home>` : q``;
|
|
47615
47639
|
}
|
|
47616
|
-
// agregue este metodo para escuchar cuando se renderiza el qr
|
|
47617
|
-
handleQrClick() {
|
|
47618
|
-
const { paymentinputsavailable: t } = Tn(this.tracking, this.payfacContext.paymentRequest);
|
|
47619
|
-
this.tracking.choisePaymentMethodQR(t, this.payfacContext.paymentRequest.payment_type), this.goTo(Ne.QR);
|
|
47620
|
-
}
|
|
47621
47640
|
renderAccountToAccountAvailable() {
|
|
47622
47641
|
return this.isAccountToAccountAvailable && this.state.a2aEnabled ? q`<card-home
|
|
47623
47642
|
class="clickeable"
|
|
@@ -47708,15 +47727,15 @@ let $i = class extends Ze {
|
|
|
47708
47727
|
})), this.requestUpdate();
|
|
47709
47728
|
}
|
|
47710
47729
|
getInpustAvailableMethod() {
|
|
47711
|
-
const { paymentinputsavailable: t } =
|
|
47730
|
+
const { paymentinputsavailable: t } = In(this.tracking, this.payfacContext.paymentRequest);
|
|
47712
47731
|
this.tracking.cardSaved(t, this.payfacContext.paymentRequest.payment_type);
|
|
47713
47732
|
}
|
|
47714
47733
|
getInpustAvailableChooseFormInCardList() {
|
|
47715
|
-
const { paymentinputsavailable: t } =
|
|
47734
|
+
const { paymentinputsavailable: t } = In(this.tracking, this.payfacContext.paymentRequest);
|
|
47716
47735
|
this.tracking.chooseFormInCardList(t, this.payfacContext.paymentRequest.payment_type);
|
|
47717
47736
|
}
|
|
47718
47737
|
getInpustAvailableChooseCardSaved() {
|
|
47719
|
-
const { paymentinputsavailable: t } =
|
|
47738
|
+
const { paymentinputsavailable: t } = In(this.tracking, this.payfacContext.paymentRequest);
|
|
47720
47739
|
this.tracking.chooseCardSaved(
|
|
47721
47740
|
this.state.binData.installment.type,
|
|
47722
47741
|
t,
|
|
@@ -50166,7 +50185,7 @@ let uh = class extends Ze {
|
|
|
50166
50185
|
// )
|
|
50167
50186
|
// }
|
|
50168
50187
|
getInpustAvailableAnotherMethod() {
|
|
50169
|
-
const { paymentinputsavailable: t } =
|
|
50188
|
+
const { paymentinputsavailable: t } = In(this.tracking, this.payfacContext.paymentRequest);
|
|
50170
50189
|
this.tracking.chooseAnotherMethod(t);
|
|
50171
50190
|
}
|
|
50172
50191
|
firstUpdated() {
|
|
@@ -50849,11 +50868,11 @@ let eo = class t extends Ze {
|
|
|
50849
50868
|
});
|
|
50850
50869
|
}
|
|
50851
50870
|
getPaymentsFailedInpustAvailable() {
|
|
50852
|
-
const { paymentinputsavailable: e } =
|
|
50871
|
+
const { paymentinputsavailable: e } = In(this.tracking, this.payfacContext.paymentRequest);
|
|
50853
50872
|
this.tracking.servicePaymentFailed(e, this.payfacContext.paymentRequest.payment_type);
|
|
50854
50873
|
}
|
|
50855
50874
|
getPaymentsPayInpustAvailable() {
|
|
50856
|
-
const { paymentinputsavailable: e } =
|
|
50875
|
+
const { paymentinputsavailable: e } = In(this.tracking, this.payfacContext.paymentRequest);
|
|
50857
50876
|
this.tracking.clickPay(
|
|
50858
50877
|
this.state.binData.installment.type,
|
|
50859
50878
|
this.paymentInput,
|
|
@@ -50862,7 +50881,7 @@ let eo = class t extends Ze {
|
|
|
50862
50881
|
);
|
|
50863
50882
|
}
|
|
50864
50883
|
getPaymentsProcessingInpustAvailable() {
|
|
50865
|
-
const { paymentinputsavailable: e } =
|
|
50884
|
+
const { paymentinputsavailable: e } = In(this.tracking, this.payfacContext.paymentRequest);
|
|
50866
50885
|
this.tracking.processingPayment(
|
|
50867
50886
|
this.state.binData.installment.type,
|
|
50868
50887
|
this.paymentInput,
|
|
@@ -50871,18 +50890,17 @@ let eo = class t extends Ze {
|
|
|
50871
50890
|
);
|
|
50872
50891
|
}
|
|
50873
50892
|
getPaymentsPaymentResult() {
|
|
50874
|
-
var l, c, u, h, p, f
|
|
50893
|
+
var d, l, c, u, h, p, f;
|
|
50875
50894
|
const e = this.payfacContext.paymentRequest, n = this.state.paymentResponse;
|
|
50876
50895
|
if (!e)
|
|
50877
50896
|
return;
|
|
50878
|
-
const r = (
|
|
50897
|
+
const r = (l = (d = n == null ? void 0 : n.data) == null ? void 0 : d.payment_input) != null ? l : "unknown", s = (h = (u = (c = this.state.binData) == null ? void 0 : c.installment) == null ? void 0 : u.type) != null ? h : "unknown", i = (p = e.payment_type) != null ? p : "unknown", o = (f = n == null ? void 0 : n.data) == null ? void 0 : f.status.name, { paymentinputsavailable: a } = In(this.tracking, e);
|
|
50879
50898
|
this.tracking.paymentResult(
|
|
50880
50899
|
r,
|
|
50881
50900
|
s,
|
|
50882
50901
|
i,
|
|
50883
|
-
|
|
50884
|
-
o
|
|
50885
|
-
a
|
|
50902
|
+
a != null ? a : "unknown",
|
|
50903
|
+
o
|
|
50886
50904
|
);
|
|
50887
50905
|
}
|
|
50888
50906
|
directPaymentTokenized() {
|
|
@@ -55953,13 +55971,13 @@ const SX = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
55953
55971
|
__proto__: null,
|
|
55954
55972
|
default: u_
|
|
55955
55973
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
55956
|
-
function
|
|
55974
|
+
function an(t) {
|
|
55957
55975
|
"@babel/helpers - typeof";
|
|
55958
|
-
return
|
|
55976
|
+
return an = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|
|
55959
55977
|
return typeof e;
|
|
55960
55978
|
} : function(e) {
|
|
55961
55979
|
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
55962
|
-
},
|
|
55980
|
+
}, an(t);
|
|
55963
55981
|
}
|
|
55964
55982
|
var to = Uint8Array, Gs = Uint16Array, p_ = Int32Array, h_ = new to([
|
|
55965
55983
|
0,
|
|
@@ -59268,7 +59286,7 @@ function Rf(t) {
|
|
|
59268
59286
|
e.initMouseEvent("click", !0, !0, window, 0, 0, 0, 80, 20, !1, !1, !1, !1, 0, null), t.dispatchEvent(e);
|
|
59269
59287
|
}
|
|
59270
59288
|
}
|
|
59271
|
-
var jd = wt.saveAs || ((typeof window == "undefined" ? "undefined" :
|
|
59289
|
+
var jd = wt.saveAs || ((typeof window == "undefined" ? "undefined" : an(window)) !== "object" || window !== wt ? function() {
|
|
59272
59290
|
} : typeof HTMLAnchorElement != "undefined" && "download" in HTMLAnchorElement.prototype ? function(t, e, n) {
|
|
59273
59291
|
var r = wt.URL || wt.webkitURL, s = document.createElement("a");
|
|
59274
59292
|
e = e || t.name || "download", s.download = e, s.rel = "noopener", typeof t == "string" ? (s.href = t, s.origin !== location.origin ? MB(s.href) ? Lb(t, e, n) : Rf(s, s.target = "_blank") : Rf(s)) : (s.href = r.createObjectURL(t), setTimeout(function() {
|
|
@@ -59288,13 +59306,13 @@ var jd = wt.saveAs || ((typeof window == "undefined" ? "undefined" : on(window))
|
|
|
59288
59306
|
}
|
|
59289
59307
|
else
|
|
59290
59308
|
navigator.msSaveOrOpenBlob(function(s, i) {
|
|
59291
|
-
return i === void 0 ? i = { autoBom: !1 } :
|
|
59309
|
+
return i === void 0 ? i = { autoBom: !1 } : an(i) !== "object" && (hn.warn("Deprecated: Expected third argument to be a object"), i = { autoBom: !i }), i.autoBom && /^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(s.type) ? new Blob([String.fromCharCode(65279), s], { type: s.type }) : s;
|
|
59292
59310
|
}(t, n), e);
|
|
59293
59311
|
} : function(t, e, n, r) {
|
|
59294
59312
|
if ((r = r || open("", "_blank")) && (r.document.title = r.document.body.innerText = "downloading..."), typeof t == "string")
|
|
59295
59313
|
return Lb(t, e, n);
|
|
59296
59314
|
var s = t.type === "application/octet-stream", i = /constructor/i.test(wt.HTMLElement) || wt.safari, o = /CriOS\/[\d]+/.test(navigator.userAgent);
|
|
59297
|
-
if ((o || s && i) && (typeof FileReader == "undefined" ? "undefined" :
|
|
59315
|
+
if ((o || s && i) && (typeof FileReader == "undefined" ? "undefined" : an(FileReader)) === "object") {
|
|
59298
59316
|
var a = new FileReader();
|
|
59299
59317
|
a.onloadend = function() {
|
|
59300
59318
|
var c = a.result;
|
|
@@ -59464,7 +59482,7 @@ function yA(t) {
|
|
|
59464
59482
|
return e;
|
|
59465
59483
|
}
|
|
59466
59484
|
function KB(t) {
|
|
59467
|
-
if (
|
|
59485
|
+
if (an(t) !== "object")
|
|
59468
59486
|
throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");
|
|
59469
59487
|
var e = {};
|
|
59470
59488
|
this.subscribe = function(n, r, s) {
|
|
@@ -59519,7 +59537,7 @@ function _A(t, e, n, r, s) {
|
|
|
59519
59537
|
}
|
|
59520
59538
|
function pt(t) {
|
|
59521
59539
|
var e, n = typeof arguments[0] == "string" ? arguments[0] : "p", r = arguments[1], s = arguments[2], i = arguments[3], o = [], a = 1, d = 16, l = "S", c = null;
|
|
59522
|
-
|
|
59540
|
+
an(t = t || {}) === "object" && (n = t.orientation, r = t.unit || r, s = t.format || s, i = t.compress || t.compressPdf || i, (c = t.encryption || null) !== null && (c.userPassword = c.userPassword || "", c.ownerPassword = c.ownerPassword || "", c.userPermissions = c.userPermissions || []), a = typeof t.userUnit == "number" ? Math.abs(t.userUnit) : 1, t.precision !== void 0 && (e = t.precision), t.floatPrecision !== void 0 && (d = t.floatPrecision), l = t.defaultPathOperation || "S"), o = t.filters || (i === !0 ? ["FlateEncode"] : o), r = r || "mm", n = ("" + (n || "P")).toLowerCase();
|
|
59523
59541
|
var u = t.putOnlyUsedFonts || !1, h = {}, p = { internal: {}, __private__: {} };
|
|
59524
59542
|
p.__private__.PubSub = KB;
|
|
59525
59543
|
var f = "1.3", m = p.__private__.getPdfVersion = function() {
|
|
@@ -59865,7 +59883,7 @@ function pt(t) {
|
|
|
59865
59883
|
}
|
|
59866
59884
|
if (te === void 0 || je === void 0 && J === te && te === ce)
|
|
59867
59885
|
I = typeof J == "string" ? J + " " + Le[0] : y.precision === 2 ? U(J / 255) + " " + Le[0] : Q(J / 255) + " " + Le[0];
|
|
59868
|
-
else if (je === void 0 ||
|
|
59886
|
+
else if (je === void 0 || an(je) === "object") {
|
|
59869
59887
|
if (je && !isNaN(je.a) && je.a === 0)
|
|
59870
59888
|
return ["1.", "1.", "1.", Le[1]].join(" ");
|
|
59871
59889
|
I = typeof J == "string" ? [J, te, ce, Le[1]].join(" ") : y.precision === 2 ? [U(J / 255), U(te / 255), U(ce / 255), Le[1]].join(" ") : [Q(J / 255), Q(te / 255), Q(ce / 255), Le[1]].join(" ");
|
|
@@ -59891,14 +59909,14 @@ function pt(t) {
|
|
|
59891
59909
|
vt.push({ key: "Filter", value: "[" + Ut + "]" });
|
|
59892
59910
|
for (var Jt = 0; Jt < vt.length; Jt += 1)
|
|
59893
59911
|
if (vt[Jt].key === "DecodeParms") {
|
|
59894
|
-
for (var
|
|
59895
|
-
|
|
59896
|
-
|
|
59912
|
+
for (var Tn = [], ir = 0; ir < dt.reverseChain.split("/").length - 1; ir += 1)
|
|
59913
|
+
Tn.push("null");
|
|
59914
|
+
Tn.push(vt[Jt].value), vt[Jt].value = "[" + Tn.join(" ") + "]";
|
|
59897
59915
|
}
|
|
59898
59916
|
}
|
|
59899
59917
|
Z("<<");
|
|
59900
|
-
for (var
|
|
59901
|
-
Z("/" + vt[
|
|
59918
|
+
for (var dn = 0; dn < vt.length; dn++)
|
|
59919
|
+
Z("/" + vt[dn].key + " " + vt[dn].value);
|
|
59902
59920
|
Z(">>"), dt.data.length !== 0 && (Z("stream"), Z(rt(dt.data)), Z("endstream"));
|
|
59903
59921
|
}, sd = p.__private__.putPage = function(y) {
|
|
59904
59922
|
var I = y.number, J = y.data, te = y.objId, ce = y.contentsObjId;
|
|
@@ -59938,13 +59956,13 @@ Q`), Ir(ce, !0), oi({ data: je, filters: Fi(), objectId: ce }), Z("endobj"), te;
|
|
|
59938
59956
|
Le.unshift(Jt);
|
|
59939
59957
|
}
|
|
59940
59958
|
if (Le[Le.length - 1].offset != 1) {
|
|
59941
|
-
var
|
|
59942
|
-
Le.push(
|
|
59959
|
+
var Tn = { offset: 1, color: Le[Le.length - 1].color };
|
|
59960
|
+
Le.push(Tn);
|
|
59943
59961
|
}
|
|
59944
|
-
for (var ir = "",
|
|
59945
|
-
for (dt = vt[pr]; dt > Le[
|
|
59946
|
-
|
|
59947
|
-
var or = Le[
|
|
59962
|
+
for (var ir = "", dn = 0, pr = 0; pr < vt.length; pr++) {
|
|
59963
|
+
for (dt = vt[pr]; dt > Le[dn + 1].offset; )
|
|
59964
|
+
dn++;
|
|
59965
|
+
var or = Le[dn].offset, Tr = (dt - or) / (Le[dn + 1].offset - or), ra = Le[dn].color, Ga = Le[dn + 1].color;
|
|
59948
59966
|
ir += ee(Math.round((1 - Tr) * ra[0] + Tr * Ga[0]).toString(16)) + ee(Math.round((1 - Tr) * ra[1] + Tr * Ga[1]).toString(16)) + ee(Math.round((1 - Tr) * ra[2] + Tr * Ga[2]).toString(16));
|
|
59949
59967
|
}
|
|
59950
59968
|
return ir.trim();
|
|
@@ -60003,7 +60021,7 @@ Q`), Ir(ce, !0), oi({ data: je, filters: Fi(), objectId: ce }), Z("endobj"), te;
|
|
|
60003
60021
|
return $t.publish("addFont", { font: je, instance: this }), At[je.id] = je, tg(je), je.id;
|
|
60004
60022
|
}, ai = p.__private__.pdfEscape = p.pdfEscape = function(y, I) {
|
|
60005
60023
|
return function(J, te) {
|
|
60006
|
-
var ce, je, Le, rt, dt, vt, Ut, Jt,
|
|
60024
|
+
var ce, je, Le, rt, dt, vt, Ut, Jt, Tn;
|
|
60007
60025
|
if (Le = (te = te || {}).sourceEncoding || "Unicode", dt = te.outputEncoding, (te.autoencode || dt) && At[Ve].metadata && At[Ve].metadata[Le] && At[Ve].metadata[Le].encoding && (rt = At[Ve].metadata[Le].encoding, !dt && At[Ve].encoding && (dt = At[Ve].encoding), !dt && rt.codePages && (dt = rt.codePages[0]), typeof dt == "string" && (dt = rt[dt]), dt)) {
|
|
60008
60026
|
for (Ut = !1, vt = [], ce = 0, je = J.length; ce < je; ce++)
|
|
60009
60027
|
(Jt = dt[J.charCodeAt(ce)]) ? vt.push(String.fromCharCode(Jt)) : vt.push(J[ce]), vt[ce].charCodeAt(0) >> 8 && (Ut = !0);
|
|
@@ -60014,9 +60032,9 @@ Q`), Ir(ce, !0), oi({ data: je, filters: Fi(), objectId: ce }), Z("endobj"), te;
|
|
|
60014
60032
|
if (!Ut)
|
|
60015
60033
|
return J;
|
|
60016
60034
|
for (vt = te.noBOM ? [] : [254, 255], ce = 0, je = J.length; ce < je; ce++) {
|
|
60017
|
-
if ((
|
|
60035
|
+
if ((Tn = (Jt = J.charCodeAt(ce)) >> 8) >> 8)
|
|
60018
60036
|
throw new Error("Character at position " + ce + " of string '" + J + "' exceeds 16bits. Cannot be encoded into UCS-2 BE");
|
|
60019
|
-
vt.push(
|
|
60037
|
+
vt.push(Tn), vt.push(Jt - (Tn << 8));
|
|
60020
60038
|
}
|
|
60021
60039
|
return String.fromCharCode.apply(void 0, vt);
|
|
60022
60040
|
}(y, I).replace(/\\/g, "\\\\").replace(/\(/g, "\\(").replace(/\)/g, "\\)");
|
|
@@ -60170,9 +60188,9 @@ Q`), Ir(ce, !0), oi({ data: je, filters: Fi(), objectId: ce }), Z("endobj"), te;
|
|
|
60170
60188
|
case "dataurlnewwindow":
|
|
60171
60189
|
if (Object.prototype.toString.call(wt) !== "[object Window]")
|
|
60172
60190
|
throw new Error("The option dataurlnewwindow just works in a browser-environment.");
|
|
60173
|
-
var Jt = '<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe src="' + this.output("datauristring", I) + '"></iframe></body></html>',
|
|
60174
|
-
if (
|
|
60175
|
-
return
|
|
60191
|
+
var Jt = '<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe src="' + this.output("datauristring", I) + '"></iframe></body></html>', Tn = wt.open();
|
|
60192
|
+
if (Tn !== null && (Tn.document.write(Jt), Tn.document.title = I.filename), Tn || typeof safari == "undefined")
|
|
60193
|
+
return Tn;
|
|
60176
60194
|
break;
|
|
60177
60195
|
case "datauri":
|
|
60178
60196
|
case "dataurl":
|
|
@@ -60262,16 +60280,16 @@ Q`), Ir(ce, !0), oi({ data: je, filters: Fi(), objectId: ce }), Z("endobj"), te;
|
|
|
60262
60280
|
}, p.deletePage = function() {
|
|
60263
60281
|
return Su.apply(this, arguments), this;
|
|
60264
60282
|
}, p.__private__.text = p.text = function(y, I, J, te, ce) {
|
|
60265
|
-
var je, Le, rt, dt, vt, Ut, Jt,
|
|
60283
|
+
var je, Le, rt, dt, vt, Ut, Jt, Tn, ir, dn = (te = te || {}).scope || this;
|
|
60266
60284
|
if (typeof y == "number" && typeof I == "number" && (typeof J == "string" || Array.isArray(J))) {
|
|
60267
60285
|
var pr = J;
|
|
60268
60286
|
J = I, I = y, y = pr;
|
|
60269
60287
|
}
|
|
60270
|
-
if (arguments[3] instanceof yt == 0 ? (rt = arguments[4], dt = arguments[5],
|
|
60288
|
+
if (arguments[3] instanceof yt == 0 ? (rt = arguments[4], dt = arguments[5], an(Jt = arguments[3]) === "object" && Jt !== null || (typeof rt == "string" && (dt = rt, rt = null), typeof Jt == "string" && (dt = Jt, Jt = null), typeof Jt == "number" && (rt = Jt, Jt = null), te = { flags: Jt, angle: rt, align: dt })) : (D("The transform parameter of text() with a Matrix value"), ir = ce), isNaN(I) || isNaN(J) || y == null)
|
|
60271
60289
|
throw new Error("Invalid arguments passed to jsPDF.text");
|
|
60272
60290
|
if (y.length === 0)
|
|
60273
|
-
return
|
|
60274
|
-
var or, Tr = "", ra = typeof te.lineHeightFactor == "number" ? te.lineHeightFactor : dd, Ga =
|
|
60291
|
+
return dn;
|
|
60292
|
+
var or, Tr = "", ra = typeof te.lineHeightFactor == "number" ? te.lineHeightFactor : dd, Ga = dn.internal.scaleFactor;
|
|
60275
60293
|
function T1(bn) {
|
|
60276
60294
|
return bn = bn.split(" ").join(Array(te.TabLen || 9).join(" ")), ai(bn, Jt);
|
|
60277
60295
|
}
|
|
@@ -60304,7 +60322,7 @@ Q`), Ir(ce, !0), oi({ data: je, filters: Fi(), objectId: ce }), Z("endobj"), te;
|
|
|
60304
60322
|
if (Di === !1)
|
|
60305
60323
|
throw new Error('Type of text must be string or Array. "' + y + '" is not recognized.');
|
|
60306
60324
|
typeof y == "string" && (y = y.match(/[\r?\n]/) ? y.split(/\r\n|\r|\n/g) : [y]);
|
|
60307
|
-
var sa = _ /
|
|
60325
|
+
var sa = _ / dn.internal.scaleFactor, ia = sa * (ra - 1);
|
|
60308
60326
|
switch (te.baseline) {
|
|
60309
60327
|
case "bottom":
|
|
60310
60328
|
J -= ia;
|
|
@@ -60318,8 +60336,8 @@ Q`), Ir(ce, !0), oi({ data: je, filters: Fi(), objectId: ce }), Z("endobj"), te;
|
|
|
60318
60336
|
case "middle":
|
|
60319
60337
|
J += sa / 2 - ia;
|
|
60320
60338
|
}
|
|
60321
|
-
if ((Ut = te.maxWidth || 0) > 0 && (typeof y == "string" ? y =
|
|
60322
|
-
return bn.concat(
|
|
60339
|
+
if ((Ut = te.maxWidth || 0) > 0 && (typeof y == "string" ? y = dn.splitTextToSize(y, Ut) : Object.prototype.toString.call(y) === "[object Array]" && (y = y.reduce(function(bn, vn) {
|
|
60340
|
+
return bn.concat(dn.splitTextToSize(vn, Ut));
|
|
60323
60341
|
}, []))), je = { text: y, x: I, y: J, options: te, mutex: { pdfEscape: ai, activeFontKey: Ve, fonts: At, activeFontSize: _ } }, $t.publish("preProcessText", je), y = je.text, rt = (te = je.options).angle, ir instanceof yt == 0 && rt && typeof rt == "number") {
|
|
60324
60342
|
rt *= Math.PI / 180, te.rotationDirection === 0 && (rt = -rt), E === k && (rt = -rt);
|
|
60325
60343
|
var Lc = Math.cos(rt), Mu = Math.sin(rt);
|
|
@@ -60327,9 +60345,9 @@ Q`), Ir(ce, !0), oi({ data: je, filters: Fi(), objectId: ce }), Z("endobj"), te;
|
|
|
60327
60345
|
} else
|
|
60328
60346
|
rt && rt instanceof yt && (ir = rt);
|
|
60329
60347
|
E !== k || ir || (ir = $o), (vt = te.charSpace || Pc) !== void 0 && (Tr += K(X(vt)) + ` Tc
|
|
60330
|
-
`, this.setCharSpace(this.getCharSpace() || 0)), (
|
|
60348
|
+
`, this.setCharSpace(this.getCharSpace() || 0)), (Tn = te.horizontalScale) !== void 0 && (Tr += K(100 * Tn) + ` Tz
|
|
60331
60349
|
`), te.lang;
|
|
60332
|
-
var ss = -1, ug = te.renderingMode !== void 0 ? te.renderingMode : te.stroke, Qc =
|
|
60350
|
+
var ss = -1, ug = te.renderingMode !== void 0 ? te.renderingMode : te.stroke, Qc = dn.internal.getCurrentPageInfo().pageContext;
|
|
60333
60351
|
switch (ug) {
|
|
60334
60352
|
case 0:
|
|
60335
60353
|
case !1:
|
|
@@ -60369,10 +60387,10 @@ Q`), Ir(ce, !0), oi({ data: je, filters: Fi(), objectId: ce }), Z("endobj"), te;
|
|
|
60369
60387
|
ss !== -1 ? Tr += ss + ` Tr
|
|
60370
60388
|
` : pg !== -1 && (Tr += `0 Tr
|
|
60371
60389
|
`), ss !== -1 && (Qc.usedRenderingMode = ss), dt = te.align || "left";
|
|
60372
|
-
var hr, li = _ * ra, zu =
|
|
60390
|
+
var hr, li = _ * ra, zu = dn.internal.pageSize.getWidth(), Hu = At[Ve];
|
|
60373
60391
|
vt = te.charSpace || Pc, Ut = te.maxWidth || 0, Jt = Object.assign({ autoencode: !0, noBOM: !0 }, te.flags);
|
|
60374
60392
|
var Ya = [], Mc = function(bn) {
|
|
60375
|
-
return
|
|
60393
|
+
return dn.getStringUnitWidth(bn, { font: Hu, charSpace: vt, fontSize: _, doKerning: !1 }) * _ / Ga;
|
|
60376
60394
|
};
|
|
60377
60395
|
if (Object.prototype.toString.call(y) === "[object Array]") {
|
|
60378
60396
|
var _s;
|
|
@@ -60442,7 +60460,7 @@ T* `) : y.join(` Tj
|
|
|
60442
60460
|
return wo += Ve + " " + _ + ` Tf
|
|
60443
60461
|
`, wo += K(_ * ra) + ` TL
|
|
60444
60462
|
`, wo += cd + `
|
|
60445
|
-
`, wo += Tr, wo += y, Z(wo += "ET"), h[Ve] = !0,
|
|
60463
|
+
`, wo += Tr, wo += y, Z(wo += "ET"), h[Ve] = !0, dn;
|
|
60446
60464
|
};
|
|
60447
60465
|
var y1 = p.__private__.clip = p.clip = function(y) {
|
|
60448
60466
|
return Z(y === "evenodd" ? "W*" : "W"), this;
|
|
@@ -60495,7 +60513,7 @@ T* `) : y.join(` Tj
|
|
|
60495
60513
|
return Ka("B*", y), this;
|
|
60496
60514
|
};
|
|
60497
60515
|
var Ka = function(y, I) {
|
|
60498
|
-
|
|
60516
|
+
an(I) === "object" ? v1(I, y) : Z(y);
|
|
60499
60517
|
}, Tu = function(y) {
|
|
60500
60518
|
y === null || E === k && y === void 0 || (y = dg(y), Z(y));
|
|
60501
60519
|
};
|
|
@@ -60539,11 +60557,11 @@ T* `) : y.join(` Tj
|
|
|
60539
60557
|
throw new Error("Invalid arguments passed to jsPDF.line");
|
|
60540
60558
|
return E === B ? this.lines([[J - y, te - I]], y, I, [1, 1], ce || "S") : this.lines([[J - y, te - I]], y, I, [1, 1]).stroke();
|
|
60541
60559
|
}, p.__private__.lines = p.lines = function(y, I, J, te, ce, je) {
|
|
60542
|
-
var Le, rt, dt, vt, Ut, Jt,
|
|
60560
|
+
var Le, rt, dt, vt, Ut, Jt, Tn, ir, dn, pr, or, Tr;
|
|
60543
60561
|
if (typeof y == "number" && (Tr = J, J = I, I = y, y = Tr), te = te || [1, 1], je = je || !1, isNaN(I) || isNaN(J) || !Array.isArray(y) || !Array.isArray(te) || !fo(ce) || typeof je != "boolean")
|
|
60544
60562
|
throw new Error("Invalid arguments passed to jsPDF.lines");
|
|
60545
60563
|
for (Uu(I, J), Le = te[0], rt = te[1], vt = y.length, pr = I, or = J, dt = 0; dt < vt; dt++)
|
|
60546
|
-
(Ut = y[dt]).length === 2 ? (pr = Ut[0] * Le + pr, or = Ut[1] * rt + or, ld(pr, or)) : (Jt = Ut[0] * Le + pr,
|
|
60564
|
+
(Ut = y[dt]).length === 2 ? (pr = Ut[0] * Le + pr, or = Ut[1] * rt + or, ld(pr, or)) : (Jt = Ut[0] * Le + pr, Tn = Ut[1] * rt + or, ir = Ut[2] * Le + pr, dn = Ut[3] * rt + or, pr = Ut[4] * Le + pr, or = Ut[5] * rt + or, Va(Jt, Tn, ir, dn, pr, or));
|
|
60547
60565
|
return je && cg(), Tu(ce), this;
|
|
60548
60566
|
}, p.path = function(y) {
|
|
60549
60567
|
for (var I = 0; I < y.length; I++) {
|
|
@@ -60842,7 +60860,7 @@ mA.prototype.lsbFirstWord = function(t) {
|
|
|
60842
60860
|
};
|
|
60843
60861
|
}, u0.prototype.equals = function(t) {
|
|
60844
60862
|
var e, n = "id,objectNumber,equals";
|
|
60845
|
-
if (!t ||
|
|
60863
|
+
if (!t || an(t) !== an(this))
|
|
60846
60864
|
return !1;
|
|
60847
60865
|
var r = 0;
|
|
60848
60866
|
for (e in this)
|
|
@@ -61034,7 +61052,7 @@ var js = function(t, e) {
|
|
|
61034
61052
|
for (var o in r || (s.internal.newObjectDeferredBegin(s.internal.acroformPlugin.acroFormDictionaryRoot.objId, !0), s.internal.acroformPlugin.acroFormDictionaryRoot.putStream()), r = r || s.internal.acroformPlugin.acroFormDictionaryRoot.Kids)
|
|
61035
61053
|
if (r.hasOwnProperty(o)) {
|
|
61036
61054
|
var a = r[o], d = [], l = a.Rect;
|
|
61037
|
-
if (a.Rect && (a.Rect = tte(a.Rect, s)), s.internal.newObjectDeferredBegin(a.objId, !0), a.DA = nt.createDefaultAppearanceStream(a),
|
|
61055
|
+
if (a.Rect && (a.Rect = tte(a.Rect, s)), s.internal.newObjectDeferredBegin(a.objId, !0), a.DA = nt.createDefaultAppearanceStream(a), an(a) === "object" && typeof a.getKeyValueListForStream == "function" && (d = a.getKeyValueListForStream()), a.Rect = l, a.hasAppearanceStream && !a.appearanceStreamContent) {
|
|
61038
61056
|
var c = nte(a);
|
|
61039
61057
|
d.push({ key: "AP", value: "<</N " + c + ">>" }), s.internal.acroformPlugin.xForms.push(c);
|
|
61040
61058
|
}
|
|
@@ -61062,7 +61080,7 @@ var js = function(t, e) {
|
|
|
61062
61080
|
for (var v in m)
|
|
61063
61081
|
if (m.hasOwnProperty(v)) {
|
|
61064
61082
|
var B = v, k = m[v];
|
|
61065
|
-
w.internal.newObjectDeferredBegin(k.objId, !0),
|
|
61083
|
+
w.internal.newObjectDeferredBegin(k.objId, !0), an(k) === "object" && typeof k.putStream == "function" && k.putStream(), delete m[B];
|
|
61066
61084
|
}
|
|
61067
61085
|
}(s.internal.acroformPlugin.xForms, s);
|
|
61068
61086
|
})(n, t);
|
|
@@ -61074,7 +61092,7 @@ var js = function(t, e) {
|
|
|
61074
61092
|
};
|
|
61075
61093
|
if (Array.isArray(t)) {
|
|
61076
61094
|
for (var s = "[", i = 0; i < t.length; i++)
|
|
61077
|
-
switch (i !== 0 && (s += " "),
|
|
61095
|
+
switch (i !== 0 && (s += " "), an(t[i])) {
|
|
61078
61096
|
case "boolean":
|
|
61079
61097
|
case "number":
|
|
61080
61098
|
case "object":
|
|
@@ -61463,7 +61481,7 @@ var kr = function() {
|
|
|
61463
61481
|
`);
|
|
61464
61482
|
}
|
|
61465
61483
|
}, set: function(n) {
|
|
61466
|
-
|
|
61484
|
+
an(n) === "object" && (e = n);
|
|
61467
61485
|
} }), Object.defineProperty(this, "caption", { enumerable: !0, configurable: !0, get: function() {
|
|
61468
61486
|
return e.CA || "";
|
|
61469
61487
|
}, set: function(n) {
|
|
@@ -61516,7 +61534,7 @@ var p0 = function() {
|
|
|
61516
61534
|
return o.push(">>"), o.join(`
|
|
61517
61535
|
`);
|
|
61518
61536
|
}, set: function(s) {
|
|
61519
|
-
|
|
61537
|
+
an(s) === "object" && (r = s);
|
|
61520
61538
|
} }), Object.defineProperty(this, "caption", { enumerable: !0, configurable: !0, get: function() {
|
|
61521
61539
|
return r.CA || "";
|
|
61522
61540
|
}, set: function(s) {
|
|
@@ -61676,10 +61694,10 @@ nt.internal = { Bezier_C: 0.551915024494, calculateCross: function(t) {
|
|
|
61676
61694
|
return { x1: { x: (e - r) / 2, y: (n - r) / 2 + r }, x2: { x: (e - r) / 2 + r, y: (n - r) / 2 }, x3: { x: (e - r) / 2, y: (n - r) / 2 }, x4: { x: (e - r) / 2 + r, y: (n - r) / 2 + r } };
|
|
61677
61695
|
} }, nt.internal.getWidth = function(t) {
|
|
61678
61696
|
var e = 0;
|
|
61679
|
-
return
|
|
61697
|
+
return an(t) === "object" && (e = VB(t.Rect[2])), e;
|
|
61680
61698
|
}, nt.internal.getHeight = function(t) {
|
|
61681
61699
|
var e = 0;
|
|
61682
|
-
return
|
|
61700
|
+
return an(t) === "object" && (e = VB(t.Rect[3])), e;
|
|
61683
61701
|
};
|
|
61684
61702
|
var ote = On.addField = function(t) {
|
|
61685
61703
|
if (ite(this, t), !(t instanceof co))
|
|
@@ -61765,7 +61783,7 @@ function oI(t) {
|
|
|
61765
61783
|
}, u = function(U) {
|
|
61766
61784
|
return typeof t["process" + U.toUpperCase()] == "function";
|
|
61767
61785
|
}, h = function(U) {
|
|
61768
|
-
return
|
|
61786
|
+
return an(U) === "object" && U.nodeType === 1;
|
|
61769
61787
|
}, p = function(U, Q) {
|
|
61770
61788
|
if (U.nodeName === "IMG" && U.hasAttribute("src")) {
|
|
61771
61789
|
var X = "" + U.getAttribute("src");
|
|
@@ -61846,7 +61864,7 @@ function oI(t) {
|
|
|
61846
61864
|
};
|
|
61847
61865
|
t.addImage = function() {
|
|
61848
61866
|
var U, Q, X, $, Ae, be, ve, pe, Ce;
|
|
61849
|
-
if (typeof arguments[1] == "number" ? (Q = n, X = arguments[1], $ = arguments[2], Ae = arguments[3], be = arguments[4], ve = arguments[5], pe = arguments[6], Ce = arguments[7]) : (Q = arguments[1], X = arguments[2], $ = arguments[3], Ae = arguments[4], be = arguments[5], ve = arguments[6], pe = arguments[7], Ce = arguments[8]),
|
|
61867
|
+
if (typeof arguments[1] == "number" ? (Q = n, X = arguments[1], $ = arguments[2], Ae = arguments[3], be = arguments[4], ve = arguments[5], pe = arguments[6], Ce = arguments[7]) : (Q = arguments[1], X = arguments[2], $ = arguments[3], Ae = arguments[4], be = arguments[5], ve = arguments[6], pe = arguments[7], Ce = arguments[8]), an(U = arguments[0]) === "object" && !h(U) && "imageData" in U) {
|
|
61850
61868
|
var fe = U;
|
|
61851
61869
|
U = fe.imageData, Q = fe.format || Q || n, X = fe.x || X || 0, $ = fe.y || $ || 0, Ae = fe.w || fe.width || Ae, be = fe.h || fe.height || be, ve = fe.alias || ve, pe = fe.compression || pe, Ce = fe.rotation || fe.angle || Ce;
|
|
61852
61870
|
}
|
|
@@ -62204,7 +62222,7 @@ function(t) {
|
|
|
62204
62222
|
B = v = Object.keys(c[0]), k = v.map(function() {
|
|
62205
62223
|
return "left";
|
|
62206
62224
|
});
|
|
62207
|
-
else if (Array.isArray(u) &&
|
|
62225
|
+
else if (Array.isArray(u) && an(u[0]) === "object")
|
|
62208
62226
|
for (v = u.map(function(fe) {
|
|
62209
62227
|
return fe.name;
|
|
62210
62228
|
}), B = u.map(function(fe) {
|
|
@@ -63338,7 +63356,7 @@ function d6(t) {
|
|
|
63338
63356
|
g != null && (g.X = null), A.vb = null, e(A != null);
|
|
63339
63357
|
}
|
|
63340
63358
|
function sd() {
|
|
63341
|
-
var A = new
|
|
63359
|
+
var A = new Tn();
|
|
63342
63360
|
return A == null ? null : (A.a = 0, A.xb = Z_, Mt("Predictor", "VP8LPredictors"), Mt("Predictor", "VP8LPredictors_C"), Mt("PredictorAdd", "VP8LPredictorsAdd"), Mt("PredictorAdd", "VP8LPredictorsAdd_C"), zc = lt, oa = ft, Vu = tn, Ds = Yt, wo = At, bn = St, vn = An, D.VP8LMapColor32b = Hc, D.VP8LMapColor8b = fd, A);
|
|
63343
63361
|
}
|
|
63344
63362
|
function go(A, g, b, x, S) {
|
|
@@ -63981,27 +63999,27 @@ function d6(t) {
|
|
|
63981
63999
|
function Jt() {
|
|
63982
64000
|
this.ua = 0, this.Wa = new Et(), this.vb = new Et(), this.md = this.xc = this.wc = 0, this.vc = [], this.Wb = 0, this.Ya = new Ae(), this.yc = new X();
|
|
63983
64001
|
}
|
|
63984
|
-
function
|
|
64002
|
+
function Tn() {
|
|
63985
64003
|
this.xb = this.a = 0, this.l = new Fc(), this.ca = new un(), this.V = [], this.Ba = 0, this.Ta = [], this.Ua = 0, this.m = new z(), this.Pb = 0, this.wd = new z(), this.Ma = this.$ = this.C = this.i = this.c = this.xd = 0, this.s = new Jt(), this.ab = 0, this.gc = o(4, Ut), this.Oc = 0;
|
|
63986
64004
|
}
|
|
63987
64005
|
function ir() {
|
|
63988
64006
|
this.Lc = this.Z = this.$a = this.i = this.c = 0, this.l = new Fc(), this.ic = 0, this.ca = [], this.tb = 0, this.qd = null, this.rd = 0;
|
|
63989
64007
|
}
|
|
63990
|
-
function
|
|
64008
|
+
function dn(A, g, b, x, S, j, F) {
|
|
63991
64009
|
for (A = A == null ? 0 : A[g + 0], g = 0; g < F; ++g)
|
|
63992
64010
|
S[j + g] = A + b[x + g] & 255, A = S[j + g];
|
|
63993
64011
|
}
|
|
63994
64012
|
function pr(A, g, b, x, S, j, F) {
|
|
63995
64013
|
var P;
|
|
63996
64014
|
if (A == null)
|
|
63997
|
-
|
|
64015
|
+
dn(null, null, b, x, S, j, F);
|
|
63998
64016
|
else
|
|
63999
64017
|
for (P = 0; P < F; ++P)
|
|
64000
64018
|
S[j + P] = A[g + P] + b[x + P] & 255;
|
|
64001
64019
|
}
|
|
64002
64020
|
function or(A, g, b, x, S, j, F) {
|
|
64003
64021
|
if (A == null)
|
|
64004
|
-
|
|
64022
|
+
dn(null, null, b, x, S, j, F);
|
|
64005
64023
|
else {
|
|
64006
64024
|
var P, M = A[g + 0], V = M, oe = M;
|
|
64007
64025
|
for (P = 0; P < F; ++P)
|
|
@@ -64018,7 +64036,7 @@ function d6(t) {
|
|
|
64018
64036
|
if (A.ga = new ir(), (F = A.ga == null) || (F = g.width * g.o, e(A.Gb.length == 0), A.Gb = i(F), A.Uc = 0, A.Gb == null ? F = 0 : (A.mb = A.Gb, A.nb = A.Uc, A.rc = null, F = 1), F = !F), !F) {
|
|
64019
64037
|
F = A.ga;
|
|
64020
64038
|
var P = A.Fa, M = A.P, V = A.qc, oe = A.mb, ye = A.nb, G = M + 1, ae = V - 1, he = F.l;
|
|
64021
|
-
if (e(P != null && oe != null && g != null), $a[0] = null, $a[1] =
|
|
64039
|
+
if (e(P != null && oe != null && g != null), $a[0] = null, $a[1] = dn, $a[2] = pr, $a[3] = or, F.ca = oe, F.tb = ye, F.c = g.width, F.i = g.height, e(0 < F.c && 0 < F.i), 1 >= V)
|
|
64022
64040
|
g = 0;
|
|
64023
64041
|
else if (F.$a = 3 & P[M + 0], F.Z = P[M + 0] >> 2 & 3, F.Lc = P[M + 0] >> 4 & 3, M = P[M + 0] >> 6 & 3, 0 > F.$a || 1 < F.$a || 4 <= F.Z || 1 < F.Lc || M)
|
|
64024
64042
|
g = 0;
|
|
@@ -65137,7 +65155,7 @@ function d6(t) {
|
|
|
65137
65155
|
}, u.prototype.closePath = function() {
|
|
65138
65156
|
var T = new o(0, 0), z = 0;
|
|
65139
65157
|
for (z = this.path.length - 1; z !== -1; z--)
|
|
65140
|
-
if (this.path[z].type === "begin" &&
|
|
65158
|
+
if (this.path[z].type === "begin" && an(this.path[z + 1]) === "object" && typeof this.path[z + 1].x == "number") {
|
|
65141
65159
|
T = new o(this.path[z + 1].x, this.path[z + 1].y);
|
|
65142
65160
|
break;
|
|
65143
65161
|
}
|
|
@@ -65668,7 +65686,7 @@ function(t) {
|
|
|
65668
65686
|
});
|
|
65669
65687
|
}
|
|
65670
65688
|
var r = function(a) {
|
|
65671
|
-
var d =
|
|
65689
|
+
var d = an(a);
|
|
65672
65690
|
return d === "undefined" ? "undefined" : d === "string" || a instanceof String ? "string" : d === "number" || a instanceof Number ? "number" : d === "function" || a instanceof Function ? "function" : a && a.constructor === Array ? "array" : a && a.nodeType === 1 ? "element" : d === "object" ? "object" : "unknown";
|
|
65673
65691
|
}, s = function(a, d) {
|
|
65674
65692
|
var l = document.createElement(a);
|
|
@@ -65904,7 +65922,7 @@ function(t) {
|
|
|
65904
65922
|
throw new Error(a);
|
|
65905
65923
|
});
|
|
65906
65924
|
}, o.prototype.using = o.prototype.set, o.prototype.saveAs = o.prototype.save, o.prototype.export = o.prototype.output, o.prototype.run = o.prototype.then, pt.getPageSize = function(a, d, l) {
|
|
65907
|
-
if (
|
|
65925
|
+
if (an(a) === "object") {
|
|
65908
65926
|
var c = a;
|
|
65909
65927
|
a = c.orientation, d = c.unit || d, l = c.format || l;
|
|
65910
65928
|
}
|
|
@@ -66265,7 +66283,7 @@ function(t) {
|
|
|
66265
66283
|
}, dA = pt.API, Nf = dA.getCharWidthsArray = function(t, e) {
|
|
66266
66284
|
var n, r, s = (e = e || {}).font || this.internal.getFont(), i = e.fontSize || this.internal.getFontSize(), o = e.charSpace || this.internal.getCharSpace(), a = e.widths ? e.widths : s.metadata.Unicode.widths, d = a.fof ? a.fof : 1, l = e.kerning ? e.kerning : s.metadata.Unicode.kerning, c = l.fof ? l.fof : 1, u = e.doKerning !== !1, h = 0, p = t.length, f = 0, m = a[0] || d, w = [];
|
|
66267
66285
|
for (n = 0; n < p; n++)
|
|
66268
|
-
r = t.charCodeAt(n), typeof s.metadata.widthOfString == "function" ? w.push((s.metadata.widthOfGlyph(s.metadata.characterToGlyph(r)) + o * (1e3 / i) || 0) / 1e3) : (h = u &&
|
|
66286
|
+
r = t.charCodeAt(n), typeof s.metadata.widthOfString == "function" ? w.push((s.metadata.widthOfGlyph(s.metadata.characterToGlyph(r)) + o * (1e3 / i) || 0) / 1e3) : (h = u && an(l[r]) === "object" && !isNaN(parseInt(l[r][f], 10)) ? l[r][f] / c : 0, w.push((a[r] || m) / d + h)), f = r;
|
|
66269
66287
|
return w;
|
|
66270
66288
|
}, $B = dA.getStringUnitWidth = function(t, e) {
|
|
66271
66289
|
var n = (e = e || {}).fontSize || this.internal.getFontSize(), r = e.font || this.internal.getFont(), s = e.charSpace || this.internal.getCharSpace();
|
|
@@ -66341,8 +66359,8 @@ function(t) {
|
|
|
66341
66359
|
if (p = h[B], isNaN(parseInt(B, 10)) ? f = "'" + B + "'" : (B = parseInt(B, 10), f = (f = o(B).slice(2)).slice(0, -1) + s[f.slice(-1)]), typeof p == "number")
|
|
66342
66360
|
p < 0 ? (m = o(p).slice(3), w = "-") : (m = o(p).slice(2), w = ""), m = w + m.slice(0, -1) + s[m.slice(-1)];
|
|
66343
66361
|
else {
|
|
66344
|
-
if (
|
|
66345
|
-
throw new Error("Don't know what to do with value type " +
|
|
66362
|
+
if (an(p) !== "object")
|
|
66363
|
+
throw new Error("Don't know what to do with value type " + an(p) + ".");
|
|
66346
66364
|
m = a(p);
|
|
66347
66365
|
}
|
|
66348
66366
|
v.push(f + m);
|
|
@@ -66394,7 +66412,7 @@ function(t) {
|
|
|
66394
66412
|
var l = d.getContext("2d");
|
|
66395
66413
|
l.fillStyle = "#fff", l.fillRect(0, 0, d.width, d.height);
|
|
66396
66414
|
var c = { ignoreMouse: !0, ignoreAnimation: !0, ignoreDimensions: !0 }, u = this;
|
|
66397
|
-
return (wt.canvg ? Promise.resolve(wt.canvg) : import("./index.es-
|
|
66415
|
+
return (wt.canvg ? Promise.resolve(wt.canvg) : import("./index.es-f912392e.js")).catch(function(h) {
|
|
66398
66416
|
return Promise.reject(new Error("Could not load canvg: " + h));
|
|
66399
66417
|
}).then(function(h) {
|
|
66400
66418
|
return h.default ? h.default : h;
|
|
@@ -66429,7 +66447,7 @@ function(t) {
|
|
|
66429
66447
|
for (u = 0; u < p; u += 1)
|
|
66430
66448
|
n[a[u]].value = n[a[u]].defaultValue, n[a[u]].explicitSet = !1;
|
|
66431
66449
|
}
|
|
66432
|
-
if (
|
|
66450
|
+
if (an(t) === "object") {
|
|
66433
66451
|
for (s in t)
|
|
66434
66452
|
if (i = t[s], h(a, s) && i !== void 0) {
|
|
66435
66453
|
if (n[s].type === "boolean" && typeof i == "boolean")
|
|
@@ -67417,7 +67435,7 @@ let Ch = class extends Ze {
|
|
|
67417
67435
|
this.isPaymentTransfer ? this.getPaymentsClickDownloadReceiptQR() : this.getPaymentsClickDownloadReceipt();
|
|
67418
67436
|
}
|
|
67419
67437
|
getPaymentsClickDownloadReceipt() {
|
|
67420
|
-
const { paymentinputsavailable: t } =
|
|
67438
|
+
const { paymentinputsavailable: t } = In(this.tracking, this.paymentRequest);
|
|
67421
67439
|
this.tracking.clickDownloadReceipt(
|
|
67422
67440
|
this.paymentInput,
|
|
67423
67441
|
this.state.binData.installment.type,
|
|
@@ -67426,7 +67444,7 @@ let Ch = class extends Ze {
|
|
|
67426
67444
|
);
|
|
67427
67445
|
}
|
|
67428
67446
|
getPaymentsClickDownloadReceiptQR() {
|
|
67429
|
-
const { paymentinputsavailable: t } =
|
|
67447
|
+
const { paymentinputsavailable: t } = In(this.tracking, this.paymentRequest);
|
|
67430
67448
|
this.tracking.openReceiptQR(
|
|
67431
67449
|
this.state.payment.payment_input,
|
|
67432
67450
|
this.state.payment.payment_method.type,
|
|
@@ -67874,7 +67892,7 @@ var Rte = Object.defineProperty, Dte = Object.getOwnPropertyDescriptor, yn = (t,
|
|
|
67874
67892
|
(o = t[i]) && (s = (r ? o(e, n, s) : o(s)) || s);
|
|
67875
67893
|
return r && s && Rte(e, n, s), s;
|
|
67876
67894
|
};
|
|
67877
|
-
let
|
|
67895
|
+
let ln = class extends Ze {
|
|
67878
67896
|
constructor() {
|
|
67879
67897
|
super(...arguments), this.customClass = "", this.value = "", this.label = "", this.autocomplete = "off", this.autofocus = !1, this.disabled = !1, this.inputmode = "text", this.name = "", this.pattern = "", this.placeholder = "", this.readonly = !1, this.required = !1, this.type = "text", this.thousandSeparator = "", this.dropSpecialCharacters = !0, this.specialCharacters = [], this.id = "", this.textTransform = "", this.isTouched = !1, this.isValid = !1, this.validationRules = [], this.docType = Hm.DNI, this.errorMessage = "", this.helpText = "", this.previousValue = "";
|
|
67880
67898
|
}
|
|
@@ -67988,90 +68006,90 @@ let an = class extends Ze {
|
|
|
67988
68006
|
`;
|
|
67989
68007
|
}
|
|
67990
68008
|
};
|
|
67991
|
-
|
|
68009
|
+
ln.styles = at`
|
|
67992
68010
|
${ot(Fte)}
|
|
67993
68011
|
`;
|
|
67994
68012
|
yn([
|
|
67995
68013
|
L({ type: String })
|
|
67996
|
-
],
|
|
68014
|
+
], ln.prototype, "customClass", 2);
|
|
67997
68015
|
yn([
|
|
67998
68016
|
L({ type: String })
|
|
67999
|
-
],
|
|
68017
|
+
], ln.prototype, "value", 2);
|
|
68000
68018
|
yn([
|
|
68001
68019
|
L({ type: String })
|
|
68002
|
-
],
|
|
68020
|
+
], ln.prototype, "label", 2);
|
|
68003
68021
|
yn([
|
|
68004
68022
|
L({ type: String })
|
|
68005
|
-
],
|
|
68023
|
+
], ln.prototype, "autocomplete", 2);
|
|
68006
68024
|
yn([
|
|
68007
68025
|
L({ type: Boolean })
|
|
68008
|
-
],
|
|
68026
|
+
], ln.prototype, "autofocus", 2);
|
|
68009
68027
|
yn([
|
|
68010
68028
|
L({ type: Boolean })
|
|
68011
|
-
],
|
|
68029
|
+
], ln.prototype, "disabled", 2);
|
|
68012
68030
|
yn([
|
|
68013
68031
|
L({ type: String })
|
|
68014
|
-
],
|
|
68032
|
+
], ln.prototype, "inputmode", 2);
|
|
68015
68033
|
yn([
|
|
68016
68034
|
L({ type: Number })
|
|
68017
|
-
],
|
|
68035
|
+
], ln.prototype, "maxlength", 2);
|
|
68018
68036
|
yn([
|
|
68019
68037
|
L({ type: Number })
|
|
68020
|
-
],
|
|
68038
|
+
], ln.prototype, "minlength", 2);
|
|
68021
68039
|
yn([
|
|
68022
68040
|
L({ type: String })
|
|
68023
|
-
],
|
|
68041
|
+
], ln.prototype, "name", 2);
|
|
68024
68042
|
yn([
|
|
68025
68043
|
L({ type: String })
|
|
68026
|
-
],
|
|
68044
|
+
], ln.prototype, "pattern", 2);
|
|
68027
68045
|
yn([
|
|
68028
68046
|
L({ type: String })
|
|
68029
|
-
],
|
|
68047
|
+
], ln.prototype, "placeholder", 2);
|
|
68030
68048
|
yn([
|
|
68031
68049
|
L({ type: Boolean })
|
|
68032
|
-
],
|
|
68050
|
+
], ln.prototype, "readonly", 2);
|
|
68033
68051
|
yn([
|
|
68034
68052
|
L({ type: Boolean })
|
|
68035
|
-
],
|
|
68053
|
+
], ln.prototype, "required", 2);
|
|
68036
68054
|
yn([
|
|
68037
68055
|
L({ type: String })
|
|
68038
|
-
],
|
|
68056
|
+
], ln.prototype, "type", 2);
|
|
68039
68057
|
yn([
|
|
68040
68058
|
L({ type: String })
|
|
68041
|
-
],
|
|
68059
|
+
], ln.prototype, "thousandSeparator", 2);
|
|
68042
68060
|
yn([
|
|
68043
68061
|
L({ type: Boolean })
|
|
68044
|
-
],
|
|
68062
|
+
], ln.prototype, "dropSpecialCharacters", 2);
|
|
68045
68063
|
yn([
|
|
68046
68064
|
L({ type: Array })
|
|
68047
|
-
],
|
|
68065
|
+
], ln.prototype, "specialCharacters", 2);
|
|
68048
68066
|
yn([
|
|
68049
68067
|
L({ type: String })
|
|
68050
|
-
],
|
|
68068
|
+
], ln.prototype, "id", 2);
|
|
68051
68069
|
yn([
|
|
68052
68070
|
L({ type: String })
|
|
68053
|
-
],
|
|
68071
|
+
], ln.prototype, "textTransform", 2);
|
|
68054
68072
|
yn([
|
|
68055
68073
|
L({ type: Boolean })
|
|
68056
|
-
],
|
|
68074
|
+
], ln.prototype, "isTouched", 2);
|
|
68057
68075
|
yn([
|
|
68058
68076
|
L({ type: Boolean })
|
|
68059
|
-
],
|
|
68077
|
+
], ln.prototype, "isValid", 2);
|
|
68060
68078
|
yn([
|
|
68061
68079
|
L({ type: Array })
|
|
68062
|
-
],
|
|
68080
|
+
], ln.prototype, "validationRules", 2);
|
|
68063
68081
|
yn([
|
|
68064
68082
|
L({ type: String })
|
|
68065
|
-
],
|
|
68083
|
+
], ln.prototype, "docType", 2);
|
|
68066
68084
|
yn([
|
|
68067
68085
|
L({ type: String })
|
|
68068
|
-
],
|
|
68086
|
+
], ln.prototype, "errorMessage", 2);
|
|
68069
68087
|
yn([
|
|
68070
68088
|
L({ type: String })
|
|
68071
|
-
],
|
|
68072
|
-
|
|
68089
|
+
], ln.prototype, "helpText", 2);
|
|
68090
|
+
ln = yn([
|
|
68073
68091
|
$e("scof-input")
|
|
68074
|
-
],
|
|
68092
|
+
], ln);
|
|
68075
68093
|
const Pte = `@import"normalize.css";form{margin:inherit}.clickeable{cursor:pointer}.clickeable{display:block;transition:transform .3s ease}.clickeable:hover{transform:translate(3px)}.hidden{display:none}.skeleton-card{background-color:#d0d4d7;animation:skeleton-loading 1s linear infinite alternate;width:100%;height:43px;border-radius:8px}.skeleton{display:flex;align-items:center;justify-content:space-between;background-color:#d0d4d7;animation:skeleton-loading 1s linear infinite alternate;width:100%;height:60px;border-radius:8px;gap:16px;margin-bottom:16px}.skeleton .input{width:12px;height:10px;border-radius:8px;background-color:#c2cfd6;margin-left:10px}.skeleton .img{width:45px;height:36px;border-radius:50%;background-color:#c2cfd6}.skeleton .details{width:100%;height:auto;border-radius:8px;display:flex;flex-direction:column;gap:6px}.skeleton .text{width:200px;height:14px;border-radius:8px;background-color:#c2cfd6;margin:0}.hidden-element{visibility:hidden}@keyframes skeleton-loading{0%{background-color:#c2cfd6}to{background-color:#f0f3f5}}:host .tooltip-container{position:relative;display:inline-block}:host .tooltip-text{font-family:Inter;font-size:14px;font-style:normal;font-weight:400;line-height:20px;letter-spacing:.14px;visibility:hidden;min-width:289px;width:100%;background-color:#2b2b2b;color:#fff;text-align:center;border-radius:4px;display:none;padding:8px;justify-content:center;align-items:center;position:absolute;z-index:1;bottom:-4%;margin-left:12px;opacity:0;transition:opacity .3s}@media only screen and (max-width: 768px){:host .tooltip-text{top:25px;padding:16px;margin:0 auto;right:0;font-size:12px}}:host .tooltip-container:hover .tooltip-text{display:inline-flex;visibility:visible;opacity:1}.customClass{font-family:Inter;font-size:12px!important;font-style:normal;font-weight:400;line-height:20px;letter-spacing:.14px;visibility:hidden;min-width:300px!important;width:100%;background-color:#2b2b2b;color:#fff;border-radius:4px;display:none;padding:15px 2px!important;position:absolute;z-index:1;top:30px;right:0;opacity:0;transition:opacity .3s}@media only screen and (max-width: 768px){.customClass{top:25px;padding:16px;margin:0 auto;right:0;font-size:12px}}
|
|
68076
68094
|
`;
|
|
68077
68095
|
var Nte = Object.defineProperty, Ote = Object.getOwnPropertyDescriptor, Zh = (t, e, n, r) => {
|
|
@@ -68181,11 +68199,11 @@ let Hr = class t extends Ze {
|
|
|
68181
68199
|
});
|
|
68182
68200
|
}
|
|
68183
68201
|
getInpustAvailableMethod() {
|
|
68184
|
-
const { paymentinputsavailable: e } =
|
|
68202
|
+
const { paymentinputsavailable: e } = In(this.tracking, this.payfacContext.paymentRequest);
|
|
68185
68203
|
this.tracking.enterCardData(e, this.payfacContext.paymentRequest.payment_type);
|
|
68186
68204
|
}
|
|
68187
68205
|
getInpustAvailableClickContinueAfterData() {
|
|
68188
|
-
const { paymentinputsavailable: e } =
|
|
68206
|
+
const { paymentinputsavailable: e } = In(this.tracking, this.payfacContext.paymentRequest);
|
|
68189
68207
|
this.tracking.clickContinueAfterData(
|
|
68190
68208
|
this.state.isAddCardConsent,
|
|
68191
68209
|
e,
|
|
@@ -72895,7 +72913,7 @@ export {
|
|
|
72895
72913
|
ki as X,
|
|
72896
72914
|
ja as Y,
|
|
72897
72915
|
nr as Z,
|
|
72898
|
-
|
|
72916
|
+
an as _,
|
|
72899
72917
|
Yi as a,
|
|
72900
72918
|
zre as a0,
|
|
72901
72919
|
Us as a1,
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a4 as t, a7 as e, a5 as n, a6 as o, A as r, t as p, G as C, v as i, B as u, a3 as l, R as d, K as m, X as c, J as P, Y as A, Z as I, $ as y, h as D, f, a2 as k, a1 as F, M as S, O as L, T as H, U as M, V as g, C as v, i as x, n as E, a as O, d as b, a0 as Q, s as h, y as B, r as w, o as N, p as j, q, D as z, W as G, E as J, e as K, k as R, b as T, F as U, H as V, I as W, L as X, N as Y, j as Z, w as $, P as _, l as aa, u as sa, x as ta, Q as ea, S as na, z as oa, m as ra } from "./index-
|
|
1
|
+
import { a4 as t, a7 as e, a5 as n, a6 as o, A as r, t as p, G as C, v as i, B as u, a3 as l, R as d, K as m, X as c, J as P, Y as A, Z as I, $ as y, h as D, f, a2 as k, a1 as F, M as S, O as L, T as H, U as M, V as g, C as v, i as x, n as E, a as O, d as b, a0 as Q, s as h, y as B, r as w, o as N, p as j, q, D as z, W as G, E as J, e as K, k as R, b as T, F as U, H as V, I as W, L as X, N as Y, j as Z, w as $, P as _, l as aa, u as sa, x as ta, Q as ea, S as na, z as oa, m as ra } from "./index-78c31694.js";
|
|
2
2
|
export {
|
|
3
3
|
t as A2AAccountDetails,
|
|
4
4
|
e as A2AFeedbackHome,
|