{"version":3,"file":"FAQSchema.C8CNFcEx.mjs","names":["__esmMin","c","init_jsx_runtime","ce","init_npm_react_18_3_1","init_framer_D6uXRwWs","addPropertyControls","ControlType","FAQSchema","props","existing","schema","faq1Question","faq1Answer","faq2Question","faq2Answer","faq3Question","faq3Answer","faq4Question","faq4Answer","q","script","init_FAQSchema"],"sources":["https:/framerusercontent.com/modules/URug7a5TFjHaLYzgXcPA/PcA22bxjU1RqF1PjmY3o/FAQSchema.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useEffect}from\"react\";export default function FAQSchema(props){const{faq1Question,faq1Answer,faq2Question,faq2Answer,faq3Question,faq3Answer,faq4Question,faq4Answer}=props;useEffect(()=>{const existing=document.getElementById(\"faq-schema\");if(existing)existing.remove();const schema={\"@context\":\"https://schema.org\",\"@type\":\"FAQPage\",mainEntity:[{\"@type\":\"Question\",name:faq1Question,acceptedAnswer:{\"@type\":\"Answer\",text:faq1Answer}},{\"@type\":\"Question\",name:faq2Question,acceptedAnswer:{\"@type\":\"Answer\",text:faq2Answer}},{\"@type\":\"Question\",name:faq3Question,acceptedAnswer:{\"@type\":\"Answer\",text:faq3Answer}},{\"@type\":\"Question\",name:faq4Question,acceptedAnswer:{\"@type\":\"Answer\",text:faq4Answer}}].filter(q=>q.name&&q.acceptedAnswer.text)};const script=document.createElement(\"script\");script.id=\"faq-schema\";script.type=\"application/ld+json\";script.text=JSON.stringify(schema);document.head.appendChild(script);},[faq1Question,faq1Answer,faq2Question,faq2Answer,faq3Question,faq3Answer,faq4Question,faq4Answer]);return /*#__PURE__*/_jsx(\"div\",{style:{display:\"none\"}});}addPropertyControls(FAQSchema,{faq1Question:{type:ControlType.String,title:\"FAQ 1 Question\"},faq1Answer:{type:ControlType.String,title:\"FAQ 1 Answer\"},faq2Question:{type:ControlType.String,title:\"FAQ 2 Question\"},faq2Answer:{type:ControlType.String,title:\"FAQ 2 Answer\"},faq3Question:{type:ControlType.String,title:\"FAQ 3 Question\"},faq3Answer:{type:ControlType.String,title:\"FAQ 3 Answer\"},faq4Question:{type:ControlType.String,title:\"FAQ 4 Question\"},faq4Answer:{type:ControlType.String,title:\"FAQ 4 Answer\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FAQSchema\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FAQSchema.map"],"mappings":"A,0KAA4H,SAAwBQ,EAAU,EAAM,CAAC,GAAK,CAAC,eAAa,aAAW,eAAa,aAAW,eAAa,aAAW,eAAa,cAAYC,EAAo1B,OAA90BN,MAAc,CAAC,IAAMO,EAAS,SAAS,eAAe,YAAY,EAAKA,GAASA,EAAS,OAAO,EAAE,IAAMC,EAAO,CAAC,WAAW,qBAAqB,QAAQ,UAAU,WAAW,CAAC,CAAC,QAAQ,WAAW,KAAKC,EAAa,eAAe,CAAC,QAAQ,SAAS,KAAKC,CAAU,CAAC,EAAE,CAAC,QAAQ,WAAW,KAAKC,EAAa,eAAe,CAAC,QAAQ,SAAS,KAAKC,CAAU,CAAC,EAAE,CAAC,QAAQ,WAAW,KAAKC,EAAa,eAAe,CAAC,QAAQ,SAAS,KAAKC,CAAU,CAAC,EAAE,CAAC,QAAQ,WAAW,KAAKC,EAAa,eAAe,CAAC,QAAQ,SAAS,KAAKC,CAAU,CAAC,CAAC,CAAC,CAAC,OAAO,GAAGC,EAAE,MAAMA,EAAE,eAAe,IAAI,CAAC,EAAQC,EAAO,SAAS,cAAc,QAAQ,EAAE,EAAO,GAAG,aAAa,EAAO,KAAK,sBAAsB,EAAO,KAAK,KAAK,UAAUV,CAAM,EAAE,SAAS,KAAK,YAAYU,CAAM,CAAE,EAAE,CAACT,EAAaC,EAAWC,EAAaC,EAAWC,EAAaC,EAAWC,EAAaC,CAAU,CAAC,EAAsB,gBAAK,MAAM,CAAC,MAAM,CAAC,QA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