{"version":3,"file":"shared-lib.D455rsX7.mjs","names":["useMemo"],"sources":["https:/framerusercontent.com/modules/mKS1pBC5CeDjlGAbDfX3/xqG0PjvnWQUccFI5CA9M/SEOJsonLd.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useMemo}from\"react\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";function safeSerializeJsonLd(value){const raw=JSON.stringify(value);return raw.replace(/&/g,\"\\\\u0026\").replace(/</g,\"\\\\u003c\").replace(/>/g,\"\\\\u003e\").replace(/\\u2028/g,\"\\\\u2028\").replace(/\\u2029/g,\"\\\\u2029\");}/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n * @framerIntrinsicWidth 1\n * @framerIntrinsicHeight 1\n */export default function SEOJsonLd(props){const{json=\"{}\",style}=props;const serialized=useMemo(()=>{try{const parsed=JSON.parse(json);if(parsed===null||typeof parsed!==\"object\"&&!Array.isArray(parsed)){return\"\";}return safeSerializeJsonLd(parsed);}catch{return\"\";}},[json]);const isCanvas=RenderTarget.current()===RenderTarget.canvas;return /*#__PURE__*/_jsxs(\"div\",{\"aria-hidden\":\"true\",style:{position:\"absolute\",width:1,height:1,minWidth:1,minHeight:1,overflow:\"hidden\",pointerEvents:\"none\",opacity:isCanvas?.8:0,...style},children:[isCanvas&&/*#__PURE__*/_jsx(\"span\",{style:{display:\"inline-block\",width:1,height:1,background:\"rgba(0,0,0,0.35)\"}}),serialized&&/*#__PURE__*/_jsx(\"script\",{type:\"application/ld+json\",dangerouslySetInnerHTML:{__html:serialized}})]});}addPropertyControls(SEOJsonLd,{json:{type:ControlType.String,title:\"JSON\",defaultValue:'{\\n  \"@context\": \"https://schema.org\",\\n  \"@type\": \"WebSite\"\\n}',displayTextArea:true}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"SEOJsonLd\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"1\",\"fram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