{"version":3,"file":"JournalImage.7cC05Tnb.mjs","names":[],"sources":["https:/framerusercontent.com/modules/plAqKdUGvRYwIfLj5vht/wWVhjSbsTphf1SYK4t3a/JournalImage.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * Editable media slot for native CMS rich text. Its reserved ratio prevents\n * an uploaded image from shifting the reading position when it loads.\n * @framerIntrinsicWidth 520\n * @framerIntrinsicHeight 347\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight auto\n */export default function JournalImage(props){const{image,note=\"Editorial image\",caption=\"\",ratio=\"Landscape\",style}=props;const aspectRatio=ratio===\"Wide\"?\"16 / 9\":ratio===\"Square\"?\"1 / 1\":\"3 / 2\";return /*#__PURE__*/_jsxs(\"figure\",{className:\"ic-journal-media\",style:{...style,position:\"relative\",width:\"100%\",height:\"auto\",minWidth:0,margin:0},children:[/*#__PURE__*/_jsx(\"div\",{role:image?.src?undefined:\"img\",\"aria-label\":image?.src?undefined:`Image placeholder: ${note}`,style:{position:\"relative\",width:\"100%\",aspectRatio,overflow:\"hidden\",borderRadius:8,boxSizing:\"border-box\",background:\"var(--token-8ebc4145-7049-4335-9617-8f59cf0f526b, #eeeeee)\",border:image?.src?\"0\":\"1px solid var(--token-46ed3084-1490-4f97-8cdc-c8890590eb42, rgba(13,13,13,.08))\"},children:image?.src&&/*#__PURE__*/_jsx(\"img\",{src:image.src,srcSet:image.srcSet,sizes:\"(max-width: 809px) calc(100vw - 48px), 520px\",alt:image.alt||note,loading:\"lazy\",decoding:\"async\",style:{position:\"absolute\",inset:0,display:\"block\",width:\"100%\",height:\"100%\",objectFit:\"cover\"}})}),caption&&/*#__PURE__*/_jsx(\"figcaption\",{style:{marginTop:10,fontFamily:'\"ABC Monument Grotesk Widths Variable Trial\", sans-serif',fontSize:12,fontWeight:410,lineHeight:\"18px\",letterSpacing:\".002em\",color:\"var(--token-e430e56e-23f6-46ab-943d-f90143679858, #686868)\"},children:caption})]});}addPropertyControls(JournalImage,{image:{type:ControlType.ResponsiveImage,title:\"Image\"},note:{type:ControlType.String,title:\"Image note\",defaultValue:\"Editorial image\"},caption:{type:ControlType.String,title:\"Caption\",defaultValue:\"\",displayTextArea:true},ratio:{type:ControlType.Enum,title:\"Format\",options:[\"Landscape\",\"Wide\",\"Square\"],defaultValue:\"Landscape\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"JournalImage\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"auto\",\"framerIntrinsicHeight\":\"347\",\"framerIntrinsicWidth\":\"520\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./JournalImage.map"],"mappings":"mKAOG,SAAwB,EAAa,EAAM,CAAC,GAAK,CAAC,QAAM,OAAK,kBAAkB,UAAQ,GAAG,QAAM,YAAY,SAAO,EAAY,EAAY,IAAQ,OAAO,SAAS,IAAQ,SAAS,QAAQ,QAAQ,OAAoB,EAAM,SAAS,CAAC,UAAU,mBAAmB,MAAM,CAAC,GAAG,EAAM,SAAS,WAAW,MAAM,OAAO,OAAO,OAAO,SAAS,EAAE,OAAO,CAAC,EAAE,SAAS,CAAc,EAAK,MAAM,CAAC,KAAK,GAAO,IAAI,IAAA,GAAU,MAAM,aAAa,GAAO,IAAI,IAAA,GAAU,sBAAsB,IAAO,MAAM,CAAC,SAAS,WAAW,MAAM,OAAO,cAAY,SAAS,SAAS,aAAa,EAAE,UAAU,aAAa,WAAW,6DAA6D,OAAO,GAAO,IAAI,IAAI,iFAAiF,EAAE,SAAS,GAAO,KAAkB,EAAK,MAAM,CAAC,IAAI,EAAM,IAAI,OAAO,EAAM,OAAO,MAAM,+CAA+C,IAAI,EAAM,KAAK,EAAK,QAAQ,OAAO,SAAS,QAAQ,MAAM,CAAC,SAAS,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