{"version":3,"file":"Examples.D80xEeA6.mjs","names":["Bolt","React.useContext","React.useMemo","React.Fragment","React.forwardRef","useRef","React.useId","RichText","useState","useState","useRef","useCallback"],"sources":["https:/framerusercontent.com/modules/k0c4dwBiHnD1zMn64Cvk/jkBQZxdaQdVxfa9ZWQDx/R8ks21pzg.js","https:/framerusercontent.com/modules/vj7bFUjvEQFgEzNBkdoG/vf3CKm378wlVcBk7IhSU/createStore.js","https:/framer.com/m/framer/store.js@^1.0.0","https:/framerusercontent.com/modules/28rXvpPsrum7FH6cMELS/1jCAazZw1EGHjrG5Nu5D/Utils.js","https:/framer.com/m/framer/utils.js@^0.9.0","https:/framerusercontent.com/modules/dqpMkA2FagQ5zG0e9geY/GZS2VVzArWiuG4pzZXKy/Examples.js"],"sourcesContent":["// Generated by Framer (d22cd96)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,getFonts,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 Bolt from\"https://framerusercontent.com/modules/gialkBqqLsfw2Nkmm7W6/MChiuSsKsaoTwgRY0oUd/CUXLFTjXt.js\";const BoltFonts=getFonts(Bolt);const MotionDivWithFX=withFX(motion.div);const enabledGestures={C9T_klfs7:{hover:true,pressed:true}};const cycleOrder=[\"C9T_klfs7\",\"t7RBLb52g\",\"uosHXgfqj\",\"QWU_B2033\",\"sRx5L0L0o\"];const serializationHash=\"framer-uXWVC\";const variantClassNames={C9T_klfs7:\"framer-v-4d8siv\",QWU_B2033:\"framer-v-108ym0x\",sRx5L0L0o:\"framer-v-1t0r9mj\",t7RBLb52g:\"framer-v-1rewp40\",uosHXgfqj:\"framer-v-1p145kx\"};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 transformTemplate1=(_,t)=>`translateY(-50%) ${t}`;const transformTemplate2=(_,t)=>`translate(-50%, -50%) ${t}`;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 transformTemplate3=(_,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 humanReadableVariantMap={Default:\"C9T_klfs7\",Disabled:\"uosHXgfqj\",Error:\"sRx5L0L0o\",Loading:\"t7RBLb52g\",Success:\"QWU_B2033\"};const Variants=motion.create(React.Fragment);const getProps=({height,id,width,...props})=>{return{...props,variant:humanReadableVariantMap[props.variant]??props.variant??\"C9T_klfs7\"};};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,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"C9T_klfs7\",enabledGestures,ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);const isDisplayed=()=>{if(baseVariant===\"t7RBLb52g\")return false;return true;};const isDisplayed1=()=>{if(baseVariant===\"t7RBLb52g\")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-4d8siv\",className,classNames),\"data-framer-name\":\"Default\",\"data-reset\":\"button\",layoutDependency:layoutDependency,layoutId:\"C9T_klfs7\",ref:refBinding,style:{backgroundColor:\"rgb(212, 30, 30)\",borderBottomLeftRadius:5,borderBottomRightRadius:5,borderTopLeftRadius:5,borderTopRightRadius:5,opacity:1,...style},variants:{\"C9T_klfs7-hover\":{backgroundColor:\"rgb(170, 20, 20)\",opacity:1},\"C9T_klfs7-pressed\":{backgroundColor:\"rgb(51, 51, 51)\",opacity:1},QWU_B2033:{opacity:1},sRx5L0L0o:{backgroundColor:\"rgb(255, 33, 33)\",opacity:1},uosHXgfqj:{opacity:.5}},...addPropertyOverrides({QWU_B2033:{\"data-framer-name\":\"Success\"},sRx5L0L0o:{\"data-framer-name\":\"Error\"},t7RBLb52g:{\"data-framer-name\":\"Loading\"},uosHXgfqj:{\"data-framer-name\":\"Disabled\"}},baseVariant,gestureVariant),children:[/*#__PURE__*/_jsxs(motion.div,{className:\"framer-1x6mrze\",layoutDependency:layoutDependency,layoutId:\"J3y6FjpSe\",children:[/*#__PURE__*/_jsx(Bolt,{animated:true,className:\"framer-10hdne\",layoutDependency:layoutDependency,layoutId:\"jIXONZlxn\",style:{\"--esondr\":\"rgb(0, 0, 0)\",rotate:0},transformTemplate:transformTemplate1,variants:{\"C9T_klfs7-hover\":{rotate:180}}}),isDisplayed()&&/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{dir:\"auto\",style:{\"--font-selector\":\"RlM7U2F0b3NoaS1tZWRpdW0=\",\"--framer-font-family\":'\"Satoshi\", \"Satoshi Placeholder\", sans-serif',\"--framer-font-size\":\"18px\",\"--framer-font-weight\":\"500\",\"--framer-text-color\":\"var(--extracted-r6o4lv, rgb(255, 255, 255))\"},children:\"Get Free Audit\"})}),className:\"framer-lexmpq\",fonts:[\"FS;Satoshi-medium\"],layoutDependency:layoutDependency,layoutId:\"BH04nCFKt\",style:{\"--extracted-r6o4lv\":\"rgb(255, 255, 255)\"},transformTemplate:transformTemplate2,variants:{QWU_B2033:{\"--extracted-r6o4lv\":\"var(--token-fed68a23-f495-44fc-a70c-8ab3435f27bb, rgb(0, 0, 0))\"},sRx5L0L0o:{\"--extracted-r6o4lv\":\"var(--token-29c06969-08c3-488d-986b-453337d3f91d, rgb(204, 204, 204))\"},uosHXgfqj:{\"--extracted-r6o4lv\":\"var(--token-fed68a23-f495-44fc-a70c-8ab3435f27bb, rgb(0, 0, 0))\"}},verticalAlignment:\"top\",withExternalLayout:true,...addPropertyOverrides({QWU_B2033:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"RlM7U2F0b3NoaS1tZWRpdW0=\",\"--framer-font-family\":'\"Satoshi\", \"Satoshi Placeholder\", sans-serif',\"--framer-font-size\":\"14px\",\"--framer-font-weight\":\"500\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-fed68a23-f495-44fc-a70c-8ab3435f27bb, rgb(0, 0, 0)))\"},children:\"Thank you ! We'll get back to you.\"})})},sRx5L0L0o:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"RlM7U2F0b3NoaS1tZWRpdW0=\",\"--framer-font-family\":'\"Satoshi\", \"Satoshi Placeholder\", sans-serif',\"--framer-font-size\":\"14px\",\"--framer-font-weight\":\"500\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-29c06969-08c3-488d-986b-453337d3f91d, rgb(204, 204, 204)))\"},children:\"Error, please check your inputs\"})})},uosHXgfqj:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"RlM7U2F0b3NoaS1yZWd1bGFy\",\"--framer-font-family\":'\"Satoshi\", \"Satoshi Placeholder\", sans-serif',\"--framer-font-size\":\"14px\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-fed68a23-f495-44fc-a70c-8ab3435f27bb, rgb(0, 0, 0)))\"},children:\"Unavailable\"})}),fonts:[\"FS;Satoshi-regular\"]}},baseVariant,gestureVariant)}),isDisplayed1()&&/*#__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-lojt35\",\"data-framer-name\":\"Conic\",layoutDependency:layoutDependency,layoutId:\"Cs64tuSWK\",style:{background:\"conic-gradient(from 180deg at 50% 50%, rgb(68, 204, 255) 0deg, rgb(68, 204, 255) 360deg)\",backgroundColor:\"rgb(68, 204, 255)\",mask:\"none\",WebkitMask:\"none\"},variants:{t7RBLb52g:{background:\"conic-gradient(from 0deg at 50% 50%, rgba(255, 255, 255, 0) 7.208614864864882deg, rgb(255, 255, 255) 342deg)\",backgroundColor:\"rgba(0, 0, 0, 0)\",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-17db865\",\"data-framer-name\":\"Rounding\",layoutDependency:layoutDependency,layoutId:\"e2UGtByIC\",style:{backgroundColor:\"rgb(255, 255, 255)\",borderBottomLeftRadius:1,borderBottomRightRadius:1,borderTopLeftRadius:1,borderTopRightRadius:1},transformTemplate:transformTemplate3})})]}),isDisplayed1()&&/*#__PURE__*/_jsx(motion.div,{className:\"framer-16ejj6m\",\"data-framer-name\":\"Spinner\",layoutDependency:layoutDependency,layoutId:\"hIwLwAORD\",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\"}})]})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-uXWVC.framer-1pe76uq, .framer-uXWVC .framer-1pe76uq { display: block; }\",\".framer-uXWVC.framer-4d8siv { align-content: center; align-items: center; cursor: pointer; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 5px; height: 47px; justify-content: center; overflow: visible; padding: 0px; position: relative; width: 240px; }\",\".framer-uXWVC .framer-1x6mrze { flex: none; height: 47px; overflow: visible; position: relative; width: 239px; }\",\".framer-uXWVC .framer-10hdne { aspect-ratio: 1 / 1; flex: none; height: var(--framer-aspect-ratio-supported, 20px); position: absolute; right: 34px; top: 51%; width: 20px; z-index: 1; }\",\".framer-uXWVC .framer-lexmpq { -webkit-user-select: none; flex: none; height: auto; left: 49%; position: absolute; top: 48%; user-select: none; white-space: pre; width: auto; }\",\".framer-uXWVC .framer-lojt35 { flex: none; height: 20px; left: calc(48.1171548117155% - 20px / 2); overflow: visible; position: absolute; top: calc(51.06382978723406% - 20px / 2); width: 20px; }\",\".framer-uXWVC .framer-17db865 { aspect-ratio: 1 / 1; flex: none; height: var(--framer-aspect-ratio-supported, 2px); left: 50%; overflow: visible; position: absolute; top: 0px; width: 2px; }\",\".framer-uXWVC .framer-16ejj6m { aspect-ratio: 1 / 1; flex: none; gap: 10px; height: var(--framer-aspect-ratio-supported, 20px); overflow: hidden; position: relative; width: 20px; }\",\".framer-uXWVC.framer-v-1rewp40.framer-4d8siv, .framer-uXWVC.framer-v-1p145kx.framer-4d8siv, .framer-uXWVC.framer-v-1t0r9mj.framer-4d8siv { cursor: unset; }\",\".framer-uXWVC.framer-v-1rewp40 .framer-1x6mrze { width: 204px; }\",\".framer-uXWVC.framer-v-1rewp40 .framer-10hdne { right: 80px; }\",\".framer-uXWVC.framer-v-1rewp40 .framer-lojt35 { overflow: hidden; }\",\".framer-uXWVC.framer-v-108ym0x.framer-4d8siv { cursor: unset; width: 275px; }\",\".framer-uXWVC.framer-v-108ym0x .framer-1x6mrze { width: 262px; }\",\".framer-uXWVC.framer-v-108ym0x .framer-10hdne { right: 3px; }\",\".framer-uXWVC.framer-v-1t0r9mj .framer-10hdne { right: 4px; }\",\".framer-uXWVC.framer-v-1t0r9mj .framer-lexmpq { left: 47%; top: 51%; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 47\n * @framerIntrinsicWidth 240\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]},\"t7RBLb52g\":{\"layout\":[\"fixed\",\"fixed\"]},\"uosHXgfqj\":{\"layout\":[\"fixed\",\"fixed\"]},\"QWU_B2033\":{\"layout\":[\"fixed\",\"fixed\"]},\"sRx5L0L0o\":{\"layout\":[\"fixed\",\"fixed\"]},\"SU6gM1rnw\":{\"layout\":[\"fixed\",\"fixed\"]},\"j4MXXKsDI\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerR8ks21pzg=withCSS(Component,css,\"framer-uXWVC\");export default FramerR8ks21pzg;FramerR8ks21pzg.displayName=\"Form Button\";FramerR8ks21pzg.defaultProps={height:47,width:240};addPropertyControls(FramerR8ks21pzg,{variant:{options:[\"C9T_klfs7\",\"t7RBLb52g\",\"uosHXgfqj\",\"QWU_B2033\",\"sRx5L0L0o\"],optionTitles:[\"Default\",\"Loading\",\"Disabled\",\"Success\",\"Error\"],title:\"Variant\",type:ControlType.Enum}});addFonts(FramerR8ks21pzg,[{explicitInter:true,fonts:[{cssFamilyName:\"Satoshi\",source:\"fontshare\",style:\"normal\",uiFamilyName:\"Satoshi\",url:\"https://framerusercontent.com/third-party-assets/fontshare/wf/P2LQKHE6KA6ZP4AAGN72KDWMHH6ZH3TA/ZC32TK2P7FPS5GFTL46EU6KQJA24ZYDB/7AHDUZ4A7LFLVFUIFSARGIWCRQJHISQP.woff2\",weight:\"500\"},{cssFamilyName:\"Satoshi\",source:\"fontshare\",style:\"normal\",uiFamilyName:\"Satoshi\",url:\"https://framerusercontent.com/third-party-assets/fontshare/wf/TTX2Z3BF3P6Y5BQT3IV2VNOK6FL22KUT/7QYRJOI3JIMYHGY6CH7SOIFRQLZOLNJ6/KFIAZD4RUMEZIYV6FQ3T3GP5PDBDB6JY.woff2\",weight:\"400\"}]},...BoltFonts],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerR8ks21pzg\",\"slots\":[],\"annotations\":{\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"t7RBLb52g\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"uosHXgfqj\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"QWU_B2033\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"sRx5L0L0o\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"SU6gM1rnw\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"j4MXXKsDI\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerContractVersion\":\"1\",\"framerImmutableVariables\":\"true\",\"framerComponentViewportWidth\":\"true\",\"framerDisplayContentsDiv\":\"false\",\"framerColorSyntax\":\"true\",\"framerIntrinsicWidth\":\"240\",\"framerIntrinsicHeight\":\"47\",\"framerAutoSizeImages\":\"true\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./R8ks21pzg.map","import{useState,useEffect}from\"react\";import{Data,useObserveData}from\"framer\";export function createStore(state1){// Use Data so that a Preview reload resets the state\nconst dataStore=Data({state:Object.freeze({...state1})});// Create a set function that updates the state\nconst setDataStore=newState=>{// If the state is an object, make sure we copy it\nif(typeof newState===\"function\"){newState=newState(dataStore.state);}dataStore.state=Object.freeze({...dataStore.state,...newState});};// Store the initial state, copy the object if it's an object\nlet storeState=typeof state1===\"object\"?Object.freeze({...state1}):state1;// Keep a list of all the listeners, in the form of React hook setters\nconst storeSetters=new Set();// Create a set function that updates all the listeners / setters\nconst setStoreState=newState=>{// If the state is an object, make sure we copy it\nif(typeof newState===\"function\"){newState=newState(storeState);}storeState=typeof newState===\"object\"?Object.freeze({...storeState,...newState}):newState;// Update all the listeners / setters with the new value\nstoreSetters.forEach(setter=>setter(storeState));};// Create the actual hook based on everything above\nfunction useStore(){// Create the hook we are going to use as a listener\nconst[state,setState]=useState(storeState);// If we unmount the component using this hook, we need to remove the listener\n// @ts-ignore\nuseEffect(()=>{// But right now, we need to add the listener\nstoreSetters.add(setState);return()=>storeSetters.delete(setState);},[]);// If Data context exists, use Data, otherwise use vanilla React state\nif(useObserveData()===true){useObserveData();return[dataStore.state,setDataStore];}else{// Return the state and a function to update the central store\nreturn[state,setStoreState];}}return useStore;}\nexport const __FramerMetadata__ = {\"exports\":{\"createStore\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./createStore.map","/*\n * createStore (framer/store@1.0.1)\n *\n * Learn More: https://www.framer.com/asset-urls\n */\n\nexport * from \"https://framerusercontent.com/modules/vj7bFUjvEQFgEzNBkdoG/vf3CKm378wlVcBk7IhSU/createStore.js\"\n","export const centerContent = {\n    display: \"flex\",\n    justifyContent: \"center\",\n    alignItems: \"center\"\n};\nexport const autoSizingText = {\n    width: \"max-content\",\n    wordBreak: \"break-word\",\n    overflowWrap: \"break-word\",\n    overflow: \"hidden\",\n    whiteSpace: \"pre-wrap\",\n    flexShrink: 0\n};\nexport const defaultContainerStyles = {\n    ...centerContent,\n    overflow: \"hidden\"\n};\nexport const containerStyles = defaultContainerStyles;\nexport const randomColor = ()=>\"#\" + Math.floor(Math.random() * 16777215).toString(16)\n;\n\nexport const __FramerMetadata__ = {\"exports\":{\"centerContent\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"containerStyles\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"autoSizingText\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"defaultContainerStyles\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"randomColor\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}}}}\n//# sourceMappingURL=./Utils.map","/*\n * Utils (framer/utils@0.9.0)\n *\n * Learn More: https://www.framer.com/asset-urls\n */\n\nexport * from \"https://framerusercontent.com/modules/28rXvpPsrum7FH6cMELS/1jCAazZw1EGHjrG5Nu5D/Utils.js\"\n","import{jsx as _jsx}from\"react/jsx-runtime\";import{forwardRef,useRef,startTransition,useCallback,useState}from\"react\";import{createStore}from\"https://framer.com/m/framer/store.js@^1.0.0\";import{randomColor}from\"https://framer.com/m/framer/utils.js@^0.9.0\";// Learn more: https://www.framer.com/developers/overrides/\nconst useStore=createStore({background:\"#0099FF\"});export function withRotate(Component){return /*#__PURE__*/forwardRef((props,ref)=>{return /*#__PURE__*/_jsx(Component,{ref:ref,...props,animate:{rotate:90},transition:{duration:2}});});}export function withHover(Component){return /*#__PURE__*/forwardRef((props,ref)=>{return /*#__PURE__*/_jsx(Component,{ref:ref,...props,whileHover:{scale:1.05}});});}export function withRandomColor(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const[store,setStore]=useStore();return /*#__PURE__*/_jsx(Component,{ref:ref,...props,animate:{background:store.background},onClick:()=>{setStore({background:randomColor()});}});});}export function withFormsparkSubmit(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const[submitState,setSubmitState]=useState(\"idle\");const isPendingRef=useRef(false);const{onSubmit:_existingOnSubmit,...restProps}=props;const handleSubmit=useCallback(async event=>{event.preventDefault();event.stopPropagation();if(isPendingRef.current)return;isPendingRef.current=true;startTransition(()=>setSubmitState(\"pending\"));const form=event.currentTarget;if(!form){startTransition(()=>setSubmitState(\"error\"));return;}let shouldRedirect=false;try{const formData=new FormData(form);const response=await fetch(\"https://submit-form.com/qUy7OtOEB\",{method:\"POST\",body:formData,headers:{Accept:\"application/json\"}});if(!response.ok){throw new Error(`Formspark submission failed: ${response.status}`);}await response.json().catch(()=>null);form.reset();startTransition(()=>setSubmitState(\"success\"));shouldRedirect=true;}catch(error){console.error(\"Formspark submit error:\",error);startTransition(()=>setSubmitState(\"error\"));}finally{if(!shouldRedirect){isPendingRef.current=false;}}if(shouldRedirect&&typeof window!==\"undefined\"){window.location.href=\"https://cal.com/myka-perez-88j7z3/15min\";}},[]);return /*#__PURE__*/_jsx(Component,{ref:ref,...restProps,onSubmit:handleSubmit,\"aria-busy\":submitState===\"pending\",\"data-formspark-state\":submitState});});}\nexport const __FramerMetadata__ = {\"exports\":{\"withFormsparkSubmit\":{\"type\":\"reactHoc\",\"name\":\"withFormsparkSubmit\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHover\":{\"type\":\"reactHoc\",\"name\":\"withHover\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withRandomColor\":{\"type\":\"reactHoc\",\"name\":\"withRandomColor\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withRotate\":{\"type\":\"reactHoc\",\"name\":\"withRotate\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerM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