{"version":3,"file":"FaqStructuredData.B2G9EHYX.mjs","names":[],"sources":["https:/framerusercontent.com/modules/WT6Ql6QHHjgErSBIeirU/CJYyrWbI4AILe3XECes2/FaqStructuredData.js"],"sourcesContent":["// FAQPage JSON-LD for a static page, rendered into the server HTML. The page URL\n// follows the active locale; questions and answers are props so they translate\n// with the page. Keep them identical to the FAQ shown on the page. The WebPage\n// node comes from SEO/PageStructuredData; this one points at its #webpage.\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget,useLocaleInfo}from\"framer\";import{pageLocale,toJson,url}from\"https://framerusercontent.com/modules/FTMNCnfWEiVgLb2dp3xR/daTFLKeu7xxXGgIF3H8B/AnnySchema.js\";const N=16;function clean(value){return String(value??\"\").replace(/<[^>]*>/g,\" \").replace(/\\s+/g,\" \").trim();}/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function FaqStructuredData(props){const{activeLocale}=useLocaleInfo();const locale=pageLocale(activeLocale);const pageUrl=url(locale,clean(props.path)||\"/\");const inLanguage=locale.inLanguage;const faqs=Array.from({length:N},(_,i)=>({q:clean(props[`q${i+1}`]),a:clean(props[`a${i+1}`])})).filter(f=>f.q&&f.a);const json=faqs.length?toJson([{\"@type\":\"FAQPage\",\"@id\":`${pageUrl}#faq`,inLanguage,isPartOf:{\"@id\":`${pageUrl}#webpage`},mainEntity:faqs.map(f=>({\"@type\":\"Question\",name:f.q,acceptedAnswer:{\"@type\":\"Answer\",text:f.a}}))}]):\"\";if(RenderTarget.current()===RenderTarget.canvas){return /*#__PURE__*/_jsx(\"div\",{style:{padding:\"6px 10px\",borderRadius:8,background:\"rgba(61,105,239,0.08)\",border:\"1px dashed rgba(61,105,239,0.5)\",color:\"#3D69EF\",font:\"500 12px/1.4 Inter, system-ui, sans-serif\",whiteSpace:\"nowrap\",overflow:\"hidden\",width:\"100%\",height:\"100%\",boxSizing:\"border-box\"},children:`FAQ structured data \\xb7 ${faqs.length} questions`});}if(!json)return null;return /*#__PURE__*/_jsx(\"script\",{type:\"application/ld+json\",dangerouslySetInnerHTML:{__html:json}});}const controls={path:{type:ControlType.String,title:\"Path\",defaultValue:\"/solutions/memberships\"},title:{type:ControlType.String,title:\"Title\",defaultValue:\"\"},description:{type:ControlType.String,title:\"Description\",displayTextArea:true,defaultValue:\"\"}};for(let i=1;i<=N;i++){controls[`q${i}`]={type:ControlType.String,title:`Q${i}`,defaultValue:\"\"};controls[`a${i}`]={type:ControlType.String,title:`A${i}`,displayTextArea:true,defaultValue:\"\"};}addPropertyControls(FaqStructuredData,controls);\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FaqStructuredData\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"fixed\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FaqStructuredData.map"],"mappings":"+OAIsQ,SAAS,EAAM,EAAM,CAAC,OAAO,OAAO,GAAO,EAAE,CAAC,CAAC,QAAQ,WAAW,GAAG,CAAC,CAAC,QAAQ,OAAO,GAAG,CAAC,CAAC,KAAK,CAAE,CAGrW,SAAwB,EAAkB,EAAM,CAAC,GAAK,CAAC,gBAAc,EAAc,EAAQ,EAAO,EAAW,CAAY,EAAQ,EAAQ,EAAI,EAAO,EAAM,EAAM,IAAI,GAAG,GAAG,EAAQ,EAAW,EAAO,WAAiB,EAAK,MAAM,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,EAAM,EAAM,IAAI,EAAE,IAAI,EAAE,EAAE,EAAM,EAAM,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC,CAAC,OAAO,GAAG,EAAE,GAAG,EAAE,CAAC,EAAQ,EAAK,EAAK,OAAO,EAAO,CAAC,CAAC,QAAQ,UAAU,MAAM,GAAG,EAAQ,MAAM,aAAW,SAAS,CAAC,MAAM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