{"version":3,"file":"AvoidLayoutJumping_Prod.9qKIfNTo.mjs","names":["React.useContext","React.useMemo","React.Fragment","useRef","React.useId","RichText","Image","useRef"],"sources":["https:/framerusercontent.com/modules/3OVBT3ACCjodtHvGgnP4/QZcNbbg4qS1YlXLkxgUk/Uh9cPjeQg.js","https:/framerusercontent.com/modules/h8ioHyt4BUxuvVCE1Q10/aTM6mEMGlM19JjX8exDe/AvoidLayoutJumping_Prod.js"],"sourcesContent":["// Generated by Framer (5ce23eb)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,getLoadingLazyAtYPosition,Image,Link,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={dKj_cTtz9:{hover:true},LXdLGq_gA:{hover:true},PioSusFa9:{hover:true},qYM5NetDr:{hover:true}};const cycleOrder=[\"qYM5NetDr\",\"dKj_cTtz9\",\"PioSusFa9\",\"LXdLGq_gA\"];const serializationHash=\"framer-QcGdv\";const variantClassNames={dKj_cTtz9:\"framer-v-x5dkpa\",LXdLGq_gA:\"framer-v-1k7bd9y\",PioSusFa9:\"framer-v-15nfh5m\",qYM5NetDr:\"framer-v-ej25m7\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const ZaTdYrPcd=undefined;const lQGx8Gb_I=undefined;const QoZDi2vbR=undefined;const HC6H_eczS=undefined;const transition1={delay:0,duration:.5,ease:[.93,.21,.42,.97],type:\"tween\"};const transformTemplate1=(_,t)=>`translateX(-50%) ${t}`;const toResponsiveImage=value=>{if(typeof value===\"object\"&&value!==null&&typeof value.src===\"string\"){return value;}return typeof value===\"string\"?{src:value}:undefined;};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={\"Button Dark Small\":\"LXdLGq_gA\",\"Button Dark\":\"dKj_cTtz9\",\"Button Primary Soft\":\"PioSusFa9\",\"Button Primary\":\"qYM5NetDr\"};const Variants=motion.create(React.Fragment);const getProps=({height,icon,id,link,newTab,title,width,...props})=>{return{...props,HC6H_eczS:icon??props.HC6H_eczS??{alt:\"Icon\",pixelHeight:10,pixelWidth:13,src:\"https://framerusercontent.com/images/JB06e6LZsr2MhVwjLlHEhrgQ.svg?width=13&height=10\"},lQGx8Gb_I:newTab??props.lQGx8Gb_I,QoZDi2vbR:title??props.QoZDi2vbR??\"Get Started • it’s free\",variant:humanReadableVariantMap[props.variant]??props.variant??\"qYM5NetDr\",ZaTdYrPcd:link??props.ZaTdYrPcd};};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,QoZDi2vbR,HC6H_eczS,ZaTdYrPcd,lQGx8Gb_I,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"qYM5NetDr\",enabledGestures,ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);const isDisplayed=()=>{if([\"dKj_cTtz9-hover\",\"PioSusFa9-hover\",\"LXdLGq_gA-hover\"].includes(gestureVariant))return false;if([\"dKj_cTtz9\",\"PioSusFa9\",\"LXdLGq_gA\"].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__*/_jsx(Link,{href:ZaTdYrPcd,motionChild:true,nodeId:\"qYM5NetDr\",openInNewTab:lQGx8Gb_I,scopeId:\"Uh9cPjeQg\",children:/*#__PURE__*/_jsxs(motion.a,{...restProps,...gestureHandlers,className:`${cx(scopingClassNames,\"framer-ej25m7\",className,classNames)} framer-1oaeblh`,\"data-border\":true,\"data-framer-name\":\"Button Primary\",layoutDependency:layoutDependency,layoutId:\"qYM5NetDr\",ref:refBinding,style:{\"--border-bottom-width\":\"1px\",\"--border-color\":\"var(--token-0ebb4cb9-ebaa-4615-a594-9cba57efb1be, rgb(82, 53, 239))\",\"--border-left-width\":\"1px\",\"--border-right-width\":\"1px\",\"--border-style\":\"solid\",\"--border-top-width\":\"1px\",backgroundColor:\"rgb(36, 36, 80)\",borderBottomLeftRadius:30,borderBottomRightRadius:30,borderTopLeftRadius:30,borderTopRightRadius:30,boxShadow:\"0px 6px 20px 0px rgba(82, 53, 239, 0.6)\",...style},variants:{\"qYM5NetDr-hover\":{boxShadow:\"0px 10px 24px 0px rgba(82, 53, 239, 0.6)\"},dKj_cTtz9:{\"--border-color\":\"var(--token-f76c80e4-24c3-4158-b8cf-0c2015ff5a02, rgb(16, 16, 17))\",boxShadow:\"0px 6px 20px 0px rgba(16, 16, 17, 0.6)\"},LXdLGq_gA:{\"--border-color\":\"var(--token-f76c80e4-24c3-4158-b8cf-0c2015ff5a02, rgb(16, 16, 17))\",boxShadow:\"0px 3px 14px 0px rgba(16, 16, 17, 0.6)\"}},...addPropertyOverrides({\"dKj_cTtz9-hover\":{\"data-framer-name\":undefined},\"LXdLGq_gA-hover\":{\"data-framer-name\":undefined},\"PioSusFa9-hover\":{\"data-framer-name\":undefined},\"qYM5NetDr-hover\":{\"data-framer-name\":undefined},dKj_cTtz9:{\"data-framer-name\":\"Button Dark\"},LXdLGq_gA:{\"data-framer-name\":\"Button Dark Small\"},PioSusFa9:{\"data-framer-name\":\"Button Primary Soft\"}},baseVariant,gestureVariant),children:[/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{dir:\"auto\",style:{\"--font-selector\":\"RlM7U3dpdHplci1tZWRpdW0=\",\"--framer-font-family\":'\"Switzer\", \"Switzer Placeholder\", sans-serif',\"--framer-font-open-type-features\":\"'blwf' on, 'cv09' on, 'cv03' on, 'cv04' on, 'cv11' on\",\"--framer-font-size\":\"18px\",\"--framer-font-weight\":\"500\",\"--framer-letter-spacing\":\"-0.02em\",\"--framer-line-height\":\"1.4em\",\"--framer-text-alignment\":\"center\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-4a707b9d-a31e-4c43-92fb-0b65962a4be7, rgb(240, 242, 246)))\"},children:\"Get Started • it’s free\"})}),className:\"framer-vxb3oa\",fonts:[\"FS;Switzer-medium\"],layoutDependency:layoutDependency,layoutId:\"gQgWAjSqs\",style:{\"--extracted-r6o4lv\":\"var(--token-4a707b9d-a31e-4c43-92fb-0b65962a4be7, rgb(240, 242, 246))\",\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\",opacity:1,rotateX:0,transformPerspective:500},text:QoZDi2vbR,variants:{\"dKj_cTtz9-hover\":{opacity:0,rotateX:60},\"LXdLGq_gA-hover\":{opacity:0,rotateX:60},\"PioSusFa9-hover\":{opacity:0,rotateX:60},\"qYM5NetDr-hover\":{opacity:0,rotateX:60}},verticalAlignment:\"top\",withExternalLayout:true,...addPropertyOverrides({\"dKj_cTtz9-hover\":{transformTemplate:transformTemplate1},\"LXdLGq_gA-hover\":{transformTemplate:transformTemplate1},\"PioSusFa9-hover\":{transformTemplate:transformTemplate1},\"qYM5NetDr-hover\":{transformTemplate:transformTemplate1},LXdLGq_gA:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{dir:\"auto\",style:{\"--font-selector\":\"RlM7U3dpdHplci1tZWRpdW0=\",\"--framer-font-family\":'\"Switzer\", \"Switzer Placeholder\", sans-serif',\"--framer-font-open-type-features\":\"'blwf' on, 'cv09' on, 'cv03' on, 'cv04' on, 'cv11' on\",\"--framer-font-size\":\"14px\",\"--framer-font-weight\":\"500\",\"--framer-letter-spacing\":\"-0.02em\",\"--framer-line-height\":\"1.4em\",\"--framer-text-alignment\":\"center\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-4a707b9d-a31e-4c43-92fb-0b65962a4be7, rgb(240, 242, 246)))\"},children:\"Get Started • it’s free\"})})}},baseVariant,gestureVariant)}),/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{dir:\"auto\",style:{\"--font-selector\":\"RlM7U3dpdHplci1tZWRpdW0=\",\"--framer-font-family\":'\"Switzer\", \"Switzer Placeholder\", sans-serif',\"--framer-font-open-type-features\":\"'blwf' on, 'cv09' on, 'cv03' on, 'cv04' on, 'cv11' on\",\"--framer-font-size\":\"18px\",\"--framer-font-weight\":\"500\",\"--framer-letter-spacing\":\"-0.02em\",\"--framer-line-height\":\"1.4em\",\"--framer-text-alignment\":\"center\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-4a707b9d-a31e-4c43-92fb-0b65962a4be7, rgb(240, 242, 246)))\"},children:\"Get Started • it’s free\"})}),className:\"framer-hsjxh3\",fonts:[\"FS;Switzer-medium\"],layoutDependency:layoutDependency,layoutId:\"SRSRbdu90\",style:{\"--extracted-r6o4lv\":\"var(--token-4a707b9d-a31e-4c43-92fb-0b65962a4be7, rgb(240, 242, 246))\",\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\",opacity:0,rotateX:-60,transformPerspective:500},text:QoZDi2vbR,transformTemplate:transformTemplate1,variants:{\"dKj_cTtz9-hover\":{opacity:1,rotateX:0},\"LXdLGq_gA-hover\":{opacity:1,rotateX:0},\"PioSusFa9-hover\":{opacity:1,rotateX:0},\"qYM5NetDr-hover\":{opacity:1,rotateX:0}},verticalAlignment:\"top\",withExternalLayout:true,...addPropertyOverrides({\"dKj_cTtz9-hover\":{transformTemplate:undefined},\"LXdLGq_gA-hover\":{transformTemplate:undefined},\"PioSusFa9-hover\":{transformTemplate:undefined},\"qYM5NetDr-hover\":{transformTemplate:undefined},LXdLGq_gA:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{dir:\"auto\",style:{\"--font-selector\":\"RlM7U3dpdHplci1tZWRpdW0=\",\"--framer-font-family\":'\"Switzer\", \"Switzer Placeholder\", sans-serif',\"--framer-font-open-type-features\":\"'blwf' on, 'cv09' on, 'cv03' on, 'cv04' on, 'cv11' on\",\"--framer-font-size\":\"14px\",\"--framer-font-weight\":\"500\",\"--framer-letter-spacing\":\"-0.02em\",\"--framer-line-height\":\"1.4em\",\"--framer-text-alignment\":\"center\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-4a707b9d-a31e-4c43-92fb-0b65962a4be7, rgb(240, 242, 246)))\"},children:\"Get Started • it’s free\"})})}},baseVariant,gestureVariant)}),isDisplayed()&&/*#__PURE__*/_jsxs(motion.div,{className:\"framer-19perki\",\"data-framer-name\":\"Button Arrow\",layoutDependency:layoutDependency,layoutId:\"bLu2dECeq\",style:{backgroundColor:\"var(--token-4a707b9d-a31e-4c43-92fb-0b65962a4be7, rgb(240, 242, 246))\",borderBottomLeftRadius:30,borderBottomRightRadius:30,borderTopLeftRadius:30,borderTopRightRadius:30},children:[/*#__PURE__*/_jsx(Image,{background:{alt:\"Icon\",fit:\"fill\",loading:getLoadingLazyAtYPosition((componentViewport?.y||0)+(12+((componentViewport?.height||54)-24-30)/2)+10),pixelHeight:10,pixelWidth:13,sizes:\"15px\",...toResponsiveImage(HC6H_eczS)},className:\"framer-b9qc7m\",layoutDependency:layoutDependency,layoutId:\"SeAkKKqzu\",style:{opacity:1},variants:{\"qYM5NetDr-hover\":{opacity:0}}}),/*#__PURE__*/_jsx(Image,{background:{alt:\"Icon\",fit:\"fill\",loading:getLoadingLazyAtYPosition((componentViewport?.y||0)+(12+((componentViewport?.height||54)-24-30)/2)+10),pixelHeight:10,pixelWidth:13,sizes:\"15px\",...toResponsiveImage(HC6H_eczS)},className:\"framer-6177n6\",layoutDependency:layoutDependency,layoutId:\"oAO2Snu5z\",style:{opacity:0},variants:{\"qYM5NetDr-hover\":{opacity:1}}})]})]})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-QcGdv.framer-1oaeblh, .framer-QcGdv .framer-1oaeblh { display: block; }\",\".framer-QcGdv.framer-ej25m7 { align-content: center; align-items: center; cursor: pointer; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: min-content; justify-content: center; overflow: hidden; padding: 12px 10px 12px 28px; position: relative; text-decoration: none; width: min-content; will-change: var(--framer-will-change-override, transform); }\",\".framer-QcGdv .framer-vxb3oa { flex: none; height: auto; position: relative; white-space: pre; width: auto; }\",\".framer-QcGdv .framer-hsjxh3 { bottom: -1px; flex: none; height: auto; left: 45%; position: absolute; white-space: pre; width: auto; z-index: 1; }\",\".framer-QcGdv .framer-19perki { align-content: center; align-items: center; display: flex; flex: none; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: 30px; justify-content: center; overflow: hidden; padding: 0px; position: relative; width: 30px; will-change: var(--framer-will-change-override, transform); }\",\".framer-QcGdv .framer-b9qc7m { flex: none; height: 10px; overflow: hidden; position: relative; width: 15px; will-change: var(--framer-will-change-filter-override, filter); }\",\".framer-QcGdv .framer-6177n6 { flex: none; height: 10px; left: -13px; overflow: hidden; position: absolute; top: calc(50.00000000000002% - 10px / 2); width: 15px; will-change: var(--framer-will-change-filter-override, filter); z-index: 1; }\",\".framer-QcGdv.framer-v-x5dkpa.framer-ej25m7, .framer-QcGdv.framer-v-15nfh5m.framer-ej25m7 { padding: 12px 28px 12px 28px; }\",\".framer-QcGdv.framer-v-x5dkpa .framer-hsjxh3, .framer-QcGdv.framer-v-15nfh5m .framer-hsjxh3, .framer-QcGdv.framer-v-1k7bd9y .framer-hsjxh3 { left: 50%; }\",\".framer-QcGdv.framer-v-1k7bd9y.framer-ej25m7 { padding: 10px 20px 10px 20px; }\",\".framer-QcGdv.framer-v-ej25m7.hover .framer-vxb3oa { left: 45%; position: absolute; top: -1px; z-index: 1; }\",\".framer-QcGdv.framer-v-ej25m7.hover .framer-hsjxh3, .framer-QcGdv.framer-v-x5dkpa.hover .framer-hsjxh3, .framer-QcGdv.framer-v-15nfh5m.hover .framer-hsjxh3, .framer-QcGdv.framer-v-1k7bd9y.hover .framer-hsjxh3 { bottom: unset; left: unset; position: relative; }\",\".framer-QcGdv.framer-v-ej25m7.hover .framer-6177n6 { left: 8px; }\",\".framer-QcGdv.framer-v-x5dkpa.hover .framer-vxb3oa, .framer-QcGdv.framer-v-15nfh5m.hover .framer-vxb3oa, .framer-QcGdv.framer-v-1k7bd9y.hover .framer-vxb3oa { left: 50%; position: absolute; top: -1px; z-index: 1; }\",'.framer-QcGdv[data-border=\"true\"]::after, .framer-QcGdv [data-border=\"true\"]::after { content: \"\"; border-width: var(--border-top-width, 0) var(--border-right-width, 0) var(--border-bottom-width, 0) var(--border-left-width, 0); border-color: var(--border-color, none); border-style: var(--border-style, none); width: 100%; height: 100%; position: absolute; box-sizing: border-box; left: 0; top: 0; border-radius: inherit; corner-shape: inherit; pointer-events: none; }'];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 54\n * @framerIntrinsicWidth 237\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"auto\",\"auto\"]},\"dKj_cTtz9\":{\"layout\":[\"auto\",\"auto\"]},\"PioSusFa9\":{\"layout\":[\"auto\",\"auto\"]},\"LXdLGq_gA\":{\"layout\":[\"auto\",\"auto\"]},\"YvWVhsMmK\":{\"layout\":[\"auto\",\"auto\"]},\"UeTccdDct\":{\"layout\":[\"auto\",\"auto\"]},\"kYhFeYDo0\":{\"layout\":[\"auto\",\"auto\"]},\"tIAnyKv87\":{\"layout\":[\"auto\",\"auto\"]}}}\n * @framerVariables {\"QoZDi2vbR\":\"title\",\"HC6H_eczS\":\"icon\",\"ZaTdYrPcd\":\"link\",\"lQGx8Gb_I\":\"newTab\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerUh9cPjeQg=withCSS(Component,css,\"framer-QcGdv\");export default FramerUh9cPjeQg;FramerUh9cPjeQg.displayName=\"Button 8\";FramerUh9cPjeQg.defaultProps={height:54,width:237};addPropertyControls(FramerUh9cPjeQg,{variant:{options:[\"qYM5NetDr\",\"dKj_cTtz9\",\"PioSusFa9\",\"LXdLGq_gA\"],optionTitles:[\"Button Primary\",\"Button Dark\",\"Button Primary Soft\",\"Button Dark Small\"],title:\"Variant\",type:ControlType.Enum},QoZDi2vbR:{defaultValue:\"Get Started • it’s free\",displayTextArea:false,title:\"Title\",type:ControlType.String},onQoZDi2vbRChange:{changes:\"QoZDi2vbR\",type:ControlType.ChangeHandler},HC6H_eczS:{__defaultAssetReference:\"data:framer/asset-reference,JB06e6LZsr2MhVwjLlHEhrgQ.svg?originalFilename=arrow.svg&preferredSize=auto\",__vekterDefault:{alt:\"Icon\",assetReference:\"data:framer/asset-reference,JB06e6LZsr2MhVwjLlHEhrgQ.svg?originalFilename=arrow.svg&preferredSize=auto\"},title:\"Icon\",type:ControlType.ResponsiveImage},ZaTdYrPcd:{title:\"Link\",type:ControlType.Link},lQGx8Gb_I:{defaultValue:false,title:\"New Tab\",type:ControlType.Boolean},onlQGx8Gb_IChange:{changes:\"lQGx8Gb_I\",type:ControlType.ChangeHandler}});addFonts(FramerUh9cPjeQg,[{explicitInter:true,fonts:[{cssFamilyName:\"Switzer\",source:\"fontshare\",style:\"normal\",uiFamilyName:\"Switzer\",url:\"https://framerusercontent.com/third-party-assets/fontshare/wf/OYB4CXKJQXKTNSLJMTDQOIVUL2V5EL7S/WYO2P7DQVV5RNXGMCUO2HL4RJP4VFUAS/6XPIMU23OJVRY676OG5YVJMWEHWICATX.woff2\",weight:\"500\"}]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerUh9cPjeQg\",\"slots\":[],\"annotations\":{\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"dKj_cTtz9\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"PioSusFa9\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"LXdLGq_gA\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"YvWVhsMmK\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"UeTccdDct\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"kYhFeYDo0\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"tIAnyKv87\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]}}}\",\"framerImmutableVariables\":\"true\",\"framerComponentViewportWidth\":\"true\",\"framerColorSyntax\":\"true\",\"framerAutoSizeImages\":\"true\",\"framerContractVersion\":\"1\",\"framerDisplayContentsDiv\":\"false\",\"framerIntrinsicHeight\":\"54\",\"framerVariables\":\"{\\\"QoZDi2vbR\\\":\\\"title\\\",\\\"HC6H_eczS\\\":\\\"icon\\\",\\\"ZaTdYrPcd\\\":\\\"link\\\",\\\"lQGx8Gb_I\\\":\\\"newTab\\\"}\",\"framerIntrinsicWidth\":\"237\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Uh9cPjeQg.map","import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{useEffect,useRef}from\"react\";/**\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n *\n * @framerDisableUnlink\n */export default function AvoidLayoutJumping({direction,style}){const isCanvas=RenderTarget.current()===RenderTarget.canvas;const ref=useRef(null);const rafId=useRef();const vertical=direction===\"vertical\"||direction===\"both\";const horizontal=direction===\"horizontal\"||direction===\"both\";useEffect(()=>{if(isCanvas)return;const parent=ref.current?.parentElement?.parentElement;if(!parent)return;const container=parent.parentElement;if(!container)return;const updateSize=()=>{const rect=parent.getBoundingClientRect();if(horizontal){container.style.width=`${rect.width}px`;}if(vertical){container.style.height=`${rect.height}px`;}rafId.current=requestAnimationFrame(updateSize);};// Start the RAF loop\nrafId.current=requestAnimationFrame(updateSize);return()=>{if(rafId.current){cancelAnimationFrame(rafId.current);}if(container){if(horizontal){container.style.width=\"\";}if(vertical){container.style.height=\"\";}}};},[direction]);return /*#__PURE__*/_jsx(\"div\",{ref:ref,style:{...style}});}AvoidLayoutJumping.displayName=\"Layout Jump Preventer\";addPropertyControls(AvoidLayoutJumping,{direction:{type:ControlType.Enum,defaultValue:\"vertical\",options:[\"vertical\",\"horizontal\",\"both\"],optionTitles:[\"Vertical\",\"Horizontal\",\"Both\"],displaySegmentedControl:true,segmentedControlDirection:\"vertical\",// @ts-ignore\noptionIcons:[\"direction-vertical\",\"direction-horizontal\",\"direction-all\"],description:\"More components at [Framer University](https://frameruni.link/cc).\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"AvoidLayoutJumping\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerDisableUnlink\":\"\",\"framerSupportedLayoutWidth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