{"version":3,"file":"FAQ_Schema.OrHTcXbB.mjs","names":["__exportAll","init_jsx_runtime","c","addPropertyControls","init_framer_Bf4_tcb2","ControlType","FAQ_Schema_exports","__FramerMetadata__","FAQSchema","faqs","raw","props","line","last","complete","f","schema","init_FAQ_Schema","__esmMin","\"exports\"","\"default\"","\"type\"","\"name\"","\"slots\"","\"annotations\"","\"framerSupportedLayoutHeight\"","\"framerContractVersion\"","\"framerSupportedLayoutWidth\"","\"__FramerMetadata__\""],"sources":["https:/framerusercontent.com/modules/jheIxbSYGjLYCKqgwfRD/CBNQ7BjcyTaV7pAvuyut/FAQ_Schema.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * FAQPage structured data for the treatment pages. Renders nothing visible.\n * \"FAQs\" is plain text: each question on its own line (ending in \"?\"), followed by its answer\n * line(s). source/adult-procedures/build.js fills it from the page's own FAQ copy, so the schema\n * always matches the visible questions.\n *\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */export default function FAQSchema(props){const faqs=[];for(const raw of(props.faqs||\"\").split(\"\\n\")){const line=raw.trim();if(!line)continue;if(line.endsWith(\"?\"))faqs.push({q:line,a:\"\"});else if(faqs.length){const last=faqs[faqs.length-1];last.a=last.a?last.a+\" \"+line:line;}}const complete=faqs.filter(f=>f.a);if(!complete.length)return null;const schema={\"@context\":\"https://schema.org\",\"@type\":\"FAQPage\",mainEntity:complete.map(f=>({\"@type\":\"Question\",name:f.q,acceptedAnswer:{\"@type\":\"Answer\",text:f.a}}))};return /*#__PURE__*/_jsx(\"script\",{type:\"application/ld+json\",// Escape \"<\" so copy can never close the script tag early.\ndangerouslySetInnerHTML:{__html:JSON.stringify(schema).replace(/</g,\"\\\\u003c\")}});}FAQSchema.displayName=\"FAQ Schema\";addPropertyControls(FAQSchema,{faqs:{type:ControlType.String,title:\"FAQs\",displayTextArea:true,defaultValue:\"\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FAQSchema\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FAQ_Schema.map"],"mappings":"A,gOAQG,SAAwBQ,EAAU,EAAM,CAAC,IAAMC,EAAK,CAAC,EAAE,IAAI,IAAMC,KAAOC,EAAM,MAAM,GAAA,CAAI,MAAM;CAAI,EAAE,CAAC,IAAMC,EAAKF,EAAI,KAAK,EAAE,GAAIE,EAAc,IAAGA,EAAK,SAAS,GAAG,EAAEH,EAAK,KAAK,CAAC,EAAEG,EAAK,EAAE,EAAE,CAAC,OAAO,GAAGH,EAAK,OAAO,CAAC,IAAMI,EAAKJ,EAAKA,EAAK,OAAO,GAAG,EAAK,EAAEI,EAAK,EAAEA,EAAK,EAAE,IAAID,EAAKA,CAAK,EAAC,CAAC,IAAME,EAASL,EAAK,OAAO,GAAGM,EAAE,CAAC,EAAE,GAAG,CAACD,EAAS,OAAO,OAAO,KAAK,IAAME,EAAO,CAAC,WAAW,qBAAqB,QAAQ,UAAU,WAAWF,EAAS,IAAI,IAAI,CAAC,QAAQ,WAAW,KAAKC,EAAE,EAAE,eAAe,CAAC,QAAQ,SAAS,KAAKA,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,MAAoB,gBAAK,SAAS,CAAC,KAAK,sBAC3iB,wBAAwB,CAAC,OAAO,KAAK,UAAUC,CAAM,CAAC,CAAC,QAAQ,KAAK,SAAS,CAAC,CAAC,CAAC,CAAE,C,4CAAC,EAAU,YAAY,aAAab,EAAoBK,EAAU,CAAC,KAAK,CAAC,KAAKH,EAAY,OAAO,MAAM,OAAO,gBAAgB,GAAK,aAAa,EAAE,CAAC,CAAC,EACzN,EAAqB,CAACc,QAAU,CAACC,QAAU,CAACC,KAAO,iBAAiBC,KAAO,YAAYC,MAAQ,CAAC,EAAEC,YAAc,CAACC,4BAA8B,OAAOC,sBAAwB,IAAIC,2BAA6B,MAAM,CAAC,EAAEC,mBAAqB,CAACP,KAAO,UAAU,CAAC,CAAC,C"}