@pelcro/react-pelcro-js 3.6.0-beta.7 → 3.6.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 +933 -513
- package/dist/index.esm.js +932 -514
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -3546,7 +3546,7 @@ var paymentMethod_ko = {
|
|
|
3546
3546
|
var title$q = "Enter your email to subscribe to our newsletter";
|
|
3547
3547
|
var updateTitle$2 = "Update newsletter selections";
|
|
3548
3548
|
var subtitle$b = "We may use your email for other marketing communication";
|
|
3549
|
-
var labels$
|
|
3549
|
+
var labels$L = {
|
|
3550
3550
|
submit: "Submit",
|
|
3551
3551
|
firstName: "First name",
|
|
3552
3552
|
lastName: "Last name",
|
|
@@ -3554,7 +3554,7 @@ var labels$I = {
|
|
|
3554
3554
|
postalCode: "Postal code",
|
|
3555
3555
|
required: "required"
|
|
3556
3556
|
};
|
|
3557
|
-
var messages$
|
|
3557
|
+
var messages$R = {
|
|
3558
3558
|
alreadyHaveAccount: "Already have an account?",
|
|
3559
3559
|
success: "Newsletters were successfully updated",
|
|
3560
3560
|
loginHere: "Login here.",
|
|
@@ -3565,14 +3565,14 @@ var newsletter_en = {
|
|
|
3565
3565
|
title: title$q,
|
|
3566
3566
|
updateTitle: updateTitle$2,
|
|
3567
3567
|
subtitle: subtitle$b,
|
|
3568
|
-
labels: labels$
|
|
3569
|
-
messages: messages$
|
|
3568
|
+
labels: labels$L,
|
|
3569
|
+
messages: messages$R
|
|
3570
3570
|
};
|
|
3571
3571
|
|
|
3572
3572
|
var title$p = "Entrez votre adresse courriel pour vous abonner à notre infolettre";
|
|
3573
3573
|
var updateTitle$1 = "Mettre à jour son choix d'infolettres";
|
|
3574
3574
|
var subtitle$a = "Nous pouvons utiliser votre adresse courriel pour d’autres communications marketing";
|
|
3575
|
-
var labels$
|
|
3575
|
+
var labels$K = {
|
|
3576
3576
|
submit: "Lire l’article !",
|
|
3577
3577
|
firstName: "Prénom",
|
|
3578
3578
|
lastName: "Nom de famille",
|
|
@@ -3580,7 +3580,7 @@ var labels$H = {
|
|
|
3580
3580
|
postalCode: "Code postal",
|
|
3581
3581
|
required: "Champs obligatoires"
|
|
3582
3582
|
};
|
|
3583
|
-
var messages$
|
|
3583
|
+
var messages$Q = {
|
|
3584
3584
|
alreadyHaveAccount: "Vous avez déjà un compte ?",
|
|
3585
3585
|
success: "Votre choix d'infolettres à été mis à jour",
|
|
3586
3586
|
loginHere: "Connectez-vous ici",
|
|
@@ -3591,14 +3591,14 @@ var newsletter_fr = {
|
|
|
3591
3591
|
title: title$p,
|
|
3592
3592
|
updateTitle: updateTitle$1,
|
|
3593
3593
|
subtitle: subtitle$a,
|
|
3594
|
-
labels: labels$
|
|
3595
|
-
messages: messages$
|
|
3594
|
+
labels: labels$K,
|
|
3595
|
+
messages: messages$Q
|
|
3596
3596
|
};
|
|
3597
3597
|
|
|
3598
3598
|
var title$o = "Frieze 뉴스레터를 구독하려면 이메일을 입력하세요.";
|
|
3599
3599
|
var updateTitle = "뉴스레터 선택 업데이트";
|
|
3600
3600
|
var subtitle$9 = "귀하의 이메일은 다른 마케팅 용도로도 사용됩니다.";
|
|
3601
|
-
var labels$
|
|
3601
|
+
var labels$J = {
|
|
3602
3602
|
submit: "제출",
|
|
3603
3603
|
firstName: "이름",
|
|
3604
3604
|
lastName: "성",
|
|
@@ -3606,7 +3606,7 @@ var labels$G = {
|
|
|
3606
3606
|
postalCode: "우편번호",
|
|
3607
3607
|
required: "필수 항목"
|
|
3608
3608
|
};
|
|
3609
|
-
var messages$
|
|
3609
|
+
var messages$P = {
|
|
3610
3610
|
alreadyHaveAccount: "이미 계정이 있습니까?",
|
|
3611
3611
|
success: "뉴스레터가 성공적으로 업데이트되었습니다.",
|
|
3612
3612
|
loginHere: "여기에서 로그인하세요.",
|
|
@@ -3617,14 +3617,14 @@ var newsletter_ko = {
|
|
|
3617
3617
|
title: title$o,
|
|
3618
3618
|
updateTitle: updateTitle,
|
|
3619
3619
|
subtitle: subtitle$9,
|
|
3620
|
-
labels: labels$
|
|
3621
|
-
messages: messages$
|
|
3620
|
+
labels: labels$J,
|
|
3621
|
+
messages: messages$P
|
|
3622
3622
|
};
|
|
3623
3623
|
|
|
3624
|
-
var labels$
|
|
3624
|
+
var labels$I = {
|
|
3625
3625
|
"continue": "Continue to content"
|
|
3626
3626
|
};
|
|
3627
|
-
var messages$
|
|
3627
|
+
var messages$O = {
|
|
3628
3628
|
yourFreeTrial: "Subscription successful!",
|
|
3629
3629
|
youHaveAccess: "Hope you enjoy the subscription. Please contact us if you have any questions or concerns.",
|
|
3630
3630
|
clickToLearn: {
|
|
@@ -3650,15 +3650,15 @@ var errors$e = {
|
|
|
3650
3650
|
"": ""
|
|
3651
3651
|
};
|
|
3652
3652
|
var success_en = {
|
|
3653
|
-
labels: labels$
|
|
3654
|
-
messages: messages$
|
|
3653
|
+
labels: labels$I,
|
|
3654
|
+
messages: messages$O,
|
|
3655
3655
|
errors: errors$e
|
|
3656
3656
|
};
|
|
3657
3657
|
|
|
3658
|
-
var labels$
|
|
3658
|
+
var labels$H = {
|
|
3659
3659
|
"continue": "Abonnement réussi !"
|
|
3660
3660
|
};
|
|
3661
|
-
var messages$
|
|
3661
|
+
var messages$N = {
|
|
3662
3662
|
yourFreeTrial: "Votre essai gratuit vient de débuter",
|
|
3663
3663
|
youHaveAccess: "Nous espérons que vous allez apprécier votre abonnement. Veuillez nous contacter si vous avez des questions ou des préoccupations.",
|
|
3664
3664
|
clickToLearn: {
|
|
@@ -3684,15 +3684,15 @@ var errors$d = {
|
|
|
3684
3684
|
"": ""
|
|
3685
3685
|
};
|
|
3686
3686
|
var success_fr = {
|
|
3687
|
-
labels: labels$
|
|
3688
|
-
messages: messages$
|
|
3687
|
+
labels: labels$H,
|
|
3688
|
+
messages: messages$N,
|
|
3689
3689
|
errors: errors$d
|
|
3690
3690
|
};
|
|
3691
3691
|
|
|
3692
|
-
var labels$
|
|
3692
|
+
var labels$G = {
|
|
3693
3693
|
"continue": "콘텐츠로 돌아가기"
|
|
3694
3694
|
};
|
|
3695
|
-
var messages$
|
|
3695
|
+
var messages$M = {
|
|
3696
3696
|
yourFreeTrial: "유료 멤버십에 가입하셨습니다!",
|
|
3697
3697
|
youHaveAccess: "멤버십 혜택을 즐기시기를 바라며, 질문이나 문의 사항이 있으면 저희에게 연락주십시오.",
|
|
3698
3698
|
clickToLearn: {
|
|
@@ -3718,12 +3718,12 @@ var errors$c = {
|
|
|
3718
3718
|
"": ""
|
|
3719
3719
|
};
|
|
3720
3720
|
var success_ko = {
|
|
3721
|
-
labels: labels$
|
|
3722
|
-
messages: messages$
|
|
3721
|
+
labels: labels$G,
|
|
3722
|
+
messages: messages$M,
|
|
3723
3723
|
errors: errors$c
|
|
3724
3724
|
};
|
|
3725
3725
|
|
|
3726
|
-
var messages$
|
|
3726
|
+
var messages$L = {
|
|
3727
3727
|
freeVisits: "Free visits left:",
|
|
3728
3728
|
subscribeNow: "Subscribe",
|
|
3729
3729
|
alreadyHaveAccount: "Already have an account?",
|
|
@@ -3733,11 +3733,11 @@ var errors$b = {
|
|
|
3733
3733
|
"": ""
|
|
3734
3734
|
};
|
|
3735
3735
|
var meter_en = {
|
|
3736
|
-
messages: messages$
|
|
3736
|
+
messages: messages$L,
|
|
3737
3737
|
errors: errors$b
|
|
3738
3738
|
};
|
|
3739
3739
|
|
|
3740
|
-
var messages$
|
|
3740
|
+
var messages$K = {
|
|
3741
3741
|
freeVisits: "Visites gratuites restantes:",
|
|
3742
3742
|
subscribeNow: "Abonnez-vous maintenant !",
|
|
3743
3743
|
alreadyHaveAccount: "Vous avez déjà un compte ?",
|
|
@@ -3747,11 +3747,11 @@ var errors$a = {
|
|
|
3747
3747
|
"": ""
|
|
3748
3748
|
};
|
|
3749
3749
|
var meter_fr = {
|
|
3750
|
-
messages: messages$
|
|
3750
|
+
messages: messages$K,
|
|
3751
3751
|
errors: errors$a
|
|
3752
3752
|
};
|
|
3753
3753
|
|
|
3754
|
-
var messages$
|
|
3754
|
+
var messages$J = {
|
|
3755
3755
|
freeVisits: "남은 무료 방문 기간:",
|
|
3756
3756
|
subscribeNow: "멤버십 가입",
|
|
3757
3757
|
alreadyHaveAccount: "이미 계정이 있습니까?",
|
|
@@ -3761,15 +3761,15 @@ var errors$9 = {
|
|
|
3761
3761
|
"": ""
|
|
3762
3762
|
};
|
|
3763
3763
|
var meter_ko = {
|
|
3764
|
-
messages: messages$
|
|
3764
|
+
messages: messages$J,
|
|
3765
3765
|
errors: errors$9
|
|
3766
3766
|
};
|
|
3767
3767
|
|
|
3768
|
-
var messages$
|
|
3768
|
+
var messages$I = {
|
|
3769
3769
|
youAreSafe: "You're safe - PCI compliant 128 SSL by",
|
|
3770
3770
|
bankRedirection: "Please hold, redirecting you to your bank."
|
|
3771
3771
|
};
|
|
3772
|
-
var labels$
|
|
3772
|
+
var labels$F = {
|
|
3773
3773
|
card: "Enter card number",
|
|
3774
3774
|
date: "Expiration date",
|
|
3775
3775
|
CVC: "CVC",
|
|
@@ -3788,15 +3788,15 @@ var labels$C = {
|
|
|
3788
3788
|
removeCoupon: "REMOVE"
|
|
3789
3789
|
};
|
|
3790
3790
|
var checkoutForm_en = {
|
|
3791
|
-
messages: messages$
|
|
3792
|
-
labels: labels$
|
|
3791
|
+
messages: messages$I,
|
|
3792
|
+
labels: labels$F
|
|
3793
3793
|
};
|
|
3794
3794
|
|
|
3795
|
-
var messages$
|
|
3795
|
+
var messages$H = {
|
|
3796
3796
|
youAreSafe: "Vous êtes en sécurité - PCI conforme 128 SSL par",
|
|
3797
3797
|
bankRedirection: "Veuillez patienter, nous vous redirigeons vers votre banque."
|
|
3798
3798
|
};
|
|
3799
|
-
var labels$
|
|
3799
|
+
var labels$E = {
|
|
3800
3800
|
card: "Entrez le numéro de carte",
|
|
3801
3801
|
date: "Date d’expiration",
|
|
3802
3802
|
CVC: "CVC",
|
|
@@ -3815,15 +3815,15 @@ var labels$B = {
|
|
|
3815
3815
|
removeCoupon: "RETIRER"
|
|
3816
3816
|
};
|
|
3817
3817
|
var checkoutForm_fr = {
|
|
3818
|
-
messages: messages$
|
|
3819
|
-
labels: labels$
|
|
3818
|
+
messages: messages$H,
|
|
3819
|
+
labels: labels$E
|
|
3820
3820
|
};
|
|
3821
3821
|
|
|
3822
|
-
var messages$
|
|
3822
|
+
var messages$G = {
|
|
3823
3823
|
youAreSafe: "PCI 준수 128비트 SSL 인증서로 보호됩니다. 제공: ",
|
|
3824
3824
|
bankRedirection: "잠시만 기다려 주십시오. 결제 은행으로 연결 중입니다."
|
|
3825
3825
|
};
|
|
3826
|
-
var labels$
|
|
3826
|
+
var labels$D = {
|
|
3827
3827
|
card: "카드 번호 입력",
|
|
3828
3828
|
date: "만료일",
|
|
3829
3829
|
CVC: "CVC",
|
|
@@ -3842,8 +3842,8 @@ var labels$A = {
|
|
|
3842
3842
|
removeCoupon: "제거"
|
|
3843
3843
|
};
|
|
3844
3844
|
var checkoutForm_ko = {
|
|
3845
|
-
messages: messages$
|
|
3846
|
-
labels: labels$
|
|
3845
|
+
messages: messages$G,
|
|
3846
|
+
labels: labels$D
|
|
3847
3847
|
};
|
|
3848
3848
|
|
|
3849
3849
|
var youAreSafe$2 = "You're safe - PCI compliant 128 SSL by";
|
|
@@ -3903,7 +3903,7 @@ var messages_ko = {
|
|
|
3903
3903
|
zeroTotalInvoice: zeroTotalInvoice
|
|
3904
3904
|
};
|
|
3905
3905
|
|
|
3906
|
-
var labels$
|
|
3906
|
+
var labels$C = {
|
|
3907
3907
|
email: "Enter email",
|
|
3908
3908
|
password: "Enter password",
|
|
3909
3909
|
required: "required",
|
|
@@ -3911,7 +3911,7 @@ var labels$z = {
|
|
|
3911
3911
|
passwordPlaceholder: "Password",
|
|
3912
3912
|
login: "Login"
|
|
3913
3913
|
};
|
|
3914
|
-
var messages$
|
|
3914
|
+
var messages$F = {
|
|
3915
3915
|
loginTo: "Login to your account",
|
|
3916
3916
|
welcome: "Welcome back, sign in with your existing account.",
|
|
3917
3917
|
dontHaveAccount: "Don't have an account yet?",
|
|
@@ -3930,12 +3930,12 @@ var errors$8 = {
|
|
|
3930
3930
|
"": ""
|
|
3931
3931
|
};
|
|
3932
3932
|
var login_en = {
|
|
3933
|
-
labels: labels$
|
|
3934
|
-
messages: messages$
|
|
3933
|
+
labels: labels$C,
|
|
3934
|
+
messages: messages$F,
|
|
3935
3935
|
errors: errors$8
|
|
3936
3936
|
};
|
|
3937
3937
|
|
|
3938
|
-
var labels$
|
|
3938
|
+
var labels$B = {
|
|
3939
3939
|
email: "Entrez votre adresse courriel",
|
|
3940
3940
|
password: "Entrez votre mot de passe",
|
|
3941
3941
|
required: "Champs obligatoires",
|
|
@@ -3943,7 +3943,7 @@ var labels$y = {
|
|
|
3943
3943
|
passwordPlaceholder: "Mot de passe",
|
|
3944
3944
|
login: "Connexion"
|
|
3945
3945
|
};
|
|
3946
|
-
var messages$
|
|
3946
|
+
var messages$E = {
|
|
3947
3947
|
loginTo: "Connectez-vous à votre compte",
|
|
3948
3948
|
welcome: "Bienvenue, connectez-vous avec votre compte existant.",
|
|
3949
3949
|
dontHaveAccount: "Vous n’avez pas encore de compte ?",
|
|
@@ -3962,12 +3962,12 @@ var errors$7 = {
|
|
|
3962
3962
|
"": ""
|
|
3963
3963
|
};
|
|
3964
3964
|
var login_fr = {
|
|
3965
|
-
labels: labels$
|
|
3966
|
-
messages: messages$
|
|
3965
|
+
labels: labels$B,
|
|
3966
|
+
messages: messages$E,
|
|
3967
3967
|
errors: errors$7
|
|
3968
3968
|
};
|
|
3969
3969
|
|
|
3970
|
-
var labels$
|
|
3970
|
+
var labels$A = {
|
|
3971
3971
|
email: "이메일 입력",
|
|
3972
3972
|
password: "비밀번호 입력",
|
|
3973
3973
|
required: "필수 항목",
|
|
@@ -3975,7 +3975,7 @@ var labels$x = {
|
|
|
3975
3975
|
passwordPlaceholder: "비밀번호",
|
|
3976
3976
|
login: "로그인"
|
|
3977
3977
|
};
|
|
3978
|
-
var messages$
|
|
3978
|
+
var messages$D = {
|
|
3979
3979
|
loginTo: "귀하의 계정에 로그인",
|
|
3980
3980
|
welcome: "반갑습니다. 귀하의 기존 계정으로 로그인하세요.",
|
|
3981
3981
|
dontHaveAccount: "아직 계정이 없으신가요?",
|
|
@@ -3994,56 +3994,56 @@ var errors$6 = {
|
|
|
3994
3994
|
"": ""
|
|
3995
3995
|
};
|
|
3996
3996
|
var login_ko = {
|
|
3997
|
-
labels: labels$
|
|
3998
|
-
messages: messages$
|
|
3997
|
+
labels: labels$A,
|
|
3998
|
+
messages: messages$D,
|
|
3999
3999
|
errors: errors$6
|
|
4000
4000
|
};
|
|
4001
4001
|
|
|
4002
|
-
var labels$
|
|
4002
|
+
var labels$z = {
|
|
4003
4003
|
title: "Verifying Passwordless Link",
|
|
4004
4004
|
instructions: "You're on your way!\nLet's confirm your email address.\nClick on the verification link we've sent to your email:",
|
|
4005
4005
|
resend: "Resend email"
|
|
4006
4006
|
};
|
|
4007
|
-
var messages$
|
|
4007
|
+
var messages$C = {
|
|
4008
4008
|
resent: "Resent successfully",
|
|
4009
4009
|
success: "You have logged in successfully"
|
|
4010
4010
|
};
|
|
4011
4011
|
var verifyLinkToken_en = {
|
|
4012
|
-
labels: labels$
|
|
4013
|
-
messages: messages$
|
|
4012
|
+
labels: labels$z,
|
|
4013
|
+
messages: messages$C
|
|
4014
4014
|
};
|
|
4015
4015
|
|
|
4016
|
-
var labels$
|
|
4016
|
+
var labels$y = {
|
|
4017
4017
|
title: "Confirmez votre courriel",
|
|
4018
4018
|
instructions: "Confirmez votre courriel.\nVeuillez cliquer sur le lien de vérification, qui vous a été envoyé à:",
|
|
4019
4019
|
resend: "Renvoyer le courriel"
|
|
4020
4020
|
};
|
|
4021
|
-
var messages$
|
|
4021
|
+
var messages$B = {
|
|
4022
4022
|
resent: "Renvoyé avec succès",
|
|
4023
4023
|
success: "Vous vous êtes connecté avec succès"
|
|
4024
4024
|
};
|
|
4025
4025
|
var verifyLinkToken_fr = {
|
|
4026
|
-
labels: labels$
|
|
4027
|
-
messages: messages$
|
|
4026
|
+
labels: labels$y,
|
|
4027
|
+
messages: messages$B
|
|
4028
4028
|
};
|
|
4029
4029
|
|
|
4030
|
-
var labels$
|
|
4030
|
+
var labels$x = {
|
|
4031
4031
|
title: "비밀번호 없는 링크 확인",
|
|
4032
4032
|
instructions: "가는 중입니다!\n이메일 주소를 확인하겠습니다.\n이메일로 전송된 확인 링크를 클릭하세요.",
|
|
4033
4033
|
resend: "이메일 재전송"
|
|
4034
4034
|
};
|
|
4035
|
-
var messages$
|
|
4035
|
+
var messages$A = {
|
|
4036
4036
|
resent: "성공적으로 재전송",
|
|
4037
4037
|
success: "성공적으로 로그인했습니다"
|
|
4038
4038
|
};
|
|
4039
4039
|
var verifyLinkToken_ko = {
|
|
4040
|
-
labels: labels$
|
|
4041
|
-
messages: messages$
|
|
4040
|
+
labels: labels$x,
|
|
4041
|
+
messages: messages$A
|
|
4042
4042
|
};
|
|
4043
4043
|
|
|
4044
4044
|
var title$n = "Create an account";
|
|
4045
4045
|
var subtitle$8 = "Enter your email and password below";
|
|
4046
|
-
var labels$
|
|
4046
|
+
var labels$w = {
|
|
4047
4047
|
signUpFacebook: "Sign up with Facebook",
|
|
4048
4048
|
signUpGoogle: "Sign up with Google",
|
|
4049
4049
|
signUpEmail: "Sign up with Email",
|
|
@@ -4055,7 +4055,7 @@ var labels$t = {
|
|
|
4055
4055
|
firstName: "First name",
|
|
4056
4056
|
lastName: "Last name"
|
|
4057
4057
|
};
|
|
4058
|
-
var messages$
|
|
4058
|
+
var messages$z = {
|
|
4059
4059
|
alreadyHaveAccount: "Already have an account?",
|
|
4060
4060
|
createAccount: "Create account",
|
|
4061
4061
|
loginHere: "login here. ",
|
|
@@ -4129,8 +4129,8 @@ var redeem$2 = {
|
|
|
4129
4129
|
var register_en = {
|
|
4130
4130
|
title: title$n,
|
|
4131
4131
|
subtitle: subtitle$8,
|
|
4132
|
-
labels: labels$
|
|
4133
|
-
messages: messages$
|
|
4132
|
+
labels: labels$w,
|
|
4133
|
+
messages: messages$z,
|
|
4134
4134
|
errors: errors$5,
|
|
4135
4135
|
gift: gift$2,
|
|
4136
4136
|
redeem: redeem$2
|
|
@@ -4138,7 +4138,7 @@ var register_en = {
|
|
|
4138
4138
|
|
|
4139
4139
|
var title$m = "Créer un compte";
|
|
4140
4140
|
var subtitle$7 = "Entrez votre courriel et votre mot de passe ci-dessous";
|
|
4141
|
-
var labels$
|
|
4141
|
+
var labels$v = {
|
|
4142
4142
|
signUpFacebook: "Inscrivez-vous avec Facebook",
|
|
4143
4143
|
signUpGoogle: "Inscrivez-vous avec Google",
|
|
4144
4144
|
signUpEmail: "Inscrivez-vous avec votre courriel",
|
|
@@ -4150,7 +4150,7 @@ var labels$s = {
|
|
|
4150
4150
|
firstName: "Prénom",
|
|
4151
4151
|
lastName: "Nom de famille"
|
|
4152
4152
|
};
|
|
4153
|
-
var messages$
|
|
4153
|
+
var messages$y = {
|
|
4154
4154
|
alreadyHaveAccount: "Vous avez déjà un compte?",
|
|
4155
4155
|
createAccount: "Créer un compte",
|
|
4156
4156
|
loginHere: "Connectez-vous ici",
|
|
@@ -4225,8 +4225,8 @@ var redeem$1 = {
|
|
|
4225
4225
|
var register_fr = {
|
|
4226
4226
|
title: title$m,
|
|
4227
4227
|
subtitle: subtitle$7,
|
|
4228
|
-
labels: labels$
|
|
4229
|
-
messages: messages$
|
|
4228
|
+
labels: labels$v,
|
|
4229
|
+
messages: messages$y,
|
|
4230
4230
|
errors: errors$4,
|
|
4231
4231
|
gift: gift$1,
|
|
4232
4232
|
redeem: redeem$1
|
|
@@ -4234,7 +4234,7 @@ var register_fr = {
|
|
|
4234
4234
|
|
|
4235
4235
|
var title$l = "계정 만들기";
|
|
4236
4236
|
var subtitle$6 = "아래에 이메일과 비밀번호를 입력하세요.";
|
|
4237
|
-
var labels$
|
|
4237
|
+
var labels$u = {
|
|
4238
4238
|
signUpFacebook: "Facebook으로 가입하기",
|
|
4239
4239
|
signUpGoogle: "Google로 가입하기",
|
|
4240
4240
|
signUpEmail: "이메일로 가입하기",
|
|
@@ -4246,7 +4246,7 @@ var labels$r = {
|
|
|
4246
4246
|
firstName: "이름",
|
|
4247
4247
|
lastName: "성"
|
|
4248
4248
|
};
|
|
4249
|
-
var messages$
|
|
4249
|
+
var messages$x = {
|
|
4250
4250
|
alreadyHaveAccount: "이미 계정이 있습니까?",
|
|
4251
4251
|
createAccount: "계정 만들기",
|
|
4252
4252
|
loginHere: "여기에서 로그인하세요.",
|
|
@@ -4320,14 +4320,14 @@ var redeem = {
|
|
|
4320
4320
|
var register_ko = {
|
|
4321
4321
|
title: title$l,
|
|
4322
4322
|
subtitle: subtitle$6,
|
|
4323
|
-
labels: labels$
|
|
4324
|
-
messages: messages$
|
|
4323
|
+
labels: labels$u,
|
|
4324
|
+
messages: messages$x,
|
|
4325
4325
|
errors: errors$3,
|
|
4326
4326
|
gift: gift,
|
|
4327
4327
|
redeem: redeem
|
|
4328
4328
|
};
|
|
4329
4329
|
|
|
4330
|
-
var labels$
|
|
4330
|
+
var labels$t = {
|
|
4331
4331
|
title: "Want to update your profile?",
|
|
4332
4332
|
subtitle: "Enter your information below to update your profile",
|
|
4333
4333
|
email: "Email",
|
|
@@ -4343,17 +4343,17 @@ var labels$q = {
|
|
|
4343
4343
|
removeImage: "Remove current photo",
|
|
4344
4344
|
zoom: "Zoom"
|
|
4345
4345
|
};
|
|
4346
|
-
var messages$
|
|
4346
|
+
var messages$w = {
|
|
4347
4347
|
userUpdated: "Thanks! Your profile was updated successfully.",
|
|
4348
4348
|
pictureRemoved: "Your profile picture was removed successfully.",
|
|
4349
4349
|
pictureUpdated: "Your profile picture was updated successfully."
|
|
4350
4350
|
};
|
|
4351
4351
|
var userEdit_en = {
|
|
4352
|
-
labels: labels$
|
|
4353
|
-
messages: messages$
|
|
4352
|
+
labels: labels$t,
|
|
4353
|
+
messages: messages$w
|
|
4354
4354
|
};
|
|
4355
4355
|
|
|
4356
|
-
var labels$
|
|
4356
|
+
var labels$s = {
|
|
4357
4357
|
title: "Voulez-vous mettre à jour votre profil ?",
|
|
4358
4358
|
subtitle: "Entrez vos informations ci-dessous pour mettre à jour votre profil",
|
|
4359
4359
|
email: "Address courriel",
|
|
@@ -4369,17 +4369,17 @@ var labels$p = {
|
|
|
4369
4369
|
removeImage: "supprimer la photo actuelle",
|
|
4370
4370
|
zoom: "Zoom"
|
|
4371
4371
|
};
|
|
4372
|
-
var messages$
|
|
4372
|
+
var messages$v = {
|
|
4373
4373
|
userUpdated: "Votre profil a été mis à jour avec succès.",
|
|
4374
4374
|
pictureRemoved: "Votre photo de profil a été supprimée avec succès.",
|
|
4375
4375
|
pictureUpdated: "Votre photo de profil a été mise à jour avec succès."
|
|
4376
4376
|
};
|
|
4377
4377
|
var userEdit_fr = {
|
|
4378
|
-
labels: labels$
|
|
4379
|
-
messages: messages$
|
|
4378
|
+
labels: labels$s,
|
|
4379
|
+
messages: messages$v
|
|
4380
4380
|
};
|
|
4381
4381
|
|
|
4382
|
-
var labels$
|
|
4382
|
+
var labels$r = {
|
|
4383
4383
|
title: "프로파일을 업데이트하시겠습니까?",
|
|
4384
4384
|
subtitle: "프로필을 업데이트하려면 아래 정보를 입력하세요.",
|
|
4385
4385
|
email: "이메일",
|
|
@@ -4395,20 +4395,20 @@ var labels$o = {
|
|
|
4395
4395
|
removeImage: "기존 사진 제거",
|
|
4396
4396
|
zoom: "확대"
|
|
4397
4397
|
};
|
|
4398
|
-
var messages$
|
|
4398
|
+
var messages$u = {
|
|
4399
4399
|
userUpdated: "감사합니다! 프로필이 성공적으로 업데이트되었습니다.",
|
|
4400
4400
|
pictureRemoved: "귀하의 프로필 사진이 제거되었습니다.",
|
|
4401
4401
|
pictureUpdated: "귀하의 프로필 사진이 업데이트되었습니다."
|
|
4402
4402
|
};
|
|
4403
4403
|
var userEdit_ko = {
|
|
4404
|
-
labels: labels$
|
|
4405
|
-
messages: messages$
|
|
4404
|
+
labels: labels$r,
|
|
4405
|
+
messages: messages$u
|
|
4406
4406
|
};
|
|
4407
4407
|
|
|
4408
4408
|
var title$k = "Enter your shipping address";
|
|
4409
4409
|
var selectAddressTitle$2 = "Please select an address";
|
|
4410
4410
|
var selectAddressSubtitle$2 = "Select one of your saved addresses, or add a new one";
|
|
4411
|
-
var labels$
|
|
4411
|
+
var labels$q = {
|
|
4412
4412
|
address: "Address",
|
|
4413
4413
|
code: "Postal Code/Zip",
|
|
4414
4414
|
city: "City",
|
|
@@ -4424,7 +4424,7 @@ var buttons$b = {
|
|
|
4424
4424
|
selectAddress: "Select address",
|
|
4425
4425
|
addAddress: "Add new address"
|
|
4426
4426
|
};
|
|
4427
|
-
var messages$
|
|
4427
|
+
var messages$t = {
|
|
4428
4428
|
addressUpdated: "The address was successfully updated!",
|
|
4429
4429
|
subRedeemed: "Your subscription has been redeemed."
|
|
4430
4430
|
};
|
|
@@ -4432,15 +4432,15 @@ var address_en = {
|
|
|
4432
4432
|
title: title$k,
|
|
4433
4433
|
selectAddressTitle: selectAddressTitle$2,
|
|
4434
4434
|
selectAddressSubtitle: selectAddressSubtitle$2,
|
|
4435
|
-
labels: labels$
|
|
4435
|
+
labels: labels$q,
|
|
4436
4436
|
buttons: buttons$b,
|
|
4437
|
-
messages: messages$
|
|
4437
|
+
messages: messages$t
|
|
4438
4438
|
};
|
|
4439
4439
|
|
|
4440
4440
|
var title$j = "Entrez votre adresse de livraison";
|
|
4441
4441
|
var selectAddressTitle$1 = "Veuillez sélectionner une adresse";
|
|
4442
4442
|
var selectAddressSubtitle$1 = "Choisissez l'une de vos adresses ou créez-en une nouvelle";
|
|
4443
|
-
var labels$
|
|
4443
|
+
var labels$p = {
|
|
4444
4444
|
address: "Adresse",
|
|
4445
4445
|
code: "Code postal / Zip",
|
|
4446
4446
|
city: "Ville",
|
|
@@ -4456,7 +4456,7 @@ var buttons$a = {
|
|
|
4456
4456
|
selectAddress: "Choisir cette adresse",
|
|
4457
4457
|
addAddress: "Ajouter une nouvelle adresse"
|
|
4458
4458
|
};
|
|
4459
|
-
var messages$
|
|
4459
|
+
var messages$s = {
|
|
4460
4460
|
addressUpdated: "Votre adresse a été mise à jour avec succès",
|
|
4461
4461
|
subRedeemed: "Votre abonnement a bien été activé."
|
|
4462
4462
|
};
|
|
@@ -4464,15 +4464,15 @@ var address_fr = {
|
|
|
4464
4464
|
title: title$j,
|
|
4465
4465
|
selectAddressTitle: selectAddressTitle$1,
|
|
4466
4466
|
selectAddressSubtitle: selectAddressSubtitle$1,
|
|
4467
|
-
labels: labels$
|
|
4467
|
+
labels: labels$p,
|
|
4468
4468
|
buttons: buttons$a,
|
|
4469
|
-
messages: messages$
|
|
4469
|
+
messages: messages$s
|
|
4470
4470
|
};
|
|
4471
4471
|
|
|
4472
4472
|
var title$i = "배송 주소를 입력하십시오.";
|
|
4473
4473
|
var selectAddressTitle = "주소를 선택하십시오.";
|
|
4474
4474
|
var selectAddressSubtitle = "저장된 주소에서 선택하거나 새 주소를 추가하십시오.";
|
|
4475
|
-
var labels$
|
|
4475
|
+
var labels$o = {
|
|
4476
4476
|
address: "주소",
|
|
4477
4477
|
code: "우편번호",
|
|
4478
4478
|
city: "도시",
|
|
@@ -4488,7 +4488,7 @@ var buttons$9 = {
|
|
|
4488
4488
|
selectAddress: "주소 선택",
|
|
4489
4489
|
addAddress: "새 주소 추가"
|
|
4490
4490
|
};
|
|
4491
|
-
var messages$
|
|
4491
|
+
var messages$r = {
|
|
4492
4492
|
addressUpdated: "주소가 성공적으로 업데이트되었습니다!",
|
|
4493
4493
|
subRedeemed: "귀하의 유료 멤버십이 사용되었습니다."
|
|
4494
4494
|
};
|
|
@@ -4496,9 +4496,9 @@ var address_ko = {
|
|
|
4496
4496
|
title: title$i,
|
|
4497
4497
|
selectAddressTitle: selectAddressTitle,
|
|
4498
4498
|
selectAddressSubtitle: selectAddressSubtitle,
|
|
4499
|
-
labels: labels$
|
|
4499
|
+
labels: labels$o,
|
|
4500
4500
|
buttons: buttons$9,
|
|
4501
|
-
messages: messages$
|
|
4501
|
+
messages: messages$r
|
|
4502
4502
|
};
|
|
4503
4503
|
|
|
4504
4504
|
var title$h = "Reset your password";
|
|
@@ -4564,7 +4564,7 @@ var password$2 = "Password";
|
|
|
4564
4564
|
var submit$8 = "Submit";
|
|
4565
4565
|
var required$8 = "Required";
|
|
4566
4566
|
var passwordResetEmailSent$2 = "Password reset instructions have been sent to your email";
|
|
4567
|
-
var messages$
|
|
4567
|
+
var messages$q = {
|
|
4568
4568
|
alreadyHaveAccount: "Already have an account?",
|
|
4569
4569
|
loginHere: "login here."
|
|
4570
4570
|
};
|
|
@@ -4575,7 +4575,7 @@ var passwordForgot_en = {
|
|
|
4575
4575
|
submit: submit$8,
|
|
4576
4576
|
required: required$8,
|
|
4577
4577
|
passwordResetEmailSent: passwordResetEmailSent$2,
|
|
4578
|
-
messages: messages$
|
|
4578
|
+
messages: messages$q
|
|
4579
4579
|
};
|
|
4580
4580
|
|
|
4581
4581
|
var title$d = "Mot de passe oublié ?";
|
|
@@ -4584,7 +4584,7 @@ var password$1 = "Mot de passe";
|
|
|
4584
4584
|
var submit$7 = "Soumettre";
|
|
4585
4585
|
var required$7 = "Champs obligatoires";
|
|
4586
4586
|
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.";
|
|
4587
|
-
var messages$
|
|
4587
|
+
var messages$p = {
|
|
4588
4588
|
alreadyHaveAccount: "Vous avez déjà un compte ?",
|
|
4589
4589
|
loginHere: "Connectez-vous ici"
|
|
4590
4590
|
};
|
|
@@ -4595,7 +4595,7 @@ var passwordForgot_fr = {
|
|
|
4595
4595
|
submit: submit$7,
|
|
4596
4596
|
required: required$7,
|
|
4597
4597
|
passwordResetEmailSent: passwordResetEmailSent$1,
|
|
4598
|
-
messages: messages$
|
|
4598
|
+
messages: messages$p
|
|
4599
4599
|
};
|
|
4600
4600
|
|
|
4601
4601
|
var title$c = "비밀번호를 잊으셨나요?";
|
|
@@ -4604,7 +4604,7 @@ var password = "비밀번호";
|
|
|
4604
4604
|
var submit$6 = "제출";
|
|
4605
4605
|
var required$6 = "필수 항목";
|
|
4606
4606
|
var passwordResetEmailSent = "비밀번호 재설정 안내가 귀하의 이메일로 발송되었습니다.";
|
|
4607
|
-
var messages$
|
|
4607
|
+
var messages$o = {
|
|
4608
4608
|
alreadyHaveAccount: "이미 계정이 있습니까?",
|
|
4609
4609
|
loginHere: "여기에서 로그인하세요."
|
|
4610
4610
|
};
|
|
@@ -4615,7 +4615,7 @@ var passwordForgot_ko = {
|
|
|
4615
4615
|
submit: submit$6,
|
|
4616
4616
|
required: required$6,
|
|
4617
4617
|
passwordResetEmailSent: passwordResetEmailSent,
|
|
4618
|
-
messages: messages$
|
|
4618
|
+
messages: messages$o
|
|
4619
4619
|
};
|
|
4620
4620
|
|
|
4621
4621
|
var title$b = "Change your password";
|
|
@@ -4685,7 +4685,7 @@ var title$8 = "Passwordless Login";
|
|
|
4685
4685
|
var email$2 = "Enter email";
|
|
4686
4686
|
var submit$2 = "Submit";
|
|
4687
4687
|
var required$2 = "Required";
|
|
4688
|
-
var messages$
|
|
4688
|
+
var messages$n = {
|
|
4689
4689
|
PasswordlessLoginSuccess: "Please check your email and follow the instructions there"
|
|
4690
4690
|
};
|
|
4691
4691
|
var passwordlessRequest_en = {
|
|
@@ -4693,14 +4693,14 @@ var passwordlessRequest_en = {
|
|
|
4693
4693
|
email: email$2,
|
|
4694
4694
|
submit: submit$2,
|
|
4695
4695
|
required: required$2,
|
|
4696
|
-
messages: messages$
|
|
4696
|
+
messages: messages$n
|
|
4697
4697
|
};
|
|
4698
4698
|
|
|
4699
4699
|
var title$7 = "Connexion sans mot de passe";
|
|
4700
4700
|
var email$1 = "Entrez votre adresse courriel";
|
|
4701
4701
|
var submit$1 = "Soumettre";
|
|
4702
4702
|
var required$1 = "Champs obligatoires";
|
|
4703
|
-
var messages$
|
|
4703
|
+
var messages$m = {
|
|
4704
4704
|
PasswordlessLoginSuccess: "Vous avez été authentifié avec succès avec la connexion sans mot de passe"
|
|
4705
4705
|
};
|
|
4706
4706
|
var passwordlessRequest_fr = {
|
|
@@ -4708,14 +4708,14 @@ var passwordlessRequest_fr = {
|
|
|
4708
4708
|
email: email$1,
|
|
4709
4709
|
submit: submit$1,
|
|
4710
4710
|
required: required$1,
|
|
4711
|
-
messages: messages$
|
|
4711
|
+
messages: messages$m
|
|
4712
4712
|
};
|
|
4713
4713
|
|
|
4714
4714
|
var title$6 = "비밀번호 없는 로그인";
|
|
4715
4715
|
var email = "이메일 입력";
|
|
4716
4716
|
var submit = "제출";
|
|
4717
4717
|
var required = "필수 항목";
|
|
4718
|
-
var messages$
|
|
4718
|
+
var messages$l = {
|
|
4719
4719
|
PasswordlessLoginSuccess: "비밀번호 없는 로그인으로 성공적으로 인증되었습니다."
|
|
4720
4720
|
};
|
|
4721
4721
|
var passwordlessRequest_ko = {
|
|
@@ -4723,7 +4723,7 @@ var passwordlessRequest_ko = {
|
|
|
4723
4723
|
email: email,
|
|
4724
4724
|
submit: submit,
|
|
4725
4725
|
required: required,
|
|
4726
|
-
messages: messages$
|
|
4726
|
+
messages: messages$l
|
|
4727
4727
|
};
|
|
4728
4728
|
|
|
4729
4729
|
var title$5 = "Votre panier";
|
|
@@ -4807,7 +4807,7 @@ var buttons$8 = {
|
|
|
4807
4807
|
purchase: "Purchase",
|
|
4808
4808
|
"continue": "Continue"
|
|
4809
4809
|
};
|
|
4810
|
-
var messages$
|
|
4810
|
+
var messages$k = {
|
|
4811
4811
|
orderConfirmed: {
|
|
4812
4812
|
title: "Order confirmed!",
|
|
4813
4813
|
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."
|
|
@@ -4816,14 +4816,14 @@ var messages$h = {
|
|
|
4816
4816
|
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.",
|
|
4817
4817
|
currencyMismatch: "The selected item(s) do not match your current default currency ({{currency}}). Please choose item(s) only matching this currency."
|
|
4818
4818
|
};
|
|
4819
|
-
var labels$
|
|
4819
|
+
var labels$n = {
|
|
4820
4820
|
summary: "Order summary",
|
|
4821
4821
|
total: "total"
|
|
4822
4822
|
};
|
|
4823
4823
|
var shop_en = {
|
|
4824
4824
|
buttons: buttons$8,
|
|
4825
|
-
messages: messages$
|
|
4826
|
-
labels: labels$
|
|
4825
|
+
messages: messages$k,
|
|
4826
|
+
labels: labels$n
|
|
4827
4827
|
};
|
|
4828
4828
|
|
|
4829
4829
|
var buttons$7 = {
|
|
@@ -4832,7 +4832,7 @@ var buttons$7 = {
|
|
|
4832
4832
|
purchase: "Acheter",
|
|
4833
4833
|
"continue": "Continuer au contenu"
|
|
4834
4834
|
};
|
|
4835
|
-
var messages$
|
|
4835
|
+
var messages$j = {
|
|
4836
4836
|
orderConfirmed: {
|
|
4837
4837
|
title: "Votre commande est confirmée !",
|
|
4838
4838
|
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."
|
|
@@ -4841,14 +4841,14 @@ var messages$g = {
|
|
|
4841
4841
|
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.",
|
|
4842
4842
|
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."
|
|
4843
4843
|
};
|
|
4844
|
-
var labels$
|
|
4844
|
+
var labels$m = {
|
|
4845
4845
|
summary: "récapitulatif de commande",
|
|
4846
4846
|
total: "total"
|
|
4847
4847
|
};
|
|
4848
4848
|
var shop_fr = {
|
|
4849
4849
|
buttons: buttons$7,
|
|
4850
|
-
messages: messages$
|
|
4851
|
-
labels: labels$
|
|
4850
|
+
messages: messages$j,
|
|
4851
|
+
labels: labels$m
|
|
4852
4852
|
};
|
|
4853
4853
|
|
|
4854
4854
|
var buttons$6 = {
|
|
@@ -4857,7 +4857,7 @@ var buttons$6 = {
|
|
|
4857
4857
|
purchase: "구매",
|
|
4858
4858
|
"continue": "계속"
|
|
4859
4859
|
};
|
|
4860
|
-
var messages$
|
|
4860
|
+
var messages$i = {
|
|
4861
4861
|
orderConfirmed: {
|
|
4862
4862
|
title: "주문이 확인되었습니다!",
|
|
4863
4863
|
body: "귀하의 주문이 확인되었으며 며칠 안에 배송될 예정입니다. 이 주문의 확인 이메일이 귀하에게 전송됩니다."
|
|
@@ -4866,17 +4866,17 @@ var messages$f = {
|
|
|
4866
4866
|
multipleCurrencies: "장바구니에 다른 통화로만 결제가 가능한 아이템이 있습니다. 결제를 계속 진행하려면 모든 아이템의 결제 통화가 동일한지 확인하십시오.",
|
|
4867
4867
|
currencyMismatch: "선택하신 아이템(들)이 귀하가 설정한 기본 통화({{currency}})와 일치하지 않습니다. 기본 통화와 일치하는 아이템(들)만 선택하십시오."
|
|
4868
4868
|
};
|
|
4869
|
-
var labels$
|
|
4869
|
+
var labels$l = {
|
|
4870
4870
|
summary: "주문 요약",
|
|
4871
4871
|
total: "총계"
|
|
4872
4872
|
};
|
|
4873
4873
|
var shop_ko = {
|
|
4874
4874
|
buttons: buttons$6,
|
|
4875
|
-
messages: messages$
|
|
4876
|
-
labels: labels$
|
|
4875
|
+
messages: messages$i,
|
|
4876
|
+
labels: labels$l
|
|
4877
4877
|
};
|
|
4878
4878
|
|
|
4879
|
-
var labels$
|
|
4879
|
+
var labels$k = {
|
|
4880
4880
|
cardNumber: "Numéro de carte",
|
|
4881
4881
|
securityCode: "Code de sécurité",
|
|
4882
4882
|
submit: "Soumettre",
|
|
@@ -4898,7 +4898,7 @@ var labels$h = {
|
|
|
4898
4898
|
title: "Informations de paiement"
|
|
4899
4899
|
}
|
|
4900
4900
|
};
|
|
4901
|
-
var messages$
|
|
4901
|
+
var messages$h = {
|
|
4902
4902
|
youAreSafe: "Vous êtes en sécurité - PCI conforme 128 SSL par",
|
|
4903
4903
|
cancel: "Annuler votre abonnement en ligne à tout moment.",
|
|
4904
4904
|
giftSent: "Le cadeau d’abonnement a été envoyé à",
|
|
@@ -4911,12 +4911,12 @@ var errors$2 = {
|
|
|
4911
4911
|
"": ""
|
|
4912
4912
|
};
|
|
4913
4913
|
var payment_fr = {
|
|
4914
|
-
labels: labels$
|
|
4915
|
-
messages: messages$
|
|
4914
|
+
labels: labels$k,
|
|
4915
|
+
messages: messages$h,
|
|
4916
4916
|
errors: errors$2
|
|
4917
4917
|
};
|
|
4918
4918
|
|
|
4919
|
-
var labels$
|
|
4919
|
+
var labels$j = {
|
|
4920
4920
|
cardNumber: "Card number",
|
|
4921
4921
|
securityCode: "Security Code",
|
|
4922
4922
|
submit: "Submit",
|
|
@@ -4938,7 +4938,7 @@ var labels$g = {
|
|
|
4938
4938
|
title: "Payment Information"
|
|
4939
4939
|
}
|
|
4940
4940
|
};
|
|
4941
|
-
var messages$
|
|
4941
|
+
var messages$g = {
|
|
4942
4942
|
youAreSafe: "You're safe - PCI compliant 128 SSL by",
|
|
4943
4943
|
cancel: "Cancel your subscription online at anytime.",
|
|
4944
4944
|
giftSent: "Subscription gift has been sent to",
|
|
@@ -4951,12 +4951,12 @@ var errors$1 = {
|
|
|
4951
4951
|
"": ""
|
|
4952
4952
|
};
|
|
4953
4953
|
var payment_en = {
|
|
4954
|
-
labels: labels$
|
|
4955
|
-
messages: messages$
|
|
4954
|
+
labels: labels$j,
|
|
4955
|
+
messages: messages$g,
|
|
4956
4956
|
errors: errors$1
|
|
4957
4957
|
};
|
|
4958
4958
|
|
|
4959
|
-
var labels$
|
|
4959
|
+
var labels$i = {
|
|
4960
4960
|
cardNumber: "카드 번호",
|
|
4961
4961
|
securityCode: "보안 코드",
|
|
4962
4962
|
submit: "제출",
|
|
@@ -4978,7 +4978,7 @@ var labels$f = {
|
|
|
4978
4978
|
title: "결제 정보"
|
|
4979
4979
|
}
|
|
4980
4980
|
};
|
|
4981
|
-
var messages$
|
|
4981
|
+
var messages$f = {
|
|
4982
4982
|
youAreSafe: "PCI 준수 128비트 SSL 인증서로 보호됩니다. 제공: ",
|
|
4983
4983
|
cancel: "유료 멤버십은 언제든 온라인으로 취소가 가능합니다.",
|
|
4984
4984
|
giftSent: "유료 멤버십 선물이 ",
|
|
@@ -4991,12 +4991,12 @@ var errors = {
|
|
|
4991
4991
|
"": ""
|
|
4992
4992
|
};
|
|
4993
4993
|
var payment_ko = {
|
|
4994
|
-
labels: labels$
|
|
4995
|
-
messages: messages$
|
|
4994
|
+
labels: labels$i,
|
|
4995
|
+
messages: messages$f,
|
|
4996
4996
|
errors: errors
|
|
4997
4997
|
};
|
|
4998
4998
|
|
|
4999
|
-
var labels$
|
|
4999
|
+
var labels$h = {
|
|
5000
5000
|
menu: "Pelcro Menu",
|
|
5001
5001
|
name: "Name",
|
|
5002
5002
|
email: "Email",
|
|
@@ -5016,6 +5016,8 @@ var labels$e = {
|
|
|
5016
5016
|
unsubscribe: "Cancel",
|
|
5017
5017
|
reactivate: "Reactivate",
|
|
5018
5018
|
renew: "Renew",
|
|
5019
|
+
suspend: "Suspend",
|
|
5020
|
+
unsuspend: "Unsuspend",
|
|
5019
5021
|
support: "Support",
|
|
5020
5022
|
account: "Account",
|
|
5021
5023
|
purchases: "Purchases",
|
|
@@ -5052,6 +5054,7 @@ var labels$e = {
|
|
|
5052
5054
|
canceledOn: "Canceled on",
|
|
5053
5055
|
recipient: "Recipient",
|
|
5054
5056
|
addAddress: "Add address",
|
|
5057
|
+
editAddress: "Edit address",
|
|
5055
5058
|
addSubscription: "New Subscription",
|
|
5056
5059
|
addGift: "New Gift",
|
|
5057
5060
|
"default": "Default",
|
|
@@ -5075,21 +5078,27 @@ var labels$e = {
|
|
|
5075
5078
|
goBack: "Go back"
|
|
5076
5079
|
}
|
|
5077
5080
|
};
|
|
5078
|
-
var messages$
|
|
5081
|
+
var messages$e = {
|
|
5079
5082
|
noCard: "You don't have a card",
|
|
5080
5083
|
subCancellation: {
|
|
5081
5084
|
isSureToCancel: "Are you sure you want to cancel your subscription?",
|
|
5082
5085
|
loading: "Cancelling your subscription",
|
|
5083
5086
|
success: "Subscription is successfully cancelled",
|
|
5084
5087
|
error: "Error while cancelling your subscription"
|
|
5088
|
+
},
|
|
5089
|
+
subUnSuspend: {
|
|
5090
|
+
isSureToUnSuspend: "Are you sure you want to unsuspend your subscription?",
|
|
5091
|
+
loading: "Unsuspending your subscription",
|
|
5092
|
+
success: "Subscription is successfully unsuspended",
|
|
5093
|
+
error: "Error while unsuspending your subscription"
|
|
5085
5094
|
}
|
|
5086
5095
|
};
|
|
5087
5096
|
var dashboard_en = {
|
|
5088
|
-
labels: labels$
|
|
5089
|
-
messages: messages$
|
|
5097
|
+
labels: labels$h,
|
|
5098
|
+
messages: messages$e
|
|
5090
5099
|
};
|
|
5091
5100
|
|
|
5092
|
-
var labels$
|
|
5101
|
+
var labels$g = {
|
|
5093
5102
|
menu: "Menu Pelcro",
|
|
5094
5103
|
name: "Nom",
|
|
5095
5104
|
email: "Courriel",
|
|
@@ -5109,6 +5118,8 @@ var labels$d = {
|
|
|
5109
5118
|
unsubscribe: "Se désabonner",
|
|
5110
5119
|
reactivate: "Réactiver",
|
|
5111
5120
|
renew: "Renouveler",
|
|
5121
|
+
suspend: "Suspendre",
|
|
5122
|
+
unsuspend: "Annuler la suspension",
|
|
5112
5123
|
support: "Soutien",
|
|
5113
5124
|
account: "Compte",
|
|
5114
5125
|
purchases: "Achats",
|
|
@@ -5145,6 +5156,7 @@ var labels$d = {
|
|
|
5145
5156
|
canceledOn: "Annulé le",
|
|
5146
5157
|
recipient: "Destinataire",
|
|
5147
5158
|
addAddress: "Ajoutez l'adresse",
|
|
5159
|
+
editAddress: "Modifier l'adresse",
|
|
5148
5160
|
addSubscription: "Nouvel abonnement",
|
|
5149
5161
|
addGift: "Ajouter un cadeau",
|
|
5150
5162
|
"default": "Défaut",
|
|
@@ -5168,21 +5180,27 @@ var labels$d = {
|
|
|
5168
5180
|
goBack: "Retourner"
|
|
5169
5181
|
}
|
|
5170
5182
|
};
|
|
5171
|
-
var messages$
|
|
5183
|
+
var messages$d = {
|
|
5172
5184
|
noCard: "Vous n’avez pas une carte",
|
|
5173
5185
|
subCancellation: {
|
|
5174
5186
|
isSureToCancel: "Êtes-vous certain de vouloir annuler votre abonnement?",
|
|
5175
5187
|
loading: "Annulation de l'abonnement",
|
|
5176
5188
|
success: "L'abonnement a été annulé avec succès",
|
|
5177
5189
|
error: "Une erreur s'est produite lors de l'annulation de l'abonnement"
|
|
5190
|
+
},
|
|
5191
|
+
subUnSuspend: {
|
|
5192
|
+
isSureToUnSuspend: "Êtes-vous sûr de vouloir annuler la suspension de votre abonnement ?",
|
|
5193
|
+
loading: "Annulation de la suspension de votre abonnement",
|
|
5194
|
+
success: "L'abonnement a été suspendu avec succès",
|
|
5195
|
+
error: "Erreur lors de l'annulation de la suspension de votre abonnement"
|
|
5178
5196
|
}
|
|
5179
5197
|
};
|
|
5180
5198
|
var dashboard_fr = {
|
|
5181
|
-
labels: labels$
|
|
5182
|
-
messages: messages$
|
|
5199
|
+
labels: labels$g,
|
|
5200
|
+
messages: messages$d
|
|
5183
5201
|
};
|
|
5184
5202
|
|
|
5185
|
-
var labels$
|
|
5203
|
+
var labels$f = {
|
|
5186
5204
|
menu: "Pelcro 메뉴",
|
|
5187
5205
|
name: "이름",
|
|
5188
5206
|
email: "이메일",
|
|
@@ -5202,6 +5220,8 @@ var labels$c = {
|
|
|
5202
5220
|
unsubscribe: "취소",
|
|
5203
5221
|
reactivate: "재활성화",
|
|
5204
5222
|
renew: "갱신",
|
|
5223
|
+
suspend: "유예하다",
|
|
5224
|
+
unsuspend: "일시 중단 해제",
|
|
5205
5225
|
support: "지원",
|
|
5206
5226
|
account: "계정",
|
|
5207
5227
|
purchases: "구매",
|
|
@@ -5300,6 +5320,7 @@ var renewsOn = "갱신";
|
|
|
5300
5320
|
var canceledOn = "취소일";
|
|
5301
5321
|
var recipient = "받는 사람";
|
|
5302
5322
|
var addAddress = "주소 추가";
|
|
5323
|
+
var editAddress = "주소 수정";
|
|
5303
5324
|
var addSubscription = "새 유료 멤버십";
|
|
5304
5325
|
var addGift = "새 선물";
|
|
5305
5326
|
var orders = {
|
|
@@ -5321,17 +5342,23 @@ var savedItems = {
|
|
|
5321
5342
|
var subCancellation = {
|
|
5322
5343
|
goBack: "뒤로 가기"
|
|
5323
5344
|
};
|
|
5324
|
-
var messages$
|
|
5345
|
+
var messages$c = {
|
|
5325
5346
|
noCard: "등록된 카드가 없습니다.",
|
|
5326
5347
|
subCancellation: {
|
|
5327
5348
|
isSureToCancel: "정말로 유료 멤버십을 취소하시겠습니까?",
|
|
5328
5349
|
loading: "귀하의 유료 멤버십을 취소합니다.",
|
|
5329
5350
|
success: "유료 멤버십이 성공적으로 취소되었습니다.",
|
|
5330
5351
|
error: "유료 멤버십 취소 과정에서 오류가 발생했습니다."
|
|
5352
|
+
},
|
|
5353
|
+
subUnSuspend: {
|
|
5354
|
+
isSureToUnSuspend: "구독 일시 중단을 해제하시겠습니까?",
|
|
5355
|
+
loading: "구독 일시 중단 해제",
|
|
5356
|
+
success: "구독이 성공적으로 일시 중단 해제되었습니다",
|
|
5357
|
+
error: "구독 일시 중단을 해제하는 동안 오류가 발생했습니다."
|
|
5331
5358
|
}
|
|
5332
5359
|
};
|
|
5333
5360
|
var dashboard_ko = {
|
|
5334
|
-
labels: labels$
|
|
5361
|
+
labels: labels$f,
|
|
5335
5362
|
shipments: shipments,
|
|
5336
5363
|
logout: logout,
|
|
5337
5364
|
dashboard: dashboard,
|
|
@@ -5373,21 +5400,22 @@ var dashboard_ko = {
|
|
|
5373
5400
|
canceledOn: canceledOn,
|
|
5374
5401
|
recipient: recipient,
|
|
5375
5402
|
addAddress: addAddress,
|
|
5403
|
+
editAddress: editAddress,
|
|
5376
5404
|
addSubscription: addSubscription,
|
|
5377
5405
|
addGift: addGift,
|
|
5378
5406
|
"default": "기본",
|
|
5379
5407
|
orders: orders,
|
|
5380
5408
|
savedItems: savedItems,
|
|
5381
5409
|
subCancellation: subCancellation,
|
|
5382
|
-
messages: messages$
|
|
5410
|
+
messages: messages$c
|
|
5383
5411
|
};
|
|
5384
5412
|
|
|
5385
|
-
var messages$
|
|
5413
|
+
var messages$b = {
|
|
5386
5414
|
alreadyHaveAccount: "Already have an account?",
|
|
5387
5415
|
loginHere: "Login here",
|
|
5388
5416
|
checkbox: "Check this box to gift this subscription"
|
|
5389
5417
|
};
|
|
5390
|
-
var labels$
|
|
5418
|
+
var labels$e = {
|
|
5391
5419
|
plan: {
|
|
5392
5420
|
title: "Subscribe to a plan",
|
|
5393
5421
|
subtitle: "Select one of the plans below and click on next."
|
|
@@ -5410,17 +5438,17 @@ var buttons$5 = {
|
|
|
5410
5438
|
back: "Back"
|
|
5411
5439
|
};
|
|
5412
5440
|
var select_en = {
|
|
5413
|
-
messages: messages$
|
|
5414
|
-
labels: labels$
|
|
5441
|
+
messages: messages$b,
|
|
5442
|
+
labels: labels$e,
|
|
5415
5443
|
buttons: buttons$5
|
|
5416
5444
|
};
|
|
5417
5445
|
|
|
5418
|
-
var messages$
|
|
5446
|
+
var messages$a = {
|
|
5419
5447
|
alreadyHaveAccount: "Vous avez déjà un compte ?",
|
|
5420
5448
|
loginHere: "Connectez-vous ici",
|
|
5421
5449
|
checkbox: "Cochez cette case pour offrir cet abonnement"
|
|
5422
5450
|
};
|
|
5423
|
-
var labels$
|
|
5451
|
+
var labels$d = {
|
|
5424
5452
|
plan: {
|
|
5425
5453
|
title: "Abonnez-vous à un plan",
|
|
5426
5454
|
subtitle: "Sélectionnez l’un des plans ci-dessous et cliquez sur suivant."
|
|
@@ -5443,17 +5471,17 @@ var buttons$4 = {
|
|
|
5443
5471
|
back: "Retour"
|
|
5444
5472
|
};
|
|
5445
5473
|
var select_fr = {
|
|
5446
|
-
messages: messages$
|
|
5447
|
-
labels: labels$
|
|
5474
|
+
messages: messages$a,
|
|
5475
|
+
labels: labels$d,
|
|
5448
5476
|
buttons: buttons$4
|
|
5449
5477
|
};
|
|
5450
5478
|
|
|
5451
|
-
var messages$
|
|
5479
|
+
var messages$9 = {
|
|
5452
5480
|
alreadyHaveAccount: "이미 계정이 있습니까?",
|
|
5453
5481
|
loginHere: "여기에서 로그인하세요.",
|
|
5454
5482
|
checkbox: "이 유료 멤버십을 선물하려면 체크하세요."
|
|
5455
5483
|
};
|
|
5456
|
-
var labels$
|
|
5484
|
+
var labels$c = {
|
|
5457
5485
|
plan: {
|
|
5458
5486
|
title: "요금제 가입하기",
|
|
5459
5487
|
subtitle: "아래 요금제 중 하나를 선택하고 다음을 클릭하세요."
|
|
@@ -5476,8 +5504,8 @@ var buttons$3 = {
|
|
|
5476
5504
|
back: "뒤로"
|
|
5477
5505
|
};
|
|
5478
5506
|
var select_ko = {
|
|
5479
|
-
messages: messages$
|
|
5480
|
-
labels: labels$
|
|
5507
|
+
messages: messages$9,
|
|
5508
|
+
labels: labels$c,
|
|
5481
5509
|
buttons: buttons$3
|
|
5482
5510
|
};
|
|
5483
5511
|
|
|
@@ -5511,50 +5539,50 @@ var notification_ko = {
|
|
|
5511
5539
|
confirm: confirm
|
|
5512
5540
|
};
|
|
5513
5541
|
|
|
5514
|
-
var labels$
|
|
5542
|
+
var labels$b = {
|
|
5515
5543
|
title: "Verify your email",
|
|
5516
5544
|
instructions: "You're on your way!\nLet's confirm your email address.\nClick on the verification link we've sent to your email:",
|
|
5517
5545
|
resend: "Resend email"
|
|
5518
5546
|
};
|
|
5519
|
-
var messages$
|
|
5547
|
+
var messages$8 = {
|
|
5520
5548
|
resent: "Resent successfully",
|
|
5521
5549
|
success: "Email verified successfully!"
|
|
5522
5550
|
};
|
|
5523
5551
|
var verifyEmail_en = {
|
|
5524
|
-
labels: labels$
|
|
5525
|
-
messages: messages$
|
|
5552
|
+
labels: labels$b,
|
|
5553
|
+
messages: messages$8
|
|
5526
5554
|
};
|
|
5527
5555
|
|
|
5528
|
-
var labels$
|
|
5556
|
+
var labels$a = {
|
|
5529
5557
|
title: "Confirmez votre courriel",
|
|
5530
5558
|
instructions: "Confirmez votre courriel.\nVeuillez cliquer sur le lien de vérification, qui vous a été envoyé à:",
|
|
5531
5559
|
resend: "Renvoyer le courriel"
|
|
5532
5560
|
};
|
|
5533
|
-
var messages$
|
|
5561
|
+
var messages$7 = {
|
|
5534
5562
|
resent: "Renvoyé avec succès",
|
|
5535
5563
|
success: "Adresse courriel vérifiée avec succès"
|
|
5536
5564
|
};
|
|
5537
5565
|
var verifyEmail_fr = {
|
|
5538
|
-
labels: labels$
|
|
5539
|
-
messages: messages$
|
|
5566
|
+
labels: labels$a,
|
|
5567
|
+
messages: messages$7
|
|
5540
5568
|
};
|
|
5541
5569
|
|
|
5542
|
-
var labels$
|
|
5570
|
+
var labels$9 = {
|
|
5543
5571
|
title: "이메일 주소를 인증하세요.",
|
|
5544
5572
|
instructions: "거의 완료되었습니다!\n이메일 주소만 인증하면 됩니다.\n다음 이메일 주소로 전송된 인증 링크를 클릭해 주십시오:",
|
|
5545
5573
|
resend: "이메일 재전송"
|
|
5546
5574
|
};
|
|
5547
|
-
var messages$
|
|
5575
|
+
var messages$6 = {
|
|
5548
5576
|
resent: "재전송 완료",
|
|
5549
5577
|
success: "이메일 주소가 인증되었습니다!"
|
|
5550
5578
|
};
|
|
5551
5579
|
var verifyEmail_ko = {
|
|
5552
|
-
labels: labels$
|
|
5553
|
-
messages: messages$
|
|
5580
|
+
labels: labels$9,
|
|
5581
|
+
messages: messages$6
|
|
5554
5582
|
};
|
|
5555
5583
|
|
|
5556
5584
|
var title$2 = "Invoice details";
|
|
5557
|
-
var labels$
|
|
5585
|
+
var labels$8 = {
|
|
5558
5586
|
summary: "Summary",
|
|
5559
5587
|
total: "Total",
|
|
5560
5588
|
amountPaid: "Amount paid",
|
|
@@ -5567,12 +5595,12 @@ var buttons$2 = {
|
|
|
5567
5595
|
};
|
|
5568
5596
|
var invoiceDetails_en = {
|
|
5569
5597
|
title: title$2,
|
|
5570
|
-
labels: labels$
|
|
5598
|
+
labels: labels$8,
|
|
5571
5599
|
buttons: buttons$2
|
|
5572
5600
|
};
|
|
5573
5601
|
|
|
5574
5602
|
var title$1 = "Détails de la facture";
|
|
5575
|
-
var labels$
|
|
5603
|
+
var labels$7 = {
|
|
5576
5604
|
summary: "Résumé",
|
|
5577
5605
|
total: "Total",
|
|
5578
5606
|
amountPaid: "Montant payé",
|
|
@@ -5585,12 +5613,12 @@ var buttons$1 = {
|
|
|
5585
5613
|
};
|
|
5586
5614
|
var invoiceDetails_fr = {
|
|
5587
5615
|
title: title$1,
|
|
5588
|
-
labels: labels$
|
|
5616
|
+
labels: labels$7,
|
|
5589
5617
|
buttons: buttons$1
|
|
5590
5618
|
};
|
|
5591
5619
|
|
|
5592
5620
|
var title = "인보이스 세부 정보";
|
|
5593
|
-
var labels$
|
|
5621
|
+
var labels$6 = {
|
|
5594
5622
|
summary: "요약",
|
|
5595
5623
|
total: "총계",
|
|
5596
5624
|
amountPaid: "지불된 금액",
|
|
@@ -5603,18 +5631,18 @@ var buttons = {
|
|
|
5603
5631
|
};
|
|
5604
5632
|
var invoiceDetails_ko = {
|
|
5605
5633
|
title: title,
|
|
5606
|
-
labels: labels$
|
|
5634
|
+
labels: labels$6,
|
|
5607
5635
|
buttons: buttons
|
|
5608
5636
|
};
|
|
5609
5637
|
|
|
5610
|
-
var labels$
|
|
5638
|
+
var labels$5 = {
|
|
5611
5639
|
title: "Cancel subscription",
|
|
5612
5640
|
cancelReason: "Cancellation reason",
|
|
5613
5641
|
subCancellation: {
|
|
5614
5642
|
goBack: "Go back"
|
|
5615
5643
|
}
|
|
5616
5644
|
};
|
|
5617
|
-
var messages$
|
|
5645
|
+
var messages$5 = {
|
|
5618
5646
|
subscriptionEnd: "This subscription is set to expire on",
|
|
5619
5647
|
cancelNow: "Cancel Subscription Now",
|
|
5620
5648
|
cancelLater: "Cancel at Period End",
|
|
@@ -5627,18 +5655,18 @@ var messages$2 = {
|
|
|
5627
5655
|
}
|
|
5628
5656
|
};
|
|
5629
5657
|
var subscriptionCancel_en = {
|
|
5630
|
-
labels: labels$
|
|
5631
|
-
messages: messages$
|
|
5658
|
+
labels: labels$5,
|
|
5659
|
+
messages: messages$5
|
|
5632
5660
|
};
|
|
5633
5661
|
|
|
5634
|
-
var labels$
|
|
5662
|
+
var labels$4 = {
|
|
5635
5663
|
title: "Annuler l'abonnement",
|
|
5636
5664
|
cancelReason: "Motif d'annulation",
|
|
5637
5665
|
subCancellation: {
|
|
5638
5666
|
goBack: "Retourner"
|
|
5639
5667
|
}
|
|
5640
5668
|
};
|
|
5641
|
-
var messages$
|
|
5669
|
+
var messages$4 = {
|
|
5642
5670
|
subscriptionEnd: "Cet abonnement doit expirer le",
|
|
5643
5671
|
cancelNow: "Cancel Subscription Now",
|
|
5644
5672
|
cancelLater: "Annuler l'abonnement maintenant",
|
|
@@ -5651,18 +5679,18 @@ var messages$1 = {
|
|
|
5651
5679
|
}
|
|
5652
5680
|
};
|
|
5653
5681
|
var subscriptionCancel_fr = {
|
|
5654
|
-
labels: labels$
|
|
5655
|
-
messages: messages$
|
|
5682
|
+
labels: labels$4,
|
|
5683
|
+
messages: messages$4
|
|
5656
5684
|
};
|
|
5657
5685
|
|
|
5658
|
-
var labels = {
|
|
5686
|
+
var labels$3 = {
|
|
5659
5687
|
title: "구독 취소",
|
|
5660
5688
|
cancelReason: "취소 사유",
|
|
5661
5689
|
subCancellation: {
|
|
5662
5690
|
goBack: "돌아가기"
|
|
5663
5691
|
}
|
|
5664
5692
|
};
|
|
5665
|
-
var messages = {
|
|
5693
|
+
var messages$3 = {
|
|
5666
5694
|
subscriptionEnd: "이 구독은 다음 날짜에 만료되도록 설정되었습니다.",
|
|
5667
5695
|
cancelNow: "지금 구독 취소",
|
|
5668
5696
|
cancelLater: "기간 종료 시 취소",
|
|
@@ -5675,6 +5703,78 @@ var messages = {
|
|
|
5675
5703
|
}
|
|
5676
5704
|
};
|
|
5677
5705
|
var subscriptionCancel_ko = {
|
|
5706
|
+
labels: labels$3,
|
|
5707
|
+
messages: messages$3
|
|
5708
|
+
};
|
|
5709
|
+
|
|
5710
|
+
var labels$2 = {
|
|
5711
|
+
title: "Suspend subscription",
|
|
5712
|
+
suspensionDate: "Suspension date",
|
|
5713
|
+
subCancellation: {
|
|
5714
|
+
goBack: "Go back"
|
|
5715
|
+
}
|
|
5716
|
+
};
|
|
5717
|
+
var messages$2 = {
|
|
5718
|
+
suspensionEnd: "The suspension is set to expire on",
|
|
5719
|
+
suspendNow: "Suspend Subscription Now",
|
|
5720
|
+
suspendLater: "Suspend at Period End",
|
|
5721
|
+
subCancellation: {
|
|
5722
|
+
isSureToSuspendNow: "Are you sure you want to suspend your subscription immediately?",
|
|
5723
|
+
isSureToSuspend: "Are you sure you want to suspend your subscription?",
|
|
5724
|
+
loading: "Suspending your subscription",
|
|
5725
|
+
success: "Subscription is successfully suspended",
|
|
5726
|
+
error: "Error while suspending your subscription"
|
|
5727
|
+
}
|
|
5728
|
+
};
|
|
5729
|
+
var subscriptionSuspend_en = {
|
|
5730
|
+
labels: labels$2,
|
|
5731
|
+
messages: messages$2
|
|
5732
|
+
};
|
|
5733
|
+
|
|
5734
|
+
var labels$1 = {
|
|
5735
|
+
title: "Suspendre l'abonnement",
|
|
5736
|
+
suspensionDate: "Date de suspension",
|
|
5737
|
+
subCancellation: {
|
|
5738
|
+
goBack: "Revenir en arrière"
|
|
5739
|
+
}
|
|
5740
|
+
};
|
|
5741
|
+
var messages$1 = {
|
|
5742
|
+
suspensionEnd: "La suspension doit expirer le",
|
|
5743
|
+
suspendNow: "Suspendre l'abonnement maintenant",
|
|
5744
|
+
suspendLater: "Suspendre à la fin de la période",
|
|
5745
|
+
subCancellation: {
|
|
5746
|
+
isSureToSuspendNow: "Êtes-vous sûr de vouloir suspendre votre abonnement immédiatement ?",
|
|
5747
|
+
isSureToSuspend: "Êtes-vous sûr de vouloir suspendre votre abonnement ?",
|
|
5748
|
+
loading: "Suspension de votre abonnement",
|
|
5749
|
+
success: "L'abonnement a été suspendu avec succès",
|
|
5750
|
+
error: "Erreur lors de la suspension de votre abonnement"
|
|
5751
|
+
}
|
|
5752
|
+
};
|
|
5753
|
+
var subscriptionSuspend_fr = {
|
|
5754
|
+
labels: labels$1,
|
|
5755
|
+
messages: messages$1
|
|
5756
|
+
};
|
|
5757
|
+
|
|
5758
|
+
var labels = {
|
|
5759
|
+
title: "구독 중단",
|
|
5760
|
+
suspensionDate: "중단 날짜",
|
|
5761
|
+
subCancellation: {
|
|
5762
|
+
goBack: "돌아가기"
|
|
5763
|
+
}
|
|
5764
|
+
};
|
|
5765
|
+
var messages = {
|
|
5766
|
+
suspensionEnd: "일시 중지가 만료되도록 설정되었습니다.",
|
|
5767
|
+
suspendNow: "지금 구독 일시 중단",
|
|
5768
|
+
suspendLater: "기간 종료 시 일시 중단",
|
|
5769
|
+
subCancellation: {
|
|
5770
|
+
isSureToSuspendNow: "구독을 즉시 중단하시겠습니까?",
|
|
5771
|
+
isSureToSuspend: "구독을 일시 중단하시겠습니까?",
|
|
5772
|
+
loading: "구독 일시 중단",
|
|
5773
|
+
success: "구독이 성공적으로 일시 중단되었습니다",
|
|
5774
|
+
error: "구독을 일시 중단하는 동안 오류가 발생했습니다."
|
|
5775
|
+
}
|
|
5776
|
+
};
|
|
5777
|
+
var subscriptionSuspend_ko = {
|
|
5678
5778
|
labels: labels,
|
|
5679
5779
|
messages: messages
|
|
5680
5780
|
};
|
|
@@ -7075,7 +7175,7 @@ class PelcroActions {
|
|
|
7075
7175
|
view,
|
|
7076
7176
|
cartItems,
|
|
7077
7177
|
...otherStateFields
|
|
7078
|
-
} = initialState$
|
|
7178
|
+
} = initialState$m;
|
|
7079
7179
|
this.set(otherStateFields);
|
|
7080
7180
|
});
|
|
7081
7181
|
|
|
@@ -7099,9 +7199,8 @@ class PelcroActions {
|
|
|
7099
7199
|
return this.set({
|
|
7100
7200
|
view: "login"
|
|
7101
7201
|
});
|
|
7102
|
-
}
|
|
7202
|
+
} // console.log(this.get().isAuthenticated(), );
|
|
7103
7203
|
|
|
7104
|
-
console.log(this.get().isAuthenticated());
|
|
7105
7204
|
|
|
7106
7205
|
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))) {
|
|
7107
7206
|
return this.set({
|
|
@@ -7214,6 +7313,21 @@ class PelcroActions {
|
|
|
7214
7313
|
});
|
|
7215
7314
|
});
|
|
7216
7315
|
|
|
7316
|
+
_defineProperty$3(this, "setSubscriptionToSuspend", id => {
|
|
7317
|
+
var _window$Pelcro$subscr2;
|
|
7318
|
+
|
|
7319
|
+
const subscriptions = (_window$Pelcro$subscr2 = window.Pelcro.subscription.list()) !== null && _window$Pelcro$subscr2 !== void 0 ? _window$Pelcro$subscr2 : [];
|
|
7320
|
+
const subscriptionToSuspend = subscriptions.filter(sub => String(sub.id) === String(id))[0];
|
|
7321
|
+
|
|
7322
|
+
if (!subscriptionToSuspend) {
|
|
7323
|
+
return console.error("invalid subscription id");
|
|
7324
|
+
}
|
|
7325
|
+
|
|
7326
|
+
this.set({
|
|
7327
|
+
subscriptionToSuspend
|
|
7328
|
+
});
|
|
7329
|
+
});
|
|
7330
|
+
|
|
7217
7331
|
_defineProperty$3(this, "setInvoice", id => {
|
|
7218
7332
|
var _window$Pelcro$invoic;
|
|
7219
7333
|
|
|
@@ -7445,7 +7559,7 @@ class PelcroCallbacks {
|
|
|
7445
7559
|
|
|
7446
7560
|
}
|
|
7447
7561
|
|
|
7448
|
-
const initialState$
|
|
7562
|
+
const initialState$m = {
|
|
7449
7563
|
// View
|
|
7450
7564
|
view: null,
|
|
7451
7565
|
// Plans
|
|
@@ -7479,7 +7593,7 @@ const createPelcroStore = () => createStore(middleware_3((set, get) => {
|
|
|
7479
7593
|
return {
|
|
7480
7594
|
// Store setter
|
|
7481
7595
|
set,
|
|
7482
|
-
...initialState$
|
|
7596
|
+
...initialState$m,
|
|
7483
7597
|
// State actions
|
|
7484
7598
|
...actions,
|
|
7485
7599
|
// Callbacks
|
|
@@ -7875,7 +7989,8 @@ const resources = {
|
|
|
7875
7989
|
select: select_en,
|
|
7876
7990
|
notification: notification_en,
|
|
7877
7991
|
invoiceDetails: invoiceDetails_en,
|
|
7878
|
-
subscriptionCancel: subscriptionCancel_en
|
|
7992
|
+
subscriptionCancel: subscriptionCancel_en,
|
|
7993
|
+
subscriptionSuspend: subscriptionSuspend_en
|
|
7879
7994
|
},
|
|
7880
7995
|
fr: {
|
|
7881
7996
|
common: common_fr,
|
|
@@ -7902,7 +8017,8 @@ const resources = {
|
|
|
7902
8017
|
select: select_fr,
|
|
7903
8018
|
notification: notification_fr,
|
|
7904
8019
|
invoiceDetails: invoiceDetails_fr,
|
|
7905
|
-
subscriptionCancel: subscriptionCancel_fr
|
|
8020
|
+
subscriptionCancel: subscriptionCancel_fr,
|
|
8021
|
+
subscriptionSuspend: subscriptionSuspend_fr
|
|
7906
8022
|
},
|
|
7907
8023
|
ko: {
|
|
7908
8024
|
common: common_ko,
|
|
@@ -7929,7 +8045,8 @@ const resources = {
|
|
|
7929
8045
|
select: select_ko,
|
|
7930
8046
|
notification: notification_ko,
|
|
7931
8047
|
invoiceDetails: invoiceDetails_ko,
|
|
7932
|
-
subscriptionCancel: subscriptionCancel_ko
|
|
8048
|
+
subscriptionCancel: subscriptionCancel_ko,
|
|
8049
|
+
subscriptionSuspend: subscriptionSuspend_ko
|
|
7933
8050
|
}
|
|
7934
8051
|
}; // set UI language to the page language or default to the language in site settings
|
|
7935
8052
|
|
|
@@ -8220,8 +8337,8 @@ const saveToMetadataButton = new SaveToMetadataButtonClass();
|
|
|
8220
8337
|
|
|
8221
8338
|
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}}
|
|
8222
8339
|
|
|
8223
|
-
function _extends$
|
|
8224
|
-
_extends$
|
|
8340
|
+
function _extends$B() {
|
|
8341
|
+
_extends$B = Object.assign || function (target) {
|
|
8225
8342
|
for (var i = 1; i < arguments.length; i++) {
|
|
8226
8343
|
var source = arguments[i];
|
|
8227
8344
|
|
|
@@ -8235,7 +8352,7 @@ function _extends$A() {
|
|
|
8235
8352
|
return target;
|
|
8236
8353
|
};
|
|
8237
8354
|
|
|
8238
|
-
return _extends$
|
|
8355
|
+
return _extends$B.apply(this, arguments);
|
|
8239
8356
|
}
|
|
8240
8357
|
|
|
8241
8358
|
function _taggedTemplateLiteralLoose(strings, raw) {
|
|
@@ -8325,7 +8442,7 @@ var clearFromRemoveQueue = function clearFromRemoveQueue(toastId) {
|
|
|
8325
8442
|
var reducer = function reducer(state, action) {
|
|
8326
8443
|
switch (action.type) {
|
|
8327
8444
|
case ActionType.ADD_TOAST:
|
|
8328
|
-
return _extends$
|
|
8445
|
+
return _extends$B({}, state, {
|
|
8329
8446
|
toasts: [action.toast].concat(state.toasts).slice(0, TOAST_LIMIT)
|
|
8330
8447
|
});
|
|
8331
8448
|
|
|
@@ -8335,9 +8452,9 @@ var reducer = function reducer(state, action) {
|
|
|
8335
8452
|
clearFromRemoveQueue(action.toast.id);
|
|
8336
8453
|
}
|
|
8337
8454
|
|
|
8338
|
-
return _extends$
|
|
8455
|
+
return _extends$B({}, state, {
|
|
8339
8456
|
toasts: state.toasts.map(function (t) {
|
|
8340
|
-
return t.id === action.toast.id ? _extends$
|
|
8457
|
+
return t.id === action.toast.id ? _extends$B({}, t, action.toast) : t;
|
|
8341
8458
|
})
|
|
8342
8459
|
});
|
|
8343
8460
|
|
|
@@ -8364,9 +8481,9 @@ var reducer = function reducer(state, action) {
|
|
|
8364
8481
|
});
|
|
8365
8482
|
}
|
|
8366
8483
|
|
|
8367
|
-
return _extends$
|
|
8484
|
+
return _extends$B({}, state, {
|
|
8368
8485
|
toasts: state.toasts.map(function (t) {
|
|
8369
|
-
return t.id === toastId || toastId === undefined ? _extends$
|
|
8486
|
+
return t.id === toastId || toastId === undefined ? _extends$B({}, t, {
|
|
8370
8487
|
visible: false
|
|
8371
8488
|
}) : t;
|
|
8372
8489
|
})
|
|
@@ -8374,28 +8491,28 @@ var reducer = function reducer(state, action) {
|
|
|
8374
8491
|
|
|
8375
8492
|
case ActionType.REMOVE_TOAST:
|
|
8376
8493
|
if (action.toastId === undefined) {
|
|
8377
|
-
return _extends$
|
|
8494
|
+
return _extends$B({}, state, {
|
|
8378
8495
|
toasts: []
|
|
8379
8496
|
});
|
|
8380
8497
|
}
|
|
8381
8498
|
|
|
8382
|
-
return _extends$
|
|
8499
|
+
return _extends$B({}, state, {
|
|
8383
8500
|
toasts: state.toasts.filter(function (t) {
|
|
8384
8501
|
return t.id !== action.toastId;
|
|
8385
8502
|
})
|
|
8386
8503
|
});
|
|
8387
8504
|
|
|
8388
8505
|
case ActionType.START_PAUSE:
|
|
8389
|
-
return _extends$
|
|
8506
|
+
return _extends$B({}, state, {
|
|
8390
8507
|
pausedAt: action.time
|
|
8391
8508
|
});
|
|
8392
8509
|
|
|
8393
8510
|
case ActionType.END_PAUSE:
|
|
8394
8511
|
var diff = action.time - (state.pausedAt || 0);
|
|
8395
|
-
return _extends$
|
|
8512
|
+
return _extends$B({}, state, {
|
|
8396
8513
|
pausedAt: undefined,
|
|
8397
8514
|
toasts: state.toasts.map(function (t) {
|
|
8398
|
-
return _extends$
|
|
8515
|
+
return _extends$B({}, t, {
|
|
8399
8516
|
pauseDuration: t.pauseDuration + diff
|
|
8400
8517
|
});
|
|
8401
8518
|
})
|
|
@@ -8442,12 +8559,12 @@ var useStore = function useStore(toastOptions) {
|
|
|
8442
8559
|
var mergedToasts = state.toasts.map(function (t) {
|
|
8443
8560
|
var _toastOptions$t$type, _toastOptions, _toastOptions$t$type2;
|
|
8444
8561
|
|
|
8445
|
-
return _extends$
|
|
8562
|
+
return _extends$B({}, toastOptions, toastOptions[t.type], t, {
|
|
8446
8563
|
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],
|
|
8447
|
-
style: _extends$
|
|
8564
|
+
style: _extends$B({}, toastOptions.style, (_toastOptions$t$type2 = toastOptions[t.type]) == null ? void 0 : _toastOptions$t$type2.style, t.style)
|
|
8448
8565
|
});
|
|
8449
8566
|
});
|
|
8450
|
-
return _extends$
|
|
8567
|
+
return _extends$B({}, state, {
|
|
8451
8568
|
toasts: mergedToasts
|
|
8452
8569
|
});
|
|
8453
8570
|
};
|
|
@@ -8457,7 +8574,7 @@ var createToast = function createToast(message, type, opts) {
|
|
|
8457
8574
|
type = 'blank';
|
|
8458
8575
|
}
|
|
8459
8576
|
|
|
8460
|
-
return _extends$
|
|
8577
|
+
return _extends$B({
|
|
8461
8578
|
createdAt: Date.now(),
|
|
8462
8579
|
visible: true,
|
|
8463
8580
|
type: type,
|
|
@@ -8507,14 +8624,14 @@ toast.remove = function (toastId) {
|
|
|
8507
8624
|
};
|
|
8508
8625
|
|
|
8509
8626
|
toast.promise = function (promise, msgs, opts) {
|
|
8510
|
-
var id = toast.loading(msgs.loading, _extends$
|
|
8627
|
+
var id = toast.loading(msgs.loading, _extends$B({}, opts, opts == null ? void 0 : opts.loading));
|
|
8511
8628
|
promise.then(function (p) {
|
|
8512
|
-
toast.success(resolveValue(msgs.success, p), _extends$
|
|
8629
|
+
toast.success(resolveValue(msgs.success, p), _extends$B({
|
|
8513
8630
|
id: id
|
|
8514
8631
|
}, opts, opts == null ? void 0 : opts.success));
|
|
8515
8632
|
return p;
|
|
8516
8633
|
})["catch"](function (e) {
|
|
8517
|
-
toast.error(resolveValue(msgs.error, e), _extends$
|
|
8634
|
+
toast.error(resolveValue(msgs.error, e), _extends$B({
|
|
8518
8635
|
id: id
|
|
8519
8636
|
}, opts, opts == null ? void 0 : opts.error));
|
|
8520
8637
|
});
|
|
@@ -8853,7 +8970,7 @@ var ToastBar = /*#__PURE__*/memo(function (_ref2) {
|
|
|
8853
8970
|
var message = createElement(Message, Object.assign({}, toast.ariaProps), resolveValue(toast.message, toast));
|
|
8854
8971
|
return createElement(ToastBarBase, {
|
|
8855
8972
|
className: toast.className,
|
|
8856
|
-
style: _extends$
|
|
8973
|
+
style: _extends$B({}, animationStyle, style, toast.style)
|
|
8857
8974
|
}, typeof children === 'function' ? children({
|
|
8858
8975
|
icon: icon,
|
|
8859
8976
|
message: message
|
|
@@ -8883,7 +9000,7 @@ var getPositionStyle = function getPositionStyle(position, offset) {
|
|
|
8883
9000
|
} : position.includes('right') ? {
|
|
8884
9001
|
justifyContent: 'flex-end'
|
|
8885
9002
|
} : {};
|
|
8886
|
-
return _extends$
|
|
9003
|
+
return _extends$B({
|
|
8887
9004
|
left: 0,
|
|
8888
9005
|
right: 0,
|
|
8889
9006
|
display: 'flex',
|
|
@@ -8910,7 +9027,7 @@ var Toaster = function Toaster(_ref) {
|
|
|
8910
9027
|
handlers = _useToaster.handlers;
|
|
8911
9028
|
|
|
8912
9029
|
return createElement("div", {
|
|
8913
|
-
style: _extends$
|
|
9030
|
+
style: _extends$B({
|
|
8914
9031
|
position: 'fixed',
|
|
8915
9032
|
zIndex: 9999,
|
|
8916
9033
|
top: DEFAULT_OFFSET,
|
|
@@ -8945,82 +9062,82 @@ var Toaster = function Toaster(_ref) {
|
|
|
8945
9062
|
}));
|
|
8946
9063
|
};
|
|
8947
9064
|
|
|
8948
|
-
var _path$
|
|
9065
|
+
var _path$y;
|
|
8949
9066
|
|
|
8950
|
-
function _extends$
|
|
9067
|
+
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); }
|
|
8951
9068
|
|
|
8952
9069
|
function SvgCheckSolid(props) {
|
|
8953
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
9070
|
+
return /*#__PURE__*/React.createElement("svg", _extends$A({
|
|
8954
9071
|
xmlns: "http://www.w3.org/2000/svg",
|
|
8955
9072
|
className: "h-5 w-5",
|
|
8956
9073
|
viewBox: "0 0 20 20",
|
|
8957
9074
|
fill: "currentColor"
|
|
8958
|
-
}, props), _path$
|
|
9075
|
+
}, props), _path$y || (_path$y = /*#__PURE__*/React.createElement("path", {
|
|
8959
9076
|
fillRule: "evenodd",
|
|
8960
9077
|
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",
|
|
8961
9078
|
clipRule: "evenodd"
|
|
8962
9079
|
})));
|
|
8963
9080
|
}
|
|
8964
9081
|
|
|
8965
|
-
var _path$
|
|
9082
|
+
var _path$x;
|
|
8966
9083
|
|
|
8967
|
-
function _extends$
|
|
9084
|
+
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); }
|
|
8968
9085
|
|
|
8969
9086
|
function SvgXIcon(props) {
|
|
8970
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
9087
|
+
return /*#__PURE__*/React.createElement("svg", _extends$z({
|
|
8971
9088
|
xmlns: "http://www.w3.org/2000/svg",
|
|
8972
9089
|
viewBox: "0 0 20 20",
|
|
8973
9090
|
fill: "currentColor"
|
|
8974
|
-
}, props), _path$
|
|
9091
|
+
}, props), _path$x || (_path$x = /*#__PURE__*/React.createElement("path", {
|
|
8975
9092
|
fill: "evenodd",
|
|
8976
9093
|
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",
|
|
8977
9094
|
clipRule: "evenodd"
|
|
8978
9095
|
})));
|
|
8979
9096
|
}
|
|
8980
9097
|
|
|
8981
|
-
var _path$
|
|
9098
|
+
var _path$w;
|
|
8982
9099
|
|
|
8983
|
-
function _extends$
|
|
9100
|
+
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); }
|
|
8984
9101
|
|
|
8985
9102
|
function SvgXIconSolid(props) {
|
|
8986
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
9103
|
+
return /*#__PURE__*/React.createElement("svg", _extends$y({
|
|
8987
9104
|
className: "plc-w-4 plc-h-4",
|
|
8988
9105
|
fill: "currentColor",
|
|
8989
9106
|
xmlns: "http://www.w3.org/2000/svg",
|
|
8990
9107
|
viewBox: "0 0 100 100"
|
|
8991
|
-
}, props), _path$
|
|
9108
|
+
}, props), _path$w || (_path$w = /*#__PURE__*/React.createElement("path", {
|
|
8992
9109
|
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"
|
|
8993
9110
|
})));
|
|
8994
9111
|
}
|
|
8995
9112
|
|
|
8996
|
-
var _path$
|
|
9113
|
+
var _path$v;
|
|
8997
9114
|
|
|
8998
|
-
function _extends$
|
|
9115
|
+
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); }
|
|
8999
9116
|
|
|
9000
9117
|
function SvgExclamation(props) {
|
|
9001
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
9118
|
+
return /*#__PURE__*/React.createElement("svg", _extends$x({
|
|
9002
9119
|
className: "plc-w-4 plc-h-4 plc-mr-1",
|
|
9003
9120
|
xmlns: "http://www.w3.org/2000/svg",
|
|
9004
9121
|
viewBox: "0 0 20 20",
|
|
9005
9122
|
fill: "currentColor"
|
|
9006
|
-
}, props), _path$
|
|
9123
|
+
}, props), _path$v || (_path$v = /*#__PURE__*/React.createElement("path", {
|
|
9007
9124
|
fillRule: "evenodd",
|
|
9008
9125
|
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",
|
|
9009
9126
|
clipRule: "evenodd"
|
|
9010
9127
|
})));
|
|
9011
9128
|
}
|
|
9012
9129
|
|
|
9013
|
-
var _path$
|
|
9130
|
+
var _path$u, _path2$4;
|
|
9014
9131
|
|
|
9015
|
-
function _extends$
|
|
9132
|
+
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); }
|
|
9016
9133
|
|
|
9017
9134
|
function SvgSpinner(props) {
|
|
9018
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
9135
|
+
return /*#__PURE__*/React.createElement("svg", _extends$w({
|
|
9019
9136
|
className: "plc-animate-spin",
|
|
9020
9137
|
viewBox: "0 0 24 24",
|
|
9021
9138
|
fill: "currentColor",
|
|
9022
9139
|
xmlns: "http://www.w3.org/2000/svg"
|
|
9023
|
-
}, props), _path$
|
|
9140
|
+
}, props), _path$u || (_path$u = /*#__PURE__*/React.createElement("path", {
|
|
9024
9141
|
opacity: 0.2,
|
|
9025
9142
|
fill: "evenodd",
|
|
9026
9143
|
clipRule: "evenodd",
|
|
@@ -9191,6 +9308,9 @@ toast.confirm = (onConfirm, {
|
|
|
9191
9308
|
id,
|
|
9192
9309
|
...options
|
|
9193
9310
|
});
|
|
9311
|
+
setTimeout(() => {
|
|
9312
|
+
notify.dismiss(id);
|
|
9313
|
+
}, 3000);
|
|
9194
9314
|
};
|
|
9195
9315
|
|
|
9196
9316
|
const onFailure = errorValue => {
|
|
@@ -9198,6 +9318,9 @@ toast.confirm = (onConfirm, {
|
|
|
9198
9318
|
id,
|
|
9199
9319
|
...options
|
|
9200
9320
|
});
|
|
9321
|
+
setTimeout(() => {
|
|
9322
|
+
notify.dismiss(id);
|
|
9323
|
+
}, 3000);
|
|
9201
9324
|
};
|
|
9202
9325
|
};
|
|
9203
9326
|
|
|
@@ -10709,8 +10832,9 @@ const SWITCH_TO_UPDATE = "SWITCH_TO_UPDATE";
|
|
|
10709
10832
|
const LINK_TOKEN_VERIFY = "LINK_TOKEN_VERIFY";
|
|
10710
10833
|
const SET_CANCEL_SUBSCRIPTION_REASON = "SET_CANCEL_SUBSCRIPTION_REASON";
|
|
10711
10834
|
const HANDLE_CHECKBOX_CHANGE = "HANDLE_CHECKBOX_CHANGE";
|
|
10835
|
+
const SET_SUBSCRIPTION_SUSPEND_DATE = "SET_SUBSCRIPTION_SUSPEND_DATE";
|
|
10712
10836
|
|
|
10713
|
-
const initialState$
|
|
10837
|
+
const initialState$l = {
|
|
10714
10838
|
email: "",
|
|
10715
10839
|
password: "",
|
|
10716
10840
|
emailError: null,
|
|
@@ -10721,10 +10845,10 @@ const initialState$k = {
|
|
|
10721
10845
|
content: ""
|
|
10722
10846
|
}
|
|
10723
10847
|
};
|
|
10724
|
-
const store$
|
|
10848
|
+
const store$l = /*#__PURE__*/createContext(initialState$l);
|
|
10725
10849
|
const {
|
|
10726
|
-
Provider: Provider$
|
|
10727
|
-
} = store$
|
|
10850
|
+
Provider: Provider$l
|
|
10851
|
+
} = store$l;
|
|
10728
10852
|
|
|
10729
10853
|
const LoginContainer = ({
|
|
10730
10854
|
style,
|
|
@@ -10831,7 +10955,7 @@ const LoginContainer = ({
|
|
|
10831
10955
|
});
|
|
10832
10956
|
|
|
10833
10957
|
case RESET_LOGIN_FORM:
|
|
10834
|
-
return initialState$
|
|
10958
|
+
return initialState$l;
|
|
10835
10959
|
|
|
10836
10960
|
case DISABLE_LOGIN_BUTTON:
|
|
10837
10961
|
return lib_7({ ...state,
|
|
@@ -10849,12 +10973,12 @@ const LoginContainer = ({
|
|
|
10849
10973
|
default:
|
|
10850
10974
|
return state;
|
|
10851
10975
|
}
|
|
10852
|
-
}, initialState$
|
|
10976
|
+
}, initialState$l);
|
|
10853
10977
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
10854
10978
|
style: { ...style
|
|
10855
10979
|
},
|
|
10856
10980
|
className: `pelcro-container pelcro-login-container ${className}`
|
|
10857
|
-
}, /*#__PURE__*/React__default.createElement(Provider$
|
|
10981
|
+
}, /*#__PURE__*/React__default.createElement(Provider$l, {
|
|
10858
10982
|
value: {
|
|
10859
10983
|
state,
|
|
10860
10984
|
dispatch
|
|
@@ -10862,12 +10986,12 @@ const LoginContainer = ({
|
|
|
10862
10986
|
}, children.length ? children.map((child, i) => {
|
|
10863
10987
|
if (child) {
|
|
10864
10988
|
return /*#__PURE__*/React__default.cloneElement(child, {
|
|
10865
|
-
store: store$
|
|
10989
|
+
store: store$l,
|
|
10866
10990
|
key: i
|
|
10867
10991
|
});
|
|
10868
10992
|
}
|
|
10869
10993
|
}) : /*#__PURE__*/React__default.cloneElement(children, {
|
|
10870
|
-
store: store$
|
|
10994
|
+
store: store$l
|
|
10871
10995
|
})));
|
|
10872
10996
|
};
|
|
10873
10997
|
|
|
@@ -11125,7 +11249,7 @@ const LoginButton = ({
|
|
|
11125
11249
|
buttonDisabled
|
|
11126
11250
|
},
|
|
11127
11251
|
dispatch
|
|
11128
|
-
} = useContext(store$
|
|
11252
|
+
} = useContext(store$l);
|
|
11129
11253
|
const {
|
|
11130
11254
|
t
|
|
11131
11255
|
} = useTranslation("login");
|
|
@@ -11145,16 +11269,16 @@ const LoginButton = ({
|
|
|
11145
11269
|
}, otherProps), name !== null && name !== void 0 ? name : t("labels.login"));
|
|
11146
11270
|
};
|
|
11147
11271
|
|
|
11148
|
-
var _path$
|
|
11272
|
+
var _path$t, _path2$3;
|
|
11149
11273
|
|
|
11150
|
-
function _extends$
|
|
11274
|
+
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); }
|
|
11151
11275
|
|
|
11152
11276
|
function SvgEmailVerify(props) {
|
|
11153
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
11277
|
+
return /*#__PURE__*/React.createElement("svg", _extends$v({
|
|
11154
11278
|
className: "plc-w-6 plc-h-6",
|
|
11155
11279
|
viewBox: "0 0 700 700",
|
|
11156
11280
|
xmlns: "http://www.w3.org/2000/svg"
|
|
11157
|
-
}, props), _path$
|
|
11281
|
+
}, props), _path$t || (_path$t = /*#__PURE__*/React.createElement("path", {
|
|
11158
11282
|
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"
|
|
11159
11283
|
})), _path2$3 || (_path2$3 = /*#__PURE__*/React.createElement("path", {
|
|
11160
11284
|
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"
|
|
@@ -11183,23 +11307,23 @@ const LoginRequestLoginToken = ({
|
|
|
11183
11307
|
};
|
|
11184
11308
|
|
|
11185
11309
|
const LoginEmail = props => /*#__PURE__*/React__default.createElement(Email, Object.assign({
|
|
11186
|
-
store: store$
|
|
11310
|
+
store: store$l
|
|
11187
11311
|
}, props));
|
|
11188
11312
|
|
|
11189
11313
|
const LoginPassword = props => /*#__PURE__*/React__default.createElement(Password, Object.assign({
|
|
11190
|
-
store: store$
|
|
11314
|
+
store: store$l
|
|
11191
11315
|
}, props));
|
|
11192
11316
|
|
|
11193
|
-
var _path$
|
|
11317
|
+
var _path$s;
|
|
11194
11318
|
|
|
11195
|
-
function _extends$
|
|
11319
|
+
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); }
|
|
11196
11320
|
|
|
11197
11321
|
function SvgCheck(props) {
|
|
11198
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
11322
|
+
return /*#__PURE__*/React.createElement("svg", _extends$u({
|
|
11199
11323
|
xmlns: "http://www.w3.org/2000/svg",
|
|
11200
11324
|
fill: "currentColor",
|
|
11201
11325
|
viewBox: "0 0 20 20"
|
|
11202
|
-
}, props), _path$
|
|
11326
|
+
}, props), _path$s || (_path$s = /*#__PURE__*/React.createElement("path", {
|
|
11203
11327
|
fillRule: "evenodd",
|
|
11204
11328
|
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",
|
|
11205
11329
|
clipRule: "evenodd"
|
|
@@ -11264,7 +11388,7 @@ var facebookLoginRenderProps = createCommonjsModule(function (module, exports) {
|
|
|
11264
11388
|
var FacebookLogin = unwrapExports(facebookLoginRenderProps);
|
|
11265
11389
|
facebookLoginRenderProps.FacebookLogin;
|
|
11266
11390
|
|
|
11267
|
-
const initialState$
|
|
11391
|
+
const initialState$k = {
|
|
11268
11392
|
email: "",
|
|
11269
11393
|
password: "",
|
|
11270
11394
|
emailError: null,
|
|
@@ -11281,10 +11405,10 @@ const initialState$j = {
|
|
|
11281
11405
|
content: ""
|
|
11282
11406
|
}
|
|
11283
11407
|
};
|
|
11284
|
-
const store$
|
|
11408
|
+
const store$k = /*#__PURE__*/createContext(initialState$k);
|
|
11285
11409
|
const {
|
|
11286
|
-
Provider: Provider$
|
|
11287
|
-
} = store$
|
|
11410
|
+
Provider: Provider$k
|
|
11411
|
+
} = store$k;
|
|
11288
11412
|
|
|
11289
11413
|
const RegisterContainer = ({
|
|
11290
11414
|
style,
|
|
@@ -11467,7 +11591,7 @@ const RegisterContainer = ({
|
|
|
11467
11591
|
});
|
|
11468
11592
|
|
|
11469
11593
|
case RESET_LOGIN_FORM:
|
|
11470
|
-
return initialState$
|
|
11594
|
+
return initialState$k;
|
|
11471
11595
|
|
|
11472
11596
|
case DISABLE_REGISTRATION_BUTTON:
|
|
11473
11597
|
return lib_7({ ...state,
|
|
@@ -11485,12 +11609,12 @@ const RegisterContainer = ({
|
|
|
11485
11609
|
default:
|
|
11486
11610
|
return state;
|
|
11487
11611
|
}
|
|
11488
|
-
}, initialState$
|
|
11612
|
+
}, initialState$k);
|
|
11489
11613
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
11490
11614
|
style: { ...style
|
|
11491
11615
|
},
|
|
11492
11616
|
className: `pelcro-container pelcro-register-container ${className}`
|
|
11493
|
-
}, /*#__PURE__*/React__default.createElement(Provider$
|
|
11617
|
+
}, /*#__PURE__*/React__default.createElement(Provider$k, {
|
|
11494
11618
|
value: {
|
|
11495
11619
|
state,
|
|
11496
11620
|
dispatch
|
|
@@ -11498,12 +11622,12 @@ const RegisterContainer = ({
|
|
|
11498
11622
|
}, children.length ? children.map((child, i) => {
|
|
11499
11623
|
if (child) {
|
|
11500
11624
|
return /*#__PURE__*/React__default.cloneElement(child, {
|
|
11501
|
-
store: store$
|
|
11625
|
+
store: store$k,
|
|
11502
11626
|
key: i
|
|
11503
11627
|
});
|
|
11504
11628
|
}
|
|
11505
11629
|
}) : /*#__PURE__*/React__default.cloneElement(children, {
|
|
11506
|
-
store: store$
|
|
11630
|
+
store: store$k
|
|
11507
11631
|
})));
|
|
11508
11632
|
};
|
|
11509
11633
|
/**
|
|
@@ -11518,15 +11642,15 @@ function hasSecurityTokenEnabled$1() {
|
|
|
11518
11642
|
return hasSecuritySdkLoaded;
|
|
11519
11643
|
}
|
|
11520
11644
|
|
|
11521
|
-
var _path$
|
|
11645
|
+
var _path$r;
|
|
11522
11646
|
|
|
11523
|
-
function _extends$
|
|
11647
|
+
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); }
|
|
11524
11648
|
|
|
11525
11649
|
function SvgFacebookLogo(props) {
|
|
11526
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
11650
|
+
return /*#__PURE__*/React.createElement("svg", _extends$t({
|
|
11527
11651
|
xmlns: "http://www.w3.org/2000/svg",
|
|
11528
11652
|
viewBox: "88.428 12.828 107.543 207.085"
|
|
11529
|
-
}, props), _path$
|
|
11653
|
+
}, props), _path$r || (_path$r = /*#__PURE__*/React.createElement("path", {
|
|
11530
11654
|
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",
|
|
11531
11655
|
fill: "#3c5a9a"
|
|
11532
11656
|
})));
|
|
@@ -11543,10 +11667,10 @@ const FacebookLoginButton = ({
|
|
|
11543
11667
|
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;
|
|
11544
11668
|
const {
|
|
11545
11669
|
dispatch: loginDispatch
|
|
11546
|
-
} = useContext(store$
|
|
11670
|
+
} = useContext(store$l);
|
|
11547
11671
|
const {
|
|
11548
11672
|
dispatch: registerDispatch
|
|
11549
|
-
} = useContext(store$
|
|
11673
|
+
} = useContext(store$k);
|
|
11550
11674
|
|
|
11551
11675
|
const onSuccess = facebookUser => {
|
|
11552
11676
|
loginDispatch === null || loginDispatch === void 0 ? void 0 : loginDispatch({
|
|
@@ -11599,15 +11723,15 @@ var googleLogin = createCommonjsModule(function (module, exports) {
|
|
|
11599
11723
|
unwrapExports(googleLogin);
|
|
11600
11724
|
var googleLogin_1 = googleLogin.GoogleLogin;
|
|
11601
11725
|
|
|
11602
|
-
var _path$
|
|
11726
|
+
var _path$q, _path2$2, _path3$1, _path4;
|
|
11603
11727
|
|
|
11604
|
-
function _extends$
|
|
11728
|
+
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); }
|
|
11605
11729
|
|
|
11606
11730
|
function SvgGoogleLogo(props) {
|
|
11607
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
11731
|
+
return /*#__PURE__*/React.createElement("svg", _extends$s({
|
|
11608
11732
|
viewBox: "0 0 24 24",
|
|
11609
11733
|
xmlns: "http://www.w3.org/2000/svg"
|
|
11610
|
-
}, props), _path$
|
|
11734
|
+
}, props), _path$q || (_path$q = /*#__PURE__*/React.createElement("path", {
|
|
11611
11735
|
fill: "#4285F4",
|
|
11612
11736
|
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"
|
|
11613
11737
|
})), _path2$2 || (_path2$2 = /*#__PURE__*/React.createElement("path", {
|
|
@@ -11633,10 +11757,10 @@ const GoogleLoginButton = ({
|
|
|
11633
11757
|
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;
|
|
11634
11758
|
const {
|
|
11635
11759
|
dispatch: loginDispatch
|
|
11636
|
-
} = useContext(store$
|
|
11760
|
+
} = useContext(store$l);
|
|
11637
11761
|
const {
|
|
11638
11762
|
dispatch: registerDispatch
|
|
11639
|
-
} = useContext(store$
|
|
11763
|
+
} = useContext(store$k);
|
|
11640
11764
|
|
|
11641
11765
|
const onSuccess = response => {
|
|
11642
11766
|
var _response$getAuthResp, _profile$getEmail, _profile$getGivenName, _profile$getFamilyNam, _profile$getEmail2, _profile$getGivenName2, _profile$getFamilyNam2;
|
|
@@ -11684,15 +11808,15 @@ const GoogleLoginButton = ({
|
|
|
11684
11808
|
}) : null;
|
|
11685
11809
|
};
|
|
11686
11810
|
|
|
11687
|
-
var _path$
|
|
11811
|
+
var _path$p;
|
|
11688
11812
|
|
|
11689
|
-
function _extends$
|
|
11813
|
+
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); }
|
|
11690
11814
|
|
|
11691
11815
|
function SvgAuth0Logo(props) {
|
|
11692
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
11816
|
+
return /*#__PURE__*/React.createElement("svg", _extends$r({
|
|
11693
11817
|
viewBox: "0 0 256 285",
|
|
11694
11818
|
xmlns: "http://www.w3.org/2000/svg"
|
|
11695
|
-
}, props), _path$
|
|
11819
|
+
}, props), _path$p || (_path$p = /*#__PURE__*/React.createElement("path", {
|
|
11696
11820
|
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"
|
|
11697
11821
|
})));
|
|
11698
11822
|
}
|
|
@@ -11732,10 +11856,10 @@ const Auth0LoginButton = ({
|
|
|
11732
11856
|
}, [auth0Enabled, auth0Loaded]);
|
|
11733
11857
|
const {
|
|
11734
11858
|
dispatch: loginDispatch
|
|
11735
|
-
} = useContext(store$
|
|
11859
|
+
} = useContext(store$l);
|
|
11736
11860
|
const {
|
|
11737
11861
|
dispatch: registerDispatch
|
|
11738
|
-
} = useContext(store$
|
|
11862
|
+
} = useContext(store$k);
|
|
11739
11863
|
|
|
11740
11864
|
function handleClick() {
|
|
11741
11865
|
var _auth0InstanceRef$cur, _auth0InstanceRef$cur2, _auth0InstanceRef$cur3;
|
|
@@ -11884,15 +12008,15 @@ function LoginView(props) {
|
|
|
11884
12008
|
}))));
|
|
11885
12009
|
}
|
|
11886
12010
|
|
|
11887
|
-
var _path$
|
|
12011
|
+
var _path$o, _path2$1, _path3;
|
|
11888
12012
|
|
|
11889
|
-
function _extends$
|
|
12013
|
+
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); }
|
|
11890
12014
|
|
|
11891
12015
|
function SvgPelcroAuthorship(props) {
|
|
11892
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
12016
|
+
return /*#__PURE__*/React.createElement("svg", _extends$q({
|
|
11893
12017
|
xmlns: "http://www.w3.org/2000/svg",
|
|
11894
12018
|
viewBox: "0 -80.652 497.072 179.991"
|
|
11895
|
-
}, props), _path$
|
|
12019
|
+
}, props), _path$o || (_path$o = /*#__PURE__*/React.createElement("path", {
|
|
11896
12020
|
fill: "none",
|
|
11897
12021
|
stroke: "#4a4a4a",
|
|
11898
12022
|
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"
|
|
@@ -12044,11 +12168,11 @@ function LoginModal({
|
|
|
12044
12168
|
LoginModal.viewId = "login";
|
|
12045
12169
|
|
|
12046
12170
|
const RegisterEmail = props => /*#__PURE__*/React__default.createElement(Email, Object.assign({
|
|
12047
|
-
store: store$
|
|
12171
|
+
store: store$k
|
|
12048
12172
|
}, props));
|
|
12049
12173
|
|
|
12050
12174
|
const RegisterPassword = props => /*#__PURE__*/React__default.createElement(Password, Object.assign({
|
|
12051
|
-
store: store$
|
|
12175
|
+
store: store$k
|
|
12052
12176
|
}, props));
|
|
12053
12177
|
|
|
12054
12178
|
const RegisterButton = ({
|
|
@@ -12068,7 +12192,7 @@ const RegisterButton = ({
|
|
|
12068
12192
|
buttonDisabled
|
|
12069
12193
|
},
|
|
12070
12194
|
dispatch
|
|
12071
|
-
} = useContext(store$
|
|
12195
|
+
} = useContext(store$k);
|
|
12072
12196
|
const {
|
|
12073
12197
|
t
|
|
12074
12198
|
} = useTranslation("register");
|
|
@@ -12206,7 +12330,7 @@ function FirstName({
|
|
|
12206
12330
|
}
|
|
12207
12331
|
|
|
12208
12332
|
const RegisterFirstName = props => /*#__PURE__*/React__default.createElement(FirstName, Object.assign({
|
|
12209
|
-
store: store$
|
|
12333
|
+
store: store$k
|
|
12210
12334
|
}, props));
|
|
12211
12335
|
|
|
12212
12336
|
function LastName({
|
|
@@ -12237,7 +12361,7 @@ function LastName({
|
|
|
12237
12361
|
}
|
|
12238
12362
|
|
|
12239
12363
|
const RegisterLastName = props => /*#__PURE__*/React__default.createElement(LastName, Object.assign({
|
|
12240
|
-
store: store$
|
|
12364
|
+
store: store$k
|
|
12241
12365
|
}, props));
|
|
12242
12366
|
|
|
12243
12367
|
/**
|
|
@@ -12361,7 +12485,7 @@ function TextInput({
|
|
|
12361
12485
|
|
|
12362
12486
|
const RegisterTextInput = props => {
|
|
12363
12487
|
return /*#__PURE__*/React__default.createElement(TextInput, Object.assign({}, props, {
|
|
12364
|
-
store: store$
|
|
12488
|
+
store: store$k
|
|
12365
12489
|
}));
|
|
12366
12490
|
};
|
|
12367
12491
|
|
|
@@ -14705,7 +14829,7 @@ class VantivGateway {
|
|
|
14705
14829
|
|
|
14706
14830
|
/** @type {PaymentStateType} */
|
|
14707
14831
|
|
|
14708
|
-
const initialState$
|
|
14832
|
+
const initialState$j = {
|
|
14709
14833
|
disableSubmit: false,
|
|
14710
14834
|
isLoading: false,
|
|
14711
14835
|
disableCouponButton: false,
|
|
@@ -14724,10 +14848,10 @@ const initialState$i = {
|
|
|
14724
14848
|
content: ""
|
|
14725
14849
|
}
|
|
14726
14850
|
};
|
|
14727
|
-
const store$
|
|
14851
|
+
const store$j = /*#__PURE__*/createContext(initialState$j);
|
|
14728
14852
|
const {
|
|
14729
|
-
Provider: Provider$
|
|
14730
|
-
} = store$
|
|
14853
|
+
Provider: Provider$j
|
|
14854
|
+
} = store$j;
|
|
14731
14855
|
|
|
14732
14856
|
const PaymentMethodContainerWithoutStripe = ({
|
|
14733
14857
|
style,
|
|
@@ -14807,9 +14931,17 @@ const PaymentMethodContainerWithoutStripe = ({
|
|
|
14807
14931
|
const SUCCESS_STATUS = "870";
|
|
14808
14932
|
|
|
14809
14933
|
if (paymentRequest.response !== SUCCESS_STATUS) {
|
|
14810
|
-
|
|
14811
|
-
|
|
14812
|
-
|
|
14934
|
+
switch (paymentRequest.response) {
|
|
14935
|
+
case "871":
|
|
14936
|
+
return handlePaymentError({
|
|
14937
|
+
error: new Error("Invalid account number")
|
|
14938
|
+
});
|
|
14939
|
+
|
|
14940
|
+
default:
|
|
14941
|
+
return handlePaymentError({
|
|
14942
|
+
error: new Error(paymentRequest.message)
|
|
14943
|
+
});
|
|
14944
|
+
}
|
|
14813
14945
|
}
|
|
14814
14946
|
}
|
|
14815
14947
|
|
|
@@ -14958,7 +15090,7 @@ const PaymentMethodContainerWithoutStripe = ({
|
|
|
14958
15090
|
vantivInstanceRef.current = new window.EprotectIframeClient({
|
|
14959
15091
|
paypageId: payPageId,
|
|
14960
15092
|
reportGroup: reportGroup,
|
|
14961
|
-
style: "
|
|
15093
|
+
style: "enhancedStyle3",
|
|
14962
15094
|
height: "245",
|
|
14963
15095
|
timeout: 50000,
|
|
14964
15096
|
div: "eProtectiframe",
|
|
@@ -15985,21 +16117,21 @@ const PaymentMethodContainerWithoutStripe = ({
|
|
|
15985
16117
|
default:
|
|
15986
16118
|
return state;
|
|
15987
16119
|
}
|
|
15988
|
-
}, initialState$
|
|
16120
|
+
}, initialState$j);
|
|
15989
16121
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
15990
16122
|
style: { ...style
|
|
15991
16123
|
},
|
|
15992
16124
|
className: `pelcro-container pelcro-payment-container ${className}`
|
|
15993
|
-
}, /*#__PURE__*/React__default.createElement(Provider$
|
|
16125
|
+
}, /*#__PURE__*/React__default.createElement(Provider$j, {
|
|
15994
16126
|
value: {
|
|
15995
16127
|
state,
|
|
15996
16128
|
dispatch
|
|
15997
16129
|
}
|
|
15998
16130
|
}, children.length ? children.map((child, i) => /*#__PURE__*/React__default.cloneElement(child, {
|
|
15999
|
-
store: store$
|
|
16131
|
+
store: store$j,
|
|
16000
16132
|
key: i
|
|
16001
16133
|
})) : /*#__PURE__*/React__default.cloneElement(children, {
|
|
16002
|
-
store: store$
|
|
16134
|
+
store: store$j
|
|
16003
16135
|
})));
|
|
16004
16136
|
};
|
|
16005
16137
|
|
|
@@ -16021,7 +16153,7 @@ const PaymentMethodContainer = props => {
|
|
|
16021
16153
|
stripeAccount: window.Pelcro.site.read().account_id,
|
|
16022
16154
|
locale: getPageOrDefaultLanguage()
|
|
16023
16155
|
}, /*#__PURE__*/React__default.createElement(es_11, null, /*#__PURE__*/React__default.createElement(UnwrappedForm, Object.assign({
|
|
16024
|
-
store: store$
|
|
16156
|
+
store: store$j
|
|
16025
16157
|
}, props))));
|
|
16026
16158
|
}
|
|
16027
16159
|
|
|
@@ -16074,7 +16206,7 @@ const PelcroPaymentRequestButton = props => {
|
|
|
16074
16206
|
currentPlan,
|
|
16075
16207
|
updatedPrice
|
|
16076
16208
|
}
|
|
16077
|
-
} = useContext(store$
|
|
16209
|
+
} = useContext(store$j);
|
|
16078
16210
|
|
|
16079
16211
|
const updatePaymentRequest = () => {
|
|
16080
16212
|
// Make sure payment request is up to date, eg. user added a coupon code.
|
|
@@ -16150,7 +16282,7 @@ const DiscountedPrice = props => {
|
|
|
16150
16282
|
taxAmount,
|
|
16151
16283
|
percentOff
|
|
16152
16284
|
}
|
|
16153
|
-
} = useContext(store$
|
|
16285
|
+
} = useContext(store$j);
|
|
16154
16286
|
const {
|
|
16155
16287
|
order,
|
|
16156
16288
|
plan
|
|
@@ -16200,7 +16332,7 @@ const SubmitPaymentMethod = ({
|
|
|
16200
16332
|
isLoading,
|
|
16201
16333
|
updatedPrice
|
|
16202
16334
|
}
|
|
16203
|
-
} = useContext(store$
|
|
16335
|
+
} = useContext(store$j);
|
|
16204
16336
|
const planQuantity = (_plan$quantity = plan === null || plan === void 0 ? void 0 : plan.quantity) !== null && _plan$quantity !== void 0 ? _plan$quantity : 1;
|
|
16205
16337
|
const price = updatedPrice !== null && updatedPrice !== void 0 ? updatedPrice : plan === null || plan === void 0 ? void 0 : plan.amount;
|
|
16206
16338
|
const priceFormatted = getFormattedPriceByLocal(price * planQuantity, plan === null || plan === void 0 ? void 0 : plan.currency, getPageOrDefaultLanguage());
|
|
@@ -16221,17 +16353,17 @@ const SubmitPaymentMethod = ({
|
|
|
16221
16353
|
}, t("labels.pay"), " ", priceFormatted && priceFormatted) : t("labels.submit"));
|
|
16222
16354
|
};
|
|
16223
16355
|
|
|
16224
|
-
var _path$
|
|
16356
|
+
var _path$n;
|
|
16225
16357
|
|
|
16226
|
-
function _extends$
|
|
16358
|
+
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); }
|
|
16227
16359
|
|
|
16228
16360
|
function SvgArrowLeft(props) {
|
|
16229
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
16361
|
+
return /*#__PURE__*/React.createElement("svg", _extends$p({
|
|
16230
16362
|
xmlns: "http://www.w3.org/2000/svg",
|
|
16231
16363
|
fill: "none",
|
|
16232
16364
|
viewBox: "0 0 24 24",
|
|
16233
16365
|
stroke: "currentColor"
|
|
16234
|
-
}, props), _path$
|
|
16366
|
+
}, props), _path$n || (_path$n = /*#__PURE__*/React.createElement("path", {
|
|
16235
16367
|
strokeLinecap: "round",
|
|
16236
16368
|
strokeLinejoin: "round",
|
|
16237
16369
|
strokeWidth: 2,
|
|
@@ -16250,7 +16382,7 @@ const ApplyCouponButton = ({
|
|
|
16250
16382
|
disableCouponButton
|
|
16251
16383
|
},
|
|
16252
16384
|
dispatch
|
|
16253
|
-
} = useContext(store$
|
|
16385
|
+
} = useContext(store$j);
|
|
16254
16386
|
const {
|
|
16255
16387
|
t
|
|
16256
16388
|
} = useTranslation("checkoutForm");
|
|
@@ -16284,7 +16416,7 @@ const CouponCodeField = props => {
|
|
|
16284
16416
|
couponCode,
|
|
16285
16417
|
couponError
|
|
16286
16418
|
}
|
|
16287
|
-
} = useContext(store$
|
|
16419
|
+
} = useContext(store$j);
|
|
16288
16420
|
|
|
16289
16421
|
const onCouponCodeChange = e => {
|
|
16290
16422
|
dispatch({
|
|
@@ -16313,17 +16445,17 @@ const CouponCodeField = props => {
|
|
|
16313
16445
|
}, props));
|
|
16314
16446
|
};
|
|
16315
16447
|
|
|
16316
|
-
var _path$
|
|
16448
|
+
var _path$m;
|
|
16317
16449
|
|
|
16318
|
-
function _extends$
|
|
16450
|
+
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); }
|
|
16319
16451
|
|
|
16320
16452
|
function SvgTicket(props) {
|
|
16321
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
16453
|
+
return /*#__PURE__*/React.createElement("svg", _extends$o({
|
|
16322
16454
|
xmlns: "http://www.w3.org/2000/svg",
|
|
16323
16455
|
fill: "none",
|
|
16324
16456
|
viewBox: "0 0 24 24",
|
|
16325
16457
|
stroke: "currentColor"
|
|
16326
|
-
}, props), _path$
|
|
16458
|
+
}, props), _path$m || (_path$m = /*#__PURE__*/React.createElement("path", {
|
|
16327
16459
|
strokeLinecap: "round",
|
|
16328
16460
|
strokeLinejoin: "round",
|
|
16329
16461
|
strokeWidth: 2,
|
|
@@ -16340,7 +16472,7 @@ const CouponCode = ({
|
|
|
16340
16472
|
state: {
|
|
16341
16473
|
enableCouponField
|
|
16342
16474
|
}
|
|
16343
|
-
} = useContext(store$
|
|
16475
|
+
} = useContext(store$j);
|
|
16344
16476
|
const {
|
|
16345
16477
|
t
|
|
16346
16478
|
} = useTranslation("checkoutForm");
|
|
@@ -16597,7 +16729,7 @@ const PaypalSubscribeButton = props => {
|
|
|
16597
16729
|
const {
|
|
16598
16730
|
dispatch,
|
|
16599
16731
|
state
|
|
16600
|
-
} = useContext(store$
|
|
16732
|
+
} = useContext(store$j);
|
|
16601
16733
|
const {
|
|
16602
16734
|
product,
|
|
16603
16735
|
plan,
|
|
@@ -16704,16 +16836,16 @@ const BankRedirection = () => {
|
|
|
16704
16836
|
}));
|
|
16705
16837
|
};
|
|
16706
16838
|
|
|
16707
|
-
var _path$
|
|
16839
|
+
var _path$l;
|
|
16708
16840
|
|
|
16709
|
-
function _extends$
|
|
16841
|
+
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); }
|
|
16710
16842
|
|
|
16711
16843
|
function SvgLock(props) {
|
|
16712
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
16844
|
+
return /*#__PURE__*/React.createElement("svg", _extends$n({
|
|
16713
16845
|
xmlns: "http://www.w3.org/2000/svg",
|
|
16714
16846
|
viewBox: "0 0 20 20",
|
|
16715
16847
|
fill: "currentColor"
|
|
16716
|
-
}, props), _path$
|
|
16848
|
+
}, props), _path$l || (_path$l = /*#__PURE__*/React.createElement("path", {
|
|
16717
16849
|
fillRule: "evenodd",
|
|
16718
16850
|
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",
|
|
16719
16851
|
clipRule: "evenodd"
|
|
@@ -16730,7 +16862,7 @@ const SelectedPaymentMethod = () => {
|
|
|
16730
16862
|
state: {
|
|
16731
16863
|
isLoading
|
|
16732
16864
|
}
|
|
16733
|
-
} = useContext(store$
|
|
16865
|
+
} = useContext(store$j);
|
|
16734
16866
|
const {
|
|
16735
16867
|
switchView,
|
|
16736
16868
|
selectedPaymentMethodId
|
|
@@ -16772,7 +16904,7 @@ const TaxAmount = () => {
|
|
|
16772
16904
|
state: {
|
|
16773
16905
|
taxAmount
|
|
16774
16906
|
}
|
|
16775
|
-
} = useContext(store$
|
|
16907
|
+
} = useContext(store$j);
|
|
16776
16908
|
const {
|
|
16777
16909
|
plan
|
|
16778
16910
|
} = usePelcro();
|
|
@@ -16939,13 +17071,13 @@ function SubscriptionRenewModal({
|
|
|
16939
17071
|
}
|
|
16940
17072
|
SubscriptionRenewModal.viewId = "subscription-renew";
|
|
16941
17073
|
|
|
16942
|
-
const initialState$
|
|
17074
|
+
const initialState$i = {
|
|
16943
17075
|
cancelationReason: ""
|
|
16944
17076
|
};
|
|
16945
|
-
const store$
|
|
17077
|
+
const store$i = /*#__PURE__*/createContext(initialState$i);
|
|
16946
17078
|
const {
|
|
16947
|
-
Provider: Provider$
|
|
16948
|
-
} = store$
|
|
17079
|
+
Provider: Provider$i
|
|
17080
|
+
} = store$i;
|
|
16949
17081
|
|
|
16950
17082
|
const SubscriptionCancelContainer = ({
|
|
16951
17083
|
style,
|
|
@@ -16966,36 +17098,36 @@ const SubscriptionCancelContainer = ({
|
|
|
16966
17098
|
default:
|
|
16967
17099
|
return state;
|
|
16968
17100
|
}
|
|
16969
|
-
}, initialState$
|
|
17101
|
+
}, initialState$i);
|
|
16970
17102
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
16971
17103
|
style: { ...style
|
|
16972
17104
|
},
|
|
16973
17105
|
className: `pelcro-container pelcro-subscription-cancel-container ${className}`
|
|
16974
|
-
}, /*#__PURE__*/React__default.createElement(Provider$
|
|
17106
|
+
}, /*#__PURE__*/React__default.createElement(Provider$i, {
|
|
16975
17107
|
value: {
|
|
16976
17108
|
state,
|
|
16977
17109
|
dispatch
|
|
16978
17110
|
}
|
|
16979
17111
|
}, children.length ? children.map((child, i) => /*#__PURE__*/React__default.cloneElement(child, {
|
|
16980
|
-
store: store$
|
|
17112
|
+
store: store$i,
|
|
16981
17113
|
key: i
|
|
16982
17114
|
})) : /*#__PURE__*/React__default.cloneElement(children, {
|
|
16983
|
-
store: store$
|
|
17115
|
+
store: store$i
|
|
16984
17116
|
})));
|
|
16985
17117
|
};
|
|
16986
17118
|
|
|
16987
|
-
var _path$
|
|
17119
|
+
var _path$k;
|
|
16988
17120
|
|
|
16989
|
-
function _extends$
|
|
17121
|
+
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); }
|
|
16990
17122
|
|
|
16991
17123
|
function SvgInfoCircle(props) {
|
|
16992
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
17124
|
+
return /*#__PURE__*/React.createElement("svg", _extends$m({
|
|
16993
17125
|
xmlns: "http://www.w3.org/2000/svg",
|
|
16994
17126
|
className: "plc-w-5 plc-h-5",
|
|
16995
17127
|
fill: "none",
|
|
16996
17128
|
viewBox: "0 0 24 24",
|
|
16997
17129
|
stroke: "currentColor"
|
|
16998
|
-
}, props), _path$
|
|
17130
|
+
}, props), _path$k || (_path$k = /*#__PURE__*/React.createElement("path", {
|
|
16999
17131
|
strokeLinecap: "round",
|
|
17000
17132
|
strokeLinejoin: "round",
|
|
17001
17133
|
strokeWidth: 2,
|
|
@@ -17065,7 +17197,7 @@ const SubscriptionCancelReason = props => {
|
|
|
17065
17197
|
const {
|
|
17066
17198
|
dispatch,
|
|
17067
17199
|
state
|
|
17068
|
-
} = useContext(store$
|
|
17200
|
+
} = useContext(store$i);
|
|
17069
17201
|
|
|
17070
17202
|
const handleOnTextAreaBlur = e => {
|
|
17071
17203
|
dispatch({
|
|
@@ -17082,10 +17214,10 @@ const SubscriptionCancelReason = props => {
|
|
|
17082
17214
|
|
|
17083
17215
|
var _switch;
|
|
17084
17216
|
|
|
17085
|
-
function _extends$
|
|
17217
|
+
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); }
|
|
17086
17218
|
|
|
17087
17219
|
function SvgSubscription(props) {
|
|
17088
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
17220
|
+
return /*#__PURE__*/React.createElement("svg", _extends$l({
|
|
17089
17221
|
xmlns: "http://www.w3.org/2000/svg",
|
|
17090
17222
|
viewBox: "0 0 100 125",
|
|
17091
17223
|
fill: "currentColor"
|
|
@@ -17113,7 +17245,7 @@ const SubscriptionCancelNowButton = ({
|
|
|
17113
17245
|
cancelationReason
|
|
17114
17246
|
},
|
|
17115
17247
|
dispatch
|
|
17116
|
-
} = useContext(store$
|
|
17248
|
+
} = useContext(store$i);
|
|
17117
17249
|
const {
|
|
17118
17250
|
t
|
|
17119
17251
|
} = useTranslation("subscriptionCancel");
|
|
@@ -17185,19 +17317,260 @@ const SubscriptionCancelLaterButton = ({
|
|
|
17185
17317
|
cancelationReason
|
|
17186
17318
|
},
|
|
17187
17319
|
dispatch
|
|
17320
|
+
} = useContext(store$i);
|
|
17321
|
+
const {
|
|
17322
|
+
t
|
|
17323
|
+
} = useTranslation("subscriptionCancel");
|
|
17324
|
+
|
|
17325
|
+
const cancelSubscription = (payload, onSuccess, onFailure) => {
|
|
17326
|
+
window.Pelcro.subscription.cancel({
|
|
17327
|
+
auth_token: window.Pelcro.user.read().auth_token,
|
|
17328
|
+
subscription_id: payload.subscription_id,
|
|
17329
|
+
mode: payload.mode,
|
|
17330
|
+
...(payload.reason && {
|
|
17331
|
+
reason: payload.reason
|
|
17332
|
+
})
|
|
17333
|
+
}, (err, res) => {
|
|
17334
|
+
var _ReactGA$event;
|
|
17335
|
+
|
|
17336
|
+
if (err) {
|
|
17337
|
+
return onFailure === null || onFailure === void 0 ? void 0 : onFailure(err);
|
|
17338
|
+
}
|
|
17339
|
+
|
|
17340
|
+
ReactGA === null || ReactGA === void 0 ? void 0 : (_ReactGA$event = ReactGA.event) === null || _ReactGA$event === void 0 ? void 0 : _ReactGA$event.call(ReactGA, {
|
|
17341
|
+
category: "ACTIONS",
|
|
17342
|
+
action: "Canceled",
|
|
17343
|
+
nonInteraction: true
|
|
17344
|
+
});
|
|
17345
|
+
onSuccess === null || onSuccess === void 0 ? void 0 : onSuccess(res);
|
|
17346
|
+
});
|
|
17347
|
+
};
|
|
17348
|
+
|
|
17349
|
+
const handleCancelNowClick = () => {
|
|
17350
|
+
const payload = {
|
|
17351
|
+
subscription_id: subscription.id,
|
|
17352
|
+
mode: "period_end",
|
|
17353
|
+
...(cancelationReason && {
|
|
17354
|
+
reason: cancelationReason
|
|
17355
|
+
})
|
|
17356
|
+
};
|
|
17357
|
+
onClick === null || onClick === void 0 ? void 0 : onClick(); //Close the modal
|
|
17358
|
+
|
|
17359
|
+
switchView(null); //Show confirmation alert after closing the modal
|
|
17360
|
+
|
|
17361
|
+
notify.confirm((onSuccess, onFailure) => {
|
|
17362
|
+
cancelSubscription(payload, onSuccess, onFailure);
|
|
17363
|
+
}, {
|
|
17364
|
+
confirmMessage: t("messages.subCancellation.isSureToCancel"),
|
|
17365
|
+
loadingMessage: t("messages.subCancellation.loading"),
|
|
17366
|
+
successMessage: t("messages.subCancellation.success"),
|
|
17367
|
+
errorMessage: t("messages.subCancellation.error")
|
|
17368
|
+
}, {
|
|
17369
|
+
closeButtonLabel: t("labels.subCancellation.goBack")
|
|
17370
|
+
});
|
|
17371
|
+
};
|
|
17372
|
+
|
|
17373
|
+
return /*#__PURE__*/React__default.createElement(Button, {
|
|
17374
|
+
onClick: handleCancelNowClick,
|
|
17375
|
+
className: `${className}`
|
|
17376
|
+
}, t("messages.cancelLater"));
|
|
17377
|
+
};
|
|
17378
|
+
|
|
17379
|
+
const SubscriptionCancelView = props => {
|
|
17380
|
+
const {
|
|
17381
|
+
subscriptionToCancel
|
|
17382
|
+
} = usePelcro();
|
|
17383
|
+
const {
|
|
17384
|
+
t
|
|
17385
|
+
} = useTranslation("subscriptionCancel");
|
|
17386
|
+
return /*#__PURE__*/React__default.createElement("div", {
|
|
17387
|
+
id: "pelcro-subscription-cancel-view"
|
|
17388
|
+
}, /*#__PURE__*/React__default.createElement("div", {
|
|
17389
|
+
className: "plc-mb-6 plc-text-center plc-text-gray-900 pelcro-title-wrapper"
|
|
17390
|
+
}, /*#__PURE__*/React__default.createElement("h4", {
|
|
17391
|
+
className: "plc-text-2xl plc-font-semibold"
|
|
17392
|
+
}, t("labels.title"), /*#__PURE__*/React__default.createElement("span", {
|
|
17393
|
+
className: "plc-text-gray-400 plc-text-base plc-block"
|
|
17394
|
+
}, "(", subscriptionToCancel.plan.nickname, ")"))), /*#__PURE__*/React__default.createElement(SubscriptionCancelContainer, props, /*#__PURE__*/React__default.createElement("div", {
|
|
17395
|
+
className: "plc-flex plc-flex-col plc-items-center plc-justify-center plc-mt-4"
|
|
17396
|
+
}, /*#__PURE__*/React__default.createElement(SvgSubscription, {
|
|
17397
|
+
className: "plc-w-32 plc-h-32"
|
|
17398
|
+
}), /*#__PURE__*/React__default.createElement("p", {
|
|
17399
|
+
className: "plc-mb-3 plc-text-gray-900 plc-text-center plc-whitespace-pre-line"
|
|
17400
|
+
}, t("messages.subscriptionEnd"), " ", new Date(subscriptionToCancel === null || subscriptionToCancel === void 0 ? void 0 : subscriptionToCancel.current_period_end).toLocaleDateString("en-CA", {
|
|
17401
|
+
year: "numeric",
|
|
17402
|
+
month: "short",
|
|
17403
|
+
day: "numeric"
|
|
17404
|
+
}), "."), /*#__PURE__*/React__default.createElement(SubscriptionCancelReason, null), /*#__PURE__*/React__default.createElement(SubscriptionCancelNowButton, {
|
|
17405
|
+
className: "plc-mb-2",
|
|
17406
|
+
subscription: subscriptionToCancel
|
|
17407
|
+
}), subscriptionToCancel.cancel_at_period_end === 0 && /*#__PURE__*/React__default.createElement(SubscriptionCancelLaterButton, {
|
|
17408
|
+
subscription: subscriptionToCancel
|
|
17409
|
+
}))));
|
|
17410
|
+
};
|
|
17411
|
+
|
|
17412
|
+
const SubscriptionCancelModal = ({
|
|
17413
|
+
onDisplay,
|
|
17414
|
+
onClose,
|
|
17415
|
+
...otherProps
|
|
17416
|
+
}) => {
|
|
17417
|
+
return /*#__PURE__*/React__default.createElement(Modal, {
|
|
17418
|
+
onDisplay: onDisplay,
|
|
17419
|
+
onClose: onClose,
|
|
17420
|
+
id: "pelcro-subscription-cancel-modal"
|
|
17421
|
+
}, /*#__PURE__*/React__default.createElement(ModalBody, null, /*#__PURE__*/React__default.createElement(SubscriptionCancelView, otherProps)), /*#__PURE__*/React__default.createElement(ModalFooter, null, /*#__PURE__*/React__default.createElement(Authorship, null)));
|
|
17422
|
+
};
|
|
17423
|
+
SubscriptionCancelModal.viewId = "subscription-cancel";
|
|
17424
|
+
|
|
17425
|
+
const initialState$h = {
|
|
17426
|
+
suspendDate: null,
|
|
17427
|
+
buttonDisabled: false
|
|
17428
|
+
};
|
|
17429
|
+
const store$h = /*#__PURE__*/createContext(initialState$h);
|
|
17430
|
+
const {
|
|
17431
|
+
Provider: Provider$h
|
|
17432
|
+
} = store$h;
|
|
17433
|
+
|
|
17434
|
+
const SubscriptionSuspendContainer = ({
|
|
17435
|
+
style,
|
|
17436
|
+
className = "",
|
|
17437
|
+
onSuccess = () => {},
|
|
17438
|
+
onFailure = () => {},
|
|
17439
|
+
children,
|
|
17440
|
+
...props
|
|
17441
|
+
}) => {
|
|
17442
|
+
useTranslation("SubscriptionSuspend");
|
|
17443
|
+
const [state, dispatch] = useReducerWithSideEffects((state, action) => {
|
|
17444
|
+
switch (action.type) {
|
|
17445
|
+
case SET_SUBSCRIPTION_SUSPEND_DATE:
|
|
17446
|
+
return lib_7({ ...state,
|
|
17447
|
+
suspendDate: action.payload
|
|
17448
|
+
});
|
|
17449
|
+
|
|
17450
|
+
case DISABLE_SUBMIT:
|
|
17451
|
+
return lib_7({ ...state,
|
|
17452
|
+
buttonDisabled: action.payload
|
|
17453
|
+
});
|
|
17454
|
+
|
|
17455
|
+
default:
|
|
17456
|
+
return state;
|
|
17457
|
+
}
|
|
17458
|
+
}, initialState$h);
|
|
17459
|
+
return /*#__PURE__*/React__default.createElement("div", {
|
|
17460
|
+
style: { ...style
|
|
17461
|
+
},
|
|
17462
|
+
className: `pelcro-container pelcro-subscription-suspend-container ${className}`
|
|
17463
|
+
}, /*#__PURE__*/React__default.createElement(Provider$h, {
|
|
17464
|
+
value: {
|
|
17465
|
+
state,
|
|
17466
|
+
dispatch
|
|
17467
|
+
}
|
|
17468
|
+
}, children.length ? children.map((child, i) => /*#__PURE__*/React__default.cloneElement(child, {
|
|
17469
|
+
store: store$h,
|
|
17470
|
+
key: i
|
|
17471
|
+
})) : /*#__PURE__*/React__default.cloneElement(children, {
|
|
17472
|
+
store: store$h
|
|
17473
|
+
})));
|
|
17474
|
+
};
|
|
17475
|
+
|
|
17476
|
+
function DatePicker({
|
|
17477
|
+
label = "",
|
|
17478
|
+
tooltipText,
|
|
17479
|
+
required,
|
|
17480
|
+
id,
|
|
17481
|
+
errorId,
|
|
17482
|
+
error,
|
|
17483
|
+
className = "",
|
|
17484
|
+
labelClassName = "",
|
|
17485
|
+
errorClassName = "",
|
|
17486
|
+
wrapperClassName = "",
|
|
17487
|
+
...otherProps
|
|
17488
|
+
}) {
|
|
17489
|
+
return /*#__PURE__*/React__default.createElement("div", {
|
|
17490
|
+
className: `pelcro-input-wrapper ${wrapperClassName}`
|
|
17491
|
+
}, /*#__PURE__*/React__default.createElement("label", {
|
|
17492
|
+
htmlFor: id,
|
|
17493
|
+
className: `pelcro-input-label plc-flex plc-items-center ${labelClassName}`
|
|
17494
|
+
}, `${label}${required ? "*" : ""}`, tooltipText && /*#__PURE__*/React__default.createElement(Tooltip, {
|
|
17495
|
+
value: tooltipText,
|
|
17496
|
+
className: "plc-ml-1"
|
|
17497
|
+
})), /*#__PURE__*/React__default.createElement("input", Object.assign({
|
|
17498
|
+
type: "date",
|
|
17499
|
+
id: id,
|
|
17500
|
+
className: `pelcro-input-field ${className} ${error ? "pelcro-input-invalid" : ""}`,
|
|
17501
|
+
"aria-describedby": errorId,
|
|
17502
|
+
"aria-invalid": Boolean(error)
|
|
17503
|
+
}, otherProps)), error && /*#__PURE__*/React__default.createElement("p", {
|
|
17504
|
+
id: errorId,
|
|
17505
|
+
"aria-live": "assertive",
|
|
17506
|
+
className: `pelcro-input-error ${errorClassName}`
|
|
17507
|
+
}, error));
|
|
17508
|
+
}
|
|
17509
|
+
|
|
17510
|
+
const nowDate$1 = new Date();
|
|
17511
|
+
const dayFromNowDateISO = new Date(new Date().setDate(nowDate$1.getDate() + 1)).toISOString().substr(0, 10);
|
|
17512
|
+
const SubscriptionSuspendDate = props => {
|
|
17513
|
+
var _props$subscription, _state$suspendDate;
|
|
17514
|
+
|
|
17515
|
+
const {
|
|
17516
|
+
t
|
|
17517
|
+
} = useTranslation("subscriptionSuspend");
|
|
17518
|
+
const {
|
|
17519
|
+
dispatch,
|
|
17520
|
+
state
|
|
17521
|
+
} = useContext(store$h);
|
|
17522
|
+
|
|
17523
|
+
const handleInputChange = value => {
|
|
17524
|
+
if (value) {
|
|
17525
|
+
dispatch({
|
|
17526
|
+
type: DISABLE_SUBMIT,
|
|
17527
|
+
payload: false
|
|
17528
|
+
});
|
|
17529
|
+
dispatch({
|
|
17530
|
+
type: SET_SUBSCRIPTION_SUSPEND_DATE,
|
|
17531
|
+
payload: value
|
|
17532
|
+
});
|
|
17533
|
+
}
|
|
17534
|
+
};
|
|
17535
|
+
|
|
17536
|
+
useEffect(() => {
|
|
17537
|
+
handleInputChange(dayFromNowDateISO);
|
|
17538
|
+
}, []);
|
|
17539
|
+
return /*#__PURE__*/React__default.createElement(DatePicker, Object.assign({
|
|
17540
|
+
label: t("labels.suspensionDate"),
|
|
17541
|
+
min: dayFromNowDateISO,
|
|
17542
|
+
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),
|
|
17543
|
+
value: (_state$suspendDate = state.suspendDate) !== null && _state$suspendDate !== void 0 ? _state$suspendDate : dayFromNowDateISO,
|
|
17544
|
+
onChange: e => handleInputChange(e.target.value),
|
|
17545
|
+
onKeyDown: e => e.preventDefault()
|
|
17546
|
+
}, props));
|
|
17547
|
+
};
|
|
17548
|
+
|
|
17549
|
+
const SubscriptionSuspendButton = ({
|
|
17550
|
+
subscription,
|
|
17551
|
+
onClick,
|
|
17552
|
+
className
|
|
17553
|
+
}) => {
|
|
17554
|
+
const {
|
|
17555
|
+
switchView
|
|
17556
|
+
} = usePelcro();
|
|
17557
|
+
const {
|
|
17558
|
+
state: {
|
|
17559
|
+
suspendDate,
|
|
17560
|
+
buttonDisabled
|
|
17561
|
+
},
|
|
17562
|
+
dispatch
|
|
17188
17563
|
} = useContext(store$h);
|
|
17189
17564
|
const {
|
|
17190
17565
|
t
|
|
17191
|
-
} = useTranslation("
|
|
17566
|
+
} = useTranslation("subscriptionSuspend");
|
|
17192
17567
|
|
|
17193
|
-
const
|
|
17194
|
-
window.Pelcro.subscription.
|
|
17568
|
+
const suspendSubscription = (payload, onSuccess, onFailure) => {
|
|
17569
|
+
window.Pelcro.subscription.update({
|
|
17195
17570
|
auth_token: window.Pelcro.user.read().auth_token,
|
|
17196
17571
|
subscription_id: payload.subscription_id,
|
|
17197
|
-
|
|
17198
|
-
|
|
17199
|
-
reason: payload.reason
|
|
17200
|
-
})
|
|
17572
|
+
suspend: 1,
|
|
17573
|
+
shipments_suspended_until: suspendDate
|
|
17201
17574
|
}, (err, res) => {
|
|
17202
17575
|
var _ReactGA$event;
|
|
17203
17576
|
|
|
@@ -17207,29 +17580,25 @@ const SubscriptionCancelLaterButton = ({
|
|
|
17207
17580
|
|
|
17208
17581
|
ReactGA === null || ReactGA === void 0 ? void 0 : (_ReactGA$event = ReactGA.event) === null || _ReactGA$event === void 0 ? void 0 : _ReactGA$event.call(ReactGA, {
|
|
17209
17582
|
category: "ACTIONS",
|
|
17210
|
-
action: "
|
|
17583
|
+
action: "Suspended",
|
|
17211
17584
|
nonInteraction: true
|
|
17212
17585
|
});
|
|
17213
17586
|
onSuccess === null || onSuccess === void 0 ? void 0 : onSuccess(res);
|
|
17214
17587
|
});
|
|
17215
17588
|
};
|
|
17216
17589
|
|
|
17217
|
-
const
|
|
17590
|
+
const handleClick = () => {
|
|
17218
17591
|
const payload = {
|
|
17219
|
-
subscription_id: subscription.id
|
|
17220
|
-
mode: "period_end",
|
|
17221
|
-
...(cancelationReason && {
|
|
17222
|
-
reason: cancelationReason
|
|
17223
|
-
})
|
|
17592
|
+
subscription_id: subscription.id
|
|
17224
17593
|
};
|
|
17225
17594
|
onClick === null || onClick === void 0 ? void 0 : onClick(); //Close the modal
|
|
17226
17595
|
|
|
17227
17596
|
switchView(null); //Show confirmation alert after closing the modal
|
|
17228
17597
|
|
|
17229
17598
|
notify.confirm((onSuccess, onFailure) => {
|
|
17230
|
-
|
|
17599
|
+
suspendSubscription(payload, onSuccess, onFailure);
|
|
17231
17600
|
}, {
|
|
17232
|
-
confirmMessage: t("messages.subCancellation.
|
|
17601
|
+
confirmMessage: t("messages.subCancellation.isSureToSuspendNow"),
|
|
17233
17602
|
loadingMessage: t("messages.subCancellation.loading"),
|
|
17234
17603
|
successMessage: t("messages.subCancellation.success"),
|
|
17235
17604
|
errorMessage: t("messages.subCancellation.error")
|
|
@@ -17239,45 +17608,42 @@ const SubscriptionCancelLaterButton = ({
|
|
|
17239
17608
|
};
|
|
17240
17609
|
|
|
17241
17610
|
return /*#__PURE__*/React__default.createElement(Button, {
|
|
17242
|
-
onClick:
|
|
17243
|
-
className: `${className}
|
|
17244
|
-
|
|
17611
|
+
onClick: handleClick,
|
|
17612
|
+
className: `${className}`,
|
|
17613
|
+
disabled: buttonDisabled
|
|
17614
|
+
}, t("messages.suspendNow"));
|
|
17245
17615
|
};
|
|
17246
17616
|
|
|
17247
|
-
const
|
|
17617
|
+
const SubscriptionSuspendView = props => {
|
|
17248
17618
|
const {
|
|
17249
|
-
|
|
17619
|
+
subscriptionToSuspend
|
|
17250
17620
|
} = usePelcro();
|
|
17251
17621
|
const {
|
|
17252
17622
|
t
|
|
17253
|
-
} = useTranslation("
|
|
17623
|
+
} = useTranslation("subscriptionSuspend");
|
|
17254
17624
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
17255
|
-
id: "pelcro-subscription-
|
|
17625
|
+
id: "pelcro-subscription-suspend-view"
|
|
17256
17626
|
}, /*#__PURE__*/React__default.createElement("div", {
|
|
17257
17627
|
className: "plc-mb-6 plc-text-center plc-text-gray-900 pelcro-title-wrapper"
|
|
17258
17628
|
}, /*#__PURE__*/React__default.createElement("h4", {
|
|
17259
17629
|
className: "plc-text-2xl plc-font-semibold"
|
|
17260
17630
|
}, t("labels.title"), /*#__PURE__*/React__default.createElement("span", {
|
|
17261
17631
|
className: "plc-text-gray-400 plc-text-base plc-block"
|
|
17262
|
-
}, "(",
|
|
17632
|
+
}, "(", subscriptionToSuspend.plan.nickname, ")"))), /*#__PURE__*/React__default.createElement(SubscriptionSuspendContainer, props, /*#__PURE__*/React__default.createElement("div", {
|
|
17263
17633
|
className: "plc-flex plc-flex-col plc-items-center plc-justify-center plc-mt-4"
|
|
17264
17634
|
}, /*#__PURE__*/React__default.createElement(SvgSubscription, {
|
|
17265
17635
|
className: "plc-w-32 plc-h-32"
|
|
17266
17636
|
}), /*#__PURE__*/React__default.createElement("p", {
|
|
17267
17637
|
className: "plc-mb-3 plc-text-gray-900 plc-text-center plc-whitespace-pre-line"
|
|
17268
|
-
}, t("messages.
|
|
17269
|
-
|
|
17270
|
-
|
|
17271
|
-
day: "numeric"
|
|
17272
|
-
}), "."), /*#__PURE__*/React__default.createElement(SubscriptionCancelReason, null), /*#__PURE__*/React__default.createElement(SubscriptionCancelNowButton, {
|
|
17638
|
+
}, t("messages.suspensionEnd"), "."), /*#__PURE__*/React__default.createElement(SubscriptionSuspendDate, {
|
|
17639
|
+
subscription: subscriptionToSuspend
|
|
17640
|
+
}), /*#__PURE__*/React__default.createElement(SubscriptionSuspendButton, {
|
|
17273
17641
|
className: "plc-mb-2",
|
|
17274
|
-
subscription:
|
|
17275
|
-
}), subscriptionToCancel.cancel_at_period_end === 0 && /*#__PURE__*/React__default.createElement(SubscriptionCancelLaterButton, {
|
|
17276
|
-
subscription: subscriptionToCancel
|
|
17642
|
+
subscription: subscriptionToSuspend
|
|
17277
17643
|
}))));
|
|
17278
17644
|
};
|
|
17279
17645
|
|
|
17280
|
-
const
|
|
17646
|
+
const SubscriptionSuspendModal = ({
|
|
17281
17647
|
onDisplay,
|
|
17282
17648
|
onClose,
|
|
17283
17649
|
...otherProps
|
|
@@ -17285,17 +17651,17 @@ const SubscriptionCancelModal = ({
|
|
|
17285
17651
|
return /*#__PURE__*/React__default.createElement(Modal, {
|
|
17286
17652
|
onDisplay: onDisplay,
|
|
17287
17653
|
onClose: onClose,
|
|
17288
|
-
id: "pelcro-subscription-
|
|
17289
|
-
}, /*#__PURE__*/React__default.createElement(ModalBody, null, /*#__PURE__*/React__default.createElement(
|
|
17654
|
+
id: "pelcro-subscription-suspend-modal"
|
|
17655
|
+
}, /*#__PURE__*/React__default.createElement(ModalBody, null, /*#__PURE__*/React__default.createElement(SubscriptionSuspendView, otherProps)), /*#__PURE__*/React__default.createElement(ModalFooter, null, /*#__PURE__*/React__default.createElement(Authorship, null)));
|
|
17290
17656
|
};
|
|
17291
|
-
|
|
17657
|
+
SubscriptionSuspendModal.viewId = "subscription-suspend";
|
|
17292
17658
|
|
|
17293
|
-
var _path$
|
|
17659
|
+
var _path$j;
|
|
17294
17660
|
|
|
17295
|
-
function _extends$
|
|
17661
|
+
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); }
|
|
17296
17662
|
|
|
17297
17663
|
function SvgGift(props) {
|
|
17298
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
17664
|
+
return /*#__PURE__*/React.createElement("svg", _extends$k({
|
|
17299
17665
|
className: "plc-w-6 plc-h-6 plc-mr-2",
|
|
17300
17666
|
fill: "none",
|
|
17301
17667
|
stroke: "currentColor",
|
|
@@ -17304,7 +17670,7 @@ function SvgGift(props) {
|
|
|
17304
17670
|
strokeWidth: 2,
|
|
17305
17671
|
viewBox: "0 0 24 24",
|
|
17306
17672
|
xmlns: "http://www.w3.org/2000/svg"
|
|
17307
|
-
}, props), _path$
|
|
17673
|
+
}, props), _path$j || (_path$j = /*#__PURE__*/React.createElement("path", {
|
|
17308
17674
|
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"
|
|
17309
17675
|
})));
|
|
17310
17676
|
}
|
|
@@ -18259,17 +18625,17 @@ const UserUpdateContainer = ({
|
|
|
18259
18625
|
})));
|
|
18260
18626
|
};
|
|
18261
18627
|
|
|
18262
|
-
var _path$
|
|
18628
|
+
var _path$i;
|
|
18263
18629
|
|
|
18264
|
-
function _extends$
|
|
18630
|
+
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); }
|
|
18265
18631
|
|
|
18266
18632
|
function SvgEdit(props) {
|
|
18267
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
18633
|
+
return /*#__PURE__*/React.createElement("svg", _extends$j({
|
|
18268
18634
|
className: "plc-w-6 plc-h-6",
|
|
18269
18635
|
xmlns: "http://www.w3.org/2000/svg",
|
|
18270
18636
|
viewBox: "0 0 20 20",
|
|
18271
18637
|
fill: "currentColor"
|
|
18272
|
-
}, props), _path$
|
|
18638
|
+
}, props), _path$i || (_path$i = /*#__PURE__*/React.createElement("path", {
|
|
18273
18639
|
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"
|
|
18274
18640
|
})));
|
|
18275
18641
|
}
|
|
@@ -21793,40 +22159,6 @@ const GiftCreateLastName = props => /*#__PURE__*/React__default.createElement(La
|
|
|
21793
22159
|
store: store$7
|
|
21794
22160
|
}, props));
|
|
21795
22161
|
|
|
21796
|
-
function DatePicker({
|
|
21797
|
-
label = "",
|
|
21798
|
-
tooltipText,
|
|
21799
|
-
required,
|
|
21800
|
-
id,
|
|
21801
|
-
errorId,
|
|
21802
|
-
error,
|
|
21803
|
-
className = "",
|
|
21804
|
-
labelClassName = "",
|
|
21805
|
-
errorClassName = "",
|
|
21806
|
-
wrapperClassName = "",
|
|
21807
|
-
...otherProps
|
|
21808
|
-
}) {
|
|
21809
|
-
return /*#__PURE__*/React__default.createElement("div", {
|
|
21810
|
-
className: `pelcro-input-wrapper ${wrapperClassName}`
|
|
21811
|
-
}, /*#__PURE__*/React__default.createElement("label", {
|
|
21812
|
-
htmlFor: id,
|
|
21813
|
-
className: `pelcro-input-label plc-flex plc-items-center ${labelClassName}`
|
|
21814
|
-
}, `${label}${required ? "*" : ""}`, tooltipText && /*#__PURE__*/React__default.createElement(Tooltip, {
|
|
21815
|
-
value: tooltipText,
|
|
21816
|
-
className: "plc-ml-1"
|
|
21817
|
-
})), /*#__PURE__*/React__default.createElement("input", Object.assign({
|
|
21818
|
-
type: "date",
|
|
21819
|
-
id: id,
|
|
21820
|
-
className: `pelcro-input-field ${className} ${error ? "pelcro-input-invalid" : ""}`,
|
|
21821
|
-
"aria-describedby": errorId,
|
|
21822
|
-
"aria-invalid": Boolean(error)
|
|
21823
|
-
}, otherProps)), error && /*#__PURE__*/React__default.createElement("p", {
|
|
21824
|
-
id: errorId,
|
|
21825
|
-
"aria-live": "assertive",
|
|
21826
|
-
className: `pelcro-input-error ${errorClassName}`
|
|
21827
|
-
}, error));
|
|
21828
|
-
}
|
|
21829
|
-
|
|
21830
22162
|
const nowDate = new Date();
|
|
21831
22163
|
const nowDateISO = nowDate.toISOString().substr(0, 10);
|
|
21832
22164
|
const yearFromNowDateISO = new Date(new Date().setFullYear(nowDate.getFullYear() + 1)).toISOString().substr(0, 10);
|
|
@@ -22797,8 +23129,8 @@ const PaymentMethodSelectModal = ({
|
|
|
22797
23129
|
};
|
|
22798
23130
|
PaymentMethodSelectModal.viewId = "payment-method-select";
|
|
22799
23131
|
|
|
22800
|
-
function _extends$
|
|
22801
|
-
_extends$
|
|
23132
|
+
function _extends$i() {
|
|
23133
|
+
_extends$i = Object.assign || function (target) {
|
|
22802
23134
|
for (var i = 1; i < arguments.length; i++) {
|
|
22803
23135
|
var source = arguments[i];
|
|
22804
23136
|
|
|
@@ -22812,7 +23144,7 @@ function _extends$h() {
|
|
|
22812
23144
|
return target;
|
|
22813
23145
|
};
|
|
22814
23146
|
|
|
22815
|
-
return _extends$
|
|
23147
|
+
return _extends$i.apply(this, arguments);
|
|
22816
23148
|
}
|
|
22817
23149
|
|
|
22818
23150
|
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
@@ -22996,7 +23328,7 @@ function render(props, propsBag, defaultTag, features, visible) {
|
|
|
22996
23328
|
return match(strategy, (_match = {}, _match[RenderStrategy.Unmount] = function () {
|
|
22997
23329
|
return null;
|
|
22998
23330
|
}, _match[RenderStrategy.Hidden] = function () {
|
|
22999
|
-
return _render(_extends$
|
|
23331
|
+
return _render(_extends$i({}, _rest, {
|
|
23000
23332
|
hidden: true,
|
|
23001
23333
|
style: {
|
|
23002
23334
|
display: 'none'
|
|
@@ -23524,7 +23856,7 @@ function TransitionChild(props) {
|
|
|
23524
23856
|
var passthroughProps = rest;
|
|
23525
23857
|
return React__default.createElement(NestingContext.Provider, {
|
|
23526
23858
|
value: nesting
|
|
23527
|
-
}, render(_extends$
|
|
23859
|
+
}, render(_extends$i({}, passthroughProps, propsWeControl), propsBag, DEFAULT_TRANSITION_CHILD_TAG, TransitionChildRenderFeatures, state === TreeStates.Visible));
|
|
23528
23860
|
}
|
|
23529
23861
|
|
|
23530
23862
|
function Transition(props) {
|
|
@@ -23568,7 +23900,7 @@ function Transition(props) {
|
|
|
23568
23900
|
value: nestingBag
|
|
23569
23901
|
}, React__default.createElement(TransitionContext.Provider, {
|
|
23570
23902
|
value: transitionBag
|
|
23571
|
-
}, render(_extends$
|
|
23903
|
+
}, render(_extends$i({}, sharedProps, {
|
|
23572
23904
|
as: Fragment,
|
|
23573
23905
|
children: React__default.createElement(TransitionChild, Object.assign({}, sharedProps, passthroughProps))
|
|
23574
23906
|
}), propsBag, Fragment, TransitionChildRenderFeatures, state === TreeStates.Visible)));
|
|
@@ -23695,12 +24027,12 @@ var ActionTypes;
|
|
|
23695
24027
|
})(ActionTypes || (ActionTypes = {}));
|
|
23696
24028
|
|
|
23697
24029
|
(_reducers = {}, _reducers[ActionTypes.CloseMenu] = function (state) {
|
|
23698
|
-
return _extends$
|
|
24030
|
+
return _extends$i({}, state, {
|
|
23699
24031
|
activeItemIndex: null,
|
|
23700
24032
|
menuState: MenuStates.Closed
|
|
23701
24033
|
});
|
|
23702
24034
|
}, _reducers[ActionTypes.OpenMenu] = function (state) {
|
|
23703
|
-
return _extends$
|
|
24035
|
+
return _extends$i({}, state, {
|
|
23704
24036
|
menuState: MenuStates.Open
|
|
23705
24037
|
});
|
|
23706
24038
|
}, _reducers[ActionTypes.GoToItem] = function (state, action) {
|
|
@@ -23719,7 +24051,7 @@ var ActionTypes;
|
|
|
23719
24051
|
}
|
|
23720
24052
|
});
|
|
23721
24053
|
if (state.searchQuery === '' && state.activeItemIndex === activeItemIndex) return state;
|
|
23722
|
-
return _extends$
|
|
24054
|
+
return _extends$i({}, state, {
|
|
23723
24055
|
searchQuery: '',
|
|
23724
24056
|
activeItemIndex: activeItemIndex
|
|
23725
24057
|
});
|
|
@@ -23730,19 +24062,19 @@ var ActionTypes;
|
|
|
23730
24062
|
|
|
23731
24063
|
return ((_item$dataRef$current = item.dataRef.current.textValue) == null ? void 0 : _item$dataRef$current.startsWith(searchQuery)) && !item.dataRef.current.disabled;
|
|
23732
24064
|
});
|
|
23733
|
-
if (match === -1 || match === state.activeItemIndex) return _extends$
|
|
24065
|
+
if (match === -1 || match === state.activeItemIndex) return _extends$i({}, state, {
|
|
23734
24066
|
searchQuery: searchQuery
|
|
23735
24067
|
});
|
|
23736
|
-
return _extends$
|
|
24068
|
+
return _extends$i({}, state, {
|
|
23737
24069
|
searchQuery: searchQuery,
|
|
23738
24070
|
activeItemIndex: match
|
|
23739
24071
|
});
|
|
23740
24072
|
}, _reducers[ActionTypes.ClearSearch] = function (state) {
|
|
23741
|
-
return _extends$
|
|
24073
|
+
return _extends$i({}, state, {
|
|
23742
24074
|
searchQuery: ''
|
|
23743
24075
|
});
|
|
23744
24076
|
}, _reducers[ActionTypes.RegisterItem] = function (state, action) {
|
|
23745
|
-
return _extends$
|
|
24077
|
+
return _extends$i({}, state, {
|
|
23746
24078
|
items: [].concat(state.items, [{
|
|
23747
24079
|
id: action.id,
|
|
23748
24080
|
dataRef: action.dataRef
|
|
@@ -23755,7 +24087,7 @@ var ActionTypes;
|
|
|
23755
24087
|
return a.id === action.id;
|
|
23756
24088
|
});
|
|
23757
24089
|
if (idx !== -1) nextItems.splice(idx, 1);
|
|
23758
|
-
return _extends$
|
|
24090
|
+
return _extends$i({}, state, {
|
|
23759
24091
|
items: nextItems,
|
|
23760
24092
|
activeItemIndex: function () {
|
|
23761
24093
|
if (idx === state.activeItemIndex) return null;
|
|
@@ -23794,19 +24126,19 @@ var ActionTypes$1;
|
|
|
23794
24126
|
(_reducers$1 = {}, _reducers$1[ActionTypes$1.CloseListbox] = function (state) {
|
|
23795
24127
|
if (state.disabled) return state;
|
|
23796
24128
|
if (state.listboxState === ListboxStates.Closed) return state;
|
|
23797
|
-
return _extends$
|
|
24129
|
+
return _extends$i({}, state, {
|
|
23798
24130
|
activeOptionIndex: null,
|
|
23799
24131
|
listboxState: ListboxStates.Closed
|
|
23800
24132
|
});
|
|
23801
24133
|
}, _reducers$1[ActionTypes$1.OpenListbox] = function (state) {
|
|
23802
24134
|
if (state.disabled) return state;
|
|
23803
24135
|
if (state.listboxState === ListboxStates.Open) return state;
|
|
23804
|
-
return _extends$
|
|
24136
|
+
return _extends$i({}, state, {
|
|
23805
24137
|
listboxState: ListboxStates.Open
|
|
23806
24138
|
});
|
|
23807
24139
|
}, _reducers$1[ActionTypes$1.SetDisabled] = function (state, action) {
|
|
23808
24140
|
if (state.disabled === action.disabled) return state;
|
|
23809
|
-
return _extends$
|
|
24141
|
+
return _extends$i({}, state, {
|
|
23810
24142
|
disabled: action.disabled
|
|
23811
24143
|
});
|
|
23812
24144
|
}, _reducers$1[ActionTypes$1.GoToOption] = function (state, action) {
|
|
@@ -23827,7 +24159,7 @@ var ActionTypes$1;
|
|
|
23827
24159
|
}
|
|
23828
24160
|
});
|
|
23829
24161
|
if (state.searchQuery === '' && state.activeOptionIndex === activeOptionIndex) return state;
|
|
23830
|
-
return _extends$
|
|
24162
|
+
return _extends$i({}, state, {
|
|
23831
24163
|
searchQuery: '',
|
|
23832
24164
|
activeOptionIndex: activeOptionIndex
|
|
23833
24165
|
});
|
|
@@ -23840,10 +24172,10 @@ var ActionTypes$1;
|
|
|
23840
24172
|
|
|
23841
24173
|
return !option.dataRef.current.disabled && ((_option$dataRef$curre = option.dataRef.current.textValue) == null ? void 0 : _option$dataRef$curre.startsWith(searchQuery));
|
|
23842
24174
|
});
|
|
23843
|
-
if (match === -1 || match === state.activeOptionIndex) return _extends$
|
|
24175
|
+
if (match === -1 || match === state.activeOptionIndex) return _extends$i({}, state, {
|
|
23844
24176
|
searchQuery: searchQuery
|
|
23845
24177
|
});
|
|
23846
|
-
return _extends$
|
|
24178
|
+
return _extends$i({}, state, {
|
|
23847
24179
|
searchQuery: searchQuery,
|
|
23848
24180
|
activeOptionIndex: match
|
|
23849
24181
|
});
|
|
@@ -23851,11 +24183,11 @@ var ActionTypes$1;
|
|
|
23851
24183
|
if (state.disabled) return state;
|
|
23852
24184
|
if (state.listboxState === ListboxStates.Closed) return state;
|
|
23853
24185
|
if (state.searchQuery === '') return state;
|
|
23854
|
-
return _extends$
|
|
24186
|
+
return _extends$i({}, state, {
|
|
23855
24187
|
searchQuery: ''
|
|
23856
24188
|
});
|
|
23857
24189
|
}, _reducers$1[ActionTypes$1.RegisterOption] = function (state, action) {
|
|
23858
|
-
return _extends$
|
|
24190
|
+
return _extends$i({}, state, {
|
|
23859
24191
|
options: [].concat(state.options, [{
|
|
23860
24192
|
id: action.id,
|
|
23861
24193
|
dataRef: action.dataRef
|
|
@@ -23868,7 +24200,7 @@ var ActionTypes$1;
|
|
|
23868
24200
|
return a.id === action.id;
|
|
23869
24201
|
});
|
|
23870
24202
|
if (idx !== -1) nextOptions.splice(idx, 1);
|
|
23871
|
-
return _extends$
|
|
24203
|
+
return _extends$i({}, state, {
|
|
23872
24204
|
options: nextOptions,
|
|
23873
24205
|
activeOptionIndex: function () {
|
|
23874
24206
|
if (idx === state.activeOptionIndex) return null;
|
|
@@ -23929,18 +24261,18 @@ const getPaymentCardIcon = name => {
|
|
|
23929
24261
|
}));
|
|
23930
24262
|
};
|
|
23931
24263
|
|
|
23932
|
-
var _path$
|
|
24264
|
+
var _path$h;
|
|
23933
24265
|
|
|
23934
|
-
function _extends$
|
|
24266
|
+
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); }
|
|
23935
24267
|
|
|
23936
24268
|
function SvgChevronRight(props) {
|
|
23937
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
24269
|
+
return /*#__PURE__*/React.createElement("svg", _extends$h({
|
|
23938
24270
|
className: "plc-w-6 plc-h-6",
|
|
23939
24271
|
xmlns: "http://www.w3.org/2000/svg",
|
|
23940
24272
|
fill: "none",
|
|
23941
24273
|
viewBox: "0 0 24 24",
|
|
23942
24274
|
stroke: "currentColor"
|
|
23943
|
-
}, props), _path$
|
|
24275
|
+
}, props), _path$h || (_path$h = /*#__PURE__*/React.createElement("path", {
|
|
23944
24276
|
strokeLinecap: "round",
|
|
23945
24277
|
strokeLinejoin: "round",
|
|
23946
24278
|
strokeWidth: 2,
|
|
@@ -24156,18 +24488,18 @@ const SavedItems = ({
|
|
|
24156
24488
|
});
|
|
24157
24489
|
};
|
|
24158
24490
|
|
|
24159
|
-
var _path$
|
|
24491
|
+
var _path$g;
|
|
24160
24492
|
|
|
24161
|
-
function _extends$
|
|
24493
|
+
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); }
|
|
24162
24494
|
|
|
24163
24495
|
function SvgRefresh(props) {
|
|
24164
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
24496
|
+
return /*#__PURE__*/React.createElement("svg", _extends$g({
|
|
24165
24497
|
className: "plc-w-4 plc-h-4 plc-mr-1",
|
|
24166
24498
|
xmlns: "http://www.w3.org/2000/svg",
|
|
24167
24499
|
fill: "none",
|
|
24168
24500
|
viewBox: "0 0 24 24",
|
|
24169
24501
|
stroke: "currentColor"
|
|
24170
|
-
}, props), _path$
|
|
24502
|
+
}, props), _path$g || (_path$g = /*#__PURE__*/React.createElement("path", {
|
|
24171
24503
|
strokeLinecap: "round",
|
|
24172
24504
|
strokeLinejoin: "round",
|
|
24173
24505
|
strokeWidth: 2,
|
|
@@ -24175,35 +24507,35 @@ function SvgRefresh(props) {
|
|
|
24175
24507
|
})));
|
|
24176
24508
|
}
|
|
24177
24509
|
|
|
24178
|
-
var _path$
|
|
24510
|
+
var _path$f;
|
|
24179
24511
|
|
|
24180
|
-
function _extends$
|
|
24512
|
+
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); }
|
|
24181
24513
|
|
|
24182
24514
|
function SvgCalendar(props) {
|
|
24183
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
24515
|
+
return /*#__PURE__*/React.createElement("svg", _extends$f({
|
|
24184
24516
|
xmlns: "http://www.w3.org/2000/svg",
|
|
24185
24517
|
className: "plc-h-4 plc-w-4 plc-mr-1",
|
|
24186
24518
|
viewBox: "0 0 20 20",
|
|
24187
24519
|
fill: "currentColor"
|
|
24188
|
-
}, props), _path$
|
|
24520
|
+
}, props), _path$f || (_path$f = /*#__PURE__*/React.createElement("path", {
|
|
24189
24521
|
fillRule: "evenodd",
|
|
24190
24522
|
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",
|
|
24191
24523
|
clipRule: "evenodd"
|
|
24192
24524
|
})));
|
|
24193
24525
|
}
|
|
24194
24526
|
|
|
24195
|
-
var _path$
|
|
24527
|
+
var _path$e;
|
|
24196
24528
|
|
|
24197
|
-
function _extends$
|
|
24529
|
+
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); }
|
|
24198
24530
|
|
|
24199
24531
|
function SvgPlus(props) {
|
|
24200
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
24532
|
+
return /*#__PURE__*/React.createElement("svg", _extends$e({
|
|
24201
24533
|
className: "plc-w-5 plc-h-5",
|
|
24202
24534
|
xmlns: "http://www.w3.org/2000/svg",
|
|
24203
24535
|
fill: "none",
|
|
24204
24536
|
viewBox: "0 0 24 24",
|
|
24205
24537
|
stroke: "currentColor"
|
|
24206
|
-
}, props), _path$
|
|
24538
|
+
}, props), _path$e || (_path$e = /*#__PURE__*/React.createElement("path", {
|
|
24207
24539
|
strokeLinecap: "round",
|
|
24208
24540
|
strokeLinejoin: "round",
|
|
24209
24541
|
strokeWidth: 2,
|
|
@@ -24211,17 +24543,17 @@ function SvgPlus(props) {
|
|
|
24211
24543
|
})));
|
|
24212
24544
|
}
|
|
24213
24545
|
|
|
24214
|
-
var _path$
|
|
24546
|
+
var _path$d;
|
|
24215
24547
|
|
|
24216
|
-
function _extends$
|
|
24548
|
+
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); }
|
|
24217
24549
|
|
|
24218
24550
|
function SvgCheckMark(props) {
|
|
24219
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
24551
|
+
return /*#__PURE__*/React.createElement("svg", _extends$d({
|
|
24220
24552
|
className: "plc-w-4 plc-h-4 plc-mr-1",
|
|
24221
24553
|
xmlns: "http://www.w3.org/2000/svg",
|
|
24222
24554
|
viewBox: "0 0 20 20",
|
|
24223
24555
|
fill: "currentColor"
|
|
24224
|
-
}, props), _path$
|
|
24556
|
+
}, props), _path$d || (_path$d = /*#__PURE__*/React.createElement("path", {
|
|
24225
24557
|
fillRule: "evenodd",
|
|
24226
24558
|
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",
|
|
24227
24559
|
clipRule: "evenodd"
|
|
@@ -24271,6 +24603,7 @@ const SubscriptionsMenu = props => {
|
|
|
24271
24603
|
const SubscriptionsItems = ({
|
|
24272
24604
|
onClose,
|
|
24273
24605
|
cancelSubscription,
|
|
24606
|
+
unSuspendSubscription,
|
|
24274
24607
|
reactivateSubscription,
|
|
24275
24608
|
setProductAndPlan,
|
|
24276
24609
|
setSubscriptionIdToRenew,
|
|
@@ -24286,6 +24619,7 @@ const SubscriptionsItems = ({
|
|
|
24286
24619
|
const {
|
|
24287
24620
|
switchView,
|
|
24288
24621
|
setSubscriptionToCancel,
|
|
24622
|
+
setSubscriptionToSuspend,
|
|
24289
24623
|
isAuthenticated
|
|
24290
24624
|
} = usePelcro();
|
|
24291
24625
|
const subs = getNonDonationSubs();
|
|
@@ -24336,6 +24670,35 @@ const SubscriptionsItems = ({
|
|
|
24336
24670
|
setProductAndPlan(product, plan);
|
|
24337
24671
|
setSubscriptionIdToRenew(sub.id);
|
|
24338
24672
|
setView("plan-select");
|
|
24673
|
+
}; // Suspend click
|
|
24674
|
+
|
|
24675
|
+
|
|
24676
|
+
const onSuspendClick = () => {
|
|
24677
|
+
if (userMustVerifyEmail()) {
|
|
24678
|
+
return switchView("email-verify");
|
|
24679
|
+
}
|
|
24680
|
+
|
|
24681
|
+
setSubscriptionToSuspend(sub.id);
|
|
24682
|
+
return setView("subscription-suspend");
|
|
24683
|
+
}; // UnSuspend click
|
|
24684
|
+
|
|
24685
|
+
|
|
24686
|
+
const onUnSuspendClick = () => {
|
|
24687
|
+
if (userMustVerifyEmail()) {
|
|
24688
|
+
return switchView("email-verify");
|
|
24689
|
+
}
|
|
24690
|
+
|
|
24691
|
+
onClose === null || onClose === void 0 ? void 0 : onClose();
|
|
24692
|
+
notify.confirm((onSuccess, onFailure) => {
|
|
24693
|
+
unSuspendSubscription(sub.id, onSuccess, onFailure);
|
|
24694
|
+
}, {
|
|
24695
|
+
confirmMessage: t("messages.subUnSuspend.isSureToUnSuspend"),
|
|
24696
|
+
loadingMessage: t("messages.subUnSuspend.loading"),
|
|
24697
|
+
successMessage: t("messages.subUnSuspend.success"),
|
|
24698
|
+
errorMessage: t("messages.subUnSuspend.error")
|
|
24699
|
+
}, {
|
|
24700
|
+
closeButtonLabel: t("labels.subCancellation.goBack")
|
|
24701
|
+
});
|
|
24339
24702
|
};
|
|
24340
24703
|
|
|
24341
24704
|
const getPhases = () => {
|
|
@@ -24389,7 +24752,21 @@ const SubscriptionsItems = ({
|
|
|
24389
24752
|
onClick: onRenewClick,
|
|
24390
24753
|
disabled: disableSubmit,
|
|
24391
24754
|
"data-key": sub.id
|
|
24392
|
-
}, t("labels.renew")),
|
|
24755
|
+
}, t("labels.renew")), sub.shipments_suspended_until && sub.shipments_remaining > 0 && /*#__PURE__*/React__default.createElement(Button, {
|
|
24756
|
+
variant: "ghost",
|
|
24757
|
+
className: "plc-text-blue-400 pelcro-dashboard-sub-suspend-button",
|
|
24758
|
+
icon: /*#__PURE__*/React__default.createElement(SvgXIconSolid, null),
|
|
24759
|
+
onClick: onUnSuspendClick,
|
|
24760
|
+
disabled: disableSubmit,
|
|
24761
|
+
"data-key": sub.id
|
|
24762
|
+
}, t("labels.unsuspend")), !sub.shipments_suspended_until && sub.shipments_remaining > 0 && /*#__PURE__*/React__default.createElement(Button, {
|
|
24763
|
+
variant: "ghost",
|
|
24764
|
+
className: "plc-text-red-500 focus:plc-ring-red-500 pelcro-dashboard-sub-suspend-button",
|
|
24765
|
+
icon: /*#__PURE__*/React__default.createElement(SvgCalendar, null),
|
|
24766
|
+
onClick: onSuspendClick,
|
|
24767
|
+
disabled: disableSubmit,
|
|
24768
|
+
"data-key": sub.id
|
|
24769
|
+
}, t("labels.suspend")), !sub.plan.auto_renew || sub.plan.auto_renew && sub.cancel_at_period_end === 0 ? /*#__PURE__*/React__default.createElement(Button, {
|
|
24393
24770
|
variant: "ghost",
|
|
24394
24771
|
className: "plc-text-red-500 focus:plc-ring-red-500 pelcro-dashboard-sub-cancel-button",
|
|
24395
24772
|
icon: /*#__PURE__*/React__default.createElement(SvgXIconSolid, null),
|
|
@@ -24524,18 +24901,18 @@ Accordion.item = function AccordionItem({
|
|
|
24524
24901
|
}, content)) : null;
|
|
24525
24902
|
};
|
|
24526
24903
|
|
|
24527
|
-
var _path$
|
|
24904
|
+
var _path$c;
|
|
24528
24905
|
|
|
24529
|
-
function _extends$
|
|
24906
|
+
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); }
|
|
24530
24907
|
|
|
24531
24908
|
function SvgExit(props) {
|
|
24532
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
24909
|
+
return /*#__PURE__*/React.createElement("svg", _extends$c({
|
|
24533
24910
|
className: "plc-w-6 plc-h-6",
|
|
24534
24911
|
xmlns: "http://www.w3.org/2000/svg",
|
|
24535
24912
|
fill: "none",
|
|
24536
24913
|
viewBox: "0 0 24 24",
|
|
24537
24914
|
stroke: "currentColor"
|
|
24538
|
-
}, props), _path$
|
|
24915
|
+
}, props), _path$c || (_path$c = /*#__PURE__*/React.createElement("path", {
|
|
24539
24916
|
strokeLinecap: "round",
|
|
24540
24917
|
strokeLinejoin: "round",
|
|
24541
24918
|
strokeWidth: 2,
|
|
@@ -24543,17 +24920,17 @@ function SvgExit(props) {
|
|
|
24543
24920
|
})));
|
|
24544
24921
|
}
|
|
24545
24922
|
|
|
24546
|
-
var _path$
|
|
24923
|
+
var _path$b;
|
|
24547
24924
|
|
|
24548
|
-
function _extends$
|
|
24925
|
+
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); }
|
|
24549
24926
|
|
|
24550
24927
|
function SvgUser(props) {
|
|
24551
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
24928
|
+
return /*#__PURE__*/React.createElement("svg", _extends$b({
|
|
24552
24929
|
xmlns: "http://www.w3.org/2000/svg",
|
|
24553
24930
|
fill: "none",
|
|
24554
24931
|
viewBox: "0 0 24 24",
|
|
24555
24932
|
stroke: "currentColor"
|
|
24556
|
-
}, props), _path$
|
|
24933
|
+
}, props), _path$b || (_path$b = /*#__PURE__*/React.createElement("path", {
|
|
24557
24934
|
strokeLinecap: "round",
|
|
24558
24935
|
strokeLinejoin: "round",
|
|
24559
24936
|
strokeWidth: 2,
|
|
@@ -24561,18 +24938,18 @@ function SvgUser(props) {
|
|
|
24561
24938
|
})));
|
|
24562
24939
|
}
|
|
24563
24940
|
|
|
24564
|
-
var _path$
|
|
24941
|
+
var _path$a;
|
|
24565
24942
|
|
|
24566
|
-
function _extends$
|
|
24943
|
+
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); }
|
|
24567
24944
|
|
|
24568
24945
|
function SvgNewsletter(props) {
|
|
24569
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
24946
|
+
return /*#__PURE__*/React.createElement("svg", _extends$a({
|
|
24570
24947
|
xmlns: "http://www.w3.org/2000/svg",
|
|
24571
24948
|
className: "plc-h-5 plc-w-5",
|
|
24572
24949
|
fill: "none",
|
|
24573
24950
|
viewBox: "0 0 24 24",
|
|
24574
24951
|
stroke: "currentColor"
|
|
24575
|
-
}, props), _path$
|
|
24952
|
+
}, props), _path$a || (_path$a = /*#__PURE__*/React.createElement("path", {
|
|
24576
24953
|
strokeLinecap: "round",
|
|
24577
24954
|
strokeLinejoin: "round",
|
|
24578
24955
|
strokeWidth: 2,
|
|
@@ -24580,18 +24957,18 @@ function SvgNewsletter(props) {
|
|
|
24580
24957
|
})));
|
|
24581
24958
|
}
|
|
24582
24959
|
|
|
24583
|
-
var _path$
|
|
24960
|
+
var _path$9;
|
|
24584
24961
|
|
|
24585
|
-
function _extends$
|
|
24962
|
+
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); }
|
|
24586
24963
|
|
|
24587
24964
|
function SvgDocument(props) {
|
|
24588
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
24965
|
+
return /*#__PURE__*/React.createElement("svg", _extends$9({
|
|
24589
24966
|
xmlns: "http://www.w3.org/2000/svg",
|
|
24590
24967
|
className: "plc-h-6 plc-w-6 plc-mr-2",
|
|
24591
24968
|
fill: "none",
|
|
24592
24969
|
viewBox: "0 0 24 24",
|
|
24593
24970
|
stroke: "currentColor"
|
|
24594
|
-
}, props), _path$
|
|
24971
|
+
}, props), _path$9 || (_path$9 = /*#__PURE__*/React.createElement("path", {
|
|
24595
24972
|
strokeLinecap: "round",
|
|
24596
24973
|
strokeLinejoin: "round",
|
|
24597
24974
|
strokeWidth: 2,
|
|
@@ -24599,18 +24976,18 @@ function SvgDocument(props) {
|
|
|
24599
24976
|
})));
|
|
24600
24977
|
}
|
|
24601
24978
|
|
|
24602
|
-
var _path$
|
|
24979
|
+
var _path$8;
|
|
24603
24980
|
|
|
24604
|
-
function _extends$
|
|
24981
|
+
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); }
|
|
24605
24982
|
|
|
24606
24983
|
function SvgPaymentCard(props) {
|
|
24607
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
24984
|
+
return /*#__PURE__*/React.createElement("svg", _extends$8({
|
|
24608
24985
|
className: "plc-w-6 plc-h-6 plc-mr-2",
|
|
24609
24986
|
xmlns: "http://www.w3.org/2000/svg",
|
|
24610
24987
|
fill: "none",
|
|
24611
24988
|
viewBox: "0 0 24 24",
|
|
24612
24989
|
stroke: "currentColor"
|
|
24613
|
-
}, props), _path$
|
|
24990
|
+
}, props), _path$8 || (_path$8 = /*#__PURE__*/React.createElement("path", {
|
|
24614
24991
|
strokeLinecap: "round",
|
|
24615
24992
|
strokeLinejoin: "round",
|
|
24616
24993
|
strokeWidth: 2,
|
|
@@ -24618,18 +24995,18 @@ function SvgPaymentCard(props) {
|
|
|
24618
24995
|
})));
|
|
24619
24996
|
}
|
|
24620
24997
|
|
|
24621
|
-
var _path$
|
|
24998
|
+
var _path$7, _path2;
|
|
24622
24999
|
|
|
24623
|
-
function _extends$
|
|
25000
|
+
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); }
|
|
24624
25001
|
|
|
24625
25002
|
function SvgLocationPin(props) {
|
|
24626
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
25003
|
+
return /*#__PURE__*/React.createElement("svg", _extends$7({
|
|
24627
25004
|
className: "plc-w-6 plc-h-6 plc-mr-2",
|
|
24628
25005
|
xmlns: "http://www.w3.org/2000/svg",
|
|
24629
25006
|
fill: "none",
|
|
24630
25007
|
viewBox: "0 0 24 24",
|
|
24631
25008
|
stroke: "currentColor"
|
|
24632
|
-
}, props), _path$
|
|
25009
|
+
}, props), _path$7 || (_path$7 = /*#__PURE__*/React.createElement("path", {
|
|
24633
25010
|
strokeLinecap: "round",
|
|
24634
25011
|
strokeLinejoin: "round",
|
|
24635
25012
|
strokeWidth: 2,
|
|
@@ -24642,18 +25019,18 @@ function SvgLocationPin(props) {
|
|
|
24642
25019
|
})));
|
|
24643
25020
|
}
|
|
24644
25021
|
|
|
24645
|
-
var _path$
|
|
25022
|
+
var _path$6;
|
|
24646
25023
|
|
|
24647
|
-
function _extends$
|
|
25024
|
+
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); }
|
|
24648
25025
|
|
|
24649
25026
|
function SvgShopping(props) {
|
|
24650
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
25027
|
+
return /*#__PURE__*/React.createElement("svg", _extends$6({
|
|
24651
25028
|
className: "plc-w-6 plc-h-6 plc-mr-2",
|
|
24652
25029
|
xmlns: "http://www.w3.org/2000/svg",
|
|
24653
25030
|
fill: "none",
|
|
24654
25031
|
viewBox: "0 0 24 24",
|
|
24655
25032
|
stroke: "currentColor"
|
|
24656
|
-
}, props), _path$
|
|
25033
|
+
}, props), _path$6 || (_path$6 = /*#__PURE__*/React.createElement("path", {
|
|
24657
25034
|
strokeLinecap: "round",
|
|
24658
25035
|
strokeLinejoin: "round",
|
|
24659
25036
|
strokeWidth: 2,
|
|
@@ -24661,18 +25038,18 @@ function SvgShopping(props) {
|
|
|
24661
25038
|
})));
|
|
24662
25039
|
}
|
|
24663
25040
|
|
|
24664
|
-
var _path$
|
|
25041
|
+
var _path$5;
|
|
24665
25042
|
|
|
24666
|
-
function _extends$
|
|
25043
|
+
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); }
|
|
24667
25044
|
|
|
24668
25045
|
function SvgBookmark(props) {
|
|
24669
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
25046
|
+
return /*#__PURE__*/React.createElement("svg", _extends$5({
|
|
24670
25047
|
className: "plc-w-6 plc-h-6 plc-mr-2",
|
|
24671
25048
|
xmlns: "http://www.w3.org/2000/svg",
|
|
24672
25049
|
fill: "none",
|
|
24673
25050
|
viewBox: "0 0 24 24",
|
|
24674
25051
|
stroke: "currentColor"
|
|
24675
|
-
}, props), _path$
|
|
25052
|
+
}, props), _path$5 || (_path$5 = /*#__PURE__*/React.createElement("path", {
|
|
24676
25053
|
strokeLinecap: "round",
|
|
24677
25054
|
strokeLinejoin: "round",
|
|
24678
25055
|
strokeWidth: 2,
|
|
@@ -24680,37 +25057,56 @@ function SvgBookmark(props) {
|
|
|
24680
25057
|
})));
|
|
24681
25058
|
}
|
|
24682
25059
|
|
|
24683
|
-
var _path$
|
|
25060
|
+
var _path$4;
|
|
24684
25061
|
|
|
24685
|
-
function _extends$
|
|
25062
|
+
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); }
|
|
24686
25063
|
|
|
24687
25064
|
function SvgKey(props) {
|
|
24688
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
25065
|
+
return /*#__PURE__*/React.createElement("svg", _extends$4({
|
|
24689
25066
|
xmlns: "http://www.w3.org/2000/svg",
|
|
24690
25067
|
viewBox: "0 0 20 20",
|
|
24691
25068
|
fill: "currentColor"
|
|
24692
|
-
}, props), _path$
|
|
25069
|
+
}, props), _path$4 || (_path$4 = /*#__PURE__*/React.createElement("path", {
|
|
24693
25070
|
fillRule: "evenodd",
|
|
24694
25071
|
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",
|
|
24695
25072
|
clipRule: "evenodd"
|
|
24696
25073
|
})));
|
|
24697
25074
|
}
|
|
24698
25075
|
|
|
24699
|
-
var _path$
|
|
25076
|
+
var _path$3;
|
|
24700
25077
|
|
|
24701
|
-
function _extends$
|
|
25078
|
+
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); }
|
|
24702
25079
|
|
|
24703
25080
|
function SvgDonate(props) {
|
|
24704
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
25081
|
+
return /*#__PURE__*/React.createElement("svg", _extends$3({
|
|
24705
25082
|
width: 24,
|
|
24706
25083
|
height: 24,
|
|
24707
25084
|
fill: "currentColor",
|
|
24708
25085
|
xmlns: "http://www.w3.org/2000/svg"
|
|
24709
|
-
}, props), _path$
|
|
25086
|
+
}, props), _path$3 || (_path$3 = /*#__PURE__*/React.createElement("path", {
|
|
24710
25087
|
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"
|
|
24711
25088
|
})));
|
|
24712
25089
|
}
|
|
24713
25090
|
|
|
25091
|
+
var _path$2;
|
|
25092
|
+
|
|
25093
|
+
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); }
|
|
25094
|
+
|
|
25095
|
+
function SvgMemberships(props) {
|
|
25096
|
+
return /*#__PURE__*/React.createElement("svg", _extends$2({
|
|
25097
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
25098
|
+
fill: "none",
|
|
25099
|
+
strokeWidth: 1.5,
|
|
25100
|
+
stroke: "currentColor",
|
|
25101
|
+
width: 24,
|
|
25102
|
+
height: 24
|
|
25103
|
+
}, props), _path$2 || (_path$2 = /*#__PURE__*/React.createElement("path", {
|
|
25104
|
+
strokeLinecap: "round",
|
|
25105
|
+
strokeLinejoin: "round",
|
|
25106
|
+
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"
|
|
25107
|
+
})));
|
|
25108
|
+
}
|
|
25109
|
+
|
|
24714
25110
|
var _path$1;
|
|
24715
25111
|
|
|
24716
25112
|
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); }
|
|
@@ -24963,7 +25359,7 @@ const MembershipsItems = () => {
|
|
|
24963
25359
|
}),
|
|
24964
25360
|
className: "plc-text-blue-400 focus:plc-ring-blue-500 pelcro-dashboard-membership-address-button",
|
|
24965
25361
|
onClick: () => onChangeAddressClick(membership.id)
|
|
24966
|
-
}, `${t("labels.
|
|
25362
|
+
}, `${t("labels.editAddress")}`))));
|
|
24967
25363
|
});
|
|
24968
25364
|
};
|
|
24969
25365
|
|
|
@@ -25104,6 +25500,27 @@ class Dashboard extends Component {
|
|
|
25104
25500
|
});
|
|
25105
25501
|
});
|
|
25106
25502
|
|
|
25503
|
+
_defineProperty$3(this, "unSuspendSubscription", (subscription_id, onSuccess, onFailure) => {
|
|
25504
|
+
window.Pelcro.subscription.update({
|
|
25505
|
+
auth_token: window.Pelcro.user.read().auth_token,
|
|
25506
|
+
subscription_id: subscription_id,
|
|
25507
|
+
suspend: 0
|
|
25508
|
+
}, (err, res) => {
|
|
25509
|
+
var _ReactGA$event3;
|
|
25510
|
+
|
|
25511
|
+
if (err) {
|
|
25512
|
+
return onFailure === null || onFailure === void 0 ? void 0 : onFailure(err);
|
|
25513
|
+
}
|
|
25514
|
+
|
|
25515
|
+
ReactGA === null || ReactGA === void 0 ? void 0 : (_ReactGA$event3 = ReactGA.event) === null || _ReactGA$event3 === void 0 ? void 0 : _ReactGA$event3.call(ReactGA, {
|
|
25516
|
+
category: "ACTIONS",
|
|
25517
|
+
action: "UnSuspended",
|
|
25518
|
+
nonInteraction: true
|
|
25519
|
+
});
|
|
25520
|
+
onSuccess === null || onSuccess === void 0 ? void 0 : onSuccess(res);
|
|
25521
|
+
});
|
|
25522
|
+
});
|
|
25523
|
+
|
|
25107
25524
|
_defineProperty$3(this, "displayRedeem", () => {
|
|
25108
25525
|
return this.props.setView("gift-redeem");
|
|
25109
25526
|
});
|
|
@@ -25525,6 +25942,7 @@ class Dashboard extends Component {
|
|
|
25525
25942
|
content: /*#__PURE__*/React__default.createElement(SubscriptionsMenu, {
|
|
25526
25943
|
onClose: this.props.onClose,
|
|
25527
25944
|
cancelSubscription: this.cancelSubscription,
|
|
25945
|
+
unSuspendSubscription: this.unSuspendSubscription,
|
|
25528
25946
|
reactivateSubscription: this.reactivateSubscription,
|
|
25529
25947
|
setProductAndPlan: this.props.setProductAndPlan,
|
|
25530
25948
|
setSubscriptionIdToRenew: this.props.setSubscriptionIdToRenew,
|
|
@@ -25537,7 +25955,7 @@ class Dashboard extends Component {
|
|
|
25537
25955
|
}), /*#__PURE__*/React__default.createElement(Accordion.item, {
|
|
25538
25956
|
show: hasActiveMemberships(),
|
|
25539
25957
|
name: SUB_MENUS.MEMBERSHIPS,
|
|
25540
|
-
icon: /*#__PURE__*/React__default.createElement(
|
|
25958
|
+
icon: /*#__PURE__*/React__default.createElement(SvgMemberships, {
|
|
25541
25959
|
className: "plc-transform plc-scale-120 plc-w-7 plc-h-8 plc-mr-1 plc-pt-1"
|
|
25542
25960
|
}),
|
|
25543
25961
|
title: this.locale("labels.memberships"),
|
|
@@ -25600,7 +26018,7 @@ function hasDonationSubs() {
|
|
|
25600
26018
|
function hasActiveMemberships() {
|
|
25601
26019
|
var _window$Pelcro$user$r6, _window$Pelcro$user$r7;
|
|
25602
26020
|
|
|
25603
|
-
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;
|
|
26021
|
+
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;
|
|
25604
26022
|
}
|
|
25605
26023
|
|
|
25606
26024
|
const DashboardWithTrans = withTranslation("dashboard")(Dashboard);
|
|
@@ -29419,4 +29837,4 @@ const QrCodeModal = ({
|
|
|
29419
29837
|
};
|
|
29420
29838
|
QrCodeModal.viewId = "qrcode";
|
|
29421
29839
|
|
|
29422
|
-
export { AddressCreateCity, AddressCreateContainer, AddressCreateCountrySelect, AddressCreateFirstName, AddressCreateLastName, AddressCreateLine1, AddressCreateLine2, AddressCreateModal, AddressCreatePostalCode, AddressCreateSetDefault, AddressCreateStateSelect, AddressCreateSubmit, AddressCreateTextInput, AddressCreateView, AddressSelectContainer, AddressSelectList, AddressSelectModal, AddressSelectSubmit, AddressSelectView, AddressUpdateCity, AddressUpdateContainer, AddressUpdateCountrySelect, AddressUpdateFirstName, AddressUpdateLastName, AddressUpdateLine1, AddressUpdateLine2, AddressUpdateModal, AddressUpdatePostalCode, AddressUpdateSetDefault, AddressUpdateStateSelect, AddressUpdateSubmit, AddressUpdateTextInput, AddressUpdateView, AlertWithContext as Alert, Alert as AlertElement, ApplyCouponButton, Auth0LoginButton, Badge, BankRedirection, Button, CartContainer, CartModal, CartRemoveItemButton, CartSubmit, CartTotalPrice, CartView, Checkbox, CheckoutForm, ConfirmPassword, CouponCode, CouponCodeField, DashboardWithHook as Dashboard, DashboardOpenButton, DatePicker, DiscountedPrice, Email, EmailVerifyContainer, EmailVerifyModal, EmailVerifyResendButton, EmailVerifyView, FacebookLoginButton, GiftCreateContainer, GiftCreateEmail, GiftCreateFirstName, GiftCreateLastName, GiftCreateMessage, GiftCreateModal, GiftCreateStartDate, GiftCreateSubmitButton, GiftCreateView, GiftRedeemCode, GiftRedeemContainer, GiftRedeemModal, GiftRedeemSubmitButton, GiftRedeemView, GoogleLoginButton, Input, InvoiceDetailsContainer, InvoiceDetailsDownloadButton, InvoiceDetailsModal, InvoiceDetailsPayButton, InvoiceDetailsView, InvoicePaymentContainer, InvoicePaymentModal, InvoicePaymentView, Link, LoginButton, LoginContainer, LoginEmail, LoginModal, LoginPassword, LoginRequestLoginToken, LoginView, Logout, MeterModal, MeterView, Modal, ModalBody, ModalFooter, NewsletterWithHook as NewsLetter, NewsletterUpdateButton, NewsletterUpdateContainer, NewsletterUpdateList, NewsletterUpdateModal, NewsletterUpdateView, Notification, OrderConfirmModal, OrderCreateContainer, OrderCreateModal, OrderCreateSubmitButton, OrderCreateView, Password, PasswordChangeButton, PasswordChangeConfirmNewPassword, PasswordChangeContainer, PasswordChangeCurrentPassword, PasswordChangeModal, PasswordChangeNewPassword, PasswordChangeView, PasswordForgotButton, PasswordForgotContainer, PasswordForgotEmail, PasswordForgotModal, PasswordForgotView, PasswordResetButton, PasswordResetConfirmPassword, PasswordResetContainer, PasswordResetEmail, PasswordResetModal, PasswordResetPassword, PasswordResetView, PasswordlessRequestContainer, PasswordlessRequestEmail, PasswordlessRequestModal, PasswordlessRequestView, PasswordlessRequestViewButton, PaymentCreateContainer, PaymentCreateView, PaymentMethodContainer, PaymentMethodSelectContainer, PaymentMethodSelectList, PaymentMethodSelectModal, PaymentMethodSelectSubmit, PaymentMethodSelectView, PaymentMethodUpdateContainer, PaymentMethodUpdateModal, PaymentMethodUpdateView, PaymentMethodView, PaymentSuccessModal, PaymentSuccessView, PaypalSubscribeButton, PelcroCardCVC, PelcroCardExpiry, PelcroCardNumber, PelcroModalController, PelcroPaymentRequestButton, ProfilePicChangeButton, ProfilePicChangeContainer, ProfilePicChangeCropper, ProfilePicChangeModal, ProfilePicChangeRemoveButton, ProfilePicChangeSelectButton, ProfilePicChangeView, ProfilePicChangeZoom, QrCodeModal, QrCodeView, Radio, RegisterButton, RegisterCompany, RegisterContainer, RegisterEmail, RegisterFirstName, RegisterJobTitle, RegisterLastName, RegisterModal, RegisterPassword, RegisterView, Select, SelectModalWithHook as SelectModal, SelectedPaymentMethod, ShopPurchaseButton, ShopSelectProductButton, ShopView, SubmitPaymentMethod, SubscriptionCancelModal, SubscriptionCreateContainer, SubscriptionCreateModal, SubscriptionCreateView, SubscriptionRenewContainer, SubscriptionRenewModal, SubscriptionRenewView, TaxAmount, TextArea, Tooltip, UserUpdateButton, UserUpdateContainer, UserUpdateDisplayName, UserUpdateEmail, UserUpdateFirstName, UserUpdateLastName, UserUpdateModal, UserUpdatePhone, UserUpdateProfilePic, UserUpdateTextInput, UserUpdateView, VerifyLinkTokenContainer, VerifyLinkTokenLoader, VerifyLinkTokenModal, VerifyLinkTokenView, authenticatedButtons, i18next as i18n, init$1 as initButtons, init as initContentEntitlement, invoicePaymentSubmitButton, notify, unauthenticatedButtons, usePelcro };
|
|
29840
|
+
export { AddressCreateCity, AddressCreateContainer, AddressCreateCountrySelect, AddressCreateFirstName, AddressCreateLastName, AddressCreateLine1, AddressCreateLine2, AddressCreateModal, AddressCreatePostalCode, AddressCreateSetDefault, AddressCreateStateSelect, AddressCreateSubmit, AddressCreateTextInput, AddressCreateView, AddressSelectContainer, AddressSelectList, AddressSelectModal, AddressSelectSubmit, AddressSelectView, AddressUpdateCity, AddressUpdateContainer, AddressUpdateCountrySelect, AddressUpdateFirstName, AddressUpdateLastName, AddressUpdateLine1, AddressUpdateLine2, AddressUpdateModal, AddressUpdatePostalCode, AddressUpdateSetDefault, AddressUpdateStateSelect, AddressUpdateSubmit, AddressUpdateTextInput, AddressUpdateView, AlertWithContext as Alert, Alert as AlertElement, ApplyCouponButton, Auth0LoginButton, Badge, BankRedirection, Button, CartContainer, CartModal, CartRemoveItemButton, CartSubmit, CartTotalPrice, CartView, Checkbox, CheckoutForm, ConfirmPassword, CouponCode, CouponCodeField, DashboardWithHook as Dashboard, DashboardOpenButton, DatePicker, DiscountedPrice, Email, EmailVerifyContainer, EmailVerifyModal, EmailVerifyResendButton, EmailVerifyView, FacebookLoginButton, GiftCreateContainer, GiftCreateEmail, GiftCreateFirstName, GiftCreateLastName, GiftCreateMessage, GiftCreateModal, GiftCreateStartDate, GiftCreateSubmitButton, GiftCreateView, GiftRedeemCode, GiftRedeemContainer, GiftRedeemModal, GiftRedeemSubmitButton, GiftRedeemView, GoogleLoginButton, Input, InvoiceDetailsContainer, InvoiceDetailsDownloadButton, InvoiceDetailsModal, InvoiceDetailsPayButton, InvoiceDetailsView, InvoicePaymentContainer, InvoicePaymentModal, InvoicePaymentView, Link, LoginButton, LoginContainer, LoginEmail, LoginModal, LoginPassword, LoginRequestLoginToken, LoginView, Logout, MeterModal, MeterView, Modal, ModalBody, ModalFooter, NewsletterWithHook as NewsLetter, NewsletterUpdateButton, NewsletterUpdateContainer, NewsletterUpdateList, NewsletterUpdateModal, NewsletterUpdateView, Notification, OrderConfirmModal, OrderCreateContainer, OrderCreateModal, OrderCreateSubmitButton, OrderCreateView, Password, PasswordChangeButton, PasswordChangeConfirmNewPassword, PasswordChangeContainer, PasswordChangeCurrentPassword, PasswordChangeModal, PasswordChangeNewPassword, PasswordChangeView, PasswordForgotButton, PasswordForgotContainer, PasswordForgotEmail, PasswordForgotModal, PasswordForgotView, PasswordResetButton, PasswordResetConfirmPassword, PasswordResetContainer, PasswordResetEmail, PasswordResetModal, PasswordResetPassword, PasswordResetView, PasswordlessRequestContainer, PasswordlessRequestEmail, PasswordlessRequestModal, PasswordlessRequestView, PasswordlessRequestViewButton, PaymentCreateContainer, PaymentCreateView, PaymentMethodContainer, PaymentMethodSelectContainer, PaymentMethodSelectList, PaymentMethodSelectModal, PaymentMethodSelectSubmit, PaymentMethodSelectView, PaymentMethodUpdateContainer, PaymentMethodUpdateModal, PaymentMethodUpdateView, PaymentMethodView, PaymentSuccessModal, PaymentSuccessView, PaypalSubscribeButton, PelcroCardCVC, PelcroCardExpiry, PelcroCardNumber, PelcroModalController, PelcroPaymentRequestButton, ProfilePicChangeButton, ProfilePicChangeContainer, ProfilePicChangeCropper, ProfilePicChangeModal, ProfilePicChangeRemoveButton, ProfilePicChangeSelectButton, ProfilePicChangeView, ProfilePicChangeZoom, QrCodeModal, QrCodeView, Radio, RegisterButton, RegisterCompany, RegisterContainer, RegisterEmail, RegisterFirstName, RegisterJobTitle, RegisterLastName, RegisterModal, RegisterPassword, RegisterView, Select, SelectModalWithHook as SelectModal, SelectedPaymentMethod, ShopPurchaseButton, ShopSelectProductButton, ShopView, SubmitPaymentMethod, SubscriptionCancelModal, SubscriptionCreateContainer, SubscriptionCreateModal, SubscriptionCreateView, SubscriptionRenewContainer, SubscriptionRenewModal, SubscriptionRenewView, SubscriptionSuspendModal, SubscriptionSuspendView, TaxAmount, TextArea, Tooltip, UserUpdateButton, UserUpdateContainer, UserUpdateDisplayName, UserUpdateEmail, UserUpdateFirstName, UserUpdateLastName, UserUpdateModal, UserUpdatePhone, UserUpdateProfilePic, UserUpdateTextInput, UserUpdateView, VerifyLinkTokenContainer, VerifyLinkTokenLoader, VerifyLinkTokenModal, VerifyLinkTokenView, authenticatedButtons, i18next as i18n, init$1 as initButtons, init as initContentEntitlement, invoicePaymentSubmitButton, notify, unauthenticatedButtons, usePelcro };
|