{"version":3,"file":"SchemaOrg_2.rlZbToVU.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,SAAS,GAAG,EAAa,SAAkB,CAAC,GAAQ,EAAO,MAAM,CAAC,SAAS,EAAE,OAAO,IAAI,EAAO,GAAG,CAAC,EAAO,KAAK,MAAM,EAAO,MAAO,CAAC,OAAQ,IAAM,EAAO,SAAS,cAAc,SAAS,CAA+G,MAA9G,GAAO,KAAK,sBAAsB,EAAO,YAAY,KAAK,UAAU,EAAO,CAAC,SAAS,KAAK,YAAY,EAAO,KAAW,CAAC,SAAS,KAAK,YAAY,EAAO,GAAK,CAAC,EAAO,CAAC,CAAqB,EAAK,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,EAAE,SAAS,SAAS,SAAS,WAAW,cAAc,OAAO,QAAQ,EAAE,CAAC,CAAC,sBADjmB,IAA6B,IAAiE,CACqgB,EAAoB,EAAU,CAAC,OAAO,CAAC,KAAK,EAAY,OAAO,MAAM,iBAAiB,aAAa,2DAA2D,gBAAgB,GAAK,CAAC,CAAC"}