{"version":3,"file":"MultiStepForm.BTm7SpLD.mjs","names":["useState","useRef","useState","useRef","Image","useState","useRef","useState","useRef"],"sources":["https:/framerusercontent.com/modules/28d2a4VreVXZoJwmw7cr/wNzU5xgfua3GnSeRuH6g/LogicBlock.js","https:/framerusercontent.com/modules/asydHDts5g0SLLYx4UPp/FrCeOGSkznKQy3QJkcOg/ButtonsInput.js","https:/framerusercontent.com/modules/txadBxzyc8xVP8tgxh1j/1tF1GrgTyNspcfcSvkWo/CountryInput.js","https:/framer.com/m/FramerFormsShared-XPyb.js@hMz2wp3CWZkNwPJFGPgQ","https:/framerusercontent.com/modules/czZyIhTlZLZeyX9hae06/3G5agtT1MkKD39EOO6nY/MultiStepForm.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useState,useEffect,useRef}from\"react\";import{HiddenComponentLabel,useMultiStepFormStore,getFormInfo}from\"https://framerusercontent.com/modules/DwWOdDzQZGCuvkNlbUjZ/hMz2wp3CWZkNwPJFGPgQ/FramerFormsShared.js\";const labelFormats={isSet:\"Name\",isNotSet:\"Not Name\",equals:\"Name = Value\",doesNotEqual:\"Name ≠ Value\",startsWith:\"Name starts with Value\",doesNotStartWith:\"Name does not start with Value\",endsWith:\"Name ends with Value\",doesNotEndWith:\"Name does not end with Value\",contains:\"Name contains Value\",doesNotContain:\"Name does not contain Value\",greaterThan:\"Name > Value\",lessThan:\"Name < Value\",greaterThanOrEqualTo:\"Name ≥ Value\",lessThanOrEqualTo:\"Name ≤ Value\",isBefore:\"Name is before Value\",isAfter:\"Name is after Value\",isBetweenDates:\"Name is between Value\"};/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n * @framerDisableUnlink\n */export default function LogicBlock(props){const{conditions,defaultCondition}=props;const[multiStepFormState,setMultiStepFormState]=useMultiStepFormStore();const[formInfo,setFormInfo]=useState(null);const ref=useRef(null);useEffect(()=>{setFormInfo(getFormInfo(ref.current));},[ref]);useEffect(()=>{const form=formInfo?.form;const formId=formInfo?.formId;if(formId&&multiStepFormState[formId]){const getNextPage=()=>{for(const condition of conditions){let value=\"\";if(condition.type==\"radio\"){value=getRadioValue(form,condition.inputName)||\"\";}else if(condition.type==\"checkbox\"){const checkbox=form.querySelector(`[name=\"${condition.inputName}\"]`);if(checkbox){// For checkboxes, check the .checked property, not .value\nvalue=checkbox.checked?\"checked\":\"unchecked\";}else{value=\"\";}}else{value=form.querySelector(`[name=\"${condition.inputName}\"]`)?.value||\"\";}console.log(`[LogicBlock] Condition check:`,{inputName:condition.inputName,type:condition.type,value:value,checkboxValue:condition.checkboxValue,pageName:condition.pageName});const result=checkCondition(condition,value);console.log(`[LogicBlock] Condition result:`,{inputName:condition.inputName,result:result,willGoTo:result?condition.pageName:null});if(result){console.log(`[LogicBlock] ✅ Matched condition, going to: ${condition.pageName}`);return condition.pageName;}}console.log(`[LogicBlock] ⚠️ No conditions matched, using default: ${defaultCondition.pageName||\"Next Page\"}`);return defaultCondition.pageName;};setMultiStepFormState(prev=>({[formId]:{...prev[formId],logicConfigs:[...prev[formId].logicConfigs,{getNextPage,ref}]}}));}},[formInfo]);return /*#__PURE__*/_jsx(HiddenComponentLabel,{text:\"Multi-Step Form Logic\",subtext:conditions.map(condition=>{const type=condition.type;const labelFormat=type==\"checkbox\"?condition.checkboxValue?\"isSet\":\"isNotSet\":labelFormats[condition[`${type}Condition`]]||\"\";let value=type==\"date\"?condition.dateCondition==\"isBetweenDates\"?`${formatDate(condition.dateValueStart)} and ${formatDate(condition.dateValueEnd)}`:formatDate(condition.dateValue):String(condition[`${type}Value`]);return`${labelFormat.replace(\"Name\",condition.inputName).replace(\"Value\",value)} → ${condition.pageName||\"[None]\"}`;}).join(\"\\n\")+`${conditions.length?\"\\n\":\"\"}Default: ${defaultCondition.pageName?defaultCondition.pageName:\"Next Page\"}`,ref:ref,\"data-framerforms-logic\":true});}LogicBlock.displayName=\"Form Logic Config\";addPropertyControls(LogicBlock,{conditions:{type:ControlType.Array,title:\"Conditions\",control:{type:ControlType.Object,controls:{inputName:{type:ControlType.String,defaultValue:\"\",placeholder:\"Input Name\",preventLocalization:true},type:{type:ControlType.Enum,defaultValue:\"text\",options:[\"text\",\"select\",\"radio\",\"number\",\"date\",\"checkbox\",\"fileUpload\"],optionTitles:[\"Text\",\"Select\",\"Radio\",\"Number\",\"Date\",\"Checkbox\",\"File Upload\"]},textCondition:{type:ControlType.Enum,defaultValue:\"equals\",title:\"Condition\",options:[\"isSet\",\"isNotSet\",\"equals\",\"doesNotEqual\",\"startsWith\",\"doesNotStartWith\",\"endsWith\",\"doesNotEndWith\",\"contains\",\"doesNotContain\"],optionTitles:[\"Is Set\",\"Is Not Set\",\"Equals\",\"Does Not Equal\",\"Starts With\",\"Does Not Start With\",\"Ends With\",\"Does Not End With\",\"Contains\",\"Does Not Contain\"],hidden:props=>props.type!==\"text\"},textValue:{type:ControlType.String,defaultValue:\"\",placeholder:\"Empty\",title:\"Value\",hidden:props=>props.type!==\"text\"||props.textCondition===\"isSet\"||props.textCondition===\"isNotSet\"},selectCondition:{type:ControlType.Enum,defaultValue:\"equals\",options:[\"isSet\",\"isNotSet\",\"equals\",\"doesNotEqual\"],optionTitles:[\"Is Set\",\"Is Not Set\",\"Equals\",\"Does Not Equal\"],title:\"Condition\",hidden:props=>props.type!==\"select\"},selectValue:{type:ControlType.String,defaultValue:\"\",placeholder:\"Empty\",title:\"Value\",preventLocalization:true,hidden:props=>props.type!==\"select\"||props.selectCondition===\"isSet\"||props.selectCondition===\"isNotSet\"},radioCondition:{type:ControlType.Enum,defaultValue:\"equals\",options:[\"equals\",\"doesNotEqual\"],optionTitles:[\"Equals\",\"Does Not Equal\"],title:\"Condition\",hidden:props=>props.type!==\"radio\"},radioValue:{type:ControlType.String,defaultValue:\"\",placeholder:\"Empty\",title:\"Value\",preventLocalization:true,hidden:props=>props.type!==\"radio\"},checkboxValue:{type:ControlType.Boolean,title:\"Checked\",hidden:props=>props.type!==\"checkbox\"},numberCondition:{type:ControlType.Enum,defaultValue:\"equals\",title:\"Condition\",options:[\"equals\",\"doesNotEqual\",\"greaterThan\",\"lessThan\",\"greaterThanOrEqualTo\",\"lessThanOrEqualTo\"],optionTitles:[\"Equals\",\"Does Not Equal\",\"Greater Than\",\"Less Than\",\"Greater Than or Equal To\",\"Less Than or Equal To\"],hidden:props=>props.type!==\"number\"},numberValue:{type:ControlType.Number,defaultValue:0,displayStepper:true,title:\"Value\",hidden:props=>props.type!==\"number\"},dateCondition:{type:ControlType.Enum,defaultValue:\"equals\",title:\"Condition\",options:[\"equals\",\"doesNotEqual\",\"isBefore\",\"isAfter\",\"isBetweenDates\"],optionTitles:[\"Equals\",\"Does Not Equal\",\"Is Before\",\"Is After\",\"Is Between Dates\"],hidden:props=>props.type!==\"date\"},dateValue:{type:ControlType.Date,title:\"Value\",hidden:props=>props.type!==\"date\"||props.dateCondition==\"isBetweenDates\"},dateValueStart:{type:ControlType.Date,title:\"Start\",hidden:props=>props.type!==\"date\"||props.dateCondition!==\"isBetweenDates\"},dateValueEnd:{type:ControlType.Date,title:\"End\",hidden:props=>props.type!==\"date\"||props.dateCondition!==\"isBetweenDates\"},fileUploadCondition:{type:ControlType.Enum,defaultValue:\"equals\",title:\"Has File\",options:[\"isSet\",\"isNotSet\"],optionTitles:[\"Yes\",\"No\"],displaySegmentedControl:true,hidden:props=>props.type!==\"fileUpload\"},pageName:{type:ControlType.String,defaultValue:\"\",placeholder:\"Page Name\",title:\"Go To\",preventLocalization:true}}}},defaultCondition:{type:ControlType.Object,title:\"Default\",controls:{pageName:{type:ControlType.String,defaultValue:\"\",placeholder:\"Page Name\",title:\"Go To\",description:\"If blank, goes to the next page\",preventLocalization:true}}}});function checkCondition(condition,value){switch(condition.type){case\"text\":switch(condition.textCondition){case\"isSet\":return value!==\"\";case\"isNotSet\":return value===\"\";case\"equals\":return value===condition.textValue;case\"doesNotEqual\":return value!==condition.textValue;case\"startsWith\":return value.startsWith(condition.textValue);case\"doesNotStartWith\":return!value.startsWith(condition.textValue);case\"endsWith\":return value.endsWith(condition.textValue);case\"doesNotEndWith\":return!value.endsWith(condition.textValue);case\"contains\":return value.includes(condition.textValue);case\"doesNotContain\":return!value.includes(condition.textValue);}break;case\"select\":switch(condition.selectCondition){case\"isSet\":return value!==\"\";case\"isNotSet\":return value===\"\";case\"equals\":return value===condition.selectValue;case\"doesNotEqual\":return value!==condition.selectValue;}break;case\"radio\":switch(condition.radioCondition){case\"equals\":return value===condition.radioValue;case\"doesNotEqual\":return value!==condition.radioValue;}break;case\"number\":const number=parseFloat(value);switch(condition.numberCondition){case\"equals\":return number===condition.numberValue;case\"doesNotEqual\":return number!==condition.numberValue;case\"greaterThan\":return number>condition.numberValue;case\"lessThan\":return number<condition.numberValue;case\"greaterThanOrEqualTo\":return number>=condition.numberValue;case\"lessThanOrEqualTo\":return number<=condition.numberValue;}break;case\"date\":const date=new Date(value);switch(condition.dateCondition){case\"equals\":return date===condition.dateValue;case\"doesNotEqual\":return date!==condition.dateValue;case\"isBefore\":return date<condition.dateValue;case\"isAfter\":return date>condition.dateValue;case\"isBetweenDates\":return date>=condition.dateValueStart&&date<=condition.dateValueEnd;}break;case\"checkbox\":// value will be \"checked\" or \"unchecked\" based on checkbox.checked\nconst isChecked=value===\"checked\";const expectedChecked=condition.checkboxValue===true;console.log(`[LogicBlock] Checkbox comparison:`,{value:value,isChecked:isChecked,expectedChecked:expectedChecked,conditionCheckboxValue:condition.checkboxValue,result:isChecked===expectedChecked});return isChecked===expectedChecked;case\"fileUpload\":switch(condition.fileUploadCondition){case\"isSet\":return value!=\"\";case\"isNotSet\":return value==\"\";}break;}return false;}function formatDate(dateString){if(!dateString){return\"mm/dd/yyyy\";}const date=dateString;let month=date.getMonth()+1// Months are zero-based\n;let day=date.getDate();let year=date.getFullYear();// Ensure month and day are two digits\nif(month<10)month=\"0\"+month;if(day<10)day=\"0\"+day;return`${month}/${day}/${year}`;}function getRadioValue(form,radioName){// Ensure the form exists\nif(!form){return null;}// Get the array of radio buttons by name\nvar radios=form.elements[radioName];// Ensure the radio buttons exist\nif(!radios){console.log(`Radio buttons with name \"${radioName}\" not found.`);return null;}// Iterate through the radio buttons to find the checked one\nfor(var i=0;i<radios.length;i++){if(radios[i].checked){return radios[i].value// Return the value of the checked radio button\n;}}// If no radio button is checked, return null\nreturn null;}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"LogicBlock\",\"slots\":[],\"annotations\":{\"framerDisableUnlink\":\"\",\"framerSupportedLayoutHeight\":\"any\",\"framerSupportedLayoutWidth\":\"any\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget,Image}from\"framer\";import{useState,useEffect,useRef}from\"react\";import{motion}from\"framer-motion\";import{Border,createBackground,fillProp,borderProp,shadowsProp,useInstanceId,HiddenInput,useMultiStepFormStore,getFormInfo}from\"https://framerusercontent.com/modules/DwWOdDzQZGCuvkNlbUjZ/hMz2wp3CWZkNwPJFGPgQ/FramerFormsShared.js\";/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight any\n * @framerIntrinsicWidth 400\n * @framerDisableUnlink\n */export default function ButtonsInput(props){const{clickAction,options,textOptions,imageOptions,layout,border,shadows,valueSeparator}=props;const id=useInstanceId();const isCanvas=RenderTarget.current()===RenderTarget.canvas;const multiSelect=clickAction===\"nextPage\"?false:props.multiSelect;const[multiStepFormState,setMultiStepFormState]=useMultiStepFormStore();const[value,setValue]=useState([]);const[invalid,setInvalid]=useState(false);const[nextPageQueued,setNextPageQueued]=useState(false);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);},[]);useEffect(()=>{if(invalid){props.invalidEvent?.();}},[invalid]);useEffect(()=>{if(nextPageQueued){state?.nextPage?.();setNextPageQueued(false);}},[nextPageQueued]);function onSetValueEvent(event){setValue(multiSelect?event.detail.split(valueSeparator):[event.detail]);}const imageStyle={position:\"relative\",width:\"100%\",height:\"auto\",aspectRatio:imageOptions.aspectRatioMode==\"fixed\"?imageOptions.aspectRatio:undefined,borderRadius:imageOptions.radius,pointerEvents:\"none\",userSelect:\"none\",objectFit:\"cover\"};const rows=[];for(let i=0;i<options.length;i++){const option=options[i];const selected=multiSelect?value.includes(option.value):value.length===1&&value[0]===option.value;if(i%layout.columns==0){rows.push([]);}let layoutProps={};if(options.length%layout.columns==0||options.length-i>=layout.columns){layoutProps={flex:1};}else{layoutProps={flexBasis:`calc(${100/layout.columns}% - ${layout.gapH*(1-1/layout.columns)}px)`};}const color=invalid&&textOptions?.colorInvalid||(selected?textOptions?.colorOn:textOptions?.colorOff);const boxShadow=invalid&&shadows?.invalid||(selected?shadows?.on:shadows?.off);const borderColor=invalid&&border?.colorInvalid||(selected?border?.colorOn:border?.colorOff);const onClick=()=>{if(multiSelect){setValue(selected?value.filter(v=>v!==option.value):[...value,option.value]);}else{setValue(selected?[]:[option.value]);}setInvalid(false);if(clickAction==\"nextPage\"){setNextPageQueued(true);}};rows[rows.length-1].push(/*#__PURE__*/_jsxs(motion.button,{type:\"button\",onClick:onClick,onKeyDown:event=>{if(event.key===\"Enter\"){onClick();}},onFocus:()=>{props.focusEvent?.();if(invalid){setInvalid(false);}},onBlur:props.blurEvent,whileFocus:{...createBackground(props.fill,null,true,invalid),color:textOptions?.colorFocus||color,boxShadow:shadows?.focus||boxShadow,borderColor:border?.colorFocus||borderColor},animate:{...createBackground(props.fill,selected,false,invalid),color,boxShadow,borderColor},style:{position:\"relative\",display:\"flex\",flexDirection:textOptions?.location==\"bottom\"?\"column-reverse\":\"column\",gap:textOptions?.gap??0,padding:props.padding,borderRadius:props.radius,cursor:\"pointer\",overflow:\"hidden\",outline:\"none\",border:\"none\",backdropFilter:props.bgBlur?`blur(${props.bgBlur}px)`:undefined,...textOptions.font,...layoutProps},initial:false,transition:props.transition,children:[textOptions&&/*#__PURE__*/_jsx(\"span\",{style:{minHeight:\"1lh\",width:\"100%\"},children:option.title}),option.image&&/*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",flex:1,display:\"flex\",alignItems:imageOptions.alignV},children:isCanvas?/*#__PURE__*/_jsx(\"img\",{src:option.image.src,alt:option.image.alt||option.title||option.value,style:imageStyle}):/*#__PURE__*/_jsx(Image,{className:`${id}-image`,background:{fit:\"fill\",...option.image,alt:option.image.alt||option.title||option.value},style:imageStyle})}),border&&/*#__PURE__*/_jsx(Border,{...border,transition:props.transition})]},option.value));}return /*#__PURE__*/_jsxs(\"div\",{\"data-framerforms\":true,\"data-framerforms-type\":\"buttons\",ref:ref,style:{display:\"flex\",flexDirection:\"column\",gap:layout.gapV,flex:1,userSelect:\"none\"},children:[/*#__PURE__*/_jsx(\"button\",{type:\"button\",style:{display:\"none\"}}),/*#__PURE__*/_jsx(HiddenInput,{name:props.name,required:props.required,value:value.join(valueSeparator),setInvalid:setInvalid,onSetValueEvent:onSetValueEvent}),rows.map((items,index)=>/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",flexDirection:\"row\",gap:layout.gapH,width:\"100%\",alignItems:layout.height==\"fill\"?\"stretch\":layout.alignV,justifyContent:layout.alignH},children:items})),/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:`.${id}-image > div {\n                        position: relative !important;\n                        ${imageOptions.aspectRatioMode==\"fixed\"?\"height: 100%;\":\"\"}\n                    }`}})]});}ButtonsInput.displayName=\"Buttons Input\";addPropertyControls(ButtonsInput,{name:{type:ControlType.String,defaultValue:\"Buttons\",placeholder:\"Name\",preventLocalization:true},required:{type:ControlType.Boolean,defaultValue:false},clickAction:{type:ControlType.Enum,defaultValue:\"select\",options:[\"select\",\"nextPage\"],optionTitles:[\"Select\",\"Go To Next Page\"],displaySegmentedControl:true,segmentedControlDirection:\"vertical\"},multiSelect:{type:ControlType.Boolean,defaultValue:false,title:\"Multi-Select\",hidden:props=>props.clickAction!==\"select\"},valueSeparator:{type:ControlType.String,defaultValue:\", \",hidden:props=>!props.multiSelect||props.clickAction!==\"select\"},options:{type:ControlType.Array,defaultValue:[{value:\"Option1\",title:\"Option 1\"},{value:\"Option2\",title:\"Option 2\"},{value:\"Option3\",title:\"Option 3\"}],control:{type:ControlType.Object,controls:{value:{type:ControlType.String,defaultValue:\"\",preventLocalization:true},title:{type:ControlType.String,defaultValue:\"\"},image:{type:ControlType.ResponsiveImage}}}},layout:{type:ControlType.Object,controls:{columns:{type:ControlType.Number,defaultValue:3,min:1,step:1,displayStepper:true},height:{type:ControlType.Enum,defaultValue:\"fit\",options:[\"fit\",\"fill\"],optionTitles:[\"Fit\",\"Fill\"],displaySegmentedControl:true,hidden:props=>props.columns==1},alignH:{type:ControlType.Enum,defaultValue:\"start\",options:[\"start\",\"center\",\"end\"],optionTitles:[\"Left\",\"Center\",\"Right\"],displaySegmentedControl:true,title:\"Align\",hidden:props=>props.columns==1},alignV:{type:ControlType.Enum,defaultValue:\"start\",options:[\"start\",\"center\",\"end\"],optionTitles:[\"Top\",\"Center\",\"Bottom\"],displaySegmentedControl:true,title:\" \",hidden:props=>props.columns==1||props.height==\"fill\"},gapH:{type:ControlType.Number,defaultValue:10,min:0,step:1,hidden:props=>props.columns==1},gapV:{type:ControlType.Number,defaultValue:10,min:0,step:1}}},textOptions:{type:ControlType.Object,optional:true,title:\"Text\",defaultValue:{location:\"top\",gap:10},controls:{location:{type:ControlType.Enum,defaultValue:\"top\",options:[\"top\",\"bottom\"],optionTitles:[\"Top\",\"Bottom\"],displaySegmentedControl:true},gap:{type:ControlType.Number,defaultValue:10,min:0,step:1},font:{type:\"font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:12,lineHeight:1,textAlign:\"center\"}},colorOn:{type:ControlType.Color,defaultValue:\"#0099FF\"},colorOff:{type:ControlType.Color,defaultValue:\"#999\"},colorFocus:{type:ControlType.Color,optional:true,title:\"Focus\"},colorInvalid:{type:ControlType.Color,optional:true,title:\"Invalid\"}}},imageOptions:{type:ControlType.Object,title:\"Images\",controls:{aspectRatioMode:{type:ControlType.Enum,defaultValue:\"auto\",options:[\"auto\",\"fixed\"],optionTitles:[\"Auto\",\"Fixed\"],displaySegmentedControl:true,title:\"Aspect Ratio\"},aspectRatio:{type:ControlType.String,defaultValue:\"1 / 1\",placeholder:\"Width / Height\",title:\" \",preventLocalization:true,hidden:props=>props.aspectRatioMode!=\"fixed\"},alignV:{type:ControlType.Enum,defaultValue:\"center\",options:[\"start\",\"center\",\"end\"],optionTitles:[\"Top\",\"Center\",\"Bottom\"],optionIcons:[\"align-top\",\"align-middle\",\"align-bottom\"],displaySegmentedControl:true,title:\"Align\",hidden:props=>props.aspectRatioMode!=\"auto\"},radius:{type:ControlType.BorderRadius,defaultValue:\"0px\"}}},fill:fillProp({onOff:true,invalid:true}),radius:{type:ControlType.BorderRadius,defaultValue:\"10px\"},padding:{type:ControlType.Padding,defaultValue:\"10px\"},border:borderProp({onOff:true,invalid:true}),shadows:shadowsProp(),bgBlur:{type:ControlType.Number,min:0,max:100,step:1,displayStepper:true,title:\"BG Blur\"},transition:{type:ControlType.Transition,defaultValue:{type:\"spring\",stiffness:1500,damping:70}},focusEvent:{type:ControlType.EventHandler,title:\"Focus\"},blurEvent:{type:ControlType.EventHandler,title:\"Blur\"},invalidEvent:{type:ControlType.EventHandler,title:\"Invalid\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ButtonsInput\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"any\",\"framerDisableUnlink\":\"\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"400\",\"framerSupportedLayoutWidth\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{useState,useEffect,useRef}from\"react\";import{motion}from\"framer-motion\";import{createBackground,Border,parsePadding,useInstanceId,Icon,HiddenInput}from\"https://framerusercontent.com/modules/DwWOdDzQZGCuvkNlbUjZ/hMz2wp3CWZkNwPJFGPgQ/FramerFormsShared.js\";import{countries,countryEmojis}from\"https://framerusercontent.com/modules/1LECUrurTpenvfDn1ShM/nL9gmnXABjh04Nl8aaL8/Countries.js\";import{CountryDropdown}from\"https://framerusercontent.com/modules/SRHLnHriy9CtZfYf0KJF/l79PAJhiVgI4zvdb2YN1/CountryDropdown.js\";import{dropdownProp,getSharedStyleControls}from\"https://framerusercontent.com/modules/PwJ4k4IqmEWPlM2ZI4Eu/Ow3xyrL3YR7stkg8VL2K/DropdownUtilities.js\";// ============================================================================\n// MAIN COMPONENT\n// ============================================================================\n/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight any\n * @framerIntrinsicWidth 400\n * @framerDisableUnlink\n */export default function CountryInput(props){const{shadows,border,icon}=props;const id=useInstanceId();const isCanvas=RenderTarget.current()===RenderTarget.canvas;const[focused,setFocused]=useState(false);const[invalid,setInvalid]=useState(false);const[dropdownOpen,setDropdownOpen]=useState(false);const[searchQuery,setSearchQuery]=useState(\"\");const[selectedCountry,setSelectedCountry]=useState(props.defaultValue&&props.defaultValue!==\"none\"?props.defaultValue:\"\");// Update selectedCountry when defaultValue prop changes\nuseEffect(()=>{if(props.defaultValue&&props.defaultValue!==\"none\"){setSelectedCountry(props.defaultValue);}else{setSelectedCountry(\"\");}},[props.defaultValue]);const dropdownRef=useRef(null);const searchInputRef=useRef(null);const inputRef=useRef(null);const[pt,pr,pb,pl]=parsePadding(props.padding);// Filter countries based on search query\nconst filteredCountries=searchQuery?countries.filter((country,index)=>{const searchLower=searchQuery.toLowerCase();return country.toLowerCase().includes(searchLower)||props.flagEmojis&&(countryEmojis[index]+\" \"+country).toLowerCase().includes(searchLower);}):countries;// Close dropdown when clicking outside\nuseEffect(()=>{const handleClickOutside=event=>{const target=event.target;const isOutsideDropdown=dropdownRef.current&&!dropdownRef.current.contains(target);const isOutsideInput=inputRef.current&&!inputRef.current.contains(target);if(isOutsideDropdown&&isOutsideInput){setDropdownOpen(false);setSearchQuery(\"\");setFocused(false);}};if(dropdownOpen||focused){document.addEventListener(\"mousedown\",handleClickOutside);return()=>{document.removeEventListener(\"mousedown\",handleClickOutside);};}},[dropdownOpen,focused]);// Focus search input when dropdown opens\nuseEffect(()=>{if(dropdownOpen&&searchInputRef.current){setTimeout(()=>{searchInputRef.current?.focus();},100);}},[dropdownOpen]);function onFocus(){setFocused(true);setDropdownOpen(true);props.focusEvent?.();if(invalid){setInvalid(false);}}function onBlur(event){// Don't blur if clicking on dropdown\nconst relatedTarget=event.relatedTarget;if(dropdownRef.current?.contains(relatedTarget)||searchInputRef.current===relatedTarget){return;}if(!dropdownOpen){setFocused(false);setSearchQuery(\"\");props.blurEvent?.();}}function onInputClick(){setDropdownOpen(true);setFocused(true);props.focusEvent?.();if(invalid){setInvalid(false);}}function onCountrySelect(country){setSelectedCountry(country);setDropdownOpen(false);setSearchQuery(\"\");setFocused(false);inputRef.current?.blur();}const onInvalid=event=>{event.preventDefault();setInvalid(true);props.invalidEvent?.();};// Handle value restoration from FormPersistence\nfunction onSetValueEvent(event){const value=event.detail;if(!value||value===\"none\"){setSelectedCountry(\"\");return;}if(countries.includes(value)){setSelectedCountry(value);}}// Get display text for selected country\nconst getDisplayText=()=>{if(!selectedCountry||selectedCountry===\"none\"){return props.noneSelectedText||\"Select a country...\";}const countryIndex=countries.indexOf(selectedCountry);if(props.flagEmojis&&countryIndex>=0){return`${countryEmojis[countryIndex]} ${selectedCountry}`;}return selectedCountry;};return /*#__PURE__*/_jsxs(motion.div,{\"data-framerforms\":true,id:id,style:{position:\"relative\",borderRadius:props.radius},initial:false,transition:props.transition,children:[/*#__PURE__*/_jsx(HiddenInput,{name:props.name,required:props.required&&!selectedCountry,value:selectedCountry,setInvalid:setInvalid,onSetValueEvent:onSetValueEvent}),/*#__PURE__*/_jsx(CountryDropdown,{isOpen:dropdownOpen,dropdownRef:dropdownRef,searchInputRef:searchInputRef,searchQuery:searchQuery,onSearchChange:setSearchQuery,filteredCountries:filteredCountries,selectedCountry:selectedCountry,onCountrySelect:onCountrySelect,containerId:id,fill:props.fill,color:props.color,font:props.font,isCanvas:isCanvas,showDropdown:props.showDropdown,showFlags:props.flagEmojis,showDialCodes:false,pinnedCountries:props.pinnedCountries,dropdownStyle:props.dropdown,borderRadius:props.radius,padding:props.padding,placeholderColor:props.placeholderColor||props.color+\"80\",bgBlur:props.bgBlur}),/*#__PURE__*/_jsxs(motion.div,{ref:inputRef,onClick:onInputClick,onFocus:onFocus,onBlur:onBlur,tabIndex:0,animate:{...createBackground(props.fill,null,focused,invalid),boxShadow:invalid&&shadows?.invalid||focused&&shadows?.focus||shadows?.default},style:{position:\"relative\",borderRadius:props.radius,cursor:\"pointer\",backdropFilter:props.bgBlur?`blur(${props.bgBlur}px)`:undefined,...props.style},initial:false,transition:props.transition,children:[/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",alignItems:\"center\",padding:icon?`${pt}px ${pr+icon.size+8}px ${pb}px ${pl}px`:props.padding,color:selectedCountry?props.color:props.placeholderColor||props.color+\"80\",textOverflow:\"ellipsis\",overflow:\"hidden\",whiteSpace:\"nowrap\",...props.font},children:getDisplayText()}),icon&&/*#__PURE__*/_jsx(Icon,{...icon,style:{position:\"absolute\",right:pr,top:\"50%\",transform:\"translateY(-50%)\",pointerEvents:\"none\"},defaultImage:`url('data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\"><path d=\"M 3.5 6 L 8 10.5 L 12.5 6\" fill=\"transparent\" stroke-width=\"1.5\" stroke=\"rgb(153, 153, 153)\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path></svg>')`}),/*#__PURE__*/_jsx(Border,{...props.border,borderColor:invalid&&border?.colorInvalid||focused&&border?.colorFocus||border?.color,transition:props.transition})]}),/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:`#${id} [tabindex]:focus { outline: none; }`}})]});}CountryInput.displayName=\"Country Input\";addPropertyControls(CountryInput,{name:{type:ControlType.String,defaultValue:\"Country\"},showDropdown:{type:ControlType.Boolean,defaultValue:false,enabledTitle:\"Show\",disabledTitle:\"Hide\",title:\"Dropdown\"},dropdown:dropdownProp(),required:{type:ControlType.Boolean,defaultValue:false},autoFocus:{type:ControlType.Boolean,defaultValue:false,title:\"Auto-Focus\"},pinnedCountries:{type:ControlType.Array,defaultValue:[],control:{type:ControlType.Enum,options:countries},title:\"Pinned\"},defaultValue:{type:ControlType.Enum,defaultValue:\"none\",options:[\"none\",...countries],optionTitles:[\"None\",...countries]},noneSelectedText:{title:\"Placeholder\",type:ControlType.String,defaultValue:\"Select a country...\",hidden:props=>props.defaultValue!==\"none\"},flagEmojis:{type:ControlType.Boolean,defaultValue:true},// Shared style controls - includes placeholderColor with default from SHARED_DEFAULTS\n// Component-specific controls (like noneSelectedText above) are defined separately\n// To override a default value, pass it as an option:\n// Example: color: \"#999999\" to override the default color\n// Example: placeholderColor: \"#666\" to override the default placeholder color\n// See DropdownUtilities.tsx SHARED_DEFAULTS for all available defaults\n...getSharedStyleControls({invalid:true})});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CountryInput\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerDisableUnlink\":\"\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerIntrinsicWidth\":\"400\",\"framerSupportedLayoutHeight\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","/*\n * FramerFormsShared\n *\n * Learn More: https://www.framer.com/asset-urls\n */\n\nexport * from \"https://framerusercontent.com/modules/DwWOdDzQZGCuvkNlbUjZ/hMz2wp3CWZkNwPJFGPgQ/FramerFormsShared.js\"\n","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://framer.com/m/FramerFormsShared-XPyb.js@hMz2wp3CWZkNwPJFGPgQ\";const OPTIMIZATION_CLASS_NAME=\"framerforms-multi-step-form\";const SUBMIT_BUTTON_HIDDEN_ATTRIBUTE=\"framerforms-submit-button-hidden\";/**\n * Walks the pageHistory backward and returns the redirect URL for the\n * first page whose data-framer-name matches a configured redirect rule.\n * Returns null when no rule matches (Framer's default behaviour applies).\n */function resolveThankYouPage(state,pages,redirects){if(!redirects?.length||!state?.pageHistory||!pages)return null;const history=state.pageHistory;for(let i=history.length-1;i>=0;i--){const pageEl=pages.children[history[i]];const pageName=pageEl?.getAttribute(\"data-framer-name\");const match=redirects.find(r=>r.pageName===pageName);if(match)return match.url;}return null;}// ─── Component ───────────────────────────────────────────────────────\n/**\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);}};if(!video.paused){pauseVideo();}else{video.addEventListener(\"play\",pauseVideo,{once:true});}}}}}let unmountFunction=null;if(form){// ─── Enter-key handler ───────────────────────────────\nfunction 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){inputs[currentIndex+1].focus();}else{const pageElements=Array.from(pages.children);const pageIndex=pageElements.indexOf(currentPage);if(pageIndex<pageElements.length-1){nextPage();}else{stopEvent=false;}}}if(stopEvent){event.preventDefault();event.stopPropagation();}}form.addEventListener(\"keydown\",onEnterPress,true);// ─── Conditional redirect submit handler ─────────────\n//\n// ALWAYS re-submits natively via requestSubmit() so that\n// Framer's internal pipeline handles Send To actions\n// (Sheet, Email, etc.). We only intercept to override\n// Framer's default redirect with a conditional one.\n//\nasync function onFormSubmit(event){// Only intercept when the user is on an end page\nif(!stateRef.current?.isEndPage)return;event.preventDefault();event.stopPropagation();try{// 1. Resolve conditional thank-you redirect\nconst thankYouUrl=resolveThankYouPage(stateRef.current,pages,props.thankYouRedirects);// 2. If a conditional redirect matched, temporarily\n//    intercept Framer's internal fetch so we can redirect\n//    after Send To actions complete but before Framer's\n//    default redirect fires.\nif(thankYouUrl){const origFetch=window.fetch.bind(window);window.fetch=async function(input,init){// Let Framer's POST go through normally\nconst response=await origFetch(input,init);// Restore immediately so no other calls are affected\nwindow.fetch=origFetch;// Redirect to the conditional thank-you page\nwindow.location.href=thankYouUrl;return response;};// Safety: restore original fetch if nothing fires\n// within 15 seconds (e.g. network timeout)\nsetTimeout(()=>{if(window.fetch!==origFetch){window.fetch=origFetch;}},15e3);}// 3. Re-submit natively — Framer handles Send To + redirect\nform.removeEventListener(\"submit\",onFormSubmit,true);form.requestSubmit();form.addEventListener(\"submit\",onFormSubmit,true);}catch(err){console.error(\"Form submission failed:\",err);}}form.addEventListener(\"submit\",onFormSubmit,true);unmountFunction=()=>{form.removeEventListener(\"keydown\",onEnterPress,true);form.removeEventListener(\"submit\",onFormSubmit,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\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,{// ─── Conditional thank-you redirects ─────────────────────────────\nthankYouRedirects:{type:ControlType.Array,title:\"Thank You Redirects\",description:\"Redirect to a different thank-you page based on the form path the user took. Matched against data-framer-name of visited pages (last match in history wins).\",control:{type:ControlType.Object,controls:{pageName:{type:ControlType.String,title:\"Page Name\",placeholder:\"data-framer-name of trigger page\",preventLocalization:true},url:{type:ControlType.String,title:\"Redirect URL\",placeholder:\"https://example.com/thank-you-a\",preventLocalization:true}}}},// ─── Original controls ───────────────────────────────────────────\nendPage:{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 */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.\n */export function hasRequiredFieldsFilled(element){const inputs=element.querySelectorAll(\"input[required], select[required], textarea[required]\");for(const input of inputs){if(input.disabled)continue;if(input.tabIndex===-1&&input.style.opacity===\"0\")continue;const value=input.value?.trim()??\"\";if(value===\"\"){return false;}}return true;}function isVisible(element){return element.offsetParent!==null||element instanceof HTMLInputElement&&element.type===\"hidden\";}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;}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;}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;}const autofocusElements=pageElement.querySelectorAll(\"input[autofocus], select[autofocus], textarea[autofocus]\");const elements=Array.from(autofocusElements);const visibleElements=elements.filter(el=>{const style=window.getComputedStyle(el);return style.display!==\"none\"&&style.visibility!==\"hidden\"&&!el.hidden&&!el.disabled&&el.offsetParent!==null;});if(visibleElements.length>0){visibleElements[0].focus();}}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"MultiStepForm\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"isFormValid\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"hasRequiredFieldsFilled\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./MultiStepForm.map"],"mappings":"0gBAIG,SAAwB,EAAW,EAAM,CAAC,GAAK,CAAC,aAAW,oBAAkB,EAAW,CAAC,EAAmB,GAAuB,EAAsB,EAAO,CAAC,EAAS,GAAaA,EAAS,IAAI,EAAQ,EAAIC,EAAO,IAAI,EACgqB,OAD9pB,MAAc,CAAC,EAAY,EAAY,EAAI,OAAO,CAAC,CAAE,EAAE,CAAC,CAAG,CAAC,EAAE,MAAc,CAAC,IAAM,EAAK,GAAU,KAAW,EAAO,GAAU,OAAO,GAAG,GAAQ,EAAmB,GAAQ,CAAC,IAAM,MAAgB,CAAC,IAAI,IAAM,KAAa,EAAW,CAAC,IAAI,EAAM,GAAG,GAAG,EAAU,MAAM,QAAS,EAAM,EAAc,EAAK,EAAU,SAAS,GAAG,QAAS,GAAG,EAAU,MAAM,WAAW,CAAC,IAAM,EAAS,EAAK,cAAc,UAAU,EAAU,UAAU,GAAG,EAAE,AACxlB,EAD2lB,EACxoB,EAAS,QAAQ,UAAU,YAAwB,EAAI,KAAM,GAAM,EAAK,cAAc,UAAU,EAAU,UAAU,GAAG,CAAC,EAAE,OAAO,GAAI,QAAQ,IAAI,gCAAgC,CAAC,UAAU,EAAU,UAAU,KAAK,EAAU,KAAW,QAAM,cAA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