{"version":3,"file":"AmbMethodCard.B502Xkgx.mjs","names":[],"sources":["https:/framerusercontent.com/modules/bZnRKUoeLLegs6qqhQMt/Ey3wEc9kvTqbcVPTMy9v/AmbMethodCard.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";const TITLE_BADGE_RE=/^\\s*(\\d{1,2})\\s*[\\.·\\-—]\\s+(.*)$/;/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n */export default function AmbMethodCard(props){const{title,duration,description,style}=props;// Derive step badge from a \"N. Title\" / \"N · Title\" prefix.\nconst match=title.match(TITLE_BADGE_RE);const badge=match?match[1]:\"\";const cleanTitle=match?match[2]:title;return /*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:\"clamp(12px, 1.5vw, 16px)\",padding:\"clamp(20px, 2.8vw, 32px) clamp(20px, 2.5vw, 28px)\",backgroundColor:\"rgba(255,255,255,0.06)\",borderRadius:12,border:\"1px solid rgba(255,255,255,0.08)\",fontFamily:\"Inter, sans-serif\",width:\"100%\",boxSizing:\"border-box\",...style},children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",gap:\"clamp(10px, 1.3vw, 14px)\",flexWrap:\"wrap\"},children:[badge&&/*#__PURE__*/_jsx(\"span\",{style:{display:\"flex\",alignItems:\"center\",justifyContent:\"center\",width:\"clamp(34px, 3.5vw, 40px)\",height:\"clamp(34px, 3.5vw, 40px)\",borderRadius:10,backgroundColor:\"#E67A30\",color:\"#FFFFFF\",fontSize:\"clamp(14px, 1.5vw, 16px)\",fontWeight:700,flexShrink:0},children:badge}),/*#__PURE__*/_jsx(\"h4\",{style:{margin:0,fontSize:\"clamp(17px, 1.8vw, 20px)\",fontWeight:600,lineHeight:\"1.3em\",color:\"#FFFFFF\",flex:\"1 1 auto\",minWidth:0},children:cleanTitle})]}),duration&&/*#__PURE__*/_jsx(\"span\",{style:{fontSize:\"clamp(12px, 1.15vw, 13px)\",fontWeight:600,letterSpacing:\"0.04em\",textTransform:\"uppercase\",color:\"#E67A30\"},children:duration}),/*#__PURE__*/_jsx(\"p\",{style:{margin:0,fontSize:\"clamp(14px, 1.45vw, 16px)\",fontWeight:400,lineHeight:\"1.6em\",color:\"rgba(255,255,255,0.65)\"},children:description})]});}AmbMethodCard.defaultProps={title:\"1. Diagnostico de movilidad\",duration:\"2 semanas\",description:\"Analisis de patrones de desplazamiento, turnos y residencia de la plantilla.\"};addPropertyControls(AmbMethodCard,{title:{type:ControlType.String,title:\"Title\",defaultValue:\"1. Diagnostico de movilidad\",description:\"Prefix with 'N. ' (e.g. '2. Encuesta') to show an orange badge.\"},duration:{type:ControlType.String,title:\"Duration\",defaultValue:\"2 semanas\"},description:{type:ControlType.String,title:\"Description\",defaultValue:\"Analisis de patrones de desplazamiento, turnos y residencia de la plantilla.\",displayTextArea:true}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"AmbMethodCard\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any\",\"framerSupportedLayoutHeight\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./AmbMethodCard.map"],"mappings":"mKAGG,SAAwB,EAAc,EAAM,CAAC,GAAK,CAAC,QAAM,WAAS,cAAY,SAAO,EAClF,EAAM,EAAM,MAAM,EAAe,CAAO,EAAM,EAAM,EAAM,GAAG,GAAS,EAAW,EAAM,EAAM,GAAG,EAAM,OAAoB,EAAM,MAAM,CAAC,MAAM,CAAC,QAAQ,OAAO,cAAc,SAAS,IAAI,2BAA2B,QAAQ,oDAAoD,gBAAgB,yBAAyB,aAAa,GAAG,OAAO,mCAAmC,WAAW,oBAAoB,MAAM,OAAO,UAAU,aAAa,GAAG,EAAM,CAAC,SAAS,CAAc,EAAM,MAAM,CAAC,MAAM,CAAC,QAAQ,OAAO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