{
  "version": 3,
  "sources": ["ssg:https://framer.com/m/framer/store.js@^1.0.0", "ssg:https://framerusercontent.com/modules/MVzz2HKOSVPXKxZqPZdW/TqcitBC3zIme9QoXbJuf/SharedFormCode.js", "ssg:https://framerusercontent.com/modules/MzEVLk1keIMeijYoJIKe/11QzISY1bPcLhsYI38eW/SubmitButton.js", "ssg:https://framer.com/m/framer/utils.js@^0.9.0", "ssg:https://framerusercontent.com/modules/qCdlmIrWtRVyQSApbULI/nN9paTUll7Cj9L3WLsNv/Examples.js", "ssg:https://framerusercontent.com/modules/V59wttelZuiLRosougLs/0cKvEIKUKQ0lXLtXDCXY/FormField.js", "ssg:https://framerusercontent.com/modules/AvfhfU9pmWUIBYQNvjck/0jtJiWqPW7LS8bar3oVf/UgVcKvEo3.js"],
  "sourcesContent": ["import{useState,useEffect}from\"react\";import{Data,useObserveData}from\"framer\";export function createStore(state1){// Use Data so that a Preview reload resets the state\nconst dataStore=Data({state:Object.freeze({...state1})});// Create a set function that updates the state\nconst setDataStore=newState=>{// If the state is an object, make sure we copy it\nif(typeof newState===\"function\"){newState=newState(dataStore.state);}dataStore.state=Object.freeze({...dataStore.state,...newState});};// Store the initial state, copy the object if it's an object\nlet storeState=typeof state1===\"object\"?Object.freeze({...state1}):state1;// Keep a list of all the listeners, in the form of React hook setters\nconst storeSetters=new Set();// Create a set function that updates all the listeners / setters\nconst setStoreState=newState=>{// If the state is an object, make sure we copy it\nif(typeof newState===\"function\"){newState=newState(storeState);}storeState=typeof newState===\"object\"?Object.freeze({...storeState,...newState}):newState;// Update all the listeners / setters with the new value\nstoreSetters.forEach(setter=>setter(storeState));};// Create the actual hook based on everything above\nfunction useStore(){// Create the hook we are going to use as a listener\nconst[state,setState]=useState(storeState);// If we unmount the component using this hook, we need to remove the listener\n// @ts-ignore\nuseEffect(()=>{// But right now, we need to add the listener\nstoreSetters.add(setState);return()=>storeSetters.delete(setState);},[]);// If Data context exists, use Data, otherwise use vanilla React state\nif(useObserveData()===true){useObserveData();return[dataStore.state,setDataStore];}else{// Return the state and a function to update the central store\nreturn[state,setStoreState];}}return useStore;}\nexport const __FramerMetadata__ = {\"exports\":{\"createStore\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./createStore.map", "import{jsx as e}from\"react/jsx-runtime\";import{ControlType as t}from\"framer\";import{createStore as o}from\"https://framer.com/m/framer/store.js@^1.0.0\";export const useFormStore=o({});export function FormIcon(t){var o;let{icon:i,style:r}=t;return i?[/*#__PURE__*/e(\"div\",{className:\"form-icon\",style:{width:i.size,height:i.size,opacity:i.opacity,color:i.color||t.fontColor,backgroundImage:\"image\"==i.type&&`url(${null===(o=i.image)||void 0===o?void 0:o.src})`,backgroundSize:\"cover\",backgroundPosition:\"center\",pointerEvents:\"none\",...r},dangerouslySetInnerHTML:\"svg\"==i.type?{__html:i.svg.replace(/width=\"(\\d+)\"/,`width=\"${i.size}\"`).replace(/height=\"(\\d+)\"/,`width=\"${i.size}\"`)}:void 0}),(null==i?void 0:i.type)==\"svg\"&&/*#__PURE__*/e(\"style\",{children:\".form-icon svg { display: block; }\"})]:null;}export const iconPropertyControls={type:t.Object,optional:!0,controls:{position:{type:t.Enum,defaultValue:\"left\",options:[\"left\",\"right\"],optionTitles:[\"Left\",\"Right\"],displaySegmentedControl:!0},gap:{type:t.Number,defaultValue:12,min:0,step:1},type:{type:t.Enum,defaultValue:\"svg\",options:[\"svg\",\"image\"],optionTitles:[\"SVG\",\"Image\"],displaySegmentedControl:!0},svg:{type:t.String,placeholder:\"<svg></svg>\",displayTextArea:!0,title:\"SVG\",hidden:e=>\"svg\"!=e.type},image:{type:t.ResponsiveImage,hidden:e=>\"image\"!=e.type},color:{type:t.Color,optional:!0,hidden:e=>\"svg\"!=e.type},size:{type:t.Number,defaultValue:24,min:1,step:1},opacity:{type:t.Number,defaultValue:1,min:0,max:1,step:.01}}};\nexport const __FramerMetadata__ = {\"exports\":{\"FormIcon\":{\"type\":\"reactComponent\",\"name\":\"FormIcon\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"iconPropertyControls\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useFormStore\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SharedFormCode.map", "import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,Link}from\"framer\";import{useEffect,useState,useRef}from\"react\";import{FormIcon,iconPropertyControls,useFormStore}from\"https://framerusercontent.com/modules/MVzz2HKOSVPXKxZqPZdW/TqcitBC3zIme9QoXbJuf/SharedFormCode.js\";export default function SubmitButton(props){var _props_font;const{clickAction,submitUrl,responseInfo,redirectOnSuccess,scrollOptions,icon,border,success,failure}=props;const borderRadius=props.radiusIsMixed?`${props.radiusTopLeft}px ${props.radiusTopRight}px ${props.radiusBottomRight}px ${props.radiusBottomLeft}px`:`${props.radius}px`;const[formState,setFormState]=useFormStore();const[submitted,setSubmitted]=useState(false);const redirectLinkRef=useRef(null);// Reset/clear form\nfunction resetFormState(){setFormState(prev=>{const newFormState={};for(const fieldName in prev){newFormState[fieldName]={...prev[fieldName],value:prev[fieldName].defaultValue};}return newFormState;});}useEffect(()=>{setFormState({});},[]);async function onSubmitClick(){const invalidFields=[];const formData={};if(submitted){return;}// Find invalid fields\nfor(const fieldName in formState){const field=formState[fieldName];formData[fieldName]=field.value;if(field.visible&&!field.isValid(field.value)){invalidFields.push(fieldName);}}if(invalidFields.length==0){if(clickAction==\"submitForm\"){const url=submitUrl.replace(\"submit-form.com\",\"api.formspark.io\");// Add URL to form response\nif(responseInfo.url){formData[responseInfo.urlName]=window.location.href;}// Add UTM parameters\nif(responseInfo.utmParams){const queryParams=new URLSearchParams(window.location.search);queryParams.forEach((value,key)=>{// Check if the key starts with 'utm_' (indicating it's a UTM parameter)\nif(key.startsWith(\"utm_\")){formData[key]=value;}});}setSubmitted(true);try{const response=await fetch(url,{method:\"POST\",mode:url.includes(\"submit-form.com\")||url.includes(\"api.formspark.io\")||url.includes(\".make.com\")// Fix CORS issues with Formspark and Make.com\n?\"cors\":\"no-cors\",body:JSON.stringify(formData),headers:{\"Content-Type\":\"application/json\",Accept:\"application/json\"}});if(response.ok||response.type==\"opaque\"){if((redirectOnSuccess===null||redirectOnSuccess===void 0?void 0:redirectOnSuccess.length)&&redirectLinkRef.current){redirectLinkRef.current.click();}resetFormState();success===null||success===void 0?void 0:success();}else{failure===null||failure===void 0?void 0:failure();setSubmitted(false);}}catch(error){console.error(\"Error submitting form: \",error);failure===null||failure===void 0?void 0:failure();setSubmitted(false);}}else{// Validate form without submitting to URL\nsuccess===null||success===void 0?void 0:success();setSubmitted(false);}}else{console.log(\"Not all required form fields are filled:\",invalidFields.join(\", \"));if(scrollOptions){// Scroll to first invalid field\nlet closestRef=null;let closestDistance=Number.POSITIVE_INFINITY;for(const fieldName in formState){const ref=formState[fieldName].ref;if(invalidFields.includes(fieldName)&&ref.current){const rect=ref.current.getBoundingClientRect();const distance=rect.top+window.pageYOffset;if(distance>=0&&distance<closestDistance){closestRef=ref;closestDistance=distance;}}}if(closestRef){window.scrollTo({behavior:\"smooth\",top:closestRef.current.getBoundingClientRect().top-document.body.getBoundingClientRect().top+scrollOptions.offset});}}setSubmitted(false);failure===null||failure===void 0?void 0:failure();}}return /*#__PURE__*/_jsxs(\"button\",{type:\"submit\",onClick:onSubmitClick,style:{position:\"relative\",display:\"flex\",flexDirection:(icon===null||icon===void 0?void 0:icon.position)==\"right\"?\"row-reverse\":\"row\",gap:icon===null||icon===void 0?void 0:icon.gap,alignItems:\"center\",justifyContent:((_props_font=props.font)===null||_props_font===void 0?void 0:_props_font.textAlign)||\"center\",color:props.fontColor,border:\"none\",outline:\"none\",cursor:\"pointer\",userSelect:props.textSelect?\"auto\":\"none\",borderRadius:borderRadius,padding:props.paddingIsMixed?`${props.paddingTop}px ${props.paddingRight}px ${props.paddingBottom}px ${props.paddingLeft}px`:`${props.padding}px`,backgroundColor:props.backgroundColor,accentColor:props.accentColor,...props.font,...props.style},children:[/*#__PURE__*/_jsx(FormIcon,{icon:icon,style:{}}),props.text,border&&/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",inset:0,borderWidth:border.widthIsMixed?`${border.widthTop}px ${border.widthRight}px ${border.widthBottom}px ${border.widthLeft}px`:`${border.width}px`,borderStyle:border.style,borderColor:border.color,borderRadius:borderRadius,pointerEvents:\"none\"}}),redirectOnSuccess&&/*#__PURE__*/_jsx(Link,{ref:redirectLinkRef,href:redirectOnSuccess,openInNewTab:props.newTab,smoothScroll:false,children:/*#__PURE__*/_jsx(\"a\",{})})]});}SubmitButton.displayName=\"Submit Button\";addPropertyControls(SubmitButton,{// formHolder: {\n//     type: ControlType.ScrollSectionRef,\n// },\nclickAction:{type:ControlType.Enum,defaultValue:\"submitForm\",options:[\"submitForm\",\"validateForm\"],optionTitles:[\"Submit Form\",\"Validate Form\"]},submitUrl:{title:\"Submit URL\",type:ControlType.String,defaultValue:\"\",hidden:props=>props.clickAction!=\"submitForm\"},responseInfo:{type:ControlType.Object,buttonTitle:\"Options\",controls:{utmParams:{type:ControlType.Boolean,defaultValue:false,description:\"Include UTM parameters in the form response.\",title:\"UTM Params\"},url:{type:ControlType.Boolean,defaultValue:false,description:\"Include the page URL in the form response.\",title:\"URL\"},urlName:{type:ControlType.String,defaultValue:\"url\",description:\"Form response field name.\",title:\"URL Name\",hidden:props=>!props.url}},hidden:props=>props.clickAction!=\"submitForm\"},redirectOnSuccess:{type:ControlType.Link,hidden:props=>props.clickAction!=\"submitForm\"},newTab:{type:ControlType.Boolean,defaultValue:false,hidden:props=>props.clickAction!=\"submitForm\"},backgroundColor:{type:ControlType.Color,defaultValue:\"#0075FF\",title:\"Background\"},fontColor:{type:ControlType.Color,defaultValue:\"#FFF\"},font:{type:\"font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontWeight:700,fontSize:16,lineHeight:1}},text:{type:ControlType.String,defaultValue:\"Submit\"},scrollToInvalidField:{type:ControlType.Object,defaultValue:{offset:-24},optional:true,controls:{offset:{type:ControlType.Number,defaultValue:-24,step:1}}},border:{type:ControlType.Object,optional:true,controls:{color:{type:ControlType.Color,defaultValue:\"#222\"},width:{type:ControlType.FusedNumber,defaultValue:1,toggleKey:\"widthIsMixed\",toggleTitles:[\"All\",\"Individual\"],valueKeys:[\"widthTop\",\"widthRight\",\"widthBottom\",\"widthLeft\"],valueLabels:[\"T\",\"R\",\"B\",\"L\"],min:1},style:{type:ControlType.Enum,defaultValue:\"solid\",options:[\"solid\",\"dashed\",\"dotted\",\"double\"],optionTitles:[\"Solid\",\"Dashed\",\"Dotted\",\"Double\"]}}},icon:iconPropertyControls,padding:{type:ControlType.FusedNumber,defaultValue:16,toggleKey:\"paddingIsMixed\",toggleTitles:[\"All\",\"Individual\"],valueKeys:[\"paddingTop\",\"paddingRight\",\"paddingBottom\",\"paddingLeft\"],valueLabels:[\"T\",\"R\",\"B\",\"L\"],min:0},radius:{type:ControlType.FusedNumber,defaultValue:8,toggleKey:\"radiusIsMixed\",toggleTitles:[\"All\",\"Individual\"],valueKeys:[\"radiusTopLeft\",\"radiusTopRight\",\"radiusBottomRight\",\"radiusBottomLeft\"],valueLabels:[\"TL\",\"TR\",\"BR\",\"BL\"],min:0},textSelect:{type:ControlType.Boolean,defaultValue:false},success:{type:ControlType.EventHandler},failure:{type:ControlType.EventHandler}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"SubmitButton\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SubmitButton.map", "export const centerContent = {\n    display: \"flex\",\n    justifyContent: \"center\",\n    alignItems: \"center\"\n};\nexport const autoSizingText = {\n    width: \"max-content\",\n    wordBreak: \"break-word\",\n    overflowWrap: \"break-word\",\n    overflow: \"hidden\",\n    whiteSpace: \"pre-wrap\",\n    flexShrink: 0\n};\nexport const defaultContainerStyles = {\n    ...centerContent,\n    overflow: \"hidden\"\n};\nexport const containerStyles = defaultContainerStyles;\nexport const randomColor = ()=>\"#\" + Math.floor(Math.random() * 16777215).toString(16)\n;\n\nexport const __FramerMetadata__ = {\"exports\":{\"centerContent\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"containerStyles\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"autoSizingText\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"defaultContainerStyles\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"randomColor\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}}}}\n//# sourceMappingURL=./Utils.map", "import{jsx as r}from\"react/jsx-runtime\";import{createStore as t}from\"https://framer.com/m/framer/store.js@^1.0.0\";import{randomColor as o}from\"https://framer.com/m/framer/utils.js@^0.9.0\";// Learn more: https://www.framer.com/docs/guides/overrides/\nlet e=t({background:\"#0099FF\"});export function withRotate(t){return o=>/*#__PURE__*/r(t,{...o,animate:{rotate:90},transition:{duration:2}});}export function withHover(t){return o=>/*#__PURE__*/r(t,{...o,whileHover:{scale:1.05}});}export function withRandomColor(t){return n=>{let[a,i]=e();return /*#__PURE__*/r(t,{...n,animate:{background:a.background},onClick:()=>{i({background:o()});}});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withHover\":{\"type\":\"reactHoc\",\"name\":\"withHover\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withRandomColor\":{\"type\":\"reactHoc\",\"name\":\"withRandomColor\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withRotate\":{\"type\":\"reactHoc\",\"name\":\"withRotate\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Examples.map", "import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useEffect,useRef,useState}from\"react\";import{motion}from\"framer-motion\";import{FormIcon,iconPropertyControls,useFormStore}from\"https://framerusercontent.com/modules/MVzz2HKOSVPXKxZqPZdW/TqcitBC3zIme9QoXbJuf/SharedFormCode.js\";const NO_REQUIRED_TYPES=[\"checkbox\",\"consent\",\"slider\"];const ACCENT_COLOR_TYPES=[\"checkbox\",\"consent\",\"radio\",\"multiSelect\"];const OPTIONS_TYPES=[\"dropdown\",\"radio\",\"multiSelect\"];const TEXT_PLACEHOLDER_TYPES=[\"input\",\"textArea\"];const PLACEHOLDER_FONT_COLOR_TYPES=[\"input\",\"textArea\",\"number\",\"email\",\"phoneNumber\"];const GAP_TYPES=[\"checkbox\",\"consent\",\"slider\",\"nps\",\"phoneNumber\"];const GAP_HV_TYPES=[\"radio\",\"multiSelect\"];const MIN_MAX_STEP_TYPES=[\"number\",\"slider\"];const PHONE_NUMBER_FORMATS=[\"(123) 456 - 7890\",\"(123) 456-7890\",\"123-456-7890\",\"123.456.7890\",\"123 456 7890\",\"1234567890\",\"12-3456-7890\"];const DROPDOWN_ICON_HEIGHT=12;const DROPDOWN_NONE_SELECTED_VALUE=\"[{(None Selected)}]\";/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n */export default function FormField(props){var _formState_name;const{type,name,options,gap,border,icon,invalidStyle}=props;const elementId=name;const required=NO_REQUIRED_TYPES.includes(type)?true:props.required;const iconOnLeft=(icon===null||icon===void 0?void 0:icon.position)==\"left\";const pt=props.paddingIsMixed?props.paddingTop:props.padding;const pl=props.paddingIsMixed?props.paddingLeft:props.padding;const pb=props.paddingIsMixed?props.paddingBottom:props.padding;const pr=props.paddingIsMixed?props.paddingRight:props.padding;const plIcon=pl+(icon&&iconOnLeft?icon.size+icon.gap:0);const prIcon=pr+(icon&&!iconOnLeft?icon.size+icon.gap:0);const minHeight=icon?pt+icon.size+pb:undefined;const[formState,setFormState]=useFormStore();const value=(_formState_name=formState[name])===null||_formState_name===void 0?void 0:_formState_name.value;// Used by the phone number input field to record if the country code is the default\n// country code and should be hidden or if it was entered by the user and should be shown.\nconst[isSpecialValue,setIsSpecialValue]=useState(type==\"phoneNumber\"&&props.phoneNumberDefaultCountryCode.length>0);const[invalid,setInvalid]=useState(false);const invalidRef=useRef(false);const ref=useRef(null);function updateField(key,value){setFormState(prev=>({[name]:{...prev[name],[key]:value}}));}function invalidate(){invalidRef.current=true;setInvalid(true);}function revalidate(){invalidRef.current=false;setInvalid(false);}function isValid(value){let valid=true;if(required){switch(type){case\"input\":case\"textArea\":case\"phoneNumber\":valid=value&&value.length>0;break;case\"email\":valid=value&&value.length>0;break;case\"multiSelect\":valid=Array.isArray(value)&&value.length>0;break;case\"consent\":valid=value==\"on\";break;default:valid=value!=null;break;}}// Check email validity\nif(valid&&type==\"email\"){valid=isEmailAddress(value);}if(!valid){invalidate();}return valid;}useEffect(()=>{let value=null;switch(type){case\"input\":case\"textArea\":case\"email\":case\"phoneNumber\":value=\"\";break;case\"checkbox\":value=\"off\";break;case\"dropdown\":value=options.includes(props.dropdownDefaultValue)?props.dropdownDefaultValue:null;break;case\"multiSelect\":value=[];break;case\"slider\":value=props.sliderDefaultValue;break;}setFormState(prev=>{return{[name]:{ref,value:prev[name]?prev[name].value:value,defaultValue:value,name,required,visible:true,isValid}};});return()=>{updateField(\"visible\",false);};},[]);const borderRadius=props.radiusIsMixed?`${props.radiusTopLeft}px ${props.radiusTopRight}px ${props.radiusBottomRight}px ${props.radiusBottomLeft}px`:`${props.radius}px`;const style={flex:1,border:\"none\",outline:\"none\",backgroundColor:\"transparent\",padding:`${pt}px ${prIcon}px ${pb}px ${plIcon}px`,color:props.fontColor,...props.font,...props.style};function onChangeEventTargetValue(event){updateField(\"value\",event.target.value);}const elements=[];switch(type){case\"input\":elements.push(/*#__PURE__*/_jsx(\"input\",{value:value,onChange:onChangeEventTargetValue,onFocus:revalidate,style:style,placeholder:props.textPlaceholder}));break;case\"checkbox\":case\"consent\":elements.push(/*#__PURE__*/_jsxs(\"label\",{style:{display:\"flex\",flexDirection:\"row\",alignItems:\"center\",gap:gap,cursor:\"pointer\",...style},children:[/*#__PURE__*/_jsx(\"input\",{type:\"checkbox\",name:name,checked:value===\"on\",onChange:event=>{updateField(\"value\",event.target.checked?\"on\":type==\"checkbox\"?\"off\":null);},onFocus:revalidate,style:{margin:0,cursor:\"pointer\"}}),type==\"checkbox\"?props.checkboxText:props.consentText]}));break;case\"dropdown\":elements.push(/*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",...props.style},children:[/*#__PURE__*/_jsxs(\"select\",{value:!value?DROPDOWN_NONE_SELECTED_VALUE:value,onChange:event=>{updateField(\"value\",event.target.value==DROPDOWN_NONE_SELECTED_VALUE?null:event.target.value);},onFocus:revalidate,style:{appearance:\"none\",height:\"100%\",cursor:\"pointer\",margin:0,backgroundImage:\"none\",...style},children:[!options.includes(props.dropdownDefaultValue)&&/*#__PURE__*/_jsx(\"option\",{value:DROPDOWN_NONE_SELECTED_VALUE,disabled:true,children:props.dropdownNoneSelectedText}),options.map((option,index)=>/*#__PURE__*/_jsx(\"option\",{value:option,children:option},index))]}),/*#__PURE__*/_jsx(\"svg\",{xmlns:\"http://www.w3.org/2000/svg\",width:DROPDOWN_ICON_HEIGHT,height:DROPDOWN_ICON_HEIGHT,viewBox:\"0 0 18 18\",fill:\"none\",\"stroke-width\":\"2\",stroke:props.fontColor,\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",style:{display:\"block\",position:\"absolute\",right:icon&&!iconOnLeft?0:pr,top:`calc(50% - ${DROPDOWN_ICON_HEIGHT/2}px)`,pointerEvents:\"none\"},children:/*#__PURE__*/_jsx(\"path\",{d:\"M2 5.5L9 12.5L16 5.5\"})})]}));break;case\"textArea\":elements.push(/*#__PURE__*/_jsx(\"textarea\",{value:value,onChange:onChangeEventTargetValue,onFocus:revalidate,style:{display:\"block\",height:props.resizeable?props.textAreaDefaultHeight:100,minHeight:minHeight,resize:props.resizeable?\"vertical\":\"none\",...style},placeholder:props.textPlaceholder}));break;case\"multiSelect\":const multiSelectOnChange=event=>{const multiSelectValue=event.target.checked?[...value||[],event.target.name]:(value||[]).filter(v=>v!==event.target.name);updateField(\"value\",multiSelectValue);};elements.push(/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:props.gapV,...style},children:props.options.map((option,index)=>/*#__PURE__*/_jsxs(\"label\",{style:{display:\"flex\",flexDirection:\"row\",gap:props.gapH,alignItems:\"center\",cursor:\"pointer\"},children:[/*#__PURE__*/_jsx(\"input\",{type:\"checkbox\",name:option,checked:(Array.isArray(value)&&value||[]).includes(option),onChange:multiSelectOnChange,onFocus:revalidate,style:{margin:0,cursor:\"pointer\"}}),option]},index))}));break;case\"radio\":elements.push(/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:props.gapV,...style},children:props.options.map((option,index)=>/*#__PURE__*/_jsxs(\"label\",{style:{display:\"flex\",flexDirection:\"row\",gap:props.gapH,alignItems:\"center\",cursor:\"pointer\"},children:[/*#__PURE__*/_jsx(\"input\",{type:\"radio\",name:option,value:option,checked:value===option,onChange:onChangeEventTargetValue,onFocus:revalidate,style:{margin:0,cursor:\"pointer\"}}),option]},index))}));break;case\"number\":const numberUpdateFormState=event=>{const roundedValue=Math.round(Number(event.target.value)/props.step)*props.step;const boundedValue=Math.min(Math.max(roundedValue,props.min),props.max);updateField(\"value\",boundedValue);};const numberOnFocusLost=event=>{numberUpdateFormState(event);};const numberOnKeyDown=event=>{if(event.key===\"Enter\"){numberUpdateFormState(event);}};elements.push(/*#__PURE__*/_jsx(\"input\",{type:\"number\",value:value,onChange:onChangeEventTargetValue,onFocus:revalidate,onKeyDown:numberOnKeyDown,onBlur:numberOnFocusLost,style:style,placeholder:props.numberPlaceholder,min:props.min,max:props.max,step:props.step}));break;case\"slider\":var _handle_border,_handle_border1,_track_border,_track_border1,_props_sliderLabel;const track=props.sliderTrack;const handle=props.sliderHandle;const handleCSS=`appearance: none;\n                -webkit-appearance: none;\n                width: ${handle.size}px;\n                height: ${handle.size}px;\n                border-radius: 10000px;\n                background-color: ${handle.color};\n                box-sizing: border-box;\n                translate: 0 ${(-handle.size+track.height)/2-(track.border?Math.min(track.border.width,track.height/2):0)}px;\n                border-width: ${((_handle_border=handle.border)===null||_handle_border===void 0?void 0:_handle_border.width)||0}px;\n                border-style: ${handle.border?\"solid\":\"none\"};\n                border-color: ${((_handle_border1=handle.border)===null||_handle_border1===void 0?void 0:_handle_border1.color)||\"none\"};`;const trackCSS=`appearance: none;\n                -webkit-appearance: none;\n                height: ${track.height}px;\n                border-radius: 10000px;\n                background-color: ${track.color};\n                box-sizing: border-box;\n                border-width: ${((_track_border=track.border)===null||_track_border===void 0?void 0:_track_border.width)||0}px;\n                border-style: ${track.border?\"solid\":\"none\"};\n                border-color: ${((_track_border1=track.border)===null||_track_border1===void 0?void 0:_track_border1.color)||\"none\"};`;elements.push(/*#__PURE__*/_jsxs(\"div\",{// id={elementId}\nstyle:{display:\"flex\",flexDirection:((_props_sliderLabel=props.sliderLabel)===null||_props_sliderLabel===void 0?void 0:_props_sliderLabel.position)==\"right\"?\"row-reverse\":\"row\",gap:gap,alignItems:\"center\",...style},children:[props.sliderLabel&&/*#__PURE__*/_jsxs(\"p\",{style:{margin:0},children:[props.sliderLabel.prefix,value||props.sliderDefaultValue,props.sliderLabel.suffix]}),/*#__PURE__*/_jsx(\"input\",{type:\"range\",min:props.min,max:props.max,step:props.step,value:value||props.sliderDefaultValue,onChange:onChangeEventTargetValue,onFocus:revalidate,style:{flex:1,appearance:\"none\",outline:\"none\",margin:0,cursor:\"pointer\",height:Math.max(handle.size,track.height),background:\"none\"}})]}),/*#__PURE__*/_jsx(\"style\",{children:`#${elementId} input[type=range]::-webkit-slider-thumb {${handleCSS}}\n                    #${elementId} input[type=range]::-moz-range-thumb {${handleCSS}}\n\n                    #${elementId} input[type=range]::-webkit-slider-runnable-track {${trackCSS}}\n                    #${elementId} input[type=range]::-moz-range-track {${trackCSS}}\n                    #${elementId} input[type=range]::-moz-range-progress {${trackCSS}}\n                    `}));break;case\"nps\":const{npsButtons,npsLabels}=props;const{innerRadius,outerRadius}=npsButtons;const buttonBorder=npsButtons.border;elements.push(/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:gap,...style,width:undefined},children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",justifyContent:\"space-between\"},children:[/*#__PURE__*/_jsx(\"span\",{children:npsLabels.left}),/*#__PURE__*/_jsx(\"span\",{children:npsLabels.right})]}),/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",gap:npsButtons.gap},children:Array.from({length:props.npsMax+1}).map((_,index)=>{const selected=value==index;const radius=index==0?`${outerRadius}px ${innerRadius}px ${innerRadius}px ${outerRadius}px`:index==props.npsMax?`${innerRadius}px ${outerRadius}px ${outerRadius}px ${innerRadius}px`:`${innerRadius}px`;return /*#__PURE__*/_jsxs(motion.button,{animate:{backgroundColor:selected?npsButtons.selectedColor:npsButtons.deselectedColor,color:selected?npsButtons.selectedFontColor:npsButtons.deelectedFontColor},style:{position:\"relative\",flex:1,height:npsButtons.height,border:\"none\",outline:\"none\",borderRadius:radius,minWidth:npsButtons.minWidth,cursor:\"pointer\",...npsButtons.font},onClick:()=>{updateField(\"value\",index);revalidate();},initial:false,transition:npsButtons.transition,children:[index,buttonBorder&&/*#__PURE__*/_jsx(motion.div,{animate:{borderColor:selected?buttonBorder.selectedColor:buttonBorder.deselectedColor},style:{position:\"absolute\",inset:0,borderWidth:buttonBorder.widthIsMixed?`${buttonBorder.widthTop}px ${buttonBorder.widthRight}px ${buttonBorder.widthBottom}px ${buttonBorder.widthLeft}px`:`${buttonBorder.width}px`,borderStyle:buttonBorder.style,borderRadius:radius,pointerEvents:\"none\"},initial:false,transition:npsButtons.transition})]},index);})})]}));break;case\"date\":case\"time\":elements.push(/*#__PURE__*/_jsx(\"input\",{// id={elementId}\ntype:type,value:value,onChange:onChangeEventTargetValue,onFocus:revalidate,style:{...style}}),/*#__PURE__*/_jsx(\"style\",{children:`#${elementId} input::-webkit-datetime-edit {\n                    flex: 0 1 auto;\n                    z-index: 1;\n                    cursor: text;\n                    color: ${props.fontColor};\n                }\n                \n                #${elementId} input::-webkit-calendar-picker-indicator {\n                    position: absolute;\n                    width: 100%;\n                    height: 100%;\n                    inset: 0;\n                    padding: 0;\n                    opacity: 0;\n                    margin: 0;\n                    overflow: visible;\n                    cursor: pointer;\n                }`}));break;case\"email\":function emailOnFocusLost(event){if(event.target.value.length>0&&!isEmailAddress(event.target.value)){invalidate();}}elements.push(/*#__PURE__*/_jsx(\"input\",{type:\"text\",value:value,onChange:onChangeEventTargetValue,onFocus:revalidate,onBlur:emailOnFocusLost,style:style,placeholder:props.emailPlaceholder}));break;case\"phoneNumber\":function phoneNumberOnChange(event){const[phoneNumber,hasCountryCode]=formatPhoneNumber(event.target.value,props.phoneNumberFormat,props.phoneNumberCustomFormat,props.phoneNumberCountryCodeFormat,props.phoneNumberDefaultCountryCode);setIsSpecialValue(!hasCountryCode);updateField(\"value\",phoneNumber);}elements.push(/*#__PURE__*/_jsx(\"input\",{type:\"tel\",value:isSpecialValue?removeCountryCode(value,props.phoneNumberFormat,props.phoneNumberCustomFormat):value,onChange:phoneNumberOnChange,onFocus:revalidate,style:style,placeholder:props.phoneNumberPlaceholder}));break;}return /*#__PURE__*/_jsxs(motion.div,{ref:ref,id:elementId,animate:{backgroundColor:invalid&&invalidStyle.backgroundColor?invalidStyle.backgroundColor:props.backgroundColor},style:{position:\"relative\",display:\"flex\",color:props.fontColor,accentColor:props.accentColor,borderRadius:borderRadius,overflow:\"auto\",minHeight:minHeight,userSelect:props.textSelect?\"auto\":\"none\",...props.font,...props.style},initial:false,transition:invalidStyle.transition,children:[icon&&/*#__PURE__*/_jsx(FormIcon,{icon:icon,style:{position:\"absolute\",top:`calc(50% - ${icon.size/2}px)`,left:iconOnLeft?pl:undefined,right:!iconOnLeft?pr:undefined}}),elements,border&&/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",inset:0,borderWidth:border.widthIsMixed?`${border.widthTop}px ${border.widthRight}px ${border.widthBottom}px ${border.widthLeft}px`:`${border.width}px`,borderStyle:border.style,borderColor:border.color,borderRadius:borderRadius,pointerEvents:\"none\"}}),invalidStyle.border&&/*#__PURE__*/_jsx(motion.div,{animate:{opacity:invalid?1:0},style:{position:\"absolute\",inset:0,borderWidth:invalidStyle.border.widthIsMixed?`${invalidStyle.border.widthTop}px ${invalidStyle.border.widthRight}px ${invalidStyle.border.widthBottom}px ${invalidStyle.border.widthLeft}px`:`${invalidStyle.border.width}px`,borderStyle:invalidStyle.border.style,borderColor:invalidStyle.border.color,borderRadius:borderRadius,pointerEvents:\"none\"},initial:false,transition:invalidStyle.transition}),PLACEHOLDER_FONT_COLOR_TYPES.includes(type)&&/*#__PURE__*/_jsx(\"style\",{children:`#${elementId} input::placeholder, #${elementId} textarea::placeholder { color: ${props.placeholderFontColor}; }`})]});}FormField.displayName=\"Form Field\";addPropertyControls(FormField,{type:{type:ControlType.Enum,defaultValue:\"input\",options:[\"input\",\"checkbox\",\"dropdown\",\"textArea\",\"email\",\"phoneNumber\",\"multiSelect\",\"radio\",\"number\",\"slider\",\"nps\",\"date\",\"time\",\"consent\"],optionTitles:[\"Input\",\"Checkbox\",\"Dropdown\",\"Text Area\",\"Email\",\"Phone Number\",\"Multi-Select\",\"Radio\",\"Number\",\"Slider\",\"Net Promoter Score\",\"Date\",\"Time\",\"Consent\"]},name:{type:ControlType.String,defaultValue:\"fieldName\"},required:{type:ControlType.Boolean,defaultValue:false,hidden:props=>NO_REQUIRED_TYPES.includes(props.type)},textPlaceholder:{title:\"Placeholder\",type:ControlType.String,defaultValue:\"Type...\",hidden:props=>!TEXT_PLACEHOLDER_TYPES.includes(props.type)},numberPlaceholder:{title:\"Placeholder\",type:ControlType.String,defaultValue:\"0\",hidden:props=>props.type!=\"number\"},emailPlaceholder:{title:\"Placeholder\",type:ControlType.String,defaultValue:\"hello@example.com\",hidden:props=>props.type!=\"email\"},phoneNumberFormat:{title:\"Format\",type:ControlType.Enum,defaultValue:\"(123) 456 - 7890\",options:PHONE_NUMBER_FORMATS,// options: [...PHONE_NUMBER_FORMATS, \"custom\"],\n// optionTitles: [...PHONE_NUMBER_FORMATS, \"Custom Format\"],\nhidden:props=>props.type!=\"phoneNumber\"},// phoneNumberCustomFormat: {\n//     title: \" \",\n//     type: ControlType.String,\n//     defaultValue: \"(XXX) XXX - XXXX\",\n//     hidden: (props) =>\n//         props.type != \"phoneNumber\" || props.phoneNumberFormat != \"custom\",\n// },\nphoneNumberDefaultCountryCode:{title:\"Default Country Code\",type:ControlType.String,defaultValue:\"1\",hidden:props=>props.type!=\"phoneNumber\"},phoneNumberCountryCodeFormat:{title:\"Country Code Format\",type:ControlType.Enum,defaultValue:\"+1\",options:[\"+1\",\"(1)\",\"(+1)\",\"1\",\"noSpace\"],optionTitles:[\"+1\",\"(1)\",\"(+1)\",\"1\",\"1 (No Space)\"],hidden:props=>props.type!=\"phoneNumber\"},phoneNumberPlaceholder:{title:\"Placeholder\",type:ControlType.String,defaultValue:\"+1 (123) 456 - 7890\",hidden:props=>props.type!=\"phoneNumber\"},consentText:{type:ControlType.String,defaultValue:\"I agree to the Terms & Conditions.\",title:\"Text\",hidden:props=>props.type!=\"consent\"},checkboxText:{type:ControlType.String,defaultValue:\"Checkbox\",title:\"Text\",hidden:props=>props.type!=\"checkbox\"},options:{title:\"Options\",type:ControlType.Array,propertyControl:{type:ControlType.String},defaultValue:[\"Option 1\",\"Option 2\",\"Option 3\"],hidden:props=>!OPTIONS_TYPES.includes(props.type)},npsMax:{type:ControlType.Number,defaultValue:10,min:1,step:1,displayStepper:true,title:\"Max\",hidden:props=>props.type!=\"nps\"},npsLabels:{type:ControlType.Object,title:\"Labels\",controls:{left:{type:ControlType.String,defaultValue:\"Not Likely\"},right:{type:ControlType.String,defaultValue:\"Extremely Likely\"}},hidden:props=>props.type!=\"nps\"},npsButtons:{type:ControlType.Object,buttonTitle:\"Options\",title:\"Buttons\",controls:{selectedColor:{type:ControlType.Color,defaultValue:\"#0075FF\",title:\"Selected\"},selectedFontColor:{type:ControlType.Color,defaultValue:\"#FFFFFF\",title:\"Selected Font Color\"},deselectedColor:{type:ControlType.Color,defaultValue:\"#F0F0F0\",title:\"Deselected\"},deselectedFontColor:{type:ControlType.Color,defaultValue:\"#000000\",title:\"Deslected Font Color\"},font:{type:\"font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:12,lineHeight:1}},innerRadius:{type:ControlType.Number,defaultValue:4,min:0,step:1},outerRadius:{type:ControlType.Number,defaultValue:8,min:0,step:1},gap:{type:ControlType.Number,defaultValue:4,min:0,step:1},height:{type:ControlType.Number,defaultValue:40,min:0,step:1},minWidth:{type:ControlType.Number,defaultValue:30,min:0,step:1},border:{type:ControlType.Object,optional:true,controls:{selectedColor:{type:ControlType.Color,defaultValue:\"#004CA8\",title:\"Selected\"},deselectedColor:{type:ControlType.Color,defaultValue:\"#222222\",title:\"Deselected\"},width:{type:ControlType.FusedNumber,defaultValue:1,toggleKey:\"widthIsMixed\",toggleTitles:[\"All\",\"Individual\"],valueKeys:[\"widthTop\",\"widthRight\",\"widthBottom\",\"widthLeft\"],valueLabels:[\"T\",\"R\",\"B\",\"L\"],min:0},style:{type:ControlType.Enum,defaultValue:\"solid\",options:[\"solid\",\"dashed\",\"dotted\",\"double\"],optionTitles:[\"Solid\",\"Dashed\",\"Dotted\",\"Double\"]}}},transition:{type:ControlType.Transition,defaultValue:{type:\"spring\",stiffness:1200,damping:70}}},hidden:props=>props.type!=\"nps\"},sliderHandle:{type:ControlType.Object,buttonTitle:\"Options\",title:\"Handle\",controls:{color:{type:ControlType.Color,defaultValue:\"#0075FF\"},size:{type:ControlType.Number,defaultValue:16,min:1,step:1},border:{type:ControlType.Object,optional:true,controls:{color:{type:ControlType.Color,defaultValue:\"#0069E0\"},width:{type:ControlType.Number,defaultValue:1,min:0,step:1}}}},hidden:props=>props.type!=\"slider\"},sliderTrack:{type:ControlType.Object,buttonTitle:\"Options\",title:\"Track\",controls:{color:{type:ControlType.Color,defaultValue:\"#D9D9D9\"},height:{type:ControlType.Number,defaultValue:4,min:1,step:1},border:{type:ControlType.Object,optional:true,controls:{color:{type:ControlType.Color,defaultValue:\"#0069E0\"},width:{type:ControlType.Number,defaultValue:1,min:0,step:1}}}},hidden:props=>props.type!=\"slider\"},min:{title:\"Min\",type:ControlType.Number,defaultValue:0,hidden:props=>!MIN_MAX_STEP_TYPES.includes(props.type)},max:{title:\"Max\",type:ControlType.Number,defaultValue:100,hidden:props=>!MIN_MAX_STEP_TYPES.includes(props.type)},step:{type:ControlType.Number,defaultValue:1,hidden:props=>!MIN_MAX_STEP_TYPES.includes(props.type)},resizeable:{type:ControlType.Boolean,defaultValue:true,hidden:props=>props.type!=\"textArea\"},textAreaDefaultHeight:{type:ControlType.Number,defaultValue:100,min:0,step:1,title:\"Height\",hidden:props=>props.type!=\"textArea\"||!props.resizeable},sliderDefaultValue:{type:ControlType.Number,defaultValue:50,title:\"Default Value\",hidden:props=>props.type!=\"slider\"},sliderLabel:{type:ControlType.Object,defaultValue:{defaultValue:\"left\"},optional:true,controls:{position:{type:ControlType.Enum,defaultValue:\"left\",options:[\"left\",\"right\"],optionTitles:[\"Left\",\"Right\"],displaySegmentedControl:true},prefix:{type:ControlType.String},suffix:{type:ControlType.String}},hidden:props=>props.type!=\"slider\"},dropdownDefaultValue:{type:ControlType.String,title:\"Default Value\",hidden:props=>props.type!=\"dropdown\"},dropdownNoneSelectedText:{type:ControlType.String,defaultValue:\"Select an option\",title:\"None Selected Text\",hidden:props=>props.options.includes(props.defaultValue)||props.type!=\"dropdown\"},backgroundColor:{type:ControlType.Color,defaultValue:\"#FFF\",optional:true,title:\"Background\"},accentColor:{title:\"Accent\",type:ControlType.Color,defaultValue:\"#0075FF\",hidden:props=>!ACCENT_COLOR_TYPES.includes(props.type)},fontColor:{type:ControlType.Color,defaultValue:\"#000\",hidden:props=>props.type==\"slider\"?props.sliderLabel!=null:false},placeholderFontColor:{type:ControlType.Color,defaultValue:\"rgba(0,0,0,0.5)\",hidden:props=>!PLACEHOLDER_FONT_COLOR_TYPES.includes(props.type)},font:{type:\"font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:14,lineHeight:1.5},hidden:props=>props.type==\"slider\"?props.sliderLabel!=null:false},border:{type:ControlType.Object,optional:true,controls:{color:{type:ControlType.Color,defaultValue:\"#222\"},width:{type:ControlType.FusedNumber,defaultValue:1,toggleKey:\"widthIsMixed\",toggleTitles:[\"All\",\"Individual\"],valueKeys:[\"widthTop\",\"widthRight\",\"widthBottom\",\"widthLeft\"],valueLabels:[\"T\",\"R\",\"B\",\"L\"],min:0},style:{type:ControlType.Enum,defaultValue:\"solid\",options:[\"solid\",\"dashed\",\"dotted\",\"double\"],optionTitles:[\"Solid\",\"Dashed\",\"Dotted\",\"Double\"]}}},padding:{type:ControlType.FusedNumber,defaultValue:16,toggleKey:\"paddingIsMixed\",toggleTitles:[\"All\",\"Individual\"],valueKeys:[\"paddingTop\",\"paddingRight\",\"paddingBottom\",\"paddingLeft\"],valueLabels:[\"T\",\"R\",\"B\",\"L\"],min:0},gap:{type:ControlType.Number,defaultValue:10,min:0,step:1,hidden:props=>!GAP_TYPES.includes(props.type)},gapH:{type:ControlType.Number,defaultValue:10,min:0,step:1,hidden:props=>!GAP_HV_TYPES.includes(props.type)},gapV:{type:ControlType.Number,defaultValue:10,min:0,step:1,hidden:props=>!GAP_HV_TYPES.includes(props.type)},radius:{type:ControlType.FusedNumber,defaultValue:8,toggleKey:\"radiusIsMixed\",toggleTitles:[\"All\",\"Individual\"],valueKeys:[\"radiusTopLeft\",\"radiusTopRight\",\"radiusBottomRight\",\"radiusBottomLeft\"],valueLabels:[\"TL\",\"TR\",\"BR\",\"BL\"],min:0},icon:iconPropertyControls,textSelect:{type:ControlType.Boolean,defaultValue:false},invalidStyle:{type:ControlType.Object,buttonTitle:\"Options\",controls:{backgroundColor:{type:ControlType.Color,defaultValue:\"#FFF5F5\",optional:true,title:\"Background\"},border:{type:ControlType.Object,optional:true,defaultValue:{color:\"#FF0000\",width:2,style:\"solid\"},controls:{color:{type:ControlType.Color,defaultValue:\"#FF0000\"},width:{type:ControlType.FusedNumber,defaultValue:2,toggleKey:\"widthIsMixed\",toggleTitles:[\"All\",\"Individual\"],valueKeys:[\"widthTop\",\"widthRight\",\"widthBottom\",\"widthLeft\"],valueLabels:[\"T\",\"R\",\"B\",\"L\"],min:0},style:{type:ControlType.Enum,defaultValue:\"solid\",options:[\"solid\",\"dashed\",\"dotted\",\"double\"],optionTitles:[\"Solid\",\"Dashed\",\"Dotted\",\"Double\"]}}},transition:{type:ControlType.Transition,defaultValue:{type:\"spring\",stiffness:1200,damping:70}}}}});// Utility functions\nfunction isEmailAddress(string){return/^[a-zA-Z0-9._+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,64}$/.test(string);}function formatPhoneNumber(phoneNumberString,format,customFormat,countryCodeFormat,defaultCountryCode){// Remove all non-numeric characters\nconst cleaned=(\"\"+phoneNumberString).replace(/\\D/g,\"\");// Check the length to decide if there's a country code\nconst match=cleaned.match(/^(\\d{1,4})?(\\d{3})(\\d{3})(\\d{4})$/);let hasCountryCode=false;let phoneNumber=cleaned;if(match){hasCountryCode=Boolean(match[1]);let intlCode=\"\";const countryCode=match[1]||defaultCountryCode;if(countryCode===null||countryCode===void 0?void 0:countryCode.length){switch(countryCodeFormat){case\"+1\":intlCode=`+${countryCode} `;break;case\"(1)\":intlCode=`(${countryCode}) `;break;case\"(+1)\":intlCode=`(+${countryCode}) `;break;case\"1\":intlCode=`${countryCode} `;break;case\"noSpace\":intlCode=`${countryCode}`;break;}}switch(format){case\"custom\":let formattedNumber=\"\";let digitIndex=0;for(let i=0;i<customFormat.length;i++){if(customFormat[i]===\"X\"){formattedNumber+=cleaned[digitIndex]||\"\";digitIndex++;}else{formattedNumber+=customFormat[i];}}phoneNumber=intlCode+formattedNumber;break;case\"(123) 456 - 7890\":phoneNumber=`${intlCode}(${match[2]}) ${match[3]} - ${match[4]}`;break;case\"(123) 456-7890\":phoneNumber=`${intlCode}(${match[2]}) ${match[3]}-${match[4]}`;break;case\"123-456-7890\":phoneNumber=`${intlCode}${match[2]}-${match[3]}-${match[4]}`;break;case\"123.456.7890\":phoneNumber=`${intlCode}${match[2]}.${match[3]}.${match[4]}`;break;case\"123 456 7890\":phoneNumber=`${intlCode}${match[2]} ${match[3]} ${match[4]}`;break;case\"1234567890\":phoneNumber=`${intlCode}${match[2]}${match[3]}${match[4]}`;break;case\"12-3456-7890\":phoneNumber=`${intlCode}${match[2].slice(0,-1)}-${match[2].charAt(2)}${match[3]}-${match[4]}`;break;}}return[phoneNumber,hasCountryCode];}function removeCountryCode(phoneNumber,phoneNumberFormat,phoneNumberCustomFormat){let firstSpaceIndex=(phoneNumber===null||phoneNumber===void 0?void 0:phoneNumber.indexOf(\" \"))||-1;if(firstSpaceIndex===-1){return phoneNumber// No space found\n;}let numberLength=10;if(phoneNumberFormat==\"custom\"){numberLength=(phoneNumberCustomFormat.match(/X/g)||[]).length;}let count=0;let hasCountryCode=false;for(let i=firstSpaceIndex+1;i<phoneNumber.length;i++){if(/\\d/.test(phoneNumber[i])){// Check if the character is a number\ncount++;if(count>=numberLength){hasCountryCode=true;break;}}}if(hasCountryCode){return phoneNumber.substring(firstSpaceIndex+1);}return phoneNumber;}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FormField\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"any\",\"framerSupportedLayoutWidth\":\"any\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FormField.map", "import{fontStore}from\"framer\";fontStore.loadFonts([\"GF;DM Serif Display-regular\",\"GF;DM Serif Display-italic\"]);export const fonts=[{family:\"DM Serif Display\",source:\"google\",style:\"normal\",url:\"https://fonts.gstatic.com/s/dmserifdisplay/v15/-nFnOHM81r4j6k0gjAW3mujVU2B2K_J709jy92k.woff2\",weight:\"400\"},{family:\"DM Serif Display\",source:\"google\",style:\"italic\",url:\"https://fonts.gstatic.com/s/dmserifdisplay/v15/-nFhOHM81r4j6k0gjAW3mujVU2B2G_Vx0vr352np3Q.woff2\",weight:\"400\"}];export const css=['.framer-ne8qw .framer-styles-preset-2cghsp:not(.rich-text-wrapper), .framer-ne8qw .framer-styles-preset-2cghsp.rich-text-wrapper h2 { --framer-font-family: \"DM Serif Display\", \"DM Serif Display Placeholder\", serif; --framer-font-family-italic: \"DM Serif Display\", \"DM Serif Display Placeholder\", serif; --framer-font-size: 56px; --framer-font-style: normal; --framer-font-style-italic: italic; --framer-font-weight: 400; --framer-font-weight-italic: 400; --framer-letter-spacing: -1.5px; --framer-line-height: 1.25em; --framer-paragraph-spacing: 0px; --framer-text-alignment: start; --framer-text-color: var(--token-39cbbd54-7564-4737-be07-1c02002270c8, #0c0e17); --framer-text-decoration: none; --framer-text-transform: uppercase; }','@media (max-width: 1599px) and (min-width: 992px) { .framer-ne8qw .framer-styles-preset-2cghsp:not(.rich-text-wrapper), .framer-ne8qw .framer-styles-preset-2cghsp.rich-text-wrapper h2 { --framer-font-family: \"DM Serif Display\", \"DM Serif Display Placeholder\", serif; --framer-font-family-italic: \"DM Serif Display\", \"DM Serif Display Placeholder\", serif; --framer-font-size: 48px; --framer-font-style: normal; --framer-font-style-italic: italic; --framer-font-weight: 400; --framer-font-weight-italic: 400; --framer-letter-spacing: -1.5px; --framer-line-height: 1.25em; --framer-paragraph-spacing: 0px; --framer-text-alignment: start; --framer-text-color: var(--token-39cbbd54-7564-4737-be07-1c02002270c8, #0c0e17); --framer-text-decoration: none; --framer-text-transform: uppercase; } }','@media (max-width: 991px) and (min-width: 768px) { .framer-ne8qw .framer-styles-preset-2cghsp:not(.rich-text-wrapper), .framer-ne8qw .framer-styles-preset-2cghsp.rich-text-wrapper h2 { --framer-font-family: \"DM Serif Display\", \"DM Serif Display Placeholder\", serif; --framer-font-family-italic: \"DM Serif Display\", \"DM Serif Display Placeholder\", serif; --framer-font-size: 42px; --framer-font-style: normal; --framer-font-style-italic: italic; --framer-font-weight: 400; --framer-font-weight-italic: 400; --framer-letter-spacing: -1.5px; --framer-line-height: 1.25em; --framer-paragraph-spacing: 0px; --framer-text-alignment: start; --framer-text-color: var(--token-39cbbd54-7564-4737-be07-1c02002270c8, #0c0e17); --framer-text-decoration: none; --framer-text-transform: uppercase; } }','@media (max-width: 767px) and (min-width: 0px) { .framer-ne8qw .framer-styles-preset-2cghsp:not(.rich-text-wrapper), .framer-ne8qw .framer-styles-preset-2cghsp.rich-text-wrapper h2 { --framer-font-family: \"DM Serif Display\", \"DM Serif Display Placeholder\", serif; --framer-font-family-italic: \"DM Serif Display\", \"DM Serif Display Placeholder\", serif; --framer-font-size: 36px; --framer-font-style: normal; --framer-font-style-italic: italic; --framer-font-weight: 400; --framer-font-weight-italic: 400; --framer-letter-spacing: 0px; --framer-line-height: 1.25em; --framer-paragraph-spacing: 0px; --framer-text-alignment: start; --framer-text-color: var(--token-39cbbd54-7564-4737-be07-1c02002270c8, #0c0e17); --framer-text-decoration: none; --framer-text-transform: uppercase; } }'];export const className=\"framer-ne8qw\";\nexport const __FramerMetadata__ = {\"exports\":{\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],
  "mappings": "sMAAqF,SAASA,EAAYC,EAAO,CACjH,IAAMC,EAAUC,GAAK,CAAC,MAAM,OAAO,OAAO,CAAC,GAAGF,CAAM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AAM,EAAMxB,EAAe,GAAM,QAAQmB,EAAEG,EAAgB,EAAEH,EAAEpB,EAAY,OAAOoB,IAAK,GAAG,KAAK,KAAKpB,EAAYoB,CAAC,CAAC,IAC3OK,IAAWA,GAAOD,GAAa,CAACvB,EAAe,GAAK,MAAS,OAAGA,EAAuBD,EAAY,UAAUuB,EAAgB,CAAC,EAAUvB,CAAY,CC/DtH0B,GAAU,UAAU,CAAC,8BAA8B,4BAA4B,CAAC,EAAS,IAAMC,GAAM,CAAC,CAAC,OAAO,mBAAmB,OAAO,SAAS,MAAM,SAAS,IAAI,+FAA+F,OAAO,KAAK,EAAE,CAAC,OAAO,mBAAmB,OAAO,SAAS,MAAM,SAAS,IAAI,kGAAkG,OAAO,KAAK,CAAC,EAAeC,GAAI,CAAC,guBAAguB,sxBAAsxB,qxBAAqxB,+wBAA+wB,EAAeC,GAAU",
  "names": ["createStore", "state1", "dataStore", "Data", "setDataStore", "newState", "storeState", "storeSetters", "setStoreState", "setter", "useStore", "state", "setState", "ye", "ue", "useObserveData", "useFormStore", "createStore", "FormIcon", "t", "o", "i", "r", "p", "iconPropertyControls", "ControlType", "SubmitButton", "props", "_props_font", "clickAction", "submitUrl", "responseInfo", "redirectOnSuccess", "scrollOptions", "icon", "border", "success", "failure", "borderRadius", "formState", "setFormState", "useFormStore", "submitted", "setSubmitted", "ye", "redirectLinkRef", "pe", "resetFormState", "prev", "newFormState", "fieldName", "ue", "onSubmitClick", "invalidFields", "formData", "field", "url", "window", "value", "key", "response", "error", "closestRef", "closestDistance", "ref", "distance", "u", "p", "FormIcon", "Link", "addPropertyControls", "ControlType", "iconPropertyControls", "centerContent", "defaultContainerStyles", "centerContent", "e", "createStore", "withHover", "t", "o", "p", "NO_REQUIRED_TYPES", "ACCENT_COLOR_TYPES", "OPTIONS_TYPES", "TEXT_PLACEHOLDER_TYPES", "PLACEHOLDER_FONT_COLOR_TYPES", "GAP_TYPES", "GAP_HV_TYPES", "MIN_MAX_STEP_TYPES", "PHONE_NUMBER_FORMATS", "DROPDOWN_ICON_HEIGHT", "DROPDOWN_NONE_SELECTED_VALUE", "FormField", "props", "_formState_name", "type", "name", "options", "gap", "border", "icon", "invalidStyle", "elementId", "required", "iconOnLeft", "pt", "pl", "pb", "pr", "plIcon", "prIcon", "minHeight", "formState", "setFormState", "useFormStore", "value", "isSpecialValue", "setIsSpecialValue", "ye", "invalid", "setInvalid", "invalidRef", "pe", "ref", "updateField", "key", "prev", "invalidate", "revalidate", "isValid", "valid", "isEmailAddress", "ue", "borderRadius", "style", "onChangeEventTargetValue", "event", "elements", "p", "u", "option", "index", "multiSelectOnChange", "multiSelectValue", "v", "numberUpdateFormState", "roundedValue", "boundedValue", "numberOnFocusLost", "numberOnKeyDown", "_handle_border", "_handle_border1", "_track_border", "_track_border1", "_props_sliderLabel", "track", "handle", "handleCSS", "trackCSS", "npsButtons", "npsLabels", "innerRadius", "outerRadius", "buttonBorder", "_", "selected", "radius", "motion", "emailOnFocusLost", "phoneNumberOnChange", "phoneNumber", "hasCountryCode", "formatPhoneNumber", "removeCountryCode", "FormIcon", "addPropertyControls", "ControlType", "iconPropertyControls", "string", "phoneNumberString", "format", "customFormat", "countryCodeFormat", "defaultCountryCode", "cleaned", "match", "intlCode", "countryCode", "formattedNumber", "digitIndex", "i", "phoneNumberFormat", "phoneNumberCustomFormat", "firstSpaceIndex", "numberLength", "count", "fontStore", "fonts", "css", "className"]
}
