@pelcro/react-pelcro-js 3.26.0-sandbox.2 → 3.26.0-sandbox.20
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.
- package/dist/index.cjs.js +771 -568
- package/dist/index.esm.js +771 -568
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -3362,7 +3362,7 @@ var paymentMethod_en = {
|
|
|
3362
3362
|
var title$z = "Enter your email to subscribe to our newsletter";
|
|
3363
3363
|
var updateTitle$3 = "Update newsletter selections";
|
|
3364
3364
|
var subtitle$f = "We may use your email for other marketing communication";
|
|
3365
|
-
var labels$
|
|
3365
|
+
var labels$13 = {
|
|
3366
3366
|
submit: "Submit",
|
|
3367
3367
|
firstName: "First name",
|
|
3368
3368
|
lastName: "Last name",
|
|
@@ -3381,11 +3381,11 @@ var newsletter_en = {
|
|
|
3381
3381
|
title: title$z,
|
|
3382
3382
|
updateTitle: updateTitle$3,
|
|
3383
3383
|
subtitle: subtitle$f,
|
|
3384
|
-
labels: labels$
|
|
3384
|
+
labels: labels$13,
|
|
3385
3385
|
messages: messages$17
|
|
3386
3386
|
};
|
|
3387
3387
|
|
|
3388
|
-
var labels$
|
|
3388
|
+
var labels$12 = {
|
|
3389
3389
|
"continue": "Continue to content"
|
|
3390
3390
|
};
|
|
3391
3391
|
var messages$16 = {
|
|
@@ -3414,7 +3414,7 @@ var errors$j = {
|
|
|
3414
3414
|
"": ""
|
|
3415
3415
|
};
|
|
3416
3416
|
var success_en = {
|
|
3417
|
-
labels: labels$
|
|
3417
|
+
labels: labels$12,
|
|
3418
3418
|
messages: messages$16,
|
|
3419
3419
|
errors: errors$j
|
|
3420
3420
|
};
|
|
@@ -3438,7 +3438,7 @@ var messages$14 = {
|
|
|
3438
3438
|
bankRedirection: "Please hold, redirecting you to your bank.",
|
|
3439
3439
|
bankAuthenticationSuccess: "Please wait while we process your request."
|
|
3440
3440
|
};
|
|
3441
|
-
var labels$
|
|
3441
|
+
var labels$11 = {
|
|
3442
3442
|
card: "Enter card number",
|
|
3443
3443
|
date: "Expiration date",
|
|
3444
3444
|
CVC: "CVC",
|
|
@@ -3462,7 +3462,7 @@ var labels$10 = {
|
|
|
3462
3462
|
};
|
|
3463
3463
|
var checkoutForm_en = {
|
|
3464
3464
|
messages: messages$14,
|
|
3465
|
-
labels: labels$
|
|
3465
|
+
labels: labels$11
|
|
3466
3466
|
};
|
|
3467
3467
|
|
|
3468
3468
|
var youAreSafe$3 = "You're safe - PCI compliant 128 SSL by";
|
|
@@ -3486,7 +3486,7 @@ var messages_en = {
|
|
|
3486
3486
|
zeroTotalInvoice: zeroTotalInvoice$3
|
|
3487
3487
|
};
|
|
3488
3488
|
|
|
3489
|
-
var labels
|
|
3489
|
+
var labels$10 = {
|
|
3490
3490
|
email: "Enter email",
|
|
3491
3491
|
username: "Enter username",
|
|
3492
3492
|
password: "Enter password",
|
|
@@ -3514,12 +3514,12 @@ var errors$h = {
|
|
|
3514
3514
|
"": ""
|
|
3515
3515
|
};
|
|
3516
3516
|
var login_en = {
|
|
3517
|
-
labels: labels
|
|
3517
|
+
labels: labels$10,
|
|
3518
3518
|
messages: messages$13,
|
|
3519
3519
|
errors: errors$h
|
|
3520
3520
|
};
|
|
3521
3521
|
|
|
3522
|
-
var labels
|
|
3522
|
+
var labels$$ = {
|
|
3523
3523
|
title: "Verifying Passwordless Link",
|
|
3524
3524
|
instructions: "You're on your way!\nLet's confirm your email address.\nClick on the verification link we've sent to your email:",
|
|
3525
3525
|
resend: "Resend email"
|
|
@@ -3529,13 +3529,13 @@ var messages$12 = {
|
|
|
3529
3529
|
success: "You have logged in successfully"
|
|
3530
3530
|
};
|
|
3531
3531
|
var verifyLinkToken_en = {
|
|
3532
|
-
labels: labels
|
|
3532
|
+
labels: labels$$,
|
|
3533
3533
|
messages: messages$12
|
|
3534
3534
|
};
|
|
3535
3535
|
|
|
3536
3536
|
var title$y = "Create an account";
|
|
3537
3537
|
var subtitle$e = "Enter your email and password below";
|
|
3538
|
-
var labels$
|
|
3538
|
+
var labels$_ = {
|
|
3539
3539
|
signUpFacebook: "Sign up with Facebook",
|
|
3540
3540
|
signUpGoogle: "Sign up with Google",
|
|
3541
3541
|
signUpEmail: "Sign up with Email",
|
|
@@ -3622,14 +3622,14 @@ var redeem$3 = {
|
|
|
3622
3622
|
var register_en = {
|
|
3623
3623
|
title: title$y,
|
|
3624
3624
|
subtitle: subtitle$e,
|
|
3625
|
-
labels: labels$
|
|
3625
|
+
labels: labels$_,
|
|
3626
3626
|
messages: messages$11,
|
|
3627
3627
|
errors: errors$g,
|
|
3628
3628
|
gift: gift$3,
|
|
3629
3629
|
redeem: redeem$3
|
|
3630
3630
|
};
|
|
3631
3631
|
|
|
3632
|
-
var labels$
|
|
3632
|
+
var labels$Z = {
|
|
3633
3633
|
title: "Want to update your profile?",
|
|
3634
3634
|
subtitle: "Enter your information below to update your profile",
|
|
3635
3635
|
email: "Email",
|
|
@@ -3654,7 +3654,7 @@ var messages$10 = {
|
|
|
3654
3654
|
pictureUpdated: "Your profile picture was updated successfully."
|
|
3655
3655
|
};
|
|
3656
3656
|
var userEdit_en = {
|
|
3657
|
-
labels: labels$
|
|
3657
|
+
labels: labels$Z,
|
|
3658
3658
|
messages: messages$10
|
|
3659
3659
|
};
|
|
3660
3660
|
|
|
@@ -3662,7 +3662,7 @@ var title$x = "Enter your shipping address";
|
|
|
3662
3662
|
var titleGifting$3 = "Enter your address";
|
|
3663
3663
|
var selectAddressTitle$3 = "Please select an address";
|
|
3664
3664
|
var selectAddressSubtitle$3 = "Select one of your saved addresses, or add a new one";
|
|
3665
|
-
var labels$
|
|
3665
|
+
var labels$Y = {
|
|
3666
3666
|
address: "Address",
|
|
3667
3667
|
code: "Postal Code/Zip",
|
|
3668
3668
|
city: "City",
|
|
@@ -3687,7 +3687,7 @@ var address_en = {
|
|
|
3687
3687
|
titleGifting: titleGifting$3,
|
|
3688
3688
|
selectAddressTitle: selectAddressTitle$3,
|
|
3689
3689
|
selectAddressSubtitle: selectAddressSubtitle$3,
|
|
3690
|
-
labels: labels$
|
|
3690
|
+
labels: labels$Y,
|
|
3691
3691
|
buttons: buttons$i,
|
|
3692
3692
|
messages: messages$$
|
|
3693
3693
|
};
|
|
@@ -3807,17 +3807,17 @@ var messages$Y = {
|
|
|
3807
3807
|
multipleCurrencies: "Your cart currently contains items which are available in different currencies. In order to proceed with the checkout, please make sure that all items have the same currency.",
|
|
3808
3808
|
currencyMismatch: "The selected item(s) do not match your current default currency ({{currency}}). Please choose item(s) only matching this currency."
|
|
3809
3809
|
};
|
|
3810
|
-
var labels$
|
|
3810
|
+
var labels$X = {
|
|
3811
3811
|
summary: "Order summary",
|
|
3812
3812
|
total: "total"
|
|
3813
3813
|
};
|
|
3814
3814
|
var shop_en = {
|
|
3815
3815
|
buttons: buttons$h,
|
|
3816
3816
|
messages: messages$Y,
|
|
3817
|
-
labels: labels$
|
|
3817
|
+
labels: labels$X
|
|
3818
3818
|
};
|
|
3819
3819
|
|
|
3820
|
-
var labels$
|
|
3820
|
+
var labels$W = {
|
|
3821
3821
|
cardNumber: "Card number",
|
|
3822
3822
|
securityCode: "Security Code",
|
|
3823
3823
|
submit: "Submit",
|
|
@@ -3853,12 +3853,12 @@ var errors$f = {
|
|
|
3853
3853
|
"": ""
|
|
3854
3854
|
};
|
|
3855
3855
|
var payment_en = {
|
|
3856
|
-
labels: labels$
|
|
3856
|
+
labels: labels$W,
|
|
3857
3857
|
messages: messages$X,
|
|
3858
3858
|
errors: errors$f
|
|
3859
3859
|
};
|
|
3860
3860
|
|
|
3861
|
-
var labels$
|
|
3861
|
+
var labels$V = {
|
|
3862
3862
|
menu: "Pelcro Menu",
|
|
3863
3863
|
name: "Name",
|
|
3864
3864
|
email: "Email",
|
|
@@ -3966,7 +3966,7 @@ var messages$W = {
|
|
|
3966
3966
|
}
|
|
3967
3967
|
};
|
|
3968
3968
|
var dashboard_en = {
|
|
3969
|
-
labels: labels$
|
|
3969
|
+
labels: labels$V,
|
|
3970
3970
|
messages: messages$W
|
|
3971
3971
|
};
|
|
3972
3972
|
|
|
@@ -3975,7 +3975,7 @@ var messages$V = {
|
|
|
3975
3975
|
loginHere: "Login here",
|
|
3976
3976
|
checkbox: "Check this box to gift this subscription"
|
|
3977
3977
|
};
|
|
3978
|
-
var labels$
|
|
3978
|
+
var labels$U = {
|
|
3979
3979
|
plan: {
|
|
3980
3980
|
title: "Subscribe to a plan",
|
|
3981
3981
|
subtitle: "Select one of the plans below and click on next."
|
|
@@ -3999,7 +3999,7 @@ var buttons$g = {
|
|
|
3999
3999
|
};
|
|
4000
4000
|
var select_en = {
|
|
4001
4001
|
messages: messages$V,
|
|
4002
|
-
labels: labels$
|
|
4002
|
+
labels: labels$U,
|
|
4003
4003
|
buttons: buttons$g
|
|
4004
4004
|
};
|
|
4005
4005
|
|
|
@@ -4013,7 +4013,7 @@ var notification_en = {
|
|
|
4013
4013
|
confirm: confirm$9
|
|
4014
4014
|
};
|
|
4015
4015
|
|
|
4016
|
-
var labels$
|
|
4016
|
+
var labels$T = {
|
|
4017
4017
|
title: "Verify your email",
|
|
4018
4018
|
instructions: "You're on your way!\nLet's confirm your email address.\nClick on the verification link we've sent to your email:",
|
|
4019
4019
|
resend: "Resend email"
|
|
@@ -4023,12 +4023,12 @@ var messages$U = {
|
|
|
4023
4023
|
success: "Email verified successfully!"
|
|
4024
4024
|
};
|
|
4025
4025
|
var verifyEmail_en = {
|
|
4026
|
-
labels: labels$
|
|
4026
|
+
labels: labels$T,
|
|
4027
4027
|
messages: messages$U
|
|
4028
4028
|
};
|
|
4029
4029
|
|
|
4030
4030
|
var title$r = "Invoice details";
|
|
4031
|
-
var labels$
|
|
4031
|
+
var labels$S = {
|
|
4032
4032
|
summary: "Summary",
|
|
4033
4033
|
total: "Total",
|
|
4034
4034
|
amountPaid: "Amount paid",
|
|
@@ -4041,11 +4041,11 @@ var buttons$f = {
|
|
|
4041
4041
|
};
|
|
4042
4042
|
var invoiceDetails_en = {
|
|
4043
4043
|
title: title$r,
|
|
4044
|
-
labels: labels$
|
|
4044
|
+
labels: labels$S,
|
|
4045
4045
|
buttons: buttons$f
|
|
4046
4046
|
};
|
|
4047
4047
|
|
|
4048
|
-
var labels$
|
|
4048
|
+
var labels$R = {
|
|
4049
4049
|
title: "Cancel subscription",
|
|
4050
4050
|
cancelReason: "Cancellation reason",
|
|
4051
4051
|
subCancellation: {
|
|
@@ -4065,59 +4065,11 @@ var messages$T = {
|
|
|
4065
4065
|
}
|
|
4066
4066
|
};
|
|
4067
4067
|
var subscriptionCancel_en = {
|
|
4068
|
-
labels: labels$
|
|
4068
|
+
labels: labels$R,
|
|
4069
4069
|
messages: messages$T
|
|
4070
4070
|
};
|
|
4071
4071
|
|
|
4072
|
-
var labels$
|
|
4073
|
-
title: "Annuler l'abonnement",
|
|
4074
|
-
cancelReason: "Motif d'annulation",
|
|
4075
|
-
subCancellation: {
|
|
4076
|
-
goBack: "Retourner"
|
|
4077
|
-
}
|
|
4078
|
-
};
|
|
4079
|
-
var messages$S = {
|
|
4080
|
-
subscriptionEnd: "Cet abonnement doit expirer le",
|
|
4081
|
-
cancelNow: "Cancel Subscription Now",
|
|
4082
|
-
cancelLater: "Annuler l'abonnement maintenant",
|
|
4083
|
-
subCancellation: {
|
|
4084
|
-
isSureToCancelNow: "Êtes-vous sûr de vouloir résilier votre abonnement immédiatement?",
|
|
4085
|
-
isSureToCancel: "Êtes-vous sûr de vouloir résilier votre abonnement?",
|
|
4086
|
-
loading: "Annulation de votre abonnement",
|
|
4087
|
-
success: "L'abonnement a été annulé avec succès",
|
|
4088
|
-
error: "Erreur lors de l'annulation de votre abonnement"
|
|
4089
|
-
}
|
|
4090
|
-
};
|
|
4091
|
-
var subscriptionCancel_fr = {
|
|
4092
|
-
labels: labels$P,
|
|
4093
|
-
messages: messages$S
|
|
4094
|
-
};
|
|
4095
|
-
|
|
4096
|
-
var labels$O = {
|
|
4097
|
-
title: "구독 취소",
|
|
4098
|
-
cancelReason: "취소 사유",
|
|
4099
|
-
subCancellation: {
|
|
4100
|
-
goBack: "돌아가기"
|
|
4101
|
-
}
|
|
4102
|
-
};
|
|
4103
|
-
var messages$R = {
|
|
4104
|
-
subscriptionEnd: "이 구독은 다음 날짜에 만료되도록 설정되었습니다.",
|
|
4105
|
-
cancelNow: "지금 구독 취소",
|
|
4106
|
-
cancelLater: "기간 종료 시 취소",
|
|
4107
|
-
subCancellation: {
|
|
4108
|
-
isSureToCancelNow: "구독을 즉시 취소하시겠습니까?",
|
|
4109
|
-
isSureToCancel: "구독을 취소하시겠습니까?",
|
|
4110
|
-
loading: "구독 취소",
|
|
4111
|
-
success: "구독이 성공적으로 취소되었습니다.",
|
|
4112
|
-
error: "구독 취소 중 오류 발생"
|
|
4113
|
-
}
|
|
4114
|
-
};
|
|
4115
|
-
var subscriptionCancel_ko = {
|
|
4116
|
-
labels: labels$O,
|
|
4117
|
-
messages: messages$R
|
|
4118
|
-
};
|
|
4119
|
-
|
|
4120
|
-
var labels$N = {
|
|
4072
|
+
var labels$Q = {
|
|
4121
4073
|
inviteMembers: "Invite Members",
|
|
4122
4074
|
listOfMembers: "List of members",
|
|
4123
4075
|
invite: "Invite",
|
|
@@ -4125,48 +4077,21 @@ var labels$N = {
|
|
|
4125
4077
|
emails: "Enter emails",
|
|
4126
4078
|
status: "Status",
|
|
4127
4079
|
actions: "Actions",
|
|
4128
|
-
email: "Email"
|
|
4080
|
+
email: "Email",
|
|
4081
|
+
listNote: "Comma-separated list e.g."
|
|
4129
4082
|
};
|
|
4130
4083
|
var subscriptionManageMembers_en = {
|
|
4131
|
-
labels: labels$
|
|
4084
|
+
labels: labels$Q
|
|
4132
4085
|
};
|
|
4133
4086
|
|
|
4134
|
-
var labels$
|
|
4135
|
-
inviteMembers: "Inviter des membres",
|
|
4136
|
-
listOfMembers: "Liste des membres",
|
|
4137
|
-
invite: "Inviter",
|
|
4138
|
-
remove: "Retirer",
|
|
4139
|
-
emails: "Saisir les e-mails",
|
|
4140
|
-
status: "Statut",
|
|
4141
|
-
actions: "Actions",
|
|
4142
|
-
email: "E-mail"
|
|
4143
|
-
};
|
|
4144
|
-
var subscriptionManageMembers_fr = {
|
|
4145
|
-
labels: labels$M
|
|
4146
|
-
};
|
|
4147
|
-
|
|
4148
|
-
var labels$L = {
|
|
4149
|
-
inviteMembers: "회원 초대",
|
|
4150
|
-
listOfMembers: "구성원 목록",
|
|
4151
|
-
invite: "초대",
|
|
4152
|
-
remove: "제거하다",
|
|
4153
|
-
emails: "이메일 입력",
|
|
4154
|
-
status: "상태",
|
|
4155
|
-
actions: "행위",
|
|
4156
|
-
email: "이메일"
|
|
4157
|
-
};
|
|
4158
|
-
var subscriptionManageMembers_ko = {
|
|
4159
|
-
labels: labels$L
|
|
4160
|
-
};
|
|
4161
|
-
|
|
4162
|
-
var labels$K = {
|
|
4087
|
+
var labels$P = {
|
|
4163
4088
|
title: "Suspend subscription",
|
|
4164
4089
|
suspensionDate: "Suspension date",
|
|
4165
4090
|
subCancellation: {
|
|
4166
4091
|
goBack: "Go back"
|
|
4167
4092
|
}
|
|
4168
4093
|
};
|
|
4169
|
-
var messages$
|
|
4094
|
+
var messages$S = {
|
|
4170
4095
|
suspensionEnd: "The suspension is set to expire on",
|
|
4171
4096
|
suspendNow: "Suspend Subscription Now",
|
|
4172
4097
|
suspendLater: "Suspend at Period End",
|
|
@@ -4179,8 +4104,8 @@ var messages$Q = {
|
|
|
4179
4104
|
}
|
|
4180
4105
|
};
|
|
4181
4106
|
var subscriptionSuspend_en = {
|
|
4182
|
-
labels: labels$
|
|
4183
|
-
messages: messages$
|
|
4107
|
+
labels: labels$P,
|
|
4108
|
+
messages: messages$S
|
|
4184
4109
|
};
|
|
4185
4110
|
|
|
4186
4111
|
var validation$2 = {
|
|
@@ -4304,7 +4229,7 @@ var paymentMethod_fr = {
|
|
|
4304
4229
|
var title$q = "Entrez votre adresse courriel pour vous abonner à notre infolettre";
|
|
4305
4230
|
var updateTitle$2 = "Mettre à jour son choix d'infolettres";
|
|
4306
4231
|
var subtitle$b = "Nous pouvons utiliser votre adresse courriel pour d’autres communications marketing";
|
|
4307
|
-
var labels$
|
|
4232
|
+
var labels$O = {
|
|
4308
4233
|
submit: "Lire l’article !",
|
|
4309
4234
|
firstName: "Prénom",
|
|
4310
4235
|
lastName: "Nom de famille",
|
|
@@ -4312,7 +4237,7 @@ var labels$J = {
|
|
|
4312
4237
|
postalCode: "Code postal",
|
|
4313
4238
|
required: "Champs obligatoires"
|
|
4314
4239
|
};
|
|
4315
|
-
var messages$
|
|
4240
|
+
var messages$R = {
|
|
4316
4241
|
alreadyHaveAccount: "Vous avez déjà un compte ?",
|
|
4317
4242
|
success: "Votre choix d'infolettres à été mis à jour",
|
|
4318
4243
|
loginHere: "Connectez-vous ici",
|
|
@@ -4323,14 +4248,14 @@ var newsletter_fr = {
|
|
|
4323
4248
|
title: title$q,
|
|
4324
4249
|
updateTitle: updateTitle$2,
|
|
4325
4250
|
subtitle: subtitle$b,
|
|
4326
|
-
labels: labels$
|
|
4327
|
-
messages: messages$
|
|
4251
|
+
labels: labels$O,
|
|
4252
|
+
messages: messages$R
|
|
4328
4253
|
};
|
|
4329
4254
|
|
|
4330
|
-
var labels$
|
|
4255
|
+
var labels$N = {
|
|
4331
4256
|
"continue": "Abonnement réussi !"
|
|
4332
4257
|
};
|
|
4333
|
-
var messages$
|
|
4258
|
+
var messages$Q = {
|
|
4334
4259
|
yourFreeTrial: "Votre essai gratuit vient de débuter",
|
|
4335
4260
|
youHaveAccess: "Nous espérons que vous allez apprécier votre abonnement. Veuillez nous contacter si vous avez des questions ou des préoccupations.",
|
|
4336
4261
|
clickToLearn: {
|
|
@@ -4356,12 +4281,12 @@ var errors$e = {
|
|
|
4356
4281
|
"": ""
|
|
4357
4282
|
};
|
|
4358
4283
|
var success_fr = {
|
|
4359
|
-
labels: labels$
|
|
4360
|
-
messages: messages$
|
|
4284
|
+
labels: labels$N,
|
|
4285
|
+
messages: messages$Q,
|
|
4361
4286
|
errors: errors$e
|
|
4362
4287
|
};
|
|
4363
4288
|
|
|
4364
|
-
var messages$
|
|
4289
|
+
var messages$P = {
|
|
4365
4290
|
freeVisits: "Visites gratuites restantes:",
|
|
4366
4291
|
subscribeNow: "Abonnez-vous maintenant !",
|
|
4367
4292
|
alreadyHaveAccount: "Vous avez déjà un compte ?",
|
|
@@ -4371,16 +4296,16 @@ var errors$d = {
|
|
|
4371
4296
|
"": ""
|
|
4372
4297
|
};
|
|
4373
4298
|
var meter_fr = {
|
|
4374
|
-
messages: messages$
|
|
4299
|
+
messages: messages$P,
|
|
4375
4300
|
errors: errors$d
|
|
4376
4301
|
};
|
|
4377
4302
|
|
|
4378
|
-
var messages$
|
|
4303
|
+
var messages$O = {
|
|
4379
4304
|
youAreSafe: "Vous êtes en sécurité - PCI conforme 128 SSL par",
|
|
4380
4305
|
bankRedirection: "Veuillez patienter, nous vous redirigeons vers votre banque.",
|
|
4381
4306
|
bankAuthenticationSuccess: "Veuillez patienter pendant que nous accédons à votre requête."
|
|
4382
4307
|
};
|
|
4383
|
-
var labels$
|
|
4308
|
+
var labels$M = {
|
|
4384
4309
|
card: "Entrez le numéro de carte",
|
|
4385
4310
|
date: "Date d’expiration",
|
|
4386
4311
|
CVC: "CVC",
|
|
@@ -4403,8 +4328,8 @@ var labels$H = {
|
|
|
4403
4328
|
freeItems: "Articles gratuits"
|
|
4404
4329
|
};
|
|
4405
4330
|
var checkoutForm_fr = {
|
|
4406
|
-
messages: messages$
|
|
4407
|
-
labels: labels$
|
|
4331
|
+
messages: messages$O,
|
|
4332
|
+
labels: labels$M
|
|
4408
4333
|
};
|
|
4409
4334
|
|
|
4410
4335
|
var youAreSafe$2 = "Vous êtes en sécurité - PCI conforme 128 SSL par";
|
|
@@ -4428,7 +4353,7 @@ var messages_fr = {
|
|
|
4428
4353
|
zeroTotalInvoice: zeroTotalInvoice$2
|
|
4429
4354
|
};
|
|
4430
4355
|
|
|
4431
|
-
var labels$
|
|
4356
|
+
var labels$L = {
|
|
4432
4357
|
email: "Entrez votre adresse courriel",
|
|
4433
4358
|
username: "Saisissez votre nom d'utilisateur",
|
|
4434
4359
|
password: "Entrez votre mot de passe",
|
|
@@ -4437,7 +4362,7 @@ var labels$G = {
|
|
|
4437
4362
|
passwordPlaceholder: "Mot de passe",
|
|
4438
4363
|
login: "Connexion"
|
|
4439
4364
|
};
|
|
4440
|
-
var messages$
|
|
4365
|
+
var messages$N = {
|
|
4441
4366
|
loginTo: "Connectez-vous à votre compte",
|
|
4442
4367
|
welcome: "Bienvenue, connectez-vous avec votre compte existant.",
|
|
4443
4368
|
dontHaveAccount: "Vous n’avez pas encore de compte ?",
|
|
@@ -4456,28 +4381,28 @@ var errors$c = {
|
|
|
4456
4381
|
"": ""
|
|
4457
4382
|
};
|
|
4458
4383
|
var login_fr = {
|
|
4459
|
-
labels: labels$
|
|
4460
|
-
messages: messages$
|
|
4384
|
+
labels: labels$L,
|
|
4385
|
+
messages: messages$N,
|
|
4461
4386
|
errors: errors$c
|
|
4462
4387
|
};
|
|
4463
4388
|
|
|
4464
|
-
var labels$
|
|
4389
|
+
var labels$K = {
|
|
4465
4390
|
title: "Confirmez votre courriel",
|
|
4466
4391
|
instructions: "Confirmez votre courriel.\nVeuillez cliquer sur le lien de vérification, qui vous a été envoyé à:",
|
|
4467
4392
|
resend: "Renvoyer le courriel"
|
|
4468
4393
|
};
|
|
4469
|
-
var messages$
|
|
4394
|
+
var messages$M = {
|
|
4470
4395
|
resent: "Renvoyé avec succès",
|
|
4471
4396
|
success: "Vous vous êtes connecté avec succès"
|
|
4472
4397
|
};
|
|
4473
4398
|
var verifyLinkToken_fr = {
|
|
4474
|
-
labels: labels$
|
|
4475
|
-
messages: messages$
|
|
4399
|
+
labels: labels$K,
|
|
4400
|
+
messages: messages$M
|
|
4476
4401
|
};
|
|
4477
4402
|
|
|
4478
4403
|
var title$p = "Créer un compte";
|
|
4479
4404
|
var subtitle$a = "Entrez votre courriel et votre mot de passe ci-dessous";
|
|
4480
|
-
var labels$
|
|
4405
|
+
var labels$J = {
|
|
4481
4406
|
signUpFacebook: "Inscrivez-vous avec Facebook",
|
|
4482
4407
|
signUpGoogle: "Inscrivez-vous avec Google",
|
|
4483
4408
|
signUpEmail: "Inscrivez-vous avec votre courriel",
|
|
@@ -4490,7 +4415,7 @@ var labels$E = {
|
|
|
4490
4415
|
lastName: "Nom de famille",
|
|
4491
4416
|
phone: "Téléphoner"
|
|
4492
4417
|
};
|
|
4493
|
-
var messages$
|
|
4418
|
+
var messages$L = {
|
|
4494
4419
|
alreadyHaveAccount: "Vous avez déjà un compte?",
|
|
4495
4420
|
createAccount: "Créer un compte",
|
|
4496
4421
|
loginHere: "Connectez-vous ici",
|
|
@@ -4565,14 +4490,14 @@ var redeem$2 = {
|
|
|
4565
4490
|
var register_fr = {
|
|
4566
4491
|
title: title$p,
|
|
4567
4492
|
subtitle: subtitle$a,
|
|
4568
|
-
labels: labels$
|
|
4569
|
-
messages: messages$
|
|
4493
|
+
labels: labels$J,
|
|
4494
|
+
messages: messages$L,
|
|
4570
4495
|
errors: errors$b,
|
|
4571
4496
|
gift: gift$2,
|
|
4572
4497
|
redeem: redeem$2
|
|
4573
4498
|
};
|
|
4574
4499
|
|
|
4575
|
-
var labels$
|
|
4500
|
+
var labels$I = {
|
|
4576
4501
|
title: "Voulez-vous mettre à jour votre profil ?",
|
|
4577
4502
|
subtitle: "Entrez vos informations ci-dessous pour mettre à jour votre profil",
|
|
4578
4503
|
email: "Address courriel",
|
|
@@ -4591,21 +4516,21 @@ var labels$D = {
|
|
|
4591
4516
|
zoom: "Zoom",
|
|
4592
4517
|
tin: "Numéro d'identification fiscale"
|
|
4593
4518
|
};
|
|
4594
|
-
var messages$
|
|
4519
|
+
var messages$K = {
|
|
4595
4520
|
userUpdated: "Votre profil a été mis à jour avec succès.",
|
|
4596
4521
|
pictureRemoved: "Votre photo de profil a été supprimée avec succès.",
|
|
4597
4522
|
pictureUpdated: "Votre photo de profil a été mise à jour avec succès."
|
|
4598
4523
|
};
|
|
4599
4524
|
var userEdit_fr = {
|
|
4600
|
-
labels: labels$
|
|
4601
|
-
messages: messages$
|
|
4525
|
+
labels: labels$I,
|
|
4526
|
+
messages: messages$K
|
|
4602
4527
|
};
|
|
4603
4528
|
|
|
4604
4529
|
var title$o = "Entrez votre adresse de livraison";
|
|
4605
4530
|
var titleGifting$2 = "Entrez votre adresse";
|
|
4606
4531
|
var selectAddressTitle$2 = "Veuillez sélectionner une adresse";
|
|
4607
4532
|
var selectAddressSubtitle$2 = "Choisissez l'une de vos adresses ou créez-en une nouvelle";
|
|
4608
|
-
var labels$
|
|
4533
|
+
var labels$H = {
|
|
4609
4534
|
address: "Adresse",
|
|
4610
4535
|
code: "Code postal / Zip",
|
|
4611
4536
|
city: "Ville",
|
|
@@ -4621,7 +4546,7 @@ var buttons$d = {
|
|
|
4621
4546
|
selectAddress: "Choisir cette adresse",
|
|
4622
4547
|
addAddress: "Ajouter une nouvelle adresse"
|
|
4623
4548
|
};
|
|
4624
|
-
var messages$
|
|
4549
|
+
var messages$J = {
|
|
4625
4550
|
addressUpdated: "Votre adresse a été mise à jour avec succès",
|
|
4626
4551
|
subRedeemed: "Votre abonnement a bien été activé."
|
|
4627
4552
|
};
|
|
@@ -4630,9 +4555,9 @@ var address_fr = {
|
|
|
4630
4555
|
titleGifting: titleGifting$2,
|
|
4631
4556
|
selectAddressTitle: selectAddressTitle$2,
|
|
4632
4557
|
selectAddressSubtitle: selectAddressSubtitle$2,
|
|
4633
|
-
labels: labels$
|
|
4558
|
+
labels: labels$H,
|
|
4634
4559
|
buttons: buttons$d,
|
|
4635
|
-
messages: messages$
|
|
4560
|
+
messages: messages$J
|
|
4636
4561
|
};
|
|
4637
4562
|
|
|
4638
4563
|
var title$n = "Réinitialiser votre mot de passe";
|
|
@@ -4660,7 +4585,7 @@ var password$4 = "Mot de passe";
|
|
|
4660
4585
|
var submit$a = "Soumettre";
|
|
4661
4586
|
var required$a = "Champs obligatoires";
|
|
4662
4587
|
var passwordResetEmailSent$2 = "Un lien pour réinitialiser votre mot de passe vous a été envoyé. Si vous ne le recevez pas, vérifier votre courrier indésirable.";
|
|
4663
|
-
var messages$
|
|
4588
|
+
var messages$I = {
|
|
4664
4589
|
alreadyHaveAccount: "Vous avez déjà un compte ?",
|
|
4665
4590
|
loginHere: "Connectez-vous ici"
|
|
4666
4591
|
};
|
|
@@ -4671,7 +4596,7 @@ var passwordForgot_fr = {
|
|
|
4671
4596
|
submit: submit$a,
|
|
4672
4597
|
required: required$a,
|
|
4673
4598
|
passwordResetEmailSent: passwordResetEmailSent$2,
|
|
4674
|
-
messages: messages$
|
|
4599
|
+
messages: messages$I
|
|
4675
4600
|
};
|
|
4676
4601
|
|
|
4677
4602
|
var title$l = "Changez votre mot de passe";
|
|
@@ -4699,7 +4624,7 @@ var title$k = "Connexion sans mot de passe";
|
|
|
4699
4624
|
var email$6 = "Entrez votre adresse courriel";
|
|
4700
4625
|
var submit$8 = "Soumettre";
|
|
4701
4626
|
var required$8 = "Champs obligatoires";
|
|
4702
|
-
var messages$
|
|
4627
|
+
var messages$H = {
|
|
4703
4628
|
PasswordlessLoginSuccess: "Vous avez été authentifié avec succès avec la connexion sans mot de passe"
|
|
4704
4629
|
};
|
|
4705
4630
|
var passwordlessRequest_fr = {
|
|
@@ -4707,7 +4632,7 @@ var passwordlessRequest_fr = {
|
|
|
4707
4632
|
email: email$6,
|
|
4708
4633
|
submit: submit$8,
|
|
4709
4634
|
required: required$8,
|
|
4710
|
-
messages: messages$
|
|
4635
|
+
messages: messages$H
|
|
4711
4636
|
};
|
|
4712
4637
|
|
|
4713
4638
|
var title$j = "Votre panier";
|
|
@@ -4741,7 +4666,7 @@ var buttons$c = {
|
|
|
4741
4666
|
purchase: "Acheter",
|
|
4742
4667
|
"continue": "Continuer au contenu"
|
|
4743
4668
|
};
|
|
4744
|
-
var messages$
|
|
4669
|
+
var messages$G = {
|
|
4745
4670
|
orderConfirmed: {
|
|
4746
4671
|
title: "Votre commande est confirmée !",
|
|
4747
4672
|
body: "Votre commande a été confirmée et vous sera expédiée dans les prochains jours. Vous recevrez un courriel de confirmation sous peu."
|
|
@@ -4750,17 +4675,17 @@ var messages$E = {
|
|
|
4750
4675
|
multipleCurrencies: "Votre panier contient des articles disponibles dans différentes devises. Avant de passer à la caisse, veuillez vous assurer que tous les articles ont la même devise.",
|
|
4751
4676
|
currencyMismatch: "Les articles sélectionnés ne sont pas compatibles avec la devise associée à votre compte ({{currency}}). Veuillez choisir des articles uniquement offerts dans cette devise."
|
|
4752
4677
|
};
|
|
4753
|
-
var labels$
|
|
4678
|
+
var labels$G = {
|
|
4754
4679
|
summary: "récapitulatif de commande",
|
|
4755
4680
|
total: "total"
|
|
4756
4681
|
};
|
|
4757
4682
|
var shop_fr = {
|
|
4758
4683
|
buttons: buttons$c,
|
|
4759
|
-
messages: messages$
|
|
4760
|
-
labels: labels$
|
|
4684
|
+
messages: messages$G,
|
|
4685
|
+
labels: labels$G
|
|
4761
4686
|
};
|
|
4762
4687
|
|
|
4763
|
-
var labels$
|
|
4688
|
+
var labels$F = {
|
|
4764
4689
|
cardNumber: "Numéro de carte",
|
|
4765
4690
|
securityCode: "Code de sécurité",
|
|
4766
4691
|
submit: "Soumettre",
|
|
@@ -4782,7 +4707,7 @@ var labels$A = {
|
|
|
4782
4707
|
title: "Informations de paiement"
|
|
4783
4708
|
}
|
|
4784
4709
|
};
|
|
4785
|
-
var messages$
|
|
4710
|
+
var messages$F = {
|
|
4786
4711
|
youAreSafe: "Vous êtes en sécurité - PCI conforme 128 SSL par",
|
|
4787
4712
|
cancel: "Annuler votre abonnement en ligne à tout moment.",
|
|
4788
4713
|
giftSent: "Le cadeau d’abonnement a été envoyé à",
|
|
@@ -4796,12 +4721,12 @@ var errors$a = {
|
|
|
4796
4721
|
"": ""
|
|
4797
4722
|
};
|
|
4798
4723
|
var payment_fr = {
|
|
4799
|
-
labels: labels$
|
|
4800
|
-
messages: messages$
|
|
4724
|
+
labels: labels$F,
|
|
4725
|
+
messages: messages$F,
|
|
4801
4726
|
errors: errors$a
|
|
4802
4727
|
};
|
|
4803
4728
|
|
|
4804
|
-
var labels$
|
|
4729
|
+
var labels$E = {
|
|
4805
4730
|
menu: "Menu Pelcro",
|
|
4806
4731
|
name: "Nom",
|
|
4807
4732
|
email: "Courriel",
|
|
@@ -4889,7 +4814,7 @@ var labels$z = {
|
|
|
4889
4814
|
goBack: "Retourner"
|
|
4890
4815
|
}
|
|
4891
4816
|
};
|
|
4892
|
-
var messages$
|
|
4817
|
+
var messages$E = {
|
|
4893
4818
|
noCard: "Vous n’avez pas une carte",
|
|
4894
4819
|
subCancellation: {
|
|
4895
4820
|
isSureToCancel: "Êtes-vous certain de vouloir annuler votre abonnement?",
|
|
@@ -4909,16 +4834,16 @@ var messages$C = {
|
|
|
4909
4834
|
}
|
|
4910
4835
|
};
|
|
4911
4836
|
var dashboard_fr = {
|
|
4912
|
-
labels: labels$
|
|
4913
|
-
messages: messages$
|
|
4837
|
+
labels: labels$E,
|
|
4838
|
+
messages: messages$E
|
|
4914
4839
|
};
|
|
4915
4840
|
|
|
4916
|
-
var messages$
|
|
4841
|
+
var messages$D = {
|
|
4917
4842
|
alreadyHaveAccount: "Vous avez déjà un compte ?",
|
|
4918
4843
|
loginHere: "Connectez-vous ici",
|
|
4919
4844
|
checkbox: "Cochez cette case pour offrir cet abonnement"
|
|
4920
4845
|
};
|
|
4921
|
-
var labels$
|
|
4846
|
+
var labels$D = {
|
|
4922
4847
|
plan: {
|
|
4923
4848
|
title: "Abonnez-vous à un plan",
|
|
4924
4849
|
subtitle: "Sélectionnez l’un des plans ci-dessous et cliquez sur suivant."
|
|
@@ -4941,8 +4866,8 @@ var buttons$b = {
|
|
|
4941
4866
|
back: "Retour"
|
|
4942
4867
|
};
|
|
4943
4868
|
var select_fr = {
|
|
4944
|
-
messages: messages$
|
|
4945
|
-
labels: labels$
|
|
4869
|
+
messages: messages$D,
|
|
4870
|
+
labels: labels$D,
|
|
4946
4871
|
buttons: buttons$b
|
|
4947
4872
|
};
|
|
4948
4873
|
|
|
@@ -4956,22 +4881,22 @@ var notification_fr = {
|
|
|
4956
4881
|
confirm: confirm$6
|
|
4957
4882
|
};
|
|
4958
4883
|
|
|
4959
|
-
var labels$
|
|
4884
|
+
var labels$C = {
|
|
4960
4885
|
title: "Confirmez votre courriel",
|
|
4961
4886
|
instructions: "Confirmez votre courriel.\nVeuillez cliquer sur le lien de vérification, qui vous a été envoyé à:",
|
|
4962
4887
|
resend: "Renvoyer le courriel"
|
|
4963
4888
|
};
|
|
4964
|
-
var messages$
|
|
4889
|
+
var messages$C = {
|
|
4965
4890
|
resent: "Renvoyé avec succès",
|
|
4966
4891
|
success: "Adresse courriel vérifiée avec succès"
|
|
4967
4892
|
};
|
|
4968
4893
|
var verifyEmail_fr = {
|
|
4969
|
-
labels: labels$
|
|
4970
|
-
messages: messages$
|
|
4894
|
+
labels: labels$C,
|
|
4895
|
+
messages: messages$C
|
|
4971
4896
|
};
|
|
4972
4897
|
|
|
4973
4898
|
var title$i = "Détails de la facture";
|
|
4974
|
-
var labels$
|
|
4899
|
+
var labels$B = {
|
|
4975
4900
|
summary: "Résumé",
|
|
4976
4901
|
total: "Total",
|
|
4977
4902
|
amountPaid: "Montant payé",
|
|
@@ -4984,18 +4909,57 @@ var buttons$a = {
|
|
|
4984
4909
|
};
|
|
4985
4910
|
var invoiceDetails_fr = {
|
|
4986
4911
|
title: title$i,
|
|
4987
|
-
labels: labels$
|
|
4912
|
+
labels: labels$B,
|
|
4988
4913
|
buttons: buttons$a
|
|
4989
4914
|
};
|
|
4990
4915
|
|
|
4991
|
-
var labels$
|
|
4916
|
+
var labels$A = {
|
|
4917
|
+
title: "Annuler l'abonnement",
|
|
4918
|
+
cancelReason: "Motif d'annulation",
|
|
4919
|
+
subCancellation: {
|
|
4920
|
+
goBack: "Retourner"
|
|
4921
|
+
}
|
|
4922
|
+
};
|
|
4923
|
+
var messages$B = {
|
|
4924
|
+
subscriptionEnd: "Cet abonnement doit expirer le",
|
|
4925
|
+
cancelNow: "Cancel Subscription Now",
|
|
4926
|
+
cancelLater: "Annuler l'abonnement maintenant",
|
|
4927
|
+
subCancellation: {
|
|
4928
|
+
isSureToCancelNow: "Êtes-vous sûr de vouloir résilier votre abonnement immédiatement?",
|
|
4929
|
+
isSureToCancel: "Êtes-vous sûr de vouloir résilier votre abonnement?",
|
|
4930
|
+
loading: "Annulation de votre abonnement",
|
|
4931
|
+
success: "L'abonnement a été annulé avec succès",
|
|
4932
|
+
error: "Erreur lors de l'annulation de votre abonnement"
|
|
4933
|
+
}
|
|
4934
|
+
};
|
|
4935
|
+
var subscriptionCancel_fr = {
|
|
4936
|
+
labels: labels$A,
|
|
4937
|
+
messages: messages$B
|
|
4938
|
+
};
|
|
4939
|
+
|
|
4940
|
+
var labels$z = {
|
|
4941
|
+
inviteMembers: "Inviter des membres",
|
|
4942
|
+
listOfMembers: "Liste des membres",
|
|
4943
|
+
invite: "Inviter",
|
|
4944
|
+
remove: "Retirer",
|
|
4945
|
+
emails: "Saisir les e-mails",
|
|
4946
|
+
status: "Statut",
|
|
4947
|
+
actions: "Actions",
|
|
4948
|
+
email: "E-mail",
|
|
4949
|
+
listNote: "Liste séparée par des virgules, par ex."
|
|
4950
|
+
};
|
|
4951
|
+
var subscriptionManageMembers_fr = {
|
|
4952
|
+
labels: labels$z
|
|
4953
|
+
};
|
|
4954
|
+
|
|
4955
|
+
var labels$y = {
|
|
4992
4956
|
title: "Suspendre l'abonnement",
|
|
4993
4957
|
suspensionDate: "Date de suspension",
|
|
4994
4958
|
subCancellation: {
|
|
4995
4959
|
goBack: "Revenir en arrière"
|
|
4996
4960
|
}
|
|
4997
4961
|
};
|
|
4998
|
-
var messages$
|
|
4962
|
+
var messages$A = {
|
|
4999
4963
|
suspensionEnd: "La suspension doit expirer le",
|
|
5000
4964
|
suspendNow: "Suspendre l'abonnement maintenant",
|
|
5001
4965
|
suspendLater: "Suspendre à la fin de la période",
|
|
@@ -5008,8 +4972,8 @@ var messages$z = {
|
|
|
5008
4972
|
}
|
|
5009
4973
|
};
|
|
5010
4974
|
var subscriptionSuspend_fr = {
|
|
5011
|
-
labels: labels$
|
|
5012
|
-
messages: messages$
|
|
4975
|
+
labels: labels$y,
|
|
4976
|
+
messages: messages$A
|
|
5013
4977
|
};
|
|
5014
4978
|
|
|
5015
4979
|
var validation$1 = {
|
|
@@ -5132,7 +5096,7 @@ var paymentMethod_ko = {
|
|
|
5132
5096
|
var title$h = "Frieze 뉴스레터를 구독하려면 이메일을 입력하세요.";
|
|
5133
5097
|
var updateTitle$1 = "뉴스레터 선택 업데이트";
|
|
5134
5098
|
var subtitle$7 = "귀하의 이메일은 다른 마케팅 용도로도 사용됩니다.";
|
|
5135
|
-
var labels$
|
|
5099
|
+
var labels$x = {
|
|
5136
5100
|
submit: "제출",
|
|
5137
5101
|
firstName: "이름",
|
|
5138
5102
|
lastName: "성",
|
|
@@ -5140,7 +5104,7 @@ var labels$u = {
|
|
|
5140
5104
|
postalCode: "우편번호",
|
|
5141
5105
|
required: "필수 항목"
|
|
5142
5106
|
};
|
|
5143
|
-
var messages$
|
|
5107
|
+
var messages$z = {
|
|
5144
5108
|
alreadyHaveAccount: "이미 계정이 있습니까?",
|
|
5145
5109
|
success: "뉴스레터가 성공적으로 업데이트되었습니다.",
|
|
5146
5110
|
loginHere: "여기에서 로그인하세요.",
|
|
@@ -5151,14 +5115,14 @@ var newsletter_ko = {
|
|
|
5151
5115
|
title: title$h,
|
|
5152
5116
|
updateTitle: updateTitle$1,
|
|
5153
5117
|
subtitle: subtitle$7,
|
|
5154
|
-
labels: labels$
|
|
5155
|
-
messages: messages$
|
|
5118
|
+
labels: labels$x,
|
|
5119
|
+
messages: messages$z
|
|
5156
5120
|
};
|
|
5157
5121
|
|
|
5158
|
-
var labels$
|
|
5122
|
+
var labels$w = {
|
|
5159
5123
|
"continue": "콘텐츠로 돌아가기"
|
|
5160
5124
|
};
|
|
5161
|
-
var messages$
|
|
5125
|
+
var messages$y = {
|
|
5162
5126
|
yourFreeTrial: "유료 멤버십에 가입하셨습니다!",
|
|
5163
5127
|
youHaveAccess: "멤버십 혜택을 즐기시기를 바라며, 질문이나 문의 사항이 있으면 저희에게 연락주십시오.",
|
|
5164
5128
|
clickToLearn: {
|
|
@@ -5184,12 +5148,12 @@ var errors$9 = {
|
|
|
5184
5148
|
"": ""
|
|
5185
5149
|
};
|
|
5186
5150
|
var success_ko = {
|
|
5187
|
-
labels: labels$
|
|
5188
|
-
messages: messages$
|
|
5151
|
+
labels: labels$w,
|
|
5152
|
+
messages: messages$y,
|
|
5189
5153
|
errors: errors$9
|
|
5190
5154
|
};
|
|
5191
5155
|
|
|
5192
|
-
var messages$
|
|
5156
|
+
var messages$x = {
|
|
5193
5157
|
freeVisits: "남은 무료 방문 기간:",
|
|
5194
5158
|
subscribeNow: "멤버십 가입",
|
|
5195
5159
|
alreadyHaveAccount: "이미 계정이 있습니까?",
|
|
@@ -5199,16 +5163,16 @@ var errors$8 = {
|
|
|
5199
5163
|
"": ""
|
|
5200
5164
|
};
|
|
5201
5165
|
var meter_ko = {
|
|
5202
|
-
messages: messages$
|
|
5166
|
+
messages: messages$x,
|
|
5203
5167
|
errors: errors$8
|
|
5204
5168
|
};
|
|
5205
5169
|
|
|
5206
|
-
var messages$
|
|
5170
|
+
var messages$w = {
|
|
5207
5171
|
youAreSafe: "PCI 준수 128비트 SSL 인증서로 보호됩니다. 제공: ",
|
|
5208
5172
|
bankRedirection: "잠시만 기다려 주십시오. 결제 은행으로 연결 중입니다.",
|
|
5209
5173
|
bankAuthenticationSuccess: "요청을 처리하는 동안 기다려 주십시오."
|
|
5210
5174
|
};
|
|
5211
|
-
var labels$
|
|
5175
|
+
var labels$v = {
|
|
5212
5176
|
card: "카드 번호 입력",
|
|
5213
5177
|
date: "만료일",
|
|
5214
5178
|
CVC: "CVC",
|
|
@@ -5231,8 +5195,8 @@ var labels$s = {
|
|
|
5231
5195
|
freeItems: "무료 아이템"
|
|
5232
5196
|
};
|
|
5233
5197
|
var checkoutForm_ko = {
|
|
5234
|
-
messages: messages$
|
|
5235
|
-
labels: labels$
|
|
5198
|
+
messages: messages$w,
|
|
5199
|
+
labels: labels$v
|
|
5236
5200
|
};
|
|
5237
5201
|
|
|
5238
5202
|
var youAreSafe$1 = "PCI 준수 128비트 SSL 인증서로 보호됩니다. 제공: ";
|
|
@@ -5256,7 +5220,7 @@ var messages_ko = {
|
|
|
5256
5220
|
zeroTotalInvoice: zeroTotalInvoice$1
|
|
5257
5221
|
};
|
|
5258
5222
|
|
|
5259
|
-
var labels$
|
|
5223
|
+
var labels$u = {
|
|
5260
5224
|
email: "이메일 입력",
|
|
5261
5225
|
username: "사용자 이름 입력",
|
|
5262
5226
|
password: "비밀번호 입력",
|
|
@@ -5265,7 +5229,7 @@ var labels$r = {
|
|
|
5265
5229
|
passwordPlaceholder: "비밀번호",
|
|
5266
5230
|
login: "로그인"
|
|
5267
5231
|
};
|
|
5268
|
-
var messages$
|
|
5232
|
+
var messages$v = {
|
|
5269
5233
|
loginTo: "귀하의 계정에 로그인",
|
|
5270
5234
|
welcome: "반갑습니다. 귀하의 기존 계정으로 로그인하세요.",
|
|
5271
5235
|
dontHaveAccount: "아직 계정이 없으신가요?",
|
|
@@ -5284,28 +5248,28 @@ var errors$7 = {
|
|
|
5284
5248
|
"": ""
|
|
5285
5249
|
};
|
|
5286
5250
|
var login_ko = {
|
|
5287
|
-
labels: labels$
|
|
5288
|
-
messages: messages$
|
|
5251
|
+
labels: labels$u,
|
|
5252
|
+
messages: messages$v,
|
|
5289
5253
|
errors: errors$7
|
|
5290
5254
|
};
|
|
5291
5255
|
|
|
5292
|
-
var labels$
|
|
5256
|
+
var labels$t = {
|
|
5293
5257
|
title: "비밀번호 없는 링크 확인",
|
|
5294
5258
|
instructions: "가는 중입니다!\n이메일 주소를 확인하겠습니다.\n이메일로 전송된 확인 링크를 클릭하세요.",
|
|
5295
5259
|
resend: "이메일 재전송"
|
|
5296
5260
|
};
|
|
5297
|
-
var messages$
|
|
5261
|
+
var messages$u = {
|
|
5298
5262
|
resent: "성공적으로 재전송",
|
|
5299
5263
|
success: "성공적으로 로그인했습니다"
|
|
5300
5264
|
};
|
|
5301
5265
|
var verifyLinkToken_ko = {
|
|
5302
|
-
labels: labels$
|
|
5303
|
-
messages: messages$
|
|
5266
|
+
labels: labels$t,
|
|
5267
|
+
messages: messages$u
|
|
5304
5268
|
};
|
|
5305
5269
|
|
|
5306
5270
|
var title$g = "계정 만들기";
|
|
5307
5271
|
var subtitle$6 = "아래에 이메일과 비밀번호를 입력하세요.";
|
|
5308
|
-
var labels$
|
|
5272
|
+
var labels$s = {
|
|
5309
5273
|
signUpFacebook: "Facebook으로 가입하기",
|
|
5310
5274
|
signUpGoogle: "Google로 가입하기",
|
|
5311
5275
|
signUpEmail: "이메일로 가입하기",
|
|
@@ -5318,7 +5282,7 @@ var labels$p = {
|
|
|
5318
5282
|
lastName: "성",
|
|
5319
5283
|
phone: "핸드폰"
|
|
5320
5284
|
};
|
|
5321
|
-
var messages$
|
|
5285
|
+
var messages$t = {
|
|
5322
5286
|
alreadyHaveAccount: "이미 계정이 있습니까?",
|
|
5323
5287
|
createAccount: "계정 만들기",
|
|
5324
5288
|
loginHere: "여기에서 로그인하세요.",
|
|
@@ -5392,14 +5356,14 @@ var redeem$1 = {
|
|
|
5392
5356
|
var register_ko = {
|
|
5393
5357
|
title: title$g,
|
|
5394
5358
|
subtitle: subtitle$6,
|
|
5395
|
-
labels: labels$
|
|
5396
|
-
messages: messages$
|
|
5359
|
+
labels: labels$s,
|
|
5360
|
+
messages: messages$t,
|
|
5397
5361
|
errors: errors$6,
|
|
5398
5362
|
gift: gift$1,
|
|
5399
5363
|
redeem: redeem$1
|
|
5400
5364
|
};
|
|
5401
5365
|
|
|
5402
|
-
var labels$
|
|
5366
|
+
var labels$r = {
|
|
5403
5367
|
title: "프로파일을 업데이트하시겠습니까?",
|
|
5404
5368
|
subtitle: "프로필을 업데이트하려면 아래 정보를 입력하세요.",
|
|
5405
5369
|
email: "이메일",
|
|
@@ -5418,21 +5382,21 @@ var labels$o = {
|
|
|
5418
5382
|
zoom: "확대",
|
|
5419
5383
|
tin: "세금 식별 번호"
|
|
5420
5384
|
};
|
|
5421
|
-
var messages$
|
|
5385
|
+
var messages$s = {
|
|
5422
5386
|
userUpdated: "감사합니다! 프로필이 성공적으로 업데이트되었습니다.",
|
|
5423
5387
|
pictureRemoved: "귀하의 프로필 사진이 제거되었습니다.",
|
|
5424
5388
|
pictureUpdated: "귀하의 프로필 사진이 업데이트되었습니다."
|
|
5425
5389
|
};
|
|
5426
5390
|
var userEdit_ko = {
|
|
5427
|
-
labels: labels$
|
|
5428
|
-
messages: messages$
|
|
5391
|
+
labels: labels$r,
|
|
5392
|
+
messages: messages$s
|
|
5429
5393
|
};
|
|
5430
5394
|
|
|
5431
5395
|
var title$f = "배송 주소를 입력하십시오.";
|
|
5432
5396
|
var titleGifting$1 = "주소를 입력하세요";
|
|
5433
5397
|
var selectAddressTitle$1 = "주소를 선택하십시오.";
|
|
5434
5398
|
var selectAddressSubtitle$1 = "저장된 주소에서 선택하거나 새 주소를 추가하십시오.";
|
|
5435
|
-
var labels$
|
|
5399
|
+
var labels$q = {
|
|
5436
5400
|
address: "주소",
|
|
5437
5401
|
code: "우편번호",
|
|
5438
5402
|
city: "도시",
|
|
@@ -5448,7 +5412,7 @@ var buttons$8 = {
|
|
|
5448
5412
|
selectAddress: "주소 선택",
|
|
5449
5413
|
addAddress: "새 주소 추가"
|
|
5450
5414
|
};
|
|
5451
|
-
var messages$
|
|
5415
|
+
var messages$r = {
|
|
5452
5416
|
addressUpdated: "주소가 성공적으로 업데이트되었습니다!",
|
|
5453
5417
|
subRedeemed: "귀하의 유료 멤버십이 사용되었습니다."
|
|
5454
5418
|
};
|
|
@@ -5457,9 +5421,9 @@ var address_ko = {
|
|
|
5457
5421
|
titleGifting: titleGifting$1,
|
|
5458
5422
|
selectAddressTitle: selectAddressTitle$1,
|
|
5459
5423
|
selectAddressSubtitle: selectAddressSubtitle$1,
|
|
5460
|
-
labels: labels$
|
|
5424
|
+
labels: labels$q,
|
|
5461
5425
|
buttons: buttons$8,
|
|
5462
|
-
messages: messages$
|
|
5426
|
+
messages: messages$r
|
|
5463
5427
|
};
|
|
5464
5428
|
|
|
5465
5429
|
var title$e = "비밀번호 재설정";
|
|
@@ -5487,7 +5451,7 @@ var password$2 = "비밀번호";
|
|
|
5487
5451
|
var submit$6 = "제출";
|
|
5488
5452
|
var required$6 = "필수 항목";
|
|
5489
5453
|
var passwordResetEmailSent$1 = "비밀번호 재설정 안내가 귀하의 이메일로 발송되었습니다.";
|
|
5490
|
-
var messages$
|
|
5454
|
+
var messages$q = {
|
|
5491
5455
|
alreadyHaveAccount: "이미 계정이 있습니까?",
|
|
5492
5456
|
loginHere: "여기에서 로그인하세요."
|
|
5493
5457
|
};
|
|
@@ -5498,7 +5462,7 @@ var passwordForgot_ko = {
|
|
|
5498
5462
|
submit: submit$6,
|
|
5499
5463
|
required: required$6,
|
|
5500
5464
|
passwordResetEmailSent: passwordResetEmailSent$1,
|
|
5501
|
-
messages: messages$
|
|
5465
|
+
messages: messages$q
|
|
5502
5466
|
};
|
|
5503
5467
|
|
|
5504
5468
|
var title$c = "비밀번호를 변경합니다.";
|
|
@@ -5526,7 +5490,7 @@ var title$b = "비밀번호 없는 로그인";
|
|
|
5526
5490
|
var email$3 = "이메일 입력";
|
|
5527
5491
|
var submit$4 = "제출";
|
|
5528
5492
|
var required$4 = "필수 항목";
|
|
5529
|
-
var messages$
|
|
5493
|
+
var messages$p = {
|
|
5530
5494
|
PasswordlessLoginSuccess: "비밀번호 없는 로그인으로 성공적으로 인증되었습니다."
|
|
5531
5495
|
};
|
|
5532
5496
|
var passwordlessRequest_ko = {
|
|
@@ -5534,7 +5498,7 @@ var passwordlessRequest_ko = {
|
|
|
5534
5498
|
email: email$3,
|
|
5535
5499
|
submit: submit$4,
|
|
5536
5500
|
required: required$4,
|
|
5537
|
-
messages: messages$
|
|
5501
|
+
messages: messages$p
|
|
5538
5502
|
};
|
|
5539
5503
|
|
|
5540
5504
|
var title$a = "귀하의 장바구니";
|
|
@@ -5568,7 +5532,7 @@ var buttons$7 = {
|
|
|
5568
5532
|
purchase: "구매",
|
|
5569
5533
|
"continue": "계속"
|
|
5570
5534
|
};
|
|
5571
|
-
var messages$
|
|
5535
|
+
var messages$o = {
|
|
5572
5536
|
orderConfirmed: {
|
|
5573
5537
|
title: "주문이 확인되었습니다!",
|
|
5574
5538
|
body: "귀하의 주문이 확인되었으며 며칠 안에 배송될 예정입니다. 이 주문의 확인 이메일이 귀하에게 전송됩니다."
|
|
@@ -5577,17 +5541,17 @@ var messages$n = {
|
|
|
5577
5541
|
multipleCurrencies: "장바구니에 다른 통화로만 결제가 가능한 아이템이 있습니다. 결제를 계속 진행하려면 모든 아이템의 결제 통화가 동일한지 확인하십시오.",
|
|
5578
5542
|
currencyMismatch: "선택하신 아이템(들)이 귀하가 설정한 기본 통화({{currency}})와 일치하지 않습니다. 기본 통화와 일치하는 아이템(들)만 선택하십시오."
|
|
5579
5543
|
};
|
|
5580
|
-
var labels$
|
|
5544
|
+
var labels$p = {
|
|
5581
5545
|
summary: "주문 요약",
|
|
5582
5546
|
total: "총계"
|
|
5583
5547
|
};
|
|
5584
5548
|
var shop_ko = {
|
|
5585
5549
|
buttons: buttons$7,
|
|
5586
|
-
messages: messages$
|
|
5587
|
-
labels: labels$
|
|
5550
|
+
messages: messages$o,
|
|
5551
|
+
labels: labels$p
|
|
5588
5552
|
};
|
|
5589
5553
|
|
|
5590
|
-
var labels$
|
|
5554
|
+
var labels$o = {
|
|
5591
5555
|
cardNumber: "카드 번호",
|
|
5592
5556
|
securityCode: "보안 코드",
|
|
5593
5557
|
submit: "제출",
|
|
@@ -5609,7 +5573,7 @@ var labels$l = {
|
|
|
5609
5573
|
title: "결제 정보"
|
|
5610
5574
|
}
|
|
5611
5575
|
};
|
|
5612
|
-
var messages$
|
|
5576
|
+
var messages$n = {
|
|
5613
5577
|
youAreSafe: "PCI 준수 128비트 SSL 인증서로 보호됩니다. 제공: ",
|
|
5614
5578
|
cancel: "유료 멤버십은 언제든 온라인으로 취소가 가능합니다.",
|
|
5615
5579
|
giftSent: "유료 멤버십 선물이 ",
|
|
@@ -5623,12 +5587,12 @@ var errors$5 = {
|
|
|
5623
5587
|
"": ""
|
|
5624
5588
|
};
|
|
5625
5589
|
var payment_ko = {
|
|
5626
|
-
labels: labels$
|
|
5627
|
-
messages: messages$
|
|
5590
|
+
labels: labels$o,
|
|
5591
|
+
messages: messages$n,
|
|
5628
5592
|
errors: errors$5
|
|
5629
5593
|
};
|
|
5630
5594
|
|
|
5631
|
-
var labels$
|
|
5595
|
+
var labels$n = {
|
|
5632
5596
|
menu: "Pelcro 메뉴",
|
|
5633
5597
|
name: "이름",
|
|
5634
5598
|
email: "이메일",
|
|
@@ -5776,7 +5740,7 @@ var savedItems = {
|
|
|
5776
5740
|
var subCancellation = {
|
|
5777
5741
|
goBack: "뒤로 가기"
|
|
5778
5742
|
};
|
|
5779
|
-
var messages$
|
|
5743
|
+
var messages$m = {
|
|
5780
5744
|
noCard: "등록된 카드가 없습니다.",
|
|
5781
5745
|
subCancellation: {
|
|
5782
5746
|
isSureToCancel: "정말로 유료 멤버십을 취소하시겠습니까?",
|
|
@@ -5796,7 +5760,7 @@ var messages$l = {
|
|
|
5796
5760
|
}
|
|
5797
5761
|
};
|
|
5798
5762
|
var dashboard_ko = {
|
|
5799
|
-
labels: labels$
|
|
5763
|
+
labels: labels$n,
|
|
5800
5764
|
shipments: shipments,
|
|
5801
5765
|
logout: logout,
|
|
5802
5766
|
dashboard: dashboard$1,
|
|
@@ -5845,15 +5809,15 @@ var dashboard_ko = {
|
|
|
5845
5809
|
orders: orders,
|
|
5846
5810
|
savedItems: savedItems,
|
|
5847
5811
|
subCancellation: subCancellation,
|
|
5848
|
-
messages: messages$
|
|
5812
|
+
messages: messages$m
|
|
5849
5813
|
};
|
|
5850
5814
|
|
|
5851
|
-
var messages$
|
|
5815
|
+
var messages$l = {
|
|
5852
5816
|
alreadyHaveAccount: "이미 계정이 있습니까?",
|
|
5853
5817
|
loginHere: "여기에서 로그인하세요.",
|
|
5854
5818
|
checkbox: "이 유료 멤버십을 선물하려면 체크하세요."
|
|
5855
5819
|
};
|
|
5856
|
-
var labels$
|
|
5820
|
+
var labels$m = {
|
|
5857
5821
|
plan: {
|
|
5858
5822
|
title: "요금제 가입하기",
|
|
5859
5823
|
subtitle: "아래 요금제 중 하나를 선택하고 다음을 클릭하세요."
|
|
@@ -5876,8 +5840,8 @@ var buttons$6 = {
|
|
|
5876
5840
|
back: "뒤로"
|
|
5877
5841
|
};
|
|
5878
5842
|
var select_ko = {
|
|
5879
|
-
messages: messages$
|
|
5880
|
-
labels: labels$
|
|
5843
|
+
messages: messages$l,
|
|
5844
|
+
labels: labels$m,
|
|
5881
5845
|
buttons: buttons$6
|
|
5882
5846
|
};
|
|
5883
5847
|
|
|
@@ -5891,22 +5855,22 @@ var notification_ko = {
|
|
|
5891
5855
|
confirm: confirm$3
|
|
5892
5856
|
};
|
|
5893
5857
|
|
|
5894
|
-
var labels$
|
|
5858
|
+
var labels$l = {
|
|
5895
5859
|
title: "이메일 주소를 인증하세요.",
|
|
5896
5860
|
instructions: "거의 완료되었습니다!\n이메일 주소만 인증하면 됩니다.\n다음 이메일 주소로 전송된 인증 링크를 클릭해 주십시오:",
|
|
5897
5861
|
resend: "이메일 재전송"
|
|
5898
5862
|
};
|
|
5899
|
-
var messages$
|
|
5863
|
+
var messages$k = {
|
|
5900
5864
|
resent: "재전송 완료",
|
|
5901
5865
|
success: "이메일 주소가 인증되었습니다!"
|
|
5902
5866
|
};
|
|
5903
5867
|
var verifyEmail_ko = {
|
|
5904
|
-
labels: labels$
|
|
5905
|
-
messages: messages$
|
|
5868
|
+
labels: labels$l,
|
|
5869
|
+
messages: messages$k
|
|
5906
5870
|
};
|
|
5907
5871
|
|
|
5908
5872
|
var title$9 = "인보이스 세부 정보";
|
|
5909
|
-
var labels$
|
|
5873
|
+
var labels$k = {
|
|
5910
5874
|
summary: "요약",
|
|
5911
5875
|
total: "총계",
|
|
5912
5876
|
amountPaid: "지불된 금액",
|
|
@@ -5919,11 +5883,50 @@ var buttons$5 = {
|
|
|
5919
5883
|
};
|
|
5920
5884
|
var invoiceDetails_ko = {
|
|
5921
5885
|
title: title$9,
|
|
5922
|
-
labels: labels$
|
|
5886
|
+
labels: labels$k,
|
|
5923
5887
|
buttons: buttons$5
|
|
5924
5888
|
};
|
|
5925
5889
|
|
|
5926
|
-
var labels$
|
|
5890
|
+
var labels$j = {
|
|
5891
|
+
title: "구독 취소",
|
|
5892
|
+
cancelReason: "취소 사유",
|
|
5893
|
+
subCancellation: {
|
|
5894
|
+
goBack: "돌아가기"
|
|
5895
|
+
}
|
|
5896
|
+
};
|
|
5897
|
+
var messages$j = {
|
|
5898
|
+
subscriptionEnd: "이 구독은 다음 날짜에 만료되도록 설정되었습니다.",
|
|
5899
|
+
cancelNow: "지금 구독 취소",
|
|
5900
|
+
cancelLater: "기간 종료 시 취소",
|
|
5901
|
+
subCancellation: {
|
|
5902
|
+
isSureToCancelNow: "구독을 즉시 취소하시겠습니까?",
|
|
5903
|
+
isSureToCancel: "구독을 취소하시겠습니까?",
|
|
5904
|
+
loading: "구독 취소",
|
|
5905
|
+
success: "구독이 성공적으로 취소되었습니다.",
|
|
5906
|
+
error: "구독 취소 중 오류 발생"
|
|
5907
|
+
}
|
|
5908
|
+
};
|
|
5909
|
+
var subscriptionCancel_ko = {
|
|
5910
|
+
labels: labels$j,
|
|
5911
|
+
messages: messages$j
|
|
5912
|
+
};
|
|
5913
|
+
|
|
5914
|
+
var labels$i = {
|
|
5915
|
+
inviteMembers: "회원 초대",
|
|
5916
|
+
listOfMembers: "구성원 목록",
|
|
5917
|
+
invite: "초대",
|
|
5918
|
+
remove: "제거하다",
|
|
5919
|
+
emails: "이메일 입력",
|
|
5920
|
+
status: "상태",
|
|
5921
|
+
actions: "행위",
|
|
5922
|
+
email: "이메일",
|
|
5923
|
+
listNote: "쉼표로 구분된 목록입니다."
|
|
5924
|
+
};
|
|
5925
|
+
var subscriptionManageMembers_ko = {
|
|
5926
|
+
labels: labels$i
|
|
5927
|
+
};
|
|
5928
|
+
|
|
5929
|
+
var labels$h = {
|
|
5927
5930
|
title: "구독 중단",
|
|
5928
5931
|
suspensionDate: "중단 날짜",
|
|
5929
5932
|
subCancellation: {
|
|
@@ -5943,7 +5946,7 @@ var messages$i = {
|
|
|
5943
5946
|
}
|
|
5944
5947
|
};
|
|
5945
5948
|
var subscriptionSuspend_ko = {
|
|
5946
|
-
labels: labels$
|
|
5949
|
+
labels: labels$h,
|
|
5947
5950
|
messages: messages$i
|
|
5948
5951
|
};
|
|
5949
5952
|
|
|
@@ -6064,7 +6067,7 @@ var paymentMethod_es = {
|
|
|
6064
6067
|
var title$8 = "Ingresa tu correo para suscribirte a nuestro boletín";
|
|
6065
6068
|
var updateTitle = "Actualizar selecciones del boletín";
|
|
6066
6069
|
var subtitle$3 = "Podríamos usar tu dirección de correo para otras comunicaciones de marketing";
|
|
6067
|
-
var labels$
|
|
6070
|
+
var labels$g = {
|
|
6068
6071
|
submit: "Enviar",
|
|
6069
6072
|
firstName: "Nombre",
|
|
6070
6073
|
lastName: "Apellido",
|
|
@@ -6083,11 +6086,11 @@ var newsletter_es = {
|
|
|
6083
6086
|
title: title$8,
|
|
6084
6087
|
updateTitle: updateTitle,
|
|
6085
6088
|
subtitle: subtitle$3,
|
|
6086
|
-
labels: labels$
|
|
6089
|
+
labels: labels$g,
|
|
6087
6090
|
messages: messages$h
|
|
6088
6091
|
};
|
|
6089
6092
|
|
|
6090
|
-
var labels$
|
|
6093
|
+
var labels$f = {
|
|
6091
6094
|
"continue": "Continuar al contenido"
|
|
6092
6095
|
};
|
|
6093
6096
|
var messages$g = {
|
|
@@ -6116,7 +6119,7 @@ var errors$4 = {
|
|
|
6116
6119
|
"": ""
|
|
6117
6120
|
};
|
|
6118
6121
|
var success_es = {
|
|
6119
|
-
labels: labels$
|
|
6122
|
+
labels: labels$f,
|
|
6120
6123
|
messages: messages$g,
|
|
6121
6124
|
errors: errors$4
|
|
6122
6125
|
};
|
|
@@ -6140,7 +6143,7 @@ var messages$e = {
|
|
|
6140
6143
|
bankRedirection: "Por favor, espera, estamos redireccionando a tu banco.",
|
|
6141
6144
|
bankAuthenticationSuccess: "Por favor, espera un momento mientras procesamos tu solicitud."
|
|
6142
6145
|
};
|
|
6143
|
-
var labels$
|
|
6146
|
+
var labels$e = {
|
|
6144
6147
|
card: "Ingresar número de tarjeta",
|
|
6145
6148
|
date: "Vencimiento",
|
|
6146
6149
|
CVC: "CVC",
|
|
@@ -6164,7 +6167,7 @@ var labels$d = {
|
|
|
6164
6167
|
};
|
|
6165
6168
|
var checkoutForm_es = {
|
|
6166
6169
|
messages: messages$e,
|
|
6167
|
-
labels: labels$
|
|
6170
|
+
labels: labels$e
|
|
6168
6171
|
};
|
|
6169
6172
|
|
|
6170
6173
|
var youAreSafe = "Estás seguro - PCI compliance 128 SSL por";
|
|
@@ -6186,7 +6189,7 @@ var messages_es = {
|
|
|
6186
6189
|
zeroTotalInvoice: zeroTotalInvoice
|
|
6187
6190
|
};
|
|
6188
6191
|
|
|
6189
|
-
var labels$
|
|
6192
|
+
var labels$d = {
|
|
6190
6193
|
email: "Ingresar correo",
|
|
6191
6194
|
password: "Ingresar contraseña",
|
|
6192
6195
|
required: "obligatorio",
|
|
@@ -6213,12 +6216,12 @@ var errors$2 = {
|
|
|
6213
6216
|
"": ""
|
|
6214
6217
|
};
|
|
6215
6218
|
var login_es = {
|
|
6216
|
-
labels: labels$
|
|
6219
|
+
labels: labels$d,
|
|
6217
6220
|
messages: messages$d,
|
|
6218
6221
|
errors: errors$2
|
|
6219
6222
|
};
|
|
6220
6223
|
|
|
6221
|
-
var labels$
|
|
6224
|
+
var labels$c = {
|
|
6222
6225
|
title: "Verificando Enlace Sin Contraseña",
|
|
6223
6226
|
instructions: "¡Ya casi terminas!\nVamos a confirmar tu dirección de correo.\nPulsa el enlace de verificación que hemos enviado a tu correo:",
|
|
6224
6227
|
resend: "Reenviar correo"
|
|
@@ -6228,13 +6231,13 @@ var messages$c = {
|
|
|
6228
6231
|
success: "Inicio de sesión exitoso"
|
|
6229
6232
|
};
|
|
6230
6233
|
var verifyLinkToken_es = {
|
|
6231
|
-
labels: labels$
|
|
6234
|
+
labels: labels$c,
|
|
6232
6235
|
messages: messages$c
|
|
6233
6236
|
};
|
|
6234
6237
|
|
|
6235
6238
|
var title$7 = "Crear una cuenta";
|
|
6236
6239
|
var subtitle$2 = "Ingresa tu correo y contraseña a continuación";
|
|
6237
|
-
var labels$
|
|
6240
|
+
var labels$b = {
|
|
6238
6241
|
signUpFacebook: "Regístrate con Facebook",
|
|
6239
6242
|
signUpGoogle: "Regístrate con Google",
|
|
6240
6243
|
signUpEmail: "Regístrate con Correo",
|
|
@@ -6321,14 +6324,14 @@ var redeem = {
|
|
|
6321
6324
|
var register_es = {
|
|
6322
6325
|
title: title$7,
|
|
6323
6326
|
subtitle: subtitle$2,
|
|
6324
|
-
labels: labels$
|
|
6327
|
+
labels: labels$b,
|
|
6325
6328
|
messages: messages$b,
|
|
6326
6329
|
errors: errors$1,
|
|
6327
6330
|
gift: gift,
|
|
6328
6331
|
redeem: redeem
|
|
6329
6332
|
};
|
|
6330
6333
|
|
|
6331
|
-
var labels$
|
|
6334
|
+
var labels$a = {
|
|
6332
6335
|
title: "¿Quieres actualizar tu perfil?",
|
|
6333
6336
|
subtitle: "Ingresa tu información a continuación para actualizar tu perfil",
|
|
6334
6337
|
email: "Correo",
|
|
@@ -6353,7 +6356,7 @@ var messages$a = {
|
|
|
6353
6356
|
pictureUpdated: "Tu foto de perfil se actualizó con éxito."
|
|
6354
6357
|
};
|
|
6355
6358
|
var userEdit_es = {
|
|
6356
|
-
labels: labels$
|
|
6359
|
+
labels: labels$a,
|
|
6357
6360
|
messages: messages$a
|
|
6358
6361
|
};
|
|
6359
6362
|
|
|
@@ -6361,7 +6364,7 @@ var title$6 = "Ingresa tu dirección de envío";
|
|
|
6361
6364
|
var titleGifting = "Introduce tu dirección";
|
|
6362
6365
|
var selectAddressTitle = "Por favor, selecciona una dirección";
|
|
6363
6366
|
var selectAddressSubtitle = "Selecciona una de tus direcciones guardadas o añade una nueva";
|
|
6364
|
-
var labels$
|
|
6367
|
+
var labels$9 = {
|
|
6365
6368
|
address: "Dirección",
|
|
6366
6369
|
code: "Código Postal/Área",
|
|
6367
6370
|
city: "Ciudad",
|
|
@@ -6386,7 +6389,7 @@ var address_es = {
|
|
|
6386
6389
|
titleGifting: titleGifting,
|
|
6387
6390
|
selectAddressTitle: selectAddressTitle,
|
|
6388
6391
|
selectAddressSubtitle: selectAddressSubtitle,
|
|
6389
|
-
labels: labels$
|
|
6392
|
+
labels: labels$9,
|
|
6390
6393
|
buttons: buttons$3,
|
|
6391
6394
|
messages: messages$9
|
|
6392
6395
|
};
|
|
@@ -6506,17 +6509,17 @@ var messages$6 = {
|
|
|
6506
6509
|
multipleCurrencies: "Tu carrito actualmente contiene artículos que están disponibles en diferentes divisas. Para proceder a la compra, asegúrate de que todos los artículos tengan la misma divisa.",
|
|
6507
6510
|
currencyMismatch: "El siguiente artículo(s) no coincide con tu divisa predeterminada actual ({{currency}}). Por favor, solo elige artículos que coincidan con esta divisa."
|
|
6508
6511
|
};
|
|
6509
|
-
var labels$
|
|
6512
|
+
var labels$8 = {
|
|
6510
6513
|
summary: "Resumen de la orden",
|
|
6511
6514
|
total: "total"
|
|
6512
6515
|
};
|
|
6513
6516
|
var shop_es = {
|
|
6514
6517
|
buttons: buttons$2,
|
|
6515
6518
|
messages: messages$6,
|
|
6516
|
-
labels: labels$
|
|
6519
|
+
labels: labels$8
|
|
6517
6520
|
};
|
|
6518
6521
|
|
|
6519
|
-
var labels$
|
|
6522
|
+
var labels$7 = {
|
|
6520
6523
|
cardNumber: "Número de Tarjeta",
|
|
6521
6524
|
securityCode: "Código de Seguridad",
|
|
6522
6525
|
submit: "Enviar",
|
|
@@ -6552,12 +6555,12 @@ var errors = {
|
|
|
6552
6555
|
"": ""
|
|
6553
6556
|
};
|
|
6554
6557
|
var payment_es = {
|
|
6555
|
-
labels: labels$
|
|
6558
|
+
labels: labels$7,
|
|
6556
6559
|
messages: messages$5,
|
|
6557
6560
|
errors: errors
|
|
6558
6561
|
};
|
|
6559
6562
|
|
|
6560
|
-
var labels$
|
|
6563
|
+
var labels$6 = {
|
|
6561
6564
|
menu: "Menú de Pelcro",
|
|
6562
6565
|
name: "Nombre",
|
|
6563
6566
|
email: "Correo",
|
|
@@ -6572,6 +6575,7 @@ var labels$5 = {
|
|
|
6572
6575
|
scheduled: "Programada",
|
|
6573
6576
|
incomplete: "Incompleta"
|
|
6574
6577
|
},
|
|
6578
|
+
manageMembers: "Administrar miembros",
|
|
6575
6579
|
shipments: "Envíos restantes",
|
|
6576
6580
|
logout: "Cerrar sesión",
|
|
6577
6581
|
dashboard: "Panel",
|
|
@@ -6664,7 +6668,7 @@ var messages$4 = {
|
|
|
6664
6668
|
}
|
|
6665
6669
|
};
|
|
6666
6670
|
var dashboard_es = {
|
|
6667
|
-
labels: labels$
|
|
6671
|
+
labels: labels$6,
|
|
6668
6672
|
messages: messages$4
|
|
6669
6673
|
};
|
|
6670
6674
|
|
|
@@ -6673,7 +6677,7 @@ var messages$3 = {
|
|
|
6673
6677
|
loginHere: "Inicia sesión aquí",
|
|
6674
6678
|
checkbox: "Marca esta casilla para regalar esta suscripción"
|
|
6675
6679
|
};
|
|
6676
|
-
var labels$
|
|
6680
|
+
var labels$5 = {
|
|
6677
6681
|
plan: {
|
|
6678
6682
|
title: "Suscribirse a un plan",
|
|
6679
6683
|
subtitle: "Selecciona uno de los planes a continuación y pulsa en siguiente."
|
|
@@ -6697,7 +6701,7 @@ var buttons$1 = {
|
|
|
6697
6701
|
};
|
|
6698
6702
|
var select_es = {
|
|
6699
6703
|
messages: messages$3,
|
|
6700
|
-
labels: labels$
|
|
6704
|
+
labels: labels$5,
|
|
6701
6705
|
buttons: buttons$1
|
|
6702
6706
|
};
|
|
6703
6707
|
|
|
@@ -6711,7 +6715,7 @@ var notification_es = {
|
|
|
6711
6715
|
confirm: confirm
|
|
6712
6716
|
};
|
|
6713
6717
|
|
|
6714
|
-
var labels$
|
|
6718
|
+
var labels$4 = {
|
|
6715
6719
|
title: "Verifica tu correo",
|
|
6716
6720
|
instructions: "¡Ya casi terminas!\nVamos a confirmar tu dirección de correo.\nPulsa el enlace de verificación que hemos enviado a tu correo:",
|
|
6717
6721
|
resend: "Reenviar correo"
|
|
@@ -6721,12 +6725,12 @@ var messages$2 = {
|
|
|
6721
6725
|
success: "¡El correo se verificó con éxito!"
|
|
6722
6726
|
};
|
|
6723
6727
|
var verifyEmail_es = {
|
|
6724
|
-
labels: labels$
|
|
6728
|
+
labels: labels$4,
|
|
6725
6729
|
messages: messages$2
|
|
6726
6730
|
};
|
|
6727
6731
|
|
|
6728
6732
|
var title = "Detalles del comprobante de pago";
|
|
6729
|
-
var labels$
|
|
6733
|
+
var labels$3 = {
|
|
6730
6734
|
summary: "Resumen",
|
|
6731
6735
|
total: "Total",
|
|
6732
6736
|
amountPaid: "Monto pagado",
|
|
@@ -6739,11 +6743,11 @@ var buttons = {
|
|
|
6739
6743
|
};
|
|
6740
6744
|
var invoiceDetails_es = {
|
|
6741
6745
|
title: title,
|
|
6742
|
-
labels: labels$
|
|
6746
|
+
labels: labels$3,
|
|
6743
6747
|
buttons: buttons
|
|
6744
6748
|
};
|
|
6745
6749
|
|
|
6746
|
-
var labels$
|
|
6750
|
+
var labels$2 = {
|
|
6747
6751
|
title: "Cancelar suscripción",
|
|
6748
6752
|
cancelReason: "Razón de la cancelación",
|
|
6749
6753
|
subCancellation: {
|
|
@@ -6763,10 +6767,25 @@ var messages$1 = {
|
|
|
6763
6767
|
}
|
|
6764
6768
|
};
|
|
6765
6769
|
var subscriptionCancel_es = {
|
|
6766
|
-
labels: labels$
|
|
6770
|
+
labels: labels$2,
|
|
6767
6771
|
messages: messages$1
|
|
6768
6772
|
};
|
|
6769
6773
|
|
|
6774
|
+
var labels$1 = {
|
|
6775
|
+
inviteMembers: "Invitar miembros",
|
|
6776
|
+
listOfMembers: "Lista de miembros",
|
|
6777
|
+
invite: "Invitar",
|
|
6778
|
+
remove: "quitar",
|
|
6779
|
+
emails: "Ingresar correo electrónico",
|
|
6780
|
+
status: "Estado",
|
|
6781
|
+
actions: "Acciones",
|
|
6782
|
+
email: "Correo electrónico",
|
|
6783
|
+
listNote: "Lista separada por comas, por ejemplo"
|
|
6784
|
+
};
|
|
6785
|
+
var subscriptionManageMembers_es = {
|
|
6786
|
+
labels: labels$1
|
|
6787
|
+
};
|
|
6788
|
+
|
|
6770
6789
|
var labels = {
|
|
6771
6790
|
title: "Suspender suscripción",
|
|
6772
6791
|
suspensionDate: "Fecha de suspensión",
|
|
@@ -8174,7 +8193,7 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
|
|
|
8174
8193
|
OutboundLink$1.origTrackLink = OutboundLink$1.trackLink;
|
|
8175
8194
|
OutboundLink$1.trackLink = outboundLink;
|
|
8176
8195
|
var OutboundLink = OutboundLink$1;
|
|
8177
|
-
var
|
|
8196
|
+
var ReactGA = _objectSpread({}, Defaults, {
|
|
8178
8197
|
OutboundLink: OutboundLink
|
|
8179
8198
|
});
|
|
8180
8199
|
|
|
@@ -8713,8 +8732,6 @@ exports["default"] = _default;
|
|
|
8713
8732
|
var ReactGA4 = unwrapExports(dist);
|
|
8714
8733
|
dist.ReactGAImplementation;
|
|
8715
8734
|
|
|
8716
|
-
var _window$d, _window$Pelcro$d, _window$Pelcro$uiSett$d;
|
|
8717
|
-
const ReactGA$d = (_window$d = window) !== null && _window$d !== void 0 && (_window$Pelcro$d = _window$d.Pelcro) !== null && _window$Pelcro$d !== void 0 && (_window$Pelcro$uiSett$d = _window$Pelcro$d.uiSettings) !== null && _window$Pelcro$uiSett$d !== void 0 && _window$Pelcro$uiSett$d.enableReactGA4 ? ReactGA4 : ReactGA1;
|
|
8718
8735
|
class PelcroActions {
|
|
8719
8736
|
constructor(storeSetter, storeGetter) {
|
|
8720
8737
|
var _this = this;
|
|
@@ -8894,23 +8911,31 @@ class PelcroActions {
|
|
|
8894
8911
|
});
|
|
8895
8912
|
});
|
|
8896
8913
|
_defineProperty$3(this, "logout", function () {
|
|
8897
|
-
var
|
|
8914
|
+
var _window, _window$Pelcro, _window$Pelcro$uiSett;
|
|
8898
8915
|
let displayLogin = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;
|
|
8899
8916
|
const {
|
|
8900
8917
|
switchView,
|
|
8901
8918
|
resetView,
|
|
8902
8919
|
isAuthenticated
|
|
8903
8920
|
} = _this.get();
|
|
8921
|
+
const enableReactGA4 = (_window = window) === null || _window === void 0 ? void 0 : (_window$Pelcro = _window.Pelcro) === null || _window$Pelcro === void 0 ? void 0 : (_window$Pelcro$uiSett = _window$Pelcro.uiSettings) === null || _window$Pelcro$uiSett === void 0 ? void 0 : _window$Pelcro$uiSett.enableReactGA4;
|
|
8904
8922
|
// if user is not authenticated function execution is terminated
|
|
8905
8923
|
if (!isAuthenticated()) {
|
|
8906
8924
|
return console.warn("You are already logged out.");
|
|
8907
8925
|
}
|
|
8908
8926
|
window.Pelcro.user.logout();
|
|
8909
|
-
|
|
8910
|
-
|
|
8911
|
-
|
|
8912
|
-
|
|
8913
|
-
}
|
|
8927
|
+
if (enableReactGA4) {
|
|
8928
|
+
ReactGA4.event("Logged out", {
|
|
8929
|
+
nonInteraction: true
|
|
8930
|
+
});
|
|
8931
|
+
} else {
|
|
8932
|
+
var _ReactGA$event;
|
|
8933
|
+
ReactGA === null || ReactGA === void 0 ? void 0 : (_ReactGA$event = ReactGA.event) === null || _ReactGA$event === void 0 ? void 0 : _ReactGA$event.call(ReactGA, {
|
|
8934
|
+
category: "ACTIONS",
|
|
8935
|
+
action: "Logged out",
|
|
8936
|
+
nonInteraction: true
|
|
8937
|
+
});
|
|
8938
|
+
}
|
|
8914
8939
|
resetView();
|
|
8915
8940
|
if (displayLogin) {
|
|
8916
8941
|
switchView("login");
|
|
@@ -8923,7 +8948,7 @@ class PelcroActions {
|
|
|
8923
8948
|
return false;
|
|
8924
8949
|
}
|
|
8925
8950
|
|
|
8926
|
-
//Dispatch PelcroElementsCartItemAdded when an item added successfully to the
|
|
8951
|
+
// Dispatch PelcroElementsCartItemAdded when an item added successfully to the
|
|
8927
8952
|
document.dispatchEvent(cartItemAdded(itemToAdd));
|
|
8928
8953
|
const {
|
|
8929
8954
|
cartItems
|
|
@@ -9132,9 +9157,6 @@ if (process.env.NODE_ENV === "development") {
|
|
|
9132
9157
|
c$1("Pelcro Store", usePelcro);
|
|
9133
9158
|
}
|
|
9134
9159
|
|
|
9135
|
-
var _window$c, _window$Pelcro$c, _window$Pelcro$uiSett$c;
|
|
9136
|
-
const ReactGA$c = (_window$c = window) !== null && _window$c !== void 0 && (_window$Pelcro$c = _window$c.Pelcro) !== null && _window$Pelcro$c !== void 0 && (_window$Pelcro$uiSett$c = _window$Pelcro$c.uiSettings) !== null && _window$Pelcro$uiSett$c !== void 0 && _window$Pelcro$uiSett$c.enableReactGA4 ? ReactGA4 : ReactGA1;
|
|
9137
|
-
|
|
9138
9160
|
/**
|
|
9139
9161
|
* List of zero-decimal currencies.
|
|
9140
9162
|
* @see https://stripe.com/docs/currencies#zero-decimal
|
|
@@ -9220,8 +9242,8 @@ const getLanguageWithoutRegion = localeName => {
|
|
|
9220
9242
|
* @return {string | undefined}
|
|
9221
9243
|
*/
|
|
9222
9244
|
const getPageOrDefaultLanguage = () => {
|
|
9223
|
-
var _window$Pelcro$helper, _window$
|
|
9224
|
-
return (_window$Pelcro$helper = window.Pelcro.helpers.getHtmlLanguageAttribute()) !== null && _window$Pelcro$helper !== void 0 ? _window$Pelcro$helper : getLanguageWithoutRegion((_window$
|
|
9245
|
+
var _window$Pelcro$helper, _window$Pelcro, _window$Pelcro$site, _window$Pelcro$site$r, _window$Pelcro$site$r2;
|
|
9246
|
+
return (_window$Pelcro$helper = window.Pelcro.helpers.getHtmlLanguageAttribute()) !== null && _window$Pelcro$helper !== void 0 ? _window$Pelcro$helper : getLanguageWithoutRegion((_window$Pelcro = window.Pelcro) === null || _window$Pelcro === void 0 ? void 0 : (_window$Pelcro$site = _window$Pelcro.site) === null || _window$Pelcro$site === void 0 ? void 0 : (_window$Pelcro$site$r = _window$Pelcro$site.read) === null || _window$Pelcro$site$r === void 0 ? void 0 : (_window$Pelcro$site$r2 = _window$Pelcro$site$r.call(_window$Pelcro$site)) === null || _window$Pelcro$site$r2 === void 0 ? void 0 : _window$Pelcro$site$r2.default_locale);
|
|
9225
9247
|
};
|
|
9226
9248
|
|
|
9227
9249
|
/**
|
|
@@ -9274,9 +9296,9 @@ const isValidViewFromURL = viewID => {
|
|
|
9274
9296
|
*
|
|
9275
9297
|
*/
|
|
9276
9298
|
function hasValidNewsletterUpdateUrl() {
|
|
9277
|
-
var _window$
|
|
9299
|
+
var _window$Pelcro2, _window$Pelcro2$uiSet;
|
|
9278
9300
|
if (viewID !== "newsletter-update") return false;
|
|
9279
|
-
const newsletters = (_window$
|
|
9301
|
+
const newsletters = (_window$Pelcro2 = window.Pelcro) === null || _window$Pelcro2 === void 0 ? void 0 : (_window$Pelcro2$uiSet = _window$Pelcro2.uiSettings) === null || _window$Pelcro2$uiSet === void 0 ? void 0 : _window$Pelcro2$uiSet.newsletters;
|
|
9280
9302
|
const siteHasNewslettersDefined = Array.isArray(newsletters) && newsletters.length > 0;
|
|
9281
9303
|
if (!siteHasNewslettersDefined) {
|
|
9282
9304
|
return false;
|
|
@@ -9322,7 +9344,7 @@ const disableScroll = () => {
|
|
|
9322
9344
|
}
|
|
9323
9345
|
};
|
|
9324
9346
|
const trackSubscriptionOnGA = () => {
|
|
9325
|
-
var _window
|
|
9347
|
+
var _window, _window$Pelcro3, _window$Pelcro3$uiSet, _window$Pelcro$user$r5, _window$Pelcro$user$r6;
|
|
9326
9348
|
const {
|
|
9327
9349
|
product,
|
|
9328
9350
|
plan,
|
|
@@ -9337,33 +9359,56 @@ const trackSubscriptionOnGA = () => {
|
|
|
9337
9359
|
invoices
|
|
9338
9360
|
} = window.Pelcro.user.read();
|
|
9339
9361
|
const lastSubscriptionId = invoices === null || invoices === void 0 ? void 0 : invoices[invoices.length - 1].subscription_id;
|
|
9362
|
+
const enableReactGA4 = (_window = window) === null || _window === void 0 ? void 0 : (_window$Pelcro3 = _window.Pelcro) === null || _window$Pelcro3 === void 0 ? void 0 : (_window$Pelcro3$uiSet = _window$Pelcro3.uiSettings) === null || _window$Pelcro3$uiSet === void 0 ? void 0 : _window$Pelcro3$uiSet.enableReactGA4;
|
|
9340
9363
|
if (!lastSubscriptionId) {
|
|
9341
9364
|
return;
|
|
9342
9365
|
}
|
|
9343
9366
|
const currencyCode = (_window$Pelcro$user$r5 = (_window$Pelcro$user$r6 = window.Pelcro.user.read()) === null || _window$Pelcro$user$r6 === void 0 ? void 0 : _window$Pelcro$user$r6.currency) !== null && _window$Pelcro$user$r5 !== void 0 ? _window$Pelcro$user$r5 : plan.currency;
|
|
9344
|
-
|
|
9345
|
-
|
|
9346
|
-
|
|
9347
|
-
|
|
9348
|
-
|
|
9349
|
-
|
|
9350
|
-
|
|
9351
|
-
|
|
9352
|
-
|
|
9353
|
-
|
|
9354
|
-
|
|
9355
|
-
|
|
9356
|
-
|
|
9357
|
-
|
|
9358
|
-
|
|
9359
|
-
|
|
9360
|
-
|
|
9361
|
-
|
|
9362
|
-
|
|
9363
|
-
|
|
9364
|
-
|
|
9365
|
-
|
|
9366
|
-
|
|
9367
|
+
if (enableReactGA4) {
|
|
9368
|
+
ReactGA4.event("purchase", {
|
|
9369
|
+
transaction_id: lastSubscriptionId,
|
|
9370
|
+
affiliation: "Pelcro",
|
|
9371
|
+
currency: currencyCode,
|
|
9372
|
+
value: plan !== null && plan !== void 0 && plan.amount ? isCurrencyZeroDecimal(currencyCode) ? plan.amount : plan.amount / 100 : 0,
|
|
9373
|
+
coupon: couponCode,
|
|
9374
|
+
items: [{
|
|
9375
|
+
item_id: lastSubscriptionId,
|
|
9376
|
+
item_name: product.name,
|
|
9377
|
+
item_category: product.description,
|
|
9378
|
+
item_variant: plan.nickname,
|
|
9379
|
+
price: plan !== null && plan !== void 0 && plan.amount ? isCurrencyZeroDecimal(currencyCode) ? plan.amount : plan.amount / 100 : 0,
|
|
9380
|
+
quantity: 1
|
|
9381
|
+
}]
|
|
9382
|
+
});
|
|
9383
|
+
ReactGA4.event("Subscribed", {
|
|
9384
|
+
nonInteraction: true
|
|
9385
|
+
});
|
|
9386
|
+
} else {
|
|
9387
|
+
var _ReactGA$set, _ReactGA$plugin, _ReactGA$plugin$execu, _ReactGA$plugin2, _ReactGA$plugin2$exec, _ReactGA$plugin3, _ReactGA$plugin3$exec, _ReactGA$event;
|
|
9388
|
+
ReactGA === null || ReactGA === void 0 ? void 0 : (_ReactGA$set = ReactGA.set) === null || _ReactGA$set === void 0 ? void 0 : _ReactGA$set.call(ReactGA, {
|
|
9389
|
+
currencyCode: currencyCode
|
|
9390
|
+
});
|
|
9391
|
+
ReactGA === null || ReactGA === void 0 ? void 0 : (_ReactGA$plugin = ReactGA.plugin) === null || _ReactGA$plugin === void 0 ? void 0 : (_ReactGA$plugin$execu = _ReactGA$plugin.execute) === null || _ReactGA$plugin$execu === void 0 ? void 0 : _ReactGA$plugin$execu.call(_ReactGA$plugin, "ecommerce", "addTransaction", {
|
|
9392
|
+
id: lastSubscriptionId,
|
|
9393
|
+
affiliation: "Pelcro",
|
|
9394
|
+
revenue: plan !== null && plan !== void 0 && plan.amount ? isCurrencyZeroDecimal(currencyCode) ? plan.amount : plan.amount / 100 : 0,
|
|
9395
|
+
coupon: couponCode
|
|
9396
|
+
});
|
|
9397
|
+
ReactGA === null || ReactGA === void 0 ? void 0 : (_ReactGA$plugin2 = ReactGA.plugin) === null || _ReactGA$plugin2 === void 0 ? void 0 : (_ReactGA$plugin2$exec = _ReactGA$plugin2.execute) === null || _ReactGA$plugin2$exec === void 0 ? void 0 : _ReactGA$plugin2$exec.call(_ReactGA$plugin2, "ecommerce", "addItem", {
|
|
9398
|
+
id: lastSubscriptionId,
|
|
9399
|
+
name: product.name,
|
|
9400
|
+
category: product.description,
|
|
9401
|
+
variant: plan.nickname,
|
|
9402
|
+
price: plan !== null && plan !== void 0 && plan.amount ? isCurrencyZeroDecimal(currencyCode) ? plan.amount : plan.amount / 100 : 0,
|
|
9403
|
+
quantity: 1
|
|
9404
|
+
});
|
|
9405
|
+
ReactGA === null || ReactGA === void 0 ? void 0 : (_ReactGA$plugin3 = ReactGA.plugin) === null || _ReactGA$plugin3 === void 0 ? void 0 : (_ReactGA$plugin3$exec = _ReactGA$plugin3.execute) === null || _ReactGA$plugin3$exec === void 0 ? void 0 : _ReactGA$plugin3$exec.call(_ReactGA$plugin3, "ecommerce", "send");
|
|
9406
|
+
ReactGA === null || ReactGA === void 0 ? void 0 : (_ReactGA$event = ReactGA.event) === null || _ReactGA$event === void 0 ? void 0 : _ReactGA$event.call(ReactGA, {
|
|
9407
|
+
category: "ACTIONS",
|
|
9408
|
+
action: "Subscribed",
|
|
9409
|
+
nonInteraction: true
|
|
9410
|
+
});
|
|
9411
|
+
}
|
|
9367
9412
|
};
|
|
9368
9413
|
|
|
9369
9414
|
/** check wether or not the user have any existing payment method
|
|
@@ -9447,14 +9492,14 @@ function getDateWithoutTime(dateObject) {
|
|
|
9447
9492
|
return date;
|
|
9448
9493
|
}
|
|
9449
9494
|
function userMustVerifyEmail() {
|
|
9450
|
-
var _window$Pelcro$site$
|
|
9451
|
-
const isEmailVerificationEnabled = (_window$Pelcro$site$
|
|
9495
|
+
var _window$Pelcro$site$r3, _window$Pelcro$site$r4, _window$Pelcro$user$r9, _window$Pelcro$user$r10;
|
|
9496
|
+
const isEmailVerificationEnabled = (_window$Pelcro$site$r3 = (_window$Pelcro$site$r4 = window.Pelcro.site.read()) === null || _window$Pelcro$site$r4 === void 0 ? void 0 : _window$Pelcro$site$r4.email_verify_enabled) !== null && _window$Pelcro$site$r3 !== void 0 ? _window$Pelcro$site$r3 : false;
|
|
9452
9497
|
const isUserEmailVerified = (_window$Pelcro$user$r9 = (_window$Pelcro$user$r10 = window.Pelcro.user.read()) === null || _window$Pelcro$user$r10 === void 0 ? void 0 : _window$Pelcro$user$r10.email_confirm) !== null && _window$Pelcro$user$r9 !== void 0 ? _window$Pelcro$user$r9 : false;
|
|
9453
9498
|
return window.Pelcro.user.isAuthenticated() && isEmailVerificationEnabled && !isUserEmailVerified;
|
|
9454
9499
|
}
|
|
9455
9500
|
function notifyBugsnag(callback, startOptions) {
|
|
9456
9501
|
if (!window.Bugsnag && !document.querySelector('script[src="https://d2wy8f7a9ursnm.cloudfront.net/v7/bugsnag.min.js"]')) {
|
|
9457
|
-
//load bugsnag CDN
|
|
9502
|
+
// load bugsnag CDN
|
|
9458
9503
|
window.Pelcro.helpers.loadSDK("https://d2wy8f7a9ursnm.cloudfront.net/v7/bugsnag.min.js", "bugsnag-cdn");
|
|
9459
9504
|
document.querySelector('script[src="https://d2wy8f7a9ursnm.cloudfront.net/v7/bugsnag.min.js"]').addEventListener("load", () => {
|
|
9460
9505
|
var _window$Pelcro$enviro, _window$Pelcro4, _window$Pelcro4$envir, _window$Pelcro5, _window$Pelcro5$envir;
|
|
@@ -9586,7 +9631,8 @@ const resources = {
|
|
|
9586
9631
|
notification: notification_es,
|
|
9587
9632
|
invoiceDetails: invoiceDetails_es,
|
|
9588
9633
|
subscriptionCancel: subscriptionCancel_es,
|
|
9589
|
-
subscriptionSuspend: subscriptionSuspend_es
|
|
9634
|
+
subscriptionSuspend: subscriptionSuspend_es,
|
|
9635
|
+
subscriptionManageMembers: subscriptionManageMembers_es
|
|
9590
9636
|
}
|
|
9591
9637
|
};
|
|
9592
9638
|
|
|
@@ -9632,10 +9678,8 @@ function _classPrivateFieldGet(receiver, privateMap) {
|
|
|
9632
9678
|
return descriptor.value;
|
|
9633
9679
|
}
|
|
9634
9680
|
|
|
9635
|
-
var _window$b, _window$Pelcro$b, _window$Pelcro$uiSett$b;
|
|
9636
9681
|
function _classPrivateFieldInitSpec$2(obj, privateMap, value) { _checkPrivateRedeclaration$2(obj, privateMap); privateMap.set(obj, value); }
|
|
9637
9682
|
function _checkPrivateRedeclaration$2(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
|
|
9638
|
-
const ReactGA$b = (_window$b = window) !== null && _window$b !== void 0 && (_window$Pelcro$b = _window$b.Pelcro) !== null && _window$Pelcro$b !== void 0 && (_window$Pelcro$uiSett$b = _window$Pelcro$b.uiSettings) !== null && _window$Pelcro$uiSett$b !== void 0 && _window$Pelcro$uiSett$b.enableReactGA4 ? ReactGA4 : ReactGA1;
|
|
9639
9683
|
var _isAlreadySaved = /*#__PURE__*/new WeakMap();
|
|
9640
9684
|
var _markButtonAsLoading = /*#__PURE__*/new WeakMap();
|
|
9641
9685
|
var _removeLoadingState = /*#__PURE__*/new WeakMap();
|
|
@@ -9719,7 +9763,7 @@ class SaveToMetadataButtonClass {
|
|
|
9719
9763
|
_classPrivateFieldInitSpec$2(this, _saveToMetadata, {
|
|
9720
9764
|
writable: true,
|
|
9721
9765
|
value: event => {
|
|
9722
|
-
var _user$metadata;
|
|
9766
|
+
var _window, _window$Pelcro, _window$Pelcro$uiSett, _user$metadata;
|
|
9723
9767
|
const button = event.currentTarget;
|
|
9724
9768
|
const user = window.Pelcro.user.read();
|
|
9725
9769
|
const {
|
|
@@ -9729,6 +9773,7 @@ class SaveToMetadataButtonClass {
|
|
|
9729
9773
|
key,
|
|
9730
9774
|
...buttonMetadata
|
|
9731
9775
|
} = button.dataset;
|
|
9776
|
+
const enableReactGA4 = (_window = window) === null || _window === void 0 ? void 0 : (_window$Pelcro = _window.Pelcro) === null || _window$Pelcro === void 0 ? void 0 : (_window$Pelcro$uiSett = _window$Pelcro.uiSettings) === null || _window$Pelcro$uiSett === void 0 ? void 0 : _window$Pelcro$uiSett.enableReactGA4;
|
|
9732
9777
|
if (userMustVerifyEmail()) {
|
|
9733
9778
|
return switchView("email-verify");
|
|
9734
9779
|
}
|
|
@@ -9753,16 +9798,22 @@ class SaveToMetadataButtonClass {
|
|
|
9753
9798
|
value: newMetadataValue,
|
|
9754
9799
|
auth_token: window.Pelcro.user.read().auth_token
|
|
9755
9800
|
}, (err, resp) => {
|
|
9756
|
-
var _ReactGA$event;
|
|
9757
9801
|
if (err) {
|
|
9758
9802
|
return _classPrivateFieldGet(this, _removeLoadingState).call(this, button);
|
|
9759
9803
|
}
|
|
9760
9804
|
_classPrivateFieldGet(this, _markButtonAsSaved).call(this, button);
|
|
9761
|
-
|
|
9762
|
-
|
|
9763
|
-
|
|
9764
|
-
|
|
9765
|
-
}
|
|
9805
|
+
if (enableReactGA4) {
|
|
9806
|
+
ReactGA4.event("Save/Follow", {
|
|
9807
|
+
event_label: buttonMetadata === null || buttonMetadata === void 0 ? void 0 : buttonMetadata.title
|
|
9808
|
+
});
|
|
9809
|
+
} else {
|
|
9810
|
+
var _ReactGA$event;
|
|
9811
|
+
ReactGA === null || ReactGA === void 0 ? void 0 : (_ReactGA$event = ReactGA.event) === null || _ReactGA$event === void 0 ? void 0 : _ReactGA$event.call(ReactGA, {
|
|
9812
|
+
category: "ACTIONS",
|
|
9813
|
+
action: "Save/Follow",
|
|
9814
|
+
label: buttonMetadata === null || buttonMetadata === void 0 ? void 0 : buttonMetadata.title
|
|
9815
|
+
});
|
|
9816
|
+
}
|
|
9766
9817
|
});
|
|
9767
9818
|
}
|
|
9768
9819
|
}
|
|
@@ -9770,6 +9821,7 @@ class SaveToMetadataButtonClass {
|
|
|
9770
9821
|
_classPrivateFieldInitSpec$2(this, _removeMetaData, {
|
|
9771
9822
|
writable: true,
|
|
9772
9823
|
value: event => {
|
|
9824
|
+
var _window2, _window2$Pelcro, _window2$Pelcro$uiSet;
|
|
9773
9825
|
const button = event.currentTarget;
|
|
9774
9826
|
const user = window.Pelcro.user.read();
|
|
9775
9827
|
const {
|
|
@@ -9777,6 +9829,7 @@ class SaveToMetadataButtonClass {
|
|
|
9777
9829
|
title
|
|
9778
9830
|
} = button.dataset;
|
|
9779
9831
|
const oldValue = user.metadata[`metadata_saved_${key}`];
|
|
9832
|
+
const enableReactGA4 = (_window2 = window) === null || _window2 === void 0 ? void 0 : (_window2$Pelcro = _window2.Pelcro) === null || _window2$Pelcro === void 0 ? void 0 : (_window2$Pelcro$uiSet = _window2$Pelcro.uiSettings) === null || _window2$Pelcro$uiSet === void 0 ? void 0 : _window2$Pelcro$uiSet.enableReactGA4;
|
|
9780
9833
|
const newMetadataValue = oldValue.filter(metadata => !((metadata === null || metadata === void 0 ? void 0 : metadata.title) === title));
|
|
9781
9834
|
if (window.Pelcro.user.isAuthenticated()) {
|
|
9782
9835
|
_classPrivateFieldGet(this, _markButtonAsLoading).call(this, button);
|
|
@@ -9785,16 +9838,22 @@ class SaveToMetadataButtonClass {
|
|
|
9785
9838
|
value: newMetadataValue,
|
|
9786
9839
|
auth_token: window.Pelcro.user.read().auth_token
|
|
9787
9840
|
}, (err, resp) => {
|
|
9788
|
-
var _ReactGA$event2;
|
|
9789
9841
|
if (err) {
|
|
9790
9842
|
return _classPrivateFieldGet(this, _removeLoadingState).call(this, button);
|
|
9791
9843
|
}
|
|
9792
9844
|
_classPrivateFieldGet(this, _unmarkSavedButton).call(this, button);
|
|
9793
|
-
|
|
9794
|
-
|
|
9795
|
-
|
|
9796
|
-
|
|
9797
|
-
}
|
|
9845
|
+
if (enableReactGA4) {
|
|
9846
|
+
ReactGA4.event("Unsave/Unfollow", {
|
|
9847
|
+
event_label: title
|
|
9848
|
+
});
|
|
9849
|
+
} else {
|
|
9850
|
+
var _ReactGA$event2;
|
|
9851
|
+
ReactGA === null || ReactGA === void 0 ? void 0 : (_ReactGA$event2 = ReactGA.event) === null || _ReactGA$event2 === void 0 ? void 0 : _ReactGA$event2.call(ReactGA, {
|
|
9852
|
+
category: "ACTIONS",
|
|
9853
|
+
action: "Unsave/Unfollow",
|
|
9854
|
+
label: title
|
|
9855
|
+
});
|
|
9856
|
+
}
|
|
9798
9857
|
});
|
|
9799
9858
|
}
|
|
9800
9859
|
}
|
|
@@ -11435,9 +11494,6 @@ function getSiteCardProcessor() {
|
|
|
11435
11494
|
return "stripe";
|
|
11436
11495
|
}
|
|
11437
11496
|
|
|
11438
|
-
var _window$a, _window$Pelcro$a, _window$Pelcro$uiSett$a;
|
|
11439
|
-
const ReactGA$a = (_window$a = window) !== null && _window$a !== void 0 && (_window$Pelcro$a = _window$a.Pelcro) !== null && _window$Pelcro$a !== void 0 && (_window$Pelcro$uiSett$a = _window$Pelcro$a.uiSettings) !== null && _window$Pelcro$uiSett$a !== void 0 && _window$Pelcro$uiSett$a.enableReactGA4 ? ReactGA4 : ReactGA1;
|
|
11440
|
-
|
|
11441
11497
|
/**
|
|
11442
11498
|
* @typedef {Object} OptionsType
|
|
11443
11499
|
* @property {boolean} loadPaymentSDKs
|
|
@@ -11564,17 +11620,50 @@ const initSecuritySdk = () => {
|
|
|
11564
11620
|
});
|
|
11565
11621
|
};
|
|
11566
11622
|
const initGATracking = () => {
|
|
11567
|
-
var
|
|
11568
|
-
|
|
11569
|
-
|
|
11623
|
+
var _window, _window$Pelcro, _window$Pelcro$uiSett;
|
|
11624
|
+
const enableReactGA4 = (_window = window) === null || _window === void 0 ? void 0 : (_window$Pelcro = _window.Pelcro) === null || _window$Pelcro === void 0 ? void 0 : (_window$Pelcro$uiSett = _window$Pelcro.uiSettings) === null || _window$Pelcro$uiSett === void 0 ? void 0 : _window$Pelcro$uiSett.enableReactGA4;
|
|
11625
|
+
if (window.Pelcro.site.read().google_analytics_id) {
|
|
11626
|
+
if (enableReactGA4) {
|
|
11627
|
+
// Initialize ReactGA4 with your tracking ID
|
|
11628
|
+
ReactGA4.initialize(window.Pelcro.site.read().google_analytics_id);
|
|
11629
|
+
// Enable e-commerce tracking
|
|
11630
|
+
ReactGA4.initialize(window.Pelcro.site.read().google_analytics_id, {
|
|
11631
|
+
gaOptions: {
|
|
11632
|
+
send_page_view: true,
|
|
11633
|
+
ecommerce: {
|
|
11634
|
+
enabled: true
|
|
11635
|
+
}
|
|
11636
|
+
}
|
|
11637
|
+
});
|
|
11638
|
+
console.log("enableReactGA4: ", enableReactGA4);
|
|
11639
|
+
console.log("GA4 is initialized");
|
|
11640
|
+
} else {
|
|
11641
|
+
var _ReactGA$initialize, _ReactGA$plugin, _ReactGA$plugin$requi;
|
|
11642
|
+
ReactGA === null || ReactGA === void 0 ? void 0 : (_ReactGA$initialize = ReactGA.initialize) === null || _ReactGA$initialize === void 0 ? void 0 : _ReactGA$initialize.call(ReactGA, window.Pelcro.site.read().google_analytics_id);
|
|
11643
|
+
ReactGA === null || ReactGA === void 0 ? void 0 : (_ReactGA$plugin = ReactGA.plugin) === null || _ReactGA$plugin === void 0 ? void 0 : (_ReactGA$plugin$requi = _ReactGA$plugin.require) === null || _ReactGA$plugin$requi === void 0 ? void 0 : _ReactGA$plugin$requi.call(_ReactGA$plugin, "ecommerce");
|
|
11644
|
+
console.log("enableReactGA4: " + enableReactGA4);
|
|
11645
|
+
console.log("GA3 is initialized");
|
|
11646
|
+
}
|
|
11647
|
+
}
|
|
11570
11648
|
};
|
|
11571
11649
|
const dispatchModalDisplayEvents = modalName => {
|
|
11572
|
-
var
|
|
11573
|
-
|
|
11574
|
-
|
|
11575
|
-
|
|
11576
|
-
|
|
11577
|
-
|
|
11650
|
+
var _window2, _window2$Pelcro, _window2$Pelcro$uiSet, _modalName$replace, _modalName$replace2;
|
|
11651
|
+
const enableReactGA4 = (_window2 = window) === null || _window2 === void 0 ? void 0 : (_window2$Pelcro = _window2.Pelcro) === null || _window2$Pelcro === void 0 ? void 0 : (_window2$Pelcro$uiSet = _window2$Pelcro.uiSettings) === null || _window2$Pelcro$uiSet === void 0 ? void 0 : _window2$Pelcro$uiSet.enableReactGA4;
|
|
11652
|
+
const formattedAction = modalName === null || modalName === void 0 ? void 0 : (_modalName$replace = modalName.replace("pelcro-", "")) === null || _modalName$replace === void 0 ? void 0 : _modalName$replace.replaceAll("-", " ");
|
|
11653
|
+
if (enableReactGA4) {
|
|
11654
|
+
ReactGA4.event(`${formattedAction} viewed`, {
|
|
11655
|
+
nonInteraction: true
|
|
11656
|
+
});
|
|
11657
|
+
console.log("GA4 view event is fired");
|
|
11658
|
+
} else {
|
|
11659
|
+
var _ReactGA$event;
|
|
11660
|
+
ReactGA === null || ReactGA === void 0 ? void 0 : (_ReactGA$event = ReactGA.event) === null || _ReactGA$event === void 0 ? void 0 : _ReactGA$event.call(ReactGA, {
|
|
11661
|
+
category: "VIEWS",
|
|
11662
|
+
action: `${formattedAction} viewed`,
|
|
11663
|
+
nonInteraction: true
|
|
11664
|
+
});
|
|
11665
|
+
console.log("GA3 view event is fired");
|
|
11666
|
+
}
|
|
11578
11667
|
window.Pelcro.insight.track("Modal Displayed", {
|
|
11579
11668
|
name: `${modalName === null || modalName === void 0 ? void 0 : (_modalName$replace2 = modalName.replace("pelcro-", "")) === null || _modalName$replace2 === void 0 ? void 0 : _modalName$replace2.replaceAll("-", " ")}`
|
|
11580
11669
|
});
|
|
@@ -11929,11 +12018,8 @@ const showPaymentMethodUpdateFromUrl = () => {
|
|
|
11929
12018
|
}
|
|
11930
12019
|
|
|
11931
12020
|
//vantiv
|
|
11932
|
-
if (supportsVantiv) {
|
|
11933
|
-
|
|
11934
|
-
return switchView("payment-method-update");
|
|
11935
|
-
});
|
|
11936
|
-
return;
|
|
12021
|
+
if (supportsVantiv && document.querySelector("#vantiv-eprotect-sdk")) {
|
|
12022
|
+
return switchView("payment-method-update");
|
|
11937
12023
|
}
|
|
11938
12024
|
|
|
11939
12025
|
//Tap
|
|
@@ -12399,6 +12485,7 @@ const {
|
|
|
12399
12485
|
Provider: Provider$m
|
|
12400
12486
|
} = store$m;
|
|
12401
12487
|
const LoginContainer = _ref => {
|
|
12488
|
+
var _window, _window$Pelcro, _window$Pelcro$uiSett;
|
|
12402
12489
|
let {
|
|
12403
12490
|
style,
|
|
12404
12491
|
className = "",
|
|
@@ -12406,6 +12493,7 @@ const LoginContainer = _ref => {
|
|
|
12406
12493
|
onFailure = () => {},
|
|
12407
12494
|
children
|
|
12408
12495
|
} = _ref;
|
|
12496
|
+
const enableReactGA4 = (_window = window) === null || _window === void 0 ? void 0 : (_window$Pelcro = _window.Pelcro) === null || _window$Pelcro === void 0 ? void 0 : (_window$Pelcro$uiSett = _window$Pelcro.uiSettings) === null || _window$Pelcro$uiSett === void 0 ? void 0 : _window$Pelcro$uiSett.enableReactGA4;
|
|
12409
12497
|
const handleLogin = (_ref2, dispatch) => {
|
|
12410
12498
|
let {
|
|
12411
12499
|
email,
|
|
@@ -12435,13 +12523,19 @@ const LoginContainer = _ref => {
|
|
|
12435
12523
|
});
|
|
12436
12524
|
onFailure(err);
|
|
12437
12525
|
} else {
|
|
12438
|
-
var _ReactGA$event;
|
|
12439
12526
|
onSuccess(res);
|
|
12440
|
-
|
|
12441
|
-
|
|
12442
|
-
|
|
12443
|
-
|
|
12444
|
-
}
|
|
12527
|
+
if (enableReactGA4) {
|
|
12528
|
+
ReactGA4.event("Logged in", {
|
|
12529
|
+
nonInteraction: true
|
|
12530
|
+
});
|
|
12531
|
+
} else {
|
|
12532
|
+
var _ReactGA$event;
|
|
12533
|
+
ReactGA === null || ReactGA === void 0 ? void 0 : (_ReactGA$event = ReactGA.event) === null || _ReactGA$event === void 0 ? void 0 : _ReactGA$event.call(ReactGA, {
|
|
12534
|
+
category: "ACTIONS",
|
|
12535
|
+
action: "Logged in",
|
|
12536
|
+
nonInteraction: true
|
|
12537
|
+
});
|
|
12538
|
+
}
|
|
12445
12539
|
}
|
|
12446
12540
|
});
|
|
12447
12541
|
};
|
|
@@ -12827,17 +12921,23 @@ function ConfirmPassword(_ref) {
|
|
|
12827
12921
|
}, otherProps));
|
|
12828
12922
|
}
|
|
12829
12923
|
|
|
12830
|
-
var _window$9, _window$Pelcro$9, _window$Pelcro$uiSett$9;
|
|
12831
|
-
const ReactGA$9 = (_window$9 = window) !== null && _window$9 !== void 0 && (_window$Pelcro$9 = _window$9.Pelcro) !== null && _window$Pelcro$9 !== void 0 && (_window$Pelcro$uiSett$9 = _window$Pelcro$9.uiSettings) !== null && _window$Pelcro$uiSett$9 !== void 0 && _window$Pelcro$uiSett$9.enableReactGA4 ? ReactGA4 : ReactGA1;
|
|
12832
12924
|
const Logout = props => {
|
|
12833
12925
|
const handleLogout = () => {
|
|
12834
|
-
var
|
|
12926
|
+
var _window, _window$Pelcro, _window$Pelcro$uiSett;
|
|
12835
12927
|
window.Pelcro.user.logout();
|
|
12836
|
-
|
|
12837
|
-
|
|
12838
|
-
|
|
12839
|
-
|
|
12840
|
-
|
|
12928
|
+
const enableReactGA4 = (_window = window) === null || _window === void 0 ? void 0 : (_window$Pelcro = _window.Pelcro) === null || _window$Pelcro === void 0 ? void 0 : (_window$Pelcro$uiSett = _window$Pelcro.uiSettings) === null || _window$Pelcro$uiSett === void 0 ? void 0 : _window$Pelcro$uiSett.enableReactGA4;
|
|
12929
|
+
if (enableReactGA4) {
|
|
12930
|
+
ReactGA4.event("Logged out", {
|
|
12931
|
+
nonInteraction: true
|
|
12932
|
+
});
|
|
12933
|
+
} else {
|
|
12934
|
+
var _ReactGA$event;
|
|
12935
|
+
ReactGA === null || ReactGA === void 0 ? void 0 : (_ReactGA$event = ReactGA.event) === null || _ReactGA$event === void 0 ? void 0 : _ReactGA$event.call(ReactGA, {
|
|
12936
|
+
category: "ACTIONS",
|
|
12937
|
+
action: "Logged out",
|
|
12938
|
+
nonInteraction: true
|
|
12939
|
+
});
|
|
12940
|
+
}
|
|
12841
12941
|
};
|
|
12842
12942
|
return /*#__PURE__*/React__default['default'].createElement("button", {
|
|
12843
12943
|
name: "logout",
|
|
@@ -14395,13 +14495,11 @@ const RegisterCompany = props => {
|
|
|
14395
14495
|
}, props));
|
|
14396
14496
|
};
|
|
14397
14497
|
|
|
14398
|
-
var _window$8, _window$Pelcro$8, _window$Pelcro$uiSett$8;
|
|
14399
|
-
const ReactGA$8 = (_window$8 = window) !== null && _window$8 !== void 0 && (_window$Pelcro$8 = _window$8.Pelcro) !== null && _window$Pelcro$8 !== void 0 && (_window$Pelcro$uiSett$8 = _window$Pelcro$8.uiSettings) !== null && _window$Pelcro$uiSett$8 !== void 0 && _window$Pelcro$uiSett$8.enableReactGA4 ? ReactGA4 : ReactGA1;
|
|
14400
|
-
|
|
14401
14498
|
/**
|
|
14402
14499
|
*
|
|
14403
14500
|
*/
|
|
14404
14501
|
function RegisterModal(props) {
|
|
14502
|
+
var _window, _window$Pelcro, _window$Pelcro$uiSett;
|
|
14405
14503
|
const {
|
|
14406
14504
|
t
|
|
14407
14505
|
} = useTranslation("register");
|
|
@@ -14416,18 +14514,26 @@ function RegisterModal(props) {
|
|
|
14416
14514
|
giftCode,
|
|
14417
14515
|
isGift
|
|
14418
14516
|
} = usePelcro();
|
|
14517
|
+
const enableReactGA4 = (_window = window) === null || _window === void 0 ? void 0 : (_window$Pelcro = _window.Pelcro) === null || _window$Pelcro === void 0 ? void 0 : (_window$Pelcro$uiSett = _window$Pelcro.uiSettings) === null || _window$Pelcro$uiSett === void 0 ? void 0 : _window$Pelcro$uiSett.enableReactGA4;
|
|
14419
14518
|
const onSuccess = res => {
|
|
14420
14519
|
var _props$onSuccess;
|
|
14421
14520
|
(_props$onSuccess = props.onSuccess) === null || _props$onSuccess === void 0 ? void 0 : _props$onSuccess.call(props, res);
|
|
14422
14521
|
handleAfterRegistrationLogic();
|
|
14423
14522
|
};
|
|
14424
14523
|
const handleAfterRegistrationLogic = () => {
|
|
14425
|
-
var
|
|
14426
|
-
|
|
14427
|
-
|
|
14428
|
-
|
|
14429
|
-
|
|
14430
|
-
}
|
|
14524
|
+
var _window$Pelcro$site$r, _window$Pelcro$site$r2;
|
|
14525
|
+
if (enableReactGA4) {
|
|
14526
|
+
ReactGA4.event("Registered", {
|
|
14527
|
+
nonInteraction: true
|
|
14528
|
+
});
|
|
14529
|
+
} else {
|
|
14530
|
+
var _ReactGA$event;
|
|
14531
|
+
ReactGA === null || ReactGA === void 0 ? void 0 : (_ReactGA$event = ReactGA.event) === null || _ReactGA$event === void 0 ? void 0 : _ReactGA$event.call(ReactGA, {
|
|
14532
|
+
category: "ACTIONS",
|
|
14533
|
+
action: "Registered",
|
|
14534
|
+
nonInteraction: true
|
|
14535
|
+
});
|
|
14536
|
+
}
|
|
14431
14537
|
const isEmailVerificationEnabled = (_window$Pelcro$site$r = (_window$Pelcro$site$r2 = window.Pelcro.site.read()) === null || _window$Pelcro$site$r2 === void 0 ? void 0 : _window$Pelcro$site$r2.email_verify_enabled) !== null && _window$Pelcro$site$r !== void 0 ? _window$Pelcro$site$r : false;
|
|
14432
14538
|
if (isEmailVerificationEnabled) {
|
|
14433
14539
|
return switchView("email-verify");
|
|
@@ -14514,9 +14620,6 @@ function Radio(_ref) {
|
|
|
14514
14620
|
}, children));
|
|
14515
14621
|
}
|
|
14516
14622
|
|
|
14517
|
-
var _window$7, _window$Pelcro$7, _window$Pelcro$uiSett$7;
|
|
14518
|
-
const ReactGA$7 = (_window$7 = window) !== null && _window$7 !== void 0 && (_window$Pelcro$7 = _window$7.Pelcro) !== null && _window$Pelcro$7 !== void 0 && (_window$Pelcro$uiSett$7 = _window$Pelcro$7.uiSettings) !== null && _window$Pelcro$uiSett$7 !== void 0 && _window$Pelcro$uiSett$7.enableReactGA4 ? ReactGA4 : ReactGA1;
|
|
14519
|
-
|
|
14520
14623
|
/**
|
|
14521
14624
|
*
|
|
14522
14625
|
*/
|
|
@@ -14576,6 +14679,7 @@ function productMatchPageLanguage(product) {
|
|
|
14576
14679
|
SelectModalWithHook.viewId = "plan-select";
|
|
14577
14680
|
class SelectModal extends React.Component {
|
|
14578
14681
|
constructor(props) {
|
|
14682
|
+
var _window, _window$Pelcro11, _window$Pelcro11$uiSe;
|
|
14579
14683
|
super(props);
|
|
14580
14684
|
_defineProperty$3(this, "componentDidMount", () => {
|
|
14581
14685
|
if (this.props.product) {
|
|
@@ -14610,11 +14714,11 @@ class SelectModal extends React.Component {
|
|
|
14610
14714
|
}
|
|
14611
14715
|
document.addEventListener("keydown", this.handleSubmit);
|
|
14612
14716
|
if (!document.querySelector("#pelcro-selection-view") || !document.querySelector(".pelcro-select-product-wrapper")) {
|
|
14613
|
-
var _window$
|
|
14614
|
-
const userCurrency = (_window$
|
|
14615
|
-
const userCountry = (_window$
|
|
14616
|
-
const userLanguage = (_window$
|
|
14617
|
-
const productsMatchingUserCurrency = (_window$
|
|
14717
|
+
var _window$Pelcro, _window$Pelcro$user, _window$Pelcro2, _window$Pelcro2$user, _window$Pelcro3, _window$Pelcro3$user, _window$Pelcro4, _window$Pelcro4$site;
|
|
14718
|
+
const userCurrency = (_window$Pelcro = window.Pelcro) === null || _window$Pelcro === void 0 ? void 0 : (_window$Pelcro$user = _window$Pelcro.user) === null || _window$Pelcro$user === void 0 ? void 0 : _window$Pelcro$user.read().currency;
|
|
14719
|
+
const userCountry = (_window$Pelcro2 = window.Pelcro) === null || _window$Pelcro2 === void 0 ? void 0 : (_window$Pelcro2$user = _window$Pelcro2.user) === null || _window$Pelcro2$user === void 0 ? void 0 : _window$Pelcro2$user.location.countryCode;
|
|
14720
|
+
const userLanguage = (_window$Pelcro3 = window.Pelcro) === null || _window$Pelcro3 === void 0 ? void 0 : (_window$Pelcro3$user = _window$Pelcro3.user) === null || _window$Pelcro3$user === void 0 ? void 0 : _window$Pelcro3$user.read().language;
|
|
14721
|
+
const productsMatchingUserCurrency = (_window$Pelcro4 = window.Pelcro) === null || _window$Pelcro4 === void 0 ? void 0 : (_window$Pelcro4$site = _window$Pelcro4.site) === null || _window$Pelcro4$site === void 0 ? void 0 : _window$Pelcro4$site.read().products.filter(product => {
|
|
14618
14722
|
const filteredPlans = product.plans.filter(plan => plan.currency === userCurrency || !userCurrency);
|
|
14619
14723
|
if (filteredPlans.length) return filteredPlans;
|
|
14620
14724
|
});
|
|
@@ -14627,12 +14731,12 @@ class SelectModal extends React.Component {
|
|
|
14627
14731
|
});
|
|
14628
14732
|
notifyBugsnag(() => {
|
|
14629
14733
|
Bugsnag.notify("SelectModal - No data viewed", event => {
|
|
14630
|
-
var _window$
|
|
14734
|
+
var _window$Pelcro5, _window$Pelcro5$site, _window$Pelcro6, _window$Pelcro6$user, _window$Pelcro7, _window$Pelcro7$uiSet, _window$Pelcro8, _this$props, _window$Pelcro9, _window$Pelcro9$helpe, _window$Pelcro10, _window$Pelcro10$site;
|
|
14631
14735
|
event.addMetadata("MetaData", {
|
|
14632
|
-
site: (_window$
|
|
14633
|
-
user: (_window$
|
|
14634
|
-
uiVersion: (_window$
|
|
14635
|
-
environment: (_window$
|
|
14736
|
+
site: (_window$Pelcro5 = window.Pelcro) === null || _window$Pelcro5 === void 0 ? void 0 : (_window$Pelcro5$site = _window$Pelcro5.site) === null || _window$Pelcro5$site === void 0 ? void 0 : _window$Pelcro5$site.read(),
|
|
14737
|
+
user: (_window$Pelcro6 = window.Pelcro) === null || _window$Pelcro6 === void 0 ? void 0 : (_window$Pelcro6$user = _window$Pelcro6.user) === null || _window$Pelcro6$user === void 0 ? void 0 : _window$Pelcro6$user.read(),
|
|
14738
|
+
uiVersion: (_window$Pelcro7 = window.Pelcro) === null || _window$Pelcro7 === void 0 ? void 0 : (_window$Pelcro7$uiSet = _window$Pelcro7.uiSettings) === null || _window$Pelcro7$uiSet === void 0 ? void 0 : _window$Pelcro7$uiSet.uiVersion,
|
|
14739
|
+
environment: (_window$Pelcro8 = window.Pelcro) === null || _window$Pelcro8 === void 0 ? void 0 : _window$Pelcro8.environment,
|
|
14636
14740
|
matchingEntitlementsProps: (_this$props = this.props) === null || _this$props === void 0 ? void 0 : _this$props.matchingEntitlements,
|
|
14637
14741
|
productListState: this.state.productList,
|
|
14638
14742
|
methods: {
|
|
@@ -14643,15 +14747,14 @@ class SelectModal extends React.Component {
|
|
|
14643
14747
|
userCurrency: userCurrency,
|
|
14644
14748
|
userCountry: userCountry,
|
|
14645
14749
|
userLanguage: userLanguage,
|
|
14646
|
-
siteLanguage: (_window$
|
|
14647
|
-
products: (_window$
|
|
14750
|
+
siteLanguage: (_window$Pelcro9 = window.Pelcro) === null || _window$Pelcro9 === void 0 ? void 0 : (_window$Pelcro9$helpe = _window$Pelcro9.helpers) === null || _window$Pelcro9$helpe === void 0 ? void 0 : _window$Pelcro9$helpe.getHtmlLanguageAttribute(),
|
|
14751
|
+
products: (_window$Pelcro10 = window.Pelcro) === null || _window$Pelcro10 === void 0 ? void 0 : (_window$Pelcro10$site = _window$Pelcro10.site) === null || _window$Pelcro10$site === void 0 ? void 0 : _window$Pelcro10$site.read().products.length,
|
|
14648
14752
|
currency_matching_filter: `${productsMatchingUserCurrency.length} Products Passed`,
|
|
14649
14753
|
country_matching_filter: `${productsMatchingUserCountry.length} Products Passed`,
|
|
14650
14754
|
language_matching_filter: `${productsMatchingUserCountry.filter(productMatchPageLanguage).length} Products Passed`
|
|
14651
14755
|
});
|
|
14652
14756
|
});
|
|
14653
14757
|
});
|
|
14654
|
-
console.log("bugsnag Triggered");
|
|
14655
14758
|
}
|
|
14656
14759
|
});
|
|
14657
14760
|
_defineProperty$3(this, "componentWillUnmount", () => {
|
|
@@ -14855,6 +14958,7 @@ class SelectModal extends React.Component {
|
|
|
14855
14958
|
this.product = this.props.product || window.Pelcro.paywall.getProduct();
|
|
14856
14959
|
this.locale = this.props.t;
|
|
14857
14960
|
this.closeButton = window.Pelcro.paywall.displayCloseButton();
|
|
14961
|
+
this.enableReactGA4 = (_window = window) === null || _window === void 0 ? void 0 : (_window$Pelcro11 = _window.Pelcro) === null || _window$Pelcro11 === void 0 ? void 0 : (_window$Pelcro11$uiSe = _window$Pelcro11.uiSettings) === null || _window$Pelcro11$uiSe === void 0 ? void 0 : _window$Pelcro11$uiSe.enableReactGA4;
|
|
14858
14962
|
}
|
|
14859
14963
|
render() {
|
|
14860
14964
|
var _window$Pelcro$produc2, _window$Pelcro$produc3, _window$Pelcro$site$r;
|
|
@@ -14862,19 +14966,31 @@ class SelectModal extends React.Component {
|
|
|
14862
14966
|
disableGifting
|
|
14863
14967
|
} = this.props;
|
|
14864
14968
|
if (this.state.mode === "product") {
|
|
14865
|
-
|
|
14866
|
-
|
|
14867
|
-
|
|
14868
|
-
|
|
14869
|
-
|
|
14870
|
-
|
|
14969
|
+
if (this.enableReactGA4) {
|
|
14970
|
+
ReactGA4.event("Product Modal Viewed", {
|
|
14971
|
+
nonInteraction: true
|
|
14972
|
+
});
|
|
14973
|
+
} else {
|
|
14974
|
+
var _ReactGA$event;
|
|
14975
|
+
ReactGA === null || ReactGA === void 0 ? void 0 : (_ReactGA$event = ReactGA.event) === null || _ReactGA$event === void 0 ? void 0 : _ReactGA$event.call(ReactGA, {
|
|
14976
|
+
category: "VIEWS",
|
|
14977
|
+
action: "Product Modal Viewed",
|
|
14978
|
+
nonInteraction: true
|
|
14979
|
+
});
|
|
14980
|
+
}
|
|
14871
14981
|
} else if (this.state.mode === "plan") {
|
|
14872
|
-
|
|
14873
|
-
|
|
14874
|
-
|
|
14875
|
-
|
|
14876
|
-
|
|
14877
|
-
|
|
14982
|
+
if (this.enableReactGA4) {
|
|
14983
|
+
ReactGA4.event("Plan Modal Viewed", {
|
|
14984
|
+
nonInteraction: true
|
|
14985
|
+
});
|
|
14986
|
+
} else {
|
|
14987
|
+
var _ReactGA$event2;
|
|
14988
|
+
ReactGA === null || ReactGA === void 0 ? void 0 : (_ReactGA$event2 = ReactGA.event) === null || _ReactGA$event2 === void 0 ? void 0 : _ReactGA$event2.call(ReactGA, {
|
|
14989
|
+
category: "VIEWS",
|
|
14990
|
+
action: "Plan Modal Viewed",
|
|
14991
|
+
nonInteraction: true
|
|
14992
|
+
});
|
|
14993
|
+
}
|
|
14878
14994
|
}
|
|
14879
14995
|
return /*#__PURE__*/React__default['default'].createElement(Modal, {
|
|
14880
14996
|
hideCloseButton: !this.closeButton,
|
|
@@ -17216,7 +17332,6 @@ const PaymentMethodContainerWithoutStripe = _ref => {
|
|
|
17216
17332
|
};
|
|
17217
17333
|
const submitUsingCybersource = (state, dispatch) => {
|
|
17218
17334
|
var _cybersourceInstanceR;
|
|
17219
|
-
console.log("State", state);
|
|
17220
17335
|
const isUsingExistingPaymentMethod = Boolean(selectedPaymentMethodId);
|
|
17221
17336
|
if (isUsingExistingPaymentMethod) {
|
|
17222
17337
|
// no need to create a new source using cybersrce
|
|
@@ -18299,8 +18414,9 @@ const PaymentMethodContainerWithoutStripe = _ref => {
|
|
|
18299
18414
|
* @param error
|
|
18300
18415
|
* @returns {*}
|
|
18301
18416
|
*/
|
|
18302
|
-
const confirmStripeIntentSetup = (response
|
|
18417
|
+
const confirmStripeIntentSetup = function (response) {
|
|
18303
18418
|
var _response$data2;
|
|
18419
|
+
let isUpdateSource = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
18304
18420
|
const setup_intent = (_response$data2 = response.data) === null || _response$data2 === void 0 ? void 0 : _response$data2.setup_intent;
|
|
18305
18421
|
if (setup_intent !== null && setup_intent !== void 0 && setup_intent.client_secret) {
|
|
18306
18422
|
var _response$data3, _response$data3$sourc;
|
|
@@ -18322,6 +18438,25 @@ const PaymentMethodContainerWithoutStripe = _ref => {
|
|
|
18322
18438
|
}
|
|
18323
18439
|
});
|
|
18324
18440
|
}
|
|
18441
|
+
if (isUpdateSource) {
|
|
18442
|
+
dispatch({
|
|
18443
|
+
type: DISABLE_SUBMIT,
|
|
18444
|
+
payload: false
|
|
18445
|
+
});
|
|
18446
|
+
dispatch({
|
|
18447
|
+
type: LOADING,
|
|
18448
|
+
payload: false
|
|
18449
|
+
});
|
|
18450
|
+
dispatch({
|
|
18451
|
+
type: SHOW_ALERT,
|
|
18452
|
+
payload: {
|
|
18453
|
+
type: "success",
|
|
18454
|
+
content: t("messages.sourceUpdated")
|
|
18455
|
+
}
|
|
18456
|
+
});
|
|
18457
|
+
onSuccess(res);
|
|
18458
|
+
return;
|
|
18459
|
+
}
|
|
18325
18460
|
return handlePayment(response === null || response === void 0 ? void 0 : (_response$data4 = response.data) === null || _response$data4 === void 0 ? void 0 : _response$data4.source);
|
|
18326
18461
|
});
|
|
18327
18462
|
} else {
|
|
@@ -18347,8 +18482,8 @@ const PaymentMethodContainerWithoutStripe = _ref => {
|
|
|
18347
18482
|
gift_message: giftRecipient === null || giftRecipient === void 0 ? void 0 : giftRecipient.giftMessage,
|
|
18348
18483
|
address_id: product.address_required ? selectedAddressId : null
|
|
18349
18484
|
}, (err, res) => {
|
|
18350
|
-
var _res$data, _res$data$payment_int;
|
|
18351
|
-
if ((res === null || res === void 0 ? void 0 : (_res$data = res.data) === null || _res$data === void 0 ? void 0 : (_res$data$payment_int = _res$data.payment_intent) === null || _res$data$payment_int === void 0 ? void 0 : _res$data$payment_int.status) === "requires_action") {
|
|
18485
|
+
var _res$data, _res$data$payment_int, _res$data2, _res$data2$payment_in;
|
|
18486
|
+
if ((res === null || res === void 0 ? void 0 : (_res$data = res.data) === null || _res$data === void 0 ? void 0 : (_res$data$payment_int = _res$data.payment_intent) === null || _res$data$payment_int === void 0 ? void 0 : _res$data$payment_int.status) === "requires_action" || (res === null || res === void 0 ? void 0 : (_res$data2 = res.data) === null || _res$data2 === void 0 ? void 0 : (_res$data2$payment_in = _res$data2.payment_intent) === null || _res$data2$payment_in === void 0 ? void 0 : _res$data2$payment_in.status) === "requires_confirmation") {
|
|
18352
18487
|
confirmStripePaymentIntent(res);
|
|
18353
18488
|
} else {
|
|
18354
18489
|
dispatch({
|
|
@@ -18383,8 +18518,8 @@ const PaymentMethodContainerWithoutStripe = _ref => {
|
|
|
18383
18518
|
subscription_id: subscriptionIdToRenew,
|
|
18384
18519
|
address_id: product.address_required ? selectedAddressId : null
|
|
18385
18520
|
}, (err, res) => {
|
|
18386
|
-
var _res$
|
|
18387
|
-
if ((res === null || res === void 0 ? void 0 : (_res$
|
|
18521
|
+
var _res$data3, _res$data3$payment_in, _res$data4, _res$data4$payment_in;
|
|
18522
|
+
if ((res === null || res === void 0 ? void 0 : (_res$data3 = res.data) === null || _res$data3 === void 0 ? void 0 : (_res$data3$payment_in = _res$data3.payment_intent) === null || _res$data3$payment_in === void 0 ? void 0 : _res$data3$payment_in.status) === "requires_action" || (res === null || res === void 0 ? void 0 : (_res$data4 = res.data) === null || _res$data4 === void 0 ? void 0 : (_res$data4$payment_in = _res$data4.payment_intent) === null || _res$data4$payment_in === void 0 ? void 0 : _res$data4$payment_in.status) === "requires_confirmation") {
|
|
18388
18523
|
confirmStripePaymentIntent(res);
|
|
18389
18524
|
} else {
|
|
18390
18525
|
dispatch({
|
|
@@ -18418,8 +18553,8 @@ const PaymentMethodContainerWithoutStripe = _ref => {
|
|
|
18418
18553
|
subscription_id: subscriptionIdToRenew,
|
|
18419
18554
|
address_id: product.address_required ? selectedAddressId : null
|
|
18420
18555
|
}, (err, res) => {
|
|
18421
|
-
var _res$
|
|
18422
|
-
if ((res === null || res === void 0 ? void 0 : (_res$
|
|
18556
|
+
var _res$data5, _res$data5$payment_in, _res$data6, _res$data6$payment_in;
|
|
18557
|
+
if ((res === null || res === void 0 ? void 0 : (_res$data5 = res.data) === null || _res$data5 === void 0 ? void 0 : (_res$data5$payment_in = _res$data5.payment_intent) === null || _res$data5$payment_in === void 0 ? void 0 : _res$data5$payment_in.status) === "requires_action" || (res === null || res === void 0 ? void 0 : (_res$data6 = res.data) === null || _res$data6 === void 0 ? void 0 : (_res$data6$payment_in = _res$data6.payment_intent) === null || _res$data6$payment_in === void 0 ? void 0 : _res$data6$payment_in.status) === "requires_confirmation") {
|
|
18423
18558
|
confirmStripePaymentIntent(res);
|
|
18424
18559
|
} else {
|
|
18425
18560
|
dispatch({
|
|
@@ -18528,7 +18663,7 @@ const PaymentMethodContainerWithoutStripe = _ref => {
|
|
|
18528
18663
|
onSuccess(res);
|
|
18529
18664
|
});
|
|
18530
18665
|
};
|
|
18531
|
-
const purchase = (gatewayService,
|
|
18666
|
+
const purchase = (gatewayService, backendSource, state, dispatch) => {
|
|
18532
18667
|
const isQuickPurchase = !Array.isArray(order);
|
|
18533
18668
|
const mappedOrderItems = isQuickPurchase ? [{
|
|
18534
18669
|
sku_id: order.id,
|
|
@@ -18543,14 +18678,14 @@ const PaymentMethodContainerWithoutStripe = _ref => {
|
|
|
18543
18678
|
const payment = new Payment(gatewayService);
|
|
18544
18679
|
payment.execute({
|
|
18545
18680
|
type: PAYMENT_TYPES.PURCHASE_ECOMMERCE_ORDER,
|
|
18546
|
-
token:
|
|
18547
|
-
isExistingSource:
|
|
18681
|
+
token: backendSource,
|
|
18682
|
+
isExistingSource: true,
|
|
18548
18683
|
items: mappedOrderItems,
|
|
18549
18684
|
addressId: selectedAddressId,
|
|
18550
18685
|
couponCode
|
|
18551
18686
|
}, (err, orderResponse) => {
|
|
18552
|
-
var _res, _res$
|
|
18553
|
-
if (((_res = res) === null || _res === void 0 ? void 0 : (_res$
|
|
18687
|
+
var _res, _res$data7, _res$data7$payment_in, _res2, _res2$data, _res2$data$payment_in;
|
|
18688
|
+
if (((_res = res) === null || _res === void 0 ? void 0 : (_res$data7 = _res.data) === null || _res$data7 === void 0 ? void 0 : (_res$data7$payment_in = _res$data7.payment_intent) === null || _res$data7$payment_in === void 0 ? void 0 : _res$data7$payment_in.status) === "requires_action" || ((_res2 = res) === null || _res2 === void 0 ? void 0 : (_res2$data = _res2.data) === null || _res2$data === void 0 ? void 0 : (_res2$data$payment_in = _res2$data.payment_intent) === null || _res2$data$payment_in === void 0 ? void 0 : _res2$data$payment_in.status) === "requires_confirmation") {
|
|
18554
18689
|
confirmStripePaymentIntent(res);
|
|
18555
18690
|
} else {
|
|
18556
18691
|
var _window$Pelcro2, _window$Pelcro2$user, _window$Pelcro2$user$;
|
|
@@ -18610,16 +18745,16 @@ const PaymentMethodContainerWithoutStripe = _ref => {
|
|
|
18610
18745
|
}
|
|
18611
18746
|
});
|
|
18612
18747
|
};
|
|
18613
|
-
const payInvoice = (gatewayService,
|
|
18748
|
+
const payInvoice = (gatewayService, backendSource, dispatch) => {
|
|
18614
18749
|
const payment = new Payment(gatewayService);
|
|
18615
18750
|
return payment.execute({
|
|
18616
18751
|
type: PAYMENT_TYPES.PAY_INVOICE,
|
|
18617
|
-
token:
|
|
18618
|
-
isExistingSource:
|
|
18752
|
+
token: backendSource,
|
|
18753
|
+
isExistingSource: true,
|
|
18619
18754
|
invoiceId: invoice.id
|
|
18620
18755
|
}, (err, res) => {
|
|
18621
|
-
var _res$
|
|
18622
|
-
if ((res === null || res === void 0 ? void 0 : (_res$
|
|
18756
|
+
var _res$data8, _res$data8$payment_in, _res$data9, _res$data9$payment_in;
|
|
18757
|
+
if ((res === null || res === void 0 ? void 0 : (_res$data8 = res.data) === null || _res$data8 === void 0 ? void 0 : (_res$data8$payment_in = _res$data8.payment_intent) === null || _res$data8$payment_in === void 0 ? void 0 : _res$data8$payment_in.status) === "requires_action" || (res === null || res === void 0 ? void 0 : (_res$data9 = res.data) === null || _res$data9 === void 0 ? void 0 : (_res$data9$payment_in = _res$data9.payment_intent) === null || _res$data9$payment_in === void 0 ? void 0 : _res$data9$payment_in.status) === "requires_confirmation") {
|
|
18623
18758
|
confirmStripePaymentIntent(res);
|
|
18624
18759
|
} else {
|
|
18625
18760
|
dispatch({
|
|
@@ -18644,11 +18779,11 @@ const PaymentMethodContainerWithoutStripe = _ref => {
|
|
|
18644
18779
|
}
|
|
18645
18780
|
});
|
|
18646
18781
|
};
|
|
18782
|
+
console.log("trigger release");
|
|
18647
18783
|
const updatePaymentSource = (state, dispatch) => {
|
|
18648
18784
|
return stripe.createSource({
|
|
18649
18785
|
type: "card"
|
|
18650
18786
|
}).then(_ref8 => {
|
|
18651
|
-
var _source$card2;
|
|
18652
18787
|
let {
|
|
18653
18788
|
source,
|
|
18654
18789
|
error
|
|
@@ -18656,45 +18791,41 @@ const PaymentMethodContainerWithoutStripe = _ref => {
|
|
|
18656
18791
|
if (error) {
|
|
18657
18792
|
return handlePaymentError(error);
|
|
18658
18793
|
}
|
|
18659
|
-
|
|
18660
|
-
// We don't support source creation for 3D secure yet
|
|
18661
|
-
if ((source === null || source === void 0 ? void 0 : (_source$card2 = source.card) === null || _source$card2 === void 0 ? void 0 : _source$card2.three_d_secure) === "required") {
|
|
18662
|
-
return handlePaymentError({
|
|
18663
|
-
error: {
|
|
18664
|
-
message: t("messages.cardAuthNotSupported")
|
|
18665
|
-
}
|
|
18666
|
-
});
|
|
18667
|
-
}
|
|
18668
18794
|
window.Pelcro.source.create({
|
|
18669
18795
|
auth_token: window.Pelcro.user.read().auth_token,
|
|
18670
18796
|
token: source.id
|
|
18671
18797
|
}, (err, res) => {
|
|
18672
|
-
|
|
18673
|
-
|
|
18674
|
-
|
|
18675
|
-
}
|
|
18676
|
-
|
|
18677
|
-
|
|
18678
|
-
|
|
18679
|
-
|
|
18680
|
-
|
|
18681
|
-
|
|
18682
|
-
|
|
18798
|
+
var _res$data10, _res$data10$setup_int, _res$data11, _res$data11$setup_int;
|
|
18799
|
+
if (((_res$data10 = res.data) === null || _res$data10 === void 0 ? void 0 : (_res$data10$setup_int = _res$data10.setup_intent) === null || _res$data10$setup_int === void 0 ? void 0 : _res$data10$setup_int.status) === "requires_action" || ((_res$data11 = res.data) === null || _res$data11 === void 0 ? void 0 : (_res$data11$setup_int = _res$data11.setup_intent) === null || _res$data11$setup_int === void 0 ? void 0 : _res$data11$setup_int.status) === "requires_confirmation") {
|
|
18800
|
+
confirmStripeIntentSetup(res, true);
|
|
18801
|
+
} else {
|
|
18802
|
+
dispatch({
|
|
18803
|
+
type: DISABLE_SUBMIT,
|
|
18804
|
+
payload: false
|
|
18805
|
+
});
|
|
18806
|
+
dispatch({
|
|
18807
|
+
type: LOADING,
|
|
18808
|
+
payload: false
|
|
18809
|
+
});
|
|
18810
|
+
if (err) {
|
|
18811
|
+
onFailure(err);
|
|
18812
|
+
return dispatch({
|
|
18813
|
+
type: SHOW_ALERT,
|
|
18814
|
+
payload: {
|
|
18815
|
+
type: "error",
|
|
18816
|
+
content: getErrorMessages(err)
|
|
18817
|
+
}
|
|
18818
|
+
});
|
|
18819
|
+
}
|
|
18820
|
+
dispatch({
|
|
18683
18821
|
type: SHOW_ALERT,
|
|
18684
18822
|
payload: {
|
|
18685
|
-
type: "
|
|
18686
|
-
content:
|
|
18823
|
+
type: "success",
|
|
18824
|
+
content: t("messages.sourceUpdated")
|
|
18687
18825
|
}
|
|
18688
18826
|
});
|
|
18827
|
+
onSuccess(res);
|
|
18689
18828
|
}
|
|
18690
|
-
dispatch({
|
|
18691
|
-
type: SHOW_ALERT,
|
|
18692
|
-
payload: {
|
|
18693
|
-
type: "success",
|
|
18694
|
-
content: t("messages.sourceUpdated")
|
|
18695
|
-
}
|
|
18696
|
-
});
|
|
18697
|
-
onSuccess(res);
|
|
18698
18829
|
});
|
|
18699
18830
|
});
|
|
18700
18831
|
};
|
|
@@ -18762,30 +18893,31 @@ const PaymentMethodContainerWithoutStripe = _ref => {
|
|
|
18762
18893
|
auth_token: window.Pelcro.user.read().auth_token,
|
|
18763
18894
|
token: source.id
|
|
18764
18895
|
}, (err, res) => {
|
|
18765
|
-
|
|
18766
|
-
|
|
18767
|
-
|
|
18896
|
+
if (err) {
|
|
18897
|
+
onFailure(err);
|
|
18898
|
+
dispatch({
|
|
18899
|
+
type: DISABLE_SUBMIT,
|
|
18900
|
+
payload: false
|
|
18901
|
+
});
|
|
18902
|
+
dispatch({
|
|
18903
|
+
type: LOADING,
|
|
18904
|
+
payload: false
|
|
18905
|
+
});
|
|
18906
|
+
return dispatch({
|
|
18907
|
+
type: SHOW_ALERT,
|
|
18908
|
+
payload: {
|
|
18909
|
+
type: "error",
|
|
18910
|
+
content: getErrorMessages(err)
|
|
18911
|
+
}
|
|
18912
|
+
});
|
|
18768
18913
|
} else {
|
|
18769
|
-
var _res$
|
|
18770
|
-
if (
|
|
18771
|
-
|
|
18772
|
-
|
|
18773
|
-
|
|
18774
|
-
|
|
18775
|
-
});
|
|
18776
|
-
dispatch({
|
|
18777
|
-
type: LOADING,
|
|
18778
|
-
payload: false
|
|
18779
|
-
});
|
|
18780
|
-
return dispatch({
|
|
18781
|
-
type: SHOW_ALERT,
|
|
18782
|
-
payload: {
|
|
18783
|
-
type: "error",
|
|
18784
|
-
content: getErrorMessages(err)
|
|
18785
|
-
}
|
|
18786
|
-
});
|
|
18914
|
+
var _res$data12, _res$data12$setup_int, _res$data13, _res$data13$setup_int;
|
|
18915
|
+
if (((_res$data12 = res.data) === null || _res$data12 === void 0 ? void 0 : (_res$data12$setup_int = _res$data12.setup_intent) === null || _res$data12$setup_int === void 0 ? void 0 : _res$data12$setup_int.status) === "requires_action" || ((_res$data13 = res.data) === null || _res$data13 === void 0 ? void 0 : (_res$data13$setup_int = _res$data13.setup_intent) === null || _res$data13$setup_int === void 0 ? void 0 : _res$data13$setup_int.status) === "requires_confirmation") {
|
|
18916
|
+
confirmStripeIntentSetup(res);
|
|
18917
|
+
} else {
|
|
18918
|
+
var _res$data14;
|
|
18919
|
+
return handlePayment((_res$data14 = res.data) === null || _res$data14 === void 0 ? void 0 : _res$data14.source);
|
|
18787
18920
|
}
|
|
18788
|
-
return handlePayment((_res$data7 = res.data) === null || _res$data7 === void 0 ? void 0 : _res$data7.source);
|
|
18789
18921
|
}
|
|
18790
18922
|
}));
|
|
18791
18923
|
}).catch(error => {
|
|
@@ -18815,12 +18947,12 @@ const PaymentMethodContainerWithoutStripe = _ref => {
|
|
|
18815
18947
|
coupon_code: state === null || state === void 0 ? void 0 : state.couponCode,
|
|
18816
18948
|
address_id: selectedAddressId
|
|
18817
18949
|
}, (error, res) => {
|
|
18818
|
-
var _res$
|
|
18950
|
+
var _res$data15, _res$data16;
|
|
18819
18951
|
if (error) {
|
|
18820
18952
|
return reject(error);
|
|
18821
18953
|
}
|
|
18822
|
-
const taxAmount = (_res$
|
|
18823
|
-
const totalAmountWithTax = (_res$
|
|
18954
|
+
const taxAmount = (_res$data15 = res.data) === null || _res$data15 === void 0 ? void 0 : _res$data15.taxes;
|
|
18955
|
+
const totalAmountWithTax = (_res$data16 = res.data) === null || _res$data16 === void 0 ? void 0 : _res$data16.total;
|
|
18824
18956
|
resolve({
|
|
18825
18957
|
totalAmountWithTax,
|
|
18826
18958
|
taxAmount
|
|
@@ -18864,13 +18996,13 @@ const PaymentMethodContainerWithoutStripe = _ref => {
|
|
|
18864
18996
|
}
|
|
18865
18997
|
});
|
|
18866
18998
|
};
|
|
18867
|
-
const handlePayment =
|
|
18868
|
-
if (
|
|
18869
|
-
subscribe(
|
|
18870
|
-
} else if (
|
|
18871
|
-
purchase(new StripeGateway(),
|
|
18872
|
-
} else if (
|
|
18873
|
-
payInvoice(new StripeGateway(),
|
|
18999
|
+
const handlePayment = backendSource => {
|
|
19000
|
+
if (backendSource && type === "createPayment") {
|
|
19001
|
+
subscribe(backendSource, state, dispatch);
|
|
19002
|
+
} else if (backendSource && type === "orderCreate") {
|
|
19003
|
+
purchase(new StripeGateway(), backendSource.id, state, dispatch);
|
|
19004
|
+
} else if (backendSource && type === "invoicePayment") {
|
|
19005
|
+
payInvoice(new StripeGateway(), backendSource.id, dispatch);
|
|
18874
19006
|
}
|
|
18875
19007
|
};
|
|
18876
19008
|
const handlePaymentError = error => {
|
|
@@ -20276,13 +20408,11 @@ const SubscriptionRenewView = _ref => {
|
|
|
20276
20408
|
}));
|
|
20277
20409
|
};
|
|
20278
20410
|
|
|
20279
|
-
var _window$6, _window$Pelcro$6, _window$Pelcro$uiSett$6;
|
|
20280
|
-
const ReactGA$6 = (_window$6 = window) !== null && _window$6 !== void 0 && (_window$Pelcro$6 = _window$6.Pelcro) !== null && _window$Pelcro$6 !== void 0 && (_window$Pelcro$uiSett$6 = _window$Pelcro$6.uiSettings) !== null && _window$Pelcro$uiSett$6 !== void 0 && _window$Pelcro$uiSett$6.enableReactGA4 ? ReactGA4 : ReactGA1;
|
|
20281
|
-
|
|
20282
20411
|
/**
|
|
20283
20412
|
*
|
|
20284
20413
|
*/
|
|
20285
20414
|
function SubscriptionRenewModal(_ref) {
|
|
20415
|
+
var _window, _window$Pelcro, _window$Pelcro$uiSett;
|
|
20286
20416
|
let {
|
|
20287
20417
|
onDisplay,
|
|
20288
20418
|
onClose,
|
|
@@ -20291,24 +20421,39 @@ function SubscriptionRenewModal(_ref) {
|
|
|
20291
20421
|
const {
|
|
20292
20422
|
switchView
|
|
20293
20423
|
} = usePelcro();
|
|
20424
|
+
const enableReactGA4 = (_window = window) === null || _window === void 0 ? void 0 : (_window$Pelcro = _window.Pelcro) === null || _window$Pelcro === void 0 ? void 0 : (_window$Pelcro$uiSett = _window$Pelcro.uiSettings) === null || _window$Pelcro$uiSett === void 0 ? void 0 : _window$Pelcro$uiSett.enableReactGA4;
|
|
20294
20425
|
const onSuccess = res => {
|
|
20295
|
-
var _otherProps$onSuccess
|
|
20426
|
+
var _otherProps$onSuccess;
|
|
20296
20427
|
(_otherProps$onSuccess = otherProps.onSuccess) === null || _otherProps$onSuccess === void 0 ? void 0 : _otherProps$onSuccess.call(otherProps, res);
|
|
20297
|
-
|
|
20298
|
-
|
|
20299
|
-
|
|
20300
|
-
|
|
20301
|
-
}
|
|
20428
|
+
if (enableReactGA4) {
|
|
20429
|
+
ReactGA4.event("Renewed", {
|
|
20430
|
+
nonInteraction: true
|
|
20431
|
+
});
|
|
20432
|
+
} else {
|
|
20433
|
+
var _ReactGA$event;
|
|
20434
|
+
ReactGA === null || ReactGA === void 0 ? void 0 : (_ReactGA$event = ReactGA.event) === null || _ReactGA$event === void 0 ? void 0 : _ReactGA$event.call(ReactGA, {
|
|
20435
|
+
category: "ACTIONS",
|
|
20436
|
+
action: "Renewed",
|
|
20437
|
+
nonInteraction: true
|
|
20438
|
+
});
|
|
20439
|
+
}
|
|
20302
20440
|
return switchView("subscription-success");
|
|
20303
20441
|
};
|
|
20304
20442
|
const onGiftRenewalSuccess = () => {
|
|
20305
|
-
var _otherProps$onGiftRen
|
|
20443
|
+
var _otherProps$onGiftRen;
|
|
20306
20444
|
(_otherProps$onGiftRen = otherProps.onGiftRenewalSuccess) === null || _otherProps$onGiftRen === void 0 ? void 0 : _otherProps$onGiftRen.call(otherProps);
|
|
20307
|
-
|
|
20308
|
-
|
|
20309
|
-
|
|
20310
|
-
|
|
20311
|
-
}
|
|
20445
|
+
if (enableReactGA4) {
|
|
20446
|
+
ReactGA4.event("Renewed Gift", {
|
|
20447
|
+
nonInteraction: true
|
|
20448
|
+
});
|
|
20449
|
+
} else {
|
|
20450
|
+
var _ReactGA$event2;
|
|
20451
|
+
ReactGA === null || ReactGA === void 0 ? void 0 : (_ReactGA$event2 = ReactGA.event) === null || _ReactGA$event2 === void 0 ? void 0 : _ReactGA$event2.call(ReactGA, {
|
|
20452
|
+
category: "ACTIONS",
|
|
20453
|
+
action: "Renewed Gift",
|
|
20454
|
+
nonInteraction: true
|
|
20455
|
+
});
|
|
20456
|
+
}
|
|
20312
20457
|
return switchView("subscription-success");
|
|
20313
20458
|
};
|
|
20314
20459
|
return /*#__PURE__*/React__default['default'].createElement(Modal, {
|
|
@@ -20478,8 +20623,6 @@ function SvgSubscription(props) {
|
|
|
20478
20623
|
}))))));
|
|
20479
20624
|
}
|
|
20480
20625
|
|
|
20481
|
-
var _window$5, _window$Pelcro$5, _window$Pelcro$uiSett$5;
|
|
20482
|
-
const ReactGA$5 = (_window$5 = window) !== null && _window$5 !== void 0 && (_window$Pelcro$5 = _window$5.Pelcro) !== null && _window$Pelcro$5 !== void 0 && (_window$Pelcro$uiSett$5 = _window$Pelcro$5.uiSettings) !== null && _window$Pelcro$uiSett$5 !== void 0 && _window$Pelcro$uiSett$5.enableReactGA4 ? ReactGA4 : ReactGA1;
|
|
20483
20626
|
const SubscriptionCancelNowButton = _ref => {
|
|
20484
20627
|
let {
|
|
20485
20628
|
subscription,
|
|
@@ -20499,6 +20642,8 @@ const SubscriptionCancelNowButton = _ref => {
|
|
|
20499
20642
|
t
|
|
20500
20643
|
} = useTranslation("subscriptionCancel");
|
|
20501
20644
|
const cancelSubscription = (payload, onSuccess, onFailure) => {
|
|
20645
|
+
var _window, _window$Pelcro, _window$Pelcro$uiSett;
|
|
20646
|
+
const enableReactGA4 = (_window = window) === null || _window === void 0 ? void 0 : (_window$Pelcro = _window.Pelcro) === null || _window$Pelcro === void 0 ? void 0 : (_window$Pelcro$uiSett = _window$Pelcro.uiSettings) === null || _window$Pelcro$uiSett === void 0 ? void 0 : _window$Pelcro$uiSett.enableReactGA4;
|
|
20502
20647
|
window.Pelcro.subscription.cancel({
|
|
20503
20648
|
auth_token: window.Pelcro.user.read().auth_token,
|
|
20504
20649
|
subscription_id: payload.subscription_id,
|
|
@@ -20507,15 +20652,21 @@ const SubscriptionCancelNowButton = _ref => {
|
|
|
20507
20652
|
reason: payload.reason
|
|
20508
20653
|
})
|
|
20509
20654
|
}, (err, res) => {
|
|
20510
|
-
var _ReactGA$event;
|
|
20511
20655
|
if (err) {
|
|
20512
20656
|
return onFailure === null || onFailure === void 0 ? void 0 : onFailure(err);
|
|
20513
20657
|
}
|
|
20514
|
-
|
|
20515
|
-
|
|
20516
|
-
|
|
20517
|
-
|
|
20518
|
-
}
|
|
20658
|
+
if (enableReactGA4) {
|
|
20659
|
+
ReactGA4.event("Canceled", {
|
|
20660
|
+
nonInteraction: true
|
|
20661
|
+
});
|
|
20662
|
+
} else {
|
|
20663
|
+
var _ReactGA$event;
|
|
20664
|
+
ReactGA === null || ReactGA === void 0 ? void 0 : (_ReactGA$event = ReactGA.event) === null || _ReactGA$event === void 0 ? void 0 : _ReactGA$event.call(ReactGA, {
|
|
20665
|
+
category: "ACTIONS",
|
|
20666
|
+
action: "Canceled",
|
|
20667
|
+
nonInteraction: true
|
|
20668
|
+
});
|
|
20669
|
+
}
|
|
20519
20670
|
onSuccess === null || onSuccess === void 0 ? void 0 : onSuccess(res);
|
|
20520
20671
|
});
|
|
20521
20672
|
};
|
|
@@ -20529,10 +20680,10 @@ const SubscriptionCancelNowButton = _ref => {
|
|
|
20529
20680
|
};
|
|
20530
20681
|
onClick === null || onClick === void 0 ? void 0 : onClick();
|
|
20531
20682
|
|
|
20532
|
-
//Close the modal
|
|
20683
|
+
// Close the modal
|
|
20533
20684
|
switchView(null);
|
|
20534
20685
|
|
|
20535
|
-
//Show confirmation alert after closing the modal
|
|
20686
|
+
// Show confirmation alert after closing the modal
|
|
20536
20687
|
notify$1.confirm((onSuccess, onFailure) => {
|
|
20537
20688
|
cancelSubscription(payload, onSuccess, onFailure);
|
|
20538
20689
|
}, {
|
|
@@ -20550,8 +20701,6 @@ const SubscriptionCancelNowButton = _ref => {
|
|
|
20550
20701
|
}, t("messages.cancelNow"));
|
|
20551
20702
|
};
|
|
20552
20703
|
|
|
20553
|
-
var _window$4, _window$Pelcro$4, _window$Pelcro$uiSett$4;
|
|
20554
|
-
const ReactGA$4 = (_window$4 = window) !== null && _window$4 !== void 0 && (_window$Pelcro$4 = _window$4.Pelcro) !== null && _window$Pelcro$4 !== void 0 && (_window$Pelcro$uiSett$4 = _window$Pelcro$4.uiSettings) !== null && _window$Pelcro$uiSett$4 !== void 0 && _window$Pelcro$uiSett$4.enableReactGA4 ? ReactGA4 : ReactGA1;
|
|
20555
20704
|
const SubscriptionCancelLaterButton = _ref => {
|
|
20556
20705
|
let {
|
|
20557
20706
|
subscription,
|
|
@@ -20571,6 +20720,8 @@ const SubscriptionCancelLaterButton = _ref => {
|
|
|
20571
20720
|
t
|
|
20572
20721
|
} = useTranslation("subscriptionCancel");
|
|
20573
20722
|
const cancelSubscription = (payload, onSuccess, onFailure) => {
|
|
20723
|
+
var _window, _window$Pelcro, _window$Pelcro$uiSett;
|
|
20724
|
+
const enableReactGA4 = (_window = window) === null || _window === void 0 ? void 0 : (_window$Pelcro = _window.Pelcro) === null || _window$Pelcro === void 0 ? void 0 : (_window$Pelcro$uiSett = _window$Pelcro.uiSettings) === null || _window$Pelcro$uiSett === void 0 ? void 0 : _window$Pelcro$uiSett.enableReactGA4;
|
|
20574
20725
|
window.Pelcro.subscription.cancel({
|
|
20575
20726
|
auth_token: window.Pelcro.user.read().auth_token,
|
|
20576
20727
|
subscription_id: payload.subscription_id,
|
|
@@ -20579,15 +20730,21 @@ const SubscriptionCancelLaterButton = _ref => {
|
|
|
20579
20730
|
reason: payload.reason
|
|
20580
20731
|
})
|
|
20581
20732
|
}, (err, res) => {
|
|
20582
|
-
var _ReactGA$event;
|
|
20583
20733
|
if (err) {
|
|
20584
20734
|
return onFailure === null || onFailure === void 0 ? void 0 : onFailure(err);
|
|
20585
20735
|
}
|
|
20586
|
-
|
|
20587
|
-
|
|
20588
|
-
|
|
20589
|
-
|
|
20590
|
-
}
|
|
20736
|
+
if (enableReactGA4) {
|
|
20737
|
+
ReactGA4.event("Canceled", {
|
|
20738
|
+
nonInteraction: true
|
|
20739
|
+
});
|
|
20740
|
+
} else {
|
|
20741
|
+
var _ReactGA$event;
|
|
20742
|
+
ReactGA === null || ReactGA === void 0 ? void 0 : (_ReactGA$event = ReactGA.event) === null || _ReactGA$event === void 0 ? void 0 : _ReactGA$event.call(ReactGA, {
|
|
20743
|
+
category: "ACTIONS",
|
|
20744
|
+
action: "Canceled",
|
|
20745
|
+
nonInteraction: true
|
|
20746
|
+
});
|
|
20747
|
+
}
|
|
20591
20748
|
onSuccess === null || onSuccess === void 0 ? void 0 : onSuccess(res);
|
|
20592
20749
|
});
|
|
20593
20750
|
};
|
|
@@ -20601,10 +20758,10 @@ const SubscriptionCancelLaterButton = _ref => {
|
|
|
20601
20758
|
};
|
|
20602
20759
|
onClick === null || onClick === void 0 ? void 0 : onClick();
|
|
20603
20760
|
|
|
20604
|
-
//Close the modal
|
|
20761
|
+
// Close the modal
|
|
20605
20762
|
switchView(null);
|
|
20606
20763
|
|
|
20607
|
-
//Show confirmation alert after closing the modal
|
|
20764
|
+
// Show confirmation alert after closing the modal
|
|
20608
20765
|
notify$1.confirm((onSuccess, onFailure) => {
|
|
20609
20766
|
cancelSubscription(payload, onSuccess, onFailure);
|
|
20610
20767
|
}, {
|
|
@@ -20792,9 +20949,8 @@ const SubscriptionSuspendDate = props => {
|
|
|
20792
20949
|
}, props));
|
|
20793
20950
|
};
|
|
20794
20951
|
|
|
20795
|
-
var _window$3, _window$Pelcro$3, _window$Pelcro$uiSett$3;
|
|
20796
|
-
const ReactGA$3 = (_window$3 = window) !== null && _window$3 !== void 0 && (_window$Pelcro$3 = _window$3.Pelcro) !== null && _window$Pelcro$3 !== void 0 && (_window$Pelcro$uiSett$3 = _window$Pelcro$3.uiSettings) !== null && _window$Pelcro$uiSett$3 !== void 0 && _window$Pelcro$uiSett$3.enableReactGA4 ? ReactGA4 : ReactGA1;
|
|
20797
20952
|
const SubscriptionSuspendButton = _ref => {
|
|
20953
|
+
var _window, _window$Pelcro, _window$Pelcro$uiSett;
|
|
20798
20954
|
let {
|
|
20799
20955
|
subscription,
|
|
20800
20956
|
onClick,
|
|
@@ -20813,6 +20969,7 @@ const SubscriptionSuspendButton = _ref => {
|
|
|
20813
20969
|
const {
|
|
20814
20970
|
t
|
|
20815
20971
|
} = useTranslation("subscriptionSuspend");
|
|
20972
|
+
const enableReactGA4 = (_window = window) === null || _window === void 0 ? void 0 : (_window$Pelcro = _window.Pelcro) === null || _window$Pelcro === void 0 ? void 0 : (_window$Pelcro$uiSett = _window$Pelcro.uiSettings) === null || _window$Pelcro$uiSett === void 0 ? void 0 : _window$Pelcro$uiSett.enableReactGA4;
|
|
20816
20973
|
const suspendSubscription = (payload, onSuccess, onFailure) => {
|
|
20817
20974
|
window.Pelcro.subscription.update({
|
|
20818
20975
|
auth_token: window.Pelcro.user.read().auth_token,
|
|
@@ -20820,15 +20977,21 @@ const SubscriptionSuspendButton = _ref => {
|
|
|
20820
20977
|
suspend: 1,
|
|
20821
20978
|
shipments_suspended_until: suspendDate
|
|
20822
20979
|
}, (err, res) => {
|
|
20823
|
-
var _ReactGA$event;
|
|
20824
20980
|
if (err) {
|
|
20825
20981
|
return onFailure === null || onFailure === void 0 ? void 0 : onFailure(err);
|
|
20826
20982
|
}
|
|
20827
|
-
|
|
20828
|
-
|
|
20829
|
-
|
|
20830
|
-
|
|
20831
|
-
}
|
|
20983
|
+
if (enableReactGA4) {
|
|
20984
|
+
ReactGA4.event("Suspended", {
|
|
20985
|
+
nonInteraction: true
|
|
20986
|
+
});
|
|
20987
|
+
} else {
|
|
20988
|
+
var _ReactGA$event;
|
|
20989
|
+
ReactGA === null || ReactGA === void 0 ? void 0 : (_ReactGA$event = ReactGA.event) === null || _ReactGA$event === void 0 ? void 0 : _ReactGA$event.call(ReactGA, {
|
|
20990
|
+
category: "ACTIONS",
|
|
20991
|
+
action: "Suspended",
|
|
20992
|
+
nonInteraction: true
|
|
20993
|
+
});
|
|
20994
|
+
}
|
|
20832
20995
|
onSuccess === null || onSuccess === void 0 ? void 0 : onSuccess(res);
|
|
20833
20996
|
});
|
|
20834
20997
|
};
|
|
@@ -20838,10 +21001,10 @@ const SubscriptionSuspendButton = _ref => {
|
|
|
20838
21001
|
};
|
|
20839
21002
|
onClick === null || onClick === void 0 ? void 0 : onClick();
|
|
20840
21003
|
|
|
20841
|
-
//Close the modal
|
|
21004
|
+
// Close the modal
|
|
20842
21005
|
switchView(null);
|
|
20843
21006
|
|
|
20844
|
-
//Show confirmation alert after closing the modal
|
|
21007
|
+
// Show confirmation alert after closing the modal
|
|
20845
21008
|
notify$1.confirm((onSuccess, onFailure) => {
|
|
20846
21009
|
suspendSubscription(payload, onSuccess, onFailure);
|
|
20847
21010
|
}, {
|
|
@@ -22042,7 +22205,7 @@ function SubscriptionManageMembersView(props) {
|
|
|
22042
22205
|
className: "plc-font-semibold plc-text-center plc-text-gray-900 pelcro-title-wrapper"
|
|
22043
22206
|
}, /*#__PURE__*/React__default['default'].createElement("h4", {
|
|
22044
22207
|
className: "plc-text-2xl"
|
|
22045
|
-
}, t("labels.inviteMembers")), /*#__PURE__*/React__default['default'].createElement("p", null, "
|
|
22208
|
+
}, t("labels.inviteMembers")), /*#__PURE__*/React__default['default'].createElement("p", null, t("labels.listNote"), " 'john@example.com,jane@example.com'")), /*#__PURE__*/React__default['default'].createElement("form", {
|
|
22046
22209
|
action: "javascript:void(0);",
|
|
22047
22210
|
className: "plc-mt-2 pelcro-form"
|
|
22048
22211
|
}, /*#__PURE__*/React__default['default'].createElement(SubscriptionManageMembersContainer, props, /*#__PURE__*/React__default['default'].createElement(AlertWithContext, null), /*#__PURE__*/React__default['default'].createElement(SubscriptionManageMembersEmails, {
|
|
@@ -23570,7 +23733,7 @@ const {
|
|
|
23570
23733
|
Provider: Provider$d
|
|
23571
23734
|
} = store$d;
|
|
23572
23735
|
const AddressUpdateContainer = _ref => {
|
|
23573
|
-
var _props$addressId;
|
|
23736
|
+
var _props$addressId, _window, _window$Pelcro, _window$Pelcro$uiSett;
|
|
23574
23737
|
let {
|
|
23575
23738
|
style,
|
|
23576
23739
|
className = "",
|
|
@@ -23584,6 +23747,7 @@ const AddressUpdateContainer = _ref => {
|
|
|
23584
23747
|
addressIdToEdit
|
|
23585
23748
|
} = usePelcro();
|
|
23586
23749
|
const addressId = (_props$addressId = props === null || props === void 0 ? void 0 : props.addressId) !== null && _props$addressId !== void 0 ? _props$addressId : addressIdToEdit;
|
|
23750
|
+
const enableReactGA4 = (_window = window) === null || _window === void 0 ? void 0 : (_window$Pelcro = _window.Pelcro) === null || _window$Pelcro === void 0 ? void 0 : (_window$Pelcro$uiSett = _window$Pelcro.uiSettings) === null || _window$Pelcro$uiSett === void 0 ? void 0 : _window$Pelcro$uiSett.enableReactGA4;
|
|
23587
23751
|
const [t] = useTranslation("address");
|
|
23588
23752
|
React.useEffect(() => {
|
|
23589
23753
|
const getCountries = () => {
|
|
@@ -23674,7 +23838,6 @@ const AddressUpdateContainer = _ref => {
|
|
|
23674
23838
|
});
|
|
23675
23839
|
onFailure(err);
|
|
23676
23840
|
} else {
|
|
23677
|
-
var _ReactGA$event;
|
|
23678
23841
|
dispatch({
|
|
23679
23842
|
type: SHOW_ALERT,
|
|
23680
23843
|
payload: {
|
|
@@ -23683,11 +23846,18 @@ const AddressUpdateContainer = _ref => {
|
|
|
23683
23846
|
}
|
|
23684
23847
|
});
|
|
23685
23848
|
onSuccess(res);
|
|
23686
|
-
|
|
23687
|
-
|
|
23688
|
-
|
|
23689
|
-
|
|
23690
|
-
}
|
|
23849
|
+
if (enableReactGA4) {
|
|
23850
|
+
ReactGA4.event("Updated address", {
|
|
23851
|
+
nonInteraction: true
|
|
23852
|
+
});
|
|
23853
|
+
} else {
|
|
23854
|
+
var _ReactGA$event;
|
|
23855
|
+
ReactGA === null || ReactGA === void 0 ? void 0 : (_ReactGA$event = ReactGA.event) === null || _ReactGA$event === void 0 ? void 0 : _ReactGA$event.call(ReactGA, {
|
|
23856
|
+
category: "ACTIONS",
|
|
23857
|
+
action: "Updated address",
|
|
23858
|
+
nonInteraction: true
|
|
23859
|
+
});
|
|
23860
|
+
}
|
|
23691
23861
|
}
|
|
23692
23862
|
});
|
|
23693
23863
|
};
|
|
@@ -24211,17 +24381,24 @@ function PaymentMethodUpdateView(props) {
|
|
|
24211
24381
|
}));
|
|
24212
24382
|
}
|
|
24213
24383
|
|
|
24214
|
-
var _window$2, _window$Pelcro$2, _window$Pelcro$uiSett$2;
|
|
24215
|
-
const ReactGA$2 = (_window$2 = window) !== null && _window$2 !== void 0 && (_window$Pelcro$2 = _window$2.Pelcro) !== null && _window$Pelcro$2 !== void 0 && (_window$Pelcro$uiSett$2 = _window$Pelcro$2.uiSettings) !== null && _window$Pelcro$uiSett$2 !== void 0 && _window$Pelcro$uiSett$2.enableReactGA4 ? ReactGA4 : ReactGA1;
|
|
24216
24384
|
const PaymentMethodUpdateModal = props => {
|
|
24385
|
+
var _window, _window$Pelcro, _window$Pelcro$uiSett;
|
|
24386
|
+
const enableReactGA4 = (_window = window) === null || _window === void 0 ? void 0 : (_window$Pelcro = _window.Pelcro) === null || _window$Pelcro === void 0 ? void 0 : (_window$Pelcro$uiSett = _window$Pelcro.uiSettings) === null || _window$Pelcro$uiSett === void 0 ? void 0 : _window$Pelcro$uiSett.enableReactGA4;
|
|
24217
24387
|
const onSuccess = res => {
|
|
24218
|
-
var _props$onSuccess
|
|
24388
|
+
var _props$onSuccess;
|
|
24219
24389
|
(_props$onSuccess = props.onSuccess) === null || _props$onSuccess === void 0 ? void 0 : _props$onSuccess.call(props, res);
|
|
24220
|
-
|
|
24221
|
-
|
|
24222
|
-
|
|
24223
|
-
|
|
24224
|
-
}
|
|
24390
|
+
if (enableReactGA4) {
|
|
24391
|
+
ReactGA4.event("Updated payment card", {
|
|
24392
|
+
nonInteraction: true
|
|
24393
|
+
});
|
|
24394
|
+
} else {
|
|
24395
|
+
var _ReactGA$event;
|
|
24396
|
+
ReactGA === null || ReactGA === void 0 ? void 0 : (_ReactGA$event = ReactGA.event) === null || _ReactGA$event === void 0 ? void 0 : _ReactGA$event.call(ReactGA, {
|
|
24397
|
+
category: "ACTIONS",
|
|
24398
|
+
action: "Updated payment card",
|
|
24399
|
+
nonInteraction: true
|
|
24400
|
+
});
|
|
24401
|
+
}
|
|
24225
24402
|
};
|
|
24226
24403
|
return /*#__PURE__*/React__default['default'].createElement(Modal, {
|
|
24227
24404
|
id: "pelcro-payment-method-update-modal",
|
|
@@ -28098,8 +28275,6 @@ const OrderItems = _ref => {
|
|
|
28098
28275
|
});
|
|
28099
28276
|
};
|
|
28100
28277
|
|
|
28101
|
-
var _window$1, _window$Pelcro$1, _window$Pelcro$uiSett$1;
|
|
28102
|
-
const ReactGA$1 = (_window$1 = window) !== null && _window$1 !== void 0 && (_window$Pelcro$1 = _window$1.Pelcro) !== null && _window$Pelcro$1 !== void 0 && (_window$Pelcro$uiSett$1 = _window$Pelcro$1.uiSettings) !== null && _window$Pelcro$uiSett$1 !== void 0 && _window$Pelcro$uiSett$1.enableReactGA4 ? ReactGA4 : ReactGA1;
|
|
28103
28278
|
const SavedItemsMenu = () => {
|
|
28104
28279
|
const {
|
|
28105
28280
|
t
|
|
@@ -28148,8 +28323,10 @@ const SavedItems = _ref3 => {
|
|
|
28148
28323
|
isAuthenticated
|
|
28149
28324
|
} = usePelcro();
|
|
28150
28325
|
const removeItemFromMetadata = (category, title) => {
|
|
28326
|
+
var _window, _window$Pelcro, _window$Pelcro$uiSett;
|
|
28151
28327
|
const user = window.Pelcro.user.read();
|
|
28152
28328
|
const oldValue = user.metadata[`metadata_saved_${category}`];
|
|
28329
|
+
const enableReactGA4 = (_window = window) === null || _window === void 0 ? void 0 : (_window$Pelcro = _window.Pelcro) === null || _window$Pelcro === void 0 ? void 0 : (_window$Pelcro$uiSett = _window$Pelcro.uiSettings) === null || _window$Pelcro$uiSett === void 0 ? void 0 : _window$Pelcro$uiSett.enableReactGA4;
|
|
28153
28330
|
const newMetadataValue = oldValue.filter(metadata => !((metadata === null || metadata === void 0 ? void 0 : metadata.title) === title));
|
|
28154
28331
|
if (isAuthenticated()) {
|
|
28155
28332
|
setLoading(true);
|
|
@@ -28158,17 +28335,24 @@ const SavedItems = _ref3 => {
|
|
|
28158
28335
|
value: newMetadataValue,
|
|
28159
28336
|
auth_token: window.Pelcro.user.read().auth_token
|
|
28160
28337
|
}, (error, response) => {
|
|
28161
|
-
var _response$data
|
|
28338
|
+
var _response$data;
|
|
28162
28339
|
setLoading(false);
|
|
28163
28340
|
if (error) {
|
|
28164
28341
|
return;
|
|
28165
28342
|
}
|
|
28166
28343
|
setItems(response === null || response === void 0 ? void 0 : (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.metadata);
|
|
28167
|
-
|
|
28168
|
-
|
|
28169
|
-
|
|
28170
|
-
|
|
28171
|
-
}
|
|
28344
|
+
if (enableReactGA4) {
|
|
28345
|
+
ReactGA4.event("Unsave/Unfollow", {
|
|
28346
|
+
event_label: title
|
|
28347
|
+
});
|
|
28348
|
+
} else {
|
|
28349
|
+
var _ReactGA$event;
|
|
28350
|
+
ReactGA === null || ReactGA === void 0 ? void 0 : (_ReactGA$event = ReactGA.event) === null || _ReactGA$event === void 0 ? void 0 : _ReactGA$event.call(ReactGA, {
|
|
28351
|
+
category: "ACTIONS",
|
|
28352
|
+
action: "Unsave/Unfollow",
|
|
28353
|
+
label: title
|
|
28354
|
+
});
|
|
28355
|
+
}
|
|
28172
28356
|
});
|
|
28173
28357
|
}
|
|
28174
28358
|
};
|
|
@@ -29111,8 +29295,6 @@ function getMemberShipStatus(status) {
|
|
|
29111
29295
|
};
|
|
29112
29296
|
}
|
|
29113
29297
|
|
|
29114
|
-
var _window, _window$Pelcro, _window$Pelcro$uiSett;
|
|
29115
|
-
const ReactGA = (_window = window) !== null && _window !== void 0 && (_window$Pelcro = _window.Pelcro) !== null && _window$Pelcro !== void 0 && (_window$Pelcro$uiSett = _window$Pelcro.uiSettings) !== null && _window$Pelcro$uiSett !== void 0 && _window$Pelcro$uiSett.enableReactGA4 ? ReactGA4 : ReactGA1;
|
|
29116
29298
|
const SUB_MENUS = {
|
|
29117
29299
|
PROFILE: "profile",
|
|
29118
29300
|
SUBSCRIPTIONS: "subscriptions",
|
|
@@ -29167,21 +29349,27 @@ function DashboardWithHook(props) {
|
|
|
29167
29349
|
DashboardWithHook.viewId = "dashboard";
|
|
29168
29350
|
class Dashboard extends React.Component {
|
|
29169
29351
|
constructor(props) {
|
|
29170
|
-
var _window$Pelcro$user$r, _window$Pelcro$user$r2;
|
|
29352
|
+
var _window$Pelcro$user$r, _window$Pelcro$user$r2, _window, _window$Pelcro, _window$Pelcro$uiSett;
|
|
29171
29353
|
super(props);
|
|
29172
29354
|
_defineProperty$3(this, "componentDidMount", () => {
|
|
29173
|
-
var _ReactGA$event;
|
|
29174
29355
|
this.setState({
|
|
29175
29356
|
isOpen: true
|
|
29176
29357
|
});
|
|
29177
29358
|
window.Pelcro.insight.track("Modal Displayed", {
|
|
29178
29359
|
name: "dashboard"
|
|
29179
29360
|
});
|
|
29180
|
-
|
|
29181
|
-
|
|
29182
|
-
|
|
29183
|
-
|
|
29184
|
-
}
|
|
29361
|
+
if (this.enableReactGA4) {
|
|
29362
|
+
ReactGA4.event("Dashboard Modal Viewed", {
|
|
29363
|
+
nonInteraction: true
|
|
29364
|
+
});
|
|
29365
|
+
} else {
|
|
29366
|
+
var _ReactGA$event;
|
|
29367
|
+
ReactGA === null || ReactGA === void 0 ? void 0 : (_ReactGA$event = ReactGA.event) === null || _ReactGA$event === void 0 ? void 0 : _ReactGA$event.call(ReactGA, {
|
|
29368
|
+
category: "VIEWS",
|
|
29369
|
+
action: "Dashboard Modal Viewed",
|
|
29370
|
+
nonInteraction: true
|
|
29371
|
+
});
|
|
29372
|
+
}
|
|
29185
29373
|
const {
|
|
29186
29374
|
addresses
|
|
29187
29375
|
} = window.Pelcro.user.read();
|
|
@@ -29209,15 +29397,21 @@ class Dashboard extends React.Component {
|
|
|
29209
29397
|
auth_token: window.Pelcro.user.read().auth_token,
|
|
29210
29398
|
subscription_id: subscription_id
|
|
29211
29399
|
}, (err, res) => {
|
|
29212
|
-
var _ReactGA$event2;
|
|
29213
29400
|
if (err) {
|
|
29214
29401
|
return onFailure === null || onFailure === void 0 ? void 0 : onFailure(err);
|
|
29215
29402
|
}
|
|
29216
|
-
|
|
29217
|
-
|
|
29218
|
-
|
|
29219
|
-
|
|
29220
|
-
}
|
|
29403
|
+
if (this.enableReactGA4) {
|
|
29404
|
+
ReactGA4.event("Canceled", {
|
|
29405
|
+
nonInteraction: true
|
|
29406
|
+
});
|
|
29407
|
+
} else {
|
|
29408
|
+
var _ReactGA$event2;
|
|
29409
|
+
ReactGA === null || ReactGA === void 0 ? void 0 : (_ReactGA$event2 = ReactGA.event) === null || _ReactGA$event2 === void 0 ? void 0 : _ReactGA$event2.call(ReactGA, {
|
|
29410
|
+
category: "ACTIONS",
|
|
29411
|
+
action: "Canceled",
|
|
29412
|
+
nonInteraction: true
|
|
29413
|
+
});
|
|
29414
|
+
}
|
|
29221
29415
|
onSuccess === null || onSuccess === void 0 ? void 0 : onSuccess(res);
|
|
29222
29416
|
});
|
|
29223
29417
|
});
|
|
@@ -29227,15 +29421,21 @@ class Dashboard extends React.Component {
|
|
|
29227
29421
|
subscription_id: subscription_id,
|
|
29228
29422
|
suspend: 0
|
|
29229
29423
|
}, (err, res) => {
|
|
29230
|
-
var _ReactGA$event3;
|
|
29231
29424
|
if (err) {
|
|
29232
29425
|
return onFailure === null || onFailure === void 0 ? void 0 : onFailure(err);
|
|
29233
29426
|
}
|
|
29234
|
-
|
|
29235
|
-
|
|
29236
|
-
|
|
29237
|
-
|
|
29238
|
-
}
|
|
29427
|
+
if (this.enableReactGA4) {
|
|
29428
|
+
ReactGA4.event("UnSuspended", {
|
|
29429
|
+
nonInteraction: true
|
|
29430
|
+
});
|
|
29431
|
+
} else {
|
|
29432
|
+
var _ReactGA$event3;
|
|
29433
|
+
ReactGA === null || ReactGA === void 0 ? void 0 : (_ReactGA$event3 = ReactGA.event) === null || _ReactGA$event3 === void 0 ? void 0 : _ReactGA$event3.call(ReactGA, {
|
|
29434
|
+
category: "ACTIONS",
|
|
29435
|
+
action: "UnSuspended",
|
|
29436
|
+
nonInteraction: true
|
|
29437
|
+
});
|
|
29438
|
+
}
|
|
29239
29439
|
onSuccess === null || onSuccess === void 0 ? void 0 : onSuccess(res);
|
|
29240
29440
|
});
|
|
29241
29441
|
});
|
|
@@ -29512,6 +29712,7 @@ class Dashboard extends React.Component {
|
|
|
29512
29712
|
this.locale = this.props.t;
|
|
29513
29713
|
this.user = window.Pelcro.user.read();
|
|
29514
29714
|
this.menuRef = /*#__PURE__*/React__default['default'].createRef();
|
|
29715
|
+
this.enableReactGA4 = (_window = window) === null || _window === void 0 ? void 0 : (_window$Pelcro = _window.Pelcro) === null || _window$Pelcro === void 0 ? void 0 : (_window$Pelcro$uiSett = _window$Pelcro.uiSettings) === null || _window$Pelcro$uiSett === void 0 ? void 0 : _window$Pelcro$uiSett.enableReactGA4;
|
|
29515
29716
|
}
|
|
29516
29717
|
render() {
|
|
29517
29718
|
var _window$Pelcro$user$r3, _window$Pelcro2, _window$Pelcro2$uiSet, _this$user$source, _this$user$source$pro, _this$user$source2, _this$user$source2$pr;
|
|
@@ -33545,6 +33746,8 @@ const QrCodeModal = _ref => {
|
|
|
33545
33746
|
};
|
|
33546
33747
|
QrCodeModal.viewId = "qrcode";
|
|
33547
33748
|
|
|
33749
|
+
console.log("test");
|
|
33750
|
+
|
|
33548
33751
|
exports.AddressCreateCity = AddressCreateCity;
|
|
33549
33752
|
exports.AddressCreateContainer = AddressCreateContainer;
|
|
33550
33753
|
exports.AddressCreateCountrySelect = AddressCreateCountrySelect;
|