{"version":3,"file":"BlogArticleCardContain.DyLcVD9V.mjs","names":["useMemo","_jsxs","_jsx","__esmMin","pe","init_npm_react_18_3_1","p","c","init_jsx_runtime","addPropertyControls","init_framer_BWzg2IRg","ControlType","BlogArticleCardContain","props","Image","Date","Title","altText","imageAlt","formattedDate","parsedDate","containerStyle","init_BlogArticleCardContain"],"sources":["https:/framerusercontent.com/modules/DMrW5CW5g6WsTtJaZhcp/dd0mFOESLcfb8Y9kFPDm/BlogArticleCardContain.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useMemo}from\"react\";/**\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight auto\n */export default function BlogArticleCardContain(props){const{Image={src:\"https://framerusercontent.com/images/GfGkADagM4KEibNcIiRUWlfrR0.jpg\",alt:\"Gradient 1 - Blue\"},Date,Title,altText}=props;const imageAlt=useMemo(()=>altText||Image.alt||\"\",[altText,Image.alt]);const formattedDate=useMemo(()=>{if(!Date)return\"\";const parsedDate=new globalThis.Date(Date);if(Number.isNaN(parsedDate.getTime()))return Date;return parsedDate.toLocaleDateString(undefined,{month:\"short\",day:\"numeric\",year:\"numeric\"});},[Date]);const containerStyle=useMemo(()=>({position:\"relative\",width:\"100%\",height:\"auto\",margin:0,padding:0,display:\"flex\",flexDirection:\"column\",gap:12,backgroundColor:\"transparent\"}),[]);return /*#__PURE__*/_jsxs(\"article\",{style:containerStyle,children:[/*#__PURE__*/_jsx(\"div\",{style:{position:\"relative\",width:\"100%\",margin:0,padding:0,border:\"1px solid rgba(0, 0, 0, 0.06)\",borderRadius:0,backgroundColor:\"transparent\",overflow:\"hidden\",aspectRatio:\"3 / 2\"},children:/*#__PURE__*/_jsx(\"img\",{...Image,alt:imageAlt,style:{width:\"100%\",height:\"100%\",maxWidth:\"100%\",display:\"block\",margin:0,padding:0,objectFit:\"contain\",objectPosition:\"center\"}})}),/*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",width:\"100%\",display:\"flex\",flexDirection:\"column\",gap:6,margin:0,padding:0},children:[/*#__PURE__*/_jsx(\"p\",{style:{margin:0,padding:0,color:\"#666666\",fontSize:\"14px\",lineHeight:\"1.35em\",letterSpacing:\"-0.01em\"},children:formattedDate}),/*#__PURE__*/_jsx(\"h3\",{style:{margin:0,padding:0,color:\"#000000\",fontSize:\"clamp(20px, 2.1vw, 28px)\",lineHeight:\"1.15em\",letterSpacing:\"-0.02em\",fontWeight:600},children:Title})]})]});}addPropertyControls(BlogArticleCardContain,{Image:{type:ControlType.ResponsiveImage,title:\"Image\"},Date:{type:ControlType.Date,title:\"Date\",defaultValue:\"2026-09-10T00:00:00.000Z\"},Title:{type:ControlType.String,title:\"Title\",defaultValue:\"How to Build an Editorial Blog Layout That Scales\"},altText:{type:ControlType.String,title:\"Alt Text\",defaultValue:\"\",placeholder:\"Describe the image\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"BlogArticleCardContain\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./BlogArticleCardContain.map"],"mappings":"A,iLAGG,SAAwBY,EAAuBC,EAAM,CAAC,GAAK,CAACC,QAAM,CAAC,IAAI,sEAAsE,IAAI,mBAAmB,EAAEC,OAAKC,QAAMC,WAASJ,EAAYK,EAASlB,MAAYiB,GAASH,EAAM,KAAK,GAAG,CAACG,EAAQH,EAAM,GAAG,CAAC,EAAQK,EAAcnB,MAAY,CAAC,GAAG,CAACe,EAAK,MAAM,GAAG,IAAMK,EAAW,IAAI,WAAW,KAAKL,CAAI,EAAoD,OAA/C,OAAO,MAAMK,EAAW,QAAQ,CAAC,EAASL,EAAYK,EAAW,mBAAmB,IAAA,GAAU,CAAC,MAAM,QAAQ,IAA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