{"version":3,"file":"shared.Cl1c83_p.mjs","names":["useId","__esmMin","ie","c","init_jsx_runtime","ce","init_npm_react_18_3_1","RenderTarget","init_framer_BL70qLPA","ControlType","addPropertyControls","toBlocks","parsed","json","item","StructuredData","props","reactId","blocks","isCanvas","marker","node","markup","el","index","init_Structured_Data"],"sources":["https:/framerusercontent.com/modules/QjgD1w8MQcc4N8WtKbqJ/QsGc9L2tL4ZXfotyaBVP/Structured_Data.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{useEffect,useId}from\"react\";function toBlocks(json){try{const parsed=JSON.parse(json);const list=Array.isArray(parsed)?parsed:[parsed];return list.filter(item=>{if(item==null||typeof item!==\"object\")return false;if(Array.isArray(item))return item.length>0;return Object.keys(item).length>0;}).map(item=>JSON.stringify(item).replace(/</g,\"\\\\u003c\"));}catch{return[];}}/**\n * Injects schema.org JSON-LD structured data into the page for search\n * engines. Prefer SoftwareApplication + AggregateRating (from public\n * review sources) and FAQPage on product pages; keep Organization lean\n * (no alumniOf / CollegeOrUniversity) on marketing pages.\n *\n * Accepts either:\n * - a single JSON-LD object → one script tag\n * - an array of JSON-LD objects → one script tag per element\n *\n * Renders scripts in JSX for static/SSG props, and also syncs them into\n * document.head on the client so CMS-bound values that only resolve at\n * hydration still reach crawlers that execute JavaScript.\n *\n * @framerIntrinsicWidth 1\n * @framerIntrinsicHeight 1\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function StructuredData(props){const{json}=props;const reactId=useId();const blocks=toBlocks(json||\"{}\");const isCanvas=RenderTarget.current()===RenderTarget.canvas;useEffect(()=>{if(isCanvas||typeof document===\"undefined\")return;const marker=`data-framer-jsonld=\"${reactId}\"`;document.querySelectorAll(`script[${marker}]`).forEach(node=>node.remove());for(const markup of blocks){const el=document.createElement(\"script\");el.type=\"application/ld+json\";el.setAttribute(\"data-framer-jsonld\",reactId);el.text=markup;document.head.appendChild(el);}return()=>{document.querySelectorAll(`script[${marker}]`).forEach(node=>node.remove());};},[blocks.join(\"\\n\"),reactId,isCanvas]);return /*#__PURE__*/_jsx(\"div\",{style:{position:\"relative\",width:1,height:1},\"data-jsonld-count\":blocks.length,\"aria-hidden\":\"true\",children:blocks.map((markup,index)=>/*#__PURE__*/_jsx(\"script\",{type:\"application/ld+json\",dangerouslySetInnerHTML:{__html:markup}},index))});}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\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerIntrinsicWidth\":\"1\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Structured_Data.map"],"mappings":"A,yLAA+I,SAASW,EAAS,EAAK,CAAC,GAAG,CAAC,IAAMC,EAAO,KAAK,MAAMC,CAAI,EAAmD,OAAtC,MAAM,QAAQD,CAAM,EAAEA,EAAO,CAACA,CAAM,EAAA,CAAc,OAAO,GAAsB,OAAOE,GAAO,WAA1BA,EAA0C,GAAS,MAAM,QAAQA,CAAI,EAASA,EAAK,OAAO,EAAS,OAAO,KAAKA,CAAI,CAAC,CAAC,OAAO,CAAG,CAAC,CAAC,IAAI,GAAM,KAAK,UAAUA,CAAI,CAAC,CAAC,QAAQ,KAAK,SAAS,CAAC,CAAE,MAAM,CAAC,MAAM,CAAC,CAAE,CAAC,CAkB9d,SAAwBC,EAAe,EAAM,CAAC,GAAK,CAAC,QAAMC,EAAYC,EAAQjB,EAAM,EAAQkB,EAAOP,EAASE,GAAM,IAAI,EAAQM,EAASZ,EAAa,QAAQ,IAAIA,EAAa,OAAogB,OAA7fF,MAAc,CAAC,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