@pelcro/react-pelcro-js 3.6.0-beta.8 → 3.7.0
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 +910 -525
- package/dist/index.esm.js +909 -526
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -3576,7 +3576,7 @@ var paymentMethod_ko = {
|
|
|
3576
3576
|
var title$q = "Enter your email to subscribe to our newsletter";
|
|
3577
3577
|
var updateTitle$2 = "Update newsletter selections";
|
|
3578
3578
|
var subtitle$b = "We may use your email for other marketing communication";
|
|
3579
|
-
var labels$
|
|
3579
|
+
var labels$L = {
|
|
3580
3580
|
submit: "Submit",
|
|
3581
3581
|
firstName: "First name",
|
|
3582
3582
|
lastName: "Last name",
|
|
@@ -3584,7 +3584,7 @@ var labels$I = {
|
|
|
3584
3584
|
postalCode: "Postal code",
|
|
3585
3585
|
required: "required"
|
|
3586
3586
|
};
|
|
3587
|
-
var messages$
|
|
3587
|
+
var messages$R = {
|
|
3588
3588
|
alreadyHaveAccount: "Already have an account?",
|
|
3589
3589
|
success: "Newsletters were successfully updated",
|
|
3590
3590
|
loginHere: "Login here.",
|
|
@@ -3595,14 +3595,14 @@ var newsletter_en = {
|
|
|
3595
3595
|
title: title$q,
|
|
3596
3596
|
updateTitle: updateTitle$2,
|
|
3597
3597
|
subtitle: subtitle$b,
|
|
3598
|
-
labels: labels$
|
|
3599
|
-
messages: messages$
|
|
3598
|
+
labels: labels$L,
|
|
3599
|
+
messages: messages$R
|
|
3600
3600
|
};
|
|
3601
3601
|
|
|
3602
3602
|
var title$p = "Entrez votre adresse courriel pour vous abonner à notre infolettre";
|
|
3603
3603
|
var updateTitle$1 = "Mettre à jour son choix d'infolettres";
|
|
3604
3604
|
var subtitle$a = "Nous pouvons utiliser votre adresse courriel pour d’autres communications marketing";
|
|
3605
|
-
var labels$
|
|
3605
|
+
var labels$K = {
|
|
3606
3606
|
submit: "Lire l’article !",
|
|
3607
3607
|
firstName: "Prénom",
|
|
3608
3608
|
lastName: "Nom de famille",
|
|
@@ -3610,7 +3610,7 @@ var labels$H = {
|
|
|
3610
3610
|
postalCode: "Code postal",
|
|
3611
3611
|
required: "Champs obligatoires"
|
|
3612
3612
|
};
|
|
3613
|
-
var messages$
|
|
3613
|
+
var messages$Q = {
|
|
3614
3614
|
alreadyHaveAccount: "Vous avez déjà un compte ?",
|
|
3615
3615
|
success: "Votre choix d'infolettres à été mis à jour",
|
|
3616
3616
|
loginHere: "Connectez-vous ici",
|
|
@@ -3621,14 +3621,14 @@ var newsletter_fr = {
|
|
|
3621
3621
|
title: title$p,
|
|
3622
3622
|
updateTitle: updateTitle$1,
|
|
3623
3623
|
subtitle: subtitle$a,
|
|
3624
|
-
labels: labels$
|
|
3625
|
-
messages: messages$
|
|
3624
|
+
labels: labels$K,
|
|
3625
|
+
messages: messages$Q
|
|
3626
3626
|
};
|
|
3627
3627
|
|
|
3628
3628
|
var title$o = "Frieze 뉴스레터를 구독하려면 이메일을 입력하세요.";
|
|
3629
3629
|
var updateTitle = "뉴스레터 선택 업데이트";
|
|
3630
3630
|
var subtitle$9 = "귀하의 이메일은 다른 마케팅 용도로도 사용됩니다.";
|
|
3631
|
-
var labels$
|
|
3631
|
+
var labels$J = {
|
|
3632
3632
|
submit: "제출",
|
|
3633
3633
|
firstName: "이름",
|
|
3634
3634
|
lastName: "성",
|
|
@@ -3636,7 +3636,7 @@ var labels$G = {
|
|
|
3636
3636
|
postalCode: "우편번호",
|
|
3637
3637
|
required: "필수 항목"
|
|
3638
3638
|
};
|
|
3639
|
-
var messages$
|
|
3639
|
+
var messages$P = {
|
|
3640
3640
|
alreadyHaveAccount: "이미 계정이 있습니까?",
|
|
3641
3641
|
success: "뉴스레터가 성공적으로 업데이트되었습니다.",
|
|
3642
3642
|
loginHere: "여기에서 로그인하세요.",
|
|
@@ -3647,14 +3647,14 @@ var newsletter_ko = {
|
|
|
3647
3647
|
title: title$o,
|
|
3648
3648
|
updateTitle: updateTitle,
|
|
3649
3649
|
subtitle: subtitle$9,
|
|
3650
|
-
labels: labels$
|
|
3651
|
-
messages: messages$
|
|
3650
|
+
labels: labels$J,
|
|
3651
|
+
messages: messages$P
|
|
3652
3652
|
};
|
|
3653
3653
|
|
|
3654
|
-
var labels$
|
|
3654
|
+
var labels$I = {
|
|
3655
3655
|
"continue": "Continue to content"
|
|
3656
3656
|
};
|
|
3657
|
-
var messages$
|
|
3657
|
+
var messages$O = {
|
|
3658
3658
|
yourFreeTrial: "Subscription successful!",
|
|
3659
3659
|
youHaveAccess: "Hope you enjoy the subscription. Please contact us if you have any questions or concerns.",
|
|
3660
3660
|
clickToLearn: {
|
|
@@ -3680,15 +3680,15 @@ var errors$e = {
|
|
|
3680
3680
|
"": ""
|
|
3681
3681
|
};
|
|
3682
3682
|
var success_en = {
|
|
3683
|
-
labels: labels$
|
|
3684
|
-
messages: messages$
|
|
3683
|
+
labels: labels$I,
|
|
3684
|
+
messages: messages$O,
|
|
3685
3685
|
errors: errors$e
|
|
3686
3686
|
};
|
|
3687
3687
|
|
|
3688
|
-
var labels$
|
|
3688
|
+
var labels$H = {
|
|
3689
3689
|
"continue": "Abonnement réussi !"
|
|
3690
3690
|
};
|
|
3691
|
-
var messages$
|
|
3691
|
+
var messages$N = {
|
|
3692
3692
|
yourFreeTrial: "Votre essai gratuit vient de débuter",
|
|
3693
3693
|
youHaveAccess: "Nous espérons que vous allez apprécier votre abonnement. Veuillez nous contacter si vous avez des questions ou des préoccupations.",
|
|
3694
3694
|
clickToLearn: {
|
|
@@ -3714,15 +3714,15 @@ var errors$d = {
|
|
|
3714
3714
|
"": ""
|
|
3715
3715
|
};
|
|
3716
3716
|
var success_fr = {
|
|
3717
|
-
labels: labels$
|
|
3718
|
-
messages: messages$
|
|
3717
|
+
labels: labels$H,
|
|
3718
|
+
messages: messages$N,
|
|
3719
3719
|
errors: errors$d
|
|
3720
3720
|
};
|
|
3721
3721
|
|
|
3722
|
-
var labels$
|
|
3722
|
+
var labels$G = {
|
|
3723
3723
|
"continue": "콘텐츠로 돌아가기"
|
|
3724
3724
|
};
|
|
3725
|
-
var messages$
|
|
3725
|
+
var messages$M = {
|
|
3726
3726
|
yourFreeTrial: "유료 멤버십에 가입하셨습니다!",
|
|
3727
3727
|
youHaveAccess: "멤버십 혜택을 즐기시기를 바라며, 질문이나 문의 사항이 있으면 저희에게 연락주십시오.",
|
|
3728
3728
|
clickToLearn: {
|
|
@@ -3748,12 +3748,12 @@ var errors$c = {
|
|
|
3748
3748
|
"": ""
|
|
3749
3749
|
};
|
|
3750
3750
|
var success_ko = {
|
|
3751
|
-
labels: labels$
|
|
3752
|
-
messages: messages$
|
|
3751
|
+
labels: labels$G,
|
|
3752
|
+
messages: messages$M,
|
|
3753
3753
|
errors: errors$c
|
|
3754
3754
|
};
|
|
3755
3755
|
|
|
3756
|
-
var messages$
|
|
3756
|
+
var messages$L = {
|
|
3757
3757
|
freeVisits: "Free visits left:",
|
|
3758
3758
|
subscribeNow: "Subscribe",
|
|
3759
3759
|
alreadyHaveAccount: "Already have an account?",
|
|
@@ -3763,11 +3763,11 @@ var errors$b = {
|
|
|
3763
3763
|
"": ""
|
|
3764
3764
|
};
|
|
3765
3765
|
var meter_en = {
|
|
3766
|
-
messages: messages$
|
|
3766
|
+
messages: messages$L,
|
|
3767
3767
|
errors: errors$b
|
|
3768
3768
|
};
|
|
3769
3769
|
|
|
3770
|
-
var messages$
|
|
3770
|
+
var messages$K = {
|
|
3771
3771
|
freeVisits: "Visites gratuites restantes:",
|
|
3772
3772
|
subscribeNow: "Abonnez-vous maintenant !",
|
|
3773
3773
|
alreadyHaveAccount: "Vous avez déjà un compte ?",
|
|
@@ -3777,11 +3777,11 @@ var errors$a = {
|
|
|
3777
3777
|
"": ""
|
|
3778
3778
|
};
|
|
3779
3779
|
var meter_fr = {
|
|
3780
|
-
messages: messages$
|
|
3780
|
+
messages: messages$K,
|
|
3781
3781
|
errors: errors$a
|
|
3782
3782
|
};
|
|
3783
3783
|
|
|
3784
|
-
var messages$
|
|
3784
|
+
var messages$J = {
|
|
3785
3785
|
freeVisits: "남은 무료 방문 기간:",
|
|
3786
3786
|
subscribeNow: "멤버십 가입",
|
|
3787
3787
|
alreadyHaveAccount: "이미 계정이 있습니까?",
|
|
@@ -3791,15 +3791,15 @@ var errors$9 = {
|
|
|
3791
3791
|
"": ""
|
|
3792
3792
|
};
|
|
3793
3793
|
var meter_ko = {
|
|
3794
|
-
messages: messages$
|
|
3794
|
+
messages: messages$J,
|
|
3795
3795
|
errors: errors$9
|
|
3796
3796
|
};
|
|
3797
3797
|
|
|
3798
|
-
var messages$
|
|
3798
|
+
var messages$I = {
|
|
3799
3799
|
youAreSafe: "You're safe - PCI compliant 128 SSL by",
|
|
3800
3800
|
bankRedirection: "Please hold, redirecting you to your bank."
|
|
3801
3801
|
};
|
|
3802
|
-
var labels$
|
|
3802
|
+
var labels$F = {
|
|
3803
3803
|
card: "Enter card number",
|
|
3804
3804
|
date: "Expiration date",
|
|
3805
3805
|
CVC: "CVC",
|
|
@@ -3818,15 +3818,15 @@ var labels$C = {
|
|
|
3818
3818
|
removeCoupon: "REMOVE"
|
|
3819
3819
|
};
|
|
3820
3820
|
var checkoutForm_en = {
|
|
3821
|
-
messages: messages$
|
|
3822
|
-
labels: labels$
|
|
3821
|
+
messages: messages$I,
|
|
3822
|
+
labels: labels$F
|
|
3823
3823
|
};
|
|
3824
3824
|
|
|
3825
|
-
var messages$
|
|
3825
|
+
var messages$H = {
|
|
3826
3826
|
youAreSafe: "Vous êtes en sécurité - PCI conforme 128 SSL par",
|
|
3827
3827
|
bankRedirection: "Veuillez patienter, nous vous redirigeons vers votre banque."
|
|
3828
3828
|
};
|
|
3829
|
-
var labels$
|
|
3829
|
+
var labels$E = {
|
|
3830
3830
|
card: "Entrez le numéro de carte",
|
|
3831
3831
|
date: "Date d’expiration",
|
|
3832
3832
|
CVC: "CVC",
|
|
@@ -3845,15 +3845,15 @@ var labels$B = {
|
|
|
3845
3845
|
removeCoupon: "RETIRER"
|
|
3846
3846
|
};
|
|
3847
3847
|
var checkoutForm_fr = {
|
|
3848
|
-
messages: messages$
|
|
3849
|
-
labels: labels$
|
|
3848
|
+
messages: messages$H,
|
|
3849
|
+
labels: labels$E
|
|
3850
3850
|
};
|
|
3851
3851
|
|
|
3852
|
-
var messages$
|
|
3852
|
+
var messages$G = {
|
|
3853
3853
|
youAreSafe: "PCI 준수 128비트 SSL 인증서로 보호됩니다. 제공: ",
|
|
3854
3854
|
bankRedirection: "잠시만 기다려 주십시오. 결제 은행으로 연결 중입니다."
|
|
3855
3855
|
};
|
|
3856
|
-
var labels$
|
|
3856
|
+
var labels$D = {
|
|
3857
3857
|
card: "카드 번호 입력",
|
|
3858
3858
|
date: "만료일",
|
|
3859
3859
|
CVC: "CVC",
|
|
@@ -3872,8 +3872,8 @@ var labels$A = {
|
|
|
3872
3872
|
removeCoupon: "제거"
|
|
3873
3873
|
};
|
|
3874
3874
|
var checkoutForm_ko = {
|
|
3875
|
-
messages: messages$
|
|
3876
|
-
labels: labels$
|
|
3875
|
+
messages: messages$G,
|
|
3876
|
+
labels: labels$D
|
|
3877
3877
|
};
|
|
3878
3878
|
|
|
3879
3879
|
var youAreSafe$2 = "You're safe - PCI compliant 128 SSL by";
|
|
@@ -3933,7 +3933,7 @@ var messages_ko = {
|
|
|
3933
3933
|
zeroTotalInvoice: zeroTotalInvoice
|
|
3934
3934
|
};
|
|
3935
3935
|
|
|
3936
|
-
var labels$
|
|
3936
|
+
var labels$C = {
|
|
3937
3937
|
email: "Enter email",
|
|
3938
3938
|
password: "Enter password",
|
|
3939
3939
|
required: "required",
|
|
@@ -3941,7 +3941,7 @@ var labels$z = {
|
|
|
3941
3941
|
passwordPlaceholder: "Password",
|
|
3942
3942
|
login: "Login"
|
|
3943
3943
|
};
|
|
3944
|
-
var messages$
|
|
3944
|
+
var messages$F = {
|
|
3945
3945
|
loginTo: "Login to your account",
|
|
3946
3946
|
welcome: "Welcome back, sign in with your existing account.",
|
|
3947
3947
|
dontHaveAccount: "Don't have an account yet?",
|
|
@@ -3960,12 +3960,12 @@ var errors$8 = {
|
|
|
3960
3960
|
"": ""
|
|
3961
3961
|
};
|
|
3962
3962
|
var login_en = {
|
|
3963
|
-
labels: labels$
|
|
3964
|
-
messages: messages$
|
|
3963
|
+
labels: labels$C,
|
|
3964
|
+
messages: messages$F,
|
|
3965
3965
|
errors: errors$8
|
|
3966
3966
|
};
|
|
3967
3967
|
|
|
3968
|
-
var labels$
|
|
3968
|
+
var labels$B = {
|
|
3969
3969
|
email: "Entrez votre adresse courriel",
|
|
3970
3970
|
password: "Entrez votre mot de passe",
|
|
3971
3971
|
required: "Champs obligatoires",
|
|
@@ -3973,7 +3973,7 @@ var labels$y = {
|
|
|
3973
3973
|
passwordPlaceholder: "Mot de passe",
|
|
3974
3974
|
login: "Connexion"
|
|
3975
3975
|
};
|
|
3976
|
-
var messages$
|
|
3976
|
+
var messages$E = {
|
|
3977
3977
|
loginTo: "Connectez-vous à votre compte",
|
|
3978
3978
|
welcome: "Bienvenue, connectez-vous avec votre compte existant.",
|
|
3979
3979
|
dontHaveAccount: "Vous n’avez pas encore de compte ?",
|
|
@@ -3992,12 +3992,12 @@ var errors$7 = {
|
|
|
3992
3992
|
"": ""
|
|
3993
3993
|
};
|
|
3994
3994
|
var login_fr = {
|
|
3995
|
-
labels: labels$
|
|
3996
|
-
messages: messages$
|
|
3995
|
+
labels: labels$B,
|
|
3996
|
+
messages: messages$E,
|
|
3997
3997
|
errors: errors$7
|
|
3998
3998
|
};
|
|
3999
3999
|
|
|
4000
|
-
var labels$
|
|
4000
|
+
var labels$A = {
|
|
4001
4001
|
email: "이메일 입력",
|
|
4002
4002
|
password: "비밀번호 입력",
|
|
4003
4003
|
required: "필수 항목",
|
|
@@ -4005,7 +4005,7 @@ var labels$x = {
|
|
|
4005
4005
|
passwordPlaceholder: "비밀번호",
|
|
4006
4006
|
login: "로그인"
|
|
4007
4007
|
};
|
|
4008
|
-
var messages$
|
|
4008
|
+
var messages$D = {
|
|
4009
4009
|
loginTo: "귀하의 계정에 로그인",
|
|
4010
4010
|
welcome: "반갑습니다. 귀하의 기존 계정으로 로그인하세요.",
|
|
4011
4011
|
dontHaveAccount: "아직 계정이 없으신가요?",
|
|
@@ -4024,56 +4024,56 @@ var errors$6 = {
|
|
|
4024
4024
|
"": ""
|
|
4025
4025
|
};
|
|
4026
4026
|
var login_ko = {
|
|
4027
|
-
labels: labels$
|
|
4028
|
-
messages: messages$
|
|
4027
|
+
labels: labels$A,
|
|
4028
|
+
messages: messages$D,
|
|
4029
4029
|
errors: errors$6
|
|
4030
4030
|
};
|
|
4031
4031
|
|
|
4032
|
-
var labels$
|
|
4032
|
+
var labels$z = {
|
|
4033
4033
|
title: "Verifying Passwordless Link",
|
|
4034
4034
|
instructions: "You're on your way!\nLet's confirm your email address.\nClick on the verification link we've sent to your email:",
|
|
4035
4035
|
resend: "Resend email"
|
|
4036
4036
|
};
|
|
4037
|
-
var messages$
|
|
4037
|
+
var messages$C = {
|
|
4038
4038
|
resent: "Resent successfully",
|
|
4039
4039
|
success: "You have logged in successfully"
|
|
4040
4040
|
};
|
|
4041
4041
|
var verifyLinkToken_en = {
|
|
4042
|
-
labels: labels$
|
|
4043
|
-
messages: messages$
|
|
4042
|
+
labels: labels$z,
|
|
4043
|
+
messages: messages$C
|
|
4044
4044
|
};
|
|
4045
4045
|
|
|
4046
|
-
var labels$
|
|
4046
|
+
var labels$y = {
|
|
4047
4047
|
title: "Confirmez votre courriel",
|
|
4048
4048
|
instructions: "Confirmez votre courriel.\nVeuillez cliquer sur le lien de vérification, qui vous a été envoyé à:",
|
|
4049
4049
|
resend: "Renvoyer le courriel"
|
|
4050
4050
|
};
|
|
4051
|
-
var messages$
|
|
4051
|
+
var messages$B = {
|
|
4052
4052
|
resent: "Renvoyé avec succès",
|
|
4053
4053
|
success: "Vous vous êtes connecté avec succès"
|
|
4054
4054
|
};
|
|
4055
4055
|
var verifyLinkToken_fr = {
|
|
4056
|
-
labels: labels$
|
|
4057
|
-
messages: messages$
|
|
4056
|
+
labels: labels$y,
|
|
4057
|
+
messages: messages$B
|
|
4058
4058
|
};
|
|
4059
4059
|
|
|
4060
|
-
var labels$
|
|
4060
|
+
var labels$x = {
|
|
4061
4061
|
title: "비밀번호 없는 링크 확인",
|
|
4062
4062
|
instructions: "가는 중입니다!\n이메일 주소를 확인하겠습니다.\n이메일로 전송된 확인 링크를 클릭하세요.",
|
|
4063
4063
|
resend: "이메일 재전송"
|
|
4064
4064
|
};
|
|
4065
|
-
var messages$
|
|
4065
|
+
var messages$A = {
|
|
4066
4066
|
resent: "성공적으로 재전송",
|
|
4067
4067
|
success: "성공적으로 로그인했습니다"
|
|
4068
4068
|
};
|
|
4069
4069
|
var verifyLinkToken_ko = {
|
|
4070
|
-
labels: labels$
|
|
4071
|
-
messages: messages$
|
|
4070
|
+
labels: labels$x,
|
|
4071
|
+
messages: messages$A
|
|
4072
4072
|
};
|
|
4073
4073
|
|
|
4074
4074
|
var title$n = "Create an account";
|
|
4075
4075
|
var subtitle$8 = "Enter your email and password below";
|
|
4076
|
-
var labels$
|
|
4076
|
+
var labels$w = {
|
|
4077
4077
|
signUpFacebook: "Sign up with Facebook",
|
|
4078
4078
|
signUpGoogle: "Sign up with Google",
|
|
4079
4079
|
signUpEmail: "Sign up with Email",
|
|
@@ -4085,7 +4085,7 @@ var labels$t = {
|
|
|
4085
4085
|
firstName: "First name",
|
|
4086
4086
|
lastName: "Last name"
|
|
4087
4087
|
};
|
|
4088
|
-
var messages$
|
|
4088
|
+
var messages$z = {
|
|
4089
4089
|
alreadyHaveAccount: "Already have an account?",
|
|
4090
4090
|
createAccount: "Create account",
|
|
4091
4091
|
loginHere: "login here. ",
|
|
@@ -4159,8 +4159,8 @@ var redeem$2 = {
|
|
|
4159
4159
|
var register_en = {
|
|
4160
4160
|
title: title$n,
|
|
4161
4161
|
subtitle: subtitle$8,
|
|
4162
|
-
labels: labels$
|
|
4163
|
-
messages: messages$
|
|
4162
|
+
labels: labels$w,
|
|
4163
|
+
messages: messages$z,
|
|
4164
4164
|
errors: errors$5,
|
|
4165
4165
|
gift: gift$2,
|
|
4166
4166
|
redeem: redeem$2
|
|
@@ -4168,7 +4168,7 @@ var register_en = {
|
|
|
4168
4168
|
|
|
4169
4169
|
var title$m = "Créer un compte";
|
|
4170
4170
|
var subtitle$7 = "Entrez votre courriel et votre mot de passe ci-dessous";
|
|
4171
|
-
var labels$
|
|
4171
|
+
var labels$v = {
|
|
4172
4172
|
signUpFacebook: "Inscrivez-vous avec Facebook",
|
|
4173
4173
|
signUpGoogle: "Inscrivez-vous avec Google",
|
|
4174
4174
|
signUpEmail: "Inscrivez-vous avec votre courriel",
|
|
@@ -4180,7 +4180,7 @@ var labels$s = {
|
|
|
4180
4180
|
firstName: "Prénom",
|
|
4181
4181
|
lastName: "Nom de famille"
|
|
4182
4182
|
};
|
|
4183
|
-
var messages$
|
|
4183
|
+
var messages$y = {
|
|
4184
4184
|
alreadyHaveAccount: "Vous avez déjà un compte?",
|
|
4185
4185
|
createAccount: "Créer un compte",
|
|
4186
4186
|
loginHere: "Connectez-vous ici",
|
|
@@ -4255,8 +4255,8 @@ var redeem$1 = {
|
|
|
4255
4255
|
var register_fr = {
|
|
4256
4256
|
title: title$m,
|
|
4257
4257
|
subtitle: subtitle$7,
|
|
4258
|
-
labels: labels$
|
|
4259
|
-
messages: messages$
|
|
4258
|
+
labels: labels$v,
|
|
4259
|
+
messages: messages$y,
|
|
4260
4260
|
errors: errors$4,
|
|
4261
4261
|
gift: gift$1,
|
|
4262
4262
|
redeem: redeem$1
|
|
@@ -4264,7 +4264,7 @@ var register_fr = {
|
|
|
4264
4264
|
|
|
4265
4265
|
var title$l = "계정 만들기";
|
|
4266
4266
|
var subtitle$6 = "아래에 이메일과 비밀번호를 입력하세요.";
|
|
4267
|
-
var labels$
|
|
4267
|
+
var labels$u = {
|
|
4268
4268
|
signUpFacebook: "Facebook으로 가입하기",
|
|
4269
4269
|
signUpGoogle: "Google로 가입하기",
|
|
4270
4270
|
signUpEmail: "이메일로 가입하기",
|
|
@@ -4276,7 +4276,7 @@ var labels$r = {
|
|
|
4276
4276
|
firstName: "이름",
|
|
4277
4277
|
lastName: "성"
|
|
4278
4278
|
};
|
|
4279
|
-
var messages$
|
|
4279
|
+
var messages$x = {
|
|
4280
4280
|
alreadyHaveAccount: "이미 계정이 있습니까?",
|
|
4281
4281
|
createAccount: "계정 만들기",
|
|
4282
4282
|
loginHere: "여기에서 로그인하세요.",
|
|
@@ -4350,14 +4350,14 @@ var redeem = {
|
|
|
4350
4350
|
var register_ko = {
|
|
4351
4351
|
title: title$l,
|
|
4352
4352
|
subtitle: subtitle$6,
|
|
4353
|
-
labels: labels$
|
|
4354
|
-
messages: messages$
|
|
4353
|
+
labels: labels$u,
|
|
4354
|
+
messages: messages$x,
|
|
4355
4355
|
errors: errors$3,
|
|
4356
4356
|
gift: gift,
|
|
4357
4357
|
redeem: redeem
|
|
4358
4358
|
};
|
|
4359
4359
|
|
|
4360
|
-
var labels$
|
|
4360
|
+
var labels$t = {
|
|
4361
4361
|
title: "Want to update your profile?",
|
|
4362
4362
|
subtitle: "Enter your information below to update your profile",
|
|
4363
4363
|
email: "Email",
|
|
@@ -4373,17 +4373,17 @@ var labels$q = {
|
|
|
4373
4373
|
removeImage: "Remove current photo",
|
|
4374
4374
|
zoom: "Zoom"
|
|
4375
4375
|
};
|
|
4376
|
-
var messages$
|
|
4376
|
+
var messages$w = {
|
|
4377
4377
|
userUpdated: "Thanks! Your profile was updated successfully.",
|
|
4378
4378
|
pictureRemoved: "Your profile picture was removed successfully.",
|
|
4379
4379
|
pictureUpdated: "Your profile picture was updated successfully."
|
|
4380
4380
|
};
|
|
4381
4381
|
var userEdit_en = {
|
|
4382
|
-
labels: labels$
|
|
4383
|
-
messages: messages$
|
|
4382
|
+
labels: labels$t,
|
|
4383
|
+
messages: messages$w
|
|
4384
4384
|
};
|
|
4385
4385
|
|
|
4386
|
-
var labels$
|
|
4386
|
+
var labels$s = {
|
|
4387
4387
|
title: "Voulez-vous mettre à jour votre profil ?",
|
|
4388
4388
|
subtitle: "Entrez vos informations ci-dessous pour mettre à jour votre profil",
|
|
4389
4389
|
email: "Address courriel",
|
|
@@ -4399,17 +4399,17 @@ var labels$p = {
|
|
|
4399
4399
|
removeImage: "supprimer la photo actuelle",
|
|
4400
4400
|
zoom: "Zoom"
|
|
4401
4401
|
};
|
|
4402
|
-
var messages$
|
|
4402
|
+
var messages$v = {
|
|
4403
4403
|
userUpdated: "Votre profil a été mis à jour avec succès.",
|
|
4404
4404
|
pictureRemoved: "Votre photo de profil a été supprimée avec succès.",
|
|
4405
4405
|
pictureUpdated: "Votre photo de profil a été mise à jour avec succès."
|
|
4406
4406
|
};
|
|
4407
4407
|
var userEdit_fr = {
|
|
4408
|
-
labels: labels$
|
|
4409
|
-
messages: messages$
|
|
4408
|
+
labels: labels$s,
|
|
4409
|
+
messages: messages$v
|
|
4410
4410
|
};
|
|
4411
4411
|
|
|
4412
|
-
var labels$
|
|
4412
|
+
var labels$r = {
|
|
4413
4413
|
title: "프로파일을 업데이트하시겠습니까?",
|
|
4414
4414
|
subtitle: "프로필을 업데이트하려면 아래 정보를 입력하세요.",
|
|
4415
4415
|
email: "이메일",
|
|
@@ -4425,20 +4425,20 @@ var labels$o = {
|
|
|
4425
4425
|
removeImage: "기존 사진 제거",
|
|
4426
4426
|
zoom: "확대"
|
|
4427
4427
|
};
|
|
4428
|
-
var messages$
|
|
4428
|
+
var messages$u = {
|
|
4429
4429
|
userUpdated: "감사합니다! 프로필이 성공적으로 업데이트되었습니다.",
|
|
4430
4430
|
pictureRemoved: "귀하의 프로필 사진이 제거되었습니다.",
|
|
4431
4431
|
pictureUpdated: "귀하의 프로필 사진이 업데이트되었습니다."
|
|
4432
4432
|
};
|
|
4433
4433
|
var userEdit_ko = {
|
|
4434
|
-
labels: labels$
|
|
4435
|
-
messages: messages$
|
|
4434
|
+
labels: labels$r,
|
|
4435
|
+
messages: messages$u
|
|
4436
4436
|
};
|
|
4437
4437
|
|
|
4438
4438
|
var title$k = "Enter your shipping address";
|
|
4439
4439
|
var selectAddressTitle$2 = "Please select an address";
|
|
4440
4440
|
var selectAddressSubtitle$2 = "Select one of your saved addresses, or add a new one";
|
|
4441
|
-
var labels$
|
|
4441
|
+
var labels$q = {
|
|
4442
4442
|
address: "Address",
|
|
4443
4443
|
code: "Postal Code/Zip",
|
|
4444
4444
|
city: "City",
|
|
@@ -4454,7 +4454,7 @@ var buttons$b = {
|
|
|
4454
4454
|
selectAddress: "Select address",
|
|
4455
4455
|
addAddress: "Add new address"
|
|
4456
4456
|
};
|
|
4457
|
-
var messages$
|
|
4457
|
+
var messages$t = {
|
|
4458
4458
|
addressUpdated: "The address was successfully updated!",
|
|
4459
4459
|
subRedeemed: "Your subscription has been redeemed."
|
|
4460
4460
|
};
|
|
@@ -4462,15 +4462,15 @@ var address_en = {
|
|
|
4462
4462
|
title: title$k,
|
|
4463
4463
|
selectAddressTitle: selectAddressTitle$2,
|
|
4464
4464
|
selectAddressSubtitle: selectAddressSubtitle$2,
|
|
4465
|
-
labels: labels$
|
|
4465
|
+
labels: labels$q,
|
|
4466
4466
|
buttons: buttons$b,
|
|
4467
|
-
messages: messages$
|
|
4467
|
+
messages: messages$t
|
|
4468
4468
|
};
|
|
4469
4469
|
|
|
4470
4470
|
var title$j = "Entrez votre adresse de livraison";
|
|
4471
4471
|
var selectAddressTitle$1 = "Veuillez sélectionner une adresse";
|
|
4472
4472
|
var selectAddressSubtitle$1 = "Choisissez l'une de vos adresses ou créez-en une nouvelle";
|
|
4473
|
-
var labels$
|
|
4473
|
+
var labels$p = {
|
|
4474
4474
|
address: "Adresse",
|
|
4475
4475
|
code: "Code postal / Zip",
|
|
4476
4476
|
city: "Ville",
|
|
@@ -4486,7 +4486,7 @@ var buttons$a = {
|
|
|
4486
4486
|
selectAddress: "Choisir cette adresse",
|
|
4487
4487
|
addAddress: "Ajouter une nouvelle adresse"
|
|
4488
4488
|
};
|
|
4489
|
-
var messages$
|
|
4489
|
+
var messages$s = {
|
|
4490
4490
|
addressUpdated: "Votre adresse a été mise à jour avec succès",
|
|
4491
4491
|
subRedeemed: "Votre abonnement a bien été activé."
|
|
4492
4492
|
};
|
|
@@ -4494,15 +4494,15 @@ var address_fr = {
|
|
|
4494
4494
|
title: title$j,
|
|
4495
4495
|
selectAddressTitle: selectAddressTitle$1,
|
|
4496
4496
|
selectAddressSubtitle: selectAddressSubtitle$1,
|
|
4497
|
-
labels: labels$
|
|
4497
|
+
labels: labels$p,
|
|
4498
4498
|
buttons: buttons$a,
|
|
4499
|
-
messages: messages$
|
|
4499
|
+
messages: messages$s
|
|
4500
4500
|
};
|
|
4501
4501
|
|
|
4502
4502
|
var title$i = "배송 주소를 입력하십시오.";
|
|
4503
4503
|
var selectAddressTitle = "주소를 선택하십시오.";
|
|
4504
4504
|
var selectAddressSubtitle = "저장된 주소에서 선택하거나 새 주소를 추가하십시오.";
|
|
4505
|
-
var labels$
|
|
4505
|
+
var labels$o = {
|
|
4506
4506
|
address: "주소",
|
|
4507
4507
|
code: "우편번호",
|
|
4508
4508
|
city: "도시",
|
|
@@ -4518,7 +4518,7 @@ var buttons$9 = {
|
|
|
4518
4518
|
selectAddress: "주소 선택",
|
|
4519
4519
|
addAddress: "새 주소 추가"
|
|
4520
4520
|
};
|
|
4521
|
-
var messages$
|
|
4521
|
+
var messages$r = {
|
|
4522
4522
|
addressUpdated: "주소가 성공적으로 업데이트되었습니다!",
|
|
4523
4523
|
subRedeemed: "귀하의 유료 멤버십이 사용되었습니다."
|
|
4524
4524
|
};
|
|
@@ -4526,9 +4526,9 @@ var address_ko = {
|
|
|
4526
4526
|
title: title$i,
|
|
4527
4527
|
selectAddressTitle: selectAddressTitle,
|
|
4528
4528
|
selectAddressSubtitle: selectAddressSubtitle,
|
|
4529
|
-
labels: labels$
|
|
4529
|
+
labels: labels$o,
|
|
4530
4530
|
buttons: buttons$9,
|
|
4531
|
-
messages: messages$
|
|
4531
|
+
messages: messages$r
|
|
4532
4532
|
};
|
|
4533
4533
|
|
|
4534
4534
|
var title$h = "Reset your password";
|
|
@@ -4594,7 +4594,7 @@ var password$2 = "Password";
|
|
|
4594
4594
|
var submit$8 = "Submit";
|
|
4595
4595
|
var required$8 = "Required";
|
|
4596
4596
|
var passwordResetEmailSent$2 = "Password reset instructions have been sent to your email";
|
|
4597
|
-
var messages$
|
|
4597
|
+
var messages$q = {
|
|
4598
4598
|
alreadyHaveAccount: "Already have an account?",
|
|
4599
4599
|
loginHere: "login here."
|
|
4600
4600
|
};
|
|
@@ -4605,7 +4605,7 @@ var passwordForgot_en = {
|
|
|
4605
4605
|
submit: submit$8,
|
|
4606
4606
|
required: required$8,
|
|
4607
4607
|
passwordResetEmailSent: passwordResetEmailSent$2,
|
|
4608
|
-
messages: messages$
|
|
4608
|
+
messages: messages$q
|
|
4609
4609
|
};
|
|
4610
4610
|
|
|
4611
4611
|
var title$d = "Mot de passe oublié ?";
|
|
@@ -4614,7 +4614,7 @@ var password$1 = "Mot de passe";
|
|
|
4614
4614
|
var submit$7 = "Soumettre";
|
|
4615
4615
|
var required$7 = "Champs obligatoires";
|
|
4616
4616
|
var passwordResetEmailSent$1 = "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.";
|
|
4617
|
-
var messages$
|
|
4617
|
+
var messages$p = {
|
|
4618
4618
|
alreadyHaveAccount: "Vous avez déjà un compte ?",
|
|
4619
4619
|
loginHere: "Connectez-vous ici"
|
|
4620
4620
|
};
|
|
@@ -4625,7 +4625,7 @@ var passwordForgot_fr = {
|
|
|
4625
4625
|
submit: submit$7,
|
|
4626
4626
|
required: required$7,
|
|
4627
4627
|
passwordResetEmailSent: passwordResetEmailSent$1,
|
|
4628
|
-
messages: messages$
|
|
4628
|
+
messages: messages$p
|
|
4629
4629
|
};
|
|
4630
4630
|
|
|
4631
4631
|
var title$c = "비밀번호를 잊으셨나요?";
|
|
@@ -4634,7 +4634,7 @@ var password = "비밀번호";
|
|
|
4634
4634
|
var submit$6 = "제출";
|
|
4635
4635
|
var required$6 = "필수 항목";
|
|
4636
4636
|
var passwordResetEmailSent = "비밀번호 재설정 안내가 귀하의 이메일로 발송되었습니다.";
|
|
4637
|
-
var messages$
|
|
4637
|
+
var messages$o = {
|
|
4638
4638
|
alreadyHaveAccount: "이미 계정이 있습니까?",
|
|
4639
4639
|
loginHere: "여기에서 로그인하세요."
|
|
4640
4640
|
};
|
|
@@ -4645,7 +4645,7 @@ var passwordForgot_ko = {
|
|
|
4645
4645
|
submit: submit$6,
|
|
4646
4646
|
required: required$6,
|
|
4647
4647
|
passwordResetEmailSent: passwordResetEmailSent,
|
|
4648
|
-
messages: messages$
|
|
4648
|
+
messages: messages$o
|
|
4649
4649
|
};
|
|
4650
4650
|
|
|
4651
4651
|
var title$b = "Change your password";
|
|
@@ -4715,7 +4715,7 @@ var title$8 = "Passwordless Login";
|
|
|
4715
4715
|
var email$2 = "Enter email";
|
|
4716
4716
|
var submit$2 = "Submit";
|
|
4717
4717
|
var required$2 = "Required";
|
|
4718
|
-
var messages$
|
|
4718
|
+
var messages$n = {
|
|
4719
4719
|
PasswordlessLoginSuccess: "Please check your email and follow the instructions there"
|
|
4720
4720
|
};
|
|
4721
4721
|
var passwordlessRequest_en = {
|
|
@@ -4723,14 +4723,14 @@ var passwordlessRequest_en = {
|
|
|
4723
4723
|
email: email$2,
|
|
4724
4724
|
submit: submit$2,
|
|
4725
4725
|
required: required$2,
|
|
4726
|
-
messages: messages$
|
|
4726
|
+
messages: messages$n
|
|
4727
4727
|
};
|
|
4728
4728
|
|
|
4729
4729
|
var title$7 = "Connexion sans mot de passe";
|
|
4730
4730
|
var email$1 = "Entrez votre adresse courriel";
|
|
4731
4731
|
var submit$1 = "Soumettre";
|
|
4732
4732
|
var required$1 = "Champs obligatoires";
|
|
4733
|
-
var messages$
|
|
4733
|
+
var messages$m = {
|
|
4734
4734
|
PasswordlessLoginSuccess: "Vous avez été authentifié avec succès avec la connexion sans mot de passe"
|
|
4735
4735
|
};
|
|
4736
4736
|
var passwordlessRequest_fr = {
|
|
@@ -4738,14 +4738,14 @@ var passwordlessRequest_fr = {
|
|
|
4738
4738
|
email: email$1,
|
|
4739
4739
|
submit: submit$1,
|
|
4740
4740
|
required: required$1,
|
|
4741
|
-
messages: messages$
|
|
4741
|
+
messages: messages$m
|
|
4742
4742
|
};
|
|
4743
4743
|
|
|
4744
4744
|
var title$6 = "비밀번호 없는 로그인";
|
|
4745
4745
|
var email = "이메일 입력";
|
|
4746
4746
|
var submit = "제출";
|
|
4747
4747
|
var required = "필수 항목";
|
|
4748
|
-
var messages$
|
|
4748
|
+
var messages$l = {
|
|
4749
4749
|
PasswordlessLoginSuccess: "비밀번호 없는 로그인으로 성공적으로 인증되었습니다."
|
|
4750
4750
|
};
|
|
4751
4751
|
var passwordlessRequest_ko = {
|
|
@@ -4753,7 +4753,7 @@ var passwordlessRequest_ko = {
|
|
|
4753
4753
|
email: email,
|
|
4754
4754
|
submit: submit,
|
|
4755
4755
|
required: required,
|
|
4756
|
-
messages: messages$
|
|
4756
|
+
messages: messages$l
|
|
4757
4757
|
};
|
|
4758
4758
|
|
|
4759
4759
|
var title$5 = "Votre panier";
|
|
@@ -4837,7 +4837,7 @@ var buttons$8 = {
|
|
|
4837
4837
|
purchase: "Purchase",
|
|
4838
4838
|
"continue": "Continue"
|
|
4839
4839
|
};
|
|
4840
|
-
var messages$
|
|
4840
|
+
var messages$k = {
|
|
4841
4841
|
orderConfirmed: {
|
|
4842
4842
|
title: "Order confirmed!",
|
|
4843
4843
|
body: "Your order has been confirmed and will be shipped within the next few days. You'll shortly receive an email confirmation of this order."
|
|
@@ -4846,14 +4846,14 @@ var messages$h = {
|
|
|
4846
4846
|
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.",
|
|
4847
4847
|
currencyMismatch: "The selected item(s) do not match your current default currency ({{currency}}). Please choose item(s) only matching this currency."
|
|
4848
4848
|
};
|
|
4849
|
-
var labels$
|
|
4849
|
+
var labels$n = {
|
|
4850
4850
|
summary: "Order summary",
|
|
4851
4851
|
total: "total"
|
|
4852
4852
|
};
|
|
4853
4853
|
var shop_en = {
|
|
4854
4854
|
buttons: buttons$8,
|
|
4855
|
-
messages: messages$
|
|
4856
|
-
labels: labels$
|
|
4855
|
+
messages: messages$k,
|
|
4856
|
+
labels: labels$n
|
|
4857
4857
|
};
|
|
4858
4858
|
|
|
4859
4859
|
var buttons$7 = {
|
|
@@ -4862,7 +4862,7 @@ var buttons$7 = {
|
|
|
4862
4862
|
purchase: "Acheter",
|
|
4863
4863
|
"continue": "Continuer au contenu"
|
|
4864
4864
|
};
|
|
4865
|
-
var messages$
|
|
4865
|
+
var messages$j = {
|
|
4866
4866
|
orderConfirmed: {
|
|
4867
4867
|
title: "Votre commande est confirmée !",
|
|
4868
4868
|
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."
|
|
@@ -4871,14 +4871,14 @@ var messages$g = {
|
|
|
4871
4871
|
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.",
|
|
4872
4872
|
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."
|
|
4873
4873
|
};
|
|
4874
|
-
var labels$
|
|
4874
|
+
var labels$m = {
|
|
4875
4875
|
summary: "récapitulatif de commande",
|
|
4876
4876
|
total: "total"
|
|
4877
4877
|
};
|
|
4878
4878
|
var shop_fr = {
|
|
4879
4879
|
buttons: buttons$7,
|
|
4880
|
-
messages: messages$
|
|
4881
|
-
labels: labels$
|
|
4880
|
+
messages: messages$j,
|
|
4881
|
+
labels: labels$m
|
|
4882
4882
|
};
|
|
4883
4883
|
|
|
4884
4884
|
var buttons$6 = {
|
|
@@ -4887,7 +4887,7 @@ var buttons$6 = {
|
|
|
4887
4887
|
purchase: "구매",
|
|
4888
4888
|
"continue": "계속"
|
|
4889
4889
|
};
|
|
4890
|
-
var messages$
|
|
4890
|
+
var messages$i = {
|
|
4891
4891
|
orderConfirmed: {
|
|
4892
4892
|
title: "주문이 확인되었습니다!",
|
|
4893
4893
|
body: "귀하의 주문이 확인되었으며 며칠 안에 배송될 예정입니다. 이 주문의 확인 이메일이 귀하에게 전송됩니다."
|
|
@@ -4896,17 +4896,17 @@ var messages$f = {
|
|
|
4896
4896
|
multipleCurrencies: "장바구니에 다른 통화로만 결제가 가능한 아이템이 있습니다. 결제를 계속 진행하려면 모든 아이템의 결제 통화가 동일한지 확인하십시오.",
|
|
4897
4897
|
currencyMismatch: "선택하신 아이템(들)이 귀하가 설정한 기본 통화({{currency}})와 일치하지 않습니다. 기본 통화와 일치하는 아이템(들)만 선택하십시오."
|
|
4898
4898
|
};
|
|
4899
|
-
var labels$
|
|
4899
|
+
var labels$l = {
|
|
4900
4900
|
summary: "주문 요약",
|
|
4901
4901
|
total: "총계"
|
|
4902
4902
|
};
|
|
4903
4903
|
var shop_ko = {
|
|
4904
4904
|
buttons: buttons$6,
|
|
4905
|
-
messages: messages$
|
|
4906
|
-
labels: labels$
|
|
4905
|
+
messages: messages$i,
|
|
4906
|
+
labels: labels$l
|
|
4907
4907
|
};
|
|
4908
4908
|
|
|
4909
|
-
var labels$
|
|
4909
|
+
var labels$k = {
|
|
4910
4910
|
cardNumber: "Numéro de carte",
|
|
4911
4911
|
securityCode: "Code de sécurité",
|
|
4912
4912
|
submit: "Soumettre",
|
|
@@ -4928,7 +4928,7 @@ var labels$h = {
|
|
|
4928
4928
|
title: "Informations de paiement"
|
|
4929
4929
|
}
|
|
4930
4930
|
};
|
|
4931
|
-
var messages$
|
|
4931
|
+
var messages$h = {
|
|
4932
4932
|
youAreSafe: "Vous êtes en sécurité - PCI conforme 128 SSL par",
|
|
4933
4933
|
cancel: "Annuler votre abonnement en ligne à tout moment.",
|
|
4934
4934
|
giftSent: "Le cadeau d’abonnement a été envoyé à",
|
|
@@ -4941,12 +4941,12 @@ var errors$2 = {
|
|
|
4941
4941
|
"": ""
|
|
4942
4942
|
};
|
|
4943
4943
|
var payment_fr = {
|
|
4944
|
-
labels: labels$
|
|
4945
|
-
messages: messages$
|
|
4944
|
+
labels: labels$k,
|
|
4945
|
+
messages: messages$h,
|
|
4946
4946
|
errors: errors$2
|
|
4947
4947
|
};
|
|
4948
4948
|
|
|
4949
|
-
var labels$
|
|
4949
|
+
var labels$j = {
|
|
4950
4950
|
cardNumber: "Card number",
|
|
4951
4951
|
securityCode: "Security Code",
|
|
4952
4952
|
submit: "Submit",
|
|
@@ -4968,7 +4968,7 @@ var labels$g = {
|
|
|
4968
4968
|
title: "Payment Information"
|
|
4969
4969
|
}
|
|
4970
4970
|
};
|
|
4971
|
-
var messages$
|
|
4971
|
+
var messages$g = {
|
|
4972
4972
|
youAreSafe: "You're safe - PCI compliant 128 SSL by",
|
|
4973
4973
|
cancel: "Cancel your subscription online at anytime.",
|
|
4974
4974
|
giftSent: "Subscription gift has been sent to",
|
|
@@ -4981,12 +4981,12 @@ var errors$1 = {
|
|
|
4981
4981
|
"": ""
|
|
4982
4982
|
};
|
|
4983
4983
|
var payment_en = {
|
|
4984
|
-
labels: labels$
|
|
4985
|
-
messages: messages$
|
|
4984
|
+
labels: labels$j,
|
|
4985
|
+
messages: messages$g,
|
|
4986
4986
|
errors: errors$1
|
|
4987
4987
|
};
|
|
4988
4988
|
|
|
4989
|
-
var labels$
|
|
4989
|
+
var labels$i = {
|
|
4990
4990
|
cardNumber: "카드 번호",
|
|
4991
4991
|
securityCode: "보안 코드",
|
|
4992
4992
|
submit: "제출",
|
|
@@ -5008,7 +5008,7 @@ var labels$f = {
|
|
|
5008
5008
|
title: "결제 정보"
|
|
5009
5009
|
}
|
|
5010
5010
|
};
|
|
5011
|
-
var messages$
|
|
5011
|
+
var messages$f = {
|
|
5012
5012
|
youAreSafe: "PCI 준수 128비트 SSL 인증서로 보호됩니다. 제공: ",
|
|
5013
5013
|
cancel: "유료 멤버십은 언제든 온라인으로 취소가 가능합니다.",
|
|
5014
5014
|
giftSent: "유료 멤버십 선물이 ",
|
|
@@ -5021,12 +5021,12 @@ var errors = {
|
|
|
5021
5021
|
"": ""
|
|
5022
5022
|
};
|
|
5023
5023
|
var payment_ko = {
|
|
5024
|
-
labels: labels$
|
|
5025
|
-
messages: messages$
|
|
5024
|
+
labels: labels$i,
|
|
5025
|
+
messages: messages$f,
|
|
5026
5026
|
errors: errors
|
|
5027
5027
|
};
|
|
5028
5028
|
|
|
5029
|
-
var labels$
|
|
5029
|
+
var labels$h = {
|
|
5030
5030
|
menu: "Pelcro Menu",
|
|
5031
5031
|
name: "Name",
|
|
5032
5032
|
email: "Email",
|
|
@@ -5046,6 +5046,8 @@ var labels$e = {
|
|
|
5046
5046
|
unsubscribe: "Cancel",
|
|
5047
5047
|
reactivate: "Reactivate",
|
|
5048
5048
|
renew: "Renew",
|
|
5049
|
+
suspend: "Suspend",
|
|
5050
|
+
unsuspend: "Unsuspend",
|
|
5049
5051
|
support: "Support",
|
|
5050
5052
|
account: "Account",
|
|
5051
5053
|
purchases: "Purchases",
|
|
@@ -5082,6 +5084,7 @@ var labels$e = {
|
|
|
5082
5084
|
canceledOn: "Canceled on",
|
|
5083
5085
|
recipient: "Recipient",
|
|
5084
5086
|
addAddress: "Add address",
|
|
5087
|
+
editAddress: "Edit address",
|
|
5085
5088
|
addSubscription: "New Subscription",
|
|
5086
5089
|
addGift: "New Gift",
|
|
5087
5090
|
"default": "Default",
|
|
@@ -5105,21 +5108,27 @@ var labels$e = {
|
|
|
5105
5108
|
goBack: "Go back"
|
|
5106
5109
|
}
|
|
5107
5110
|
};
|
|
5108
|
-
var messages$
|
|
5111
|
+
var messages$e = {
|
|
5109
5112
|
noCard: "You don't have a card",
|
|
5110
5113
|
subCancellation: {
|
|
5111
5114
|
isSureToCancel: "Are you sure you want to cancel your subscription?",
|
|
5112
5115
|
loading: "Cancelling your subscription",
|
|
5113
5116
|
success: "Subscription is successfully cancelled",
|
|
5114
5117
|
error: "Error while cancelling your subscription"
|
|
5118
|
+
},
|
|
5119
|
+
subUnSuspend: {
|
|
5120
|
+
isSureToUnSuspend: "Are you sure you want to unsuspend your subscription?",
|
|
5121
|
+
loading: "Unsuspending your subscription",
|
|
5122
|
+
success: "Subscription is successfully unsuspended",
|
|
5123
|
+
error: "Error while unsuspending your subscription"
|
|
5115
5124
|
}
|
|
5116
5125
|
};
|
|
5117
5126
|
var dashboard_en = {
|
|
5118
|
-
labels: labels$
|
|
5119
|
-
messages: messages$
|
|
5127
|
+
labels: labels$h,
|
|
5128
|
+
messages: messages$e
|
|
5120
5129
|
};
|
|
5121
5130
|
|
|
5122
|
-
var labels$
|
|
5131
|
+
var labels$g = {
|
|
5123
5132
|
menu: "Menu Pelcro",
|
|
5124
5133
|
name: "Nom",
|
|
5125
5134
|
email: "Courriel",
|
|
@@ -5139,6 +5148,8 @@ var labels$d = {
|
|
|
5139
5148
|
unsubscribe: "Se désabonner",
|
|
5140
5149
|
reactivate: "Réactiver",
|
|
5141
5150
|
renew: "Renouveler",
|
|
5151
|
+
suspend: "Suspendre",
|
|
5152
|
+
unsuspend: "Annuler la suspension",
|
|
5142
5153
|
support: "Soutien",
|
|
5143
5154
|
account: "Compte",
|
|
5144
5155
|
purchases: "Achats",
|
|
@@ -5175,6 +5186,7 @@ var labels$d = {
|
|
|
5175
5186
|
canceledOn: "Annulé le",
|
|
5176
5187
|
recipient: "Destinataire",
|
|
5177
5188
|
addAddress: "Ajoutez l'adresse",
|
|
5189
|
+
editAddress: "Modifier l'adresse",
|
|
5178
5190
|
addSubscription: "Nouvel abonnement",
|
|
5179
5191
|
addGift: "Ajouter un cadeau",
|
|
5180
5192
|
"default": "Défaut",
|
|
@@ -5198,21 +5210,27 @@ var labels$d = {
|
|
|
5198
5210
|
goBack: "Retourner"
|
|
5199
5211
|
}
|
|
5200
5212
|
};
|
|
5201
|
-
var messages$
|
|
5213
|
+
var messages$d = {
|
|
5202
5214
|
noCard: "Vous n’avez pas une carte",
|
|
5203
5215
|
subCancellation: {
|
|
5204
5216
|
isSureToCancel: "Êtes-vous certain de vouloir annuler votre abonnement?",
|
|
5205
5217
|
loading: "Annulation de l'abonnement",
|
|
5206
5218
|
success: "L'abonnement a été annulé avec succès",
|
|
5207
5219
|
error: "Une erreur s'est produite lors de l'annulation de l'abonnement"
|
|
5220
|
+
},
|
|
5221
|
+
subUnSuspend: {
|
|
5222
|
+
isSureToUnSuspend: "Êtes-vous sûr de vouloir annuler la suspension de votre abonnement ?",
|
|
5223
|
+
loading: "Annulation de la suspension de votre abonnement",
|
|
5224
|
+
success: "L'abonnement a été suspendu avec succès",
|
|
5225
|
+
error: "Erreur lors de l'annulation de la suspension de votre abonnement"
|
|
5208
5226
|
}
|
|
5209
5227
|
};
|
|
5210
5228
|
var dashboard_fr = {
|
|
5211
|
-
labels: labels$
|
|
5212
|
-
messages: messages$
|
|
5229
|
+
labels: labels$g,
|
|
5230
|
+
messages: messages$d
|
|
5213
5231
|
};
|
|
5214
5232
|
|
|
5215
|
-
var labels$
|
|
5233
|
+
var labels$f = {
|
|
5216
5234
|
menu: "Pelcro 메뉴",
|
|
5217
5235
|
name: "이름",
|
|
5218
5236
|
email: "이메일",
|
|
@@ -5232,6 +5250,8 @@ var labels$c = {
|
|
|
5232
5250
|
unsubscribe: "취소",
|
|
5233
5251
|
reactivate: "재활성화",
|
|
5234
5252
|
renew: "갱신",
|
|
5253
|
+
suspend: "유예하다",
|
|
5254
|
+
unsuspend: "일시 중단 해제",
|
|
5235
5255
|
support: "지원",
|
|
5236
5256
|
account: "계정",
|
|
5237
5257
|
purchases: "구매",
|
|
@@ -5330,6 +5350,7 @@ var renewsOn = "갱신";
|
|
|
5330
5350
|
var canceledOn = "취소일";
|
|
5331
5351
|
var recipient = "받는 사람";
|
|
5332
5352
|
var addAddress = "주소 추가";
|
|
5353
|
+
var editAddress = "주소 수정";
|
|
5333
5354
|
var addSubscription = "새 유료 멤버십";
|
|
5334
5355
|
var addGift = "새 선물";
|
|
5335
5356
|
var orders = {
|
|
@@ -5351,17 +5372,23 @@ var savedItems = {
|
|
|
5351
5372
|
var subCancellation = {
|
|
5352
5373
|
goBack: "뒤로 가기"
|
|
5353
5374
|
};
|
|
5354
|
-
var messages$
|
|
5375
|
+
var messages$c = {
|
|
5355
5376
|
noCard: "등록된 카드가 없습니다.",
|
|
5356
5377
|
subCancellation: {
|
|
5357
5378
|
isSureToCancel: "정말로 유료 멤버십을 취소하시겠습니까?",
|
|
5358
5379
|
loading: "귀하의 유료 멤버십을 취소합니다.",
|
|
5359
5380
|
success: "유료 멤버십이 성공적으로 취소되었습니다.",
|
|
5360
5381
|
error: "유료 멤버십 취소 과정에서 오류가 발생했습니다."
|
|
5382
|
+
},
|
|
5383
|
+
subUnSuspend: {
|
|
5384
|
+
isSureToUnSuspend: "구독 일시 중단을 해제하시겠습니까?",
|
|
5385
|
+
loading: "구독 일시 중단 해제",
|
|
5386
|
+
success: "구독이 성공적으로 일시 중단 해제되었습니다",
|
|
5387
|
+
error: "구독 일시 중단을 해제하는 동안 오류가 발생했습니다."
|
|
5361
5388
|
}
|
|
5362
5389
|
};
|
|
5363
5390
|
var dashboard_ko = {
|
|
5364
|
-
labels: labels$
|
|
5391
|
+
labels: labels$f,
|
|
5365
5392
|
shipments: shipments,
|
|
5366
5393
|
logout: logout,
|
|
5367
5394
|
dashboard: dashboard,
|
|
@@ -5403,21 +5430,22 @@ var dashboard_ko = {
|
|
|
5403
5430
|
canceledOn: canceledOn,
|
|
5404
5431
|
recipient: recipient,
|
|
5405
5432
|
addAddress: addAddress,
|
|
5433
|
+
editAddress: editAddress,
|
|
5406
5434
|
addSubscription: addSubscription,
|
|
5407
5435
|
addGift: addGift,
|
|
5408
5436
|
"default": "기본",
|
|
5409
5437
|
orders: orders,
|
|
5410
5438
|
savedItems: savedItems,
|
|
5411
5439
|
subCancellation: subCancellation,
|
|
5412
|
-
messages: messages$
|
|
5440
|
+
messages: messages$c
|
|
5413
5441
|
};
|
|
5414
5442
|
|
|
5415
|
-
var messages$
|
|
5443
|
+
var messages$b = {
|
|
5416
5444
|
alreadyHaveAccount: "Already have an account?",
|
|
5417
5445
|
loginHere: "Login here",
|
|
5418
5446
|
checkbox: "Check this box to gift this subscription"
|
|
5419
5447
|
};
|
|
5420
|
-
var labels$
|
|
5448
|
+
var labels$e = {
|
|
5421
5449
|
plan: {
|
|
5422
5450
|
title: "Subscribe to a plan",
|
|
5423
5451
|
subtitle: "Select one of the plans below and click on next."
|
|
@@ -5440,17 +5468,17 @@ var buttons$5 = {
|
|
|
5440
5468
|
back: "Back"
|
|
5441
5469
|
};
|
|
5442
5470
|
var select_en = {
|
|
5443
|
-
messages: messages$
|
|
5444
|
-
labels: labels$
|
|
5471
|
+
messages: messages$b,
|
|
5472
|
+
labels: labels$e,
|
|
5445
5473
|
buttons: buttons$5
|
|
5446
5474
|
};
|
|
5447
5475
|
|
|
5448
|
-
var messages$
|
|
5476
|
+
var messages$a = {
|
|
5449
5477
|
alreadyHaveAccount: "Vous avez déjà un compte ?",
|
|
5450
5478
|
loginHere: "Connectez-vous ici",
|
|
5451
5479
|
checkbox: "Cochez cette case pour offrir cet abonnement"
|
|
5452
5480
|
};
|
|
5453
|
-
var labels$
|
|
5481
|
+
var labels$d = {
|
|
5454
5482
|
plan: {
|
|
5455
5483
|
title: "Abonnez-vous à un plan",
|
|
5456
5484
|
subtitle: "Sélectionnez l’un des plans ci-dessous et cliquez sur suivant."
|
|
@@ -5473,17 +5501,17 @@ var buttons$4 = {
|
|
|
5473
5501
|
back: "Retour"
|
|
5474
5502
|
};
|
|
5475
5503
|
var select_fr = {
|
|
5476
|
-
messages: messages$
|
|
5477
|
-
labels: labels$
|
|
5504
|
+
messages: messages$a,
|
|
5505
|
+
labels: labels$d,
|
|
5478
5506
|
buttons: buttons$4
|
|
5479
5507
|
};
|
|
5480
5508
|
|
|
5481
|
-
var messages$
|
|
5509
|
+
var messages$9 = {
|
|
5482
5510
|
alreadyHaveAccount: "이미 계정이 있습니까?",
|
|
5483
5511
|
loginHere: "여기에서 로그인하세요.",
|
|
5484
5512
|
checkbox: "이 유료 멤버십을 선물하려면 체크하세요."
|
|
5485
5513
|
};
|
|
5486
|
-
var labels$
|
|
5514
|
+
var labels$c = {
|
|
5487
5515
|
plan: {
|
|
5488
5516
|
title: "요금제 가입하기",
|
|
5489
5517
|
subtitle: "아래 요금제 중 하나를 선택하고 다음을 클릭하세요."
|
|
@@ -5506,8 +5534,8 @@ var buttons$3 = {
|
|
|
5506
5534
|
back: "뒤로"
|
|
5507
5535
|
};
|
|
5508
5536
|
var select_ko = {
|
|
5509
|
-
messages: messages$
|
|
5510
|
-
labels: labels$
|
|
5537
|
+
messages: messages$9,
|
|
5538
|
+
labels: labels$c,
|
|
5511
5539
|
buttons: buttons$3
|
|
5512
5540
|
};
|
|
5513
5541
|
|
|
@@ -5541,50 +5569,50 @@ var notification_ko = {
|
|
|
5541
5569
|
confirm: confirm
|
|
5542
5570
|
};
|
|
5543
5571
|
|
|
5544
|
-
var labels$
|
|
5572
|
+
var labels$b = {
|
|
5545
5573
|
title: "Verify your email",
|
|
5546
5574
|
instructions: "You're on your way!\nLet's confirm your email address.\nClick on the verification link we've sent to your email:",
|
|
5547
5575
|
resend: "Resend email"
|
|
5548
5576
|
};
|
|
5549
|
-
var messages$
|
|
5577
|
+
var messages$8 = {
|
|
5550
5578
|
resent: "Resent successfully",
|
|
5551
5579
|
success: "Email verified successfully!"
|
|
5552
5580
|
};
|
|
5553
5581
|
var verifyEmail_en = {
|
|
5554
|
-
labels: labels$
|
|
5555
|
-
messages: messages$
|
|
5582
|
+
labels: labels$b,
|
|
5583
|
+
messages: messages$8
|
|
5556
5584
|
};
|
|
5557
5585
|
|
|
5558
|
-
var labels$
|
|
5586
|
+
var labels$a = {
|
|
5559
5587
|
title: "Confirmez votre courriel",
|
|
5560
5588
|
instructions: "Confirmez votre courriel.\nVeuillez cliquer sur le lien de vérification, qui vous a été envoyé à:",
|
|
5561
5589
|
resend: "Renvoyer le courriel"
|
|
5562
5590
|
};
|
|
5563
|
-
var messages$
|
|
5591
|
+
var messages$7 = {
|
|
5564
5592
|
resent: "Renvoyé avec succès",
|
|
5565
5593
|
success: "Adresse courriel vérifiée avec succès"
|
|
5566
5594
|
};
|
|
5567
5595
|
var verifyEmail_fr = {
|
|
5568
|
-
labels: labels$
|
|
5569
|
-
messages: messages$
|
|
5596
|
+
labels: labels$a,
|
|
5597
|
+
messages: messages$7
|
|
5570
5598
|
};
|
|
5571
5599
|
|
|
5572
|
-
var labels$
|
|
5600
|
+
var labels$9 = {
|
|
5573
5601
|
title: "이메일 주소를 인증하세요.",
|
|
5574
5602
|
instructions: "거의 완료되었습니다!\n이메일 주소만 인증하면 됩니다.\n다음 이메일 주소로 전송된 인증 링크를 클릭해 주십시오:",
|
|
5575
5603
|
resend: "이메일 재전송"
|
|
5576
5604
|
};
|
|
5577
|
-
var messages$
|
|
5605
|
+
var messages$6 = {
|
|
5578
5606
|
resent: "재전송 완료",
|
|
5579
5607
|
success: "이메일 주소가 인증되었습니다!"
|
|
5580
5608
|
};
|
|
5581
5609
|
var verifyEmail_ko = {
|
|
5582
|
-
labels: labels$
|
|
5583
|
-
messages: messages$
|
|
5610
|
+
labels: labels$9,
|
|
5611
|
+
messages: messages$6
|
|
5584
5612
|
};
|
|
5585
5613
|
|
|
5586
5614
|
var title$2 = "Invoice details";
|
|
5587
|
-
var labels$
|
|
5615
|
+
var labels$8 = {
|
|
5588
5616
|
summary: "Summary",
|
|
5589
5617
|
total: "Total",
|
|
5590
5618
|
amountPaid: "Amount paid",
|
|
@@ -5597,12 +5625,12 @@ var buttons$2 = {
|
|
|
5597
5625
|
};
|
|
5598
5626
|
var invoiceDetails_en = {
|
|
5599
5627
|
title: title$2,
|
|
5600
|
-
labels: labels$
|
|
5628
|
+
labels: labels$8,
|
|
5601
5629
|
buttons: buttons$2
|
|
5602
5630
|
};
|
|
5603
5631
|
|
|
5604
5632
|
var title$1 = "Détails de la facture";
|
|
5605
|
-
var labels$
|
|
5633
|
+
var labels$7 = {
|
|
5606
5634
|
summary: "Résumé",
|
|
5607
5635
|
total: "Total",
|
|
5608
5636
|
amountPaid: "Montant payé",
|
|
@@ -5615,12 +5643,12 @@ var buttons$1 = {
|
|
|
5615
5643
|
};
|
|
5616
5644
|
var invoiceDetails_fr = {
|
|
5617
5645
|
title: title$1,
|
|
5618
|
-
labels: labels$
|
|
5646
|
+
labels: labels$7,
|
|
5619
5647
|
buttons: buttons$1
|
|
5620
5648
|
};
|
|
5621
5649
|
|
|
5622
5650
|
var title = "인보이스 세부 정보";
|
|
5623
|
-
var labels$
|
|
5651
|
+
var labels$6 = {
|
|
5624
5652
|
summary: "요약",
|
|
5625
5653
|
total: "총계",
|
|
5626
5654
|
amountPaid: "지불된 금액",
|
|
@@ -5633,18 +5661,18 @@ var buttons = {
|
|
|
5633
5661
|
};
|
|
5634
5662
|
var invoiceDetails_ko = {
|
|
5635
5663
|
title: title,
|
|
5636
|
-
labels: labels$
|
|
5664
|
+
labels: labels$6,
|
|
5637
5665
|
buttons: buttons
|
|
5638
5666
|
};
|
|
5639
5667
|
|
|
5640
|
-
var labels$
|
|
5668
|
+
var labels$5 = {
|
|
5641
5669
|
title: "Cancel subscription",
|
|
5642
5670
|
cancelReason: "Cancellation reason",
|
|
5643
5671
|
subCancellation: {
|
|
5644
5672
|
goBack: "Go back"
|
|
5645
5673
|
}
|
|
5646
5674
|
};
|
|
5647
|
-
var messages$
|
|
5675
|
+
var messages$5 = {
|
|
5648
5676
|
subscriptionEnd: "This subscription is set to expire on",
|
|
5649
5677
|
cancelNow: "Cancel Subscription Now",
|
|
5650
5678
|
cancelLater: "Cancel at Period End",
|
|
@@ -5657,18 +5685,18 @@ var messages$2 = {
|
|
|
5657
5685
|
}
|
|
5658
5686
|
};
|
|
5659
5687
|
var subscriptionCancel_en = {
|
|
5660
|
-
labels: labels$
|
|
5661
|
-
messages: messages$
|
|
5688
|
+
labels: labels$5,
|
|
5689
|
+
messages: messages$5
|
|
5662
5690
|
};
|
|
5663
5691
|
|
|
5664
|
-
var labels$
|
|
5692
|
+
var labels$4 = {
|
|
5665
5693
|
title: "Annuler l'abonnement",
|
|
5666
5694
|
cancelReason: "Motif d'annulation",
|
|
5667
5695
|
subCancellation: {
|
|
5668
5696
|
goBack: "Retourner"
|
|
5669
5697
|
}
|
|
5670
5698
|
};
|
|
5671
|
-
var messages$
|
|
5699
|
+
var messages$4 = {
|
|
5672
5700
|
subscriptionEnd: "Cet abonnement doit expirer le",
|
|
5673
5701
|
cancelNow: "Cancel Subscription Now",
|
|
5674
5702
|
cancelLater: "Annuler l'abonnement maintenant",
|
|
@@ -5681,18 +5709,18 @@ var messages$1 = {
|
|
|
5681
5709
|
}
|
|
5682
5710
|
};
|
|
5683
5711
|
var subscriptionCancel_fr = {
|
|
5684
|
-
labels: labels$
|
|
5685
|
-
messages: messages$
|
|
5712
|
+
labels: labels$4,
|
|
5713
|
+
messages: messages$4
|
|
5686
5714
|
};
|
|
5687
5715
|
|
|
5688
|
-
var labels = {
|
|
5716
|
+
var labels$3 = {
|
|
5689
5717
|
title: "구독 취소",
|
|
5690
5718
|
cancelReason: "취소 사유",
|
|
5691
5719
|
subCancellation: {
|
|
5692
5720
|
goBack: "돌아가기"
|
|
5693
5721
|
}
|
|
5694
5722
|
};
|
|
5695
|
-
var messages = {
|
|
5723
|
+
var messages$3 = {
|
|
5696
5724
|
subscriptionEnd: "이 구독은 다음 날짜에 만료되도록 설정되었습니다.",
|
|
5697
5725
|
cancelNow: "지금 구독 취소",
|
|
5698
5726
|
cancelLater: "기간 종료 시 취소",
|
|
@@ -5705,6 +5733,78 @@ var messages = {
|
|
|
5705
5733
|
}
|
|
5706
5734
|
};
|
|
5707
5735
|
var subscriptionCancel_ko = {
|
|
5736
|
+
labels: labels$3,
|
|
5737
|
+
messages: messages$3
|
|
5738
|
+
};
|
|
5739
|
+
|
|
5740
|
+
var labels$2 = {
|
|
5741
|
+
title: "Suspend subscription",
|
|
5742
|
+
suspensionDate: "Suspension date",
|
|
5743
|
+
subCancellation: {
|
|
5744
|
+
goBack: "Go back"
|
|
5745
|
+
}
|
|
5746
|
+
};
|
|
5747
|
+
var messages$2 = {
|
|
5748
|
+
suspensionEnd: "The suspension is set to expire on",
|
|
5749
|
+
suspendNow: "Suspend Subscription Now",
|
|
5750
|
+
suspendLater: "Suspend at Period End",
|
|
5751
|
+
subCancellation: {
|
|
5752
|
+
isSureToSuspendNow: "Are you sure you want to suspend your subscription immediately?",
|
|
5753
|
+
isSureToSuspend: "Are you sure you want to suspend your subscription?",
|
|
5754
|
+
loading: "Suspending your subscription",
|
|
5755
|
+
success: "Subscription is successfully suspended",
|
|
5756
|
+
error: "Error while suspending your subscription"
|
|
5757
|
+
}
|
|
5758
|
+
};
|
|
5759
|
+
var subscriptionSuspend_en = {
|
|
5760
|
+
labels: labels$2,
|
|
5761
|
+
messages: messages$2
|
|
5762
|
+
};
|
|
5763
|
+
|
|
5764
|
+
var labels$1 = {
|
|
5765
|
+
title: "Suspendre l'abonnement",
|
|
5766
|
+
suspensionDate: "Date de suspension",
|
|
5767
|
+
subCancellation: {
|
|
5768
|
+
goBack: "Revenir en arrière"
|
|
5769
|
+
}
|
|
5770
|
+
};
|
|
5771
|
+
var messages$1 = {
|
|
5772
|
+
suspensionEnd: "La suspension doit expirer le",
|
|
5773
|
+
suspendNow: "Suspendre l'abonnement maintenant",
|
|
5774
|
+
suspendLater: "Suspendre à la fin de la période",
|
|
5775
|
+
subCancellation: {
|
|
5776
|
+
isSureToSuspendNow: "Êtes-vous sûr de vouloir suspendre votre abonnement immédiatement ?",
|
|
5777
|
+
isSureToSuspend: "Êtes-vous sûr de vouloir suspendre votre abonnement ?",
|
|
5778
|
+
loading: "Suspension de votre abonnement",
|
|
5779
|
+
success: "L'abonnement a été suspendu avec succès",
|
|
5780
|
+
error: "Erreur lors de la suspension de votre abonnement"
|
|
5781
|
+
}
|
|
5782
|
+
};
|
|
5783
|
+
var subscriptionSuspend_fr = {
|
|
5784
|
+
labels: labels$1,
|
|
5785
|
+
messages: messages$1
|
|
5786
|
+
};
|
|
5787
|
+
|
|
5788
|
+
var labels = {
|
|
5789
|
+
title: "구독 중단",
|
|
5790
|
+
suspensionDate: "중단 날짜",
|
|
5791
|
+
subCancellation: {
|
|
5792
|
+
goBack: "돌아가기"
|
|
5793
|
+
}
|
|
5794
|
+
};
|
|
5795
|
+
var messages = {
|
|
5796
|
+
suspensionEnd: "일시 중지가 만료되도록 설정되었습니다.",
|
|
5797
|
+
suspendNow: "지금 구독 일시 중단",
|
|
5798
|
+
suspendLater: "기간 종료 시 일시 중단",
|
|
5799
|
+
subCancellation: {
|
|
5800
|
+
isSureToSuspendNow: "구독을 즉시 중단하시겠습니까?",
|
|
5801
|
+
isSureToSuspend: "구독을 일시 중단하시겠습니까?",
|
|
5802
|
+
loading: "구독 일시 중단",
|
|
5803
|
+
success: "구독이 성공적으로 일시 중단되었습니다",
|
|
5804
|
+
error: "구독을 일시 중단하는 동안 오류가 발생했습니다."
|
|
5805
|
+
}
|
|
5806
|
+
};
|
|
5807
|
+
var subscriptionSuspend_ko = {
|
|
5708
5808
|
labels: labels,
|
|
5709
5809
|
messages: messages
|
|
5710
5810
|
};
|
|
@@ -7105,7 +7205,7 @@ class PelcroActions {
|
|
|
7105
7205
|
view,
|
|
7106
7206
|
cartItems,
|
|
7107
7207
|
...otherStateFields
|
|
7108
|
-
} = initialState$
|
|
7208
|
+
} = initialState$m;
|
|
7109
7209
|
this.set(otherStateFields);
|
|
7110
7210
|
});
|
|
7111
7211
|
|
|
@@ -7129,9 +7229,8 @@ class PelcroActions {
|
|
|
7129
7229
|
return this.set({
|
|
7130
7230
|
view: "login"
|
|
7131
7231
|
});
|
|
7132
|
-
}
|
|
7232
|
+
} // console.log(this.get().isAuthenticated(), );
|
|
7133
7233
|
|
|
7134
|
-
console.log(this.get().isAuthenticated());
|
|
7135
7234
|
|
|
7136
7235
|
if (["passwordless-request"].includes(view) && (this.get().isAuthenticated() || !((_window$Pelcro$site$r = window.Pelcro.site.read()) !== null && _window$Pelcro$site$r !== void 0 && _window$Pelcro$site$r.passwordless_enabled))) {
|
|
7137
7236
|
return this.set({
|
|
@@ -7244,6 +7343,21 @@ class PelcroActions {
|
|
|
7244
7343
|
});
|
|
7245
7344
|
});
|
|
7246
7345
|
|
|
7346
|
+
_defineProperty$3(this, "setSubscriptionToSuspend", id => {
|
|
7347
|
+
var _window$Pelcro$subscr2;
|
|
7348
|
+
|
|
7349
|
+
const subscriptions = (_window$Pelcro$subscr2 = window.Pelcro.subscription.list()) !== null && _window$Pelcro$subscr2 !== void 0 ? _window$Pelcro$subscr2 : [];
|
|
7350
|
+
const subscriptionToSuspend = subscriptions.filter(sub => String(sub.id) === String(id))[0];
|
|
7351
|
+
|
|
7352
|
+
if (!subscriptionToSuspend) {
|
|
7353
|
+
return console.error("invalid subscription id");
|
|
7354
|
+
}
|
|
7355
|
+
|
|
7356
|
+
this.set({
|
|
7357
|
+
subscriptionToSuspend
|
|
7358
|
+
});
|
|
7359
|
+
});
|
|
7360
|
+
|
|
7247
7361
|
_defineProperty$3(this, "setInvoice", id => {
|
|
7248
7362
|
var _window$Pelcro$invoic;
|
|
7249
7363
|
|
|
@@ -7475,7 +7589,7 @@ class PelcroCallbacks {
|
|
|
7475
7589
|
|
|
7476
7590
|
}
|
|
7477
7591
|
|
|
7478
|
-
const initialState$
|
|
7592
|
+
const initialState$m = {
|
|
7479
7593
|
// View
|
|
7480
7594
|
view: null,
|
|
7481
7595
|
// Plans
|
|
@@ -7509,7 +7623,7 @@ const createPelcroStore = () => createStore(middleware_3((set, get) => {
|
|
|
7509
7623
|
return {
|
|
7510
7624
|
// Store setter
|
|
7511
7625
|
set,
|
|
7512
|
-
...initialState$
|
|
7626
|
+
...initialState$m,
|
|
7513
7627
|
// State actions
|
|
7514
7628
|
...actions,
|
|
7515
7629
|
// Callbacks
|
|
@@ -7905,7 +8019,8 @@ const resources = {
|
|
|
7905
8019
|
select: select_en,
|
|
7906
8020
|
notification: notification_en,
|
|
7907
8021
|
invoiceDetails: invoiceDetails_en,
|
|
7908
|
-
subscriptionCancel: subscriptionCancel_en
|
|
8022
|
+
subscriptionCancel: subscriptionCancel_en,
|
|
8023
|
+
subscriptionSuspend: subscriptionSuspend_en
|
|
7909
8024
|
},
|
|
7910
8025
|
fr: {
|
|
7911
8026
|
common: common_fr,
|
|
@@ -7932,7 +8047,8 @@ const resources = {
|
|
|
7932
8047
|
select: select_fr,
|
|
7933
8048
|
notification: notification_fr,
|
|
7934
8049
|
invoiceDetails: invoiceDetails_fr,
|
|
7935
|
-
subscriptionCancel: subscriptionCancel_fr
|
|
8050
|
+
subscriptionCancel: subscriptionCancel_fr,
|
|
8051
|
+
subscriptionSuspend: subscriptionSuspend_fr
|
|
7936
8052
|
},
|
|
7937
8053
|
ko: {
|
|
7938
8054
|
common: common_ko,
|
|
@@ -7959,7 +8075,8 @@ const resources = {
|
|
|
7959
8075
|
select: select_ko,
|
|
7960
8076
|
notification: notification_ko,
|
|
7961
8077
|
invoiceDetails: invoiceDetails_ko,
|
|
7962
|
-
subscriptionCancel: subscriptionCancel_ko
|
|
8078
|
+
subscriptionCancel: subscriptionCancel_ko,
|
|
8079
|
+
subscriptionSuspend: subscriptionSuspend_ko
|
|
7963
8080
|
}
|
|
7964
8081
|
}; // set UI language to the page language or default to the language in site settings
|
|
7965
8082
|
|
|
@@ -8250,8 +8367,8 @@ const saveToMetadataButton = new SaveToMetadataButtonClass();
|
|
|
8250
8367
|
|
|
8251
8368
|
let e={data:""},t=t=>"undefined"!=typeof window?((t?t.querySelector("#_goober"):window._goober)||Object.assign((t||document.head).appendChild(document.createElement("style")),{innerHTML:" ",id:"_goober"})).firstChild:t||e,l=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(})/g,a=/\/\*[^]*?\*\/|\s\s+|\n/g,n=(e,t)=>{let r,l="",a="",o="";for(let c in e){let s=e[c];"object"==typeof s?(r=t?t.replace(/([^,])+/g,e=>c.replace(/([^,])+/g,t=>/&/.test(t)?t.replace(/&/g,e):e?e+" "+t:t)):c,a+="@"==c[0]?"f"==c[1]?n(s,c):c+"{"+n(s,"k"==c[1]?"":t)+"}":n(s,r)):"@"==c[0]&&"i"==c[1]?l=c+" "+s+";":(c=c.replace(/[A-Z]/g,"-$&").toLowerCase(),o+=n.p?n.p(c,s):c+":"+s+";");}return o[0]?(r=t?t+"{"+o+"}":o,l+r+a):l+a},o={},c=e=>{let t="";for(let r in e)t+=r+("object"==typeof e[r]?c(e[r]):e[r]);return t},s=(e,t,r,s,i)=>{let p="object"==typeof e?c(e):e,u=o[p]||(o[p]=(e=>{let t=0,r=11;for(;t<e.length;)r=101*r+e.charCodeAt(t++)>>>0;return "go"+r})(p));if(!o[u]){let t="object"==typeof e?e:(e=>{let t,r=[{}];for(;t=l.exec(e.replace(a,""));)t[4]&&r.shift(),t[3]?r.unshift(r[0][t[3]]=r[0][t[3]]||{}):t[4]||(r[0][t[1]]=t[2]);return r[0]})(e);o[u]=n(i?{["@keyframes "+u]:t}:t,r?"":"."+u);}return ((e,t,r)=>{-1==t.data.indexOf(e)&&(t.data=r?e+t.data:t.data+e);})(o[u],t,s),u},i$1=(e,t,r)=>e.reduce((e,l,a)=>{let o=t[a];if(o&&o.call){let e=o(r),t=e&&e.props&&e.props.className||/^go/.test(e)&&e;o=t?"."+t:e&&"object"==typeof e?e.props?"":n(e,""):e;}return e+l+(null==o?"":o)},"");function p(e){let r=this||{},l=e.call?e(r.p):e;return s(l.unshift?l.raw?i$1(l,[].slice.call(arguments,1),r.p):l.reduce((e,t)=>t?Object.assign(e,t.call?t(r.p):t):e,{}):l,t(r.target),r.g,r.o,r.k)}let u,f,d;p.bind({g:1});let b=p.bind({k:1});function h(e,t,r,l){n.p=t,u=e,f=r,d=l;}function y(e,t){let r=this||{};return function(){let l=arguments;function a(n,o){let c=Object.assign({},n),s=c.className||a.className;r.p=Object.assign({theme:f&&f()},c),r.o=/ *go\d+/.test(s),c.className=p.apply(r,l)+(s?" "+s:""),t&&(c.ref=o);let i=c.as||e;return d&&i[0]&&d(c),u(i,c)}return t?t(a):a}}
|
|
8252
8369
|
|
|
8253
|
-
function _extends$
|
|
8254
|
-
_extends$
|
|
8370
|
+
function _extends$B() {
|
|
8371
|
+
_extends$B = Object.assign || function (target) {
|
|
8255
8372
|
for (var i = 1; i < arguments.length; i++) {
|
|
8256
8373
|
var source = arguments[i];
|
|
8257
8374
|
|
|
@@ -8265,7 +8382,7 @@ function _extends$A() {
|
|
|
8265
8382
|
return target;
|
|
8266
8383
|
};
|
|
8267
8384
|
|
|
8268
|
-
return _extends$
|
|
8385
|
+
return _extends$B.apply(this, arguments);
|
|
8269
8386
|
}
|
|
8270
8387
|
|
|
8271
8388
|
function _taggedTemplateLiteralLoose(strings, raw) {
|
|
@@ -8355,7 +8472,7 @@ var clearFromRemoveQueue = function clearFromRemoveQueue(toastId) {
|
|
|
8355
8472
|
var reducer = function reducer(state, action) {
|
|
8356
8473
|
switch (action.type) {
|
|
8357
8474
|
case ActionType.ADD_TOAST:
|
|
8358
|
-
return _extends$
|
|
8475
|
+
return _extends$B({}, state, {
|
|
8359
8476
|
toasts: [action.toast].concat(state.toasts).slice(0, TOAST_LIMIT)
|
|
8360
8477
|
});
|
|
8361
8478
|
|
|
@@ -8365,9 +8482,9 @@ var reducer = function reducer(state, action) {
|
|
|
8365
8482
|
clearFromRemoveQueue(action.toast.id);
|
|
8366
8483
|
}
|
|
8367
8484
|
|
|
8368
|
-
return _extends$
|
|
8485
|
+
return _extends$B({}, state, {
|
|
8369
8486
|
toasts: state.toasts.map(function (t) {
|
|
8370
|
-
return t.id === action.toast.id ? _extends$
|
|
8487
|
+
return t.id === action.toast.id ? _extends$B({}, t, action.toast) : t;
|
|
8371
8488
|
})
|
|
8372
8489
|
});
|
|
8373
8490
|
|
|
@@ -8394,9 +8511,9 @@ var reducer = function reducer(state, action) {
|
|
|
8394
8511
|
});
|
|
8395
8512
|
}
|
|
8396
8513
|
|
|
8397
|
-
return _extends$
|
|
8514
|
+
return _extends$B({}, state, {
|
|
8398
8515
|
toasts: state.toasts.map(function (t) {
|
|
8399
|
-
return t.id === toastId || toastId === undefined ? _extends$
|
|
8516
|
+
return t.id === toastId || toastId === undefined ? _extends$B({}, t, {
|
|
8400
8517
|
visible: false
|
|
8401
8518
|
}) : t;
|
|
8402
8519
|
})
|
|
@@ -8404,28 +8521,28 @@ var reducer = function reducer(state, action) {
|
|
|
8404
8521
|
|
|
8405
8522
|
case ActionType.REMOVE_TOAST:
|
|
8406
8523
|
if (action.toastId === undefined) {
|
|
8407
|
-
return _extends$
|
|
8524
|
+
return _extends$B({}, state, {
|
|
8408
8525
|
toasts: []
|
|
8409
8526
|
});
|
|
8410
8527
|
}
|
|
8411
8528
|
|
|
8412
|
-
return _extends$
|
|
8529
|
+
return _extends$B({}, state, {
|
|
8413
8530
|
toasts: state.toasts.filter(function (t) {
|
|
8414
8531
|
return t.id !== action.toastId;
|
|
8415
8532
|
})
|
|
8416
8533
|
});
|
|
8417
8534
|
|
|
8418
8535
|
case ActionType.START_PAUSE:
|
|
8419
|
-
return _extends$
|
|
8536
|
+
return _extends$B({}, state, {
|
|
8420
8537
|
pausedAt: action.time
|
|
8421
8538
|
});
|
|
8422
8539
|
|
|
8423
8540
|
case ActionType.END_PAUSE:
|
|
8424
8541
|
var diff = action.time - (state.pausedAt || 0);
|
|
8425
|
-
return _extends$
|
|
8542
|
+
return _extends$B({}, state, {
|
|
8426
8543
|
pausedAt: undefined,
|
|
8427
8544
|
toasts: state.toasts.map(function (t) {
|
|
8428
|
-
return _extends$
|
|
8545
|
+
return _extends$B({}, t, {
|
|
8429
8546
|
pauseDuration: t.pauseDuration + diff
|
|
8430
8547
|
});
|
|
8431
8548
|
})
|
|
@@ -8472,12 +8589,12 @@ var useStore = function useStore(toastOptions) {
|
|
|
8472
8589
|
var mergedToasts = state.toasts.map(function (t) {
|
|
8473
8590
|
var _toastOptions$t$type, _toastOptions, _toastOptions$t$type2;
|
|
8474
8591
|
|
|
8475
|
-
return _extends$
|
|
8592
|
+
return _extends$B({}, toastOptions, toastOptions[t.type], t, {
|
|
8476
8593
|
duration: t.duration || ((_toastOptions$t$type = toastOptions[t.type]) == null ? void 0 : _toastOptions$t$type.duration) || ((_toastOptions = toastOptions) == null ? void 0 : _toastOptions.duration) || defaultTimeouts[t.type],
|
|
8477
|
-
style: _extends$
|
|
8594
|
+
style: _extends$B({}, toastOptions.style, (_toastOptions$t$type2 = toastOptions[t.type]) == null ? void 0 : _toastOptions$t$type2.style, t.style)
|
|
8478
8595
|
});
|
|
8479
8596
|
});
|
|
8480
|
-
return _extends$
|
|
8597
|
+
return _extends$B({}, state, {
|
|
8481
8598
|
toasts: mergedToasts
|
|
8482
8599
|
});
|
|
8483
8600
|
};
|
|
@@ -8487,7 +8604,7 @@ var createToast = function createToast(message, type, opts) {
|
|
|
8487
8604
|
type = 'blank';
|
|
8488
8605
|
}
|
|
8489
8606
|
|
|
8490
|
-
return _extends$
|
|
8607
|
+
return _extends$B({
|
|
8491
8608
|
createdAt: Date.now(),
|
|
8492
8609
|
visible: true,
|
|
8493
8610
|
type: type,
|
|
@@ -8537,14 +8654,14 @@ toast.remove = function (toastId) {
|
|
|
8537
8654
|
};
|
|
8538
8655
|
|
|
8539
8656
|
toast.promise = function (promise, msgs, opts) {
|
|
8540
|
-
var id = toast.loading(msgs.loading, _extends$
|
|
8657
|
+
var id = toast.loading(msgs.loading, _extends$B({}, opts, opts == null ? void 0 : opts.loading));
|
|
8541
8658
|
promise.then(function (p) {
|
|
8542
|
-
toast.success(resolveValue(msgs.success, p), _extends$
|
|
8659
|
+
toast.success(resolveValue(msgs.success, p), _extends$B({
|
|
8543
8660
|
id: id
|
|
8544
8661
|
}, opts, opts == null ? void 0 : opts.success));
|
|
8545
8662
|
return p;
|
|
8546
8663
|
})["catch"](function (e) {
|
|
8547
|
-
toast.error(resolveValue(msgs.error, e), _extends$
|
|
8664
|
+
toast.error(resolveValue(msgs.error, e), _extends$B({
|
|
8548
8665
|
id: id
|
|
8549
8666
|
}, opts, opts == null ? void 0 : opts.error));
|
|
8550
8667
|
});
|
|
@@ -8883,7 +9000,7 @@ var ToastBar = /*#__PURE__*/React.memo(function (_ref2) {
|
|
|
8883
9000
|
var message = React.createElement(Message, Object.assign({}, toast.ariaProps), resolveValue(toast.message, toast));
|
|
8884
9001
|
return React.createElement(ToastBarBase, {
|
|
8885
9002
|
className: toast.className,
|
|
8886
|
-
style: _extends$
|
|
9003
|
+
style: _extends$B({}, animationStyle, style, toast.style)
|
|
8887
9004
|
}, typeof children === 'function' ? children({
|
|
8888
9005
|
icon: icon,
|
|
8889
9006
|
message: message
|
|
@@ -8913,7 +9030,7 @@ var getPositionStyle = function getPositionStyle(position, offset) {
|
|
|
8913
9030
|
} : position.includes('right') ? {
|
|
8914
9031
|
justifyContent: 'flex-end'
|
|
8915
9032
|
} : {};
|
|
8916
|
-
return _extends$
|
|
9033
|
+
return _extends$B({
|
|
8917
9034
|
left: 0,
|
|
8918
9035
|
right: 0,
|
|
8919
9036
|
display: 'flex',
|
|
@@ -8940,7 +9057,7 @@ var Toaster = function Toaster(_ref) {
|
|
|
8940
9057
|
handlers = _useToaster.handlers;
|
|
8941
9058
|
|
|
8942
9059
|
return React.createElement("div", {
|
|
8943
|
-
style: _extends$
|
|
9060
|
+
style: _extends$B({
|
|
8944
9061
|
position: 'fixed',
|
|
8945
9062
|
zIndex: 9999,
|
|
8946
9063
|
top: DEFAULT_OFFSET,
|
|
@@ -8975,82 +9092,82 @@ var Toaster = function Toaster(_ref) {
|
|
|
8975
9092
|
}));
|
|
8976
9093
|
};
|
|
8977
9094
|
|
|
8978
|
-
var _path$
|
|
9095
|
+
var _path$y;
|
|
8979
9096
|
|
|
8980
|
-
function _extends$
|
|
9097
|
+
function _extends$A() { _extends$A = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$A.apply(this, arguments); }
|
|
8981
9098
|
|
|
8982
9099
|
function SvgCheckSolid(props) {
|
|
8983
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
9100
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$A({
|
|
8984
9101
|
xmlns: "http://www.w3.org/2000/svg",
|
|
8985
9102
|
className: "h-5 w-5",
|
|
8986
9103
|
viewBox: "0 0 20 20",
|
|
8987
9104
|
fill: "currentColor"
|
|
8988
|
-
}, props), _path$
|
|
9105
|
+
}, props), _path$y || (_path$y = /*#__PURE__*/React__namespace.createElement("path", {
|
|
8989
9106
|
fillRule: "evenodd",
|
|
8990
9107
|
d: "M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",
|
|
8991
9108
|
clipRule: "evenodd"
|
|
8992
9109
|
})));
|
|
8993
9110
|
}
|
|
8994
9111
|
|
|
8995
|
-
var _path$
|
|
9112
|
+
var _path$x;
|
|
8996
9113
|
|
|
8997
|
-
function _extends$
|
|
9114
|
+
function _extends$z() { _extends$z = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$z.apply(this, arguments); }
|
|
8998
9115
|
|
|
8999
9116
|
function SvgXIcon(props) {
|
|
9000
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
9117
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$z({
|
|
9001
9118
|
xmlns: "http://www.w3.org/2000/svg",
|
|
9002
9119
|
viewBox: "0 0 20 20",
|
|
9003
9120
|
fill: "currentColor"
|
|
9004
|
-
}, props), _path$
|
|
9121
|
+
}, props), _path$x || (_path$x = /*#__PURE__*/React__namespace.createElement("path", {
|
|
9005
9122
|
fill: "evenodd",
|
|
9006
9123
|
d: "M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",
|
|
9007
9124
|
clipRule: "evenodd"
|
|
9008
9125
|
})));
|
|
9009
9126
|
}
|
|
9010
9127
|
|
|
9011
|
-
var _path$
|
|
9128
|
+
var _path$w;
|
|
9012
9129
|
|
|
9013
|
-
function _extends$
|
|
9130
|
+
function _extends$y() { _extends$y = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$y.apply(this, arguments); }
|
|
9014
9131
|
|
|
9015
9132
|
function SvgXIconSolid(props) {
|
|
9016
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
9133
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$y({
|
|
9017
9134
|
className: "plc-w-4 plc-h-4",
|
|
9018
9135
|
fill: "currentColor",
|
|
9019
9136
|
xmlns: "http://www.w3.org/2000/svg",
|
|
9020
9137
|
viewBox: "0 0 100 100"
|
|
9021
|
-
}, props), _path$
|
|
9138
|
+
}, props), _path$w || (_path$w = /*#__PURE__*/React__namespace.createElement("path", {
|
|
9022
9139
|
d: "M94.842 48.408c0 24.852-20.148 44.999-45.002 44.999-24.851 0-44.997-20.146-44.997-44.999 0-24.854 20.146-45 44.997-45 24.853 0 45.002 20.146 45.002 45zM71.073 64.841L54.73 48.497l16.344-16.344-4.979-4.979-16.343 16.345-16.343-16.344-4.799 4.799 16.344 16.344L28.61 64.661l4.979 4.978 16.344-16.344 16.343 16.344 4.797-4.798z"
|
|
9023
9140
|
})));
|
|
9024
9141
|
}
|
|
9025
9142
|
|
|
9026
|
-
var _path$
|
|
9143
|
+
var _path$v;
|
|
9027
9144
|
|
|
9028
|
-
function _extends$
|
|
9145
|
+
function _extends$x() { _extends$x = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$x.apply(this, arguments); }
|
|
9029
9146
|
|
|
9030
9147
|
function SvgExclamation(props) {
|
|
9031
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
9148
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$x({
|
|
9032
9149
|
className: "plc-w-4 plc-h-4 plc-mr-1",
|
|
9033
9150
|
xmlns: "http://www.w3.org/2000/svg",
|
|
9034
9151
|
viewBox: "0 0 20 20",
|
|
9035
9152
|
fill: "currentColor"
|
|
9036
|
-
}, props), _path$
|
|
9153
|
+
}, props), _path$v || (_path$v = /*#__PURE__*/React__namespace.createElement("path", {
|
|
9037
9154
|
fillRule: "evenodd",
|
|
9038
9155
|
d: "M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7 4a1 1 0 11-2 0 1 1 0 012 0zm-1-9a1 1 0 00-1 1v4a1 1 0 102 0V6a1 1 0 00-1-1z",
|
|
9039
9156
|
clipRule: "evenodd"
|
|
9040
9157
|
})));
|
|
9041
9158
|
}
|
|
9042
9159
|
|
|
9043
|
-
var _path$
|
|
9160
|
+
var _path$u, _path2$4;
|
|
9044
9161
|
|
|
9045
|
-
function _extends$
|
|
9162
|
+
function _extends$w() { _extends$w = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$w.apply(this, arguments); }
|
|
9046
9163
|
|
|
9047
9164
|
function SvgSpinner(props) {
|
|
9048
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
9165
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$w({
|
|
9049
9166
|
className: "plc-animate-spin",
|
|
9050
9167
|
viewBox: "0 0 24 24",
|
|
9051
9168
|
fill: "currentColor",
|
|
9052
9169
|
xmlns: "http://www.w3.org/2000/svg"
|
|
9053
|
-
}, props), _path$
|
|
9170
|
+
}, props), _path$u || (_path$u = /*#__PURE__*/React__namespace.createElement("path", {
|
|
9054
9171
|
opacity: 0.2,
|
|
9055
9172
|
fill: "evenodd",
|
|
9056
9173
|
clipRule: "evenodd",
|
|
@@ -9221,6 +9338,9 @@ toast.confirm = (onConfirm, {
|
|
|
9221
9338
|
id,
|
|
9222
9339
|
...options
|
|
9223
9340
|
});
|
|
9341
|
+
setTimeout(() => {
|
|
9342
|
+
notify.dismiss(id);
|
|
9343
|
+
}, 3000);
|
|
9224
9344
|
};
|
|
9225
9345
|
|
|
9226
9346
|
const onFailure = errorValue => {
|
|
@@ -9228,6 +9348,9 @@ toast.confirm = (onConfirm, {
|
|
|
9228
9348
|
id,
|
|
9229
9349
|
...options
|
|
9230
9350
|
});
|
|
9351
|
+
setTimeout(() => {
|
|
9352
|
+
notify.dismiss(id);
|
|
9353
|
+
}, 3000);
|
|
9231
9354
|
};
|
|
9232
9355
|
};
|
|
9233
9356
|
|
|
@@ -10739,8 +10862,9 @@ const SWITCH_TO_UPDATE = "SWITCH_TO_UPDATE";
|
|
|
10739
10862
|
const LINK_TOKEN_VERIFY = "LINK_TOKEN_VERIFY";
|
|
10740
10863
|
const SET_CANCEL_SUBSCRIPTION_REASON = "SET_CANCEL_SUBSCRIPTION_REASON";
|
|
10741
10864
|
const HANDLE_CHECKBOX_CHANGE = "HANDLE_CHECKBOX_CHANGE";
|
|
10865
|
+
const SET_SUBSCRIPTION_SUSPEND_DATE = "SET_SUBSCRIPTION_SUSPEND_DATE";
|
|
10742
10866
|
|
|
10743
|
-
const initialState$
|
|
10867
|
+
const initialState$l = {
|
|
10744
10868
|
email: "",
|
|
10745
10869
|
password: "",
|
|
10746
10870
|
emailError: null,
|
|
@@ -10751,10 +10875,10 @@ const initialState$k = {
|
|
|
10751
10875
|
content: ""
|
|
10752
10876
|
}
|
|
10753
10877
|
};
|
|
10754
|
-
const store$
|
|
10878
|
+
const store$l = /*#__PURE__*/React.createContext(initialState$l);
|
|
10755
10879
|
const {
|
|
10756
|
-
Provider: Provider$
|
|
10757
|
-
} = store$
|
|
10880
|
+
Provider: Provider$l
|
|
10881
|
+
} = store$l;
|
|
10758
10882
|
|
|
10759
10883
|
const LoginContainer = ({
|
|
10760
10884
|
style,
|
|
@@ -10861,7 +10985,7 @@ const LoginContainer = ({
|
|
|
10861
10985
|
});
|
|
10862
10986
|
|
|
10863
10987
|
case RESET_LOGIN_FORM:
|
|
10864
|
-
return initialState$
|
|
10988
|
+
return initialState$l;
|
|
10865
10989
|
|
|
10866
10990
|
case DISABLE_LOGIN_BUTTON:
|
|
10867
10991
|
return lib_7({ ...state,
|
|
@@ -10879,12 +11003,12 @@ const LoginContainer = ({
|
|
|
10879
11003
|
default:
|
|
10880
11004
|
return state;
|
|
10881
11005
|
}
|
|
10882
|
-
}, initialState$
|
|
11006
|
+
}, initialState$l);
|
|
10883
11007
|
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
10884
11008
|
style: { ...style
|
|
10885
11009
|
},
|
|
10886
11010
|
className: `pelcro-container pelcro-login-container ${className}`
|
|
10887
|
-
}, /*#__PURE__*/React__default['default'].createElement(Provider$
|
|
11011
|
+
}, /*#__PURE__*/React__default['default'].createElement(Provider$l, {
|
|
10888
11012
|
value: {
|
|
10889
11013
|
state,
|
|
10890
11014
|
dispatch
|
|
@@ -10892,12 +11016,12 @@ const LoginContainer = ({
|
|
|
10892
11016
|
}, children.length ? children.map((child, i) => {
|
|
10893
11017
|
if (child) {
|
|
10894
11018
|
return /*#__PURE__*/React__default['default'].cloneElement(child, {
|
|
10895
|
-
store: store$
|
|
11019
|
+
store: store$l,
|
|
10896
11020
|
key: i
|
|
10897
11021
|
});
|
|
10898
11022
|
}
|
|
10899
11023
|
}) : /*#__PURE__*/React__default['default'].cloneElement(children, {
|
|
10900
|
-
store: store$
|
|
11024
|
+
store: store$l
|
|
10901
11025
|
})));
|
|
10902
11026
|
};
|
|
10903
11027
|
|
|
@@ -11155,7 +11279,7 @@ const LoginButton = ({
|
|
|
11155
11279
|
buttonDisabled
|
|
11156
11280
|
},
|
|
11157
11281
|
dispatch
|
|
11158
|
-
} = React.useContext(store$
|
|
11282
|
+
} = React.useContext(store$l);
|
|
11159
11283
|
const {
|
|
11160
11284
|
t
|
|
11161
11285
|
} = useTranslation("login");
|
|
@@ -11175,16 +11299,16 @@ const LoginButton = ({
|
|
|
11175
11299
|
}, otherProps), name !== null && name !== void 0 ? name : t("labels.login"));
|
|
11176
11300
|
};
|
|
11177
11301
|
|
|
11178
|
-
var _path$
|
|
11302
|
+
var _path$t, _path2$3;
|
|
11179
11303
|
|
|
11180
|
-
function _extends$
|
|
11304
|
+
function _extends$v() { _extends$v = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$v.apply(this, arguments); }
|
|
11181
11305
|
|
|
11182
11306
|
function SvgEmailVerify(props) {
|
|
11183
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
11307
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$v({
|
|
11184
11308
|
className: "plc-w-6 plc-h-6",
|
|
11185
11309
|
viewBox: "0 0 700 700",
|
|
11186
11310
|
xmlns: "http://www.w3.org/2000/svg"
|
|
11187
|
-
}, props), _path$
|
|
11311
|
+
}, props), _path$t || (_path$t = /*#__PURE__*/React__namespace.createElement("path", {
|
|
11188
11312
|
d: "M583.01 231.93a15.008 15.008 0 00-.887-3.875c-.562-1.254-1.129-2.508-1.695-3.762a14.686 14.686 0 00-1.898-1.789c-.438-.437-.653-1.027-1.153-1.414l-56.266-44.164v-52.484a15.555 15.555 0 00-15.554-15.555H434.56l-74.945-58.895a15.547 15.547 0 00-19.227 0l-74.945 58.895h-70.996a15.555 15.555 0 00-15.555 15.555v52.484l-56.266 44.16c-.496.39-.715.996-1.152 1.43v.004a13.37 13.37 0 00-1.898 1.773c-.22.426-.414.86-.59 1.305a14.158 14.158 0 00-1.106 2.457 15.009 15.009 0 00-.886 3.875c0 .48-.329.918-.329 1.398l.004 264.45a15.555 15.555 0 0015.555 15.555h435.55a15.555 15.555 0 0015.555-15.555v-264.45c0-.48-.278-.918-.325-1.398zm-41.176.809l-20.723 14.809v-31.11zm-191.83-150.73l34.223 26.883h-68.445zm-140 57.992h280v124.45c.07 1.593.383 3.168.934 4.664l-140.93 100.66-140.46-100.33c.214-.77.37-1.555.464-2.348zm-31.109 107.55l-20.719-14.81 20.719-16.27zm-31.113 234.67V263.56l193.18 137.99a15.562 15.562 0 0018.078 0l193.18-137.99v218.66z"
|
|
11189
11313
|
})), _path2$3 || (_path2$3 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
11190
11314
|
d: "M324.33 291.81a15.56 15.56 0 0020.582-.297l85.555-77.777a15.56 15.56 0 00-20.938-23.023l-75.398 68.539-44.023-37.723a15.54 15.54 0 00-11.46-4.106 15.553 15.553 0 00-8.758 27.718z"
|
|
@@ -11213,23 +11337,23 @@ const LoginRequestLoginToken = ({
|
|
|
11213
11337
|
};
|
|
11214
11338
|
|
|
11215
11339
|
const LoginEmail = props => /*#__PURE__*/React__default['default'].createElement(Email, Object.assign({
|
|
11216
|
-
store: store$
|
|
11340
|
+
store: store$l
|
|
11217
11341
|
}, props));
|
|
11218
11342
|
|
|
11219
11343
|
const LoginPassword = props => /*#__PURE__*/React__default['default'].createElement(Password, Object.assign({
|
|
11220
|
-
store: store$
|
|
11344
|
+
store: store$l
|
|
11221
11345
|
}, props));
|
|
11222
11346
|
|
|
11223
|
-
var _path$
|
|
11347
|
+
var _path$s;
|
|
11224
11348
|
|
|
11225
|
-
function _extends$
|
|
11349
|
+
function _extends$u() { _extends$u = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$u.apply(this, arguments); }
|
|
11226
11350
|
|
|
11227
11351
|
function SvgCheck(props) {
|
|
11228
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
11352
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$u({
|
|
11229
11353
|
xmlns: "http://www.w3.org/2000/svg",
|
|
11230
11354
|
fill: "currentColor",
|
|
11231
11355
|
viewBox: "0 0 20 20"
|
|
11232
|
-
}, props), _path$
|
|
11356
|
+
}, props), _path$s || (_path$s = /*#__PURE__*/React__namespace.createElement("path", {
|
|
11233
11357
|
fillRule: "evenodd",
|
|
11234
11358
|
d: "M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z",
|
|
11235
11359
|
clipRule: "evenodd"
|
|
@@ -11294,7 +11418,7 @@ var facebookLoginRenderProps = createCommonjsModule(function (module, exports) {
|
|
|
11294
11418
|
var FacebookLogin = unwrapExports(facebookLoginRenderProps);
|
|
11295
11419
|
facebookLoginRenderProps.FacebookLogin;
|
|
11296
11420
|
|
|
11297
|
-
const initialState$
|
|
11421
|
+
const initialState$k = {
|
|
11298
11422
|
email: "",
|
|
11299
11423
|
password: "",
|
|
11300
11424
|
emailError: null,
|
|
@@ -11311,10 +11435,10 @@ const initialState$j = {
|
|
|
11311
11435
|
content: ""
|
|
11312
11436
|
}
|
|
11313
11437
|
};
|
|
11314
|
-
const store$
|
|
11438
|
+
const store$k = /*#__PURE__*/React.createContext(initialState$k);
|
|
11315
11439
|
const {
|
|
11316
|
-
Provider: Provider$
|
|
11317
|
-
} = store$
|
|
11440
|
+
Provider: Provider$k
|
|
11441
|
+
} = store$k;
|
|
11318
11442
|
|
|
11319
11443
|
const RegisterContainer = ({
|
|
11320
11444
|
style,
|
|
@@ -11497,7 +11621,7 @@ const RegisterContainer = ({
|
|
|
11497
11621
|
});
|
|
11498
11622
|
|
|
11499
11623
|
case RESET_LOGIN_FORM:
|
|
11500
|
-
return initialState$
|
|
11624
|
+
return initialState$k;
|
|
11501
11625
|
|
|
11502
11626
|
case DISABLE_REGISTRATION_BUTTON:
|
|
11503
11627
|
return lib_7({ ...state,
|
|
@@ -11515,12 +11639,12 @@ const RegisterContainer = ({
|
|
|
11515
11639
|
default:
|
|
11516
11640
|
return state;
|
|
11517
11641
|
}
|
|
11518
|
-
}, initialState$
|
|
11642
|
+
}, initialState$k);
|
|
11519
11643
|
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
11520
11644
|
style: { ...style
|
|
11521
11645
|
},
|
|
11522
11646
|
className: `pelcro-container pelcro-register-container ${className}`
|
|
11523
|
-
}, /*#__PURE__*/React__default['default'].createElement(Provider$
|
|
11647
|
+
}, /*#__PURE__*/React__default['default'].createElement(Provider$k, {
|
|
11524
11648
|
value: {
|
|
11525
11649
|
state,
|
|
11526
11650
|
dispatch
|
|
@@ -11528,12 +11652,12 @@ const RegisterContainer = ({
|
|
|
11528
11652
|
}, children.length ? children.map((child, i) => {
|
|
11529
11653
|
if (child) {
|
|
11530
11654
|
return /*#__PURE__*/React__default['default'].cloneElement(child, {
|
|
11531
|
-
store: store$
|
|
11655
|
+
store: store$k,
|
|
11532
11656
|
key: i
|
|
11533
11657
|
});
|
|
11534
11658
|
}
|
|
11535
11659
|
}) : /*#__PURE__*/React__default['default'].cloneElement(children, {
|
|
11536
|
-
store: store$
|
|
11660
|
+
store: store$k
|
|
11537
11661
|
})));
|
|
11538
11662
|
};
|
|
11539
11663
|
/**
|
|
@@ -11548,15 +11672,15 @@ function hasSecurityTokenEnabled$1() {
|
|
|
11548
11672
|
return hasSecuritySdkLoaded;
|
|
11549
11673
|
}
|
|
11550
11674
|
|
|
11551
|
-
var _path$
|
|
11675
|
+
var _path$r;
|
|
11552
11676
|
|
|
11553
|
-
function _extends$
|
|
11677
|
+
function _extends$t() { _extends$t = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$t.apply(this, arguments); }
|
|
11554
11678
|
|
|
11555
11679
|
function SvgFacebookLogo(props) {
|
|
11556
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
11680
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$t({
|
|
11557
11681
|
xmlns: "http://www.w3.org/2000/svg",
|
|
11558
11682
|
viewBox: "88.428 12.828 107.543 207.085"
|
|
11559
|
-
}, props), _path$
|
|
11683
|
+
}, props), _path$r || (_path$r = /*#__PURE__*/React__namespace.createElement("path", {
|
|
11560
11684
|
d: "M158.232 219.912v-94.461h31.707l4.747-36.813h-36.454V65.134c0-10.658 2.96-17.922 18.245-17.922l19.494-.009V14.278c-3.373-.447-14.944-1.449-28.406-1.449-28.106 0-47.348 17.155-47.348 48.661v27.149H88.428v36.813h31.788v94.461l38.016-.001z",
|
|
11561
11685
|
fill: "#3c5a9a"
|
|
11562
11686
|
})));
|
|
@@ -11573,10 +11697,10 @@ const FacebookLoginButton = ({
|
|
|
11573
11697
|
const facebookLoginEnabled = (_window$Pelcro$site$r = window.Pelcro.site.read()) === null || _window$Pelcro$site$r === void 0 ? void 0 : _window$Pelcro$site$r.facebook_app_id;
|
|
11574
11698
|
const {
|
|
11575
11699
|
dispatch: loginDispatch
|
|
11576
|
-
} = React.useContext(store$
|
|
11700
|
+
} = React.useContext(store$l);
|
|
11577
11701
|
const {
|
|
11578
11702
|
dispatch: registerDispatch
|
|
11579
|
-
} = React.useContext(store$
|
|
11703
|
+
} = React.useContext(store$k);
|
|
11580
11704
|
|
|
11581
11705
|
const onSuccess = facebookUser => {
|
|
11582
11706
|
loginDispatch === null || loginDispatch === void 0 ? void 0 : loginDispatch({
|
|
@@ -11629,15 +11753,15 @@ var googleLogin = createCommonjsModule(function (module, exports) {
|
|
|
11629
11753
|
unwrapExports(googleLogin);
|
|
11630
11754
|
var googleLogin_1 = googleLogin.GoogleLogin;
|
|
11631
11755
|
|
|
11632
|
-
var _path$
|
|
11756
|
+
var _path$q, _path2$2, _path3$1, _path4;
|
|
11633
11757
|
|
|
11634
|
-
function _extends$
|
|
11758
|
+
function _extends$s() { _extends$s = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$s.apply(this, arguments); }
|
|
11635
11759
|
|
|
11636
11760
|
function SvgGoogleLogo(props) {
|
|
11637
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
11761
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$s({
|
|
11638
11762
|
viewBox: "0 0 24 24",
|
|
11639
11763
|
xmlns: "http://www.w3.org/2000/svg"
|
|
11640
|
-
}, props), _path$
|
|
11764
|
+
}, props), _path$q || (_path$q = /*#__PURE__*/React__namespace.createElement("path", {
|
|
11641
11765
|
fill: "#4285F4",
|
|
11642
11766
|
d: "M23.745 12.27c0-.79-.07-1.54-.19-2.27h-11.3v4.51h6.47c-.29 1.48-1.14 2.73-2.4 3.58v3h3.86c2.26-2.09 3.56-5.17 3.56-8.82z"
|
|
11643
11767
|
})), _path2$2 || (_path2$2 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
@@ -11663,10 +11787,10 @@ const GoogleLoginButton = ({
|
|
|
11663
11787
|
const googleLoginEnabled = (_window$Pelcro$site$r = window.Pelcro.site.read()) === null || _window$Pelcro$site$r === void 0 ? void 0 : _window$Pelcro$site$r.google_app_id;
|
|
11664
11788
|
const {
|
|
11665
11789
|
dispatch: loginDispatch
|
|
11666
|
-
} = React.useContext(store$
|
|
11790
|
+
} = React.useContext(store$l);
|
|
11667
11791
|
const {
|
|
11668
11792
|
dispatch: registerDispatch
|
|
11669
|
-
} = React.useContext(store$
|
|
11793
|
+
} = React.useContext(store$k);
|
|
11670
11794
|
|
|
11671
11795
|
const onSuccess = response => {
|
|
11672
11796
|
var _response$getAuthResp, _profile$getEmail, _profile$getGivenName, _profile$getFamilyNam, _profile$getEmail2, _profile$getGivenName2, _profile$getFamilyNam2;
|
|
@@ -11714,15 +11838,15 @@ const GoogleLoginButton = ({
|
|
|
11714
11838
|
}) : null;
|
|
11715
11839
|
};
|
|
11716
11840
|
|
|
11717
|
-
var _path$
|
|
11841
|
+
var _path$p;
|
|
11718
11842
|
|
|
11719
|
-
function _extends$
|
|
11843
|
+
function _extends$r() { _extends$r = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$r.apply(this, arguments); }
|
|
11720
11844
|
|
|
11721
11845
|
function SvgAuth0Logo(props) {
|
|
11722
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
11846
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$r({
|
|
11723
11847
|
viewBox: "0 0 256 285",
|
|
11724
11848
|
xmlns: "http://www.w3.org/2000/svg"
|
|
11725
|
-
}, props), _path$
|
|
11849
|
+
}, props), _path$p || (_path$p = /*#__PURE__*/React__namespace.createElement("path", {
|
|
11726
11850
|
d: "M220.412 0h-92.415l28.562 89.006h92.416l-74.77 53.077 28.57 89.511c48.128-35.06 63.854-88.12 46.208-142.588L220.413 0zM7.018 89.006h92.416L127.997 0H35.589L7.019 89.006c-17.655 54.468-1.92 107.529 46.207 142.588l28.563-89.51-74.77-53.078zm46.208 142.588l74.77 52.97 74.77-52.97-74.77-53.847-74.77 53.847z"
|
|
11727
11851
|
})));
|
|
11728
11852
|
}
|
|
@@ -11762,10 +11886,10 @@ const Auth0LoginButton = ({
|
|
|
11762
11886
|
}, [auth0Enabled, auth0Loaded]);
|
|
11763
11887
|
const {
|
|
11764
11888
|
dispatch: loginDispatch
|
|
11765
|
-
} = React.useContext(store$
|
|
11889
|
+
} = React.useContext(store$l);
|
|
11766
11890
|
const {
|
|
11767
11891
|
dispatch: registerDispatch
|
|
11768
|
-
} = React.useContext(store$
|
|
11892
|
+
} = React.useContext(store$k);
|
|
11769
11893
|
|
|
11770
11894
|
function handleClick() {
|
|
11771
11895
|
var _auth0InstanceRef$cur, _auth0InstanceRef$cur2, _auth0InstanceRef$cur3;
|
|
@@ -11914,15 +12038,15 @@ function LoginView(props) {
|
|
|
11914
12038
|
}))));
|
|
11915
12039
|
}
|
|
11916
12040
|
|
|
11917
|
-
var _path$
|
|
12041
|
+
var _path$o, _path2$1, _path3;
|
|
11918
12042
|
|
|
11919
|
-
function _extends$
|
|
12043
|
+
function _extends$q() { _extends$q = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$q.apply(this, arguments); }
|
|
11920
12044
|
|
|
11921
12045
|
function SvgPelcroAuthorship(props) {
|
|
11922
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
12046
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$q({
|
|
11923
12047
|
xmlns: "http://www.w3.org/2000/svg",
|
|
11924
12048
|
viewBox: "0 -80.652 497.072 179.991"
|
|
11925
|
-
}, props), _path$
|
|
12049
|
+
}, props), _path$o || (_path$o = /*#__PURE__*/React__namespace.createElement("path", {
|
|
11926
12050
|
fill: "none",
|
|
11927
12051
|
stroke: "#4a4a4a",
|
|
11928
12052
|
d: "M487.89 42.299c0 13.158-10.671 23.829-23.829 23.829H37.074c-13.162 0-23.832-10.671-23.832-23.829v-63.552c0-13.158 10.67-23.831 23.832-23.831H464.06c13.158 0 23.829 10.672 23.829 23.831l.001 63.552z"
|
|
@@ -12074,11 +12198,11 @@ function LoginModal({
|
|
|
12074
12198
|
LoginModal.viewId = "login";
|
|
12075
12199
|
|
|
12076
12200
|
const RegisterEmail = props => /*#__PURE__*/React__default['default'].createElement(Email, Object.assign({
|
|
12077
|
-
store: store$
|
|
12201
|
+
store: store$k
|
|
12078
12202
|
}, props));
|
|
12079
12203
|
|
|
12080
12204
|
const RegisterPassword = props => /*#__PURE__*/React__default['default'].createElement(Password, Object.assign({
|
|
12081
|
-
store: store$
|
|
12205
|
+
store: store$k
|
|
12082
12206
|
}, props));
|
|
12083
12207
|
|
|
12084
12208
|
const RegisterButton = ({
|
|
@@ -12098,7 +12222,7 @@ const RegisterButton = ({
|
|
|
12098
12222
|
buttonDisabled
|
|
12099
12223
|
},
|
|
12100
12224
|
dispatch
|
|
12101
|
-
} = React.useContext(store$
|
|
12225
|
+
} = React.useContext(store$k);
|
|
12102
12226
|
const {
|
|
12103
12227
|
t
|
|
12104
12228
|
} = useTranslation("register");
|
|
@@ -12236,7 +12360,7 @@ function FirstName({
|
|
|
12236
12360
|
}
|
|
12237
12361
|
|
|
12238
12362
|
const RegisterFirstName = props => /*#__PURE__*/React__default['default'].createElement(FirstName, Object.assign({
|
|
12239
|
-
store: store$
|
|
12363
|
+
store: store$k
|
|
12240
12364
|
}, props));
|
|
12241
12365
|
|
|
12242
12366
|
function LastName({
|
|
@@ -12267,7 +12391,7 @@ function LastName({
|
|
|
12267
12391
|
}
|
|
12268
12392
|
|
|
12269
12393
|
const RegisterLastName = props => /*#__PURE__*/React__default['default'].createElement(LastName, Object.assign({
|
|
12270
|
-
store: store$
|
|
12394
|
+
store: store$k
|
|
12271
12395
|
}, props));
|
|
12272
12396
|
|
|
12273
12397
|
/**
|
|
@@ -12391,7 +12515,7 @@ function TextInput({
|
|
|
12391
12515
|
|
|
12392
12516
|
const RegisterTextInput = props => {
|
|
12393
12517
|
return /*#__PURE__*/React__default['default'].createElement(TextInput, Object.assign({}, props, {
|
|
12394
|
-
store: store$
|
|
12518
|
+
store: store$k
|
|
12395
12519
|
}));
|
|
12396
12520
|
};
|
|
12397
12521
|
|
|
@@ -14735,7 +14859,7 @@ class VantivGateway {
|
|
|
14735
14859
|
|
|
14736
14860
|
/** @type {PaymentStateType} */
|
|
14737
14861
|
|
|
14738
|
-
const initialState$
|
|
14862
|
+
const initialState$j = {
|
|
14739
14863
|
disableSubmit: false,
|
|
14740
14864
|
isLoading: false,
|
|
14741
14865
|
disableCouponButton: false,
|
|
@@ -14754,10 +14878,10 @@ const initialState$i = {
|
|
|
14754
14878
|
content: ""
|
|
14755
14879
|
}
|
|
14756
14880
|
};
|
|
14757
|
-
const store$
|
|
14881
|
+
const store$j = /*#__PURE__*/React.createContext(initialState$j);
|
|
14758
14882
|
const {
|
|
14759
|
-
Provider: Provider$
|
|
14760
|
-
} = store$
|
|
14883
|
+
Provider: Provider$j
|
|
14884
|
+
} = store$j;
|
|
14761
14885
|
|
|
14762
14886
|
const PaymentMethodContainerWithoutStripe = ({
|
|
14763
14887
|
style,
|
|
@@ -14837,9 +14961,17 @@ const PaymentMethodContainerWithoutStripe = ({
|
|
|
14837
14961
|
const SUCCESS_STATUS = "870";
|
|
14838
14962
|
|
|
14839
14963
|
if (paymentRequest.response !== SUCCESS_STATUS) {
|
|
14840
|
-
|
|
14841
|
-
|
|
14842
|
-
|
|
14964
|
+
switch (paymentRequest.response) {
|
|
14965
|
+
case "871":
|
|
14966
|
+
return handlePaymentError({
|
|
14967
|
+
error: new Error("Invalid account number")
|
|
14968
|
+
});
|
|
14969
|
+
|
|
14970
|
+
default:
|
|
14971
|
+
return handlePaymentError({
|
|
14972
|
+
error: new Error(paymentRequest.message)
|
|
14973
|
+
});
|
|
14974
|
+
}
|
|
14843
14975
|
}
|
|
14844
14976
|
}
|
|
14845
14977
|
|
|
@@ -14988,7 +15120,7 @@ const PaymentMethodContainerWithoutStripe = ({
|
|
|
14988
15120
|
vantivInstanceRef.current = new window.EprotectIframeClient({
|
|
14989
15121
|
paypageId: payPageId,
|
|
14990
15122
|
reportGroup: reportGroup,
|
|
14991
|
-
style: "
|
|
15123
|
+
style: "enhancedStyle3",
|
|
14992
15124
|
height: "245",
|
|
14993
15125
|
timeout: 50000,
|
|
14994
15126
|
div: "eProtectiframe",
|
|
@@ -16015,21 +16147,21 @@ const PaymentMethodContainerWithoutStripe = ({
|
|
|
16015
16147
|
default:
|
|
16016
16148
|
return state;
|
|
16017
16149
|
}
|
|
16018
|
-
}, initialState$
|
|
16150
|
+
}, initialState$j);
|
|
16019
16151
|
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
16020
16152
|
style: { ...style
|
|
16021
16153
|
},
|
|
16022
16154
|
className: `pelcro-container pelcro-payment-container ${className}`
|
|
16023
|
-
}, /*#__PURE__*/React__default['default'].createElement(Provider$
|
|
16155
|
+
}, /*#__PURE__*/React__default['default'].createElement(Provider$j, {
|
|
16024
16156
|
value: {
|
|
16025
16157
|
state,
|
|
16026
16158
|
dispatch
|
|
16027
16159
|
}
|
|
16028
16160
|
}, children.length ? children.map((child, i) => /*#__PURE__*/React__default['default'].cloneElement(child, {
|
|
16029
|
-
store: store$
|
|
16161
|
+
store: store$j,
|
|
16030
16162
|
key: i
|
|
16031
16163
|
})) : /*#__PURE__*/React__default['default'].cloneElement(children, {
|
|
16032
|
-
store: store$
|
|
16164
|
+
store: store$j
|
|
16033
16165
|
})));
|
|
16034
16166
|
};
|
|
16035
16167
|
|
|
@@ -16051,7 +16183,7 @@ const PaymentMethodContainer = props => {
|
|
|
16051
16183
|
stripeAccount: window.Pelcro.site.read().account_id,
|
|
16052
16184
|
locale: getPageOrDefaultLanguage()
|
|
16053
16185
|
}, /*#__PURE__*/React__default['default'].createElement(es_11, null, /*#__PURE__*/React__default['default'].createElement(UnwrappedForm, Object.assign({
|
|
16054
|
-
store: store$
|
|
16186
|
+
store: store$j
|
|
16055
16187
|
}, props))));
|
|
16056
16188
|
}
|
|
16057
16189
|
|
|
@@ -16104,7 +16236,7 @@ const PelcroPaymentRequestButton = props => {
|
|
|
16104
16236
|
currentPlan,
|
|
16105
16237
|
updatedPrice
|
|
16106
16238
|
}
|
|
16107
|
-
} = React.useContext(store$
|
|
16239
|
+
} = React.useContext(store$j);
|
|
16108
16240
|
|
|
16109
16241
|
const updatePaymentRequest = () => {
|
|
16110
16242
|
// Make sure payment request is up to date, eg. user added a coupon code.
|
|
@@ -16180,7 +16312,7 @@ const DiscountedPrice = props => {
|
|
|
16180
16312
|
taxAmount,
|
|
16181
16313
|
percentOff
|
|
16182
16314
|
}
|
|
16183
|
-
} = React.useContext(store$
|
|
16315
|
+
} = React.useContext(store$j);
|
|
16184
16316
|
const {
|
|
16185
16317
|
order,
|
|
16186
16318
|
plan
|
|
@@ -16230,7 +16362,7 @@ const SubmitPaymentMethod = ({
|
|
|
16230
16362
|
isLoading,
|
|
16231
16363
|
updatedPrice
|
|
16232
16364
|
}
|
|
16233
|
-
} = React.useContext(store$
|
|
16365
|
+
} = React.useContext(store$j);
|
|
16234
16366
|
const planQuantity = (_plan$quantity = plan === null || plan === void 0 ? void 0 : plan.quantity) !== null && _plan$quantity !== void 0 ? _plan$quantity : 1;
|
|
16235
16367
|
const price = updatedPrice !== null && updatedPrice !== void 0 ? updatedPrice : plan === null || plan === void 0 ? void 0 : plan.amount;
|
|
16236
16368
|
const priceFormatted = getFormattedPriceByLocal(price * planQuantity, plan === null || plan === void 0 ? void 0 : plan.currency, getPageOrDefaultLanguage());
|
|
@@ -16251,17 +16383,17 @@ const SubmitPaymentMethod = ({
|
|
|
16251
16383
|
}, t("labels.pay"), " ", priceFormatted && priceFormatted) : t("labels.submit"));
|
|
16252
16384
|
};
|
|
16253
16385
|
|
|
16254
|
-
var _path$
|
|
16386
|
+
var _path$n;
|
|
16255
16387
|
|
|
16256
|
-
function _extends$
|
|
16388
|
+
function _extends$p() { _extends$p = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$p.apply(this, arguments); }
|
|
16257
16389
|
|
|
16258
16390
|
function SvgArrowLeft(props) {
|
|
16259
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
16391
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$p({
|
|
16260
16392
|
xmlns: "http://www.w3.org/2000/svg",
|
|
16261
16393
|
fill: "none",
|
|
16262
16394
|
viewBox: "0 0 24 24",
|
|
16263
16395
|
stroke: "currentColor"
|
|
16264
|
-
}, props), _path$
|
|
16396
|
+
}, props), _path$n || (_path$n = /*#__PURE__*/React__namespace.createElement("path", {
|
|
16265
16397
|
strokeLinecap: "round",
|
|
16266
16398
|
strokeLinejoin: "round",
|
|
16267
16399
|
strokeWidth: 2,
|
|
@@ -16280,7 +16412,7 @@ const ApplyCouponButton = ({
|
|
|
16280
16412
|
disableCouponButton
|
|
16281
16413
|
},
|
|
16282
16414
|
dispatch
|
|
16283
|
-
} = React.useContext(store$
|
|
16415
|
+
} = React.useContext(store$j);
|
|
16284
16416
|
const {
|
|
16285
16417
|
t
|
|
16286
16418
|
} = useTranslation("checkoutForm");
|
|
@@ -16314,7 +16446,7 @@ const CouponCodeField = props => {
|
|
|
16314
16446
|
couponCode,
|
|
16315
16447
|
couponError
|
|
16316
16448
|
}
|
|
16317
|
-
} = React.useContext(store$
|
|
16449
|
+
} = React.useContext(store$j);
|
|
16318
16450
|
|
|
16319
16451
|
const onCouponCodeChange = e => {
|
|
16320
16452
|
dispatch({
|
|
@@ -16343,17 +16475,17 @@ const CouponCodeField = props => {
|
|
|
16343
16475
|
}, props));
|
|
16344
16476
|
};
|
|
16345
16477
|
|
|
16346
|
-
var _path$
|
|
16478
|
+
var _path$m;
|
|
16347
16479
|
|
|
16348
|
-
function _extends$
|
|
16480
|
+
function _extends$o() { _extends$o = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$o.apply(this, arguments); }
|
|
16349
16481
|
|
|
16350
16482
|
function SvgTicket(props) {
|
|
16351
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
16483
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$o({
|
|
16352
16484
|
xmlns: "http://www.w3.org/2000/svg",
|
|
16353
16485
|
fill: "none",
|
|
16354
16486
|
viewBox: "0 0 24 24",
|
|
16355
16487
|
stroke: "currentColor"
|
|
16356
|
-
}, props), _path$
|
|
16488
|
+
}, props), _path$m || (_path$m = /*#__PURE__*/React__namespace.createElement("path", {
|
|
16357
16489
|
strokeLinecap: "round",
|
|
16358
16490
|
strokeLinejoin: "round",
|
|
16359
16491
|
strokeWidth: 2,
|
|
@@ -16370,7 +16502,7 @@ const CouponCode = ({
|
|
|
16370
16502
|
state: {
|
|
16371
16503
|
enableCouponField
|
|
16372
16504
|
}
|
|
16373
|
-
} = React.useContext(store$
|
|
16505
|
+
} = React.useContext(store$j);
|
|
16374
16506
|
const {
|
|
16375
16507
|
t
|
|
16376
16508
|
} = useTranslation("checkoutForm");
|
|
@@ -16627,7 +16759,7 @@ const PaypalSubscribeButton = props => {
|
|
|
16627
16759
|
const {
|
|
16628
16760
|
dispatch,
|
|
16629
16761
|
state
|
|
16630
|
-
} = React.useContext(store$
|
|
16762
|
+
} = React.useContext(store$j);
|
|
16631
16763
|
const {
|
|
16632
16764
|
product,
|
|
16633
16765
|
plan,
|
|
@@ -16734,16 +16866,16 @@ const BankRedirection = () => {
|
|
|
16734
16866
|
}));
|
|
16735
16867
|
};
|
|
16736
16868
|
|
|
16737
|
-
var _path$
|
|
16869
|
+
var _path$l;
|
|
16738
16870
|
|
|
16739
|
-
function _extends$
|
|
16871
|
+
function _extends$n() { _extends$n = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$n.apply(this, arguments); }
|
|
16740
16872
|
|
|
16741
16873
|
function SvgLock(props) {
|
|
16742
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
16874
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$n({
|
|
16743
16875
|
xmlns: "http://www.w3.org/2000/svg",
|
|
16744
16876
|
viewBox: "0 0 20 20",
|
|
16745
16877
|
fill: "currentColor"
|
|
16746
|
-
}, props), _path$
|
|
16878
|
+
}, props), _path$l || (_path$l = /*#__PURE__*/React__namespace.createElement("path", {
|
|
16747
16879
|
fillRule: "evenodd",
|
|
16748
16880
|
d: "M5 9V7a5 5 0 0110 0v2a2 2 0 012 2v5a2 2 0 01-2 2H5a2 2 0 01-2-2v-5a2 2 0 012-2zm8-2v2H7V7a3 3 0 016 0z",
|
|
16749
16881
|
clipRule: "evenodd"
|
|
@@ -16760,7 +16892,7 @@ const SelectedPaymentMethod = () => {
|
|
|
16760
16892
|
state: {
|
|
16761
16893
|
isLoading
|
|
16762
16894
|
}
|
|
16763
|
-
} = React.useContext(store$
|
|
16895
|
+
} = React.useContext(store$j);
|
|
16764
16896
|
const {
|
|
16765
16897
|
switchView,
|
|
16766
16898
|
selectedPaymentMethodId
|
|
@@ -16802,7 +16934,7 @@ const TaxAmount = () => {
|
|
|
16802
16934
|
state: {
|
|
16803
16935
|
taxAmount
|
|
16804
16936
|
}
|
|
16805
|
-
} = React.useContext(store$
|
|
16937
|
+
} = React.useContext(store$j);
|
|
16806
16938
|
const {
|
|
16807
16939
|
plan
|
|
16808
16940
|
} = usePelcro();
|
|
@@ -16864,7 +16996,7 @@ function PaymentMethodView({
|
|
|
16864
16996
|
className: "plc-mb-2"
|
|
16865
16997
|
}, /*#__PURE__*/React__default['default'].createElement(CouponCode, null), /*#__PURE__*/React__default['default'].createElement(DiscountedPrice, null)), /*#__PURE__*/React__default['default'].createElement(TaxAmount, null), /*#__PURE__*/React__default['default'].createElement("div", {
|
|
16866
16998
|
className: "plc-grid plc-mt-4 plc-gap-y-2"
|
|
16867
|
-
}, /*#__PURE__*/React__default['default'].createElement(SubmitPaymentMethod, null), showExternalPaymentMethods && !supportsVantiv ? /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement(PelcroPaymentRequestButton, null)) : showExternalPaymentMethods && supportsVantiv ? /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement(PaypalSubscribeButton, null)) : null)))));
|
|
16999
|
+
}, /*#__PURE__*/React__default['default'].createElement(SubmitPaymentMethod, null), showExternalPaymentMethods && !supportsVantiv ? /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement(PelcroPaymentRequestButton, null), /*#__PURE__*/React__default['default'].createElement(PaypalSubscribeButton, null)) : showExternalPaymentMethods && supportsVantiv ? /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement(PaypalSubscribeButton, null)) : null)))));
|
|
16868
17000
|
}
|
|
16869
17001
|
|
|
16870
17002
|
const SubscriptionRenewView = ({
|
|
@@ -16969,13 +17101,13 @@ function SubscriptionRenewModal({
|
|
|
16969
17101
|
}
|
|
16970
17102
|
SubscriptionRenewModal.viewId = "subscription-renew";
|
|
16971
17103
|
|
|
16972
|
-
const initialState$
|
|
17104
|
+
const initialState$i = {
|
|
16973
17105
|
cancelationReason: ""
|
|
16974
17106
|
};
|
|
16975
|
-
const store$
|
|
17107
|
+
const store$i = /*#__PURE__*/React.createContext(initialState$i);
|
|
16976
17108
|
const {
|
|
16977
|
-
Provider: Provider$
|
|
16978
|
-
} = store$
|
|
17109
|
+
Provider: Provider$i
|
|
17110
|
+
} = store$i;
|
|
16979
17111
|
|
|
16980
17112
|
const SubscriptionCancelContainer = ({
|
|
16981
17113
|
style,
|
|
@@ -16996,36 +17128,36 @@ const SubscriptionCancelContainer = ({
|
|
|
16996
17128
|
default:
|
|
16997
17129
|
return state;
|
|
16998
17130
|
}
|
|
16999
|
-
}, initialState$
|
|
17131
|
+
}, initialState$i);
|
|
17000
17132
|
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
17001
17133
|
style: { ...style
|
|
17002
17134
|
},
|
|
17003
17135
|
className: `pelcro-container pelcro-subscription-cancel-container ${className}`
|
|
17004
|
-
}, /*#__PURE__*/React__default['default'].createElement(Provider$
|
|
17136
|
+
}, /*#__PURE__*/React__default['default'].createElement(Provider$i, {
|
|
17005
17137
|
value: {
|
|
17006
17138
|
state,
|
|
17007
17139
|
dispatch
|
|
17008
17140
|
}
|
|
17009
17141
|
}, children.length ? children.map((child, i) => /*#__PURE__*/React__default['default'].cloneElement(child, {
|
|
17010
|
-
store: store$
|
|
17142
|
+
store: store$i,
|
|
17011
17143
|
key: i
|
|
17012
17144
|
})) : /*#__PURE__*/React__default['default'].cloneElement(children, {
|
|
17013
|
-
store: store$
|
|
17145
|
+
store: store$i
|
|
17014
17146
|
})));
|
|
17015
17147
|
};
|
|
17016
17148
|
|
|
17017
|
-
var _path$
|
|
17149
|
+
var _path$k;
|
|
17018
17150
|
|
|
17019
|
-
function _extends$
|
|
17151
|
+
function _extends$m() { _extends$m = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$m.apply(this, arguments); }
|
|
17020
17152
|
|
|
17021
17153
|
function SvgInfoCircle(props) {
|
|
17022
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
17154
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$m({
|
|
17023
17155
|
xmlns: "http://www.w3.org/2000/svg",
|
|
17024
17156
|
className: "plc-w-5 plc-h-5",
|
|
17025
17157
|
fill: "none",
|
|
17026
17158
|
viewBox: "0 0 24 24",
|
|
17027
17159
|
stroke: "currentColor"
|
|
17028
|
-
}, props), _path$
|
|
17160
|
+
}, props), _path$k || (_path$k = /*#__PURE__*/React__namespace.createElement("path", {
|
|
17029
17161
|
strokeLinecap: "round",
|
|
17030
17162
|
strokeLinejoin: "round",
|
|
17031
17163
|
strokeWidth: 2,
|
|
@@ -17095,7 +17227,7 @@ const SubscriptionCancelReason = props => {
|
|
|
17095
17227
|
const {
|
|
17096
17228
|
dispatch,
|
|
17097
17229
|
state
|
|
17098
|
-
} = React.useContext(store$
|
|
17230
|
+
} = React.useContext(store$i);
|
|
17099
17231
|
|
|
17100
17232
|
const handleOnTextAreaBlur = e => {
|
|
17101
17233
|
dispatch({
|
|
@@ -17112,10 +17244,10 @@ const SubscriptionCancelReason = props => {
|
|
|
17112
17244
|
|
|
17113
17245
|
var _switch;
|
|
17114
17246
|
|
|
17115
|
-
function _extends$
|
|
17247
|
+
function _extends$l() { _extends$l = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$l.apply(this, arguments); }
|
|
17116
17248
|
|
|
17117
17249
|
function SvgSubscription(props) {
|
|
17118
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
17250
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$l({
|
|
17119
17251
|
xmlns: "http://www.w3.org/2000/svg",
|
|
17120
17252
|
viewBox: "0 0 100 125",
|
|
17121
17253
|
fill: "currentColor"
|
|
@@ -17143,7 +17275,7 @@ const SubscriptionCancelNowButton = ({
|
|
|
17143
17275
|
cancelationReason
|
|
17144
17276
|
},
|
|
17145
17277
|
dispatch
|
|
17146
|
-
} = React.useContext(store$
|
|
17278
|
+
} = React.useContext(store$i);
|
|
17147
17279
|
const {
|
|
17148
17280
|
t
|
|
17149
17281
|
} = useTranslation("subscriptionCancel");
|
|
@@ -17215,7 +17347,7 @@ const SubscriptionCancelLaterButton = ({
|
|
|
17215
17347
|
cancelationReason
|
|
17216
17348
|
},
|
|
17217
17349
|
dispatch
|
|
17218
|
-
} = React.useContext(store$
|
|
17350
|
+
} = React.useContext(store$i);
|
|
17219
17351
|
const {
|
|
17220
17352
|
t
|
|
17221
17353
|
} = useTranslation("subscriptionCancel");
|
|
@@ -17320,12 +17452,246 @@ const SubscriptionCancelModal = ({
|
|
|
17320
17452
|
};
|
|
17321
17453
|
SubscriptionCancelModal.viewId = "subscription-cancel";
|
|
17322
17454
|
|
|
17323
|
-
|
|
17455
|
+
const initialState$h = {
|
|
17456
|
+
suspendDate: null,
|
|
17457
|
+
buttonDisabled: false
|
|
17458
|
+
};
|
|
17459
|
+
const store$h = /*#__PURE__*/React.createContext(initialState$h);
|
|
17460
|
+
const {
|
|
17461
|
+
Provider: Provider$h
|
|
17462
|
+
} = store$h;
|
|
17324
17463
|
|
|
17325
|
-
|
|
17464
|
+
const SubscriptionSuspendContainer = ({
|
|
17465
|
+
style,
|
|
17466
|
+
className = "",
|
|
17467
|
+
onSuccess = () => {},
|
|
17468
|
+
onFailure = () => {},
|
|
17469
|
+
children,
|
|
17470
|
+
...props
|
|
17471
|
+
}) => {
|
|
17472
|
+
useTranslation("SubscriptionSuspend");
|
|
17473
|
+
const [state, dispatch] = useReducerWithSideEffects((state, action) => {
|
|
17474
|
+
switch (action.type) {
|
|
17475
|
+
case SET_SUBSCRIPTION_SUSPEND_DATE:
|
|
17476
|
+
return lib_7({ ...state,
|
|
17477
|
+
suspendDate: action.payload
|
|
17478
|
+
});
|
|
17479
|
+
|
|
17480
|
+
case DISABLE_SUBMIT:
|
|
17481
|
+
return lib_7({ ...state,
|
|
17482
|
+
buttonDisabled: action.payload
|
|
17483
|
+
});
|
|
17484
|
+
|
|
17485
|
+
default:
|
|
17486
|
+
return state;
|
|
17487
|
+
}
|
|
17488
|
+
}, initialState$h);
|
|
17489
|
+
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
17490
|
+
style: { ...style
|
|
17491
|
+
},
|
|
17492
|
+
className: `pelcro-container pelcro-subscription-suspend-container ${className}`
|
|
17493
|
+
}, /*#__PURE__*/React__default['default'].createElement(Provider$h, {
|
|
17494
|
+
value: {
|
|
17495
|
+
state,
|
|
17496
|
+
dispatch
|
|
17497
|
+
}
|
|
17498
|
+
}, children.length ? children.map((child, i) => /*#__PURE__*/React__default['default'].cloneElement(child, {
|
|
17499
|
+
store: store$h,
|
|
17500
|
+
key: i
|
|
17501
|
+
})) : /*#__PURE__*/React__default['default'].cloneElement(children, {
|
|
17502
|
+
store: store$h
|
|
17503
|
+
})));
|
|
17504
|
+
};
|
|
17505
|
+
|
|
17506
|
+
function DatePicker({
|
|
17507
|
+
label = "",
|
|
17508
|
+
tooltipText,
|
|
17509
|
+
required,
|
|
17510
|
+
id,
|
|
17511
|
+
errorId,
|
|
17512
|
+
error,
|
|
17513
|
+
className = "",
|
|
17514
|
+
labelClassName = "",
|
|
17515
|
+
errorClassName = "",
|
|
17516
|
+
wrapperClassName = "",
|
|
17517
|
+
...otherProps
|
|
17518
|
+
}) {
|
|
17519
|
+
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
17520
|
+
className: `pelcro-input-wrapper ${wrapperClassName}`
|
|
17521
|
+
}, /*#__PURE__*/React__default['default'].createElement("label", {
|
|
17522
|
+
htmlFor: id,
|
|
17523
|
+
className: `pelcro-input-label plc-flex plc-items-center ${labelClassName}`
|
|
17524
|
+
}, `${label}${required ? "*" : ""}`, tooltipText && /*#__PURE__*/React__default['default'].createElement(Tooltip, {
|
|
17525
|
+
value: tooltipText,
|
|
17526
|
+
className: "plc-ml-1"
|
|
17527
|
+
})), /*#__PURE__*/React__default['default'].createElement("input", Object.assign({
|
|
17528
|
+
type: "date",
|
|
17529
|
+
id: id,
|
|
17530
|
+
className: `pelcro-input-field ${className} ${error ? "pelcro-input-invalid" : ""}`,
|
|
17531
|
+
"aria-describedby": errorId,
|
|
17532
|
+
"aria-invalid": Boolean(error)
|
|
17533
|
+
}, otherProps)), error && /*#__PURE__*/React__default['default'].createElement("p", {
|
|
17534
|
+
id: errorId,
|
|
17535
|
+
"aria-live": "assertive",
|
|
17536
|
+
className: `pelcro-input-error ${errorClassName}`
|
|
17537
|
+
}, error));
|
|
17538
|
+
}
|
|
17539
|
+
|
|
17540
|
+
const nowDate$1 = new Date();
|
|
17541
|
+
const dayFromNowDateISO = new Date(new Date().setDate(nowDate$1.getDate() + 1)).toISOString().substr(0, 10);
|
|
17542
|
+
const SubscriptionSuspendDate = props => {
|
|
17543
|
+
var _props$subscription, _state$suspendDate;
|
|
17544
|
+
|
|
17545
|
+
const {
|
|
17546
|
+
t
|
|
17547
|
+
} = useTranslation("subscriptionSuspend");
|
|
17548
|
+
const {
|
|
17549
|
+
dispatch,
|
|
17550
|
+
state
|
|
17551
|
+
} = React.useContext(store$h);
|
|
17552
|
+
|
|
17553
|
+
const handleInputChange = value => {
|
|
17554
|
+
if (value) {
|
|
17555
|
+
dispatch({
|
|
17556
|
+
type: DISABLE_SUBMIT,
|
|
17557
|
+
payload: false
|
|
17558
|
+
});
|
|
17559
|
+
dispatch({
|
|
17560
|
+
type: SET_SUBSCRIPTION_SUSPEND_DATE,
|
|
17561
|
+
payload: value
|
|
17562
|
+
});
|
|
17563
|
+
}
|
|
17564
|
+
};
|
|
17565
|
+
|
|
17566
|
+
React.useEffect(() => {
|
|
17567
|
+
handleInputChange(dayFromNowDateISO);
|
|
17568
|
+
}, []);
|
|
17569
|
+
return /*#__PURE__*/React__default['default'].createElement(DatePicker, Object.assign({
|
|
17570
|
+
label: t("labels.suspensionDate"),
|
|
17571
|
+
min: dayFromNowDateISO,
|
|
17572
|
+
max: new Date(props === null || props === void 0 ? void 0 : (_props$subscription = props.subscription) === null || _props$subscription === void 0 ? void 0 : _props$subscription.current_period_end).toISOString().substr(0, 10),
|
|
17573
|
+
value: (_state$suspendDate = state.suspendDate) !== null && _state$suspendDate !== void 0 ? _state$suspendDate : dayFromNowDateISO,
|
|
17574
|
+
onChange: e => handleInputChange(e.target.value),
|
|
17575
|
+
onKeyDown: e => e.preventDefault()
|
|
17576
|
+
}, props));
|
|
17577
|
+
};
|
|
17578
|
+
|
|
17579
|
+
const SubscriptionSuspendButton = ({
|
|
17580
|
+
subscription,
|
|
17581
|
+
onClick,
|
|
17582
|
+
className
|
|
17583
|
+
}) => {
|
|
17584
|
+
const {
|
|
17585
|
+
switchView
|
|
17586
|
+
} = usePelcro();
|
|
17587
|
+
const {
|
|
17588
|
+
state: {
|
|
17589
|
+
suspendDate,
|
|
17590
|
+
buttonDisabled
|
|
17591
|
+
},
|
|
17592
|
+
dispatch
|
|
17593
|
+
} = React.useContext(store$h);
|
|
17594
|
+
const {
|
|
17595
|
+
t
|
|
17596
|
+
} = useTranslation("subscriptionSuspend");
|
|
17597
|
+
|
|
17598
|
+
const suspendSubscription = (payload, onSuccess, onFailure) => {
|
|
17599
|
+
window.Pelcro.subscription.update({
|
|
17600
|
+
auth_token: window.Pelcro.user.read().auth_token,
|
|
17601
|
+
subscription_id: payload.subscription_id,
|
|
17602
|
+
suspend: 1,
|
|
17603
|
+
shipments_suspended_until: suspendDate
|
|
17604
|
+
}, (err, res) => {
|
|
17605
|
+
var _ReactGA$event;
|
|
17606
|
+
|
|
17607
|
+
if (err) {
|
|
17608
|
+
return onFailure === null || onFailure === void 0 ? void 0 : onFailure(err);
|
|
17609
|
+
}
|
|
17610
|
+
|
|
17611
|
+
ReactGA === null || ReactGA === void 0 ? void 0 : (_ReactGA$event = ReactGA.event) === null || _ReactGA$event === void 0 ? void 0 : _ReactGA$event.call(ReactGA, {
|
|
17612
|
+
category: "ACTIONS",
|
|
17613
|
+
action: "Suspended",
|
|
17614
|
+
nonInteraction: true
|
|
17615
|
+
});
|
|
17616
|
+
onSuccess === null || onSuccess === void 0 ? void 0 : onSuccess(res);
|
|
17617
|
+
});
|
|
17618
|
+
};
|
|
17619
|
+
|
|
17620
|
+
const handleClick = () => {
|
|
17621
|
+
const payload = {
|
|
17622
|
+
subscription_id: subscription.id
|
|
17623
|
+
};
|
|
17624
|
+
onClick === null || onClick === void 0 ? void 0 : onClick(); //Close the modal
|
|
17625
|
+
|
|
17626
|
+
switchView(null); //Show confirmation alert after closing the modal
|
|
17627
|
+
|
|
17628
|
+
notify.confirm((onSuccess, onFailure) => {
|
|
17629
|
+
suspendSubscription(payload, onSuccess, onFailure);
|
|
17630
|
+
}, {
|
|
17631
|
+
confirmMessage: t("messages.subCancellation.isSureToSuspendNow"),
|
|
17632
|
+
loadingMessage: t("messages.subCancellation.loading"),
|
|
17633
|
+
successMessage: t("messages.subCancellation.success"),
|
|
17634
|
+
errorMessage: t("messages.subCancellation.error")
|
|
17635
|
+
}, {
|
|
17636
|
+
closeButtonLabel: t("labels.subCancellation.goBack")
|
|
17637
|
+
});
|
|
17638
|
+
};
|
|
17639
|
+
|
|
17640
|
+
return /*#__PURE__*/React__default['default'].createElement(Button, {
|
|
17641
|
+
onClick: handleClick,
|
|
17642
|
+
className: `${className}`,
|
|
17643
|
+
disabled: buttonDisabled
|
|
17644
|
+
}, t("messages.suspendNow"));
|
|
17645
|
+
};
|
|
17646
|
+
|
|
17647
|
+
const SubscriptionSuspendView = props => {
|
|
17648
|
+
const {
|
|
17649
|
+
subscriptionToSuspend
|
|
17650
|
+
} = usePelcro();
|
|
17651
|
+
const {
|
|
17652
|
+
t
|
|
17653
|
+
} = useTranslation("subscriptionSuspend");
|
|
17654
|
+
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
17655
|
+
id: "pelcro-subscription-suspend-view"
|
|
17656
|
+
}, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
17657
|
+
className: "plc-mb-6 plc-text-center plc-text-gray-900 pelcro-title-wrapper"
|
|
17658
|
+
}, /*#__PURE__*/React__default['default'].createElement("h4", {
|
|
17659
|
+
className: "plc-text-2xl plc-font-semibold"
|
|
17660
|
+
}, t("labels.title"), /*#__PURE__*/React__default['default'].createElement("span", {
|
|
17661
|
+
className: "plc-text-gray-400 plc-text-base plc-block"
|
|
17662
|
+
}, "(", subscriptionToSuspend.plan.nickname, ")"))), /*#__PURE__*/React__default['default'].createElement(SubscriptionSuspendContainer, props, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
17663
|
+
className: "plc-flex plc-flex-col plc-items-center plc-justify-center plc-mt-4"
|
|
17664
|
+
}, /*#__PURE__*/React__default['default'].createElement(SvgSubscription, {
|
|
17665
|
+
className: "plc-w-32 plc-h-32"
|
|
17666
|
+
}), /*#__PURE__*/React__default['default'].createElement("p", {
|
|
17667
|
+
className: "plc-mb-3 plc-text-gray-900 plc-text-center plc-whitespace-pre-line"
|
|
17668
|
+
}, t("messages.suspensionEnd"), "."), /*#__PURE__*/React__default['default'].createElement(SubscriptionSuspendDate, {
|
|
17669
|
+
subscription: subscriptionToSuspend
|
|
17670
|
+
}), /*#__PURE__*/React__default['default'].createElement(SubscriptionSuspendButton, {
|
|
17671
|
+
className: "plc-mb-2",
|
|
17672
|
+
subscription: subscriptionToSuspend
|
|
17673
|
+
}))));
|
|
17674
|
+
};
|
|
17675
|
+
|
|
17676
|
+
const SubscriptionSuspendModal = ({
|
|
17677
|
+
onDisplay,
|
|
17678
|
+
onClose,
|
|
17679
|
+
...otherProps
|
|
17680
|
+
}) => {
|
|
17681
|
+
return /*#__PURE__*/React__default['default'].createElement(Modal, {
|
|
17682
|
+
onDisplay: onDisplay,
|
|
17683
|
+
onClose: onClose,
|
|
17684
|
+
id: "pelcro-subscription-suspend-modal"
|
|
17685
|
+
}, /*#__PURE__*/React__default['default'].createElement(ModalBody, null, /*#__PURE__*/React__default['default'].createElement(SubscriptionSuspendView, otherProps)), /*#__PURE__*/React__default['default'].createElement(ModalFooter, null, /*#__PURE__*/React__default['default'].createElement(Authorship, null)));
|
|
17686
|
+
};
|
|
17687
|
+
SubscriptionSuspendModal.viewId = "subscription-suspend";
|
|
17688
|
+
|
|
17689
|
+
var _path$j;
|
|
17690
|
+
|
|
17691
|
+
function _extends$k() { _extends$k = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$k.apply(this, arguments); }
|
|
17326
17692
|
|
|
17327
17693
|
function SvgGift(props) {
|
|
17328
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
17694
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$k({
|
|
17329
17695
|
className: "plc-w-6 plc-h-6 plc-mr-2",
|
|
17330
17696
|
fill: "none",
|
|
17331
17697
|
stroke: "currentColor",
|
|
@@ -17334,7 +17700,7 @@ function SvgGift(props) {
|
|
|
17334
17700
|
strokeWidth: 2,
|
|
17335
17701
|
viewBox: "0 0 24 24",
|
|
17336
17702
|
xmlns: "http://www.w3.org/2000/svg"
|
|
17337
|
-
}, props), _path$
|
|
17703
|
+
}, props), _path$j || (_path$j = /*#__PURE__*/React__namespace.createElement("path", {
|
|
17338
17704
|
d: "M20 12v10H4V12M2 7h20v5H2zM12 22V7M12 7H7.5a2.5 2.5 0 010-5C11 2 12 7 12 7zM12 7h4.5a2.5 2.5 0 000-5C13 2 12 7 12 7z"
|
|
17339
17705
|
})));
|
|
17340
17706
|
}
|
|
@@ -18289,17 +18655,17 @@ const UserUpdateContainer = ({
|
|
|
18289
18655
|
})));
|
|
18290
18656
|
};
|
|
18291
18657
|
|
|
18292
|
-
var _path$
|
|
18658
|
+
var _path$i;
|
|
18293
18659
|
|
|
18294
|
-
function _extends$
|
|
18660
|
+
function _extends$j() { _extends$j = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$j.apply(this, arguments); }
|
|
18295
18661
|
|
|
18296
18662
|
function SvgEdit(props) {
|
|
18297
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
18663
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$j({
|
|
18298
18664
|
className: "plc-w-6 plc-h-6",
|
|
18299
18665
|
xmlns: "http://www.w3.org/2000/svg",
|
|
18300
18666
|
viewBox: "0 0 20 20",
|
|
18301
18667
|
fill: "currentColor"
|
|
18302
|
-
}, props), _path$
|
|
18668
|
+
}, props), _path$i || (_path$i = /*#__PURE__*/React__namespace.createElement("path", {
|
|
18303
18669
|
d: "M13.586 3.586a2 2 0 112.828 2.828l-.793.793-2.828-2.828.793-.793zm-2.207 2.207L3 14.172V17h2.828l8.38-8.379-2.83-2.828z"
|
|
18304
18670
|
})));
|
|
18305
18671
|
}
|
|
@@ -18879,13 +19245,6 @@ function AddressCreateFirstName(props) {
|
|
|
18879
19245
|
}
|
|
18880
19246
|
} = React.useContext(store$e);
|
|
18881
19247
|
|
|
18882
|
-
const handleBlur = () => {
|
|
18883
|
-
return dispatch({
|
|
18884
|
-
type: VALIDATE_FIELD,
|
|
18885
|
-
payload: "firstName"
|
|
18886
|
-
});
|
|
18887
|
-
};
|
|
18888
|
-
|
|
18889
19248
|
const handleInputChange = value => {
|
|
18890
19249
|
dispatch({
|
|
18891
19250
|
type: SET_TEXT_FIELD,
|
|
@@ -18907,8 +19266,8 @@ function AddressCreateFirstName(props) {
|
|
|
18907
19266
|
autoComplete: "given-name",
|
|
18908
19267
|
value: firstName,
|
|
18909
19268
|
error: firstNameError,
|
|
18910
|
-
onChange: e => handleInputChange(e.target.value)
|
|
18911
|
-
|
|
19269
|
+
onChange: e => handleInputChange(e.target.value) // onBlur={handleBlur}
|
|
19270
|
+
,
|
|
18912
19271
|
onFocus: handleFocus
|
|
18913
19272
|
}, props));
|
|
18914
19273
|
}
|
|
@@ -18922,13 +19281,6 @@ function AddressCreateLastName(props) {
|
|
|
18922
19281
|
}
|
|
18923
19282
|
} = React.useContext(store$e);
|
|
18924
19283
|
|
|
18925
|
-
const handleBlur = () => {
|
|
18926
|
-
return dispatch({
|
|
18927
|
-
type: VALIDATE_FIELD,
|
|
18928
|
-
payload: "lastName"
|
|
18929
|
-
});
|
|
18930
|
-
};
|
|
18931
|
-
|
|
18932
19284
|
const handleInputChange = value => {
|
|
18933
19285
|
dispatch({
|
|
18934
19286
|
type: SET_TEXT_FIELD,
|
|
@@ -18951,7 +19303,6 @@ function AddressCreateLastName(props) {
|
|
|
18951
19303
|
value: lastName,
|
|
18952
19304
|
error: lastNameError,
|
|
18953
19305
|
onChange: e => handleInputChange(e.target.value),
|
|
18954
|
-
onBlur: handleBlur,
|
|
18955
19306
|
onFocus: handleFocus
|
|
18956
19307
|
}, props));
|
|
18957
19308
|
}
|
|
@@ -19008,13 +19359,6 @@ function AddressCreateCity(props) {
|
|
|
19008
19359
|
}
|
|
19009
19360
|
} = React.useContext(store$e);
|
|
19010
19361
|
|
|
19011
|
-
const handleBlur = () => {
|
|
19012
|
-
return dispatch({
|
|
19013
|
-
type: VALIDATE_FIELD,
|
|
19014
|
-
payload: "city"
|
|
19015
|
-
});
|
|
19016
|
-
};
|
|
19017
|
-
|
|
19018
19362
|
const handleInputChange = value => {
|
|
19019
19363
|
dispatch({
|
|
19020
19364
|
type: SET_TEXT_FIELD,
|
|
@@ -19037,7 +19381,6 @@ function AddressCreateCity(props) {
|
|
|
19037
19381
|
value: city,
|
|
19038
19382
|
error: cityError,
|
|
19039
19383
|
onChange: e => handleInputChange(e.target.value),
|
|
19040
|
-
onBlur: handleBlur,
|
|
19041
19384
|
onFocus: handleFocus
|
|
19042
19385
|
}, props));
|
|
19043
19386
|
}
|
|
@@ -19051,13 +19394,6 @@ function AddressCreatePostalCode(props) {
|
|
|
19051
19394
|
}
|
|
19052
19395
|
} = React.useContext(store$e);
|
|
19053
19396
|
|
|
19054
|
-
const handleBlur = () => {
|
|
19055
|
-
return dispatch({
|
|
19056
|
-
type: VALIDATE_FIELD,
|
|
19057
|
-
payload: "postalCode"
|
|
19058
|
-
});
|
|
19059
|
-
};
|
|
19060
|
-
|
|
19061
19397
|
const handleInputChange = value => {
|
|
19062
19398
|
dispatch({
|
|
19063
19399
|
type: SET_TEXT_FIELD,
|
|
@@ -19080,7 +19416,6 @@ function AddressCreatePostalCode(props) {
|
|
|
19080
19416
|
value: postalCode,
|
|
19081
19417
|
error: postalCodeError,
|
|
19082
19418
|
onChange: e => handleInputChange(e.target.value),
|
|
19083
|
-
onBlur: handleBlur,
|
|
19084
19419
|
onFocus: handleFocus
|
|
19085
19420
|
}, props));
|
|
19086
19421
|
}
|
|
@@ -19262,10 +19597,12 @@ function StateSelect({
|
|
|
19262
19597
|
};
|
|
19263
19598
|
|
|
19264
19599
|
const handleBlur = () => {
|
|
19265
|
-
|
|
19266
|
-
|
|
19267
|
-
|
|
19268
|
-
|
|
19600
|
+
if (otherProps.required) {
|
|
19601
|
+
return dispatch({
|
|
19602
|
+
type: VALIDATE_FIELD,
|
|
19603
|
+
payload: "state"
|
|
19604
|
+
});
|
|
19605
|
+
}
|
|
19269
19606
|
};
|
|
19270
19607
|
|
|
19271
19608
|
const handleFocus = () => {
|
|
@@ -19288,7 +19625,6 @@ function StateSelect({
|
|
|
19288
19625
|
autoComplete: "address-level1"
|
|
19289
19626
|
}, otherProps), /*#__PURE__*/React__default['default'].createElement("option", {
|
|
19290
19627
|
value: "",
|
|
19291
|
-
disabled: true,
|
|
19292
19628
|
selected: true
|
|
19293
19629
|
}, placeholder), createStateItems());
|
|
19294
19630
|
}
|
|
@@ -19334,13 +19670,11 @@ const AddressCreateView = props => {
|
|
|
19334
19670
|
}, /*#__PURE__*/React__default['default'].createElement(AddressCreateFirstName, {
|
|
19335
19671
|
id: "pelcro-input-first-name",
|
|
19336
19672
|
errorId: "pelcro-input-first-name-error",
|
|
19337
|
-
required: true,
|
|
19338
19673
|
label: t("labels.firstName"),
|
|
19339
19674
|
autoFocus: true
|
|
19340
19675
|
}), /*#__PURE__*/React__default['default'].createElement(AddressCreateLastName, {
|
|
19341
19676
|
id: "pelcro-input-last-name",
|
|
19342
19677
|
errorId: "pelcro-input-last-name-error",
|
|
19343
|
-
required: true,
|
|
19344
19678
|
label: t("labels.lastName")
|
|
19345
19679
|
})), /*#__PURE__*/React__default['default'].createElement("div", {
|
|
19346
19680
|
className: "plc-flex plc-items-start"
|
|
@@ -19354,13 +19688,11 @@ const AddressCreateView = props => {
|
|
|
19354
19688
|
}, /*#__PURE__*/React__default['default'].createElement(AddressCreatePostalCode, {
|
|
19355
19689
|
id: "pelcro-input-postal-code",
|
|
19356
19690
|
errorId: "pelcro-input-postal-code-error",
|
|
19357
|
-
required: true,
|
|
19358
19691
|
label: t("labels.code")
|
|
19359
19692
|
}), /*#__PURE__*/React__default['default'].createElement(AddressCreateCity, {
|
|
19360
19693
|
id: "pelcro-input-city",
|
|
19361
19694
|
errorId: "pelcro-input-city-error",
|
|
19362
|
-
label: t("labels.city")
|
|
19363
|
-
required: true
|
|
19695
|
+
label: t("labels.city")
|
|
19364
19696
|
})), /*#__PURE__*/React__default['default'].createElement("div", {
|
|
19365
19697
|
className: "plc-flex plc-space-x-3 plc-items-start"
|
|
19366
19698
|
}, /*#__PURE__*/React__default['default'].createElement(AddressCreateCountrySelect, {
|
|
@@ -19371,8 +19703,7 @@ const AddressCreateView = props => {
|
|
|
19371
19703
|
}), /*#__PURE__*/React__default['default'].createElement(AddressCreateStateSelect, {
|
|
19372
19704
|
label: t("labels.region"),
|
|
19373
19705
|
id: "pelcro-input-state",
|
|
19374
|
-
errorId: "pelcro-input-state-error"
|
|
19375
|
-
required: true
|
|
19706
|
+
errorId: "pelcro-input-state-error"
|
|
19376
19707
|
})), /*#__PURE__*/React__default['default'].createElement("div", {
|
|
19377
19708
|
className: "plc-flex plc-space-x-3 plc-items-start plc-mb-3"
|
|
19378
19709
|
}, /*#__PURE__*/React__default['default'].createElement(AddressCreateSetDefault, {
|
|
@@ -21823,40 +22154,6 @@ const GiftCreateLastName = props => /*#__PURE__*/React__default['default'].creat
|
|
|
21823
22154
|
store: store$7
|
|
21824
22155
|
}, props));
|
|
21825
22156
|
|
|
21826
|
-
function DatePicker({
|
|
21827
|
-
label = "",
|
|
21828
|
-
tooltipText,
|
|
21829
|
-
required,
|
|
21830
|
-
id,
|
|
21831
|
-
errorId,
|
|
21832
|
-
error,
|
|
21833
|
-
className = "",
|
|
21834
|
-
labelClassName = "",
|
|
21835
|
-
errorClassName = "",
|
|
21836
|
-
wrapperClassName = "",
|
|
21837
|
-
...otherProps
|
|
21838
|
-
}) {
|
|
21839
|
-
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
21840
|
-
className: `pelcro-input-wrapper ${wrapperClassName}`
|
|
21841
|
-
}, /*#__PURE__*/React__default['default'].createElement("label", {
|
|
21842
|
-
htmlFor: id,
|
|
21843
|
-
className: `pelcro-input-label plc-flex plc-items-center ${labelClassName}`
|
|
21844
|
-
}, `${label}${required ? "*" : ""}`, tooltipText && /*#__PURE__*/React__default['default'].createElement(Tooltip, {
|
|
21845
|
-
value: tooltipText,
|
|
21846
|
-
className: "plc-ml-1"
|
|
21847
|
-
})), /*#__PURE__*/React__default['default'].createElement("input", Object.assign({
|
|
21848
|
-
type: "date",
|
|
21849
|
-
id: id,
|
|
21850
|
-
className: `pelcro-input-field ${className} ${error ? "pelcro-input-invalid" : ""}`,
|
|
21851
|
-
"aria-describedby": errorId,
|
|
21852
|
-
"aria-invalid": Boolean(error)
|
|
21853
|
-
}, otherProps)), error && /*#__PURE__*/React__default['default'].createElement("p", {
|
|
21854
|
-
id: errorId,
|
|
21855
|
-
"aria-live": "assertive",
|
|
21856
|
-
className: `pelcro-input-error ${errorClassName}`
|
|
21857
|
-
}, error));
|
|
21858
|
-
}
|
|
21859
|
-
|
|
21860
22157
|
const nowDate = new Date();
|
|
21861
22158
|
const nowDateISO = nowDate.toISOString().substr(0, 10);
|
|
21862
22159
|
const yearFromNowDateISO = new Date(new Date().setFullYear(nowDate.getFullYear() + 1)).toISOString().substr(0, 10);
|
|
@@ -22827,8 +23124,8 @@ const PaymentMethodSelectModal = ({
|
|
|
22827
23124
|
};
|
|
22828
23125
|
PaymentMethodSelectModal.viewId = "payment-method-select";
|
|
22829
23126
|
|
|
22830
|
-
function _extends$
|
|
22831
|
-
_extends$
|
|
23127
|
+
function _extends$i() {
|
|
23128
|
+
_extends$i = Object.assign || function (target) {
|
|
22832
23129
|
for (var i = 1; i < arguments.length; i++) {
|
|
22833
23130
|
var source = arguments[i];
|
|
22834
23131
|
|
|
@@ -22842,7 +23139,7 @@ function _extends$h() {
|
|
|
22842
23139
|
return target;
|
|
22843
23140
|
};
|
|
22844
23141
|
|
|
22845
|
-
return _extends$
|
|
23142
|
+
return _extends$i.apply(this, arguments);
|
|
22846
23143
|
}
|
|
22847
23144
|
|
|
22848
23145
|
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
@@ -23026,7 +23323,7 @@ function render(props, propsBag, defaultTag, features, visible) {
|
|
|
23026
23323
|
return match(strategy, (_match = {}, _match[RenderStrategy.Unmount] = function () {
|
|
23027
23324
|
return null;
|
|
23028
23325
|
}, _match[RenderStrategy.Hidden] = function () {
|
|
23029
|
-
return _render(_extends$
|
|
23326
|
+
return _render(_extends$i({}, _rest, {
|
|
23030
23327
|
hidden: true,
|
|
23031
23328
|
style: {
|
|
23032
23329
|
display: 'none'
|
|
@@ -23554,7 +23851,7 @@ function TransitionChild(props) {
|
|
|
23554
23851
|
var passthroughProps = rest;
|
|
23555
23852
|
return React__default['default'].createElement(NestingContext.Provider, {
|
|
23556
23853
|
value: nesting
|
|
23557
|
-
}, render(_extends$
|
|
23854
|
+
}, render(_extends$i({}, passthroughProps, propsWeControl), propsBag, DEFAULT_TRANSITION_CHILD_TAG, TransitionChildRenderFeatures, state === TreeStates.Visible));
|
|
23558
23855
|
}
|
|
23559
23856
|
|
|
23560
23857
|
function Transition(props) {
|
|
@@ -23598,7 +23895,7 @@ function Transition(props) {
|
|
|
23598
23895
|
value: nestingBag
|
|
23599
23896
|
}, React__default['default'].createElement(TransitionContext.Provider, {
|
|
23600
23897
|
value: transitionBag
|
|
23601
|
-
}, render(_extends$
|
|
23898
|
+
}, render(_extends$i({}, sharedProps, {
|
|
23602
23899
|
as: React.Fragment,
|
|
23603
23900
|
children: React__default['default'].createElement(TransitionChild, Object.assign({}, sharedProps, passthroughProps))
|
|
23604
23901
|
}), propsBag, React.Fragment, TransitionChildRenderFeatures, state === TreeStates.Visible)));
|
|
@@ -23725,12 +24022,12 @@ var ActionTypes;
|
|
|
23725
24022
|
})(ActionTypes || (ActionTypes = {}));
|
|
23726
24023
|
|
|
23727
24024
|
(_reducers = {}, _reducers[ActionTypes.CloseMenu] = function (state) {
|
|
23728
|
-
return _extends$
|
|
24025
|
+
return _extends$i({}, state, {
|
|
23729
24026
|
activeItemIndex: null,
|
|
23730
24027
|
menuState: MenuStates.Closed
|
|
23731
24028
|
});
|
|
23732
24029
|
}, _reducers[ActionTypes.OpenMenu] = function (state) {
|
|
23733
|
-
return _extends$
|
|
24030
|
+
return _extends$i({}, state, {
|
|
23734
24031
|
menuState: MenuStates.Open
|
|
23735
24032
|
});
|
|
23736
24033
|
}, _reducers[ActionTypes.GoToItem] = function (state, action) {
|
|
@@ -23749,7 +24046,7 @@ var ActionTypes;
|
|
|
23749
24046
|
}
|
|
23750
24047
|
});
|
|
23751
24048
|
if (state.searchQuery === '' && state.activeItemIndex === activeItemIndex) return state;
|
|
23752
|
-
return _extends$
|
|
24049
|
+
return _extends$i({}, state, {
|
|
23753
24050
|
searchQuery: '',
|
|
23754
24051
|
activeItemIndex: activeItemIndex
|
|
23755
24052
|
});
|
|
@@ -23760,19 +24057,19 @@ var ActionTypes;
|
|
|
23760
24057
|
|
|
23761
24058
|
return ((_item$dataRef$current = item.dataRef.current.textValue) == null ? void 0 : _item$dataRef$current.startsWith(searchQuery)) && !item.dataRef.current.disabled;
|
|
23762
24059
|
});
|
|
23763
|
-
if (match === -1 || match === state.activeItemIndex) return _extends$
|
|
24060
|
+
if (match === -1 || match === state.activeItemIndex) return _extends$i({}, state, {
|
|
23764
24061
|
searchQuery: searchQuery
|
|
23765
24062
|
});
|
|
23766
|
-
return _extends$
|
|
24063
|
+
return _extends$i({}, state, {
|
|
23767
24064
|
searchQuery: searchQuery,
|
|
23768
24065
|
activeItemIndex: match
|
|
23769
24066
|
});
|
|
23770
24067
|
}, _reducers[ActionTypes.ClearSearch] = function (state) {
|
|
23771
|
-
return _extends$
|
|
24068
|
+
return _extends$i({}, state, {
|
|
23772
24069
|
searchQuery: ''
|
|
23773
24070
|
});
|
|
23774
24071
|
}, _reducers[ActionTypes.RegisterItem] = function (state, action) {
|
|
23775
|
-
return _extends$
|
|
24072
|
+
return _extends$i({}, state, {
|
|
23776
24073
|
items: [].concat(state.items, [{
|
|
23777
24074
|
id: action.id,
|
|
23778
24075
|
dataRef: action.dataRef
|
|
@@ -23785,7 +24082,7 @@ var ActionTypes;
|
|
|
23785
24082
|
return a.id === action.id;
|
|
23786
24083
|
});
|
|
23787
24084
|
if (idx !== -1) nextItems.splice(idx, 1);
|
|
23788
|
-
return _extends$
|
|
24085
|
+
return _extends$i({}, state, {
|
|
23789
24086
|
items: nextItems,
|
|
23790
24087
|
activeItemIndex: function () {
|
|
23791
24088
|
if (idx === state.activeItemIndex) return null;
|
|
@@ -23824,19 +24121,19 @@ var ActionTypes$1;
|
|
|
23824
24121
|
(_reducers$1 = {}, _reducers$1[ActionTypes$1.CloseListbox] = function (state) {
|
|
23825
24122
|
if (state.disabled) return state;
|
|
23826
24123
|
if (state.listboxState === ListboxStates.Closed) return state;
|
|
23827
|
-
return _extends$
|
|
24124
|
+
return _extends$i({}, state, {
|
|
23828
24125
|
activeOptionIndex: null,
|
|
23829
24126
|
listboxState: ListboxStates.Closed
|
|
23830
24127
|
});
|
|
23831
24128
|
}, _reducers$1[ActionTypes$1.OpenListbox] = function (state) {
|
|
23832
24129
|
if (state.disabled) return state;
|
|
23833
24130
|
if (state.listboxState === ListboxStates.Open) return state;
|
|
23834
|
-
return _extends$
|
|
24131
|
+
return _extends$i({}, state, {
|
|
23835
24132
|
listboxState: ListboxStates.Open
|
|
23836
24133
|
});
|
|
23837
24134
|
}, _reducers$1[ActionTypes$1.SetDisabled] = function (state, action) {
|
|
23838
24135
|
if (state.disabled === action.disabled) return state;
|
|
23839
|
-
return _extends$
|
|
24136
|
+
return _extends$i({}, state, {
|
|
23840
24137
|
disabled: action.disabled
|
|
23841
24138
|
});
|
|
23842
24139
|
}, _reducers$1[ActionTypes$1.GoToOption] = function (state, action) {
|
|
@@ -23857,7 +24154,7 @@ var ActionTypes$1;
|
|
|
23857
24154
|
}
|
|
23858
24155
|
});
|
|
23859
24156
|
if (state.searchQuery === '' && state.activeOptionIndex === activeOptionIndex) return state;
|
|
23860
|
-
return _extends$
|
|
24157
|
+
return _extends$i({}, state, {
|
|
23861
24158
|
searchQuery: '',
|
|
23862
24159
|
activeOptionIndex: activeOptionIndex
|
|
23863
24160
|
});
|
|
@@ -23870,10 +24167,10 @@ var ActionTypes$1;
|
|
|
23870
24167
|
|
|
23871
24168
|
return !option.dataRef.current.disabled && ((_option$dataRef$curre = option.dataRef.current.textValue) == null ? void 0 : _option$dataRef$curre.startsWith(searchQuery));
|
|
23872
24169
|
});
|
|
23873
|
-
if (match === -1 || match === state.activeOptionIndex) return _extends$
|
|
24170
|
+
if (match === -1 || match === state.activeOptionIndex) return _extends$i({}, state, {
|
|
23874
24171
|
searchQuery: searchQuery
|
|
23875
24172
|
});
|
|
23876
|
-
return _extends$
|
|
24173
|
+
return _extends$i({}, state, {
|
|
23877
24174
|
searchQuery: searchQuery,
|
|
23878
24175
|
activeOptionIndex: match
|
|
23879
24176
|
});
|
|
@@ -23881,11 +24178,11 @@ var ActionTypes$1;
|
|
|
23881
24178
|
if (state.disabled) return state;
|
|
23882
24179
|
if (state.listboxState === ListboxStates.Closed) return state;
|
|
23883
24180
|
if (state.searchQuery === '') return state;
|
|
23884
|
-
return _extends$
|
|
24181
|
+
return _extends$i({}, state, {
|
|
23885
24182
|
searchQuery: ''
|
|
23886
24183
|
});
|
|
23887
24184
|
}, _reducers$1[ActionTypes$1.RegisterOption] = function (state, action) {
|
|
23888
|
-
return _extends$
|
|
24185
|
+
return _extends$i({}, state, {
|
|
23889
24186
|
options: [].concat(state.options, [{
|
|
23890
24187
|
id: action.id,
|
|
23891
24188
|
dataRef: action.dataRef
|
|
@@ -23898,7 +24195,7 @@ var ActionTypes$1;
|
|
|
23898
24195
|
return a.id === action.id;
|
|
23899
24196
|
});
|
|
23900
24197
|
if (idx !== -1) nextOptions.splice(idx, 1);
|
|
23901
|
-
return _extends$
|
|
24198
|
+
return _extends$i({}, state, {
|
|
23902
24199
|
options: nextOptions,
|
|
23903
24200
|
activeOptionIndex: function () {
|
|
23904
24201
|
if (idx === state.activeOptionIndex) return null;
|
|
@@ -23959,18 +24256,18 @@ const getPaymentCardIcon = name => {
|
|
|
23959
24256
|
}));
|
|
23960
24257
|
};
|
|
23961
24258
|
|
|
23962
|
-
var _path$
|
|
24259
|
+
var _path$h;
|
|
23963
24260
|
|
|
23964
|
-
function _extends$
|
|
24261
|
+
function _extends$h() { _extends$h = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$h.apply(this, arguments); }
|
|
23965
24262
|
|
|
23966
24263
|
function SvgChevronRight(props) {
|
|
23967
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
24264
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$h({
|
|
23968
24265
|
className: "plc-w-6 plc-h-6",
|
|
23969
24266
|
xmlns: "http://www.w3.org/2000/svg",
|
|
23970
24267
|
fill: "none",
|
|
23971
24268
|
viewBox: "0 0 24 24",
|
|
23972
24269
|
stroke: "currentColor"
|
|
23973
|
-
}, props), _path$
|
|
24270
|
+
}, props), _path$h || (_path$h = /*#__PURE__*/React__namespace.createElement("path", {
|
|
23974
24271
|
strokeLinecap: "round",
|
|
23975
24272
|
strokeLinejoin: "round",
|
|
23976
24273
|
strokeWidth: 2,
|
|
@@ -24186,18 +24483,18 @@ const SavedItems = ({
|
|
|
24186
24483
|
});
|
|
24187
24484
|
};
|
|
24188
24485
|
|
|
24189
|
-
var _path$
|
|
24486
|
+
var _path$g;
|
|
24190
24487
|
|
|
24191
|
-
function _extends$
|
|
24488
|
+
function _extends$g() { _extends$g = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$g.apply(this, arguments); }
|
|
24192
24489
|
|
|
24193
24490
|
function SvgRefresh(props) {
|
|
24194
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
24491
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$g({
|
|
24195
24492
|
className: "plc-w-4 plc-h-4 plc-mr-1",
|
|
24196
24493
|
xmlns: "http://www.w3.org/2000/svg",
|
|
24197
24494
|
fill: "none",
|
|
24198
24495
|
viewBox: "0 0 24 24",
|
|
24199
24496
|
stroke: "currentColor"
|
|
24200
|
-
}, props), _path$
|
|
24497
|
+
}, props), _path$g || (_path$g = /*#__PURE__*/React__namespace.createElement("path", {
|
|
24201
24498
|
strokeLinecap: "round",
|
|
24202
24499
|
strokeLinejoin: "round",
|
|
24203
24500
|
strokeWidth: 2,
|
|
@@ -24205,35 +24502,35 @@ function SvgRefresh(props) {
|
|
|
24205
24502
|
})));
|
|
24206
24503
|
}
|
|
24207
24504
|
|
|
24208
|
-
var _path$
|
|
24505
|
+
var _path$f;
|
|
24209
24506
|
|
|
24210
|
-
function _extends$
|
|
24507
|
+
function _extends$f() { _extends$f = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$f.apply(this, arguments); }
|
|
24211
24508
|
|
|
24212
24509
|
function SvgCalendar(props) {
|
|
24213
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
24510
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$f({
|
|
24214
24511
|
xmlns: "http://www.w3.org/2000/svg",
|
|
24215
24512
|
className: "plc-h-4 plc-w-4 plc-mr-1",
|
|
24216
24513
|
viewBox: "0 0 20 20",
|
|
24217
24514
|
fill: "currentColor"
|
|
24218
|
-
}, props), _path$
|
|
24515
|
+
}, props), _path$f || (_path$f = /*#__PURE__*/React__namespace.createElement("path", {
|
|
24219
24516
|
fillRule: "evenodd",
|
|
24220
24517
|
d: "M6 2a1 1 0 00-1 1v1H4a2 2 0 00-2 2v10a2 2 0 002 2h12a2 2 0 002-2V6a2 2 0 00-2-2h-1V3a1 1 0 10-2 0v1H7V3a1 1 0 00-1-1zm0 5a1 1 0 000 2h8a1 1 0 100-2H6z",
|
|
24221
24518
|
clipRule: "evenodd"
|
|
24222
24519
|
})));
|
|
24223
24520
|
}
|
|
24224
24521
|
|
|
24225
|
-
var _path$
|
|
24522
|
+
var _path$e;
|
|
24226
24523
|
|
|
24227
|
-
function _extends$
|
|
24524
|
+
function _extends$e() { _extends$e = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$e.apply(this, arguments); }
|
|
24228
24525
|
|
|
24229
24526
|
function SvgPlus(props) {
|
|
24230
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
24527
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$e({
|
|
24231
24528
|
className: "plc-w-5 plc-h-5",
|
|
24232
24529
|
xmlns: "http://www.w3.org/2000/svg",
|
|
24233
24530
|
fill: "none",
|
|
24234
24531
|
viewBox: "0 0 24 24",
|
|
24235
24532
|
stroke: "currentColor"
|
|
24236
|
-
}, props), _path$
|
|
24533
|
+
}, props), _path$e || (_path$e = /*#__PURE__*/React__namespace.createElement("path", {
|
|
24237
24534
|
strokeLinecap: "round",
|
|
24238
24535
|
strokeLinejoin: "round",
|
|
24239
24536
|
strokeWidth: 2,
|
|
@@ -24241,17 +24538,17 @@ function SvgPlus(props) {
|
|
|
24241
24538
|
})));
|
|
24242
24539
|
}
|
|
24243
24540
|
|
|
24244
|
-
var _path$
|
|
24541
|
+
var _path$d;
|
|
24245
24542
|
|
|
24246
|
-
function _extends$
|
|
24543
|
+
function _extends$d() { _extends$d = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$d.apply(this, arguments); }
|
|
24247
24544
|
|
|
24248
24545
|
function SvgCheckMark(props) {
|
|
24249
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
24546
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$d({
|
|
24250
24547
|
className: "plc-w-4 plc-h-4 plc-mr-1",
|
|
24251
24548
|
xmlns: "http://www.w3.org/2000/svg",
|
|
24252
24549
|
viewBox: "0 0 20 20",
|
|
24253
24550
|
fill: "currentColor"
|
|
24254
|
-
}, props), _path$
|
|
24551
|
+
}, props), _path$d || (_path$d = /*#__PURE__*/React__namespace.createElement("path", {
|
|
24255
24552
|
fillRule: "evenodd",
|
|
24256
24553
|
d: "M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",
|
|
24257
24554
|
clipRule: "evenodd"
|
|
@@ -24301,6 +24598,7 @@ const SubscriptionsMenu = props => {
|
|
|
24301
24598
|
const SubscriptionsItems = ({
|
|
24302
24599
|
onClose,
|
|
24303
24600
|
cancelSubscription,
|
|
24601
|
+
unSuspendSubscription,
|
|
24304
24602
|
reactivateSubscription,
|
|
24305
24603
|
setProductAndPlan,
|
|
24306
24604
|
setSubscriptionIdToRenew,
|
|
@@ -24316,6 +24614,7 @@ const SubscriptionsItems = ({
|
|
|
24316
24614
|
const {
|
|
24317
24615
|
switchView,
|
|
24318
24616
|
setSubscriptionToCancel,
|
|
24617
|
+
setSubscriptionToSuspend,
|
|
24319
24618
|
isAuthenticated
|
|
24320
24619
|
} = usePelcro();
|
|
24321
24620
|
const subs = getNonDonationSubs();
|
|
@@ -24366,6 +24665,35 @@ const SubscriptionsItems = ({
|
|
|
24366
24665
|
setProductAndPlan(product, plan);
|
|
24367
24666
|
setSubscriptionIdToRenew(sub.id);
|
|
24368
24667
|
setView("plan-select");
|
|
24668
|
+
}; // Suspend click
|
|
24669
|
+
|
|
24670
|
+
|
|
24671
|
+
const onSuspendClick = () => {
|
|
24672
|
+
if (userMustVerifyEmail()) {
|
|
24673
|
+
return switchView("email-verify");
|
|
24674
|
+
}
|
|
24675
|
+
|
|
24676
|
+
setSubscriptionToSuspend(sub.id);
|
|
24677
|
+
return setView("subscription-suspend");
|
|
24678
|
+
}; // UnSuspend click
|
|
24679
|
+
|
|
24680
|
+
|
|
24681
|
+
const onUnSuspendClick = () => {
|
|
24682
|
+
if (userMustVerifyEmail()) {
|
|
24683
|
+
return switchView("email-verify");
|
|
24684
|
+
}
|
|
24685
|
+
|
|
24686
|
+
onClose === null || onClose === void 0 ? void 0 : onClose();
|
|
24687
|
+
notify.confirm((onSuccess, onFailure) => {
|
|
24688
|
+
unSuspendSubscription(sub.id, onSuccess, onFailure);
|
|
24689
|
+
}, {
|
|
24690
|
+
confirmMessage: t("messages.subUnSuspend.isSureToUnSuspend"),
|
|
24691
|
+
loadingMessage: t("messages.subUnSuspend.loading"),
|
|
24692
|
+
successMessage: t("messages.subUnSuspend.success"),
|
|
24693
|
+
errorMessage: t("messages.subUnSuspend.error")
|
|
24694
|
+
}, {
|
|
24695
|
+
closeButtonLabel: t("labels.subCancellation.goBack")
|
|
24696
|
+
});
|
|
24369
24697
|
};
|
|
24370
24698
|
|
|
24371
24699
|
const getPhases = () => {
|
|
@@ -24419,7 +24747,21 @@ const SubscriptionsItems = ({
|
|
|
24419
24747
|
onClick: onRenewClick,
|
|
24420
24748
|
disabled: disableSubmit,
|
|
24421
24749
|
"data-key": sub.id
|
|
24422
|
-
}, t("labels.renew")),
|
|
24750
|
+
}, t("labels.renew")), sub.shipments_suspended_until && sub.shipments_remaining > 0 && /*#__PURE__*/React__default['default'].createElement(Button, {
|
|
24751
|
+
variant: "ghost",
|
|
24752
|
+
className: "plc-text-blue-400 pelcro-dashboard-sub-suspend-button",
|
|
24753
|
+
icon: /*#__PURE__*/React__default['default'].createElement(SvgXIconSolid, null),
|
|
24754
|
+
onClick: onUnSuspendClick,
|
|
24755
|
+
disabled: disableSubmit,
|
|
24756
|
+
"data-key": sub.id
|
|
24757
|
+
}, t("labels.unsuspend")), !sub.shipments_suspended_until && sub.shipments_remaining > 0 && /*#__PURE__*/React__default['default'].createElement(Button, {
|
|
24758
|
+
variant: "ghost",
|
|
24759
|
+
className: "plc-text-red-500 focus:plc-ring-red-500 pelcro-dashboard-sub-suspend-button",
|
|
24760
|
+
icon: /*#__PURE__*/React__default['default'].createElement(SvgCalendar, null),
|
|
24761
|
+
onClick: onSuspendClick,
|
|
24762
|
+
disabled: disableSubmit,
|
|
24763
|
+
"data-key": sub.id
|
|
24764
|
+
}, t("labels.suspend")), !sub.plan.auto_renew || sub.plan.auto_renew && sub.cancel_at_period_end === 0 ? /*#__PURE__*/React__default['default'].createElement(Button, {
|
|
24423
24765
|
variant: "ghost",
|
|
24424
24766
|
className: "plc-text-red-500 focus:plc-ring-red-500 pelcro-dashboard-sub-cancel-button",
|
|
24425
24767
|
icon: /*#__PURE__*/React__default['default'].createElement(SvgXIconSolid, null),
|
|
@@ -24554,18 +24896,18 @@ Accordion.item = function AccordionItem({
|
|
|
24554
24896
|
}, content)) : null;
|
|
24555
24897
|
};
|
|
24556
24898
|
|
|
24557
|
-
var _path$
|
|
24899
|
+
var _path$c;
|
|
24558
24900
|
|
|
24559
|
-
function _extends$
|
|
24901
|
+
function _extends$c() { _extends$c = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$c.apply(this, arguments); }
|
|
24560
24902
|
|
|
24561
24903
|
function SvgExit(props) {
|
|
24562
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
24904
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$c({
|
|
24563
24905
|
className: "plc-w-6 plc-h-6",
|
|
24564
24906
|
xmlns: "http://www.w3.org/2000/svg",
|
|
24565
24907
|
fill: "none",
|
|
24566
24908
|
viewBox: "0 0 24 24",
|
|
24567
24909
|
stroke: "currentColor"
|
|
24568
|
-
}, props), _path$
|
|
24910
|
+
}, props), _path$c || (_path$c = /*#__PURE__*/React__namespace.createElement("path", {
|
|
24569
24911
|
strokeLinecap: "round",
|
|
24570
24912
|
strokeLinejoin: "round",
|
|
24571
24913
|
strokeWidth: 2,
|
|
@@ -24573,17 +24915,17 @@ function SvgExit(props) {
|
|
|
24573
24915
|
})));
|
|
24574
24916
|
}
|
|
24575
24917
|
|
|
24576
|
-
var _path$
|
|
24918
|
+
var _path$b;
|
|
24577
24919
|
|
|
24578
|
-
function _extends$
|
|
24920
|
+
function _extends$b() { _extends$b = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$b.apply(this, arguments); }
|
|
24579
24921
|
|
|
24580
24922
|
function SvgUser(props) {
|
|
24581
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
24923
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$b({
|
|
24582
24924
|
xmlns: "http://www.w3.org/2000/svg",
|
|
24583
24925
|
fill: "none",
|
|
24584
24926
|
viewBox: "0 0 24 24",
|
|
24585
24927
|
stroke: "currentColor"
|
|
24586
|
-
}, props), _path$
|
|
24928
|
+
}, props), _path$b || (_path$b = /*#__PURE__*/React__namespace.createElement("path", {
|
|
24587
24929
|
strokeLinecap: "round",
|
|
24588
24930
|
strokeLinejoin: "round",
|
|
24589
24931
|
strokeWidth: 2,
|
|
@@ -24591,18 +24933,18 @@ function SvgUser(props) {
|
|
|
24591
24933
|
})));
|
|
24592
24934
|
}
|
|
24593
24935
|
|
|
24594
|
-
var _path$
|
|
24936
|
+
var _path$a;
|
|
24595
24937
|
|
|
24596
|
-
function _extends$
|
|
24938
|
+
function _extends$a() { _extends$a = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$a.apply(this, arguments); }
|
|
24597
24939
|
|
|
24598
24940
|
function SvgNewsletter(props) {
|
|
24599
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
24941
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$a({
|
|
24600
24942
|
xmlns: "http://www.w3.org/2000/svg",
|
|
24601
24943
|
className: "plc-h-5 plc-w-5",
|
|
24602
24944
|
fill: "none",
|
|
24603
24945
|
viewBox: "0 0 24 24",
|
|
24604
24946
|
stroke: "currentColor"
|
|
24605
|
-
}, props), _path$
|
|
24947
|
+
}, props), _path$a || (_path$a = /*#__PURE__*/React__namespace.createElement("path", {
|
|
24606
24948
|
strokeLinecap: "round",
|
|
24607
24949
|
strokeLinejoin: "round",
|
|
24608
24950
|
strokeWidth: 2,
|
|
@@ -24610,18 +24952,18 @@ function SvgNewsletter(props) {
|
|
|
24610
24952
|
})));
|
|
24611
24953
|
}
|
|
24612
24954
|
|
|
24613
|
-
var _path$
|
|
24955
|
+
var _path$9;
|
|
24614
24956
|
|
|
24615
|
-
function _extends$
|
|
24957
|
+
function _extends$9() { _extends$9 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$9.apply(this, arguments); }
|
|
24616
24958
|
|
|
24617
24959
|
function SvgDocument(props) {
|
|
24618
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
24960
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$9({
|
|
24619
24961
|
xmlns: "http://www.w3.org/2000/svg",
|
|
24620
24962
|
className: "plc-h-6 plc-w-6 plc-mr-2",
|
|
24621
24963
|
fill: "none",
|
|
24622
24964
|
viewBox: "0 0 24 24",
|
|
24623
24965
|
stroke: "currentColor"
|
|
24624
|
-
}, props), _path$
|
|
24966
|
+
}, props), _path$9 || (_path$9 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
24625
24967
|
strokeLinecap: "round",
|
|
24626
24968
|
strokeLinejoin: "round",
|
|
24627
24969
|
strokeWidth: 2,
|
|
@@ -24629,18 +24971,18 @@ function SvgDocument(props) {
|
|
|
24629
24971
|
})));
|
|
24630
24972
|
}
|
|
24631
24973
|
|
|
24632
|
-
var _path$
|
|
24974
|
+
var _path$8;
|
|
24633
24975
|
|
|
24634
|
-
function _extends$
|
|
24976
|
+
function _extends$8() { _extends$8 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$8.apply(this, arguments); }
|
|
24635
24977
|
|
|
24636
24978
|
function SvgPaymentCard(props) {
|
|
24637
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
24979
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$8({
|
|
24638
24980
|
className: "plc-w-6 plc-h-6 plc-mr-2",
|
|
24639
24981
|
xmlns: "http://www.w3.org/2000/svg",
|
|
24640
24982
|
fill: "none",
|
|
24641
24983
|
viewBox: "0 0 24 24",
|
|
24642
24984
|
stroke: "currentColor"
|
|
24643
|
-
}, props), _path$
|
|
24985
|
+
}, props), _path$8 || (_path$8 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
24644
24986
|
strokeLinecap: "round",
|
|
24645
24987
|
strokeLinejoin: "round",
|
|
24646
24988
|
strokeWidth: 2,
|
|
@@ -24648,18 +24990,18 @@ function SvgPaymentCard(props) {
|
|
|
24648
24990
|
})));
|
|
24649
24991
|
}
|
|
24650
24992
|
|
|
24651
|
-
var _path$
|
|
24993
|
+
var _path$7, _path2;
|
|
24652
24994
|
|
|
24653
|
-
function _extends$
|
|
24995
|
+
function _extends$7() { _extends$7 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$7.apply(this, arguments); }
|
|
24654
24996
|
|
|
24655
24997
|
function SvgLocationPin(props) {
|
|
24656
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
24998
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$7({
|
|
24657
24999
|
className: "plc-w-6 plc-h-6 plc-mr-2",
|
|
24658
25000
|
xmlns: "http://www.w3.org/2000/svg",
|
|
24659
25001
|
fill: "none",
|
|
24660
25002
|
viewBox: "0 0 24 24",
|
|
24661
25003
|
stroke: "currentColor"
|
|
24662
|
-
}, props), _path$
|
|
25004
|
+
}, props), _path$7 || (_path$7 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
24663
25005
|
strokeLinecap: "round",
|
|
24664
25006
|
strokeLinejoin: "round",
|
|
24665
25007
|
strokeWidth: 2,
|
|
@@ -24672,18 +25014,18 @@ function SvgLocationPin(props) {
|
|
|
24672
25014
|
})));
|
|
24673
25015
|
}
|
|
24674
25016
|
|
|
24675
|
-
var _path$
|
|
25017
|
+
var _path$6;
|
|
24676
25018
|
|
|
24677
|
-
function _extends$
|
|
25019
|
+
function _extends$6() { _extends$6 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$6.apply(this, arguments); }
|
|
24678
25020
|
|
|
24679
25021
|
function SvgShopping(props) {
|
|
24680
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
25022
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$6({
|
|
24681
25023
|
className: "plc-w-6 plc-h-6 plc-mr-2",
|
|
24682
25024
|
xmlns: "http://www.w3.org/2000/svg",
|
|
24683
25025
|
fill: "none",
|
|
24684
25026
|
viewBox: "0 0 24 24",
|
|
24685
25027
|
stroke: "currentColor"
|
|
24686
|
-
}, props), _path$
|
|
25028
|
+
}, props), _path$6 || (_path$6 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
24687
25029
|
strokeLinecap: "round",
|
|
24688
25030
|
strokeLinejoin: "round",
|
|
24689
25031
|
strokeWidth: 2,
|
|
@@ -24691,18 +25033,18 @@ function SvgShopping(props) {
|
|
|
24691
25033
|
})));
|
|
24692
25034
|
}
|
|
24693
25035
|
|
|
24694
|
-
var _path$
|
|
25036
|
+
var _path$5;
|
|
24695
25037
|
|
|
24696
|
-
function _extends$
|
|
25038
|
+
function _extends$5() { _extends$5 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$5.apply(this, arguments); }
|
|
24697
25039
|
|
|
24698
25040
|
function SvgBookmark(props) {
|
|
24699
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
25041
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$5({
|
|
24700
25042
|
className: "plc-w-6 plc-h-6 plc-mr-2",
|
|
24701
25043
|
xmlns: "http://www.w3.org/2000/svg",
|
|
24702
25044
|
fill: "none",
|
|
24703
25045
|
viewBox: "0 0 24 24",
|
|
24704
25046
|
stroke: "currentColor"
|
|
24705
|
-
}, props), _path$
|
|
25047
|
+
}, props), _path$5 || (_path$5 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
24706
25048
|
strokeLinecap: "round",
|
|
24707
25049
|
strokeLinejoin: "round",
|
|
24708
25050
|
strokeWidth: 2,
|
|
@@ -24710,37 +25052,56 @@ function SvgBookmark(props) {
|
|
|
24710
25052
|
})));
|
|
24711
25053
|
}
|
|
24712
25054
|
|
|
24713
|
-
var _path$
|
|
25055
|
+
var _path$4;
|
|
24714
25056
|
|
|
24715
|
-
function _extends$
|
|
25057
|
+
function _extends$4() { _extends$4 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$4.apply(this, arguments); }
|
|
24716
25058
|
|
|
24717
25059
|
function SvgKey(props) {
|
|
24718
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
25060
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$4({
|
|
24719
25061
|
xmlns: "http://www.w3.org/2000/svg",
|
|
24720
25062
|
viewBox: "0 0 20 20",
|
|
24721
25063
|
fill: "currentColor"
|
|
24722
|
-
}, props), _path$
|
|
25064
|
+
}, props), _path$4 || (_path$4 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
24723
25065
|
fillRule: "evenodd",
|
|
24724
25066
|
d: "M18 8a6 6 0 01-7.743 5.743L10 14l-1 1-1 1H6v2H2v-4l4.257-4.257A6 6 0 1118 8zm-6-4a1 1 0 100 2 2 2 0 012 2 1 1 0 102 0 4 4 0 00-4-4z",
|
|
24725
25067
|
clipRule: "evenodd"
|
|
24726
25068
|
})));
|
|
24727
25069
|
}
|
|
24728
25070
|
|
|
24729
|
-
var _path$
|
|
25071
|
+
var _path$3;
|
|
24730
25072
|
|
|
24731
|
-
function _extends$
|
|
25073
|
+
function _extends$3() { _extends$3 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$3.apply(this, arguments); }
|
|
24732
25074
|
|
|
24733
25075
|
function SvgDonate(props) {
|
|
24734
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
25076
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$3({
|
|
24735
25077
|
width: 24,
|
|
24736
25078
|
height: 24,
|
|
24737
25079
|
fill: "currentColor",
|
|
24738
25080
|
xmlns: "http://www.w3.org/2000/svg"
|
|
24739
|
-
}, props), _path$
|
|
25081
|
+
}, props), _path$3 || (_path$3 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
24740
25082
|
d: "M4 21h9.62a3.995 3.995 0 003.037-1.397l5.102-5.952a1 1 0 00-.442-1.6l-1.968-.656a3.043 3.043 0 00-2.823.503l-3.185 2.547-.617-1.235A3.98 3.98 0 009.146 11H4c-1.103 0-2 .897-2 2v6c0 1.103.897 2 2 2zm0-8h5.146c.763 0 1.448.423 1.789 1.105l.447.895H7v2h6.014a.996.996 0 00.442-.11l.003-.001.004-.002h.003l.002-.001h.004l.001-.001c.009.003.003-.001.003-.001.01 0 .002-.001.002-.001h.001l.002-.001.003-.001.002-.001.002-.001.003-.001.002-.001c.003 0 .001-.001.002-.001l.003-.002.002-.001.002-.001.003-.001.002-.001h.001l.002-.001h.001l.002-.001.002-.001c.009-.001.003-.001.003-.001l.002-.001a.915.915 0 00.11-.078l4.146-3.317c.262-.208.623-.273.94-.167l.557.186-4.133 4.823a2.029 2.029 0 01-1.52.688H4v-6zM16 2h-.017c-.163.002-1.006.039-1.983.705-.951-.648-1.774-.7-1.968-.704L12.002 2h-.004c-.801 0-1.555.313-2.119.878C9.313 3.445 9 4.198 9 5s.313 1.555.861 2.104l3.414 3.586a1.006 1.006 0 001.45-.001l3.396-3.568C18.688 6.555 19 5.802 19 5s-.313-1.555-.878-2.121A2.978 2.978 0 0016.002 2H16zm1 3c0 .267-.104.518-.311.725L14 8.55l-2.707-2.843C11.104 5.518 11 5.267 11 5s.104-.518.294-.708A.977.977 0 0111.979 4c.025.001.502.032 1.067.485.081.065.163.139.247.222l.707.707.707-.707c.084-.083.166-.157.247-.222.529-.425.976-.478 1.052-.484a.987.987 0 01.701.292c.189.189.293.44.293.707z"
|
|
24741
25083
|
})));
|
|
24742
25084
|
}
|
|
24743
25085
|
|
|
25086
|
+
var _path$2;
|
|
25087
|
+
|
|
25088
|
+
function _extends$2() { _extends$2 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$2.apply(this, arguments); }
|
|
25089
|
+
|
|
25090
|
+
function SvgMemberships(props) {
|
|
25091
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$2({
|
|
25092
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
25093
|
+
fill: "none",
|
|
25094
|
+
strokeWidth: 1.5,
|
|
25095
|
+
stroke: "currentColor",
|
|
25096
|
+
width: 24,
|
|
25097
|
+
height: 24
|
|
25098
|
+
}, props), _path$2 || (_path$2 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
25099
|
+
strokeLinecap: "round",
|
|
25100
|
+
strokeLinejoin: "round",
|
|
25101
|
+
d: "M15 9h3.75M15 12h3.75M15 15h3.75M4.5 19.5h15a2.25 2.25 0 002.25-2.25V6.75A2.25 2.25 0 0019.5 4.5h-15a2.25 2.25 0 00-2.25 2.25v10.5A2.25 2.25 0 004.5 19.5zm6-10.125a1.875 1.875 0 11-3.75 0 1.875 1.875 0 013.75 0zm1.294 6.336a6.721 6.721 0 01-3.17.789 6.721 6.721 0 01-3.168-.789 3.376 3.376 0 016.338 0z"
|
|
25102
|
+
})));
|
|
25103
|
+
}
|
|
25104
|
+
|
|
24744
25105
|
var _path$1;
|
|
24745
25106
|
|
|
24746
25107
|
function _extends$1() { _extends$1 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1.apply(this, arguments); }
|
|
@@ -24993,7 +25354,7 @@ const MembershipsItems = () => {
|
|
|
24993
25354
|
}),
|
|
24994
25355
|
className: "plc-text-blue-400 focus:plc-ring-blue-500 pelcro-dashboard-membership-address-button",
|
|
24995
25356
|
onClick: () => onChangeAddressClick(membership.id)
|
|
24996
|
-
}, `${t("labels.
|
|
25357
|
+
}, `${t("labels.editAddress")}`))));
|
|
24997
25358
|
});
|
|
24998
25359
|
};
|
|
24999
25360
|
|
|
@@ -25134,6 +25495,27 @@ class Dashboard extends React.Component {
|
|
|
25134
25495
|
});
|
|
25135
25496
|
});
|
|
25136
25497
|
|
|
25498
|
+
_defineProperty$3(this, "unSuspendSubscription", (subscription_id, onSuccess, onFailure) => {
|
|
25499
|
+
window.Pelcro.subscription.update({
|
|
25500
|
+
auth_token: window.Pelcro.user.read().auth_token,
|
|
25501
|
+
subscription_id: subscription_id,
|
|
25502
|
+
suspend: 0
|
|
25503
|
+
}, (err, res) => {
|
|
25504
|
+
var _ReactGA$event3;
|
|
25505
|
+
|
|
25506
|
+
if (err) {
|
|
25507
|
+
return onFailure === null || onFailure === void 0 ? void 0 : onFailure(err);
|
|
25508
|
+
}
|
|
25509
|
+
|
|
25510
|
+
ReactGA === null || ReactGA === void 0 ? void 0 : (_ReactGA$event3 = ReactGA.event) === null || _ReactGA$event3 === void 0 ? void 0 : _ReactGA$event3.call(ReactGA, {
|
|
25511
|
+
category: "ACTIONS",
|
|
25512
|
+
action: "UnSuspended",
|
|
25513
|
+
nonInteraction: true
|
|
25514
|
+
});
|
|
25515
|
+
onSuccess === null || onSuccess === void 0 ? void 0 : onSuccess(res);
|
|
25516
|
+
});
|
|
25517
|
+
});
|
|
25518
|
+
|
|
25137
25519
|
_defineProperty$3(this, "displayRedeem", () => {
|
|
25138
25520
|
return this.props.setView("gift-redeem");
|
|
25139
25521
|
});
|
|
@@ -25354,7 +25736,7 @@ class Dashboard extends React.Component {
|
|
|
25354
25736
|
className: "plc-pr-2 plc-text-gray-400 plc-truncate"
|
|
25355
25737
|
}, /*#__PURE__*/React__default['default'].createElement("span", {
|
|
25356
25738
|
className: "plc-font-semibold plc-text-gray-600"
|
|
25357
|
-
}, address.city, "
|
|
25739
|
+
}, address.city ? `${address.city},` : null, " ", address.country), " ", /*#__PURE__*/React__default['default'].createElement("span", {
|
|
25358
25740
|
title: address.line1
|
|
25359
25741
|
}, address.line1), /*#__PURE__*/React__default['default'].createElement("div", {
|
|
25360
25742
|
className: "plc-flex plc-mb-2 plc-mt-1"
|
|
@@ -25555,6 +25937,7 @@ class Dashboard extends React.Component {
|
|
|
25555
25937
|
content: /*#__PURE__*/React__default['default'].createElement(SubscriptionsMenu, {
|
|
25556
25938
|
onClose: this.props.onClose,
|
|
25557
25939
|
cancelSubscription: this.cancelSubscription,
|
|
25940
|
+
unSuspendSubscription: this.unSuspendSubscription,
|
|
25558
25941
|
reactivateSubscription: this.reactivateSubscription,
|
|
25559
25942
|
setProductAndPlan: this.props.setProductAndPlan,
|
|
25560
25943
|
setSubscriptionIdToRenew: this.props.setSubscriptionIdToRenew,
|
|
@@ -25567,7 +25950,7 @@ class Dashboard extends React.Component {
|
|
|
25567
25950
|
}), /*#__PURE__*/React__default['default'].createElement(Accordion.item, {
|
|
25568
25951
|
show: hasActiveMemberships(),
|
|
25569
25952
|
name: SUB_MENUS.MEMBERSHIPS,
|
|
25570
|
-
icon: /*#__PURE__*/React__default['default'].createElement(
|
|
25953
|
+
icon: /*#__PURE__*/React__default['default'].createElement(SvgMemberships, {
|
|
25571
25954
|
className: "plc-transform plc-scale-120 plc-w-7 plc-h-8 plc-mr-1 plc-pt-1"
|
|
25572
25955
|
}),
|
|
25573
25956
|
title: this.locale("labels.memberships"),
|
|
@@ -25630,7 +26013,7 @@ function hasDonationSubs() {
|
|
|
25630
26013
|
function hasActiveMemberships() {
|
|
25631
26014
|
var _window$Pelcro$user$r6, _window$Pelcro$user$r7;
|
|
25632
26015
|
|
|
25633
|
-
return (_window$Pelcro$user$r6 = (_window$Pelcro$user$r7 = window.Pelcro.user.read().memberships) === null || _window$Pelcro$user$r7 === void 0 ? void 0 : _window$Pelcro$user$r7.some(membership => membership.status === "active")) !== null && _window$Pelcro$user$r6 !== void 0 ? _window$Pelcro$user$r6 : false;
|
|
26016
|
+
return (_window$Pelcro$user$r6 = (_window$Pelcro$user$r7 = window.Pelcro.user.read().memberships) === null || _window$Pelcro$user$r7 === void 0 ? void 0 : _window$Pelcro$user$r7.some(membership => membership.status === "active" && membership.subscription.ended_at === null)) !== null && _window$Pelcro$user$r6 !== void 0 ? _window$Pelcro$user$r6 : false;
|
|
25634
26017
|
}
|
|
25635
26018
|
|
|
25636
26019
|
const DashboardWithTrans = withTranslation("dashboard")(Dashboard);
|
|
@@ -29640,6 +30023,8 @@ exports.SubscriptionCreateView = SubscriptionCreateView;
|
|
|
29640
30023
|
exports.SubscriptionRenewContainer = SubscriptionRenewContainer;
|
|
29641
30024
|
exports.SubscriptionRenewModal = SubscriptionRenewModal;
|
|
29642
30025
|
exports.SubscriptionRenewView = SubscriptionRenewView;
|
|
30026
|
+
exports.SubscriptionSuspendModal = SubscriptionSuspendModal;
|
|
30027
|
+
exports.SubscriptionSuspendView = SubscriptionSuspendView;
|
|
29643
30028
|
exports.TaxAmount = TaxAmount;
|
|
29644
30029
|
exports.TextArea = TextArea;
|
|
29645
30030
|
exports.Tooltip = Tooltip;
|