{"version":3,"file":"lbfJs6Cuv.DXhN4jce.mjs","names":["React.useContext","React.useMemo","React.Fragment","React.forwardRef","useRef","React.useId","RichText","Image1"],"sources":["https:/framerusercontent.com/modules/veivzk1DIejTTTmCixDp/AtpY8YzqzOBxZISIBQVH/lbfJs6Cuv.js"],"sourcesContent":["// Generated by Framer (95da0c7)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,getLoadingLazyAtYPosition,Image as Image1,RichText,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";const enabledGestures={GBycU2ZgX:{hover:true}};const cycleOrder=[\"GBycU2ZgX\",\"Hf6o595DO\",\"hLthOYDsw\",\"NXZfA25Hk\",\"tuuBn_tsO\"];const serializationHash=\"framer-LxmEg\";const variantClassNames={GBycU2ZgX:\"framer-v-1jdfnml\",Hf6o595DO:\"framer-v-iysrhd\",hLthOYDsw:\"framer-v-33jesd\",NXZfA25Hk:\"framer-v-1s65gt4\",tuuBn_tsO:\"framer-v-7x4t43\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const AiCe69Q1V=undefined;const transition1={bounce:.2,delay:0,duration:.4,type:\"spring\"};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 humanReadableVariantMap={Default:\"GBycU2ZgX\",Error:\"NXZfA25Hk\",Incomplete:\"tuuBn_tsO\",Loading:\"Hf6o595DO\",Success:\"hLthOYDsw\"};const Variants=motion.create(React.Fragment);const getProps=({height,id,label,width,...props})=>{return{...props,AiCe69Q1V:label??props.AiCe69Q1V??\"Get my quote\",variant:humanReadableVariantMap[props.variant]??props.variant??\"GBycU2ZgX\"};};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,AiCe69Q1V,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"GBycU2ZgX\",enabledGestures,ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);const isDisplayed=()=>{if([\"Hf6o595DO\",\"hLthOYDsw\"].includes(baseVariant))return false;return true;};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-1jdfnml\",className,classNames),\"data-framer-name\":\"Default\",\"data-reset\":\"button\",layoutDependency:layoutDependency,layoutId:\"GBycU2ZgX\",ref:refBinding,style:{backgroundColor:\"rgb(104, 151, 207)\",borderBottomLeftRadius:3,borderBottomRightRadius:3,borderTopLeftRadius:3,borderTopRightRadius:3,opacity:1,...style},variants:{\"GBycU2ZgX-hover\":{backgroundColor:\"rgb(90, 136, 192)\",opacity:1},Hf6o595DO:{opacity:.85},hLthOYDsw:{backgroundColor:\"rgb(62, 155, 107)\",opacity:1},NXZfA25Hk:{backgroundColor:\"rgb(192, 57, 43)\",opacity:1},tuuBn_tsO:{opacity:.6}},...addPropertyOverrides({Hf6o595DO:{\"data-framer-name\":\"Loading\"},hLthOYDsw:{\"data-framer-name\":\"Success\"},NXZfA25Hk:{\"data-framer-name\":\"Error\"},tuuBn_tsO:{\"data-framer-name\":\"Incomplete\"}},baseVariant,gestureVariant),children:[/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{dir:\"auto\",style:{\"--font-selector\":\"RlM7UmFsZXdheS1tZWRpdW0=\",\"--framer-font-family\":'\"Raleway\", \"Raleway Placeholder\", sans-serif',\"--framer-font-weight\":\"500\",\"--framer-line-height\":\"1em\",\"--framer-text-color\":\"var(--extracted-r6o4lv, rgb(255, 255, 255))\"},children:\"Label\"})}),className:\"framer-1akz6n7\",fonts:[\"FS;Raleway-medium\"],layoutDependency:layoutDependency,layoutId:\"DsRi45NQ5\",style:{\"--extracted-r6o4lv\":\"rgb(255, 255, 255)\"},text:AiCe69Q1V,verticalAlignment:\"top\",withExternalLayout:true,...addPropertyOverrides({Hf6o595DO:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{dir:\"auto\",style:{\"--font-selector\":\"RlM7UmFsZXdheS1tZWRpdW0=\",\"--framer-font-family\":'\"Raleway\", \"Raleway Placeholder\", sans-serif',\"--framer-font-weight\":\"500\",\"--framer-line-height\":\"1em\",\"--framer-text-color\":\"var(--extracted-r6o4lv, rgb(255, 255, 255))\"},children:\"Sending…\"})}),text:undefined},hLthOYDsw:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{dir:\"auto\",style:{\"--font-selector\":\"RlM7UmFsZXdheS1tZWRpdW0=\",\"--framer-font-family\":'\"Raleway\", \"Raleway Placeholder\", sans-serif',\"--framer-font-weight\":\"500\",\"--framer-line-height\":\"1em\",\"--framer-text-color\":\"var(--extracted-r6o4lv, rgb(255, 255, 255))\"},children:\"Thanks! We’ll be in touch\"})}),text:undefined},NXZfA25Hk:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{dir:\"auto\",style:{\"--font-selector\":\"RlM7UmFsZXdheS1tZWRpdW0=\",\"--framer-font-family\":'\"Raleway\", \"Raleway Placeholder\", sans-serif',\"--framer-font-weight\":\"500\",\"--framer-line-height\":\"1em\",\"--framer-text-color\":\"var(--extracted-r6o4lv, rgb(255, 255, 255))\"},children:\"Please try again\"})}),text:undefined}},baseVariant,gestureVariant)}),isDisplayed()&&/*#__PURE__*/_jsx(Image1,{background:{alt:\"\",fit:\"fill\",loading:getLoadingLazyAtYPosition((componentViewport?.y||0)+(0+((componentViewport?.height||54)-0-18)/2)),pixelHeight:24,pixelWidth:24,sizes:\"18px\",src:\"https://framerusercontent.com/images/HrnXW4JBvWsVh77m0NUSkguBIH0.svg?width=24&height=24\"},className:\"framer-10hv9ka\",\"data-framer-name\":\"Icon\",layoutDependency:layoutDependency,layoutId:\"Wr7s_XwGG\"})]})})})});});const css=[\".framer-LxmEg.framer-8deitd, .framer-LxmEg .framer-8deitd { display: block; }\",\".framer-LxmEg.framer-1jdfnml { align-content: center; align-items: center; cursor: pointer; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 12px; height: 54px; justify-content: center; padding: 0px 26px 0px 28px; position: relative; width: min-content; }\",\".framer-LxmEg .framer-1akz6n7 { -webkit-user-select: none; flex: none; height: auto; position: relative; user-select: none; white-space: pre; width: auto; }\",\".framer-LxmEg .framer-10hv9ka { flex: none; height: 18px; position: relative; width: 18px; }\",\".framer-LxmEg.framer-v-iysrhd.framer-1jdfnml, .framer-LxmEg.framer-v-33jesd.framer-1jdfnml, .framer-LxmEg.framer-v-1s65gt4.framer-1jdfnml, .framer-LxmEg.framer-v-7x4t43.framer-1jdfnml { cursor: unset; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 54\n * @framerIntrinsicWidth 200\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"auto\",\"fixed\"]},\"Hf6o595DO\":{\"layout\":[\"auto\",\"fixed\"]},\"hLthOYDsw\":{\"layout\":[\"auto\",\"fixed\"]},\"NXZfA25Hk\":{\"layout\":[\"auto\",\"fixed\"]},\"tuuBn_tsO\":{\"layout\":[\"auto\",\"fixed\"]},\"cTbXxBcC5\":{\"layout\":[\"auto\",\"fixed\"]}}}\n * @framerVariables {\"AiCe69Q1V\":\"label\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerlbfJs6Cuv=withCSS(Component,css,\"framer-LxmEg\");export default FramerlbfJs6Cuv;FramerlbfJs6Cuv.displayName=\"Quote Submit\";FramerlbfJs6Cuv.defaultProps={height:54,width:200};addPropertyControls(FramerlbfJs6Cuv,{variant:{options:[\"GBycU2ZgX\",\"Hf6o595DO\",\"hLthOYDsw\",\"NXZfA25Hk\",\"tuuBn_tsO\"],optionTitles:[\"Default\",\"Loading\",\"Success\",\"Error\",\"Incomplete\"],title:\"Variant\",type:ControlType.Enum},AiCe69Q1V:{defaultValue:\"Get my quote\",title:\"Label\",type:ControlType.String},onAiCe69Q1VChange:{changes:\"AiCe69Q1V\",type:ControlType.ChangeHandler}});addFonts(FramerlbfJs6Cuv,[{explicitInter:true,fonts:[{cssFamilyName:\"Raleway\",source:\"fontshare\",style:\"normal\",uiFamilyName:\"Raleway\",url:\"https://framerusercontent.com/third-party-assets/fontshare/wf/5N7AW67SFRYDQX4PD7CVQBBKU4KFZBF6/IRJRILZOM2VYFNQSOPRIBLLVGYQMZYXX/VHOUC36AWF2BXBRYVUE5TB5CZAVHYGQV.woff2\",weight:\"500\"}]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerlbfJs6Cuv\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"54\",\"framerImmutableVariables\":\"true\",\"framerDisplayContentsDiv\":\"false\",\"framerIntrinsicWidth\":\"200\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]},\\\"Hf6o595DO\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]},\\\"hLthOYDsw\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]},\\\"NXZfA25Hk\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]},\\\"tuuBn_tsO\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]},\\\"cTbXxBcC5\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]}}}\",\"framerColorSyntax\":\"true\",\"framerComponentViewportWidth\":\"true\",\"framerContractVersion\":\"1\",\"framerAutoSizeImages\":\"true\",\"framerVariables\":\"{\\\"AiCe69Q1V\\\":\\\"label\\\"}\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./lbfJs6Cuv.map"],"mappings":"sVAC4qB,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,CAAC,EAAuF,OAArF,GAAU,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,EAAQ,CAAC,EAAS,CAAc,uCAA1yB,IAA8K,IAAkE,IAA4B,EAAiC,EAAgB,CAAC,UAAU,CAAC,MAAM,EAAI,CAAC,EAAQ,EAAW,CAAC,YAAY,YAAY,YAAY,YAAY,WAAW,EAAQ,EAAkB,eAAqB,EAAkB,CAAC,UAAU,mBAAmB,UAAU,kBAAkB,UAAU,kBAAkB,UAAU,mBAAmB,UAAU,iBAAiB,EAAyN,EAAY,CAAC,OAAO,GAAG,MAAM,EAAE,SAAS,GAAG,KAAK,QAAQ,EAAQ,GAAY,CAAC,QAAM,cAAY,CAAC,IAAM,EAAOA,EAAiB,CAAmB,EAAQ,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