{"version":3,"file":"shared.BatFG-Bm.mjs","names":[],"sources":["https:/framerusercontent.com/modules/QPVxBoB1nSJKBFilGGNU/TZFs1GCuyZNKJ0aA7dUw/Structured_Data.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * Injects schema.org JSON-LD structured data into the page for search\n * engines. The `<script type=\"application/ld+json\">` is written directly\n * in JSX (not via `useEffect`), so it is present in the page's static\n * markup instead of only appearing after client-side hydration.\n *\n * Non-visual: place one instance on any page that needs its own structured\n * data, and set the \"JSON-LD\" control to that page's schema.org payload.\n *\n * @framerIntrinsicWidth 1\n * @framerIntrinsicHeight 1\n */export default function StructuredData(props){const{json}=props;let markup=\"\";try{// Round-trip through JSON.parse/stringify so invalid input never\n// reaches the page, and escape \"<\" so a stray \"</script>\" inside a\n// string value can't terminate the tag early.\nconst parsed=JSON.parse(json);// Skip empty objects so clearing the control emits nothing.\nif(parsed&&typeof parsed===\"object\"&&!Array.isArray(parsed)&&Object.keys(parsed).length===0){markup=\"\";}else{markup=JSON.stringify(parsed).replace(/</g,\"\\\\u003c\");}}catch(error){console.error(\"[StructuredData] Invalid JSON-LD — nothing rendered:\",error);markup=\"\";}return /*#__PURE__*/_jsx(\"div\",{style:{position:\"relative\",width:1,height:1},children:markup?/*#__PURE__*/_jsx(\"script\",{type:\"application/ld+json\",dangerouslySetInnerHTML:{__html:markup}}):null});}StructuredData.defaultProps={json:\"{}\"};addPropertyControls(StructuredData,{json:{type:ControlType.String,title:\"JSON-LD\",displayTextArea:true,defaultValue:\"{}\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"StructuredData\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"1\",\"framerIntrinsicWidth\":\"1\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Structured_Data.map"],"mappings":"4JAWG,SAAwB,EAAe,EAAM,CAAC,GAAK,CAAC,QAAM,EAAU,EAAO,GAAG,GAAG,CAGpF,IAAM,EAAO,KAAK,MAAM,CAAI,EAC5B,AAA6G,EAA1G,GAAQ,OAAO,GAAS,UAAU,CAAC,MAAM,QAAQ,CAAM,GAAG,OAAO,KAAK,CAAM,CAAC,CAAC,SAAS,EAAU,GAAgB,KAAK,UAAU,CAAM,CAAC,CAAC,QAAQ,KAAK,SAAS,CAAG,OAAO,EAAM,CAAC,QAAQ,MAAM,uDAAuD,CAAK,EAAE,EAAO,EAAG,CAAC,OAAoB,EAAK,MAAM,CAAC,MAAM,CAAC,SAAS,WAAW,MAAM,EAAE,OAAO,CAAC,EAAE,SAAS,EAAoB,EAAK,SAAS,CAAC,KAAK,sBAAsB,wBAAwB,CAAC,OAAO,CAAM,CAAC,CAAC,EAAE,IAAI,CAAC,CAAE,iBAfpa,IAAoD,EAeiX,EAAe,aAAa,CAAC,KAAK,IAAI,EAAE,EAAoB,EAAe,CAAC,KAAK,CAAC,KAAK,EAAY,OAAO,MAAM,UAAU,gBAAgB,GAAK,aAAa,IAAI,CAAC,CAAC"}