{"version":3,"file":"StructuredData.B94M0saP.mjs","names":["__esmMin","c","init_jsx_runtime","addPropertyControls","init_framer_CKT6jEEQ","ControlType","StructuredData","props","html","json","init_StructuredData"],"sources":["https:/framerusercontent.com/modules/lG6jNJLldDFtBlvoYcMT/SGrR6NLmerFuAZ6kMlNN/StructuredData.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * Structured Data\n *\n * Renders a schema.org JSON-LD block into the page HTML. Invisible on the page.\n * Paste valid JSON into the \"Json\" control. Invalid JSON renders nothing.\n *\n * @framerIntrinsicWidth 1\n * @framerIntrinsicHeight 1\n *\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function StructuredData(props){const{json=\"\"}=props;let html=\"\";try{// Re-serialise so the output is always valid, compact JSON,\n// and escape \"<\" so text can never close the script tag.\nhtml=JSON.stringify(JSON.parse(json)).replace(/</g,\"\\\\u003c\");}catch{html=\"\";}return /*#__PURE__*/_jsx(\"div\",{\"aria-hidden\":\"true\",style:{position:\"relative\",width:1,height:1,overflow:\"hidden\",pointerEvents:\"none\"},children:html?/*#__PURE__*/_jsx(\"script\",{type:\"application/ld+json\",dangerouslySetInnerHTML:{__html:html}}):null});}addPropertyControls(StructuredData,{json:{type:ControlType.String,displayTextArea:true,defaultValue:'{\"@context\":\"https://schema.org\",\"@type\":\"Thing\",\"name\":\"Example\"}',preventLocalization:true}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"StructuredData\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"1\",\"framerIntrinsicHeight\":\"1\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerSupportedLayoutWidth\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./StructuredData.map"],"mappings":"A,4JAWG,SAAwBM,EAAe,EAAM,CAAC,GAAK,CAAC,OAAK,IAAIC,EAAUC,EAAK,GAAG,GAAG,CAErF,EAAK,KAAK,UAAU,KAAK,MAAMC,CAAI,CAAC,CAAC,CAAC,QAAQ,KAAK,SAAS,CAAE,MAAM,CAAC,EAAK,EAAG,CAAC,MAAoB,gBAAK,MAAM,CAAC,cAAc,OAAO,MAAM,CAAC,SAAS,WAAW,MAAM,EAAE,OAAO,EAAE,SAAS,SAAS,cAAc,MAAM,EAAE,SAASD,EAAkB,gBAAK,SAAS,CAAC,KAAK,sBAAsB,wBAAwB,CAAC,OAAOA,CAAI,CAAC,CAAC,EAAE,IAAI,CAAC,CAAE,C,sCAACL,EAAoBG,EAAe,CAAC,KAAK,CAAC,KAAKD,EAAY,OAAO,gBAAgB,GAAK,aAAa,qEAAqE,oBAAoB,EAAI,CAAC,CAAC,C"}