{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/1KQjADGrXUlQpFMSAUnR/mVDrdUfPnFAzpIxnUn3I/UpdatePasswordForm.js"],
  "sourcesContent": ["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useEffect,useMemo,useState}from\"react\";// @ts-ignore\nimport{addPropertyControls,ControlType,withCSS}from\"framer\";// @ts-ignore\nimport{auth}from\"https://cdn.framerauth.com/packages/sdk/live/latest/framerauth.esm.js\";import BaseForm,{basePropertyControls}from\"https://framerusercontent.com/modules/ExV5oOjPmSTY0gHEjmby/NpqywsqBSPokrP5l2Kmw/BaseForm.js\";//////////////////////////////////\n/////// FORM CONFIGURATION ///////\n//////////////////////////////////\n// Define inputs\nconst baseInputs=[{label:\"Email\",name:\"email\",type:\"email\",required:true,extra:false,placeholder:\"Email\"},{label:\"Password\",name:\"password\",type:\"password\",required:true,extra:false,placeholder:\"Password\"},{label:\"Confirm Password\",name:\"confirm_password\",type:\"password\",required:true,extra:false,placeholder:\"Password\"}];const formId=\"change_password\"// Unique form ID for this form.\n;const defaultButtonLabel=\"Update password\"// Default submit button label on this form.\n;const exposePasswordVisibilityToggle=true// Expose password visibility toggle property for password inputs.\n;const exposePasswordValidator=true// Expose password validator property for password inputs.\n;const buttonLabelKey=`${formId}_button_label`// Key for button label property control.\n;/**\n * Change Password Form\n * By Joel Whitaker\n *\n * @framerDisableUnlink\n *\n * @framerIntrinsicWidth 300\n * @framerIntrinsicHeight 40\n *\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight any\n */const UpdatePasswordForm=withCSS(function UpdatePasswordForm({...baseProps}){var _window_location,_window;const passwordValidationShadowStyles=baseProps.passwordValidator.shadowObject?`${baseProps.passwordValidator.shadowObject.shadowX}px ${baseProps.passwordValidator.shadowObject.shadowY}px ${baseProps.passwordValidator.shadowObject.shadowBlur}px ${baseProps.passwordValidator.shadowObject.shadowColor}`:null;const[inputs,setInputs]=useState(baseInputs)// We can override inputs with property controls.\n;const[passwordValidation,setPasswordValidation]=useState({uppercase:false,lowercase:false,digit:false,special:false,length:false});const queryString=(_window=window)===null||_window===void 0?void 0:(_window_location=_window.location)===null||_window_location===void 0?void 0:_window_location.search;const urlParams=new URLSearchParams(queryString);const code=urlParams.get(\"code\");const buttonProps=useMemo(()=>{// Map button label to button\n// This is to avoid style copy-pasting of the button label.\nreturn{...baseProps.button,label:baseProps.button[buttonLabelKey]};},[baseProps.button,baseProps.button[buttonLabelKey]]);useEffect(()=>{// Map input labels to inputs\nif(baseProps.inputFields){const newInputs=[];baseInputs.forEach((input,_idx)=>{const inputControlName=snakeToCamel(input.name);if(!(inputControlName in baseProps.inputFields)){// If the input is not in the inputFields object, skip it.\nconsole.log(`Input ${inputControlName} not found in inputFields object.`);return;}const inputField=baseProps.inputFields[inputControlName];const display=inputField.display;const label=inputField.label;const placeholder=label;if(display===true||display===undefined){newInputs.push({...input,label,placeholder});}});setInputs(newInputs);}},[baseProps.inputFields]);const renderValidationMessage=(message,isValid)=>{var _baseProps_passwordValidator_font,_baseProps_label_font;return /*#__PURE__*/_jsxs(\"div\",{style:{color:baseProps.passwordValidator.color||baseProps.label.color,...baseProps.passwordValidator.font||baseProps.label.font,opacity:isValid?1:.5,display:\"flex\",alignItems:\"center\"},children:[isValid?/*#__PURE__*/_jsx(\"svg\",{xmlns:\"http://www.w3.org/2000/svg\",width:\"16\",height:\"16\",fill:\"currentColor\",viewBox:\"0 0 16 16\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M13.78 4.22a.75.75 0 010 1.06l-7.25 7.25a.75.75 0 01-1.06 0L2.22 9.28a.75.75 0 011.06-1.06L6 10.94l6.72-6.72a.75.75 0 011.06 0z\"})}):/*#__PURE__*/_jsx(\"svg\",{xmlns:\"http://www.w3.org/2000/svg\",width:\"16\",height:\"16\",fill:\"currentColor\",viewBox:\"0 0 16 16\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M7.47 6.97L4.22 3.72a.75.75 0 00-1.06 1.06L6.38 8l-3.22 3.22a.75.75 0 101.06 1.06L7.47 9.06l3.25 3.25a.75.75 0 001.06-1.06L8.53 8l3.25-3.25a.75.75 0 00-1.06-1.06L7.47 6.94v.03z\"})}),\" \",/*#__PURE__*/_jsx(\"span\",{style:{flex:1,marginLeft:\"5px\",textAlign:((_baseProps_passwordValidator_font=baseProps.passwordValidator.font)===null||_baseProps_passwordValidator_font===void 0?void 0:_baseProps_passwordValidator_font.textAlign)||((_baseProps_label_font=baseProps.label.font)===null||_baseProps_label_font===void 0?void 0:_baseProps_label_font.textAlign)},children:message})]});};const onSubmit=async formData=>{// Test password validation\nconst validateResult=validatePassword(formData.password);if(Object.values(validateResult).some(v=>v===false)){setPasswordValidation(validateResult);return{ok:false,message:\"Password does not meet requirements.\"};}// Check if passwords match\nif(formData.password!==formData.confirm_password){return{ok:false,message:\"Passwords must match.\"};}// Update user's password with API\nconst{data:_,error}=await auth.updatePasswordForEmail({code:code,email:formData.email,password:formData.password});if(error){return{ok:false,message:error.message};}return{ok:true,message:\"Your password has been changed.\"};};const handleOnChange=field=>{if(field.name===\"password\"){// Validate password whenever the input value is changed, eg when user is typing\nsetPasswordValidation(validatePassword(field.value));}};return /*#__PURE__*/_jsxs(\"div\",{style:{width:\"100%\",height:\"auto\",display:\"flex\",flexDirection:\"column\",position:\"relative\",gap:baseProps.gap},children:[/*#__PURE__*/_jsx(BaseForm,{...baseProps,button:buttonProps,inputs:inputs,onSubmit:onSubmit,onInputChange:handleOnChange}),baseProps.displayPasswordValidator&&/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",borderRadius:baseProps.passwordValidator.borderRadius,background:baseProps.passwordValidator.fill,paddingTop:baseProps.passwordValidator.paddingTop,paddingRight:baseProps.passwordValidator.paddingRight,paddingBottom:baseProps.passwordValidator.paddingBottom,paddingLeft:baseProps.passwordValidator.paddingLeft,gap:baseProps.passwordValidator.gap,border:baseProps.passwordValidator.borderObject?`${baseProps.passwordValidator.borderObject.borderWidth}px solid ${baseProps.passwordValidator.borderObject.borderColor}`:undefined,boxShadow:passwordValidationShadowStyles||\"none\"},children:[renderValidationMessage(// \"At least 8 characters\",\nbaseProps.passwordValidator.labels.length,passwordValidation.length),renderValidationMessage(// \"At least one uppercase letter\",\nbaseProps.passwordValidator.labels.uppercase,passwordValidation.uppercase),renderValidationMessage(// \"At least one lowercase letter\",\nbaseProps.passwordValidator.labels.lowercase,passwordValidation.lowercase),renderValidationMessage(// \"At least one digit\",\nbaseProps.passwordValidator.labels.digit,passwordValidation.digit),renderValidationMessage(// \"At least one special character\",\nbaseProps.passwordValidator.labels.special,passwordValidation.special)]})]});},[]);const validatePassword=password=>{const regex={uppercase:/[A-Z]/,lowercase:/[a-z]/,digit:/\\d/,special:/\\W|_/,length:/.{8,}/};return{uppercase:regex.uppercase.test(password),lowercase:regex.lowercase.test(password),digit:regex.digit.test(password),special:regex.special.test(password),length:regex.length.test(password)};};const snakeToCamel=str=>{return str.split(\"_\").map((word,index)=>{if(index===0){return word;}return word.charAt(0).toUpperCase()+word.slice(1);}).join(\"\");};// Here we can override property controls if we don't want to expose them to the user.\n// We generate the inputs property controls dynamically based on the inputs array.\nconst inputsPropertyControls={};baseInputs.forEach((input,_idx)=>{const inputControlName=snakeToCamel(input.name);inputsPropertyControls[inputControlName]={title:`${input.label}`,type:ControlType.Object,controls:{display:input.extra===true?{title:\"Display\",type:ControlType.Boolean,defaultValue:true}:undefined,label:{title:\"Label\",type:ControlType.String,defaultValue:input.label}}};});const exportBasePropertyControls={...basePropertyControls,inputFields:{title:\"Inputs\",type:ControlType.Object,controls:inputsPropertyControls},link:{title:\"Redirect\",type:ControlType.Link},input:{...basePropertyControls.input,controls:{...basePropertyControls.input.controls,icon:exposePasswordVisibilityToggle?{type:ControlType.Object,title:\"Icon\",controls:{showPasswordVisibilityIcon:{title:\"Activated\",type:ControlType.Boolean,defaultValue:true},color:{title:\"Color\",type:ControlType.Color,defaultValue:\"#000\",hidden:props=>!props.showPasswordVisibilityIcon}}}:undefined}},button:{// Inject default button label\n...basePropertyControls.button,controls:{...basePropertyControls.button.controls,label:undefined,[buttonLabelKey]:{...basePropertyControls.button.controls.label,defaultValue:defaultButtonLabel}}},displayPasswordValidator:{title:\"Password Validator\",type:ControlType.Boolean,defaultValue:true,hidden:!exposePasswordValidator},passwordValidator:{title:\"Password Validator\",type:ControlType.Object,hidden:props=>!exposePasswordValidator||!props.displayPasswordValidator,controls:{font:{type:ControlType.Font,title:\"Font\",controls:\"extended\"},fill:{title:\"Fill\",type:ControlType.Color,defaultValue:\"transparent\"},color:{title:\"Text\",type:ControlType.Color,defaultValue:\"#000\"},padding:{title:\"Padding\",type:ControlType.FusedNumber,toggleKey:\"paddingPerSide\",toggleTitles:[\"Padding\",\"Padding per side\"],valueKeys:[\"paddingTop\",\"paddingRight\",\"paddingBottom\",\"paddingLeft\"],valueLabels:[\"T\",\"R\",\"B\",\"L\"],min:0},gap:{title:\"Gap\",type:ControlType.Number,defaultValue:10,min:0},borderRadius:{title:\"Radius\",type:ControlType.Number,displayStepper:true,min:0},labels:{type:ControlType.Object,title:\"Labels\",controls:{length:{title:\"Length\",type:ControlType.String,defaultValue:\"At least 8 characters\"},uppercase:{title:\"Uppercase\",type:ControlType.String,defaultValue:\"At least one uppercase letter\"},lowercase:{title:\"Lowercase\",type:ControlType.String,defaultValue:\"At least one lowercase letter\"},digit:{title:\"Digit\",type:ControlType.String,defaultValue:\"At least one digit\"},special:{title:\"Special\",type:ControlType.String,defaultValue:\"At least one special character\"}}},borderObject:{type:ControlType.Object,title:\"Border\",optional:true,controls:{borderWidth:{title:\"Width\",type:ControlType.Number,displayStepper:true,defaultValue:1},borderColor:{title:\"Color\",type:ControlType.Color,defaultValue:\"rgba(200,200,200,0.5)\"}}},shadowObject:{type:ControlType.Object,title:\"Shadow\",optional:true,controls:{shadowColor:{title:\"Color\",type:ControlType.Color},shadowX:{title:\"X\",type:ControlType.Number,min:-100,max:100},shadowY:{title:\"Y\",type:ControlType.Number,min:-100,max:100},shadowBlur:{title:\"Blur\",type:ControlType.Number,min:0,max:100}}}}}};// @ts-ignore - TS doesn't like our basePropertyControls type.\naddPropertyControls(UpdatePasswordForm,exportBasePropertyControls);UpdatePasswordForm.defaultProps={...BaseForm.defaultProps,...UpdatePasswordForm.defaultProps};export default UpdatePasswordForm;\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"UpdatePasswordForm\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"any\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerDisableUnlink\":\"*\",\"framerIntrinsicHeight\":\"40\",\"framerIntrinsicWidth\":\"300\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./UpdatePasswordForm.map"],
  "mappings": "sLAMA,IAAMA,EAAW,CAAC,CAAC,MAAM,QAAQ,KAAK,QAAQ,KAAK,QAAQ,SAAS,GAAK,MAAM,GAAM,YAAY,OAAO,EAAE,CAAC,MAAM,WAAW,KAAK,WAAW,KAAK,WAAW,SAAS,GAAK,MAAM,GAAM,YAAY,UAAU,EAAE,CAAC,MAAM,mBAAmB,KAAK,mBAAmB,KAAK,WAAW,SAAS,GAAK,MAAM,GAAM,YAAY,UAAU,CAAC,EAAQC,EAAO,kBACzUC,EAAmB,kBACnBC,EAA+B,GAC/BC,EAAwB,GACxBC,EAAe,GAAGJ,CAAM,gBAYtBK,EAAmBC,EAAQ,SAA4B,CAAC,GAAGC,CAAS,EAAE,CAAC,IAAIC,EAAiBC,EAAQ,IAAMC,EAA+BH,EAAU,kBAAkB,aAAa,GAAGA,EAAU,kBAAkB,aAAa,OAAO,MAAMA,EAAU,kBAAkB,aAAa,OAAO,MAAMA,EAAU,kBAAkB,aAAa,UAAU,MAAMA,EAAU,kBAAkB,aAAa,WAAW,GAAG,KAAU,CAACI,EAAOC,CAAS,EAAEC,EAASd,CAAU,EACpc,CAACe,EAAmBC,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AAY,OAAO,eAAe,GAAK,aAAa,CAAC,EAAE,YAAY,CAAC,MAAM,QAAQ,KAAKA,EAAY,MAAM,aAAa,uBAAuB,CAAC,CAAC,EAAE,aAAa,CAAC,KAAKA,EAAY,OAAO,MAAM,SAAS,SAAS,GAAK,SAAS,CAAC,YAAY,CAAC,MAAM,QAAQ,KAAKA,EAAY,KAAK,EAAE,QAAQ,CAAC,MAAM,IAAI,KAAKA,EAAY,OAAO,IAAI,KAAK,IAAI,GAAG,EAAE,QAAQ,CAAC,MAAM,IAAI,KAAKA,EAAY,OAAO,IAAI,KAAK,IAAI,GAAG,EAAE,WAAW,CAAC,MAAM,OAAO,KAAKA,EAAY,OAAO,IAAI,EAAE,IAAI,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,EAC1lEI,EAAoBtD,EAAmBmD,CAA0B,EAAEnD,EAAmB,aAAa,CAAC,GAAG2C,EAAS,aAAa,GAAG3C,EAAmB,YAAY,EAAE,IAAOuD,GAAQvD",
  "names": ["baseInputs", "formId", "defaultButtonLabel", "exposePasswordVisibilityToggle", "exposePasswordValidator", "buttonLabelKey", "UpdatePasswordForm", "withCSS", "baseProps", "_window_location", "_window", "passwordValidationShadowStyles", "inputs", "setInputs", "ye", "passwordValidation", "setPasswordValidation", "queryString", "window", "code", "buttonProps", "se", "ue", "newInputs", "input", "_idx", "inputControlName", "snakeToCamel", "inputField", "display", "label", "placeholder", "renderValidationMessage", "message", "isValid", "_baseProps_passwordValidator_font", "_baseProps_label_font", "u", "p", "onSubmit", "formData", "validateResult", "validatePassword", "v", "_", "error", "N", "handleOnChange", "field", "BaseForm_default", "password", "regex", "str", "word", "index", "inputsPropertyControls", "ControlType", "exportBasePropertyControls", "basePropertyControls", "props", "addPropertyControls", "UpdatePasswordForm_default"]
}
