{"version":3,"file":"FaqSchema.5Grw5dkZ.mjs","names":[],"sources":["https:/framerusercontent.com/modules/kbeOnePNy7gSW3CaBx6o/IyFLNKZnHfBjt0notJ8v/FaqSchema.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";/**\n * FAQPage JSON-LD\n *\n * Renders schema.org FAQPage structured data from up to 7 question/answer\n * pairs. Empty pairs are skipped. Invisible on the live site; shows a badge\n * on the Framer canvas so editors can find it.\n *\n * @framerIntrinsicWidth 160\n * @framerIntrinsicHeight 32\n *\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n */export default function FaqSchema(props){const pairs=[];const all=[[props.question1,props.answer1],[props.question2,props.answer2],[props.question3,props.answer3],[props.question4,props.answer4],[props.question5,props.answer5],[props.question6,props.answer6],[props.question7,props.answer7]];for(const[q,a]of all){if(q&&a&&q.trim()&&a.trim())pairs.push({q:q.trim(),a:a.trim()});}if(RenderTarget.current()===RenderTarget.canvas){return /*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",width:\"100%\",height:\"100%\",minWidth:\"max-content\",padding:\"6px 10px\",background:\"#edfd3a\",color:\"#000\",fontSize:11,fontFamily:\"monospace\",borderRadius:4},children:[\"FAQPage schema (\",pairs.length,\" Q&As)\"]});}if(pairs.length===0)return null;const data={\"@context\":\"https://schema.org\",\"@type\":\"FAQPage\",mainEntity:pairs.map(p=>({\"@type\":\"Question\",name:p.q,acceptedAnswer:{\"@type\":\"Answer\",text:p.a}}))};const json=JSON.stringify(data).replace(/</g,\"\\\\u003c\");return /*#__PURE__*/_jsx(\"div\",{style:{position:\"relative\",width:1,height:1,overflow:\"hidden\"},\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(\"script\",{type:\"application/ld+json\",dangerouslySetInnerHTML:{__html:json}})});}const qa=n=>({[`question${n}`]:{type:ControlType.String,title:`Question ${n}`,defaultValue:\"\"},[`answer${n}`]:{type:ControlType.String,title:`Answer ${n}`,defaultValue:\"\",displayTextArea:true}});addPropertyControls(FaqSchema,{...qa(1),...qa(2),...qa(3),...qa(4),...qa(5),...qa(6),...qa(7)});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FaqSchema\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"32\",\"framerIntrinsicWidth\":\"160\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FaqSchema.map"],"mappings":"0KAYG,SAAwB,EAAU,EAAM,CAAC,IAAM,EAAM,CAAC,EAAQ,EAAI,CAAC,CAAC,EAAM,UAAU,EAAM,OAAO,EAAE,CAAC,EAAM,UAAU,EAAM,OAAO,EAAE,CAAC,EAAM,UAAU,EAAM,OAAO,EAAE,CAAC,EAAM,UAAU,EAAM,OAAO,EAAE,CAAC,EAAM,UAAU,EAAM,OAAO,EAAE,CAAC,EAAM,UAAU,EAAM,OAAO,EAAE,CAAC,EAAM,UAAU,EAAM,OAAO,CAAC,EAAE,IAAI,GAAK,CAAC,EAAE,KAAK,EAAQ,GAAG,GAAG,EAAE,KAAK,GAAG,EAAE,KAAK,GAAE,EAAM,KAAK,CAAC,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE,KAAK,CAAC,CAAC,EAAG,GAAG,EAAa,QAAQ,IAAI,EAAa,OAAQ,OAAoB,EAAM,MAAM,CAAC,MAAM,CAAC,SAAS,WAAW,QAAQ,OAAO,WAAW,SAAS,eAAe,SAAS,MAAM,OAAO,OAAO,OAAO,SAAS,cAAc,QAAQ,WAAW,WAAW,UAAU,MAAM,OAAO,SAAS,GAAG,WAAW,YAAY,aAAa,CAAC,EAAE,SAAS,CAAC,mBAAmB,E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