{"version":3,"file":"SchemaInjector.CeWSFi6M.mjs","names":[],"sources":["https:/framerusercontent.com/modules/LLveE5cEjHPjgMIMxhmh/GSG2B29WOL8htui2Q6Ve/SchemaInjector.js"],"sourcesContent":["// Schema Injector: renders JSON-LD structured data as an inline <script type=\"application/ld+json\">.\n// The script is part of the component's render output, so it is present in Framer's\n// server-rendered HTML (visible to crawlers that do not run JavaScript), not only after hydration.\n// - One property control: `schema` (string, textarea, title \"JSON-LD Schema\").\n// - Renders nothing visible. Renders nothing at all when the schema is empty.\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";export const config={supportsChildren:false};/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function SchemaInjector(props){const schema=typeof props.schema===\"string\"?props.schema.trim():\"\";if(!schema)return null;// Escape \"<\" so JSON text can never close the script tag early.\nconst safe=schema.replace(/</g,\"<\");return /*#__PURE__*/_jsx(\"div\",{style:{display:\"none\"},\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(\"script\",{type:\"application/ld+json\",dangerouslySetInnerHTML:{__html:safe}})});}addPropertyControls(SchemaInjector,{schema:{type:ControlType.String,title:\"JSON-LD Schema\",displayTextArea:true,defaultValue:\"\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"SchemaInjector\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerSupportedLayoutWidth\":\"fixed\"}},\"config\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SchemaInjector.map"],"mappings":"4JAQG,SAAwB,EAAe,EAAM,CAAC,IAAM,EAAO,OAAO,EAAM,QAAS,SAAS,EAAM,OAAO,KAAK,EAAE,GAC7E,OADoF,EAChE,EAAK,MAAM,CAAC,MAAM,CAAC,QAAQ,MAAM,EAAE,cAAc,OAAO,SAAsB,EAAK,SAAS,CAAC,KAAK,sBAAsB,wBAAwB,CAAC,OAA9L,EAAO,QAAQ,KAAK,GAAoL,CAAC,CAAC,CAAC,CAAC,CAAC,EADlF,IACoF,iBAJhL,IAAoD,EAI6H,EAAoB,EAAe,CAAC,OAAO,CAAC,KAAK,EAAY,OAAO,MAAM,iBAAiB,gBAAgB,GAAK,aAAa,EAAE,CAAC,CAAC"}