{"version":3,"file":"AGTPFAQ.ClwQnbZk.mjs","names":["p","__esmMin","init_npm_react_18_3_1","z","p","K","c","init_jsx_runtime","j","txt","n","x","convert","a","children","out","active","enabled","i","p$1","type","answer","next","AGTPFAQ","css","init_AGTPFAQ"],"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\":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