{"version":3,"file":"Ryr07WNyN.D3JBQQtm.mjs","names":["useRef","Image"],"sources":["https:/framerusercontent.com/modules/OTlm0g1aORSv36auzSuL/SErHoXplA8FDNdhrWdLB/Ryr07WNyN.js"],"sourcesContent":["// Generated by Framer (ed23c09)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,getLoadingLazyAtYPosition,Image,Link,useActiveVariantCallback,useComponentViewport,useLocaleInfo,useVariantState,withCSS,withFX,withOptimizedAppearEffect}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";const MotionAWithFXWithOptimizedAppearEffect=withOptimizedAppearEffect(withFX(motion.a));const enabledGestures={fVtp6hjqD:{hover:true}};const cycleOrder=[\"ZtHABmt6O\",\"fVtp6hjqD\",\"ENdkxNHQv\"];const serializationHash=\"framer-ul7TZ\";const variantClassNames={ENdkxNHQv:\"framer-v-227hti\",fVtp6hjqD:\"framer-v-1keudb2\",ZtHABmt6O:\"framer-v-1jydxu9\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const transition1={bounce:.2,delay:0,duration:.4,type:\"spring\"};const animation={opacity:.001,rotate:0,rotateX:0,rotateY:0,scale:1,skewX:0,skewY:0,x:0,y:0};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 Variants=motion.create(React.Fragment);const humanReadableVariantMap={\"Card Desktop\":\"ZtHABmt6O\",\"mobile card size\":\"ENdkxNHQv\",\"No shadow\":\"fVtp6hjqD\"};const getProps=({height,hover,id,link,projectImage,rotation,width,...props})=>{return{...props,mI4fkP2CV:hover??props.mI4fkP2CV,osBkwceGS:link??props.osBkwceGS,oxIEsHqwr:rotation??props.oxIEsHqwr,UMhibl_DM:projectImage??props.UMhibl_DM??{pixelHeight:811,pixelWidth:1254,src:\"https://framerusercontent.com/images/y859JbDEPpeCKTSrrzWEFzi37qY.png?scale-down-to=512\",srcSet:\"https://framerusercontent.com/images/y859JbDEPpeCKTSrrzWEFzi37qY.png?scale-down-to=512 512w,https://framerusercontent.com/images/y859JbDEPpeCKTSrrzWEFzi37qY.png?scale-down-to=1024 1024w,https://framerusercontent.com/images/y859JbDEPpeCKTSrrzWEFzi37qY.png 1254w\"},variant:humanReadableVariantMap[props.variant]??props.variant??\"ZtHABmt6O\"};};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,mI4fkP2CV,UMhibl_DM,osBkwceGS,oxIEsHqwr,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"ZtHABmt6O\",enabledGestures,ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const{activeVariantCallback,delay}=useActiveVariantCallback(baseVariant);const onMouseEnter688zlo=activeVariantCallback(async(...args)=>{setGestureState({isHovered:true});if(mI4fkP2CV){const res=await mI4fkP2CV(...args);if(res===false)return false;}});const sharedStyleClassNames=[];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);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:osBkwceGS,motionChild:true,nodeId:\"ZtHABmt6O\",openInNewTab:false,scopeId:\"Ryr07WNyN\",children:/*#__PURE__*/_jsx(MotionAWithFXWithOptimizedAppearEffect,{...restProps,...gestureHandlers,__framer__presenceAnimate:{opacity:1,rotate:oxIEsHqwr,rotateX:0,rotateY:0,scale:1,skewX:0,skewY:0,transition:transition1,x:0,y:0},__framer__presenceInitial:animation,__perspectiveFX:false,__smartComponentFX:true,__targetOpacity:1,className:`${cx(scopingClassNames,\"framer-1jydxu9\",className,classNames)} framer-ara6pc`,\"data-framer-appear-id\":\"1jydxu9\",\"data-framer-name\":\"Card Desktop\",\"data-highlight\":true,layoutDependency:layoutDependency,layoutId:\"ZtHABmt6O\",onMouseEnter:onMouseEnter688zlo,optimized:true,ref:refBinding,style:{borderBottomLeftRadius:8,borderBottomRightRadius:8,borderTopLeftRadius:8,borderTopRightRadius:8,boxShadow:\"1px 1px 2px 0px rgba(0, 0, 0, 0.45)\",rotate:oxIEsHqwr,...style},variants:{fVtp6hjqD:{boxShadow:\"none\"}},...addPropertyOverrides({\"fVtp6hjqD-hover\":{\"data-framer-name\":undefined},ENdkxNHQv:{\"data-framer-name\":\"mobile card size\"},fVtp6hjqD:{\"data-framer-name\":\"No shadow\"}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsx(motion.div,{className:\"framer-4o1gkh\",layoutDependency:layoutDependency,layoutId:\"NMlUkqL_Z\",children:/*#__PURE__*/_jsx(Image,{background:{alt:\"\",fit:\"fill\",loading:getLoadingLazyAtYPosition((componentViewport?.y||0)+0+0),pixelHeight:608,pixelWidth:1200,sizes:componentViewport?.width||\"100vw\",...toResponsiveImage(UMhibl_DM)},className:\"framer-1drwaze\",layoutDependency:layoutDependency,layoutId:\"d1bIG_wZC\"})})})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-ul7TZ.framer-ara6pc, .framer-ul7TZ .framer-ara6pc { display: block; }\",\".framer-ul7TZ.framer-1jydxu9 { height: 260px; overflow: hidden; position: relative; text-decoration: none; width: 200px; will-change: var(--framer-will-change-override, transform); }\",\".framer-ul7TZ .framer-4o1gkh { bottom: 0px; flex: none; left: 0px; overflow: visible; position: absolute; right: 0px; top: 0px; }\",\".framer-ul7TZ .framer-1drwaze { bottom: 0px; flex: none; left: 0px; overflow: hidden; position: absolute; right: 0px; top: 0px; }\",\".framer-ul7TZ.framer-v-1keudb2.framer-1jydxu9 { cursor: pointer; }\",\".framer-ul7TZ.framer-v-227hti.framer-1jydxu9 { height: 220px; width: 170px; }\",\".framer-ul7TZ.framer-v-1keudb2.hover.framer-1jydxu9 { height: 283px; width: 218px; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 260\n * @framerIntrinsicWidth 200\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]},\"fVtp6hjqD\":{\"layout\":[\"fixed\",\"fixed\"]},\"ENdkxNHQv\":{\"layout\":[\"fixed\",\"fixed\"]},\"giID5MHgL\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerVariables {\"mI4fkP2CV\":\"hover\",\"UMhibl_DM\":\"projectImage\",\"osBkwceGS\":\"link\",\"oxIEsHqwr\":\"rotation\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerRyr07WNyN=withCSS(Component,css,\"framer-ul7TZ\");export default FramerRyr07WNyN;FramerRyr07WNyN.displayName=\"Image Card\";FramerRyr07WNyN.defaultProps={height:260,width:200};addPropertyControls(FramerRyr07WNyN,{variant:{options:[\"ZtHABmt6O\",\"fVtp6hjqD\",\"ENdkxNHQv\"],optionTitles:[\"Card Desktop\",\"No shadow\",\"mobile card size\"],title:\"Variant\",type:ControlType.Enum},mI4fkP2CV:{title:\"Hover\",type:ControlType.EventHandler},UMhibl_DM:{__defaultAssetReference:\"data:framer/asset-reference,y859JbDEPpeCKTSrrzWEFzi37qY.png?originalFilename=Project+Card.png&preferredSize=auto\",title:\"Project Image\",type:ControlType.ResponsiveImage},osBkwceGS:{title:\"Link\",type:ControlType.Link},oxIEsHqwr:{defaultValue:0,title:\"Rotation\",type:ControlType.Number,unit:\"\\xb0\"}});addFonts(FramerRyr07WNyN,[{explicitInter:true,fonts:[]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerRyr07WNyN\",\"slots\":[],\"annotations\":{\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"fVtp6hjqD\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"ENdkxNHQv\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"giID5MHgL\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerComponentViewportWidth\":\"true\",\"framerVariables\":\"{\\\"mI4fkP2CV\\\":\\\"hover\\\",\\\"UMhibl_DM\\\":\\\"projectImage\\\",\\\"osBkwceGS\\\":\\\"link\\\",\\\"oxIEsHqwr\\\":\\\"rotation\\\"}\",\"framerIntrinsicHeight\":\"260\",\"framerAutoSizeImages\":\"true\",\"framerDisplayContentsDiv\":\"false\",\"framerColorSyntax\":\"true\",\"framerImmutableVariables\":\"true\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"200\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Ryr07WNyN.map"],"mappings":"qoBACmtB,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,EAAE,CAAsF,OAArF,GAAU,Q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