{"version":3,"file":"SchemaLD.DoN1FpZ2.mjs","names":[],"sources":["https:/framerusercontent.com/modules/5LjfWty0HA5KeCoW0Wj0/WF2T6xJcW8yJeJ7zxokO/SchemaLD.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * SchemaLD — server-rendered raw JSON-LD injector.\n *\n * Paste a complete JSON-LD object (or @graph) into the `json` control; it emits\n * a server-rendered <script type=\"application/ld+json\">. For individual pages\n * (compare / alternative) where schema isn't CMS-driven. Validates that the JSON\n * parses before emitting, and renders nothing if empty/invalid — safe no-op.\n * 1px marker just makes it selectable on the canvas.\n */export default function SchemaLD(props){const{json}=props;let ok=false;if(json&&json.trim()){try{JSON.parse(json);ok=true;}catch{ok=false;}}return /*#__PURE__*/_jsx(\"span\",{style:{display:\"inline-block\",width:1,height:1,opacity:0},children:ok?/*#__PURE__*/_jsx(\"script\",{type:\"application/ld+json\",dangerouslySetInnerHTML:{__html:json}}):null});}SchemaLD.defaultProps={json:\"\"};addPropertyControls(SchemaLD,{json:{type:ControlType.String,title:\"JSON-LD\",displayTextArea:true,defaultValue:\"\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"SchemaLD\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SchemaLD.map"],"mappings":"6JAQG,SAAwB,EAAS,EAAM,CAAC,GAAK,CAAC,QAAM,EAAU,EAAG,GAAM,GAAG,GAAM,EAAK,KAAK,EAAG,GAAG,CAAC,KAAK,MAAM,CAAI,EAAE,EAAG,EAAK,MAAM,CAAC,EAAG,EAAM,CAAE,OAAoB,EAAK,OAAO,CAAC,MAAM,CAAC,QAAQ,eAAe,MAAM,EAAE,OAAO,EAAE,QAAQ,CAAC,EAAE,SAAS,EAAgB,EAAK,SAAS,CAAC,KAAK,sBAAsB,wBAAwB,CAAC,OAAO,CAAI,CAAC,CAAC,EAAE,IAAI,CAAC,CAAE,iBARlT,IAAoD,EAQ+P,EAAS,aAAa,CAAC,KAAK,EAAE,EAAE,EAAoB,EAAS,CAAC,KAAK,CAAC,KAAK,EAAY,OAAO,MAAM,UAAU,gBAAgB,GAAK,aAAa,EAAE,CAAC,CAAC"}