{"version":3,"file":"AGTPFAQ.DjCbGiTk.mjs","names":["p"],"sources":["https:/framerusercontent.com/modules/Bt1BSXcjNhxNJXVjVCg2/06hiRP8eeubQiQv1v1Bl/AGTPFAQ.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";const css=`.agtp-faq-card.agtp-faq-card{box-sizing:border-box!important;background:#fff!important;border:1px solid rgba(18,52,82,0.14)!important;border-radius:14px!important;box-shadow:0 2px 8px rgba(18,52,82,0.06)!important;padding:24px!important;margin:0 0 18px!important;color:#123452!important}.agtp-faq-card.agtp-faq-card summary{display:flex!important;align-items:center;justify-content:space-between;gap:20px;cursor:pointer;list-style:none;font:600 20px/1.3 Inter,Arial,sans-serif!important;color:#123452!important}.agtp-faq-card summary::-webkit-details-marker{display:none}.agtp-faq-card summary:after{content:'+';font:400 24px/1 Inter,Arial;flex-shrink:0}.agtp-faq-card[open] summary:after{content:'−'}.agtp-faq-card summary:focus-visible{outline:2px solid #5a7193;outline-offset:4px}.agtp-faq-card summary:hover{color:#315b77!important}.agtp-faq-card.agtp-faq-card .agtp-faq-answer{padding-top:18px!important}.agtp-faq-card.agtp-faq-card .agtp-faq-answer :is(p,li){font:400 17px/1.6 Inter,Arial,sans-serif!important;color:#344759!important;margin:0 0 14px!important}.agtp-faq-card .agtp-faq-answer>:last-child{margin-bottom:0!important}.agtp-faq-card a{color:#123452!important;text-decoration:underline!important}.agtp-faq-heading.agtp-faq-heading{padding:32px 28px!important;margin-bottom:18px!important}.agtp-faq-heading.agtp-faq-heading h2{font:700 40px/1.02 Inter,Arial,sans-serif!important;letter-spacing:-.04em!important;color:#123452!important;margin:0!important}.agtp-faq-heading.agtp-faq-heading p{font:600 12px/1.2 Inter,Arial,sans-serif!important;letter-spacing:.08em!important;color:#123452!important;margin:0 0 12px!important}@media(max-width:809px){.agtp-faq-card.agtp-faq-card{padding:24px!important}.agtp-faq-card.agtp-faq-card summary{font-size:20px!important}.agtp-faq-heading.agtp-faq-heading{padding:28px 22px!important}.agtp-faq-heading.agtp-faq-heading h2{font-size:28px!important}}`;function txt(n){return React.Children.toArray(n).map(x=>typeof x===\"string\"?x:/*#__PURE__*/React.isValidElement(x)?txt(x.props.children):\"\").join(\"\");}function convert(children,enabled=false){const a=React.Children.toArray(children),out=[];let active=enabled;for(let i=0;i<a.length;i++){const n=a[i];if(!/*#__PURE__*/React.isValidElement(n)){out.push(n);continue;}const p=n.props;const type=n.type;if(type===\"h2\"){active=/frequently asked/i.test(txt(p.children));if(active){out.push(/*#__PURE__*/_jsxs(\"header\",{className:\"agtp-faq-heading\",children:[/*#__PURE__*/_jsx(\"p\",{children:\"FREQUENTLY ASKED QUESTIONS\"}),n]},i));continue;}}if(active&&(type===\"h3\"||type?.name===\"H3\")){const answer=[];while(i+1<a.length){const next=a[i+1];if(/*#__PURE__*/React.isValidElement(next)&&(next.type===\"h2\"||next.type===\"h3\"||next.type?.name===\"H3\"))break;answer.push(a[++i]);}out.push(/*#__PURE__*/_jsxs(\"details\",{className:\"agtp-faq-card\",children:[/*#__PURE__*/_jsx(\"summary\",{children:p.children}),/*#__PURE__*/_jsx(\"div\",{className:\"agtp-faq-answer\",children:answer})]},i));continue;}if(p.children){out.push(/*#__PURE__*/React.cloneElement(n,{},convert(p.children,active)));}else out.push(n);}return out;}/** @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight auto\n */export default function AGTPFAQ({children,style}){return /*#__PURE__*/_jsxs(\"div\",{style:style,children:[/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:css}}),convert(children)]});}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"AGTPFAQ\",\"slots\":[\"children\"],\"annotations\":{\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./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