{"version":3,"file":"SchemaFAQ.BJpc4F7x.mjs","names":["__esmMin","init_jsx_runtime","c","addPropertyControls","ControlType","init_framer_BWFVvmND","SchemaFAQ","faqs","PAIRS","props","i","f","schema","controls","init_SchemaFAQ"],"sources":["https:/framerusercontent.com/modules/VtXJoyr8ut4SDnzEb4Jl/mbIpABBa1qVoRPfilLeJ/SchemaFAQ.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * FAQPage JSON-LD, rendered into the server HTML so crawlers see it without\n * running JavaScript. Mirror the visible FAQ on the page, question by question (up to 8 pairs;\n * an empty pair is skipped).\n * Renders nothing visible; place it with position absolute so it takes no gap.\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */const PAIRS=8;export default function SchemaFAQ(props){const faqs=Array.from({length:PAIRS},(_,i)=>({question:(props[`q${i+1}`]||\"\").trim(),answer:(props[`a${i+1}`]||\"\").trim()})).filter(f=>f.question&&f.answer);if(faqs.length===0)return null;const schema={\"@context\":\"https://schema.org\",\"@type\":\"FAQPage\",mainEntity:faqs.map(f=>({\"@type\":\"Question\",name:f.question,acceptedAnswer:{\"@type\":\"Answer\",text:f.answer}}))};return /*#__PURE__*/_jsx(\"div\",{style:{width:0,height:0,overflow:\"hidden\",position:\"absolute\",opacity:0,pointerEvents:\"none\"},children:/*#__PURE__*/_jsx(\"script\",{type:\"application/ld+json\",dangerouslySetInnerHTML:{__html:JSON.stringify(schema)}})});}const controls={};for(let i=1;i<=PAIRS;i++){controls[`q${i}`]={type:ControlType.String,title:`Question ${i}`};controls[`a${i}`]={type:ControlType.String,title:`Answer ${i}`,displayTextArea:true};}addPropertyControls(SchemaFAQ,controls);\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"SchemaFAQ\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SchemaFAQ.map"],"mappings":"A,6JAOiB,SAAwBM,EAAU,EAAM,CAAC,IAAMC,EAAK,MAAM,KAAK,CAAC,OAAOC,CAAK,GAAG,EAAE,KAAK,CAAC,UAAUC,EAAM,IAAIC,EAAE,MAAM,GAAA,CAAI,KAAK,EAAE,QAAQD,EAAM,IAAIC,EAAE,MAAM,GAAA,CAAI,KAAK,CAAC,EAAE,CAAC,CAAC,OAAO,GAAGC,EAAE,UAAUA,EAAE,MAAM,EAAE,GAAGJ,EAAK,SAAS,EAAE,OAAO,KAAK,IAAMK,EAAO,CAAC,WAAW,qBAAqB,QAAQ,UAAU,WAAWL,EAAK,IAAI,IAAI,CAAC,QAAQ,WAAW,KAAKI,EAAE,SAAS,eAAe,CAAC,QAAQ,SAAS,KAAKA,EAAE,MAAM,CAAC,EAAE,CAAC,EAAE,MAAoB,gBAAK,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,EAAE,SAAS,SAAS,SAAS,WAAW,QAAQ,EAAE,cAAc,MAAM,EAAE,SAAsB,gBAAK,SAAS,CAAC,KAAK,sBAAsB,wBAAwB,CAAC,OAAO,KAAK,UAAUC,CAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAE,C,8CAAvpB,EAAM,EAAwpB,EAAS,CAAC,EAAE,IAAI,IAAIF,EAAE,EAAEA,GAAGF,EAAM,IAAK,EAAS,IAAIE,KAAK,CAAC,KAAKN,EAAY,OAAO,MAAM,YAAYM,GAAG,EAAE,EAAS,IAAIA,KAAK,CAAC,KAAKN,EAAY,OAAO,MAAM,UAAUM,IAAI,gBAAgB,EAAI,EAAGP,EAAoBG,EAAUO,CAAQ,C"}