{"version":3,"file":"FAQSchemaJsonLd.aHpjZd9K.mjs","names":["React.useMemo"],"sources":["https:/framerusercontent.com/modules/CAOqXNiiMCiit0ZjM5iH/um0ZdJ77idHdUQMKMAxb/FAQSchemaJsonLd.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";function stringifyJsonLd(data){return JSON.stringify(data).replace(/<\\/script/gi,\"<\\\\/script\").replace(/<!--/g,\"<\\\\!--\");}/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function FAQSchemaJsonLd(props){const{question1=\"\",answer1=\"\",question2=\"\",answer2=\"\",question3=\"\",answer3=\"\",question4=\"\",answer4=\"\",question5=\"\",answer5=\"\",question6=\"\",answer6=\"\",question7=\"\",answer7=\"\",question8=\"\",answer8=\"\"}=props;const jsonLd=React.useMemo(()=>{const entries=[{question:question1,answer:answer1},{question:question2,answer:answer2},{question:question3,answer:answer3},{question:question4,answer:answer4},{question:question5,answer:answer5},{question:question6,answer:answer6},{question:question7,answer:answer7},{question:question8,answer:answer8}];const mainEntity=entries.map(entry=>({question:entry.question.trim(),answer:entry.answer.trim()})).filter(entry=>entry.question.length>0&&entry.answer.length>0).map(entry=>({\"@type\":\"Question\",name:entry.question,acceptedAnswer:{\"@type\":\"Answer\",text:entry.answer}}));return stringifyJsonLd({\"@context\":\"https://schema.org\",\"@type\":\"FAQPage\",mainEntity});},[question1,answer1,question2,answer2,question3,answer3,question4,answer4,question5,answer5,question6,answer6,question7,answer7,question8,answer8]);return /*#__PURE__*/_jsx(\"div\",{\"aria-hidden\":\"true\",style:{position:\"relative\",width:1,height:1,opacity:0,overflow:\"hidden\",pointerEvents:\"none\"},children:/*#__PURE__*/_jsx(\"script\",{type:\"application/ld+json\",children:jsonLd})});}addPropertyControls(FAQSchemaJsonLd,{question1:{type:ControlType.String,title:\"Question 1\",defaultValue:\"\"},answer1:{type:ControlType.String,title:\"Answer 1\",defaultValue:\"\",displayTextArea:true},question2:{type:ControlType.String,title:\"Question 2\",defaultValue:\"\"},answer2:{type:ControlType.String,title:\"Answer 2\",defaultValue:\"\",displayTextArea:true},question3:{type:ControlType.String,title:\"Question 3\",defaultValue:\"\"},answer3:{type:ControlType.String,title:\"Answer 3\",defaultValue:\"\",displayTextArea:true},question4:{type:ControlType.String,title:\"Question 4\",defaultValue:\"\"},answer4:{type:ControlType.String,title:\"Answer 4\",defaultValue:\"\",displayTextArea:true},question5:{type:ControlType.String,title:\"Question 5\",defaultValue:\"\"},answer5:{type:ControlType.String,title:\"Answer 5\",defaultValue:\"\",displayTextArea:true},question6:{type:ControlType.String,title:\"Question 6\",defaultValue:\"\"},answer6:{type:ControlType.String,title:\"Answer 6\",defaultValue:\"\",displayTextArea:true},question7:{type:ControlType.String,title:\"Question 7\",defaultValue:\"\"},answer7:{type:ControlType.String,title:\"Answer 7\",defaultValue:\"\",displayTextArea:true},question8:{type:ControlType.String,title:\"Question 8\",defaultValue:\"\"},answer8:{type:ControlType.String,title:\"Answer 8\",defaultValue:\"\",displayTextArea:true}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FAQSchemaJsonLd\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerSupportedLayoutHeight\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FAQSchemaJsonLd.map"],"mappings":"qKAA2H,SAAS,EAAgB,EAAK,CAAC,OAAO,KAAK,UAAU,CAAI,CAAC,CAAC,QAAQ,cAAc,YAAY,CAAC,CAAC,QAAQ,QAAQ,QAAQ,CAAE,CAGjP,SAAwB,EAAgB,EAAM,CAAC,GAAK,CAAC,YAAU,GAAG,UAAQ,GAAG,YAAU,GAAG,UAAQ,GAAG,YAAU,GAAG,UAAQ,GAAG,YAAU,GAAG,UAAQ,GAAG,YAAU,GAAG,UAAQ,GA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