{"version":3,"file":"FAQSchema.Dcj8JXgV.mjs","names":["__esmMin","c","init_jsx_runtime","addPropertyControls","init_framer_BpuvUAiZ","ControlType","FAQSchema","props","faqs","cleaned","faqJson","schema","f","init_FAQSchema"],"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":"A,4JAGG,SAAwBM,EAAU,EAAM,CAAC,GAAK,CAAC,UAAQ,MAAMC,EAAUC,EAAK,CAAC,EAAE,GAAG,CAAC,IAAMC,EAAQC,EAAQ,WAAW,GAAG,EAAEA,EAAQ,MAAM,CAAC,EAAEA,EAAQ,EAAK,KAAK,MAAMD,CAAO,CAAE,MAAM,CAAC,EAAK,CAAC,CAAE,CAAC,GAAGD,EAAK,SAAS,EAAG,MAAoB,gBAAK,MAAM,CAAC,MAAM,CAAC,SAAS,WAAW,MAAM,EAAE,OAAO,EAAE,SAAS,QAAQ,CAAC,CAAC,EAAG,IAAMG,EAAO,CAAC,WAAW,qBAAqB,QAAQ,UAAU,WAAWH,EAAK,IAAI,IAAI,CAAC,QAAQ,WAAW,KAAKI,EAAE,EAAE,eAAe,CAAC,QAAQ,SAAS,KAAKA,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,MAAoB,gBAAK,MAAM,CAAC,MAAM,CAAC,SAAS,WAAW,MAAM,EAAE,OAAO,EAAE,SAAS,QAAQ,EAAE,SAAsB,gBAAK,SAAS,CAAC,KAAK,sBAAsB,wBAAwB,CAAC,OAAO,KAAK,UAAUD,CAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAE,C,sCAACR,EAAoBG,EAAU,CAAC,QAAQ,CAAC,KAAKD,EAAY,OAAO,MAAM,YAAY,aAAa,KAAK,gBAAgB,EAAI,CAAC,CAAC,C"}