@pelcro/react-pelcro-js 2.7.0-beta.10 → 2.7.0-beta.11
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 +852 -593
- package/dist/index.esm.js +849 -594
- package/dist/pelcro.css +4 -0
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -3434,7 +3434,7 @@ var paymentMethod_fr = {
|
|
|
3434
3434
|
var title$d = "Enter your email to subscribe to our newsletter";
|
|
3435
3435
|
var updateTitle$1 = "Update newsletter selections";
|
|
3436
3436
|
var subtitle$7 = "We may use your email for other marketing communication";
|
|
3437
|
-
var labels$
|
|
3437
|
+
var labels$n = {
|
|
3438
3438
|
submit: "Submit",
|
|
3439
3439
|
firstName: "First name",
|
|
3440
3440
|
lastName: "Last name",
|
|
@@ -3442,7 +3442,7 @@ var labels$l = {
|
|
|
3442
3442
|
postalCode: "Postal code",
|
|
3443
3443
|
required: "required"
|
|
3444
3444
|
};
|
|
3445
|
-
var messages$
|
|
3445
|
+
var messages$r = {
|
|
3446
3446
|
alreadyHaveAccount: "Already have an account?",
|
|
3447
3447
|
success: "Newsletters were successfully updated",
|
|
3448
3448
|
loginHere: "Login here.",
|
|
@@ -3453,14 +3453,14 @@ var newsletter_en = {
|
|
|
3453
3453
|
title: title$d,
|
|
3454
3454
|
updateTitle: updateTitle$1,
|
|
3455
3455
|
subtitle: subtitle$7,
|
|
3456
|
-
labels: labels$
|
|
3457
|
-
messages: messages$
|
|
3456
|
+
labels: labels$n,
|
|
3457
|
+
messages: messages$r
|
|
3458
3458
|
};
|
|
3459
3459
|
|
|
3460
3460
|
var title$c = "Entrez votre adresse courriel pour vous abonner à notre infolettre";
|
|
3461
3461
|
var updateTitle = "Mettre à jour son choix d'infolettres";
|
|
3462
3462
|
var subtitle$6 = "Nous pouvons utiliser votre adresse courriel pour d’autres communications marketing";
|
|
3463
|
-
var labels$
|
|
3463
|
+
var labels$m = {
|
|
3464
3464
|
submit: "Lire l’article !",
|
|
3465
3465
|
firstName: "Prénom",
|
|
3466
3466
|
lastName: "Nom de famille",
|
|
@@ -3468,7 +3468,7 @@ var labels$k = {
|
|
|
3468
3468
|
postalCode: "Code postal",
|
|
3469
3469
|
required: "Champs obligatoires"
|
|
3470
3470
|
};
|
|
3471
|
-
var messages$
|
|
3471
|
+
var messages$q = {
|
|
3472
3472
|
alreadyHaveAccount: "Vous avez déjà un compte ?",
|
|
3473
3473
|
success: "Votre choix d'infolettres à été mis à jour",
|
|
3474
3474
|
loginHere: "Connectez-vous ici",
|
|
@@ -3479,14 +3479,14 @@ var newsletter_fr = {
|
|
|
3479
3479
|
title: title$c,
|
|
3480
3480
|
updateTitle: updateTitle,
|
|
3481
3481
|
subtitle: subtitle$6,
|
|
3482
|
-
labels: labels$
|
|
3483
|
-
messages: messages$
|
|
3482
|
+
labels: labels$m,
|
|
3483
|
+
messages: messages$q
|
|
3484
3484
|
};
|
|
3485
3485
|
|
|
3486
|
-
var labels$
|
|
3486
|
+
var labels$l = {
|
|
3487
3487
|
"continue": "Continue to content"
|
|
3488
3488
|
};
|
|
3489
|
-
var messages$
|
|
3489
|
+
var messages$p = {
|
|
3490
3490
|
yourFreeTrial: "Subscription successful!",
|
|
3491
3491
|
youHaveAccess: "Hope you enjoy the subscription. Please contact us if you have any questions or concerns.",
|
|
3492
3492
|
clickToLearn: {
|
|
@@ -3508,15 +3508,15 @@ var errors$9 = {
|
|
|
3508
3508
|
"": ""
|
|
3509
3509
|
};
|
|
3510
3510
|
var success_en = {
|
|
3511
|
-
labels: labels$
|
|
3512
|
-
messages: messages$
|
|
3511
|
+
labels: labels$l,
|
|
3512
|
+
messages: messages$p,
|
|
3513
3513
|
errors: errors$9
|
|
3514
3514
|
};
|
|
3515
3515
|
|
|
3516
|
-
var labels$
|
|
3516
|
+
var labels$k = {
|
|
3517
3517
|
"continue": "Abonnement réussi !"
|
|
3518
3518
|
};
|
|
3519
|
-
var messages$
|
|
3519
|
+
var messages$o = {
|
|
3520
3520
|
yourFreeTrial: "Votre essai gratuit vient de débuter",
|
|
3521
3521
|
youHaveAccess: "Nous espérons que vous allez apprécier votre abonnement. Veuillez nous contacter si vous avez des questions ou des préoccupations.",
|
|
3522
3522
|
clickToLearn: {
|
|
@@ -3538,12 +3538,12 @@ var errors$8 = {
|
|
|
3538
3538
|
"": ""
|
|
3539
3539
|
};
|
|
3540
3540
|
var success_fr = {
|
|
3541
|
-
labels: labels$
|
|
3542
|
-
messages: messages$
|
|
3541
|
+
labels: labels$k,
|
|
3542
|
+
messages: messages$o,
|
|
3543
3543
|
errors: errors$8
|
|
3544
3544
|
};
|
|
3545
3545
|
|
|
3546
|
-
var messages$
|
|
3546
|
+
var messages$n = {
|
|
3547
3547
|
freeVisits: "Free visits left:",
|
|
3548
3548
|
subscribeNow: "Subscribe",
|
|
3549
3549
|
alreadyHaveAccount: "Already have an account?",
|
|
@@ -3553,11 +3553,11 @@ var errors$7 = {
|
|
|
3553
3553
|
"": ""
|
|
3554
3554
|
};
|
|
3555
3555
|
var meter_en = {
|
|
3556
|
-
messages: messages$
|
|
3556
|
+
messages: messages$n,
|
|
3557
3557
|
errors: errors$7
|
|
3558
3558
|
};
|
|
3559
3559
|
|
|
3560
|
-
var messages$
|
|
3560
|
+
var messages$m = {
|
|
3561
3561
|
freeVisits: "Visites gratuites restantes:",
|
|
3562
3562
|
subscribeNow: "Abonnez-vous maintenant !",
|
|
3563
3563
|
alreadyHaveAccount: "Vous avez déjà un compte ?",
|
|
@@ -3567,15 +3567,15 @@ var errors$6 = {
|
|
|
3567
3567
|
"": ""
|
|
3568
3568
|
};
|
|
3569
3569
|
var meter_fr = {
|
|
3570
|
-
messages: messages$
|
|
3570
|
+
messages: messages$m,
|
|
3571
3571
|
errors: errors$6
|
|
3572
3572
|
};
|
|
3573
3573
|
|
|
3574
|
-
var messages$
|
|
3574
|
+
var messages$l = {
|
|
3575
3575
|
youAreSafe: "You're safe - PCI compliant 128 SSL by",
|
|
3576
3576
|
bankRedirection: "Please hold, redirecting you to your bank."
|
|
3577
3577
|
};
|
|
3578
|
-
var labels$
|
|
3578
|
+
var labels$j = {
|
|
3579
3579
|
card: "Enter card number",
|
|
3580
3580
|
date: "Expiration date",
|
|
3581
3581
|
CVC: "CVC",
|
|
@@ -3594,15 +3594,15 @@ var labels$h = {
|
|
|
3594
3594
|
removeCoupon: "REMOVE"
|
|
3595
3595
|
};
|
|
3596
3596
|
var checkoutForm_en = {
|
|
3597
|
-
messages: messages$
|
|
3598
|
-
labels: labels$
|
|
3597
|
+
messages: messages$l,
|
|
3598
|
+
labels: labels$j
|
|
3599
3599
|
};
|
|
3600
3600
|
|
|
3601
|
-
var messages$
|
|
3601
|
+
var messages$k = {
|
|
3602
3602
|
youAreSafe: "Vous êtes en sécurité - PCI conforme 128 SSL par",
|
|
3603
3603
|
bankRedirection: "Veuillez patienter, nous vous redirigeons vers votre banque."
|
|
3604
3604
|
};
|
|
3605
|
-
var labels$
|
|
3605
|
+
var labels$i = {
|
|
3606
3606
|
card: "Entrez le numéro de carte",
|
|
3607
3607
|
date: "Date d’expiration",
|
|
3608
3608
|
CVC: "CVC",
|
|
@@ -3621,8 +3621,8 @@ var labels$g = {
|
|
|
3621
3621
|
removeCoupon: "RETIRER"
|
|
3622
3622
|
};
|
|
3623
3623
|
var checkoutForm_fr = {
|
|
3624
|
-
messages: messages$
|
|
3625
|
-
labels: labels$
|
|
3624
|
+
messages: messages$k,
|
|
3625
|
+
labels: labels$i
|
|
3626
3626
|
};
|
|
3627
3627
|
|
|
3628
3628
|
var youAreSafe$1 = "You're safe - PCI compliant 128 SSL by";
|
|
@@ -3655,7 +3655,7 @@ var messages_fr = {
|
|
|
3655
3655
|
recaptcha: recaptcha
|
|
3656
3656
|
};
|
|
3657
3657
|
|
|
3658
|
-
var labels$
|
|
3658
|
+
var labels$h = {
|
|
3659
3659
|
email: "Enter email",
|
|
3660
3660
|
password: "Enter password",
|
|
3661
3661
|
required: "required",
|
|
@@ -3663,7 +3663,7 @@ var labels$f = {
|
|
|
3663
3663
|
passwordPlaceholder: "Password",
|
|
3664
3664
|
login: "Login"
|
|
3665
3665
|
};
|
|
3666
|
-
var messages$
|
|
3666
|
+
var messages$j = {
|
|
3667
3667
|
loginTo: "Login to your account",
|
|
3668
3668
|
welcome: "Welcome back, sign in with your existing account.",
|
|
3669
3669
|
dontHaveAccount: "Don't have an account yet?",
|
|
@@ -3682,12 +3682,12 @@ var errors$5 = {
|
|
|
3682
3682
|
"": ""
|
|
3683
3683
|
};
|
|
3684
3684
|
var login_en = {
|
|
3685
|
-
labels: labels$
|
|
3686
|
-
messages: messages$
|
|
3685
|
+
labels: labels$h,
|
|
3686
|
+
messages: messages$j,
|
|
3687
3687
|
errors: errors$5
|
|
3688
3688
|
};
|
|
3689
3689
|
|
|
3690
|
-
var labels$
|
|
3690
|
+
var labels$g = {
|
|
3691
3691
|
email: "Entrez votre adresse courriel",
|
|
3692
3692
|
password: "Entrez votre mot de passe",
|
|
3693
3693
|
required: "Champs obligatoires",
|
|
@@ -3695,7 +3695,7 @@ var labels$e = {
|
|
|
3695
3695
|
passwordPlaceholder: "Mot de passe",
|
|
3696
3696
|
login: "Connexion"
|
|
3697
3697
|
};
|
|
3698
|
-
var messages$
|
|
3698
|
+
var messages$i = {
|
|
3699
3699
|
loginTo: "Connectez-vous à votre compte",
|
|
3700
3700
|
welcome: "Bienvenue, connectez-vous avec votre compte existant.",
|
|
3701
3701
|
dontHaveAccount: "Vous n’avez pas encore de compte ?",
|
|
@@ -3714,14 +3714,14 @@ var errors$4 = {
|
|
|
3714
3714
|
"": ""
|
|
3715
3715
|
};
|
|
3716
3716
|
var login_fr = {
|
|
3717
|
-
labels: labels$
|
|
3718
|
-
messages: messages$
|
|
3717
|
+
labels: labels$g,
|
|
3718
|
+
messages: messages$i,
|
|
3719
3719
|
errors: errors$4
|
|
3720
3720
|
};
|
|
3721
3721
|
|
|
3722
3722
|
var title$b = "Create an account";
|
|
3723
3723
|
var subtitle$5 = "Enter your email and password below";
|
|
3724
|
-
var labels$
|
|
3724
|
+
var labels$f = {
|
|
3725
3725
|
signUpFacebook: "Sign up with Facebook",
|
|
3726
3726
|
signUpGoogle: "Sign up with Google",
|
|
3727
3727
|
signUpEmail: "Sign up with Email",
|
|
@@ -3733,7 +3733,7 @@ var labels$d = {
|
|
|
3733
3733
|
firstName: "First name",
|
|
3734
3734
|
lastName: "Last name"
|
|
3735
3735
|
};
|
|
3736
|
-
var messages$
|
|
3736
|
+
var messages$h = {
|
|
3737
3737
|
alreadyHaveAccount: "Already have an account?",
|
|
3738
3738
|
createAccount: "Create account",
|
|
3739
3739
|
loginHere: "login here. ",
|
|
@@ -3807,8 +3807,8 @@ var redeem$1 = {
|
|
|
3807
3807
|
var register_en = {
|
|
3808
3808
|
title: title$b,
|
|
3809
3809
|
subtitle: subtitle$5,
|
|
3810
|
-
labels: labels$
|
|
3811
|
-
messages: messages$
|
|
3810
|
+
labels: labels$f,
|
|
3811
|
+
messages: messages$h,
|
|
3812
3812
|
errors: errors$3,
|
|
3813
3813
|
gift: gift$1,
|
|
3814
3814
|
redeem: redeem$1
|
|
@@ -3816,7 +3816,7 @@ var register_en = {
|
|
|
3816
3816
|
|
|
3817
3817
|
var title$a = "Créer un compte";
|
|
3818
3818
|
var subtitle$4 = "Entrez votre courriel et votre mot de passe ci-dessous";
|
|
3819
|
-
var labels$
|
|
3819
|
+
var labels$e = {
|
|
3820
3820
|
signUpFacebook: "Inscrivez-vous avec Facebook",
|
|
3821
3821
|
signUpGoogle: "Inscrivez-vous avec Google",
|
|
3822
3822
|
signUpEmail: "Inscrivez-vous avec votre courriel",
|
|
@@ -3828,7 +3828,7 @@ var labels$c = {
|
|
|
3828
3828
|
firstName: "Prénom",
|
|
3829
3829
|
lastName: "Nom de famille"
|
|
3830
3830
|
};
|
|
3831
|
-
var messages$
|
|
3831
|
+
var messages$g = {
|
|
3832
3832
|
alreadyHaveAccount: "Vous avez déjà un compte?",
|
|
3833
3833
|
createAccount: "Créer un compte",
|
|
3834
3834
|
loginHere: "Connectez-vous ici",
|
|
@@ -3903,14 +3903,14 @@ var redeem = {
|
|
|
3903
3903
|
var register_fr = {
|
|
3904
3904
|
title: title$a,
|
|
3905
3905
|
subtitle: subtitle$4,
|
|
3906
|
-
labels: labels$
|
|
3907
|
-
messages: messages$
|
|
3906
|
+
labels: labels$e,
|
|
3907
|
+
messages: messages$g,
|
|
3908
3908
|
errors: errors$2,
|
|
3909
3909
|
gift: gift,
|
|
3910
3910
|
redeem: redeem
|
|
3911
3911
|
};
|
|
3912
3912
|
|
|
3913
|
-
var labels$
|
|
3913
|
+
var labels$d = {
|
|
3914
3914
|
title: "Want to update your profile?",
|
|
3915
3915
|
subtitle: "Enter your information below to update your profile",
|
|
3916
3916
|
email: "Email",
|
|
@@ -3926,17 +3926,17 @@ var labels$b = {
|
|
|
3926
3926
|
removeImage: "Remove current photo",
|
|
3927
3927
|
zoom: "Zoom"
|
|
3928
3928
|
};
|
|
3929
|
-
var messages$
|
|
3929
|
+
var messages$f = {
|
|
3930
3930
|
userUpdated: "Thanks! Your profile was updated successfully.",
|
|
3931
3931
|
pictureRemoved: "Your profile picture was removed successfully.",
|
|
3932
3932
|
pictureUpdated: "Your profile picture was updated successfully."
|
|
3933
3933
|
};
|
|
3934
3934
|
var userEdit_en = {
|
|
3935
|
-
labels: labels$
|
|
3936
|
-
messages: messages$
|
|
3935
|
+
labels: labels$d,
|
|
3936
|
+
messages: messages$f
|
|
3937
3937
|
};
|
|
3938
3938
|
|
|
3939
|
-
var labels$
|
|
3939
|
+
var labels$c = {
|
|
3940
3940
|
title: "Voulez-vous mettre à jour votre profil ?",
|
|
3941
3941
|
subtitle: "Entrez vos informations ci-dessous pour mettre à jour votre profil",
|
|
3942
3942
|
email: "Address courriel",
|
|
@@ -3952,20 +3952,20 @@ var labels$a = {
|
|
|
3952
3952
|
removeImage: "supprimer la photo actuelle",
|
|
3953
3953
|
zoom: "Zoom"
|
|
3954
3954
|
};
|
|
3955
|
-
var messages$
|
|
3955
|
+
var messages$e = {
|
|
3956
3956
|
userUpdated: "Votre profil a été mis à jour avec succès.",
|
|
3957
3957
|
pictureRemoved: "Votre photo de profil a été supprimée avec succès.",
|
|
3958
3958
|
pictureUpdated: "Votre photo de profil a été mise à jour avec succès."
|
|
3959
3959
|
};
|
|
3960
3960
|
var userEdit_fr = {
|
|
3961
|
-
labels: labels$
|
|
3962
|
-
messages: messages$
|
|
3961
|
+
labels: labels$c,
|
|
3962
|
+
messages: messages$e
|
|
3963
3963
|
};
|
|
3964
3964
|
|
|
3965
3965
|
var title$9 = "Enter your shipping address";
|
|
3966
3966
|
var selectAddressTitle$1 = "Please select an address";
|
|
3967
3967
|
var selectAddressSubtitle$1 = "Select one of your saved addresses, or add a new one";
|
|
3968
|
-
var labels$
|
|
3968
|
+
var labels$b = {
|
|
3969
3969
|
address: "Address",
|
|
3970
3970
|
code: "Postal Code/Zip",
|
|
3971
3971
|
city: "City",
|
|
@@ -3980,7 +3980,7 @@ var buttons$5 = {
|
|
|
3980
3980
|
selectAddress: "Select address",
|
|
3981
3981
|
addAddress: "Add new address"
|
|
3982
3982
|
};
|
|
3983
|
-
var messages$
|
|
3983
|
+
var messages$d = {
|
|
3984
3984
|
addressUpdated: "The address was successfully updated!",
|
|
3985
3985
|
subRedeemed: "Your subscription has been redeemed."
|
|
3986
3986
|
};
|
|
@@ -3988,15 +3988,15 @@ var address_en = {
|
|
|
3988
3988
|
title: title$9,
|
|
3989
3989
|
selectAddressTitle: selectAddressTitle$1,
|
|
3990
3990
|
selectAddressSubtitle: selectAddressSubtitle$1,
|
|
3991
|
-
labels: labels$
|
|
3991
|
+
labels: labels$b,
|
|
3992
3992
|
buttons: buttons$5,
|
|
3993
|
-
messages: messages$
|
|
3993
|
+
messages: messages$d
|
|
3994
3994
|
};
|
|
3995
3995
|
|
|
3996
3996
|
var title$8 = "Entrez votre adresse de livraison";
|
|
3997
3997
|
var selectAddressTitle = "Veuillez sélectionner une adresse";
|
|
3998
3998
|
var selectAddressSubtitle = "Choisissez l'une de vos adresses ou créez-en une nouvelle";
|
|
3999
|
-
var labels$
|
|
3999
|
+
var labels$a = {
|
|
4000
4000
|
address: "Adresse",
|
|
4001
4001
|
code: "Code postal / Zip",
|
|
4002
4002
|
city: "Ville",
|
|
@@ -4011,7 +4011,7 @@ var buttons$4 = {
|
|
|
4011
4011
|
selectAddress: "Choisir cette adresse",
|
|
4012
4012
|
addAddress: "Ajouter une nouvelle adresse"
|
|
4013
4013
|
};
|
|
4014
|
-
var messages$
|
|
4014
|
+
var messages$c = {
|
|
4015
4015
|
addressUpdated: "Votre adresse a été mise à jour avec succès",
|
|
4016
4016
|
subRedeemed: "Votre abonnement a bien été activé."
|
|
4017
4017
|
};
|
|
@@ -4019,9 +4019,9 @@ var address_fr = {
|
|
|
4019
4019
|
title: title$8,
|
|
4020
4020
|
selectAddressTitle: selectAddressTitle,
|
|
4021
4021
|
selectAddressSubtitle: selectAddressSubtitle,
|
|
4022
|
-
labels: labels$
|
|
4022
|
+
labels: labels$a,
|
|
4023
4023
|
buttons: buttons$4,
|
|
4024
|
-
messages: messages$
|
|
4024
|
+
messages: messages$c
|
|
4025
4025
|
};
|
|
4026
4026
|
|
|
4027
4027
|
var title$7 = "Reset your password";
|
|
@@ -4068,7 +4068,7 @@ var password$1 = "Password";
|
|
|
4068
4068
|
var submit$3 = "Submit";
|
|
4069
4069
|
var required$3 = "Required";
|
|
4070
4070
|
var passwordResetEmailSent$1 = "Password reset instructions have been sent to your email";
|
|
4071
|
-
var messages$
|
|
4071
|
+
var messages$b = {
|
|
4072
4072
|
alreadyHaveAccount: "Already have an account?",
|
|
4073
4073
|
loginHere: "login here."
|
|
4074
4074
|
};
|
|
@@ -4079,7 +4079,7 @@ var passwordForgot_en = {
|
|
|
4079
4079
|
submit: submit$3,
|
|
4080
4080
|
required: required$3,
|
|
4081
4081
|
passwordResetEmailSent: passwordResetEmailSent$1,
|
|
4082
|
-
messages: messages$
|
|
4082
|
+
messages: messages$b
|
|
4083
4083
|
};
|
|
4084
4084
|
|
|
4085
4085
|
var title$4 = "Mot de passe oublié ?";
|
|
@@ -4088,7 +4088,7 @@ var password = "Mot de passe";
|
|
|
4088
4088
|
var submit$2 = "Soumettre";
|
|
4089
4089
|
var required$2 = "Champs obligatoires";
|
|
4090
4090
|
var passwordResetEmailSent = "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.";
|
|
4091
|
-
var messages$
|
|
4091
|
+
var messages$a = {
|
|
4092
4092
|
alreadyHaveAccount: "Vous avez déjà un compte ?",
|
|
4093
4093
|
loginHere: "Connectez-vous ici"
|
|
4094
4094
|
};
|
|
@@ -4099,7 +4099,7 @@ var passwordForgot_fr = {
|
|
|
4099
4099
|
submit: submit$2,
|
|
4100
4100
|
required: required$2,
|
|
4101
4101
|
passwordResetEmailSent: passwordResetEmailSent,
|
|
4102
|
-
messages: messages$
|
|
4102
|
+
messages: messages$a
|
|
4103
4103
|
};
|
|
4104
4104
|
|
|
4105
4105
|
var title$3 = "Change your password";
|
|
@@ -4200,7 +4200,7 @@ var buttons$3 = {
|
|
|
4200
4200
|
purchase: "Purchase",
|
|
4201
4201
|
"continue": "Continue"
|
|
4202
4202
|
};
|
|
4203
|
-
var messages$
|
|
4203
|
+
var messages$9 = {
|
|
4204
4204
|
orderConfirmed: {
|
|
4205
4205
|
title: "Order confirmed!",
|
|
4206
4206
|
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."
|
|
@@ -4209,14 +4209,14 @@ var messages$7 = {
|
|
|
4209
4209
|
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.",
|
|
4210
4210
|
currencyMismatch: "The selected item(s) do not match your current default currency ({{currency}}). Please choose item(s) only matching this currency."
|
|
4211
4211
|
};
|
|
4212
|
-
var labels$
|
|
4212
|
+
var labels$9 = {
|
|
4213
4213
|
summary: "Order summary",
|
|
4214
4214
|
total: "total"
|
|
4215
4215
|
};
|
|
4216
4216
|
var shop_en = {
|
|
4217
4217
|
buttons: buttons$3,
|
|
4218
|
-
messages: messages$
|
|
4219
|
-
labels: labels$
|
|
4218
|
+
messages: messages$9,
|
|
4219
|
+
labels: labels$9
|
|
4220
4220
|
};
|
|
4221
4221
|
|
|
4222
4222
|
var buttons$2 = {
|
|
@@ -4225,7 +4225,7 @@ var buttons$2 = {
|
|
|
4225
4225
|
purchase: "Acheter",
|
|
4226
4226
|
"continue": "Continuer au contenu"
|
|
4227
4227
|
};
|
|
4228
|
-
var messages$
|
|
4228
|
+
var messages$8 = {
|
|
4229
4229
|
orderConfirmed: {
|
|
4230
4230
|
title: "Votre commande est confirmée !",
|
|
4231
4231
|
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."
|
|
@@ -4234,17 +4234,17 @@ var messages$6 = {
|
|
|
4234
4234
|
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.",
|
|
4235
4235
|
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."
|
|
4236
4236
|
};
|
|
4237
|
-
var labels$
|
|
4237
|
+
var labels$8 = {
|
|
4238
4238
|
summary: "récapitulatif de commande",
|
|
4239
4239
|
total: "total"
|
|
4240
4240
|
};
|
|
4241
4241
|
var shop_fr = {
|
|
4242
4242
|
buttons: buttons$2,
|
|
4243
|
-
messages: messages$
|
|
4244
|
-
labels: labels$
|
|
4243
|
+
messages: messages$8,
|
|
4244
|
+
labels: labels$8
|
|
4245
4245
|
};
|
|
4246
4246
|
|
|
4247
|
-
var labels$
|
|
4247
|
+
var labels$7 = {
|
|
4248
4248
|
cardNumber: "Numéro de carte",
|
|
4249
4249
|
securityCode: "Code de sécurité",
|
|
4250
4250
|
submit: "Soumettre",
|
|
@@ -4266,7 +4266,7 @@ var labels$5 = {
|
|
|
4266
4266
|
title: "Informations de paiement"
|
|
4267
4267
|
}
|
|
4268
4268
|
};
|
|
4269
|
-
var messages$
|
|
4269
|
+
var messages$7 = {
|
|
4270
4270
|
youAreSafe: "Vous êtes en sécurité - PCI conforme 128 SSL par",
|
|
4271
4271
|
cancel: "Annuler votre abonnement en ligne à tout moment.",
|
|
4272
4272
|
giftSent: "Le cadeau d’abonnement a été envoyé à",
|
|
@@ -4279,12 +4279,12 @@ var errors$1 = {
|
|
|
4279
4279
|
"": ""
|
|
4280
4280
|
};
|
|
4281
4281
|
var payment_fr = {
|
|
4282
|
-
labels: labels$
|
|
4283
|
-
messages: messages$
|
|
4282
|
+
labels: labels$7,
|
|
4283
|
+
messages: messages$7,
|
|
4284
4284
|
errors: errors$1
|
|
4285
4285
|
};
|
|
4286
4286
|
|
|
4287
|
-
var labels$
|
|
4287
|
+
var labels$6 = {
|
|
4288
4288
|
cardNumber: "Card number",
|
|
4289
4289
|
securityCode: "Security Code",
|
|
4290
4290
|
submit: "Submit",
|
|
@@ -4306,7 +4306,7 @@ var labels$4 = {
|
|
|
4306
4306
|
title: "Payment Information"
|
|
4307
4307
|
}
|
|
4308
4308
|
};
|
|
4309
|
-
var messages$
|
|
4309
|
+
var messages$6 = {
|
|
4310
4310
|
youAreSafe: "You're safe - PCI compliant 128 SSL by",
|
|
4311
4311
|
cancel: "Cancel your subscription online at anytime.",
|
|
4312
4312
|
giftSent: "Subscription gift has been sent to",
|
|
@@ -4319,12 +4319,12 @@ var errors = {
|
|
|
4319
4319
|
"": ""
|
|
4320
4320
|
};
|
|
4321
4321
|
var payment_en = {
|
|
4322
|
-
labels: labels$
|
|
4323
|
-
messages: messages$
|
|
4322
|
+
labels: labels$6,
|
|
4323
|
+
messages: messages$6,
|
|
4324
4324
|
errors: errors
|
|
4325
4325
|
};
|
|
4326
4326
|
|
|
4327
|
-
var labels$
|
|
4327
|
+
var labels$5 = {
|
|
4328
4328
|
menu: "Pelcro Menu",
|
|
4329
4329
|
name: "Name",
|
|
4330
4330
|
email: "Email",
|
|
@@ -4391,7 +4391,7 @@ var labels$3 = {
|
|
|
4391
4391
|
goBack: "Go back"
|
|
4392
4392
|
}
|
|
4393
4393
|
};
|
|
4394
|
-
var messages$
|
|
4394
|
+
var messages$5 = {
|
|
4395
4395
|
noCard: "You don't have a card",
|
|
4396
4396
|
subCancellation: {
|
|
4397
4397
|
isSureToCancel: "Are you sure you want to cancel your subscription?",
|
|
@@ -4401,11 +4401,11 @@ var messages$3 = {
|
|
|
4401
4401
|
}
|
|
4402
4402
|
};
|
|
4403
4403
|
var dashboard_en = {
|
|
4404
|
-
labels: labels$
|
|
4405
|
-
messages: messages$
|
|
4404
|
+
labels: labels$5,
|
|
4405
|
+
messages: messages$5
|
|
4406
4406
|
};
|
|
4407
4407
|
|
|
4408
|
-
var labels$
|
|
4408
|
+
var labels$4 = {
|
|
4409
4409
|
menu: "Menu Pelcro",
|
|
4410
4410
|
name: "Nom",
|
|
4411
4411
|
email: "Courriel",
|
|
@@ -4472,7 +4472,7 @@ var labels$2 = {
|
|
|
4472
4472
|
goBack: "Retourner"
|
|
4473
4473
|
}
|
|
4474
4474
|
};
|
|
4475
|
-
var messages$
|
|
4475
|
+
var messages$4 = {
|
|
4476
4476
|
noCard: "Vous n’avez pas une carte",
|
|
4477
4477
|
subCancellation: {
|
|
4478
4478
|
isSureToCancel: "Êtes-vous certain de vouloir annuler votre abonnement?",
|
|
@@ -4482,16 +4482,16 @@ var messages$2 = {
|
|
|
4482
4482
|
}
|
|
4483
4483
|
};
|
|
4484
4484
|
var dashboard_fr = {
|
|
4485
|
-
labels: labels$
|
|
4486
|
-
messages: messages$
|
|
4485
|
+
labels: labels$4,
|
|
4486
|
+
messages: messages$4
|
|
4487
4487
|
};
|
|
4488
4488
|
|
|
4489
|
-
var messages$
|
|
4489
|
+
var messages$3 = {
|
|
4490
4490
|
alreadyHaveAccount: "Already have an account?",
|
|
4491
4491
|
loginHere: "Login here",
|
|
4492
4492
|
checkbox: "Check this box to gift this subscription"
|
|
4493
4493
|
};
|
|
4494
|
-
var labels$
|
|
4494
|
+
var labels$3 = {
|
|
4495
4495
|
plan: {
|
|
4496
4496
|
title: "Subscribe to a plan",
|
|
4497
4497
|
subtitle: "Select one of the plans below and click on next."
|
|
@@ -4514,17 +4514,17 @@ var buttons$1 = {
|
|
|
4514
4514
|
back: "Back"
|
|
4515
4515
|
};
|
|
4516
4516
|
var select_en = {
|
|
4517
|
-
messages: messages$
|
|
4518
|
-
labels: labels$
|
|
4517
|
+
messages: messages$3,
|
|
4518
|
+
labels: labels$3,
|
|
4519
4519
|
buttons: buttons$1
|
|
4520
4520
|
};
|
|
4521
4521
|
|
|
4522
|
-
var messages = {
|
|
4522
|
+
var messages$2 = {
|
|
4523
4523
|
alreadyHaveAccount: "Vous avez déjà un compte ?",
|
|
4524
4524
|
loginHere: "Connectez-vous ici",
|
|
4525
4525
|
checkbox: "Cochez cette case pour offrir cet abonnement"
|
|
4526
4526
|
};
|
|
4527
|
-
var labels = {
|
|
4527
|
+
var labels$2 = {
|
|
4528
4528
|
plan: {
|
|
4529
4529
|
title: "Abonnez-vous à un plan",
|
|
4530
4530
|
subtitle: "Sélectionnez l’un des plans ci-dessous et cliquez sur suivant."
|
|
@@ -4547,8 +4547,8 @@ var buttons = {
|
|
|
4547
4547
|
back: "Retour"
|
|
4548
4548
|
};
|
|
4549
4549
|
var select_fr = {
|
|
4550
|
-
messages: messages,
|
|
4551
|
-
labels: labels,
|
|
4550
|
+
messages: messages$2,
|
|
4551
|
+
labels: labels$2,
|
|
4552
4552
|
buttons: buttons
|
|
4553
4553
|
};
|
|
4554
4554
|
|
|
@@ -4572,6 +4572,34 @@ var notification_fr = {
|
|
|
4572
4572
|
confirm: confirm
|
|
4573
4573
|
};
|
|
4574
4574
|
|
|
4575
|
+
var labels$1 = {
|
|
4576
|
+
title: "Verify your e-mail",
|
|
4577
|
+
instructions: "To complete creating your account, you need to verify your e-mail address by opening the verification link we've sent to your email:",
|
|
4578
|
+
resend: "Resend message"
|
|
4579
|
+
};
|
|
4580
|
+
var messages$1 = {
|
|
4581
|
+
resent: "Resent successfully",
|
|
4582
|
+
success: "E-mail verified successfully"
|
|
4583
|
+
};
|
|
4584
|
+
var verifyEmail_en = {
|
|
4585
|
+
labels: labels$1,
|
|
4586
|
+
messages: messages$1
|
|
4587
|
+
};
|
|
4588
|
+
|
|
4589
|
+
var labels = {
|
|
4590
|
+
title: "Verify your e-mail",
|
|
4591
|
+
instructions: "To complete creating your account, you need to verify your e-mail address by opening the verification link we've sent to your email:",
|
|
4592
|
+
resend: "Resend message"
|
|
4593
|
+
};
|
|
4594
|
+
var messages = {
|
|
4595
|
+
resent: "Resent successfully",
|
|
4596
|
+
success: "E-mail verified successfully"
|
|
4597
|
+
};
|
|
4598
|
+
var verifyEmail_fr = {
|
|
4599
|
+
labels: labels,
|
|
4600
|
+
messages: messages
|
|
4601
|
+
};
|
|
4602
|
+
|
|
4575
4603
|
function create$1(createState) {
|
|
4576
4604
|
let state;
|
|
4577
4605
|
const listeners = new Set();
|
|
@@ -5921,12 +5949,23 @@ class PelcroActions {
|
|
|
5921
5949
|
view,
|
|
5922
5950
|
cartItems,
|
|
5923
5951
|
...otherStateFields
|
|
5924
|
-
} = initialState$
|
|
5952
|
+
} = initialState$h;
|
|
5925
5953
|
this.set(otherStateFields);
|
|
5926
5954
|
});
|
|
5927
5955
|
|
|
5928
5956
|
_defineProperty$3(this, "switchView", view => {
|
|
5929
|
-
|
|
5957
|
+
var _window$Pelcro$site$r, _window$Pelcro$site$r2, _window$Pelcro$user$r, _window$Pelcro$user$r2;
|
|
5958
|
+
|
|
5959
|
+
const isEmailVerificationEnabled = (_window$Pelcro$site$r = (_window$Pelcro$site$r2 = window.Pelcro.site.read()) === null || _window$Pelcro$site$r2 === void 0 ? void 0 : _window$Pelcro$site$r2.email_verify_enabled) !== null && _window$Pelcro$site$r !== void 0 ? _window$Pelcro$site$r : false;
|
|
5960
|
+
const isUserEmailVerified = (_window$Pelcro$user$r = (_window$Pelcro$user$r2 = window.Pelcro.user.read()) === null || _window$Pelcro$user$r2 === void 0 ? void 0 : _window$Pelcro$user$r2.email_confirm) !== null && _window$Pelcro$user$r !== void 0 ? _window$Pelcro$user$r : false;
|
|
5961
|
+
const userMustVerifyEmail = this.get().isAuthenticated() && isEmailVerificationEnabled && !isUserEmailVerified; // view switching guards
|
|
5962
|
+
|
|
5963
|
+
if (userMustVerifyEmail && !["dashboard", "meter", "login", null].includes(view)) {
|
|
5964
|
+
return this.set({
|
|
5965
|
+
view: "email-verify"
|
|
5966
|
+
});
|
|
5967
|
+
}
|
|
5968
|
+
|
|
5930
5969
|
if (["login", "register"].includes(view) && this.get().isAuthenticated()) {
|
|
5931
5970
|
return this.set({
|
|
5932
5971
|
view: "dashboard"
|
|
@@ -6184,7 +6223,7 @@ class PelcroCallbacks {
|
|
|
6184
6223
|
}
|
|
6185
6224
|
});
|
|
6186
6225
|
|
|
6187
|
-
_defineProperty$3(this, "whenUserReady", callback => {
|
|
6226
|
+
_defineProperty$3(this, "whenUserReady", (callback, listenerOptions) => {
|
|
6188
6227
|
var _window$Pelcro$user$r;
|
|
6189
6228
|
|
|
6190
6229
|
if ((_window$Pelcro$user$r = window.Pelcro.user.read()) !== null && _window$Pelcro$user$r !== void 0 && _window$Pelcro$user$r.id) {
|
|
@@ -6192,7 +6231,7 @@ class PelcroCallbacks {
|
|
|
6192
6231
|
} else {
|
|
6193
6232
|
window.document.addEventListener("PelcroUserLoaded", e => {
|
|
6194
6233
|
callback(window.Pelcro.user.read());
|
|
6195
|
-
});
|
|
6234
|
+
}, listenerOptions);
|
|
6196
6235
|
}
|
|
6197
6236
|
});
|
|
6198
6237
|
|
|
@@ -6211,7 +6250,7 @@ class PelcroCallbacks {
|
|
|
6211
6250
|
|
|
6212
6251
|
}
|
|
6213
6252
|
|
|
6214
|
-
const initialState$
|
|
6253
|
+
const initialState$h = {
|
|
6215
6254
|
// View
|
|
6216
6255
|
view: null,
|
|
6217
6256
|
// Plans
|
|
@@ -6239,7 +6278,7 @@ const createPelcroStore = () => createStore(middleware_3((set, get) => {
|
|
|
6239
6278
|
return {
|
|
6240
6279
|
// Store setter
|
|
6241
6280
|
set,
|
|
6242
|
-
...initialState$
|
|
6281
|
+
...initialState$h,
|
|
6243
6282
|
// State actions
|
|
6244
6283
|
...actions,
|
|
6245
6284
|
// Callbacks
|
|
@@ -6390,7 +6429,7 @@ const calcAndFormatItemsTotal = (items, currency) => {
|
|
|
6390
6429
|
*/
|
|
6391
6430
|
|
|
6392
6431
|
const isValidViewFromURL = viewID => {
|
|
6393
|
-
if (["login", "register", "plan-select", "gift-redeem", "password-forgot", "password-reset", "password-change", "payment-method-update", "user-edit", "newsletter", "address-create", "order-create", "cart"].includes(viewID) || hasValidNewsletterUpdateUrl()) {
|
|
6432
|
+
if (["login", "register", "plan-select", "gift-redeem", "password-forgot", "password-reset", "password-change", "payment-method-update", "user-edit", "newsletter", "address-create", "order-create", "cart", "email-verify"].includes(viewID) || hasValidNewsletterUpdateUrl()) {
|
|
6394
6433
|
return true;
|
|
6395
6434
|
}
|
|
6396
6435
|
|
|
@@ -6604,6 +6643,7 @@ const resources = {
|
|
|
6604
6643
|
passwordReset: passwordReset_en,
|
|
6605
6644
|
passwordForgot: passwordForgot_en,
|
|
6606
6645
|
passwordChange: passwordChange_en,
|
|
6646
|
+
verifyEmail: verifyEmail_en,
|
|
6607
6647
|
cart: cart_en,
|
|
6608
6648
|
shop: shop_en,
|
|
6609
6649
|
payment: payment_en,
|
|
@@ -6626,6 +6666,7 @@ const resources = {
|
|
|
6626
6666
|
passwordReset: passwordReset_fr,
|
|
6627
6667
|
passwordForgot: passwordForgot_fr,
|
|
6628
6668
|
passwordChange: passwordChange_fr,
|
|
6669
|
+
verifyEmail: verifyEmail_fr,
|
|
6629
6670
|
cart: cart_fr,
|
|
6630
6671
|
shop: shop_fr,
|
|
6631
6672
|
payment: payment_fr,
|
|
@@ -6915,8 +6956,8 @@ const saveToMetadataButton = new SaveToMetadataButtonClass();
|
|
|
6915
6956
|
|
|
6916
6957
|
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=(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(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}}
|
|
6917
6958
|
|
|
6918
|
-
function _extends$
|
|
6919
|
-
_extends$
|
|
6959
|
+
function _extends$y() {
|
|
6960
|
+
_extends$y = Object.assign || function (target) {
|
|
6920
6961
|
for (var i = 1; i < arguments.length; i++) {
|
|
6921
6962
|
var source = arguments[i];
|
|
6922
6963
|
|
|
@@ -6930,7 +6971,7 @@ function _extends$x() {
|
|
|
6930
6971
|
return target;
|
|
6931
6972
|
};
|
|
6932
6973
|
|
|
6933
|
-
return _extends$
|
|
6974
|
+
return _extends$y.apply(this, arguments);
|
|
6934
6975
|
}
|
|
6935
6976
|
|
|
6936
6977
|
function _taggedTemplateLiteralLoose(strings, raw) {
|
|
@@ -7020,7 +7061,7 @@ var clearFromRemoveQueue = function clearFromRemoveQueue(toastId) {
|
|
|
7020
7061
|
var reducer = function reducer(state, action) {
|
|
7021
7062
|
switch (action.type) {
|
|
7022
7063
|
case ActionType.ADD_TOAST:
|
|
7023
|
-
return _extends$
|
|
7064
|
+
return _extends$y({}, state, {
|
|
7024
7065
|
toasts: [action.toast].concat(state.toasts).slice(0, TOAST_LIMIT)
|
|
7025
7066
|
});
|
|
7026
7067
|
|
|
@@ -7030,9 +7071,9 @@ var reducer = function reducer(state, action) {
|
|
|
7030
7071
|
clearFromRemoveQueue(action.toast.id);
|
|
7031
7072
|
}
|
|
7032
7073
|
|
|
7033
|
-
return _extends$
|
|
7074
|
+
return _extends$y({}, state, {
|
|
7034
7075
|
toasts: state.toasts.map(function (t) {
|
|
7035
|
-
return t.id === action.toast.id ? _extends$
|
|
7076
|
+
return t.id === action.toast.id ? _extends$y({}, t, action.toast) : t;
|
|
7036
7077
|
})
|
|
7037
7078
|
});
|
|
7038
7079
|
|
|
@@ -7059,9 +7100,9 @@ var reducer = function reducer(state, action) {
|
|
|
7059
7100
|
});
|
|
7060
7101
|
}
|
|
7061
7102
|
|
|
7062
|
-
return _extends$
|
|
7103
|
+
return _extends$y({}, state, {
|
|
7063
7104
|
toasts: state.toasts.map(function (t) {
|
|
7064
|
-
return t.id === toastId || toastId === undefined ? _extends$
|
|
7105
|
+
return t.id === toastId || toastId === undefined ? _extends$y({}, t, {
|
|
7065
7106
|
visible: false
|
|
7066
7107
|
}) : t;
|
|
7067
7108
|
})
|
|
@@ -7069,28 +7110,28 @@ var reducer = function reducer(state, action) {
|
|
|
7069
7110
|
|
|
7070
7111
|
case ActionType.REMOVE_TOAST:
|
|
7071
7112
|
if (action.toastId === undefined) {
|
|
7072
|
-
return _extends$
|
|
7113
|
+
return _extends$y({}, state, {
|
|
7073
7114
|
toasts: []
|
|
7074
7115
|
});
|
|
7075
7116
|
}
|
|
7076
7117
|
|
|
7077
|
-
return _extends$
|
|
7118
|
+
return _extends$y({}, state, {
|
|
7078
7119
|
toasts: state.toasts.filter(function (t) {
|
|
7079
7120
|
return t.id !== action.toastId;
|
|
7080
7121
|
})
|
|
7081
7122
|
});
|
|
7082
7123
|
|
|
7083
7124
|
case ActionType.START_PAUSE:
|
|
7084
|
-
return _extends$
|
|
7125
|
+
return _extends$y({}, state, {
|
|
7085
7126
|
pausedAt: action.time
|
|
7086
7127
|
});
|
|
7087
7128
|
|
|
7088
7129
|
case ActionType.END_PAUSE:
|
|
7089
7130
|
var diff = action.time - (state.pausedAt || 0);
|
|
7090
|
-
return _extends$
|
|
7131
|
+
return _extends$y({}, state, {
|
|
7091
7132
|
pausedAt: undefined,
|
|
7092
7133
|
toasts: state.toasts.map(function (t) {
|
|
7093
|
-
return _extends$
|
|
7134
|
+
return _extends$y({}, t, {
|
|
7094
7135
|
pauseDuration: t.pauseDuration + diff
|
|
7095
7136
|
});
|
|
7096
7137
|
})
|
|
@@ -7137,12 +7178,12 @@ var useStore = function useStore(toastOptions) {
|
|
|
7137
7178
|
var mergedToasts = state.toasts.map(function (t) {
|
|
7138
7179
|
var _toastOptions$t$type, _toastOptions, _toastOptions$t$type2;
|
|
7139
7180
|
|
|
7140
|
-
return _extends$
|
|
7181
|
+
return _extends$y({}, toastOptions, toastOptions[t.type], t, {
|
|
7141
7182
|
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],
|
|
7142
|
-
style: _extends$
|
|
7183
|
+
style: _extends$y({}, toastOptions.style, (_toastOptions$t$type2 = toastOptions[t.type]) == null ? void 0 : _toastOptions$t$type2.style, t.style)
|
|
7143
7184
|
});
|
|
7144
7185
|
});
|
|
7145
|
-
return _extends$
|
|
7186
|
+
return _extends$y({}, state, {
|
|
7146
7187
|
toasts: mergedToasts
|
|
7147
7188
|
});
|
|
7148
7189
|
};
|
|
@@ -7152,7 +7193,7 @@ var createToast = function createToast(message, type, opts) {
|
|
|
7152
7193
|
type = 'blank';
|
|
7153
7194
|
}
|
|
7154
7195
|
|
|
7155
|
-
return _extends$
|
|
7196
|
+
return _extends$y({
|
|
7156
7197
|
createdAt: Date.now(),
|
|
7157
7198
|
visible: true,
|
|
7158
7199
|
type: type,
|
|
@@ -7202,14 +7243,14 @@ toast.remove = function (toastId) {
|
|
|
7202
7243
|
};
|
|
7203
7244
|
|
|
7204
7245
|
toast.promise = function (promise, msgs, opts) {
|
|
7205
|
-
var id = toast.loading(msgs.loading, _extends$
|
|
7246
|
+
var id = toast.loading(msgs.loading, _extends$y({}, opts, opts == null ? void 0 : opts.loading));
|
|
7206
7247
|
promise.then(function (p) {
|
|
7207
|
-
toast.success(resolveValue(msgs.success, p), _extends$
|
|
7248
|
+
toast.success(resolveValue(msgs.success, p), _extends$y({
|
|
7208
7249
|
id: id
|
|
7209
7250
|
}, opts, opts == null ? void 0 : opts.success));
|
|
7210
7251
|
return p;
|
|
7211
7252
|
})["catch"](function (e) {
|
|
7212
|
-
toast.error(resolveValue(msgs.error, e), _extends$
|
|
7253
|
+
toast.error(resolveValue(msgs.error, e), _extends$y({
|
|
7213
7254
|
id: id
|
|
7214
7255
|
}, opts, opts == null ? void 0 : opts.error));
|
|
7215
7256
|
});
|
|
@@ -7548,7 +7589,7 @@ var ToastBar = /*#__PURE__*/memo(function (_ref2) {
|
|
|
7548
7589
|
var message = createElement(Message, Object.assign({}, toast.ariaProps), resolveValue(toast.message, toast));
|
|
7549
7590
|
return createElement(ToastBarBase, {
|
|
7550
7591
|
className: toast.className,
|
|
7551
|
-
style: _extends$
|
|
7592
|
+
style: _extends$y({}, animationStyle, style, toast.style)
|
|
7552
7593
|
}, typeof children === 'function' ? children({
|
|
7553
7594
|
icon: icon,
|
|
7554
7595
|
message: message
|
|
@@ -7578,7 +7619,7 @@ var getPositionStyle = function getPositionStyle(position, offset) {
|
|
|
7578
7619
|
} : position.includes('right') ? {
|
|
7579
7620
|
justifyContent: 'flex-end'
|
|
7580
7621
|
} : {};
|
|
7581
|
-
return _extends$
|
|
7622
|
+
return _extends$y({
|
|
7582
7623
|
left: 0,
|
|
7583
7624
|
right: 0,
|
|
7584
7625
|
display: 'flex',
|
|
@@ -7605,7 +7646,7 @@ var Toaster = function Toaster(_ref) {
|
|
|
7605
7646
|
handlers = _useToaster.handlers;
|
|
7606
7647
|
|
|
7607
7648
|
return createElement("div", {
|
|
7608
|
-
style: _extends$
|
|
7649
|
+
style: _extends$y({
|
|
7609
7650
|
position: 'fixed',
|
|
7610
7651
|
zIndex: 9999,
|
|
7611
7652
|
top: DEFAULT_OFFSET,
|
|
@@ -7640,87 +7681,87 @@ var Toaster = function Toaster(_ref) {
|
|
|
7640
7681
|
}));
|
|
7641
7682
|
};
|
|
7642
7683
|
|
|
7643
|
-
var _path$
|
|
7684
|
+
var _path$v;
|
|
7644
7685
|
|
|
7645
|
-
function _extends$
|
|
7686
|
+
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); }
|
|
7646
7687
|
|
|
7647
7688
|
function SvgCheckSolid(props) {
|
|
7648
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
7689
|
+
return /*#__PURE__*/React.createElement("svg", _extends$x({
|
|
7649
7690
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7650
7691
|
className: "h-5 w-5",
|
|
7651
7692
|
viewBox: "0 0 20 20",
|
|
7652
7693
|
fill: "currentColor"
|
|
7653
|
-
}, props), _path$
|
|
7694
|
+
}, props), _path$v || (_path$v = /*#__PURE__*/React.createElement("path", {
|
|
7654
7695
|
fillRule: "evenodd",
|
|
7655
7696
|
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",
|
|
7656
7697
|
clipRule: "evenodd"
|
|
7657
7698
|
})));
|
|
7658
7699
|
}
|
|
7659
7700
|
|
|
7660
|
-
var _path$
|
|
7701
|
+
var _path$u;
|
|
7661
7702
|
|
|
7662
|
-
function _extends$
|
|
7703
|
+
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); }
|
|
7663
7704
|
|
|
7664
7705
|
function SvgXIcon(props) {
|
|
7665
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
7706
|
+
return /*#__PURE__*/React.createElement("svg", _extends$w({
|
|
7666
7707
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7667
7708
|
viewBox: "0 0 20 20",
|
|
7668
7709
|
fill: "currentColor"
|
|
7669
|
-
}, props), _path$
|
|
7710
|
+
}, props), _path$u || (_path$u = /*#__PURE__*/React.createElement("path", {
|
|
7670
7711
|
fill: "evenodd",
|
|
7671
7712
|
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",
|
|
7672
7713
|
clipRule: "evenodd"
|
|
7673
7714
|
})));
|
|
7674
7715
|
}
|
|
7675
7716
|
|
|
7676
|
-
var _path$
|
|
7717
|
+
var _path$t;
|
|
7677
7718
|
|
|
7678
|
-
function _extends$
|
|
7719
|
+
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); }
|
|
7679
7720
|
|
|
7680
7721
|
function SvgXIconSolid(props) {
|
|
7681
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
7722
|
+
return /*#__PURE__*/React.createElement("svg", _extends$v({
|
|
7682
7723
|
className: "plc-w-4 plc-h-4",
|
|
7683
7724
|
fill: "currentColor",
|
|
7684
7725
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7685
7726
|
viewBox: "0 0 100 100"
|
|
7686
|
-
}, props), _path$
|
|
7727
|
+
}, props), _path$t || (_path$t = /*#__PURE__*/React.createElement("path", {
|
|
7687
7728
|
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"
|
|
7688
7729
|
})));
|
|
7689
7730
|
}
|
|
7690
7731
|
|
|
7691
|
-
var _path$
|
|
7732
|
+
var _path$s;
|
|
7692
7733
|
|
|
7693
|
-
function _extends$
|
|
7734
|
+
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); }
|
|
7694
7735
|
|
|
7695
7736
|
function SvgExclamation(props) {
|
|
7696
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
7737
|
+
return /*#__PURE__*/React.createElement("svg", _extends$u({
|
|
7697
7738
|
className: "plc-w-4 plc-h-4 plc-mr-1",
|
|
7698
7739
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7699
7740
|
viewBox: "0 0 20 20",
|
|
7700
7741
|
fill: "currentColor"
|
|
7701
|
-
}, props), _path$
|
|
7742
|
+
}, props), _path$s || (_path$s = /*#__PURE__*/React.createElement("path", {
|
|
7702
7743
|
fillRule: "evenodd",
|
|
7703
7744
|
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",
|
|
7704
7745
|
clipRule: "evenodd"
|
|
7705
7746
|
})));
|
|
7706
7747
|
}
|
|
7707
7748
|
|
|
7708
|
-
var _path$
|
|
7749
|
+
var _path$r, _path2$4;
|
|
7709
7750
|
|
|
7710
|
-
function _extends$
|
|
7751
|
+
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); }
|
|
7711
7752
|
|
|
7712
7753
|
function SvgSpinner(props) {
|
|
7713
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
7754
|
+
return /*#__PURE__*/React.createElement("svg", _extends$t({
|
|
7714
7755
|
className: "plc-animate-spin",
|
|
7715
7756
|
viewBox: "0 0 24 24",
|
|
7716
7757
|
fill: "currentColor",
|
|
7717
7758
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7718
|
-
}, props), _path$
|
|
7759
|
+
}, props), _path$r || (_path$r = /*#__PURE__*/React.createElement("path", {
|
|
7719
7760
|
opacity: 0.2,
|
|
7720
7761
|
fill: "evenodd",
|
|
7721
7762
|
clipRule: "evenodd",
|
|
7722
7763
|
d: "M12 19a7 7 0 100-14 7 7 0 000 14zm0 3c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10z"
|
|
7723
|
-
})), _path2$
|
|
7764
|
+
})), _path2$4 || (_path2$4 = /*#__PURE__*/React.createElement("path", {
|
|
7724
7765
|
d: "M2 12C2 6.477 6.477 2 12 2v3a7 7 0 00-7 7H2z"
|
|
7725
7766
|
})));
|
|
7726
7767
|
}
|
|
@@ -8446,53 +8487,113 @@ var pure = pure$1;
|
|
|
8446
8487
|
var pure_1 = pure.loadStripe;
|
|
8447
8488
|
|
|
8448
8489
|
/**
|
|
8449
|
-
*
|
|
8450
|
-
* @
|
|
8451
|
-
* @
|
|
8452
|
-
* @property {boolean} enableTheme
|
|
8453
|
-
* @property {boolean} enablePaywalls
|
|
8454
|
-
* @property {boolean} enableGoogleAnalytics
|
|
8455
|
-
*/
|
|
8456
|
-
|
|
8457
|
-
/**
|
|
8458
|
-
* Initializes pelcro features based on the options flag object
|
|
8459
|
-
* @param {OptionsType} options
|
|
8460
|
-
* @returns
|
|
8490
|
+
* Extracts error message from the response error object
|
|
8491
|
+
* @param {Object} error Error object
|
|
8492
|
+
* @return {string}
|
|
8461
8493
|
*/
|
|
8494
|
+
const getErrorMessages = error => {
|
|
8495
|
+
var _error$error, _error$response, _error$response$data, _error$response3, _error$response3$data, _error$response3$data2, _error$response5, _error$response5$data;
|
|
8462
8496
|
|
|
8463
|
-
|
|
8464
|
-
|
|
8465
|
-
return;
|
|
8497
|
+
if (error !== null && error !== void 0 && (_error$error = error.error) !== null && _error$error !== void 0 && _error$error.message) {
|
|
8498
|
+
return error.error.message;
|
|
8466
8499
|
}
|
|
8467
8500
|
|
|
8468
|
-
|
|
8469
|
-
|
|
8470
|
-
loadAuth0SDK: loadAuth0SDK,
|
|
8471
|
-
enableURLTriggers: initViewFromURL,
|
|
8472
|
-
enableTheme: applyPelcroTheme,
|
|
8473
|
-
enablePaywalls: initPaywalls,
|
|
8474
|
-
loadSecuritySDK: initSecuritySdk,
|
|
8475
|
-
enableGoogleAnalytics: initGATracking
|
|
8476
|
-
}; // Only execute enabled options
|
|
8501
|
+
if (error !== null && error !== void 0 && (_error$response = error.response) !== null && _error$response !== void 0 && (_error$response$data = _error$response.data) !== null && _error$response$data !== void 0 && _error$response$data.message) {
|
|
8502
|
+
var _error$response2, _error$response2$data;
|
|
8477
8503
|
|
|
8478
|
-
|
|
8479
|
-
|
|
8504
|
+
return error === null || error === void 0 ? void 0 : (_error$response2 = error.response) === null || _error$response2 === void 0 ? void 0 : (_error$response2$data = _error$response2.data) === null || _error$response2$data === void 0 ? void 0 : _error$response2$data.message;
|
|
8505
|
+
}
|
|
8480
8506
|
|
|
8481
|
-
|
|
8482
|
-
|
|
8483
|
-
};
|
|
8484
|
-
const initPaywalls = () => {
|
|
8485
|
-
var _window$Pelcro$site$r;
|
|
8507
|
+
if (error !== null && error !== void 0 && (_error$response3 = error.response) !== null && _error$response3 !== void 0 && (_error$response3$data = _error$response3.data) !== null && _error$response3$data !== void 0 && (_error$response3$data2 = _error$response3$data.error) !== null && _error$response3$data2 !== void 0 && _error$response3$data2.message) {
|
|
8508
|
+
var _error$response4, _error$response4$data, _error$response4$data2;
|
|
8486
8509
|
|
|
8487
|
-
|
|
8488
|
-
|
|
8510
|
+
return error === null || error === void 0 ? void 0 : (_error$response4 = error.response) === null || _error$response4 === void 0 ? void 0 : (_error$response4$data = _error$response4.data) === null || _error$response4$data === void 0 ? void 0 : (_error$response4$data2 = _error$response4$data.error) === null || _error$response4$data2 === void 0 ? void 0 : _error$response4$data2.message;
|
|
8511
|
+
}
|
|
8489
8512
|
|
|
8490
|
-
|
|
8491
|
-
// blur entitlements based content
|
|
8492
|
-
const didBlurContent = init(); // Skip paywall if article is not restricted
|
|
8513
|
+
const errorMessages = []; // enumerable error (ex: validation errors)
|
|
8493
8514
|
|
|
8494
|
-
|
|
8495
|
-
|
|
8515
|
+
Object.values(error === null || error === void 0 ? void 0 : (_error$response5 = error.response) === null || _error$response5 === void 0 ? void 0 : (_error$response5$data = _error$response5.data) === null || _error$response5$data === void 0 ? void 0 : _error$response5$data.errors).forEach(([errorMessage]) => {
|
|
8516
|
+
errorMessages.push(errorMessage);
|
|
8517
|
+
}); // convert to multiline string
|
|
8518
|
+
|
|
8519
|
+
return errorMessages.join("\n");
|
|
8520
|
+
};
|
|
8521
|
+
/**
|
|
8522
|
+
* Executes function after a wait time of inactivity
|
|
8523
|
+
* @param {function} func
|
|
8524
|
+
* @param {number} waitTime
|
|
8525
|
+
*/
|
|
8526
|
+
|
|
8527
|
+
const debounce = (func, waitTime) => {
|
|
8528
|
+
let timeout;
|
|
8529
|
+
return function executedFunction(...args) {
|
|
8530
|
+
// The callback function to be executed after
|
|
8531
|
+
// the debounce time has elapsed
|
|
8532
|
+
const later = () => {
|
|
8533
|
+
// null timeout to indicate the debounce ended
|
|
8534
|
+
timeout = null;
|
|
8535
|
+
func(...args);
|
|
8536
|
+
}; // This will reset the waiting every function execution.
|
|
8537
|
+
// This is the step that prevents the function from
|
|
8538
|
+
// being executed because it will never reach the
|
|
8539
|
+
// inside of the previous setTimeout
|
|
8540
|
+
|
|
8541
|
+
|
|
8542
|
+
clearTimeout(timeout); // Restart the debounce waiting period.
|
|
8543
|
+
// setTimeout returns a truthy value (it differs in web vs Node)
|
|
8544
|
+
|
|
8545
|
+
timeout = setTimeout(later, waitTime);
|
|
8546
|
+
};
|
|
8547
|
+
};
|
|
8548
|
+
|
|
8549
|
+
/**
|
|
8550
|
+
* @typedef {Object} OptionsType
|
|
8551
|
+
* @property {boolean} loadPaymentSDKs
|
|
8552
|
+
* @property {boolean} enableURLTriggers
|
|
8553
|
+
* @property {boolean} enableTheme
|
|
8554
|
+
* @property {boolean} enablePaywalls
|
|
8555
|
+
* @property {boolean} enableGoogleAnalytics
|
|
8556
|
+
*/
|
|
8557
|
+
|
|
8558
|
+
/**
|
|
8559
|
+
* Initializes pelcro features based on the options flag object
|
|
8560
|
+
* @param {OptionsType} options
|
|
8561
|
+
* @returns
|
|
8562
|
+
*/
|
|
8563
|
+
|
|
8564
|
+
const optionsController = options => {
|
|
8565
|
+
if (!options) {
|
|
8566
|
+
return;
|
|
8567
|
+
}
|
|
8568
|
+
|
|
8569
|
+
const optionsMethodsDict = {
|
|
8570
|
+
loadPaymentSDKs: loadPaymentSDKs,
|
|
8571
|
+
loadAuth0SDK: loadAuth0SDK,
|
|
8572
|
+
enableURLTriggers: initViewFromURL,
|
|
8573
|
+
enableTheme: applyPelcroTheme,
|
|
8574
|
+
enablePaywalls: initPaywalls,
|
|
8575
|
+
loadSecuritySDK: initSecuritySdk,
|
|
8576
|
+
enableGoogleAnalytics: initGATracking
|
|
8577
|
+
}; // Only execute enabled options
|
|
8578
|
+
|
|
8579
|
+
Object.entries(options).filter(([_, value]) => value === true).forEach(([key]) => {
|
|
8580
|
+
var _optionsMethodsDict$k;
|
|
8581
|
+
|
|
8582
|
+
return (_optionsMethodsDict$k = optionsMethodsDict[key]) === null || _optionsMethodsDict$k === void 0 ? void 0 : _optionsMethodsDict$k.call(optionsMethodsDict);
|
|
8583
|
+
});
|
|
8584
|
+
};
|
|
8585
|
+
const initPaywalls = () => {
|
|
8586
|
+
var _window$Pelcro$site$r;
|
|
8587
|
+
|
|
8588
|
+
const paywallMethods = window.Pelcro.paywall;
|
|
8589
|
+
const viewFromURL = getStableViewID(window.Pelcro.helpers.getURLParameter("view"));
|
|
8590
|
+
|
|
8591
|
+
if (((_window$Pelcro$site$r = window.Pelcro.site.read()) === null || _window$Pelcro$site$r === void 0 ? void 0 : _window$Pelcro$site$r.settings) === "subscription") {
|
|
8592
|
+
// blur entitlements based content
|
|
8593
|
+
const didBlurContent = init(); // Skip paywall if article is not restricted
|
|
8594
|
+
|
|
8595
|
+
if (isValidViewFromURL(viewFromURL) || !paywallMethods.isArticleRestricted()) {
|
|
8596
|
+
return;
|
|
8496
8597
|
}
|
|
8497
8598
|
|
|
8498
8599
|
const {
|
|
@@ -8685,6 +8786,10 @@ const initViewFromURL = () => {
|
|
|
8685
8786
|
return initCartFromUrl();
|
|
8686
8787
|
}
|
|
8687
8788
|
|
|
8789
|
+
if (view === "email-verify") {
|
|
8790
|
+
return verifyEmailTokenFromUrl();
|
|
8791
|
+
}
|
|
8792
|
+
|
|
8688
8793
|
switchView(view);
|
|
8689
8794
|
});
|
|
8690
8795
|
}
|
|
@@ -8834,6 +8939,40 @@ const initCartFromUrl = () => {
|
|
|
8834
8939
|
});
|
|
8835
8940
|
};
|
|
8836
8941
|
|
|
8942
|
+
const verifyEmailTokenFromUrl = () => {
|
|
8943
|
+
var _window$Pelcro$site$r5, _window$Pelcro$site$r6;
|
|
8944
|
+
|
|
8945
|
+
const {
|
|
8946
|
+
whenUserReady
|
|
8947
|
+
} = usePelcro.getStore();
|
|
8948
|
+
const translations = i18next.t("verifyEmail:messages", {
|
|
8949
|
+
returnObjects: true
|
|
8950
|
+
});
|
|
8951
|
+
const emailToken = window.Pelcro.helpers.getURLParameter("token");
|
|
8952
|
+
const isEmailVerificationEnabled = (_window$Pelcro$site$r5 = (_window$Pelcro$site$r6 = window.Pelcro.site.read()) === null || _window$Pelcro$site$r6 === void 0 ? void 0 : _window$Pelcro$site$r6.email_verify_enabled) !== null && _window$Pelcro$site$r5 !== void 0 ? _window$Pelcro$site$r5 : false;
|
|
8953
|
+
if (!emailToken || !isEmailVerificationEnabled) return;
|
|
8954
|
+
/*
|
|
8955
|
+
using whenUserReady means that the verification link needs to be
|
|
8956
|
+
opened on the same device that was used for registeration to guarantee
|
|
8957
|
+
that the user is authenticated. if that's not the case, nothing would show up,
|
|
8958
|
+
this is a limitation caused by the SDK and it's events
|
|
8959
|
+
*/
|
|
8960
|
+
|
|
8961
|
+
whenUserReady(() => {
|
|
8962
|
+
window.Pelcro.user.verifyEmailToken({
|
|
8963
|
+
token: emailToken
|
|
8964
|
+
}, (err, res) => {
|
|
8965
|
+
if (err) {
|
|
8966
|
+
return notify.error(getErrorMessages(err));
|
|
8967
|
+
}
|
|
8968
|
+
|
|
8969
|
+
return notify.success(translations.success);
|
|
8970
|
+
});
|
|
8971
|
+
}, {
|
|
8972
|
+
once: true
|
|
8973
|
+
});
|
|
8974
|
+
};
|
|
8975
|
+
|
|
8837
8976
|
const defaultOptions = {
|
|
8838
8977
|
loadPaymentSDKs: true,
|
|
8839
8978
|
loadAuth0SDK: true,
|
|
@@ -9173,67 +9312,7 @@ const GET_NEWSLETTERS_FETCH = "GET_NEWSLETTERS_FETCH";
|
|
|
9173
9312
|
const GET_NEWSLETTERS_SUCCESS = "GET_NEWSLETTERS_SUCCESS";
|
|
9174
9313
|
const SWITCH_TO_UPDATE = "SWITCH_TO_UPDATE";
|
|
9175
9314
|
|
|
9176
|
-
|
|
9177
|
-
* Extracts error message from the response error object
|
|
9178
|
-
* @param {Object} error Error object
|
|
9179
|
-
* @return {string}
|
|
9180
|
-
*/
|
|
9181
|
-
const getErrorMessages = error => {
|
|
9182
|
-
var _error$error, _error$response, _error$response$data, _error$response3, _error$response3$data, _error$response3$data2, _error$response5, _error$response5$data;
|
|
9183
|
-
|
|
9184
|
-
if (error !== null && error !== void 0 && (_error$error = error.error) !== null && _error$error !== void 0 && _error$error.message) {
|
|
9185
|
-
return error.error.message;
|
|
9186
|
-
}
|
|
9187
|
-
|
|
9188
|
-
if (error !== null && error !== void 0 && (_error$response = error.response) !== null && _error$response !== void 0 && (_error$response$data = _error$response.data) !== null && _error$response$data !== void 0 && _error$response$data.message) {
|
|
9189
|
-
var _error$response2, _error$response2$data;
|
|
9190
|
-
|
|
9191
|
-
return error === null || error === void 0 ? void 0 : (_error$response2 = error.response) === null || _error$response2 === void 0 ? void 0 : (_error$response2$data = _error$response2.data) === null || _error$response2$data === void 0 ? void 0 : _error$response2$data.message;
|
|
9192
|
-
}
|
|
9193
|
-
|
|
9194
|
-
if (error !== null && error !== void 0 && (_error$response3 = error.response) !== null && _error$response3 !== void 0 && (_error$response3$data = _error$response3.data) !== null && _error$response3$data !== void 0 && (_error$response3$data2 = _error$response3$data.error) !== null && _error$response3$data2 !== void 0 && _error$response3$data2.message) {
|
|
9195
|
-
var _error$response4, _error$response4$data, _error$response4$data2;
|
|
9196
|
-
|
|
9197
|
-
return error === null || error === void 0 ? void 0 : (_error$response4 = error.response) === null || _error$response4 === void 0 ? void 0 : (_error$response4$data = _error$response4.data) === null || _error$response4$data === void 0 ? void 0 : (_error$response4$data2 = _error$response4$data.error) === null || _error$response4$data2 === void 0 ? void 0 : _error$response4$data2.message;
|
|
9198
|
-
}
|
|
9199
|
-
|
|
9200
|
-
const errorMessages = []; // enumerable error (ex: validation errors)
|
|
9201
|
-
|
|
9202
|
-
Object.values(error === null || error === void 0 ? void 0 : (_error$response5 = error.response) === null || _error$response5 === void 0 ? void 0 : (_error$response5$data = _error$response5.data) === null || _error$response5$data === void 0 ? void 0 : _error$response5$data.errors).forEach(([errorMessage]) => {
|
|
9203
|
-
errorMessages.push(errorMessage);
|
|
9204
|
-
}); // convert to multiline string
|
|
9205
|
-
|
|
9206
|
-
return errorMessages.join("\n");
|
|
9207
|
-
};
|
|
9208
|
-
/**
|
|
9209
|
-
* Executes function after a wait time of inactivity
|
|
9210
|
-
* @param {function} func
|
|
9211
|
-
* @param {number} waitTime
|
|
9212
|
-
*/
|
|
9213
|
-
|
|
9214
|
-
const debounce = (func, waitTime) => {
|
|
9215
|
-
let timeout;
|
|
9216
|
-
return function executedFunction(...args) {
|
|
9217
|
-
// The callback function to be executed after
|
|
9218
|
-
// the debounce time has elapsed
|
|
9219
|
-
const later = () => {
|
|
9220
|
-
// null timeout to indicate the debounce ended
|
|
9221
|
-
timeout = null;
|
|
9222
|
-
func(...args);
|
|
9223
|
-
}; // This will reset the waiting every function execution.
|
|
9224
|
-
// This is the step that prevents the function from
|
|
9225
|
-
// being executed because it will never reach the
|
|
9226
|
-
// inside of the previous setTimeout
|
|
9227
|
-
|
|
9228
|
-
|
|
9229
|
-
clearTimeout(timeout); // Restart the debounce waiting period.
|
|
9230
|
-
// setTimeout returns a truthy value (it differs in web vs Node)
|
|
9231
|
-
|
|
9232
|
-
timeout = setTimeout(later, waitTime);
|
|
9233
|
-
};
|
|
9234
|
-
};
|
|
9235
|
-
|
|
9236
|
-
const initialState$f = {
|
|
9315
|
+
const initialState$g = {
|
|
9237
9316
|
email: "",
|
|
9238
9317
|
password: "",
|
|
9239
9318
|
emailError: null,
|
|
@@ -9244,10 +9323,10 @@ const initialState$f = {
|
|
|
9244
9323
|
content: ""
|
|
9245
9324
|
}
|
|
9246
9325
|
};
|
|
9247
|
-
const store$
|
|
9326
|
+
const store$g = /*#__PURE__*/createContext(initialState$g);
|
|
9248
9327
|
const {
|
|
9249
|
-
Provider: Provider$
|
|
9250
|
-
} = store$
|
|
9328
|
+
Provider: Provider$g
|
|
9329
|
+
} = store$g;
|
|
9251
9330
|
|
|
9252
9331
|
const LoginContainer = ({
|
|
9253
9332
|
style,
|
|
@@ -9354,7 +9433,7 @@ const LoginContainer = ({
|
|
|
9354
9433
|
});
|
|
9355
9434
|
|
|
9356
9435
|
case RESET_LOGIN_FORM:
|
|
9357
|
-
return initialState$
|
|
9436
|
+
return initialState$g;
|
|
9358
9437
|
|
|
9359
9438
|
case DISABLE_LOGIN_BUTTON:
|
|
9360
9439
|
return lib_7({ ...state,
|
|
@@ -9372,12 +9451,12 @@ const LoginContainer = ({
|
|
|
9372
9451
|
default:
|
|
9373
9452
|
return state;
|
|
9374
9453
|
}
|
|
9375
|
-
}, initialState$
|
|
9454
|
+
}, initialState$g);
|
|
9376
9455
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
9377
9456
|
style: { ...style
|
|
9378
9457
|
},
|
|
9379
9458
|
className: `pelcro-container pelcro-login-container ${className}`
|
|
9380
|
-
}, /*#__PURE__*/React__default.createElement(Provider$
|
|
9459
|
+
}, /*#__PURE__*/React__default.createElement(Provider$g, {
|
|
9381
9460
|
value: {
|
|
9382
9461
|
state,
|
|
9383
9462
|
dispatch
|
|
@@ -9385,12 +9464,12 @@ const LoginContainer = ({
|
|
|
9385
9464
|
}, children.length ? children.map((child, i) => {
|
|
9386
9465
|
if (child) {
|
|
9387
9466
|
return /*#__PURE__*/React__default.cloneElement(child, {
|
|
9388
|
-
store: store$
|
|
9467
|
+
store: store$g,
|
|
9389
9468
|
key: i
|
|
9390
9469
|
});
|
|
9391
9470
|
}
|
|
9392
9471
|
}) : /*#__PURE__*/React__default.cloneElement(children, {
|
|
9393
|
-
store: store$
|
|
9472
|
+
store: store$g
|
|
9394
9473
|
})));
|
|
9395
9474
|
};
|
|
9396
9475
|
|
|
@@ -9635,7 +9714,7 @@ const LoginButton = ({
|
|
|
9635
9714
|
buttonDisabled
|
|
9636
9715
|
},
|
|
9637
9716
|
dispatch
|
|
9638
|
-
} = useContext(store$
|
|
9717
|
+
} = useContext(store$g);
|
|
9639
9718
|
const {
|
|
9640
9719
|
t
|
|
9641
9720
|
} = useTranslation("login");
|
|
@@ -9656,23 +9735,23 @@ const LoginButton = ({
|
|
|
9656
9735
|
};
|
|
9657
9736
|
|
|
9658
9737
|
const LoginEmail = props => /*#__PURE__*/React__default.createElement(Email, Object.assign({
|
|
9659
|
-
store: store$
|
|
9738
|
+
store: store$g
|
|
9660
9739
|
}, props));
|
|
9661
9740
|
|
|
9662
9741
|
const LoginPassword = props => /*#__PURE__*/React__default.createElement(Password, Object.assign({
|
|
9663
|
-
store: store$
|
|
9742
|
+
store: store$g
|
|
9664
9743
|
}, props));
|
|
9665
9744
|
|
|
9666
|
-
var _path$
|
|
9745
|
+
var _path$q;
|
|
9667
9746
|
|
|
9668
|
-
function _extends$
|
|
9747
|
+
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); }
|
|
9669
9748
|
|
|
9670
9749
|
function SvgCheck(props) {
|
|
9671
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
9750
|
+
return /*#__PURE__*/React.createElement("svg", _extends$s({
|
|
9672
9751
|
xmlns: "http://www.w3.org/2000/svg",
|
|
9673
9752
|
fill: "currentColor",
|
|
9674
9753
|
viewBox: "0 0 20 20"
|
|
9675
|
-
}, props), _path$
|
|
9754
|
+
}, props), _path$q || (_path$q = /*#__PURE__*/React.createElement("path", {
|
|
9676
9755
|
fillRule: "evenodd",
|
|
9677
9756
|
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",
|
|
9678
9757
|
clipRule: "evenodd"
|
|
@@ -9737,7 +9816,7 @@ var facebookLoginRenderProps = createCommonjsModule(function (module, exports) {
|
|
|
9737
9816
|
var FacebookLogin = unwrapExports(facebookLoginRenderProps);
|
|
9738
9817
|
facebookLoginRenderProps.FacebookLogin;
|
|
9739
9818
|
|
|
9740
|
-
const initialState$
|
|
9819
|
+
const initialState$f = {
|
|
9741
9820
|
email: "",
|
|
9742
9821
|
password: "",
|
|
9743
9822
|
emailError: null,
|
|
@@ -9754,10 +9833,10 @@ const initialState$e = {
|
|
|
9754
9833
|
content: ""
|
|
9755
9834
|
}
|
|
9756
9835
|
};
|
|
9757
|
-
const store$
|
|
9836
|
+
const store$f = /*#__PURE__*/createContext(initialState$f);
|
|
9758
9837
|
const {
|
|
9759
|
-
Provider: Provider$
|
|
9760
|
-
} = store$
|
|
9838
|
+
Provider: Provider$f
|
|
9839
|
+
} = store$f;
|
|
9761
9840
|
|
|
9762
9841
|
const RegisterContainer = ({
|
|
9763
9842
|
style,
|
|
@@ -9940,7 +10019,7 @@ const RegisterContainer = ({
|
|
|
9940
10019
|
});
|
|
9941
10020
|
|
|
9942
10021
|
case RESET_LOGIN_FORM:
|
|
9943
|
-
return initialState$
|
|
10022
|
+
return initialState$f;
|
|
9944
10023
|
|
|
9945
10024
|
case DISABLE_REGISTRATION_BUTTON:
|
|
9946
10025
|
return lib_7({ ...state,
|
|
@@ -9958,12 +10037,12 @@ const RegisterContainer = ({
|
|
|
9958
10037
|
default:
|
|
9959
10038
|
return state;
|
|
9960
10039
|
}
|
|
9961
|
-
}, initialState$
|
|
10040
|
+
}, initialState$f);
|
|
9962
10041
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
9963
10042
|
style: { ...style
|
|
9964
10043
|
},
|
|
9965
10044
|
className: `pelcro-container pelcro-register-container ${className}`
|
|
9966
|
-
}, /*#__PURE__*/React__default.createElement(Provider$
|
|
10045
|
+
}, /*#__PURE__*/React__default.createElement(Provider$f, {
|
|
9967
10046
|
value: {
|
|
9968
10047
|
state,
|
|
9969
10048
|
dispatch
|
|
@@ -9971,12 +10050,12 @@ const RegisterContainer = ({
|
|
|
9971
10050
|
}, children.length ? children.map((child, i) => {
|
|
9972
10051
|
if (child) {
|
|
9973
10052
|
return /*#__PURE__*/React__default.cloneElement(child, {
|
|
9974
|
-
store: store$
|
|
10053
|
+
store: store$f,
|
|
9975
10054
|
key: i
|
|
9976
10055
|
});
|
|
9977
10056
|
}
|
|
9978
10057
|
}) : /*#__PURE__*/React__default.cloneElement(children, {
|
|
9979
|
-
store: store$
|
|
10058
|
+
store: store$f
|
|
9980
10059
|
})));
|
|
9981
10060
|
};
|
|
9982
10061
|
/**
|
|
@@ -9991,15 +10070,15 @@ function hasSecurityTokenEnabled$1() {
|
|
|
9991
10070
|
return hasSecuritySdkLoaded;
|
|
9992
10071
|
}
|
|
9993
10072
|
|
|
9994
|
-
var _path$
|
|
10073
|
+
var _path$p;
|
|
9995
10074
|
|
|
9996
|
-
function _extends$
|
|
10075
|
+
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); }
|
|
9997
10076
|
|
|
9998
10077
|
function SvgFacebookLogo(props) {
|
|
9999
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
10078
|
+
return /*#__PURE__*/React.createElement("svg", _extends$r({
|
|
10000
10079
|
xmlns: "http://www.w3.org/2000/svg",
|
|
10001
10080
|
viewBox: "88.428 12.828 107.543 207.085"
|
|
10002
|
-
}, props), _path$
|
|
10081
|
+
}, props), _path$p || (_path$p = /*#__PURE__*/React.createElement("path", {
|
|
10003
10082
|
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",
|
|
10004
10083
|
fill: "#3c5a9a"
|
|
10005
10084
|
})));
|
|
@@ -10016,10 +10095,10 @@ const FacebookLoginButton = ({
|
|
|
10016
10095
|
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;
|
|
10017
10096
|
const {
|
|
10018
10097
|
dispatch: loginDispatch
|
|
10019
|
-
} = useContext(store$
|
|
10098
|
+
} = useContext(store$g);
|
|
10020
10099
|
const {
|
|
10021
10100
|
dispatch: registerDispatch
|
|
10022
|
-
} = useContext(store$
|
|
10101
|
+
} = useContext(store$f);
|
|
10023
10102
|
|
|
10024
10103
|
const onSuccess = facebookUser => {
|
|
10025
10104
|
loginDispatch === null || loginDispatch === void 0 ? void 0 : loginDispatch({
|
|
@@ -10072,18 +10151,18 @@ var googleLogin = createCommonjsModule(function (module, exports) {
|
|
|
10072
10151
|
unwrapExports(googleLogin);
|
|
10073
10152
|
var googleLogin_1 = googleLogin.GoogleLogin;
|
|
10074
10153
|
|
|
10075
|
-
var _path$
|
|
10154
|
+
var _path$o, _path2$3, _path3$1, _path4;
|
|
10076
10155
|
|
|
10077
|
-
function _extends$
|
|
10156
|
+
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); }
|
|
10078
10157
|
|
|
10079
10158
|
function SvgGoogleLogo(props) {
|
|
10080
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
10159
|
+
return /*#__PURE__*/React.createElement("svg", _extends$q({
|
|
10081
10160
|
viewBox: "0 0 24 24",
|
|
10082
10161
|
xmlns: "http://www.w3.org/2000/svg"
|
|
10083
|
-
}, props), _path$
|
|
10162
|
+
}, props), _path$o || (_path$o = /*#__PURE__*/React.createElement("path", {
|
|
10084
10163
|
fill: "#4285F4",
|
|
10085
10164
|
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"
|
|
10086
|
-
})), _path2$
|
|
10165
|
+
})), _path2$3 || (_path2$3 = /*#__PURE__*/React.createElement("path", {
|
|
10087
10166
|
fill: "#34A853",
|
|
10088
10167
|
d: "M12.255 24c3.24 0 5.95-1.08 7.93-2.91l-3.86-3c-1.08.72-2.45 1.16-4.07 1.16-3.13 0-5.78-2.11-6.73-4.96h-3.98v3.09C3.515 21.3 7.565 24 12.255 24z"
|
|
10089
10168
|
})), _path3$1 || (_path3$1 = /*#__PURE__*/React.createElement("path", {
|
|
@@ -10106,10 +10185,10 @@ const GoogleLoginButton = ({
|
|
|
10106
10185
|
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;
|
|
10107
10186
|
const {
|
|
10108
10187
|
dispatch: loginDispatch
|
|
10109
|
-
} = useContext(store$
|
|
10188
|
+
} = useContext(store$g);
|
|
10110
10189
|
const {
|
|
10111
10190
|
dispatch: registerDispatch
|
|
10112
|
-
} = useContext(store$
|
|
10191
|
+
} = useContext(store$f);
|
|
10113
10192
|
|
|
10114
10193
|
const onSuccess = response => {
|
|
10115
10194
|
var _response$getAuthResp, _profile$getEmail, _profile$getGivenName, _profile$getFamilyNam, _profile$getEmail2, _profile$getGivenName2, _profile$getFamilyNam2;
|
|
@@ -10157,15 +10236,15 @@ const GoogleLoginButton = ({
|
|
|
10157
10236
|
}) : null;
|
|
10158
10237
|
};
|
|
10159
10238
|
|
|
10160
|
-
var _path$
|
|
10239
|
+
var _path$n;
|
|
10161
10240
|
|
|
10162
|
-
function _extends$
|
|
10241
|
+
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); }
|
|
10163
10242
|
|
|
10164
10243
|
function SvgAuth0Logo(props) {
|
|
10165
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
10244
|
+
return /*#__PURE__*/React.createElement("svg", _extends$p({
|
|
10166
10245
|
viewBox: "0 0 256 285",
|
|
10167
10246
|
xmlns: "http://www.w3.org/2000/svg"
|
|
10168
|
-
}, props), _path$
|
|
10247
|
+
}, props), _path$n || (_path$n = /*#__PURE__*/React.createElement("path", {
|
|
10169
10248
|
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"
|
|
10170
10249
|
})));
|
|
10171
10250
|
}
|
|
@@ -10192,10 +10271,10 @@ const Auth0LoginButton = ({
|
|
|
10192
10271
|
}, []);
|
|
10193
10272
|
const {
|
|
10194
10273
|
dispatch: loginDispatch
|
|
10195
|
-
} = useContext(store$
|
|
10274
|
+
} = useContext(store$g);
|
|
10196
10275
|
const {
|
|
10197
10276
|
dispatch: registerDispatch
|
|
10198
|
-
} = useContext(store$
|
|
10277
|
+
} = useContext(store$f);
|
|
10199
10278
|
|
|
10200
10279
|
function handleClick() {
|
|
10201
10280
|
var _auth0InstanceRef$cur, _auth0InstanceRef$cur2, _auth0InstanceRef$cur3;
|
|
@@ -10324,19 +10403,19 @@ function LoginView(props) {
|
|
|
10324
10403
|
}, /*#__PURE__*/React__default.createElement(GoogleLoginButton, null), /*#__PURE__*/React__default.createElement(FacebookLoginButton, null), /*#__PURE__*/React__default.createElement(Auth0LoginButton, null))))));
|
|
10325
10404
|
}
|
|
10326
10405
|
|
|
10327
|
-
var _path$
|
|
10406
|
+
var _path$m, _path2$2, _path3;
|
|
10328
10407
|
|
|
10329
|
-
function _extends$
|
|
10408
|
+
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); }
|
|
10330
10409
|
|
|
10331
10410
|
function SvgPelcroAuthorship(props) {
|
|
10332
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
10411
|
+
return /*#__PURE__*/React.createElement("svg", _extends$o({
|
|
10333
10412
|
xmlns: "http://www.w3.org/2000/svg",
|
|
10334
10413
|
viewBox: "0 -80.652 497.072 179.991"
|
|
10335
|
-
}, props), _path$
|
|
10414
|
+
}, props), _path$m || (_path$m = /*#__PURE__*/React.createElement("path", {
|
|
10336
10415
|
fill: "none",
|
|
10337
10416
|
stroke: "#4a4a4a",
|
|
10338
10417
|
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"
|
|
10339
|
-
})), _path2$
|
|
10418
|
+
})), _path2$2 || (_path2$2 = /*#__PURE__*/React.createElement("path", {
|
|
10340
10419
|
d: "M46.875-5.564h7.294c.88 0 1.805.102 2.77.307s1.844.55 2.643 1.05 1.455 1.186 1.967 2.057.768 1.96.768 3.274c0 1.144-.207 2.132-.626 2.964s-.979 1.519-1.68 2.055-1.515.935-2.428 1.196c-.921.263-1.877.394-2.88.394h-5.468v12.009h-2.36V-5.564zm2.359 11.153h5.363a8.35 8.35 0 001.966-.232c.644-.155 1.216-.405 1.715-.751s.905-.805 1.219-1.377c.308-.572.464-1.273.464-2.107 0-.811-.163-1.501-.485-2.074s-.737-1.044-1.25-1.411-1.101-.638-1.769-.805a8.16 8.16 0 00-2.001-.252h-5.218l-.004 9.01zm16.625 5.897c0-1.262.212-2.423.642-3.484a8.39 8.39 0 011.787-2.755 7.967 7.967 0 012.754-1.803c1.073-.43 2.241-.642 3.502-.642s2.425.212 3.485.642a8.25 8.25 0 012.751 1.803c.775.771 1.378 1.692 1.805 2.755s.645 2.222.645 3.484-.217 2.428-.645 3.484-1.028 1.979-1.805 2.756a8.17 8.17 0 01-2.751 1.805c-1.061.428-2.223.641-3.485.641s-2.432-.213-3.502-.641c-1.073-.436-1.989-1.034-2.754-1.805-.762-.777-1.357-1.696-1.787-2.756s-.642-2.217-.642-3.484zm2.144 0c0 .932.148 1.809.447 2.631a6.18 6.18 0 001.306 2.146c.572.605 1.263 1.089 2.073 1.446s1.716.536 2.717.536 1.905-.179 2.717-.536 1.501-.84 2.071-1.446 1.007-1.324 1.305-2.146a7.66 7.66 0 00.446-2.631c0-.926-.149-1.803-.446-2.625s-.734-1.537-1.305-2.147-1.265-1.089-2.071-1.446c-.812-.36-1.717-.538-2.717-.538s-1.906.178-2.717.538-1.501.837-2.073 1.446a6.15 6.15 0 00-1.306 2.147 7.66 7.66 0 00-.447 2.625zm17.694-8.257h2.362l4.003 13.833h.071l4.612-13.833h2.039l4.896 13.833h.072l3.897-13.833h2.145l-4.859 16.514h-2.218L97.781 6.229h-.07L93.1 19.743h-2.214L85.697 3.229zm42.076 13.408c-.834 1.261-1.865 2.165-3.093 2.715s-2.582.825-4.058.825c-1.264 0-2.408-.217-3.431-.644a7.78 7.78 0 01-2.647-1.807c-.739-.777-1.305-1.695-1.7-2.751s-.59-2.234-.59-3.521c0-1.237.204-2.384.609-3.432s.978-1.962 1.715-2.734a8.06 8.06 0 012.61-1.825c.999-.437 2.108-.66 3.323-.66 1.266 0 2.377.223 3.342.66.965.444 1.775 1.026 2.431 1.754a7.4 7.4 0 011.483 2.483c.336.929.502 1.871.502 2.824v1.5h-13.871c0 .453.093 1.033.271 1.732.177.704.504 1.389.981 2.058s1.113 1.236 1.912 1.718c.798.475 1.829.712 3.094.712 1.095 0 2.158-.259 3.181-.787s1.808-1.238 2.358-2.146l1.578 1.326zm-1.645-6.543a4.84 4.84 0 00-.448-2.072 5.46 5.46 0 00-1.214-1.697 5.813 5.813 0 00-1.822-1.166 5.87 5.87 0 00-2.233-.429c-1.168 0-2.138.239-2.914.717s-1.389 1.021-1.84 1.644-.775 1.222-.967 1.802-.285.986-.285 1.197l11.723.004zm6.933-2.218l-.035-1.126-.052-1.336-.055-1.272-.035-.914h2.146l.053 1.787c.01.574.043.943.089 1.111.548-.979 1.249-1.777 2.108-2.396s1.907-.928 3.148-.928c.212 0 .423.016.624.055l.626.121-.249 2.111a2.53 2.53 0 00-.821-.146c-.93 0-1.734.146-2.414.448s-1.238.708-1.68 1.232-.768 1.137-.983 1.842-.321 1.46-.321 2.271v9.006h-2.146l-.003-11.866zm25.845 8.761c-.836 1.261-1.866 2.165-3.092 2.715s-2.58.825-4.059.825c-1.265 0-2.407-.217-3.431-.644a7.7 7.7 0 01-2.646-1.807 7.95 7.95 0 01-1.698-2.751c-.394-1.059-.59-2.234-.59-3.521 0-1.237.2-2.384.608-3.432s.978-1.962 1.717-2.734 1.609-1.383 2.609-1.825c.999-.437 2.107-.66 3.322-.66 1.264 0 2.376.223 3.344.66.963.444 1.773 1.026 2.429 1.754a7.49 7.49 0 011.485 2.483 8.34 8.34 0 01.498 2.824v1.5h-13.869c0 .453.089 1.033.268 1.732.178.704.506 1.389.983 2.058s1.111 1.236 1.91 1.718c.8.475 1.829.712 3.092.712 1.096 0 2.158-.259 3.183-.787s1.81-1.238 2.361-2.146l1.576 1.326zm-1.643-6.543c0-.739-.147-1.432-.447-2.072a5.58 5.58 0 00-1.215-1.697 5.875 5.875 0 00-4.054-1.595c-1.171 0-2.139.239-2.914.717s-1.387 1.021-1.84 1.644-.776 1.222-.968 1.802-.288.986-.288 1.197l11.727.004zm21.38 6.756h-.073a5.427 5.427 0 01-1.249 1.48 7.44 7.44 0 01-1.627 1.04 8.182 8.182 0 01-1.84.604 9.2 9.2 0 01-1.894.199c-1.264 0-2.432-.213-3.506-.641-1.071-.436-1.988-1.034-2.751-1.805-.76-.777-1.358-1.696-1.786-2.756s-.642-2.219-.642-3.484.212-2.423.642-3.484 1.026-1.979 1.786-2.755 1.68-1.378 2.751-1.803c1.074-.43 2.242-.642 3.506-.642.618 0 1.251.065 1.894.196a8.34 8.34 0 011.84.606 7.65 7.65 0 011.627 1.038 5.58 5.58 0 011.249 1.484h.073V-7.278h2.143v27.023h-2.143V16.85zm.211-5.364c0-.926-.177-1.803-.536-2.625a6.7 6.7 0 00-1.467-2.147c-.617-.609-1.344-1.089-2.181-1.446s-1.738-.538-2.714-.538c-1.002 0-1.908.178-2.717.538s-1.504.837-2.076 1.446a6.16 6.16 0 00-1.305 2.147 7.65 7.65 0 00-.446 2.625 7.66 7.66 0 00.446 2.631c.298.822.734 1.537 1.305 2.146s1.266 1.089 2.076 1.446 1.715.536 2.717.536c.976 0 1.88-.179 2.714-.536s1.563-.84 2.181-1.446 1.109-1.324 1.467-2.146a6.5 6.5 0 00.536-2.631zm16.015-18.764h2.146V6.126h.068a5.64 5.64 0 011.255-1.484 7.606 7.606 0 011.626-1.038 8.22 8.22 0 011.84-.606 9.56 9.56 0 011.895-.196c1.263 0 2.422.212 3.486.642s1.976 1.032 2.75 1.803a8.18 8.18 0 011.806 2.755c.43 1.061.645 2.222.645 3.484s-.217 2.428-.645 3.484a8.28 8.28 0 01-1.806 2.756c-.773.777-1.691 1.376-2.75 1.805s-2.224.641-3.486.641a9.194 9.194 0 01-1.895-.199c-.644-.13-1.256-.332-1.84-.604s-1.128-.618-1.626-1.04a5.56 5.56 0 01-1.255-1.48h-.068v2.893h-2.146v-27.02zm1.932 18.764c0 .932.177 1.809.538 2.631a6.7 6.7 0 001.464 2.146 7.018 7.018 0 002.182 1.446 6.85 6.85 0 002.715.536c1.003 0 1.907-.179 2.718-.536s1.501-.84 2.071-1.446a6.12 6.12 0 001.306-2.146 7.636 7.636 0 00.447-2.631c0-.926-.148-1.803-.447-2.625s-.733-1.537-1.306-2.147-1.263-1.089-2.071-1.446-1.715-.538-2.718-.538c-.978 0-1.879.178-2.715.538a6.96 6.96 0 00-2.182 1.446 6.725 6.725 0 00-1.464 2.147 6.46 6.46 0 00-.538 2.625zm25.023 13.37c-.405 1.073-.966 1.921-1.681 2.541s-1.668.93-2.858.93a6.71 6.71 0 01-1.072-.093 8.006 8.006 0 01-1.035-.233l.21-2 .951.264a3.64 3.64 0 00.982.127c.379 0 .72-.082 1.017-.251a2.61 2.61 0 00.771-.64c.212-.262.396-.55.554-.881a9.86 9.86 0 00.409-.974l1.504-3.827-6.722-16.59h2.394l5.473 13.907 5.325-13.907h2.289l-8.511 21.627z",
|
|
10341
10420
|
fill: "#4a4a4a"
|
|
10342
10421
|
})), _path3 || (_path3 = /*#__PURE__*/React.createElement("path", {
|
|
@@ -10479,11 +10558,11 @@ function LoginModal({
|
|
|
10479
10558
|
LoginModal.viewId = "login";
|
|
10480
10559
|
|
|
10481
10560
|
const RegisterEmail = props => /*#__PURE__*/React__default.createElement(Email, Object.assign({
|
|
10482
|
-
store: store$
|
|
10561
|
+
store: store$f
|
|
10483
10562
|
}, props));
|
|
10484
10563
|
|
|
10485
10564
|
const RegisterPassword = props => /*#__PURE__*/React__default.createElement(Password, Object.assign({
|
|
10486
|
-
store: store$
|
|
10565
|
+
store: store$f
|
|
10487
10566
|
}, props));
|
|
10488
10567
|
|
|
10489
10568
|
const RegisterButton = ({
|
|
@@ -10503,7 +10582,7 @@ const RegisterButton = ({
|
|
|
10503
10582
|
buttonDisabled
|
|
10504
10583
|
},
|
|
10505
10584
|
dispatch
|
|
10506
|
-
} = useContext(store$
|
|
10585
|
+
} = useContext(store$f);
|
|
10507
10586
|
const {
|
|
10508
10587
|
t
|
|
10509
10588
|
} = useTranslation("register");
|
|
@@ -10641,7 +10720,7 @@ function FirstName({
|
|
|
10641
10720
|
}
|
|
10642
10721
|
|
|
10643
10722
|
const RegisterFirstName = props => /*#__PURE__*/React__default.createElement(FirstName, Object.assign({
|
|
10644
|
-
store: store$
|
|
10723
|
+
store: store$f
|
|
10645
10724
|
}, props));
|
|
10646
10725
|
|
|
10647
10726
|
function LastName({
|
|
@@ -10672,7 +10751,7 @@ function LastName({
|
|
|
10672
10751
|
}
|
|
10673
10752
|
|
|
10674
10753
|
const RegisterLastName = props => /*#__PURE__*/React__default.createElement(LastName, Object.assign({
|
|
10675
|
-
store: store$
|
|
10754
|
+
store: store$f
|
|
10676
10755
|
}, props));
|
|
10677
10756
|
|
|
10678
10757
|
/**
|
|
@@ -10796,7 +10875,7 @@ function TextInput({
|
|
|
10796
10875
|
|
|
10797
10876
|
const RegisterTextInput = props => {
|
|
10798
10877
|
return /*#__PURE__*/React__default.createElement(TextInput, Object.assign({}, props, {
|
|
10799
|
-
store: store$
|
|
10878
|
+
store: store$f
|
|
10800
10879
|
}));
|
|
10801
10880
|
};
|
|
10802
10881
|
|
|
@@ -12806,7 +12885,7 @@ class PaypalGateWay {
|
|
|
12806
12885
|
|
|
12807
12886
|
/** @type {PaymentStateType} */
|
|
12808
12887
|
|
|
12809
|
-
const initialState$
|
|
12888
|
+
const initialState$e = {
|
|
12810
12889
|
disableSubmit: false,
|
|
12811
12890
|
isLoading: false,
|
|
12812
12891
|
disableCouponButton: false,
|
|
@@ -12825,10 +12904,10 @@ const initialState$d = {
|
|
|
12825
12904
|
content: ""
|
|
12826
12905
|
}
|
|
12827
12906
|
};
|
|
12828
|
-
const store$
|
|
12907
|
+
const store$e = /*#__PURE__*/createContext(initialState$e);
|
|
12829
12908
|
const {
|
|
12830
|
-
Provider: Provider$
|
|
12831
|
-
} = store$
|
|
12909
|
+
Provider: Provider$e
|
|
12910
|
+
} = store$e;
|
|
12832
12911
|
|
|
12833
12912
|
const PaymentMethodContainerWithoutStripe = ({
|
|
12834
12913
|
style,
|
|
@@ -13819,21 +13898,21 @@ const PaymentMethodContainerWithoutStripe = ({
|
|
|
13819
13898
|
default:
|
|
13820
13899
|
return state;
|
|
13821
13900
|
}
|
|
13822
|
-
}, initialState$
|
|
13901
|
+
}, initialState$e);
|
|
13823
13902
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
13824
13903
|
style: { ...style
|
|
13825
13904
|
},
|
|
13826
13905
|
className: `pelcro-container pelcro-payment-container ${className}`
|
|
13827
|
-
}, /*#__PURE__*/React__default.createElement(Provider$
|
|
13906
|
+
}, /*#__PURE__*/React__default.createElement(Provider$e, {
|
|
13828
13907
|
value: {
|
|
13829
13908
|
state,
|
|
13830
13909
|
dispatch
|
|
13831
13910
|
}
|
|
13832
13911
|
}, children.length ? children.map((child, i) => /*#__PURE__*/React__default.cloneElement(child, {
|
|
13833
|
-
store: store$
|
|
13912
|
+
store: store$e,
|
|
13834
13913
|
key: i
|
|
13835
13914
|
})) : /*#__PURE__*/React__default.cloneElement(children, {
|
|
13836
|
-
store: store$
|
|
13915
|
+
store: store$e
|
|
13837
13916
|
})));
|
|
13838
13917
|
};
|
|
13839
13918
|
|
|
@@ -13855,7 +13934,7 @@ const PaymentMethodContainer = props => {
|
|
|
13855
13934
|
stripeAccount: window.Pelcro.site.read().account_id,
|
|
13856
13935
|
locale: getPageOrDefaultLanguage()
|
|
13857
13936
|
}, /*#__PURE__*/React__default.createElement(es_11, null, /*#__PURE__*/React__default.createElement(UnwrappedForm, Object.assign({
|
|
13858
|
-
store: store$
|
|
13937
|
+
store: store$e
|
|
13859
13938
|
}, props))));
|
|
13860
13939
|
}
|
|
13861
13940
|
|
|
@@ -13908,7 +13987,7 @@ const PelcroPaymentRequestButton = props => {
|
|
|
13908
13987
|
currentPlan,
|
|
13909
13988
|
updatedPrice
|
|
13910
13989
|
}
|
|
13911
|
-
} = useContext(store$
|
|
13990
|
+
} = useContext(store$e);
|
|
13912
13991
|
|
|
13913
13992
|
const updatePaymentRequest = () => {
|
|
13914
13993
|
// Make sure payment request is up to date, eg. user added a coupon code.
|
|
@@ -13968,7 +14047,7 @@ const DiscountedPrice = props => {
|
|
|
13968
14047
|
taxAmount,
|
|
13969
14048
|
percentOff
|
|
13970
14049
|
}
|
|
13971
|
-
} = useContext(store$
|
|
14050
|
+
} = useContext(store$e);
|
|
13972
14051
|
const {
|
|
13973
14052
|
order,
|
|
13974
14053
|
plan
|
|
@@ -14018,7 +14097,7 @@ const SubmitPaymentMethod = ({
|
|
|
14018
14097
|
isLoading,
|
|
14019
14098
|
updatedPrice
|
|
14020
14099
|
}
|
|
14021
|
-
} = useContext(store$
|
|
14100
|
+
} = useContext(store$e);
|
|
14022
14101
|
const planQuantity = (_plan$quantity = plan === null || plan === void 0 ? void 0 : plan.quantity) !== null && _plan$quantity !== void 0 ? _plan$quantity : 1;
|
|
14023
14102
|
const price = updatedPrice !== null && updatedPrice !== void 0 ? updatedPrice : plan === null || plan === void 0 ? void 0 : plan.amount;
|
|
14024
14103
|
const priceFormatted = getFormattedPriceByLocal(price * planQuantity, plan === null || plan === void 0 ? void 0 : plan.currency, getPageOrDefaultLanguage());
|
|
@@ -14039,17 +14118,17 @@ const SubmitPaymentMethod = ({
|
|
|
14039
14118
|
}, t("labels.pay"), " ", priceFormatted && priceFormatted) : t("labels.submit"));
|
|
14040
14119
|
};
|
|
14041
14120
|
|
|
14042
|
-
var _path$
|
|
14121
|
+
var _path$l;
|
|
14043
14122
|
|
|
14044
|
-
function _extends$
|
|
14123
|
+
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); }
|
|
14045
14124
|
|
|
14046
14125
|
function SvgArrowLeft(props) {
|
|
14047
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
14126
|
+
return /*#__PURE__*/React.createElement("svg", _extends$n({
|
|
14048
14127
|
xmlns: "http://www.w3.org/2000/svg",
|
|
14049
14128
|
fill: "none",
|
|
14050
14129
|
viewBox: "0 0 24 24",
|
|
14051
14130
|
stroke: "currentColor"
|
|
14052
|
-
}, props), _path$
|
|
14131
|
+
}, props), _path$l || (_path$l = /*#__PURE__*/React.createElement("path", {
|
|
14053
14132
|
strokeLinecap: "round",
|
|
14054
14133
|
strokeLinejoin: "round",
|
|
14055
14134
|
strokeWidth: 2,
|
|
@@ -14068,7 +14147,7 @@ const ApplyCouponButton = ({
|
|
|
14068
14147
|
disableCouponButton
|
|
14069
14148
|
},
|
|
14070
14149
|
dispatch
|
|
14071
|
-
} = useContext(store$
|
|
14150
|
+
} = useContext(store$e);
|
|
14072
14151
|
const {
|
|
14073
14152
|
t
|
|
14074
14153
|
} = useTranslation("checkoutForm");
|
|
@@ -14102,7 +14181,7 @@ const CouponCodeField = props => {
|
|
|
14102
14181
|
couponCode,
|
|
14103
14182
|
couponError
|
|
14104
14183
|
}
|
|
14105
|
-
} = useContext(store$
|
|
14184
|
+
} = useContext(store$e);
|
|
14106
14185
|
|
|
14107
14186
|
const onCouponCodeChange = e => {
|
|
14108
14187
|
dispatch({
|
|
@@ -14131,17 +14210,17 @@ const CouponCodeField = props => {
|
|
|
14131
14210
|
}, props));
|
|
14132
14211
|
};
|
|
14133
14212
|
|
|
14134
|
-
var _path$
|
|
14213
|
+
var _path$k;
|
|
14135
14214
|
|
|
14136
|
-
function _extends$
|
|
14215
|
+
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); }
|
|
14137
14216
|
|
|
14138
14217
|
function SvgTicket(props) {
|
|
14139
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
14218
|
+
return /*#__PURE__*/React.createElement("svg", _extends$m({
|
|
14140
14219
|
xmlns: "http://www.w3.org/2000/svg",
|
|
14141
14220
|
fill: "none",
|
|
14142
14221
|
viewBox: "0 0 24 24",
|
|
14143
14222
|
stroke: "currentColor"
|
|
14144
|
-
}, props), _path$
|
|
14223
|
+
}, props), _path$k || (_path$k = /*#__PURE__*/React.createElement("path", {
|
|
14145
14224
|
strokeLinecap: "round",
|
|
14146
14225
|
strokeLinejoin: "round",
|
|
14147
14226
|
strokeWidth: 2,
|
|
@@ -14158,7 +14237,7 @@ const CouponCode = ({
|
|
|
14158
14237
|
state: {
|
|
14159
14238
|
enableCouponField
|
|
14160
14239
|
}
|
|
14161
|
-
} = useContext(store$
|
|
14240
|
+
} = useContext(store$e);
|
|
14162
14241
|
const {
|
|
14163
14242
|
t
|
|
14164
14243
|
} = useTranslation("checkoutForm");
|
|
@@ -14415,7 +14494,7 @@ const PaypalSubscribeButton = props => {
|
|
|
14415
14494
|
const {
|
|
14416
14495
|
dispatch,
|
|
14417
14496
|
state
|
|
14418
|
-
} = useContext(store$
|
|
14497
|
+
} = useContext(store$e);
|
|
14419
14498
|
const {
|
|
14420
14499
|
product,
|
|
14421
14500
|
plan,
|
|
@@ -14500,16 +14579,16 @@ const BankRedirection = () => {
|
|
|
14500
14579
|
}));
|
|
14501
14580
|
};
|
|
14502
14581
|
|
|
14503
|
-
var _path$
|
|
14582
|
+
var _path$j;
|
|
14504
14583
|
|
|
14505
|
-
function _extends$
|
|
14584
|
+
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); }
|
|
14506
14585
|
|
|
14507
14586
|
function SvgLock(props) {
|
|
14508
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
14587
|
+
return /*#__PURE__*/React.createElement("svg", _extends$l({
|
|
14509
14588
|
xmlns: "http://www.w3.org/2000/svg",
|
|
14510
14589
|
viewBox: "0 0 20 20",
|
|
14511
14590
|
fill: "currentColor"
|
|
14512
|
-
}, props), _path$
|
|
14591
|
+
}, props), _path$j || (_path$j = /*#__PURE__*/React.createElement("path", {
|
|
14513
14592
|
fillRule: "evenodd",
|
|
14514
14593
|
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",
|
|
14515
14594
|
clipRule: "evenodd"
|
|
@@ -14526,7 +14605,7 @@ const SelectedPaymentMethod = () => {
|
|
|
14526
14605
|
state: {
|
|
14527
14606
|
isLoading
|
|
14528
14607
|
}
|
|
14529
|
-
} = useContext(store$
|
|
14608
|
+
} = useContext(store$e);
|
|
14530
14609
|
const {
|
|
14531
14610
|
switchView,
|
|
14532
14611
|
selectedPaymentMethodId
|
|
@@ -14568,7 +14647,7 @@ const TaxAmount = () => {
|
|
|
14568
14647
|
state: {
|
|
14569
14648
|
taxAmount
|
|
14570
14649
|
}
|
|
14571
|
-
} = useContext(store$
|
|
14650
|
+
} = useContext(store$e);
|
|
14572
14651
|
const {
|
|
14573
14652
|
plan
|
|
14574
14653
|
} = usePelcro();
|
|
@@ -14731,12 +14810,12 @@ function SubscriptionRenewModal({
|
|
|
14731
14810
|
}
|
|
14732
14811
|
SubscriptionRenewModal.viewId = "subscription-renew";
|
|
14733
14812
|
|
|
14734
|
-
var _path$
|
|
14813
|
+
var _path$i;
|
|
14735
14814
|
|
|
14736
|
-
function _extends$
|
|
14815
|
+
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); }
|
|
14737
14816
|
|
|
14738
14817
|
function SvgGift(props) {
|
|
14739
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
14818
|
+
return /*#__PURE__*/React.createElement("svg", _extends$k({
|
|
14740
14819
|
className: "plc-w-6 plc-h-6 plc-mr-2",
|
|
14741
14820
|
fill: "none",
|
|
14742
14821
|
stroke: "currentColor",
|
|
@@ -14745,7 +14824,7 @@ function SvgGift(props) {
|
|
|
14745
14824
|
strokeWidth: 2,
|
|
14746
14825
|
viewBox: "0 0 24 24",
|
|
14747
14826
|
xmlns: "http://www.w3.org/2000/svg"
|
|
14748
|
-
}, props), _path$
|
|
14827
|
+
}, props), _path$i || (_path$i = /*#__PURE__*/React.createElement("path", {
|
|
14749
14828
|
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"
|
|
14750
14829
|
})));
|
|
14751
14830
|
}
|
|
@@ -15076,7 +15155,7 @@ class DefaultNewsLetter extends Component {
|
|
|
15076
15155
|
|
|
15077
15156
|
const NewsLetter = withTranslation("newsletter")(DefaultNewsLetter);
|
|
15078
15157
|
|
|
15079
|
-
const initialState$
|
|
15158
|
+
const initialState$d = {
|
|
15080
15159
|
didSubToNewslettersBefore: false,
|
|
15081
15160
|
newsletters: [],
|
|
15082
15161
|
isListLoading: true,
|
|
@@ -15086,10 +15165,10 @@ const initialState$c = {
|
|
|
15086
15165
|
content: ""
|
|
15087
15166
|
}
|
|
15088
15167
|
};
|
|
15089
|
-
const store$
|
|
15168
|
+
const store$d = /*#__PURE__*/createContext(initialState$d);
|
|
15090
15169
|
const {
|
|
15091
|
-
Provider: Provider$
|
|
15092
|
-
} = store$
|
|
15170
|
+
Provider: Provider$d
|
|
15171
|
+
} = store$d;
|
|
15093
15172
|
|
|
15094
15173
|
const NewsletterUpdateContainer = ({
|
|
15095
15174
|
style,
|
|
@@ -15202,7 +15281,7 @@ const NewsletterUpdateContainer = ({
|
|
|
15202
15281
|
default:
|
|
15203
15282
|
return state;
|
|
15204
15283
|
}
|
|
15205
|
-
}, initialState$
|
|
15284
|
+
}, initialState$d);
|
|
15206
15285
|
useEffect(() => {
|
|
15207
15286
|
const getUserNewsletters = () => {
|
|
15208
15287
|
var _window$Pelcro$user$r3, _window$Pelcro$user$r4;
|
|
@@ -15246,7 +15325,7 @@ const NewsletterUpdateContainer = ({
|
|
|
15246
15325
|
style: { ...style
|
|
15247
15326
|
},
|
|
15248
15327
|
className: `pelcro-container pelcro-newsletter-update-container ${className}`
|
|
15249
|
-
}, /*#__PURE__*/React__default.createElement(Provider$
|
|
15328
|
+
}, /*#__PURE__*/React__default.createElement(Provider$d, {
|
|
15250
15329
|
value: {
|
|
15251
15330
|
state,
|
|
15252
15331
|
dispatch
|
|
@@ -15254,12 +15333,12 @@ const NewsletterUpdateContainer = ({
|
|
|
15254
15333
|
}, children.length ? children.map((child, i) => {
|
|
15255
15334
|
if (child) {
|
|
15256
15335
|
return /*#__PURE__*/React__default.cloneElement(child, {
|
|
15257
|
-
store: store$
|
|
15336
|
+
store: store$d,
|
|
15258
15337
|
key: i
|
|
15259
15338
|
});
|
|
15260
15339
|
}
|
|
15261
15340
|
}) : /*#__PURE__*/React__default.cloneElement(children, {
|
|
15262
|
-
store: store$
|
|
15341
|
+
store: store$d
|
|
15263
15342
|
})));
|
|
15264
15343
|
};
|
|
15265
15344
|
|
|
@@ -15274,7 +15353,7 @@ const NewsletterUpdateButton = ({
|
|
|
15274
15353
|
isSubmitting,
|
|
15275
15354
|
isListLoading
|
|
15276
15355
|
}
|
|
15277
|
-
} = useContext(store$
|
|
15356
|
+
} = useContext(store$d);
|
|
15278
15357
|
const {
|
|
15279
15358
|
t
|
|
15280
15359
|
} = useTranslation("newsletter");
|
|
@@ -15304,7 +15383,7 @@ const NewsletterUpdateList = () => {
|
|
|
15304
15383
|
newsletters,
|
|
15305
15384
|
isListLoading
|
|
15306
15385
|
}
|
|
15307
|
-
} = useContext(store$
|
|
15386
|
+
} = useContext(store$d);
|
|
15308
15387
|
|
|
15309
15388
|
if (isListLoading) {
|
|
15310
15389
|
return /*#__PURE__*/React__default.createElement(Loader, {
|
|
@@ -15508,7 +15587,7 @@ function SubscriptionCreateModal({
|
|
|
15508
15587
|
SubscriptionCreateModal.viewId = "subscription-create";
|
|
15509
15588
|
|
|
15510
15589
|
var _window$Pelcro$user$r, _window$Pelcro$user$r2, _window$Pelcro$user$r3, _window$Pelcro$user$r4, _window$Pelcro$user$r5;
|
|
15511
|
-
const initialState$
|
|
15590
|
+
const initialState$c = {
|
|
15512
15591
|
email: (_window$Pelcro$user$r = window.Pelcro.user.read()) === null || _window$Pelcro$user$r === void 0 ? void 0 : _window$Pelcro$user$r.email,
|
|
15513
15592
|
firstName: (_window$Pelcro$user$r2 = window.Pelcro.user.read()) === null || _window$Pelcro$user$r2 === void 0 ? void 0 : _window$Pelcro$user$r2.first_name,
|
|
15514
15593
|
lastName: (_window$Pelcro$user$r3 = window.Pelcro.user.read()) === null || _window$Pelcro$user$r3 === void 0 ? void 0 : _window$Pelcro$user$r3.last_name,
|
|
@@ -15521,10 +15600,10 @@ const initialState$b = {
|
|
|
15521
15600
|
content: ""
|
|
15522
15601
|
}
|
|
15523
15602
|
};
|
|
15524
|
-
const store$
|
|
15603
|
+
const store$c = /*#__PURE__*/createContext(initialState$c);
|
|
15525
15604
|
const {
|
|
15526
|
-
Provider: Provider$
|
|
15527
|
-
} = store$
|
|
15605
|
+
Provider: Provider$c
|
|
15606
|
+
} = store$c;
|
|
15528
15607
|
|
|
15529
15608
|
const UserUpdateContainer = ({
|
|
15530
15609
|
style,
|
|
@@ -15656,27 +15735,27 @@ const UserUpdateContainer = ({
|
|
|
15656
15735
|
default:
|
|
15657
15736
|
return state;
|
|
15658
15737
|
}
|
|
15659
|
-
}, initialState$
|
|
15738
|
+
}, initialState$c);
|
|
15660
15739
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
15661
15740
|
style: { ...style
|
|
15662
15741
|
},
|
|
15663
15742
|
className: `pelcro-container pelcro-user-update-container ${className}`
|
|
15664
|
-
}, /*#__PURE__*/React__default.createElement(Provider$
|
|
15743
|
+
}, /*#__PURE__*/React__default.createElement(Provider$c, {
|
|
15665
15744
|
value: {
|
|
15666
15745
|
state,
|
|
15667
15746
|
dispatch
|
|
15668
15747
|
}
|
|
15669
15748
|
}, children.length ? children.map((child, i) => /*#__PURE__*/React__default.cloneElement(child, {
|
|
15670
|
-
store: store$
|
|
15749
|
+
store: store$c,
|
|
15671
15750
|
key: i
|
|
15672
15751
|
})) : /*#__PURE__*/React__default.cloneElement(children, {
|
|
15673
|
-
store: store$
|
|
15752
|
+
store: store$c
|
|
15674
15753
|
})));
|
|
15675
15754
|
};
|
|
15676
15755
|
|
|
15677
15756
|
const UserUpdateEmail = props => /*#__PURE__*/React__default.createElement(Email, Object.assign({
|
|
15678
15757
|
disabled: true,
|
|
15679
|
-
store: store$
|
|
15758
|
+
store: store$c
|
|
15680
15759
|
}, props));
|
|
15681
15760
|
|
|
15682
15761
|
const UserUpdateButton = ({
|
|
@@ -15689,7 +15768,7 @@ const UserUpdateButton = ({
|
|
|
15689
15768
|
buttonDisabled
|
|
15690
15769
|
},
|
|
15691
15770
|
dispatch
|
|
15692
|
-
} = useContext(store$
|
|
15771
|
+
} = useContext(store$c);
|
|
15693
15772
|
const {
|
|
15694
15773
|
t
|
|
15695
15774
|
} = useTranslation("userEdit");
|
|
@@ -15706,11 +15785,11 @@ const UserUpdateButton = ({
|
|
|
15706
15785
|
};
|
|
15707
15786
|
|
|
15708
15787
|
const UserUpdateFirstName = props => /*#__PURE__*/React__default.createElement(FirstName, Object.assign({
|
|
15709
|
-
store: store$
|
|
15788
|
+
store: store$c
|
|
15710
15789
|
}, props));
|
|
15711
15790
|
|
|
15712
15791
|
const UserUpdateLastName = props => /*#__PURE__*/React__default.createElement(LastName, Object.assign({
|
|
15713
|
-
store: store$
|
|
15792
|
+
store: store$c
|
|
15714
15793
|
}, props));
|
|
15715
15794
|
|
|
15716
15795
|
function Phone({
|
|
@@ -15739,22 +15818,22 @@ function Phone({
|
|
|
15739
15818
|
}
|
|
15740
15819
|
|
|
15741
15820
|
const UserUpdatePhone = props => /*#__PURE__*/React__default.createElement(Phone, Object.assign({
|
|
15742
|
-
store: store$
|
|
15821
|
+
store: store$c
|
|
15743
15822
|
}, props));
|
|
15744
15823
|
|
|
15745
15824
|
var userSolidIcon = "data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20class%3D%22plc-h-5%20plc-w-5%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22white%22%3E%20%20%3Cpath%20transform%3D%22translate%280%2C2%29%22%20fill-rule%3D%22evenodd%22%20d%3D%22M10%209a3%203%200%20100-6%203%203%200%20000%206zm-7%209a7%207%200%201114%200H3z%22%20clip-rule%3D%22evenodd%22%20%2F%3E%3C%2Fsvg%3E";
|
|
15746
15825
|
|
|
15747
|
-
var _path$
|
|
15826
|
+
var _path$h;
|
|
15748
15827
|
|
|
15749
|
-
function _extends$
|
|
15828
|
+
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); }
|
|
15750
15829
|
|
|
15751
15830
|
function SvgEdit(props) {
|
|
15752
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
15831
|
+
return /*#__PURE__*/React.createElement("svg", _extends$j({
|
|
15753
15832
|
className: "plc-w-6 plc-h-6",
|
|
15754
15833
|
xmlns: "http://www.w3.org/2000/svg",
|
|
15755
15834
|
viewBox: "0 0 20 20",
|
|
15756
15835
|
fill: "currentColor"
|
|
15757
|
-
}, props), _path$
|
|
15836
|
+
}, props), _path$h || (_path$h = /*#__PURE__*/React.createElement("path", {
|
|
15758
15837
|
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"
|
|
15759
15838
|
})));
|
|
15760
15839
|
}
|
|
@@ -15886,16 +15965,16 @@ function DisplayName({
|
|
|
15886
15965
|
}
|
|
15887
15966
|
|
|
15888
15967
|
const UserUpdateDisplayName = props => /*#__PURE__*/React__default.createElement(DisplayName, Object.assign({
|
|
15889
|
-
store: store$
|
|
15968
|
+
store: store$c
|
|
15890
15969
|
}, props));
|
|
15891
15970
|
|
|
15892
15971
|
const UserUpdateTextInput = props => {
|
|
15893
15972
|
return /*#__PURE__*/React__default.createElement(TextInput, Object.assign({}, props, {
|
|
15894
|
-
store: store$
|
|
15973
|
+
store: store$c
|
|
15895
15974
|
}));
|
|
15896
15975
|
};
|
|
15897
15976
|
|
|
15898
|
-
const initialState$
|
|
15977
|
+
const initialState$b = {
|
|
15899
15978
|
isSubmitting: false,
|
|
15900
15979
|
firstName: "",
|
|
15901
15980
|
firstNameError: "",
|
|
@@ -15920,10 +15999,10 @@ const initialState$a = {
|
|
|
15920
15999
|
content: ""
|
|
15921
16000
|
}
|
|
15922
16001
|
};
|
|
15923
|
-
const store$
|
|
16002
|
+
const store$b = /*#__PURE__*/createContext(initialState$b);
|
|
15924
16003
|
const {
|
|
15925
|
-
Provider: Provider$
|
|
15926
|
-
} = store$
|
|
16004
|
+
Provider: Provider$b
|
|
16005
|
+
} = store$b;
|
|
15927
16006
|
|
|
15928
16007
|
const getNewlyCreatedAddress = addresses => addresses[addresses.length - 1];
|
|
15929
16008
|
|
|
@@ -16130,7 +16209,7 @@ const AddressCreateContainer = ({
|
|
|
16130
16209
|
default:
|
|
16131
16210
|
return state;
|
|
16132
16211
|
}
|
|
16133
|
-
}, initialState$
|
|
16212
|
+
}, initialState$b);
|
|
16134
16213
|
useEffect(() => {
|
|
16135
16214
|
const getStates = () => {
|
|
16136
16215
|
dispatch({
|
|
@@ -16162,16 +16241,16 @@ const AddressCreateContainer = ({
|
|
|
16162
16241
|
style: { ...style
|
|
16163
16242
|
},
|
|
16164
16243
|
className: `pelcro-container pelcro-address-create-container ${className}`
|
|
16165
|
-
}, /*#__PURE__*/React__default.createElement(Provider$
|
|
16244
|
+
}, /*#__PURE__*/React__default.createElement(Provider$b, {
|
|
16166
16245
|
value: {
|
|
16167
16246
|
state,
|
|
16168
16247
|
dispatch
|
|
16169
16248
|
}
|
|
16170
16249
|
}, children.length ? children.map((child, i) => /*#__PURE__*/React__default.cloneElement(child, {
|
|
16171
|
-
store: store$
|
|
16250
|
+
store: store$b,
|
|
16172
16251
|
key: i
|
|
16173
16252
|
})) : /*#__PURE__*/React__default.cloneElement(children, {
|
|
16174
|
-
store: store$
|
|
16253
|
+
store: store$b
|
|
16175
16254
|
})));
|
|
16176
16255
|
};
|
|
16177
16256
|
|
|
@@ -16182,7 +16261,7 @@ function AddressCreateFirstName(props) {
|
|
|
16182
16261
|
firstName,
|
|
16183
16262
|
firstNameError
|
|
16184
16263
|
}
|
|
16185
|
-
} = useContext(store$
|
|
16264
|
+
} = useContext(store$b);
|
|
16186
16265
|
|
|
16187
16266
|
const handleBlur = () => {
|
|
16188
16267
|
return dispatch({
|
|
@@ -16225,7 +16304,7 @@ function AddressCreateLastName(props) {
|
|
|
16225
16304
|
lastName,
|
|
16226
16305
|
lastNameError
|
|
16227
16306
|
}
|
|
16228
|
-
} = useContext(store$
|
|
16307
|
+
} = useContext(store$b);
|
|
16229
16308
|
|
|
16230
16309
|
const handleBlur = () => {
|
|
16231
16310
|
return dispatch({
|
|
@@ -16268,7 +16347,7 @@ function AddressCreateLine1(props) {
|
|
|
16268
16347
|
line1,
|
|
16269
16348
|
line1Error
|
|
16270
16349
|
}
|
|
16271
|
-
} = useContext(store$
|
|
16350
|
+
} = useContext(store$b);
|
|
16272
16351
|
|
|
16273
16352
|
const handleBlur = () => {
|
|
16274
16353
|
return dispatch({
|
|
@@ -16311,7 +16390,7 @@ function AddressCreateCity(props) {
|
|
|
16311
16390
|
city,
|
|
16312
16391
|
cityError
|
|
16313
16392
|
}
|
|
16314
|
-
} = useContext(store$
|
|
16393
|
+
} = useContext(store$b);
|
|
16315
16394
|
|
|
16316
16395
|
const handleBlur = () => {
|
|
16317
16396
|
return dispatch({
|
|
@@ -16354,7 +16433,7 @@ function AddressCreatePostalCode(props) {
|
|
|
16354
16433
|
postalCode,
|
|
16355
16434
|
postalCodeError
|
|
16356
16435
|
}
|
|
16357
|
-
} = useContext(store$
|
|
16436
|
+
} = useContext(store$b);
|
|
16358
16437
|
|
|
16359
16438
|
const handleBlur = () => {
|
|
16360
16439
|
return dispatch({
|
|
@@ -16400,7 +16479,7 @@ const AddressCreateSubmit = ({
|
|
|
16400
16479
|
state: {
|
|
16401
16480
|
isSubmitting
|
|
16402
16481
|
}
|
|
16403
|
-
} = useContext(store$
|
|
16482
|
+
} = useContext(store$b);
|
|
16404
16483
|
const {
|
|
16405
16484
|
t
|
|
16406
16485
|
} = useTranslation("address");
|
|
@@ -16511,7 +16590,7 @@ function CountrySelect({
|
|
|
16511
16590
|
}
|
|
16512
16591
|
|
|
16513
16592
|
const AddressCreateCountrySelect = props => /*#__PURE__*/React__default.createElement(CountrySelect, Object.assign({
|
|
16514
|
-
store: store$
|
|
16593
|
+
store: store$b
|
|
16515
16594
|
}, props));
|
|
16516
16595
|
|
|
16517
16596
|
function StateSelect({
|
|
@@ -16599,7 +16678,7 @@ function StateSelect({
|
|
|
16599
16678
|
}
|
|
16600
16679
|
|
|
16601
16680
|
const AddressCreateStateSelect = props => /*#__PURE__*/React__default.createElement(StateSelect, Object.assign({
|
|
16602
|
-
store: store$
|
|
16681
|
+
store: store$b
|
|
16603
16682
|
}, props));
|
|
16604
16683
|
|
|
16605
16684
|
const AddressCreateView = props => {
|
|
@@ -16704,18 +16783,18 @@ AddressCreateModal.viewId = "address-create";
|
|
|
16704
16783
|
|
|
16705
16784
|
const AddressCreateTextInput = props => {
|
|
16706
16785
|
return /*#__PURE__*/React__default.createElement(TextInput, Object.assign({}, props, {
|
|
16707
|
-
store: store$
|
|
16786
|
+
store: store$b
|
|
16708
16787
|
}));
|
|
16709
16788
|
};
|
|
16710
16789
|
|
|
16711
16790
|
const AddressCreateLine2 = props => {
|
|
16712
16791
|
return /*#__PURE__*/React__default.createElement(TextInput, Object.assign({
|
|
16713
16792
|
fieldName: "line2",
|
|
16714
|
-
store: store$
|
|
16793
|
+
store: store$b
|
|
16715
16794
|
}, props));
|
|
16716
16795
|
};
|
|
16717
16796
|
|
|
16718
|
-
const initialState$
|
|
16797
|
+
const initialState$a = {
|
|
16719
16798
|
isSubmitting: false,
|
|
16720
16799
|
firstName: "",
|
|
16721
16800
|
firstNameError: "",
|
|
@@ -16740,10 +16819,10 @@ const initialState$9 = {
|
|
|
16740
16819
|
content: ""
|
|
16741
16820
|
}
|
|
16742
16821
|
};
|
|
16743
|
-
const store$
|
|
16822
|
+
const store$a = /*#__PURE__*/createContext(initialState$a);
|
|
16744
16823
|
const {
|
|
16745
|
-
Provider: Provider$
|
|
16746
|
-
} = store$
|
|
16824
|
+
Provider: Provider$a
|
|
16825
|
+
} = store$a;
|
|
16747
16826
|
|
|
16748
16827
|
const AddressUpdateContainer = ({
|
|
16749
16828
|
style,
|
|
@@ -16795,7 +16874,7 @@ const AddressUpdateContainer = ({
|
|
|
16795
16874
|
const thisAddress = addresses[address];
|
|
16796
16875
|
|
|
16797
16876
|
if (+thisAddress.id === +addressId) {
|
|
16798
|
-
const newState = { ...initialState$
|
|
16877
|
+
const newState = { ...initialState$a,
|
|
16799
16878
|
firstName: thisAddress.first_name,
|
|
16800
16879
|
lastName: thisAddress.last_name,
|
|
16801
16880
|
line1: thisAddress.line1,
|
|
@@ -16928,7 +17007,7 @@ const AddressUpdateContainer = ({
|
|
|
16928
17007
|
default:
|
|
16929
17008
|
return state;
|
|
16930
17009
|
}
|
|
16931
|
-
}, initialState$
|
|
17010
|
+
}, initialState$a);
|
|
16932
17011
|
useEffect(() => {
|
|
16933
17012
|
const getStates = () => {
|
|
16934
17013
|
dispatch({
|
|
@@ -16960,21 +17039,21 @@ const AddressUpdateContainer = ({
|
|
|
16960
17039
|
style: { ...style
|
|
16961
17040
|
},
|
|
16962
17041
|
className: `pelcro-container pelcro-address-update-container ${className}`
|
|
16963
|
-
}, /*#__PURE__*/React__default.createElement(Provider$
|
|
17042
|
+
}, /*#__PURE__*/React__default.createElement(Provider$a, {
|
|
16964
17043
|
value: {
|
|
16965
17044
|
state,
|
|
16966
17045
|
dispatch
|
|
16967
17046
|
}
|
|
16968
17047
|
}, children.length ? children.map((child, i) => /*#__PURE__*/React__default.cloneElement(child, {
|
|
16969
|
-
store: store$
|
|
17048
|
+
store: store$a,
|
|
16970
17049
|
key: i
|
|
16971
17050
|
})) : /*#__PURE__*/React__default.cloneElement(children, {
|
|
16972
|
-
store: store$
|
|
17051
|
+
store: store$a
|
|
16973
17052
|
})));
|
|
16974
17053
|
};
|
|
16975
17054
|
|
|
16976
17055
|
const AddressUpdateCountrySelect = props => /*#__PURE__*/React__default.createElement(CountrySelect, Object.assign({
|
|
16977
|
-
store: store$
|
|
17056
|
+
store: store$a
|
|
16978
17057
|
}, props));
|
|
16979
17058
|
|
|
16980
17059
|
function AddressUpdateFirstName(props) {
|
|
@@ -16984,7 +17063,7 @@ function AddressUpdateFirstName(props) {
|
|
|
16984
17063
|
firstName,
|
|
16985
17064
|
firstNameError
|
|
16986
17065
|
}
|
|
16987
|
-
} = useContext(store$
|
|
17066
|
+
} = useContext(store$a);
|
|
16988
17067
|
|
|
16989
17068
|
const handleBlur = () => {
|
|
16990
17069
|
return dispatch({
|
|
@@ -17027,7 +17106,7 @@ function AddressUpdateLastName(props) {
|
|
|
17027
17106
|
lastName,
|
|
17028
17107
|
lastNameError
|
|
17029
17108
|
}
|
|
17030
|
-
} = useContext(store$
|
|
17109
|
+
} = useContext(store$a);
|
|
17031
17110
|
|
|
17032
17111
|
const handleBlur = () => {
|
|
17033
17112
|
return dispatch({
|
|
@@ -17070,7 +17149,7 @@ function AddressUpdateLine1(props) {
|
|
|
17070
17149
|
line1,
|
|
17071
17150
|
line1Error
|
|
17072
17151
|
}
|
|
17073
|
-
} = useContext(store$
|
|
17152
|
+
} = useContext(store$a);
|
|
17074
17153
|
|
|
17075
17154
|
const handleBlur = () => {
|
|
17076
17155
|
return dispatch({
|
|
@@ -17110,7 +17189,7 @@ const AddressUpdateLine2 = props => {
|
|
|
17110
17189
|
return /*#__PURE__*/React__default.createElement(TextInput, Object.assign({
|
|
17111
17190
|
fieldName: "line2"
|
|
17112
17191
|
}, props, {
|
|
17113
|
-
store: store$
|
|
17192
|
+
store: store$a
|
|
17114
17193
|
}));
|
|
17115
17194
|
};
|
|
17116
17195
|
|
|
@@ -17121,7 +17200,7 @@ function AddressUpdateCity(props) {
|
|
|
17121
17200
|
city,
|
|
17122
17201
|
cityError
|
|
17123
17202
|
}
|
|
17124
|
-
} = useContext(store$
|
|
17203
|
+
} = useContext(store$a);
|
|
17125
17204
|
|
|
17126
17205
|
const handleBlur = () => {
|
|
17127
17206
|
return dispatch({
|
|
@@ -17164,7 +17243,7 @@ function AddressUpdatePostalCode(props) {
|
|
|
17164
17243
|
postalCode,
|
|
17165
17244
|
postalCodeError
|
|
17166
17245
|
}
|
|
17167
|
-
} = useContext(store$
|
|
17246
|
+
} = useContext(store$a);
|
|
17168
17247
|
|
|
17169
17248
|
const handleBlur = () => {
|
|
17170
17249
|
return dispatch({
|
|
@@ -17210,7 +17289,7 @@ const AddressUpdateSubmit = ({
|
|
|
17210
17289
|
state: {
|
|
17211
17290
|
isSubmitting
|
|
17212
17291
|
}
|
|
17213
|
-
} = useContext(store$
|
|
17292
|
+
} = useContext(store$a);
|
|
17214
17293
|
const {
|
|
17215
17294
|
t
|
|
17216
17295
|
} = useTranslation("address");
|
|
@@ -17226,7 +17305,7 @@ const AddressUpdateSubmit = ({
|
|
|
17226
17305
|
};
|
|
17227
17306
|
|
|
17228
17307
|
const AddressUpdateStateSelect = props => /*#__PURE__*/React__default.createElement(StateSelect, Object.assign({
|
|
17229
|
-
store: store$
|
|
17308
|
+
store: store$a
|
|
17230
17309
|
}, props));
|
|
17231
17310
|
|
|
17232
17311
|
const AddressUpdateView = props => {
|
|
@@ -17309,7 +17388,7 @@ AddressUpdateModal.viewId = "address-edit";
|
|
|
17309
17388
|
|
|
17310
17389
|
const AddressUpdateTextInput = props => {
|
|
17311
17390
|
return /*#__PURE__*/React__default.createElement(TextInput, Object.assign({}, props, {
|
|
17312
|
-
store: store$
|
|
17391
|
+
store: store$a
|
|
17313
17392
|
}));
|
|
17314
17393
|
};
|
|
17315
17394
|
|
|
@@ -17392,7 +17471,7 @@ const PaymentMethodUpdateModal = props => {
|
|
|
17392
17471
|
};
|
|
17393
17472
|
PaymentMethodUpdateModal.viewId = "payment-method-update";
|
|
17394
17473
|
|
|
17395
|
-
const initialState$
|
|
17474
|
+
const initialState$9 = {
|
|
17396
17475
|
email: "",
|
|
17397
17476
|
password: "",
|
|
17398
17477
|
passwordError: null,
|
|
@@ -17405,10 +17484,10 @@ const initialState$8 = {
|
|
|
17405
17484
|
content: ""
|
|
17406
17485
|
}
|
|
17407
17486
|
};
|
|
17408
|
-
const store$
|
|
17487
|
+
const store$9 = /*#__PURE__*/createContext(initialState$9);
|
|
17409
17488
|
const {
|
|
17410
|
-
Provider: Provider$
|
|
17411
|
-
} = store$
|
|
17489
|
+
Provider: Provider$9
|
|
17490
|
+
} = store$9;
|
|
17412
17491
|
|
|
17413
17492
|
const PasswordResetContainer = ({
|
|
17414
17493
|
style,
|
|
@@ -17465,7 +17544,7 @@ const PasswordResetContainer = ({
|
|
|
17465
17544
|
type: SET_EMAIL,
|
|
17466
17545
|
payload: window.Pelcro.helpers.getURLParameter("email")
|
|
17467
17546
|
});
|
|
17468
|
-
initialState$
|
|
17547
|
+
initialState$9.email = window.Pelcro.helpers.getURLParameter("email");
|
|
17469
17548
|
dispatch({
|
|
17470
17549
|
type: SET_TOKEN,
|
|
17471
17550
|
payload: window.Pelcro.helpers.getURLParameter("token")
|
|
@@ -17525,26 +17604,26 @@ const PasswordResetContainer = ({
|
|
|
17525
17604
|
default:
|
|
17526
17605
|
return state;
|
|
17527
17606
|
}
|
|
17528
|
-
}, initialState$
|
|
17607
|
+
}, initialState$9);
|
|
17529
17608
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
17530
17609
|
style: { ...style
|
|
17531
17610
|
},
|
|
17532
17611
|
className: `pelcro-container pelcro-password-reset-container ${className}`
|
|
17533
|
-
}, /*#__PURE__*/React__default.createElement(Provider$
|
|
17612
|
+
}, /*#__PURE__*/React__default.createElement(Provider$9, {
|
|
17534
17613
|
value: {
|
|
17535
17614
|
state,
|
|
17536
17615
|
dispatch
|
|
17537
17616
|
}
|
|
17538
17617
|
}, children.length ? children.map((child, i) => /*#__PURE__*/React__default.cloneElement(child, {
|
|
17539
|
-
store: store$
|
|
17618
|
+
store: store$9,
|
|
17540
17619
|
key: i
|
|
17541
17620
|
})) : /*#__PURE__*/React__default.cloneElement(children, {
|
|
17542
|
-
store: store$
|
|
17621
|
+
store: store$9
|
|
17543
17622
|
})));
|
|
17544
17623
|
};
|
|
17545
17624
|
|
|
17546
17625
|
const PasswordResetPassword = props => /*#__PURE__*/React__default.createElement(Password, Object.assign({
|
|
17547
|
-
store: store$
|
|
17626
|
+
store: store$9
|
|
17548
17627
|
}, props));
|
|
17549
17628
|
|
|
17550
17629
|
const PasswordResetButton = ({
|
|
@@ -17557,7 +17636,7 @@ const PasswordResetButton = ({
|
|
|
17557
17636
|
buttonDisabled
|
|
17558
17637
|
},
|
|
17559
17638
|
dispatch
|
|
17560
|
-
} = useContext(store$
|
|
17639
|
+
} = useContext(store$9);
|
|
17561
17640
|
const {
|
|
17562
17641
|
t
|
|
17563
17642
|
} = useTranslation("passwordReset");
|
|
@@ -17574,14 +17653,14 @@ const PasswordResetButton = ({
|
|
|
17574
17653
|
};
|
|
17575
17654
|
|
|
17576
17655
|
const PasswordResetEmail = props => /*#__PURE__*/React__default.createElement(Email, Object.assign({
|
|
17577
|
-
store: store$
|
|
17656
|
+
store: store$9
|
|
17578
17657
|
}, props, {
|
|
17579
17658
|
value: window.Pelcro.helpers.getURLParameter("email"),
|
|
17580
17659
|
disabled: true
|
|
17581
17660
|
}));
|
|
17582
17661
|
|
|
17583
17662
|
const PasswordResetConfirmPassword = props => /*#__PURE__*/React__default.createElement(ConfirmPassword, Object.assign({
|
|
17584
|
-
store: store$
|
|
17663
|
+
store: store$9
|
|
17585
17664
|
}, props));
|
|
17586
17665
|
|
|
17587
17666
|
const PasswordResetView = props => {
|
|
@@ -17633,7 +17712,7 @@ const PasswordResetModal = ({
|
|
|
17633
17712
|
};
|
|
17634
17713
|
PasswordResetModal.viewId = "password-reset";
|
|
17635
17714
|
|
|
17636
|
-
const initialState$
|
|
17715
|
+
const initialState$8 = {
|
|
17637
17716
|
email: "",
|
|
17638
17717
|
emailError: null,
|
|
17639
17718
|
buttonDisabled: false,
|
|
@@ -17642,10 +17721,10 @@ const initialState$7 = {
|
|
|
17642
17721
|
content: ""
|
|
17643
17722
|
}
|
|
17644
17723
|
};
|
|
17645
|
-
const store$
|
|
17724
|
+
const store$8 = /*#__PURE__*/createContext(initialState$8);
|
|
17646
17725
|
const {
|
|
17647
|
-
Provider: Provider$
|
|
17648
|
-
} = store$
|
|
17726
|
+
Provider: Provider$8
|
|
17727
|
+
} = store$8;
|
|
17649
17728
|
|
|
17650
17729
|
const PasswordForgotContainer = ({
|
|
17651
17730
|
style,
|
|
@@ -17723,21 +17802,21 @@ const PasswordForgotContainer = ({
|
|
|
17723
17802
|
default:
|
|
17724
17803
|
return state;
|
|
17725
17804
|
}
|
|
17726
|
-
}, initialState$
|
|
17805
|
+
}, initialState$8);
|
|
17727
17806
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
17728
17807
|
style: { ...style
|
|
17729
17808
|
},
|
|
17730
17809
|
className: `pelcro-container pelcro-password-forgot-container ${className}`
|
|
17731
|
-
}, /*#__PURE__*/React__default.createElement(Provider$
|
|
17810
|
+
}, /*#__PURE__*/React__default.createElement(Provider$8, {
|
|
17732
17811
|
value: {
|
|
17733
17812
|
state,
|
|
17734
17813
|
dispatch
|
|
17735
17814
|
}
|
|
17736
17815
|
}, children.length ? children.map((child, i) => /*#__PURE__*/React__default.cloneElement(child, {
|
|
17737
|
-
store: store$
|
|
17816
|
+
store: store$8,
|
|
17738
17817
|
key: i
|
|
17739
17818
|
})) : /*#__PURE__*/React__default.cloneElement(children, {
|
|
17740
|
-
store: store$
|
|
17819
|
+
store: store$8
|
|
17741
17820
|
})));
|
|
17742
17821
|
};
|
|
17743
17822
|
|
|
@@ -17753,7 +17832,7 @@ const PasswordForgotButton = ({
|
|
|
17753
17832
|
emailError
|
|
17754
17833
|
},
|
|
17755
17834
|
dispatch
|
|
17756
|
-
} = useContext(store$
|
|
17835
|
+
} = useContext(store$8);
|
|
17757
17836
|
const {
|
|
17758
17837
|
t
|
|
17759
17838
|
} = useTranslation("passwordForgot");
|
|
@@ -17774,7 +17853,7 @@ const PasswordForgotButton = ({
|
|
|
17774
17853
|
};
|
|
17775
17854
|
|
|
17776
17855
|
const PasswordForgotEmail = props => /*#__PURE__*/React__default.createElement(Email, Object.assign({
|
|
17777
|
-
store: store$
|
|
17856
|
+
store: store$8
|
|
17778
17857
|
}, props));
|
|
17779
17858
|
|
|
17780
17859
|
const PasswordForgotView = props => {
|
|
@@ -17824,7 +17903,7 @@ const PasswordForgotModal = ({
|
|
|
17824
17903
|
};
|
|
17825
17904
|
PasswordForgotModal.viewId = "password-forgot";
|
|
17826
17905
|
|
|
17827
|
-
const initialState$
|
|
17906
|
+
const initialState$7 = {
|
|
17828
17907
|
currentPassword: "",
|
|
17829
17908
|
newPassword: "",
|
|
17830
17909
|
confirmNewPassword: "",
|
|
@@ -17838,10 +17917,10 @@ const initialState$6 = {
|
|
|
17838
17917
|
content: ""
|
|
17839
17918
|
}
|
|
17840
17919
|
};
|
|
17841
|
-
const store$
|
|
17920
|
+
const store$7 = /*#__PURE__*/createContext(initialState$7);
|
|
17842
17921
|
const {
|
|
17843
|
-
Provider: Provider$
|
|
17844
|
-
} = store$
|
|
17922
|
+
Provider: Provider$7
|
|
17923
|
+
} = store$7;
|
|
17845
17924
|
const PasswordChangeContainer = ({
|
|
17846
17925
|
style,
|
|
17847
17926
|
className = "",
|
|
@@ -17993,21 +18072,21 @@ const PasswordChangeContainer = ({
|
|
|
17993
18072
|
default:
|
|
17994
18073
|
return state;
|
|
17995
18074
|
}
|
|
17996
|
-
}, initialState$
|
|
18075
|
+
}, initialState$7);
|
|
17997
18076
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
17998
18077
|
style: { ...style
|
|
17999
18078
|
},
|
|
18000
18079
|
className: `pelcro-container pelcro-password-change-container ${className}`
|
|
18001
|
-
}, /*#__PURE__*/React__default.createElement(Provider$
|
|
18080
|
+
}, /*#__PURE__*/React__default.createElement(Provider$7, {
|
|
18002
18081
|
value: {
|
|
18003
18082
|
state,
|
|
18004
18083
|
dispatch
|
|
18005
18084
|
}
|
|
18006
18085
|
}, children.length ? children.map((child, i) => /*#__PURE__*/React__default.cloneElement(child, {
|
|
18007
|
-
store: store$
|
|
18086
|
+
store: store$7,
|
|
18008
18087
|
key: i
|
|
18009
18088
|
})) : /*#__PURE__*/React__default.cloneElement(children, {
|
|
18010
|
-
store: store$
|
|
18089
|
+
store: store$7
|
|
18011
18090
|
})));
|
|
18012
18091
|
};
|
|
18013
18092
|
|
|
@@ -18018,7 +18097,7 @@ function PasswordChangeCurrentPassword(props) {
|
|
|
18018
18097
|
currentPassword,
|
|
18019
18098
|
currentPasswordError
|
|
18020
18099
|
}
|
|
18021
|
-
} = useContext(store$
|
|
18100
|
+
} = useContext(store$7);
|
|
18022
18101
|
const handleBlur = useCallback(() => {
|
|
18023
18102
|
return dispatch({
|
|
18024
18103
|
type: VALIDATE_PASSWORD
|
|
@@ -18052,7 +18131,7 @@ function PasswordChangeNewPassword(props) {
|
|
|
18052
18131
|
newPassword,
|
|
18053
18132
|
newPasswordError
|
|
18054
18133
|
}
|
|
18055
|
-
} = useContext(store$
|
|
18134
|
+
} = useContext(store$7);
|
|
18056
18135
|
const handleBlur = useCallback(() => {
|
|
18057
18136
|
return dispatch({
|
|
18058
18137
|
type: VALIDATE_NEW_PASSWORD
|
|
@@ -18086,7 +18165,7 @@ function PasswordChangeConfirmNewPassword(props) {
|
|
|
18086
18165
|
confirmNewPassword,
|
|
18087
18166
|
confirmNewPasswordError
|
|
18088
18167
|
}
|
|
18089
|
-
} = useContext(store$
|
|
18168
|
+
} = useContext(store$7);
|
|
18090
18169
|
const handleBlur = useCallback(() => {
|
|
18091
18170
|
return dispatch({
|
|
18092
18171
|
type: VALIDATE_CONFIRM_NEW_PASSWORD
|
|
@@ -18127,7 +18206,7 @@ const PasswordChangeButton = ({
|
|
|
18127
18206
|
confirmNewPasswordError
|
|
18128
18207
|
},
|
|
18129
18208
|
dispatch
|
|
18130
|
-
} = useContext(store$
|
|
18209
|
+
} = useContext(store$7);
|
|
18131
18210
|
const {
|
|
18132
18211
|
t
|
|
18133
18212
|
} = useTranslation("passwordChange");
|
|
@@ -18193,17 +18272,17 @@ const PasswordChangeModal = ({
|
|
|
18193
18272
|
};
|
|
18194
18273
|
PasswordChangeModal.viewId = "password-change";
|
|
18195
18274
|
|
|
18196
|
-
const initialState$
|
|
18275
|
+
const initialState$6 = {
|
|
18197
18276
|
buttonDisabled: false,
|
|
18198
18277
|
alert: {
|
|
18199
18278
|
type: "error",
|
|
18200
18279
|
content: ""
|
|
18201
18280
|
}
|
|
18202
18281
|
};
|
|
18203
|
-
const store$
|
|
18282
|
+
const store$6 = /*#__PURE__*/createContext(initialState$6);
|
|
18204
18283
|
const {
|
|
18205
|
-
Provider: Provider$
|
|
18206
|
-
} = store$
|
|
18284
|
+
Provider: Provider$6
|
|
18285
|
+
} = store$6;
|
|
18207
18286
|
|
|
18208
18287
|
const CartContainer = ({
|
|
18209
18288
|
style,
|
|
@@ -18294,21 +18373,21 @@ const CartContainer = ({
|
|
|
18294
18373
|
default:
|
|
18295
18374
|
return state;
|
|
18296
18375
|
}
|
|
18297
|
-
}, initialState$
|
|
18376
|
+
}, initialState$6);
|
|
18298
18377
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
18299
18378
|
style: { ...style
|
|
18300
18379
|
},
|
|
18301
18380
|
className: `pelcro-container pelcro-cart-container ${className}`
|
|
18302
|
-
}, /*#__PURE__*/React__default.createElement(Provider$
|
|
18381
|
+
}, /*#__PURE__*/React__default.createElement(Provider$6, {
|
|
18303
18382
|
value: {
|
|
18304
18383
|
state,
|
|
18305
18384
|
dispatch
|
|
18306
18385
|
}
|
|
18307
18386
|
}, children.length ? children.map((child, i) => /*#__PURE__*/React__default.cloneElement(child, {
|
|
18308
|
-
store: store$
|
|
18387
|
+
store: store$6,
|
|
18309
18388
|
key: i
|
|
18310
18389
|
})) : /*#__PURE__*/React__default.cloneElement(children, {
|
|
18311
|
-
store: store$
|
|
18390
|
+
store: store$6
|
|
18312
18391
|
})));
|
|
18313
18392
|
};
|
|
18314
18393
|
|
|
@@ -18345,7 +18424,7 @@ const CartSubmit = ({
|
|
|
18345
18424
|
buttonDisabled
|
|
18346
18425
|
},
|
|
18347
18426
|
dispatch
|
|
18348
|
-
} = useContext(store$
|
|
18427
|
+
} = useContext(store$6);
|
|
18349
18428
|
const {
|
|
18350
18429
|
t
|
|
18351
18430
|
} = useTranslation("cart");
|
|
@@ -18376,7 +18455,7 @@ const CartTotalPrice = () => {
|
|
|
18376
18455
|
state: {
|
|
18377
18456
|
alert
|
|
18378
18457
|
}
|
|
18379
|
-
} = useContext(store$
|
|
18458
|
+
} = useContext(store$6);
|
|
18380
18459
|
const {
|
|
18381
18460
|
cartItems
|
|
18382
18461
|
} = usePelcro();
|
|
@@ -18689,7 +18768,7 @@ const OrderConfirmModal = props => {
|
|
|
18689
18768
|
};
|
|
18690
18769
|
OrderConfirmModal.viewId = "order-confirm";
|
|
18691
18770
|
|
|
18692
|
-
const initialState$
|
|
18771
|
+
const initialState$5 = {
|
|
18693
18772
|
email: "",
|
|
18694
18773
|
firstName: "",
|
|
18695
18774
|
lastName: "",
|
|
@@ -18701,10 +18780,10 @@ const initialState$4 = {
|
|
|
18701
18780
|
content: ""
|
|
18702
18781
|
}
|
|
18703
18782
|
};
|
|
18704
|
-
const store$
|
|
18783
|
+
const store$5 = /*#__PURE__*/createContext(initialState$5);
|
|
18705
18784
|
const {
|
|
18706
|
-
Provider: Provider$
|
|
18707
|
-
} = store$
|
|
18785
|
+
Provider: Provider$5
|
|
18786
|
+
} = store$5;
|
|
18708
18787
|
|
|
18709
18788
|
const GiftCreateContainer = ({
|
|
18710
18789
|
style,
|
|
@@ -18808,21 +18887,21 @@ const GiftCreateContainer = ({
|
|
|
18808
18887
|
default:
|
|
18809
18888
|
return state;
|
|
18810
18889
|
}
|
|
18811
|
-
}, initialState$
|
|
18890
|
+
}, initialState$5);
|
|
18812
18891
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
18813
18892
|
style: { ...style
|
|
18814
18893
|
},
|
|
18815
18894
|
className: `pelcro-container pelcro-gift-create-container ${className}`
|
|
18816
|
-
}, /*#__PURE__*/React__default.createElement(Provider$
|
|
18895
|
+
}, /*#__PURE__*/React__default.createElement(Provider$5, {
|
|
18817
18896
|
value: {
|
|
18818
18897
|
state,
|
|
18819
18898
|
dispatch
|
|
18820
18899
|
}
|
|
18821
18900
|
}, children.length ? children.map((child, i) => /*#__PURE__*/React__default.cloneElement(child, {
|
|
18822
|
-
store: store$
|
|
18901
|
+
store: store$5,
|
|
18823
18902
|
key: i
|
|
18824
18903
|
})) : /*#__PURE__*/React__default.cloneElement(children, {
|
|
18825
|
-
store: store$
|
|
18904
|
+
store: store$5
|
|
18826
18905
|
})));
|
|
18827
18906
|
};
|
|
18828
18907
|
|
|
@@ -18836,7 +18915,7 @@ const GiftCreateSubmitButton = ({
|
|
|
18836
18915
|
state: {
|
|
18837
18916
|
disableSubmit
|
|
18838
18917
|
}
|
|
18839
|
-
} = useContext(store$
|
|
18918
|
+
} = useContext(store$5);
|
|
18840
18919
|
const {
|
|
18841
18920
|
t
|
|
18842
18921
|
} = useTranslation("register");
|
|
@@ -18853,29 +18932,29 @@ const GiftCreateSubmitButton = ({
|
|
|
18853
18932
|
|
|
18854
18933
|
const GiftCreateEmail = props => /*#__PURE__*/React__default.createElement(Email, Object.assign({
|
|
18855
18934
|
initWithUserEmail: false,
|
|
18856
|
-
store: store$
|
|
18935
|
+
store: store$5
|
|
18857
18936
|
}, props));
|
|
18858
18937
|
|
|
18859
18938
|
const GiftCreateFirstName = props => /*#__PURE__*/React__default.createElement(FirstName, Object.assign({
|
|
18860
|
-
store: store$
|
|
18939
|
+
store: store$5
|
|
18861
18940
|
}, props));
|
|
18862
18941
|
|
|
18863
18942
|
const GiftCreateLastName = props => /*#__PURE__*/React__default.createElement(LastName, Object.assign({
|
|
18864
|
-
store: store$
|
|
18943
|
+
store: store$5
|
|
18865
18944
|
}, props));
|
|
18866
18945
|
|
|
18867
|
-
var _path$
|
|
18946
|
+
var _path$g;
|
|
18868
18947
|
|
|
18869
|
-
function _extends$
|
|
18948
|
+
function _extends$i() { _extends$i = 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$i.apply(this, arguments); }
|
|
18870
18949
|
|
|
18871
18950
|
function SvgInfoCircle(props) {
|
|
18872
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
18951
|
+
return /*#__PURE__*/React.createElement("svg", _extends$i({
|
|
18873
18952
|
xmlns: "http://www.w3.org/2000/svg",
|
|
18874
18953
|
className: "plc-w-5 plc-h-5",
|
|
18875
18954
|
fill: "none",
|
|
18876
18955
|
viewBox: "0 0 24 24",
|
|
18877
18956
|
stroke: "currentColor"
|
|
18878
|
-
}, props), _path$
|
|
18957
|
+
}, props), _path$g || (_path$g = /*#__PURE__*/React.createElement("path", {
|
|
18879
18958
|
strokeLinecap: "round",
|
|
18880
18959
|
strokeLinejoin: "round",
|
|
18881
18960
|
strokeWidth: 2,
|
|
@@ -18946,7 +19025,7 @@ const GiftCreateStartDate = props => {
|
|
|
18946
19025
|
const {
|
|
18947
19026
|
dispatch,
|
|
18948
19027
|
state
|
|
18949
|
-
} = useContext(store$
|
|
19028
|
+
} = useContext(store$5);
|
|
18950
19029
|
|
|
18951
19030
|
const handleInputChange = value => {
|
|
18952
19031
|
dispatch({
|
|
@@ -19017,7 +19096,7 @@ function GiftCreateMessage(props) {
|
|
|
19017
19096
|
const {
|
|
19018
19097
|
dispatch,
|
|
19019
19098
|
state
|
|
19020
|
-
} = useContext(store$
|
|
19099
|
+
} = useContext(store$5);
|
|
19021
19100
|
|
|
19022
19101
|
const handleInputChange = value => {
|
|
19023
19102
|
dispatch({
|
|
@@ -19137,7 +19216,7 @@ const GiftCreateModal = ({
|
|
|
19137
19216
|
};
|
|
19138
19217
|
GiftCreateModal.viewId = "gift-create";
|
|
19139
19218
|
|
|
19140
|
-
const initialState$
|
|
19219
|
+
const initialState$4 = {
|
|
19141
19220
|
giftCode: "",
|
|
19142
19221
|
buttonDisabled: true,
|
|
19143
19222
|
alert: {
|
|
@@ -19145,10 +19224,10 @@ const initialState$3 = {
|
|
|
19145
19224
|
content: ""
|
|
19146
19225
|
}
|
|
19147
19226
|
};
|
|
19148
|
-
const store$
|
|
19227
|
+
const store$4 = /*#__PURE__*/createContext(initialState$4);
|
|
19149
19228
|
const {
|
|
19150
|
-
Provider: Provider$
|
|
19151
|
-
} = store$
|
|
19229
|
+
Provider: Provider$4
|
|
19230
|
+
} = store$4;
|
|
19152
19231
|
|
|
19153
19232
|
const GiftRedeemContainer = ({
|
|
19154
19233
|
style,
|
|
@@ -19213,21 +19292,21 @@ const GiftRedeemContainer = ({
|
|
|
19213
19292
|
default:
|
|
19214
19293
|
return state;
|
|
19215
19294
|
}
|
|
19216
|
-
}, initialState$
|
|
19295
|
+
}, initialState$4);
|
|
19217
19296
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
19218
19297
|
style: { ...style
|
|
19219
19298
|
},
|
|
19220
19299
|
className: `pelcro-container pelcro-gift-redeem-container ${className}`
|
|
19221
|
-
}, /*#__PURE__*/React__default.createElement(Provider$
|
|
19300
|
+
}, /*#__PURE__*/React__default.createElement(Provider$4, {
|
|
19222
19301
|
value: {
|
|
19223
19302
|
state,
|
|
19224
19303
|
dispatch
|
|
19225
19304
|
}
|
|
19226
19305
|
}, children.length ? children.map((child, i) => /*#__PURE__*/React__default.cloneElement(child, {
|
|
19227
|
-
store: store$
|
|
19306
|
+
store: store$4,
|
|
19228
19307
|
key: i
|
|
19229
19308
|
})) : /*#__PURE__*/React__default.cloneElement(children, {
|
|
19230
|
-
store: store$
|
|
19309
|
+
store: store$4
|
|
19231
19310
|
})));
|
|
19232
19311
|
};
|
|
19233
19312
|
|
|
@@ -19264,7 +19343,7 @@ function GiftCode({
|
|
|
19264
19343
|
}
|
|
19265
19344
|
|
|
19266
19345
|
const GiftRedeemCode = props => /*#__PURE__*/React__default.createElement(GiftCode, Object.assign({
|
|
19267
|
-
store: store$
|
|
19346
|
+
store: store$4
|
|
19268
19347
|
}, props));
|
|
19269
19348
|
|
|
19270
19349
|
const GiftRedeemSubmitButton = ({
|
|
@@ -19277,7 +19356,7 @@ const GiftRedeemSubmitButton = ({
|
|
|
19277
19356
|
state: {
|
|
19278
19357
|
disableSubmit
|
|
19279
19358
|
}
|
|
19280
|
-
} = useContext(store$
|
|
19359
|
+
} = useContext(store$4);
|
|
19281
19360
|
const {
|
|
19282
19361
|
t
|
|
19283
19362
|
} = useTranslation("register");
|
|
@@ -19370,7 +19449,7 @@ const moveDefaultAddressToStart = addresses => {
|
|
|
19370
19449
|
return [defaultAddress, ...addressesWithoutDefault];
|
|
19371
19450
|
};
|
|
19372
19451
|
|
|
19373
|
-
const initialState$
|
|
19452
|
+
const initialState$3 = {
|
|
19374
19453
|
addresses: [],
|
|
19375
19454
|
selectedAddressId: null,
|
|
19376
19455
|
isSubmitting: false,
|
|
@@ -19379,10 +19458,10 @@ const initialState$2 = {
|
|
|
19379
19458
|
content: ""
|
|
19380
19459
|
}
|
|
19381
19460
|
};
|
|
19382
|
-
const store$
|
|
19461
|
+
const store$3 = /*#__PURE__*/createContext(initialState$3);
|
|
19383
19462
|
const {
|
|
19384
|
-
Provider: Provider$
|
|
19385
|
-
} = store$
|
|
19463
|
+
Provider: Provider$3
|
|
19464
|
+
} = store$3;
|
|
19386
19465
|
|
|
19387
19466
|
const AddressSelectContainer = ({
|
|
19388
19467
|
style,
|
|
@@ -19477,7 +19556,7 @@ const AddressSelectContainer = ({
|
|
|
19477
19556
|
default:
|
|
19478
19557
|
return state;
|
|
19479
19558
|
}
|
|
19480
|
-
}, initialState$
|
|
19559
|
+
}, initialState$3);
|
|
19481
19560
|
useEffect(() => {
|
|
19482
19561
|
var _window$Pelcro$user$r;
|
|
19483
19562
|
|
|
@@ -19490,16 +19569,16 @@ const AddressSelectContainer = ({
|
|
|
19490
19569
|
style: { ...style
|
|
19491
19570
|
},
|
|
19492
19571
|
className: `pelcro-container pelcro-address-select-container ${className}`
|
|
19493
|
-
}, /*#__PURE__*/React__default.createElement(Provider$
|
|
19572
|
+
}, /*#__PURE__*/React__default.createElement(Provider$3, {
|
|
19494
19573
|
value: {
|
|
19495
19574
|
state,
|
|
19496
19575
|
dispatch
|
|
19497
19576
|
}
|
|
19498
19577
|
}, children.length ? children.map((child, i) => /*#__PURE__*/React__default.cloneElement(child, {
|
|
19499
|
-
store: store$
|
|
19578
|
+
store: store$3,
|
|
19500
19579
|
key: i
|
|
19501
19580
|
})) : /*#__PURE__*/React__default.cloneElement(children, {
|
|
19502
|
-
store: store$
|
|
19581
|
+
store: store$3
|
|
19503
19582
|
})));
|
|
19504
19583
|
};
|
|
19505
19584
|
|
|
@@ -19510,7 +19589,7 @@ const AddressSelectList = () => {
|
|
|
19510
19589
|
addresses,
|
|
19511
19590
|
selectedAddressId
|
|
19512
19591
|
}
|
|
19513
|
-
} = useContext(store$
|
|
19592
|
+
} = useContext(store$3);
|
|
19514
19593
|
|
|
19515
19594
|
const handleAddressSelect = event => {
|
|
19516
19595
|
dispatch({
|
|
@@ -19554,7 +19633,7 @@ const AddressSelectSubmit = ({
|
|
|
19554
19633
|
selectedAddressId,
|
|
19555
19634
|
isSubmitting
|
|
19556
19635
|
}
|
|
19557
|
-
} = useContext(store$
|
|
19636
|
+
} = useContext(store$3);
|
|
19558
19637
|
const {
|
|
19559
19638
|
t
|
|
19560
19639
|
} = useTranslation("address");
|
|
@@ -19645,7 +19724,7 @@ const moveDefaultPaymentMethodToStart = paymentMethods => {
|
|
|
19645
19724
|
return [defaultPaymentMethod, ...paymentMethodsWithoutDefault];
|
|
19646
19725
|
};
|
|
19647
19726
|
|
|
19648
|
-
const initialState$
|
|
19727
|
+
const initialState$2 = {
|
|
19649
19728
|
paymentMethods: [],
|
|
19650
19729
|
selectedPaymentMethodId: null,
|
|
19651
19730
|
isSubmitting: false,
|
|
@@ -19654,10 +19733,10 @@ const initialState$1 = {
|
|
|
19654
19733
|
content: ""
|
|
19655
19734
|
}
|
|
19656
19735
|
};
|
|
19657
|
-
const store$
|
|
19736
|
+
const store$2 = /*#__PURE__*/createContext(initialState$2);
|
|
19658
19737
|
const {
|
|
19659
|
-
Provider: Provider$
|
|
19660
|
-
} = store$
|
|
19738
|
+
Provider: Provider$2
|
|
19739
|
+
} = store$2;
|
|
19661
19740
|
|
|
19662
19741
|
const PaymentMethodSelectContainer = ({
|
|
19663
19742
|
style,
|
|
@@ -19702,7 +19781,7 @@ const PaymentMethodSelectContainer = ({
|
|
|
19702
19781
|
default:
|
|
19703
19782
|
return state;
|
|
19704
19783
|
}
|
|
19705
|
-
}, initialState$
|
|
19784
|
+
}, initialState$2);
|
|
19706
19785
|
useEffect(() => {
|
|
19707
19786
|
var _window$Pelcro$user$r4;
|
|
19708
19787
|
|
|
@@ -19715,16 +19794,16 @@ const PaymentMethodSelectContainer = ({
|
|
|
19715
19794
|
style: { ...style
|
|
19716
19795
|
},
|
|
19717
19796
|
className: `pelcro-container pelcro-payment-select-container ${className}`
|
|
19718
|
-
}, /*#__PURE__*/React__default.createElement(Provider$
|
|
19797
|
+
}, /*#__PURE__*/React__default.createElement(Provider$2, {
|
|
19719
19798
|
value: {
|
|
19720
19799
|
state,
|
|
19721
19800
|
dispatch
|
|
19722
19801
|
}
|
|
19723
19802
|
}, children.length ? children.map((child, i) => /*#__PURE__*/React__default.cloneElement(child, {
|
|
19724
|
-
store: store$
|
|
19803
|
+
store: store$2,
|
|
19725
19804
|
key: i
|
|
19726
19805
|
})) : /*#__PURE__*/React__default.cloneElement(children, {
|
|
19727
|
-
store: store$
|
|
19806
|
+
store: store$2
|
|
19728
19807
|
})));
|
|
19729
19808
|
};
|
|
19730
19809
|
|
|
@@ -19738,7 +19817,7 @@ const PaymentMethodSelectList = () => {
|
|
|
19738
19817
|
paymentMethods,
|
|
19739
19818
|
selectedPaymentMethodId
|
|
19740
19819
|
}
|
|
19741
|
-
} = useContext(store$
|
|
19820
|
+
} = useContext(store$2);
|
|
19742
19821
|
|
|
19743
19822
|
const handlePaymentMethodSelect = event => {
|
|
19744
19823
|
dispatch({
|
|
@@ -19788,7 +19867,7 @@ const PaymentMethodSelectSubmit = ({
|
|
|
19788
19867
|
selectedPaymentMethodId,
|
|
19789
19868
|
isSubmitting
|
|
19790
19869
|
}
|
|
19791
|
-
} = useContext(store$
|
|
19870
|
+
} = useContext(store$2);
|
|
19792
19871
|
return /*#__PURE__*/React__default.createElement(Button, Object.assign({
|
|
19793
19872
|
onClick: () => {
|
|
19794
19873
|
dispatch({
|
|
@@ -19862,8 +19941,8 @@ const PaymentMethodSelectModal = ({
|
|
|
19862
19941
|
};
|
|
19863
19942
|
PaymentMethodSelectModal.viewId = "payment-method-select";
|
|
19864
19943
|
|
|
19865
|
-
function _extends$
|
|
19866
|
-
_extends$
|
|
19944
|
+
function _extends$h() {
|
|
19945
|
+
_extends$h = Object.assign || function (target) {
|
|
19867
19946
|
for (var i = 1; i < arguments.length; i++) {
|
|
19868
19947
|
var source = arguments[i];
|
|
19869
19948
|
|
|
@@ -19877,7 +19956,7 @@ function _extends$g() {
|
|
|
19877
19956
|
return target;
|
|
19878
19957
|
};
|
|
19879
19958
|
|
|
19880
|
-
return _extends$
|
|
19959
|
+
return _extends$h.apply(this, arguments);
|
|
19881
19960
|
}
|
|
19882
19961
|
|
|
19883
19962
|
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
@@ -20061,7 +20140,7 @@ function render(props, propsBag, defaultTag, features, visible) {
|
|
|
20061
20140
|
return match(strategy, (_match = {}, _match[RenderStrategy.Unmount] = function () {
|
|
20062
20141
|
return null;
|
|
20063
20142
|
}, _match[RenderStrategy.Hidden] = function () {
|
|
20064
|
-
return _render(_extends$
|
|
20143
|
+
return _render(_extends$h({}, _rest, {
|
|
20065
20144
|
hidden: true,
|
|
20066
20145
|
style: {
|
|
20067
20146
|
display: 'none'
|
|
@@ -20589,7 +20668,7 @@ function TransitionChild(props) {
|
|
|
20589
20668
|
var passthroughProps = rest;
|
|
20590
20669
|
return React__default.createElement(NestingContext.Provider, {
|
|
20591
20670
|
value: nesting
|
|
20592
|
-
}, render(_extends$
|
|
20671
|
+
}, render(_extends$h({}, passthroughProps, propsWeControl), propsBag, DEFAULT_TRANSITION_CHILD_TAG, TransitionChildRenderFeatures, state === TreeStates.Visible));
|
|
20593
20672
|
}
|
|
20594
20673
|
|
|
20595
20674
|
function Transition(props) {
|
|
@@ -20633,7 +20712,7 @@ function Transition(props) {
|
|
|
20633
20712
|
value: nestingBag
|
|
20634
20713
|
}, React__default.createElement(TransitionContext.Provider, {
|
|
20635
20714
|
value: transitionBag
|
|
20636
|
-
}, render(_extends$
|
|
20715
|
+
}, render(_extends$h({}, sharedProps, {
|
|
20637
20716
|
as: Fragment,
|
|
20638
20717
|
children: React__default.createElement(TransitionChild, Object.assign({}, sharedProps, passthroughProps))
|
|
20639
20718
|
}), propsBag, Fragment, TransitionChildRenderFeatures, state === TreeStates.Visible)));
|
|
@@ -20760,12 +20839,12 @@ var ActionTypes;
|
|
|
20760
20839
|
})(ActionTypes || (ActionTypes = {}));
|
|
20761
20840
|
|
|
20762
20841
|
(_reducers = {}, _reducers[ActionTypes.CloseMenu] = function (state) {
|
|
20763
|
-
return _extends$
|
|
20842
|
+
return _extends$h({}, state, {
|
|
20764
20843
|
activeItemIndex: null,
|
|
20765
20844
|
menuState: MenuStates.Closed
|
|
20766
20845
|
});
|
|
20767
20846
|
}, _reducers[ActionTypes.OpenMenu] = function (state) {
|
|
20768
|
-
return _extends$
|
|
20847
|
+
return _extends$h({}, state, {
|
|
20769
20848
|
menuState: MenuStates.Open
|
|
20770
20849
|
});
|
|
20771
20850
|
}, _reducers[ActionTypes.GoToItem] = function (state, action) {
|
|
@@ -20784,7 +20863,7 @@ var ActionTypes;
|
|
|
20784
20863
|
}
|
|
20785
20864
|
});
|
|
20786
20865
|
if (state.searchQuery === '' && state.activeItemIndex === activeItemIndex) return state;
|
|
20787
|
-
return _extends$
|
|
20866
|
+
return _extends$h({}, state, {
|
|
20788
20867
|
searchQuery: '',
|
|
20789
20868
|
activeItemIndex: activeItemIndex
|
|
20790
20869
|
});
|
|
@@ -20795,19 +20874,19 @@ var ActionTypes;
|
|
|
20795
20874
|
|
|
20796
20875
|
return ((_item$dataRef$current = item.dataRef.current.textValue) == null ? void 0 : _item$dataRef$current.startsWith(searchQuery)) && !item.dataRef.current.disabled;
|
|
20797
20876
|
});
|
|
20798
|
-
if (match === -1 || match === state.activeItemIndex) return _extends$
|
|
20877
|
+
if (match === -1 || match === state.activeItemIndex) return _extends$h({}, state, {
|
|
20799
20878
|
searchQuery: searchQuery
|
|
20800
20879
|
});
|
|
20801
|
-
return _extends$
|
|
20880
|
+
return _extends$h({}, state, {
|
|
20802
20881
|
searchQuery: searchQuery,
|
|
20803
20882
|
activeItemIndex: match
|
|
20804
20883
|
});
|
|
20805
20884
|
}, _reducers[ActionTypes.ClearSearch] = function (state) {
|
|
20806
|
-
return _extends$
|
|
20885
|
+
return _extends$h({}, state, {
|
|
20807
20886
|
searchQuery: ''
|
|
20808
20887
|
});
|
|
20809
20888
|
}, _reducers[ActionTypes.RegisterItem] = function (state, action) {
|
|
20810
|
-
return _extends$
|
|
20889
|
+
return _extends$h({}, state, {
|
|
20811
20890
|
items: [].concat(state.items, [{
|
|
20812
20891
|
id: action.id,
|
|
20813
20892
|
dataRef: action.dataRef
|
|
@@ -20820,7 +20899,7 @@ var ActionTypes;
|
|
|
20820
20899
|
return a.id === action.id;
|
|
20821
20900
|
});
|
|
20822
20901
|
if (idx !== -1) nextItems.splice(idx, 1);
|
|
20823
|
-
return _extends$
|
|
20902
|
+
return _extends$h({}, state, {
|
|
20824
20903
|
items: nextItems,
|
|
20825
20904
|
activeItemIndex: function () {
|
|
20826
20905
|
if (idx === state.activeItemIndex) return null;
|
|
@@ -20859,19 +20938,19 @@ var ActionTypes$1;
|
|
|
20859
20938
|
(_reducers$1 = {}, _reducers$1[ActionTypes$1.CloseListbox] = function (state) {
|
|
20860
20939
|
if (state.disabled) return state;
|
|
20861
20940
|
if (state.listboxState === ListboxStates.Closed) return state;
|
|
20862
|
-
return _extends$
|
|
20941
|
+
return _extends$h({}, state, {
|
|
20863
20942
|
activeOptionIndex: null,
|
|
20864
20943
|
listboxState: ListboxStates.Closed
|
|
20865
20944
|
});
|
|
20866
20945
|
}, _reducers$1[ActionTypes$1.OpenListbox] = function (state) {
|
|
20867
20946
|
if (state.disabled) return state;
|
|
20868
20947
|
if (state.listboxState === ListboxStates.Open) return state;
|
|
20869
|
-
return _extends$
|
|
20948
|
+
return _extends$h({}, state, {
|
|
20870
20949
|
listboxState: ListboxStates.Open
|
|
20871
20950
|
});
|
|
20872
20951
|
}, _reducers$1[ActionTypes$1.SetDisabled] = function (state, action) {
|
|
20873
20952
|
if (state.disabled === action.disabled) return state;
|
|
20874
|
-
return _extends$
|
|
20953
|
+
return _extends$h({}, state, {
|
|
20875
20954
|
disabled: action.disabled
|
|
20876
20955
|
});
|
|
20877
20956
|
}, _reducers$1[ActionTypes$1.GoToOption] = function (state, action) {
|
|
@@ -20892,7 +20971,7 @@ var ActionTypes$1;
|
|
|
20892
20971
|
}
|
|
20893
20972
|
});
|
|
20894
20973
|
if (state.searchQuery === '' && state.activeOptionIndex === activeOptionIndex) return state;
|
|
20895
|
-
return _extends$
|
|
20974
|
+
return _extends$h({}, state, {
|
|
20896
20975
|
searchQuery: '',
|
|
20897
20976
|
activeOptionIndex: activeOptionIndex
|
|
20898
20977
|
});
|
|
@@ -20905,10 +20984,10 @@ var ActionTypes$1;
|
|
|
20905
20984
|
|
|
20906
20985
|
return !option.dataRef.current.disabled && ((_option$dataRef$curre = option.dataRef.current.textValue) == null ? void 0 : _option$dataRef$curre.startsWith(searchQuery));
|
|
20907
20986
|
});
|
|
20908
|
-
if (match === -1 || match === state.activeOptionIndex) return _extends$
|
|
20987
|
+
if (match === -1 || match === state.activeOptionIndex) return _extends$h({}, state, {
|
|
20909
20988
|
searchQuery: searchQuery
|
|
20910
20989
|
});
|
|
20911
|
-
return _extends$
|
|
20990
|
+
return _extends$h({}, state, {
|
|
20912
20991
|
searchQuery: searchQuery,
|
|
20913
20992
|
activeOptionIndex: match
|
|
20914
20993
|
});
|
|
@@ -20916,11 +20995,11 @@ var ActionTypes$1;
|
|
|
20916
20995
|
if (state.disabled) return state;
|
|
20917
20996
|
if (state.listboxState === ListboxStates.Closed) return state;
|
|
20918
20997
|
if (state.searchQuery === '') return state;
|
|
20919
|
-
return _extends$
|
|
20998
|
+
return _extends$h({}, state, {
|
|
20920
20999
|
searchQuery: ''
|
|
20921
21000
|
});
|
|
20922
21001
|
}, _reducers$1[ActionTypes$1.RegisterOption] = function (state, action) {
|
|
20923
|
-
return _extends$
|
|
21002
|
+
return _extends$h({}, state, {
|
|
20924
21003
|
options: [].concat(state.options, [{
|
|
20925
21004
|
id: action.id,
|
|
20926
21005
|
dataRef: action.dataRef
|
|
@@ -20933,7 +21012,7 @@ var ActionTypes$1;
|
|
|
20933
21012
|
return a.id === action.id;
|
|
20934
21013
|
});
|
|
20935
21014
|
if (idx !== -1) nextOptions.splice(idx, 1);
|
|
20936
|
-
return _extends$
|
|
21015
|
+
return _extends$h({}, state, {
|
|
20937
21016
|
options: nextOptions,
|
|
20938
21017
|
activeOptionIndex: function () {
|
|
20939
21018
|
if (idx === state.activeOptionIndex) return null;
|
|
@@ -20994,18 +21073,18 @@ const getPaymentCardIcon = name => {
|
|
|
20994
21073
|
}));
|
|
20995
21074
|
};
|
|
20996
21075
|
|
|
20997
|
-
var _path$
|
|
21076
|
+
var _path$f;
|
|
20998
21077
|
|
|
20999
|
-
function _extends$
|
|
21078
|
+
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); }
|
|
21000
21079
|
|
|
21001
21080
|
function SvgChevronRight(props) {
|
|
21002
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
21081
|
+
return /*#__PURE__*/React.createElement("svg", _extends$g({
|
|
21003
21082
|
className: "plc-w-6 plc-h-6",
|
|
21004
21083
|
xmlns: "http://www.w3.org/2000/svg",
|
|
21005
21084
|
fill: "none",
|
|
21006
21085
|
viewBox: "0 0 24 24",
|
|
21007
21086
|
stroke: "currentColor"
|
|
21008
|
-
}, props), _path$
|
|
21087
|
+
}, props), _path$f || (_path$f = /*#__PURE__*/React.createElement("path", {
|
|
21009
21088
|
strokeLinecap: "round",
|
|
21010
21089
|
strokeLinejoin: "round",
|
|
21011
21090
|
strokeWidth: 2,
|
|
@@ -21221,18 +21300,18 @@ const SavedItems = ({
|
|
|
21221
21300
|
});
|
|
21222
21301
|
};
|
|
21223
21302
|
|
|
21224
|
-
var _path$
|
|
21303
|
+
var _path$e;
|
|
21225
21304
|
|
|
21226
|
-
function _extends$
|
|
21305
|
+
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); }
|
|
21227
21306
|
|
|
21228
21307
|
function SvgRefresh(props) {
|
|
21229
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
21308
|
+
return /*#__PURE__*/React.createElement("svg", _extends$f({
|
|
21230
21309
|
className: "plc-w-4 plc-h-4 plc-mr-1",
|
|
21231
21310
|
xmlns: "http://www.w3.org/2000/svg",
|
|
21232
21311
|
fill: "none",
|
|
21233
21312
|
viewBox: "0 0 24 24",
|
|
21234
21313
|
stroke: "currentColor"
|
|
21235
|
-
}, props), _path$
|
|
21314
|
+
}, props), _path$e || (_path$e = /*#__PURE__*/React.createElement("path", {
|
|
21236
21315
|
strokeLinecap: "round",
|
|
21237
21316
|
strokeLinejoin: "round",
|
|
21238
21317
|
strokeWidth: 2,
|
|
@@ -21240,35 +21319,35 @@ function SvgRefresh(props) {
|
|
|
21240
21319
|
})));
|
|
21241
21320
|
}
|
|
21242
21321
|
|
|
21243
|
-
var _path$
|
|
21322
|
+
var _path$d;
|
|
21244
21323
|
|
|
21245
|
-
function _extends$
|
|
21324
|
+
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); }
|
|
21246
21325
|
|
|
21247
21326
|
function SvgCalendar(props) {
|
|
21248
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
21327
|
+
return /*#__PURE__*/React.createElement("svg", _extends$e({
|
|
21249
21328
|
xmlns: "http://www.w3.org/2000/svg",
|
|
21250
21329
|
className: "plc-h-4 plc-w-4 plc-mr-1",
|
|
21251
21330
|
viewBox: "0 0 20 20",
|
|
21252
21331
|
fill: "currentColor"
|
|
21253
|
-
}, props), _path$
|
|
21332
|
+
}, props), _path$d || (_path$d = /*#__PURE__*/React.createElement("path", {
|
|
21254
21333
|
fillRule: "evenodd",
|
|
21255
21334
|
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",
|
|
21256
21335
|
clipRule: "evenodd"
|
|
21257
21336
|
})));
|
|
21258
21337
|
}
|
|
21259
21338
|
|
|
21260
|
-
var _path$
|
|
21339
|
+
var _path$c;
|
|
21261
21340
|
|
|
21262
|
-
function _extends$
|
|
21341
|
+
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); }
|
|
21263
21342
|
|
|
21264
21343
|
function SvgPlus(props) {
|
|
21265
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
21344
|
+
return /*#__PURE__*/React.createElement("svg", _extends$d({
|
|
21266
21345
|
className: "plc-w-5 plc-h-5",
|
|
21267
21346
|
xmlns: "http://www.w3.org/2000/svg",
|
|
21268
21347
|
fill: "none",
|
|
21269
21348
|
viewBox: "0 0 24 24",
|
|
21270
21349
|
stroke: "currentColor"
|
|
21271
|
-
}, props), _path$
|
|
21350
|
+
}, props), _path$c || (_path$c = /*#__PURE__*/React.createElement("path", {
|
|
21272
21351
|
strokeLinecap: "round",
|
|
21273
21352
|
strokeLinejoin: "round",
|
|
21274
21353
|
strokeWidth: 2,
|
|
@@ -21276,17 +21355,17 @@ function SvgPlus(props) {
|
|
|
21276
21355
|
})));
|
|
21277
21356
|
}
|
|
21278
21357
|
|
|
21279
|
-
var _path$
|
|
21358
|
+
var _path$b;
|
|
21280
21359
|
|
|
21281
|
-
function _extends$
|
|
21360
|
+
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); }
|
|
21282
21361
|
|
|
21283
21362
|
function SvgCheckMark(props) {
|
|
21284
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
21363
|
+
return /*#__PURE__*/React.createElement("svg", _extends$c({
|
|
21285
21364
|
className: "plc-w-4 plc-h-4 plc-mr-1",
|
|
21286
21365
|
xmlns: "http://www.w3.org/2000/svg",
|
|
21287
21366
|
viewBox: "0 0 20 20",
|
|
21288
21367
|
fill: "currentColor"
|
|
21289
|
-
}, props), _path$
|
|
21368
|
+
}, props), _path$b || (_path$b = /*#__PURE__*/React.createElement("path", {
|
|
21290
21369
|
fillRule: "evenodd",
|
|
21291
21370
|
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",
|
|
21292
21371
|
clipRule: "evenodd"
|
|
@@ -21569,18 +21648,18 @@ Accordion.item = function AccordionItem({
|
|
|
21569
21648
|
}, content)) : null;
|
|
21570
21649
|
};
|
|
21571
21650
|
|
|
21572
|
-
var _path$
|
|
21651
|
+
var _path$a;
|
|
21573
21652
|
|
|
21574
|
-
function _extends$
|
|
21653
|
+
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); }
|
|
21575
21654
|
|
|
21576
21655
|
function SvgExit(props) {
|
|
21577
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
21656
|
+
return /*#__PURE__*/React.createElement("svg", _extends$b({
|
|
21578
21657
|
className: "plc-w-6 plc-h-6",
|
|
21579
21658
|
xmlns: "http://www.w3.org/2000/svg",
|
|
21580
21659
|
fill: "none",
|
|
21581
21660
|
viewBox: "0 0 24 24",
|
|
21582
21661
|
stroke: "currentColor"
|
|
21583
|
-
}, props), _path$
|
|
21662
|
+
}, props), _path$a || (_path$a = /*#__PURE__*/React.createElement("path", {
|
|
21584
21663
|
strokeLinecap: "round",
|
|
21585
21664
|
strokeLinejoin: "round",
|
|
21586
21665
|
strokeWidth: 2,
|
|
@@ -21588,17 +21667,17 @@ function SvgExit(props) {
|
|
|
21588
21667
|
})));
|
|
21589
21668
|
}
|
|
21590
21669
|
|
|
21591
|
-
var _path$
|
|
21670
|
+
var _path$9;
|
|
21592
21671
|
|
|
21593
|
-
function _extends$
|
|
21672
|
+
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); }
|
|
21594
21673
|
|
|
21595
21674
|
function SvgUser(props) {
|
|
21596
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
21675
|
+
return /*#__PURE__*/React.createElement("svg", _extends$a({
|
|
21597
21676
|
xmlns: "http://www.w3.org/2000/svg",
|
|
21598
21677
|
fill: "none",
|
|
21599
21678
|
viewBox: "0 0 24 24",
|
|
21600
21679
|
stroke: "currentColor"
|
|
21601
|
-
}, props), _path$
|
|
21680
|
+
}, props), _path$9 || (_path$9 = /*#__PURE__*/React.createElement("path", {
|
|
21602
21681
|
strokeLinecap: "round",
|
|
21603
21682
|
strokeLinejoin: "round",
|
|
21604
21683
|
strokeWidth: 2,
|
|
@@ -21606,18 +21685,18 @@ function SvgUser(props) {
|
|
|
21606
21685
|
})));
|
|
21607
21686
|
}
|
|
21608
21687
|
|
|
21609
|
-
var _path$
|
|
21688
|
+
var _path$8;
|
|
21610
21689
|
|
|
21611
|
-
function _extends$
|
|
21690
|
+
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); }
|
|
21612
21691
|
|
|
21613
21692
|
function SvgNewsletter(props) {
|
|
21614
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
21693
|
+
return /*#__PURE__*/React.createElement("svg", _extends$9({
|
|
21615
21694
|
xmlns: "http://www.w3.org/2000/svg",
|
|
21616
21695
|
className: "plc-h-5 plc-w-5",
|
|
21617
21696
|
fill: "none",
|
|
21618
21697
|
viewBox: "0 0 24 24",
|
|
21619
21698
|
stroke: "currentColor"
|
|
21620
|
-
}, props), _path$
|
|
21699
|
+
}, props), _path$8 || (_path$8 = /*#__PURE__*/React.createElement("path", {
|
|
21621
21700
|
strokeLinecap: "round",
|
|
21622
21701
|
strokeLinejoin: "round",
|
|
21623
21702
|
strokeWidth: 2,
|
|
@@ -21625,18 +21704,18 @@ function SvgNewsletter(props) {
|
|
|
21625
21704
|
})));
|
|
21626
21705
|
}
|
|
21627
21706
|
|
|
21628
|
-
var _path$
|
|
21707
|
+
var _path$7;
|
|
21629
21708
|
|
|
21630
|
-
function _extends$
|
|
21709
|
+
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); }
|
|
21631
21710
|
|
|
21632
21711
|
function SvgPaymentCard(props) {
|
|
21633
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
21712
|
+
return /*#__PURE__*/React.createElement("svg", _extends$8({
|
|
21634
21713
|
className: "plc-w-6 plc-h-6 plc-mr-2",
|
|
21635
21714
|
xmlns: "http://www.w3.org/2000/svg",
|
|
21636
21715
|
fill: "none",
|
|
21637
21716
|
viewBox: "0 0 24 24",
|
|
21638
21717
|
stroke: "currentColor"
|
|
21639
|
-
}, props), _path$
|
|
21718
|
+
}, props), _path$7 || (_path$7 = /*#__PURE__*/React.createElement("path", {
|
|
21640
21719
|
strokeLinecap: "round",
|
|
21641
21720
|
strokeLinejoin: "round",
|
|
21642
21721
|
strokeWidth: 2,
|
|
@@ -21644,23 +21723,23 @@ function SvgPaymentCard(props) {
|
|
|
21644
21723
|
})));
|
|
21645
21724
|
}
|
|
21646
21725
|
|
|
21647
|
-
var _path$
|
|
21726
|
+
var _path$6, _path2$1;
|
|
21648
21727
|
|
|
21649
|
-
function _extends$
|
|
21728
|
+
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); }
|
|
21650
21729
|
|
|
21651
21730
|
function SvgLocationPin(props) {
|
|
21652
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
21731
|
+
return /*#__PURE__*/React.createElement("svg", _extends$7({
|
|
21653
21732
|
className: "plc-w-6 plc-h-6 plc-mr-2",
|
|
21654
21733
|
xmlns: "http://www.w3.org/2000/svg",
|
|
21655
21734
|
fill: "none",
|
|
21656
21735
|
viewBox: "0 0 24 24",
|
|
21657
21736
|
stroke: "currentColor"
|
|
21658
|
-
}, props), _path$
|
|
21737
|
+
}, props), _path$6 || (_path$6 = /*#__PURE__*/React.createElement("path", {
|
|
21659
21738
|
strokeLinecap: "round",
|
|
21660
21739
|
strokeLinejoin: "round",
|
|
21661
21740
|
strokeWidth: 2,
|
|
21662
21741
|
d: "M17.657 16.657L13.414 20.9a1.998 1.998 0 01-2.827 0l-4.244-4.243a8 8 0 1111.314 0z"
|
|
21663
|
-
})), _path2 || (_path2 = /*#__PURE__*/React.createElement("path", {
|
|
21742
|
+
})), _path2$1 || (_path2$1 = /*#__PURE__*/React.createElement("path", {
|
|
21664
21743
|
strokeLinecap: "round",
|
|
21665
21744
|
strokeLinejoin: "round",
|
|
21666
21745
|
strokeWidth: 2,
|
|
@@ -21670,10 +21749,10 @@ function SvgLocationPin(props) {
|
|
|
21670
21749
|
|
|
21671
21750
|
var _switch;
|
|
21672
21751
|
|
|
21673
|
-
function _extends$
|
|
21752
|
+
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); }
|
|
21674
21753
|
|
|
21675
21754
|
function SvgSubscription(props) {
|
|
21676
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
21755
|
+
return /*#__PURE__*/React.createElement("svg", _extends$6({
|
|
21677
21756
|
xmlns: "http://www.w3.org/2000/svg",
|
|
21678
21757
|
viewBox: "0 0 100 125",
|
|
21679
21758
|
fill: "currentColor"
|
|
@@ -21688,18 +21767,18 @@ function SvgSubscription(props) {
|
|
|
21688
21767
|
}))))));
|
|
21689
21768
|
}
|
|
21690
21769
|
|
|
21691
|
-
var _path$
|
|
21770
|
+
var _path$5;
|
|
21692
21771
|
|
|
21693
|
-
function _extends$
|
|
21772
|
+
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); }
|
|
21694
21773
|
|
|
21695
21774
|
function SvgShopping(props) {
|
|
21696
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
21775
|
+
return /*#__PURE__*/React.createElement("svg", _extends$5({
|
|
21697
21776
|
className: "plc-w-6 plc-h-6 plc-mr-2",
|
|
21698
21777
|
xmlns: "http://www.w3.org/2000/svg",
|
|
21699
21778
|
fill: "none",
|
|
21700
21779
|
viewBox: "0 0 24 24",
|
|
21701
21780
|
stroke: "currentColor"
|
|
21702
|
-
}, props), _path$
|
|
21781
|
+
}, props), _path$5 || (_path$5 = /*#__PURE__*/React.createElement("path", {
|
|
21703
21782
|
strokeLinecap: "round",
|
|
21704
21783
|
strokeLinejoin: "round",
|
|
21705
21784
|
strokeWidth: 2,
|
|
@@ -21707,18 +21786,18 @@ function SvgShopping(props) {
|
|
|
21707
21786
|
})));
|
|
21708
21787
|
}
|
|
21709
21788
|
|
|
21710
|
-
var _path$
|
|
21789
|
+
var _path$4;
|
|
21711
21790
|
|
|
21712
|
-
function _extends$
|
|
21791
|
+
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); }
|
|
21713
21792
|
|
|
21714
21793
|
function SvgBookmark(props) {
|
|
21715
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
21794
|
+
return /*#__PURE__*/React.createElement("svg", _extends$4({
|
|
21716
21795
|
className: "plc-w-6 plc-h-6 plc-mr-2",
|
|
21717
21796
|
xmlns: "http://www.w3.org/2000/svg",
|
|
21718
21797
|
fill: "none",
|
|
21719
21798
|
viewBox: "0 0 24 24",
|
|
21720
21799
|
stroke: "currentColor"
|
|
21721
|
-
}, props), _path$
|
|
21800
|
+
}, props), _path$4 || (_path$4 = /*#__PURE__*/React.createElement("path", {
|
|
21722
21801
|
strokeLinecap: "round",
|
|
21723
21802
|
strokeLinejoin: "round",
|
|
21724
21803
|
strokeWidth: 2,
|
|
@@ -21726,33 +21805,33 @@ function SvgBookmark(props) {
|
|
|
21726
21805
|
})));
|
|
21727
21806
|
}
|
|
21728
21807
|
|
|
21729
|
-
var _path$
|
|
21808
|
+
var _path$3;
|
|
21730
21809
|
|
|
21731
|
-
function _extends$
|
|
21810
|
+
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); }
|
|
21732
21811
|
|
|
21733
21812
|
function SvgKey(props) {
|
|
21734
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
21813
|
+
return /*#__PURE__*/React.createElement("svg", _extends$3({
|
|
21735
21814
|
xmlns: "http://www.w3.org/2000/svg",
|
|
21736
21815
|
viewBox: "0 0 20 20",
|
|
21737
21816
|
fill: "currentColor"
|
|
21738
|
-
}, props), _path$
|
|
21817
|
+
}, props), _path$3 || (_path$3 = /*#__PURE__*/React.createElement("path", {
|
|
21739
21818
|
fillRule: "evenodd",
|
|
21740
21819
|
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",
|
|
21741
21820
|
clipRule: "evenodd"
|
|
21742
21821
|
})));
|
|
21743
21822
|
}
|
|
21744
21823
|
|
|
21745
|
-
var _path$
|
|
21824
|
+
var _path$2;
|
|
21746
21825
|
|
|
21747
|
-
function _extends$
|
|
21826
|
+
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); }
|
|
21748
21827
|
|
|
21749
21828
|
function SvgDonate(props) {
|
|
21750
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
21829
|
+
return /*#__PURE__*/React.createElement("svg", _extends$2({
|
|
21751
21830
|
width: 24,
|
|
21752
21831
|
height: 24,
|
|
21753
21832
|
fill: "currentColor",
|
|
21754
21833
|
xmlns: "http://www.w3.org/2000/svg"
|
|
21755
|
-
}, props), _path$
|
|
21834
|
+
}, props), _path$2 || (_path$2 = /*#__PURE__*/React.createElement("path", {
|
|
21756
21835
|
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"
|
|
21757
21836
|
})));
|
|
21758
21837
|
}
|
|
@@ -22398,7 +22477,7 @@ const DashboardOpenButton = () => {
|
|
|
22398
22477
|
};
|
|
22399
22478
|
DashboardOpenButton.viewId = "dashboard-open";
|
|
22400
22479
|
|
|
22401
|
-
const initialState = {
|
|
22480
|
+
const initialState$1 = {
|
|
22402
22481
|
imageSrc: null,
|
|
22403
22482
|
crop: {
|
|
22404
22483
|
x: 0,
|
|
@@ -22412,10 +22491,10 @@ const initialState = {
|
|
|
22412
22491
|
content: ""
|
|
22413
22492
|
}
|
|
22414
22493
|
};
|
|
22415
|
-
const store = /*#__PURE__*/createContext(initialState);
|
|
22494
|
+
const store$1 = /*#__PURE__*/createContext(initialState$1);
|
|
22416
22495
|
const {
|
|
22417
|
-
Provider
|
|
22418
|
-
} = store;
|
|
22496
|
+
Provider: Provider$1
|
|
22497
|
+
} = store$1;
|
|
22419
22498
|
|
|
22420
22499
|
const ProfilePicChangeContainer = ({
|
|
22421
22500
|
style,
|
|
@@ -22549,21 +22628,21 @@ const ProfilePicChangeContainer = ({
|
|
|
22549
22628
|
default:
|
|
22550
22629
|
return state;
|
|
22551
22630
|
}
|
|
22552
|
-
}, initialState);
|
|
22631
|
+
}, initialState$1);
|
|
22553
22632
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
22554
22633
|
style: { ...style
|
|
22555
22634
|
},
|
|
22556
22635
|
className: `pelcro-container pelcro-profile-picture-container ${className}`
|
|
22557
|
-
}, /*#__PURE__*/React__default.createElement(Provider, {
|
|
22636
|
+
}, /*#__PURE__*/React__default.createElement(Provider$1, {
|
|
22558
22637
|
value: {
|
|
22559
22638
|
state,
|
|
22560
22639
|
dispatch
|
|
22561
22640
|
}
|
|
22562
22641
|
}, children.length ? children.map((child, i) => /*#__PURE__*/React__default.cloneElement(child, {
|
|
22563
|
-
store,
|
|
22642
|
+
store: store$1,
|
|
22564
22643
|
key: i
|
|
22565
22644
|
})) : /*#__PURE__*/React__default.cloneElement(children, {
|
|
22566
|
-
store
|
|
22645
|
+
store: store$1
|
|
22567
22646
|
})));
|
|
22568
22647
|
};
|
|
22569
22648
|
/**
|
|
@@ -22625,7 +22704,7 @@ const ProfilePicChangeButton = ({
|
|
|
22625
22704
|
isSubmitting
|
|
22626
22705
|
},
|
|
22627
22706
|
dispatch
|
|
22628
|
-
} = useContext(store);
|
|
22707
|
+
} = useContext(store$1);
|
|
22629
22708
|
const {
|
|
22630
22709
|
t
|
|
22631
22710
|
} = useTranslation("userEdit");
|
|
@@ -23993,7 +24072,7 @@ const ProfilePicChangeCropper = ({
|
|
|
23993
24072
|
zoom
|
|
23994
24073
|
},
|
|
23995
24074
|
dispatch
|
|
23996
|
-
} = useContext(store);
|
|
24075
|
+
} = useContext(store$1);
|
|
23997
24076
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
23998
24077
|
className: `plc-relative plc-w-full plc-h-52 sm:plc-h-96 ${className}`
|
|
23999
24078
|
}, /*#__PURE__*/React__default.createElement(Cropper, Object.assign({
|
|
@@ -24035,7 +24114,7 @@ const ProfilePicChangeZoom = ({
|
|
|
24035
24114
|
zoom
|
|
24036
24115
|
},
|
|
24037
24116
|
dispatch
|
|
24038
|
-
} = useContext(store);
|
|
24117
|
+
} = useContext(store$1);
|
|
24039
24118
|
const {
|
|
24040
24119
|
t
|
|
24041
24120
|
} = useTranslation("userEdit");
|
|
@@ -24058,18 +24137,18 @@ const ProfilePicChangeZoom = ({
|
|
|
24058
24137
|
}, otherProps)));
|
|
24059
24138
|
};
|
|
24060
24139
|
|
|
24061
|
-
var _path;
|
|
24140
|
+
var _path$1;
|
|
24062
24141
|
|
|
24063
|
-
function _extends() { _extends = 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.apply(this, arguments); }
|
|
24142
|
+
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); }
|
|
24064
24143
|
|
|
24065
24144
|
function SvgPhotograph(props) {
|
|
24066
|
-
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
24145
|
+
return /*#__PURE__*/React.createElement("svg", _extends$1({
|
|
24067
24146
|
xmlns: "http://www.w3.org/2000/svg",
|
|
24068
24147
|
className: "plc-h-6 plc-w-6",
|
|
24069
24148
|
fill: "none",
|
|
24070
24149
|
viewBox: "0 0 24 24",
|
|
24071
24150
|
stroke: "currentColor"
|
|
24072
|
-
}, props), _path || (_path = /*#__PURE__*/React.createElement("path", {
|
|
24151
|
+
}, props), _path$1 || (_path$1 = /*#__PURE__*/React.createElement("path", {
|
|
24073
24152
|
strokeLinecap: "round",
|
|
24074
24153
|
strokeLinejoin: "round",
|
|
24075
24154
|
strokeWidth: 2,
|
|
@@ -24087,7 +24166,7 @@ const ProfilePicChangeSelectButton = ({
|
|
|
24087
24166
|
state: {
|
|
24088
24167
|
isSubmitting
|
|
24089
24168
|
}
|
|
24090
|
-
} = useContext(store);
|
|
24169
|
+
} = useContext(store$1);
|
|
24091
24170
|
const {
|
|
24092
24171
|
t
|
|
24093
24172
|
} = useTranslation("userEdit");
|
|
@@ -24129,7 +24208,7 @@ const ProfilePicChangeRemoveButton = ({
|
|
|
24129
24208
|
state: {
|
|
24130
24209
|
isSubmitting
|
|
24131
24210
|
}
|
|
24132
|
-
} = useContext(store);
|
|
24211
|
+
} = useContext(store$1);
|
|
24133
24212
|
const {
|
|
24134
24213
|
t
|
|
24135
24214
|
} = useTranslation("userEdit");
|
|
@@ -24152,7 +24231,7 @@ const ProfilePicChangeWrapper = () => {
|
|
|
24152
24231
|
state: {
|
|
24153
24232
|
imageSrc
|
|
24154
24233
|
}
|
|
24155
|
-
} = useContext(store);
|
|
24234
|
+
} = useContext(store$1);
|
|
24156
24235
|
const {
|
|
24157
24236
|
t
|
|
24158
24237
|
} = useTranslation("userEdit");
|
|
@@ -24214,4 +24293,180 @@ function ProfilePicChangeModal({
|
|
|
24214
24293
|
}
|
|
24215
24294
|
ProfilePicChangeModal.viewId = "profile-picture";
|
|
24216
24295
|
|
|
24217
|
-
|
|
24296
|
+
const initialState = {
|
|
24297
|
+
isSubmitting: false,
|
|
24298
|
+
alert: {
|
|
24299
|
+
type: "error",
|
|
24300
|
+
content: ""
|
|
24301
|
+
}
|
|
24302
|
+
};
|
|
24303
|
+
const store = /*#__PURE__*/createContext(initialState);
|
|
24304
|
+
const {
|
|
24305
|
+
Provider
|
|
24306
|
+
} = store;
|
|
24307
|
+
|
|
24308
|
+
const EmailVerifyContainer = ({
|
|
24309
|
+
style,
|
|
24310
|
+
className = "",
|
|
24311
|
+
onSuccess = () => {},
|
|
24312
|
+
onFailure = () => {},
|
|
24313
|
+
children,
|
|
24314
|
+
...props
|
|
24315
|
+
}) => {
|
|
24316
|
+
const {
|
|
24317
|
+
t
|
|
24318
|
+
} = useTranslation("verifyEmail");
|
|
24319
|
+
|
|
24320
|
+
const submit = () => {
|
|
24321
|
+
window.Pelcro.user.resendEmailVerificationToken((err, res) => {
|
|
24322
|
+
dispatch({
|
|
24323
|
+
type: LOADING,
|
|
24324
|
+
payload: false
|
|
24325
|
+
});
|
|
24326
|
+
|
|
24327
|
+
if (err) {
|
|
24328
|
+
dispatch({
|
|
24329
|
+
type: SHOW_ALERT,
|
|
24330
|
+
payload: {
|
|
24331
|
+
type: "error",
|
|
24332
|
+
content: getErrorMessages(err)
|
|
24333
|
+
}
|
|
24334
|
+
});
|
|
24335
|
+
return onFailure(err);
|
|
24336
|
+
}
|
|
24337
|
+
|
|
24338
|
+
dispatch({
|
|
24339
|
+
type: SHOW_ALERT,
|
|
24340
|
+
payload: {
|
|
24341
|
+
type: "success",
|
|
24342
|
+
content: t("messages.resent")
|
|
24343
|
+
}
|
|
24344
|
+
});
|
|
24345
|
+
return onSuccess(res);
|
|
24346
|
+
});
|
|
24347
|
+
};
|
|
24348
|
+
|
|
24349
|
+
const [state, dispatch] = useReducerWithSideEffects((state, action) => {
|
|
24350
|
+
switch (action.type) {
|
|
24351
|
+
case SHOW_ALERT:
|
|
24352
|
+
return lib_7({ ...state,
|
|
24353
|
+
alert: action.payload
|
|
24354
|
+
});
|
|
24355
|
+
|
|
24356
|
+
case LOADING:
|
|
24357
|
+
return lib_7({ ...state,
|
|
24358
|
+
isSubmitting: action.payload
|
|
24359
|
+
});
|
|
24360
|
+
|
|
24361
|
+
case HANDLE_SUBMIT:
|
|
24362
|
+
return lib_5({ ...state,
|
|
24363
|
+
isSubmitting: true
|
|
24364
|
+
}, (state, dispatch) => submit());
|
|
24365
|
+
|
|
24366
|
+
default:
|
|
24367
|
+
return state;
|
|
24368
|
+
}
|
|
24369
|
+
}, initialState);
|
|
24370
|
+
return /*#__PURE__*/React__default.createElement("div", {
|
|
24371
|
+
style: { ...style
|
|
24372
|
+
},
|
|
24373
|
+
className: `pelcro-container pelcro-email-verify-container ${className}`
|
|
24374
|
+
}, /*#__PURE__*/React__default.createElement(Provider, {
|
|
24375
|
+
value: {
|
|
24376
|
+
state,
|
|
24377
|
+
dispatch
|
|
24378
|
+
}
|
|
24379
|
+
}, children.length ? children.map((child, i) => /*#__PURE__*/React__default.cloneElement(child, {
|
|
24380
|
+
store,
|
|
24381
|
+
key: i
|
|
24382
|
+
})) : /*#__PURE__*/React__default.cloneElement(children, {
|
|
24383
|
+
store
|
|
24384
|
+
})));
|
|
24385
|
+
};
|
|
24386
|
+
|
|
24387
|
+
const EmailVerifyResendButton = ({
|
|
24388
|
+
name,
|
|
24389
|
+
onClick,
|
|
24390
|
+
...otherProps
|
|
24391
|
+
}) => {
|
|
24392
|
+
const {
|
|
24393
|
+
dispatch,
|
|
24394
|
+
state: {
|
|
24395
|
+
isSubmitting
|
|
24396
|
+
}
|
|
24397
|
+
} = useContext(store);
|
|
24398
|
+
const {
|
|
24399
|
+
t
|
|
24400
|
+
} = useTranslation("verifyEmail");
|
|
24401
|
+
return /*#__PURE__*/React__default.createElement(Button, Object.assign({
|
|
24402
|
+
onClick: () => {
|
|
24403
|
+
dispatch({
|
|
24404
|
+
type: HANDLE_SUBMIT
|
|
24405
|
+
});
|
|
24406
|
+
onClick === null || onClick === void 0 ? void 0 : onClick();
|
|
24407
|
+
},
|
|
24408
|
+
isLoading: isSubmitting
|
|
24409
|
+
}, otherProps), name !== null && name !== void 0 ? name : t("labels.resend"));
|
|
24410
|
+
};
|
|
24411
|
+
|
|
24412
|
+
var _path, _path2;
|
|
24413
|
+
|
|
24414
|
+
function _extends() { _extends = 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.apply(this, arguments); }
|
|
24415
|
+
|
|
24416
|
+
function SvgEmailVerify(props) {
|
|
24417
|
+
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
24418
|
+
className: "plc-w-6 plc-h-6",
|
|
24419
|
+
viewBox: "0 0 700 700",
|
|
24420
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
24421
|
+
}, props), _path || (_path = /*#__PURE__*/React.createElement("path", {
|
|
24422
|
+
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"
|
|
24423
|
+
})), _path2 || (_path2 = /*#__PURE__*/React.createElement("path", {
|
|
24424
|
+
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"
|
|
24425
|
+
})));
|
|
24426
|
+
}
|
|
24427
|
+
|
|
24428
|
+
const EmailVerifyView = props => {
|
|
24429
|
+
var _window$Pelcro$user$r;
|
|
24430
|
+
|
|
24431
|
+
const {
|
|
24432
|
+
t
|
|
24433
|
+
} = useTranslation("verifyEmail");
|
|
24434
|
+
return /*#__PURE__*/React__default.createElement("div", {
|
|
24435
|
+
id: "pelcro-email-verify-view"
|
|
24436
|
+
}, /*#__PURE__*/React__default.createElement("div", {
|
|
24437
|
+
className: "plc-mb-6 plc-text-center plc-text-gray-900 pelcro-title-wrapper"
|
|
24438
|
+
}, /*#__PURE__*/React__default.createElement("h4", {
|
|
24439
|
+
className: "plc-text-2xl plc-font-semibold"
|
|
24440
|
+
}, t("labels.title"))), /*#__PURE__*/React__default.createElement("form", {
|
|
24441
|
+
action: "javascript:void(0);",
|
|
24442
|
+
className: "plc-mt-2 pelcro-form"
|
|
24443
|
+
}, /*#__PURE__*/React__default.createElement(EmailVerifyContainer, props, /*#__PURE__*/React__default.createElement(AlertWithContext, null), /*#__PURE__*/React__default.createElement("div", {
|
|
24444
|
+
className: "plc-flex plc-flex-col plc-items-center plc-justify-center plc-mt-4"
|
|
24445
|
+
}, /*#__PURE__*/React__default.createElement(SvgEmailVerify, {
|
|
24446
|
+
className: "plc-w-32 plc-h-32"
|
|
24447
|
+
}), /*#__PURE__*/React__default.createElement("p", {
|
|
24448
|
+
className: "plc-mb-1 plc-text-gray-900"
|
|
24449
|
+
}, t("labels.instructions"), " ", /*#__PURE__*/React__default.createElement("span", {
|
|
24450
|
+
className: "plc-font-bold"
|
|
24451
|
+
}, (_window$Pelcro$user$r = window.Pelcro.user.read()) === null || _window$Pelcro$user$r === void 0 ? void 0 : _window$Pelcro$user$r.email))), /*#__PURE__*/React__default.createElement(EmailVerifyResendButton, {
|
|
24452
|
+
role: "submit",
|
|
24453
|
+
className: "plc-mt-4 plc-w-full",
|
|
24454
|
+
name: t("labels.resend"),
|
|
24455
|
+
id: "pelcro-submit"
|
|
24456
|
+
}))));
|
|
24457
|
+
};
|
|
24458
|
+
|
|
24459
|
+
const EmailVerifyModal = ({
|
|
24460
|
+
onDisplay,
|
|
24461
|
+
onClose,
|
|
24462
|
+
...otherProps
|
|
24463
|
+
}) => {
|
|
24464
|
+
return /*#__PURE__*/React__default.createElement(Modal, {
|
|
24465
|
+
onDisplay: onDisplay,
|
|
24466
|
+
onClose: onClose,
|
|
24467
|
+
id: "pelcro-email-verify-modal"
|
|
24468
|
+
}, /*#__PURE__*/React__default.createElement(ModalBody, null, /*#__PURE__*/React__default.createElement(EmailVerifyView, otherProps)), /*#__PURE__*/React__default.createElement(ModalFooter, null, /*#__PURE__*/React__default.createElement(Authorship, null)));
|
|
24469
|
+
};
|
|
24470
|
+
EmailVerifyModal.viewId = "email-verify";
|
|
24471
|
+
|
|
24472
|
+
export { AddressCreateCity, AddressCreateContainer, AddressCreateCountrySelect, AddressCreateFirstName, AddressCreateLastName, AddressCreateLine1, AddressCreateLine2, AddressCreateModal, AddressCreatePostalCode, AddressCreateStateSelect, AddressCreateSubmit, AddressCreateTextInput, AddressCreateView, AddressSelectContainer, AddressSelectList, AddressSelectModal, AddressSelectSubmit, AddressSelectView, AddressUpdateCity, AddressUpdateContainer, AddressUpdateCountrySelect, AddressUpdateFirstName, AddressUpdateLastName, AddressUpdateLine1, AddressUpdateLine2, AddressUpdateModal, AddressUpdatePostalCode, 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, Link, LoginButton, LoginContainer, LoginEmail, LoginModal, LoginPassword, 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, 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, Radio, RegisterButton, RegisterCompany, RegisterContainer, RegisterEmail, RegisterFirstName, RegisterJobTitle, RegisterLastName, RegisterModal, RegisterPassword, RegisterView, Select, SelectModalWithHook as SelectModal, SelectedPaymentMethod, ShopPurchaseButton, ShopSelectProductButton, ShopView, SubmitPaymentMethod, SubscriptionCreateContainer, SubscriptionCreateModal, SubscriptionCreateView, SubscriptionRenewContainer, SubscriptionRenewModal, SubscriptionRenewView, TaxAmount, TextArea, Tooltip, UserUpdateButton, UserUpdateContainer, UserUpdateDisplayName, UserUpdateEmail, UserUpdateFirstName, UserUpdateLastName, UserUpdateModal, UserUpdatePhone, UserUpdateProfilePic, UserUpdateTextInput, UserUpdateView, authenticatedButtons, i18next as i18n, init$1 as initButtons, init as initContentEntitlement, notify, unauthenticatedButtons, usePelcro };
|