{"version":3,"file":"Field_Note_Thumbnail.f2eU7cH8.mjs","names":[],"sources":["https:/framerusercontent.com/modules/N1E4UnFRKINYCzJBqSdK/4QLm7LOvsAEe3rmWAGjq/Field_Note_Thumbnail.js"],"sourcesContent":["// User request: Create a Framer code component named Field Note Thumbnail for CMS note lists. It needs one editable string control `imageUrl` that may be an empty string or CMS-bound image URL. Render a full-frame thumbnail with object-fit cover if `imageUrl` is non-empty. If empty, render a tasteful neutral paper-gray placeholder with a very subtle thin diagonal line pattern—no words, no icons, no UI. It must respect Framer sizing through style, be canvas-visible, keep a fixed visual frame with overflow hidden, and have no external dependencies. This will be used at roughly 180×120 desktop and full-width horizontal thumbnail space on phone.\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n */export default function FieldNoteThumbnail(props){const{image=\"\",style}=props;const imageUrl=typeof image===\"string\"?image:image&&typeof image===\"object\"&&typeof image.src===\"string\"?image.src:\"\";const hasImage=imageUrl.trim().length>0;return /*#__PURE__*/_jsx(\"div\",{style:{position:\"relative\",width:\"100%\",height:\"100%\",overflow:\"hidden\",background:\"#E9E7E2\",...style},children:hasImage?/*#__PURE__*/_jsx(\"img\",{src:imageUrl,alt:\"\",style:{position:\"absolute\",inset:0,width:\"100%\",height:\"100%\",objectFit:\"cover\",objectPosition:\"center\",display:\"block\"}}):/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",inset:0,backgroundColor:\"#E9E7E2\",backgroundImage:\"repeating-linear-gradient(135deg, rgba(23, 23, 15, 0.05) 0px, rgba(23, 23, 15, 0.05) 1px, rgba(233, 231, 226, 0) 1px, rgba(233, 231, 226, 0) 8px)\"}})});}addPropertyControls(FieldNoteThumbnail,{image:{type:ControlType.Image,title:\"Image\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FieldNoteThumbnail\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Field_Note_Thumbnail.map"],"mappings":"4JAIG,SAAwB,EAAmB,EAAM,CAAC,GAAK,CAAC,QAAM,GAAG,SAAO,EAAY,EAAS,OAAO,GAAQ,SAAS,EAAM,GAAO,OAAO,GAAQ,UAAU,OAAO,EAAM,KAAM,SAAS,EAAM,IAAI,GAAS,EAAS,EAAS,KAAK,CAAC,CAAC,OAAO,EAAE,OAAoB,EAAK,MAAM,CAAC,MAAM,CAAC,SAAS,WAAW,MAAM,OAAO,OAAO,OAAO,SAAS,SAAS,WAAW,UAAU,GAAG,CAAK,EAAE,SAAS,EAAsB,EAAK,MAAM,CAAC,IAAI,EAAS,IAAI,GAAG,MAAM,CAAC,SAAS,WAAW,MAAM,EAAE,MAAM,OAAO,OAAO,OAAO,UAAU,QAAQ,eAAe,SAAS,QAAQ,OAAO,CAAC,CAAC,EAAe,EAAK,MAAM,CAAC,MAAM,CAAC,SAAS,WAAW,MAAM,EAAE,gBAAgB,UAAU,gBAAgB,mJAAmJ,CAAC,CAAC,CAAC,CAAC,CAAE,iBAHrwB,IAAoD,EAGktB,EAAoB,EAAmB,CAAC,MAAM,CAAC,KAAK,EAAY,MAAM,MAAM,OAAO,CAAC,CAAC"}