{"version":3,"file":"SchemaMarkup.BC18DN7C.mjs","names":["__esmMin","c","init_jsx_runtime","init_framer_CKT6jEEQ","addPropertyControls","ControlType","SchemaMarkup","props","json","schema","safe","init_SchemaMarkup"],"sources":["https:/framerusercontent.com/modules/Op8OEwniKrlg7JRT1tYH/O7NDYMnDqu2GyfIa0Ziv/SchemaMarkup.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * Schema Markup\n *\n * Emits a JSON-LD <script> block into the page for search engines and AI\n * crawlers. Renders nothing visible. On a CMS detail page, bind `schema` to a\n * CMS field holding the JSON; on a static page, paste the JSON in directly.\n *\n * @framerIntrinsicWidth 1\n * @framerIntrinsicHeight 1\n *\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function SchemaMarkup(props){const{schema}=props;const json=typeof schema===\"string\"?schema.trim():\"\";if(!json)return null;// Never let the payload terminate the script element early.\nconst safe=json.replace(/<\\/script/gi,\"<\\\\/script\");return /*#__PURE__*/_jsx(\"div\",{style:{position:\"relative\",width:1,height:1,overflow:\"hidden\",pointerEvents:\"none\"},\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(\"script\",{type:\"application/ld+json\",dangerouslySetInnerHTML:{__html:safe}})});}addPropertyControls(SchemaMarkup,{schema:{type:ControlType.String,title:\"JSON-LD\",defaultValue:\"\",placeholder:\"Bind to a CMS field, or paste JSON-LD\",displayTextArea:true}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"SchemaMarkup\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerIntrinsicWidth\":\"1\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerIntrinsicHeight\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SchemaMarkup.map"],"mappings":"A,4JAYG,SAAwBM,EAAa,EAAM,CAAC,GAAK,CAAC,UAAQC,EAAYC,EAAK,OAAOC,GAAS,SAASA,EAAO,KAAK,EAAE,GAAG,GAAG,CAACD,EAAK,OAAO,KACxI,IAAME,EAAKF,EAAK,QAAQ,cAAc,YAAY,EAAE,MAAoB,gBAAK,MAAM,CAAC,MAAM,CAAC,SAAS,WAAW,MAAM,EAAE,OAAO,EAAE,SAAS,SAAS,cAAc,MAAM,EAAE,cAAc,OAAO,SAAsB,gBAAK,SAAS,CAAC,KAAK,sBAAsB,wBAAwB,CAAC,OAAOE,CAAI,CAAC,CAAC,CAAC,CAAC,CAAE,C,sCAACN,EAAoBE,EAAa,CAAC,OAAO,CAAC,KAAKD,EAAY,OAAO,MAAM,UAAU,aAAa,GAAG,YAAY,wCAAwC,gBAAgB,EAAI,CAAC,CAAC,C"}