{"version":3,"file":"SchemaOrg_2.ChJrJ8lC.mjs","names":[],"sources":["https:/framerusercontent.com/modules/SBDfuBnATaOrkQb6E66u/0bTIfoWDiZoTAWmnxBMN/SchemaOrg_2.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect}from\"react\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";/** @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed */export default function SchemaOrg(props){const{schema}=props;useEffect(()=>{if(typeof window===\"undefined\")return;if(RenderTarget.current()!==RenderTarget.preview)return;if(!schema||schema.trim().length===0)return;let parsed;try{parsed=JSON.parse(schema);}catch{return;}const script=document.createElement(\"script\");script.type=\"application/ld+json\";script.textContent=JSON.stringify(parsed);document.head.appendChild(script);return()=>{document.head.removeChild(script);};},[schema]);return /*#__PURE__*/_jsx(\"div\",{style:{width:0,height:0,overflow:\"hidden\",position:\"absolute\",pointerEvents:\"none\",opacity:0}});}addPropertyControls(SchemaOrg,{schema:{type:ControlType.String,title:\"JSON-LD Schema\",defaultValue:'{ \"@context\": \"https://schema.org\", \"@type\": \"WebPage\" }',displayTextArea:true}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"SchemaOrg\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"fixed\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SchemaOrg_2.map"],"mappings":"gMACwC,SAAwB,EAAU,EAAM,CAAC,GAAK,CAAC,UAAQ,EAA8a,OAAxa,MAAc,CAA+F,GAApF,IAAS,QAAsB,EAAa,QAAQ,IAAI,EAAa,SAAkB,CAAC,GAAQ,EAAO,KAAK,CAAC,CAAC,SAAS,EAAE,OAAO,IAAI,EAAO,GAAG,CAAC,EAAO,KAAK,MAAM,CAAM,CAAE,MAAM,CAAC,MAAO,CAAC,IAAM,EAAO,SAAS,cAAc,QAAQ,EAAgH,MAA9G,GAAO,KAAK,sBAAsB,EAAO,YAAY,KAAK,UAAU,CAAM,EAAE,SAAS,KAAK,YAAY,CAAM,MAAY,CAAC,SAAS,KAAK,YAAY,CAAM,CAAE,CAAE,EAAE,CAAC,CAAM,CAAC,EAAsB,EAAK,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,EAAE,SAAS,SAAS,SAAS,WAAW,cAAc,OAAO,QAAQ,CAAC,CAAC,CAAC,CAAE,qBADnmB,IAA6B,IAAiE,EACsgB,EAAoB,EAAU,CAAC,OAAO,CAAC,KAAK,EAAY,OAAO,MAAM,iBAAiB,aAAa,2DAA2D,gBAAgB,EAAI,CAAC,CAAC"}