!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define(["globals"],t):"object"==typeof exports?exports.cd3fh=t():e.cd3fh=t()}(this,(function(globals){var $w=globals.$w,$ns=globals.$ns,console=(globals.$wixContext,globals.$widget,globals.console),elementorySupport=globals.elementorySupport,e=globals.generateWebMethodUrl||((e,t)=>`/_webMethods/${t}/${e}.ajax`);return function(){var t={799:function(t,n){n.A8=function(){return elementorySupport.getJSON(e("resendVerificationEmail","backend/register.web.js"),arguments,void 0,void 0)}}},n={};function o(e){var i=n[e];if(void 0!==i)return i.exports;var r=n[e]={exports:{}};return t[e](r,r.exports,o),r.exports}o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,{a:t}),t},o.d=function(e,t){for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return function(){"use strict";o.r(i);var e=$ns["wix-window"],t=o.n(e),n=o(799);$w.onReady((function(){var e=t().lightbox.getContext(),o=e.email,i=e.memberId,r=e.token;$w("#verificationEmailLightboxText").text="We’ve sent a verification email to ".concat(o,". Please click the link in the email to complete your registration. Can't find the email? Check your spam folder."),$w("#resendEmailButton").disable();var a=180,c=setInterval((function(){a<=0?(clearInterval(c),$w("#resendEmailButton").enable(),$w("#countdownTimer").hide()):(a--,$w("#countdownTimer").text="Please wait ".concat(a," seconds before resending."))}),1e3);$w("#resendEmailButton").onClick((function(){$w("#resendEmailButton").disable(),(0,n.A8)(i,r,o).then((function(e){e.success?$w("#verificationEmailLightboxText").text="A new verification email has been sent. Check your inbox and spam folder.":$w("#verificationEmailLightboxText").text="Failed to resend verification email. Please contact support."})).catch((function(e){console.error("Error resending verification email:",e),$w("#verificationEmailLightboxText").text="An error occurred. Please try again or contact support."}))}))}))}(),i}()})); //# sourceMappingURL=https://bundler.wix-code.com/8980537a-1633-4e71-a2ca-dd2e84efc99a/3c4e9899-e0c9-4580-ac6a-d583ef0af03c/e2534d14-ba98-42a9-86a7-75a88ad72c2c/pages/cd3fh.js.map?get-app-def-id-from-package-name=false&disable-yarn-pnp-mode=false