{"version":3,"file":"AdaptiveProjectCard.xLC53wDL.mjs","names":["React.useRef","React.useState","React.useContext","React.useMemo","React.Fragment","React.forwardRef","useRef","React.useId","React.useState","__esmMin","pe","init_npm_react_18_3_1","x","ie","_e","oe","p","J","init_jsx_runtime","ce","de","motion","MotionConfigContext","LayoutGroup","init_framer_motion_DhsWWWsN","addPropertyControls","cx","getFonts","addFonts","init_framer_BWFVvmND","withCSS","RichText","Link","useVariantState","ComponentViewportProvider","useComponentViewport","ControlType","useLocaleInfo","SmartComponentScopedContainer","FullFrame","src","image","srcSet","description","alt","ref","narrow","setNarrow","featured","element","check","w","observer","es","style","bounded","init_FullFrame","addPropertyOverrides","variants","nextOverrides","variant","overrides","FullFrameFonts","enabledGestures","cycleOrder","serializationHash","variantClassNames","transition1","toResponsiveImage","isSet","Transition","humanReadableVariantMap","Variants","getProps","createLayoutDependency","FramernTvJLuMwY","init_nTvJLuMwY","value","config","transition","contextValue","props","link","title","fallbackRef","refBinding","defaultLayoutId","restProps","layoutDependency","scopingClassNames","visible","UNH9LhF3p","layoutId","aYSMd95hm","gestureHandlers","className","classNames","baseVariant","gestureVariant","FwA5HYjFJ","AdaptiveProjectCard","sizes","initial","natural","setNatural","mode","kind","video","ratio","destination","coverScale","pos","focalPoint","el","init_AdaptiveProjectCard"],"sources":["https:/framerusercontent.com/modules/rFmXEpbQes1CchZnTFvK/BSmN0aI4kS1VvsDCHPN4/FullFrame.js","https:/framerusercontent.com/modules/swHx7K73fiv1mDxAdz2y/kfSrBRWPBnNtWC2XUN3P/nTvJLuMwY.js","https:/framerusercontent.com/modules/DoIa51opGzfEs4RZJNF4/66H2iM5iVELTA1UtzQ33/AdaptiveProjectCard.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";/** @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight auto */export default function FullFrame({image,alt=\"\",bounded=false,featured=false,style}){const src=typeof image===\"string\"?image:image?.src;const srcSet=typeof image===\"string\"?undefined:image?.srcSet;const description=image?.alt||alt;const ref=React.useRef(null);const[narrow,setNarrow]=React.useState(false);React.useEffect(()=>{if(!featured||!ref.current)return;const element=ref.current;const check=w=>setNarrow(w<680);check(element.getBoundingClientRect().width);if(typeof ResizeObserver===\"undefined\")return;const observer=new ResizeObserver(es=>check(es[0].contentRect.width));observer.observe(element);return()=>observer.disconnect();},[featured]);return /*#__PURE__*/_jsxs(\"div\",{ref:ref,style:{...style,position:\"relative\",width:\"100%\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",overflow:\"hidden\",background:\"#050505\",height:featured?\"auto\":bounded?\"100%\":\"auto\",aspectRatio:featured?narrow?\"1 / 1\":\"16 / 9\":undefined},children:[src&&(bounded||featured)&&/*#__PURE__*/_jsx(\"img\",{src:src,srcSet:srcSet,alt:\"\",\"aria-hidden\":\"true\",style:{position:\"absolute\",inset:0,width:\"100%\",height:\"100%\",objectFit:\"cover\",objectPosition:\"center\",filter:\"blur(28px) brightness(.37)\",transform:\"scale(1.08)\",opacity:.48,pointerEvents:\"none\"}}),src&&/*#__PURE__*/_jsx(\"img\",{src:src,srcSet:srcSet,alt:description,style:{position:\"relative\",display:\"block\",width:\"100%\",height:bounded||featured?\"100%\":\"auto\",maxHeight:bounded||featured?\"100%\":\"80vh\",objectFit:\"contain\",objectPosition:\"center\"}})]});}addPropertyControls(FullFrame,{image:{type:ControlType.ResponsiveImage,title:\"Imagen\"},alt:{type:ControlType.String,title:\"Descripci\\xf3n\"},bounded:{type:ControlType.Boolean,title:\"Ajustar al marco\",defaultValue:false},featured:{type:ControlType.Boolean,title:\"Portada de proyecto\",defaultValue:false}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FullFrame\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any\",\"framerSupportedLayoutHeight\":\"\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FullFrame.map","// Generated by Framer (325cc88)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ComponentViewportProvider,ControlType,cx,getFonts,Link,RichText,SmartComponentScopedContainer,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";import FullFrame from\"https://framerusercontent.com/modules/rFmXEpbQes1CchZnTFvK/BSmN0aI4kS1VvsDCHPN4/FullFrame.js\";const FullFrameFonts=getFonts(FullFrame);const enabledGestures={EQtiE_F1s:{hover:true}};const cycleOrder=[\"EQtiE_F1s\",\"XikyqlJB4\",\"rAkmGr6My\"];const serializationHash=\"framer-hhXx3\";const variantClassNames={EQtiE_F1s:\"framer-v-kxtf1m\",rAkmGr6My:\"framer-v-f4tbgp\",XikyqlJB4:\"framer-v-n2cv4o\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const aYSMd95hm=undefined;const FwA5HYjFJ=undefined;const UNH9LhF3p=undefined;const transition1={delay:0,duration:1,ease:[.05,.27,.1,1],type:\"tween\"};const toResponsiveImage=value=>{if(typeof value===\"object\"&&value!==null&&typeof value.src===\"string\"){return value;}return typeof value===\"string\"?{src:value}:undefined;};const isSet=value=>{if(Array.isArray(value))return value.length>0;return value!==undefined&&value!==null&&value!==\"\";};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:\"EQtiE_F1s\",Phone:\"rAkmGr6My\",Tablet:\"XikyqlJB4\"};const Variants=motion.create(React.Fragment);const getProps=({height,id,image,link,title,width,...props})=>{return{...props,aYSMd95hm:link??props.aYSMd95hm,FwA5HYjFJ:image??props.FwA5HYjFJ??{pixelHeight:4272,pixelWidth:2400,src:\"https://framerusercontent.com/images/GCPMKjSg5xHPBEbIXggr8g4S2qo.jpg?width=2400&height=4272\",srcSet:\"https://framerusercontent.com/images/GCPMKjSg5xHPBEbIXggr8g4S2qo.jpg?scale-down-to=1024&width=2400&height=4272 575w,https://framerusercontent.com/images/GCPMKjSg5xHPBEbIXggr8g4S2qo.jpg?scale-down-to=2048&width=2400&height=4272 1150w,https://framerusercontent.com/images/GCPMKjSg5xHPBEbIXggr8g4S2qo.jpg?scale-down-to=4096&width=2400&height=4272 2301w,https://framerusercontent.com/images/GCPMKjSg5xHPBEbIXggr8g4S2qo.jpg?width=2400&height=4272 2400w\"},UNH9LhF3p:title??props.UNH9LhF3p??\"Salt Lines\",variant:humanReadableVariantMap[props.variant]??props.variant??\"EQtiE_F1s\"};};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,contentLocale,setLocale}=useLocaleInfo();const componentViewport=useComponentViewport();const{style,className,layoutId,variant,FwA5HYjFJ,UNH9LhF3p,aYSMd95hm,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"EQtiE_F1s\",enabledGestures,ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);const visible=isSet(UNH9LhF3p);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:aYSMd95hm,motionChild:true,nodeId:\"EQtiE_F1s\",scopeId:\"nTvJLuMwY\",children:/*#__PURE__*/_jsxs(motion.a,{...restProps,...gestureHandlers,className:`${cx(scopingClassNames,\"framer-kxtf1m\",className,classNames)} framer-1s4yhjw`,\"data-framer-name\":\"Default\",layoutDependency:layoutDependency,layoutId:\"EQtiE_F1s\",ref:refBinding,style:{backgroundColor:\"var(--token-f8d51a45-a41c-4bf1-878e-f08b5cd07d6d)\",...style},...addPropertyOverrides({\"EQtiE_F1s-hover\":{\"data-framer-name\":\"Default Hover\"},rAkmGr6My:{\"data-framer-name\":\"Phone\"},XikyqlJB4:{\"data-framer-name\":\"Tablet\"}},baseVariant,gestureVariant),children:[/*#__PURE__*/_jsx(ComponentViewportProvider,{children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-1jf9r7r-container\",\"data-framer-name\":\"Imagen completa sin recorte\",isAuthoredByUser:true,layoutDependency:layoutDependency,layoutId:\"lxSqrsWUZ-container\",name:\"Imagen completa sin recorte\",nodeId:\"lxSqrsWUZ\",rendersWithMotion:true,scopeId:\"nTvJLuMwY\",children:/*#__PURE__*/_jsx(FullFrame,{alt:UNH9LhF3p,bounded:true,height:\"100%\",id:\"lxSqrsWUZ\",image:toResponsiveImage(FwA5HYjFJ),layoutId:\"lxSqrsWUZ\",name:\"Imagen completa sin recorte\",style:{height:\"100%\",width:\"100%\"},width:\"100%\"})})}),/*#__PURE__*/_jsx(motion.div,{className:\"framer-1uj0r3t\",\"data-framer-name\":\"Caption\",layoutDependency:layoutDependency,layoutId:\"GwjLDJMi1\",children:/*#__PURE__*/_jsx(motion.div,{className:\"framer-4q8xyp\",layoutDependency:layoutDependency,layoutId:\"H0JiB6Snm\",style:{backgroundColor:\"rgba(0, 0, 0, 0.6)\"},children:visible!==false&&/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.h2,{dir:\"auto\",style:{\"--font-selector\":\"R0Y7U29maWEgU2FucyBFeHRyYSBDb25kZW5zZWQtOTAw\",\"--framer-font-family\":'\"Sofia Sans Extra Condensed\"',\"--framer-font-open-type-features\":\"'blwf' on, 'cv03' on, 'cv04' on, 'cv09' on, 'cv11' on\",\"--framer-font-size\":\"40px\",\"--framer-font-style\":\"normal\",\"--framer-font-variation-axes\":\"var(--extracted-f6h9gt, normal)\",\"--framer-font-weight\":\"900\",\"--framer-letter-spacing\":\"0em\",\"--framer-line-height\":\"1em\",\"--framer-text-alignment\":\"start\",\"--framer-text-color\":\"var(--extracted-1of0zx5, var(--token-8ab3ca7b-4949-4131-82da-a46d332c7550))\",\"--framer-text-transform\":\"uppercase\"},children:/*#__PURE__*/_jsx(motion.span,{style:{\"--font-selector\":\"R0Y7U29maWEgU2FucyBFeHRyYSBDb25kZW5zZWQtOTAw\",\"--framer-font-family\":'\"Sofia Sans Extra Condensed\"',\"--framer-font-size\":\"40px\",\"--framer-font-style\":\"normal\",\"--framer-font-variation-axes\":\"var(--extracted-fzxslw, normal)\",\"--framer-font-weight\":\"900\"},children:\"Salt Lines\"})})}),className:\"framer-rnboik\",\"data-framer-name\":\"Title\",fonts:[\"GF;Sofia Sans Extra Condensed-900\"],layoutDependency:layoutDependency,layoutId:\"q5DEfPWhK\",style:{\"--extracted-1of0zx5\":\"var(--token-8ab3ca7b-4949-4131-82da-a46d332c7550)\",\"--extracted-f6h9gt\":\"normal\",\"--extracted-fzxslw\":\"normal\"},text:UNH9LhF3p,verticalAlignment:\"top\",withExternalLayout:true,...addPropertyOverrides({rAkmGr6My:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.h2,{dir:\"auto\",style:{\"--font-selector\":\"R0Y7U29maWEgU2FucyBFeHRyYSBDb25kZW5zZWQtOTAw\",\"--framer-font-family\":'\"Sofia Sans Extra Condensed\"',\"--framer-font-open-type-features\":\"'blwf' on, 'cv03' on, 'cv04' on, 'cv09' on, 'cv11' on\",\"--framer-font-size\":\"32px\",\"--framer-font-style\":\"normal\",\"--framer-font-variation-axes\":\"var(--extracted-f6h9gt, normal)\",\"--framer-font-weight\":\"900\",\"--framer-letter-spacing\":\"0em\",\"--framer-line-height\":\"1em\",\"--framer-text-alignment\":\"start\",\"--framer-text-color\":\"var(--extracted-1of0zx5, var(--token-8ab3ca7b-4949-4131-82da-a46d332c7550))\",\"--framer-text-transform\":\"uppercase\"},children:/*#__PURE__*/_jsx(motion.span,{style:{\"--font-selector\":\"R0Y7U29maWEgU2FucyBFeHRyYSBDb25kZW5zZWQtOTAw\",\"--framer-font-family\":'\"Sofia Sans Extra Condensed\"',\"--framer-font-size\":\"32px\",\"--framer-font-style\":\"normal\",\"--framer-font-variation-axes\":\"var(--extracted-fzxslw, normal)\",\"--framer-font-weight\":\"900\"},children:\"Salt Lines\"})})})}},baseVariant,gestureVariant)})})})]})})})})});});const css=[\".framer-hhXx3.framer-1s4yhjw, .framer-hhXx3 .framer-1s4yhjw { display: block; }\",\".framer-hhXx3.framer-kxtf1m { align-content: flex-start; align-items: flex-start; cursor: pointer; display: flex; flex-direction: column; flex-wrap: nowrap; gap: 0px; height: 560px; justify-content: flex-end; overflow: var(--overflow-clip-fallback, clip); padding: 0px; position: relative; text-decoration: none; width: 600px; }\",\".framer-hhXx3 .framer-1jf9r7r-container { flex: none; height: 100%; left: 0px; position: absolute; top: 0px; width: 100%; }\",\".framer-hhXx3 .framer-1uj0r3t { align-content: flex-end; align-items: flex-end; display: flex; flex: 1 0 0px; flex-direction: row; flex-wrap: nowrap; gap: 20px; height: 1px; justify-content: flex-start; padding: 20px; position: relative; width: 100%; }\",\".framer-hhXx3 .framer-4q8xyp { align-content: center; align-items: center; display: flex; flex: 1 0 0px; flex-direction: row; flex-wrap: nowrap; gap: 8px; height: min-content; justify-content: flex-start; overflow: visible; padding: 8px; position: relative; width: 1px; z-index: 1; }\",\".framer-hhXx3 .framer-rnboik { flex: 1 0 0px; height: auto; position: relative; white-space: pre-wrap; width: 1px; word-break: break-word; word-wrap: break-word; }\",\".framer-hhXx3.framer-v-n2cv4o.framer-kxtf1m { height: 440px; width: 770px; }\",\".framer-hhXx3.framer-v-f4tbgp.framer-kxtf1m { height: 400px; width: 358px; }\",\".framer-hhXx3.framer-v-f4tbgp .framer-1uj0r3t { flex-direction: column; gap: 8px; }\",\".framer-hhXx3.framer-v-f4tbgp .framer-4q8xyp { align-content: flex-start; align-items: flex-start; flex: none; flex-direction: column; width: 100%; }\",\".framer-hhXx3.framer-v-f4tbgp .framer-rnboik { flex: none; width: 100%; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 560\n * @framerIntrinsicWidth 600\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]},\"XikyqlJB4\":{\"layout\":[\"fixed\",\"fixed\"]},\"rAkmGr6My\":{\"layout\":[\"fixed\",\"fixed\"]},\"Ug4I27_Al\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerVariables {\"FwA5HYjFJ\":\"image\",\"UNH9LhF3p\":\"title\",\"aYSMd95hm\":\"link\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramernTvJLuMwY=withCSS(Component,css,\"framer-hhXx3\");export default FramernTvJLuMwY;FramernTvJLuMwY.displayName=\"Project Card\";FramernTvJLuMwY.defaultProps={height:560,width:600};addPropertyControls(FramernTvJLuMwY,{variant:{options:[\"EQtiE_F1s\",\"XikyqlJB4\",\"rAkmGr6My\"],optionTitles:[\"Default\",\"Tablet\",\"Phone\"],title:\"Variant\",type:ControlType.Enum},FwA5HYjFJ:{__defaultAssetReference:\"data:framer/asset-reference,GCPMKjSg5xHPBEbIXggr8g4S2qo.jpg?originalFilename=photo-1505142468610-359e7d316be0%3Fw%3D2400%26q%3D80%26auto%3Dformat%26fit%3Dcrop.jpg&width=2400&height=4272\",title:\"Image\",type:ControlType.ResponsiveImage},UNH9LhF3p:{defaultValue:\"Salt Lines\",title:\"Title\",type:ControlType.String},onUNH9LhF3pChange:{changes:\"UNH9LhF3p\",type:ControlType.ChangeHandler},aYSMd95hm:{title:\"Link\",type:ControlType.Link}});addFonts(FramernTvJLuMwY,[{explicitInter:true,fonts:[{cssFamilyName:\"Sofia Sans Extra Condensed\",openType:true,source:\"google\",style:\"normal\",uiFamilyName:\"Sofia Sans Extra Condensed\",url:\"https://fonts.gstatic.com/s/sofiasansextracondensed/v6/raxdHjafvdAIOju4GcIfJH0i7zi50X3zRtuLNiMS0d6iDr-MD5Si9NGLM2-EejmM356GxA.woff2\",weight:\"900\"}]},...FullFrameFonts],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramernTvJLuMwY\",\"slots\":[],\"annotations\":{\"framerImmutableVariables\":\"true\",\"framerColorSyntax\":\"true\",\"framerIntrinsicWidth\":\"600\",\"framerIntrinsicHeight\":\"560\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"XikyqlJB4\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"rAkmGr6My\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"Ug4I27_Al\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerAutoSizeImages\":\"true\",\"framerComponentViewportWidth\":\"true\",\"framerContractVersion\":\"1\",\"framerDisplayContentsDiv\":\"false\",\"framerVariables\":\"{\\\"FwA5HYjFJ\\\":\\\"image\\\",\\\"UNH9LhF3p\\\":\\\"title\\\",\\\"aYSMd95hm\\\":\\\"link\\\"}\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";/** @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight auto */export default function AdaptiveProjectCard({image,title=\"\",kind=\"Fotograf\\xeda\",focalPoint=\"center\",link,style}){const src=typeof image===\"string\"?image:image?.src||\"\";const srcSet=typeof image===\"string\"?undefined:image?.srcSet;const sizes=src.match(/[?&]width=(\\d+)&height=(\\d+)/);const initial=sizes?Number(sizes[1])/Number(sizes[2]):.8;const[natural,setNatural]=React.useState(initial);React.useEffect(()=>{setNatural(initial);},[src,initial]);const mode=String(kind||\"\").toLowerCase();const video=mode===\"video\";const vertical=mode===\"vertical\";const cinemascope=mode===\"cine 2.39\";const ratio=cinemascope?2.39:video?16/9:vertical?9/16:Math.max(.65,Math.min(2.4,natural));const destination=typeof link===\"string\"?link:link?.href||\"\";// La miniatura de Isla Catalina llega de Vimeo con bandas negras incrustadas.\n// Ampliar solo este fotograma evita barras sin añadir fondos ni distorsionarlo.\nconst letterboxedThumbnail=/isla catalina/i.test(title)||/r(?:%3D|=)pad/i.test(src);const coverScale=letterboxedThumbnail&&video?1.35:1;const pos=focalPoint===\"arriba\"?\"center top\":focalPoint===\"abajo\"?\"center bottom\":focalPoint===\"izquierda\"?\"left center\":focalPoint===\"derecha\"?\"right center\":\"center\";return /*#__PURE__*/_jsx(\"a\",{href:destination||undefined,\"aria-label\":\"Ver proyecto: \"+title,style:{...style,display:\"block\",width:\"100%\",height:\"auto\",color:\"#fff\",textDecoration:\"none\",cursor:\"pointer\",minWidth:0},children:/*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",width:\"100%\",aspectRatio:String(ratio),overflow:\"hidden\",background:\"#050505\"},children:[src&&/*#__PURE__*/_jsx(\"img\",{src:src,srcSet:srcSet,alt:title,loading:\"lazy\",onLoad:e=>{const el=e.currentTarget;if(el.naturalWidth&&el.naturalHeight)setNatural(el.naturalWidth/el.naturalHeight);},style:{position:\"absolute\",inset:0,width:\"100%\",height:\"100%\",objectFit:\"cover\",objectPosition:pos,transform:\"scale(\"+coverScale+\")\",display:\"block\",transition:\"transform .55s ease-out\"}}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",inset:\"50% 0 0\",background:\"linear-gradient(to bottom,transparent,rgba(0,0,0,.62))\",pointerEvents:\"none\"}}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",bottom:0,left:0,right:0,padding:\"16px clamp(12px,1.5vw,22px)\",fontFamily:\"'Sofia Sans Extra Condensed', sans-serif\",fontWeight:900,fontSize:\"clamp(25px,2.25vw,43px)\",textTransform:\"uppercase\",lineHeight:1.02,textShadow:\"0 2px 14px rgba(0,0,0,.4)\",pointerEvents:\"none\"},children:title})]})});}addPropertyControls(AdaptiveProjectCard,{image:{type:ControlType.ResponsiveImage,title:\"Imagen\"},title:{type:ControlType.String,title:\"T\\xedtulo\"},kind:{type:ControlType.Enum,title:\"Formato\",options:[\"Fotograf\\xeda\",\"Video\",\"Cine 2.39\",\"Vertical\"],defaultValue:\"Fotograf\\xeda\"},focalPoint:{type:ControlType.Enum,title:\"Encuadre\",options:[\"center\",\"arriba\",\"abajo\",\"izquierda\",\"derecha\"],defaultValue:\"center\"},link:{type:ControlType.Link,title:\"Proyecto\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"AdaptiveProjectCard\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any\",\"framerSupportedLayoutHeight\":\"\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./AdaptiveProjectCard.map"],"mappings":"A,kXACuC,SAAwBuC,EAAU,CAAC,QAAM,MAAI,GAAG,UAAQ,GAAM,WAAS,GAAM,SAAO,CAAC,IAAMC,EAAI,OAAOC,GAAQ,SAASA,EAAMA,GAAO,IAAUC,EAAO,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