{"version":3,"file":"SchemaLD.CySl1pJN.mjs","names":[],"sources":["https:/framerusercontent.com/modules/tGgWtKLhqnggl9uE1F82/zx9xoT736GB67ZtF9EIl/SchemaLD.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";/**\n * SchemaLD\n * Outputs a CMS field's JSON-LD as a real <script type=\"application/ld+json\"> tag.\n *\n * On the Framer CANVAS it renders a small visible placeholder so you can drop,\n * select, and bind it. On the published site it renders ONLY the script tag\n * (no visible output). This is what makes it draggable — a component that\n * returns null has zero size and can't be placed.\n *\n * Setup:\n *  1. Paste this over the existing SchemaLD code (Assets → Code → SchemaLD).\n *  2. On the blog post template, drag SchemaLD onto the Desktop frame.\n *     It now shows a dashed \"{ } SchemaLD\" chip you can grab.\n *  3. Select it → properties panel → connect the \"Schema\" prop to the\n *     \"Schema JSON-LD\" CMS field.\n *  4. Paste each post's JSON-LD into its Schema JSON-LD field. Publish.\n */export default function SchemaLD(props){const onCanvas=RenderTarget.current()===RenderTarget.canvas;if(onCanvas){return /*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",alignItems:\"center\",justifyContent:\"center\",width:\"100%\",minWidth:140,height:40,borderRadius:8,border:\"1px dashed #999\",background:\"rgba(0,0,0,0.04)\",color:\"#666\",fontSize:12,fontFamily:\"sans-serif\",letterSpacing:.2},children:`{ } SchemaLD${props.schema?\" • set\":\" • empty\"}`});}if(!props.schema)return null;return /*#__PURE__*/React.createElement(\"script\",{type:\"application/ld+json\",dangerouslySetInnerHTML:{__html:props.schema}});}SchemaLD.defaultProps={schema:\"\"};addPropertyControls(SchemaLD,{schema:{type:ControlType.String,title:\"Schema\",displayTextArea:true}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"SchemaLD\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SchemaLD.map"],"mappings":"iLAgBG,SAAwB,EAAS,EAAM,CAAob,OAApa,EAAa,QAAQ,IAAI,EAAa,OAAwC,EAAK,MAAM,CAAC,MAAM,CAAC,QAAQ,OAAO,WAAW,SAAS,eAAe,SAAS,MAAM,OAAO,SAAS,IAAI,OAAO,GAAG,aAAa,EAAE,OAAO,kBAAkB,WAAW,mBAAmB,MAAM,OAAO,SAAS,GAAG,WAAW,aAAa,cAAc,EAAE,EAAE,SAAS,eAAe,EAAM,OAAO,SAAS,YAAY,CAAC,EAAO,EAAM,OAAuC,EAAoB,SAAS,CAAC,KAAK,sBAAsB,wBAAwB,CAAC,OAAO,EAAM,MAAM,CAAC,CAAC,EAAhI,IAAkI,iBAhBjjB,IAA4B,IAAiE,EAgBqd,EAAS,aAAa,CAAC,OAAO,EAAE,EAAE,EAAoB,EAAS,CAAC,OAAO,CAAC,KAAK,EAAY,OAAO,MAAM,SAAS,gBAAgB,EAAI,CAAC,CAAC"}