{"version":3,"file":"FormToURLParam.BC7zOjt8.mjs","names":["CANVAS_HIDDEN_CLASS_NAME","useId","useRef","useState","useRef","useState","useRef","React.useContext","React.useMemo","React.Fragment","React.forwardRef","useRef","React.useId","sharedStyle.className","className","RichText","sharedStyle.css","sharedStyle.fonts","useRef"],"sources":["https:/framerusercontent.com/modules/DwWOdDzQZGCuvkNlbUjZ/hMz2wp3CWZkNwPJFGPgQ/FramerFormsShared.js","https:/framerusercontent.com/modules/fPSKMdnAZGIeyDfLV8KP/DPcKZogqzKT0RPOhqCCV/MultiStepFormButton.js","https:/framerusercontent.com/modules/wV9SghwspjN8vk1MgoSi/87s7YSTDFWPQ4H7w6ogQ/MultiStepForm.js","https:/framerusercontent.com/modules/snvCVXjjxY7fnsgeQP50/qVDdWaQrKY2qePOFklok/RpoGtR6Cu.js","https:/framerusercontent.com/modules/1OGi6ez6yoZrvBz9vJVS/qeJtnRSO0uhDk9T3QtC4/FormToURLParam.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{ControlType,RenderTarget,withCSS}from\"framer\";import{forwardRef,useEffect,useState,useRef,useId}from\"react\";import{motion}from\"framer-motion\";import{createStore}from\"https://framer.com/m/framer/store.js@^1.0.0\";export const useMultiStepFormStore=createStore({});export const HIDDEN_CLASS_NAME=\"framerforms-hidden\";const CANVAS_HIDDEN_CLASS_NAME=\"framerforms-canvas-hidden\";export const useInstanceId=()=>{const id=useId();const cleanId=id.replace(/:/g,\"\");const instanceId=`superfields-${cleanId}`;return instanceId;};export const HiddenInput=/*#__PURE__*/forwardRef(({name,required,value,setInvalid,onSetValueEvent,noPrefill=false,disabled=false},parentRef)=>{const internalRef=useRef(null);const ref=parentRef||internalRef;const prevValueRef=useRef(value);// Store callback in ref to avoid listener churn\nconst onSetValueEventRef=useRef(onSetValueEvent);onSetValueEventRef.current=onSetValueEvent;useEffect(()=>{const element=ref.current;if(!element||!onSetValueEventRef.current)return;// Use a wrapper that always calls the latest callback\nconst handler=event=>{onSetValueEventRef.current?.(event);};element.addEventListener(\"framerFormsSetValue\",handler);// Mark as ready AFTER listener is attached - FormPersistence checks for this\nelement.dataset.framerformsSetValueReady=\"true\";return()=>{element.removeEventListener(\"framerFormsSetValue\",handler);delete element.dataset.framerformsSetValueReady;};},[])// Empty deps - only attach once\n;// Dispatch change event when value changes so FormPersistence can track updates\nuseEffect(()=>{const element=ref.current;if(!element)return;// Only dispatch if value actually changed (not on initial mount)\nif(prevValueRef.current!==value){prevValueRef.current=value;// Dispatch both input and change events for compatibility\nelement.dispatchEvent(new Event(\"input\",{bubbles:true}));element.dispatchEvent(new Event(\"change\",{bubbles:true}));}},[value]);return /*#__PURE__*/_jsx(\"input\",{ref:ref,type:\"text\",\"data-framerforms-set-value-event\":!!onSetValueEvent,\"data-framerforms-no-prefill\":noPrefill,style:{position:\"absolute\",opacity:0,pointerEvents:\"none\",inset:0},tabIndex:-1,name:name,required:required,value:value,disabled:disabled,onChange:()=>{},onInvalid:event=>{event.preventDefault();setInvalid(true);}});});const HideElementComponent=/*#__PURE__*/forwardRef(({},ref)=>{return /*#__PURE__*/_jsx(\"div\",{ref:ref,className:HIDDEN_CLASS_NAME});});export const HideElement=withCSS(HideElementComponent,[`div:has(> .${HIDDEN_CLASS_NAME}) { display: none; }`,`.${HIDDEN_CLASS_NAME} { display: none; }`],HIDDEN_CLASS_NAME);HideElement.displayName=\"FramerForms/Hide Element\";export const HiddenComponentLabel=/*#__PURE__*/forwardRef(({text,subtext=\"\",children=null,...otherProps},ref)=>{const isCanvas=RenderTarget.current()===RenderTarget.canvas;const id=useInstanceId();return isCanvas?/*#__PURE__*/_jsxs(\"div\",{\"data-framerforms\":true,...otherProps,ref:ref,className:CANVAS_HIDDEN_CLASS_NAME,style:{backgroundColor:\"rgba(187, 187, 187, 0.15)\",borderRadius:10,padding:\"12px 16px\",fontFamily:\"Inter\",fontWeight:500,fontSize:12,color:\"#999\",display:\"flex\",flexDirection:\"column\",gap:4,alignItems:\"center\",textAlign:\"center\",width:\"100%\",height:\"100%\",textWrap:\"nowrap\"},children:[children,text,subtext&&/*#__PURE__*/_jsx(\"span\",{style:{opacity:.7,whiteSpace:\"pre\",lineHeight:1.4},children:subtext}),/*#__PURE__*/_jsx(Border,{width:\"1px\",style:\"solid\",borderColor:\"rgba(136, 136, 136, 0.1)\"}),/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:`\n                        [data-framer-component-container=\"true\"] div:has(> .${CANVAS_HIDDEN_CLASS_NAME}) {\n                            display: none !important;\n                        }`}})]}):/*#__PURE__*/_jsxs(\"div\",{...otherProps,ref:ref,className:HIDDEN_CLASS_NAME,children:[/*#__PURE__*/_jsx(HideElement,{}),children]});});HiddenComponentLabel.displayName=\"FramerForms/Hidden Component Label\";export function iconProp({size=16,buttonTitle=\"Icon\",controls={}}={}){return{type:ControlType.Object,buttonTitle,optional:true,defaultValue:{color:\"#999\",size},controls:{image:{type:ControlType.Image},color:{type:ControlType.Color,optional:true,defaultValue:\"#999\"},size:{type:ControlType.Number,defaultValue:size,min:1,step:1,displayStepper:true},...controls}};}export function Icon({image,color,size,style={},defaultImage}){return /*#__PURE__*/_jsx(\"div\",{style:{width:size,height:size,minWidth:size,minHeight:size,pointerEvents:\"none\",backgroundColor:color,backgroundImage:color?\"none\":image?`url('${image}')`:defaultImage,maskImage:image?`url('${image}')`:defaultImage,backgroundSize:\"contain\",backgroundPosition:\"center\",maskSize:\"contain\",maskPosition:\"center\",...style}});}Icon.displayName=\"FramerForms/Icon\";export function Border({width,style,transition=null,borderColor=\"inherit\",opacity=1}){return /*#__PURE__*/_jsx(motion.div,{animate:{borderColor,opacity},style:{position:\"absolute\",inset:0,borderWidth:width,borderStyle:style,borderRadius:\"inherit\",pointerEvents:\"none\"},initial:false,transition:transition});}Border.displayName=\"FramerForms/Border\";export function createBackground(fill,on=null,focused=null,invalid=null){if(fill){const onOff=typeof on==\"boolean\";if(fill.type==\"color\"){let color=invalid&&fill.colorInvalid||focused&&fill.colorFocus||(onOff?on?fill.colorOn:fill.colorOff:fill.color);return{backgroundColor:color,backgroundImage:\"none\"};}else{const colorA=invalid&&fill.colorAInvalid||focused&&fill.colorAFocus||(onOff?on?fill.colorAOn:fill.colorAOff:fill.colorA);const colorB=invalid&&fill.colorBInvalid||focused&&fill.colorBFocus||(onOff?on?fill.colorBOn:fill.colorBOff:fill.colorB);return{backgroundColor:\"none\",backgroundImage:`linear-gradient(${fill.gradientAngle}deg, ${colorB}, ${colorA})`};}}return{};}export function parsePadding(padding){if(typeof padding!==\"string\"){return[0,0,0,0];}const values=padding.split(\" \");const parsedValues=values.map(value=>parseInt(value.replace(\"px\",\"\"),10));switch(parsedValues.length){case 1:const p=parsedValues[0];return[p,p,p,p];case 4:return parsedValues;}return[0,0,0,0];}export function fillProp({onOff=false,focus=true,invalid=true,optional=false,hidden=null,color=\"rgba(187, 187, 187, 0.15)\",colorA=\"#BBB\",colorB=\"#676767\",colorOn=\"rgba(70, 160, 219, 0.2)\",colorAOn=\"#66C2FF\",colorBOn=\"#0099FF\",colorOff=\"rgba(187, 187, 187, 0.15)\",colorAOff=\"#BBB\",colorBOff=\"#676767\"}={}){return{type:ControlType.Object,optional,hidden,icon:\"color\",defaultValue:{type:\"color\",...onOff?{colorOn,colorOff}:{color,colorA,colorB}},controls:{type:{type:ControlType.Enum,defaultValue:\"color\",options:[\"color\",\"linearGradient\"],optionTitles:[\"Color\",\"Gradient\"],displaySegmentedControl:true},...onOff?{colorOn:{type:ControlType.Color,defaultValue:colorOn,hidden:props=>props.type!==\"color\"},colorOff:{type:ControlType.Color,defaultValue:colorOff,hidden:props=>props.type!==\"color\"}}:{color:{type:ControlType.Color,defaultValue:color,hidden:props=>props.type!==\"color\"}},...focus?{colorFocus:{type:ControlType.Color,optional:true,title:\"Focus\",hidden:props=>props.type!==\"color\"}}:{},...invalid?{colorInvalid:{type:ControlType.Color,optional:true,title:\"Invalid\",hidden:props=>props.type!==\"color\"}}:{},...onOff?{colorAOn:{type:ControlType.Color,defaultValue:colorAOn,title:\"Colors On\",hidden:props=>props.type!==\"linearGradient\"},colorBOn:{type:ControlType.Color,defaultValue:colorBOn,title:\" \",hidden:props=>props.type!==\"linearGradient\"},colorAOff:{type:ControlType.Color,defaultValue:colorAOff,title:\"Colors Off\",hidden:props=>props.type!==\"linearGradient\"},colorBOff:{type:ControlType.Color,defaultValue:colorBOff,title:\" \",hidden:props=>props.type!==\"linearGradient\"}}:{colorA:{type:ControlType.Color,defaultValue:colorA,title:\"Colors\",hidden:props=>props.type!==\"linearGradient\"},colorB:{type:ControlType.Color,defaultValue:colorB,title:\" \",hidden:props=>props.type!==\"linearGradient\"}},...focus?{colorAFocus:{type:ControlType.Color,optional:true,title:\"Focus\",hidden:props=>props.type!==\"linearGradient\"},colorBFocus:{type:ControlType.Color,optional:true,title:\" \",hidden:props=>props.type!==\"linearGradient\"}}:{},...invalid?{colorAInvalid:{type:ControlType.Color,optional:true,title:\"Invalid\",hidden:props=>props.type!==\"linearGradient\"},colorBInvalid:{type:ControlType.Color,optional:true,title:\" \",hidden:props=>props.type!==\"linearGradient\"}}:{},gradientAngle:{type:ControlType.Number,defaultValue:0,title:\"Angle\",step:1,min:0,max:360,unit:\"\\xb0\",hidden:props=>props.type!=\"linearGradient\"}}};}export function borderProp({onOff=false,focus=true,invalid=true,defaultValue=true,color=\"rgba(136, 136, 136, 0.1)\",colorOn=\"#0099FF\",colorOff=\"rgba(136, 136, 136, 0.1)\",colorFocus=\"#0099FF\",colorInvalid=\"#FF5A6F\",hidden=null}={}){return{type:ControlType.Object,optional:true,hidden,defaultValue:defaultValue?{color,colorOn,colorOff,colorFocus,colorInvalid,width:\"1px\"}:undefined,controls:{...onOff?{colorOn:{type:ControlType.Color,defaultValue:colorOn},colorOff:{type:ControlType.Color,defaultValue:colorOff}}:{color:{type:ControlType.Color,defaultValue:color}},...focus?{colorFocus:{type:ControlType.Color,defaultValue:colorFocus,optional:true,title:\"Focus\"}}:{},...invalid?{colorInvalid:{type:ControlType.Color,defaultValue:colorInvalid,optional:true,title:\"Invalid\"}}:{},width:{type:ControlType.Padding,defaultValue:\"1px\"},style:{type:ControlType.Enum,defaultValue:\"solid\",options:[\"solid\",\"dashed\",\"dotted\",\"double\"],optionTitles:[\"Solid\",\"Dashed\",\"Dotted\",\"Double\"]}}};}export function shadowsProp({invalid=true,onOff=false}={}){return{type:ControlType.Object,buttonTitle:\"Shadows\",optional:true,controls:{...onOff?{on:{type:ControlType.BoxShadow,defaultValue:\"rgba(0, 153, 255, 0.5) 0px 2px 4px 0px\"},off:{type:ControlType.BoxShadow,defaultValue:\"rgba(0, 0, 0, 0.25) 0px 2px 4px 0px\"}}:{default:{type:ControlType.BoxShadow,defaultValue:\"rgba(0, 0, 0, 0.25) 0px 2px 4px 0px\"}},focus:{type:ControlType.BoxShadow},invalid:invalid?{type:ControlType.BoxShadow}:null}};}export function useCanvasState(ref){const[totalPages,setTotalPages]=useState(1);useEffect(()=>{const element=ref.current;let pages=null;function updateState(){setTotalPages(pages?pages.children.length:1);}if(element){const multiStepForms=document.querySelectorAll(\"div[data-framerforms-multi-step-form]\");for(const multiStepForm of multiStepForms){const form=multiStepForm.closest(\"form\")||multiStepForm.parentElement.parentElement.parentElement;if(form&&isAncestor(form,element)){pages=form.querySelector(':scope > [data-framer-name=\"Pages\" i]');}}}updateState();if(pages){const observer=new MutationObserver((mutationsList,observer)=>{for(let mutation of mutationsList){if(mutation.type===\"childList\"){updateState();}}});observer.observe(pages,{childList:true});return()=>observer.disconnect();}},[]);return{page:0,totalPages};}export function isAncestor(ancestorElement,descendantElement){if(!ancestorElement||!descendantElement){return false;}let currentElement=descendantElement;while(currentElement!==null){if(currentElement===ancestorElement){return true;}currentElement=currentElement.parentElement;}return false;}export function getFormInfo(element){const form=element?.closest(\"form\");let formId=null;let pages=null;if(form){formId=form.getAttribute(\"framerforms-id\");pages=form.querySelector(':scope > [data-framer-name=\"Pages\" i]');if(!formId){formId=uuid();form.setAttribute(\"framerforms-id\",formId);}}return{form,formId,pages};}function uuid(){let d=new Date().getTime()// Timestamp\n;let d2=performance&&performance.now&&performance.now()*1e3||0// Time in microseconds since page-load or 0 if unsupported\n;return\"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx\".replace(/[xy]/g,function(c){let r=Math.random()*16// random number between 0 and 16\n;if(d>0){// Use timestamp until depleted\nr=(d+r)%16|0;d=Math.floor(d/16);}else{// Use microseconds since page-load if supported\nr=(d2+r)%16|0;d2=Math.floor(d2/16);}return(c===\"x\"?r:r&3|8).toString(16);});}// ============================================================================\n// FORM UTILITIES\n// ============================================================================\n/**\n * Clears all form input values and dispatches events to notify React components.\n * Handles regular inputs, checkboxes, radios, and custom FramerForms inputs\n * (RatingInput, PhoneNumberInput, etc.).\n *\n * @param form - The form element to clear\n */export function clearFormInputs(form){if(!form)return;// Reset the form (clears most inputs)\nform.reset();// Manually clear inputs that might not be reset by form.reset()\nconst inputs=form.querySelectorAll(\"input, select, textarea\");inputs.forEach(input=>{if(input.type===\"checkbox\"||input.type===\"radio\"){input.checked=false;}else{input.value=\"\";}// Dispatch events to notify React components\ninput.dispatchEvent(new Event(\"input\",{bubbles:true}));input.dispatchEvent(new Event(\"change\",{bubbles:true}));});// Clear custom FramerForms inputs (RatingInput, PhoneNumberInput, etc.)\n// These use HiddenInput with data-framerforms-set-value-event=\"true\"\nconst customInputs=form.querySelectorAll('input[data-framerforms-set-value-event=\"true\"]');customInputs.forEach(input=>{const inputName=input.name?.toLowerCase()||\"\";// Identify component type by checking parent structure\nconst parent=input.closest(\"[data-framerforms]\");const buttonCount=parent?.querySelectorAll('button[type=\"button\"]').length||0;// RatingInput typically has 2-10 star buttons\nconst isLikelyRating=buttonCount>=2&&buttonCount<=10;// RatingInput needs 0 to clear, others need empty string\nconst clearValue=isLikelyRating||inputName.includes(\"rating\")?0:\"\";input.dispatchEvent(new CustomEvent(\"framerFormsSetValue\",{detail:clearValue,bubbles:true}));});}// ============================================================================\n// AUTOFILL STYLING OVERRIDE\n// ============================================================================\n/**\n * Sets up global CSS to override browser autofill styling.\n * This prevents browsers from applying their default yellow/blue backgrounds\n * to autofilled form inputs, which can break custom designs.\n *\n * Runs once when the module loads and applies to all inputs on the page,\n * including native Framer components.\n */function setupAutofillOverride(){// Check if we're in a browser environment\nif(typeof document===\"undefined\")return;// Check if the style tag already exists to avoid duplicates\nconst existingStyle=document.getElementById(\"framerforms-autofill-override\");if(existingStyle)return;// Create and inject the style tag\nconst style=document.createElement(\"style\");style.id=\"framerforms-autofill-override\";style.textContent=`\n        /* Override browser autofill styling for all inputs */\n        input:-webkit-autofill,\n        input:-webkit-autofill:hover,\n        input:-webkit-autofill:focus,\n        input:-webkit-autofill:active,\n        select:-webkit-autofill,\n        select:-webkit-autofill:hover,\n        select:-webkit-autofill:focus,\n        select:-webkit-autofill:active,\n        textarea:-webkit-autofill,\n        textarea:-webkit-autofill:hover,\n        textarea:-webkit-autofill:focus,\n        textarea:-webkit-autofill:active {\n            /* Use box-shadow to override background color */\n            /* The large spread radius ensures it covers the entire input */\n            -webkit-box-shadow: 0 0 0 1000px transparent inset !important;\n            box-shadow: 0 0 0 1000px transparent inset !important;\n            \n            /* Override text color */\n            -webkit-text-fill-color: inherit !important;\n            color: inherit !important;\n            \n            /* Use transition trick to prevent background color changes */\n            /* The extremely long duration (5000s) effectively prevents the change */\n            transition: background-color 5000s ease-in-out 0s, \n                        color 5000s ease-in-out 0s !important;\n        }\n        \n        /* Ensure autofilled inputs maintain their original styling */\n        input:-webkit-autofill::first-line,\n        select:-webkit-autofill::first-line,\n        textarea:-webkit-autofill::first-line {\n            -webkit-text-fill-color: inherit !important;\n            color: inherit !important;\n        }\n    `;// Append to document head\ndocument.head.appendChild(style);}// Run the setup immediately when the module loads\n// This ensures it applies globally before any components render\nif(typeof document!==\"undefined\"){// Use requestAnimationFrame to ensure DOM is ready\nif(document.readyState===\"loading\"){document.addEventListener(\"DOMContentLoaded\",setupAutofillOverride);}else{// DOM is already loaded, run immediately\nsetupAutofillOverride();}}\nexport const __FramerMetadata__ = {\"exports\":{\"borderProp\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"MultiStepFormState\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useCanvasState\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"HIDDEN_CLASS_NAME\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"HiddenInput\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fillProp\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"Icon\":{\"type\":\"reactComponent\",\"name\":\"Icon\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"getFormInfo\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"shadowsProp\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"createBackground\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"clearFormInputs\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"parsePadding\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"iconProp\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useMultiStepFormStore\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"MultiStepFormStore\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"HideElement\":{\"type\":\"reactComponent\",\"name\":\"HideElement\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"Border\":{\"type\":\"reactComponent\",\"name\":\"Border\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"HiddenComponentLabel\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"isAncestor\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"LogicConfig\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"PageHistory\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useInstanceId\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FramerFormsShared.map","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{useEffect,useState,useRef,cloneElement}from\"react\";import{motion}from\"framer-motion\";import{borderProp,fillProp,createBackground,Border,HideElement,useMultiStepFormStore,getFormInfo}from\"https://framerusercontent.com/modules/DwWOdDzQZGCuvkNlbUjZ/hMz2wp3CWZkNwPJFGPgQ/FramerFormsShared.js\";const CANVAS_HIDDEN_CLASS_NAME=\"framerforms-canvas-hidden\";/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n * @framerDisableUnlink\n */export default function MultiStepFormButton(props){const prev=props.page==\"previous\";const isCanvas=RenderTarget.current()===RenderTarget.canvas;const isOptimizing=typeof window===\"undefined\";const[multiStepFormState,setMultiStepFormState]=useMultiStepFormStore();const[formId,setFormId]=useState(null);const ref=useRef(null);const state=multiStepFormState[formId];useEffect(()=>{const newFormId=getFormInfo(ref.current).formId;if(!multiStepFormState[newFormId]){setMultiStepFormState({});}setFormId(newFormId);},[]);let hidden=false;if(isOptimizing||!state){hidden=prev;}else if(state?.pageHistory){const page=state.pageHistory[state.pageHistory.length-1];if(prev){hidden=page===0;}else{hidden=state.isEndPage;}}if(hidden&&!isCanvas){return /*#__PURE__*/_jsx(HideElement,{ref:ref});}function onClick(){if(state){if(prev){state.previousPage();}else{state.nextPage();}}props.click?.();}if(props.appearance==\"custom\"){let layer=props.customLayer?.[0];const width=props.style?.width;const height=props.style?.height;if(layer&&props.style&&(width||height)){layer=/*#__PURE__*/cloneElement(layer,{style:{...layer.props.style,...width&&{width:width},...height&&{height:height}}});}return /*#__PURE__*/_jsx(\"button\",{ref:ref,type:\"button\",style:{display:\"contents\"},onClick:onClick,onMouseEnter:props.hover,children:layer});}return /*#__PURE__*/_jsxs(motion.button,{\"data-framerforms\":true,ref:ref,type:\"button\",onClick:onClick,onMouseEnter:props.hover,className:hidden&&isCanvas?CANVAS_HIDDEN_CLASS_NAME:\"\",whileFocus:{...createBackground(props.fill,null,true),borderColor:props.border?.colorFocus??props.border?.color},style:{position:\"relative\",display:\"flex\",justifyContent:props.font?.textAlign||\"center\",alignItems:\"center\",...createBackground(props.fill),border:\"none\",color:props.color,padding:props.padding,borderRadius:props.radius,userSelect:\"none\",cursor:\"pointer\",textWrap:props.style?.width==\"100%\"?undefined:\"nowrap\",boxShadow:props.shadows,borderColor:props.border?.color,backdropFilter:props.bgBlur?`blur(${props.bgBlur}px)`:undefined,...props.font,...props.style},transition:props.transition,children:[props.text,/*#__PURE__*/_jsx(Border,{...props.border}),hidden&&isCanvas&&/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:`\n                        [data-framer-component-container=\"true\"] div:has(> .${CANVAS_HIDDEN_CLASS_NAME}) {\n                            display: none !important;\n                        }`}})]});}MultiStepFormButton.displayName=\"Multi-Step Form Button\";addPropertyControls(MultiStepFormButton,{page:{type:ControlType.Enum,defaultValue:\"next\",options:[\"previous\",\"next\"],optionTitles:[\"Previous\",\"Next\"],displaySegmentedControl:true},autoHide:{type:ControlType.Boolean,defaultValue:true,title:\"Auto-Hide\",description:\"Hide on first/last page\"},appearance:{type:ControlType.Enum,defaultValue:\"default\",options:[\"default\",\"custom\"],optionTitles:[\"Default\",\"Custom\"],displaySegmentedControl:true},customLayer:{type:ControlType.ComponentInstance,title:\"Layer\",description:\"Connect a custom layer outside the breakpoint\",hidden:props=>props.appearance!==\"custom\"},text:{type:ControlType.String,defaultValue:\"Next\",hidden:props=>props.appearance!==\"default\"},fill:fillProp({focus:true,invalid:false,color:\"#333\",colorA:\"#8C8C8C\",colorB:\"#000\",hidden:props=>props.appearance!==\"default\"}),color:{type:ControlType.Color,defaultValue:\"#FFF\",hidden:props=>props.appearance!==\"default\"},font:{type:\"font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:14,lineHeight:1.2},hidden:props=>props.appearance!==\"default\"},padding:{type:ControlType.Padding,defaultValue:\"10px 16px 10px 16px\",hidden:props=>props.appearance!==\"default\"},radius:{type:ControlType.BorderRadius,defaultValue:\"10px\",hidden:props=>props.appearance!==\"default\"},border:borderProp({focus:true,color:\"#0099FF00\",hidden:props=>props.appearance!==\"default\"}),shadows:{type:ControlType.BoxShadow,hidden:props=>props.appearance!==\"default\"},bgBlur:{type:ControlType.Number,min:0,max:100,step:1,displayStepper:true,title:\"BG Blur\",hidden:props=>props.appearance!==\"default\"},transition:{type:ControlType.Transition,defaultValue:{type:false},hidden:props=>props.appearance!==\"default\"},click:{type:ControlType.EventHandler},hover:{type:ControlType.EventHandler}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"MultiStepFormButton\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any\",\"framerSupportedLayoutHeight\":\"any\",\"framerDisableUnlink\":\"\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget,withCSS}from\"framer\";import{useState,useEffect,useRef}from\"react\";import{useInstanceId,HiddenComponentLabel,useMultiStepFormStore,getFormInfo,isAncestor}from\"https://framerusercontent.com/modules/DwWOdDzQZGCuvkNlbUjZ/hMz2wp3CWZkNwPJFGPgQ/FramerFormsShared.js\";const OPTIMIZATION_CLASS_NAME=\"framerforms-multi-step-form\";const SUBMIT_BUTTON_HIDDEN_ATTRIBUTE=\"framerforms-submit-button-hidden\";/**\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n * @framerDisableUnlink\n */function MultiStepFormComponent(props){const{scrollToTop}=props;const id=useInstanceId();const isCanvas=RenderTarget.current()===RenderTarget.canvas;const[multiStepFormState,setMultiStepFormState]=useMultiStepFormStore();const[formInfo,setFormInfo]=useState(null);const stateRef=useRef(multiStepFormState[formInfo?.formId]);const ref=useRef(null);const pageVideosRef=useRef({});const isFirstRenderRef=useRef(true);const[initialized,setInitialized]=useState(false);const state=multiStepFormState[formInfo?.formId];const pageHistory=state?.pageHistory;useEffect(()=>{const formInfo=getFormInfo(ref.current);setFormInfo(formInfo);const{formId,form,pages}=formInfo;function previousPage(){const pageHistory=stateRef.current?.pageHistory;if(pageHistory?.length>1){setMultiStepFormState(prev=>({[formId]:{...prev[formId],pageHistory:prev[formId].pageHistory.slice(0,-1),isEndPage:false}}));}}function nextPage(){const state=stateRef.current;if(state){const page=state.pageHistory[state.pageHistory.length-1];const{logicConfigs}=state;let newPage=null;if(logicConfigs.length&&pages){const pageElement=pages.children?.[page];for(const logic of logicConfigs){if(isAncestor(pageElement,logic.ref.current)){const nextPageName=logic.getNextPage();if(nextPageName){const nextPageIndex=getChildIndexByDataFramerName(pages,nextPageName);if(nextPageIndex!==-1){newPage=nextPageIndex;}break;}}}}if(newPage===null&&page<state.totalPages-1){newPage=page+1;}const pageElement=pages.children[page];if(pageElement&&!isFormValid(pageElement)){newPage=null;}if(newPage){setMultiStepFormState(prev=>{const prevState=prev[formId];return{[formId]:{...prevState,pageHistory:[...prevState.pageHistory,newPage],isEndPage:isPageAnEndPage({pageIndex:newPage,state:prevState,pages,endPageMode:props.endPage,customEndPages:props.endPageCustom})}};});}}}function setPageHistoryLength(newLength){setMultiStepFormState(prev=>{const pageHistory=prev[formId]?.pageHistory??[];return{[formId]:{...prev[formId],pageHistory:newLength>=pageHistory.length?pageHistory:pageHistory.slice(0,newLength),isEndPage:isPageAnEndPage({pageIndex:pageHistory[newLength-1],state:prev[formId],pages,endPageMode:props.endPage,customEndPages:props.endPageCustom})}};});}if(formId&&pages){setMultiStepFormState({[formId]:{totalPages:pages.children.length,pageHistory:[0],logicConfigs:[],isEndPage:pages.children.length==1,previousPage,nextPage,setPageHistoryLength}});}if(pages){const pageElements=pages.children;for(let i=0;i<pageElements.length;i++){const videos=pageElements[i].querySelectorAll(\"video\");if(!pageVideosRef.current[i]){pageVideosRef.current[i]=[];}for(const video of videos){pageVideosRef.current[i].push(video);if(video.hasAttribute(\"autoplay\")&&i!==0){const pauseVideo=()=>{if(!video.paused){setTimeout(()=>{if(!video.paused){video.pause();}},100)// 100 milliseconds = 0.1 seconds\n;}};if(!video.paused){// Video is already playing, pause it immediately\npauseVideo();}else{// Wait for the video to start playing, then pause it\nvideo.addEventListener(\"play\",pauseVideo,{once:true});}}}}}let unmountFunction=null;if(form){function onEnterPress(event){if(event.key!==\"Enter\"||event.target.tagName===\"TEXTAREA\"){return;}const currentInput=event.target;let previousElement=currentInput;let foundPage=false;while(previousElement&&!foundPage){const newElement=previousElement.parentElement;if(newElement==pages){foundPage=true;break;}previousElement=newElement;}const currentPage=previousElement;let stopEvent=true;if(currentPage){const inputs=getInputsOnPage(currentPage);const currentIndex=inputs.indexOf(currentInput);if(currentIndex<inputs.length-1){// Focus the next input on the current page\ninputs[currentIndex+1].focus();}else{const pageElements=Array.from(pages.children);const pageIndex=pageElements.indexOf(currentPage);if(pageIndex<pageElements.length-1){nextPage();}else{// Let the form submit if it's the last page\nstopEvent=false;}}}if(stopEvent){event.preventDefault();event.stopPropagation();}}// Override Enter key press event\nform.addEventListener(\"keydown\",onEnterPress,true);unmountFunction=()=>{form.removeEventListener(\"keydown\",onEnterPress,true);};}if(unmountFunction){return unmountFunction;}},[]);useEffect(()=>{stateRef.current=state;},[state]);useEffect(()=>{if(state&&(!isCanvas||ref.current?.closest('[data-framer-component-container=\"true\"]'))){const submitButton=formInfo.form?.querySelector('button[type=\"submit\"]')?.parentElement;if(submitButton){submitButton.setAttribute(SUBMIT_BUTTON_HIDDEN_ATTRIBUTE,state.isEndPage?\"false\":\"true\");}}},[state?.isEndPage]);useEffect(()=>{const pages=formInfo?.pages;if(pages&&pageHistory){// Enable/disable form inputs on pages that have not been visited for submit validation\nif(state?.logicConfigs?.length||props.endPage==\"customPages\"){for(let i=0;i<pages.children.length;i++){if(pageHistory.includes(i)){const inputs=pages.children[i]?.querySelectorAll(`input[name][disabled=\"FramerForms\"], select[name][disabled=\"FramerForms\"], textarea[name][disabled=\"FramerForms\"]`);for(const input of inputs){input.removeAttribute(\"disabled\");}}else{const inputs=pages.children[i]?.querySelectorAll(\"input[name]:not([disabled]), select[name]:not([disabled]), textarea[name]:not([disabled])\");for(const input of inputs){input.setAttribute(\"disabled\",\"FramerForms\");}}}}// Play/pause videos on form pages\nconst currentPage=pageHistory[pageHistory.length-1];if(pageVideosRef.current){for(const pageIndex of Object.keys(pageVideosRef.current)){const pageVideos=pageVideosRef.current[pageIndex];for(const video of pageVideos){if(pageIndex==currentPage){if(video.hasAttribute(\"autoplay\")){video.play();}}else if(!video.paused){video.pause();}}}}// Scroll to top of form\nif(scrollToTop&&formInfo.form&&!isFirstRenderRef.current){const rect=formInfo.form.getBoundingClientRect();const top=rect.top-scrollToTop.offset;const topIsInView=top>=0&&top<=window.innerHeight;if(!topIsInView){const windowScrollTop=window.pageYOffset||document.documentElement.scrollTop;window.scrollTo({top:windowScrollTop+top,behavior:scrollToTop.scrollStyle});}}if(!isFirstRenderRef.current){autoFocusInputOnPage(pages.children[currentPage]);}isFirstRenderRef.current=false;}fireAnalyticsEvent(props.analytics,pageHistory,formInfo?.pages);},[pageHistory]);useEffect(()=>{setInitialized(true);},[]);return /*#__PURE__*/_jsxs(HiddenComponentLabel,{text:\"Multi-Step Form\",children:[/*#__PURE__*/_jsxs(\"svg\",{xmlns:\"http://www.w3.org/2000/svg\",viewBox:\"0 0 452 60\",width:\"121\",height:\"16\",style:{marginBottom:5},children:[/*#__PURE__*/_jsx(\"path\",{d:\"M 58.178 27.448 L 58.178 0.912 L 33.172 0.912 C 14.852 0.912 0 15.76 0 34.08 L 0 59.086 L 58.178 59.086 L 58.178 27.46 C 58.172 44.93 44.008 59.09 26.538 59.09 L 26.538 27.45 L 58.178 27.45 Z\",fill:\"#473DFE\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M 452.004 36.088 C 452.004 43.208 446.328 47.872 437.336 47.872 C 428.342 47.872 422.57 43.112 421.946 35.464 L 431.132 35.464 C 431.228 38.734 433.392 40.802 437.142 40.802 C 440.268 40.802 442.336 39.6 442.336 37.436 C 442.336 35.944 440.846 34.838 438.826 34.454 L 432.526 33.252 C 426.996 32.192 423.34 28.972 423.34 23.392 C 423.34 16.948 429.016 12.426 436.758 12.426 C 444.982 12.426 450.898 17.14 451.426 24.594 L 442.24 24.594 C 442 21.468 439.884 19.448 436.854 19.448 C 434.162 19.448 432.526 20.892 432.526 22.768 C 432.526 24.306 434.064 25.22 435.892 25.556 L 442.578 26.856 C 448.734 28.056 452.004 31.086 452.004 36.088 Z M 395.384 47.39 L 387.978 27.48 L 387.978 47.39 L 379.754 47.39 L 379.754 12.86 L 390.478 12.86 L 399.184 36.28 L 407.84 12.86 L 418.566 12.86 L 418.566 47.39 L 410.342 47.39 L 410.342 27.24 L 402.886 47.39 Z M 355.758 47.39 L 346.668 47.39 L 346.668 12.86 L 360.808 12.86 C 370.138 12.86 375.476 17.044 375.476 24.402 C 375.476 28.826 372.83 32.482 368.166 34.454 L 376.63 47.39 L 365.81 47.39 L 358.74 35.896 L 355.758 35.896 Z M 355.758 20.362 L 355.758 28.394 L 360.422 28.394 C 364.462 28.394 366.338 27.144 366.338 24.402 C 366.338 21.662 364.462 20.362 360.422 20.362 Z M 325.08 48.112 C 315.124 48.112 307.286 40.562 307.286 30.076 C 307.286 19.592 315.124 12.138 325.08 12.138 C 335.084 12.138 342.922 19.592 342.922 30.078 C 342.922 40.562 335.084 48.112 325.08 48.112 Z M 325.08 39.984 C 330.514 39.984 333.544 35.512 333.544 30.076 C 333.544 24.642 330.514 20.266 325.08 20.266 C 319.646 20.266 316.616 24.642 316.616 30.078 C 316.616 35.512 319.646 39.984 325.08 39.984 Z M 291.034 47.39 L 281.946 47.39 L 281.946 12.86 L 305.462 12.86 L 305.462 20.748 L 291.034 20.748 L 291.034 27.144 L 303.106 27.144 L 303.106 35.032 L 291.034 35.032 L 291.034 47.392 Z M 257.946 47.39 L 248.856 47.39 L 248.856 12.86 L 262.994 12.86 C 272.326 12.86 277.664 17.044 277.664 24.402 C 277.664 28.826 275.018 32.482 270.354 34.454 L 278.818 47.39 L 267.996 47.39 L 260.926 35.896 L 257.946 35.896 Z M 257.946 20.362 L 257.946 28.394 L 262.61 28.394 C 266.65 28.394 268.526 27.144 268.526 24.402 C 268.526 21.662 266.65 20.362 262.61 20.362 Z M 244.616 39.504 L 244.616 47.392 L 220.184 47.392 L 220.184 12.86 L 244.278 12.86 L 244.278 20.748 L 229.274 20.748 L 229.274 25.7 L 242.884 25.7 L 242.884 33.588 L 229.274 33.588 L 229.274 39.504 Z M 191.216 47.39 L 183.81 27.48 L 183.81 47.39 L 175.586 47.39 L 175.586 12.86 L 186.31 12.86 L 195.016 36.28 L 203.672 12.86 L 214.398 12.86 L 214.398 47.39 L 206.174 47.39 L 206.174 27.24 L 198.718 47.39 L 191.218 47.39 Z M 163.08 47.39 L 160.966 40.994 L 148.846 40.994 L 146.682 47.39 L 137.496 47.39 L 150.288 12.86 L 160.244 12.86 L 172.892 47.39 L 163.082 47.39 Z M 155.002 22.864 L 151.298 33.828 L 158.61 33.828 L 155 22.864 Z M 116.574 47.39 L 107.484 47.39 L 107.484 12.86 L 121.624 12.86 C 130.954 12.86 136.292 17.044 136.292 24.402 C 136.292 28.826 133.648 32.482 128.982 34.454 L 137.446 47.39 L 126.626 47.39 L 119.556 35.896 L 116.574 35.896 Z M 116.574 20.362 L 116.574 28.394 L 121.24 28.394 C 125.28 28.394 127.154 27.144 127.154 24.402 C 127.154 21.662 125.278 20.362 121.24 20.362 Z M 89.214 47.39 L 80.126 47.39 L 80.126 12.86 L 103.64 12.86 L 103.64 20.748 L 89.212 20.748 L 89.212 27.144 L 101.284 27.144 L 101.284 35.032 L 89.212 35.032 L 89.212 47.392 Z\",fill:\"#999\"})]}),/*#__PURE__*/_jsxs(\"div\",{ref:ref,id:id,\"data-framerforms-multi-step-form\":true,className:!initialized&&!isCanvas?OPTIMIZATION_CLASS_NAME:\"\",style:{display:\"none\"},children:[initialized&&!isCanvas&&/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:`form[framerforms-id=\"${formInfo?.formId}\"] > [data-framer-name=\"Pages\" i] > *:not(:nth-child(${pageHistory?pageHistory[pageHistory.length-1]+1:1})) { display: none; }`}}),isCanvas&&/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:`[data-framer-component-container=\"true\"] form[framerforms-id=\"${formInfo?.formId}\"] > [data-framer-name=\"Pages\" i] > *:not(:first-child) { display: none; }`}})]})]});}const MultiStepForm=withCSS(MultiStepFormComponent,[`form:has(.${OPTIMIZATION_CLASS_NAME}) > [data-framer-name=\"Pages\" i] > *:not(:first-child) { display: none; }`,`form:has(.${OPTIMIZATION_CLASS_NAME}) div:has(> button[type=\"submit\"]) { display: none; }`,`[${SUBMIT_BUTTON_HIDDEN_ATTRIBUTE}=\"true\"] { display: none; }`],OPTIMIZATION_CLASS_NAME);export default MultiStepForm;MultiStepForm.displayName=\"Multi-Step Form\";addPropertyControls(MultiStepForm,{endPage:{type:ControlType.Enum,defaultValue:\"lastPage\",options:[\"lastPage\",\"customPages\"],optionTitles:[\"Last Page\",\"Custom Pages\"],displaySegmentedControl:true,segmentedControlDirection:\"vertical\"},endPageCustom:{type:ControlType.Array,control:{type:ControlType.String,defaultValue:\"\",placeholder:\"Page Layer Name\",preventLocalization:true},title:\"Pages\",description:\"List of page names where the submit button is shown\",hidden:props=>props.endPage!==\"customPages\"},analytics:{type:ControlType.Object,optional:true,icon:\"interaction\",controls:{platform:{type:ControlType.Enum,options:[\"googleAnalytics\"],optionTitles:[\"Google Analytics 4\"]},googleAnalyticsEventName:{type:ControlType.String,placeholder:\"Event Name\",title:\"Event Name\",preventLocalization:true,hidden:props=>props.platform!==\"googleAnalytics\"},googleAnalyticsEventCategory:{type:ControlType.String,placeholder:\"Optional\",title:\"Category\",description:\"Make sure the Google Analytics 4 script is installed\",preventLocalization:true,hidden:props=>props.platform!==\"googleAnalytics\"}}},scrollToTop:{type:ControlType.Object,optional:true,title:\"Scroll to Top\",controls:{scrollStyle:{type:ControlType.Enum,defaultValue:\"smooth\",options:[\"smooth\",\"instant\"],optionTitles:[\"Smooth\",\"Instant\"],displaySegmentedControl:true,title:\"Scroll\"},offset:{type:ControlType.Number,defaultValue:32,step:1,description:\"When previous or next button is pressed, scroll to the top of the form with an offset\"}}}});//////////////////////////////////////////////////////////////\n/**\n * Validates all inputs within an element. Uses reportValidity() which shows validation UI.\n * Only validates visible inputs (inputs on hidden pages are skipped).\n *\n * @param element The element whose inputs we have to validate\n * @returns `true` if all visible inputs are valid, `false` otherwise\n */export function isFormValid(element){const inputs=element.querySelectorAll(\"input, select, textarea\");let invalidInputs=[];for(const input of inputs){if(isVisible(input)&&!input.reportValidity()){invalidInputs.push(input);}}return invalidInputs.length===0;}/**\n * Checks if all required fields on a page have values.\n * Works on hidden pages (doesn't rely on visibility).\n * Does NOT trigger validation UI - use this for pre-checking pages before navigation.\n *\n * @param element The page element to check\n * @returns `true` if all required fields have values, `false` if any required field is empty\n */export function hasRequiredFieldsFilled(element){const inputs=element.querySelectorAll(\"input[required], select[required], textarea[required]\");for(const input of inputs){// Skip disabled inputs\nif(input.disabled)continue;// Skip hidden proxy inputs (tabindex=-1 with opacity 0)\nif(input.tabIndex===-1&&input.style.opacity===\"0\")continue;// Check if input has a value\nconst value=input.value?.trim()??\"\";if(value===\"\"){return false;}}return true;}/**\n * Checks if the element is visible in the DOM.\n *\n * @param element The element we are checking the visibility of\n * @returns `true` if the element is visible, `false` otherwise\n */function isVisible(element){return element.offsetParent!==null||element instanceof HTMLInputElement&&element.type===\"hidden\";}/**\n *\n * @param parentElement The parent element to search for the child\n * @param name The name of the child to search for\n * @returns The index of the child if found, -1 otherwise\n */function getChildIndexByDataFramerName(parentElement,name){const children=Array.from(parentElement.children);for(let i=0;i<children.length;i++){if(children[i].getAttribute(\"data-framer-name\")===name){return i;}}return-1// Return -1 if no child with the specified attribute value is found\n;}/**\n * Determines if a given page index is an end page based on the form configuration.\n *\n * @param {IsPageAnEndPageParams} params - Configuration object\n * @param {number} params.pageIndex - Zero-based index of the page to check\n * @param {MultiStepFormState} params.state - Multi-step form state containing total page count\n * @param {HTMLElement | null} params.pages - Container element with all page elements, or null\n * @param {\"customPages\" | \"lastPage\"} params.endPageMode - Mode for identifying end pages\n * @param {string[]} params.customEndPages - Page names (data-framer-name) that are end pages (used when endPageMode is \"customPages\")\n * @returns {boolean} `true` if the page is an end page, `false` otherwise\n */function isPageAnEndPage({pageIndex,state,pages,endPageMode,customEndPages}){let isEndPage=false;if(endPageMode===\"customPages\"&&pages){const step=pages.children[pageIndex];if(customEndPages.includes(step.getAttribute(\"data-framer-name\"))){isEndPage=true;}}else{isEndPage=pageIndex==state.totalPages-1;}return isEndPage;}/**\n * Fires analytics events when the user navigates to a new page.\n *\n * @param analytics - Analytics configuration object, or null/undefined to skip\n * @param pageHistory - Array of visited page indices. Current page is the last element.\n * @param pages - Container element holding all page elements as children\n *\n * @example\n * // pageHistory = [0, 1, 2] means user is on page index 2 (third page)\n * fireAnalyticsEvent(analyticsConfig, [0, 1, 2], pagesElement)\n */function fireAnalyticsEvent(analytics,pageHistory,pages){if(!analytics||!pageHistory||!pages){return;}switch(analytics.platform){case\"googleAnalytics\":if(typeof window!==\"undefined\"){if(typeof window.gtag!==\"undefined\"){const pageIndex=pageHistory[pageHistory.length-1];const page=pages?.children[pageIndex];const params={page_name:page?.getAttribute(\"data-framer-name\")||page?.getAttribute(\"name\")||`Page ${pageIndex+1}`};if(analytics.googleAnalyticsEventCategory){params.event_category=analytics.googleAnalyticsEventCategory;}window.gtag(\"event\",analytics.googleAnalyticsEventName,params);}else{console.error(\"Google Analytics gtag.js script is not installed.\");}}break;}}function getInputsOnPage(page){return Array.from(page.querySelectorAll('input:not([type=\"hidden\"]):not([disabled]):not([name=\"\"]):not([tabindex=\"-1\"]):not([data-framerforms-set-value-event]), textarea:not([disabled]):not([name=\"\"]):not([tabindex=\"-1\"]), select:not([disabled]):not([name=\"\"]):not([tabindex=\"-1\"]), button:not([disabled]):not([tabindex=\"-1\"])')).filter(el=>window.getComputedStyle(el).display!==\"none\");}function autoFocusInputOnPage(pageElement){if(!pageElement){return;}// Get all potential autofocus elements\nconst autofocusElements=pageElement.querySelectorAll(\"input[autofocus], select[autofocus], textarea[autofocus]\");// Convert NodeList to Array for easier manipulation\nconst elements=Array.from(autofocusElements);// Filter out hidden elements\nconst visibleElements=elements.filter(el=>{const style=window.getComputedStyle(el);return style.display!==\"none\"&&style.visibility!==\"hidden\"&&!el.hidden&&!el.disabled&&el.offsetParent!==null// Check if the element is rendered\n;});// If there are visible autofocus elements, focus the first one\nif(visibleElements.length>0){visibleElements[0].focus();}}\nexport const __FramerMetadata__ = {\"exports\":{\"hasRequiredFieldsFilled\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"isFormValid\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"MultiStepForm\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (e26a126)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,getFontsFromSharedStyle,RichText,useComponentViewport,useLocaleInfo,useVariantState,withCSS,withFX}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";import*as sharedStyle from\"https://framerusercontent.com/modules/qOwjmjmGrTi7ap1MyeBL/tCKRspKzIxNtn5PjaVWn/tVCHyj1Ej.js\";const MotionDivWithFX=withFX(motion.div);const enabledGestures={EL_iRuaKx:{hover:true,pressed:true}};const cycleOrder=[\"EL_iRuaKx\",\"PQqj_9jpK\",\"wjFNj48RX\",\"Sz3NYQLED\",\"HkJQeNumh\"];const serializationHash=\"framer-Mq6hg\";const variantClassNames={EL_iRuaKx:\"framer-v-1vjmbj1\",HkJQeNumh:\"framer-v-vpmo4t\",PQqj_9jpK:\"framer-v-o974l5\",Sz3NYQLED:\"framer-v-33gscg\",wjFNj48RX:\"framer-v-pllkdf\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const transition1={delay:0,duration:.2,ease:[.44,0,.56,1],type:\"tween\"};const transition2={delay:0,duration:1,ease:[0,0,1,1],type:\"tween\"};const animation={opacity:1,rotate:360,rotateX:0,rotateY:0,scale:1,skewX:0,skewY:0,x:0,y:0};const transformTemplate1=(_,t)=>`translateX(-50%) ${t}`;const Transition=({value,children})=>{const config=React.useContext(MotionConfigContext);const transition=value??config.transition;const contextValue=React.useMemo(()=>({...config,transition}),[JSON.stringify(transition)]);return /*#__PURE__*/_jsx(MotionConfigContext.Provider,{value:contextValue,children:children});};const Variants=motion.create(React.Fragment);const humanReadableVariantMap={Default:\"EL_iRuaKx\",Disabled:\"wjFNj48RX\",Error:\"HkJQeNumh\",Loading:\"PQqj_9jpK\",Success:\"Sz3NYQLED\"};const getProps=({height,hover,id,normal,text,width,...props})=>{return{...props,A9AlfP7ED:hover??props.A9AlfP7ED??\"var(--token-80426c08-0565-4f63-b971-205b00278185, rgb(255, 235, 97))\",JPtF5wYm9:normal??props.JPtF5wYm9??\"var(--token-64c2bfcb-ded3-4af5-ab40-ac265e2f3b6a, rgb(255, 255, 255))\",UBHa7Ezwy:text??props.UBHa7Ezwy??\"Text\",variant:humanReadableVariantMap[props.variant]??props.variant??\"EL_iRuaKx\"};};const createLayoutDependency=(props,variants)=>{if(props.layoutDependency)return variants.join(\"-\")+props.layoutDependency;return variants.join(\"-\");};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const fallbackRef=useRef(null);const refBinding=ref??fallbackRef;const defaultLayoutId=React.useId();const{activeLocale,setLocale}=useLocaleInfo();const componentViewport=useComponentViewport();const{style,className,layoutId,variant,UBHa7Ezwy,JPtF5wYm9,A9AlfP7ED,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"EL_iRuaKx\",enabledGestures,ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[sharedStyle.className];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);const isDisplayed=()=>{if(baseVariant===\"PQqj_9jpK\")return false;return true;};const isDisplayed1=()=>{if(baseVariant===\"PQqj_9jpK\")return true;return false;};return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId??defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsxs(motion.button,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-1vjmbj1\",className,classNames),\"data-framer-name\":\"Default\",\"data-reset\":\"button\",layoutDependency:layoutDependency,layoutId:\"EL_iRuaKx\",ref:refBinding,style:{backgroundColor:JPtF5wYm9,borderBottomLeftRadius:120,borderBottomRightRadius:120,borderTopLeftRadius:120,borderTopRightRadius:120,opacity:1,...style},variants:{\"EL_iRuaKx-hover\":{backgroundColor:A9AlfP7ED,opacity:1},\"EL_iRuaKx-pressed\":{backgroundColor:\"rgb(51, 51, 51)\",opacity:1},HkJQeNumh:{backgroundColor:\"rgba(255, 34, 68, 0.15)\",opacity:1},Sz3NYQLED:{backgroundColor:\"var(--token-80426c08-0565-4f63-b971-205b00278185, rgb(255, 235, 97))\",opacity:1},wjFNj48RX:{opacity:.5}},...addPropertyOverrides({\"EL_iRuaKx-hover\":{\"data-framer-name\":undefined},\"EL_iRuaKx-pressed\":{\"data-framer-name\":undefined},HkJQeNumh:{\"data-framer-name\":\"Error\"},PQqj_9jpK:{\"data-framer-name\":\"Loading\"},Sz3NYQLED:{\"data-framer-name\":\"Success\"},wjFNj48RX:{\"data-framer-name\":\"Disabled\"}},baseVariant,gestureVariant),children:[isDisplayed()&&/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{className:\"framer-styles-preset-1wuuat0\",\"data-styles-preset\":\"tVCHyj1Ej\",children:\"Text\"})}),className:\"framer-1tc2gp\",\"data-framer-name\":\"Text\",fonts:[\"Inter\"],layoutDependency:layoutDependency,layoutId:\"MfZ3p5b_W\",style:{\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\"},text:UBHa7Ezwy,variants:{HkJQeNumh:{\"--extracted-r6o4lv\":\"rgb(255, 34, 68)\"}},verticalAlignment:\"top\",withExternalLayout:true,...addPropertyOverrides({HkJQeNumh:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"SW50ZXItU2VtaUJvbGQ=\",\"--framer-font-size\":\"14px\",\"--framer-font-weight\":\"600\",\"--framer-text-color\":\"var(--extracted-r6o4lv, rgb(255, 34, 68))\"},children:\"Something went wrong\"})}),fonts:[\"Inter-SemiBold\"],text:undefined},Sz3NYQLED:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{className:\"framer-styles-preset-1wuuat0\",\"data-styles-preset\":\"tVCHyj1Ej\",children:\"Confirmation\"})}),text:undefined}},baseVariant,gestureVariant)}),isDisplayed1()&&/*#__PURE__*/_jsx(motion.div,{className:\"framer-1ld5vbl\",\"data-framer-name\":\"Spinner\",layoutDependency:layoutDependency,layoutId:\"iUfyLV4fO\",style:{mask:\"url('https://framerusercontent.com/images/pGiXYozQ3mE4cilNOItfe2L2fUA.svg?width=20&height=20') alpha no-repeat center / cover add\",WebkitMask:\"url('https://framerusercontent.com/images/pGiXYozQ3mE4cilNOItfe2L2fUA.svg?width=20&height=20') alpha no-repeat center / cover add\"},children:/*#__PURE__*/_jsx(MotionDivWithFX,{__framer__loop:animation,__framer__loopEffectEnabled:true,__framer__loopRepeatDelay:0,__framer__loopRepeatType:\"loop\",__framer__loopTransition:transition2,__perspectiveFX:false,__smartComponentFX:true,__targetOpacity:1,className:\"framer-2dmoop\",\"data-framer-name\":\"Conic\",layoutDependency:layoutDependency,layoutId:\"XhkAJf1sU\",style:{background:\"conic-gradient(from 0deg at 50% 50%, var(--token-adeb84ab-0a9d-4926-971b-1f9e1d2065eb, rgb(3, 46, 63)) 7.208614864864882deg, rgb(255, 255, 255) 342deg)\",mask:\"none\",WebkitMask:\"none\"},variants:{PQqj_9jpK:{mask:\"url('https://framerusercontent.com/images/pGiXYozQ3mE4cilNOItfe2L2fUA.svg?width=20&height=20') alpha no-repeat center / cover add\",WebkitMask:\"url('https://framerusercontent.com/images/pGiXYozQ3mE4cilNOItfe2L2fUA.svg?width=20&height=20') alpha no-repeat center / cover add\"}},children:/*#__PURE__*/_jsx(motion.div,{className:\"framer-go15bp\",\"data-framer-name\":\"Rounding\",layoutDependency:layoutDependency,layoutId:\"kA0ehjMCD\",style:{backgroundColor:\"rgb(255, 255, 255)\",borderBottomLeftRadius:1,borderBottomRightRadius:1,borderTopLeftRadius:1,borderTopRightRadius:1},transformTemplate:transformTemplate1})})})]})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-Mq6hg.framer-geavwx, .framer-Mq6hg .framer-geavwx { display: block; }\",\".framer-Mq6hg.framer-1vjmbj1 { align-content: center; align-items: center; cursor: pointer; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 16px; height: min-content; justify-content: center; overflow: visible; padding: 24px 32px 24px 32px; position: relative; width: min-content; }\",\".framer-Mq6hg .framer-1tc2gp { -webkit-user-select: none; flex: none; height: auto; position: relative; user-select: none; white-space: pre; width: auto; }\",\".framer-Mq6hg .framer-1ld5vbl { aspect-ratio: 1 / 1; flex: none; gap: 10px; height: var(--framer-aspect-ratio-supported, 20px); overflow: hidden; position: relative; width: 20px; }\",\".framer-Mq6hg .framer-2dmoop { bottom: 0px; flex: none; left: 0px; overflow: visible; position: absolute; right: 0px; top: 0px; }\",\".framer-Mq6hg .framer-go15bp { aspect-ratio: 1 / 1; flex: none; height: var(--framer-aspect-ratio-supported, 2px); left: 50%; overflow: visible; position: absolute; top: 0px; width: 2px; }\",\".framer-Mq6hg.framer-v-o974l5.framer-1vjmbj1, .framer-Mq6hg.framer-v-pllkdf.framer-1vjmbj1, .framer-Mq6hg.framer-v-33gscg.framer-1vjmbj1, .framer-Mq6hg.framer-v-vpmo4t.framer-1vjmbj1 { cursor: unset; }\",\".framer-Mq6hg.framer-v-o974l5 .framer-2dmoop { overflow: hidden; }\",...sharedStyle.css];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 72\n * @framerIntrinsicWidth 94\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"auto\",\"auto\"]},\"PQqj_9jpK\":{\"layout\":[\"auto\",\"auto\"]},\"wjFNj48RX\":{\"layout\":[\"auto\",\"auto\"]},\"Sz3NYQLED\":{\"layout\":[\"auto\",\"auto\"]},\"HkJQeNumh\":{\"layout\":[\"auto\",\"auto\"]},\"dl0PhqCfS\":{\"layout\":[\"auto\",\"auto\"]},\"oEItmJs17\":{\"layout\":[\"auto\",\"auto\"]}}}\n * @framerVariables {\"UBHa7Ezwy\":\"text\",\"JPtF5wYm9\":\"normal\",\"A9AlfP7ED\":\"hover\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerRpoGtR6Cu=withCSS(Component,css,\"framer-Mq6hg\");export default FramerRpoGtR6Cu;FramerRpoGtR6Cu.displayName=\"BtnForm\";FramerRpoGtR6Cu.defaultProps={height:72,width:94};addPropertyControls(FramerRpoGtR6Cu,{variant:{options:[\"EL_iRuaKx\",\"PQqj_9jpK\",\"wjFNj48RX\",\"Sz3NYQLED\",\"HkJQeNumh\"],optionTitles:[\"Default\",\"Loading\",\"Disabled\",\"Success\",\"Error\"],title:\"Variant\",type:ControlType.Enum},UBHa7Ezwy:{defaultValue:\"Text\",displayTextArea:false,title:\"Text\",type:ControlType.String},JPtF5wYm9:{defaultValue:'var(--token-64c2bfcb-ded3-4af5-ab40-ac265e2f3b6a, rgb(255, 255, 255)) /* {\"name\":\"Background\"} */',title:\"Normal\",type:ControlType.Color},A9AlfP7ED:{defaultValue:'var(--token-80426c08-0565-4f63-b971-205b00278185, rgb(255, 235, 97)) /* {\"name\":\"Foreground\"} */',title:\"Hover\",type:ControlType.Color}});addFonts(FramerRpoGtR6Cu,[{explicitInter:true,fonts:[{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F\",url:\"https://framerusercontent.com/assets/5vvr9Vy74if2I6bQbJvbw7SY1pQ.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116\",url:\"https://framerusercontent.com/assets/EOr0mi4hNtlgWNn9if640EZzXCo.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+1F00-1FFF\",url:\"https://framerusercontent.com/assets/Y9k9QrlZAqio88Klkmbd8VoMQc.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0370-03FF\",url:\"https://framerusercontent.com/assets/OYrD2tBIBPvoJXiIHnLoOXnY9M.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF\",url:\"https://framerusercontent.com/assets/JeYwfuaPfZHQhEG8U5gtPDZ7WQ.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2070, U+2074-207E, U+2080-208E, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD\",url:\"https://framerusercontent.com/assets/GrgcKwrN6d3Uz8EwcLHZxwEfC4.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB\",url:\"https://framerusercontent.com/assets/b6Y37FthZeALduNqHicBT6FutY.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F\",url:\"https://framerusercontent.com/assets/hyOgCu0Xnghbimh0pE8QTvtt2AU.woff2\",weight:\"600\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116\",url:\"https://framerusercontent.com/assets/NeGmSOXrPBfEFIy5YZeHq17LEDA.woff2\",weight:\"600\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+1F00-1FFF\",url:\"https://framerusercontent.com/assets/oYaAX5himiTPYuN8vLWnqBbfD2s.woff2\",weight:\"600\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0370-03FF\",url:\"https://framerusercontent.com/assets/lEJLP4R0yuCaMCjSXYHtJw72M.woff2\",weight:\"600\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF\",url:\"https://framerusercontent.com/assets/cRJyLNuTJR5jbyKzGi33wU9cqIQ.woff2\",weight:\"600\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2070, U+2074-207E, U+2080-208E, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD\",url:\"https://framerusercontent.com/assets/yDtI2UI8XcEg1W2je9XPN3Noo.woff2\",weight:\"600\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB\",url:\"https://framerusercontent.com/assets/A0Wcc7NgXMjUuFdquHDrIZpzZw0.woff2\",weight:\"600\"}]},...getFontsFromSharedStyle(sharedStyle.fonts)],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerRpoGtR6Cu\",\"slots\":[],\"annotations\":{\"framerImmutableVariables\":\"true\",\"framerIntrinsicHeight\":\"72\",\"framerDisplayContentsDiv\":\"false\",\"framerComponentViewportWidth\":\"true\",\"framerAutoSizeImages\":\"true\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"PQqj_9jpK\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"wjFNj48RX\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"Sz3NYQLED\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"HkJQeNumh\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"dl0PhqCfS\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"oEItmJs17\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]}}}\",\"framerVariables\":\"{\\\"UBHa7Ezwy\\\":\\\"text\\\",\\\"JPtF5wYm9\\\":\\\"normal\\\",\\\"A9AlfP7ED\\\":\\\"hover\\\"}\",\"framerContractVersion\":\"1\",\"framerColorSyntax\":\"true\",\"framerIntrinsicWidth\":\"94\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./RpoGtR6Cu.map","import{jsx as _jsx}from\"react/jsx-runtime\";import{useRouter}from\"framer\";import{useEffect,useRef}from\"react\";import{createStore}from\"https://framer.com/m/framer/store.js@^1.0.0\";export const useStore=createStore({enterPressed:false,formSubmitted:false,form:null});export function withFormHandler(Component){return props=>{const formRef=useRef(null);const[store,setStore]=useStore();useEffect(()=>{if(!formRef.current)return;const form=formRef.current;const inputKeydownHandler=e=>{if(e.key===\"Enter\"||e.keyCode===13){e.preventDefault();e.stopPropagation();setStore({enterPressed:true,form:form});return false;}};const inputs=form.querySelectorAll(\"input\");inputs.forEach(input=>{input.addEventListener(\"keydown\",inputKeydownHandler,true);});const formSubmitHandler=e=>{e.preventDefault();e.stopPropagation();setStore({formSubmitted:true,form:form});return false;};form.addEventListener(\"submit\",formSubmitHandler,true);return()=>{inputs.forEach(input=>{input.removeEventListener(\"keydown\",inputKeydownHandler,true);});form.removeEventListener(\"submit\",formSubmitHandler,true);};},[formRef.current]);return /*#__PURE__*/_jsx(Component,{...props,ref:formRef});};}export function withFormRedirect(Component){return props=>{const{navigate,routes}=useRouter();const[store,setStore]=useStore();const fetchInProgressRef=useRef(false);const getRouteId=path=>{for(const[key,value]of Object.entries(routes)){if(value?.path===path){return key;}}return\"\";};const sizeToRedirectMap={\"0to100\":\"/merci/3\",\"100to150\":\"/merci/6\",\"150to250\":\"/merci/9\",\"250\":\"/merci/12\"};const isIOS=()=>/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream;const getHubspotUTK=()=>{return document.cookie.split(\"; \").find(row=>row.startsWith(\"hubspotutk=\"))?.split(\"=\")[1]||\"\";};const processFormAndRedirect=form=>{if(!form||fetchInProgressRef.current)return;fetchInProgressRef.current=true;const formData=new FormData(form);const houseSize=formData.get(\"Quelle est la taille (au sol) de votre maison ?\");{/* console.log(\n                \"FORM SUBMITTED 🚀\",\n                Object.fromEntries(formData.entries())\n            )\n            alert(\"Form bien soumis, on tente d'envoyer au webhook\")*/}// ✅ Validation des champs requis\nconst firstNameInput=form.querySelector('input[name=\"firstname\"]');const lastNameInput=form.querySelector('input[name=\"lastname\"]');const phoneInput=form.querySelector('input[name=\"phone\"]');const emailInput=form.querySelector('input[name=\"email\"]');const firstName=formData.get(\"firstname\")?.trim();const lastName=formData.get(\"lastname\")?.trim();const phone=formData.get(\"phone\")?.trim();const email=formData.get(\"email\")?.trim();// 🎯 Simple validation des valeurs\nconst emailRegex=/^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$/;const phoneDigits=phone.replace(/\\D/g,\"\");let hasError=false;const markError=input=>{if(input)input.style.background=\"#FFF8E3\";hasError=true;};const resetInputStyle=input=>{if(input)input.style.border=\"\";};resetInputStyle(firstNameInput);resetInputStyle(lastNameInput);resetInputStyle(phoneInput);resetInputStyle(emailInput);if(!firstName)markError(firstNameInput);if(!lastName)markError(lastNameInput);if(!phoneDigits||phoneDigits.length<10)markError(phoneInput);if(!email||!emailRegex.test(email))markError(emailInput);if(hasError){alert(\"Merci de v\\xe9rifier les champs en rouge avant de valider.\");fetchInProgressRef.current=false;return;}// ➕ Tracking info\nformData.append(\"pageURL\",window.location.href);formData.append(\"referrer\",document.referrer||\"direct\");const hubspotUtk=document.cookie.split(\"; \").find(row=>row.startsWith(\"hubspotutk=\"))?.split(\"=\")[1]||\"\";if(hubspotUtk){formData.append(\"hubspotutk\",hubspotUtk);}const webhookUrl=\"https://hook.eu2.make.com/eh267t36ot1jvrc1pq2xszlhgcy3inap\";//\"https://solarock.app.n8n.cloud/webhook-test/framer/hubspot/questionnaire\"\nsetTimeout(()=>{redirectToThankYouPage(houseSize);fetchInProgressRef.current=false;},1500);try{if(/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream){const params=new URLSearchParams;for(const[key,value]of formData.entries()){params.append(key,value.toString());}fetch(`${webhookUrl}?${params.toString()}`,{method:\"GET\",mode:\"no-cors\"});}else{fetch(webhookUrl,{method:\"POST\",body:formData,mode:\"no-cors\"});}}catch(error){console.error(\"Error during form submission:\",error);}};const redirectToThankYouPage=houseSize=>{const redirectPath=sizeToRedirectMap[houseSize]||\"/merci/3\";const routeId=getRouteId(redirectPath);if(routeId){navigate(routeId,\"\");}else{window.location.href=redirectPath;}};const handleClick=e=>{e.preventDefault();if(props.onClick){props.onClick(e);}const form=e.currentTarget.closest(\"form\");processFormAndRedirect(form);};useEffect(()=>{if(store.enterPressed||store.formSubmitted){processFormAndRedirect(store.form);setStore({enterPressed:false,formSubmitted:false,form:null});}},[store.enterPressed,store.formSubmitted,store.form]);return /*#__PURE__*/_jsx(Component,{...props,onClick:handleClick});};}export function withInputEnterKey(Component){return props=>{useEffect(()=>{const findSubmitButton=()=>document.querySelector('[data-framer-name=\"BtnForm\"]');const setupInputHandlers=()=>{const inputs=document.querySelectorAll(\"input\");inputs.forEach(input=>{input.removeEventListener(\"keydown\",handleInputKeydown);input.addEventListener(\"keydown\",handleInputKeydown);});};const handleInputKeydown=e=>{if(e.key===\"Enter\"||e.keyCode===13){e.preventDefault();e.stopPropagation();const submitButton=findSubmitButton();if(submitButton){submitButton.click();}return false;}};setupInputHandlers();const observer=new MutationObserver(mutations=>{if(mutations.some(m=>m.addedNodes.length>0)){setupInputHandlers();}});observer.observe(document.body,{childList:true,subtree:true});return()=>{observer.disconnect();const inputs=document.querySelectorAll(\"input\");inputs.forEach(input=>{input.removeEventListener(\"keydown\",handleInputKeydown);});};},[]);return /*#__PURE__*/_jsx(Component,{...props});};}\nexport const __FramerMetadata__ = {\"exports\":{\"useStore\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withFormHandler\":{\"type\":\"reactHoc\",\"name\":\"withFormHandler\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withFormRedirect\":{\"type\":\"reactHoc\",\"name\":\"withFormRedirect\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withInputEnterKey\":{\"type\":\"reactHoc\",\"name\":\"withInputEnterKey\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FormToURLParam.map"],"mappings":"whBAUylB,SAAgB,GAAK,CAAC,QAAM,QAAM,OAAK,QAAM,CAAC,EAAE,gBAAc,CAAC,OAAoB,EAAK,MAAM,CAAC,MAAM,CAAC,MAAM,EAAK,OAAO,EAAK,SAAS,EAAK,UAAU,EAAK,cAAc,OAAO,gBAAgB,EAAM,gBAAgB,EAAM,OAAO,EAAM,QAAQ,EAAM,IAAI,EAAa,UAAU,EAAM,QAAQ,EAAM,IAAI,EAAa,eAAe,UAAU,mBAAmB,SAAS,SAAS,UAAU,aA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