@pelcro/react-pelcro-js 3.2.0-beta.18 → 3.2.0-beta.19
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 +477 -265
- package/dist/index.esm.js +474 -266
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -3436,7 +3436,7 @@ var paymentMethod_fr = {
|
|
|
3436
3436
|
var title$f = "Enter your email to subscribe to our newsletter";
|
|
3437
3437
|
var updateTitle$1 = "Update newsletter selections";
|
|
3438
3438
|
var subtitle$7 = "We may use your email for other marketing communication";
|
|
3439
|
-
var labels$
|
|
3439
|
+
var labels$r = {
|
|
3440
3440
|
submit: "Submit",
|
|
3441
3441
|
firstName: "First name",
|
|
3442
3442
|
lastName: "Last name",
|
|
@@ -3444,7 +3444,7 @@ var labels$p = {
|
|
|
3444
3444
|
postalCode: "Postal code",
|
|
3445
3445
|
required: "required"
|
|
3446
3446
|
};
|
|
3447
|
-
var messages$
|
|
3447
|
+
var messages$t = {
|
|
3448
3448
|
alreadyHaveAccount: "Already have an account?",
|
|
3449
3449
|
success: "Newsletters were successfully updated",
|
|
3450
3450
|
loginHere: "Login here.",
|
|
@@ -3455,14 +3455,14 @@ var newsletter_en = {
|
|
|
3455
3455
|
title: title$f,
|
|
3456
3456
|
updateTitle: updateTitle$1,
|
|
3457
3457
|
subtitle: subtitle$7,
|
|
3458
|
-
labels: labels$
|
|
3459
|
-
messages: messages$
|
|
3458
|
+
labels: labels$r,
|
|
3459
|
+
messages: messages$t
|
|
3460
3460
|
};
|
|
3461
3461
|
|
|
3462
3462
|
var title$e = "Entrez votre adresse courriel pour vous abonner à notre infolettre";
|
|
3463
3463
|
var updateTitle = "Mettre à jour son choix d'infolettres";
|
|
3464
3464
|
var subtitle$6 = "Nous pouvons utiliser votre adresse courriel pour d’autres communications marketing";
|
|
3465
|
-
var labels$
|
|
3465
|
+
var labels$q = {
|
|
3466
3466
|
submit: "Lire l’article !",
|
|
3467
3467
|
firstName: "Prénom",
|
|
3468
3468
|
lastName: "Nom de famille",
|
|
@@ -3470,7 +3470,7 @@ var labels$o = {
|
|
|
3470
3470
|
postalCode: "Code postal",
|
|
3471
3471
|
required: "Champs obligatoires"
|
|
3472
3472
|
};
|
|
3473
|
-
var messages$
|
|
3473
|
+
var messages$s = {
|
|
3474
3474
|
alreadyHaveAccount: "Vous avez déjà un compte ?",
|
|
3475
3475
|
success: "Votre choix d'infolettres à été mis à jour",
|
|
3476
3476
|
loginHere: "Connectez-vous ici",
|
|
@@ -3481,14 +3481,14 @@ var newsletter_fr = {
|
|
|
3481
3481
|
title: title$e,
|
|
3482
3482
|
updateTitle: updateTitle,
|
|
3483
3483
|
subtitle: subtitle$6,
|
|
3484
|
-
labels: labels$
|
|
3485
|
-
messages: messages$
|
|
3484
|
+
labels: labels$q,
|
|
3485
|
+
messages: messages$s
|
|
3486
3486
|
};
|
|
3487
3487
|
|
|
3488
|
-
var labels$
|
|
3488
|
+
var labels$p = {
|
|
3489
3489
|
"continue": "Continue to content"
|
|
3490
3490
|
};
|
|
3491
|
-
var messages$
|
|
3491
|
+
var messages$r = {
|
|
3492
3492
|
yourFreeTrial: "Subscription successful!",
|
|
3493
3493
|
youHaveAccess: "Hope you enjoy the subscription. Please contact us if you have any questions or concerns.",
|
|
3494
3494
|
clickToLearn: {
|
|
@@ -3514,15 +3514,15 @@ var errors$9 = {
|
|
|
3514
3514
|
"": ""
|
|
3515
3515
|
};
|
|
3516
3516
|
var success_en = {
|
|
3517
|
-
labels: labels$
|
|
3518
|
-
messages: messages$
|
|
3517
|
+
labels: labels$p,
|
|
3518
|
+
messages: messages$r,
|
|
3519
3519
|
errors: errors$9
|
|
3520
3520
|
};
|
|
3521
3521
|
|
|
3522
|
-
var labels$
|
|
3522
|
+
var labels$o = {
|
|
3523
3523
|
"continue": "Abonnement réussi !"
|
|
3524
3524
|
};
|
|
3525
|
-
var messages$
|
|
3525
|
+
var messages$q = {
|
|
3526
3526
|
yourFreeTrial: "Votre essai gratuit vient de débuter",
|
|
3527
3527
|
youHaveAccess: "Nous espérons que vous allez apprécier votre abonnement. Veuillez nous contacter si vous avez des questions ou des préoccupations.",
|
|
3528
3528
|
clickToLearn: {
|
|
@@ -3548,12 +3548,12 @@ var errors$8 = {
|
|
|
3548
3548
|
"": ""
|
|
3549
3549
|
};
|
|
3550
3550
|
var success_fr = {
|
|
3551
|
-
labels: labels$
|
|
3552
|
-
messages: messages$
|
|
3551
|
+
labels: labels$o,
|
|
3552
|
+
messages: messages$q,
|
|
3553
3553
|
errors: errors$8
|
|
3554
3554
|
};
|
|
3555
3555
|
|
|
3556
|
-
var messages$
|
|
3556
|
+
var messages$p = {
|
|
3557
3557
|
freeVisits: "Free visits left:",
|
|
3558
3558
|
subscribeNow: "Subscribe",
|
|
3559
3559
|
alreadyHaveAccount: "Already have an account?",
|
|
@@ -3563,11 +3563,11 @@ var errors$7 = {
|
|
|
3563
3563
|
"": ""
|
|
3564
3564
|
};
|
|
3565
3565
|
var meter_en = {
|
|
3566
|
-
messages: messages$
|
|
3566
|
+
messages: messages$p,
|
|
3567
3567
|
errors: errors$7
|
|
3568
3568
|
};
|
|
3569
3569
|
|
|
3570
|
-
var messages$
|
|
3570
|
+
var messages$o = {
|
|
3571
3571
|
freeVisits: "Visites gratuites restantes:",
|
|
3572
3572
|
subscribeNow: "Abonnez-vous maintenant !",
|
|
3573
3573
|
alreadyHaveAccount: "Vous avez déjà un compte ?",
|
|
@@ -3577,15 +3577,15 @@ var errors$6 = {
|
|
|
3577
3577
|
"": ""
|
|
3578
3578
|
};
|
|
3579
3579
|
var meter_fr = {
|
|
3580
|
-
messages: messages$
|
|
3580
|
+
messages: messages$o,
|
|
3581
3581
|
errors: errors$6
|
|
3582
3582
|
};
|
|
3583
3583
|
|
|
3584
|
-
var messages$
|
|
3584
|
+
var messages$n = {
|
|
3585
3585
|
youAreSafe: "You're safe - PCI compliant 128 SSL by",
|
|
3586
3586
|
bankRedirection: "Please hold, redirecting you to your bank."
|
|
3587
3587
|
};
|
|
3588
|
-
var labels$
|
|
3588
|
+
var labels$n = {
|
|
3589
3589
|
card: "Enter card number",
|
|
3590
3590
|
date: "Expiration date",
|
|
3591
3591
|
CVC: "CVC",
|
|
@@ -3604,15 +3604,15 @@ var labels$l = {
|
|
|
3604
3604
|
removeCoupon: "REMOVE"
|
|
3605
3605
|
};
|
|
3606
3606
|
var checkoutForm_en = {
|
|
3607
|
-
messages: messages$
|
|
3608
|
-
labels: labels$
|
|
3607
|
+
messages: messages$n,
|
|
3608
|
+
labels: labels$n
|
|
3609
3609
|
};
|
|
3610
3610
|
|
|
3611
|
-
var messages$
|
|
3611
|
+
var messages$m = {
|
|
3612
3612
|
youAreSafe: "Vous êtes en sécurité - PCI conforme 128 SSL par",
|
|
3613
3613
|
bankRedirection: "Veuillez patienter, nous vous redirigeons vers votre banque."
|
|
3614
3614
|
};
|
|
3615
|
-
var labels$
|
|
3615
|
+
var labels$m = {
|
|
3616
3616
|
card: "Entrez le numéro de carte",
|
|
3617
3617
|
date: "Date d’expiration",
|
|
3618
3618
|
CVC: "CVC",
|
|
@@ -3631,8 +3631,8 @@ var labels$k = {
|
|
|
3631
3631
|
removeCoupon: "RETIRER"
|
|
3632
3632
|
};
|
|
3633
3633
|
var checkoutForm_fr = {
|
|
3634
|
-
messages: messages$
|
|
3635
|
-
labels: labels$
|
|
3634
|
+
messages: messages$m,
|
|
3635
|
+
labels: labels$m
|
|
3636
3636
|
};
|
|
3637
3637
|
|
|
3638
3638
|
var youAreSafe$1 = "You're safe - PCI compliant 128 SSL by";
|
|
@@ -3673,7 +3673,7 @@ var messages_fr = {
|
|
|
3673
3673
|
zeroTotalInvoice: zeroTotalInvoice
|
|
3674
3674
|
};
|
|
3675
3675
|
|
|
3676
|
-
var labels$
|
|
3676
|
+
var labels$l = {
|
|
3677
3677
|
email: "Enter email",
|
|
3678
3678
|
password: "Enter password",
|
|
3679
3679
|
required: "required",
|
|
@@ -3681,7 +3681,7 @@ var labels$j = {
|
|
|
3681
3681
|
passwordPlaceholder: "Password",
|
|
3682
3682
|
login: "Login"
|
|
3683
3683
|
};
|
|
3684
|
-
var messages$
|
|
3684
|
+
var messages$l = {
|
|
3685
3685
|
loginTo: "Login to your account",
|
|
3686
3686
|
welcome: "Welcome back, sign in with your existing account.",
|
|
3687
3687
|
dontHaveAccount: "Don't have an account yet?",
|
|
@@ -3700,12 +3700,12 @@ var errors$5 = {
|
|
|
3700
3700
|
"": ""
|
|
3701
3701
|
};
|
|
3702
3702
|
var login_en = {
|
|
3703
|
-
labels: labels$
|
|
3704
|
-
messages: messages$
|
|
3703
|
+
labels: labels$l,
|
|
3704
|
+
messages: messages$l,
|
|
3705
3705
|
errors: errors$5
|
|
3706
3706
|
};
|
|
3707
3707
|
|
|
3708
|
-
var labels$
|
|
3708
|
+
var labels$k = {
|
|
3709
3709
|
email: "Entrez votre adresse courriel",
|
|
3710
3710
|
password: "Entrez votre mot de passe",
|
|
3711
3711
|
required: "Champs obligatoires",
|
|
@@ -3713,7 +3713,7 @@ var labels$i = {
|
|
|
3713
3713
|
passwordPlaceholder: "Mot de passe",
|
|
3714
3714
|
login: "Connexion"
|
|
3715
3715
|
};
|
|
3716
|
-
var messages$
|
|
3716
|
+
var messages$k = {
|
|
3717
3717
|
loginTo: "Connectez-vous à votre compte",
|
|
3718
3718
|
welcome: "Bienvenue, connectez-vous avec votre compte existant.",
|
|
3719
3719
|
dontHaveAccount: "Vous n’avez pas encore de compte ?",
|
|
@@ -3732,11 +3732,39 @@ var errors$4 = {
|
|
|
3732
3732
|
"": ""
|
|
3733
3733
|
};
|
|
3734
3734
|
var login_fr = {
|
|
3735
|
-
labels: labels$
|
|
3736
|
-
messages: messages$
|
|
3735
|
+
labels: labels$k,
|
|
3736
|
+
messages: messages$k,
|
|
3737
3737
|
errors: errors$4
|
|
3738
3738
|
};
|
|
3739
3739
|
|
|
3740
|
+
var labels$j = {
|
|
3741
|
+
title: "Verifying Magin Link",
|
|
3742
|
+
instructions: "You're on your way!\nLet's confirm your email address.\nClick on the verification link we've sent to your email:",
|
|
3743
|
+
resend: "Resend email"
|
|
3744
|
+
};
|
|
3745
|
+
var messages$j = {
|
|
3746
|
+
resent: "Resent successfully",
|
|
3747
|
+
success: "Link verified successfully!"
|
|
3748
|
+
};
|
|
3749
|
+
var verifyLinkToken_en = {
|
|
3750
|
+
labels: labels$j,
|
|
3751
|
+
messages: messages$j
|
|
3752
|
+
};
|
|
3753
|
+
|
|
3754
|
+
var labels$i = {
|
|
3755
|
+
title: "Confirmez votre courriel",
|
|
3756
|
+
instructions: "Confirmez votre courriel.\nVeuillez cliquer sur le lien de vérification, qui vous a été envoyé à:",
|
|
3757
|
+
resend: "Renvoyer le courriel"
|
|
3758
|
+
};
|
|
3759
|
+
var messages$i = {
|
|
3760
|
+
resent: "Renvoyé avec succès",
|
|
3761
|
+
success: "Lien vérifiée avec succès"
|
|
3762
|
+
};
|
|
3763
|
+
var verifyLinkToken_fr = {
|
|
3764
|
+
labels: labels$i,
|
|
3765
|
+
messages: messages$i
|
|
3766
|
+
};
|
|
3767
|
+
|
|
3740
3768
|
var title$d = "Create an account";
|
|
3741
3769
|
var subtitle$5 = "Enter your email and password below";
|
|
3742
3770
|
var labels$h = {
|
|
@@ -6023,7 +6051,7 @@ class PelcroActions {
|
|
|
6023
6051
|
view,
|
|
6024
6052
|
cartItems,
|
|
6025
6053
|
...otherStateFields
|
|
6026
|
-
} = initialState$
|
|
6054
|
+
} = initialState$j;
|
|
6027
6055
|
this.set(otherStateFields);
|
|
6028
6056
|
});
|
|
6029
6057
|
|
|
@@ -6342,7 +6370,7 @@ class PelcroCallbacks {
|
|
|
6342
6370
|
|
|
6343
6371
|
}
|
|
6344
6372
|
|
|
6345
|
-
const initialState$
|
|
6373
|
+
const initialState$j = {
|
|
6346
6374
|
// View
|
|
6347
6375
|
view: null,
|
|
6348
6376
|
// Plans
|
|
@@ -6372,7 +6400,7 @@ const createPelcroStore = () => createStore(middleware_3((set, get) => {
|
|
|
6372
6400
|
return {
|
|
6373
6401
|
// Store setter
|
|
6374
6402
|
set,
|
|
6375
|
-
...initialState$
|
|
6403
|
+
...initialState$j,
|
|
6376
6404
|
// State actions
|
|
6377
6405
|
...actions,
|
|
6378
6406
|
// Callbacks
|
|
@@ -6536,7 +6564,7 @@ const calcAndFormatItemsTotal = (items, currency) => {
|
|
|
6536
6564
|
*/
|
|
6537
6565
|
|
|
6538
6566
|
const isValidViewFromURL = viewID => {
|
|
6539
|
-
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", "invoice-details"].includes(viewID) || hasValidNewsletterUpdateUrl()) {
|
|
6567
|
+
if (["login", "register", "plan-select", "gift-redeem", "password-forgot", "password-reset", "password-change", "passwordless-login", "payment-method-update", "user-edit", "newsletter", "address-create", "order-create", "cart", "email-verify", "invoice-details"].includes(viewID) || hasValidNewsletterUpdateUrl()) {
|
|
6540
6568
|
return true;
|
|
6541
6569
|
}
|
|
6542
6570
|
|
|
@@ -6752,6 +6780,7 @@ const resources = {
|
|
|
6752
6780
|
checkoutForm: checkoutForm_en,
|
|
6753
6781
|
messages: messages_en,
|
|
6754
6782
|
login: login_en,
|
|
6783
|
+
verifyLinkToken: verifyLinkToken_en,
|
|
6755
6784
|
register: register_en,
|
|
6756
6785
|
userEdit: userEdit_en,
|
|
6757
6786
|
address: address_en,
|
|
@@ -6776,6 +6805,7 @@ const resources = {
|
|
|
6776
6805
|
checkoutForm: checkoutForm_fr,
|
|
6777
6806
|
messages: messages_fr,
|
|
6778
6807
|
login: login_fr,
|
|
6808
|
+
verifyLinkToken: verifyLinkToken_fr,
|
|
6779
6809
|
register: register_fr,
|
|
6780
6810
|
userEdit: userEdit_fr,
|
|
6781
6811
|
address: address_fr,
|
|
@@ -8948,6 +8978,10 @@ const initViewFromURL = () => {
|
|
|
8948
8978
|
return verifyEmailTokenFromUrl();
|
|
8949
8979
|
}
|
|
8950
8980
|
|
|
8981
|
+
if (view === "passwordless-login") {
|
|
8982
|
+
return verifyLinkTokenFromUrl();
|
|
8983
|
+
}
|
|
8984
|
+
|
|
8951
8985
|
if (view === "invoice-details") {
|
|
8952
8986
|
return showInvoiceDetailsFromUrl();
|
|
8953
8987
|
}
|
|
@@ -9128,6 +9162,18 @@ const verifyEmailTokenFromUrl = () => {
|
|
|
9128
9162
|
});
|
|
9129
9163
|
};
|
|
9130
9164
|
|
|
9165
|
+
const verifyLinkTokenFromUrl = () => {
|
|
9166
|
+
var _window$Pelcro$user$i, _window$Pelcro$user;
|
|
9167
|
+
|
|
9168
|
+
const isAlreadyLoggedIn = (_window$Pelcro$user$i = (_window$Pelcro$user = window.Pelcro.user) === null || _window$Pelcro$user === void 0 ? void 0 : _window$Pelcro$user.isAuthenticated()) !== null && _window$Pelcro$user$i !== void 0 ? _window$Pelcro$user$i : false;
|
|
9169
|
+
const loginToken = window.Pelcro.helpers.getURLParameter("token");
|
|
9170
|
+
if (isAlreadyLoggedIn || !loginToken) return;
|
|
9171
|
+
const {
|
|
9172
|
+
switchView
|
|
9173
|
+
} = usePelcro.getStore();
|
|
9174
|
+
return switchView("passwordless-login");
|
|
9175
|
+
};
|
|
9176
|
+
|
|
9131
9177
|
const showInvoiceDetailsFromUrl = () => {
|
|
9132
9178
|
const {
|
|
9133
9179
|
isAuthenticated,
|
|
@@ -9503,8 +9549,9 @@ const LOAD_PAYMENT_METHODS = "LOAD_PAYMENT_METHODS";
|
|
|
9503
9549
|
const GET_NEWSLETTERS_FETCH = "GET_NEWSLETTERS_FETCH";
|
|
9504
9550
|
const GET_NEWSLETTERS_SUCCESS = "GET_NEWSLETTERS_SUCCESS";
|
|
9505
9551
|
const SWITCH_TO_UPDATE = "SWITCH_TO_UPDATE";
|
|
9552
|
+
const LINK_TOKEN_VERIFY = "LINK_TOKEN_VERIFY";
|
|
9506
9553
|
|
|
9507
|
-
const initialState$
|
|
9554
|
+
const initialState$i = {
|
|
9508
9555
|
email: "",
|
|
9509
9556
|
password: "",
|
|
9510
9557
|
emailError: null,
|
|
@@ -9515,10 +9562,10 @@ const initialState$h = {
|
|
|
9515
9562
|
content: ""
|
|
9516
9563
|
}
|
|
9517
9564
|
};
|
|
9518
|
-
const store$
|
|
9565
|
+
const store$i = /*#__PURE__*/createContext(initialState$i);
|
|
9519
9566
|
const {
|
|
9520
|
-
Provider: Provider$
|
|
9521
|
-
} = store$
|
|
9567
|
+
Provider: Provider$i
|
|
9568
|
+
} = store$i;
|
|
9522
9569
|
|
|
9523
9570
|
const LoginContainer = ({
|
|
9524
9571
|
style,
|
|
@@ -9625,7 +9672,7 @@ const LoginContainer = ({
|
|
|
9625
9672
|
});
|
|
9626
9673
|
|
|
9627
9674
|
case RESET_LOGIN_FORM:
|
|
9628
|
-
return initialState$
|
|
9675
|
+
return initialState$i;
|
|
9629
9676
|
|
|
9630
9677
|
case DISABLE_LOGIN_BUTTON:
|
|
9631
9678
|
return lib_7({ ...state,
|
|
@@ -9643,12 +9690,12 @@ const LoginContainer = ({
|
|
|
9643
9690
|
default:
|
|
9644
9691
|
return state;
|
|
9645
9692
|
}
|
|
9646
|
-
}, initialState$
|
|
9693
|
+
}, initialState$i);
|
|
9647
9694
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
9648
9695
|
style: { ...style
|
|
9649
9696
|
},
|
|
9650
9697
|
className: `pelcro-container pelcro-login-container ${className}`
|
|
9651
|
-
}, /*#__PURE__*/React__default.createElement(Provider$
|
|
9698
|
+
}, /*#__PURE__*/React__default.createElement(Provider$i, {
|
|
9652
9699
|
value: {
|
|
9653
9700
|
state,
|
|
9654
9701
|
dispatch
|
|
@@ -9656,12 +9703,12 @@ const LoginContainer = ({
|
|
|
9656
9703
|
}, children.length ? children.map((child, i) => {
|
|
9657
9704
|
if (child) {
|
|
9658
9705
|
return /*#__PURE__*/React__default.cloneElement(child, {
|
|
9659
|
-
store: store$
|
|
9706
|
+
store: store$i,
|
|
9660
9707
|
key: i
|
|
9661
9708
|
});
|
|
9662
9709
|
}
|
|
9663
9710
|
}) : /*#__PURE__*/React__default.cloneElement(children, {
|
|
9664
|
-
store: store$
|
|
9711
|
+
store: store$i
|
|
9665
9712
|
})));
|
|
9666
9713
|
};
|
|
9667
9714
|
|
|
@@ -9909,7 +9956,7 @@ const LoginButton = ({
|
|
|
9909
9956
|
buttonDisabled
|
|
9910
9957
|
},
|
|
9911
9958
|
dispatch
|
|
9912
|
-
} = useContext(store$
|
|
9959
|
+
} = useContext(store$i);
|
|
9913
9960
|
const {
|
|
9914
9961
|
t
|
|
9915
9962
|
} = useTranslation("login");
|
|
@@ -9930,11 +9977,11 @@ const LoginButton = ({
|
|
|
9930
9977
|
};
|
|
9931
9978
|
|
|
9932
9979
|
const LoginEmail = props => /*#__PURE__*/React__default.createElement(Email, Object.assign({
|
|
9933
|
-
store: store$
|
|
9980
|
+
store: store$i
|
|
9934
9981
|
}, props));
|
|
9935
9982
|
|
|
9936
9983
|
const LoginPassword = props => /*#__PURE__*/React__default.createElement(Password, Object.assign({
|
|
9937
|
-
store: store$
|
|
9984
|
+
store: store$i
|
|
9938
9985
|
}, props));
|
|
9939
9986
|
|
|
9940
9987
|
var _path$r;
|
|
@@ -10011,7 +10058,7 @@ var facebookLoginRenderProps = createCommonjsModule(function (module, exports) {
|
|
|
10011
10058
|
var FacebookLogin = unwrapExports(facebookLoginRenderProps);
|
|
10012
10059
|
facebookLoginRenderProps.FacebookLogin;
|
|
10013
10060
|
|
|
10014
|
-
const initialState$
|
|
10061
|
+
const initialState$h = {
|
|
10015
10062
|
email: "",
|
|
10016
10063
|
password: "",
|
|
10017
10064
|
emailError: null,
|
|
@@ -10028,10 +10075,10 @@ const initialState$g = {
|
|
|
10028
10075
|
content: ""
|
|
10029
10076
|
}
|
|
10030
10077
|
};
|
|
10031
|
-
const store$
|
|
10078
|
+
const store$h = /*#__PURE__*/createContext(initialState$h);
|
|
10032
10079
|
const {
|
|
10033
|
-
Provider: Provider$
|
|
10034
|
-
} = store$
|
|
10080
|
+
Provider: Provider$h
|
|
10081
|
+
} = store$h;
|
|
10035
10082
|
|
|
10036
10083
|
const RegisterContainer = ({
|
|
10037
10084
|
style,
|
|
@@ -10214,7 +10261,7 @@ const RegisterContainer = ({
|
|
|
10214
10261
|
});
|
|
10215
10262
|
|
|
10216
10263
|
case RESET_LOGIN_FORM:
|
|
10217
|
-
return initialState$
|
|
10264
|
+
return initialState$h;
|
|
10218
10265
|
|
|
10219
10266
|
case DISABLE_REGISTRATION_BUTTON:
|
|
10220
10267
|
return lib_7({ ...state,
|
|
@@ -10232,12 +10279,12 @@ const RegisterContainer = ({
|
|
|
10232
10279
|
default:
|
|
10233
10280
|
return state;
|
|
10234
10281
|
}
|
|
10235
|
-
}, initialState$
|
|
10282
|
+
}, initialState$h);
|
|
10236
10283
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
10237
10284
|
style: { ...style
|
|
10238
10285
|
},
|
|
10239
10286
|
className: `pelcro-container pelcro-register-container ${className}`
|
|
10240
|
-
}, /*#__PURE__*/React__default.createElement(Provider$
|
|
10287
|
+
}, /*#__PURE__*/React__default.createElement(Provider$h, {
|
|
10241
10288
|
value: {
|
|
10242
10289
|
state,
|
|
10243
10290
|
dispatch
|
|
@@ -10245,12 +10292,12 @@ const RegisterContainer = ({
|
|
|
10245
10292
|
}, children.length ? children.map((child, i) => {
|
|
10246
10293
|
if (child) {
|
|
10247
10294
|
return /*#__PURE__*/React__default.cloneElement(child, {
|
|
10248
|
-
store: store$
|
|
10295
|
+
store: store$h,
|
|
10249
10296
|
key: i
|
|
10250
10297
|
});
|
|
10251
10298
|
}
|
|
10252
10299
|
}) : /*#__PURE__*/React__default.cloneElement(children, {
|
|
10253
|
-
store: store$
|
|
10300
|
+
store: store$h
|
|
10254
10301
|
})));
|
|
10255
10302
|
};
|
|
10256
10303
|
/**
|
|
@@ -10290,10 +10337,10 @@ const FacebookLoginButton = ({
|
|
|
10290
10337
|
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;
|
|
10291
10338
|
const {
|
|
10292
10339
|
dispatch: loginDispatch
|
|
10293
|
-
} = useContext(store$
|
|
10340
|
+
} = useContext(store$i);
|
|
10294
10341
|
const {
|
|
10295
10342
|
dispatch: registerDispatch
|
|
10296
|
-
} = useContext(store$
|
|
10343
|
+
} = useContext(store$h);
|
|
10297
10344
|
|
|
10298
10345
|
const onSuccess = facebookUser => {
|
|
10299
10346
|
loginDispatch === null || loginDispatch === void 0 ? void 0 : loginDispatch({
|
|
@@ -10380,10 +10427,10 @@ const GoogleLoginButton = ({
|
|
|
10380
10427
|
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;
|
|
10381
10428
|
const {
|
|
10382
10429
|
dispatch: loginDispatch
|
|
10383
|
-
} = useContext(store$
|
|
10430
|
+
} = useContext(store$i);
|
|
10384
10431
|
const {
|
|
10385
10432
|
dispatch: registerDispatch
|
|
10386
|
-
} = useContext(store$
|
|
10433
|
+
} = useContext(store$h);
|
|
10387
10434
|
|
|
10388
10435
|
const onSuccess = response => {
|
|
10389
10436
|
var _response$getAuthResp, _profile$getEmail, _profile$getGivenName, _profile$getFamilyNam, _profile$getEmail2, _profile$getGivenName2, _profile$getFamilyNam2;
|
|
@@ -10479,10 +10526,10 @@ const Auth0LoginButton = ({
|
|
|
10479
10526
|
}, [auth0Enabled, auth0Loaded]);
|
|
10480
10527
|
const {
|
|
10481
10528
|
dispatch: loginDispatch
|
|
10482
|
-
} = useContext(store$
|
|
10529
|
+
} = useContext(store$i);
|
|
10483
10530
|
const {
|
|
10484
10531
|
dispatch: registerDispatch
|
|
10485
|
-
} = useContext(store$
|
|
10532
|
+
} = useContext(store$h);
|
|
10486
10533
|
|
|
10487
10534
|
function handleClick() {
|
|
10488
10535
|
var _auth0InstanceRef$cur, _auth0InstanceRef$cur2, _auth0InstanceRef$cur3;
|
|
@@ -10770,11 +10817,11 @@ function LoginModal({
|
|
|
10770
10817
|
LoginModal.viewId = "login";
|
|
10771
10818
|
|
|
10772
10819
|
const RegisterEmail = props => /*#__PURE__*/React__default.createElement(Email, Object.assign({
|
|
10773
|
-
store: store$
|
|
10820
|
+
store: store$h
|
|
10774
10821
|
}, props));
|
|
10775
10822
|
|
|
10776
10823
|
const RegisterPassword = props => /*#__PURE__*/React__default.createElement(Password, Object.assign({
|
|
10777
|
-
store: store$
|
|
10824
|
+
store: store$h
|
|
10778
10825
|
}, props));
|
|
10779
10826
|
|
|
10780
10827
|
const RegisterButton = ({
|
|
@@ -10794,7 +10841,7 @@ const RegisterButton = ({
|
|
|
10794
10841
|
buttonDisabled
|
|
10795
10842
|
},
|
|
10796
10843
|
dispatch
|
|
10797
|
-
} = useContext(store$
|
|
10844
|
+
} = useContext(store$h);
|
|
10798
10845
|
const {
|
|
10799
10846
|
t
|
|
10800
10847
|
} = useTranslation("register");
|
|
@@ -10932,7 +10979,7 @@ function FirstName({
|
|
|
10932
10979
|
}
|
|
10933
10980
|
|
|
10934
10981
|
const RegisterFirstName = props => /*#__PURE__*/React__default.createElement(FirstName, Object.assign({
|
|
10935
|
-
store: store$
|
|
10982
|
+
store: store$h
|
|
10936
10983
|
}, props));
|
|
10937
10984
|
|
|
10938
10985
|
function LastName({
|
|
@@ -10963,7 +11010,7 @@ function LastName({
|
|
|
10963
11010
|
}
|
|
10964
11011
|
|
|
10965
11012
|
const RegisterLastName = props => /*#__PURE__*/React__default.createElement(LastName, Object.assign({
|
|
10966
|
-
store: store$
|
|
11013
|
+
store: store$h
|
|
10967
11014
|
}, props));
|
|
10968
11015
|
|
|
10969
11016
|
/**
|
|
@@ -11087,7 +11134,7 @@ function TextInput({
|
|
|
11087
11134
|
|
|
11088
11135
|
const RegisterTextInput = props => {
|
|
11089
11136
|
return /*#__PURE__*/React__default.createElement(TextInput, Object.assign({}, props, {
|
|
11090
|
-
store: store$
|
|
11137
|
+
store: store$h
|
|
11091
11138
|
}));
|
|
11092
11139
|
};
|
|
11093
11140
|
|
|
@@ -13431,7 +13478,7 @@ class VantivGateway {
|
|
|
13431
13478
|
|
|
13432
13479
|
/** @type {PaymentStateType} */
|
|
13433
13480
|
|
|
13434
|
-
const initialState$
|
|
13481
|
+
const initialState$g = {
|
|
13435
13482
|
disableSubmit: false,
|
|
13436
13483
|
isLoading: false,
|
|
13437
13484
|
disableCouponButton: false,
|
|
@@ -13450,10 +13497,10 @@ const initialState$f = {
|
|
|
13450
13497
|
content: ""
|
|
13451
13498
|
}
|
|
13452
13499
|
};
|
|
13453
|
-
const store$
|
|
13500
|
+
const store$g = /*#__PURE__*/createContext(initialState$g);
|
|
13454
13501
|
const {
|
|
13455
|
-
Provider: Provider$
|
|
13456
|
-
} = store$
|
|
13502
|
+
Provider: Provider$g
|
|
13503
|
+
} = store$g;
|
|
13457
13504
|
|
|
13458
13505
|
const PaymentMethodContainerWithoutStripe = ({
|
|
13459
13506
|
style,
|
|
@@ -14705,21 +14752,21 @@ const PaymentMethodContainerWithoutStripe = ({
|
|
|
14705
14752
|
default:
|
|
14706
14753
|
return state;
|
|
14707
14754
|
}
|
|
14708
|
-
}, initialState$
|
|
14755
|
+
}, initialState$g);
|
|
14709
14756
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
14710
14757
|
style: { ...style
|
|
14711
14758
|
},
|
|
14712
14759
|
className: `pelcro-container pelcro-payment-container ${className}`
|
|
14713
|
-
}, /*#__PURE__*/React__default.createElement(Provider$
|
|
14760
|
+
}, /*#__PURE__*/React__default.createElement(Provider$g, {
|
|
14714
14761
|
value: {
|
|
14715
14762
|
state,
|
|
14716
14763
|
dispatch
|
|
14717
14764
|
}
|
|
14718
14765
|
}, children.length ? children.map((child, i) => /*#__PURE__*/React__default.cloneElement(child, {
|
|
14719
|
-
store: store$
|
|
14766
|
+
store: store$g,
|
|
14720
14767
|
key: i
|
|
14721
14768
|
})) : /*#__PURE__*/React__default.cloneElement(children, {
|
|
14722
|
-
store: store$
|
|
14769
|
+
store: store$g
|
|
14723
14770
|
})));
|
|
14724
14771
|
};
|
|
14725
14772
|
|
|
@@ -14741,7 +14788,7 @@ const PaymentMethodContainer = props => {
|
|
|
14741
14788
|
stripeAccount: window.Pelcro.site.read().account_id,
|
|
14742
14789
|
locale: getPageOrDefaultLanguage()
|
|
14743
14790
|
}, /*#__PURE__*/React__default.createElement(es_11, null, /*#__PURE__*/React__default.createElement(UnwrappedForm, Object.assign({
|
|
14744
|
-
store: store$
|
|
14791
|
+
store: store$g
|
|
14745
14792
|
}, props))));
|
|
14746
14793
|
}
|
|
14747
14794
|
|
|
@@ -14794,7 +14841,7 @@ const PelcroPaymentRequestButton = props => {
|
|
|
14794
14841
|
currentPlan,
|
|
14795
14842
|
updatedPrice
|
|
14796
14843
|
}
|
|
14797
|
-
} = useContext(store$
|
|
14844
|
+
} = useContext(store$g);
|
|
14798
14845
|
|
|
14799
14846
|
const updatePaymentRequest = () => {
|
|
14800
14847
|
// Make sure payment request is up to date, eg. user added a coupon code.
|
|
@@ -14870,7 +14917,7 @@ const DiscountedPrice = props => {
|
|
|
14870
14917
|
taxAmount,
|
|
14871
14918
|
percentOff
|
|
14872
14919
|
}
|
|
14873
|
-
} = useContext(store$
|
|
14920
|
+
} = useContext(store$g);
|
|
14874
14921
|
const {
|
|
14875
14922
|
order,
|
|
14876
14923
|
plan
|
|
@@ -14920,7 +14967,7 @@ const SubmitPaymentMethod = ({
|
|
|
14920
14967
|
isLoading,
|
|
14921
14968
|
updatedPrice
|
|
14922
14969
|
}
|
|
14923
|
-
} = useContext(store$
|
|
14970
|
+
} = useContext(store$g);
|
|
14924
14971
|
const planQuantity = (_plan$quantity = plan === null || plan === void 0 ? void 0 : plan.quantity) !== null && _plan$quantity !== void 0 ? _plan$quantity : 1;
|
|
14925
14972
|
const price = updatedPrice !== null && updatedPrice !== void 0 ? updatedPrice : plan === null || plan === void 0 ? void 0 : plan.amount;
|
|
14926
14973
|
const priceFormatted = getFormattedPriceByLocal(price * planQuantity, plan === null || plan === void 0 ? void 0 : plan.currency, getPageOrDefaultLanguage());
|
|
@@ -14970,7 +15017,7 @@ const ApplyCouponButton = ({
|
|
|
14970
15017
|
disableCouponButton
|
|
14971
15018
|
},
|
|
14972
15019
|
dispatch
|
|
14973
|
-
} = useContext(store$
|
|
15020
|
+
} = useContext(store$g);
|
|
14974
15021
|
const {
|
|
14975
15022
|
t
|
|
14976
15023
|
} = useTranslation("checkoutForm");
|
|
@@ -15004,7 +15051,7 @@ const CouponCodeField = props => {
|
|
|
15004
15051
|
couponCode,
|
|
15005
15052
|
couponError
|
|
15006
15053
|
}
|
|
15007
|
-
} = useContext(store$
|
|
15054
|
+
} = useContext(store$g);
|
|
15008
15055
|
|
|
15009
15056
|
const onCouponCodeChange = e => {
|
|
15010
15057
|
dispatch({
|
|
@@ -15060,7 +15107,7 @@ const CouponCode = ({
|
|
|
15060
15107
|
state: {
|
|
15061
15108
|
enableCouponField
|
|
15062
15109
|
}
|
|
15063
|
-
} = useContext(store$
|
|
15110
|
+
} = useContext(store$g);
|
|
15064
15111
|
const {
|
|
15065
15112
|
t
|
|
15066
15113
|
} = useTranslation("checkoutForm");
|
|
@@ -15317,7 +15364,7 @@ const PaypalSubscribeButton = props => {
|
|
|
15317
15364
|
const {
|
|
15318
15365
|
dispatch,
|
|
15319
15366
|
state
|
|
15320
|
-
} = useContext(store$
|
|
15367
|
+
} = useContext(store$g);
|
|
15321
15368
|
const {
|
|
15322
15369
|
product,
|
|
15323
15370
|
plan,
|
|
@@ -15450,7 +15497,7 @@ const SelectedPaymentMethod = () => {
|
|
|
15450
15497
|
state: {
|
|
15451
15498
|
isLoading
|
|
15452
15499
|
}
|
|
15453
|
-
} = useContext(store$
|
|
15500
|
+
} = useContext(store$g);
|
|
15454
15501
|
const {
|
|
15455
15502
|
switchView,
|
|
15456
15503
|
selectedPaymentMethodId
|
|
@@ -15492,7 +15539,7 @@ const TaxAmount = () => {
|
|
|
15492
15539
|
state: {
|
|
15493
15540
|
taxAmount
|
|
15494
15541
|
}
|
|
15495
|
-
} = useContext(store$
|
|
15542
|
+
} = useContext(store$g);
|
|
15496
15543
|
const {
|
|
15497
15544
|
plan
|
|
15498
15545
|
} = usePelcro();
|
|
@@ -16011,7 +16058,7 @@ class DefaultNewsLetter extends Component {
|
|
|
16011
16058
|
|
|
16012
16059
|
const NewsLetter = withTranslation("newsletter")(DefaultNewsLetter);
|
|
16013
16060
|
|
|
16014
|
-
const initialState$
|
|
16061
|
+
const initialState$f = {
|
|
16015
16062
|
didSubToNewslettersBefore: false,
|
|
16016
16063
|
newsletters: [],
|
|
16017
16064
|
isListLoading: true,
|
|
@@ -16021,10 +16068,10 @@ const initialState$e = {
|
|
|
16021
16068
|
content: ""
|
|
16022
16069
|
}
|
|
16023
16070
|
};
|
|
16024
|
-
const store$
|
|
16071
|
+
const store$f = /*#__PURE__*/createContext(initialState$f);
|
|
16025
16072
|
const {
|
|
16026
|
-
Provider: Provider$
|
|
16027
|
-
} = store$
|
|
16073
|
+
Provider: Provider$f
|
|
16074
|
+
} = store$f;
|
|
16028
16075
|
|
|
16029
16076
|
const NewsletterUpdateContainer = ({
|
|
16030
16077
|
style,
|
|
@@ -16137,7 +16184,7 @@ const NewsletterUpdateContainer = ({
|
|
|
16137
16184
|
default:
|
|
16138
16185
|
return state;
|
|
16139
16186
|
}
|
|
16140
|
-
}, initialState$
|
|
16187
|
+
}, initialState$f);
|
|
16141
16188
|
useEffect(() => {
|
|
16142
16189
|
const getUserNewsletters = () => {
|
|
16143
16190
|
var _window$Pelcro$user$r3, _window$Pelcro$user$r4;
|
|
@@ -16181,7 +16228,7 @@ const NewsletterUpdateContainer = ({
|
|
|
16181
16228
|
style: { ...style
|
|
16182
16229
|
},
|
|
16183
16230
|
className: `pelcro-container pelcro-newsletter-update-container ${className}`
|
|
16184
|
-
}, /*#__PURE__*/React__default.createElement(Provider$
|
|
16231
|
+
}, /*#__PURE__*/React__default.createElement(Provider$f, {
|
|
16185
16232
|
value: {
|
|
16186
16233
|
state,
|
|
16187
16234
|
dispatch
|
|
@@ -16189,12 +16236,12 @@ const NewsletterUpdateContainer = ({
|
|
|
16189
16236
|
}, children.length ? children.map((child, i) => {
|
|
16190
16237
|
if (child) {
|
|
16191
16238
|
return /*#__PURE__*/React__default.cloneElement(child, {
|
|
16192
|
-
store: store$
|
|
16239
|
+
store: store$f,
|
|
16193
16240
|
key: i
|
|
16194
16241
|
});
|
|
16195
16242
|
}
|
|
16196
16243
|
}) : /*#__PURE__*/React__default.cloneElement(children, {
|
|
16197
|
-
store: store$
|
|
16244
|
+
store: store$f
|
|
16198
16245
|
})));
|
|
16199
16246
|
};
|
|
16200
16247
|
|
|
@@ -16209,7 +16256,7 @@ const NewsletterUpdateButton = ({
|
|
|
16209
16256
|
isSubmitting,
|
|
16210
16257
|
isListLoading
|
|
16211
16258
|
}
|
|
16212
|
-
} = useContext(store$
|
|
16259
|
+
} = useContext(store$f);
|
|
16213
16260
|
const {
|
|
16214
16261
|
t
|
|
16215
16262
|
} = useTranslation("newsletter");
|
|
@@ -16239,7 +16286,7 @@ const NewsletterUpdateList = () => {
|
|
|
16239
16286
|
newsletters,
|
|
16240
16287
|
isListLoading
|
|
16241
16288
|
}
|
|
16242
|
-
} = useContext(store$
|
|
16289
|
+
} = useContext(store$f);
|
|
16243
16290
|
|
|
16244
16291
|
if (isListLoading) {
|
|
16245
16292
|
return /*#__PURE__*/React__default.createElement(Loader, {
|
|
@@ -16443,7 +16490,7 @@ function SubscriptionCreateModal({
|
|
|
16443
16490
|
SubscriptionCreateModal.viewId = "subscription-create";
|
|
16444
16491
|
|
|
16445
16492
|
var _window$Pelcro$user$r, _window$Pelcro$user$r2, _window$Pelcro$user$r3, _window$Pelcro$user$r4, _window$Pelcro$user$r5;
|
|
16446
|
-
const initialState$
|
|
16493
|
+
const initialState$e = {
|
|
16447
16494
|
email: (_window$Pelcro$user$r = window.Pelcro.user.read()) === null || _window$Pelcro$user$r === void 0 ? void 0 : _window$Pelcro$user$r.email,
|
|
16448
16495
|
firstName: (_window$Pelcro$user$r2 = window.Pelcro.user.read()) === null || _window$Pelcro$user$r2 === void 0 ? void 0 : _window$Pelcro$user$r2.first_name,
|
|
16449
16496
|
lastName: (_window$Pelcro$user$r3 = window.Pelcro.user.read()) === null || _window$Pelcro$user$r3 === void 0 ? void 0 : _window$Pelcro$user$r3.last_name,
|
|
@@ -16456,10 +16503,10 @@ const initialState$d = {
|
|
|
16456
16503
|
content: ""
|
|
16457
16504
|
}
|
|
16458
16505
|
};
|
|
16459
|
-
const store$
|
|
16506
|
+
const store$e = /*#__PURE__*/createContext(initialState$e);
|
|
16460
16507
|
const {
|
|
16461
|
-
Provider: Provider$
|
|
16462
|
-
} = store$
|
|
16508
|
+
Provider: Provider$e
|
|
16509
|
+
} = store$e;
|
|
16463
16510
|
|
|
16464
16511
|
const UserUpdateContainer = ({
|
|
16465
16512
|
style,
|
|
@@ -16601,26 +16648,26 @@ const UserUpdateContainer = ({
|
|
|
16601
16648
|
default:
|
|
16602
16649
|
return state;
|
|
16603
16650
|
}
|
|
16604
|
-
}, initialState$
|
|
16651
|
+
}, initialState$e);
|
|
16605
16652
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
16606
16653
|
style: { ...style
|
|
16607
16654
|
},
|
|
16608
16655
|
className: `pelcro-container pelcro-user-update-container ${className}`
|
|
16609
|
-
}, /*#__PURE__*/React__default.createElement(Provider$
|
|
16656
|
+
}, /*#__PURE__*/React__default.createElement(Provider$e, {
|
|
16610
16657
|
value: {
|
|
16611
16658
|
state,
|
|
16612
16659
|
dispatch
|
|
16613
16660
|
}
|
|
16614
16661
|
}, children.length ? children.map((child, i) => /*#__PURE__*/React__default.cloneElement(child, {
|
|
16615
|
-
store: store$
|
|
16662
|
+
store: store$e,
|
|
16616
16663
|
key: i
|
|
16617
16664
|
})) : /*#__PURE__*/React__default.cloneElement(children, {
|
|
16618
|
-
store: store$
|
|
16665
|
+
store: store$e
|
|
16619
16666
|
})));
|
|
16620
16667
|
};
|
|
16621
16668
|
|
|
16622
16669
|
const UserUpdateEmail = props => /*#__PURE__*/React__default.createElement(Email, Object.assign({
|
|
16623
|
-
store: store$
|
|
16670
|
+
store: store$e
|
|
16624
16671
|
}, props));
|
|
16625
16672
|
|
|
16626
16673
|
const UserUpdateButton = ({
|
|
@@ -16633,7 +16680,7 @@ const UserUpdateButton = ({
|
|
|
16633
16680
|
buttonDisabled
|
|
16634
16681
|
},
|
|
16635
16682
|
dispatch
|
|
16636
|
-
} = useContext(store$
|
|
16683
|
+
} = useContext(store$e);
|
|
16637
16684
|
const {
|
|
16638
16685
|
t
|
|
16639
16686
|
} = useTranslation("userEdit");
|
|
@@ -16650,11 +16697,11 @@ const UserUpdateButton = ({
|
|
|
16650
16697
|
};
|
|
16651
16698
|
|
|
16652
16699
|
const UserUpdateFirstName = props => /*#__PURE__*/React__default.createElement(FirstName, Object.assign({
|
|
16653
|
-
store: store$
|
|
16700
|
+
store: store$e
|
|
16654
16701
|
}, props));
|
|
16655
16702
|
|
|
16656
16703
|
const UserUpdateLastName = props => /*#__PURE__*/React__default.createElement(LastName, Object.assign({
|
|
16657
|
-
store: store$
|
|
16704
|
+
store: store$e
|
|
16658
16705
|
}, props));
|
|
16659
16706
|
|
|
16660
16707
|
function Phone({
|
|
@@ -16683,7 +16730,7 @@ function Phone({
|
|
|
16683
16730
|
}
|
|
16684
16731
|
|
|
16685
16732
|
const UserUpdatePhone = props => /*#__PURE__*/React__default.createElement(Phone, Object.assign({
|
|
16686
|
-
store: store$
|
|
16733
|
+
store: store$e
|
|
16687
16734
|
}, props));
|
|
16688
16735
|
|
|
16689
16736
|
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";
|
|
@@ -16830,16 +16877,16 @@ function DisplayName({
|
|
|
16830
16877
|
}
|
|
16831
16878
|
|
|
16832
16879
|
const UserUpdateDisplayName = props => /*#__PURE__*/React__default.createElement(DisplayName, Object.assign({
|
|
16833
|
-
store: store$
|
|
16880
|
+
store: store$e
|
|
16834
16881
|
}, props));
|
|
16835
16882
|
|
|
16836
16883
|
const UserUpdateTextInput = props => {
|
|
16837
16884
|
return /*#__PURE__*/React__default.createElement(TextInput, Object.assign({}, props, {
|
|
16838
|
-
store: store$
|
|
16885
|
+
store: store$e
|
|
16839
16886
|
}));
|
|
16840
16887
|
};
|
|
16841
16888
|
|
|
16842
|
-
const initialState$
|
|
16889
|
+
const initialState$d = {
|
|
16843
16890
|
isSubmitting: false,
|
|
16844
16891
|
firstName: "",
|
|
16845
16892
|
firstNameError: "",
|
|
@@ -16864,10 +16911,10 @@ const initialState$c = {
|
|
|
16864
16911
|
content: ""
|
|
16865
16912
|
}
|
|
16866
16913
|
};
|
|
16867
|
-
const store$
|
|
16914
|
+
const store$d = /*#__PURE__*/createContext(initialState$d);
|
|
16868
16915
|
const {
|
|
16869
|
-
Provider: Provider$
|
|
16870
|
-
} = store$
|
|
16916
|
+
Provider: Provider$d
|
|
16917
|
+
} = store$d;
|
|
16871
16918
|
|
|
16872
16919
|
const getNewlyCreatedAddress = addresses => addresses[addresses.length - 1];
|
|
16873
16920
|
|
|
@@ -17074,7 +17121,7 @@ const AddressCreateContainer = ({
|
|
|
17074
17121
|
default:
|
|
17075
17122
|
return state;
|
|
17076
17123
|
}
|
|
17077
|
-
}, initialState$
|
|
17124
|
+
}, initialState$d);
|
|
17078
17125
|
useEffect(() => {
|
|
17079
17126
|
const getStates = () => {
|
|
17080
17127
|
dispatch({
|
|
@@ -17106,16 +17153,16 @@ const AddressCreateContainer = ({
|
|
|
17106
17153
|
style: { ...style
|
|
17107
17154
|
},
|
|
17108
17155
|
className: `pelcro-container pelcro-address-create-container ${className}`
|
|
17109
|
-
}, /*#__PURE__*/React__default.createElement(Provider$
|
|
17156
|
+
}, /*#__PURE__*/React__default.createElement(Provider$d, {
|
|
17110
17157
|
value: {
|
|
17111
17158
|
state,
|
|
17112
17159
|
dispatch
|
|
17113
17160
|
}
|
|
17114
17161
|
}, children.length ? children.map((child, i) => /*#__PURE__*/React__default.cloneElement(child, {
|
|
17115
|
-
store: store$
|
|
17162
|
+
store: store$d,
|
|
17116
17163
|
key: i
|
|
17117
17164
|
})) : /*#__PURE__*/React__default.cloneElement(children, {
|
|
17118
|
-
store: store$
|
|
17165
|
+
store: store$d
|
|
17119
17166
|
})));
|
|
17120
17167
|
};
|
|
17121
17168
|
|
|
@@ -17126,7 +17173,7 @@ function AddressCreateFirstName(props) {
|
|
|
17126
17173
|
firstName,
|
|
17127
17174
|
firstNameError
|
|
17128
17175
|
}
|
|
17129
|
-
} = useContext(store$
|
|
17176
|
+
} = useContext(store$d);
|
|
17130
17177
|
|
|
17131
17178
|
const handleBlur = () => {
|
|
17132
17179
|
return dispatch({
|
|
@@ -17169,7 +17216,7 @@ function AddressCreateLastName(props) {
|
|
|
17169
17216
|
lastName,
|
|
17170
17217
|
lastNameError
|
|
17171
17218
|
}
|
|
17172
|
-
} = useContext(store$
|
|
17219
|
+
} = useContext(store$d);
|
|
17173
17220
|
|
|
17174
17221
|
const handleBlur = () => {
|
|
17175
17222
|
return dispatch({
|
|
@@ -17212,7 +17259,7 @@ function AddressCreateLine1(props) {
|
|
|
17212
17259
|
line1,
|
|
17213
17260
|
line1Error
|
|
17214
17261
|
}
|
|
17215
|
-
} = useContext(store$
|
|
17262
|
+
} = useContext(store$d);
|
|
17216
17263
|
|
|
17217
17264
|
const handleBlur = () => {
|
|
17218
17265
|
return dispatch({
|
|
@@ -17255,7 +17302,7 @@ function AddressCreateCity(props) {
|
|
|
17255
17302
|
city,
|
|
17256
17303
|
cityError
|
|
17257
17304
|
}
|
|
17258
|
-
} = useContext(store$
|
|
17305
|
+
} = useContext(store$d);
|
|
17259
17306
|
|
|
17260
17307
|
const handleBlur = () => {
|
|
17261
17308
|
return dispatch({
|
|
@@ -17298,7 +17345,7 @@ function AddressCreatePostalCode(props) {
|
|
|
17298
17345
|
postalCode,
|
|
17299
17346
|
postalCodeError
|
|
17300
17347
|
}
|
|
17301
|
-
} = useContext(store$
|
|
17348
|
+
} = useContext(store$d);
|
|
17302
17349
|
|
|
17303
17350
|
const handleBlur = () => {
|
|
17304
17351
|
return dispatch({
|
|
@@ -17344,7 +17391,7 @@ const AddressCreateSubmit = ({
|
|
|
17344
17391
|
state: {
|
|
17345
17392
|
isSubmitting
|
|
17346
17393
|
}
|
|
17347
|
-
} = useContext(store$
|
|
17394
|
+
} = useContext(store$d);
|
|
17348
17395
|
const {
|
|
17349
17396
|
t
|
|
17350
17397
|
} = useTranslation("address");
|
|
@@ -17455,7 +17502,7 @@ function CountrySelect({
|
|
|
17455
17502
|
}
|
|
17456
17503
|
|
|
17457
17504
|
const AddressCreateCountrySelect = props => /*#__PURE__*/React__default.createElement(CountrySelect, Object.assign({
|
|
17458
|
-
store: store$
|
|
17505
|
+
store: store$d
|
|
17459
17506
|
}, props));
|
|
17460
17507
|
|
|
17461
17508
|
function StateSelect({
|
|
@@ -17543,7 +17590,7 @@ function StateSelect({
|
|
|
17543
17590
|
}
|
|
17544
17591
|
|
|
17545
17592
|
const AddressCreateStateSelect = props => /*#__PURE__*/React__default.createElement(StateSelect, Object.assign({
|
|
17546
|
-
store: store$
|
|
17593
|
+
store: store$d
|
|
17547
17594
|
}, props));
|
|
17548
17595
|
|
|
17549
17596
|
const AddressCreateView = props => {
|
|
@@ -17648,18 +17695,18 @@ AddressCreateModal.viewId = "address-create";
|
|
|
17648
17695
|
|
|
17649
17696
|
const AddressCreateTextInput = props => {
|
|
17650
17697
|
return /*#__PURE__*/React__default.createElement(TextInput, Object.assign({}, props, {
|
|
17651
|
-
store: store$
|
|
17698
|
+
store: store$d
|
|
17652
17699
|
}));
|
|
17653
17700
|
};
|
|
17654
17701
|
|
|
17655
17702
|
const AddressCreateLine2 = props => {
|
|
17656
17703
|
return /*#__PURE__*/React__default.createElement(TextInput, Object.assign({
|
|
17657
17704
|
fieldName: "line2",
|
|
17658
|
-
store: store$
|
|
17705
|
+
store: store$d
|
|
17659
17706
|
}, props));
|
|
17660
17707
|
};
|
|
17661
17708
|
|
|
17662
|
-
const initialState$
|
|
17709
|
+
const initialState$c = {
|
|
17663
17710
|
isSubmitting: false,
|
|
17664
17711
|
firstName: "",
|
|
17665
17712
|
firstNameError: "",
|
|
@@ -17684,10 +17731,10 @@ const initialState$b = {
|
|
|
17684
17731
|
content: ""
|
|
17685
17732
|
}
|
|
17686
17733
|
};
|
|
17687
|
-
const store$
|
|
17734
|
+
const store$c = /*#__PURE__*/createContext(initialState$c);
|
|
17688
17735
|
const {
|
|
17689
|
-
Provider: Provider$
|
|
17690
|
-
} = store$
|
|
17736
|
+
Provider: Provider$c
|
|
17737
|
+
} = store$c;
|
|
17691
17738
|
|
|
17692
17739
|
const AddressUpdateContainer = ({
|
|
17693
17740
|
style,
|
|
@@ -17739,7 +17786,7 @@ const AddressUpdateContainer = ({
|
|
|
17739
17786
|
const thisAddress = addresses[address];
|
|
17740
17787
|
|
|
17741
17788
|
if (+thisAddress.id === +addressId) {
|
|
17742
|
-
const newState = { ...initialState$
|
|
17789
|
+
const newState = { ...initialState$c,
|
|
17743
17790
|
firstName: thisAddress.first_name,
|
|
17744
17791
|
lastName: thisAddress.last_name,
|
|
17745
17792
|
line1: thisAddress.line1,
|
|
@@ -17872,7 +17919,7 @@ const AddressUpdateContainer = ({
|
|
|
17872
17919
|
default:
|
|
17873
17920
|
return state;
|
|
17874
17921
|
}
|
|
17875
|
-
}, initialState$
|
|
17922
|
+
}, initialState$c);
|
|
17876
17923
|
useEffect(() => {
|
|
17877
17924
|
const getStates = () => {
|
|
17878
17925
|
dispatch({
|
|
@@ -17904,21 +17951,21 @@ const AddressUpdateContainer = ({
|
|
|
17904
17951
|
style: { ...style
|
|
17905
17952
|
},
|
|
17906
17953
|
className: `pelcro-container pelcro-address-update-container ${className}`
|
|
17907
|
-
}, /*#__PURE__*/React__default.createElement(Provider$
|
|
17954
|
+
}, /*#__PURE__*/React__default.createElement(Provider$c, {
|
|
17908
17955
|
value: {
|
|
17909
17956
|
state,
|
|
17910
17957
|
dispatch
|
|
17911
17958
|
}
|
|
17912
17959
|
}, children.length ? children.map((child, i) => /*#__PURE__*/React__default.cloneElement(child, {
|
|
17913
|
-
store: store$
|
|
17960
|
+
store: store$c,
|
|
17914
17961
|
key: i
|
|
17915
17962
|
})) : /*#__PURE__*/React__default.cloneElement(children, {
|
|
17916
|
-
store: store$
|
|
17963
|
+
store: store$c
|
|
17917
17964
|
})));
|
|
17918
17965
|
};
|
|
17919
17966
|
|
|
17920
17967
|
const AddressUpdateCountrySelect = props => /*#__PURE__*/React__default.createElement(CountrySelect, Object.assign({
|
|
17921
|
-
store: store$
|
|
17968
|
+
store: store$c
|
|
17922
17969
|
}, props));
|
|
17923
17970
|
|
|
17924
17971
|
function AddressUpdateFirstName(props) {
|
|
@@ -17928,7 +17975,7 @@ function AddressUpdateFirstName(props) {
|
|
|
17928
17975
|
firstName,
|
|
17929
17976
|
firstNameError
|
|
17930
17977
|
}
|
|
17931
|
-
} = useContext(store$
|
|
17978
|
+
} = useContext(store$c);
|
|
17932
17979
|
|
|
17933
17980
|
const handleBlur = () => {
|
|
17934
17981
|
return dispatch({
|
|
@@ -17971,7 +18018,7 @@ function AddressUpdateLastName(props) {
|
|
|
17971
18018
|
lastName,
|
|
17972
18019
|
lastNameError
|
|
17973
18020
|
}
|
|
17974
|
-
} = useContext(store$
|
|
18021
|
+
} = useContext(store$c);
|
|
17975
18022
|
|
|
17976
18023
|
const handleBlur = () => {
|
|
17977
18024
|
return dispatch({
|
|
@@ -18014,7 +18061,7 @@ function AddressUpdateLine1(props) {
|
|
|
18014
18061
|
line1,
|
|
18015
18062
|
line1Error
|
|
18016
18063
|
}
|
|
18017
|
-
} = useContext(store$
|
|
18064
|
+
} = useContext(store$c);
|
|
18018
18065
|
|
|
18019
18066
|
const handleBlur = () => {
|
|
18020
18067
|
return dispatch({
|
|
@@ -18054,7 +18101,7 @@ const AddressUpdateLine2 = props => {
|
|
|
18054
18101
|
return /*#__PURE__*/React__default.createElement(TextInput, Object.assign({
|
|
18055
18102
|
fieldName: "line2"
|
|
18056
18103
|
}, props, {
|
|
18057
|
-
store: store$
|
|
18104
|
+
store: store$c
|
|
18058
18105
|
}));
|
|
18059
18106
|
};
|
|
18060
18107
|
|
|
@@ -18065,7 +18112,7 @@ function AddressUpdateCity(props) {
|
|
|
18065
18112
|
city,
|
|
18066
18113
|
cityError
|
|
18067
18114
|
}
|
|
18068
|
-
} = useContext(store$
|
|
18115
|
+
} = useContext(store$c);
|
|
18069
18116
|
|
|
18070
18117
|
const handleBlur = () => {
|
|
18071
18118
|
return dispatch({
|
|
@@ -18108,7 +18155,7 @@ function AddressUpdatePostalCode(props) {
|
|
|
18108
18155
|
postalCode,
|
|
18109
18156
|
postalCodeError
|
|
18110
18157
|
}
|
|
18111
|
-
} = useContext(store$
|
|
18158
|
+
} = useContext(store$c);
|
|
18112
18159
|
|
|
18113
18160
|
const handleBlur = () => {
|
|
18114
18161
|
return dispatch({
|
|
@@ -18154,7 +18201,7 @@ const AddressUpdateSubmit = ({
|
|
|
18154
18201
|
state: {
|
|
18155
18202
|
isSubmitting
|
|
18156
18203
|
}
|
|
18157
|
-
} = useContext(store$
|
|
18204
|
+
} = useContext(store$c);
|
|
18158
18205
|
const {
|
|
18159
18206
|
t
|
|
18160
18207
|
} = useTranslation("address");
|
|
@@ -18170,7 +18217,7 @@ const AddressUpdateSubmit = ({
|
|
|
18170
18217
|
};
|
|
18171
18218
|
|
|
18172
18219
|
const AddressUpdateStateSelect = props => /*#__PURE__*/React__default.createElement(StateSelect, Object.assign({
|
|
18173
|
-
store: store$
|
|
18220
|
+
store: store$c
|
|
18174
18221
|
}, props));
|
|
18175
18222
|
|
|
18176
18223
|
const AddressUpdateView = props => {
|
|
@@ -18253,7 +18300,7 @@ AddressUpdateModal.viewId = "address-edit";
|
|
|
18253
18300
|
|
|
18254
18301
|
const AddressUpdateTextInput = props => {
|
|
18255
18302
|
return /*#__PURE__*/React__default.createElement(TextInput, Object.assign({}, props, {
|
|
18256
|
-
store: store$
|
|
18303
|
+
store: store$c
|
|
18257
18304
|
}));
|
|
18258
18305
|
};
|
|
18259
18306
|
|
|
@@ -18336,7 +18383,7 @@ const PaymentMethodUpdateModal = props => {
|
|
|
18336
18383
|
};
|
|
18337
18384
|
PaymentMethodUpdateModal.viewId = "payment-method-update";
|
|
18338
18385
|
|
|
18339
|
-
const initialState$
|
|
18386
|
+
const initialState$b = {
|
|
18340
18387
|
email: "",
|
|
18341
18388
|
password: "",
|
|
18342
18389
|
passwordError: null,
|
|
@@ -18349,10 +18396,10 @@ const initialState$a = {
|
|
|
18349
18396
|
content: ""
|
|
18350
18397
|
}
|
|
18351
18398
|
};
|
|
18352
|
-
const store$
|
|
18399
|
+
const store$b = /*#__PURE__*/createContext(initialState$b);
|
|
18353
18400
|
const {
|
|
18354
|
-
Provider: Provider$
|
|
18355
|
-
} = store$
|
|
18401
|
+
Provider: Provider$b
|
|
18402
|
+
} = store$b;
|
|
18356
18403
|
|
|
18357
18404
|
const PasswordResetContainer = ({
|
|
18358
18405
|
style,
|
|
@@ -18409,7 +18456,7 @@ const PasswordResetContainer = ({
|
|
|
18409
18456
|
type: SET_EMAIL,
|
|
18410
18457
|
payload: window.Pelcro.helpers.getURLParameter("email")
|
|
18411
18458
|
});
|
|
18412
|
-
initialState$
|
|
18459
|
+
initialState$b.email = window.Pelcro.helpers.getURLParameter("email");
|
|
18413
18460
|
dispatch({
|
|
18414
18461
|
type: SET_TOKEN,
|
|
18415
18462
|
payload: window.Pelcro.helpers.getURLParameter("token")
|
|
@@ -18469,26 +18516,26 @@ const PasswordResetContainer = ({
|
|
|
18469
18516
|
default:
|
|
18470
18517
|
return state;
|
|
18471
18518
|
}
|
|
18472
|
-
}, initialState$
|
|
18519
|
+
}, initialState$b);
|
|
18473
18520
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
18474
18521
|
style: { ...style
|
|
18475
18522
|
},
|
|
18476
18523
|
className: `pelcro-container pelcro-password-reset-container ${className}`
|
|
18477
|
-
}, /*#__PURE__*/React__default.createElement(Provider$
|
|
18524
|
+
}, /*#__PURE__*/React__default.createElement(Provider$b, {
|
|
18478
18525
|
value: {
|
|
18479
18526
|
state,
|
|
18480
18527
|
dispatch
|
|
18481
18528
|
}
|
|
18482
18529
|
}, children.length ? children.map((child, i) => /*#__PURE__*/React__default.cloneElement(child, {
|
|
18483
|
-
store: store$
|
|
18530
|
+
store: store$b,
|
|
18484
18531
|
key: i
|
|
18485
18532
|
})) : /*#__PURE__*/React__default.cloneElement(children, {
|
|
18486
|
-
store: store$
|
|
18533
|
+
store: store$b
|
|
18487
18534
|
})));
|
|
18488
18535
|
};
|
|
18489
18536
|
|
|
18490
18537
|
const PasswordResetPassword = props => /*#__PURE__*/React__default.createElement(Password, Object.assign({
|
|
18491
|
-
store: store$
|
|
18538
|
+
store: store$b
|
|
18492
18539
|
}, props));
|
|
18493
18540
|
|
|
18494
18541
|
const PasswordResetButton = ({
|
|
@@ -18501,7 +18548,7 @@ const PasswordResetButton = ({
|
|
|
18501
18548
|
buttonDisabled
|
|
18502
18549
|
},
|
|
18503
18550
|
dispatch
|
|
18504
|
-
} = useContext(store$
|
|
18551
|
+
} = useContext(store$b);
|
|
18505
18552
|
const {
|
|
18506
18553
|
t
|
|
18507
18554
|
} = useTranslation("passwordReset");
|
|
@@ -18518,14 +18565,14 @@ const PasswordResetButton = ({
|
|
|
18518
18565
|
};
|
|
18519
18566
|
|
|
18520
18567
|
const PasswordResetEmail = props => /*#__PURE__*/React__default.createElement(Email, Object.assign({
|
|
18521
|
-
store: store$
|
|
18568
|
+
store: store$b
|
|
18522
18569
|
}, props, {
|
|
18523
18570
|
value: window.Pelcro.helpers.getURLParameter("email"),
|
|
18524
18571
|
disabled: true
|
|
18525
18572
|
}));
|
|
18526
18573
|
|
|
18527
18574
|
const PasswordResetConfirmPassword = props => /*#__PURE__*/React__default.createElement(ConfirmPassword, Object.assign({
|
|
18528
|
-
store: store$
|
|
18575
|
+
store: store$b
|
|
18529
18576
|
}, props));
|
|
18530
18577
|
|
|
18531
18578
|
const PasswordResetView = props => {
|
|
@@ -18577,7 +18624,7 @@ const PasswordResetModal = ({
|
|
|
18577
18624
|
};
|
|
18578
18625
|
PasswordResetModal.viewId = "password-reset";
|
|
18579
18626
|
|
|
18580
|
-
const initialState$
|
|
18627
|
+
const initialState$a = {
|
|
18581
18628
|
email: "",
|
|
18582
18629
|
emailError: null,
|
|
18583
18630
|
buttonDisabled: false,
|
|
@@ -18586,10 +18633,10 @@ const initialState$9 = {
|
|
|
18586
18633
|
content: ""
|
|
18587
18634
|
}
|
|
18588
18635
|
};
|
|
18589
|
-
const store$
|
|
18636
|
+
const store$a = /*#__PURE__*/createContext(initialState$a);
|
|
18590
18637
|
const {
|
|
18591
|
-
Provider: Provider$
|
|
18592
|
-
} = store$
|
|
18638
|
+
Provider: Provider$a
|
|
18639
|
+
} = store$a;
|
|
18593
18640
|
|
|
18594
18641
|
const PasswordForgotContainer = ({
|
|
18595
18642
|
style,
|
|
@@ -18667,21 +18714,21 @@ const PasswordForgotContainer = ({
|
|
|
18667
18714
|
default:
|
|
18668
18715
|
return state;
|
|
18669
18716
|
}
|
|
18670
|
-
}, initialState$
|
|
18717
|
+
}, initialState$a);
|
|
18671
18718
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
18672
18719
|
style: { ...style
|
|
18673
18720
|
},
|
|
18674
18721
|
className: `pelcro-container pelcro-password-forgot-container ${className}`
|
|
18675
|
-
}, /*#__PURE__*/React__default.createElement(Provider$
|
|
18722
|
+
}, /*#__PURE__*/React__default.createElement(Provider$a, {
|
|
18676
18723
|
value: {
|
|
18677
18724
|
state,
|
|
18678
18725
|
dispatch
|
|
18679
18726
|
}
|
|
18680
18727
|
}, children.length ? children.map((child, i) => /*#__PURE__*/React__default.cloneElement(child, {
|
|
18681
|
-
store: store$
|
|
18728
|
+
store: store$a,
|
|
18682
18729
|
key: i
|
|
18683
18730
|
})) : /*#__PURE__*/React__default.cloneElement(children, {
|
|
18684
|
-
store: store$
|
|
18731
|
+
store: store$a
|
|
18685
18732
|
})));
|
|
18686
18733
|
};
|
|
18687
18734
|
|
|
@@ -18697,7 +18744,7 @@ const PasswordForgotButton = ({
|
|
|
18697
18744
|
emailError
|
|
18698
18745
|
},
|
|
18699
18746
|
dispatch
|
|
18700
|
-
} = useContext(store$
|
|
18747
|
+
} = useContext(store$a);
|
|
18701
18748
|
const {
|
|
18702
18749
|
t
|
|
18703
18750
|
} = useTranslation("passwordForgot");
|
|
@@ -18718,7 +18765,7 @@ const PasswordForgotButton = ({
|
|
|
18718
18765
|
};
|
|
18719
18766
|
|
|
18720
18767
|
const PasswordForgotEmail = props => /*#__PURE__*/React__default.createElement(Email, Object.assign({
|
|
18721
|
-
store: store$
|
|
18768
|
+
store: store$a
|
|
18722
18769
|
}, props));
|
|
18723
18770
|
|
|
18724
18771
|
const PasswordForgotView = props => {
|
|
@@ -18768,7 +18815,7 @@ const PasswordForgotModal = ({
|
|
|
18768
18815
|
};
|
|
18769
18816
|
PasswordForgotModal.viewId = "password-forgot";
|
|
18770
18817
|
|
|
18771
|
-
const initialState$
|
|
18818
|
+
const initialState$9 = {
|
|
18772
18819
|
currentPassword: "",
|
|
18773
18820
|
newPassword: "",
|
|
18774
18821
|
confirmNewPassword: "",
|
|
@@ -18782,10 +18829,10 @@ const initialState$8 = {
|
|
|
18782
18829
|
content: ""
|
|
18783
18830
|
}
|
|
18784
18831
|
};
|
|
18785
|
-
const store$
|
|
18832
|
+
const store$9 = /*#__PURE__*/createContext(initialState$9);
|
|
18786
18833
|
const {
|
|
18787
|
-
Provider: Provider$
|
|
18788
|
-
} = store$
|
|
18834
|
+
Provider: Provider$9
|
|
18835
|
+
} = store$9;
|
|
18789
18836
|
const PasswordChangeContainer = ({
|
|
18790
18837
|
style,
|
|
18791
18838
|
className = "",
|
|
@@ -18937,21 +18984,21 @@ const PasswordChangeContainer = ({
|
|
|
18937
18984
|
default:
|
|
18938
18985
|
return state;
|
|
18939
18986
|
}
|
|
18940
|
-
}, initialState$
|
|
18987
|
+
}, initialState$9);
|
|
18941
18988
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
18942
18989
|
style: { ...style
|
|
18943
18990
|
},
|
|
18944
18991
|
className: `pelcro-container pelcro-password-change-container ${className}`
|
|
18945
|
-
}, /*#__PURE__*/React__default.createElement(Provider$
|
|
18992
|
+
}, /*#__PURE__*/React__default.createElement(Provider$9, {
|
|
18946
18993
|
value: {
|
|
18947
18994
|
state,
|
|
18948
18995
|
dispatch
|
|
18949
18996
|
}
|
|
18950
18997
|
}, children.length ? children.map((child, i) => /*#__PURE__*/React__default.cloneElement(child, {
|
|
18951
|
-
store: store$
|
|
18998
|
+
store: store$9,
|
|
18952
18999
|
key: i
|
|
18953
19000
|
})) : /*#__PURE__*/React__default.cloneElement(children, {
|
|
18954
|
-
store: store$
|
|
19001
|
+
store: store$9
|
|
18955
19002
|
})));
|
|
18956
19003
|
};
|
|
18957
19004
|
|
|
@@ -18962,7 +19009,7 @@ function PasswordChangeCurrentPassword(props) {
|
|
|
18962
19009
|
currentPassword,
|
|
18963
19010
|
currentPasswordError
|
|
18964
19011
|
}
|
|
18965
|
-
} = useContext(store$
|
|
19012
|
+
} = useContext(store$9);
|
|
18966
19013
|
const handleBlur = useCallback(() => {
|
|
18967
19014
|
return dispatch({
|
|
18968
19015
|
type: VALIDATE_PASSWORD
|
|
@@ -18996,7 +19043,7 @@ function PasswordChangeNewPassword(props) {
|
|
|
18996
19043
|
newPassword,
|
|
18997
19044
|
newPasswordError
|
|
18998
19045
|
}
|
|
18999
|
-
} = useContext(store$
|
|
19046
|
+
} = useContext(store$9);
|
|
19000
19047
|
const handleBlur = useCallback(() => {
|
|
19001
19048
|
return dispatch({
|
|
19002
19049
|
type: VALIDATE_NEW_PASSWORD
|
|
@@ -19030,7 +19077,7 @@ function PasswordChangeConfirmNewPassword(props) {
|
|
|
19030
19077
|
confirmNewPassword,
|
|
19031
19078
|
confirmNewPasswordError
|
|
19032
19079
|
}
|
|
19033
|
-
} = useContext(store$
|
|
19080
|
+
} = useContext(store$9);
|
|
19034
19081
|
const handleBlur = useCallback(() => {
|
|
19035
19082
|
return dispatch({
|
|
19036
19083
|
type: VALIDATE_CONFIRM_NEW_PASSWORD
|
|
@@ -19071,7 +19118,7 @@ const PasswordChangeButton = ({
|
|
|
19071
19118
|
confirmNewPasswordError
|
|
19072
19119
|
},
|
|
19073
19120
|
dispatch
|
|
19074
|
-
} = useContext(store$
|
|
19121
|
+
} = useContext(store$9);
|
|
19075
19122
|
const {
|
|
19076
19123
|
t
|
|
19077
19124
|
} = useTranslation("passwordChange");
|
|
@@ -19137,17 +19184,17 @@ const PasswordChangeModal = ({
|
|
|
19137
19184
|
};
|
|
19138
19185
|
PasswordChangeModal.viewId = "password-change";
|
|
19139
19186
|
|
|
19140
|
-
const initialState$
|
|
19187
|
+
const initialState$8 = {
|
|
19141
19188
|
buttonDisabled: false,
|
|
19142
19189
|
alert: {
|
|
19143
19190
|
type: "error",
|
|
19144
19191
|
content: ""
|
|
19145
19192
|
}
|
|
19146
19193
|
};
|
|
19147
|
-
const store$
|
|
19194
|
+
const store$8 = /*#__PURE__*/createContext(initialState$8);
|
|
19148
19195
|
const {
|
|
19149
|
-
Provider: Provider$
|
|
19150
|
-
} = store$
|
|
19196
|
+
Provider: Provider$8
|
|
19197
|
+
} = store$8;
|
|
19151
19198
|
|
|
19152
19199
|
const CartContainer = ({
|
|
19153
19200
|
style,
|
|
@@ -19238,21 +19285,21 @@ const CartContainer = ({
|
|
|
19238
19285
|
default:
|
|
19239
19286
|
return state;
|
|
19240
19287
|
}
|
|
19241
|
-
}, initialState$
|
|
19288
|
+
}, initialState$8);
|
|
19242
19289
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
19243
19290
|
style: { ...style
|
|
19244
19291
|
},
|
|
19245
19292
|
className: `pelcro-container pelcro-cart-container ${className}`
|
|
19246
|
-
}, /*#__PURE__*/React__default.createElement(Provider$
|
|
19293
|
+
}, /*#__PURE__*/React__default.createElement(Provider$8, {
|
|
19247
19294
|
value: {
|
|
19248
19295
|
state,
|
|
19249
19296
|
dispatch
|
|
19250
19297
|
}
|
|
19251
19298
|
}, children.length ? children.map((child, i) => /*#__PURE__*/React__default.cloneElement(child, {
|
|
19252
|
-
store: store$
|
|
19299
|
+
store: store$8,
|
|
19253
19300
|
key: i
|
|
19254
19301
|
})) : /*#__PURE__*/React__default.cloneElement(children, {
|
|
19255
|
-
store: store$
|
|
19302
|
+
store: store$8
|
|
19256
19303
|
})));
|
|
19257
19304
|
};
|
|
19258
19305
|
|
|
@@ -19289,7 +19336,7 @@ const CartSubmit = ({
|
|
|
19289
19336
|
buttonDisabled
|
|
19290
19337
|
},
|
|
19291
19338
|
dispatch
|
|
19292
|
-
} = useContext(store$
|
|
19339
|
+
} = useContext(store$8);
|
|
19293
19340
|
const {
|
|
19294
19341
|
t
|
|
19295
19342
|
} = useTranslation("cart");
|
|
@@ -19320,7 +19367,7 @@ const CartTotalPrice = () => {
|
|
|
19320
19367
|
state: {
|
|
19321
19368
|
alert
|
|
19322
19369
|
}
|
|
19323
|
-
} = useContext(store$
|
|
19370
|
+
} = useContext(store$8);
|
|
19324
19371
|
const {
|
|
19325
19372
|
cartItems
|
|
19326
19373
|
} = usePelcro();
|
|
@@ -19633,7 +19680,7 @@ const OrderConfirmModal = props => {
|
|
|
19633
19680
|
};
|
|
19634
19681
|
OrderConfirmModal.viewId = "order-confirm";
|
|
19635
19682
|
|
|
19636
|
-
const initialState$
|
|
19683
|
+
const initialState$7 = {
|
|
19637
19684
|
email: "",
|
|
19638
19685
|
firstName: "",
|
|
19639
19686
|
lastName: "",
|
|
@@ -19645,10 +19692,10 @@ const initialState$6 = {
|
|
|
19645
19692
|
content: ""
|
|
19646
19693
|
}
|
|
19647
19694
|
};
|
|
19648
|
-
const store$
|
|
19695
|
+
const store$7 = /*#__PURE__*/createContext(initialState$7);
|
|
19649
19696
|
const {
|
|
19650
|
-
Provider: Provider$
|
|
19651
|
-
} = store$
|
|
19697
|
+
Provider: Provider$7
|
|
19698
|
+
} = store$7;
|
|
19652
19699
|
|
|
19653
19700
|
const GiftCreateContainer = ({
|
|
19654
19701
|
style,
|
|
@@ -19752,21 +19799,21 @@ const GiftCreateContainer = ({
|
|
|
19752
19799
|
default:
|
|
19753
19800
|
return state;
|
|
19754
19801
|
}
|
|
19755
|
-
}, initialState$
|
|
19802
|
+
}, initialState$7);
|
|
19756
19803
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
19757
19804
|
style: { ...style
|
|
19758
19805
|
},
|
|
19759
19806
|
className: `pelcro-container pelcro-gift-create-container ${className}`
|
|
19760
|
-
}, /*#__PURE__*/React__default.createElement(Provider$
|
|
19807
|
+
}, /*#__PURE__*/React__default.createElement(Provider$7, {
|
|
19761
19808
|
value: {
|
|
19762
19809
|
state,
|
|
19763
19810
|
dispatch
|
|
19764
19811
|
}
|
|
19765
19812
|
}, children.length ? children.map((child, i) => /*#__PURE__*/React__default.cloneElement(child, {
|
|
19766
|
-
store: store$
|
|
19813
|
+
store: store$7,
|
|
19767
19814
|
key: i
|
|
19768
19815
|
})) : /*#__PURE__*/React__default.cloneElement(children, {
|
|
19769
|
-
store: store$
|
|
19816
|
+
store: store$7
|
|
19770
19817
|
})));
|
|
19771
19818
|
};
|
|
19772
19819
|
|
|
@@ -19780,7 +19827,7 @@ const GiftCreateSubmitButton = ({
|
|
|
19780
19827
|
state: {
|
|
19781
19828
|
disableSubmit
|
|
19782
19829
|
}
|
|
19783
|
-
} = useContext(store$
|
|
19830
|
+
} = useContext(store$7);
|
|
19784
19831
|
const {
|
|
19785
19832
|
t
|
|
19786
19833
|
} = useTranslation("register");
|
|
@@ -19797,15 +19844,15 @@ const GiftCreateSubmitButton = ({
|
|
|
19797
19844
|
|
|
19798
19845
|
const GiftCreateEmail = props => /*#__PURE__*/React__default.createElement(Email, Object.assign({
|
|
19799
19846
|
initWithUserEmail: false,
|
|
19800
|
-
store: store$
|
|
19847
|
+
store: store$7
|
|
19801
19848
|
}, props));
|
|
19802
19849
|
|
|
19803
19850
|
const GiftCreateFirstName = props => /*#__PURE__*/React__default.createElement(FirstName, Object.assign({
|
|
19804
|
-
store: store$
|
|
19851
|
+
store: store$7
|
|
19805
19852
|
}, props));
|
|
19806
19853
|
|
|
19807
19854
|
const GiftCreateLastName = props => /*#__PURE__*/React__default.createElement(LastName, Object.assign({
|
|
19808
|
-
store: store$
|
|
19855
|
+
store: store$7
|
|
19809
19856
|
}, props));
|
|
19810
19857
|
|
|
19811
19858
|
var _path$h;
|
|
@@ -19890,7 +19937,7 @@ const GiftCreateStartDate = props => {
|
|
|
19890
19937
|
const {
|
|
19891
19938
|
dispatch,
|
|
19892
19939
|
state
|
|
19893
|
-
} = useContext(store$
|
|
19940
|
+
} = useContext(store$7);
|
|
19894
19941
|
|
|
19895
19942
|
const handleInputChange = value => {
|
|
19896
19943
|
dispatch({
|
|
@@ -19963,7 +20010,7 @@ function GiftCreateMessage(props) {
|
|
|
19963
20010
|
const {
|
|
19964
20011
|
dispatch,
|
|
19965
20012
|
state
|
|
19966
|
-
} = useContext(store$
|
|
20013
|
+
} = useContext(store$7);
|
|
19967
20014
|
const MAX_CHARS_COUNT = 200;
|
|
19968
20015
|
const remainingCharsCount = (_ref = MAX_CHARS_COUNT - ((_state$giftMessage = state.giftMessage) === null || _state$giftMessage === void 0 ? void 0 : _state$giftMessage.length)) !== null && _ref !== void 0 ? _ref : 0;
|
|
19969
20016
|
|
|
@@ -20087,7 +20134,7 @@ const GiftCreateModal = ({
|
|
|
20087
20134
|
};
|
|
20088
20135
|
GiftCreateModal.viewId = "gift-create";
|
|
20089
20136
|
|
|
20090
|
-
const initialState$
|
|
20137
|
+
const initialState$6 = {
|
|
20091
20138
|
giftCode: "",
|
|
20092
20139
|
buttonDisabled: true,
|
|
20093
20140
|
alert: {
|
|
@@ -20095,10 +20142,10 @@ const initialState$5 = {
|
|
|
20095
20142
|
content: ""
|
|
20096
20143
|
}
|
|
20097
20144
|
};
|
|
20098
|
-
const store$
|
|
20145
|
+
const store$6 = /*#__PURE__*/createContext(initialState$6);
|
|
20099
20146
|
const {
|
|
20100
|
-
Provider: Provider$
|
|
20101
|
-
} = store$
|
|
20147
|
+
Provider: Provider$6
|
|
20148
|
+
} = store$6;
|
|
20102
20149
|
|
|
20103
20150
|
const GiftRedeemContainer = ({
|
|
20104
20151
|
style,
|
|
@@ -20163,21 +20210,21 @@ const GiftRedeemContainer = ({
|
|
|
20163
20210
|
default:
|
|
20164
20211
|
return state;
|
|
20165
20212
|
}
|
|
20166
|
-
}, initialState$
|
|
20213
|
+
}, initialState$6);
|
|
20167
20214
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
20168
20215
|
style: { ...style
|
|
20169
20216
|
},
|
|
20170
20217
|
className: `pelcro-container pelcro-gift-redeem-container ${className}`
|
|
20171
|
-
}, /*#__PURE__*/React__default.createElement(Provider$
|
|
20218
|
+
}, /*#__PURE__*/React__default.createElement(Provider$6, {
|
|
20172
20219
|
value: {
|
|
20173
20220
|
state,
|
|
20174
20221
|
dispatch
|
|
20175
20222
|
}
|
|
20176
20223
|
}, children.length ? children.map((child, i) => /*#__PURE__*/React__default.cloneElement(child, {
|
|
20177
|
-
store: store$
|
|
20224
|
+
store: store$6,
|
|
20178
20225
|
key: i
|
|
20179
20226
|
})) : /*#__PURE__*/React__default.cloneElement(children, {
|
|
20180
|
-
store: store$
|
|
20227
|
+
store: store$6
|
|
20181
20228
|
})));
|
|
20182
20229
|
};
|
|
20183
20230
|
|
|
@@ -20214,7 +20261,7 @@ function GiftCode({
|
|
|
20214
20261
|
}
|
|
20215
20262
|
|
|
20216
20263
|
const GiftRedeemCode = props => /*#__PURE__*/React__default.createElement(GiftCode, Object.assign({
|
|
20217
|
-
store: store$
|
|
20264
|
+
store: store$6
|
|
20218
20265
|
}, props));
|
|
20219
20266
|
|
|
20220
20267
|
const GiftRedeemSubmitButton = ({
|
|
@@ -20227,7 +20274,7 @@ const GiftRedeemSubmitButton = ({
|
|
|
20227
20274
|
state: {
|
|
20228
20275
|
disableSubmit
|
|
20229
20276
|
}
|
|
20230
|
-
} = useContext(store$
|
|
20277
|
+
} = useContext(store$6);
|
|
20231
20278
|
const {
|
|
20232
20279
|
t
|
|
20233
20280
|
} = useTranslation("register");
|
|
@@ -20320,7 +20367,7 @@ const moveDefaultAddressToStart = addresses => {
|
|
|
20320
20367
|
return [defaultAddress, ...addressesWithoutDefault];
|
|
20321
20368
|
};
|
|
20322
20369
|
|
|
20323
|
-
const initialState$
|
|
20370
|
+
const initialState$5 = {
|
|
20324
20371
|
addresses: [],
|
|
20325
20372
|
selectedAddressId: null,
|
|
20326
20373
|
isSubmitting: false,
|
|
@@ -20329,10 +20376,10 @@ const initialState$4 = {
|
|
|
20329
20376
|
content: ""
|
|
20330
20377
|
}
|
|
20331
20378
|
};
|
|
20332
|
-
const store$
|
|
20379
|
+
const store$5 = /*#__PURE__*/createContext(initialState$5);
|
|
20333
20380
|
const {
|
|
20334
|
-
Provider: Provider$
|
|
20335
|
-
} = store$
|
|
20381
|
+
Provider: Provider$5
|
|
20382
|
+
} = store$5;
|
|
20336
20383
|
|
|
20337
20384
|
const AddressSelectContainer = ({
|
|
20338
20385
|
style,
|
|
@@ -20427,7 +20474,7 @@ const AddressSelectContainer = ({
|
|
|
20427
20474
|
default:
|
|
20428
20475
|
return state;
|
|
20429
20476
|
}
|
|
20430
|
-
}, initialState$
|
|
20477
|
+
}, initialState$5);
|
|
20431
20478
|
useEffect(() => {
|
|
20432
20479
|
var _window$Pelcro$user$r;
|
|
20433
20480
|
|
|
@@ -20440,16 +20487,16 @@ const AddressSelectContainer = ({
|
|
|
20440
20487
|
style: { ...style
|
|
20441
20488
|
},
|
|
20442
20489
|
className: `pelcro-container pelcro-address-select-container ${className}`
|
|
20443
|
-
}, /*#__PURE__*/React__default.createElement(Provider$
|
|
20490
|
+
}, /*#__PURE__*/React__default.createElement(Provider$5, {
|
|
20444
20491
|
value: {
|
|
20445
20492
|
state,
|
|
20446
20493
|
dispatch
|
|
20447
20494
|
}
|
|
20448
20495
|
}, children.length ? children.map((child, i) => /*#__PURE__*/React__default.cloneElement(child, {
|
|
20449
|
-
store: store$
|
|
20496
|
+
store: store$5,
|
|
20450
20497
|
key: i
|
|
20451
20498
|
})) : /*#__PURE__*/React__default.cloneElement(children, {
|
|
20452
|
-
store: store$
|
|
20499
|
+
store: store$5
|
|
20453
20500
|
})));
|
|
20454
20501
|
};
|
|
20455
20502
|
|
|
@@ -20460,7 +20507,7 @@ const AddressSelectList = () => {
|
|
|
20460
20507
|
addresses,
|
|
20461
20508
|
selectedAddressId
|
|
20462
20509
|
}
|
|
20463
|
-
} = useContext(store$
|
|
20510
|
+
} = useContext(store$5);
|
|
20464
20511
|
|
|
20465
20512
|
const handleAddressSelect = event => {
|
|
20466
20513
|
dispatch({
|
|
@@ -20504,7 +20551,7 @@ const AddressSelectSubmit = ({
|
|
|
20504
20551
|
selectedAddressId,
|
|
20505
20552
|
isSubmitting
|
|
20506
20553
|
}
|
|
20507
|
-
} = useContext(store$
|
|
20554
|
+
} = useContext(store$5);
|
|
20508
20555
|
const {
|
|
20509
20556
|
t
|
|
20510
20557
|
} = useTranslation("address");
|
|
@@ -20600,7 +20647,7 @@ const moveDefaultPaymentMethodToStart = paymentMethods => {
|
|
|
20600
20647
|
return [defaultPaymentMethod, ...paymentMethodsWithoutDefault];
|
|
20601
20648
|
};
|
|
20602
20649
|
|
|
20603
|
-
const initialState$
|
|
20650
|
+
const initialState$4 = {
|
|
20604
20651
|
paymentMethods: [],
|
|
20605
20652
|
selectedPaymentMethodId: null,
|
|
20606
20653
|
isSubmitting: false,
|
|
@@ -20609,10 +20656,10 @@ const initialState$3 = {
|
|
|
20609
20656
|
content: ""
|
|
20610
20657
|
}
|
|
20611
20658
|
};
|
|
20612
|
-
const store$
|
|
20659
|
+
const store$4 = /*#__PURE__*/createContext(initialState$4);
|
|
20613
20660
|
const {
|
|
20614
|
-
Provider: Provider$
|
|
20615
|
-
} = store$
|
|
20661
|
+
Provider: Provider$4
|
|
20662
|
+
} = store$4;
|
|
20616
20663
|
|
|
20617
20664
|
const PaymentMethodSelectContainer = ({
|
|
20618
20665
|
style,
|
|
@@ -20671,7 +20718,7 @@ const PaymentMethodSelectContainer = ({
|
|
|
20671
20718
|
default:
|
|
20672
20719
|
return state;
|
|
20673
20720
|
}
|
|
20674
|
-
}, initialState$
|
|
20721
|
+
}, initialState$4);
|
|
20675
20722
|
useEffect(() => {
|
|
20676
20723
|
var _window$Pelcro$user$r3;
|
|
20677
20724
|
|
|
@@ -20684,16 +20731,16 @@ const PaymentMethodSelectContainer = ({
|
|
|
20684
20731
|
style: { ...style
|
|
20685
20732
|
},
|
|
20686
20733
|
className: `pelcro-container pelcro-payment-select-container ${className}`
|
|
20687
|
-
}, /*#__PURE__*/React__default.createElement(Provider$
|
|
20734
|
+
}, /*#__PURE__*/React__default.createElement(Provider$4, {
|
|
20688
20735
|
value: {
|
|
20689
20736
|
state,
|
|
20690
20737
|
dispatch
|
|
20691
20738
|
}
|
|
20692
20739
|
}, children.length ? children.map((child, i) => /*#__PURE__*/React__default.cloneElement(child, {
|
|
20693
|
-
store: store$
|
|
20740
|
+
store: store$4,
|
|
20694
20741
|
key: i
|
|
20695
20742
|
})) : /*#__PURE__*/React__default.cloneElement(children, {
|
|
20696
|
-
store: store$
|
|
20743
|
+
store: store$4
|
|
20697
20744
|
})));
|
|
20698
20745
|
};
|
|
20699
20746
|
|
|
@@ -20707,7 +20754,7 @@ const PaymentMethodSelectList = () => {
|
|
|
20707
20754
|
paymentMethods,
|
|
20708
20755
|
selectedPaymentMethodId
|
|
20709
20756
|
}
|
|
20710
|
-
} = useContext(store$
|
|
20757
|
+
} = useContext(store$4);
|
|
20711
20758
|
|
|
20712
20759
|
const handlePaymentMethodSelect = event => {
|
|
20713
20760
|
dispatch({
|
|
@@ -20757,7 +20804,7 @@ const PaymentMethodSelectSubmit = ({
|
|
|
20757
20804
|
selectedPaymentMethodId,
|
|
20758
20805
|
isSubmitting
|
|
20759
20806
|
}
|
|
20760
|
-
} = useContext(store$
|
|
20807
|
+
} = useContext(store$4);
|
|
20761
20808
|
return /*#__PURE__*/React__default.createElement(Button, Object.assign({
|
|
20762
20809
|
onClick: () => {
|
|
20763
20810
|
dispatch({
|
|
@@ -23549,7 +23596,7 @@ const DashboardOpenButton = () => {
|
|
|
23549
23596
|
};
|
|
23550
23597
|
DashboardOpenButton.viewId = "dashboard-open";
|
|
23551
23598
|
|
|
23552
|
-
const initialState$
|
|
23599
|
+
const initialState$3 = {
|
|
23553
23600
|
imageSrc: null,
|
|
23554
23601
|
crop: {
|
|
23555
23602
|
x: 0,
|
|
@@ -23563,10 +23610,10 @@ const initialState$2 = {
|
|
|
23563
23610
|
content: ""
|
|
23564
23611
|
}
|
|
23565
23612
|
};
|
|
23566
|
-
const store$
|
|
23613
|
+
const store$3 = /*#__PURE__*/createContext(initialState$3);
|
|
23567
23614
|
const {
|
|
23568
|
-
Provider: Provider$
|
|
23569
|
-
} = store$
|
|
23615
|
+
Provider: Provider$3
|
|
23616
|
+
} = store$3;
|
|
23570
23617
|
|
|
23571
23618
|
const ProfilePicChangeContainer = ({
|
|
23572
23619
|
style,
|
|
@@ -23700,21 +23747,21 @@ const ProfilePicChangeContainer = ({
|
|
|
23700
23747
|
default:
|
|
23701
23748
|
return state;
|
|
23702
23749
|
}
|
|
23703
|
-
}, initialState$
|
|
23750
|
+
}, initialState$3);
|
|
23704
23751
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
23705
23752
|
style: { ...style
|
|
23706
23753
|
},
|
|
23707
23754
|
className: `pelcro-container pelcro-profile-picture-container ${className}`
|
|
23708
|
-
}, /*#__PURE__*/React__default.createElement(Provider$
|
|
23755
|
+
}, /*#__PURE__*/React__default.createElement(Provider$3, {
|
|
23709
23756
|
value: {
|
|
23710
23757
|
state,
|
|
23711
23758
|
dispatch
|
|
23712
23759
|
}
|
|
23713
23760
|
}, children.length ? children.map((child, i) => /*#__PURE__*/React__default.cloneElement(child, {
|
|
23714
|
-
store: store$
|
|
23761
|
+
store: store$3,
|
|
23715
23762
|
key: i
|
|
23716
23763
|
})) : /*#__PURE__*/React__default.cloneElement(children, {
|
|
23717
|
-
store: store$
|
|
23764
|
+
store: store$3
|
|
23718
23765
|
})));
|
|
23719
23766
|
};
|
|
23720
23767
|
/**
|
|
@@ -23776,7 +23823,7 @@ const ProfilePicChangeButton = ({
|
|
|
23776
23823
|
isSubmitting
|
|
23777
23824
|
},
|
|
23778
23825
|
dispatch
|
|
23779
|
-
} = useContext(store$
|
|
23826
|
+
} = useContext(store$3);
|
|
23780
23827
|
const {
|
|
23781
23828
|
t
|
|
23782
23829
|
} = useTranslation("userEdit");
|
|
@@ -25144,7 +25191,7 @@ const ProfilePicChangeCropper = ({
|
|
|
25144
25191
|
zoom
|
|
25145
25192
|
},
|
|
25146
25193
|
dispatch
|
|
25147
|
-
} = useContext(store$
|
|
25194
|
+
} = useContext(store$3);
|
|
25148
25195
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
25149
25196
|
className: `plc-relative plc-w-full plc-h-52 sm:plc-h-96 ${className}`
|
|
25150
25197
|
}, /*#__PURE__*/React__default.createElement(Cropper, Object.assign({
|
|
@@ -25186,7 +25233,7 @@ const ProfilePicChangeZoom = ({
|
|
|
25186
25233
|
zoom
|
|
25187
25234
|
},
|
|
25188
25235
|
dispatch
|
|
25189
|
-
} = useContext(store$
|
|
25236
|
+
} = useContext(store$3);
|
|
25190
25237
|
const {
|
|
25191
25238
|
t
|
|
25192
25239
|
} = useTranslation("userEdit");
|
|
@@ -25238,7 +25285,7 @@ const ProfilePicChangeSelectButton = ({
|
|
|
25238
25285
|
state: {
|
|
25239
25286
|
isSubmitting
|
|
25240
25287
|
}
|
|
25241
|
-
} = useContext(store$
|
|
25288
|
+
} = useContext(store$3);
|
|
25242
25289
|
const {
|
|
25243
25290
|
t
|
|
25244
25291
|
} = useTranslation("userEdit");
|
|
@@ -25280,7 +25327,7 @@ const ProfilePicChangeRemoveButton = ({
|
|
|
25280
25327
|
state: {
|
|
25281
25328
|
isSubmitting
|
|
25282
25329
|
}
|
|
25283
|
-
} = useContext(store$
|
|
25330
|
+
} = useContext(store$3);
|
|
25284
25331
|
const {
|
|
25285
25332
|
t
|
|
25286
25333
|
} = useTranslation("userEdit");
|
|
@@ -25303,7 +25350,7 @@ const ProfilePicChangeWrapper = () => {
|
|
|
25303
25350
|
state: {
|
|
25304
25351
|
imageSrc
|
|
25305
25352
|
}
|
|
25306
|
-
} = useContext(store$
|
|
25353
|
+
} = useContext(store$3);
|
|
25307
25354
|
const {
|
|
25308
25355
|
t
|
|
25309
25356
|
} = useTranslation("userEdit");
|
|
@@ -25365,17 +25412,17 @@ function ProfilePicChangeModal({
|
|
|
25365
25412
|
}
|
|
25366
25413
|
ProfilePicChangeModal.viewId = "profile-picture";
|
|
25367
25414
|
|
|
25368
|
-
const initialState$
|
|
25415
|
+
const initialState$2 = {
|
|
25369
25416
|
isSubmitting: false,
|
|
25370
25417
|
alert: {
|
|
25371
25418
|
type: "error",
|
|
25372
25419
|
content: ""
|
|
25373
25420
|
}
|
|
25374
25421
|
};
|
|
25375
|
-
const store$
|
|
25422
|
+
const store$2 = /*#__PURE__*/createContext(initialState$2);
|
|
25376
25423
|
const {
|
|
25377
|
-
Provider: Provider$
|
|
25378
|
-
} = store$
|
|
25424
|
+
Provider: Provider$2
|
|
25425
|
+
} = store$2;
|
|
25379
25426
|
|
|
25380
25427
|
const EmailVerifyContainer = ({
|
|
25381
25428
|
style,
|
|
@@ -25438,21 +25485,21 @@ const EmailVerifyContainer = ({
|
|
|
25438
25485
|
default:
|
|
25439
25486
|
return state;
|
|
25440
25487
|
}
|
|
25441
|
-
}, initialState$
|
|
25488
|
+
}, initialState$2);
|
|
25442
25489
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
25443
25490
|
style: { ...style
|
|
25444
25491
|
},
|
|
25445
25492
|
className: `pelcro-container pelcro-email-verify-container ${className}`
|
|
25446
|
-
}, /*#__PURE__*/React__default.createElement(Provider$
|
|
25493
|
+
}, /*#__PURE__*/React__default.createElement(Provider$2, {
|
|
25447
25494
|
value: {
|
|
25448
25495
|
state,
|
|
25449
25496
|
dispatch
|
|
25450
25497
|
}
|
|
25451
25498
|
}, children.length ? children.map((child, i) => /*#__PURE__*/React__default.cloneElement(child, {
|
|
25452
|
-
store: store$
|
|
25499
|
+
store: store$2,
|
|
25453
25500
|
key: i
|
|
25454
25501
|
})) : /*#__PURE__*/React__default.cloneElement(children, {
|
|
25455
|
-
store: store$
|
|
25502
|
+
store: store$2
|
|
25456
25503
|
})));
|
|
25457
25504
|
};
|
|
25458
25505
|
|
|
@@ -25466,7 +25513,7 @@ const EmailVerifyResendButton = ({
|
|
|
25466
25513
|
state: {
|
|
25467
25514
|
isSubmitting
|
|
25468
25515
|
}
|
|
25469
|
-
} = useContext(store$
|
|
25516
|
+
} = useContext(store$2);
|
|
25470
25517
|
const {
|
|
25471
25518
|
t
|
|
25472
25519
|
} = useTranslation("verifyEmail");
|
|
@@ -25541,6 +25588,167 @@ const EmailVerifyModal = ({
|
|
|
25541
25588
|
};
|
|
25542
25589
|
EmailVerifyModal.viewId = "email-verify";
|
|
25543
25590
|
|
|
25591
|
+
const initialState$1 = {
|
|
25592
|
+
isLoading: true,
|
|
25593
|
+
isTokenValid: false,
|
|
25594
|
+
alert: {
|
|
25595
|
+
type: "error",
|
|
25596
|
+
content: ""
|
|
25597
|
+
}
|
|
25598
|
+
};
|
|
25599
|
+
const store$1 = /*#__PURE__*/createContext(initialState$1);
|
|
25600
|
+
const {
|
|
25601
|
+
Provider: Provider$1
|
|
25602
|
+
} = store$1;
|
|
25603
|
+
|
|
25604
|
+
const VerifyLinkTokenContainer = ({
|
|
25605
|
+
style,
|
|
25606
|
+
className = "",
|
|
25607
|
+
onSuccess = () => {},
|
|
25608
|
+
onFailure = () => {},
|
|
25609
|
+
children
|
|
25610
|
+
}) => {
|
|
25611
|
+
const handleVerifyLinkToken = ({}, dispatch) => {
|
|
25612
|
+
const token = window.Pelcro.helpers.getURLParameter("token");
|
|
25613
|
+
window.Pelcro.user.verifyLoginToken({
|
|
25614
|
+
token
|
|
25615
|
+
}, (err, res) => {
|
|
25616
|
+
dispatch({
|
|
25617
|
+
type: LOADING,
|
|
25618
|
+
payload: false
|
|
25619
|
+
});
|
|
25620
|
+
|
|
25621
|
+
if (err) {
|
|
25622
|
+
dispatch({
|
|
25623
|
+
type: SHOW_ALERT,
|
|
25624
|
+
payload: {
|
|
25625
|
+
type: "error",
|
|
25626
|
+
content: getErrorMessages(err)
|
|
25627
|
+
}
|
|
25628
|
+
});
|
|
25629
|
+
onFailure(err);
|
|
25630
|
+
} else {
|
|
25631
|
+
onSuccess(res);
|
|
25632
|
+
}
|
|
25633
|
+
});
|
|
25634
|
+
};
|
|
25635
|
+
|
|
25636
|
+
const [state, dispatch] = useReducerWithSideEffects((state, action) => {
|
|
25637
|
+
switch (action.type) {
|
|
25638
|
+
case SHOW_ALERT:
|
|
25639
|
+
return lib_7({ ...state,
|
|
25640
|
+
alert: action.payload
|
|
25641
|
+
});
|
|
25642
|
+
|
|
25643
|
+
case LOADING:
|
|
25644
|
+
return lib_7({ ...state,
|
|
25645
|
+
isLoading: action.payload
|
|
25646
|
+
});
|
|
25647
|
+
|
|
25648
|
+
case LINK_TOKEN_VERIFY:
|
|
25649
|
+
return lib_5({ ...state,
|
|
25650
|
+
isLoading: true
|
|
25651
|
+
}, (state, dispatch) => handleVerifyLinkToken(state, dispatch));
|
|
25652
|
+
|
|
25653
|
+
default:
|
|
25654
|
+
return state;
|
|
25655
|
+
}
|
|
25656
|
+
}, initialState$1);
|
|
25657
|
+
return /*#__PURE__*/React__default.createElement("div", {
|
|
25658
|
+
style: { ...style
|
|
25659
|
+
},
|
|
25660
|
+
className: `pelcro-container pelcro-login-container ${className}`
|
|
25661
|
+
}, /*#__PURE__*/React__default.createElement(Provider$1, {
|
|
25662
|
+
value: {
|
|
25663
|
+
state,
|
|
25664
|
+
dispatch
|
|
25665
|
+
}
|
|
25666
|
+
}, children.length ? children.map((child, i) => {
|
|
25667
|
+
if (child) {
|
|
25668
|
+
return /*#__PURE__*/React__default.cloneElement(child, {
|
|
25669
|
+
store: store$1,
|
|
25670
|
+
key: i
|
|
25671
|
+
});
|
|
25672
|
+
}
|
|
25673
|
+
}) : /*#__PURE__*/React__default.cloneElement(children, {
|
|
25674
|
+
store: store$1
|
|
25675
|
+
})));
|
|
25676
|
+
};
|
|
25677
|
+
|
|
25678
|
+
const VerifyLinkTokenLoader = () => {
|
|
25679
|
+
useEffect(() => {
|
|
25680
|
+
dispatch({
|
|
25681
|
+
type: LINK_TOKEN_VERIFY
|
|
25682
|
+
});
|
|
25683
|
+
}, []);
|
|
25684
|
+
const {
|
|
25685
|
+
dispatch,
|
|
25686
|
+
state: {
|
|
25687
|
+
isLoading
|
|
25688
|
+
}
|
|
25689
|
+
} = useContext(store$1);
|
|
25690
|
+
|
|
25691
|
+
if (isLoading) {
|
|
25692
|
+
return /*#__PURE__*/React__default.createElement(Loader, {
|
|
25693
|
+
width: 60,
|
|
25694
|
+
height: 100
|
|
25695
|
+
});
|
|
25696
|
+
}
|
|
25697
|
+
|
|
25698
|
+
return /*#__PURE__*/React__default.createElement("div", {
|
|
25699
|
+
className: "plc-max-h-80 plc-overflow-y-auto pelcro-newsletters-wrapper"
|
|
25700
|
+
});
|
|
25701
|
+
};
|
|
25702
|
+
|
|
25703
|
+
/**
|
|
25704
|
+
*
|
|
25705
|
+
*/
|
|
25706
|
+
|
|
25707
|
+
function VerifyLinkTokenView(props) {
|
|
25708
|
+
const {
|
|
25709
|
+
t
|
|
25710
|
+
} = useTranslation("verifyLinkToken");
|
|
25711
|
+
return /*#__PURE__*/React__default.createElement("div", {
|
|
25712
|
+
id: "pelcro-login-view"
|
|
25713
|
+
}, /*#__PURE__*/React__default.createElement("div", {
|
|
25714
|
+
className: "plc-mb-6 plc-text-2xl plc-font-semibold plc-text-center plc-text-gray-900 pelcro-title-wrapper"
|
|
25715
|
+
}, /*#__PURE__*/React__default.createElement("h4", null, t("labels.title"))), /*#__PURE__*/React__default.createElement("form", {
|
|
25716
|
+
action: "javascript:void(0);",
|
|
25717
|
+
className: "plc-mt-2 pelcro-form"
|
|
25718
|
+
}, /*#__PURE__*/React__default.createElement(VerifyLinkTokenContainer, props, /*#__PURE__*/React__default.createElement(VerifyLinkTokenLoader, null), /*#__PURE__*/React__default.createElement(AlertWithContext, null))));
|
|
25719
|
+
}
|
|
25720
|
+
|
|
25721
|
+
/**
|
|
25722
|
+
*
|
|
25723
|
+
*/
|
|
25724
|
+
|
|
25725
|
+
function VerifyLinkTokenModal({
|
|
25726
|
+
onDisplay,
|
|
25727
|
+
onClose,
|
|
25728
|
+
...props
|
|
25729
|
+
}) {
|
|
25730
|
+
useTranslation("verifyLinkToken");
|
|
25731
|
+
const {
|
|
25732
|
+
resetView
|
|
25733
|
+
} = usePelcro();
|
|
25734
|
+
|
|
25735
|
+
const onSuccess = res => {
|
|
25736
|
+
var _props$onSuccess;
|
|
25737
|
+
|
|
25738
|
+
(_props$onSuccess = props.onSuccess) === null || _props$onSuccess === void 0 ? void 0 : _props$onSuccess.call(props, res);
|
|
25739
|
+
resetView();
|
|
25740
|
+
};
|
|
25741
|
+
|
|
25742
|
+
return /*#__PURE__*/React__default.createElement(Modal, {
|
|
25743
|
+
id: "pelcro-login-modal",
|
|
25744
|
+
onDisplay: onDisplay,
|
|
25745
|
+
onClose: onClose
|
|
25746
|
+
}, /*#__PURE__*/React__default.createElement(ModalBody, null, /*#__PURE__*/React__default.createElement(VerifyLinkTokenView, Object.assign({}, props, {
|
|
25747
|
+
onSuccess: onSuccess
|
|
25748
|
+
}))), /*#__PURE__*/React__default.createElement(ModalFooter, null, /*#__PURE__*/React__default.createElement(Authorship, null)));
|
|
25749
|
+
}
|
|
25750
|
+
VerifyLinkTokenModal.viewId = "passwordless-login";
|
|
25751
|
+
|
|
25544
25752
|
const InvoicePaymentContainer = props => /*#__PURE__*/React__default.createElement(PaymentMethodContainer, Object.assign({
|
|
25545
25753
|
type: "invoicePayment",
|
|
25546
25754
|
className: "pelcro-invoice-payment-container"
|
|
@@ -25772,4 +25980,4 @@ const InvoiceDetailsModal = ({
|
|
|
25772
25980
|
};
|
|
25773
25981
|
InvoiceDetailsModal.viewId = "invoice-details";
|
|
25774
25982
|
|
|
25775
|
-
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, InvoiceDetailsContainer, InvoiceDetailsDownloadButton, InvoiceDetailsModal, InvoiceDetailsPayButton, InvoiceDetailsView, InvoicePaymentContainer, InvoicePaymentModal, InvoicePaymentView, 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, invoicePaymentSubmitButton, notify, unauthenticatedButtons, usePelcro };
|
|
25983
|
+
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, InvoiceDetailsContainer, InvoiceDetailsDownloadButton, InvoiceDetailsModal, InvoiceDetailsPayButton, InvoiceDetailsView, InvoicePaymentContainer, InvoicePaymentModal, InvoicePaymentView, 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, VerifyLinkTokenContainer, VerifyLinkTokenLoader, VerifyLinkTokenModal, VerifyLinkTokenView, authenticatedButtons, i18next as i18n, init$1 as initButtons, init as initContentEntitlement, invoicePaymentSubmitButton, notify, unauthenticatedButtons, usePelcro };
|