{"version":3,"file":"FAQSchema.DB6ZdvQW.mjs","names":[],"sources":["https:/framerusercontent.com/modules/Lb0SVllhk2ma9Y2JPBBx/7kcMK6EFQPcPPpk8MzvJ/FAQSchema.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function FAQSchema(props){const{faqJson=\"[]\"}=props;let faqs=[];try{const cleaned=faqJson.startsWith(\"X\")?faqJson.slice(1):faqJson;faqs=JSON.parse(cleaned);}catch{faqs=[];}if(faqs.length===0){return /*#__PURE__*/_jsx(\"div\",{style:{position:\"relative\",width:0,height:0,overflow:\"hidden\"}});}const schema={\"@context\":\"https://schema.org\",\"@type\":\"FAQPage\",mainEntity:faqs.map(f=>({\"@type\":\"Question\",name:f.q,acceptedAnswer:{\"@type\":\"Answer\",text:f.a}}))};return /*#__PURE__*/_jsx(\"div\",{style:{position:\"relative\",width:0,height:0,overflow:\"hidden\"},children:/*#__PURE__*/_jsx(\"script\",{type:\"application/ld+json\",dangerouslySetInnerHTML:{__html:JSON.stringify(schema)}})});}addPropertyControls(FAQSchema,{faqJson:{type:ControlType.String,title:\"FAQs JSON\",defaultValue:\"[]\",displayTextArea:true}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FAQSchema\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"fixed\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FAQSchema.map"],"mappings":"4JAGG,SAAwB,EAAU,EAAM,CAAC,GAAK,CAAC,UAAQ,MAAM,EAAU,EAAK,CAAC,EAAE,GAAG,CAAC,IAAM,EAAQ,EAAQ,WAAW,GAAG,EAAE,EAAQ,MAAM,CAAC,EAAE,EAAQ,EAAK,KAAK,MAAM,CAAO,CAAE,MAAM,CAAC,EAAK,CAAC,CAAE,CAAC,GAAG,EAAK,SAAS,EAAG,OAAoB,EAAK,MAAM,CAAC,MAAM,CAAC,SAAS,WAAW,MAAM,EAAE,OAAO,EAAE,SAAS,QAAQ,CAAC,CAAC,EAAG,IAAM,EAAO,CAAC,WAAW,qBAAqB,QAAQ,UAAU,WAAW,EAAK,IAAI,IAAI,CAAC,QAAQ,WAAW,KAAK,EAAE,EAAE,eAAe,CAAC,QAAQ,SAAS,KAAK,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,OAAoB,EAAK,MAAM,CAAC,MAAM,CAAC,SAAS,WAAW,MAAM,EAAE,OAAO,EAAE,SAAS,QAAQ,EAAE,SAAsB,EAAK,SAAS,CAAC,KAAK,sBAAsB,wBAAwB,CAAC,OAAO,KAAK,UAAU,CAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAE,iBAHzoB,IAAoD,EAGslB,EAAoB,EAAU,CAAC,QAAQ,CAAC,KAAK,EAAY,OAAO,MAAM,YAAY,aAAa,KAAK,gBAAgB,EAAI,CAAC,CAAC"}